@sdkgen/playground 1.6.1 → 2.0.1

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 (198) hide show
  1. package/.ci.sh +13 -0
  2. package/README.md +38 -1
  3. package/angular.json +133 -0
  4. package/dist/3rdpartylicenses.txt +653 -0
  5. package/dist/assets/dart.svg +1 -0
  6. package/dist/assets/dot-net.svg +1 -0
  7. package/dist/assets/kotlin.svg +1 -0
  8. package/dist/assets/polvinho-social-og.png +0 -0
  9. package/dist/assets/polvinho.png +0 -0
  10. package/dist/assets/swift.svg +1 -0
  11. package/dist/assets/typescript.svg +1 -0
  12. package/dist/assets/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  13. package/dist/assets/vs/base/worker/workerMain.js +22 -0
  14. package/dist/assets/vs/basic-languages/abap/abap.js +10 -0
  15. package/dist/assets/vs/basic-languages/apex/apex.js +10 -0
  16. package/dist/assets/vs/basic-languages/azcli/azcli.js +10 -0
  17. package/dist/assets/vs/basic-languages/bat/bat.js +10 -0
  18. package/dist/assets/vs/basic-languages/bicep/bicep.js +11 -0
  19. package/dist/assets/vs/basic-languages/cameligo/cameligo.js +10 -0
  20. package/dist/assets/vs/basic-languages/clojure/clojure.js +10 -0
  21. package/dist/assets/vs/basic-languages/coffee/coffee.js +10 -0
  22. package/dist/assets/vs/basic-languages/cpp/cpp.js +10 -0
  23. package/dist/assets/vs/basic-languages/csharp/csharp.js +10 -0
  24. package/dist/assets/vs/basic-languages/csp/csp.js +10 -0
  25. package/dist/assets/vs/basic-languages/css/css.js +12 -0
  26. package/dist/assets/vs/basic-languages/dart/dart.js +10 -0
  27. package/dist/assets/vs/basic-languages/dockerfile/dockerfile.js +10 -0
  28. package/dist/assets/vs/basic-languages/ecl/ecl.js +10 -0
  29. package/dist/assets/vs/basic-languages/elixir/elixir.js +10 -0
  30. package/dist/assets/vs/basic-languages/flow9/flow9.js +10 -0
  31. package/dist/assets/vs/basic-languages/freemarker2/freemarker2.js +12 -0
  32. package/dist/assets/vs/basic-languages/fsharp/fsharp.js +10 -0
  33. package/dist/assets/vs/basic-languages/go/go.js +10 -0
  34. package/dist/assets/vs/basic-languages/graphql/graphql.js +10 -0
  35. package/dist/assets/vs/basic-languages/handlebars/handlebars.js +10 -0
  36. package/dist/assets/vs/basic-languages/hcl/hcl.js +10 -0
  37. package/dist/assets/vs/basic-languages/html/html.js +10 -0
  38. package/dist/assets/vs/basic-languages/ini/ini.js +10 -0
  39. package/dist/assets/vs/basic-languages/java/java.js +10 -0
  40. package/dist/assets/vs/basic-languages/javascript/javascript.js +10 -0
  41. package/dist/assets/vs/basic-languages/julia/julia.js +10 -0
  42. package/dist/assets/vs/basic-languages/kotlin/kotlin.js +10 -0
  43. package/dist/assets/vs/basic-languages/less/less.js +11 -0
  44. package/dist/assets/vs/basic-languages/lexon/lexon.js +10 -0
  45. package/dist/assets/vs/basic-languages/liquid/liquid.js +10 -0
  46. package/dist/assets/vs/basic-languages/lua/lua.js +10 -0
  47. package/dist/assets/vs/basic-languages/m3/m3.js +10 -0
  48. package/dist/assets/vs/basic-languages/markdown/markdown.js +10 -0
  49. package/dist/assets/vs/basic-languages/mips/mips.js +10 -0
  50. package/dist/assets/vs/basic-languages/msdax/msdax.js +10 -0
  51. package/dist/assets/vs/basic-languages/mysql/mysql.js +10 -0
  52. package/dist/assets/vs/basic-languages/objective-c/objective-c.js +10 -0
  53. package/dist/assets/vs/basic-languages/pascal/pascal.js +10 -0
  54. package/dist/assets/vs/basic-languages/pascaligo/pascaligo.js +10 -0
  55. package/dist/assets/vs/basic-languages/perl/perl.js +10 -0
  56. package/dist/assets/vs/basic-languages/pgsql/pgsql.js +10 -0
  57. package/dist/assets/vs/basic-languages/php/php.js +10 -0
  58. package/dist/assets/vs/basic-languages/pla/pla.js +10 -0
  59. package/dist/assets/vs/basic-languages/postiats/postiats.js +10 -0
  60. package/dist/assets/vs/basic-languages/powerquery/powerquery.js +10 -0
  61. package/dist/assets/vs/basic-languages/powershell/powershell.js +10 -0
  62. package/dist/assets/vs/basic-languages/protobuf/protobuf.js +11 -0
  63. package/dist/assets/vs/basic-languages/pug/pug.js +10 -0
  64. package/dist/assets/vs/basic-languages/python/python.js +10 -0
  65. package/dist/assets/vs/basic-languages/qsharp/qsharp.js +10 -0
  66. package/dist/assets/vs/basic-languages/r/r.js +10 -0
  67. package/dist/assets/vs/basic-languages/razor/razor.js +10 -0
  68. package/dist/assets/vs/basic-languages/redis/redis.js +10 -0
  69. package/dist/assets/vs/basic-languages/redshift/redshift.js +10 -0
  70. package/dist/assets/vs/basic-languages/restructuredtext/restructuredtext.js +10 -0
  71. package/dist/assets/vs/basic-languages/ruby/ruby.js +10 -0
  72. package/dist/assets/vs/basic-languages/rust/rust.js +10 -0
  73. package/dist/assets/vs/basic-languages/sb/sb.js +10 -0
  74. package/dist/assets/vs/basic-languages/scala/scala.js +10 -0
  75. package/dist/assets/vs/basic-languages/scheme/scheme.js +10 -0
  76. package/dist/assets/vs/basic-languages/scss/scss.js +12 -0
  77. package/dist/assets/vs/basic-languages/shell/shell.js +10 -0
  78. package/dist/assets/vs/basic-languages/solidity/solidity.js +10 -0
  79. package/dist/assets/vs/basic-languages/sophia/sophia.js +10 -0
  80. package/dist/assets/vs/basic-languages/sparql/sparql.js +10 -0
  81. package/dist/assets/vs/basic-languages/sql/sql.js +10 -0
  82. package/dist/assets/vs/basic-languages/st/st.js +10 -0
  83. package/dist/assets/vs/basic-languages/swift/swift.js +13 -0
  84. package/dist/assets/vs/basic-languages/systemverilog/systemverilog.js +10 -0
  85. package/dist/assets/vs/basic-languages/tcl/tcl.js +10 -0
  86. package/dist/assets/vs/basic-languages/twig/twig.js +10 -0
  87. package/dist/assets/vs/basic-languages/typescript/typescript.js +10 -0
  88. package/dist/assets/vs/basic-languages/vb/vb.js +10 -0
  89. package/dist/assets/vs/basic-languages/xml/xml.js +10 -0
  90. package/dist/assets/vs/basic-languages/yaml/yaml.js +10 -0
  91. package/dist/assets/vs/editor/editor.main.css +6 -0
  92. package/dist/assets/vs/editor/editor.main.js +806 -0
  93. package/dist/assets/vs/editor/editor.main.nls.de.js +29 -0
  94. package/dist/assets/vs/editor/editor.main.nls.es.js +29 -0
  95. package/dist/assets/vs/editor/editor.main.nls.fr.js +27 -0
  96. package/dist/assets/vs/editor/editor.main.nls.it.js +27 -0
  97. package/dist/assets/vs/editor/editor.main.nls.ja.js +29 -0
  98. package/dist/assets/vs/editor/editor.main.nls.js +27 -0
  99. package/dist/assets/vs/editor/editor.main.nls.ko.js +27 -0
  100. package/dist/assets/vs/editor/editor.main.nls.ru.js +29 -0
  101. package/dist/assets/vs/editor/editor.main.nls.zh-cn.js +29 -0
  102. package/dist/assets/vs/editor/editor.main.nls.zh-tw.js +27 -0
  103. package/dist/assets/vs/language/css/cssMode.js +13 -0
  104. package/dist/assets/vs/language/css/cssWorker.js +63 -0
  105. package/dist/assets/vs/language/html/htmlMode.js +13 -0
  106. package/dist/assets/vs/language/html/htmlWorker.js +453 -0
  107. package/dist/assets/vs/language/json/jsonMode.js +15 -0
  108. package/dist/assets/vs/language/json/jsonWorker.js +36 -0
  109. package/dist/assets/vs/language/typescript/tsMode.js +20 -0
  110. package/dist/assets/vs/language/typescript/tsWorker.js +33970 -0
  111. package/dist/assets/vs/loader.js +11 -0
  112. package/dist/index.html +20 -93
  113. package/dist/main.a36c109c353683ba.js +1 -0
  114. package/dist/polyfills.3fda8322df04f1b3.js +1 -0
  115. package/dist/runtime.0825e755d4f8b9f2.js +1 -0
  116. package/dist/styles.4eacc8fa36b92127.css +1 -0
  117. package/index.js +1 -0
  118. package/package.json +50 -87
  119. package/tsconfig.app.json +20 -0
  120. package/tsconfig.json +31 -0
  121. package/.eslintrc.json +0 -3
  122. package/dist/assets/android-chrome-144x144.png +0 -0
  123. package/dist/assets/android-chrome-192x192.png +0 -0
  124. package/dist/assets/android-chrome-256x256.png +0 -0
  125. package/dist/assets/android-chrome-36x36.png +0 -0
  126. package/dist/assets/android-chrome-384x384.png +0 -0
  127. package/dist/assets/android-chrome-48x48.png +0 -0
  128. package/dist/assets/android-chrome-512x512.png +0 -0
  129. package/dist/assets/android-chrome-72x72.png +0 -0
  130. package/dist/assets/android-chrome-96x96.png +0 -0
  131. package/dist/assets/apple-touch-icon-1024x1024.png +0 -0
  132. package/dist/assets/apple-touch-icon-114x114.png +0 -0
  133. package/dist/assets/apple-touch-icon-120x120.png +0 -0
  134. package/dist/assets/apple-touch-icon-144x144.png +0 -0
  135. package/dist/assets/apple-touch-icon-152x152.png +0 -0
  136. package/dist/assets/apple-touch-icon-167x167.png +0 -0
  137. package/dist/assets/apple-touch-icon-180x180.png +0 -0
  138. package/dist/assets/apple-touch-icon-57x57.png +0 -0
  139. package/dist/assets/apple-touch-icon-60x60.png +0 -0
  140. package/dist/assets/apple-touch-icon-72x72.png +0 -0
  141. package/dist/assets/apple-touch-icon-76x76.png +0 -0
  142. package/dist/assets/apple-touch-icon-precomposed.png +0 -0
  143. package/dist/assets/apple-touch-icon.png +0 -0
  144. package/dist/assets/apple-touch-startup-image-1125x2436.png +0 -0
  145. package/dist/assets/apple-touch-startup-image-1136x640.png +0 -0
  146. package/dist/assets/apple-touch-startup-image-1242x2208.png +0 -0
  147. package/dist/assets/apple-touch-startup-image-1242x2688.png +0 -0
  148. package/dist/assets/apple-touch-startup-image-1334x750.png +0 -0
  149. package/dist/assets/apple-touch-startup-image-1536x2048.png +0 -0
  150. package/dist/assets/apple-touch-startup-image-1620x2160.png +0 -0
  151. package/dist/assets/apple-touch-startup-image-1668x2224.png +0 -0
  152. package/dist/assets/apple-touch-startup-image-1668x2388.png +0 -0
  153. package/dist/assets/apple-touch-startup-image-1792x828.png +0 -0
  154. package/dist/assets/apple-touch-startup-image-2048x1536.png +0 -0
  155. package/dist/assets/apple-touch-startup-image-2048x2732.png +0 -0
  156. package/dist/assets/apple-touch-startup-image-2160x1620.png +0 -0
  157. package/dist/assets/apple-touch-startup-image-2208x1242.png +0 -0
  158. package/dist/assets/apple-touch-startup-image-2224x1668.png +0 -0
  159. package/dist/assets/apple-touch-startup-image-2388x1668.png +0 -0
  160. package/dist/assets/apple-touch-startup-image-2436x1125.png +0 -0
  161. package/dist/assets/apple-touch-startup-image-2688x1242.png +0 -0
  162. package/dist/assets/apple-touch-startup-image-2732x2048.png +0 -0
  163. package/dist/assets/apple-touch-startup-image-640x1136.png +0 -0
  164. package/dist/assets/apple-touch-startup-image-750x1334.png +0 -0
  165. package/dist/assets/apple-touch-startup-image-828x1792.png +0 -0
  166. package/dist/assets/browserconfig.xml +0 -15
  167. package/dist/assets/coast-228x228.png +0 -0
  168. package/dist/assets/favicon-16x16.png +0 -0
  169. package/dist/assets/favicon-32x32.png +0 -0
  170. package/dist/assets/favicon-48x48.png +0 -0
  171. package/dist/assets/favicon.ico +0 -0
  172. package/dist/assets/firefox_app_128x128.png +0 -0
  173. package/dist/assets/firefox_app_512x512.png +0 -0
  174. package/dist/assets/firefox_app_60x60.png +0 -0
  175. package/dist/assets/manifest.json +0 -59
  176. package/dist/assets/manifest.webapp +0 -14
  177. package/dist/assets/mstile-144x144.png +0 -0
  178. package/dist/assets/mstile-150x150.png +0 -0
  179. package/dist/assets/mstile-310x150.png +0 -0
  180. package/dist/assets/mstile-310x310.png +0 -0
  181. package/dist/assets/mstile-70x70.png +0 -0
  182. package/dist/assets/yandex-browser-50x50.png +0 -0
  183. package/dist/assets/yandex-browser-manifest.json +0 -9
  184. package/dist/codicon.b3726f0165bf67ac68494ee7a1b9f6ce.ttf +0 -0
  185. package/dist/editor.worker.js +0 -1
  186. package/dist/json.worker.js +0 -1
  187. package/dist/logo.900fd82933734583ef0be04a9ca9dd51.png +0 -0
  188. package/dist/manifest.json +0 -3
  189. package/dist/prod.chunk.054c56144d1866831627.js +0 -1
  190. package/dist/prod.chunk.22bde61c46f2136e9634.js +0 -1
  191. package/dist/prod.chunk.2e6e579348a1c22f6f74.js +0 -1
  192. package/dist/prod.chunk.4a0d9f0a55af7abd600e.js +0 -1
  193. package/dist/prod.chunk.85bbccfd5d0fe6996933.js +0 -47
  194. package/dist/prod.chunk.bd67dcb6650d221c2ec6.js +0 -30
  195. package/dist/prod.chunk.f68541c4736915b96056.js +0 -1
  196. package/dist/prod.main.4ccc5baaeb6c6aeddb9f.js +0 -1
  197. package/dist/prod.vendor.4ccc5baaeb6c6aeddb9f.js +0 -1
  198. package/dist/sw.js +0 -167
@@ -0,0 +1 @@
1
+ (self.webpackChunksdkgen_playground=self.webpackChunksdkgen_playground||[]).push([[179],{4602:function(Be,y){"use strict";var T,c=this&&this.__extends||(T=function(S,p){return(T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,M){A.__proto__=M}||function(A,M){for(var C in M)Object.prototype.hasOwnProperty.call(M,C)&&(A[C]=M[C])})(S,p)},function(S,p){if("function"!=typeof p&&null!==p)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");function A(){this.constructor=S}T(S,p),S.prototype=null===p?Object.create(p):(A.prototype=p.prototype,new A)}),i=this&&this.__spreadArray||function(T,S,p){if(p||2===arguments.length)for(var C,A=0,M=S.length;A<M;A++)(C||!(A in S))&&(C||(C=Array.prototype.slice.call(S,0,A)),C[A]=S[A]);return T.concat(C||Array.prototype.slice.call(S))};Object.defineProperty(y,"__esModule",{value:!0}),y.decode=y.encode=void 0;var h=["string","email","phone","html","xml"],g=i(["json","bool","url","int","uint","float","money","hex","uuid","base64","void"],h,!0),d=function(T){function S(p,A,M){var C;try{C=JSON.stringify(M)}catch(N){C=String(M)}return T.call(this,"Invalid type at '".concat(p,"', expected ").concat(A,", got ").concat(C))||this}return c(S,T),S}(Error);function s(T,S,p){if("json"===S)return null==p?null:JSON.parse(JSON.stringify(p));if("bool"===S){if("boolean"!=typeof p)throw new d(T,S,p);return p}if(h.indexOf(S)>=0){if("string"!=typeof p)throw new d(T,S,p);return p}if("hex"===S){if("string"!=typeof p||!/^(?:[A-Fa-f0-9]{2})*$/u.test(p))throw new d(T,S,p);return p.toLowerCase()}if("uuid"===S){if("string"!=typeof p||!/^[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$/u.test(p))throw new d(T,S,p);return p.toLowerCase()}if("base64"===S){var A=!0;try{atob(p)}catch(C){A=!1}if("string"!=typeof p||!A)throw new d(T,S,p);return p}if("int"===S){if("number"!=typeof p||(0|p)!==p)throw new d(T,S,p);return p}if("uint"===S){if("number"!=typeof p||(0|p)!==p||p<0)throw new d(T,S,p);return p}if("float"===S){if("number"!=typeof p)throw new d(T,S,p);return p}if("money"===S){if("number"!=typeof p||!Number.isInteger(p))throw new d(T,S,p);return p}if("url"===S){var M=void 0;if("string"==typeof p)try{M=new URL(p)}catch(C){}if(!M)throw new d(T,S,p);return M.toString()}if("void"===S)return null;throw new Error("Unknown type '".concat(S,"' at '").concat(T,"'"))}y.encode=function v(T,S,p,A){if("string"==typeof p&&!p.endsWith("?")&&"void"!==p&&null==A)throw new Error("Invalid type at '".concat(S,"', cannot be null"));if(Array.isArray(p)){for(var M=0,C=p;M<C.length;M++){var N=C[M];if(N===A)return A;if(Array.isArray(A)&&2===A.length&&N===A[0])return A[0];if(Array.isArray(N)&&2===N.length){if(N[0]===A)return[A,v(T,"".concat(S,".").concat(N[0]),N[1],{})];if(Array.isArray(A)&&2===A.length&&N[0]===A[0])return[A[0],v(T,"".concat(S,".").concat(N[0]),N[1],A[1])]}}throw new d(S,p,A)}if("object"==typeof p){if("object"!=typeof A)throw new d(S,p,A);for(var $={},de=0,K=Object.keys(p);de<K.length;de++){var ce=K[de];$[ce]=v(T,"".concat(S,".").concat(ce),p[ce],A[ce])}return $}if(p.endsWith("?"))return null==A?null:v(T,S,p.slice(0,p.length-1),A);if(p.endsWith("[]")){if(!Array.isArray(A))throw new d(S,p,A);return A.map(function(me,ye){return v(T,"".concat(S,"[").concat(ye,"]"),p.slice(0,p.length-2),me)})}if(g.indexOf(p)>=0)return s(S,p,A);if("bytes"===p){if(!(A instanceof ArrayBuffer))throw new d(S,p,A);return btoa(String.fromCharCode.apply(String,new Uint8Array(A)))}if("bigint"===p){if("bigint"!=typeof A)throw new d(S,p,A);return A.toString()}if("cpf"===p){if("string"!=typeof A)throw new d(S,p,A);return A}if("cnpj"===p){if("string"!=typeof A)throw new d(S,p,A);return A}if("date"===p){if((!(A instanceof Date)||isNaN(A.getTime()))&&("string"!=typeof A||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(A)))throw new d(S,p,A);return"string"==typeof A?new Date(A).toISOString().split("T")[0]:A.toISOString().split("T")[0]}if("datetime"===p){if((!(A instanceof Date)||isNaN(A.getTime()))&&("string"!=typeof A||!/^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0123456][0-9]:[0123456][0-9](?:\.[0-9]{1,6})?(?:Z|[+-][012][0-9]:[0123456][0-9])?$/u.test(A)))throw new d(S,p,A);return("string"==typeof A?new Date(A):A).toISOString().replace("Z","")}var Oe=T[p];if(Oe)return v(T,S,Oe,A);throw new Error("Unknown type '".concat(p,"' at '").concat(S,"'"))},y.decode=function D(T,S,p,A){if("string"==typeof p&&!p.endsWith("?")&&"void"!==p&&null==A)throw new Error("Invalid type at '".concat(S,"', cannot be null"));if(Array.isArray(p)){for(var M=0,C=p;M<C.length;M++){var N=C[M];if(N===A)return A;if(Array.isArray(A)&&2===A.length&&N===A[0])return A[0];if(Array.isArray(N)&&2===N.length){if(N[0]===A)return[A,D(T,"".concat(S,".").concat(N[0]),N[1],{})];if(Array.isArray(A)&&2===A.length&&N[0]===A[0])return[A[0],D(T,"".concat(S,".").concat(N[0]),N[1],A[1])]}}throw new d(S,p,A)}if("object"==typeof p){if("object"!=typeof A)throw new d(S,p,A);for(var $={},de=0,K=Object.keys(p);de<K.length;de++){var ce=K[de];$[ce]=D(T,"".concat(S,".").concat(ce),p[ce],A[ce])}return $}if(p.endsWith("?"))return null==A?null:D(T,S,p.slice(0,p.length-1),A);if(p.endsWith("[]")){if(!Array.isArray(A))throw new d(S,p,A);return A.map(function(Re,Qe){return D(T,"".concat(S,"[").concat(Qe,"]"),p.slice(0,p.length-2),Re)})}if(g.indexOf(p)>=0)return s(S,p,A);if("bytes"!==p){if("bigint"===p){if("number"!=typeof A&&("string"!=typeof A||!/^-?[0-9]+$/u.test(A)))throw new d(S,p,A);return BigInt(A)}if("cpf"===p){if("string"!=typeof A)throw new d(S,p,A);return A}if("cnpj"===p){if("string"!=typeof A)throw new d(S,p,A);return A}if("date"===p){if("string"!=typeof A||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(A))throw new d(S,p,A);var Oe=parseInt(A.split("-")[2],10),me=parseInt(A.split("-")[1],10)-1,ye=parseInt(A.split("-")[0],10),X=new Date(ye,me,Oe);if(X.getFullYear()!==ye||X.getMonth()!==me||X.getDate()!==Oe)throw new d(S,p,A);return X}if("datetime"===p){if("string"!=typeof A||!/^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0123456][0-9]:[0123456][0-9](?:\.[0-9]{1,6})?Z?$/u.test(A))throw new d(S,p,A);return new Date("".concat(A.endsWith("Z")?A:A.concat("Z")))}var ve=T[p];if(ve)return D(T,S,ve,A);throw new Error("Unknown type '".concat(p,"' at '").concat(S,"'"))}if("string"!=typeof A)throw new d(S,"".concat(p," (base 64)"),A);try{return Uint8Array.from(atob(A),function(Re){return Re.charCodeAt(0)})}catch(Re){throw new d(S,"".concat(p," (base 64)"),A)}}},2837:function(Be,y){"use strict";var g,c=this&&this.__extends||(g=function(d,s){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,D){v.__proto__=D}||function(v,D){for(var T in D)Object.prototype.hasOwnProperty.call(D,T)&&(v[T]=D[T])})(d,s)},function(d,s){if("function"!=typeof s&&null!==s)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");function v(){this.constructor=d}g(d,s),d.prototype=null===s?Object.create(s):(v.prototype=s.prototype,new v)});Object.defineProperty(y,"__esModule",{value:!0}),y.SdkgenErrorWithData=y.SdkgenError=void 0;var i=function(g){function d(){return null!==g&&g.apply(this,arguments)||this}return c(d,g),Object.defineProperty(d.prototype,"type",{get:function(){return this.constructor.name},enumerable:!1,configurable:!0}),d.prototype.toJSON=function(){return{message:this.message,type:this.type}},d}(Error);y.SdkgenError=i;var h=function(g){function d(s,v){var D=g.call(this,s)||this;return D.data=v,D}return c(d,g),d.prototype.toJSON=function(){return{data:this.data,message:this.message,type:this.type}},d}(i);y.SdkgenErrorWithData=h},2062:function(Be,y,c){"use strict";var i=this&&this.__awaiter||function(S,p,A,M){return new(A||(A=Promise))(function(N,$){function de(Oe){try{ce(M.next(Oe))}catch(me){$(me)}}function K(Oe){try{ce(M.throw(Oe))}catch(me){$(me)}}function ce(Oe){Oe.done?N(Oe.value):function C(N){return N instanceof A?N:new A(function($){$(N)})}(Oe.value).then(de,K)}ce((M=M.apply(S,p||[])).next())})},h=this&&this.__generator||function(S,p){var M,C,N,$,A={label:0,sent:function(){if(1&N[0])throw N[1];return N[1]},trys:[],ops:[]};return $={next:de(0),throw:de(1),return:de(2)},"function"==typeof Symbol&&($[Symbol.iterator]=function(){return this}),$;function de(ce){return function(Oe){return function K(ce){if(M)throw new TypeError("Generator is already executing.");for(;A;)try{if(M=1,C&&(N=2&ce[0]?C.return:ce[0]?C.throw||((N=C.return)&&N.call(C),0):C.next)&&!(N=N.call(C,ce[1])).done)return N;switch(C=0,N&&(ce=[2&ce[0],N.value]),ce[0]){case 0:case 1:N=ce;break;case 4:return A.label++,{value:ce[1],done:!1};case 5:A.label++,C=ce[1],ce=[0];continue;case 7:ce=A.ops.pop(),A.trys.pop();continue;default:if(!(N=(N=A.trys).length>0&&N[N.length-1])&&(6===ce[0]||2===ce[0])){A=0;continue}if(3===ce[0]&&(!N||ce[1]>N[0]&&ce[1]<N[3])){A.label=ce[1];break}if(6===ce[0]&&A.label<N[1]){A.label=N[1],N=ce;break}if(N&&A.label<N[2]){A.label=N[2],A.ops.push(ce);break}N[2]&&A.ops.pop(),A.trys.pop();continue}ce=p.call(S,A)}catch(Oe){ce=[6,Oe],C=0}finally{M=N=0}if(5&ce[0])throw ce[1];return{value:ce[0]?ce[1]:void 0,done:!0}}([ce,Oe])}}};Object.defineProperty(y,"__esModule",{value:!0}),y.SdkgenHttpClient=void 0;var g=c(4602);function d(S){for(var p="",A=0;A<2*S;++A)p+="0123456789abcdef"[Math.floor(16*Math.random())];return p}var s=d(20);function v(){try{var S=localStorage.getItem("deviceId");return S||(S=s,localStorage.setItem("deviceId",S)),S}catch(p){}return s}function D(S,p){return p in S}var T=function(){function S(p,A,M){this.astJson=A,this.errClasses=M,this.extra=new Map,this.successHook=function(){},this.errorHook=function(){},this.baseUrl=p}return S.prototype.makeRequest=function(p,A){var M,C;return i(this,void 0,void 0,function(){var N,$,de,K,ce,Oe=this;return h(this,function(me){switch(me.label){case 0:if(!(N=this.astJson.functionTable[p]))throw new Error("Unknown function ".concat(p));return $={},this.extra.forEach(function(ye,X){$[X]=ye}),de={args:(0,g.encode)(this.astJson.typeTable,"".concat(p,".args"),N.args,A),deviceInfo:{id:v(),language:navigator.language,platform:{browserUserAgent:navigator.userAgent},timezone:"object"==typeof Intl?Intl.DateTimeFormat().resolvedOptions().timeZone:null,type:"web",version:null!==(C=null===(M=document.currentScript)||void 0===M?void 0:M.getAttribute("src"))&&void 0!==C?C:""},extra:$,name:p,requestId:d(16),version:3},[4,new Promise(function(ye,X){var ve=new XMLHttpRequest;ve.open("POST","".concat(Oe.baseUrl,"/").concat(p)),ve.setRequestHeader("Content-Type","application/sdkgen"),ve.onreadystatechange=function(){if(4===ve.readyState)try{var Re=JSON.parse(ve.responseText);try{D(Re,"error")&&Re.error?(X(Re.error),Oe.errorHook(Re.error,p,A)):ye(D(Re,"result")?Re.result:null)}catch(ot){var Qe={message:"".concat(ot),type:"Fatal"};X(Qe),Oe.errorHook(Qe,p,A)}}catch(ot){X(Qe={message:"Falha de conex\xe3o com o servidor",type:"Fatal"}),Oe.errorHook(Qe,p,A)}},ve.send(JSON.stringify(de))}).catch(function(ye){if(Oe.errorHook(ye,p,A),D(ye,"type")&&D(ye,"message")&&"string"==typeof ye.type&&"string"==typeof ye.message){var X=Oe.errClasses[ye.type];if(X){var ve=Oe.astJson.errors.find(function(Re){return Array.isArray(Re)?Re[0]===ye.type:Re===ye.type});if(ve)throw Array.isArray(ve)&&D(ye,"data")?new X(ye.message,(0,g.decode)(Oe.astJson.typeTable,"".concat(X.name,".data"),ve[1],ye.data)):new X(ye.message,void 0)}throw new Oe.errClasses.Fatal("".concat(ye.type,": ").concat(ye.message))}throw ye})];case 1:return K=me.sent(),ce=(0,g.decode)(this.astJson.typeTable,"".concat(p,".ret"),N.ret,K),this.successHook(ce,p,A),[2,ce]}})})},S}();y.SdkgenHttpClient=T},4539:function(Be,y,c){"use strict";var i=this&&this.__createBinding||(Object.create?function(g,d,s,v){void 0===v&&(v=s);var D=Object.getOwnPropertyDescriptor(d,s);(!D||("get"in D?!d.__esModule:D.writable||D.configurable))&&(D={enumerable:!0,get:function(){return d[s]}}),Object.defineProperty(g,v,D)}:function(g,d,s,v){void 0===v&&(v=s),g[v]=d[s]}),h=this&&this.__exportStar||function(g,d){for(var s in g)"default"!==s&&!Object.prototype.hasOwnProperty.call(d,s)&&i(d,g,s)};Object.defineProperty(y,"__esModule",{value:!0}),h(c(2837),y),h(c(2062),y)},3905:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.generateCSharpServerSource=void 0;const i=c(6676),h=c(4510);y.generateCSharpServerSource=function g(d){let s="using System;\nusing System.Collections.Generic;\nusing System.Globalization;\nusing System.Numerics;\nusing System.Text.Json;\nusing System.Threading.Tasks;\nusing static Sdkgen.Runtime;\nusing static Sdkgen.Context;\nusing static Sdkgen.Helpers;\n\nnamespace SdkgenGenerated\n{\n public abstract class Api : BaseApi\n {";for(const v of d.operations){const D=v.returnType instanceof i.VoidPrimitiveType?"":`<${(0,h.generateTypeName)(v.returnType)}>`;s+=`\n public virtual Task${D} ${(0,h.capitalize)(v.name)}(${["Context ctx",...v.args.map(T=>`${(0,h.generateTypeName)(T.type)} ${(0,h.ident)(T.name)}`)].join(", ")})\n {\n return Task.FromException${D}(new FatalException("Function '${v.name}' not implemented."));\n }\n`}s+="\n public async Task ExecuteFunction(Context context_, Utf8JsonWriter resultWriter_)\n {\n switch (context_.Name)\n {";for(const v of d.operations){s+=`\n case ${JSON.stringify(v.name)}:\n {`;for(const D of v.args)s+=`\n JsonElement ${D.name}Json_;\n if (!context_.Args.TryGetValue(${JSON.stringify(D.name)}, out ${D.name}Json_))\n {\n ${D.type instanceof i.OptionalType?`${D.name}Json_ = new JsonElement();`:`throw new FatalException("'${v.name}().args.${D.name}' must be set to a value of type ${D.type.name}.");`}\n }\n ${(0,h.generateTypeName)(D.type)} ${(0,h.ident)(D.name)};\n ${(0,h.decodeType)(D.type,`${D.name}Json_`,`"${v.name}().args.${D.name}"`,(0,h.ident)(D.name)).replace(/\n/gu,"\n ")}`;s+=v.returnType instanceof i.VoidPrimitiveType?`\n await ${(0,h.capitalize)(v.name)}(${["context_",...v.args.map(D=>(0,h.ident)(D.name))].join(", ")});\n resultWriter_.WriteNullValue();`:`\n var result_ = await ${(0,h.capitalize)(v.name)}(${["context_",...v.args.map(D=>(0,h.ident)(D.name))].join(", ")});\n ${(0,h.encodeType)(v.returnType,"result_",`"${v.name}().ret"`).replace(/\n/gu,"\n ")}`,s+="\n return;\n }"}s+="\n default:\n {\n throw new FatalException($\"Unknown function '{context_.Name}'.\");\n }\n }\n }\n";for(const v of d.structTypes)s+=(0,h.generateStruct)(v);for(const v of d.enumTypes)s+=(0,h.generateEnum)(v);s+=`\n public string GetAstJson() => @"${JSON.stringify((0,i.astToJson)(d),null,4).replace(/"/gu,'""').replace(/\n/gu,"\n ")}";\n }\n`;for(const v of d.errors)s+=`\n public class ${v.name}Exception : SdkgenException\n {\n public ${v.name}Exception(string message, Exception? inner = null) : base("${v.name}", message, inner) { }\n }\n`;return s+="\n}\n",s}},4510:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.generateEnum=y.generateStruct=y.encodeType=y.decodeType=y.generateTypeName=y.capitalize=y.ident=void 0;const i=c(6676),h=["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","using","static","virtual","void","volatile","while"],g=[i.StringPrimitiveType,i.HtmlPrimitiveType,i.CpfPrimitiveType,i.CnpjPrimitiveType,i.BytesPrimitiveType,i.EmailPrimitiveType,i.UrlPrimitiveType,i.UuidPrimitiveType,i.HexPrimitiveType,i.Base64PrimitiveType,i.XmlPrimitiveType,i.StructType,i.ArrayType],d=[i.BigIntPrimitiveType,i.DatePrimitiveType,i.DateTimePrimitiveType,i.FloatPrimitiveType,i.IntPrimitiveType,i.MoneyPrimitiveType,i.UIntPrimitiveType];function s(M){return h.includes(M)?`@${M}`:M}function v(M){return M[0].toUpperCase()+M.slice(1)}function D(M){switch(M.constructor){case i.StringPrimitiveType:return"string";case i.IntPrimitiveType:return"int";case i.UIntPrimitiveType:return"uint";case i.FloatPrimitiveType:return"double";case i.BigIntPrimitiveType:return"BigInteger";case i.DatePrimitiveType:case i.DateTimePrimitiveType:return"DateTime";case i.BoolPrimitiveType:return"bool";case i.BytesPrimitiveType:return"byte[]";case i.MoneyPrimitiveType:return"decimal";case i.CpfPrimitiveType:case i.CnpjPrimitiveType:case i.EmailPrimitiveType:case i.HtmlPrimitiveType:case i.UrlPrimitiveType:case i.UuidPrimitiveType:case i.HexPrimitiveType:case i.Base64PrimitiveType:case i.XmlPrimitiveType:return"string";case i.VoidPrimitiveType:return"void";case i.JsonPrimitiveType:return"JsonElement";case i.OptionalType:return`${D(M.base)}?`;case i.ArrayType:return`List<${D(M.base)}>`;case i.StructType:case i.EnumType:return M.name;case i.TypeReference:return D(M.type);default:throw new Error(`BUG: generateTypeName with ${M.constructor.name}`)}}function T(M,C,N,$,de=1,K=!0){switch(M.constructor){case i.IntPrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.Number || !${C}.TryGetInt32(out ${$}))\n {\n throw new FatalException($"'{${N}}' must be an integer");\n }\n `.replace(/\n {16}/gu,"\n").trim();case i.UIntPrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.Number || !${C}.TryGetUInt32(out ${$}))\n {\n throw new FatalException($"'{${N}}' must be an unsigned integer.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case i.MoneyPrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.Number || !${C}.TryGetDecimal(out ${$}) || ${$} % 1 != 0)\n {\n throw new FatalException($"'{${N}}' must be an integer amount of cents.");\n }\n ${$} /= 100;\n `.replace(/\n {16}/gu,"\n").trim();case i.FloatPrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.Number || !${C}.TryGetDouble(out ${$}))\n {\n throw new FatalException($"'{${N}}' must be a floating-point number.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case i.BigIntPrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.String || !BigInteger.TryParse(${C}.GetString(), out ${$}))\n {\n throw new FatalException($"'{${N}}' must be an arbitrarily large integer in a string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case i.StringPrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${N}}' must be a string.");\n }\n ${$} = ${C}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case i.HtmlPrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${N}}' must be a valid HTML string.");\n }\n ${$} = ${C}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case i.CpfPrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${N}}' must be a valid CPF string.");\n }\n ${$} = ${C}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case i.CnpjPrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${N}}' must be a valid CNPJ string.");\n }\n ${$} = ${C}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case i.EmailPrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${N}}' must be a valid email.");\n }\n ${$} = ${C}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case i.UrlPrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${N}}' must be a valid URL string.");\n }\n ${$} = ${C}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case i.UuidPrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${N}}' must be a valid UUID.");\n }\n ${$} = ${C}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case i.HexPrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${N}}' must be a valid hex string.");\n }\n ${$} = ${C}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case i.Base64PrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${N}}' must be a base64 string.");\n }\n ${$} = ${C}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case i.XmlPrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${N}}' must be a XML string.");\n }\n ${$} = ${C}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case i.BoolPrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.True && ${C}.ValueKind != JsonValueKind.False)\n {\n throw new FatalException($"'{${N}}' must be either true or false.");\n }\n ${$} = ${C}.GetBoolean();\n `.replace(/\n {16}/gu,"\n").trim();case i.BytesPrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${N}}' must be a string.");\n }\n try\n {\n ${$} = Convert.FromBase64String(${C}.GetString());\n }\n catch (FormatException)\n {\n throw new FatalException($"'{${N}}' must be a base64 string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case i.TypeReference:return T(M.type,C,N,$,de);case i.OptionalType:if(d.includes(M.base.constructor)){const ce=`${$.replace(/[^0-9a-zA-Z]/gu,"")}Tmp`;return`\n if (${C}.ValueKind == JsonValueKind.Null || ${C}.ValueKind == JsonValueKind.Undefined)\n {\n ${$} = null;\n }\n else\n {\n ${D(M.base)} ${ce};\n ${T(M.base,C,N,ce,de,!1).replace(/\n/gu,"\n ")}\n ${$} = ${ce};\n }\n `.replace(/\n {20}/gu,"\n").trim()}return`\n if (${C}.ValueKind == JsonValueKind.Null || ${C}.ValueKind == JsonValueKind.Undefined)\n {\n ${$} = null;\n }\n else\n {\n ${T(M.base,C,N,$,de,!1).replace(/\n/gu,"\n ")}\n }\n `.replace(/\n {20}/gu,"\n").trim();case i.EnumType:case i.StructType:return`${$} = Decode${M.name}(${C}, ${N});`;case i.JsonPrimitiveType:return K?`\n if (${C}.ValueKind == JsonValueKind.Null || ${C}.ValueKind == JsonValueKind.Undefined)\n {\n throw new FatalException($"'{${N}}' can't be null.");\n }\n ${$} = ${C};\n `.replace(/\n {16}/gu,"\n").trim():`${$} = ${C};`;case i.DateTimePrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${C}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${$}) || DateTime.TryParseExact(${C}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF'Z'", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${$})))\n {\n throw new FatalException($"'{${N}}' must be a datetime.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case i.DatePrimitiveType:return`\n if (${C}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${C}.GetString(), "yyyy-MM-dd", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${$})))\n {\n throw new FatalException($"'{${N}}' must be a date.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case i.ArrayType:return`\n if (${C}.ValueKind != JsonValueKind.Array)\n {\n throw new FatalException($"'{${N}}' must be a date.");\n }\n ${$} = new ${D(M)}();\n for (var i${de} = 0; i${de} < ${C}.GetArrayLength(); ++i${de})\n {\n ${D(M.base)} element${de};\n ${T(M.base,`${C}[i${de}]`,`$"{${N}}[{i${de}}]"`,`element${de}`,de+1).replace(/\n/gu,"\n ")}\n ${$}.Add(element${de});\n }\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${M.constructor.name}`)}}function S(M,C,N,$=1){switch(M.constructor){case i.StringPrimitiveType:return`resultWriter_.WriteStringValue(${C});`;case i.FloatPrimitiveType:case i.UIntPrimitiveType:case i.IntPrimitiveType:return`resultWriter_.WriteNumberValue(${C});`;case i.MoneyPrimitiveType:return`resultWriter_.WriteNumberValue(Math.Round(${C} * 100));`;case i.BigIntPrimitiveType:return`resultWriter_.WriteStringValue(${C}.ToString());`;case i.BoolPrimitiveType:return`resultWriter_.WriteBooleanValue(${C});`;case i.BytesPrimitiveType:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${C}));`;case i.DateTimePrimitiveType:return`resultWriter_.WriteStringValue(${C}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"));`;case i.DatePrimitiveType:return`resultWriter_.WriteStringValue(${C}.ToString("yyyy-MM-dd"));`;case i.CpfPrimitiveType:case i.CnpjPrimitiveType:case i.EmailPrimitiveType:case i.HtmlPrimitiveType:case i.UrlPrimitiveType:case i.UuidPrimitiveType:case i.Base64PrimitiveType:case i.HexPrimitiveType:case i.XmlPrimitiveType:return`resultWriter_.WriteStringValue(${C});`;case i.OptionalType:{let de=M.base;for(;de instanceof i.TypeReference;)de=de.type;return`\n if (${C} == null)\n {\n resultWriter_.WriteNullValue();\n }\n else\n {\n ${S(de,g.includes(de.constructor)?C:`${C}.Value`,N,$).replace(/\n/gu,"\n ")}\n }`.replace(/\n {16}/gu,"\n").trim()}case i.TypeReference:return S(M.type,C,N,$);case i.EnumType:case i.StructType:return`Encode${M.name}(${C}, resultWriter_, ${N});`;case i.JsonPrimitiveType:return`${C}.WriteTo(resultWriter_);`;case i.ArrayType:return`\n resultWriter_.WriteStartArray();\n for (var i${$} = 0; i${$} < ${C}.Count; ++i${$})\n {\n ${S(M.base,`${C}[i${$}]`,`$"{${N}}[{i${$}}]"`,$+1).replace(/\n/gu,"\n ")}\n }\n resultWriter_.WriteEndArray();\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${M.constructor.name}`)}}y.ident=s,y.capitalize=v,y.generateTypeName=D,y.decodeType=T,y.encodeType=S,y.generateStruct=function p(M){return`\n public class ${M.name}\n {${M.fields.map(C=>`\n public ${D(C.type)} ${v(C.name)};`).join("")}\n public ${M.name}(${M.fields.map(C=>`${D(C.type)} ${s(C.name)}`).join(", ")})\n {${M.fields.map(C=>`\n ${v(C.name)} = ${s(C.name)};`).join("")}\n }\n }\n\n ${M.name} Decode${M.name}(JsonElement json_, string path_)\n {\n if (json_.ValueKind != JsonValueKind.Object)\n {\n throw new FatalException($"'{path_}' must be an object.");\n }\n${M.fields.map(C=>` JsonElement ${C.name}Json_;\n if (!json_.TryGetProperty(${JSON.stringify(C.name)}, out ${C.name}Json_))\n {\n ${C.type instanceof i.OptionalType?`${C.name}Json_ = new JsonElement();`:`throw new FatalException($"'{path_}.${C.name}' must be set to a value of type ${C.type.name}.");`}\n }\n ${D(C.type)} ${s(C.name)};\n ${T(C.type,`${C.name}Json_`,`$"{path_}.${C.name}"`,s(C.name)).replace(/\n/gu,"\n ")}`).join("\n")}\n return new ${M.name}(${M.fields.map(C=>s(C.name)).join(", ")});\n }\n\n void Encode${M.name}(${M.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {\n resultWriter_.WriteStartObject();\n ${M.fields.map(C=>`resultWriter_.WritePropertyName(${JSON.stringify(C.name)});\n ${S(C.type,`obj_.${v(C.name)}`,`$"{path_}.${C.name}"`).replace(/\n/gu,"\n ")}`).join("\n ")}\n resultWriter_.WriteEndObject();\n }\n`},y.generateEnum=function A(M){return`\n public enum ${M.name}\n {${M.values.map(({value:C})=>`\n ${v(C)}`).join(",\n ")}\n }\n\n ${M.name} Decode${M.name}(JsonElement json_, string path_)\n {\n if (json_.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{path_}' must be a string.");\n }\n var value = json_.GetString();${M.values.map(({value:C})=>`\n if (value == "${C}")\n {\n return ${M.name}.${v(C)};\n }`).join("")}\n throw new FatalException($"'{path_}' must be one of: (${M.values.map(({value:C})=>`'${C}'`).join(", ")}).");\n }\n\n void Encode${M.name}(${M.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {${M.values.map(({value:C})=>`\n if (obj_ == ${M.name}.${v(C)})\n {\n resultWriter_.WriteStringValue("${C}");\n }`).join("")}\n }\n`}},7179:function(Be,y,c){"use strict";var i=this&&this.__createBinding||(Object.create?function(g,d,s,v){void 0===v&&(v=s);var D=Object.getOwnPropertyDescriptor(d,s);(!D||("get"in D?!d.__esModule:D.writable||D.configurable))&&(D={enumerable:!0,get:function(){return d[s]}}),Object.defineProperty(g,v,D)}:function(g,d,s,v){void 0===v&&(v=s),g[v]=d[s]}),h=this&&this.__exportStar||function(g,d){for(var s in g)"default"!==s&&!Object.prototype.hasOwnProperty.call(d,s)&&i(d,g,s)};Object.defineProperty(y,"__esModule",{value:!0}),h(c(3905),y)},1911:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.generateDartClientSource=void 0;const i=c(6676),h=c(5235);y.generateDartClientSource=function g(d){let s="";s+="import 'dart:typed_data';\nimport 'dart:ui';\n\nimport 'package:sdkgen_runtime/types.dart';\nimport 'package:sdkgen_runtime/http_client.dart';\n\n";for(const v of d.enumTypes)s+=(0,h.generateEnum)(v),s+="\n";for(const v of d.structTypes)s+=(0,h.generateClass)(v),s+="\n";for(const v of d.errors)s+=(0,h.generateErrorClass)(v),s+="\n";s+=`class ApiClient extends SdkgenHttpClient {\n ApiClient(String baseUrl) : super(baseUrl, _typeTable, _fnTable, _errTable);\n${d.operations.filter(v=>v.annotations.every(D=>!(D instanceof i.HiddenAnnotation))).map(v=>`\n ${v.returnType instanceof i.VoidPrimitiveType?"Future<void> ":`Future<${(0,h.generateTypeName)(v.returnType)}> `}${v.name}(${0===v.args.length?"":`{${v.args.map(D=>`${D.type instanceof i.OptionalType?"":"required "}${(0,h.generateTypeName)(D.type)} ${(0,h.mangle)(D.name)}`).join(", ")}}`}) async { ${v.returnType instanceof i.VoidPrimitiveType?"":"return "}${(0,h.cast)(`await makeRequest('${v.name}', {${v.args.map(D=>`'${D.name}': ${(0,h.mangle)(D.name)}`).join(", ")}})`,v.returnType)}; }`).join("")}\n}\n\n`,s+="var _typeTable = {\n";for(const v of d.structTypes){s+=` '${v.name}': StructTypeDescription(\n`,s+=` ${v.name},\n`,s+=" {\n";for(const D of v.fields)s+=` '${D.name}': '${D.type.name}',\n`;s+=" },\n",s+=` (Map fields) => ${v.name}(\n`;for(const D of v.fields)s+=` ${(0,h.mangle)(D.name)}: ${(0,h.cast)(`fields['${D.name}']`,D.type)},\n`;s+=" ),\n",s+=` (${v.name} obj) => ({\n`;for(const D of v.fields)s+=` '${D.name}': obj.${(0,h.mangle)(D.name)},\n`;s+=" }),\n",s+=" ),\n"}for(const v of d.enumTypes)s+=` '${v.name}': EnumTypeDescription(${v.name}, ${v.name}.values, [\n ${v.values.map(D=>`'${D.value}'`).join(",\n ")}\n ]),\n`;s+="};\n\n",s+="var _fnTable = {\n";for(const v of d.operations){s+=` '${v.name}': FunctionDescription('${v.returnType.name}', {\n`;for(const D of v.args)s+=` '${D.name}': '${D.type.name}',\n`;s+=" }),\n"}s+="};\n\n",s+="var _errTable = {\n";for(const v of d.errors)s+=` '${v.name}': SdkgenErrorDescription('${v.dataType.name}', (msg, data) => ${v.name}(msg${v.dataType instanceof i.VoidPrimitiveType?"":", data"})),\n`;return s+="};\n",s}},5235:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.generateClass=y.cast=y.generateErrorClass=y.generateTypeName=y.generateEnum=y.mangle=void 0;const i=c(6676);function h(M){return["abstract","as","assert","async","await","bool","break","case","catch","class","const","continue","covariant","default","deferred","do","double","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","int","interface","is","library","mixin","new","null","on","operator","part","rethrow","return","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","while","with","yield"].includes(M)?`$${M}`:M}function d(M){switch(M.constructor){case i.StringPrimitiveType:return"String";case i.IntPrimitiveType:case i.UIntPrimitiveType:return"int";case i.FloatPrimitiveType:return"double";case i.BigIntPrimitiveType:return"BigInt";case i.DatePrimitiveType:case i.DateTimePrimitiveType:return"DateTime";case i.BoolPrimitiveType:return"bool";case i.BytesPrimitiveType:return"Uint8List";case i.MoneyPrimitiveType:return"int";case i.CpfPrimitiveType:case i.CnpjPrimitiveType:case i.EmailPrimitiveType:case i.HtmlPrimitiveType:case i.UrlPrimitiveType:case i.UuidPrimitiveType:case i.HexPrimitiveType:case i.Base64PrimitiveType:case i.XmlPrimitiveType:return"String";case i.VoidPrimitiveType:return"void";case i.JsonPrimitiveType:return"dynamic";case i.OptionalType:return`${d(M.base)}?`;case i.ArrayType:return`List<${d(M.base)}>`;case i.StructType:case i.EnumType:return M.name;case i.TypeReference:return d(M.type);default:throw new Error(`BUG: generateTypeName with ${M.constructor.name}`)}}y.mangle=h,y.generateEnum=function g(M){return`enum ${M.name} {\n ${M.values.map(C=>C.value).join(",\n ")}\n}\n`},y.generateTypeName=d,y.generateErrorClass=function s(M){if(M.dataType instanceof i.VoidPrimitiveType)return`class ${M.name} extends SdkgenError {\n ${M.name}(String msg) : super(msg);\n}\n`;const C=d(M.dataType);return`class ${M.name} extends SdkgenErrorWithData<${C}> {\n ${M.name}(String msg, ${C} data) : super(msg, data);\n}\n`},y.cast=function v(M,C){return C instanceof i.OptionalType?`${M} == null ? null : ${v(M,C.base)}`:C instanceof i.ArrayType?`(${M} as List).map((e) => ${v("e",C.base)}).toList()`:C instanceof i.VoidPrimitiveType?M:C instanceof i.FloatPrimitiveType?`(${M} as num).toDouble()`:C instanceof i.MoneyPrimitiveType?`${M} as int`:`${M} as ${d(C)}`},y.generateClass=function A(M){return`class ${M.name} {\n ${M.fields.map(C=>`final ${d(C.type)} ${h(C.name)};`).join("\n ")}\n\n${function D(M){let C=` ${M.name}({\n`;for(const N of M.fields)C+=N.type instanceof i.OptionalType?" ":" required ",C+=`this.${h(N.name)},\n`;return C+=" });\n",C}(M)}\n${function T(M){let C=" bool operator ==(other){\n";return C+=" if (identical(this, other)) return true;\n",C+=` return ${[`other is ${M.name}`,...M.fields.map(N=>`${h(N.name)} == other.${h(N.name)}`)].join(" && ")};\n`,C+=" }\n",C}(M)}\n${function S(M){return` @override\n int get hashCode => hashList([${M.fields.map(C=>h(C.name)).join(", ")}]);\n`}(M)}\n${function p(M){return` String toString() {\n return '${M.name} { ${M.fields.map(C=>`${C.name}: $${h(C.name).startsWith("$")?`{${h(C.name)}}`:h(C.name)}`).join(", ")} }';\n }\n`}(M)}}\n`}},1823:function(Be,y,c){"use strict";var i=this&&this.__createBinding||(Object.create?function(g,d,s,v){void 0===v&&(v=s);var D=Object.getOwnPropertyDescriptor(d,s);(!D||("get"in D?!d.__esModule:D.writable||D.configurable))&&(D={enumerable:!0,get:function(){return d[s]}}),Object.defineProperty(g,v,D)}:function(g,d,s,v){void 0===v&&(v=s),g[v]=d[s]}),h=this&&this.__exportStar||function(g,d){for(var s in g)"default"!==s&&!Object.prototype.hasOwnProperty.call(d,s)&&i(d,g,s)};Object.defineProperty(y,"__esModule",{value:!0}),h(c(1911),y)},196:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.generateFSharpServerSource=void 0;const i=c(6676),h=c(8735);y.generateFSharpServerSource=function g(d){let s="module rec SdkgenGenerated\nopen Sdkgen.Runtime\nopen Sdkgen.Helpers\nopen Sdkgen.Context\nopen System.Threading.Tasks\nopen System.Text.Json\nopen System\nopen System.Globalization\n#if NET5_0\n// To use tasks as computation expression in .NET 5 install https://www.nuget.org/packages/TaskBuilder.fs/\nopen FSharp.Control.Tasks.V2.ContextInsensitive\n#endif\n";for(const v of d.errors)s+=`\ntype ${v.name}Exception =\n inherit SdkgenException\n\n new(message: string) = {\n inherit SdkgenException("${v.name}", message, null)\n }\n\n new(message: string, inner: Exception) = {\n inherit SdkgenException("${v.name}", message, inner)\n }\n`;for(const v of d.enumTypes)s+=`\n${(0,h.generateEnum)(v)}\n`;for(const v of d.structTypes)s+=`\n${(0,h.generateStruct)(v)}\n`;s+="\ntype Api() =";for(const v of d.operations){const D=v.returnType instanceof i.VoidPrimitiveType?"":`<${(0,h.generateTypeName)(v.returnType)}>`,T=v.args.length>0?`{| ${v.args.map(S=>`${S.name}: ${(0,h.generateTypeName)(S.type)};`).join("")} |} ->`:"";s+=`\n member val ${(0,h.capitalize)(v.name)}: Context -> ${T} Task${D} =\n fun _ -> (raise (FatalException("Function '${v.name}' not implemented.")))\n with get, set\n `}s+="\n interface BaseApi with\n member __.ExecuteFunction(context_: Context, resultWriter_: Utf8JsonWriter) : Task =\n task {\n match context_.Name with";for(const v of d.operations){s+=`\n | ${JSON.stringify(v.name)} ->`;for(const D of v.args)s+=`\n let ${D.name}Json_ =\n match context_.Args.TryGetValue(${JSON.stringify(D.name)}) with\n | true, v -> v\n | _ -> raise (FatalException("'${v.name}().args.${D.name}' must be set to a value of type ${D.type.name}."))\n\n let ${(0,h.ident)(D.name)} =\n ${(0,h.decodeType)(D.type,`${D.name}Json_`,`"${v.name}().args.${D.name}"`,(0,h.ident)(D.name)).replace(/\n/gu,"\n ")}`;s+=v.returnType instanceof i.VoidPrimitiveType?`\n\n do! (__.${(0,h.capitalize)(v.name)} context_ ${v.args.length>0?"{|":""} ${v.args.map(D=>`${D.name} = ${(0,h.ident)(D.name)}`).join("; ")} ${v.args.length>0?"|}":""})\n `:`\n\n let! result_ = (__.${(0,h.capitalize)(v.name)} context_ ${v.args.length>0?"{|":""} ${v.args.map(D=>`${D.name} = ${(0,h.ident)(D.name)}`).join("; ")} ${v.args.length>0?"|}":""})\n ${(0,h.encodeType)(v.returnType,"result_",`"${v.name}().ret"`,1,!1).replace(/\n/gu,"\n ")}`}return s+="\n\n | _ -> raise (FatalException($\"Unknown function '{context_.Name}'.\"))\n } :> Task",s+=`\n member __.GetAstJson() = """${JSON.stringify((0,i.astToJson)(d),null,4).replace(/\n/gu,"\n ")}""";`,s}},8735:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.generateEnum=y.generateStruct=y.encodeType=y.decodeType=y.generateTypeName=y.capitalize=y.ident=void 0;const i=c(6676),h=["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","using","static","virtual","void","volatile","while","type","end","id"],d=[i.BigIntPrimitiveType,i.DatePrimitiveType,i.DateTimePrimitiveType,i.FloatPrimitiveType,i.IntPrimitiveType,i.MoneyPrimitiveType,i.UIntPrimitiveType,i.ArrayType];function s(M){return h.includes(M)?`${M}'`:M}function v(M){return M[0].toUpperCase()+M.slice(1)}function D(M){switch(M.constructor){case i.StringPrimitiveType:return"string";case i.IntPrimitiveType:return"int";case i.UIntPrimitiveType:return"uint";case i.FloatPrimitiveType:return"double";case i.BigIntPrimitiveType:return"bigint";case i.DatePrimitiveType:case i.DateTimePrimitiveType:return"DateTime";case i.BoolPrimitiveType:return"bool";case i.BytesPrimitiveType:return"byte[]";case i.MoneyPrimitiveType:return"decimal";case i.UuidPrimitiveType:return"Guid";case i.CpfPrimitiveType:case i.CnpjPrimitiveType:case i.EmailPrimitiveType:case i.HtmlPrimitiveType:case i.UrlPrimitiveType:case i.HexPrimitiveType:case i.Base64PrimitiveType:case i.XmlPrimitiveType:return"string";case i.VoidPrimitiveType:return"void";case i.JsonPrimitiveType:return"JsonElement";case i.OptionalType:return`${D(M.base)} option`;case i.ArrayType:return`${D(M.base)} list`;case i.StructType:case i.EnumType:return M.name;case i.TypeReference:return D(M.type);default:throw new Error(`BUG: generateTypeName with ${M.constructor.name}`)}}function T(M,C,N,$,de=1,K=!0){switch(M.constructor){case i.IntPrimitiveType:return`\n decodeInt32 ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.UIntPrimitiveType:return`\n decodeUInt32 ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.MoneyPrimitiveType:return`\n (decodeMoney ${C} ${N}) / 100m\n `.replace(/\n {16}/gu,"\n").trim();case i.FloatPrimitiveType:return`\n decodeFloat ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.BigIntPrimitiveType:return`\n decodeBigInt ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.StringPrimitiveType:return`\n decodeString ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.HtmlPrimitiveType:return`\n decodeHtml ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.CpfPrimitiveType:return`\n decodeCpf ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.CnpjPrimitiveType:return`\n decodeCnpj ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.EmailPrimitiveType:return`\n decodeEmail ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.UrlPrimitiveType:return`\n decodeUrl ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.UuidPrimitiveType:return`\n decodeUuid ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.HexPrimitiveType:return`\n decodeHex ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.Base64PrimitiveType:return`\n decodeBase64 ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.XmlPrimitiveType:return`\n decodeXml ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.BoolPrimitiveType:return`\n decodeBool ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.BytesPrimitiveType:return`\n decodeBytes ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.TypeReference:return T(M.type,C,N,$,de);case i.OptionalType:return d.includes(M.base.constructor)?`match ${C}.ValueKind with\n | JsonValueKind.Null | JsonValueKind.Undefined -> None\n | _ ->\n (${T(M.base,C,N,$,de,!1).replace(/\n/gu,"\n ")}) |> Some\n `.replace(/\n {16}/gu,"\n").trim():M.base instanceof i.OptionalType||M.base instanceof i.ArrayType?`\n (>.>) decodeOptional ${T(M.base,C,N,$,de,!1)}\n `.replace(/\n {16}/gu,"\n").trim():`\n decodeOptional ${T(M.base,C,N,$,de,!1)}\n `.replace(/\n {16}/gu,"\n").trim();case i.EnumType:case i.StructType:return`Decode${M.name} ${C} ${N}`;case i.JsonPrimitiveType:return K?`\n ${C}\n `.replace(/\n {16}/gu,"\n").trim():`${$} <- ${C}`;case i.DateTimePrimitiveType:return`\n decodeDateTime ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.DatePrimitiveType:return`\n decodeDate ${C} ${N}\n `.replace(/\n {16}/gu,"\n").trim();case i.ArrayType:return`\n match ${C}.ValueKind with\n | JsonValueKind.Array ->\n let mutable list_ = List.empty\n for i1 in 0 .. (${C}.GetArrayLength() - 1) do\n let item = ${C}.[i1]\n let partialResult =\n ${T(M.base,`${C}.[i1]`,`${N.slice(0,-1)}.{i1}"`,$,de,!1).replace(/\n/gu,"\n ")}\n list_ <- list_ |> List.append [ partialResult ]\n list_\n | _ -> raise (FatalException(${N.slice(0,-1)} must be an array."))\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${M.constructor.name}`)}}function S(M,C,N,$=1,de=!0){switch(M.constructor){case i.StringPrimitiveType:return`resultWriter_.WriteStringValue(${C})`;case i.FloatPrimitiveType:case i.UIntPrimitiveType:case i.IntPrimitiveType:return`resultWriter_.WriteNumberValue(${C})`;case i.MoneyPrimitiveType:return`resultWriter_.WriteNumberValue(int (Math.Round(${C} * 100m)))`;case i.BigIntPrimitiveType:return`resultWriter_.WriteStringValue(${C}.ToString())`;case i.BoolPrimitiveType:return`resultWriter_.WriteBooleanValue(${C})`;case i.BytesPrimitiveType:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${C}))`;case i.DateTimePrimitiveType:return`resultWriter_.WriteStringValue(${C}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"))`;case i.DatePrimitiveType:return`resultWriter_.WriteStringValue(${C}.ToString("yyyy-MM-dd"))`;case i.CpfPrimitiveType:case i.CnpjPrimitiveType:case i.EmailPrimitiveType:case i.HtmlPrimitiveType:case i.UrlPrimitiveType:case i.UuidPrimitiveType:case i.Base64PrimitiveType:case i.HexPrimitiveType:case i.XmlPrimitiveType:return`resultWriter_.WriteStringValue(${C})`;case i.OptionalType:{let K=M.base;for(;K instanceof i.TypeReference;)K=K.type;return`\n if (${C}.IsNone) then\n resultWriter_.WriteNullValue()\n else\n ${S(K,`${C}.Value`,N,$,de)}\n `.replace(/\n {14}/gu,"\n").trim()}case i.TypeReference:return S(M.type,C,N,$,de);case i.EnumType:case i.StructType:return`Encode${M.name} ${C} resultWriter_ ${N}`;case i.JsonPrimitiveType:return`${C}.WriteTo(resultWriter_)`;case i.ArrayType:return`\n resultWriter_.WriteStartArray()\n for i${$} in 0..${C}.Length - 1 do\n ${S(M.base,`${C}.[i${$}]`,`${N}`,$+1).replace(/\n/gu,"\n ")}\n resultWriter_.WriteEndArray()\n `.replace(/\n {14}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${M.constructor.name}`)}}y.ident=s,y.capitalize=v,y.generateTypeName=D,y.decodeType=T,y.encodeType=S,y.generateStruct=function p(M){return`\ntype ${M.name} = {\n ${M.fields.map(C=>`${v(C.name)}: ${D(C.type)}`).join(";\n ")}\n} with\n static member Create (${M.fields.map(C=>`${s(C.name)}: ${D(C.type)}`).join(", ")}): ${M.name} =\n { ${M.fields.map(C=>`${v(C.name)} = ${s(C.name)}`).join("; ")} }\n\nlet Decode${M.name} (json_: JsonElement) (path_: string): ${M.name} =\n if (json_.ValueKind <> JsonValueKind.Object) then raise (FatalException($"'{path_}' must be an object."))\n ${M.fields.map(C=>`\n let ${C.name}Json_ = decodeJsonElementStrict ${JSON.stringify(C.name)} json_ $"{path_}.${C.name}"\n let ${s(C.name)} =\n ${T(C.type,`${C.name}Json_`,`$"{path_}.${C.name}"`,s(C.name)).replace(/\n/gu,"\n ")}\n `).join("")}\n { ${M.fields.map(C=>`${v(C.name)} = ${s(C.name)}`).join("; ")} }\n\nlet Encode${M.name} (obj_: ${M.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n resultWriter_.WriteStartObject()\n ${M.fields.map(C=>`\n resultWriter_.WritePropertyName(${JSON.stringify(C.name)})\n ${S(C.type,`obj_.${v(C.name)}`,`$"{path_}.${C.name}"`).replace(/\n/gu,"\n ")}`).join("\n")}\n resultWriter_.WriteEndObject()`},y.generateEnum=function A(M){return`\ntype ${M.name} =\n ${M.values.map(({value:C})=>`| ${v(C)}`).join("\n ")}\n\nlet Decode${M.name} (json_: JsonElement) (path_: string): ${M.name} =\n if (json_.ValueKind <> JsonValueKind.String) then raise (FatalException($"'{path_}' must be a string."))\n match json_.GetString() with\n ${M.values.map(({value:C})=>`| "${C}" -> ${M.name}.${v(C)}`).join("\n ")}\n | _ -> raise (FatalException($"'{path_}' must be one of: (${M.values.map(({value:C})=>`'${C}'`).join(", ")})."))\n\nlet Encode${M.name} (obj_: ${M.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n match obj_ with\n ${M.values.map(({value:C})=>`| ${M.name}.${v(C)} -> resultWriter_.WriteStringValue("${C}")`).join("\n ")}\n\n`}},2863:function(Be,y,c){"use strict";var i=this&&this.__createBinding||(Object.create?function(g,d,s,v){void 0===v&&(v=s);var D=Object.getOwnPropertyDescriptor(d,s);(!D||("get"in D?!d.__esModule:D.writable||D.configurable))&&(D={enumerable:!0,get:function(){return d[s]}}),Object.defineProperty(g,v,D)}:function(g,d,s,v){void 0===v&&(v=s),g[v]=d[s]}),h=this&&this.__exportStar||function(g,d){for(var s in g)"default"!==s&&!Object.prototype.hasOwnProperty.call(d,s)&&i(d,g,s)};Object.defineProperty(y,"__esModule",{value:!0}),h(c(196),y)},9409:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.generateAndroidClientSource=void 0;const i=c(6676),h=c(7250);y.generateAndroidClientSource=function g(d,s){let v='@file:Suppress("UNNECESSARY_SAFE_CALL")\n\nimport android.os.Parcelable\nimport kotlinx.android.parcel.Parcelize\nimport android.content.Context\nimport android.util.Base64\nimport com.google.gson.*\nimport com.google.gson.reflect.TypeToken\nimport com.google.gson.annotations.JsonAdapter\nimport com.google.gson.annotations.SerializedName\nimport io.sdkgen.runtime.SdkgenHttpClient\nimport kotlinx.coroutines.*\nimport kotlinx.coroutines.Dispatchers.IO\nimport java.util.*\n\ninline fun <reified T> Gson.fromJson(json: String) =\n fromJson<T>(json, object : TypeToken<T>() {}.type)\n\ninline fun <reified T> Gson.fromJson(json: JsonElement) =\n fromJson<T>(json, object : TypeToken<T>() {}.type)\n\n@Suppress("DeferredIsResult", "unused")\nclass ApiClient(\n baseUrl: String,\n val applicationContext: Context,\n defaultTimeoutMillis: Long = 10000L\n) : SdkgenHttpClient(baseUrl, applicationContext, defaultTimeoutMillis) {\n\n private val gson = GsonBuilder()\n .registerTypeAdapter(object : TypeToken<ByteArray>() {}.type, ByteArrayDeserializer())\n .create()\n\n';for(const S of d.enumTypes)v+=` ${(0,h.generateEnum)(S)}`,v+="\n";v+=" open class Error(val message: String? = null)\n",v+=" data class Response<T>(val error: Error?, val data: T?, val stats: CallStats?)\n\n";for(const S of d.structTypes)v+=` ${(0,h.generateClass)(S)}\n`;const D=[],T=new i.ErrorNode("Connection",new i.VoidPrimitiveType);D.push(T.name),v+=` ${(0,h.generateErrorClass)(T)}`;for(const S of d.errors)v+=` ${(0,h.generateErrorClass)(S)}`,D.push(S.name);return D.length>0&&(v+=`\n enum class ErrorType {\n ${D.join(",\n ")};\n\n fun type(): Class<out ApiClient.Error> {\n return when (this) {\n ${D.map(S=>`${S} -> ApiClient.${S}::class.java`).join("\n ")}\n else -> ApiClient.Error::class.java\n }\n }\n }\n\n`),v+=" private val sdkgenIOScope = CoroutineScope(IO + SupervisorJob())\n\n",v+=d.operations.filter(S=>S.annotations.every(p=>!(p instanceof i.HiddenAnnotation))).map(S=>{let p="";const A=[];A.push("timeoutMillis: Long? = null"),s&&A.push(`callback: ((response: Response<${(0,h.generateKotlinTypeName)(S.returnType)}>) -> Unit)? = null`);const M=S.args.map(C=>`${(0,h.mangle)(C.name)}: ${(0,h.generateKotlinTypeName)(C.type)}`).concat(A);return p+=` fun ${(0,h.mangle)(S.name)}(\n ${M.join(",\n ")}\n ): Deferred<Response<out ${(0,h.generateKotlinTypeName)(S.returnType)}>> = sdkgenIOScope.async {\n`,S.args.length>0?(p+=" val bodyArgs = JsonObject().apply {\n",p+=S.args.map(C=>` ${(0,h.generateJsonAddRepresentation)(C.type,C.name)}`).join("\n"),p+="\n }\n"):p+=" val bodyArgs: JsonObject? = null",p+="\n",p+=` val call = makeRequest("${S.name}", bodyArgs, timeoutMillis)\n`,p+=` val response: Response<${(0,h.generateKotlinTypeName)(S.returnType)}> = handleCallResponse(call)\n`,s&&(p+=" withContext(Dispatchers.Main) { callback?.invoke(response) } \n"),p+=" return@async response\n",p+=" }\n",p}).join("\n"),v+='\n private inline fun <reified T> handleCallResponse(callResponse: InternalResponse): Response<T> {\n try {\n val data = if (callResponse.result?.get("result") != null)\n gson.fromJson<T>(callResponse.result?.get("result")!!)\n else null\n\n val error = if (callResponse.error != null) {\n val errorType = try {\n ErrorType.valueOf(callResponse.error?.get("type")?.asString ?: "")\n } catch (e: Exception) {\n ErrorType.Fatal\n }\n\n gson.fromJson(callResponse.error, errorType.type())\n } else null\n\n return Response(error, data, callResponse.stats)\n } catch(e: Exception) {\n return Response(Fatal(applicationContext.getString(io.sdkgen.runtime.R.string.sdkgen_error_serialization)), null, callResponse.stats)\n }\n }\n',v+="}\n",v}},7250:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.generateErrorClass=y.generateClass=y.getAnnotation=y.generateEnum=y.generateJsonAddRepresentation=y.mangle=y.generateKotlinTypeName=void 0;const i=c(6676);function h(S){switch(S.constructor){case i.IntPrimitiveType:case i.UIntPrimitiveType:case i.MoneyPrimitiveType:return"Int";case i.FloatPrimitiveType:return"Double";case i.BigIntPrimitiveType:return"BigInt";case i.DatePrimitiveType:case i.DateTimePrimitiveType:return"Calendar";case i.BoolPrimitiveType:return"Boolean";case i.BytesPrimitiveType:return"ByteArray";case i.StringPrimitiveType:case i.CpfPrimitiveType:case i.CnpjPrimitiveType:case i.EmailPrimitiveType:case i.HtmlPrimitiveType:case i.UrlPrimitiveType:case i.UuidPrimitiveType:case i.HexPrimitiveType:case i.Base64PrimitiveType:case i.XmlPrimitiveType:return"String";case i.VoidPrimitiveType:return"Unit";case i.JsonPrimitiveType:return"JsonElement";case i.OptionalType:return`${h(S.base)}?`;case i.ArrayType:return`ArrayList<${h(S.base)}>`;case i.StructType:case i.EnumType:return S.name;case i.TypeReference:return h(S.type);default:throw new Error(`BUG: generateKotlinTypeName with ${S.constructor.name}`)}}function g(S){return["in","out","as","break","class","continue","do","else","false","for","fun","if","in","interface","is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","Double","Float","Long","Int","Short","Byte"].includes(S)?`_${S}`:S}function v(S,p){let A="";switch(p&&p!==g(p)&&(A+=` @SerializedName("${p}")\n`),S.constructor){case i.DatePrimitiveType:A+=" @JsonAdapter(DateAdapter::class)\n";break;case i.DateTimePrimitiveType:A+=" @JsonAdapter(DateTimeAdapter::class)\n";break;case i.ArrayType:case i.OptionalType:A+=v(S.base)}return A}y.generateKotlinTypeName=h,y.mangle=g,y.generateJsonAddRepresentation=function d(S,p){switch(S.constructor){case i.StringPrimitiveType:case i.CpfPrimitiveType:case i.CnpjPrimitiveType:case i.EmailPrimitiveType:case i.HtmlPrimitiveType:case i.UrlPrimitiveType:case i.UuidPrimitiveType:case i.HexPrimitiveType:case i.Base64PrimitiveType:case i.XmlPrimitiveType:case i.IntPrimitiveType:case i.UIntPrimitiveType:case i.MoneyPrimitiveType:case i.FloatPrimitiveType:case i.BoolPrimitiveType:return`addProperty("${p}", ${g(p)})`;case i.OptionalType:return d(S.base,p);case i.DatePrimitiveType:return`addProperty("${p}", ${g(p)}?.let { DateAdapter.sdf.format(it.time)}) `;case i.DateTimePrimitiveType:return`addProperty("${p}", ${g(p)}?.let { DateTimeAdapter.sdf.format(it.time)})`;case i.ArrayType:case i.StructType:case i.EnumType:case i.TypeReference:case i.JsonPrimitiveType:return`add("${p}", gson.toJsonTree(${g(p)}))`;case i.VoidPrimitiveType:return"";case i.BytesPrimitiveType:return`addProperty("${p}", Base64.encodeToString(${g(p)}, Base64.NO_WRAP))`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${S.constructor.name}`)}},y.generateEnum=function s(S){let p="@Parcelize \n";return p+=` enum class ${S.name} : Parcelable { ${S.values.map(A=>g(A.value)).join(", ")} }\n`,p},y.getAnnotation=v,y.generateClass=function D(S){let p="@Parcelize\n";return p+=` data class ${S.name}(\n${S.fields.map(A=>{let M=v(A.type,A.name);return M+=` var ${g(A.name)}: ${h(A.type)}${A.type.constructor===i.OptionalType?" = null":""}`,M}).join(",\n")}\n ) : Parcelable\n`,p},y.generateErrorClass=function T(S){return`class ${S.name}(message: String) : Error(message)\n`}},7402:function(Be,y,c){"use strict";var i=this&&this.__createBinding||(Object.create?function(g,d,s,v){void 0===v&&(v=s);var D=Object.getOwnPropertyDescriptor(d,s);(!D||("get"in D?!d.__esModule:D.writable||D.configurable))&&(D={enumerable:!0,get:function(){return d[s]}}),Object.defineProperty(g,v,D)}:function(g,d,s,v){void 0===v&&(v=s),g[v]=d[s]}),h=this&&this.__exportStar||function(g,d){for(var s in g)"default"!==s&&!Object.prototype.hasOwnProperty.call(d,s)&&i(d,g,s)};Object.defineProperty(y,"__esModule",{value:!0}),h(c(9409),y)},1942:function(Be,y,c){"use strict";var i=this&&this.__rest||function(Fe,be){var Ge={};for(var mt in Fe)Object.prototype.hasOwnProperty.call(Fe,mt)&&be.indexOf(mt)<0&&(Ge[mt]=Fe[mt]);if(null!=Fe&&"function"==typeof Object.getOwnPropertySymbols){var ht=0;for(mt=Object.getOwnPropertySymbols(Fe);ht<mt.length;ht++)be.indexOf(mt[ht])<0&&Object.prototype.propertyIsEnumerable.call(Fe,mt[ht])&&(Ge[mt[ht]]=Fe[mt[ht]])}return Ge};Object.defineProperty(y,"__esModule",{value:!0}),y.AstRoot=y.FunctionOperation=y.TypeDefinition=y.StructType=y.TypeReference=y.Spread=y.Field=y.EnumType=y.EnumValue=y.ArrayType=y.OptionalType=y.JsonPrimitiveType=y.XmlPrimitiveType=y.Base64PrimitiveType=y.HtmlPrimitiveType=y.HexPrimitiveType=y.UuidPrimitiveType=y.UrlPrimitiveType=y.EmailPrimitiveType=y.CnpjPrimitiveType=y.CpfPrimitiveType=y.MoneyPrimitiveType=y.VoidPrimitiveType=y.BytesPrimitiveType=y.BoolPrimitiveType=y.DateTimePrimitiveType=y.DatePrimitiveType=y.BigIntPrimitiveType=y.FloatPrimitiveType=y.UIntPrimitiveType=y.IntPrimitiveType=y.StringPrimitiveType=y.PrimitiveType=y.HiddenAnnotation=y.RestAnnotation=y.ArgDescriptionAnnotation=y.ThrowsAnnotation=y.DescriptionAnnotation=y.Annotation=y.ErrorNode=y.Type=y.AstNode=void 0;const h=c(9037);class g{constructor(){this.location=new h.TokenLocation,Object.defineProperty(this,"location",{enumerable:!1})}at(be){return this.location=be.location,this}atLocation(be){return this.location=be,this}}y.AstNode=g;class d extends g{toJSON(){const be=Object.assign({},this);return i(be,["name"])}}y.Type=d,y.ErrorNode=class s extends g{constructor(be,Ge){super(),this.name=be,this.dataType=Ge}};class v extends g{}y.Annotation=v,y.DescriptionAnnotation=class D extends v{constructor(be){super(),this.text=be}},y.ThrowsAnnotation=class T extends v{constructor(be){super(),this.error=be}},y.ArgDescriptionAnnotation=class S extends v{constructor(be,Ge){super(),this.argName=be,this.text=Ge}},y.RestAnnotation=class p extends v{constructor(be,Ge,mt,ht,wt,dt){super(),this.method=be,this.path=Ge,this.pathVariables=mt,this.queryVariables=ht,this.headers=wt,this.bodyVariable=dt}},y.HiddenAnnotation=class A extends v{};class M extends d{toJSON(){return this.name}}y.PrimitiveType=M,y.StringPrimitiveType=class C extends M{constructor(){super(...arguments),this.name="string"}},y.IntPrimitiveType=class N extends M{constructor(){super(...arguments),this.name="int"}},y.UIntPrimitiveType=class $ extends M{constructor(){super(...arguments),this.name="uint"}},y.FloatPrimitiveType=class de extends M{constructor(){super(...arguments),this.name="float"}},y.BigIntPrimitiveType=class K extends M{constructor(){super(...arguments),this.name="bigint"}},y.DatePrimitiveType=class ce extends M{constructor(){super(...arguments),this.name="date"}},y.DateTimePrimitiveType=class Oe extends M{constructor(){super(...arguments),this.name="datetime"}},y.BoolPrimitiveType=class me extends M{constructor(){super(...arguments),this.name="bool"}},y.BytesPrimitiveType=class ye extends M{constructor(){super(...arguments),this.name="bytes"}},y.VoidPrimitiveType=class X extends M{constructor(){super(...arguments),this.name="void"}},y.MoneyPrimitiveType=class ve extends M{constructor(){super(...arguments),this.name="money"}},y.CpfPrimitiveType=class Re extends M{constructor(){super(...arguments),this.name="cpf"}},y.CnpjPrimitiveType=class Qe extends M{constructor(){super(...arguments),this.name="cnpj"}},y.EmailPrimitiveType=class ot extends M{constructor(){super(...arguments),this.name="email"}},y.UrlPrimitiveType=class Ve extends M{constructor(){super(...arguments),this.name="url"}},y.UuidPrimitiveType=class ue extends M{constructor(){super(...arguments),this.name="uuid"}},y.HexPrimitiveType=class Ie extends M{constructor(){super(...arguments),this.name="hex"}},y.HtmlPrimitiveType=class H extends M{constructor(){super(...arguments),this.name="html"}},y.Base64PrimitiveType=class pe extends M{constructor(){super(...arguments),this.name="base64"}},y.XmlPrimitiveType=class ee extends M{constructor(){super(...arguments),this.name="xml"}},y.JsonPrimitiveType=class xe extends M{constructor(){super(...arguments),this.name="json"}},y.OptionalType=class fe extends d{constructor(be){super(),this.base=be}get name(){return`${this.base.name}?`}},y.ArrayType=class Ze extends d{constructor(be){super(),this.base=be}get name(){return`${this.base.name}[]`}},y.EnumValue=class ge extends g{constructor(be){super(),this.value=be,this.annotations=[],this.struct=null}},y.EnumType=class He extends d{constructor(be){super(),this.values=be}get hasStructValues(){return this.values.some(be=>null!==be.struct)}},y.Field=class at extends g{constructor(be,Ge,mt=!1){super(),this.name=be,this.type=Ge,this.secret=mt,this.annotations=[]}},y.Spread=class gt extends g{constructor(be){super(),this.typeReference=be}},y.TypeReference=class Le extends d{constructor(be){super(),this.name=be}},y.StructType=class qe extends d{constructor(be){super(),this.fieldsAndSpreads=be,this.fields=[]}},y.TypeDefinition=class q extends g{constructor(be,Ge){super(),this.name=be,this.type=Ge,this.annotations=[]}},y.FunctionOperation=class he extends g{constructor(be,Ge,mt){super(),this.name=be,this.fieldsAndSpreads=Ge,this.returnType=mt,this.annotations=[],this.args=[]}},y.AstRoot=class we{constructor(be=[],Ge=[],mt=[]){this.typeDefinitions=be,this.operations=Ge,this.errors=mt,this.structTypes=[],this.enumTypes=[],this.warnings=[]}}},9747:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.compatibilityIssues=void 0;const i=c(1942);function h(s,v,D,T){var S,p;if(D instanceof i.TypeReference)h(s,v,D.type,T);else if(T instanceof i.TypeReference)h(s,v,D,T.type);else if(D instanceof i.OptionalType||!(T instanceof i.OptionalType))if(D instanceof i.OptionalType&&T instanceof i.OptionalType)h(s,v,D.base,T.base);else{if(D instanceof i.OptionalType&&!(T instanceof i.OptionalType))return v.push(`${s} was optional, but now it isn't. If the client sends a null, it will be invalid. Add the optional annotation back.`),void h(s,v,D.base,T);if(D instanceof i.ArrayType&&T instanceof i.ArrayType)h(s,v,D.base,T.base);else if(D instanceof i.StructType&&T instanceof i.StructType)for(const A of T.fields){const M=D.fields.find(C=>C.name===A.name);if(M)h(`${s}.${M.name}`,v,M.type,A.type);else{if(A.type instanceof i.OptionalType)continue;v.push(`${s}.${A.name} didn't exist before and isn't optional. Make it optional.`)}}else if(!(D instanceof i.UIntPrimitiveType&&T instanceof i.IntPrimitiveType||D instanceof i.IntPrimitiveType&&T instanceof i.FloatPrimitiveType||D instanceof i.MoneyPrimitiveType&&T instanceof i.IntPrimitiveType||D instanceof i.MoneyPrimitiveType&&T instanceof i.UIntPrimitiveType||D instanceof i.UIntPrimitiveType&&T instanceof i.BigIntPrimitiveType||D instanceof i.IntPrimitiveType&&T instanceof i.BigIntPrimitiveType||D instanceof i.MoneyPrimitiveType&&T instanceof i.BigIntPrimitiveType||D instanceof i.BigIntPrimitiveType&&T instanceof i.StringPrimitiveType||D instanceof i.UuidPrimitiveType&&T instanceof i.StringPrimitiveType||D instanceof i.XmlPrimitiveType&&T instanceof i.StringPrimitiveType||D instanceof i.DatePrimitiveType&&T instanceof i.StringPrimitiveType||D instanceof i.DateTimePrimitiveType&&T instanceof i.StringPrimitiveType||D instanceof i.CpfPrimitiveType&&T instanceof i.StringPrimitiveType||D instanceof i.CnpjPrimitiveType&&T instanceof i.StringPrimitiveType||D instanceof i.HexPrimitiveType&&T instanceof i.StringPrimitiveType||D instanceof i.HtmlPrimitiveType&&T instanceof i.StringPrimitiveType||D instanceof i.Base64PrimitiveType&&T instanceof i.StringPrimitiveType||D instanceof i.BytesPrimitiveType&&T instanceof i.StringPrimitiveType||D instanceof i.BytesPrimitiveType&&T instanceof i.Base64PrimitiveType||D instanceof i.UrlPrimitiveType&&T instanceof i.StringPrimitiveType||D instanceof i.EmailPrimitiveType&&T instanceof i.StringPrimitiveType||D instanceof i.EnumType&&T instanceof i.StringPrimitiveType)){if(D instanceof i.EnumType&&T instanceof i.EnumType){for(const A of D.values){const M=T.values.find(C=>C.value===A.value);M?h(`${s}.${A.value}`,v,null!==(S=A.struct)&&void 0!==S?S:new i.StructType([]),null!==(p=M.struct)&&void 0!==p?p:new i.StructType([])):v.push(`The enum at ${s} used to accept the value "${A.value}" that doesn't exist now. Clients that send it will fail.`)}return}D.constructor.name!==T.constructor.name&&v.push(`${s} was ${D.name} and now it is ${T.name}. They are not compatible.`)}}else h(s,v,D,T.base)}function g(s,v,D,T){var S,p;if(D instanceof i.TypeReference)g(s,v,D.type,T);else if(T instanceof i.TypeReference)g(s,v,D,T.type);else if(!(D instanceof i.OptionalType)||T instanceof i.OptionalType)if(D instanceof i.OptionalType&&T instanceof i.OptionalType)g(s,v,D.base,T.base);else{if(!(D instanceof i.OptionalType)&&T instanceof i.OptionalType)return v.push(`${s} wasn't optional, but now it is. If the client receives a null, it will crash. Remove the optional annotation.`),void g(s,v,D,T.base);if(D instanceof i.ArrayType&&T instanceof i.ArrayType)g(s,v,D.base,T.base);else if(D instanceof i.StructType&&T instanceof i.StructType)for(const A of D.fields){const M=T.fields.find(C=>C.name===A.name);if(M)g(`${s}.${A.name}`,v,A.type,M.type);else{if(A.type instanceof i.OptionalType)continue;v.push(`${s}.${A.name} used to exist with type ${A.type.name}, but it's now missing. Add it back.`)}}else if(!(D instanceof i.IntPrimitiveType&&T instanceof i.UIntPrimitiveType||D instanceof i.FloatPrimitiveType&&T instanceof i.IntPrimitiveType||D instanceof i.IntPrimitiveType&&T instanceof i.MoneyPrimitiveType||D instanceof i.UIntPrimitiveType&&T instanceof i.MoneyPrimitiveType||D instanceof i.BigIntPrimitiveType&&T instanceof i.UIntPrimitiveType||D instanceof i.BigIntPrimitiveType&&T instanceof i.IntPrimitiveType||D instanceof i.BigIntPrimitiveType&&T instanceof i.MoneyPrimitiveType||D instanceof i.StringPrimitiveType&&T instanceof i.BigIntPrimitiveType||D instanceof i.StringPrimitiveType&&T instanceof i.UuidPrimitiveType||D instanceof i.StringPrimitiveType&&T instanceof i.XmlPrimitiveType||D instanceof i.StringPrimitiveType&&T instanceof i.DatePrimitiveType||D instanceof i.StringPrimitiveType&&T instanceof i.DateTimePrimitiveType||D instanceof i.StringPrimitiveType&&T instanceof i.CpfPrimitiveType||D instanceof i.StringPrimitiveType&&T instanceof i.CnpjPrimitiveType||D instanceof i.StringPrimitiveType&&T instanceof i.HexPrimitiveType||D instanceof i.StringPrimitiveType&&T instanceof i.HtmlPrimitiveType||D instanceof i.StringPrimitiveType&&T instanceof i.Base64PrimitiveType||D instanceof i.StringPrimitiveType&&T instanceof i.BytesPrimitiveType||D instanceof i.Base64PrimitiveType&&T instanceof i.BytesPrimitiveType||D instanceof i.StringPrimitiveType&&T instanceof i.UrlPrimitiveType||D instanceof i.StringPrimitiveType&&T instanceof i.EmailPrimitiveType||D instanceof i.StringPrimitiveType&&T instanceof i.EnumType)){if(D instanceof i.EnumType&&T instanceof i.EnumType){for(const A of T.values){const M=D.values.find(C=>C.value===A.value);M?g(`${s}.${A.value}`,v,null!==(S=M.struct)&&void 0!==S?S:new i.StructType([]),null!==(p=A.struct)&&void 0!==p?p:new i.StructType([])):v.push(`The enum at ${s} now has the value "${A.value}" that didn't exist before. Client will crash if it receives it`)}return}D.constructor.name!==T.constructor.name&&v.push(`${s} was ${D.name} and now it is ${T.name}. They are not compatible.`)}}else g(s,v,D.base,T)}y.compatibilityIssues=function d(s,v){const D=[];for(const T of s.operations){const S=v.operations.find(p=>p.name===T.name);if(S){g(`${T.name}.ret`,D,T.returnType,S.returnType);for(const p of S.args){const A=T.args.find(M=>M.name===p.name);if(A)h(`${T.name}.args.${A.name}`,D,A.type,p.type);else{if(p.type instanceof i.OptionalType)continue;D.push(`${T.name}.args.${p.name} didn't exist before and isn't optional. Make it optional.`)}}}else D.push(`function ${T.name} used to exist, but it's now missing. Add it back.`)}for(const T of s.errors){const S=v.errors.find(p=>p.name===T.name);!S||g(`${T.name}.data`,D,T.dataType,S.dataType)}return D}},6676:function(Be,y,c){"use strict";var i=this&&this.__createBinding||(Object.create?function(d,s,v,D){void 0===D&&(D=v);var T=Object.getOwnPropertyDescriptor(s,v);(!T||("get"in T?!s.__esModule:T.writable||T.configurable))&&(T={enumerable:!0,get:function(){return s[v]}}),Object.defineProperty(d,D,T)}:function(d,s,v,D){void 0===D&&(D=v),d[D]=s[v]}),h=this&&this.__exportStar||function(d,s){for(var v in d)"default"!==v&&!Object.prototype.hasOwnProperty.call(s,v)&&i(s,d,v)};Object.defineProperty(y,"__esModule",{value:!0}),y.jsonToAst=y.astToJson=void 0,h(c(1942),y),h(c(9747),y);var g=c(1557);Object.defineProperty(y,"astToJson",{enumerable:!0,get:function(){return g.astToJson}}),Object.defineProperty(y,"jsonToAst",{enumerable:!0,get:function(){return g.jsonToAst}}),h(c(8053),y),h(c(2701),y),h(c(9037),y)},1557:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.jsonToAst=y.astToJson=void 0;const i=c(1942),h=c(6088),g=c(6569);function d(T){if(T instanceof i.DescriptionAnnotation)return{type:"description",value:T.text};if(T instanceof i.ThrowsAnnotation)return{type:"throws",value:T.error};if(T instanceof i.RestAnnotation)return{type:"rest",value:{bodyVariable:T.bodyVariable,headers:[...T.headers.entries()].sort(([S],[p])=>S.localeCompare(p)),method:T.method,path:T.path,pathVariables:[...T.pathVariables].sort((S,p)=>S.localeCompare(p)),queryVariables:[...T.queryVariables].sort((S,p)=>S.localeCompare(p))}};if(T instanceof i.HiddenAnnotation)return{type:"hidden",value:null};throw new Error(`BUG: annotationToJson with ${T.constructor.name}`)}function s(T){switch(T.type){case"description":return new i.DescriptionAnnotation(T.value);case"throws":return new i.ThrowsAnnotation(T.value);case"rest":{const{method:S,path:p,pathVariables:A,queryVariables:M,headers:C,bodyVariable:N}=T.value;return new i.RestAnnotation(S,p,A,M,new Map(C),N)}case"hidden":return new i.HiddenAnnotation;default:throw new Error(`BUG: annotationFromJson with ${T.type}`)}}y.astToJson=function v(T){var S,p,A;const M={},C={};function N(K){return K instanceof i.ArrayType?`${N(K.base)}[]`:K instanceof i.OptionalType?`${N(K.base)}?`:K.name}for(const{name:K,fields:ce}of T.structTypes){C[K]={};const Oe=C[K];for(const me of ce){Oe[me.name]=N(me.type);for(const ye of me.annotations)if(ye instanceof i.DescriptionAnnotation){const X=`type.${K}.${me.name}`;null!==(S=M[X])&&void 0!==S||(M[X]=[]),M[X].push(d(ye))}}}for(const{name:K,values:ce}of T.enumTypes)C[K]=ce.map(Oe=>Oe.struct?[Oe.value,Oe.struct.name]:Oe.value);for(const{name:K,type:ce}of T.typeDefinitions)ce instanceof i.StructType||ce instanceof i.EnumType||(C[K]=N(ce));const $={};for(const K of T.operations){const ce={};for(const Oe of K.args){ce[Oe.name]=N(Oe.type);for(const me of Oe.annotations)if(me instanceof i.DescriptionAnnotation){const ye=`fn.${K.name}.${Oe.name}`;null!==(p=M[ye])&&void 0!==p||(M[ye]=[]),M[ye].push(d(me))}}$[K.name]={args:ce,ret:N(K.returnType)};for(const Oe of K.annotations){const me=`fn.${K.name}`;null!==(A=M[me])&&void 0!==A||(M[me]=[]),M[me].push(d(Oe))}}return{annotations:M,errors:T.errors.map(K=>K.dataType instanceof i.VoidPrimitiveType?K.name:[K.name,K.dataType.name]),functionTable:$,typeTable:C}},y.jsonToAst=function D(T){var S,p;const A=[],M=[],C=[];function N(K,ce){var Oe;if("string"==typeof K){const ye=g.primitiveToAstClass.get(K);return ye?new ye:K.endsWith("?")?new i.OptionalType(N(K.slice(0,K.length-1))):K.endsWith("[]")?new i.ArrayType(N(K.slice(0,K.length-2))):new i.TypeReference(K)}if(Array.isArray(K))return new i.EnumType(K.map(ye=>{if(Array.isArray(ye)){const[X,ve]=ye,Re=new i.EnumValue(X);return C.push([Re,ve]),Re}return new i.EnumValue(ye)}));const me=[];for(const ye of Object.keys(K)){const X=new i.Field(ye,N(K[ye]));if(ce){const ve=`type.${ce}.${ye}`;for(const Re of null!==(Oe=T.annotations[ve])&&void 0!==Oe?Oe:[])X.annotations.push(s(Re))}me.push(X)}return new i.StructType(me)}for(const[K,ce]of Object.entries(T.typeTable)){const Oe=N(ce,K);M.push(new i.TypeDefinition(K,Oe))}for(const[K,ce]of Object.entries(T.functionTable)){const Oe=Object.keys(ce.args).map(X=>{var ve;const Re=new i.Field(X,N(ce.args[X])),Qe=`fn.${K}.${X}`;for(const ot of null!==(ve=T.annotations[Qe])&&void 0!==ve?ve:[])Re.annotations.push(s(ot));return Re}),me=new i.FunctionOperation(K,Oe,N(ce.ret)),ye=`fn.${K}`;for(const X of null!==(S=T.annotations[ye])&&void 0!==S?S:[])me.annotations.push(s(X));A.push(me)}for(const[K,ce]of C){const Oe=null===(p=M.find(me=>me.name===ce))||void 0===p?void 0:p.type;Oe instanceof i.StructType&&(K.struct=Oe)}const $=T.errors.map(K=>{if(Array.isArray(K)){const[ce,Oe]=K;return new i.ErrorNode(ce,N(Oe))}return new i.ErrorNode(K,new i.VoidPrimitiveType)}),de=new i.AstRoot(M,A,$);return(0,h.analyse)(de),de}},8053:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Lexer=y.LexerError=void 0;const i=c(9037);class h extends Error{}y.LexerError=h;class g{constructor(s,v="-"){this.source=s,this.filename=v,this.startPos=0,this.startLine=1,this.startColumn=1,this.pos=0,this.line=1,this.column=1}currentChar(){return this.source[this.pos]||"\0"}nextChar(){return this.column++,this.source[++this.pos]||"\0"}nextToken(){this.startPos=this.pos,this.startLine=this.line,this.startColumn=this.column;let s=null;switch(this.currentChar()){case"\0":return null;case" ":case"\r":case"\t":return this.nextChar(),this.nextToken();case"\n":return this.nextChar(),this.column=1,this.line++,this.nextToken();case"/":switch(this.nextChar()){case"/":for(;;)switch(this.nextChar()){case"\0":return null;case"\n":return this.nextChar(),this.column=1,this.line++,this.nextToken()}case"*":e:for(;;)switch(this.nextChar()){case"\0":break e;case"\n":this.column=0,this.line++;break;case"*":for(;"*"===this.nextChar(););switch(this.currentChar()){case"\0":break e;case"\n":this.column=0,this.line++;break;case"/":return this.nextChar(),this.nextToken()}}}break;case"{":this.nextChar(),s=new i.CurlyOpenSymbolToken;break;case"}":this.nextChar(),s=new i.CurlyCloseSymbolToken;break;case"(":this.nextChar(),s=new i.ParensOpenSymbolToken;break;case")":this.nextChar(),s=new i.ParensCloseSymbolToken;break;case"?":this.nextChar(),s=new i.OptionalSymbolToken;break;case":":this.nextChar(),s=new i.ColonSymbolToken;break;case"=":this.nextChar(),s=new i.EqualSymbolToken;break;case"!":this.nextChar(),s=new i.ExclamationMarkSymbolToken;break;case",":this.nextChar(),s=new i.CommaSymbolToken;break;case"[":"]"===this.nextChar()&&(this.nextChar(),s=new i.ArraySymbolToken);break;case".":"."===this.nextChar()&&"."===this.nextChar()&&(this.nextChar(),s=new i.SpreadSymbolToken);break;case"@":{let v="\\",D=this.startPos+1;for(;"\\"===v[v.length-1];){for(v=v.slice(0,v.length-1).trim();!["\0","\n"].includes(this.nextChar()););v=`${v} ${this.source.substring(D,this.pos).trim()}`.trim(),D=this.pos+1}s=new i.AnnotationToken(v.trim());break}case'"':{const v=[];e:for(;;)switch(this.nextChar()){case"\0":break e;case"\\":switch(this.nextChar()){case"\0":break e;case"n":v.push("\n");break;case"t":v.push("\t");break;default:v.push(this.currentChar())}break;case'"':this.nextChar(),s=new i.StringLiteralToken(v.join(""));break e;default:v.push(this.currentChar())}break}default:if(/[a-zA-Z_]/u.test(this.currentChar())){for(;/[a-zA-Z0-9_]/u.test(this.nextChar()););const v=this.source.substring(this.startPos,this.pos);switch(v){case"error":s=new i.ErrorKeywordToken;break;case"enum":s=new i.EnumKeywordToken;break;case"type":s=new i.TypeKeywordToken;break;case"import":s=new i.ImportKeywordToken;break;case"fn":s=new i.FnKeywordToken;break;case"true":s=new i.TrueKeywordToken;break;case"false":s=new i.FalseKeywordToken;break;default:s=g.PRIMITIVES.has(v)?new i.PrimitiveTypeToken(v):new i.IdentifierToken(v)}}}if(null!==s)return s.location.filename=this.filename,s.location.line=this.startLine,s.location.column=this.startColumn,s;throw"\0"===this.currentChar()?new h(`Unexpected end of file at ${this.filename}`):new h(`Unexpected character ${JSON.stringify(this.currentChar())} at ${this.filename}:${this.line}:${this.column}`)}}y.Lexer=g,g.PRIMITIVES=new Set(["bool","int","uint","float","bigint","string","date","datetime","bytes","money","cpf","cnpj","email","html","url","uuid","hex","base64","xml","void","json"]),g.KEYWORDS=new Set([...g.PRIMITIVES,"error","enum","type","import","get","function","fn","true","false"])},2701:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Parser=y.ParserError=void 0;const i=c(1942),h=c(8053),g=c(7145),d=c(6088),s=c(9037),v=c(6569);class D extends Error{}y.ParserError=D,y.Parser=class T{constructor(p){this.token=null,this.annotations=[],this.warnings=[],this.readFileSync=()=>{throw"Not implemented"};try{this.readFileSync=Object(function(){var M=new Error("Cannot find module 'fs'");throw M.code="MODULE_NOT_FOUND",M}())}catch(A){}this.lexers=p instanceof h.Lexer?[p]:[new h.Lexer(this.readFileSync(p).toString(),p)],this.nextToken()}nextToken(){for(;this.lexers.length>0;){if(this.token=this.lexers[this.lexers.length-1].nextToken(),this.token)return;this.lexers.pop()}}multiExpect(p){if(!this.token)throw new D(`Expected ${Object.keys(p).map(M=>M.replace("Token","")).join(" or ")}, but found end of file`);const A=this.token.constructor.name;if(A in p)return p[A](this.token);if(p.IdentifierToken){const M=this.token.maybeAsIdentifier();if(M instanceof s.IdentifierToken)return p.IdentifierToken(M)}throw new D(`Expected ${Object.keys(p).map(M=>M.replace("Token","")).join(" or ")} at ${this.token.location}, but found ${this.token}`)}expect(p){if(null===this.token)throw new D(`Expected ${p.name.replace("Token","")}, but found end of file`);if(this.token instanceof p)return this.token;if(p===s.IdentifierToken){const A=this.token.maybeAsIdentifier();if(A instanceof s.IdentifierToken)return A}throw new D(`Expected ${p.name.replace("Token","")} at ${this.token.location}, but found ${this.token}`)}parse(){const p=[],A=[],M=[];for(this.warnings=[];this.token;)this.acceptAnnotations(),this.multiExpect({ErrorKeywordToken:()=>{M.push(this.parseError())},FnKeywordToken:()=>{p.push(this.parseOperation())},ImportKeywordToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const N=this.expect(s.StringLiteralToken),$=N.location.filename.replace(/[^/\\]+$/u,`${N.value}.sdkgen`);this.lexers.push(new h.Lexer(this.readFileSync($).toString(),$)),this.nextToken()},TypeKeywordToken:()=>{A.push(this.parseTypeDefinition())}});const C=new i.AstRoot(A,p,M);return C.warnings=this.warnings,(0,d.analyse)(C),C}acceptAnnotations(){for(;this.token instanceof s.AnnotationToken;){const p=this.token.value.split(" "),A=this.token.value.slice(p[0].length).trim();switch(p[0]){case"description":this.annotations.push(new i.DescriptionAnnotation(A).at(this.token));break;case"arg":this.annotations.push(new i.ArgDescriptionAnnotation(p[1],this.token.value.slice(p[0].length+1+p[1].length).trim()).at(this.token));break;case"throws":this.annotations.push(new i.ThrowsAnnotation(A).at(this.token));break;case"rest":try{this.annotations.push((0,g.parseRestAnnotation)(A).at(this.token))}catch(M){throw new D(`${M instanceof Error?M.message:M} at ${this.token.location}`)}break;case"hidden":if(""!==A)throw new D("@hidden annotation doesn't take any argument");this.annotations.push((new i.HiddenAnnotation).at(this.token));break;default:throw new D(`Unknown annotation '${p[0]}' at ${this.token.location}`)}this.nextToken()}}checkCannotHaveAnnotationsHere(){if(this.annotations.length>0)throw new D(`Cannot have annotations at ${this.annotations[0].location}`)}parseTypeDefinition(){const p=this.expect(s.TypeKeywordToken);this.nextToken();const A=this.expect(s.IdentifierToken),M=A.value;if(!/[A-Z]/u.test(M[0]))throw new D(`The custom type name must start with an uppercase letter, but found ${JSON.stringify(M)} at ${A.location}`);this.nextToken();const{annotations:C}=this;this.annotations=[];const N=this.parseType(),$=new i.TypeDefinition(M,N).at(p);return $.annotations=C,$}parseError(){this.checkCannotHaveAnnotationsHere();const p=this.expect(s.ErrorKeywordToken);this.nextToken();const A=this.expect(s.IdentifierToken),M=A.value;if(!/[A-Z]/u.test(M[0]))throw new D(`Error name must start with an uppercase letter, but found ${JSON.stringify(M)} at ${A.location}`);this.nextToken();let C=new i.VoidPrimitiveType;return(this.token instanceof s.CurlyOpenSymbolToken||this.token instanceof s.EnumKeywordToken||this.token instanceof s.IdentifierToken||this.token instanceof s.PrimitiveTypeToken)&&(C=this.parseType()),new i.ErrorNode(M,C).at(p)}parseOperation(){let{annotations:p}=this;this.annotations=[],this.expect(s.FnKeywordToken),this.nextToken();const A=this.expect(s.IdentifierToken).value;this.nextToken(),this.expect(s.ParensOpenSymbolToken),this.nextToken();const M=new Set,C=[];let $,N=!1;for(;!N;)this.acceptAnnotations(),this.multiExpect({ParensCloseSymbolToken:ce=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),N=!0,$=ce},IdentifierToken:()=>{const ce=this.parseField();if(M.has(ce.name))throw new D(`Cannot redeclare argument '${ce.name}'`);M.add(ce.name),C.push(ce),this.multiExpect({ParensCloseSymbolToken:Oe=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),N=!0,$=Oe},CommaSymbolToken:()=>this.nextToken()})},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const ce=this.expect(s.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(ce.value[0]))throw new D(`Expected a type but found ${JSON.stringify(ce.value)} at ${ce.location}`);C.push(new i.Spread(new i.TypeReference(ce.value).at(ce)).at(ce)),this.multiExpect({ParensCloseSymbolToken:Oe=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),N=!0,$=Oe},CommaSymbolToken:()=>this.nextToken()})}});for(const ce of p)if(ce instanceof i.ArgDescriptionAnnotation){const Oe=C.find(me=>me instanceof i.Field&&me.name===ce.argName);if(!Oe)throw new D(`Argument '${ce.argName}' not found, at ${ce.location}`);Oe.annotations.push(new i.DescriptionAnnotation(ce.text).atLocation(ce.location))}p=p.filter(ce=>!(ce instanceof i.ArgDescriptionAnnotation));let de=(new i.VoidPrimitiveType).at($);this.token instanceof s.ColonSymbolToken&&(this.nextToken(),de=this.parseType());const K=new i.FunctionOperation(A,C,de);return K.annotations=p,K}parseEnum(){this.checkCannotHaveAnnotationsHere();const p=this.expect(s.EnumKeywordToken);this.nextToken(),this.expect(s.CurlyOpenSymbolToken),this.nextToken();const A=new i.EnumType([]).at(p);let M=!1;for(;!M;)this.acceptAnnotations(),this.multiExpect({CurlyCloseSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),M=!0},IdentifierToken:C=>{const N=new i.EnumValue(C.value).at(C);if(N.annotations=this.annotations,this.annotations=[],A.values.push(N),this.nextToken(),!(this.token instanceof s.ParensOpenSymbolToken))return;this.nextToken();const $=new Set,de=[];for(;this.token&&this.token.maybeAsIdentifier()instanceof s.IdentifierToken;){const K=this.parseField();if("tag"===K.name&&(K.name="_tag"),$.has(K.name))throw new D(`Cannot redeclare argument '${K.name}'`);if($.add(K.name),de.push(K),!(this.token instanceof s.CommaSymbolToken))break;this.nextToken()}N.struct=new i.StructType(de).atLocation(N.location),this.expect(s.ParensCloseSymbolToken),this.nextToken()}});return A}parseField(){const p=this.expect(s.IdentifierToken);this.nextToken(),this.expect(s.ColonSymbolToken),this.nextToken();const{annotations:A}=this;this.annotations=[];const M=this.parseType(),C=new i.Field(p.value,M).at(p);for(C.annotations=A;this.token instanceof s.ExclamationMarkSymbolToken;){if("secret"!==(this.nextToken(),this.expect(s.IdentifierToken).value))throw new D(`Unknown field mark !${this.token.value} at ${this.token.location}`);C.secret=!0,this.nextToken()}return C}parseStruct(){const p=this.expect(s.CurlyOpenSymbolToken);this.nextToken();const A=[],M=new Set;let C=!1;for(;!C;)this.acceptAnnotations(),this.multiExpect({CurlyCloseSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),C=!0},IdentifierToken:()=>{const N=this.parseField();if(M.has(N.name))throw new D(`Cannot redeclare field '${N.name}'`);M.add(N.name),A.push(N)},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const N=this.expect(s.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(N.value[0]))throw new D(`Expected a type but found ${JSON.stringify(N.value)} at ${N.location}`);A.push(new i.Spread(new i.TypeReference(N.value).at(N)).at(N))}});return new i.StructType(A).at(p)}parseType(){this.checkCannotHaveAnnotationsHere();let p=this.multiExpect({CurlyOpenSymbolToken:()=>this.parseStruct(),EnumKeywordToken:()=>this.parseEnum(),IdentifierToken:A=>{if(this.nextToken(),!/[A-Z]/u.test(A.value[0]))throw new D(`Expected a type but found ${JSON.stringify(A.value)} at ${A.location}`);return new i.TypeReference(A.value).at(A)},PrimitiveTypeToken:A=>{this.nextToken();const M=v.primitiveToAstClass.get(A.value);if(M)return(new M).at(A);throw new D(`BUG! Should handle primitive ${A.value}`)}});for(;this.token instanceof s.ArraySymbolToken||this.token instanceof s.OptionalSymbolToken;)this.multiExpect({ArraySymbolToken:A=>p=new i.ArrayType(p).at(A),OptionalSymbolToken:A=>p=new i.OptionalType(p).at(A)}),this.nextToken();return p}}},7145:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.parseRestAnnotation=void 0;const i=c(1942);function d(v){var D;const T=/\{(?<name>\w+)\}/gu,S=[];let p;for(;null!==(p=T.exec(v));)(null===(D=p.groups)||void 0===D?void 0:D.name)&&S.push(p.groups.name);return S}y.parseRestAnnotation=function s(v){const D=v.split(" "),T=D[0].toUpperCase();if(!["GET","POST","PUT","DELETE","PATCH"].includes(T))throw new Error(`Unsupported method '${T}'`);let S=D[1];if(!S.startsWith("/"))throw new Error("Invalid path");let p=[];if(S.includes("?")){const[$,...de]=S.split("?");S=$;const K=de.join("?");if(!/^\{\w+\}(?:&\{\w+\})*$/u.test(K))throw new Error("Invalid querystring on path");p=d(K)}const A=d(S),M=D.slice(2).join(" "),C=function h(v){var D;const T=/\[header (?<header>[^()<>@,;:\\"/[\]?={}\s\t]+): \{(?<name>\w+)\}\]/gu,S=new Map;let p;for(;null!==(p=T.exec(v));)(null===(D=p.groups)||void 0===D?void 0:D.header)&&p.groups.name&&S.set(p.groups.header.toLowerCase(),p.groups.name);return S}(M),N=function g(v){var D;const T=/\[body \{(?<name>\w+)\}\]/u.exec(v);return(null===(D=null==T?void 0:T.groups)||void 0===D?void 0:D.name)?T.groups.name:null}(M);return new i.RestAnnotation(T,S,A,p,C,N)}},7629:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.CheckMultipleDeclarationVisitor=void 0;const i=c(1942),h=c(3154);y.CheckMultipleDeclarationVisitor=class g extends h.Visitor{constructor(){super(...arguments),this.nameToType=new Map}visit(s){if(s instanceof i.TypeDefinition){const v=this.nameToType.get(s.name);if(v&&JSON.stringify(v)!==JSON.stringify(s.type))throw new h.SemanticError(`Type '${s.name}' at ${s.location} is defined multiple times (also at ${v.location})`);this.nameToType.set(s.name,s.type)}super.visit(s)}}},6153:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.GiveStructAndEnumNamesVisitor=void 0;const i=c(1942),h=c(3154);y.GiveStructAndEnumNamesVisitor=class g extends h.Visitor{constructor(){super(...arguments),this.path=[],this.names=new Map}visit(s){if(s instanceof i.TypeDefinition)this.path=[s.name],super.visit(s);else if(s instanceof i.ErrorNode)this.path=[`${s.name}Data`],super.visit(s);else if(s instanceof i.FunctionOperation)this.path=[s.name],super.visit(s);else if(s instanceof i.Field)this.path.push(s.name),super.visit(s),this.path.pop();else if(s instanceof i.EnumValue)this.path.push(s.value),super.visit(s),this.path.pop();else if(s instanceof i.StructType||s instanceof i.EnumType){s.name=this.path.map(D=>D[0].toUpperCase()+D.slice(1)).join("");const v=this.names.get(s.name);if(v&&JSON.stringify(v.type)!==JSON.stringify(s))throw new h.SemanticError(`The name of the type '${this.path.join(".")}' at ${s.location} will conflict with '${v.path.join(".")}' at ${v.type.location}`);this.names.set(s.name,{path:[...this.path],type:s}),super.visit(s)}else super.visit(s)}}},9471:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.MatchTypeDefinitionsVisitor=void 0;const i=c(1942),h=c(3154);y.MatchTypeDefinitionsVisitor=class g extends h.Visitor{visit(s){if(s instanceof i.TypeReference){const v=this.root.typeDefinitions.find(D=>D.name===s.name);if(void 0===v)throw new h.SemanticError(`Could not find type '${s.name}' at ${s.location}`);s.type=v.type}super.visit(s)}}},4612:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.CheckDontReturnSecretVisitor=void 0;const i=c(1942),h=c(3154);y.CheckDontReturnSecretVisitor=class g extends h.Visitor{constructor(){super(...arguments),this.isInReturn=!1,this.path=[],this.visited=new Set}visit(s){if(!this.visited.has(s))if(this.visited.add(s),s instanceof i.FunctionOperation)this.isInReturn=!0,this.visited.clear(),this.path.push(`${s.name}(...)`),this.visit(s.returnType),this.path.pop(),this.isInReturn=!1;else if(s instanceof i.TypeReference)this.visit(s.type);else if(s instanceof i.Field){if(this.path.push(s.name),this.isInReturn&&s.secret)throw new h.SemanticError(`Can't return a secret value at ${this.path.join(".")} at ${s.location}`);super.visit(s),this.path.pop()}else super.visit(s)}}},4978:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.ExpandSpreadsVisitor=void 0;const i=c(1942),h=c(3154);y.ExpandSpreadsVisitor=class g extends h.Visitor{constructor(){super(...arguments),this.processed=new Set}expandSpread(s,v){const D=new Map;for(const T of v){let S;if(T instanceof i.Field)S=[T];else{const p=T.typeReference.type;if(!(p instanceof i.StructType))throw new h.SemanticError(`A spread operator can't refer to something that is not a struct, in '${T.typeReference.name}' at ${T.location}.`);this.visit(p),S=p.fields}for(const p of S){const A=D.get(p.name);A?s[A]=p:(D.set(p.name,s.length),s.push(p))}}}visit(s){if(s instanceof i.StructType){if(this.processed.has(s))return;this.processed.add(s)}super.visit(s),s instanceof i.StructType?(this.expandSpread(s.fields,s.fieldsAndSpreads),s.fieldsAndSpreads=[]):s instanceof i.FunctionOperation&&(this.expandSpread(s.args,s.fieldsAndSpreads),s.fieldsAndSpreads=[])}}},9866:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.CheckEmptyStructOrEnumVisitor=void 0;const i=c(1942),h=c(3154);y.CheckEmptyStructOrEnumVisitor=class g extends h.Visitor{visit(s){if(super.visit(s),s instanceof i.EnumType&&0===s.values.length)throw new h.SemanticError(`Enum '${s.name}' at ${s.location} is empty`);if(s instanceof i.StructType&&0===s.fields.length)throw new h.SemanticError(`Struct '${s.name}' at ${s.location} is empty`)}}},4647:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.ValidateRecursiveTypes=void 0;const i=c(1942),h=c(3154);y.ValidateRecursiveTypes=class g extends h.Visitor{visit(s){if(super.visit(s),s instanceof i.TypeDefinition&&this.isRecursiveType(s,s.type)){if(!(s.type instanceof i.StructType||s.type instanceof i.EnumType))throw new h.SemanticError(`Type '${s.name}' at ${s.location} is recursive but is not an struct`);if(this.isInfinitelyRecursiveType(s,s.type))throw new h.SemanticError(`Type '${s.name}' at ${s.location} is infinitely recursive`)}}isRecursiveType(s,v){return v instanceof i.TypeReference?s.name===v.name:v instanceof i.ArrayType||v instanceof i.OptionalType?this.isRecursiveType(s,v.base):v instanceof i.StructType?v.fields.some(D=>this.isRecursiveType(s,D.type)):v instanceof i.EnumType&&v.values.some(D=>D.struct&&this.isRecursiveType(s,D.struct))}isInfinitelyRecursiveType(s,v){return v instanceof i.TypeReference?v.name===s.name:v instanceof i.StructType?v.fields.some(D=>this.isInfinitelyRecursiveType(s,D.type)):v instanceof i.EnumType&&v.values.every(D=>D.struct&&this.isInfinitelyRecursiveType(s,D.struct))}}},2060:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.CollectStructAndEnumTypesVisitor=void 0;const i=c(1942),h=c(3154);y.CollectStructAndEnumTypesVisitor=class g extends h.Visitor{visit(s){super.visit(s),s instanceof i.StructType?this.root.structTypes.push(s):s instanceof i.EnumType&&this.root.enumTypes.push(s)}}},4212:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.ValidateAnnotationsVisitor=void 0;const i=c(1942),h=c(3154);function d(v){return v instanceof i.TypeReference?d(v.type):v}y.ValidateAnnotationsVisitor=class s extends h.Visitor{visit(D){if(D instanceof i.EnumValue){for(const T of D.annotations)if(!(T instanceof i.DescriptionAnnotation))throw new h.SemanticError(`Cannot have @${T.constructor.name.replace("Annotation","").toLowerCase()} at ${T.location}`)}else if(D instanceof i.TypeDefinition){for(const T of D.annotations)if(!(T instanceof i.DescriptionAnnotation))throw new h.SemanticError(`Cannot have @${T.constructor.name.replace("Annotation","").toLowerCase()} at ${T.location}`)}else if(D instanceof i.Field){for(const T of D.annotations)if(!(T instanceof i.DescriptionAnnotation))throw new h.SemanticError(`Cannot have @${T.constructor.name.replace("Annotation","").toLowerCase()} at ${T.location}`)}else if(D instanceof i.FunctionOperation)for(const T of D.annotations)if(!(T instanceof i.DescriptionAnnotation))if(T instanceof i.ThrowsAnnotation){if(!this.root.errors.some(S=>S.name===T.error))throw new h.SemanticError(`Unknown error type '${T.error}' at ${T.location}`)}else if(T instanceof i.RestAnnotation){const S=[...T.pathVariables,...T.queryVariables,...T.headers.values()];if(S.length!==new Set(S).size)throw new h.SemanticError(`Arguments must appear only once for rest annotation at ${T.location}`);for(const p of S){const A=D.args.find(C=>C.name===p);if(!A)throw new h.SemanticError(`Argument '${p}' not found at ${T.location}`);if(T.pathVariables.includes(p)&&A.type instanceof i.OptionalType)throw new h.SemanticError(`The path argument '${p}' can't be nullable at ${T.location}`);if(!((v=d(A.type instanceof i.OptionalType?A.type.base:A.type))instanceof i.BoolPrimitiveType||v instanceof i.IntPrimitiveType||v instanceof i.UIntPrimitiveType||v instanceof i.BigIntPrimitiveType||v instanceof i.FloatPrimitiveType||v instanceof i.StringPrimitiveType||v instanceof i.DatePrimitiveType||v instanceof i.DateTimePrimitiveType||v instanceof i.MoneyPrimitiveType||v instanceof i.CpfPrimitiveType||v instanceof i.CnpjPrimitiveType||v instanceof i.UuidPrimitiveType||v instanceof i.HexPrimitiveType||v instanceof i.Base64PrimitiveType||v instanceof i.EnumType))throw new h.SemanticError(`Argument '${p}' can't have type '${A.type.name}' for rest annotation at ${T.location}`)}for(const p of D.args){if(!S.includes(p.name)&&T.bodyVariable!==p.name)throw new h.SemanticError(`Argument '${p.name}' is missing from the rest annotation at ${T.location}`);const A=[...T.pathVariables,...T.queryVariables];if("GET"===T.method&&A.includes(p.name)&&p.secret)throw new h.SemanticError(`Argument marked as secret cannot be used in the path or query parts of a GET endpoint at ${T.location}`)}if("GET"===T.method&&D.returnType instanceof i.VoidPrimitiveType)throw new h.SemanticError(`A GET rest endpoint must return something at ${T.location}`)}else if(!(T instanceof i.HiddenAnnotation))throw new h.SemanticError(`Cannot have @${T.constructor.name.replace("Annotation","").toLowerCase()} at ${T.location}`);var v}}},6088:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.analyse=void 0;const i=c(1942),h=c(7629),g=c(6153),d=c(9471),s=c(4612),v=c(4978),D=c(9866),T=c(4647),S=c(2060),p=c(4212);y.analyse=function A(M){M.errors.some(C=>"Fatal"===C.name)||M.errors.push(new i.ErrorNode("Fatal",new i.VoidPrimitiveType)),new h.CheckMultipleDeclarationVisitor(M).process(),new g.GiveStructAndEnumNamesVisitor(M).process(),new d.MatchTypeDefinitionsVisitor(M).process(),new s.CheckDontReturnSecretVisitor(M).process(),new v.ExpandSpreadsVisitor(M).process(),new D.CheckEmptyStructOrEnumVisitor(M).process(),new T.ValidateRecursiveTypes(M).process(),new S.CollectStructAndEnumTypesVisitor(M).process(),new p.ValidateAnnotationsVisitor(M).process()}},3154:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Visitor=y.SemanticError=void 0;const i=c(1942);class h extends Error{}y.SemanticError=h,y.Visitor=class g{constructor(s){this.root=s}process(){for(const s of this.root.errors)this.visit(s);for(const s of this.root.typeDefinitions)this.visit(s);for(const s of this.root.operations)this.visit(s)}visit(s){if(s instanceof i.FunctionOperation){for(const v of s.args)this.visit(v);for(const v of s.fieldsAndSpreads)this.visit(v);this.visit(s.returnType)}else if(s instanceof i.Field||s instanceof i.TypeDefinition)this.visit(s.type);else if(s instanceof i.StructType){for(const v of s.fields)this.visit(v);for(const v of s.fieldsAndSpreads)this.visit(v)}else if(s instanceof i.EnumType)for(const v of s.values)this.visit(v);else s instanceof i.EnumValue?s.struct&&this.visit(s.struct):s instanceof i.ArrayType||s instanceof i.OptionalType?this.visit(s.base):s instanceof i.ErrorNode?this.visit(s.dataType):s instanceof i.Spread&&this.visit(s.typeReference)}}},9037:(Be,y)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.PrimitiveTypeToken=y.FalseKeywordToken=y.TrueKeywordToken=y.ErrorKeywordToken=y.FnKeywordToken=y.EnumKeywordToken=y.TypeKeywordToken=y.ImportKeywordToken=y.AnnotationToken=y.SpreadSymbolToken=y.CommaSymbolToken=y.ArraySymbolToken=y.OptionalSymbolToken=y.ColonSymbolToken=y.ParensCloseSymbolToken=y.ParensOpenSymbolToken=y.CurlyCloseSymbolToken=y.CurlyOpenSymbolToken=y.ExclamationMarkSymbolToken=y.EqualSymbolToken=y.StringLiteralToken=y.IdentifierToken=y.Token=y.TokenLocation=void 0;class c{constructor(){this.filename="?",this.line=0,this.column=0}toString(){return`${this.filename}:${this.line}:${this.column}`}}y.TokenLocation=c;class i{constructor(Qe=""){this.value=Qe,this.location=new c,Object.defineProperty(this,"location",{enumerable:!1})}maybeAsIdentifier(){return this}toString(){const Qe=this.constructor.name.replace("Token","");return""===this.value?Qe:`${Qe}(${JSON.stringify(this.value)})`}}y.Token=i;class h extends i{}y.IdentifierToken=h,y.StringLiteralToken=class g extends i{},y.EqualSymbolToken=class d extends i{},y.ExclamationMarkSymbolToken=class s extends i{},y.CurlyOpenSymbolToken=class v extends i{},y.CurlyCloseSymbolToken=class D extends i{},y.ParensOpenSymbolToken=class T extends i{},y.ParensCloseSymbolToken=class S extends i{},y.ColonSymbolToken=class p extends i{},y.OptionalSymbolToken=class A extends i{},y.ArraySymbolToken=class M extends i{},y.CommaSymbolToken=class C extends i{},y.SpreadSymbolToken=class N extends i{},y.AnnotationToken=class $ extends i{},y.ImportKeywordToken=class de extends i{maybeAsIdentifier(){return new h("import")}},y.TypeKeywordToken=class K extends i{maybeAsIdentifier(){return new h("type")}},y.EnumKeywordToken=class ce extends i{maybeAsIdentifier(){return new h("enum")}},y.FnKeywordToken=class Oe extends i{maybeAsIdentifier(){return new h("fn")}},y.ErrorKeywordToken=class me extends i{maybeAsIdentifier(){return new h("error")}},y.TrueKeywordToken=class ye extends i{maybeAsIdentifier(){return new h("true")}},y.FalseKeywordToken=class X extends i{maybeAsIdentifier(){return new h("false")}},y.PrimitiveTypeToken=class ve extends i{maybeAsIdentifier(){return new h(this.value)}}},6569:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.primitiveToAstClass=void 0;const i=c(1942);y.primitiveToAstClass=new Map,y.primitiveToAstClass.set("string",i.StringPrimitiveType),y.primitiveToAstClass.set("int",i.IntPrimitiveType),y.primitiveToAstClass.set("uint",i.UIntPrimitiveType),y.primitiveToAstClass.set("date",i.DatePrimitiveType),y.primitiveToAstClass.set("datetime",i.DateTimePrimitiveType),y.primitiveToAstClass.set("float",i.FloatPrimitiveType),y.primitiveToAstClass.set("bigint",i.BigIntPrimitiveType),y.primitiveToAstClass.set("bool",i.BoolPrimitiveType),y.primitiveToAstClass.set("bytes",i.BytesPrimitiveType),y.primitiveToAstClass.set("money",i.MoneyPrimitiveType),y.primitiveToAstClass.set("cpf",i.CpfPrimitiveType),y.primitiveToAstClass.set("cnpj",i.CnpjPrimitiveType),y.primitiveToAstClass.set("email",i.EmailPrimitiveType),y.primitiveToAstClass.set("html",i.HtmlPrimitiveType),y.primitiveToAstClass.set("url",i.UrlPrimitiveType),y.primitiveToAstClass.set("uuid",i.UuidPrimitiveType),y.primitiveToAstClass.set("hex",i.HexPrimitiveType),y.primitiveToAstClass.set("base64",i.Base64PrimitiveType),y.primitiveToAstClass.set("xml",i.XmlPrimitiveType),y.primitiveToAstClass.set("json",i.JsonPrimitiveType),y.primitiveToAstClass.set("void",i.VoidPrimitiveType)},5041:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.AppComponent=void 0;const i=c(655),h=c(3075),g=c(7179),d=c(1823),s=c(2863),v=c(7402),D=c(7295),T=c(2911),S=c(4327),p=(0,i.__importStar)(c(5e3)),A=(0,i.__importStar)(c(6395)),M=(0,i.__importStar)(c(2313)),C=(0,i.__importStar)(c(5245)),N=(0,i.__importStar)(c(107)),$=(0,i.__importStar)(c(2253)),de=(0,i.__importStar)(c(9808)),K=(0,i.__importStar)(c(3251)),ce=(0,i.__importStar)(c(5585)),Oe=(0,i.__importStar)(c(7423)),me=(0,i.__importStar)(c(7238)),ye=(0,i.__importStar)(c(4264)),X=(0,i.__importStar)(c(7822)),ve=(0,i.__importStar)(c(2181));function Re(fe,Ze){1&fe&&(p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275text(1,"Editor Avan\xe7ado"),p.\u0275\u0275elementContainerEnd())}function Qe(fe,Ze){if(1&fe&&(p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275elementStart(1,"span",20),p.\u0275\u0275text(2),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementContainerEnd()),2&fe){const ge=p.\u0275\u0275nextContext(2).$implicit;p.\u0275\u0275advance(2),p.\u0275\u0275textInterpolate1("\u25b6\xa0",ge.function,"")}}function ot(fe,Ze){if(1&fe){const ge=p.\u0275\u0275getCurrentView();p.\u0275\u0275elementStart(0,"span",17),p.\u0275\u0275template(1,Re,2,0,"ng-container",18),p.\u0275\u0275template(2,Qe,3,1,"ng-container",18),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(3,"button",19),p.\u0275\u0275listener("click",function(){p.\u0275\u0275restoreView(ge);const at=p.\u0275\u0275nextContext().$implicit;return p.\u0275\u0275nextContext(2).closeTab(at)}),p.\u0275\u0275elementStart(4,"mat-icon"),p.\u0275\u0275text(5,"close"),p.\u0275\u0275elementEnd()()}if(2&fe){const ge=p.\u0275\u0275nextContext().$implicit;p.\u0275\u0275property("ngSwitch",ge.type),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngSwitchCase","advanced"),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngSwitchCase","simple")}}function Ve(fe,Ze){1&fe&&(p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275element(1,"app-tab-editor"),p.\u0275\u0275elementContainerEnd())}function ue(fe,Ze){if(1&fe&&(p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275element(1,"app-simple-call",21),p.\u0275\u0275elementContainerEnd()),2&fe){const ge=p.\u0275\u0275nextContext().$implicit;p.\u0275\u0275advance(1),p.\u0275\u0275property("fn",ge.function)}}function Ie(fe,Ze){if(1&fe&&(p.\u0275\u0275elementStart(0,"mat-tab"),p.\u0275\u0275template(1,ot,6,3,"ng-template",16),p.\u0275\u0275elementContainerStart(2,17),p.\u0275\u0275template(3,Ve,2,0,"ng-container",18),p.\u0275\u0275template(4,ue,2,1,"ng-container",18),p.\u0275\u0275elementContainerEnd(),p.\u0275\u0275elementEnd()),2&fe){const ge=Ze.$implicit;p.\u0275\u0275advance(2),p.\u0275\u0275property("ngSwitch",ge.type),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngSwitchCase","advanced"),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngSwitchCase","simple")}}function H(fe,Ze){if(1&fe){const ge=p.\u0275\u0275getCurrentView();p.\u0275\u0275elementStart(0,"button",22),p.\u0275\u0275listener("click",function(){return p.\u0275\u0275restoreView(ge),p.\u0275\u0275nextContext(2).addAdvancedTab()}),p.\u0275\u0275elementStart(1,"mat-icon"),p.\u0275\u0275text(2,"add_circle"),p.\u0275\u0275elementEnd()()}}function pe(fe,Ze){if(1&fe&&(p.\u0275\u0275elementStart(0,"button",23)(1,"mat-icon"),p.\u0275\u0275text(2,"download"),p.\u0275\u0275elementEnd()()),2&fe){p.\u0275\u0275nextContext(2);const ge=p.\u0275\u0275reference(5);p.\u0275\u0275property("matMenuTriggerFor",ge)}}function ee(fe,Ze){if(1&fe){const ge=p.\u0275\u0275getCurrentView();p.\u0275\u0275elementStart(0,"mat-tab-group",11),p.\u0275\u0275listener("selectedIndexChange",function(at){return p.\u0275\u0275restoreView(ge),p.\u0275\u0275nextContext().selected.setValue(at)}),p.\u0275\u0275elementStart(1,"mat-tab",12)(2,"app-tab-home",13),p.\u0275\u0275listener("runFunction",function(at){return p.\u0275\u0275restoreView(ge),p.\u0275\u0275nextContext().addSimpleTab(at)}),p.\u0275\u0275elementEnd()(),p.\u0275\u0275template(3,Ie,5,3,"mat-tab",14),p.\u0275\u0275elementStart(4,"mat-tab",15),p.\u0275\u0275template(5,H,3,0,"ng-template",16),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(6,"mat-tab",15),p.\u0275\u0275template(7,pe,3,1,"ng-template",16),p.\u0275\u0275elementEnd()()}if(2&fe){const ge=p.\u0275\u0275nextContext();p.\u0275\u0275property("selectedIndex",ge.selected.value),p.\u0275\u0275advance(3),p.\u0275\u0275property("ngForOf",ge.tabs)}}class xe{constructor(Ze,ge,He){this.sdkgen=Ze,this.domSanitizer=ge,this.matIconRegistry=He,this.selected=new h.FormControl(0),this.tabs=[{id:0,type:"advanced"}],this.tabIndex=1;for(const at of["typescript","dot-net","kotlin","swift","dart"])this.matIconRegistry.addSvgIcon(at,this.domSanitizer.bypassSecurityTrustResourceUrl(`assets/${at}.svg`))}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(Ze=>{this.state=null!=Ze?Ze:void 0})}ngOnDestroy(){var Ze;null===(Ze=this.state$)||void 0===Ze||Ze.unsubscribe()}addSimpleTab(Ze){this.tabs.push({id:this.tabIndex++,function:Ze,type:"simple"}),this.selected.setValue(this.tabs.length)}addAdvancedTab(){this.tabs.push({id:this.tabIndex++,type:"advanced"}),this.selected.setValue(this.tabs.length)}closeTab(Ze){this.tabs.splice(this.tabs.indexOf(Ze),1),this.selected.setValue(0)}downloadTarget(Ze){if(!this.state)return;let ge,He;switch(Ze){case"typescript_nodeserver":ge=(0,T.generateNodeServerSource)(this.state.astRoot),He="node-server.ts";break;case"typescript_nodeclient":ge=(0,T.generateNodeClientSource)(this.state.astRoot),He="node-client.ts";break;case"typescript_web":ge=(0,T.generateBrowserClientSource)(this.state.astRoot),He="web-client.ts";break;case"typescript_interfaces":ge=(0,T.generateTypescriptInterfaces)(this.state.astRoot),He="interfaces.ts";break;case"flutter":ge=(0,d.generateDartClientSource)(this.state.astRoot),He="flutter-client.dart";break;case"csharp_server":ge=(0,g.generateCSharpServerSource)(this.state.astRoot),He="csharp-server.cs";break;case"fsharp_server":ge=(0,s.generateFSharpServerSource)(this.state.astRoot),He="fsharp-server.fs";break;case"kotlin_android":ge=(0,v.generateAndroidClientSource)(this.state.astRoot,!0),He="android-client.kt";break;case"kotlin_android_without_callbacks":ge=(0,v.generateAndroidClientSource)(this.state.astRoot,!1),He="android-client-no-callbacks.kt";break;case"swift_ios":ge=(0,D.generateSwiftClientSource)(this.state.astRoot,!1),He="ios-client.swift";break;case"rxswift_ios":ge=(0,D.generateSwiftClientSource)(this.state.astRoot,!0),He="ios-client-rx.swift"}(0,S.saveAs)(new Blob([ge],{type:"application/octet-stream"}),He)}}y.AppComponent=xe,xe.\u0275fac=function(Ze){return new(Ze||xe)(p.\u0275\u0275directiveInject(A.SdkgenService),p.\u0275\u0275directiveInject(M.DomSanitizer),p.\u0275\u0275directiveInject(C.MatIconRegistry))},xe.\u0275cmp=p.\u0275\u0275defineComponent({type:xe,selectors:[["app-root"]],decls:46,vars:3,consts:[[2,"width","0","height","0","opacity","0","display","block"],["id","main-tabs","animationDuration","150ms",3,"selectedIndex","selectedIndexChange",4,"ngIf"],["downloadMenu","matMenu"],["id","download-menu-size-flow"],["mat-menu-item","","disabled",""],["mat-menu-item","",3,"click"],["svgIcon","typescript"],["svgIcon","dart"],["svgIcon","kotlin"],["svgIcon","swift"],["svgIcon","dot-net"],["id","main-tabs","animationDuration","150ms",3,"selectedIndex","selectedIndexChange"],["label","Documenta\xe7\xe3o"],[3,"runFunction"],[4,"ngFor","ngForOf"],["disabled",""],["mat-tab-label",""],[3,"ngSwitch"],[4,"ngSwitchCase"],["mat-icon-button","","matTooltip","Fechar aba",3,"click"],[1,"mono","tt-none"],[3,"fn"],["mat-icon-button","","matTooltip","Nova aba de editor avan\xe7ado",3,"click"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(Ze,ge){1&Ze&&(p.\u0275\u0275element(0,"ngx-monaco-editor",0)(1,"app-tab-nav"),p.\u0275\u0275template(2,ee,8,2,"mat-tab-group",1),p.\u0275\u0275pipe(3,"async"),p.\u0275\u0275elementStart(4,"mat-menu",null,2),p.\u0275\u0275element(6,"div",3),p.\u0275\u0275elementStart(7,"button",4),p.\u0275\u0275text(8,"Cliente"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(9,"button",5),p.\u0275\u0275listener("click",function(){return ge.downloadTarget("typescript_nodeclient")}),p.\u0275\u0275element(10,"mat-icon",6),p.\u0275\u0275text(11,"Node.js"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(12,"button",5),p.\u0275\u0275listener("click",function(){return ge.downloadTarget("typescript_web")}),p.\u0275\u0275element(13,"mat-icon",6),p.\u0275\u0275text(14,"Web"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(15,"button",5),p.\u0275\u0275listener("click",function(){return ge.downloadTarget("flutter")}),p.\u0275\u0275element(16,"mat-icon",7),p.\u0275\u0275text(17,"Flutter"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(18,"button",5),p.\u0275\u0275listener("click",function(){return ge.downloadTarget("kotlin_android")}),p.\u0275\u0275element(19,"mat-icon",8),p.\u0275\u0275text(20,"Android"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(21,"button",5),p.\u0275\u0275listener("click",function(){return ge.downloadTarget("kotlin_android_without_callbacks")}),p.\u0275\u0275element(22,"mat-icon",8),p.\u0275\u0275text(23,"Android (sem callbacks)"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(24,"button",5),p.\u0275\u0275listener("click",function(){return ge.downloadTarget("swift_ios")}),p.\u0275\u0275element(25,"mat-icon",9),p.\u0275\u0275text(26,"iOS"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(27,"button",5),p.\u0275\u0275listener("click",function(){return ge.downloadTarget("rxswift_ios")}),p.\u0275\u0275element(28,"mat-icon",9),p.\u0275\u0275text(29,"iOS (Rx)"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(30,"button",4),p.\u0275\u0275text(31,"Servidor"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(32,"button",5),p.\u0275\u0275listener("click",function(){return ge.downloadTarget("typescript_nodeserver")}),p.\u0275\u0275element(33,"mat-icon",6),p.\u0275\u0275text(34,"Node.js"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(35,"button",5),p.\u0275\u0275listener("click",function(){return ge.downloadTarget("csharp_server")}),p.\u0275\u0275element(36,"mat-icon",10),p.\u0275\u0275text(37,"C#"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(38,"button",5),p.\u0275\u0275listener("click",function(){return ge.downloadTarget("fsharp_server")}),p.\u0275\u0275element(39,"mat-icon",10),p.\u0275\u0275text(40,"F#"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(41,"button",4),p.\u0275\u0275text(42,"Outros"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(43,"button",5),p.\u0275\u0275listener("click",function(){return ge.downloadTarget("typescript_interfaces")}),p.\u0275\u0275element(44,"mat-icon",6),p.\u0275\u0275text(45,"Interfaces"),p.\u0275\u0275elementEnd()()),2&Ze&&(p.\u0275\u0275advance(2),p.\u0275\u0275property("ngIf",p.\u0275\u0275pipeBind1(3,1,ge.sdkgen.state$)))},directives:[N.MonacoEditorComponent,$.TabNavComponent,de.NgIf,K.MatTabGroup,K.MatTab,ce.TabHomeComponent,de.NgForOf,K.MatTabLabel,de.NgSwitch,de.NgSwitchCase,Oe.MatButton,me.MatTooltip,C.MatIcon,ye.TabEditorComponent,X.SimpleCallComponent,ve.MatMenuTrigger,ve.MatMenu,ve.MatMenuItem],pipes:[de.AsyncPipe],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%} #main-tabs>.mat-tab-header .mat-tab-label{text-transform:uppercase;-webkit-user-select:none;user-select:none} #main-tabs>.mat-tab-header .mat-tab-label.mat-ripple:not(#mat-tab-label-0-0){padding-right:0} #main-tabs>.mat-tab-header .mat-tab-label.mat-ripple:not(#mat-tab-label-0-0) button{border-radius:0;display:inline-block;margin-left:10px} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:nth-last-child(-n+2){min-width:0;padding:0 12px;color:unset;opacity:unset} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:nth-last-child(-n+2) button{margin-left:0!important} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:last-child{margin-left:auto} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:last-child button{padding:0 5px!important;display:block;box-sizing:content-box;margin-right:5px!important} #download-menu-size-flow{width:185px;display:block;max-width:90vw}"]})},6747:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.AppModule=void 0;const i=c(655),h=c(520),g=c(3075),d=c(7423),s=c(9417),v=c(508),D=c(8966),T=c(5245),S=c(2181),p=c(2075),A=c(3251),M=c(7238),C=c(2313),N=c(6360),$=c(107),de=c(1430),K=c(5109),ce=c(2290),Oe=c(5041),me=(0,i.__importStar)(c(5e3));(0,i.__importStar)(c(2290));class X{}y.AppModule=X,X.\u0275fac=function(Re){return new(Re||X)},X.\u0275mod=me.\u0275\u0275defineNgModule({type:X,bootstrap:[Oe.AppComponent]}),X.\u0275inj=me.\u0275\u0275defineInjector({providers:[{provide:$.MONACO_PATH,useValue:"assets/vs"}],imports:[[C.BrowserModule,g.FormsModule,g.ReactiveFormsModule,$.MonacoEditorModule,N.BrowserAnimationsModule,K.NgxJsonViewerModule,ce.ToastrModule.forRoot(),de.AngularSplitModule,h.HttpClientModule,d.MatButtonModule,s.MatChipsModule,D.MatDialogModule,T.MatIconModule,S.MatMenuModule,v.MatRippleModule,p.MatTableModule,A.MatTabsModule,M.MatTooltipModule]]})},8495:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.ConsoleComponent=void 0;const i=c(655),h=c(9972),g=(0,i.__importStar)(c(5e3)),d=(0,i.__importStar)(c(7423)),s=(0,i.__importStar)(c(5245)),v=(0,i.__importStar)(c(9808)),D=(0,i.__importStar)(c(5109));function T(N,$){1&N&&(g.\u0275\u0275elementContainerStart(0),g.\u0275\u0275text(1,"info_outline"),g.\u0275\u0275elementContainerEnd())}function S(N,$){1&N&&(g.\u0275\u0275elementContainerStart(0),g.\u0275\u0275text(1,"error"),g.\u0275\u0275elementContainerEnd())}function p(N,$){1&N&&(g.\u0275\u0275elementContainerStart(0),g.\u0275\u0275text(1,"public"),g.\u0275\u0275elementContainerEnd())}function A(N,$){if(1&N&&g.\u0275\u0275element(0,"ngx-json-viewer",6),2&N){const de=g.\u0275\u0275nextContext().$implicit;g.\u0275\u0275property("json",de.details)("expanded",!1)}}function M(N,$){if(1&N&&(g.\u0275\u0275elementStart(0,"li",2)(1,"mat-icon",3),g.\u0275\u0275template(2,T,2,0,"ng-container",4),g.\u0275\u0275template(3,S,2,0,"ng-container",4),g.\u0275\u0275template(4,p,2,0,"ng-container",4),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(5,"span"),g.\u0275\u0275text(6),g.\u0275\u0275elementEnd(),g.\u0275\u0275template(7,A,1,2,"ngx-json-viewer",5),g.\u0275\u0275elementEnd()),2&N){const de=$.$implicit,K=g.\u0275\u0275nextContext();g.\u0275\u0275property("ngClass",de.type),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngSwitch",de.type)("ngClass",de.type),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngSwitchCase",K.itemTypes.INFO),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngSwitchCase",K.itemTypes.ERROR),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngSwitchCase",K.itemTypes.NETWORK),g.\u0275\u0275advance(2),g.\u0275\u0275textInterpolate(de.message),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngIf",de.details)}}class C{constructor(){this.itemTypes=h.ConsoleItemType,this.items=[]}}y.ConsoleComponent=C,C.\u0275fac=function($){return new($||C)},C.\u0275cmp=g.\u0275\u0275defineComponent({type:C,selectors:[["app-console"]],inputs:{items:"items"},decls:9,vars:1,consts:[["mat-icon-button","",3,"click"],["class","console-item",3,"ngClass",4,"ngFor","ngForOf"],[1,"console-item",3,"ngClass"],[3,"ngSwitch","ngClass"],[4,"ngSwitchCase"],[3,"json","expanded",4,"ngIf"],[3,"json","expanded"]],template:function($,de){1&$&&(g.\u0275\u0275elementStart(0,"header")(1,"strong"),g.\u0275\u0275text(2,"CONSOLE"),g.\u0275\u0275elementEnd(),g.\u0275\u0275element(3,"s"),g.\u0275\u0275elementStart(4,"button",0),g.\u0275\u0275listener("click",function(){return de.items.splice(0,de.items.length)}),g.\u0275\u0275elementStart(5,"mat-icon"),g.\u0275\u0275text(6,"delete"),g.\u0275\u0275elementEnd()()(),g.\u0275\u0275elementStart(7,"ul"),g.\u0275\u0275template(8,M,8,8,"li",1),g.\u0275\u0275elementEnd()),2&$&&(g.\u0275\u0275advance(8),g.\u0275\u0275property("ngForOf",de.items))},directives:[d.MatButton,s.MatIcon,v.NgForOf,v.NgClass,v.NgSwitch,v.NgSwitchCase,v.NgIf,D.NgxJsonViewerComponent],styles:["[_nghost-%COMP%]{display:block;height:100%;text-align:left;overflow-y:scroll;box-sizing:border-box}header[_ngcontent-%COMP%]{display:flex;flex-direction:row;position:sticky;top:0;background:#1E1E1E;border-bottom:1px solid #444444;padding:5px 0;z-index:2}header[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin:0 10px;text-transform:uppercase;font-weight:200;color:#e7e7e7;border-bottom:1px solid #e7e7e7;line-height:27px;font-size:11pt;align-self:center}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 10px}ul[_ngcontent-%COMP%]{padding:0;margin:0;box-sizing:border-box}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{list-style:none;display:block;width:100%;height:auto;padding:5px 10px;font-size:1rem;border-bottom:1px solid #444444;background-color:#111;word-break:break-all;box-sizing:border-box;word-wrap:break-word;font-family:monospace}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline;vertical-align:text-bottom}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:1rem;width:1rem;font-size:1rem;vertical-align:sub;margin-right:7.5px;-webkit-user-select:none;user-select:none}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.info[_ngcontent-%COMP%]{color:#b9b9bb}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.error[_ngcontent-%COMP%]{color:#ff3b6b}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.network_recv[_ngcontent-%COMP%], ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.network_send[_ngcontent-%COMP%]{color:#939395}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#0000004d}ul[_ngcontent-%COMP%] > li.error[_ngcontent-%COMP%]{color:#e69fa3;background-color:#4b2f36}"]})},9972:(Be,y)=>{"use strict";var i;Object.defineProperty(y,"__esModule",{value:!0}),y.ConsoleItemType=void 0,(i=y.ConsoleItemType||(y.ConsoleItemType={})).INFO="info",i.ERROR="error",i.NETWORK="network"},4814:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.DialogAboutComponent=void 0;const i=c(655),h=c(4147),g=(0,i.__importStar)(c(5e3)),d=(0,i.__importStar)(c(8966)),s=(0,i.__importStar)(c(9417)),v=(0,i.__importStar)(c(7423)),D=(0,i.__importStar)(c(5245)),T=(0,i.__importStar)(c(9808));function S(A,M){if(1&A&&(g.\u0275\u0275elementStart(0,"a",6)(1,"mat-chip",2)(2,"span",7),g.\u0275\u0275text(3),g.\u0275\u0275elementEnd(),g.\u0275\u0275element(4,"s"),g.\u0275\u0275elementStart(5,"span",8),g.\u0275\u0275text(6),g.\u0275\u0275elementEnd()()()),2&A){const C=M.$implicit;g.\u0275\u0275property("href","https://www.npmjs.com/package/"+C[0]+"/v/"+C[1],g.\u0275\u0275sanitizeUrl),g.\u0275\u0275advance(1),g.\u0275\u0275property("disableRipple",!0),g.\u0275\u0275advance(2),g.\u0275\u0275textInterpolate(C[0]),g.\u0275\u0275advance(3),g.\u0275\u0275textInterpolate(C[1])}}class p{constructor(){this.version=h.version,this.dependencies=Object.entries(h.devDependencies).filter(([M])=>M.startsWith("@sdkgen"))}}y.DialogAboutComponent=p,p.\u0275fac=function(M){return new(M||p)},p.\u0275cmp=g.\u0275\u0275defineComponent({type:p,selectors:[["app-dialog-about"]],decls:17,vars:5,consts:[["mat-dialog-title",""],[3,"selectable"],[3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1"],[1,"mat-chip-list-stacked",3,"selectable"],["target","_blank","rel","external noopener noreferrer",3,"href",4,"ngFor","ngForOf"],["target","_blank","rel","external noopener noreferrer",3,"href"],[1,"dependency-name"],[1,"dependency-version"]],template:function(M,C){1&M&&(g.\u0275\u0275elementStart(0,"header")(1,"h1",0),g.\u0275\u0275text(2,"sdkgen Playground"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(3,"mat-chip-list",1)(4,"mat-chip",2),g.\u0275\u0275text(5),g.\u0275\u0275elementEnd()(),g.\u0275\u0275element(6,"s"),g.\u0275\u0275elementStart(7,"button",3)(8,"mat-icon"),g.\u0275\u0275text(9,"close"),g.\u0275\u0275elementEnd()()(),g.\u0275\u0275elementStart(10,"p"),g.\u0275\u0275text(11,"Ferramenta para explorar e invocar APIs feitas com sdkgen."),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(12,"section")(13,"h4"),g.\u0275\u0275text(14,"Depend\xeancias"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(15,"mat-chip-list",4),g.\u0275\u0275template(16,S,7,4,"a",5),g.\u0275\u0275elementEnd()()),2&M&&(g.\u0275\u0275advance(3),g.\u0275\u0275property("selectable",!1),g.\u0275\u0275advance(1),g.\u0275\u0275property("disableRipple",!0),g.\u0275\u0275advance(1),g.\u0275\u0275textInterpolate(C.version),g.\u0275\u0275advance(10),g.\u0275\u0275property("selectable",!1),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngForOf",C.dependencies))},directives:[d.MatDialogTitle,s.MatChipList,s.MatChip,v.MatButton,d.MatDialogClose,D.MatIcon,T.NgForOf],styles:["header[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid rgba(255,255,255,.2);padding-bottom:5px}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], header[_ngcontent-%COMP%] button[_ngcontent-%COMP%], header[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{display:inline;align-self:center}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;margin:0 10px 0 0}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}section[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:500}section[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%}section[_ngcontent-%COMP%] .mat-chip[_ngcontent-%COMP%]{padding:0;overflow:hidden;cursor:pointer}section[_ngcontent-%COMP%] .dependency-name[_ngcontent-%COMP%]{padding:7px 12px}section[_ngcontent-%COMP%] .dependency-version[_ngcontent-%COMP%]{float:right;background:rgba(0,0,0,.15);padding:7px 12px;height:100%}"]})},4211:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.FilterPipe=void 0;const h=(0,c(655).__importStar)(c(5e3));class g{transform(s,v){if(!s)return[];if(!v)return s;const D=v.toLocaleLowerCase();return s.filter(T=>JSON.stringify(T).toLocaleLowerCase().includes(D))}}y.FilterPipe=g,g.\u0275fac=function(s){return new(s||g)},g.\u0275pipe=h.\u0275\u0275definePipe({name:"appFilter",type:g,pure:!0})},7120:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.ResponsiveService=void 0;const i=c(655),h=(0,i.__importStar)(c(5e3)),g=(0,i.__importStar)(c(5113));class d{constructor(v){this.observer=v}isBelowSm(){return this.observer.observe(["(max-width: 575px)"])}isBelowMd(){return this.observer.observe(["(max-width: 767px)"])}isBelowLg(){return this.observer.observe(["(max-width: 991px)"])}isBelowXl(){return this.observer.observe(["(max-width: 1199px)"])}}y.ResponsiveService=d,d.\u0275fac=function(v){return new(v||d)(h.\u0275\u0275inject(g.BreakpointObserver))},d.\u0275prov=h.\u0275\u0275defineInjectable({token:d,factory:d.\u0275fac,providedIn:"root"})},9435:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.getTypeDoc=y.getTypeLabels=y.getConstructorName=y.primitiveTypesExamples=y.primitiveTypes=void 0;const i=c(6676),h=c(6395);function g(v){switch(v.constructor){case i.StringPrimitiveType:return"StringPrimitiveType";case i.IntPrimitiveType:return"IntPrimitiveType";case i.UIntPrimitiveType:return"UIntPrimitiveType";case i.FloatPrimitiveType:return"FloatPrimitiveType";case i.BigIntPrimitiveType:return"BigIntPrimitiveType";case i.MoneyPrimitiveType:return"MoneyPrimitiveType";case i.DatePrimitiveType:return"DatePrimitiveType";case i.DateTimePrimitiveType:return"DateTimePrimitiveType";case i.BoolPrimitiveType:return"BoolPrimitiveType";case i.VoidPrimitiveType:return"VoidPrimitiveType";case i.CpfPrimitiveType:return"CpfPrimitiveType";case i.CnpjPrimitiveType:return"CnpjPrimitiveType";case i.EmailPrimitiveType:return"EmailPrimitiveType";case i.UrlPrimitiveType:return"UrlPrimitiveType";case i.UuidPrimitiveType:return"UuidPrimitiveType";case i.HexPrimitiveType:return"HexPrimitiveType";case i.HtmlPrimitiveType:return"HtmlPrimitiveType";case i.BytesPrimitiveType:return"BytesPrimitiveType";case i.Base64PrimitiveType:return"Base64PrimitiveType";case i.XmlPrimitiveType:return"XmlPrimitiveType";case i.JsonPrimitiveType:return"JsonPrimitiveType";case i.OptionalType:return"OptionalType";case i.EnumType:return"EnumType";case i.ArrayType:return"ArrayType";case i.StructType:return"StructType";default:return v.constructor.name}}y.primitiveTypes={StringPrimitiveType:"Um texto livre, potencialmente de m\xfaltiplas linhas, codificado como UTF-8.",IntPrimitiveType:"Um n\xfamero inteiro de 32 bits, no intervalo de -2147483648 at\xe9 2147483647.",UIntPrimitiveType:"Um n\xfamero inteiro n\xe3o negativo, no intervalo de 0 at\xe9 4294967295.",FloatPrimitiveType:"Um n\xfamero de ponto flutuante de 64 bits, similar ao double do C.",BigIntPrimitiveType:"Um n\xfamero inteiro sem limite de precis\xe3o. Na maioria das plataformas este tipo \xe9 mais custoso.",MoneyPrimitiveType:"Um n\xfamero inteiro com precis\xe3o estendida, mas perform\xe1tico. Est\xe1 no intervalo de -9007199254740991 a 9007199254740991. \xdatil para opera\xe7\xf5es financeiras",DatePrimitiveType:"Representa conceitualmente uma data do calend\xe1rio Gregoriano. Essa mesma data pode representar diferentes momento no tempo a depender da timezone. Para especificar um ponto no tempo utilize datetime.",DateTimePrimitiveType:"Representa um instante no tempo com precis\xe3o de milissegundos. Este instante ser\xe1 sempre traduzido para o fuso hor\xe1rio local do recebedor da mensagem.",BoolPrimitiveType:"Ou true ou false.",VoidPrimitiveType:"Tipo vazio, sem conte\xfado.",CpfPrimitiveType:"Similar a uma string, mas contendo um CPF v\xe1lido.",CnpjPrimitiveType:"Similar a uma string, mas contendo um CNPJ v\xe1lido.",EmailPrimitiveType:"Similar a uma string, mas contendo um e-mail v\xe1lido.",UrlPrimitiveType:"Similar a uma string, mas contendo uma URL v\xe1lida.",UuidPrimitiveType:"Similar a uma string, mas contendo um UUID v\xe1lido.",HexPrimitiveType:"Similar a uma string, mas contendo uma quantidade par de caracteres hexadecimais, \xfatil para representar bytes.",HtmlPrimitiveType:"Similar a uma string, mas contendo um HTML v\xe1lido.",BytesPrimitiveType:"Uma sequ\xeancia arbitr\xe1ria de bytes de qualquer comprimento. Pode ser utilizado para tr\xe1fego de dados bin\xe1rios.",Base64PrimitiveType:"Similar a uma string, mas necessariamente com uma codifica\xe7\xe3o Base 64 v\xe1lida.",XmlPrimitiveType:"Similar a uma string, mas contendo um XML v\xe1lido.",JsonPrimitiveType:"Um valor JSON qualquer, incluindo objetos, arrays, strings, n\xfameros e boleanos, em qualquer profundidade. Note que embora null possa aparecer dentro de um objeto ou array, o valor deste campo n\xe3o pode ser null diretamente. Para isso utilize json?."},y.primitiveTypesExamples={StringPrimitiveType:["","lorem ipsum","strings podem conter caracteres especiais \u{1f609}"],IntPrimitiveType:["0","6725082065","-3096576054"],UIntPrimitiveType:["0","1","340953460"],FloatPrimitiveType:["0.0","1.050654","-3454.6396854"],BigIntPrimitiveType:["87175082235506108544888893172310","0","1"],MoneyPrimitiveType:["100","-450954636342","121611633162977184630315"],DatePrimitiveType:["2020-01-01","1950-04-15","2194-12-31"],DateTimePrimitiveType:["2020-01-01T00:00:00.000","1950-04-15T02:11:58.892","2194-12-31T23:31:58.491"],BoolPrimitiveType:["true","false"],CpfPrimitiveType:["000.000.001-91","00000000191","000.000.002-72"],CnpjPrimitiveType:["00.000.000/0001-91","00000000000191","00.000.000/0002-72"],EmailPrimitiveType:["sample@example.com","root@localhost","test+label@10.0.0.5"],UrlPrimitiveType:["https://sdkgen.github.io/","https://goo.gl/maps/gUaKGTqR8BHXfX7b7","http://jobs.cubos.io"],UuidPrimitiveType:["c12c3329-c558-4c76-9a16-0efeb2b01605","00000000-0000-0000-0000-000000000000","1d5f2ef6-0def-11ec-82a8-0242ac130003"],HexPrimitiveType:["00","6375626f73","73646b67656e20706c617967726f756e64"],HtmlPrimitiveType:["<html><body><p>sdkgen</p></body></html>","<html><h1>Sdkgen","<script> alert('Hello world!'); <\/script>"],BytesPrimitiveType:[],Base64PrimitiveType:["Y3Vib3M=","c2RrZ2Vu","c2RrZ2VuIHBsYXlncm91bmQ="],XmlPrimitiveType:["<items><item>something</item></items>","<list />",'<?xml version="1.0" encoding="UTF-8"?><resposta><![CDATA[ol\xe1 <xml>]]></resposta>'],JsonPrimitiveType:["{}",'{"sdkgen":"playground"}','{"type":"json","items":[1,2,3],"some":null}']},y.getConstructorName=g,y.getTypeLabels=function d(v){const D=[];switch(v.constructor){case i.StringPrimitiveType:case i.IntPrimitiveType:case i.UIntPrimitiveType:case i.FloatPrimitiveType:case i.BigIntPrimitiveType:case i.MoneyPrimitiveType:case i.DatePrimitiveType:case i.DateTimePrimitiveType:case i.BoolPrimitiveType:case i.VoidPrimitiveType:case i.CpfPrimitiveType:case i.CnpjPrimitiveType:case i.EmailPrimitiveType:case i.UrlPrimitiveType:case i.UuidPrimitiveType:case i.HexPrimitiveType:case i.HtmlPrimitiveType:case i.BytesPrimitiveType:case i.Base64PrimitiveType:case i.XmlPrimitiveType:case i.JsonPrimitiveType:D.push("Primitivo");break;case i.OptionalType:D.push("Opcional"),D.push(...d(v.base));break;case i.TypeReference:D.push(...d(v.type));break;case i.ArrayType:D.push("Array"),D.push(...d(v.base));break;case i.EnumType:D.push("Enum");break;default:console.error("No labels for",g(v))}return D},y.getTypeDoc=function s(v){var D,T,S;switch(v.constructor){case i.StringPrimitiveType:case i.IntPrimitiveType:case i.UIntPrimitiveType:case i.FloatPrimitiveType:case i.BigIntPrimitiveType:case i.MoneyPrimitiveType:case i.DatePrimitiveType:case i.DateTimePrimitiveType:case i.BoolPrimitiveType:case i.VoidPrimitiveType:case i.CpfPrimitiveType:case i.CnpjPrimitiveType:case i.EmailPrimitiveType:case i.UrlPrimitiveType:case i.UuidPrimitiveType:case i.HexPrimitiveType:case i.HtmlPrimitiveType:case i.BytesPrimitiveType:case i.Base64PrimitiveType:case i.XmlPrimitiveType:case i.JsonPrimitiveType:return{longDescription:y.primitiveTypes[g(v)],shortDescription:y.primitiveTypes[g(v)],examples:y.primitiveTypesExamples[g(v)]};case i.OptionalType:{const C=s(v.base);return Object.assign(Object.assign({},C),{longDescription:C.longDescription,shortDescription:`(opcional) ${C.shortDescription}`,examples:["null",...null!==(D=C.examples)&&void 0!==D?D:[]]})}case i.TypeReference:return s(v.type);case i.ArrayType:{const C=s(v.base);return Object.assign(Object.assign({},C),{longDescription:C.longDescription,shortDescription:`(array) ${C.shortDescription}`,examples:["[]",...null!==(S=null===(T=C.examples)||void 0===T?void 0:T.map(N=>`[${N}]`))&&void 0!==S?S:[]]})}case i.EnumType:const p=v,A=p.values.slice(0,3),M=A.map(C=>C.struct?`${C.value}: ${JSON.stringify((new h.SdkgenService).buildJsonObject(C.struct.fields),null,2)}`:C.value);return{longDescription:"enum representa um conjunto limitado de possibilidades de valores, similar as enumera\xe7\xf5es em outras linguagens.",shortDescription:`(enum) ${A.map(C=>`${C.value}${C.struct?"(\u2026)":""}`).join(", ")}${A.length>3?"\u2026":""}`,examples:M,isEnum:!0,isStruct:!0,structFields:p.values.map(C=>{var N;return{name:C.value,type:C.struct,description:null===(N=C.annotations.find($=>$ instanceof i.DescriptionAnnotation))||void 0===N?void 0:N.text,secret:!1}})};case i.StructType:return{longDescription:"",shortDescription:`(objeto complexo) ${v.fields.slice(0,3).map(C=>C.name).join(", ")}\u2026`,isStruct:!0,structFields:v.fields.map(C=>{var N;return{name:C.name,description:null===(N=C.annotations.find($=>$ instanceof i.DescriptionAnnotation))||void 0===N?void 0:N.text,type:C.type,secret:C.secret}}),examples:[JSON.stringify((new h.SdkgenService).buildJsonObject(v.fields),null,2)]};default:return{longDescription:"BUG: Unknown Type",shortDescription:"BUG: Unknown Type",examples:[]}}}},6395:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(8926).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SdkgenService=void 0;const tslib_1=__webpack_require__(655),browser_runtime_1=__webpack_require__(4539),parser_1=__webpack_require__(6676),rxjs_1=__webpack_require__(9802),i0=(0,tslib_1.__importStar)(__webpack_require__(5e3));class SdkgenService{constructor(){this.state$=new rxjs_1.BehaviorSubject(null)}buildJsonObject(Be,y=new Set){const c=i=>{switch(i.constructor){case parser_1.StringPrimitiveType:return"";case parser_1.IntPrimitiveType:case parser_1.UIntPrimitiveType:case parser_1.FloatPrimitiveType:case parser_1.BigIntPrimitiveType:case parser_1.MoneyPrimitiveType:return 0;case parser_1.DatePrimitiveType:return(new Date).toJSON().substring(0,10);case parser_1.DateTimePrimitiveType:return(new Date).toJSON().substring(0,23);case parser_1.BoolPrimitiveType:return Math.random()>.5;case parser_1.VoidPrimitiveType:return null;case parser_1.CpfPrimitiveType:return"000.000.001-91";case parser_1.CnpjPrimitiveType:return"00.000.001/0001-91";case parser_1.EmailPrimitiveType:return"joao@acme.com";case parser_1.UrlPrimitiveType:return"https://www.google.com/";case parser_1.UuidPrimitiveType:return"00000000-0000-0000-0000-000000000000";case parser_1.HexPrimitiveType:return new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("");case parser_1.HtmlPrimitiveType:return"<h1>Hello world!</h1>";case parser_1.BytesPrimitiveType:case parser_1.Base64PrimitiveType:return"0a=";case parser_1.XmlPrimitiveType:return"<xml></xml>";case parser_1.JsonPrimitiveType:return{};case parser_1.StructType:return y.has(i.name)?{}:this.buildJsonObject(i.fields,new Set([...y,i.name]));case parser_1.OptionalType:return null;case parser_1.TypeReference:return c(i.type);case parser_1.ArrayType:return[c(i.base),c(i.base),c(i.base)];case parser_1.EnumType:return i.values[0].value;default:return null}};return Be.reduce((i,h)=>(i[h.name]=c(h.type),i),{})}getTypeScriptCode(Be,y){return`await client.${Be}(${JSON.stringify(y,null,2)});\n`}buildKotlinString(Be,y=0){const c=i=>{switch(i.constructor){case parser_1.StringPrimitiveType:return'""';case parser_1.IntPrimitiveType:case parser_1.UIntPrimitiveType:case parser_1.FloatPrimitiveType:case parser_1.BigIntPrimitiveType:case parser_1.MoneyPrimitiveType:return 0;case parser_1.DatePrimitiveType:case parser_1.DateTimePrimitiveType:return"Calendar.getInstance()";case parser_1.BoolPrimitiveType:return Math.random()>.5?"true":"false";case parser_1.VoidPrimitiveType:return"null";case parser_1.CpfPrimitiveType:return'"000.000.001-91"';case parser_1.CnpjPrimitiveType:return'"00.000.001/0001-91"';case parser_1.EmailPrimitiveType:return'"joao@acme.com"';case parser_1.UrlPrimitiveType:return'"https://www.google.com/"';case parser_1.UuidPrimitiveType:return'"00000000-0000-0000-0000-000000000000"';case parser_1.HexPrimitiveType:return`"${new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("")}"`;case parser_1.HtmlPrimitiveType:return'"<h1>Hello world!</h1>"';case parser_1.BytesPrimitiveType:case parser_1.Base64PrimitiveType:return'"0a="';case parser_1.XmlPrimitiveType:return'"<xml></xml>"';case parser_1.JsonPrimitiveType:return"json {}";case parser_1.StructType:return`${i.name}(\n${this.buildKotlinString(i.fields,y+1)}\n${" ".repeat(y+1)})`;case parser_1.OptionalType:return"null";case parser_1.TypeReference:return c(i.type);case parser_1.ArrayType:y++;const h=c(i.base);return y--,`arrayOf(\n${" ".repeat(y+2)}${h},\n${" ".repeat(y+2)}${h}\n${" ".repeat(y+1)})`;case parser_1.EnumType:return`"${i.values[0].value}"`;default:return"<>()"}};return Be.map(i=>`${" ".repeat(y+1)}${c(i.type)}`).join(",\n")}getKotlinCode(Be,y){return 0===y.length?`client.${Be}().await();`:`client.${Be}(\n${this.buildKotlinString(y)}\n).await();`}getDartCode(Be,y){return'print("todo");'}getSwiftCode(Be,y){return'print("todo");'}getSdkgenClient(url,ast){const errorFns=ast.errors.reduce((acc,cur)=>{function errorClass(type,base){return eval(`(\n (sup) => class ${type} extends sup {\n type = "${type}";\n message = "";\n ${base===browser_runtime_1.SdkgenErrorWithData?"data = null;":""}\n\n constructor(message${base===browser_runtime_1.SdkgenErrorWithData?", data":""}) {\n super(message${base===browser_runtime_1.SdkgenErrorWithData?", data":""});\n this.message = message;\n ${base===browser_runtime_1.SdkgenErrorWithData?"this.data = data;":""}\n this.toString = () => this.type + ": " + this.message;\n }\n }\n )`)(base)}return"string"==typeof cur?acc[cur]=errorClass(cur,browser_runtime_1.SdkgenError):acc[cur[0]]=errorClass(cur[0],browser_runtime_1.SdkgenErrorWithData),acc},{}),clientInstance=new browser_runtime_1.SdkgenHttpClient(url,ast,errorFns);return new Proxy(clientInstance,{get:(Be,y)=>["baseUrl","extra","successHook","errorHook","makeRequest"].includes(y.toString())?clientInstance[y.toString()]:function(){var c=_asyncToGenerator(function*(i){return clientInstance.makeRequest(y.toString(),i)});return function(i){return c.apply(this,arguments)}}()})}}exports.SdkgenService=SdkgenService,SdkgenService.\u0275fac=function Be(y){return new(y||SdkgenService)},SdkgenService.\u0275prov=i0.\u0275\u0275defineInjectable({token:SdkgenService,factory:SdkgenService.\u0275fac,providedIn:"root"})},7822:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(8926).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SimpleCallComponent=void 0;const tslib_1=__webpack_require__(655),forms_1=__webpack_require__(3075),console_types_1=__webpack_require__(9972),code_execution_1=__webpack_require__(8227),i0=(0,tslib_1.__importStar)(__webpack_require__(5e3)),i1=(0,tslib_1.__importStar)(__webpack_require__(6395)),i2=(0,tslib_1.__importStar)(__webpack_require__(1430)),i3=(0,tslib_1.__importStar)(__webpack_require__(3251)),i4=(0,tslib_1.__importStar)(__webpack_require__(7423)),i5=(0,tslib_1.__importStar)(__webpack_require__(5245)),i6=(0,tslib_1.__importStar)(__webpack_require__(107)),i7=(0,tslib_1.__importStar)(__webpack_require__(3075)),i8=(0,tslib_1.__importStar)(__webpack_require__(5109)),i9=(0,tslib_1.__importStar)(__webpack_require__(8495));class SimpleCallComponent{constructor(Be){this.sdkgen=Be,this.editorOptions={theme:"vs-dark",language:"json"},this.code="",this.selected=new forms_1.FormControl(0),this.consoleItems=[]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(Be=>{!Be||(this.generateFunctionCode(Be.astRoot,this.fn),this.client=this.sdkgen.getSdkgenClient(Be.url,Be.astJson))})}ngOnDestroy(){var Be;null===(Be=this.state$)||void 0===Be||Be.unsubscribe()}run(){var _this=this;return _asyncToGenerator(function*(){{const events=_this.consoleItems;eval(code_execution_1.wrapper)}const exec=_this.client[_this.fn](JSON.parse(_this.code));try{_this.response={result:yield exec}}catch(Be){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:Be.toString()}),delete Be.toString,_this.response={error:{type:Be.type,message:Be.message,data:Be.data}}}finally{eval(code_execution_1.unwrap),_this.selected.setValue(1)}})()}generateFunctionCode(Be,y){var c;const i=null===(c=Be.operations.find(h=>h.name===y))||void 0===c?void 0:c.args;i&&(this.code=JSON.stringify(this.sdkgen.buildJsonObject(i),null,2))}}exports.SimpleCallComponent=SimpleCallComponent,SimpleCallComponent.\u0275fac=function Be(y){return new(y||SimpleCallComponent)(i0.\u0275\u0275directiveInject(i1.SdkgenService))},SimpleCallComponent.\u0275cmp=i0.\u0275\u0275defineComponent({type:SimpleCallComponent,selectors:[["app-simple-call"]],inputs:{fn:"fn"},decls:12,vars:7,consts:[["direction","vertical"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange"],["label","Requisi\xe7\xe3o"],["mat-fab","",1,"run-fab",3,"click"],[3,"options","ngModel","ngModelChange"],["label","Resposta",3,"disabled"],[3,"json"],[3,"size"],[3,"items"]],template:function Be(y,c){1&y&&(i0.\u0275\u0275elementStart(0,"as-split",0)(1,"as-split-area")(2,"mat-tab-group",1),i0.\u0275\u0275listener("selectedIndexChange",function(h){return c.selected.setValue(h)}),i0.\u0275\u0275elementStart(3,"mat-tab",2)(4,"button",3),i0.\u0275\u0275listener("click",function(){return c.run()}),i0.\u0275\u0275elementStart(5,"mat-icon"),i0.\u0275\u0275text(6,"play_arrow"),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(7,"ngx-monaco-editor",4),i0.\u0275\u0275listener("ngModelChange",function(h){return c.code=h}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(8,"mat-tab",5),i0.\u0275\u0275element(9,"ngx-json-viewer",6),i0.\u0275\u0275elementEnd()()(),i0.\u0275\u0275elementStart(10,"as-split-area",7),i0.\u0275\u0275element(11,"app-console",8),i0.\u0275\u0275elementEnd()()),2&y&&(i0.\u0275\u0275advance(2),i0.\u0275\u0275property("selectedIndex",c.selected.value),i0.\u0275\u0275advance(5),i0.\u0275\u0275property("options",c.editorOptions)("ngModel",c.code),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("disabled",!c.response),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("json",c.response),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("size",30),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("items",c.consoleItems))},directives:[i2.SplitComponent,i2.SplitAreaDirective,i3.MatTabGroup,i3.MatTab,i4.MatButton,i5.MatIcon,i6.MonacoEditorComponent,i7.NgControlStatus,i7.NgModel,i8.NgxJsonViewerComponent,i9.ConsoleComponent],styles:["[_nghost-%COMP%]{display:block;height:100%}mat-tab-group[_ngcontent-%COMP%]{height:100%}mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%}mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-content{overflow-y:hidden!important}mat-tab-group[_ngcontent-%COMP%] ngx-monaco-editor[_ngcontent-%COMP%]{display:block;height:100%}"]})},4264:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(8926).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.TabEditorComponent=void 0;const tslib_1=__webpack_require__(655),typescript_generator_1=__webpack_require__(2911),console_types_1=__webpack_require__(9972),code_execution_1=__webpack_require__(8227),i0=(0,tslib_1.__importStar)(__webpack_require__(5e3)),i1=(0,tslib_1.__importStar)(__webpack_require__(6395)),i2=(0,tslib_1.__importStar)(__webpack_require__(7423)),i3=(0,tslib_1.__importStar)(__webpack_require__(5245)),i4=(0,tslib_1.__importStar)(__webpack_require__(1430)),i5=(0,tslib_1.__importStar)(__webpack_require__(107)),i6=(0,tslib_1.__importStar)(__webpack_require__(3075)),i7=(0,tslib_1.__importStar)(__webpack_require__(8495));class TabEditorComponent{constructor(Be){this.sdkgen=Be,this.code="",this.editorOptions={theme:"vs-dark",language:"typescript"},this.consoleItems=[{type:console_types_1.ConsoleItemType.INFO,message:"Bem-vindo! A sa\xedda dos seus testes aparecer\xe1 aqui :)"}]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(Be=>{if(!Be)return;const y=`${this.patchBrowserClientSource((0,typescript_generator_1.generateBrowserClientSource)(Be.astRoot))}\n\ndeclare const client: sdkgen.ApiClient;\n\n`;this.client=this.sdkgen.getSdkgenClient(Be.url,Be.astJson),monaco.languages.typescript.typescriptDefaults.getCompilerOptions().target=monaco.languages.typescript.ScriptTarget.ESNext,monaco.languages.typescript.typescriptDefaults.getCompilerOptions().module=monaco.languages.typescript.ModuleKind.ESNext,monaco.languages.typescript.typescriptDefaults.getDiagnosticsOptions().diagnosticCodesToIgnore=[1375];const c=monaco.editor.getModels().find(h=>h.uri.toString().endsWith("client.d.ts"));c?c.setValue(y):monaco.editor.createModel(y,"typescript",monaco.Uri.parse("ts:filename/client.d.ts"));const[i]=Be.astRoot.operations;this.code=this.sdkgen.getTypeScriptCode(i.name,this.sdkgen.buildJsonObject(i.args))})}ngOnDestroy(){var Be;null===(Be=this.state$)||void 0===Be||Be.unsubscribe()}patchBrowserClientSource(Be){return`declare namespace sdkgen {\n${Be.substring(95,Be.indexOf("const errClasses")).replace(/ extends SdkgenError/g," extends Error").replace(/ extends SdkgenHttpClient/g,"").replace(/{ return this.makeRequest\(.*$/gm,"").replace(/ {\n {8}super\(baseUrl, astJson, errClasses\);\n {4}}/g,"").replace("constructor(","\n baseUrl: string;\n extra = new Map<string, any>();\n successHook: (result: any, name: string, args: any) => void = () => undefined;\n errorHook: (result: any, name: string, args: any) => void = () => undefined;\n async makeRequest(functionName: string, args: unknown): Promise<any>;\n \nconstructor(")}\n}\n`}run(){var _this=this;return _asyncToGenerator(function*(){try{yield eval(`\n (async (client, events) => {\n ${code_execution_1.wrapper}\n ${_this.code}\n })\n `)(_this.client,_this.consoleItems).finally(()=>eval(code_execution_1.unwrap))}catch(Be){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:Be.toString()})}})()}}exports.TabEditorComponent=TabEditorComponent,TabEditorComponent.\u0275fac=function Be(y){return new(y||TabEditorComponent)(i0.\u0275\u0275directiveInject(i1.SdkgenService))},TabEditorComponent.\u0275cmp=i0.\u0275\u0275defineComponent({type:TabEditorComponent,selectors:[["app-tab-editor"]],decls:8,vars:4,consts:[["mat-fab","",1,"run-fab",3,"click"],["direction","vertical"],[1,"o-hidden"],[3,"options","ngModel","ngModelChange"],[3,"size"],[3,"items"]],template:function Be(y,c){1&y&&(i0.\u0275\u0275elementStart(0,"button",0),i0.\u0275\u0275listener("click",function(){return c.run()}),i0.\u0275\u0275elementStart(1,"mat-icon"),i0.\u0275\u0275text(2,"play_arrow"),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(3,"as-split",1)(4,"as-split-area",2)(5,"ngx-monaco-editor",3),i0.\u0275\u0275listener("ngModelChange",function(h){return c.code=h}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(6,"as-split-area",4),i0.\u0275\u0275element(7,"app-console",5),i0.\u0275\u0275elementEnd()()),2&y&&(i0.\u0275\u0275advance(5),i0.\u0275\u0275property("options",c.editorOptions)("ngModel",c.code),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("size",30),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("items",c.consoleItems))},directives:[i2.MatButton,i3.MatIcon,i4.SplitComponent,i4.SplitAreaDirective,i5.MonacoEditorComponent,i6.NgControlStatus,i6.NgModel,i7.ConsoleComponent],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:calc(100% - 4px);margin-top:4px} .scroll-decoration{display:none}.o-hidden[_ngcontent-%COMP%]{overflow:hidden!important}"]})},5585:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.TabHomeComponent=void 0;const i=c(655),h=c(5e3),g=c(9435),d=c(5281),s=(0,i.__importStar)(c(5e3)),v=(0,i.__importStar)(c(6395)),D=(0,i.__importStar)(c(8966)),T=(0,i.__importStar)(c(7120)),S=(0,i.__importStar)(c(1430)),p=(0,i.__importStar)(c(3075)),A=(0,i.__importStar)(c(9808)),M=(0,i.__importStar)(c(7238)),C=(0,i.__importStar)(c(7423)),N=(0,i.__importStar)(c(5245)),$=(0,i.__importStar)(c(9417)),de=(0,i.__importStar)(c(2075)),K=(0,i.__importStar)(c(3251)),ce=(0,i.__importStar)(c(107)),Oe=(0,i.__importStar)(c(4211));function me(dt,Ke){if(1&dt&&(s.\u0275\u0275elementStart(0,"span",8),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&dt){const B=s.\u0275\u0275nextContext().$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(B.description)}}const ye=function(dt){return{active:dt}};function X(dt,Ke){if(1&dt){const B=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"li",5),s.\u0275\u0275listener("click",function(){const ae=s.\u0275\u0275restoreView(B).$implicit;return s.\u0275\u0275nextContext().selectedFunction=ae}),s.\u0275\u0275elementStart(1,"span",6),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(3,me,2,1,"span",7),s.\u0275\u0275elementEnd()}if(2&dt){const B=Ke.$implicit,ie=s.\u0275\u0275nextContext();s.\u0275\u0275property("ngClass",s.\u0275\u0275pureFunction1(3,ye,(null==ie.selectedFunction?null:ie.selectedFunction.name)===B.name)),s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(B.name),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",B.description)}}function ve(dt,Ke){1&dt&&s.\u0275\u0275element(0,"span")}function Re(dt,Ke){if(1&dt){const B=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"span"),s.\u0275\u0275element(1,"br"),s.\u0275\u0275text(2,"\xa0\xa0"),s.\u0275\u0275elementStart(3,"span",37),s.\u0275\u0275text(4),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(5,"span",14),s.\u0275\u0275text(6,":"),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(7,"\xa0"),s.\u0275\u0275elementStart(8,"u",15),s.\u0275\u0275listener("click",function(){const ae=s.\u0275\u0275restoreView(B).$implicit;return s.\u0275\u0275nextContext(2).showDocumentation(ae.rawType)}),s.\u0275\u0275text(9),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(10,ve,1,0,"span",38),s.\u0275\u0275elementEnd()}if(2&dt){const B=Ke.$implicit,ie=Ke.index;s.\u0275\u0275nextContext();const Ae=s.\u0275\u0275reference(18),ae=s.\u0275\u0275reference(20),Me=s.\u0275\u0275nextContext();s.\u0275\u0275advance(4),s.\u0275\u0275textInterpolate(B.name),s.\u0275\u0275advance(4),s.\u0275\u0275property("matTooltip",Me.getTooltip(B.rawType)),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(B.type),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",ie!=Me.selectedFunction.args.length-1)("ngIfThen",Ae)("ngIfElse",ae)}}function Qe(dt,Ke){1&dt&&s.\u0275\u0275text(0,",")}function ot(dt,Ke){1&dt&&s.\u0275\u0275element(0,"br")}function Ve(dt,Ke){if(1&dt){const B=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"u",29),s.\u0275\u0275listener("click",function(){s.\u0275\u0275restoreView(B);const Ae=s.\u0275\u0275nextContext().$implicit;return s.\u0275\u0275nextContext(3).showDocumentation(Ae.dataType)}),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()}if(2&dt){const B=s.\u0275\u0275nextContext().$implicit,ie=s.\u0275\u0275nextContext(3);s.\u0275\u0275property("matTooltip",ie.getTooltip(B.dataType)),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1("(",B.dataType.name,")")}}function ue(dt,Ke){if(1&dt&&(s.\u0275\u0275elementStart(0,"mat-chip",42)(1,"span",28),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(3,"i"),s.\u0275\u0275elementStart(4,"span",28),s.\u0275\u0275text(5),s.\u0275\u0275template(6,Ve,2,2,"u",43),s.\u0275\u0275elementEnd()()),2&dt){const B=Ke.$implicit;s.\u0275\u0275property("disableRipple",!0),s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(B.name),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate1("",B.type," "),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",B.dataType&&"void"!==B.dataType.name)}}function Ie(dt,Ke){if(1&dt&&(s.\u0275\u0275elementStart(0,"section",39)(1,"mat-chip-list",40),s.\u0275\u0275template(2,ue,7,4,"mat-chip",41),s.\u0275\u0275elementEnd()()),2&dt){const B=s.\u0275\u0275nextContext(2);s.\u0275\u0275advance(1),s.\u0275\u0275property("selectable",!1),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngForOf",B.selectedFunction.labels)}}function H(dt,Ke){if(1&dt&&(s.\u0275\u0275elementStart(0,"p"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&dt){const B=s.\u0275\u0275nextContext(2);s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(B.selectedFunction.description)}}function pe(dt,Ke){1&dt&&(s.\u0275\u0275elementStart(0,"p",44),s.\u0275\u0275text(1,"N\xe3o h\xe1 descri\xe7\xe3o para esta fun\xe7\xe3o."),s.\u0275\u0275elementEnd())}function ee(dt,Ke){1&dt&&(s.\u0275\u0275elementStart(0,"p",44),s.\u0275\u0275text(1,"Esta fun\xe7\xe3o n\xe3o possui argumentos."),s.\u0275\u0275elementEnd())}function xe(dt,Ke){1&dt&&(s.\u0275\u0275elementStart(0,"th",54),s.\u0275\u0275text(1,"Nome"),s.\u0275\u0275elementEnd())}function fe(dt,Ke){if(1&dt&&(s.\u0275\u0275elementStart(0,"td",55),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&dt){const B=Ke.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(B.name)}}function Ze(dt,Ke){1&dt&&(s.\u0275\u0275elementStart(0,"th",54),s.\u0275\u0275text(1,"Tipo"),s.\u0275\u0275elementEnd())}function ge(dt,Ke){if(1&dt){const B=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"td",55)(1,"u",29),s.\u0275\u0275listener("click",function(){const ae=s.\u0275\u0275restoreView(B).$implicit;return s.\u0275\u0275nextContext(3).showDocumentation(ae.rawType)}),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd()()}if(2&dt){const B=Ke.$implicit,ie=s.\u0275\u0275nextContext(3);s.\u0275\u0275advance(1),s.\u0275\u0275property("matTooltip",ie.getTooltip(B.rawType)),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(B.type)}}function He(dt,Ke){1&dt&&(s.\u0275\u0275elementStart(0,"th",54),s.\u0275\u0275text(1,"Descri\xe7\xe3o"),s.\u0275\u0275elementEnd())}function at(dt,Ke){if(1&dt&&(s.\u0275\u0275elementStart(0,"td",56),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&dt){const B=Ke.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(B.description||"-")}}function gt(dt,Ke){1&dt&&s.\u0275\u0275element(0,"tr",57)}function Le(dt,Ke){1&dt&&s.\u0275\u0275element(0,"tr",58)}function qe(dt,Ke){if(1&dt&&(s.\u0275\u0275elementStart(0,"table",45),s.\u0275\u0275elementContainerStart(1,46),s.\u0275\u0275template(2,xe,2,0,"th",47),s.\u0275\u0275template(3,fe,2,1,"td",48),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementContainerStart(4,49),s.\u0275\u0275template(5,Ze,2,0,"th",47),s.\u0275\u0275template(6,ge,3,2,"td",48),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementContainerStart(7,50),s.\u0275\u0275template(8,He,2,0,"th",47),s.\u0275\u0275template(9,at,2,1,"td",51),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275template(10,gt,1,0,"tr",52),s.\u0275\u0275template(11,Le,1,0,"tr",53),s.\u0275\u0275elementEnd()),2&dt){const B=s.\u0275\u0275nextContext(2);s.\u0275\u0275property("dataSource",B.selectedFunction.args),s.\u0275\u0275advance(10),s.\u0275\u0275property("matHeaderRowDef",B.argumentsTableColumns),s.\u0275\u0275advance(1),s.\u0275\u0275property("matRowDefColumns",B.argumentsTableColumns)}}function q(dt,Ke){1&dt&&(s.\u0275\u0275elementStart(0,"span",59),s.\u0275\u0275text(1,"Dart"),s.\u0275\u0275elementEnd())}function he(dt,Ke){1&dt&&(s.\u0275\u0275elementStart(0,"span",59),s.\u0275\u0275text(1,"Swift"),s.\u0275\u0275elementEnd())}const we=function(){return{theme:"vs-dark",language:"javascript"}},Fe=function(){return{theme:"vs-dark",language:"kotlin"}},be=function(){return{theme:"vs-dark",language:"dart"}},Ge=function(){return{theme:"vs-dark",language:"swift"}};function mt(dt,Ke){if(1&dt){const B=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"article")(1,"header")(2,"h1",9)(3,"span",10)(4,"span",11),s.\u0275\u0275text(5,"fn"),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(6,"\xa0"),s.\u0275\u0275elementStart(7,"span",12),s.\u0275\u0275text(8),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(9,"("),s.\u0275\u0275template(10,Re,11,6,"span",13),s.\u0275\u0275text(11,")"),s.\u0275\u0275elementStart(12,"span",14),s.\u0275\u0275text(13,":"),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(14,"\xa0"),s.\u0275\u0275elementStart(15,"u",15),s.\u0275\u0275listener("click",function(){s.\u0275\u0275restoreView(B);const Ae=s.\u0275\u0275nextContext();return Ae.showDocumentation(Ae.selectedFunction.returns.rawType)}),s.\u0275\u0275text(16),s.\u0275\u0275elementEnd()(),s.\u0275\u0275template(17,Qe,1,0,"ng-template",null,16,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275template(19,ot,1,0,"ng-template",null,17,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275element(21,"s"),s.\u0275\u0275elementStart(22,"button",18),s.\u0275\u0275listener("click",function(){return s.\u0275\u0275restoreView(B),s.\u0275\u0275nextContext().addSimpleCallTab()}),s.\u0275\u0275elementStart(23,"mat-icon"),s.\u0275\u0275text(24,"play_arrow"),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(25,"\xa0EXECUTAR "),s.\u0275\u0275elementEnd()()(),s.\u0275\u0275template(26,Ie,3,2,"section",19),s.\u0275\u0275elementStart(27,"section",9)(28,"h2",20),s.\u0275\u0275text(29,"Descri\xe7\xe3o"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(30,"div",21),s.\u0275\u0275template(31,H,2,1,"p",22),s.\u0275\u0275template(32,pe,2,0,"p",23),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(33,"h2",24),s.\u0275\u0275text(34,"Par\xe2metros"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(35,"div",21),s.\u0275\u0275template(36,ee,2,0,"p",23),s.\u0275\u0275elementStart(37,"div",25),s.\u0275\u0275template(38,qe,12,3,"table",26),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(39,"h2",27),s.\u0275\u0275text(40,"Retorno"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(41,"div")(42,"p",28)(43,"u",29),s.\u0275\u0275listener("click",function(){s.\u0275\u0275restoreView(B);const Ae=s.\u0275\u0275nextContext();return Ae.showDocumentation(Ae.selectedFunction.returns.rawType)}),s.\u0275\u0275text(44),s.\u0275\u0275elementEnd()()(),s.\u0275\u0275elementStart(45,"h2",30),s.\u0275\u0275text(46,"Exemplo de Requisi\xe7\xe3o"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(47,"mat-tab-group",31)(48,"mat-tab",32),s.\u0275\u0275element(49,"ngx-monaco-editor",33),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(50,"mat-tab",34),s.\u0275\u0275element(51,"ngx-monaco-editor",33),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(52,"mat-tab",35),s.\u0275\u0275template(53,q,2,0,"ng-template",36),s.\u0275\u0275element(54,"ngx-monaco-editor",33),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(55,"mat-tab",35),s.\u0275\u0275template(56,he,2,0,"ng-template",36),s.\u0275\u0275element(57,"ngx-monaco-editor",33),s.\u0275\u0275elementEnd()()()()}if(2&dt){const B=s.\u0275\u0275nextContext();s.\u0275\u0275advance(8),s.\u0275\u0275textInterpolate(B.selectedFunction.name),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",B.selectedFunction.args),s.\u0275\u0275advance(5),s.\u0275\u0275property("matTooltip",B.getTooltip(B.selectedFunction.returns.rawType)),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(B.selectedFunction.returns.type),s.\u0275\u0275advance(10),s.\u0275\u0275property("ngIf",B.selectedFunction.labels.length>0),s.\u0275\u0275advance(4),s.\u0275\u0275property("ngSwitch",!!B.selectedFunction.description),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngSwitchCase",!0),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngSwitchCase",!1),s.\u0275\u0275advance(3),s.\u0275\u0275property("ngSwitch",B.selectedFunction.args.length),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngSwitchCase",0),s.\u0275\u0275advance(7),s.\u0275\u0275property("matTooltip",B.getTooltip(B.selectedFunction.returns.rawType)),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(B.selectedFunction.returns.type),s.\u0275\u0275advance(5),s.\u0275\u0275property("options",s.\u0275\u0275pureFunction0(20,we))("ngModel",B.selectedFunction.examples.typeScript),s.\u0275\u0275advance(2),s.\u0275\u0275property("options",s.\u0275\u0275pureFunction0(21,Fe))("ngModel",B.selectedFunction.examples.kotlin),s.\u0275\u0275advance(3),s.\u0275\u0275property("options",s.\u0275\u0275pureFunction0(22,be))("ngModel",B.selectedFunction.examples.dart),s.\u0275\u0275advance(3),s.\u0275\u0275property("options",s.\u0275\u0275pureFunction0(23,Ge))("ngModel",B.selectedFunction.examples.swift)}}const ht=function(){return{standalone:!0}};class wt{constructor(Ke,B,ie){this.sdkgen=Ke,this.dialog=B,this.responsive=ie,this.isBelowMd=!1,this.runFunction=new h.EventEmitter,this.searchText="",this.argumentsTableColumns=["name","type","description"],this.editorOptions={theme:"vs-dark",language:"javascript"}}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(Ke=>{!Ke||(this.selectedFunction=void 0,this.fnTable=Ke.astRoot.operations.sort((B,ie)=>B.name.localeCompare(ie.name)).map(B=>{var ie,Ae,ae;const Me=Ke.astJson.annotations[`fn.${B.name}`],Xe=this.sdkgen.buildJsonObject(B.args);return(null==Me?void 0:Me.find(De=>"hidden"===De.type))?null:{name:B.name,description:null===(ie=null==Me?void 0:Me.find(De=>"description"===De.type))||void 0===ie?void 0:ie.value,args:B.args.map(({name:De,type:Ce})=>{var _e,tt,et;return{name:De,description:null===(et=[...null!==(_e=Ke.astJson.annotations[`type.${Ce}.${De}`])&&void 0!==_e?_e:[],...null!==(tt=Ke.astJson.annotations[`fn.${B.name}.${De}`])&&void 0!==tt?tt:[]].find(_t=>"description"===_t.type))||void 0===et?void 0:et.value,type:Ce.name,rawType:Ce}}),argsStr:B.args.map(De=>`${De.name}: ${De.type.name}`).join(", "),argsFields:B.args,returns:{type:B.returnType.name,rawType:B.returnType},labels:null!==(Ae=null==Me?void 0:Me.filter(De=>["rest","throws"].includes(De.type)).map(De=>{var Ce;return"rest"===De.type?{name:"REST",type:`${De.value.method} ${De.value.path}`}:"throws"===De.type?{name:"THROWS",type:De.value,dataType:null===(Ce=Ke.astRoot.errors.find(_e=>_e.name===De.value))||void 0===Ce?void 0:Ce.dataType}:{name:"?",type:"?"}}))&&void 0!==Ae?Ae:[],throws:null===(ae=null==Me?void 0:Me.find(De=>"throws"===De.type))||void 0===ae?void 0:ae.value,examples:{typeScript:this.sdkgen.getTypeScriptCode(B.name,Xe),kotlin:this.sdkgen.getKotlinCode(B.name,B.args),dart:this.sdkgen.getDartCode(B.name,Xe),swift:this.sdkgen.getSwiftCode(B.name,Xe)}}}).filter(B=>Boolean(B)))})}ngOnDestroy(){var Ke,B;null===(Ke=this.state$)||void 0===Ke||Ke.unsubscribe(),null===(B=this.responsive$)||void 0===B||B.unsubscribe()}ngAfterViewInit(){this.responsive$=this.responsive.isBelowMd().subscribe(Ke=>{this.isBelowMd=Ke.matches})}addSimpleCallTab(){var Ke;this.runFunction.emit(null===(Ke=this.selectedFunction)||void 0===Ke?void 0:Ke.name)}getTooltip(Ke){return(0,g.getTypeDoc)(Ke).shortDescription}showDocumentation(Ke){this.dialog.open(d.TypeDetailsComponent,{position:{right:"0",top:"0",bottom:"0"},data:{type:Ke},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}y.TabHomeComponent=wt,wt.\u0275fac=function(Ke){return new(Ke||wt)(s.\u0275\u0275directiveInject(v.SdkgenService),s.\u0275\u0275directiveInject(D.MatDialog),s.\u0275\u0275directiveInject(T.ResponsiveService))},wt.\u0275cmp=s.\u0275\u0275defineComponent({type:wt,selectors:[["app-tab-home"]],outputs:{runFunction:"runFunction"},decls:11,vars:10,consts:[["unit","pixel",3,"direction"],[3,"size"],["type","search","placeholder","Buscar\u2026",3,"ngModel","ngModelOptions","ngModelChange"],[3,"ngClass","click",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngClass","click"],[1,"fn-call"],["class","fn-description",4,"ngIf"],[1,"fn-description"],[1,"container"],[1,"mono","hide-overflow"],[1,"k-fn"],[1,"k-name"],[4,"ngFor","ngForOf"],[1,"k-sym"],[1,"k-type",3,"matTooltip","click"],["comma",""],["lineBreak",""],["mat-raised-button","","color","primary",3,"click"],["class","container","id","labels",4,"ngIf"],["id","description"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","no-content",4,"ngSwitchCase"],["id","parameters"],[1,"table-responsive","mat-elevation-z8"],["mat-table","",3,"dataSource",4,"ngSwitchDefault"],["id","returns"],[1,"mono"],[3,"matTooltip","click"],["id","sample-calls"],["animationDuration","0ms"],["label","TypeScript"],[3,"options","ngModel"],["label","Kotlin"],["disabled",""],["mat-tab-label",""],[1,"k-arg-name"],[4,"ngIf","ngIfThen","ngIfElse"],["id","labels",1,"container"],[3,"selectable"],["color","primary",3,"disableRipple",4,"ngFor","ngForOf"],["color","primary",3,"disableRipple"],[3,"matTooltip","click",4,"ngIf"],[1,"no-content"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","mono","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"mono"],["mat-cell",""],["mat-header-row",""],["mat-row",""],["matTooltip","Em breve!"]],template:function(Ke,B){1&Ke&&(s.\u0275\u0275elementStart(0,"as-split",0)(1,"as-split-area",1)(2,"aside")(3,"nav")(4,"form")(5,"input",2),s.\u0275\u0275listener("ngModelChange",function(Ae){return B.searchText=Ae}),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(6,"ul"),s.\u0275\u0275template(7,X,4,5,"li",3),s.\u0275\u0275pipe(8,"appFilter"),s.\u0275\u0275elementEnd()()()(),s.\u0275\u0275elementStart(9,"as-split-area"),s.\u0275\u0275template(10,mt,58,24,"article",4),s.\u0275\u0275elementEnd()()),2&Ke&&(s.\u0275\u0275property("direction",B.isBelowMd?"vertical":"horizontal"),s.\u0275\u0275advance(1),s.\u0275\u0275property("size",B.isBelowMd?130:350),s.\u0275\u0275advance(4),s.\u0275\u0275property("ngModel",B.searchText)("ngModelOptions",s.\u0275\u0275pureFunction0(9,ht)),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",s.\u0275\u0275pipeBind2(8,6,B.fnTable,B.searchText)),s.\u0275\u0275advance(3),s.\u0275\u0275property("ngIf",B.selectedFunction))},directives:[S.SplitComponent,S.SplitAreaDirective,p.\u0275NgNoValidate,p.NgControlStatusGroup,p.NgForm,p.DefaultValueAccessor,p.NgControlStatus,p.NgModel,A.NgForOf,A.NgClass,A.NgIf,M.MatTooltip,C.MatButton,N.MatIcon,$.MatChipList,$.MatChip,A.NgSwitch,A.NgSwitchCase,A.NgSwitchDefault,de.MatTable,de.MatColumnDef,de.MatHeaderCellDef,de.MatHeaderCell,de.MatCellDef,de.MatCell,de.MatHeaderRowDef,de.MatHeaderRow,de.MatRowDef,de.MatRow,K.MatTabGroup,K.MatTab,ce.MonacoEditorComponent,K.MatTabLabel],pipes:[Oe.FilterPipe],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%;overflow:hidden!important}aside[_ngcontent-%COMP%]{display:block;background:#2b2b2b;height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}nav[_ngcontent-%COMP%]{display:block;width:100%}nav[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:block;width:100%;padding:10px;background:#2b2b2b;border-bottom:1px solid #444444;position:sticky;top:0;left:0;right:0;z-index:2}nav[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:block;background:#444444;border:0 none;color:#fff;width:100%;padding:5px}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:100%;padding:15px 10px;border-bottom:1px solid #444444;cursor:pointer}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background-color:#0003}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#0000004d}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:break-all}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fn-call[_ngcontent-%COMP%]{font-family:Roboto Mono,monospace}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fn-description[_ngcontent-%COMP%]{color:#777;font-size:.9rem;margin-top:5px}u[_ngcontent-%COMP%]{-webkit-text-decoration-style:dotted;text-decoration-style:dotted;cursor:pointer;font-family:Roboto Mono,monospace}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{background-color:#2b2b2b;padding:25px 20px;width:100%;position:sticky;top:0;left:0;right:0;z-index:3}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;margin:0 auto;font-weight:300;line-height:36px;white-space:pre}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span.hide-overflow[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-fn[_ngcontent-%COMP%]{color:#c586c0}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-name[_ngcontent-%COMP%]{color:#dcdcaa}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-arg-name[_ngcontent-%COMP%]{color:#9cdcfe}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-sym[_ngcontent-%COMP%]{color:#d4d4d4}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-type[_ngcontent-%COMP%]{color:#569cd6}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{min-width:130px;align-self:center}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{display:block;padding:0 20px 15px}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%]{padding:20px 20px 0}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{overflow:hidden}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:focus{outline:none}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:block;width:1.3px;background:#FFF;margin:0 7.5px;border-radius:5px;height:calc(100% + 14px)}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:300;margin-top:40px;text-transform:uppercase}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .no-content[_ngcontent-%COMP%]{background-color:#383838;color:#fafafa;display:inline-block;padding:15px;border-radius:5px;margin-top:0}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] table[_ngcontent-%COMP%], article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .table-responsive[_ngcontent-%COMP%], article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] mat-tab-group[_ngcontent-%COMP%]{width:100%;max-width:720px}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .mat-tab-body-content{overflow-y:hidden}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ngx-monaco-editor[_ngcontent-%COMP%]{display:block;height:100%;min-height:300px}"]})},2253:(Be,y,c)=>{"use strict";var i=c(8926).default;Object.defineProperty(y,"__esModule",{value:!0}),y.TabNavComponent=void 0;const h=c(655),g=c(3075),d=c(6676),s=c(4814),v=(0,h.__importStar)(c(5e3)),D=(0,h.__importStar)(c(6395)),T=(0,h.__importStar)(c(2290)),S=(0,h.__importStar)(c(8966)),p=(0,h.__importStar)(c(3075)),A=(0,h.__importStar)(c(508)),M=(0,h.__importStar)(c(9808)),C=(0,h.__importStar)(c(5245)),N=(0,h.__importStar)(c(7423));function $(ce,Oe){1&ce&&(v.\u0275\u0275elementContainerStart(0),v.\u0275\u0275elementStart(1,"mat-icon",6),v.\u0275\u0275text(2,"loop"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementContainerEnd())}function de(ce,Oe){1&ce&&(v.\u0275\u0275elementContainerStart(0),v.\u0275\u0275elementStart(1,"mat-icon"),v.\u0275\u0275text(2,"arrow_forward"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementContainerEnd())}class K{constructor(Oe,me,ye){this.sdkgen=Oe,this.toastr=me,this.dialog=ye,this.loading=!1,this.url=new g.FormControl("")}ngOnInit(){fetch("/ast.json").then(Oe=>{Oe.ok&&(this.url.setValue(`${window.location.protocol}//${window.location.host}`),this.loadUrl())}).catch(()=>{})}loadUrl(Oe){var me=this;return i(function*(){null==Oe||Oe.preventDefault();try{me.loading=!0,/^https?:\/\//.test(me.url.value)||me.url.setValue(`https://${me.url.value}`);const ye=new URL(me.url.value);ye.pathname+=(/\/$/u.test(ye.pathname)?"":"/")+"ast.json";const X=ye.toString();console.debug("astUrl",X);const ve=yield fetch(X).then(Re=>Re.ok?Re.json():Re);if(ve instanceof Response)throw ve instanceof Error?ve:new Error(ve.statusText);if(!ve.errors||!ve.functionTable||!ve.typeTable)throw new Error("Invalid AST");for(;"undefined"==typeof monaco;)yield new Promise(Re=>setTimeout(Re,250));console.debug("astJson",ve),me.sdkgen.state$.next({astJson:ve,astRoot:(0,d.jsonToAst)(ve),url:me.url.value})}catch(ye){me.toastr.error(ye instanceof Error?ye.message:JSON.stringify(ye),"Erro ao carregar AST",{positionClass:"toast-bottom-right"})}finally{me.loading=!1}})()}openAbout(){this.dialog.open(s.DialogAboutComponent)}}y.TabNavComponent=K,K.\u0275fac=function(Oe){return new(Oe||K)(v.\u0275\u0275directiveInject(D.SdkgenService),v.\u0275\u0275directiveInject(T.ToastrService),v.\u0275\u0275directiveInject(S.MatDialog))},K.\u0275cmp=v.\u0275\u0275defineComponent({type:K,selectors:[["app-tab-nav"]],decls:9,vars:6,consts:[["src","assets/polvinho.png"],[3,"submit"],["placeholder","Digite uma URL aqui para conectar",3,"formControl","readonly"],["mat-ripple","","type","submit",3,"disabled","ngSwitch"],[4,"ngSwitchCase"],["mat-icon-button","",3,"click"],[1,"loader"]],template:function(Oe,me){1&Oe&&(v.\u0275\u0275element(0,"img",0),v.\u0275\u0275elementStart(1,"form",1),v.\u0275\u0275listener("submit",function(X){return me.loadUrl(X)}),v.\u0275\u0275element(2,"input",2),v.\u0275\u0275elementStart(3,"button",3),v.\u0275\u0275template(4,$,3,0,"ng-container",4),v.\u0275\u0275template(5,de,3,0,"ng-container",4),v.\u0275\u0275elementEnd()(),v.\u0275\u0275elementStart(6,"button",5),v.\u0275\u0275listener("click",function(){return me.openAbout()}),v.\u0275\u0275elementStart(7,"mat-icon"),v.\u0275\u0275text(8,"info"),v.\u0275\u0275elementEnd()()),2&Oe&&(v.\u0275\u0275advance(2),v.\u0275\u0275property("formControl",me.url)("readonly",me.loading),v.\u0275\u0275advance(1),v.\u0275\u0275property("disabled",me.loading)("ngSwitch",me.loading),v.\u0275\u0275advance(1),v.\u0275\u0275property("ngSwitchCase",!0),v.\u0275\u0275advance(1),v.\u0275\u0275property("ngSwitchCase",!1))},directives:[p.\u0275NgNoValidate,p.NgControlStatusGroup,p.NgForm,p.DefaultValueAccessor,p.NgControlStatus,p.FormControlDirective,A.MatRipple,M.NgSwitch,M.NgSwitchCase,C.MatIcon,N.MatButton],styles:["[_nghost-%COMP%]{display:flex;height:42px;background-color:#2b2b2b;box-shadow:0 0 3px #00000080}img[_ngcontent-%COMP%]{padding:5px}form[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-grow:1;box-shadow:0 0 1px #00000080;background:#383838;border:0 none;border-radius:5px;margin:5px 10vw 5px calc(10vw - 42px);overflow:hidden}form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex-grow:1;padding:10px 5px;background:transparent;border:0 none;text-align:center;color:#ccc}form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:transparent;color:#bfbfbf;border:0 none;cursor:pointer}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]})},5281:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.TypeDetailsComponent=void 0;const i=c(655),h=c(8966),g=c(9435),d=(0,i.__importStar)(c(5e3)),s=(0,i.__importStar)(c(8966)),v=(0,i.__importStar)(c(9808)),D=(0,i.__importStar)(c(7423)),T=(0,i.__importStar)(c(5245)),S=(0,i.__importStar)(c(9417)),p=(0,i.__importStar)(c(2075)),A=(0,i.__importStar)(c(7238));function M(H,pe){1&H&&(d.\u0275\u0275elementStart(0,"button",6)(1,"mat-icon"),d.\u0275\u0275text(2,"arrow_back"),d.\u0275\u0275elementEnd()())}function C(H,pe){if(1&H&&(d.\u0275\u0275elementStart(0,"mat-chip",7),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&H){const ee=pe.$implicit;d.\u0275\u0275property("disableRipple",!0),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(ee)}}function N(H,pe){1&H&&(d.\u0275\u0275elementStart(0,"button",8)(1,"mat-icon"),d.\u0275\u0275text(2,"close"),d.\u0275\u0275elementEnd()())}function $(H,pe){1&H&&(d.\u0275\u0275elementStart(0,"th",20),d.\u0275\u0275text(1,"Nome"),d.\u0275\u0275elementEnd())}function de(H,pe){if(1&H&&(d.\u0275\u0275elementStart(0,"td",21),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&H){const ee=pe.$implicit;d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(ee.name)}}function K(H,pe){1&H&&(d.\u0275\u0275elementStart(0,"th",20),d.\u0275\u0275text(1,"Tipo"),d.\u0275\u0275elementEnd())}function ce(H,pe){1&H&&(d.\u0275\u0275elementStart(0,"span"),d.\u0275\u0275text(1,"-"),d.\u0275\u0275elementEnd())}function Oe(H,pe){if(1&H){const ee=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"u",25),d.\u0275\u0275listener("click",function(){d.\u0275\u0275restoreView(ee);const fe=d.\u0275\u0275nextContext().$implicit;return d.\u0275\u0275nextContext(2).showDocumentation(fe.type)}),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()}if(2&H){const ee=d.\u0275\u0275nextContext().$implicit,xe=d.\u0275\u0275nextContext(2);d.\u0275\u0275property("matTooltip",xe.getTooltip(ee.type)),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(ee.type.name)}}function me(H,pe){1&H&&(d.\u0275\u0275elementStart(0,"td",22),d.\u0275\u0275template(1,ce,2,0,"span",23),d.\u0275\u0275template(2,Oe,2,2,"u",24),d.\u0275\u0275elementEnd()),2&H&&(d.\u0275\u0275property("ngSwitch",pe.$implicit.type),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",null))}function ye(H,pe){1&H&&(d.\u0275\u0275elementStart(0,"th",20),d.\u0275\u0275text(1,"Descri\xe7\xe3o"),d.\u0275\u0275elementEnd())}function X(H,pe){if(1&H&&(d.\u0275\u0275elementStart(0,"td",26),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&H){const ee=pe.$implicit;d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(ee.description||"-")}}function ve(H,pe){1&H&&d.\u0275\u0275element(0,"tr",27)}function Re(H,pe){1&H&&d.\u0275\u0275element(0,"tr",28)}const Qe=function(){return[]};function ot(H,pe){if(1&H&&(d.\u0275\u0275elementStart(0,"section")(1,"div",9)(2,"table",10),d.\u0275\u0275elementContainerStart(3,11),d.\u0275\u0275template(4,$,2,0,"th",12),d.\u0275\u0275template(5,de,2,1,"td",13),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(6,14),d.\u0275\u0275template(7,K,2,0,"th",12),d.\u0275\u0275template(8,me,3,2,"td",15),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(9,16),d.\u0275\u0275template(10,ye,2,0,"th",12),d.\u0275\u0275template(11,X,2,1,"td",17),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275template(12,ve,1,0,"tr",18),d.\u0275\u0275template(13,Re,1,0,"tr",19),d.\u0275\u0275elementEnd()()()),2&H){const ee=d.\u0275\u0275nextContext();let xe;d.\u0275\u0275advance(2),d.\u0275\u0275property("dataSource",null!==(xe=null==ee.typeDoc?null:ee.typeDoc.structFields)&&void 0!==xe?xe:d.\u0275\u0275pureFunction0(3,Qe)),d.\u0275\u0275advance(10),d.\u0275\u0275property("matHeaderRowDef",ee.argumentsTableColumns),d.\u0275\u0275advance(1),d.\u0275\u0275property("matRowDefColumns",ee.argumentsTableColumns)}}function Ve(H,pe){if(1&H&&(d.\u0275\u0275elementStart(0,"li")(1,"code",1),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()),2&H){const ee=pe.$implicit;d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(ee)}}function ue(H,pe){if(1&H&&(d.\u0275\u0275elementStart(0,"section")(1,"h3"),d.\u0275\u0275text(2,"Exemplos"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(3,"ul"),d.\u0275\u0275template(4,Ve,3,1,"li",29),d.\u0275\u0275elementEnd()()),2&H){const ee=d.\u0275\u0275nextContext();d.\u0275\u0275advance(4),d.\u0275\u0275property("ngForOf",null==ee.typeDoc?null:ee.typeDoc.examples)}}class Ie{constructor(pe,ee,xe){this.dialogRef=pe,this.data=ee,this.dialog=xe,this.labels=[],this.argumentsTableColumns=["name","type","description"]}ngOnInit(){this.labels=(0,g.getTypeLabels)(this.data.type),this.typeDoc=(0,g.getTypeDoc)(this.data.type)}getTooltip(pe){return(0,g.getTypeDoc)(pe).shortDescription}showDocumentation(pe){this.dialog.open(Ie,{position:{right:"0"},data:{type:pe,subdialog:!0},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}y.TypeDetailsComponent=Ie,Ie.\u0275fac=function(pe){return new(pe||Ie)(d.\u0275\u0275directiveInject(s.MatDialogRef),d.\u0275\u0275directiveInject(h.MAT_DIALOG_DATA),d.\u0275\u0275directiveInject(s.MatDialog))},Ie.\u0275cmp=d.\u0275\u0275defineComponent({type:Ie,selectors:[["app-type-details"]],decls:11,vars:8,consts:[["class","back-button","mat-icon-button","","mat-dialog-close","","tabindex","-1",4,"ngIf"],[1,"mono"],[3,"selectable"],["color","primary",3,"disableRipple",4,"ngFor","ngForOf"],["class","close-button","mat-icon-button","","mat-dialog-close","","tabindex","-1",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","mat-dialog-close","","tabindex","-1",1,"back-button"],["color","primary",3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1",1,"close-button"],[1,"table-responsive","mat-elevation-z8"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","mono","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["class","mono","mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"mono"],["mat-cell","",1,"mono",3,"ngSwitch"],[4,"ngSwitchCase"],[3,"matTooltip","click",4,"ngSwitchDefault"],[3,"matTooltip","click"],["mat-cell",""],["mat-header-row",""],["mat-row",""],[4,"ngFor","ngForOf"]],template:function(pe,ee){1&pe&&(d.\u0275\u0275elementStart(0,"h1"),d.\u0275\u0275template(1,M,3,0,"button",0),d.\u0275\u0275elementStart(2,"span",1),d.\u0275\u0275text(3),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(4,"mat-chip-list",2),d.\u0275\u0275template(5,C,2,2,"mat-chip",3),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(6,N,3,0,"button",4),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(7,"p"),d.\u0275\u0275text(8),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(9,ot,14,4,"section",5),d.\u0275\u0275template(10,ue,5,1,"section",5)),2&pe&&(d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",ee.data.subdialog),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(ee.data.type.name),d.\u0275\u0275advance(1),d.\u0275\u0275property("selectable",!1),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngForOf",ee.labels),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",!ee.data.subdialog),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(null==ee.typeDoc?null:ee.typeDoc.longDescription),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",(null==ee.typeDoc?null:ee.typeDoc.isStruct)&&(null==ee.typeDoc?null:ee.typeDoc.structFields)),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",null==ee.typeDoc||null==ee.typeDoc.examples?null:ee.typeDoc.examples.length))},directives:[v.NgIf,D.MatButton,s.MatDialogClose,T.MatIcon,S.MatChipList,v.NgForOf,S.MatChip,p.MatTable,p.MatColumnDef,p.MatHeaderCellDef,p.MatHeaderCell,p.MatCellDef,p.MatCell,v.NgSwitch,v.NgSwitchCase,v.NgSwitchDefault,A.MatTooltip,p.MatHeaderRowDef,p.MatHeaderRow,p.MatRowDef,p.MatRow],styles:["h1[_ngcontent-%COMP%]{font-weight:200;word-break:break-all;word-wrap:break-word}h1[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{display:inline-block;margin-left:10px;-webkit-user-select:none;user-select:none}h1[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{text-transform:uppercase}h1[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:focus{outline:none}h1[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{vertical-align:middle}h1[_ngcontent-%COMP%] button.back-button[_ngcontent-%COMP%]{margin-right:10px}h1[_ngcontent-%COMP%] button.close-button[_ngcontent-%COMP%]{float:right}p[_ngcontent-%COMP%]{line-height:1.5rem}section[_ngcontent-%COMP%]{margin-top:2rem}h3[_ngcontent-%COMP%]{font-weight:200;text-transform:uppercase}ul[_ngcontent-%COMP%]{padding-left:2rem}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{line-height:2rem;list-style:square}code[_ngcontent-%COMP%]{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem;white-space:pre-wrap;word-break:break-all;word-wrap:break-word}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{-webkit-text-decoration-style:dotted;text-decoration-style:dotted;cursor:pointer}"]})},8227:(Be,y)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.unwrap=y.wrapper=void 0,y.wrapper='\n window.___originalXmlHttpRequestOpen = XMLHttpRequest.prototype.open;\n XMLHttpRequest.prototype.open = function() {\n const event = { type: "network", message: `XHR: ${Array.prototype.join.call(arguments, " ")}` };\n events.push(event);\n\n const send = this.send;\n this.send = function() {\n try {\n event.details = { req: JSON.parse(arguments[0]) };\n } catch (e) {\n event.details = { req: arguments[0] };\n }\n\n const onreadystatechange = this.onreadystatechange;\n this.onreadystatechange = function() {\n const result = onreadystatechange.apply(this, arguments);\n\n if (this.readyState === 4) {\n try {\n event.details = { ...event.details, res: JSON.parse(this.responseText) };\n } catch (e) {\n event.details = { ...event.details, res: this.responseText };\n }\n }\n\n return result;\n };\n\n return send.apply(this, arguments);\n };\n\n return ___originalXmlHttpRequestOpen.apply(this, arguments);\n };\n\n window.___originalConsoleLog = console.log;\n console.log = function() {\n const event = { type: "info", message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n return ___originalConsoleLog.apply(this, arguments);\n }\n\n window.___originalConsoleError = console.error;\n console.error = function() {\n //if (typeof arguments[0] === "string") {\n const event = { type: "error", message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n //}\n return ___originalConsoleError.apply(this, arguments);\n }\n',y.unwrap="\n XMLHttpRequest.prototype.open = window.___originalXmlHttpRequestOpen;\n console.log = window.___originalConsoleLog;\n console.error = window.___originalConsoleError;\n"},2340:(Be,y)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.environment=void 0,y.environment={production:!0}},4431:(Be,y,c)=>{"use strict";const g=(0,c(655).__importStar)(c(2313)),d=c(5e3),s=c(6747);c(2340).environment.production&&(0,d.enableProdMode)(),g.platformBrowser().bootstrapModule(s.AppModule).catch(D=>console.error(D))},4327:function(Be,y){var h;void 0!==(h=function(){"use strict";function d(p,A,M){var C=new XMLHttpRequest;C.open("GET",p),C.responseType="blob",C.onload=function(){S(C.response,A,M)},C.onerror=function(){console.error("could not download file")},C.send()}function s(p){var A=new XMLHttpRequest;A.open("HEAD",p,!1);try{A.send()}catch(M){}return 200<=A.status&&299>=A.status}function v(p){try{p.dispatchEvent(new MouseEvent("click"))}catch(M){var A=document.createEvent("MouseEvents");A.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),p.dispatchEvent(A)}}var D="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,T=D.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),S=D.saveAs||("object"!=typeof window||window!==D?function(){}:"download"in HTMLAnchorElement.prototype&&!T?function(p,A,M){var C=D.URL||D.webkitURL,N=document.createElement("a");N.download=A=A||p.name||"download",N.rel="noopener","string"==typeof p?(N.href=p,N.origin===location.origin?v(N):s(N.href)?d(p,A,M):v(N,N.target="_blank")):(N.href=C.createObjectURL(p),setTimeout(function(){C.revokeObjectURL(N.href)},4e4),setTimeout(function(){v(N)},0))}:"msSaveOrOpenBlob"in navigator?function(p,A,M){if(A=A||p.name||"download","string"!=typeof p)navigator.msSaveOrOpenBlob(function g(p,A){return void 0===A?A={autoBom:!1}:"object"!=typeof A&&(console.warn("Deprecated: Expected third argument to be a object"),A={autoBom:!A}),A.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(p.type)?new Blob(["\ufeff",p],{type:p.type}):p}(p,M),A);else if(s(p))d(p,A,M);else{var C=document.createElement("a");C.href=p,C.target="_blank",setTimeout(function(){v(C)})}}:function(p,A,M,C){if((C=C||open("","_blank"))&&(C.document.title=C.document.body.innerText="downloading..."),"string"==typeof p)return d(p,A,M);var N="application/octet-stream"===p.type,$=/constructor/i.test(D.HTMLElement)||D.safari,de=/CriOS\/[\d]+/.test(navigator.userAgent);if((de||N&&$||T)&&"undefined"!=typeof FileReader){var K=new FileReader;K.onloadend=function(){var me=K.result;me=de?me:me.replace(/^data:[^;]*;/,"data:attachment/file;"),C?C.location.href=me:location=me,C=null},K.readAsDataURL(p)}else{var ce=D.URL||D.webkitURL,Oe=ce.createObjectURL(p);C?C.location=Oe:location.href=Oe,C=null,setTimeout(function(){ce.revokeObjectURL(Oe)},4e4)}});D.saveAs=S.saveAs=S,Be.exports=S}.apply(y,[]))&&(Be.exports=h)},5109:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{NgxJsonViewerComponent:()=>S,NgxJsonViewerModule:()=>p});var i=c(9808),h=c(5e3);function g(A,M){1&A&&h.\u0275\u0275element(0,"div",9)}function d(A,M){if(1&A&&(h.\u0275\u0275elementStart(0,"span",10),h.\u0275\u0275text(1),h.\u0275\u0275elementEnd()),2&A){const C=h.\u0275\u0275nextContext().$implicit;h.\u0275\u0275advance(1),h.\u0275\u0275textInterpolate(C.description)}}function s(A,M){if(1&A&&(h.\u0275\u0275elementStart(0,"section",11),h.\u0275\u0275element(1,"ngx-json-viewer",12),h.\u0275\u0275elementEnd()),2&A){const C=h.\u0275\u0275nextContext().$implicit,N=h.\u0275\u0275nextContext();h.\u0275\u0275advance(1),h.\u0275\u0275property("json",C.value)("expanded",N.expanded)("depth",N.depth)("_currentDepth",N._currentDepth)}}const v=function(A){return["segment",A]},D=function(A,M){return{"segment-main":!0,expandable:A,expanded:M}};function T(A,M){if(1&A){const C=h.\u0275\u0275getCurrentView();h.\u0275\u0275elementStart(0,"section",2)(1,"section",3),h.\u0275\u0275listener("click",function(){const de=h.\u0275\u0275restoreView(C).$implicit;return h.\u0275\u0275nextContext().toggle(de)}),h.\u0275\u0275template(2,g,1,0,"div",4),h.\u0275\u0275elementStart(3,"span",5),h.\u0275\u0275text(4),h.\u0275\u0275elementEnd(),h.\u0275\u0275elementStart(5,"span",6),h.\u0275\u0275text(6,": "),h.\u0275\u0275elementEnd(),h.\u0275\u0275template(7,d,2,1,"span",7),h.\u0275\u0275elementEnd(),h.\u0275\u0275template(8,s,2,4,"section",8),h.\u0275\u0275elementEnd()}if(2&A){const C=M.$implicit,N=h.\u0275\u0275nextContext();h.\u0275\u0275property("ngClass",h.\u0275\u0275pureFunction1(6,v,"segment-type-"+C.type)),h.\u0275\u0275advance(1),h.\u0275\u0275property("ngClass",h.\u0275\u0275pureFunction2(8,D,N.isExpandable(C),C.expanded)),h.\u0275\u0275advance(1),h.\u0275\u0275property("ngIf",N.isExpandable(C)),h.\u0275\u0275advance(2),h.\u0275\u0275textInterpolate(C.key),h.\u0275\u0275advance(3),h.\u0275\u0275property("ngIf",!C.expanded||!N.isExpandable(C)),h.\u0275\u0275advance(1),h.\u0275\u0275property("ngIf",C.expanded&&N.isExpandable(C))}}let S=(()=>{class A{constructor(){this.expanded=!0,this.depth=-1,this._currentDepth=-1,this.segments=[]}ngOnChanges(){this.segments=[],this.json=this.decycle(this.json),this._currentDepth++,"object"==typeof this.json?Object.keys(this.json).forEach(C=>{this.segments.push(this.parseKeyValue(C,this.json[C]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(C){return"object"===C.type||"array"===C.type}toggle(C){this.isExpandable(C)&&(C.expanded=!C.expanded)}parseKeyValue(C,N){const $={key:C,value:N,type:void 0,description:""+N,expanded:this.isExpanded()};switch(typeof $.value){case"number":$.type="number";break;case"boolean":$.type="boolean";break;case"function":$.type="function";break;case"string":$.type="string",$.description='"'+$.value+'"';break;case"undefined":$.type="undefined",$.description="undefined";break;case"object":null===$.value?($.type="null",$.description="null"):Array.isArray($.value)?($.type="array",$.description="Array["+$.value.length+"] "+JSON.stringify($.value)):$.value instanceof Date?$.type="date":($.type="object",$.description="Object "+JSON.stringify($.value))}return $}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(C){const N=new WeakMap;return function $(de,K){let ce,Oe;return"object"!=typeof de||null===de||de instanceof Boolean||de instanceof Date||de instanceof Number||de instanceof RegExp||de instanceof String?de:(ce=N.get(de),void 0!==ce?{$ref:ce}:(N.set(de,K),Array.isArray(de)?(Oe=[],de.forEach(function(me,ye){Oe[ye]=$(me,K+"["+ye+"]")})):(Oe={},Object.keys(de).forEach(function(me){Oe[me]=$(de[me],K+"["+JSON.stringify(me)+"]")})),Oe))}(C,"$")}}return A.\u0275fac=function(C){return new(C||A)},A.\u0275cmp=h.\u0275\u0275defineComponent({type:A,selectors:[["ngx-json-viewer"]],inputs:{expanded:"expanded",depth:"depth",_currentDepth:"_currentDepth",json:"json"},features:[h.\u0275\u0275NgOnChangesFeature],decls:2,vars:1,consts:[[1,"ngx-json-viewer"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"ngClass","click"],["class","toggler",4,"ngIf"],[1,"segment-key"],[1,"segment-separator"],["class","segment-value",4,"ngIf"],["class","children",4,"ngIf"],[1,"toggler"],[1,"segment-value"],[1,"children"],[3,"json","expanded","depth","_currentDepth"]],template:function(C,N){1&C&&(h.\u0275\u0275elementStart(0,"section",0),h.\u0275\u0275template(1,T,9,11,"section",1),h.\u0275\u0275elementEnd()),2&C&&(h.\u0275\u0275advance(1),h.\u0275\u0275property("ngForOf",N.segments))},directives:[i.NgForOf,i.NgClass,i.NgIf,A],styles:['@charset "UTF-8";.ngx-json-viewer[_ngcontent-%COMP%]{font-family:monospace;font-size:1em;height:100%;overflow:hidden;position:relative;width:100%}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%]{margin:1px 1px 1px 12px;padding:2px}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%]{word-wrap:break-word}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]{color:#787878;font-size:.8em;line-height:1.2em;margin-left:-14px;margin-top:3px;position:absolute;vertical-align:middle}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]:after{content:"\u25ba";display:inline-block;transition:transform .1s ease-in}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-key[_ngcontent-%COMP%]{color:#4e187c}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-separator[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-value[_ngcontent-%COMP%]{color:#000}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .children[_ngcontent-%COMP%]{margin-left:12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-string[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#ff6b6b}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#009688}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#b938a4}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#05668d}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#fff}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:red}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%]{white-space:nowrap}.ngx-json-viewer[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]:after{transform:rotate(90deg)}.ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]{cursor:pointer}']}),A})(),p=(()=>{class A{}return A.\u0275fac=function(C){return new(C||A)},A.\u0275mod=h.\u0275\u0275defineNgModule({type:A}),A.\u0275inj=h.\u0275\u0275defineInjector({imports:[[i.CommonModule]]}),A})()},9802:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{ArgumentOutOfRangeError:()=>be,AsyncSubject:()=>K,BehaviorSubject:()=>N.X,ConnectableObservable:()=>v,EMPTY:()=>pe.E,EmptyError:()=>he,NEVER:()=>P,NotFoundError:()=>Ge,Notification:()=>ge,NotificationKind:()=>Ze,ObjectUnsubscribedError:()=>mt.N,Observable:()=>i.y,ReplaySubject:()=>de,Scheduler:()=>Ie.b,SequenceError:()=>ht,Subject:()=>C.x,Subscriber:()=>H.Lv,Subscription:()=>h.w0,TimeoutError:()=>B,UnsubscriptionError:()=>ae.B,VirtualAction:()=>ue,VirtualTimeScheduler:()=>Ve,animationFrame:()=>ot.r,animationFrameScheduler:()=>ot.Z,animationFrames:()=>p,asap:()=>ce.e,asapScheduler:()=>ce.E,async:()=>Oe.P,asyncScheduler:()=>Oe.z,audit:()=>Tn.U,auditTime:()=>jn.e,bindCallback:()=>tt,bindNodeCallback:()=>et,buffer:()=>bn,bufferCount:()=>An,bufferTime:()=>U,bufferToggle:()=>Se,bufferWhen:()=>z,catchError:()=>Pe.K,combineAll:()=>Cn,combineLatest:()=>lt.a,combineLatestAll:()=>Rt,combineLatestWith:()=>Sn,concat:()=>_t.z,concatAll:()=>Rn.u,concatMap:()=>gn.b,concatMapTo:()=>Mn,concatWith:()=>Un,config:()=>On.v,connect:()=>pi,connectable:()=>St,count:()=>wn,debounce:()=>Fn,debounceTime:()=>mi.b,defaultIfEmpty:()=>ri,defer:()=>Wt.P,delay:()=>ai.g,delayWhen:()=>Gn.j,dematerialize:()=>Pr,distinct:()=>hr,distinctUntilChanged:()=>Ar.x,distinctUntilKeyChanged:()=>Bn,elementAt:()=>Xi,empty:()=>pe.c,endWith:()=>qi,every:()=>fr,exhaust:()=>Hr,exhaustAll:()=>Bi,exhaustMap:()=>Or,expand:()=>xr,filter:()=>Ne.h,finalize:()=>Rr.x,find:()=>ji,findIndex:()=>Ii,first:()=>Fr,firstValueFrom:()=>Fe,flatMap:()=>Oi,forkJoin:()=>ln.D,from:()=>qt.D,fromEvent:()=>Jt.R,fromEventPattern:()=>vt,generate:()=>Ht,groupBy:()=>Vi,identity:()=>Le.y,ignoreElements:()=>pr.l,iif:()=>un,interval:()=>Z,isEmpty:()=>li,isObservable:()=>qe.b,last:()=>Di,lastValueFrom:()=>we,map:()=>oi.U,mapTo:()=>er.h,materialize:()=>Ai,max:()=>mr,merge:()=>L.T,mergeAll:()=>$i.J,mergeMap:()=>Ye.z,mergeMapTo:()=>tr,mergeScan:()=>ei,mergeWith:()=>Vn,min:()=>Hi,multicast:()=>xi,never:()=>te,noop:()=>gt.Z,observable:()=>D.L,observeOn:()=>Ce.Q,of:()=>ee.of,onErrorResumeNext:()=>it,pairs:()=>Bt,pairwise:()=>$n,partition:()=>$e,pipe:()=>at.z,pluck:()=>nr,publish:()=>ci,publishBehavior:()=>gi,publishLast:()=>_r,publishReplay:()=>Ri,queue:()=>Qe,queueScheduler:()=>Re,race:()=>le,raceWith:()=>yr,range:()=>ct,reduce:()=>Dt,refCount:()=>s,repeat:()=>vn,repeatWhen:()=>F,retry:()=>J,retryWhen:()=>R,sample:()=>ne,sampleTime:()=>ze,scan:()=>ut,scheduled:()=>mn.x,sequenceEqual:()=>pt,share:()=>pn.B,shareReplay:()=>dn,single:()=>tn,skip:()=>an.T,skipLast:()=>In,skipUntil:()=>k,skipWhile:()=>O,startWith:()=>I.O,subscribeOn:()=>Xe.R,switchAll:()=>Je,switchMap:()=>Y.w,switchMapTo:()=>Nt,switchScan:()=>Dn,take:()=>bi.q,takeLast:()=>Pi,takeUntil:()=>Wn.R,takeWhile:()=>Ei,tap:()=>ir.b,throttle:()=>Ur,throttleTime:()=>bt,throwError:()=>xe._,throwIfEmpty:()=>Ji,timeInterval:()=>cn,timeout:()=>ie,timeoutWith:()=>kn,timer:()=>re.H,timestamp:()=>Xr,toArray:()=>Ut,using:()=>kt,window:()=>kr,windowCount:()=>Ti,windowTime:()=>Wr,windowToggle:()=>qr,windowWhen:()=>Rs,withLatestFrom:()=>eo,zip:()=>Xt,zipAll:()=>Nr,zipWith:()=>Qn});var i=c(9751),h=c(6921),g=c(4482),d=c(5403);function s(){return(0,g.e)((se,Q)=>{let _=null;se._refCount++;const l=(0,d.x)(Q,void 0,void 0,void 0,()=>{if(!se||se._refCount<=0||0<--se._refCount)return void(_=null);const u=se._connection,m=_;_=null,u&&(!m||u===m)&&u.unsubscribe(),Q.unsubscribe()});se.subscribe(l),l.closed||(_=se.connect())})}class v extends i.y{constructor(Q,_){super(),this.source=Q,this.subjectFactory=_,this._subject=null,this._refCount=0,this._connection=null,(0,g.A)(Q)&&(this.lift=Q.lift)}_subscribe(Q){return this.getSubject().subscribe(Q)}getSubject(){const Q=this._subject;return(!Q||Q.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:Q}=this;this._subject=this._connection=null,null==Q||Q.unsubscribe()}connect(){let Q=this._connection;if(!Q){Q=this._connection=new h.w0;const _=this.getSubject();Q.add(this.source.subscribe((0,d.x)(_,void 0,()=>{this._teardown(),_.complete()},l=>{this._teardown(),_.error(l)},()=>this._teardown()))),Q.closed&&(this._connection=null,Q=h.w0.EMPTY)}return Q}refCount(){return s()(this)}}var D=c(8822);const T={now:()=>(T.delegate||performance).now(),delegate:void 0};var S=c(3399);function p(se){return se?A(se):M}function A(se){const{schedule:Q}=S.l;return new i.y(_=>{const l=new h.w0,u=se||T,m=u.now(),x=W=>{const oe=u.now();_.next({timestamp:se?oe:W,elapsed:oe-m}),_.closed||l.add(Q(x))};return l.add(Q(x)),l})}const M=A();var C=c(6758),N=c(1135),$=c(6063);class de extends C.x{constructor(Q=1/0,_=1/0,l=$.l){super(),this._bufferSize=Q,this._windowTime=_,this._timestampProvider=l,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=_===1/0,this._bufferSize=Math.max(1,Q),this._windowTime=Math.max(1,_)}next(Q){const{isStopped:_,_buffer:l,_infiniteTimeWindow:u,_timestampProvider:m,_windowTime:x}=this;_||(l.push(Q),!u&&l.push(m.now()+x)),this._trimBuffer(),super.next(Q)}_subscribe(Q){this._throwIfClosed(),this._trimBuffer();const _=this._innerSubscribe(Q),{_infiniteTimeWindow:l,_buffer:u}=this,m=u.slice();for(let x=0;x<m.length&&!Q.closed;x+=l?1:2)Q.next(m[x]);return this._checkFinalizedStatuses(Q),_}_trimBuffer(){const{_bufferSize:Q,_timestampProvider:_,_buffer:l,_infiniteTimeWindow:u}=this,m=(u?1:2)*Q;if(Q<1/0&&m<l.length&&l.splice(0,l.length-m),!u){const x=_.now();let W=0;for(let oe=1;oe<l.length&&l[oe]<=x;oe+=2)W=oe;W&&l.splice(0,W+1)}}}class K extends C.x{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(Q){const{hasError:_,_hasValue:l,_value:u,thrownError:m,isStopped:x,_isComplete:W}=this;_?Q.error(m):(x||W)&&(l&&Q.next(u),Q.complete())}next(Q){this.isStopped||(this._value=Q,this._hasValue=!0)}complete(){const{_hasValue:Q,_value:_,_isComplete:l}=this;l||(this._isComplete=!0,Q&&super.next(_),super.complete())}}var ce=c(3101),Oe=c(4986),me=c(4408),X=c(8950);const Re=new class ve extends X.v{}(class ye extends me.o{constructor(Q,_){super(Q,_),this.scheduler=Q,this.work=_}schedule(Q,_=0){return _>0?super.schedule(Q,_):(this.delay=_,this.state=Q,this.scheduler.flush(this),this)}execute(Q,_){return _>0||this.closed?super.execute(Q,_):this._execute(Q,_)}requestAsyncId(Q,_,l=0){return null!=l&&l>0||null==l&&this.delay>0?super.requestAsyncId(Q,_,l):Q.flush(this)}}),Qe=Re;var ot=c(29);let Ve=(()=>{class se extends X.v{constructor(_=ue,l=1/0){super(_,()=>this.frame),this.maxFrames=l,this.frame=0,this.index=-1}flush(){const{actions:_,maxFrames:l}=this;let u,m;for(;(m=_[0])&&m.delay<=l&&(_.shift(),this.frame=m.delay,!(u=m.execute(m.state,m.delay))););if(u){for(;m=_.shift();)m.unsubscribe();throw u}}}return se.frameTimeFactor=10,se})();class ue extends me.o{constructor(Q,_,l=(Q.index+=1)){super(Q,_),this.scheduler=Q,this.work=_,this.index=l,this.active=!0,this.index=Q.index=l}schedule(Q,_=0){if(Number.isFinite(_)){if(!this.id)return super.schedule(Q,_);this.active=!1;const l=new ue(this.scheduler,this.work);return this.add(l),l.schedule(Q,_)}return h.w0.EMPTY}requestAsyncId(Q,_,l=0){this.delay=Q.frame+l;const{actions:u}=Q;return u.push(this),u.sort(ue.sortActions),!0}recycleAsyncId(Q,_,l=0){}_execute(Q,_){if(!0===this.active)return super._execute(Q,_)}static sortActions(Q,_){return Q.delay===_.delay?Q.index===_.index?0:Q.index>_.index?1:-1:Q.delay>_.delay?1:-1}}var Ie=c(6646),H=c(930),pe=c(515),ee=c(9646),xe=c(2843),fe=c(576),Ze=(()=>{return(se=Ze||(Ze={})).NEXT="N",se.ERROR="E",se.COMPLETE="C",Ze;var se})();class ge{constructor(Q,_,l){this.kind=Q,this.value=_,this.error=l,this.hasValue="N"===Q}observe(Q){return He(this,Q)}do(Q,_,l){const{kind:u,value:m,error:x}=this;return"N"===u?null==Q?void 0:Q(m):"E"===u?null==_?void 0:_(x):null==l?void 0:l()}accept(Q,_,l){var u;return(0,fe.m)(null===(u=Q)||void 0===u?void 0:u.next)?this.observe(Q):this.do(Q,_,l)}toObservable(){const{kind:Q,value:_,error:l}=this,u="N"===Q?(0,ee.of)(_):"E"===Q?(0,xe._)(()=>l):"C"===Q?pe.E:0;if(!u)throw new TypeError(`Unexpected notification kind ${Q}`);return u}static createNext(Q){return new ge("N",Q)}static createError(Q){return new ge("E",void 0,Q)}static createComplete(){return ge.completeNotification}}function He(se,Q){var _,l,u;const{kind:m,value:x,error:W}=se;if("string"!=typeof m)throw new TypeError('Invalid notification, missing "kind"');"N"===m?null===(_=Q.next)||void 0===_||_.call(Q,x):"E"===m?null===(l=Q.error)||void 0===l||l.call(Q,W):null===(u=Q.complete)||void 0===u||u.call(Q)}ge.completeNotification=new ge("C");var at=c(9635),gt=c(5032),Le=c(4671),qe=c(5191),q=c(3888);const he=(0,q.d)(se=>function(){se(this),this.name="EmptyError",this.message="no elements in sequence"});function we(se,Q){const _="object"==typeof Q;return new Promise((l,u)=>{let x,m=!1;se.subscribe({next:W=>{x=W,m=!0},error:u,complete:()=>{m?l(x):_?l(Q.defaultValue):u(new he)}})})}function Fe(se,Q){const _="object"==typeof Q;return new Promise((l,u)=>{const m=new H.Hp({next:x=>{l(x),m.unsubscribe()},error:u,complete:()=>{_?l(Q.defaultValue):u(new he)}});se.subscribe(m)})}const be=(0,q.d)(se=>function(){se(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}),Ge=(0,q.d)(se=>function(_){se(this),this.name="NotFoundError",this.message=_});var mt=c(7448);const ht=(0,q.d)(se=>function(_){se(this),this.name="SequenceError",this.message=_});var wt=c(1165),dt=c(8421),Ke=c(9672);const B=(0,q.d)(se=>function(_=null){se(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=_});function ie(se,Q){const{first:_,each:l,with:u=Ae,scheduler:m=(null!=Q?Q:Oe.z),meta:x=null}=(0,wt.q)(se)?{first:se}:"number"==typeof se?{each:se}:se;if(null==_&&null==l)throw new TypeError("No timeout provided.");return(0,g.e)((W,oe)=>{let Ee,Ue,rt=null,Ct=0;const It=Tt=>{Ue=(0,Ke.f)(oe,m,()=>{try{Ee.unsubscribe(),(0,dt.Xf)(u({meta:x,lastValue:rt,seen:Ct})).subscribe(oe)}catch(Ot){oe.error(Ot)}},Tt)};Ee=W.subscribe((0,d.x)(oe,Tt=>{null==Ue||Ue.unsubscribe(),Ct++,oe.next(rt=Tt),l>0&&It(l)},void 0,void 0,()=>{(null==Ue?void 0:Ue.closed)||null==Ue||Ue.unsubscribe(),rt=null})),It(null!=_?"number"==typeof _?_:+_-m.now():l)})}function Ae(se){throw new B(se)}var ae=c(7896),Me=c(3532),Xe=c(9468),De=c(3268),Ce=c(5363);function _e(se,Q,_,l){if(_){if(!(0,Me.K)(_))return function(...u){return _e(se,Q,l).apply(this,u).pipe((0,De.Z)(_))};l=_}return l?function(...u){return _e(se,Q).apply(this,u).pipe((0,Xe.R)(l),(0,Ce.Q)(l))}:function(...u){const m=new K;let x=!0;return new i.y(W=>{const oe=m.subscribe(W);if(x){x=!1;let Ee=!1,Ue=!1;Q.apply(this,[...u,(...rt)=>{if(se){const Ct=rt.shift();if(null!=Ct)return void m.error(Ct)}m.next(1<rt.length?rt:rt[0]),Ue=!0,Ee&&m.complete()}]),Ue&&m.complete(),Ee=!0}return oe})}}function tt(se,Q,_){return _e(!1,se,Q,_)}function et(se,Q,_){return _e(!0,se,Q,_)}var lt=c(9841),_t=c(1350),Wt=c(9770);const Lt={connector:()=>new C.x,resetOnDisconnect:!0};function St(se,Q=Lt){let _=null;const{connector:l,resetOnDisconnect:u=!0}=Q;let m=l();const x=new i.y(W=>m.subscribe(W));return x.connect=()=>((!_||_.closed)&&(_=(0,Wt.P)(()=>se).subscribe(m),u&&_.add(()=>m=l())),_),x}var ln=c(4128),qt=c(188),Jt=c(4968);function vt(se,Q,_){return _?vt(se,Q).pipe((0,De.Z)(_)):new i.y(l=>{const u=(...x)=>l.next(1===x.length?x[0]:x),m=se(u);return(0,fe.m)(Q)?()=>Q(u,m):void 0})}var Gt=c(6340);function Ht(se,Q,_,l,u){let m,x;function*W(){for(let oe=x;!Q||Q(oe);oe=_(oe))yield m(oe)}return 1===arguments.length?({initialState:x,condition:Q,iterate:_,resultSelector:m=Le.y,scheduler:u}=se):(x=se,!l||(0,Me.K)(l)?(m=Le.y,u=l):m=l),(0,Wt.P)(u?()=>(0,Gt.Q)(W(),u):W)}function un(se,Q,_){return(0,Wt.P)(()=>se()?Q:_)}var re=c(2805);function Z(se=0,Q=Oe.z){return se<0&&(se=0),(0,re.H)(se,se,Q)}var L=c(6451);const P=new i.y(gt.Z);function te(){return P}const{isArray:E}=Array;function j(se){return 1===se.length&&E(se[0])?se[0]:se}function it(...se){return function ke(...se){const Q=j(se);return(0,g.e)((_,l)=>{const u=[_,...Q],m=()=>{if(!l.closed)if(u.length>0){let x;try{x=(0,dt.Xf)(u.shift())}catch(oe){return void m()}const W=(0,d.x)(l,void 0,gt.Z,gt.Z);x.subscribe(W),W.add(m)}else l.complete()};m()})}(j(se))(pe.E)}function Bt(se,Q){return(0,qt.D)(Object.entries(se),Q)}function jt(se,Q){return(_,l)=>!se.call(Q,_,l)}var Ne=c(9300);function $e(se,Q,_){return[(0,Ne.h)(Q,_)((0,dt.Xf)(se)),(0,Ne.h)(jt(Q,_))((0,dt.Xf)(se))]}function le(...se){return 1===(se=j(se)).length?(0,dt.Xf)(se[0]):new i.y(je(se))}function je(se){return Q=>{let _=[];for(let l=0;_&&!Q.closed&&l<se.length;l++)_.push((0,dt.Xf)(se[l]).subscribe((0,d.x)(Q,u=>{if(_){for(let m=0;m<_.length;m++)m!==l&&_[m].unsubscribe();_=null}Q.next(u)})))}}function ct(se,Q,_){if(null==Q&&(Q=se,se=0),Q<=0)return pe.E;const l=Q+se;return new i.y(_?u=>{let m=se;return _.schedule(function(){m<l?(u.next(m++),this.schedule()):u.complete()})}:u=>{let m=se;for(;m<l&&!u.closed;)u.next(m++);u.complete()})}function kt(se,Q){return new i.y(_=>{const l=se(),u=Q(l);return(u?(0,dt.Xf)(u):pe.E).subscribe(_),()=>{l&&l.unsubscribe()}})}var At=c(3269);function Xt(...se){const Q=(0,At.jO)(se),_=j(se);return _.length?new i.y(l=>{let u=_.map(()=>[]),m=_.map(()=>!1);l.add(()=>{u=m=null});for(let x=0;!l.closed&&x<_.length;x++)(0,dt.Xf)(_[x]).subscribe((0,d.x)(l,W=>{if(u[x].push(W),u.every(oe=>oe.length)){const oe=u.map(Ee=>Ee.shift());l.next(Q?Q(...oe):oe),u.some((Ee,Ue)=>!Ee.length&&m[Ue])&&l.complete()}},()=>{m[x]=!0,!u[x].length&&l.complete()}));return()=>{u=m=null}}):pe.E}var mn=c(3762),On=c(2416),Tn=c(5615),jn=c(453);function bn(se){return(0,g.e)((Q,_)=>{let l=[];return Q.subscribe((0,d.x)(_,u=>l.push(u),()=>{_.next(l),_.complete()})),se.subscribe((0,d.x)(_,()=>{const u=l;l=[],_.next(u)},gt.Z)),()=>{l=null}})}var xn=c(8737);function An(se,Q=null){return Q=null!=Q?Q:se,(0,g.e)((_,l)=>{let u=[],m=0;_.subscribe((0,d.x)(l,x=>{let W=null;m++%Q==0&&u.push([]);for(const oe of u)oe.push(x),se<=oe.length&&(W=null!=W?W:[],W.push(oe));if(W)for(const oe of W)(0,xn.P)(u,oe),l.next(oe)},()=>{for(const x of u)l.next(x);l.complete()},void 0,()=>{u=null}))})}function U(se,...Q){var _,l;const u=null!==(_=(0,At.yG)(Q))&&void 0!==_?_:Oe.z,m=null!==(l=Q[0])&&void 0!==l?l:null,x=Q[1]||1/0;return(0,g.e)((W,oe)=>{let Ee=[],Ue=!1;const rt=Tt=>{const{buffer:Ot,subs:Mt}=Tt;Mt.unsubscribe(),(0,xn.P)(Ee,Tt),oe.next(Ot),Ue&&Ct()},Ct=()=>{if(Ee){const Tt=new h.w0;oe.add(Tt);const Mt={buffer:[],subs:Tt};Ee.push(Mt),(0,Ke.f)(Tt,u,()=>rt(Mt),se)}};null!==m&&m>=0?(0,Ke.f)(oe,u,Ct,m,!0):Ue=!0,Ct();const It=(0,d.x)(oe,Tt=>{const Ot=Ee.slice();for(const Mt of Ot){const{buffer:zt}=Mt;zt.push(Tt),x<=zt.length&&rt(Mt)}},()=>{for(;null==Ee?void 0:Ee.length;)oe.next(Ee.shift().buffer);null==It||It.unsubscribe(),oe.complete(),oe.unsubscribe()},void 0,()=>Ee=null);W.subscribe(It)})}function Se(se,Q){return(0,g.e)((_,l)=>{const u=[];(0,dt.Xf)(se).subscribe((0,d.x)(l,m=>{const x=[];u.push(x);const W=new h.w0;W.add((0,dt.Xf)(Q(m)).subscribe((0,d.x)(l,()=>{(0,xn.P)(u,x),l.next(x),W.unsubscribe()},gt.Z)))},gt.Z)),_.subscribe((0,d.x)(l,m=>{for(const x of u)x.push(m)},()=>{for(;u.length>0;)l.next(u.shift());l.complete()}))})}function z(se){return(0,g.e)((Q,_)=>{let l=null,u=null;const m=()=>{null==u||u.unsubscribe();const x=l;l=[],x&&_.next(x),(0,dt.Xf)(se()).subscribe(u=(0,d.x)(_,m,gt.Z))};m(),Q.subscribe((0,d.x)(_,x=>null==l?void 0:l.push(x),()=>{l&&_.next(l),_.complete()},void 0,()=>l=u=null))})}var Pe=c(262),Ye=c(6099);function st(se,Q,_,l,u){return(m,x)=>{let W=_,oe=Q,Ee=0;m.subscribe((0,d.x)(x,Ue=>{const rt=Ee++;oe=W?se(oe,Ue,rt):(W=!0,Ue),l&&x.next(oe)},u&&(()=>{W&&x.next(oe),x.complete()})))}}function Dt(se,Q){return(0,g.e)(st(se,Q,arguments.length>=2,!1,!0))}const xt=(se,Q)=>(se.push(Q),se);function Ut(){return(0,g.e)((se,Q)=>{Dt(xt,[])(se).subscribe(Q)})}function on(se,Q){return(0,at.z)(Ut(),(0,Ye.z)(_=>se(_)),Q?(0,De.Z)(Q):Le.y)}function Rt(se){return on(lt.a,se)}const Cn=Rt;function en(...se){const Q=(0,At.jO)(se);return Q?(0,at.z)(en(...se),(0,De.Z)(Q)):(0,g.e)((_,l)=>{(0,lt.l)([_,...j(se)])(l)})}function Sn(...se){return en(...se)}var Rn=c(7886),gn=c(4351);function Mn(se,Q){return(0,fe.m)(Q)?(0,gn.b)(()=>se,Q):(0,gn.b)(()=>se)}function Un(...se){return function ii(...se){const Q=(0,At.yG)(se);return(0,g.e)((_,l)=>{(0,Rn.u)()((0,qt.D)([_,...se],Q)).subscribe(l)})}(...se)}const qn={connector:()=>new C.x};function pi(se,Q=qn){const{connector:_}=Q;return(0,g.e)((l,u)=>{const m=_();(0,qt.D)(se(function sn(se){return new i.y(Q=>se.subscribe(Q))}(m))).subscribe(u),u.add(l.subscribe(m))})}function wn(se){return Dt((Q,_,l)=>!se||se(_,l)?Q+1:Q,0)}function Fn(se){return(0,g.e)((Q,_)=>{let l=!1,u=null,m=null;const x=()=>{if(null==m||m.unsubscribe(),m=null,l){l=!1;const W=u;u=null,_.next(W)}};Q.subscribe((0,d.x)(_,W=>{null==m||m.unsubscribe(),l=!0,u=W,m=(0,d.x)(_,x,gt.Z),(0,dt.Xf)(se(W)).subscribe(m)},()=>{x(),_.complete()},void 0,()=>{u=m=null}))})}var mi=c(8372);function ri(se){return(0,g.e)((Q,_)=>{let l=!1;Q.subscribe((0,d.x)(_,u=>{l=!0,_.next(u)},()=>{l||_.next(se),_.complete()}))})}var ai=c(4326),Gn=c(1260);function Pr(){return(0,g.e)((se,Q)=>{se.subscribe((0,d.x)(Q,_=>He(_,Q)))})}function hr(se,Q){return(0,g.e)((_,l)=>{const u=new Set;_.subscribe((0,d.x)(l,m=>{const x=se?se(m):m;u.has(x)||(u.add(x),l.next(m))})),null==Q||Q.subscribe((0,d.x)(l,()=>u.clear(),gt.Z))})}var Ar=c(1884);function Bn(se,Q){return(0,Ar.x)((_,l)=>Q?Q(_[se],l[se]):_[se]===l[se])}function Ji(se=wi){return(0,g.e)((Q,_)=>{let l=!1;Q.subscribe((0,d.x)(_,u=>{l=!0,_.next(u)},()=>l?_.complete():_.error(se())))})}function wi(){return new he}var bi=c(5698);function Xi(se,Q){if(se<0)throw new be;const _=arguments.length>=2;return l=>l.pipe((0,Ne.h)((u,m)=>m===se),(0,bi.q)(1),_?ri(Q):Ji(()=>new be))}function qi(...se){return Q=>(0,_t.z)(Q,(0,ee.of)(...se))}function fr(se,Q){return(0,g.e)((_,l)=>{let u=0;_.subscribe((0,d.x)(l,m=>{se.call(Q,m,u++,_)||(l.next(!1),l.complete())},()=>{l.next(!0),l.complete()}))})}function Bi(){return(0,g.e)((se,Q)=>{let _=!1,l=null;se.subscribe((0,d.x)(Q,u=>{l||(l=(0,dt.Xf)(u).subscribe((0,d.x)(Q,void 0,()=>{l=null,_&&Q.complete()})))},()=>{_=!0,!l&&Q.complete()}))})}const Hr=Bi;var oi=c(4004);function Or(se,Q){return Q?_=>_.pipe(Or((l,u)=>(0,dt.Xf)(se(l,u)).pipe((0,oi.U)((m,x)=>Q(l,m,u,x))))):(0,g.e)((_,l)=>{let u=0,m=null,x=!1;_.subscribe((0,d.x)(l,W=>{m||(m=(0,d.x)(l,void 0,()=>{m=null,x&&l.complete()}),(0,dt.Xf)(se(W,u++)).subscribe(m))},()=>{x=!0,!m&&l.complete()}))})}var Si=c(2733);function xr(se,Q=1/0,_){return Q=(Q||0)<1?1/0:Q,(0,g.e)((l,u)=>(0,Si.p)(l,u,se,Q,void 0,!0,_))}var Rr=c(8746);function ji(se,Q){return(0,g.e)(Ci(se,Q,"value"))}function Ci(se,Q,_){const l="index"===_;return(u,m)=>{let x=0;u.subscribe((0,d.x)(m,W=>{const oe=x++;se.call(Q,W,oe,u)&&(m.next(l?oe:W),m.complete())},()=>{m.next(l?-1:void 0),m.complete()}))}}function Ii(se,Q){return(0,g.e)(Ci(se,Q,"index"))}function Fr(se,Q){const _=arguments.length>=2;return l=>l.pipe(se?(0,Ne.h)((u,m)=>se(u,m,l)):Le.y,(0,bi.q)(1),_?ri(Q):Ji(()=>new he))}function Vi(se,Q,_,l){return(0,g.e)((u,m)=>{let x;Q&&"function"!=typeof Q?({duration:_,element:x,connector:l}=Q):x=Q;const W=new Map,oe=Tt=>{W.forEach(Tt),Tt(m)},Ee=Tt=>oe(Ot=>Ot.error(Tt));let Ue=0,rt=!1;const Ct=new d.Q(m,Tt=>{try{const Ot=se(Tt);let Mt=W.get(Ot);if(!Mt){W.set(Ot,Mt=l?l():new C.x);const zt=function It(Tt,Ot){const Mt=new i.y(zt=>{Ue++;const hn=Ot.subscribe(zt);return()=>{hn.unsubscribe(),0==--Ue&&rt&&Ct.unsubscribe()}});return Mt.key=Tt,Mt}(Ot,Mt);if(m.next(zt),_){const hn=(0,d.x)(Mt,()=>{Mt.complete(),null==hn||hn.unsubscribe()},void 0,void 0,()=>W.delete(Ot));Ct.add((0,dt.Xf)(_(zt)).subscribe(hn))}}Mt.next(x?x(Tt):Tt)}catch(Ot){Ee(Ot)}},()=>oe(Tt=>Tt.complete()),Ee,()=>W.clear(),()=>(rt=!0,0===Ue));u.subscribe(Ct)})}var pr=c(8502);function li(){return(0,g.e)((se,Q)=>{se.subscribe((0,d.x)(Q,()=>{Q.next(!1),Q.complete()},()=>{Q.next(!0),Q.complete()}))})}function Pi(se){return se<=0?()=>pe.E:(0,g.e)((Q,_)=>{let l=[];Q.subscribe((0,d.x)(_,u=>{l.push(u),se<l.length&&l.shift()},()=>{for(const u of l)_.next(u);_.complete()},void 0,()=>{l=null}))})}function Di(se,Q){const _=arguments.length>=2;return l=>l.pipe(se?(0,Ne.h)((u,m)=>se(u,m,l)):Le.y,Pi(1),_?ri(Q):Ji(()=>new he))}var er=c(9718);function Ai(){return(0,g.e)((se,Q)=>{se.subscribe((0,d.x)(Q,_=>{Q.next(ge.createNext(_))},()=>{Q.next(ge.createComplete()),Q.complete()},_=>{Q.next(ge.createError(_)),Q.complete()}))})}function mr(se){return Dt((0,fe.m)(se)?(Q,_)=>se(Q,_)>0?Q:_:(Q,_)=>Q>_?Q:_)}var $i=c(8189);const Oi=Ye.z;function tr(se,Q,_=1/0){return(0,fe.m)(Q)?(0,Ye.z)(()=>se,Q,_):("number"==typeof Q&&(_=Q),(0,Ye.z)(()=>se,_))}function ei(se,Q,_=1/0){return(0,g.e)((l,u)=>{let m=Q;return(0,Si.p)(l,u,(x,W)=>se(m,x,W),_,x=>{m=x},!1,void 0,()=>m=null)})}function Vn(...se){return function gr(...se){const Q=(0,At.yG)(se),_=(0,At._6)(se,1/0);return se=j(se),(0,g.e)((l,u)=>{(0,$i.J)(_)((0,qt.D)([l,...se],Q)).subscribe(u)})}(...se)}function Hi(se){return Dt((0,fe.m)(se)?(Q,_)=>se(Q,_)<0?Q:_:(Q,_)=>Q<_?Q:_)}function xi(se,Q){const _=(0,fe.m)(se)?se:()=>se;return(0,fe.m)(Q)?pi(Q,{connector:_}):l=>new v(l,_)}function $n(){return(0,g.e)((se,Q)=>{let _,l=!1;se.subscribe((0,d.x)(Q,u=>{const m=_;_=u,l&&Q.next([m,u]),l=!0}))})}function nr(...se){const Q=se.length;if(0===Q)throw new Error("list of properties cannot be empty.");return(0,oi.U)(_=>{let l=_;for(let u=0;u<Q;u++){const m=null==l?void 0:l[se[u]];if(void 0===m)return;l=m}return l})}function ci(se){return se?Q=>pi(se)(Q):Q=>xi(new C.x)(Q)}function gi(se){return Q=>{const _=new N.X(se);return new v(Q,()=>_)}}function _r(){return se=>{const Q=new K;return new v(se,()=>Q)}}function Ri(se,Q,_,l){_&&!(0,fe.m)(_)&&(l=_);const u=(0,fe.m)(_)?_:void 0;return m=>xi(new de(se,Q,l),u)(m)}function yr(...se){return se.length?(0,g.e)((Q,_)=>{je([Q,...se])(_)}):Le.y}function vn(se){let _,Q=1/0;return null!=se&&("object"==typeof se?({count:Q=1/0,delay:_}=se):Q=se),Q<=0?()=>pe.E:(0,g.e)((l,u)=>{let x,m=0;const W=()=>{if(null==x||x.unsubscribe(),x=null,null!=_){const Ee="number"==typeof _?(0,re.H)(_):(0,dt.Xf)(_(m)),Ue=(0,d.x)(u,()=>{Ue.unsubscribe(),oe()});Ee.subscribe(Ue)}else oe()},oe=()=>{let Ee=!1;x=l.subscribe((0,d.x)(u,void 0,()=>{++m<Q?x?W():Ee=!0:u.complete()})),Ee&&W()};oe()})}function F(se){return(0,g.e)((Q,_)=>{let l,m,u=!1,x=!1,W=!1;const oe=()=>W&&x&&(_.complete(),!0),Ue=()=>{W=!1,l=Q.subscribe((0,d.x)(_,void 0,()=>{W=!0,!oe()&&(m||(m=new C.x,se(m).subscribe((0,d.x)(_,()=>{l?Ue():u=!0},()=>{x=!0,oe()}))),m).next()})),u&&(l.unsubscribe(),l=null,u=!1,Ue())};Ue()})}function J(se=1/0){let Q;Q=se&&"object"==typeof se?se:{count:se};const{count:_=1/0,delay:l,resetOnSuccess:u=!1}=Q;return _<=0?Le.y:(0,g.e)((m,x)=>{let oe,W=0;const Ee=()=>{let Ue=!1;oe=m.subscribe((0,d.x)(x,rt=>{u&&(W=0),x.next(rt)},void 0,rt=>{if(W++<_){const Ct=()=>{oe?(oe.unsubscribe(),oe=null,Ee()):Ue=!0};if(null!=l){const It="number"==typeof l?(0,re.H)(l):(0,dt.Xf)(l(rt,W)),Tt=(0,d.x)(x,()=>{Tt.unsubscribe(),Ct()},()=>{x.complete()});It.subscribe(Tt)}else Ct()}else x.error(rt)})),Ue&&(oe.unsubscribe(),oe=null,Ee())};Ee()})}function R(se){return(0,g.e)((Q,_)=>{let l,m,u=!1;const x=()=>{l=Q.subscribe((0,d.x)(_,void 0,void 0,W=>{m||(m=new C.x,se(m).subscribe((0,d.x)(_,()=>l?x():u=!0))),m&&m.next(W)})),u&&(l.unsubscribe(),l=null,u=!1,x())};x()})}function ne(se){return(0,g.e)((Q,_)=>{let l=!1,u=null;Q.subscribe((0,d.x)(_,m=>{l=!0,u=m})),se.subscribe((0,d.x)(_,()=>{if(l){l=!1;const m=u;u=null,_.next(m)}},gt.Z))})}function ze(se,Q=Oe.z){return ne(Z(se,Q))}function ut(se,Q){return(0,g.e)(st(se,Q,arguments.length>=2,!0))}function pt(se,Q=((_,l)=>_===l)){return(0,g.e)((_,l)=>{const u={buffer:[],complete:!1},m={buffer:[],complete:!1},x=oe=>{l.next(oe),l.complete()},W=(oe,Ee)=>{const Ue=(0,d.x)(l,rt=>{const{buffer:Ct,complete:It}=Ee;0===Ct.length?It?x(!1):oe.buffer.push(rt):!Q(rt,Ct.shift())&&x(!1)},()=>{oe.complete=!0;const{complete:rt,buffer:Ct}=Ee;rt&&x(0===Ct.length),null==Ue||Ue.unsubscribe()});return Ue};_.subscribe(W(u,m)),se.subscribe(W(m,u))})}var pn=c(3099);function dn(se,Q,_){var l,u;let m,x=!1;return se&&"object"==typeof se?(m=null!==(l=se.bufferSize)&&void 0!==l?l:1/0,Q=null!==(u=se.windowTime)&&void 0!==u?u:1/0,x=!!se.refCount,_=se.scheduler):m=null!=se?se:1/0,(0,pn.B)({connector:()=>new de(m,Q,_),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:x})}function tn(se){return(0,g.e)((Q,_)=>{let u,l=!1,m=!1,x=0;Q.subscribe((0,d.x)(_,W=>{m=!0,(!se||se(W,x++,Q))&&(l&&_.error(new ht("Too many matching values")),l=!0,u=W)},()=>{l?(_.next(u),_.complete()):_.error(m?new Ge("No matching values"):new he)}))})}var an=c(5684);function In(se){return se<=0?Le.y:(0,g.e)((Q,_)=>{let l=new Array(se),u=0;return Q.subscribe((0,d.x)(_,m=>{const x=u++;if(x<se)l[x]=m;else{const W=x%se,oe=l[W];l[W]=m,_.next(oe)}})),()=>{l=null}})}function k(se){return(0,g.e)((Q,_)=>{let l=!1;const u=(0,d.x)(_,()=>{null==u||u.unsubscribe(),l=!0},gt.Z);(0,dt.Xf)(se).subscribe(u),Q.subscribe((0,d.x)(_,m=>l&&_.next(m)))})}function O(se){return(0,g.e)((Q,_)=>{let l=!1,u=0;Q.subscribe((0,d.x)(_,m=>(l||(l=!se(m,u++)))&&_.next(m)))})}var I=c(8675),Y=c(3900);function Je(){return(0,Y.w)(Le.y)}function Nt(se,Q){return(0,fe.m)(Q)?(0,Y.w)(()=>se,Q):(0,Y.w)(()=>se)}function Dn(se,Q){return(0,g.e)((_,l)=>{let u=Q;return(0,Y.w)((m,x)=>se(u,m,x),(m,x)=>(u=x,x))(_).subscribe(l),()=>{u=null}})}var Wn=c(2722);function Ei(se,Q=!1){return(0,g.e)((_,l)=>{let u=0;_.subscribe((0,d.x)(l,m=>{const x=se(m,u++);(x||Q)&&l.next(m),!x&&l.complete()}))})}var ir=c(8505);const Yr={leading:!0,trailing:!1};function Ur(se,Q=Yr){return(0,g.e)((_,l)=>{const{leading:u,trailing:m}=Q;let x=!1,W=null,oe=null,Ee=!1;const Ue=()=>{null==oe||oe.unsubscribe(),oe=null,m&&(It(),Ee&&l.complete())},rt=()=>{oe=null,Ee&&l.complete()},Ct=Tt=>oe=(0,dt.Xf)(se(Tt)).subscribe((0,d.x)(l,Ue,rt)),It=()=>{if(x){x=!1;const Tt=W;W=null,l.next(Tt),!Ee&&Ct(Tt)}};_.subscribe((0,d.x)(l,Tt=>{x=!0,W=Tt,(!oe||oe.closed)&&(u?It():Ct(Tt))},()=>{Ee=!0,(!(m&&x&&oe)||oe.closed)&&l.complete()}))})}function bt(se,Q=Oe.z,_=Yr){const l=(0,re.H)(se,Q);return Ur(()=>l,_)}function cn(se=Oe.z){return(0,g.e)((Q,_)=>{let l=se.now();Q.subscribe((0,d.x)(_,u=>{const m=se.now(),x=m-l;l=m,_.next(new Jr(u,x))}))})}class Jr{constructor(Q,_){this.value=Q,this.interval=_}}function kn(se,Q,_){let l,u,m;if(_=null!=_?_:Oe.P,(0,wt.q)(se)?l=se:"number"==typeof se&&(u=se),!Q)throw new TypeError("No observable provided to switch to");if(m=()=>Q,null==l&&null==u)throw new TypeError("No timeout provided.");return ie({first:l,each:u,scheduler:_,with:m})}function Xr(se=$.l){return(0,oi.U)(Q=>({value:Q,timestamp:se.now()}))}function kr(se){return(0,g.e)((Q,_)=>{let l=new C.x;_.next(l.asObservable());const u=m=>{l.error(m),_.error(m)};return Q.subscribe((0,d.x)(_,m=>null==l?void 0:l.next(m),()=>{l.complete(),_.complete()},u)),se.subscribe((0,d.x)(_,()=>{l.complete(),_.next(l=new C.x)},gt.Z,u)),()=>{null==l||l.unsubscribe(),l=null}})}function Ti(se,Q=0){const _=Q>0?Q:se;return(0,g.e)((l,u)=>{let m=[new C.x],x=[],W=0;u.next(m[0].asObservable()),l.subscribe((0,d.x)(u,oe=>{for(const Ue of m)Ue.next(oe);const Ee=W-se+1;if(Ee>=0&&Ee%_==0&&m.shift().complete(),++W%_==0){const Ue=new C.x;m.push(Ue),u.next(Ue.asObservable())}},()=>{for(;m.length>0;)m.shift().complete();u.complete()},oe=>{for(;m.length>0;)m.shift().error(oe);u.error(oe)},()=>{x=null,m=null}))})}function Wr(se,...Q){var _,l;const u=null!==(_=(0,At.yG)(Q))&&void 0!==_?_:Oe.z,m=null!==(l=Q[0])&&void 0!==l?l:null,x=Q[1]||1/0;return(0,g.e)((W,oe)=>{let Ee=[],Ue=!1;const rt=Ot=>{const{window:Mt,subs:zt}=Ot;Mt.complete(),zt.unsubscribe(),(0,xn.P)(Ee,Ot),Ue&&Ct()},Ct=()=>{if(Ee){const Ot=new h.w0;oe.add(Ot);const Mt=new C.x,zt={window:Mt,subs:Ot,seen:0};Ee.push(zt),oe.next(Mt.asObservable()),(0,Ke.f)(Ot,u,()=>rt(zt),se)}};null!==m&&m>=0?(0,Ke.f)(oe,u,Ct,m,!0):Ue=!0,Ct();const It=Ot=>Ee.slice().forEach(Ot),Tt=Ot=>{It(({window:Mt})=>Ot(Mt)),Ot(oe),oe.unsubscribe()};return W.subscribe((0,d.x)(oe,Ot=>{It(Mt=>{Mt.window.next(Ot),x<=++Mt.seen&&rt(Mt)})},()=>Tt(Ot=>Ot.complete()),Ot=>Tt(Mt=>Mt.error(Ot)))),()=>{Ee=null}})}function qr(se,Q){return(0,g.e)((_,l)=>{const u=[],m=x=>{for(;0<u.length;)u.shift().error(x);l.error(x)};(0,dt.Xf)(se).subscribe((0,d.x)(l,x=>{const W=new C.x;u.push(W);const oe=new h.w0;let Ue;try{Ue=(0,dt.Xf)(Q(x))}catch(rt){return void m(rt)}l.next(W.asObservable()),oe.add(Ue.subscribe((0,d.x)(l,()=>{(0,xn.P)(u,W),W.complete(),oe.unsubscribe()},gt.Z,m)))},gt.Z)),_.subscribe((0,d.x)(l,x=>{const W=u.slice();for(const oe of W)oe.next(x)},()=>{for(;0<u.length;)u.shift().complete();l.complete()},m,()=>{for(;0<u.length;)u.shift().unsubscribe()}))})}function Rs(se){return(0,g.e)((Q,_)=>{let l,u;const m=W=>{l.error(W),_.error(W)},x=()=>{let W;null==u||u.unsubscribe(),null==l||l.complete(),l=new C.x,_.next(l.asObservable());try{W=(0,dt.Xf)(se())}catch(oe){return void m(oe)}W.subscribe(u=(0,d.x)(_,x,x,m))};x(),Q.subscribe((0,d.x)(_,W=>l.next(W),()=>{l.complete(),_.complete()},m,()=>{null==u||u.unsubscribe(),l=null}))})}function eo(...se){const Q=(0,At.jO)(se);return(0,g.e)((_,l)=>{const u=se.length,m=new Array(u);let x=se.map(()=>!1),W=!1;for(let oe=0;oe<u;oe++)(0,dt.Xf)(se[oe]).subscribe((0,d.x)(l,Ee=>{m[oe]=Ee,!W&&!x[oe]&&(x[oe]=!0,(W=x.every(Le.y))&&(x=null))},gt.Z));_.subscribe((0,d.x)(l,oe=>{if(W){const Ee=[oe,...m];l.next(Q?Q(...Ee):Ee)}}))})}function Nr(se){return on(Xt,se)}function Qn(...se){return function Lr(...se){return(0,g.e)((Q,_)=>{Xt(Q,...se).subscribe(_)})}(...se)}},1135:(Be,y,c)=>{"use strict";c.d(y,{X:()=>h});var i=c(6758);class h extends i.x{constructor(d){super(),this._value=d}get value(){return this.getValue()}_subscribe(d){const s=super._subscribe(d);return!s.closed&&d.next(this._value),s}getValue(){const{hasError:d,thrownError:s,_value:v}=this;if(d)throw s;return this._throwIfClosed(),v}next(d){super.next(this._value=d)}}},9751:(Be,y,c)=>{"use strict";c.d(y,{y:()=>T});var i=c(930),h=c(6921),g=c(8822),d=c(9635),s=c(2416),v=c(576),D=c(2806);let T=(()=>{class M{constructor(N){N&&(this._subscribe=N)}lift(N){const $=new M;return $.source=this,$.operator=N,$}subscribe(N,$,de){const K=function A(M){return M&&M instanceof i.Lv||function p(M){return M&&(0,v.m)(M.next)&&(0,v.m)(M.error)&&(0,v.m)(M.complete)}(M)&&(0,h.Nn)(M)}(N)?N:new i.Hp(N,$,de);return(0,D.x)(()=>{const{operator:ce,source:Oe}=this;K.add(ce?ce.call(K,Oe):Oe?this._subscribe(K):this._trySubscribe(K))}),K}_trySubscribe(N){try{return this._subscribe(N)}catch($){N.error($)}}forEach(N,$){return new($=S($))((de,K)=>{const ce=new i.Hp({next:Oe=>{try{N(Oe)}catch(me){K(me),ce.unsubscribe()}},error:K,complete:de});this.subscribe(ce)})}_subscribe(N){var $;return null===($=this.source)||void 0===$?void 0:$.subscribe(N)}[g.L](){return this}pipe(...N){return(0,d.U)(N)(this)}toPromise(N){return new(N=S(N))(($,de)=>{let K;this.subscribe(ce=>K=ce,ce=>de(ce),()=>$(K))})}}return M.create=C=>new M(C),M})();function S(M){var C;return null!==(C=null!=M?M:s.v.Promise)&&void 0!==C?C:Promise}},6646:(Be,y,c)=>{"use strict";c.d(y,{b:()=>h});var i=c(6063);class h{constructor(d,s=h.now){this.schedulerActionCtor=d,this.now=s}schedule(d,s=0,v){return new this.schedulerActionCtor(this,d).schedule(v,s)}}h.now=i.l.now},6758:(Be,y,c)=>{"use strict";c.d(y,{x:()=>v});var i=c(9751),h=c(6921),g=c(7448),d=c(8737),s=c(2806);let v=(()=>{class T extends i.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(p){const A=new D(this,this);return A.operator=p,A}_throwIfClosed(){if(this.closed)throw new g.N}next(p){(0,s.x)(()=>{if(this._throwIfClosed(),!this.isStopped){const A=this.observers.slice();for(const M of A)M.next(p)}})}error(p){(0,s.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:A}=this;for(;A.length;)A.shift().error(p)}})}complete(){(0,s.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:p}=this;for(;p.length;)p.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var p;return(null===(p=this.observers)||void 0===p?void 0:p.length)>0}_trySubscribe(p){return this._throwIfClosed(),super._trySubscribe(p)}_subscribe(p){return this._throwIfClosed(),this._checkFinalizedStatuses(p),this._innerSubscribe(p)}_innerSubscribe(p){const{hasError:A,isStopped:M,observers:C}=this;return A||M?h.Lc:(C.push(p),new h.w0(()=>(0,d.P)(C,p)))}_checkFinalizedStatuses(p){const{hasError:A,thrownError:M,isStopped:C}=this;A?p.error(M):C&&p.complete()}asObservable(){const p=new i.y;return p.source=this,p}}return T.create=(S,p)=>new D(S,p),T})();class D extends v{constructor(S,p){super(),this.destination=S,this.source=p}next(S){var p,A;null===(A=null===(p=this.destination)||void 0===p?void 0:p.next)||void 0===A||A.call(p,S)}error(S){var p,A;null===(A=null===(p=this.destination)||void 0===p?void 0:p.error)||void 0===A||A.call(p,S)}complete(){var S,p;null===(p=null===(S=this.destination)||void 0===S?void 0:S.complete)||void 0===p||p.call(S)}_subscribe(S){var p,A;return null!==(A=null===(p=this.source)||void 0===p?void 0:p.subscribe(S))&&void 0!==A?A:h.Lc}}},930:(Be,y,c)=>{"use strict";c.d(y,{Hp:()=>de,Lv:()=>M});var i=c(576),h=c(6921),g=c(2416),d=c(7849),s=c(5032);const v=S("C",void 0,void 0);function S(ye,X,ve){return{kind:ye,value:X,error:ve}}var p=c(3410),A=c(2806);class M extends h.w0{constructor(X){super(),this.isStopped=!1,X?(this.destination=X,(0,h.Nn)(X)&&X.add(this)):this.destination=me}static create(X,ve,Re){return new de(X,ve,Re)}next(X){this.isStopped?Oe(function T(ye){return S("N",ye,void 0)}(X),this):this._next(X)}error(X){this.isStopped?Oe(function D(ye){return S("E",void 0,ye)}(X),this):(this.isStopped=!0,this._error(X))}complete(){this.isStopped?Oe(v,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(X){this.destination.next(X)}_error(X){try{this.destination.error(X)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const C=Function.prototype.bind;function N(ye,X){return C.call(ye,X)}class ${constructor(X){this.partialObserver=X}next(X){const{partialObserver:ve}=this;if(ve.next)try{ve.next(X)}catch(Re){K(Re)}}error(X){const{partialObserver:ve}=this;if(ve.error)try{ve.error(X)}catch(Re){K(Re)}else K(X)}complete(){const{partialObserver:X}=this;if(X.complete)try{X.complete()}catch(ve){K(ve)}}}class de extends M{constructor(X,ve,Re){let Qe;if(super(),(0,i.m)(X)||!X)Qe={next:null!=X?X:void 0,error:null!=ve?ve:void 0,complete:null!=Re?Re:void 0};else{let ot;this&&g.v.useDeprecatedNextContext?(ot=Object.create(X),ot.unsubscribe=()=>this.unsubscribe(),Qe={next:X.next&&N(X.next,ot),error:X.error&&N(X.error,ot),complete:X.complete&&N(X.complete,ot)}):Qe=X}this.destination=new $(Qe)}}function K(ye){g.v.useDeprecatedSynchronousErrorHandling?(0,A.O)(ye):(0,d.h)(ye)}function Oe(ye,X){const{onStoppedNotification:ve}=g.v;ve&&p.z.setTimeout(()=>ve(ye,X))}const me={closed:!0,next:s.Z,error:function ce(ye){throw ye},complete:s.Z}},6921:(Be,y,c)=>{"use strict";c.d(y,{w0:()=>d,Lc:()=>s,Nn:()=>v});var i=c(576),h=c(7896),g=c(8737);class d{constructor(S){this.initialTeardown=S,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let S;if(!this.closed){this.closed=!0;const{_parentage:p}=this;if(p)if(this._parentage=null,Array.isArray(p))for(const C of p)C.remove(this);else p.remove(this);const{initialTeardown:A}=this;if((0,i.m)(A))try{A()}catch(C){S=C instanceof h.B?C.errors:[C]}const{_teardowns:M}=this;if(M){this._teardowns=null;for(const C of M)try{D(C)}catch(N){S=null!=S?S:[],N instanceof h.B?S=[...S,...N.errors]:S.push(N)}}if(S)throw new h.B(S)}}add(S){var p;if(S&&S!==this)if(this.closed)D(S);else{if(S instanceof d){if(S.closed||S._hasParent(this))return;S._addParent(this)}(this._teardowns=null!==(p=this._teardowns)&&void 0!==p?p:[]).push(S)}}_hasParent(S){const{_parentage:p}=this;return p===S||Array.isArray(p)&&p.includes(S)}_addParent(S){const{_parentage:p}=this;this._parentage=Array.isArray(p)?(p.push(S),p):p?[p,S]:S}_removeParent(S){const{_parentage:p}=this;p===S?this._parentage=null:Array.isArray(p)&&(0,g.P)(p,S)}remove(S){const{_teardowns:p}=this;p&&(0,g.P)(p,S),S instanceof d&&S._removeParent(this)}}d.EMPTY=(()=>{const T=new d;return T.closed=!0,T})();const s=d.EMPTY;function v(T){return T instanceof d||T&&"closed"in T&&(0,i.m)(T.remove)&&(0,i.m)(T.add)&&(0,i.m)(T.unsubscribe)}function D(T){(0,i.m)(T)?T():T.unsubscribe()}},2416:(Be,y,c)=>{"use strict";c.d(y,{v:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(Be,y,c)=>{"use strict";c.d(y,{a:()=>p,l:()=>A});var i=c(9751),h=c(4742),g=c(188),d=c(4671),s=c(3268),v=c(3269),D=c(1810),T=c(5403),S=c(9672);function p(...C){const N=(0,v.yG)(C),$=(0,v.jO)(C),{args:de,keys:K}=(0,h.D)(C);if(0===de.length)return(0,g.D)([],N);const ce=new i.y(A(de,N,K?Oe=>(0,D.n)(K,Oe):d.y));return $?ce.pipe((0,s.Z)($)):ce}function A(C,N,$=d.y){return de=>{M(N,()=>{const{length:K}=C,ce=new Array(K);let Oe=K,me=K;for(let ye=0;ye<K;ye++)M(N,()=>{const X=(0,g.D)(C[ye],N);let ve=!1;X.subscribe((0,T.x)(de,Re=>{ce[ye]=Re,ve||(ve=!0,me--),me||de.next($(ce.slice()))},()=>{--Oe||de.complete()}))},de)},de)}}function M(C,N,$){C?(0,S.f)($,C,N):N()}},1350:(Be,y,c)=>{"use strict";c.d(y,{z:()=>d});var i=c(7886),h=c(3269),g=c(188);function d(...s){return(0,i.u)()((0,g.D)(s,(0,h.yG)(s)))}},9770:(Be,y,c)=>{"use strict";c.d(y,{P:()=>g});var i=c(9751),h=c(8421);function g(d){return new i.y(s=>{(0,h.Xf)(d()).subscribe(s)})}},515:(Be,y,c)=>{"use strict";c.d(y,{E:()=>h,c:()=>g});var i=c(9751);const h=new i.y(s=>s.complete());function g(s){return s?function d(s){return new i.y(v=>s.schedule(()=>v.complete()))}(s):h}},4128:(Be,y,c)=>{"use strict";c.d(y,{D:()=>T});var i=c(9751),h=c(4742),g=c(8421),d=c(3269),s=c(5403),v=c(3268),D=c(1810);function T(...S){const p=(0,d.jO)(S),{args:A,keys:M}=(0,h.D)(S),C=new i.y(N=>{const{length:$}=A;if(!$)return void N.complete();const de=new Array($);let K=$,ce=$;for(let Oe=0;Oe<$;Oe++){let me=!1;(0,g.Xf)(A[Oe]).subscribe((0,s.x)(N,ye=>{me||(me=!0,ce--),de[Oe]=ye},()=>K--,void 0,()=>{(!K||!me)&&(ce||N.next(M?(0,D.n)(M,de):de),N.complete())}))}});return p?C.pipe((0,v.Z)(p)):C}},188:(Be,y,c)=>{"use strict";c.d(y,{D:()=>g});var i=c(3762),h=c(8421);function g(d,s){return s?(0,i.x)(d,s):(0,h.Xf)(d)}},4968:(Be,y,c)=>{"use strict";c.d(y,{R:()=>p});var i=c(8421),h=c(9751),g=c(6099),d=c(1144),s=c(576),v=c(3268);const D=["addListener","removeListener"],T=["addEventListener","removeEventListener"],S=["on","off"];function p($,de,K,ce){if((0,s.m)(K)&&(ce=K,K=void 0),ce)return p($,de,K).pipe((0,v.Z)(ce));const[Oe,me]=function N($){return(0,s.m)($.addEventListener)&&(0,s.m)($.removeEventListener)}($)?T.map(ye=>X=>$[ye](de,X,K)):function M($){return(0,s.m)($.addListener)&&(0,s.m)($.removeListener)}($)?D.map(A($,de)):function C($){return(0,s.m)($.on)&&(0,s.m)($.off)}($)?S.map(A($,de)):[];if(!Oe&&(0,d.z)($))return(0,g.z)(ye=>p(ye,de,K))((0,i.Xf)($));if(!Oe)throw new TypeError("Invalid event target");return new h.y(ye=>{const X=(...ve)=>ye.next(1<ve.length?ve:ve[0]);return Oe(X),()=>me(X)})}function A($,de){return K=>ce=>$[K](de,ce)}},8421:(Be,y,c)=>{"use strict";c.d(y,{Xf:()=>C});var i=c(655),h=c(1144),g=c(8239),d=c(9751),s=c(3670),v=c(2206),D=c(4532),T=c(6495),S=c(3260),p=c(576),A=c(7849),M=c(8822);function C(ye){if(ye instanceof d.y)return ye;if(null!=ye){if((0,s.c)(ye))return function N(ye){return new d.y(X=>{const ve=ye[M.L]();if((0,p.m)(ve.subscribe))return ve.subscribe(X);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ye);if((0,h.z)(ye))return function $(ye){return new d.y(X=>{for(let ve=0;ve<ye.length&&!X.closed;ve++)X.next(ye[ve]);X.complete()})}(ye);if((0,g.t)(ye))return function de(ye){return new d.y(X=>{ye.then(ve=>{X.closed||(X.next(ve),X.complete())},ve=>X.error(ve)).then(null,A.h)})}(ye);if((0,v.D)(ye))return ce(ye);if((0,T.T)(ye))return function K(ye){return new d.y(X=>{for(const ve of ye)if(X.next(ve),X.closed)return;X.complete()})}(ye);if((0,S.L)(ye))return function Oe(ye){return ce((0,S.Q)(ye))}(ye)}throw(0,D.z)(ye)}function ce(ye){return new d.y(X=>{(function me(ye,X){var ve,Re,Qe,ot;return(0,i.__awaiter)(this,void 0,void 0,function*(){try{for(ve=(0,i.__asyncValues)(ye);!(Re=yield ve.next()).done;)if(X.next(Re.value),X.closed)return}catch(Ve){Qe={error:Ve}}finally{try{Re&&!Re.done&&(ot=ve.return)&&(yield ot.call(ve))}finally{if(Qe)throw Qe.error}}X.complete()})})(ye,X).catch(ve=>X.error(ve))})}},6451:(Be,y,c)=>{"use strict";c.d(y,{T:()=>v});var i=c(8189),h=c(8421),g=c(515),d=c(3269),s=c(188);function v(...D){const T=(0,d.yG)(D),S=(0,d._6)(D,1/0),p=D;return p.length?1===p.length?(0,h.Xf)(p[0]):(0,i.J)(S)((0,s.D)(p,T)):g.E}},9646:(Be,y,c)=>{"use strict";c.d(y,{of:()=>g});var i=c(3269),h=c(188);function g(...d){const s=(0,i.yG)(d);return(0,h.D)(d,s)}},2843:(Be,y,c)=>{"use strict";c.d(y,{_:()=>g});var i=c(9751),h=c(576);function g(d,s){const v=(0,h.m)(d)?d:()=>d,D=T=>T.error(v());return new i.y(s?T=>s.schedule(D,0,T):D)}},2805:(Be,y,c)=>{"use strict";c.d(y,{H:()=>s});var i=c(9751),h=c(4986),g=c(3532),d=c(1165);function s(v=0,D,T=h.P){let S=-1;return null!=D&&((0,g.K)(D)?T=D:S=D),new i.y(p=>{let A=(0,d.q)(v)?+v-T.now():v;A<0&&(A=0);let M=0;return T.schedule(function(){p.closed||(p.next(M++),0<=S?this.schedule(void 0,S):p.complete())},A)})}},5403:(Be,y,c)=>{"use strict";c.d(y,{x:()=>h,Q:()=>g});var i=c(930);function h(d,s,v,D,T){return new g(d,s,v,D,T)}class g extends i.Lv{constructor(s,v,D,T,S,p){super(s),this.onFinalize=S,this.shouldUnsubscribe=p,this._next=v?function(A){try{v(A)}catch(M){s.error(M)}}:super._next,this._error=T?function(A){try{T(A)}catch(M){s.error(M)}finally{this.unsubscribe()}}:super._error,this._complete=D?function(){try{D()}catch(A){s.error(A)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var s;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:v}=this;super.unsubscribe(),!v&&(null===(s=this.onFinalize)||void 0===s||s.call(this))}}}},5615:(Be,y,c)=>{"use strict";c.d(y,{U:()=>d});var i=c(4482),h=c(8421),g=c(5403);function d(s){return(0,i.e)((v,D)=>{let T=!1,S=null,p=null,A=!1;const M=()=>{if(null==p||p.unsubscribe(),p=null,T){T=!1;const N=S;S=null,D.next(N)}A&&D.complete()},C=()=>{p=null,A&&D.complete()};v.subscribe((0,g.x)(D,N=>{T=!0,S=N,p||(0,h.Xf)(s(N)).subscribe(p=(0,g.x)(D,M,C))},()=>{A=!0,(!T||!p||p.closed)&&D.complete()}))})}},453:(Be,y,c)=>{"use strict";c.d(y,{e:()=>d});var i=c(4986),h=c(5615),g=c(2805);function d(s,v=i.z){return(0,h.U)(()=>(0,g.H)(s,v))}},262:(Be,y,c)=>{"use strict";c.d(y,{K:()=>d});var i=c(8421),h=c(5403),g=c(4482);function d(s){return(0,g.e)((v,D)=>{let p,T=null,S=!1;T=v.subscribe((0,h.x)(D,void 0,void 0,A=>{p=(0,i.Xf)(s(A,d(s)(v))),T?(T.unsubscribe(),T=null,p.subscribe(D)):S=!0})),S&&(T.unsubscribe(),T=null,p.subscribe(D))})}},7886:(Be,y,c)=>{"use strict";c.d(y,{u:()=>h});var i=c(8189);function h(){return(0,i.J)(1)}},4351:(Be,y,c)=>{"use strict";c.d(y,{b:()=>g});var i=c(6099),h=c(576);function g(d,s){return(0,h.m)(s)?(0,i.z)(d,s,1):(0,i.z)(d,1)}},8372:(Be,y,c)=>{"use strict";c.d(y,{b:()=>d});var i=c(4986),h=c(4482),g=c(5403);function d(s,v=i.z){return(0,h.e)((D,T)=>{let S=null,p=null,A=null;const M=()=>{if(S){S.unsubscribe(),S=null;const N=p;p=null,T.next(N)}};function C(){const N=A+s,$=v.now();if($<N)return S=this.schedule(void 0,N-$),void T.add(S);M()}D.subscribe((0,g.x)(T,N=>{p=N,A=v.now(),S||(S=v.schedule(C,s),T.add(S))},()=>{M(),T.complete()},void 0,()=>{p=S=null}))})}},4326:(Be,y,c)=>{"use strict";c.d(y,{g:()=>d});var i=c(4986),h=c(1260),g=c(2805);function d(s,v=i.z){const D=(0,g.H)(s,v);return(0,h.j)(()=>D)}},1260:(Be,y,c)=>{"use strict";c.d(y,{j:()=>v});var i=c(1350),h=c(5698),g=c(8502),d=c(9718),s=c(6099);function v(D,T){return T?S=>(0,i.z)(T.pipe((0,h.q)(1),(0,g.l)()),S.pipe(v(D))):(0,s.z)((S,p)=>D(S,p).pipe((0,h.q)(1),(0,d.h)(S)))}},1884:(Be,y,c)=>{"use strict";c.d(y,{x:()=>d});var i=c(4671),h=c(4482),g=c(5403);function d(v,D=i.y){return v=null!=v?v:s,(0,h.e)((T,S)=>{let p,A=!0;T.subscribe((0,g.x)(S,M=>{const C=D(M);(A||!v(p,C))&&(A=!1,p=C,S.next(M))}))})}function s(v,D){return v===D}},9300:(Be,y,c)=>{"use strict";c.d(y,{h:()=>g});var i=c(4482),h=c(5403);function g(d,s){return(0,i.e)((v,D)=>{let T=0;v.subscribe((0,h.x)(D,S=>d.call(s,S,T++)&&D.next(S)))})}},8746:(Be,y,c)=>{"use strict";c.d(y,{x:()=>h});var i=c(4482);function h(g){return(0,i.e)((d,s)=>{try{d.subscribe(s)}finally{s.add(g)}})}},8502:(Be,y,c)=>{"use strict";c.d(y,{l:()=>d});var i=c(4482),h=c(5403),g=c(5032);function d(){return(0,i.e)((s,v)=>{s.subscribe((0,h.x)(v,g.Z))})}},4004:(Be,y,c)=>{"use strict";c.d(y,{U:()=>g});var i=c(4482),h=c(5403);function g(d,s){return(0,i.e)((v,D)=>{let T=0;v.subscribe((0,h.x)(D,S=>{D.next(d.call(s,S,T++))}))})}},9718:(Be,y,c)=>{"use strict";c.d(y,{h:()=>h});var i=c(4004);function h(g){return(0,i.U)(()=>g)}},8189:(Be,y,c)=>{"use strict";c.d(y,{J:()=>g});var i=c(6099),h=c(4671);function g(d=1/0){return(0,i.z)(h.y,d)}},2733:(Be,y,c)=>{"use strict";c.d(y,{p:()=>d});var i=c(8421),h=c(9672),g=c(5403);function d(s,v,D,T,S,p,A,M){const C=[];let N=0,$=0,de=!1;const K=()=>{de&&!C.length&&!N&&v.complete()},ce=me=>N<T?Oe(me):C.push(me),Oe=me=>{p&&v.next(me),N++;let ye=!1;(0,i.Xf)(D(me,$++)).subscribe((0,g.x)(v,X=>{null==S||S(X),p?ce(X):v.next(X)},()=>{ye=!0},void 0,()=>{if(ye)try{for(N--;C.length&&N<T;){const X=C.shift();A?(0,h.f)(v,A,()=>Oe(X)):Oe(X)}K()}catch(X){v.error(X)}}))};return s.subscribe((0,g.x)(v,ce,()=>{de=!0,K()})),()=>{null==M||M()}}},6099:(Be,y,c)=>{"use strict";c.d(y,{z:()=>v});var i=c(4004),h=c(8421),g=c(4482),d=c(2733),s=c(576);function v(D,T,S=1/0){return(0,s.m)(T)?v((p,A)=>(0,i.U)((M,C)=>T(p,M,A,C))((0,h.Xf)(D(p,A))),S):("number"==typeof T&&(S=T),(0,g.e)((p,A)=>(0,d.p)(p,A,D,S)))}},5363:(Be,y,c)=>{"use strict";c.d(y,{Q:()=>d});var i=c(9672),h=c(4482),g=c(5403);function d(s,v=0){return(0,h.e)((D,T)=>{D.subscribe((0,g.x)(T,S=>(0,i.f)(T,s,()=>T.next(S),v),()=>(0,i.f)(T,s,()=>T.complete(),v),S=>(0,i.f)(T,s,()=>T.error(S),v)))})}},3099:(Be,y,c)=>{"use strict";c.d(y,{B:()=>v});var i=c(188),h=c(5698),g=c(6758),d=c(930),s=c(4482);function v(T={}){const{connector:S=(()=>new g.x),resetOnError:p=!0,resetOnComplete:A=!0,resetOnRefCountZero:M=!0}=T;return C=>{let N=null,$=null,de=null,K=0,ce=!1,Oe=!1;const me=()=>{null==$||$.unsubscribe(),$=null},ye=()=>{me(),N=de=null,ce=Oe=!1},X=()=>{const ve=N;ye(),null==ve||ve.unsubscribe()};return(0,s.e)((ve,Re)=>{K++,!Oe&&!ce&&me();const Qe=de=null!=de?de:S();Re.add(()=>{K--,0===K&&!Oe&&!ce&&($=D(X,M))}),Qe.subscribe(Re),N||(N=new d.Hp({next:ot=>Qe.next(ot),error:ot=>{Oe=!0,me(),$=D(ye,p,ot),Qe.error(ot)},complete:()=>{ce=!0,me(),$=D(ye,A),Qe.complete()}}),(0,i.D)(ve).subscribe(N))})(C)}}function D(T,S,...p){return!0===S?(T(),null):!1===S?null:S(...p).pipe((0,h.q)(1)).subscribe(()=>T())}},5684:(Be,y,c)=>{"use strict";c.d(y,{T:()=>h});var i=c(9300);function h(g){return(0,i.h)((d,s)=>g<=s)}},8675:(Be,y,c)=>{"use strict";c.d(y,{O:()=>d});var i=c(1350),h=c(3269),g=c(4482);function d(...s){const v=(0,h.yG)(s);return(0,g.e)((D,T)=>{(v?(0,i.z)(s,D,v):(0,i.z)(s,D)).subscribe(T)})}},9468:(Be,y,c)=>{"use strict";c.d(y,{R:()=>h});var i=c(4482);function h(g,d=0){return(0,i.e)((s,v)=>{v.add(g.schedule(()=>s.subscribe(v),d))})}},3900:(Be,y,c)=>{"use strict";c.d(y,{w:()=>d});var i=c(8421),h=c(4482),g=c(5403);function d(s,v){return(0,h.e)((D,T)=>{let S=null,p=0,A=!1;const M=()=>A&&!S&&T.complete();D.subscribe((0,g.x)(T,C=>{null==S||S.unsubscribe();let N=0;const $=p++;(0,i.Xf)(s(C,$)).subscribe(S=(0,g.x)(T,de=>T.next(v?v(C,de,$,N++):de),()=>{S=null,M()}))},()=>{A=!0,M()}))})}},5698:(Be,y,c)=>{"use strict";c.d(y,{q:()=>d});var i=c(515),h=c(4482),g=c(5403);function d(s){return s<=0?()=>i.E:(0,h.e)((v,D)=>{let T=0;v.subscribe((0,g.x)(D,S=>{++T<=s&&(D.next(S),s<=T&&D.complete())}))})}},2722:(Be,y,c)=>{"use strict";c.d(y,{R:()=>s});var i=c(4482),h=c(5403),g=c(8421),d=c(5032);function s(v){return(0,i.e)((D,T)=>{(0,g.Xf)(v).subscribe((0,h.x)(T,()=>T.complete(),d.Z)),!T.closed&&D.subscribe(T)})}},8505:(Be,y,c)=>{"use strict";c.d(y,{b:()=>s});var i=c(576),h=c(4482),g=c(5403),d=c(4671);function s(v,D,T){const S=(0,i.m)(v)||D||T?{next:v,error:D,complete:T}:v;return S?(0,h.e)((p,A)=>{var M;null===(M=S.subscribe)||void 0===M||M.call(S);let C=!0;p.subscribe((0,g.x)(A,N=>{var $;null===($=S.next)||void 0===$||$.call(S,N),A.next(N)},()=>{var N;C=!1,null===(N=S.complete)||void 0===N||N.call(S),A.complete()},N=>{var $;C=!1,null===($=S.error)||void 0===$||$.call(S,N),A.error(N)},()=>{var N,$;C&&(null===(N=S.unsubscribe)||void 0===N||N.call(S)),null===($=S.finalize)||void 0===$||$.call(S)}))}):d.y}},6340:(Be,y,c)=>{"use strict";c.d(y,{Q:()=>s});var i=c(9751),h=c(2202),g=c(576),d=c(9672);function s(v,D){return new i.y(T=>{let S;return(0,d.f)(T,D,()=>{S=v[h.h](),(0,d.f)(T,D,()=>{let p,A;try{({value:p,done:A}=S.next())}catch(M){return void T.error(M)}A?T.complete():T.next(p)},0,!0)}),()=>(0,g.m)(null==S?void 0:S.return)&&S.return()})}},3762:(Be,y,c)=>{"use strict";c.d(y,{x:()=>Oe});var i=c(8421),h=c(5363),g=c(9468),v=c(9751),T=c(6340),S=c(9672);function p(me,ye){if(!me)throw new Error("Iterable cannot be null");return new v.y(X=>{(0,S.f)(X,ye,()=>{const ve=me[Symbol.asyncIterator]();(0,S.f)(X,ye,()=>{ve.next().then(Re=>{Re.done?X.complete():X.next(Re.value)})},0,!0)})})}var A=c(3670),M=c(8239),C=c(1144),N=c(6495),$=c(2206),de=c(4532),K=c(3260);function Oe(me,ye){if(null!=me){if((0,A.c)(me))return function d(me,ye){return(0,i.Xf)(me).pipe((0,g.R)(ye),(0,h.Q)(ye))}(me,ye);if((0,C.z)(me))return function D(me,ye){return new v.y(X=>{let ve=0;return ye.schedule(function(){ve===me.length?X.complete():(X.next(me[ve++]),X.closed||this.schedule())})})}(me,ye);if((0,M.t)(me))return function s(me,ye){return(0,i.Xf)(me).pipe((0,g.R)(ye),(0,h.Q)(ye))}(me,ye);if((0,$.D)(me))return p(me,ye);if((0,N.T)(me))return(0,T.Q)(me,ye);if((0,K.L)(me))return function ce(me,ye){return p((0,K.Q)(me),ye)}(me,ye)}throw(0,de.z)(me)}},4408:(Be,y,c)=>{"use strict";c.d(y,{o:()=>s});var i=c(6921);class h extends i.w0{constructor(D,T){super()}schedule(D,T=0){return this}}const g={setInterval(...v){const{delegate:D}=g;return((null==D?void 0:D.setInterval)||setInterval)(...v)},clearInterval(v){const{delegate:D}=g;return((null==D?void 0:D.clearInterval)||clearInterval)(v)},delegate:void 0};var d=c(8737);class s extends h{constructor(D,T){super(D,T),this.scheduler=D,this.work=T,this.pending=!1}schedule(D,T=0){if(this.closed)return this;this.state=D;const S=this.id,p=this.scheduler;return null!=S&&(this.id=this.recycleAsyncId(p,S,T)),this.pending=!0,this.delay=T,this.id=this.id||this.requestAsyncId(p,this.id,T),this}requestAsyncId(D,T,S=0){return g.setInterval(D.flush.bind(D,this),S)}recycleAsyncId(D,T,S=0){if(null!=S&&this.delay===S&&!1===this.pending)return T;g.clearInterval(T)}execute(D,T){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const S=this._execute(D,T);if(S)return S;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(D,T){let p,S=!1;try{this.work(D)}catch(A){S=!0,p=A||new Error("Scheduled action threw falsy error")}if(S)return this.unsubscribe(),p}unsubscribe(){if(!this.closed){const{id:D,scheduler:T}=this,{actions:S}=T;this.work=this.state=this.scheduler=null,this.pending=!1,(0,d.P)(S,this),null!=D&&(this.id=this.recycleAsyncId(T,D,null)),this.delay=null,super.unsubscribe()}}}},8950:(Be,y,c)=>{"use strict";c.d(y,{v:()=>h});var i=c(6646);class h extends i.b{constructor(d,s=i.b.now){super(d,s),this.actions=[],this._active=!1,this._scheduled=void 0}flush(d){const{actions:s}=this;if(this._active)return void s.push(d);let v;this._active=!0;do{if(v=d.execute(d.state,d.delay))break}while(d=s.shift());if(this._active=!1,v){for(;d=s.shift();)d.unsubscribe();throw v}}}},29:(Be,y,c)=>{"use strict";c.d(y,{r:()=>D,Z:()=>v});var i=c(4408),h=c(3399),d=c(8950);const v=new class s extends d.v{flush(S){this._active=!0;const p=this._scheduled;this._scheduled=void 0;const{actions:A}=this;let M;S=S||A.shift();do{if(M=S.execute(S.state,S.delay))break}while((S=A[0])&&S.id===p&&A.shift());if(this._active=!1,M){for(;(S=A[0])&&S.id===p&&A.shift();)S.unsubscribe();throw M}}}(class g extends i.o{constructor(S,p){super(S,p),this.scheduler=S,this.work=p}requestAsyncId(S,p,A=0){return null!==A&&A>0?super.requestAsyncId(S,p,A):(S.actions.push(this),S._scheduled||(S._scheduled=h.l.requestAnimationFrame(()=>S.flush(void 0))))}recycleAsyncId(S,p,A=0){if(null!=A&&A>0||null==A&&this.delay>0)return super.recycleAsyncId(S,p,A);S.actions.some(M=>M.id===p)||(h.l.cancelAnimationFrame(p),S._scheduled=void 0)}}),D=v},3399:(Be,y,c)=>{"use strict";c.d(y,{l:()=>h});var i=c(6921);const h={schedule(g){let d=requestAnimationFrame,s=cancelAnimationFrame;const{delegate:v}=h;v&&(d=v.requestAnimationFrame,s=v.cancelAnimationFrame);const D=d(T=>{s=void 0,g(T)});return new i.w0(()=>null==s?void 0:s(D))},requestAnimationFrame(...g){const{delegate:d}=h;return((null==d?void 0:d.requestAnimationFrame)||requestAnimationFrame)(...g)},cancelAnimationFrame(...g){const{delegate:d}=h;return((null==d?void 0:d.cancelAnimationFrame)||cancelAnimationFrame)(...g)},delegate:void 0}},3101:(Be,y,c)=>{"use strict";c.d(y,{e:()=>$,E:()=>N});var i=c(4408);let g,h=1;const d={};function s(de){return de in d&&(delete d[de],!0)}const v={setImmediate(de){const K=h++;return d[K]=!0,g||(g=Promise.resolve()),g.then(()=>s(K)&&de()),K},clearImmediate(de){s(de)}},{setImmediate:T,clearImmediate:S}=v,p={setImmediate(...de){const{delegate:K}=p;return((null==K?void 0:K.setImmediate)||T)(...de)},clearImmediate(de){const{delegate:K}=p;return((null==K?void 0:K.clearImmediate)||S)(de)},delegate:void 0};var M=c(8950);const N=new class C extends M.v{flush(K){this._active=!0;const ce=this._scheduled;this._scheduled=void 0;const{actions:Oe}=this;let me;K=K||Oe.shift();do{if(me=K.execute(K.state,K.delay))break}while((K=Oe[0])&&K.id===ce&&Oe.shift());if(this._active=!1,me){for(;(K=Oe[0])&&K.id===ce&&Oe.shift();)K.unsubscribe();throw me}}}(class A extends i.o{constructor(K,ce){super(K,ce),this.scheduler=K,this.work=ce}requestAsyncId(K,ce,Oe=0){return null!==Oe&&Oe>0?super.requestAsyncId(K,ce,Oe):(K.actions.push(this),K._scheduled||(K._scheduled=p.setImmediate(K.flush.bind(K,void 0))))}recycleAsyncId(K,ce,Oe=0){if(null!=Oe&&Oe>0||null==Oe&&this.delay>0)return super.recycleAsyncId(K,ce,Oe);K.actions.some(me=>me.id===ce)||(p.clearImmediate(ce),K._scheduled=void 0)}}),$=N},4986:(Be,y,c)=>{"use strict";c.d(y,{z:()=>g,P:()=>d});var i=c(4408);const g=new(c(8950).v)(i.o),d=g},6063:(Be,y,c)=>{"use strict";c.d(y,{l:()=>i});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},3410:(Be,y,c)=>{"use strict";c.d(y,{z:()=>i});const i={setTimeout(...h){const{delegate:g}=i;return((null==g?void 0:g.setTimeout)||setTimeout)(...h)},clearTimeout(h){const{delegate:g}=i;return((null==g?void 0:g.clearTimeout)||clearTimeout)(h)},delegate:void 0}},2202:(Be,y,c)=>{"use strict";c.d(y,{h:()=>h});const h=function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Be,y,c)=>{"use strict";c.d(y,{L:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},7448:(Be,y,c)=>{"use strict";c.d(y,{N:()=>h});const h=(0,c(3888).d)(g=>function(){g(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})},7896:(Be,y,c)=>{"use strict";c.d(y,{B:()=>h});const h=(0,c(3888).d)(g=>function(s){g(this),this.message=s?`${s.length} errors occurred during unsubscription:\n${s.map((v,D)=>`${D+1}) ${v.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=s})},3269:(Be,y,c)=>{"use strict";c.d(y,{jO:()=>d,yG:()=>s,_6:()=>v});var i=c(576),h=c(3532);function g(D){return D[D.length-1]}function d(D){return(0,i.m)(g(D))?D.pop():void 0}function s(D){return(0,h.K)(g(D))?D.pop():void 0}function v(D,T){return"number"==typeof g(D)?D.pop():T}},4742:(Be,y,c)=>{"use strict";c.d(y,{D:()=>s});const{isArray:i}=Array,{getPrototypeOf:h,prototype:g,keys:d}=Object;function s(D){if(1===D.length){const T=D[0];if(i(T))return{args:T,keys:null};if(function v(D){return D&&"object"==typeof D&&h(D)===g}(T)){const S=d(T);return{args:S.map(p=>T[p]),keys:S}}}return{args:D,keys:null}}},8737:(Be,y,c)=>{"use strict";function i(h,g){if(h){const d=h.indexOf(g);0<=d&&h.splice(d,1)}}c.d(y,{P:()=>i})},3888:(Be,y,c)=>{"use strict";function i(h){const d=h(s=>{Error.call(s),s.stack=(new Error).stack});return d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d}c.d(y,{d:()=>i})},1810:(Be,y,c)=>{"use strict";function i(h,g){return h.reduce((d,s,v)=>(d[s]=g[v],d),{})}c.d(y,{n:()=>i})},2806:(Be,y,c)=>{"use strict";c.d(y,{x:()=>g,O:()=>d});var i=c(2416);let h=null;function g(s){if(i.v.useDeprecatedSynchronousErrorHandling){const v=!h;if(v&&(h={errorThrown:!1,error:null}),s(),v){const{errorThrown:D,error:T}=h;if(h=null,D)throw T}}else s()}function d(s){i.v.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=s)}},9672:(Be,y,c)=>{"use strict";function i(h,g,d,s=0,v=!1){const D=g.schedule(function(){d(),v?h.add(this.schedule(null,s)):this.unsubscribe()},s);if(h.add(D),!v)return D}c.d(y,{f:()=>i})},4671:(Be,y,c)=>{"use strict";function i(h){return h}c.d(y,{y:()=>i})},1144:(Be,y,c)=>{"use strict";c.d(y,{z:()=>i});const i=h=>h&&"number"==typeof h.length&&"function"!=typeof h},2206:(Be,y,c)=>{"use strict";c.d(y,{D:()=>h});var i=c(576);function h(g){return Symbol.asyncIterator&&(0,i.m)(null==g?void 0:g[Symbol.asyncIterator])}},1165:(Be,y,c)=>{"use strict";function i(h){return h instanceof Date&&!isNaN(h)}c.d(y,{q:()=>i})},576:(Be,y,c)=>{"use strict";function i(h){return"function"==typeof h}c.d(y,{m:()=>i})},3670:(Be,y,c)=>{"use strict";c.d(y,{c:()=>g});var i=c(8822),h=c(576);function g(d){return(0,h.m)(d[i.L])}},6495:(Be,y,c)=>{"use strict";c.d(y,{T:()=>g});var i=c(2202),h=c(576);function g(d){return(0,h.m)(null==d?void 0:d[i.h])}},5191:(Be,y,c)=>{"use strict";c.d(y,{b:()=>g});var i=c(9751),h=c(576);function g(d){return!!d&&(d instanceof i.y||(0,h.m)(d.lift)&&(0,h.m)(d.subscribe))}},8239:(Be,y,c)=>{"use strict";c.d(y,{t:()=>h});var i=c(576);function h(g){return(0,i.m)(null==g?void 0:g.then)}},3260:(Be,y,c)=>{"use strict";c.d(y,{Q:()=>g,L:()=>d});var i=c(655),h=c(576);function g(s){return(0,i.__asyncGenerator)(this,arguments,function*(){const D=s.getReader();try{for(;;){const{value:T,done:S}=yield(0,i.__await)(D.read());if(S)return yield(0,i.__await)(void 0);yield yield(0,i.__await)(T)}}finally{D.releaseLock()}})}function d(s){return(0,h.m)(null==s?void 0:s.getReader)}},3532:(Be,y,c)=>{"use strict";c.d(y,{K:()=>h});var i=c(576);function h(g){return g&&(0,i.m)(g.schedule)}},4482:(Be,y,c)=>{"use strict";c.d(y,{A:()=>h,e:()=>g});var i=c(576);function h(d){return(0,i.m)(null==d?void 0:d.lift)}function g(d){return s=>{if(h(s))return s.lift(function(v){try{return d(v,this)}catch(D){this.error(D)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Be,y,c)=>{"use strict";c.d(y,{Z:()=>d});var i=c(4004);const{isArray:h}=Array;function d(s){return(0,i.U)(v=>function g(s,v){return h(v)?s(...v):s(v)}(s,v))}},5032:(Be,y,c)=>{"use strict";function i(){}c.d(y,{Z:()=>i})},9635:(Be,y,c)=>{"use strict";c.d(y,{z:()=>h,U:()=>g});var i=c(4671);function h(...d){return g(d)}function g(d){return 0===d.length?i.y:1===d.length?d[0]:function(v){return d.reduce((D,T)=>T(D),v)}}},7849:(Be,y,c)=>{"use strict";c.d(y,{h:()=>g});var i=c(2416),h=c(3410);function g(d){h.z.setTimeout(()=>{const{onUnhandledError:s}=i.v;if(!s)throw d;s(d)})}},4532:(Be,y,c)=>{"use strict";function i(h){return new TypeError(`You provided ${null!==h&&"object"==typeof h?"an invalid object":`'${h}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}c.d(y,{z:()=>i})},3642:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.generateRxMethod=y.generateMethodSignature=y.generateErrorClass=y.generateClass=y.generateErrorType=y.generateEnum=y.generateJsonRepresentation=y.mangle=y.generateSwiftTypeName=void 0;const i=c(6676);function h(C){switch(C.constructor){case i.IntPrimitiveType:return"Int";case i.UIntPrimitiveType:return"UInt";case i.MoneyPrimitiveType:return"Int64";case i.FloatPrimitiveType:return"Double";case i.BigIntPrimitiveType:return"Decimal";case i.DatePrimitiveType:case i.DateTimePrimitiveType:return"Date";case i.BoolPrimitiveType:return"Bool";case i.BytesPrimitiveType:return"Data";case i.StringPrimitiveType:case i.CpfPrimitiveType:case i.CnpjPrimitiveType:case i.EmailPrimitiveType:case i.HtmlPrimitiveType:case i.UuidPrimitiveType:case i.HexPrimitiveType:case i.UrlPrimitiveType:case i.Base64PrimitiveType:case i.XmlPrimitiveType:return"String";case i.VoidPrimitiveType:return"Void";case i.JsonPrimitiveType:return"AnyCodable";case i.OptionalType:return`${h(C.base)}?`;case i.ArrayType:return`[${h(C.base)}]`;case i.StructType:case i.EnumType:return`API.${C.name}`;case i.TypeReference:return h(C.type);default:throw new Error(`BUG: generateSwiftTypeName with ${C.constructor.name}`)}}function g(C){return["associatedtype","deinit","extension","inout","let","in","as","break","class","continue","protocol","Protocol","rethrows","throws","static","do","else","false","for","guard","func","if","internal","struct","subscript","repeat","is","nil","Any","associativity","convenience","import","return","super","self","Self","throw","true","try","typealias","switch","case","default","defer","fallthrough","optional","var","while","catch","dynamic","didSet","Set","fileprivate","lazy","get","init","required","right","param","property","receiver","set","left","where","final","infix","indirect","open","operator","override","private","postfix","public","mutating","none","nonmutating","precedence","prefix","Type","unowned","weak","willSet"].includes(C)?`_${C}`:C}function d(C,N){switch(C.constructor){case i.StringPrimitiveType:case i.CpfPrimitiveType:case i.CnpjPrimitiveType:case i.EmailPrimitiveType:case i.HtmlPrimitiveType:case i.UrlPrimitiveType:case i.UuidPrimitiveType:case i.HexPrimitiveType:case i.Base64PrimitiveType:case i.XmlPrimitiveType:case i.IntPrimitiveType:case i.UIntPrimitiveType:case i.MoneyPrimitiveType:case i.FloatPrimitiveType:case i.BoolPrimitiveType:return`${N}`;case i.OptionalType:return`${N} == nil ? nil : ${d(C.base,`${N}!`)}`;case i.DatePrimitiveType:return`SdkgenHelper.encodeDate(date: ${N})`;case i.DateTimePrimitiveType:return`SdkgenHelper.encodeDateTime(date: ${N})`;case i.EnumType:return`${N}.rawValue`;case i.TypeReference:return`${d(C.type,`${N}`)}`;case i.StructType:return`${N}.toJSON()`;case i.ArrayType:return`${N}.map({ return ${d(C.base,"$0")} })`;case i.JsonPrimitiveType:return`try? ${N}.toJson()`;case i.VoidPrimitiveType:return"nil";case i.BytesPrimitiveType:return`${N}.base64EncodedString()`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${C.constructor.name}`)}}y.generateSwiftTypeName=h,y.mangle=g,y.generateJsonRepresentation=d,y.generateEnum=function s(C){let N=` public enum ${C.name}: String, Codable {\n`;return N+=C.values.map($=>` case ${g($.value)} = "${$.value}"`).join("\n"),N+="\n }\n",N},y.generateErrorType=function v(C){let N=" public enum ErrorType: String, Codable {\n";return N+=C.map($=>` case ${g($)} = "${$}"`).join("\n"),N+="\n }\n",N},y.generateClass=function S(C){return` public struct ${C.name}: Codable {\n${C.fields.map(N=>` var ${g(N.name)}: ${h(N.type)}`).join("\n")}\n\n${function D(C){let N=" init(";return N+=C.fields.map($=>`${g($.name)}: ${h($.type)}`).join(", "),N+=") {\n",N+=C.fields.map($=>` self.${g($.name)} = ${g($.name)}`).join("\n"),N+="\n }\n",N}(C)}\n${function T(C){let N=" func toJSON() -> [String: Any] {\n";return N+=" var json = [String: Any]()\n",N+=C.fields.map($=>` json["${g($.name)}"] = ${d($.type,$.name)}`).join("\n"),N+="\n return json",N+="\n }\n",N}(C)}\n }\n`},y.generateErrorClass=function p(){return" public class Failure: Error {\n var message: String?\n var code: Int?\n var type: ErrorType?\n \n init(message: String?, code: Int?, type: String?) {\n self.message = message\n self.code = code\n if let typeString = type {\n self.type = ErrorType(rawValue: typeString) ?? nil\n }\n }\n }\n"},y.generateMethodSignature=function A(C){const N=C.args.map($=>`${g($.name)}: ${h($.type)}`).concat(["timeoutSeconds: Double?",`callback: ((_ result: ${C.returnType instanceof i.VoidPrimitiveType?"API.Result<API.NoReply>":`API.Result<${h(C.returnType)}>`}) -> Void)?`]);return` func ${g(C.name)}(${N.join(", ")})`},y.generateRxMethod=function M(C){const N=C.args.map(de=>`${g(de.name)}: ${h(de.type)}`).concat(["timeoutSeconds: Double? = nil"]);let $=` static func ${g(C.name)}(${N.join(", ")}) -> ${C.returnType instanceof i.VoidPrimitiveType?"Observable<API.Result<API.NoReply>>":`Observable<API.Result<${h(C.returnType)}>>`} {\n`;return $+=" return Observable.create { observer -> Disposable in\n",$+=` API.calls.${g(C.name)}(${C.args.map(de=>`${g(de.name)}: ${g(de.name)}`).concat(["timeoutSeconds: timeoutSeconds"]).join(", ")}) { result in \n`,$+=" observer.on(.next(result))\n",$+=" observer.on(.completed)\n",$+=" }\n",$+=" return Disposables.create()\n",$+=" }\n",$+=" }\n",$}},7295:function(Be,y,c){"use strict";var i=this&&this.__createBinding||(Object.create?function(g,d,s,v){void 0===v&&(v=s);var D=Object.getOwnPropertyDescriptor(d,s);(!D||("get"in D?!d.__esModule:D.writable||D.configurable))&&(D={enumerable:!0,get:function(){return d[s]}}),Object.defineProperty(g,v,D)}:function(g,d,s,v){void 0===v&&(v=s),g[v]=d[s]}),h=this&&this.__exportStar||function(g,d){for(var s in g)"default"!==s&&!Object.prototype.hasOwnProperty.call(d,s)&&i(d,g,s)};Object.defineProperty(y,"__esModule",{value:!0}),h(c(7636),y)},7636:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.generateSwiftClientSource=void 0;const i=c(6676),h=c(3642);y.generateSwiftClientSource=function g(d,s){let v="import Foundation\nimport SdkgenRuntime\n";v+=s?"import RxSwift\nimport RxCocoa\n\n":"\n",v+="protocol APICallsProtocol {\n",v+=d.operations.filter(S=>S.annotations.every(p=>!(p instanceof i.HiddenAnnotation))).map(S=>`${(0,h.generateMethodSignature)(S)}`).join("\n"),v+="\n}\n\n",v+='class API: SdkgenResponse {\n\n static var calls: APICallsProtocol = Calls(baseUrl: "")\n static var baseUrl: String? {\n didSet {\n self.calls = Calls(baseUrl: baseUrl ?? "")\n }\n }\n \n override init() {\n super.init()\n }\n\n';for(const S of d.enumTypes)v+=(0,h.generateEnum)(S),v+="\n";for(const S of d.structTypes)v+=(0,h.generateClass)(S),v+="\n";const D=[],T=new i.ErrorNode("Connection",new i.VoidPrimitiveType);D.push(T.name);for(const S of d.errors)D.push(S.name);return D.length>0&&(v+=(0,h.generateErrorType)(D),v+="\n"),v+=(0,h.generateErrorClass)(),v+="\n",v+=" public enum Result<T> {\n case success(T)\n case failure(Failure)\n }\n\n",v+=" public class Calls: SdkgenHttpClient, APICallsProtocol {\n\n override init(baseUrl: String) {\n super.init(baseUrl: baseUrl)\n }\n\n",v+=d.operations.filter(S=>S.annotations.every(p=>!(p instanceof i.HiddenAnnotation))).map(S=>{let p="";return p+=` ${(0,h.generateMethodSignature)(S)} {\n`,S.args.length>0?(p+=" var jsonArgs = [String: Any]()\n",p+=S.args.map(A=>` jsonArgs["${(0,h.mangle)(A.name)}"] = ${(0,h.generateJsonRepresentation)(A.type,(0,h.mangle)(A.name))}`).join("\n")):p+=" let jsonArgs = [String: Any]()",p+="\n\n",p+=` request("${S.name}", jsonArgs, timeoutSeconds, completion: { (value: ${S.returnType instanceof i.VoidPrimitiveType?"API.NoReply":(0,h.generateSwiftTypeName)(S.returnType)}) in\n`,p+=" callback?(API.Result.success(value))\n",p+=" }, onError: { error in\n",p+=" callback?(API.Result.failure(API.Failure(message: error.message, code: error.code, type: error.type)))\n",p+=" })",p+="\n }\n",p}).join("\n"),v+=" }\n",v+="}\n",s&&(v+="\n",v+="extension API: ReactiveCompatible {}\n\n",v+="extension Reactive where Base: API {\n",v+=d.operations.filter(S=>S.annotations.every(p=>!(p instanceof i.HiddenAnnotation))).map(S=>`${(0,h.generateRxMethod)(S)}`).join("\n"),v+="}\n"),v}},8173:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.generateBrowserClientSource=void 0;const i=c(6676),h=c(5596);y.generateBrowserClientSource=function g(d){let s="";s+=`/* eslint-disable */\nimport { SdkgenError${d.errors.some(D=>!(D.dataType instanceof i.VoidPrimitiveType))?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/browser-runtime";\n\n`;for(const D of d.enumTypes)s+=(0,h.generateTypescriptEnum)(D),s+="\n";for(const D of d.structTypes)s+=(0,h.generateTypescriptInterface)(D,!0),s+="\n";for(const D of d.errors)s+=(0,h.generateTypescriptErrorClass)(D,!0),s+="\n";return s+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${d.operations.filter(D=>D.annotations.every(T=>!(T instanceof i.HiddenAnnotation))).map(D=>`\n ${D.name}(args${0===D.args.length?"?":""}: {${D.args.map(T=>`${T.name}${T.type.name.endsWith("?")?"?":""}: ${(0,h.generateTypescriptTypeName)(T.type,!0)}`).join(", ")}}): Promise<${(0,h.generateTypescriptTypeName)(D.returnType,!0)}> { return this.makeRequest("${D.name}", args || {}); }`).join("")}\n}\n\n`,s+=`const errClasses = {\n${d.errors.map(D=>` ${D.name}`).join(",\n")}\n};\n\n`,s+=`const astJson = ${JSON.stringify((0,i.astToJson)(d),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,s}},5596:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.clearForLogging=y.generateTypescriptErrorClass=y.generateTypescriptEnum=y.generateTypescriptInterface=y.generateTypescriptTypeName=void 0;const i=c(6676);function h(D,T){switch(D.constructor){case i.IntPrimitiveType:case i.UIntPrimitiveType:case i.MoneyPrimitiveType:case i.FloatPrimitiveType:return"number";case i.BigIntPrimitiveType:return"bigint";case i.DatePrimitiveType:case i.DateTimePrimitiveType:return"Date";case i.BoolPrimitiveType:return"boolean";case i.BytesPrimitiveType:return T?"ArrayBuffer":"Buffer";case i.StringPrimitiveType:case i.CpfPrimitiveType:case i.CnpjPrimitiveType:case i.EmailPrimitiveType:case i.HtmlPrimitiveType:case i.UrlPrimitiveType:case i.UuidPrimitiveType:case i.HexPrimitiveType:case i.Base64PrimitiveType:case i.XmlPrimitiveType:return"string";case i.VoidPrimitiveType:return"void";case i.JsonPrimitiveType:return"any";case i.OptionalType:return`${h(D.base,T)} | null`;case i.ArrayType:{const{base:S}=D,p=h(S,T);return S instanceof i.OptionalType?`(${p})[]`:`${p}[]`}case i.StructType:case i.EnumType:return D.name;case i.TypeReference:return h(D.type,T);default:throw new Error(`BUG: generateTypescriptTypeName with ${D.constructor.name}`)}}y.generateTypescriptTypeName=h,y.generateTypescriptInterface=function g(D,T){return`export interface ${D.name} {\n${D.fields.map(S=>` ${S.name}: ${h(S.type,T)}`).join("\n")}\n}\n`},y.generateTypescriptEnum=function d(D){return D.hasStructValues?`export type ${D.name} = ${D.values.map(T=>T.struct?`({tag: "${T.value}"} & ${T.struct.name})`:`{tag: "${T.value}"}`).join(" | ")};\n`:`export type ${D.name} = ${D.values.map(T=>`"${T.value}"`).join(" | ")};\n`},y.generateTypescriptErrorClass=function s(D,T){return`export class ${D.name} extends ${D.dataType instanceof i.VoidPrimitiveType?"SdkgenError":`SdkgenErrorWithData<${h(D.dataType,T)}>`} {}\n`},y.clearForLogging=function v(D,T){switch(T.constructor){case i.TypeReference:return v(D,T.type);case i.OptionalType:{const S=v(D,T.base);return S?`if (${D} !== null && ${D} !== undefined) { ${S} }`:""}case i.ArrayType:{const S=v("el",T.base);return S?`for (const el of ${D}) { ${S} }`:""}case i.StructType:{const S=[];for(const p of T.fields)if(p.secret)S.push(`${D}.${p.name} = "<secret>";`);else{const A=v(`${D}.${p.name}`,p.type);A&&S.push(A)}return S.join(" ")}default:return""}}},2911:function(Be,y,c){"use strict";var i=this&&this.__createBinding||(Object.create?function(g,d,s,v){void 0===v&&(v=s);var D=Object.getOwnPropertyDescriptor(d,s);(!D||("get"in D?!d.__esModule:D.writable||D.configurable))&&(D={enumerable:!0,get:function(){return d[s]}}),Object.defineProperty(g,v,D)}:function(g,d,s,v){void 0===v&&(v=s),g[v]=d[s]}),h=this&&this.__exportStar||function(g,d){for(var s in g)"default"!==s&&!Object.prototype.hasOwnProperty.call(d,s)&&i(d,g,s)};Object.defineProperty(y,"__esModule",{value:!0}),h(c(8173),y),h(c(7538),y),h(c(1727),y),h(c(615),y)},7538:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.generateTypescriptInterfaces=void 0;const i=c(5596);y.generateTypescriptInterfaces=function h(g){let d="";for(const s of g.enumTypes)d+=(0,i.generateTypescriptEnum)(s);d+="\n";for(const s of g.structTypes)d+=(0,i.generateTypescriptInterface)(s,!1),d+="\n";return d}},1727:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.generateNodeClientSource=void 0;const i=c(6676),h=c(5596);y.generateNodeClientSource=function g(d){let s="";const v=d.errors.some(T=>!(T.dataType instanceof i.VoidPrimitiveType));s+=`/* eslint-disable */\nimport { Context, Fatal${d.errors.filter(T=>"Fatal"!==T.name).some(T=>T.dataType instanceof i.VoidPrimitiveType)?", SdkgenError":""}${v?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/node-runtime";\nimport { PartialDeep } from "type-fest";\nexport { Fatal } from "@sdkgen/node-runtime";\n\n`;for(const T of d.enumTypes)s+=(0,h.generateTypescriptEnum)(T),s+="\n";for(const T of d.structTypes)s+=(0,h.generateTypescriptInterface)(T,!1),s+="\n";for(const T of d.errors)"Fatal"!==T.name&&(s+=(0,h.generateTypescriptErrorClass)(T,!1),s+="\n");return s+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${d.operations.filter(T=>T.annotations.every(S=>!(S instanceof i.HiddenAnnotation))).map(T=>`\n ${T.name}(ctx: PartialDeep<Context> | null, args: {${T.args.map(S=>`${S.name}${S.type.name.endsWith("?")?"?":""}: ${(0,h.generateTypescriptTypeName)(S.type,!1)}`).join(", ")}}): Promise<${(0,h.generateTypescriptTypeName)(T.returnType,!1)}> { return this.makeRequest(ctx, "${T.name}", args); }`).join("")}\n}\n\n`,s+=`const errClasses = {\n${d.errors.map(T=>` ${T.name}`).join(",\n")}\n};\n\n`,s+=`const astJson = ${JSON.stringify((0,i.astToJson)(d),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,s}},615:(Be,y,c)=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.generateNodeServerSource=void 0;const i=c(6676),h=c(5596);y.generateNodeServerSource=function g(d){let s="";const v=d.errors.some(T=>!(T.dataType instanceof i.VoidPrimitiveType));s+=`/* eslint-disable */\nimport { BaseApiConfig, Context, Fatal${d.errors.filter(T=>"Fatal"!==T.name).some(T=>T.dataType instanceof i.VoidPrimitiveType)?", SdkgenError":""}${v?", SdkgenErrorWithData":""} } from "@sdkgen/node-runtime";\nexport { Fatal } from "@sdkgen/node-runtime";\n\n`;for(const T of d.enumTypes)s+=(0,h.generateTypescriptEnum)(T),s+="\n";for(const T of d.structTypes)s+=(0,h.generateTypescriptInterface)(T,!1),s+="\n";for(const T of d.errors)"Fatal"!==T.name&&(s+=(0,h.generateTypescriptErrorClass)(T,!1),s+="\n");return s+=`export class ApiConfig<ExtraContextT> extends BaseApiConfig<ExtraContextT> {\n fn!: {${d.operations.map(T=>`\n ${T.name}: (ctx: Context & ExtraContextT, args: {${T.args.map(S=>`${S.name}: ${(0,h.generateTypescriptTypeName)(S.type,!1)}`).join(", ")}}) => Promise<${(0,h.generateTypescriptTypeName)(T.returnType,!1)}>`).join("")}\n }\n\n astJson = ${JSON.stringify((0,i.astToJson)(d),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:").replace(/\n/gu,"\n ")} as const\n}\n\nexport const api = new ApiConfig<{}>();\n`,s}},8926:Be=>{function y(i,h,g,d,s,v,D){try{var T=i[v](D),S=T.value}catch(p){return void g(p)}T.done?h(S):Promise.resolve(S).then(d,s)}Be.exports=function c(i){return function(){var h=this,g=arguments;return new Promise(function(d,s){var v=i.apply(h,g);function D(S){y(v,d,s,D,T,"next",S)}function T(S){y(v,d,s,D,T,"throw",S)}D(void 0)})}},Be.exports.__esModule=!0,Be.exports.default=Be.exports},655:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{__extends:()=>h,__assign:()=>g,__rest:()=>d,__decorate:()=>s,__param:()=>v,__metadata:()=>D,__awaiter:()=>T,__generator:()=>S,__createBinding:()=>p,__exportStar:()=>A,__values:()=>M,__read:()=>C,__spread:()=>N,__spreadArrays:()=>$,__spreadArray:()=>de,__await:()=>K,__asyncGenerator:()=>ce,__asyncDelegator:()=>Oe,__asyncValues:()=>me,__makeTemplateObject:()=>ye,__importStar:()=>ve,__importDefault:()=>Re,__classPrivateFieldGet:()=>Qe,__classPrivateFieldSet:()=>ot});var i=function(Ve,ue){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ie,H){Ie.__proto__=H}||function(Ie,H){for(var pe in H)Object.prototype.hasOwnProperty.call(H,pe)&&(Ie[pe]=H[pe])})(Ve,ue)};function h(Ve,ue){if("function"!=typeof ue&&null!==ue)throw new TypeError("Class extends value "+String(ue)+" is not a constructor or null");function Ie(){this.constructor=Ve}i(Ve,ue),Ve.prototype=null===ue?Object.create(ue):(Ie.prototype=ue.prototype,new Ie)}var g=function(){return g=Object.assign||function(ue){for(var Ie,H=1,pe=arguments.length;H<pe;H++)for(var ee in Ie=arguments[H])Object.prototype.hasOwnProperty.call(Ie,ee)&&(ue[ee]=Ie[ee]);return ue},g.apply(this,arguments)};function d(Ve,ue){var Ie={};for(var H in Ve)Object.prototype.hasOwnProperty.call(Ve,H)&&ue.indexOf(H)<0&&(Ie[H]=Ve[H]);if(null!=Ve&&"function"==typeof Object.getOwnPropertySymbols){var pe=0;for(H=Object.getOwnPropertySymbols(Ve);pe<H.length;pe++)ue.indexOf(H[pe])<0&&Object.prototype.propertyIsEnumerable.call(Ve,H[pe])&&(Ie[H[pe]]=Ve[H[pe]])}return Ie}function s(Ve,ue,Ie,H){var xe,pe=arguments.length,ee=pe<3?ue:null===H?H=Object.getOwnPropertyDescriptor(ue,Ie):H;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ee=Reflect.decorate(Ve,ue,Ie,H);else for(var fe=Ve.length-1;fe>=0;fe--)(xe=Ve[fe])&&(ee=(pe<3?xe(ee):pe>3?xe(ue,Ie,ee):xe(ue,Ie))||ee);return pe>3&&ee&&Object.defineProperty(ue,Ie,ee),ee}function v(Ve,ue){return function(Ie,H){ue(Ie,H,Ve)}}function D(Ve,ue){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(Ve,ue)}function T(Ve,ue,Ie,H){return new(Ie||(Ie=Promise))(function(ee,xe){function fe(He){try{ge(H.next(He))}catch(at){xe(at)}}function Ze(He){try{ge(H.throw(He))}catch(at){xe(at)}}function ge(He){He.done?ee(He.value):function pe(ee){return ee instanceof Ie?ee:new Ie(function(xe){xe(ee)})}(He.value).then(fe,Ze)}ge((H=H.apply(Ve,ue||[])).next())})}function S(Ve,ue){var H,pe,ee,xe,Ie={label:0,sent:function(){if(1&ee[0])throw ee[1];return ee[1]},trys:[],ops:[]};return xe={next:fe(0),throw:fe(1),return:fe(2)},"function"==typeof Symbol&&(xe[Symbol.iterator]=function(){return this}),xe;function fe(ge){return function(He){return function Ze(ge){if(H)throw new TypeError("Generator is already executing.");for(;Ie;)try{if(H=1,pe&&(ee=2&ge[0]?pe.return:ge[0]?pe.throw||((ee=pe.return)&&ee.call(pe),0):pe.next)&&!(ee=ee.call(pe,ge[1])).done)return ee;switch(pe=0,ee&&(ge=[2&ge[0],ee.value]),ge[0]){case 0:case 1:ee=ge;break;case 4:return Ie.label++,{value:ge[1],done:!1};case 5:Ie.label++,pe=ge[1],ge=[0];continue;case 7:ge=Ie.ops.pop(),Ie.trys.pop();continue;default:if(!(ee=(ee=Ie.trys).length>0&&ee[ee.length-1])&&(6===ge[0]||2===ge[0])){Ie=0;continue}if(3===ge[0]&&(!ee||ge[1]>ee[0]&&ge[1]<ee[3])){Ie.label=ge[1];break}if(6===ge[0]&&Ie.label<ee[1]){Ie.label=ee[1],ee=ge;break}if(ee&&Ie.label<ee[2]){Ie.label=ee[2],Ie.ops.push(ge);break}ee[2]&&Ie.ops.pop(),Ie.trys.pop();continue}ge=ue.call(Ve,Ie)}catch(He){ge=[6,He],pe=0}finally{H=ee=0}if(5&ge[0])throw ge[1];return{value:ge[0]?ge[1]:void 0,done:!0}}([ge,He])}}}var p=Object.create?function(Ve,ue,Ie,H){void 0===H&&(H=Ie),Object.defineProperty(Ve,H,{enumerable:!0,get:function(){return ue[Ie]}})}:function(Ve,ue,Ie,H){void 0===H&&(H=Ie),Ve[H]=ue[Ie]};function A(Ve,ue){for(var Ie in Ve)"default"!==Ie&&!Object.prototype.hasOwnProperty.call(ue,Ie)&&p(ue,Ve,Ie)}function M(Ve){var ue="function"==typeof Symbol&&Symbol.iterator,Ie=ue&&Ve[ue],H=0;if(Ie)return Ie.call(Ve);if(Ve&&"number"==typeof Ve.length)return{next:function(){return Ve&&H>=Ve.length&&(Ve=void 0),{value:Ve&&Ve[H++],done:!Ve}}};throw new TypeError(ue?"Object is not iterable.":"Symbol.iterator is not defined.")}function C(Ve,ue){var Ie="function"==typeof Symbol&&Ve[Symbol.iterator];if(!Ie)return Ve;var pe,xe,H=Ie.call(Ve),ee=[];try{for(;(void 0===ue||ue-- >0)&&!(pe=H.next()).done;)ee.push(pe.value)}catch(fe){xe={error:fe}}finally{try{pe&&!pe.done&&(Ie=H.return)&&Ie.call(H)}finally{if(xe)throw xe.error}}return ee}function N(){for(var Ve=[],ue=0;ue<arguments.length;ue++)Ve=Ve.concat(C(arguments[ue]));return Ve}function $(){for(var Ve=0,ue=0,Ie=arguments.length;ue<Ie;ue++)Ve+=arguments[ue].length;var H=Array(Ve),pe=0;for(ue=0;ue<Ie;ue++)for(var ee=arguments[ue],xe=0,fe=ee.length;xe<fe;xe++,pe++)H[pe]=ee[xe];return H}function de(Ve,ue,Ie){if(Ie||2===arguments.length)for(var ee,H=0,pe=ue.length;H<pe;H++)(ee||!(H in ue))&&(ee||(ee=Array.prototype.slice.call(ue,0,H)),ee[H]=ue[H]);return Ve.concat(ee||Array.prototype.slice.call(ue))}function K(Ve){return this instanceof K?(this.v=Ve,this):new K(Ve)}function ce(Ve,ue,Ie){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,H=Ie.apply(Ve,ue||[]),ee=[];return pe={},xe("next"),xe("throw"),xe("return"),pe[Symbol.asyncIterator]=function(){return this},pe;function xe(gt){H[gt]&&(pe[gt]=function(Le){return new Promise(function(qe,q){ee.push([gt,Le,qe,q])>1||fe(gt,Le)})})}function fe(gt,Le){try{!function Ze(gt){gt.value instanceof K?Promise.resolve(gt.value.v).then(ge,He):at(ee[0][2],gt)}(H[gt](Le))}catch(qe){at(ee[0][3],qe)}}function ge(gt){fe("next",gt)}function He(gt){fe("throw",gt)}function at(gt,Le){gt(Le),ee.shift(),ee.length&&fe(ee[0][0],ee[0][1])}}function Oe(Ve){var ue,Ie;return ue={},H("next"),H("throw",function(pe){throw pe}),H("return"),ue[Symbol.iterator]=function(){return this},ue;function H(pe,ee){ue[pe]=Ve[pe]?function(xe){return(Ie=!Ie)?{value:K(Ve[pe](xe)),done:"return"===pe}:ee?ee(xe):xe}:ee}}function me(Ve){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ie,ue=Ve[Symbol.asyncIterator];return ue?ue.call(Ve):(Ve=M(Ve),Ie={},H("next"),H("throw"),H("return"),Ie[Symbol.asyncIterator]=function(){return this},Ie);function H(ee){Ie[ee]=Ve[ee]&&function(xe){return new Promise(function(fe,Ze){!function pe(ee,xe,fe,Ze){Promise.resolve(Ze).then(function(ge){ee({value:ge,done:fe})},xe)}(fe,Ze,(xe=Ve[ee](xe)).done,xe.value)})}}}function ye(Ve,ue){return Object.defineProperty?Object.defineProperty(Ve,"raw",{value:ue}):Ve.raw=ue,Ve}var X=Object.create?function(Ve,ue){Object.defineProperty(Ve,"default",{enumerable:!0,value:ue})}:function(Ve,ue){Ve.default=ue};function ve(Ve){if(Ve&&Ve.__esModule)return Ve;var ue={};if(null!=Ve)for(var Ie in Ve)"default"!==Ie&&Object.prototype.hasOwnProperty.call(Ve,Ie)&&p(ue,Ve,Ie);return X(ue,Ve),ue}function Re(Ve){return Ve&&Ve.__esModule?Ve:{default:Ve}}function Qe(Ve,ue,Ie,H){if("a"===Ie&&!H)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof ue?Ve!==ue||!H:!ue.has(Ve))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===Ie?H:"a"===Ie?H.call(Ve):H?H.value:ue.get(Ve)}function ot(Ve,ue,Ie,H,pe){if("m"===H)throw new TypeError("Private method is not writable");if("a"===H&&!pe)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof ue?Ve!==ue||!pe:!ue.has(Ve))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===H?pe.call(Ve,Ie):pe?pe.value=Ie:ue.set(Ve,Ie),Ie}},1777:(Be,y,c)=>{"use strict";c.d(y,{l3:()=>g,_j:()=>i,LC:()=>h,ZN:()=>ce,jt:()=>s,F4:()=>p,vP:()=>D,SB:()=>S,oB:()=>T,eR:()=>A,X$:()=>d,ZE:()=>Oe,k1:()=>me});class i{}class h{}const g="*";function d(ye,X){return{type:7,name:ye,definitions:X,options:{}}}function s(ye,X=null){return{type:4,styles:X,timings:ye}}function D(ye,X=null){return{type:2,steps:ye,options:X}}function T(ye){return{type:6,styles:ye,offset:null}}function S(ye,X,ve){return{type:0,name:ye,styles:X,options:ve}}function p(ye){return{type:5,steps:ye}}function A(ye,X,ve=null){return{type:1,expr:ye,animation:X,options:ve}}function K(ye){Promise.resolve(null).then(ye)}class ce{constructor(X=0,ve=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=X+ve}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(X=>X()),this._onDoneFns=[])}onStart(X){this._onStartFns.push(X)}onDone(X){this._onDoneFns.push(X)}onDestroy(X){this._onDestroyFns.push(X)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){K(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(X=>X()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(X=>X()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(X){this._position=this.totalTime?X*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(X){const ve="start"==X?this._onStartFns:this._onDoneFns;ve.forEach(Re=>Re()),ve.length=0}}class Oe{constructor(X){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=X;let ve=0,Re=0,Qe=0;const ot=this.players.length;0==ot?K(()=>this._onFinish()):this.players.forEach(Ve=>{Ve.onDone(()=>{++ve==ot&&this._onFinish()}),Ve.onDestroy(()=>{++Re==ot&&this._onDestroy()}),Ve.onStart(()=>{++Qe==ot&&this._onStart()})}),this.totalTime=this.players.reduce((Ve,ue)=>Math.max(Ve,ue.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(X=>X()),this._onDoneFns=[])}init(){this.players.forEach(X=>X.init())}onStart(X){this._onStartFns.push(X)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(X=>X()),this._onStartFns=[])}onDone(X){this._onDoneFns.push(X)}onDestroy(X){this._onDestroyFns.push(X)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(X=>X.play())}pause(){this.players.forEach(X=>X.pause())}restart(){this.players.forEach(X=>X.restart())}finish(){this._onFinish(),this.players.forEach(X=>X.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(X=>X.destroy()),this._onDestroyFns.forEach(X=>X()),this._onDestroyFns=[])}reset(){this.players.forEach(X=>X.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(X){const ve=X*this.totalTime;this.players.forEach(Re=>{const Qe=Re.totalTime?Math.min(1,ve/Re.totalTime):1;Re.setPosition(Qe)})}getPosition(){const X=this.players.reduce((ve,Re)=>null===ve||Re.totalTime>ve.totalTime?Re:ve,null);return null!=X?X.getPosition():0}beforeDestroy(){this.players.forEach(X=>{X.beforeDestroy&&X.beforeDestroy()})}triggerCallback(X){const ve="start"==X?this._onStartFns:this._onDoneFns;ve.forEach(Re=>Re()),ve.length=0}}const me="!"},5664:(Be,y,c)=>{"use strict";c.d(y,{rt:()=>un,$s:()=>Ve,kH:()=>qt,Em:()=>ee,tE:()=>ln,qV:()=>mt,qm:()=>Ht,ic:()=>fe,X6:()=>Ae,yG:()=>ae});var i=c(9808),h=c(5e3),g=c(925),d=c(6758),s=c(6921),v=c(1135),D=c(9646),T=c(1159),S=c(8505),p=c(8372),A=c(9300),M=c(4004),C=c(5698),N=c(5684),$=c(1884),de=c(2722),K=c(3191),ce=c(7144);function X(re,Z){return(re.getAttribute(Z)||"").match(/\S+/g)||[]}const Re="cdk-describedby-message",Qe="cdk-describedby-host";let ot=0,Ve=(()=>{class re{constructor(L,P){this._platform=P,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+ot++,this._document=L}describe(L,P,te){if(!this._canBeDescribed(L,P))return;const E=ue(P,te);"string"!=typeof P?(Ie(P),this._messageRegistry.set(E,{messageElement:P,referenceCount:0})):this._messageRegistry.has(E)||this._createMessageElement(P,te),this._isElementDescribedByMessage(L,E)||this._addMessageReference(L,E)}removeDescription(L,P,te){var E;if(!P||!this._isElementNode(L))return;const j=ue(P,te);if(this._isElementDescribedByMessage(L,j)&&this._removeMessageReference(L,j),"string"==typeof P){const ke=this._messageRegistry.get(j);ke&&0===ke.referenceCount&&this._deleteMessageElement(j)}0===(null===(E=this._messagesContainer)||void 0===E?void 0:E.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var L;const P=this._document.querySelectorAll(`[${Qe}="${this._id}"]`);for(let te=0;te<P.length;te++)this._removeCdkDescribedByReferenceIds(P[te]),P[te].removeAttribute(Qe);null===(L=this._messagesContainer)||void 0===L||L.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(L,P){const te=this._document.createElement("div");Ie(te),te.textContent=L,P&&te.setAttribute("role",P),this._createMessagesContainer(),this._messagesContainer.appendChild(te),this._messageRegistry.set(ue(L,P),{messageElement:te,referenceCount:0})}_deleteMessageElement(L){var P,te;null===(te=null===(P=this._messageRegistry.get(L))||void 0===P?void 0:P.messageElement)||void 0===te||te.remove(),this._messageRegistry.delete(L)}_createMessagesContainer(){if(this._messagesContainer)return;const L="cdk-describedby-message-container",P=this._document.querySelectorAll(`.${L}[platform="server"]`);for(let E=0;E<P.length;E++)P[E].remove();const te=this._document.createElement("div");te.style.visibility="hidden",te.classList.add(L),te.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&te.setAttribute("platform","server"),this._document.body.appendChild(te),this._messagesContainer=te}_removeCdkDescribedByReferenceIds(L){const P=X(L,"aria-describedby").filter(te=>0!=te.indexOf(Re));L.setAttribute("aria-describedby",P.join(" "))}_addMessageReference(L,P){const te=this._messageRegistry.get(P);(function me(re,Z,L){const P=X(re,Z);P.some(te=>te.trim()==L.trim())||(P.push(L.trim()),re.setAttribute(Z,P.join(" ")))})(L,"aria-describedby",te.messageElement.id),L.setAttribute(Qe,this._id),te.referenceCount++}_removeMessageReference(L,P){const te=this._messageRegistry.get(P);te.referenceCount--,function ye(re,Z,L){const te=X(re,Z).filter(E=>E!=L.trim());te.length?re.setAttribute(Z,te.join(" ")):re.removeAttribute(Z)}(L,"aria-describedby",te.messageElement.id),L.removeAttribute(Qe)}_isElementDescribedByMessage(L,P){const te=X(L,"aria-describedby"),E=this._messageRegistry.get(P),j=E&&E.messageElement.id;return!!j&&-1!=te.indexOf(j)}_canBeDescribed(L,P){if(!this._isElementNode(L))return!1;if(P&&"object"==typeof P)return!0;const te=null==P?"":`${P}`.trim(),E=L.getAttribute("aria-label");return!(!te||E&&E.trim()===te)}_isElementNode(L){return L.nodeType===this._document.ELEMENT_NODE}}return re.\u0275fac=function(L){return new(L||re)(h.\u0275\u0275inject(i.DOCUMENT),h.\u0275\u0275inject(g.t4))},re.\u0275prov=h.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac,providedIn:"root"}),re})();function ue(re,Z){return"string"==typeof re?`${Z||""}/${re}`:re}function Ie(re){re.id||(re.id=`${Re}-${ot++}`)}class ee extends class H{constructor(Z){this._items=Z,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new d.x,this._typeaheadSubscription=s.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=L=>L.disabled,this._pressedLetters=[],this.tabOut=new d.x,this.change=new d.x,Z instanceof h.QueryList&&Z.changes.subscribe(L=>{if(this._activeItem){const te=L.toArray().indexOf(this._activeItem);te>-1&&te!==this._activeItemIndex&&(this._activeItemIndex=te)}})}skipPredicate(Z){return this._skipPredicateFn=Z,this}withWrap(Z=!0){return this._wrap=Z,this}withVerticalOrientation(Z=!0){return this._vertical=Z,this}withHorizontalOrientation(Z){return this._horizontal=Z,this}withAllowedModifierKeys(Z){return this._allowedModifierKeys=Z,this}withTypeAhead(Z=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,S.b)(L=>this._pressedLetters.push(L)),(0,p.b)(Z),(0,A.h)(()=>this._pressedLetters.length>0),(0,M.U)(()=>this._pressedLetters.join(""))).subscribe(L=>{const P=this._getItemsArray();for(let te=1;te<P.length+1;te++){const E=(this._activeItemIndex+te)%P.length,j=P[E];if(!this._skipPredicateFn(j)&&0===j.getLabel().toUpperCase().trim().indexOf(L)){this.setActiveItem(E);break}}this._pressedLetters=[]}),this}withHomeAndEnd(Z=!0){return this._homeAndEnd=Z,this}setActiveItem(Z){const L=this._activeItem;this.updateActiveItem(Z),this._activeItem!==L&&this.change.next(this._activeItemIndex)}onKeydown(Z){const L=Z.keyCode,te=["altKey","ctrlKey","metaKey","shiftKey"].every(E=>!Z[E]||this._allowedModifierKeys.indexOf(E)>-1);switch(L){case T.Mf:return void this.tabOut.next();case T.JH:if(this._vertical&&te){this.setNextItemActive();break}return;case T.LH:if(this._vertical&&te){this.setPreviousItemActive();break}return;case T.SV:if(this._horizontal&&te){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case T.oh:if(this._horizontal&&te){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case T.Sd:if(this._homeAndEnd&&te){this.setFirstItemActive();break}return;case T.uR:if(this._homeAndEnd&&te){this.setLastItemActive();break}return;default:return void((te||(0,T.Vb)(Z,"shiftKey"))&&(Z.key&&1===Z.key.length?this._letterKeyStream.next(Z.key.toLocaleUpperCase()):(L>=T.A&&L<=T.Z||L>=T.xE&&L<=T.aO)&&this._letterKeyStream.next(String.fromCharCode(L))))}this._pressedLetters=[],Z.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(Z){const L=this._getItemsArray(),P="number"==typeof Z?Z:L.indexOf(Z),te=L[P];this._activeItem=null==te?null:te,this._activeItemIndex=P}_setActiveItemByDelta(Z){this._wrap?this._setActiveInWrapMode(Z):this._setActiveInDefaultMode(Z)}_setActiveInWrapMode(Z){const L=this._getItemsArray();for(let P=1;P<=L.length;P++){const te=(this._activeItemIndex+Z*P+L.length)%L.length;if(!this._skipPredicateFn(L[te]))return void this.setActiveItem(te)}}_setActiveInDefaultMode(Z){this._setActiveItemByIndex(this._activeItemIndex+Z,Z)}_setActiveItemByIndex(Z,L){const P=this._getItemsArray();if(P[Z]){for(;this._skipPredicateFn(P[Z]);)if(!P[Z+=L])return;this.setActiveItem(Z)}}_getItemsArray(){return this._items instanceof h.QueryList?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Z){return this._origin=Z,this}setActiveItem(Z){super.setActiveItem(Z),this.activeItem&&this.activeItem.focus(this._origin)}}let fe=(()=>{class re{constructor(L){this._platform=L}isDisabled(L){return L.hasAttribute("disabled")}isVisible(L){return function ge(re){return!!(re.offsetWidth||re.offsetHeight||"function"==typeof re.getClientRects&&re.getClientRects().length)}(L)&&"visible"===getComputedStyle(L).visibility}isTabbable(L){if(!this._platform.isBrowser)return!1;const P=function Ze(re){try{return re.frameElement}catch(Z){return null}}(function be(re){return re.ownerDocument&&re.ownerDocument.defaultView||window}(L));if(P&&(-1===he(P)||!this.isVisible(P)))return!1;let te=L.nodeName.toLowerCase(),E=he(L);return L.hasAttribute("contenteditable")?-1!==E:!("iframe"===te||"object"===te||this._platform.WEBKIT&&this._platform.IOS&&!function we(re){let Z=re.nodeName.toLowerCase(),L="input"===Z&&re.type;return"text"===L||"password"===L||"select"===Z||"textarea"===Z}(L))&&("audio"===te?!!L.hasAttribute("controls")&&-1!==E:"video"===te?-1!==E&&(null!==E||this._platform.FIREFOX||L.hasAttribute("controls")):L.tabIndex>=0)}isFocusable(L,P){return function Fe(re){return!function at(re){return function Le(re){return"input"==re.nodeName.toLowerCase()}(re)&&"hidden"==re.type}(re)&&(function He(re){let Z=re.nodeName.toLowerCase();return"input"===Z||"select"===Z||"button"===Z||"textarea"===Z}(re)||function gt(re){return function qe(re){return"a"==re.nodeName.toLowerCase()}(re)&&re.hasAttribute("href")}(re)||re.hasAttribute("contenteditable")||q(re))}(L)&&!this.isDisabled(L)&&((null==P?void 0:P.ignoreVisibility)||this.isVisible(L))}}return re.\u0275fac=function(L){return new(L||re)(h.\u0275\u0275inject(g.t4))},re.\u0275prov=h.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac,providedIn:"root"}),re})();function q(re){if(!re.hasAttribute("tabindex")||void 0===re.tabIndex)return!1;let Z=re.getAttribute("tabindex");return!(!Z||isNaN(parseInt(Z,10)))}function he(re){if(!q(re))return null;const Z=parseInt(re.getAttribute("tabindex")||"",10);return isNaN(Z)?-1:Z}class Ge{constructor(Z,L,P,te,E=!1){this._element=Z,this._checker=L,this._ngZone=P,this._document=te,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,E||this.attachAnchors()}get enabled(){return this._enabled}set enabled(Z){this._enabled=Z,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Z,this._startAnchor),this._toggleAnchorTabIndex(Z,this._endAnchor))}destroy(){const Z=this._startAnchor,L=this._endAnchor;Z&&(Z.removeEventListener("focus",this.startAnchorListener),Z.remove()),L&&(L.removeEventListener("focus",this.endAnchorListener),L.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(Z){return new Promise(L=>{this._executeOnStable(()=>L(this.focusInitialElement(Z)))})}focusFirstTabbableElementWhenReady(Z){return new Promise(L=>{this._executeOnStable(()=>L(this.focusFirstTabbableElement(Z)))})}focusLastTabbableElementWhenReady(Z){return new Promise(L=>{this._executeOnStable(()=>L(this.focusLastTabbableElement(Z)))})}_getRegionBoundary(Z){const L=this._element.querySelectorAll(`[cdk-focus-region-${Z}], [cdkFocusRegion${Z}], [cdk-focus-${Z}]`);return"start"==Z?L.length?L[0]:this._getFirstTabbableElement(this._element):L.length?L[L.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Z){const L=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(L){if(!this._checker.isFocusable(L)){const P=this._getFirstTabbableElement(L);return null==P||P.focus(Z),!!P}return L.focus(Z),!0}return this.focusFirstTabbableElement(Z)}focusFirstTabbableElement(Z){const L=this._getRegionBoundary("start");return L&&L.focus(Z),!!L}focusLastTabbableElement(Z){const L=this._getRegionBoundary("end");return L&&L.focus(Z),!!L}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Z){if(this._checker.isFocusable(Z)&&this._checker.isTabbable(Z))return Z;const L=Z.children;for(let P=0;P<L.length;P++){const te=L[P].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(L[P]):null;if(te)return te}return null}_getLastTabbableElement(Z){if(this._checker.isFocusable(Z)&&this._checker.isTabbable(Z))return Z;const L=Z.children;for(let P=L.length-1;P>=0;P--){const te=L[P].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(L[P]):null;if(te)return te}return null}_createAnchor(){const Z=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Z),Z.classList.add("cdk-visually-hidden"),Z.classList.add("cdk-focus-trap-anchor"),Z.setAttribute("aria-hidden","true"),Z}_toggleAnchorTabIndex(Z,L){Z?L.setAttribute("tabindex","0"):L.removeAttribute("tabindex")}toggleAnchors(Z){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Z,this._startAnchor),this._toggleAnchorTabIndex(Z,this._endAnchor))}_executeOnStable(Z){this._ngZone.isStable?Z():this._ngZone.onStable.pipe((0,C.q)(1)).subscribe(Z)}}let mt=(()=>{class re{constructor(L,P,te){this._checker=L,this._ngZone=P,this._document=te}create(L,P=!1){return new Ge(L,this._checker,this._ngZone,this._document,P)}}return re.\u0275fac=function(L){return new(L||re)(h.\u0275\u0275inject(fe),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(i.DOCUMENT))},re.\u0275prov=h.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac,providedIn:"root"}),re})();function Ae(re){return 0===re.buttons||0===re.offsetX&&0===re.offsetY}function ae(re){const Z=re.touches&&re.touches[0]||re.changedTouches&&re.changedTouches[0];return!(!Z||-1!==Z.identifier||null!=Z.radiusX&&1!==Z.radiusX||null!=Z.radiusY&&1!==Z.radiusY)}const Me=new h.InjectionToken("cdk-input-modality-detector-options"),Xe={ignoreKeys:[T.zL,T.jx,T.b2,T.MW,T.JU]},Ce=(0,g.i$)({passive:!0,capture:!0});let _e=(()=>{class re{constructor(L,P,te,E){this._platform=L,this._mostRecentTarget=null,this._modality=new v.X(null),this._lastTouchMs=0,this._onKeydown=j=>{var ke,it;(null===(it=null===(ke=this._options)||void 0===ke?void 0:ke.ignoreKeys)||void 0===it?void 0:it.some(Bt=>Bt===j.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,g.sA)(j))},this._onMousedown=j=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ae(j)?"keyboard":"mouse"),this._mostRecentTarget=(0,g.sA)(j))},this._onTouchstart=j=>{ae(j)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,g.sA)(j))},this._options=Object.assign(Object.assign({},Xe),E),this.modalityDetected=this._modality.pipe((0,N.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,$.x)()),L.isBrowser&&P.runOutsideAngular(()=>{te.addEventListener("keydown",this._onKeydown,Ce),te.addEventListener("mousedown",this._onMousedown,Ce),te.addEventListener("touchstart",this._onTouchstart,Ce)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ce),document.removeEventListener("mousedown",this._onMousedown,Ce),document.removeEventListener("touchstart",this._onTouchstart,Ce))}}return re.\u0275fac=function(L){return new(L||re)(h.\u0275\u0275inject(g.t4),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(i.DOCUMENT),h.\u0275\u0275inject(Me,8))},re.\u0275prov=h.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac,providedIn:"root"}),re})();const Lt=new h.InjectionToken("cdk-focus-monitor-default-options"),St=(0,g.i$)({passive:!0,capture:!0});let ln=(()=>{class re{constructor(L,P,te,E,j){this._ngZone=L,this._platform=P,this._inputModalityDetector=te,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new d.x,this._rootNodeFocusAndBlurListener=ke=>{const it=(0,g.sA)(ke),Bt="focus"===ke.type?this._onFocus:this._onBlur;for(let jt=it;jt;jt=jt.parentElement)Bt.call(this,ke,jt)},this._document=E,this._detectionMode=(null==j?void 0:j.detectionMode)||0}monitor(L,P=!1){const te=(0,K.fI)(L);if(!this._platform.isBrowser||1!==te.nodeType)return(0,D.of)(null);const E=(0,g.kV)(te)||this._getDocument(),j=this._elementInfo.get(te);if(j)return P&&(j.checkChildren=!0),j.subject;const ke={checkChildren:P,subject:new d.x,rootNode:E};return this._elementInfo.set(te,ke),this._registerGlobalListeners(ke),ke.subject}stopMonitoring(L){const P=(0,K.fI)(L),te=this._elementInfo.get(P);te&&(te.subject.complete(),this._setClasses(P),this._elementInfo.delete(P),this._removeGlobalListeners(te))}focusVia(L,P,te){const E=(0,K.fI)(L);E===this._getDocument().activeElement?this._getClosestElementsInfo(E).forEach(([ke,it])=>this._originChanged(ke,P,it)):(this._setOrigin(P),"function"==typeof E.focus&&E.focus(te))}ngOnDestroy(){this._elementInfo.forEach((L,P)=>this.stopMonitoring(P))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(L){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(L)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(L){return 1===this._detectionMode||!!(null==L?void 0:L.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(L,P){L.classList.toggle("cdk-focused",!!P),L.classList.toggle("cdk-touch-focused","touch"===P),L.classList.toggle("cdk-keyboard-focused","keyboard"===P),L.classList.toggle("cdk-mouse-focused","mouse"===P),L.classList.toggle("cdk-program-focused","program"===P)}_setOrigin(L,P=!1){this._ngZone.runOutsideAngular(()=>{this._origin=L,this._originFromTouchInteraction="touch"===L&&P,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(L,P){const te=this._elementInfo.get(P),E=(0,g.sA)(L);!te||!te.checkChildren&&P!==E||this._originChanged(P,this._getFocusOrigin(E),te)}_onBlur(L,P){const te=this._elementInfo.get(P);!te||te.checkChildren&&L.relatedTarget instanceof Node&&P.contains(L.relatedTarget)||(this._setClasses(P),this._emitOrigin(te.subject,null))}_emitOrigin(L,P){this._ngZone.run(()=>L.next(P))}_registerGlobalListeners(L){if(!this._platform.isBrowser)return;const P=L.rootNode,te=this._rootNodeFocusListenerCount.get(P)||0;te||this._ngZone.runOutsideAngular(()=>{P.addEventListener("focus",this._rootNodeFocusAndBlurListener,St),P.addEventListener("blur",this._rootNodeFocusAndBlurListener,St)}),this._rootNodeFocusListenerCount.set(P,te+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,de.R)(this._stopInputModalityDetector)).subscribe(E=>{this._setOrigin(E,!0)}))}_removeGlobalListeners(L){const P=L.rootNode;if(this._rootNodeFocusListenerCount.has(P)){const te=this._rootNodeFocusListenerCount.get(P);te>1?this._rootNodeFocusListenerCount.set(P,te-1):(P.removeEventListener("focus",this._rootNodeFocusAndBlurListener,St),P.removeEventListener("blur",this._rootNodeFocusAndBlurListener,St),this._rootNodeFocusListenerCount.delete(P))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(L,P,te){this._setClasses(L,P),this._emitOrigin(te.subject,P),this._lastFocusOrigin=P}_getClosestElementsInfo(L){const P=[];return this._elementInfo.forEach((te,E)=>{(E===L||te.checkChildren&&E.contains(L))&&P.push([E,te])}),P}}return re.\u0275fac=function(L){return new(L||re)(h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(g.t4),h.\u0275\u0275inject(_e),h.\u0275\u0275inject(i.DOCUMENT,8),h.\u0275\u0275inject(Lt,8))},re.\u0275prov=h.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac,providedIn:"root"}),re})(),qt=(()=>{class re{constructor(L,P){this._elementRef=L,this._focusMonitor=P,this.cdkFocusChange=new h.EventEmitter}ngAfterViewInit(){const L=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(L,1===L.nodeType&&L.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(P=>this.cdkFocusChange.emit(P))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return re.\u0275fac=function(L){return new(L||re)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(ln))},re.\u0275dir=h.\u0275\u0275defineDirective({type:re,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),re})();const Jt="cdk-high-contrast-black-on-white",vt="cdk-high-contrast-white-on-black",Gt="cdk-high-contrast-active";let Ht=(()=>{class re{constructor(L,P){this._platform=L,this._document=P}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const L=this._document.createElement("div");L.style.backgroundColor="rgb(1,2,3)",L.style.position="absolute",this._document.body.appendChild(L);const P=this._document.defaultView||window,te=P&&P.getComputedStyle?P.getComputedStyle(L):null,E=(te&&te.backgroundColor||"").replace(/ /g,"");switch(L.remove(),E){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const L=this._document.body.classList;L.remove(Gt),L.remove(Jt),L.remove(vt),this._hasCheckedHighContrastMode=!0;const P=this.getHighContrastMode();1===P?(L.add(Gt),L.add(Jt)):2===P&&(L.add(Gt),L.add(vt))}}}return re.\u0275fac=function(L){return new(L||re)(h.\u0275\u0275inject(g.t4),h.\u0275\u0275inject(i.DOCUMENT))},re.\u0275prov=h.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac,providedIn:"root"}),re})(),un=(()=>{class re{constructor(L){L._applyBodyHighContrastModeCssClasses()}}return re.\u0275fac=function(L){return new(L||re)(h.\u0275\u0275inject(Ht))},re.\u0275mod=h.\u0275\u0275defineNgModule({type:re}),re.\u0275inj=h.\u0275\u0275defineInjector({imports:[[ce.Q8]]}),re})()},226:(Be,y,c)=>{"use strict";c.d(y,{vT:()=>S,Is:()=>D});var i=c(5e3),h=c(9808);const g=new i.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function d(){return(0,i.inject)(h.DOCUMENT)}}),s=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let D=(()=>{class p{constructor(M){if(this.value="ltr",this.change=new i.EventEmitter,M){const N=M.documentElement?M.documentElement.dir:null;this.value=function v(p){const A=(null==p?void 0:p.toLowerCase())||"";return"auto"===A&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?s.test(navigator.language)?"rtl":"ltr":"rtl"===A?"rtl":"ltr"}((M.body?M.body.dir:null)||N||"ltr")}}ngOnDestroy(){this.change.complete()}}return p.\u0275fac=function(M){return new(M||p)(i.\u0275\u0275inject(g,8))},p.\u0275prov=i.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),S=(()=>{class p{}return p.\u0275fac=function(M){return new(M||p)},p.\u0275mod=i.\u0275\u0275defineNgModule({type:p}),p.\u0275inj=i.\u0275\u0275defineInjector({}),p})()},3191:(Be,y,c)=>{"use strict";c.d(y,{t6:()=>d,Eq:()=>s,Ig:()=>h,HM:()=>v,fI:()=>D,su:()=>g});var i=c(5e3);function h(S){return null!=S&&"false"!=`${S}`}function g(S,p=0){return d(S)?Number(S):p}function d(S){return!isNaN(parseFloat(S))&&!isNaN(Number(S))}function s(S){return Array.isArray(S)?S:[S]}function v(S){return null==S?"":"string"==typeof S?S:`${S}px`}function D(S){return S instanceof i.ElementRef?S.nativeElement:S}},449:(Be,y,c)=>{"use strict";c.d(y,{o2:()=>g,Ov:()=>T,yy:()=>v,eX:()=>D,k:()=>A,Z9:()=>d});var i=c(6758),h=c(5e3);class g{}function d(M){return M&&"function"==typeof M.connect}class v{applyChanges(C,N,$,de,K){C.forEachOperation((ce,Oe,me)=>{let ye,X;if(null==ce.previousIndex){const ve=$(ce,Oe,me);ye=N.createEmbeddedView(ve.templateRef,ve.context,ve.index),X=1}else null==me?(N.remove(Oe),X=3):(ye=N.get(Oe),N.move(ye,me),X=2);K&&K({context:null==ye?void 0:ye.context,operation:X,record:ce})})}detach(){}}class D{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(C,N,$,de,K){C.forEachOperation((ce,Oe,me)=>{let ye,X;null==ce.previousIndex?(ye=this._insertView(()=>$(ce,Oe,me),me,N,de(ce)),X=ye?1:0):null==me?(this._detachAndCacheView(Oe,N),X=3):(ye=this._moveView(Oe,me,N,de(ce)),X=2),K&&K({context:null==ye?void 0:ye.context,operation:X,record:ce})})}detach(){for(const C of this._viewCache)C.destroy();this._viewCache=[]}_insertView(C,N,$,de){const K=this._insertViewFromCache(N,$);if(K)return void(K.context.$implicit=de);const ce=C();return $.createEmbeddedView(ce.templateRef,ce.context,ce.index)}_detachAndCacheView(C,N){const $=N.detach(C);this._maybeCacheView($,N)}_moveView(C,N,$,de){const K=$.get(C);return $.move(K,N),K.context.$implicit=de,K}_maybeCacheView(C,N){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(C);else{const $=N.indexOf(C);-1===$?C.destroy():N.remove($)}}_insertViewFromCache(C,N){const $=this._viewCache.pop();return $&&N.insert($,C),$||null}}class T{constructor(C=!1,N,$=!0){this._multiple=C,this._emitChanges=$,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new i.x,N&&N.length&&(C?N.forEach(de=>this._markSelected(de)):this._markSelected(N[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...C){this._verifyValueAssignment(C),C.forEach(N=>this._markSelected(N)),this._emitChangeEvent()}deselect(...C){this._verifyValueAssignment(C),C.forEach(N=>this._unmarkSelected(N)),this._emitChangeEvent()}toggle(C){this.isSelected(C)?this.deselect(C):this.select(C)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(C){return this._selection.has(C)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(C){this._multiple&&this.selected&&this._selected.sort(C)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(C){this.isSelected(C)||(this._multiple||this._unmarkAll(),this._selection.add(C),this._emitChanges&&this._selectedToEmit.push(C))}_unmarkSelected(C){this.isSelected(C)&&(this._selection.delete(C),this._emitChanges&&this._deselectedToEmit.push(C))}_unmarkAll(){this.isEmpty()||this._selection.forEach(C=>this._unmarkSelected(C))}_verifyValueAssignment(C){}}const A=new h.InjectionToken("_ViewRepeater")},1159:(Be,y,c)=>{"use strict";c.d(y,{A:()=>gt,zL:()=>T,ZH:()=>h,jx:()=>D,yY:()=>Re,JH:()=>me,uR:()=>$,K5:()=>s,hY:()=>A,Sd:()=>de,oh:()=>K,b2:()=>ii,MW:()=>_t,aO:()=>fe,SV:()=>Oe,JU:()=>v,L_:()=>M,Mf:()=>g,LH:()=>ce,Z:()=>lt,xE:()=>Qe,Vb:()=>Un});const h=8,g=9,s=13,v=16,D=17,T=18,A=27,M=32,$=35,de=36,K=37,ce=38,Oe=39,me=40,Re=46,Qe=48,fe=57,gt=65,lt=90,_t=91,ii=224;function Un(sn,...qn){return qn.length?qn.some(pi=>sn[pi]):sn.altKey||sn.shiftKey||sn.ctrlKey||sn.metaKey}},5113:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{BreakpointObserver:()=>me,Breakpoints:()=>X,LayoutModule:()=>N,MediaMatcher:()=>K});var i=c(5e3),h=c(3191),g=c(6758),d=c(9841),s=c(1350),v=c(9751),D=c(5698),T=c(5684),S=c(8372),p=c(4004),A=c(8675),M=c(2722),C=c(925);let N=(()=>{class ve{}return ve.\u0275fac=function(Qe){return new(Qe||ve)},ve.\u0275mod=i.\u0275\u0275defineNgModule({type:ve}),ve.\u0275inj=i.\u0275\u0275defineInjector({}),ve})();const $=new Set;let de,K=(()=>{class ve{constructor(Qe){this._platform=Qe,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Oe}matchMedia(Qe){return(this._platform.WEBKIT||this._platform.BLINK)&&function ce(ve){if(!$.has(ve))try{de||(de=document.createElement("style"),de.setAttribute("type","text/css"),document.head.appendChild(de)),de.sheet&&(de.sheet.insertRule(`@media ${ve} {body{ }}`,0),$.add(ve))}catch(Re){console.error(Re)}}(Qe),this._matchMedia(Qe)}}return ve.\u0275fac=function(Qe){return new(Qe||ve)(i.\u0275\u0275inject(C.t4))},ve.\u0275prov=i.\u0275\u0275defineInjectable({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})();function Oe(ve){return{matches:"all"===ve||""===ve,media:ve,addListener:()=>{},removeListener:()=>{}}}let me=(()=>{class ve{constructor(Qe,ot){this._mediaMatcher=Qe,this._zone=ot,this._queries=new Map,this._destroySubject=new g.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Qe){return ye((0,h.Eq)(Qe)).some(Ve=>this._registerQuery(Ve).mql.matches)}observe(Qe){const Ve=ye((0,h.Eq)(Qe)).map(Ie=>this._registerQuery(Ie).observable);let ue=(0,d.a)(Ve);return ue=(0,s.z)(ue.pipe((0,D.q)(1)),ue.pipe((0,T.T)(1),(0,S.b)(0))),ue.pipe((0,p.U)(Ie=>{const H={matches:!1,breakpoints:{}};return Ie.forEach(({matches:pe,query:ee})=>{H.matches=H.matches||pe,H.breakpoints[ee]=pe}),H}))}_registerQuery(Qe){if(this._queries.has(Qe))return this._queries.get(Qe);const ot=this._mediaMatcher.matchMedia(Qe),ue={observable:new v.y(Ie=>{const H=pe=>this._zone.run(()=>Ie.next(pe));return ot.addListener(H),()=>{ot.removeListener(H)}}).pipe((0,A.O)(ot),(0,p.U)(({matches:Ie})=>({query:Qe,matches:Ie})),(0,M.R)(this._destroySubject)),mql:ot};return this._queries.set(Qe,ue),ue}}return ve.\u0275fac=function(Qe){return new(Qe||ve)(i.\u0275\u0275inject(K),i.\u0275\u0275inject(i.NgZone))},ve.\u0275prov=i.\u0275\u0275defineInjectable({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})();function ye(ve){return ve.map(Re=>Re.split(",")).reduce((Re,Qe)=>Re.concat(Qe)).map(Re=>Re.trim())}const X={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},7144:(Be,y,c)=>{"use strict";c.d(y,{wD:()=>T,Q8:()=>S});var i=c(3191),h=c(5e3),g=c(9751),d=c(6758),s=c(8372);let v=(()=>{class p{create(M){return"undefined"==typeof MutationObserver?null:new MutationObserver(M)}}return p.\u0275fac=function(M){return new(M||p)},p.\u0275prov=h.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),D=(()=>{class p{constructor(M){this._mutationObserverFactory=M,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((M,C)=>this._cleanupObserver(C))}observe(M){const C=(0,i.fI)(M);return new g.y(N=>{const de=this._observeElement(C).subscribe(N);return()=>{de.unsubscribe(),this._unobserveElement(C)}})}_observeElement(M){if(this._observedElements.has(M))this._observedElements.get(M).count++;else{const C=new d.x,N=this._mutationObserverFactory.create($=>C.next($));N&&N.observe(M,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(M,{observer:N,stream:C,count:1})}return this._observedElements.get(M).stream}_unobserveElement(M){this._observedElements.has(M)&&(this._observedElements.get(M).count--,this._observedElements.get(M).count||this._cleanupObserver(M))}_cleanupObserver(M){if(this._observedElements.has(M)){const{observer:C,stream:N}=this._observedElements.get(M);C&&C.disconnect(),N.complete(),this._observedElements.delete(M)}}}return p.\u0275fac=function(M){return new(M||p)(h.\u0275\u0275inject(v))},p.\u0275prov=h.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),T=(()=>{class p{constructor(M,C,N){this._contentObserver=M,this._elementRef=C,this._ngZone=N,this.event=new h.EventEmitter,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(M){this._disabled=(0,i.Ig)(M),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(M){this._debounce=(0,i.su)(M),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const M=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?M.pipe((0,s.b)(this.debounce)):M).subscribe(this.event)})}_unsubscribe(){var M;null===(M=this._currentSubscription)||void 0===M||M.unsubscribe()}}return p.\u0275fac=function(M){return new(M||p)(h.\u0275\u0275directiveInject(D),h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.NgZone))},p.\u0275dir=h.\u0275\u0275defineDirective({type:p,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),p})(),S=(()=>{class p{}return p.\u0275fac=function(M){return new(M||p)},p.\u0275mod=h.\u0275\u0275defineNgModule({type:p}),p.\u0275inj=h.\u0275\u0275defineInjector({providers:[v]}),p})()},1314:(Be,y,c)=>{"use strict";c.d(y,{aV:()=>he,X_:()=>X,Xj:()=>Ie,U8:()=>wt});var i=c(9071),h=c(9808),g=c(5e3),d=c(3191),s=c(925),v=c(226),D=c(7429),T=c(6758),S=c(6921),p=c(6451),A=c(5698),M=c(2722);const C=(0,s.Mq)();class N{constructor(B,ie){this._viewportRuler=B,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ie}attach(){}enable(){if(this._canBeEnabled()){const B=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=B.style.left||"",this._previousHTMLStyles.top=B.style.top||"",B.style.left=(0,d.HM)(-this._previousScrollPosition.left),B.style.top=(0,d.HM)(-this._previousScrollPosition.top),B.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const B=this._document.documentElement,Ae=B.style,ae=this._document.body.style,Me=Ae.scrollBehavior||"",Xe=ae.scrollBehavior||"";this._isEnabled=!1,Ae.left=this._previousHTMLStyles.left,Ae.top=this._previousHTMLStyles.top,B.classList.remove("cdk-global-scrollblock"),C&&(Ae.scrollBehavior=ae.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),C&&(Ae.scrollBehavior=Me,ae.scrollBehavior=Xe)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ie=this._document.body,Ae=this._viewportRuler.getViewportSize();return ie.scrollHeight>Ae.height||ie.scrollWidth>Ae.width}}class de{constructor(B,ie,Ae,ae){this._scrollDispatcher=B,this._ngZone=ie,this._viewportRuler=Ae,this._config=ae,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(B){this._overlayRef=B}enable(){if(this._scrollSubscription)return;const B=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=B.subscribe(()=>{const ie=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ie-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=B.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class K{enable(){}disable(){}attach(){}}function ce(Ke,B){return B.some(ie=>Ke.bottom<ie.top||Ke.top>ie.bottom||Ke.right<ie.left||Ke.left>ie.right)}function Oe(Ke,B){return B.some(ie=>Ke.top<ie.top||Ke.bottom>ie.bottom||Ke.left<ie.left||Ke.right>ie.right)}class me{constructor(B,ie,Ae,ae){this._scrollDispatcher=B,this._viewportRuler=ie,this._ngZone=Ae,this._config=ae,this._scrollSubscription=null}attach(B){this._overlayRef=B}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const ie=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Ae,height:ae}=this._viewportRuler.getViewportSize();ce(ie,[{width:Ae,height:ae,bottom:ae,right:Ae,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let ye=(()=>{class Ke{constructor(ie,Ae,ae,Me){this._scrollDispatcher=ie,this._viewportRuler=Ae,this._ngZone=ae,this.noop=()=>new K,this.close=Xe=>new de(this._scrollDispatcher,this._ngZone,this._viewportRuler,Xe),this.block=()=>new N(this._viewportRuler,this._document),this.reposition=Xe=>new me(this._scrollDispatcher,this._viewportRuler,this._ngZone,Xe),this._document=Me}}return Ke.\u0275fac=function(ie){return new(ie||Ke)(g.\u0275\u0275inject(i.mF),g.\u0275\u0275inject(i.rL),g.\u0275\u0275inject(g.NgZone),g.\u0275\u0275inject(h.DOCUMENT))},Ke.\u0275prov=g.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();class X{constructor(B){if(this.scrollStrategy=new K,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,B){const ie=Object.keys(B);for(const Ae of ie)void 0!==B[Ae]&&(this[Ae]=B[Ae])}}}class Qe{constructor(B,ie){this.connectionPair=B,this.scrollableViewProperties=ie}}class ue{constructor(B,ie,Ae,ae,Me,Xe,De,Ce,_e){this._portalOutlet=B,this._host=ie,this._pane=Ae,this._config=ae,this._ngZone=Me,this._keyboardDispatcher=Xe,this._document=De,this._location=Ce,this._outsideClickDispatcher=_e,this._backdropElement=null,this._backdropClick=new T.x,this._attachments=new T.x,this._detachments=new T.x,this._locationChanges=S.w0.EMPTY,this._backdropClickHandler=tt=>this._backdropClick.next(tt),this._keydownEvents=new T.x,this._outsidePointerEvents=new T.x,ae.scrollStrategy&&(this._scrollStrategy=ae.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=ae.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(B){let ie=this._portalOutlet.attach(B);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,A.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),ie}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const B=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),B}dispose(){var B;const ie=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(B=this._host)||void 0===B||B.remove(),this._previousHostParent=this._pane=this._host=null,ie&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(B){B!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=B,this.hasAttached()&&(B.attach(this),this.updatePosition()))}updateSize(B){this._config=Object.assign(Object.assign({},this._config),B),this._updateElementSize()}setDirection(B){this._config=Object.assign(Object.assign({},this._config),{direction:B}),this._updateElementDirection()}addPanelClass(B){this._pane&&this._toggleClasses(this._pane,B,!0)}removePanelClass(B){this._pane&&this._toggleClasses(this._pane,B,!1)}getDirection(){const B=this._config.direction;return B?"string"==typeof B?B:B.value:"ltr"}updateScrollStrategy(B){B!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=B,this.hasAttached()&&(B.attach(this),B.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const B=this._pane.style;B.width=(0,d.HM)(this._config.width),B.height=(0,d.HM)(this._config.height),B.minWidth=(0,d.HM)(this._config.minWidth),B.minHeight=(0,d.HM)(this._config.minHeight),B.maxWidth=(0,d.HM)(this._config.maxWidth),B.maxHeight=(0,d.HM)(this._config.maxHeight)}_togglePointerEvents(B){this._pane.style.pointerEvents=B?"":"none"}_attachBackdrop(){const B="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(B)})}):this._backdropElement.classList.add(B)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const B=this._backdropElement;if(!B)return;let ie;const Ae=()=>{B&&(B.removeEventListener("click",this._backdropClickHandler),B.removeEventListener("transitionend",Ae),this._disposeBackdrop(B)),this._config.backdropClass&&this._toggleClasses(B,this._config.backdropClass,!1),clearTimeout(ie)};B.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{B.addEventListener("transitionend",Ae)}),B.style.pointerEvents="none",ie=this._ngZone.runOutsideAngular(()=>setTimeout(Ae,500))}_toggleClasses(B,ie,Ae){const ae=(0,d.Eq)(ie||[]).filter(Me=>!!Me);ae.length&&(Ae?B.classList.add(...ae):B.classList.remove(...ae))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const B=this._ngZone.onStable.pipe((0,M.R)((0,p.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),B.unsubscribe())})})}_disposeScrollStrategy(){const B=this._scrollStrategy;B&&(B.disable(),B.detach&&B.detach())}_disposeBackdrop(B){B&&(B.remove(),this._backdropElement===B&&(this._backdropElement=null))}}let Ie=(()=>{class Ke{constructor(ie,Ae){this._platform=Ae,this._document=ie}ngOnDestroy(){var ie;null===(ie=this._containerElement)||void 0===ie||ie.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ie="cdk-overlay-container";if(this._platform.isBrowser||(0,s.Oy)()){const ae=this._document.querySelectorAll(`.${ie}[platform="server"], .${ie}[platform="test"]`);for(let Me=0;Me<ae.length;Me++)ae[Me].remove()}const Ae=this._document.createElement("div");Ae.classList.add(ie),(0,s.Oy)()?Ae.setAttribute("platform","test"):this._platform.isBrowser||Ae.setAttribute("platform","server"),this._document.body.appendChild(Ae),this._containerElement=Ae}}return Ke.\u0275fac=function(ie){return new(ie||Ke)(g.\u0275\u0275inject(h.DOCUMENT),g.\u0275\u0275inject(s.t4))},Ke.\u0275prov=g.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();const H="cdk-overlay-connected-position-bounding-box",pe=/([A-Za-z%]+)$/;class ee{constructor(B,ie,Ae,ae,Me){this._viewportRuler=ie,this._document=Ae,this._platform=ae,this._overlayContainer=Me,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new T.x,this._resizeSubscription=S.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(B)}get positions(){return this._preferredPositions}attach(B){this._validatePositions(),B.hostElement.classList.add(H),this._overlayRef=B,this._boundingBox=B.hostElement,this._pane=B.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const B=this._originRect,ie=this._overlayRect,Ae=this._viewportRect,ae=this._containerRect,Me=[];let Xe;for(let De of this._preferredPositions){let Ce=this._getOriginPoint(B,ae,De),_e=this._getOverlayPoint(Ce,ie,De),tt=this._getOverlayFit(_e,ie,Ae,De);if(tt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(De,Ce);this._canFitWithFlexibleDimensions(tt,_e,Ae)?Me.push({position:De,origin:Ce,overlayRect:ie,boundingBoxRect:this._calculateBoundingBoxRect(Ce,De)}):(!Xe||Xe.overlayFit.visibleArea<tt.visibleArea)&&(Xe={overlayFit:tt,overlayPoint:_e,originPoint:Ce,position:De,overlayRect:ie})}if(Me.length){let De=null,Ce=-1;for(const _e of Me){const tt=_e.boundingBoxRect.width*_e.boundingBoxRect.height*(_e.position.weight||1);tt>Ce&&(Ce=tt,De=_e)}return this._isPushed=!1,void this._applyPosition(De.position,De.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Xe.position,Xe.originPoint);this._applyPosition(Xe.position,Xe.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&xe(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(H),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const B=this._lastPosition;if(B){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ie=this._getOriginPoint(this._originRect,this._containerRect,B);this._applyPosition(B,ie)}else this.apply()}withScrollableContainers(B){return this._scrollables=B,this}withPositions(B){return this._preferredPositions=B,-1===B.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(B){return this._viewportMargin=B,this}withFlexibleDimensions(B=!0){return this._hasFlexibleDimensions=B,this}withGrowAfterOpen(B=!0){return this._growAfterOpen=B,this}withPush(B=!0){return this._canPush=B,this}withLockedPosition(B=!0){return this._positionLocked=B,this}setOrigin(B){return this._origin=B,this}withDefaultOffsetX(B){return this._offsetX=B,this}withDefaultOffsetY(B){return this._offsetY=B,this}withTransformOriginOn(B){return this._transformOriginSelector=B,this}_getOriginPoint(B,ie,Ae){let ae,Me;if("center"==Ae.originX)ae=B.left+B.width/2;else{const Xe=this._isRtl()?B.right:B.left,De=this._isRtl()?B.left:B.right;ae="start"==Ae.originX?Xe:De}return ie.left<0&&(ae-=ie.left),Me="center"==Ae.originY?B.top+B.height/2:"top"==Ae.originY?B.top:B.bottom,ie.top<0&&(Me-=ie.top),{x:ae,y:Me}}_getOverlayPoint(B,ie,Ae){let ae,Me;return ae="center"==Ae.overlayX?-ie.width/2:"start"===Ae.overlayX?this._isRtl()?-ie.width:0:this._isRtl()?0:-ie.width,Me="center"==Ae.overlayY?-ie.height/2:"top"==Ae.overlayY?0:-ie.height,{x:B.x+ae,y:B.y+Me}}_getOverlayFit(B,ie,Ae,ae){const Me=Ze(ie);let{x:Xe,y:De}=B,Ce=this._getOffset(ae,"x"),_e=this._getOffset(ae,"y");Ce&&(Xe+=Ce),_e&&(De+=_e);let lt=0-De,_t=De+Me.height-Ae.height,Wt=this._subtractOverflows(Me.width,0-Xe,Xe+Me.width-Ae.width),Lt=this._subtractOverflows(Me.height,lt,_t),St=Wt*Lt;return{visibleArea:St,isCompletelyWithinViewport:Me.width*Me.height===St,fitsInViewportVertically:Lt===Me.height,fitsInViewportHorizontally:Wt==Me.width}}_canFitWithFlexibleDimensions(B,ie,Ae){if(this._hasFlexibleDimensions){const ae=Ae.bottom-ie.y,Me=Ae.right-ie.x,Xe=fe(this._overlayRef.getConfig().minHeight),De=fe(this._overlayRef.getConfig().minWidth),_e=B.fitsInViewportHorizontally||null!=De&&De<=Me;return(B.fitsInViewportVertically||null!=Xe&&Xe<=ae)&&_e}return!1}_pushOverlayOnScreen(B,ie,Ae){if(this._previousPushAmount&&this._positionLocked)return{x:B.x+this._previousPushAmount.x,y:B.y+this._previousPushAmount.y};const ae=Ze(ie),Me=this._viewportRect,Xe=Math.max(B.x+ae.width-Me.width,0),De=Math.max(B.y+ae.height-Me.height,0),Ce=Math.max(Me.top-Ae.top-B.y,0),_e=Math.max(Me.left-Ae.left-B.x,0);let tt=0,et=0;return tt=ae.width<=Me.width?_e||-Xe:B.x<this._viewportMargin?Me.left-Ae.left-B.x:0,et=ae.height<=Me.height?Ce||-De:B.y<this._viewportMargin?Me.top-Ae.top-B.y:0,this._previousPushAmount={x:tt,y:et},{x:B.x+tt,y:B.y+et}}_applyPosition(B,ie){if(this._setTransformOrigin(B),this._setOverlayElementStyles(ie,B),this._setBoundingBoxStyles(ie,B),B.panelClass&&this._addPanelClasses(B.panelClass),this._lastPosition=B,this._positionChanges.observers.length){const Ae=this._getScrollVisibility(),ae=new Qe(B,Ae);this._positionChanges.next(ae)}this._isInitialRender=!1}_setTransformOrigin(B){if(!this._transformOriginSelector)return;const ie=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Ae,ae=B.overlayY;Ae="center"===B.overlayX?"center":this._isRtl()?"start"===B.overlayX?"right":"left":"start"===B.overlayX?"left":"right";for(let Me=0;Me<ie.length;Me++)ie[Me].style.transformOrigin=`${Ae} ${ae}`}_calculateBoundingBoxRect(B,ie){const Ae=this._viewportRect,ae=this._isRtl();let Me,Xe,De,tt,et,lt;if("top"===ie.overlayY)Xe=B.y,Me=Ae.height-Xe+this._viewportMargin;else if("bottom"===ie.overlayY)De=Ae.height-B.y+2*this._viewportMargin,Me=Ae.height-De+this._viewportMargin;else{const _t=Math.min(Ae.bottom-B.y+Ae.top,B.y),Wt=this._lastBoundingBoxSize.height;Me=2*_t,Xe=B.y-_t,Me>Wt&&!this._isInitialRender&&!this._growAfterOpen&&(Xe=B.y-Wt/2)}if("end"===ie.overlayX&&!ae||"start"===ie.overlayX&&ae)lt=Ae.width-B.x+this._viewportMargin,tt=B.x-this._viewportMargin;else if("start"===ie.overlayX&&!ae||"end"===ie.overlayX&&ae)et=B.x,tt=Ae.right-B.x;else{const _t=Math.min(Ae.right-B.x+Ae.left,B.x),Wt=this._lastBoundingBoxSize.width;tt=2*_t,et=B.x-_t,tt>Wt&&!this._isInitialRender&&!this._growAfterOpen&&(et=B.x-Wt/2)}return{top:Xe,left:et,bottom:De,right:lt,width:tt,height:Me}}_setBoundingBoxStyles(B,ie){const Ae=this._calculateBoundingBoxRect(B,ie);!this._isInitialRender&&!this._growAfterOpen&&(Ae.height=Math.min(Ae.height,this._lastBoundingBoxSize.height),Ae.width=Math.min(Ae.width,this._lastBoundingBoxSize.width));const ae={};if(this._hasExactPosition())ae.top=ae.left="0",ae.bottom=ae.right=ae.maxHeight=ae.maxWidth="",ae.width=ae.height="100%";else{const Me=this._overlayRef.getConfig().maxHeight,Xe=this._overlayRef.getConfig().maxWidth;ae.height=(0,d.HM)(Ae.height),ae.top=(0,d.HM)(Ae.top),ae.bottom=(0,d.HM)(Ae.bottom),ae.width=(0,d.HM)(Ae.width),ae.left=(0,d.HM)(Ae.left),ae.right=(0,d.HM)(Ae.right),ae.alignItems="center"===ie.overlayX?"center":"end"===ie.overlayX?"flex-end":"flex-start",ae.justifyContent="center"===ie.overlayY?"center":"bottom"===ie.overlayY?"flex-end":"flex-start",Me&&(ae.maxHeight=(0,d.HM)(Me)),Xe&&(ae.maxWidth=(0,d.HM)(Xe))}this._lastBoundingBoxSize=Ae,xe(this._boundingBox.style,ae)}_resetBoundingBoxStyles(){xe(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){xe(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(B,ie){const Ae={},ae=this._hasExactPosition(),Me=this._hasFlexibleDimensions,Xe=this._overlayRef.getConfig();if(ae){const tt=this._viewportRuler.getViewportScrollPosition();xe(Ae,this._getExactOverlayY(ie,B,tt)),xe(Ae,this._getExactOverlayX(ie,B,tt))}else Ae.position="static";let De="",Ce=this._getOffset(ie,"x"),_e=this._getOffset(ie,"y");Ce&&(De+=`translateX(${Ce}px) `),_e&&(De+=`translateY(${_e}px)`),Ae.transform=De.trim(),Xe.maxHeight&&(ae?Ae.maxHeight=(0,d.HM)(Xe.maxHeight):Me&&(Ae.maxHeight="")),Xe.maxWidth&&(ae?Ae.maxWidth=(0,d.HM)(Xe.maxWidth):Me&&(Ae.maxWidth="")),xe(this._pane.style,Ae)}_getExactOverlayY(B,ie,Ae){let ae={top:"",bottom:""},Me=this._getOverlayPoint(ie,this._overlayRect,B);return this._isPushed&&(Me=this._pushOverlayOnScreen(Me,this._overlayRect,Ae)),"bottom"===B.overlayY?ae.bottom=this._document.documentElement.clientHeight-(Me.y+this._overlayRect.height)+"px":ae.top=(0,d.HM)(Me.y),ae}_getExactOverlayX(B,ie,Ae){let Xe,ae={left:"",right:""},Me=this._getOverlayPoint(ie,this._overlayRect,B);return this._isPushed&&(Me=this._pushOverlayOnScreen(Me,this._overlayRect,Ae)),Xe=this._isRtl()?"end"===B.overlayX?"left":"right":"end"===B.overlayX?"right":"left","right"===Xe?ae.right=this._document.documentElement.clientWidth-(Me.x+this._overlayRect.width)+"px":ae.left=(0,d.HM)(Me.x),ae}_getScrollVisibility(){const B=this._getOriginRect(),ie=this._pane.getBoundingClientRect(),Ae=this._scrollables.map(ae=>ae.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Oe(B,Ae),isOriginOutsideView:ce(B,Ae),isOverlayClipped:Oe(ie,Ae),isOverlayOutsideView:ce(ie,Ae)}}_subtractOverflows(B,...ie){return ie.reduce((Ae,ae)=>Ae-Math.max(ae,0),B)}_getNarrowedViewportRect(){const B=this._document.documentElement.clientWidth,ie=this._document.documentElement.clientHeight,Ae=this._viewportRuler.getViewportScrollPosition();return{top:Ae.top+this._viewportMargin,left:Ae.left+this._viewportMargin,right:Ae.left+B-this._viewportMargin,bottom:Ae.top+ie-this._viewportMargin,width:B-2*this._viewportMargin,height:ie-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(B,ie){return"x"===ie?null==B.offsetX?this._offsetX:B.offsetX:null==B.offsetY?this._offsetY:B.offsetY}_validatePositions(){}_addPanelClasses(B){this._pane&&(0,d.Eq)(B).forEach(ie=>{""!==ie&&-1===this._appliedPanelClasses.indexOf(ie)&&(this._appliedPanelClasses.push(ie),this._pane.classList.add(ie))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(B=>{this._pane.classList.remove(B)}),this._appliedPanelClasses=[])}_getOriginRect(){const B=this._origin;if(B instanceof g.ElementRef)return B.nativeElement.getBoundingClientRect();if(B instanceof Element)return B.getBoundingClientRect();const ie=B.width||0,Ae=B.height||0;return{top:B.y,bottom:B.y+Ae,left:B.x,right:B.x+ie,height:Ae,width:ie}}}function xe(Ke,B){for(let ie in B)B.hasOwnProperty(ie)&&(Ke[ie]=B[ie]);return Ke}function fe(Ke){if("number"!=typeof Ke&&null!=Ke){const[B,ie]=Ke.split(pe);return ie&&"px"!==ie?null:parseFloat(B)}return Ke||null}function Ze(Ke){return{top:Math.floor(Ke.top),right:Math.floor(Ke.right),bottom:Math.floor(Ke.bottom),left:Math.floor(Ke.left),width:Math.floor(Ke.width),height:Math.floor(Ke.height)}}const ge="cdk-global-overlay-wrapper";class He{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(B){const ie=B.getConfig();this._overlayRef=B,this._width&&!ie.width&&B.updateSize({width:this._width}),this._height&&!ie.height&&B.updateSize({height:this._height}),B.hostElement.classList.add(ge),this._isDisposed=!1}top(B=""){return this._bottomOffset="",this._topOffset=B,this._alignItems="flex-start",this}left(B=""){return this._rightOffset="",this._leftOffset=B,this._justifyContent="flex-start",this}bottom(B=""){return this._topOffset="",this._bottomOffset=B,this._alignItems="flex-end",this}right(B=""){return this._leftOffset="",this._rightOffset=B,this._justifyContent="flex-end",this}width(B=""){return this._overlayRef?this._overlayRef.updateSize({width:B}):this._width=B,this}height(B=""){return this._overlayRef?this._overlayRef.updateSize({height:B}):this._height=B,this}centerHorizontally(B=""){return this.left(B),this._justifyContent="center",this}centerVertically(B=""){return this.top(B),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const B=this._overlayRef.overlayElement.style,ie=this._overlayRef.hostElement.style,Ae=this._overlayRef.getConfig(),{width:ae,height:Me,maxWidth:Xe,maxHeight:De}=Ae,Ce=!("100%"!==ae&&"100vw"!==ae||Xe&&"100%"!==Xe&&"100vw"!==Xe),_e=!("100%"!==Me&&"100vh"!==Me||De&&"100%"!==De&&"100vh"!==De);B.position=this._cssPosition,B.marginLeft=Ce?"0":this._leftOffset,B.marginTop=_e?"0":this._topOffset,B.marginBottom=this._bottomOffset,B.marginRight=this._rightOffset,Ce?ie.justifyContent="flex-start":"center"===this._justifyContent?ie.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?ie.justifyContent="flex-end":"flex-end"===this._justifyContent&&(ie.justifyContent="flex-start"):ie.justifyContent=this._justifyContent,ie.alignItems=_e?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const B=this._overlayRef.overlayElement.style,ie=this._overlayRef.hostElement,Ae=ie.style;ie.classList.remove(ge),Ae.justifyContent=Ae.alignItems=B.marginTop=B.marginBottom=B.marginLeft=B.marginRight=B.position="",this._overlayRef=null,this._isDisposed=!0}}let at=(()=>{class Ke{constructor(ie,Ae,ae,Me){this._viewportRuler=ie,this._document=Ae,this._platform=ae,this._overlayContainer=Me}global(){return new He}flexibleConnectedTo(ie){return new ee(ie,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Ke.\u0275fac=function(ie){return new(ie||Ke)(g.\u0275\u0275inject(i.rL),g.\u0275\u0275inject(h.DOCUMENT),g.\u0275\u0275inject(s.t4),g.\u0275\u0275inject(Ie))},Ke.\u0275prov=g.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})(),gt=(()=>{class Ke{constructor(ie){this._attachedOverlays=[],this._document=ie}ngOnDestroy(){this.detach()}add(ie){this.remove(ie),this._attachedOverlays.push(ie)}remove(ie){const Ae=this._attachedOverlays.indexOf(ie);Ae>-1&&this._attachedOverlays.splice(Ae,1),0===this._attachedOverlays.length&&this.detach()}}return Ke.\u0275fac=function(ie){return new(ie||Ke)(g.\u0275\u0275inject(h.DOCUMENT))},Ke.\u0275prov=g.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})(),Le=(()=>{class Ke extends gt{constructor(ie,Ae){super(ie),this._ngZone=Ae,this._keydownListener=ae=>{const Me=this._attachedOverlays;for(let Xe=Me.length-1;Xe>-1;Xe--)if(Me[Xe]._keydownEvents.observers.length>0){const De=Me[Xe]._keydownEvents;this._ngZone?this._ngZone.run(()=>De.next(ae)):De.next(ae);break}}}add(ie){super.add(ie),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return Ke.\u0275fac=function(ie){return new(ie||Ke)(g.\u0275\u0275inject(h.DOCUMENT),g.\u0275\u0275inject(g.NgZone,8))},Ke.\u0275prov=g.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})(),qe=(()=>{class Ke extends gt{constructor(ie,Ae,ae){super(ie),this._platform=Ae,this._ngZone=ae,this._cursorStyleIsSet=!1,this._pointerDownListener=Me=>{this._pointerDownEventTarget=(0,s.sA)(Me)},this._clickListener=Me=>{const Xe=(0,s.sA)(Me),De="click"===Me.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Xe;this._pointerDownEventTarget=null;const Ce=this._attachedOverlays.slice();for(let _e=Ce.length-1;_e>-1;_e--){const tt=Ce[_e];if(tt._outsidePointerEvents.observers.length<1||!tt.hasAttached())continue;if(tt.overlayElement.contains(Xe)||tt.overlayElement.contains(De))break;const et=tt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>et.next(Me)):et.next(Me)}}}add(ie){if(super.add(ie),!this._isAttached){const Ae=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Ae)):this._addEventListeners(Ae),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Ae.style.cursor,Ae.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const ie=this._document.body;ie.removeEventListener("pointerdown",this._pointerDownListener,!0),ie.removeEventListener("click",this._clickListener,!0),ie.removeEventListener("auxclick",this._clickListener,!0),ie.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(ie.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(ie){ie.addEventListener("pointerdown",this._pointerDownListener,!0),ie.addEventListener("click",this._clickListener,!0),ie.addEventListener("auxclick",this._clickListener,!0),ie.addEventListener("contextmenu",this._clickListener,!0)}}return Ke.\u0275fac=function(ie){return new(ie||Ke)(g.\u0275\u0275inject(h.DOCUMENT),g.\u0275\u0275inject(s.t4),g.\u0275\u0275inject(g.NgZone,8))},Ke.\u0275prov=g.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})(),q=0,he=(()=>{class Ke{constructor(ie,Ae,ae,Me,Xe,De,Ce,_e,tt,et,lt){this.scrollStrategies=ie,this._overlayContainer=Ae,this._componentFactoryResolver=ae,this._positionBuilder=Me,this._keyboardDispatcher=Xe,this._injector=De,this._ngZone=Ce,this._document=_e,this._directionality=tt,this._location=et,this._outsideClickDispatcher=lt}create(ie){const Ae=this._createHostElement(),ae=this._createPaneElement(Ae),Me=this._createPortalOutlet(ae),Xe=new X(ie);return Xe.direction=Xe.direction||this._directionality.value,new ue(Me,Ae,ae,Xe,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(ie){const Ae=this._document.createElement("div");return Ae.id="cdk-overlay-"+q++,Ae.classList.add("cdk-overlay-pane"),ie.appendChild(Ae),Ae}_createHostElement(){const ie=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(ie),ie}_createPortalOutlet(ie){return this._appRef||(this._appRef=this._injector.get(g.ApplicationRef)),new D.u0(ie,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Ke.\u0275fac=function(ie){return new(ie||Ke)(g.\u0275\u0275inject(ye),g.\u0275\u0275inject(Ie),g.\u0275\u0275inject(g.ComponentFactoryResolver),g.\u0275\u0275inject(at),g.\u0275\u0275inject(Le),g.\u0275\u0275inject(g.Injector),g.\u0275\u0275inject(g.NgZone),g.\u0275\u0275inject(h.DOCUMENT),g.\u0275\u0275inject(v.Is),g.\u0275\u0275inject(h.Location),g.\u0275\u0275inject(qe))},Ke.\u0275prov=g.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac}),Ke})();const ht={provide:new g.InjectionToken("cdk-connected-overlay-scroll-strategy"),deps:[he],useFactory:function mt(Ke){return()=>Ke.scrollStrategies.reposition()}};let wt=(()=>{class Ke{}return Ke.\u0275fac=function(ie){return new(ie||Ke)},Ke.\u0275mod=g.\u0275\u0275defineNgModule({type:Ke}),Ke.\u0275inj=g.\u0275\u0275defineInjector({providers:[he,ht],imports:[[v.vT,D.eL,i.Cl],i.Cl]}),Ke})()},925:(Be,y,c)=>{"use strict";c.d(y,{t4:()=>d,sA:()=>me,ht:()=>Oe,kV:()=>ce,Oy:()=>ye,i$:()=>A,Mq:()=>N});var i=c(5e3),h=c(9808);let g;try{g="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(X){g=!1}let S,C,de,d=(()=>{class X{constructor(Re){this._platformId=Re,this.isBrowser=this._platformId?(0,h.isPlatformBrowser)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!g)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return X.\u0275fac=function(Re){return new(Re||X)(i.\u0275\u0275inject(i.PLATFORM_ID))},X.\u0275prov=i.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"}),X})();function A(X){return function p(){if(null==S&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>S=!0}))}finally{S=S||!1}return S}()?X:!!X.capture}function N(){if(null==C){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return C=!1,C;if("scrollBehavior"in document.documentElement.style)C=!0;else{const X=Element.prototype.scrollTo;C=!!X&&!/\{\s*\[native code\]\s*\}/.test(X.toString())}}return C}function ce(X){if(function K(){if(null==de){const X="undefined"!=typeof document?document.head:null;de=!(!X||!X.createShadowRoot&&!X.attachShadow)}return de}()){const ve=X.getRootNode?X.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&ve instanceof ShadowRoot)return ve}return null}function Oe(){let X="undefined"!=typeof document&&document?document.activeElement:null;for(;X&&X.shadowRoot;){const ve=X.shadowRoot.activeElement;if(ve===X)break;X=ve}return X}function me(X){return X.composedPath?X.composedPath()[0]:X.target}function ye(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7429:(Be,y,c)=>{"use strict";c.d(y,{en:()=>C,ig:()=>K,Pl:()=>Oe,C5:()=>p,u0:()=>$,eL:()=>ye,UE:()=>A});var i=c(5e3),h=c(9808);class S{attach(Re){return this._attachedHost=Re,Re.attach(this)}detach(){let Re=this._attachedHost;null!=Re&&(this._attachedHost=null,Re.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Re){this._attachedHost=Re}}class p extends S{constructor(Re,Qe,ot,Ve){super(),this.component=Re,this.viewContainerRef=Qe,this.injector=ot,this.componentFactoryResolver=Ve}}class A extends S{constructor(Re,Qe,ot){super(),this.templateRef=Re,this.viewContainerRef=Qe,this.context=ot}get origin(){return this.templateRef.elementRef}attach(Re,Qe=this.context){return this.context=Qe,super.attach(Re)}detach(){return this.context=void 0,super.detach()}}class M extends S{constructor(Re){super(),this.element=Re instanceof i.ElementRef?Re.nativeElement:Re}}class C{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Re){return Re instanceof p?(this._attachedPortal=Re,this.attachComponentPortal(Re)):Re instanceof A?(this._attachedPortal=Re,this.attachTemplatePortal(Re)):this.attachDomPortal&&Re instanceof M?(this._attachedPortal=Re,this.attachDomPortal(Re)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Re){this._disposeFn=Re}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class $ extends C{constructor(Re,Qe,ot,Ve,ue){super(),this.outletElement=Re,this._componentFactoryResolver=Qe,this._appRef=ot,this._defaultInjector=Ve,this.attachDomPortal=Ie=>{const H=Ie.element,pe=this._document.createComment("dom-portal");H.parentNode.insertBefore(pe,H),this.outletElement.appendChild(H),this._attachedPortal=Ie,super.setDisposeFn(()=>{pe.parentNode&&pe.parentNode.replaceChild(H,pe)})},this._document=ue}attachComponentPortal(Re){const ot=(Re.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Re.component);let Ve;return Re.viewContainerRef?(Ve=Re.viewContainerRef.createComponent(ot,Re.viewContainerRef.length,Re.injector||Re.viewContainerRef.injector),this.setDisposeFn(()=>Ve.destroy())):(Ve=ot.create(Re.injector||this._defaultInjector),this._appRef.attachView(Ve.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Ve.hostView),Ve.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Ve)),this._attachedPortal=Re,Ve}attachTemplatePortal(Re){let Qe=Re.viewContainerRef,ot=Qe.createEmbeddedView(Re.templateRef,Re.context);return ot.rootNodes.forEach(Ve=>this.outletElement.appendChild(Ve)),ot.detectChanges(),this.setDisposeFn(()=>{let Ve=Qe.indexOf(ot);-1!==Ve&&Qe.remove(Ve)}),this._attachedPortal=Re,ot}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Re){return Re.hostView.rootNodes[0]}}let K=(()=>{class ve extends A{constructor(Qe,ot){super(Qe,ot)}}return ve.\u0275fac=function(Qe){return new(Qe||ve)(i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.ViewContainerRef))},ve.\u0275dir=i.\u0275\u0275defineDirective({type:ve,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.\u0275\u0275InheritDefinitionFeature]}),ve})(),Oe=(()=>{class ve extends C{constructor(Qe,ot,Ve){super(),this._componentFactoryResolver=Qe,this._viewContainerRef=ot,this._isInitialized=!1,this.attached=new i.EventEmitter,this.attachDomPortal=ue=>{const Ie=ue.element,H=this._document.createComment("dom-portal");ue.setAttachedHost(this),Ie.parentNode.insertBefore(H,Ie),this._getRootNode().appendChild(Ie),this._attachedPortal=ue,super.setDisposeFn(()=>{H.parentNode&&H.parentNode.replaceChild(Ie,H)})},this._document=Ve}get portal(){return this._attachedPortal}set portal(Qe){this.hasAttached()&&!Qe&&!this._isInitialized||(this.hasAttached()&&super.detach(),Qe&&super.attach(Qe),this._attachedPortal=Qe||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(Qe){Qe.setAttachedHost(this);const ot=null!=Qe.viewContainerRef?Qe.viewContainerRef:this._viewContainerRef,ue=(Qe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Qe.component),Ie=ot.createComponent(ue,ot.length,Qe.injector||ot.injector);return ot!==this._viewContainerRef&&this._getRootNode().appendChild(Ie.hostView.rootNodes[0]),super.setDisposeFn(()=>Ie.destroy()),this._attachedPortal=Qe,this._attachedRef=Ie,this.attached.emit(Ie),Ie}attachTemplatePortal(Qe){Qe.setAttachedHost(this);const ot=this._viewContainerRef.createEmbeddedView(Qe.templateRef,Qe.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Qe,this._attachedRef=ot,this.attached.emit(ot),ot}_getRootNode(){const Qe=this._viewContainerRef.element.nativeElement;return Qe.nodeType===Qe.ELEMENT_NODE?Qe:Qe.parentNode}}return ve.\u0275fac=function(Qe){return new(Qe||ve)(i.\u0275\u0275directiveInject(i.ComponentFactoryResolver),i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(h.DOCUMENT))},ve.\u0275dir=i.\u0275\u0275defineDirective({type:ve,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.\u0275\u0275InheritDefinitionFeature]}),ve})(),ye=(()=>{class ve{}return ve.\u0275fac=function(Qe){return new(Qe||ve)},ve.\u0275mod=i.\u0275\u0275defineNgModule({type:ve}),ve.\u0275inj=i.\u0275\u0275defineInjector({}),ve})()},9071:(Be,y,c)=>{"use strict";c.d(y,{ZD:()=>H,mF:()=>ye,Cl:()=>pe,rL:()=>Re});var i=c(3191),h=c(5e3),g=c(6758),d=c(9646),s=c(9751),v=c(4968),S=(c(29),c(3101),c(453)),p=c(9300),A=c(9808),M=c(925),C=c(226);let ye=(()=>{class ee{constructor(fe,Ze,ge){this._ngZone=fe,this._platform=Ze,this._scrolled=new g.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ge}register(fe){this.scrollContainers.has(fe)||this.scrollContainers.set(fe,fe.elementScrolled().subscribe(()=>this._scrolled.next(fe)))}deregister(fe){const Ze=this.scrollContainers.get(fe);Ze&&(Ze.unsubscribe(),this.scrollContainers.delete(fe))}scrolled(fe=20){return this._platform.isBrowser?new s.y(Ze=>{this._globalSubscription||this._addGlobalListener();const ge=fe>0?this._scrolled.pipe((0,S.e)(fe)).subscribe(Ze):this._scrolled.subscribe(Ze);return this._scrolledCount++,()=>{ge.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,d.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((fe,Ze)=>this.deregister(Ze)),this._scrolled.complete()}ancestorScrolled(fe,Ze){const ge=this.getAncestorScrollContainers(fe);return this.scrolled(Ze).pipe((0,p.h)(He=>!He||ge.indexOf(He)>-1))}getAncestorScrollContainers(fe){const Ze=[];return this.scrollContainers.forEach((ge,He)=>{this._scrollableContainsElement(He,fe)&&Ze.push(He)}),Ze}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(fe,Ze){let ge=(0,i.fI)(Ze),He=fe.getElementRef().nativeElement;do{if(ge==He)return!0}while(ge=ge.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const fe=this._getWindow();return(0,v.R)(fe.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return ee.\u0275fac=function(fe){return new(fe||ee)(h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(M.t4),h.\u0275\u0275inject(A.DOCUMENT,8))},ee.\u0275prov=h.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),Re=(()=>{class ee{constructor(fe,Ze,ge){this._platform=fe,this._change=new g.x,this._changeListener=He=>{this._change.next(He)},this._document=ge,Ze.runOutsideAngular(()=>{if(fe.isBrowser){const He=this._getWindow();He.addEventListener("resize",this._changeListener),He.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const fe=this._getWindow();fe.removeEventListener("resize",this._changeListener),fe.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const fe={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),fe}getViewportRect(){const fe=this.getViewportScrollPosition(),{width:Ze,height:ge}=this.getViewportSize();return{top:fe.top,left:fe.left,bottom:fe.top+ge,right:fe.left+Ze,height:ge,width:Ze}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const fe=this._document,Ze=this._getWindow(),ge=fe.documentElement,He=ge.getBoundingClientRect();return{top:-He.top||fe.body.scrollTop||Ze.scrollY||ge.scrollTop||0,left:-He.left||fe.body.scrollLeft||Ze.scrollX||ge.scrollLeft||0}}change(fe=20){return fe>0?this._change.pipe((0,S.e)(fe)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const fe=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:fe.innerWidth,height:fe.innerHeight}:{width:0,height:0}}}return ee.\u0275fac=function(fe){return new(fe||ee)(h.\u0275\u0275inject(M.t4),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(A.DOCUMENT,8))},ee.\u0275prov=h.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),H=(()=>{class ee{}return ee.\u0275fac=function(fe){return new(fe||ee)},ee.\u0275mod=h.\u0275\u0275defineNgModule({type:ee}),ee.\u0275inj=h.\u0275\u0275defineInjector({}),ee})(),pe=(()=>{class ee{}return ee.\u0275fac=function(fe){return new(fe||ee)},ee.\u0275mod=h.\u0275\u0275defineNgModule({type:ee}),ee.\u0275inj=h.\u0275\u0275defineInjector({imports:[[C.vT,H],C.vT,H]}),ee})()},9808:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{APP_BASE_HREF:()=>Oe,AsyncPipe:()=>qi,CommonModule:()=>$i,CurrencyPipe:()=>Pi,DATE_PIPE_DEFAULT_TIMEZONE:()=>Or,DOCUMENT:()=>D,DatePipe:()=>Si,DecimalPipe:()=>pr,FormStyle:()=>Ie,FormatWidth:()=>pe,HashLocationStrategy:()=>ye,I18nPluralPipe:()=>Rr,I18nSelectPipe:()=>ji,JsonPipe:()=>Ci,KeyValuePipe:()=>Fr,LOCATION_INITIALIZED:()=>p,Location:()=>X,LocationStrategy:()=>K,LowerCasePipe:()=>fr,NgClass:()=>en,NgComponentOutlet:()=>Sn,NgForOf:()=>gn,NgForOfContext:()=>Rn,NgIf:()=>Un,NgIfContext:()=>sn,NgLocaleLocalization:()=>on,NgLocalization:()=>xt,NgPlural:()=>ai,NgPluralCase:()=>Gn,NgStyle:()=>Pr,NgSwitch:()=>wn,NgSwitchCase:()=>Fn,NgSwitchDefault:()=>mi,NgTemplateOutlet:()=>hr,NumberFormatStyle:()=>Ve,NumberSymbol:()=>ee,PathLocationStrategy:()=>me,PercentPipe:()=>li,PlatformLocation:()=>T,Plural:()=>ue,SlicePipe:()=>Ai,TitleCasePipe:()=>Hr,TranslationWidth:()=>H,UpperCasePipe:()=>oi,VERSION:()=>nr,ViewportScroller:()=>ci,WeekDay:()=>xe,XhrFactory:()=>vn,formatCurrency:()=>An,formatDate:()=>Wt,formatNumber:()=>Se,formatPercent:()=>U,getCurrencySymbol:()=>Me,getLocaleCurrencyCode:()=>mt,getLocaleCurrencyName:()=>Ge,getLocaleCurrencySymbol:()=>be,getLocaleDateFormat:()=>qe,getLocaleDateTimeFormat:()=>he,getLocaleDayNames:()=>ge,getLocaleDayPeriods:()=>Ze,getLocaleDirection:()=>ie,getLocaleEraNames:()=>at,getLocaleExtraDayPeriodRules:()=>Ke,getLocaleExtraDayPeriods:()=>B,getLocaleFirstDayOfWeek:()=>gt,getLocaleId:()=>fe,getLocaleMonthNames:()=>He,getLocaleNumberFormat:()=>Fe,getLocaleNumberSymbol:()=>we,getLocalePluralCase:()=>wt,getLocaleTimeFormat:()=>q,getLocaleWeekEndRange:()=>Le,getNumberOfCurrencyDigits:()=>De,isPlatformBrowser:()=>Vn,isPlatformServer:()=>Hi,isPlatformWorkerApp:()=>xi,isPlatformWorkerUi:()=>$n,registerLocaleData:()=>Rt,\u0275BrowserPlatformLocation:()=>A,\u0275DomAdapter:()=>v,\u0275NullViewportScroller:()=>yr,\u0275PLATFORM_BROWSER_ID:()=>Oi,\u0275PLATFORM_SERVER_ID:()=>tr,\u0275PLATFORM_WORKER_APP_ID:()=>ei,\u0275PLATFORM_WORKER_UI_ID:()=>gr,\u0275getDOM:()=>g,\u0275parseCookieValue:()=>Cn,\u0275setRootDomAdapter:()=>s});var i=c(5e3);let h=null;function g(){return h}function s(F){h||(h=F)}class v{}const D=new i.InjectionToken("DocumentToken");let T=(()=>{class F{historyGo(R){throw new Error("Not implemented")}}return F.\u0275fac=function(R){return new(R||F)},F.\u0275prov=i.\u0275\u0275defineInjectable({token:F,factory:function(){return function S(){return(0,i.\u0275\u0275inject)(A)}()},providedIn:"platform"}),F})();const p=new i.InjectionToken("Location Initialized");let A=(()=>{class F extends T{constructor(R){super(),this._doc=R,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}onPopState(R){const ne=g().getGlobalEventTarget(this._doc,"window");return ne.addEventListener("popstate",R,!1),()=>ne.removeEventListener("popstate",R)}onHashChange(R){const ne=g().getGlobalEventTarget(this._doc,"window");return ne.addEventListener("hashchange",R,!1),()=>ne.removeEventListener("hashchange",R)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(R){this.location.pathname=R}pushState(R,ne,ze){M()?this._history.pushState(R,ne,ze):this.location.hash=ze}replaceState(R,ne,ze){M()?this._history.replaceState(R,ne,ze):this.location.hash=ze}forward(){this._history.forward()}back(){this._history.back()}historyGo(R=0){this._history.go(R)}getState(){return this._history.state}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275inject(D))},F.\u0275prov=i.\u0275\u0275defineInjectable({token:F,factory:function(){return function C(){return new A((0,i.\u0275\u0275inject)(D))}()},providedIn:"platform"}),F})();function M(){return!!window.history.pushState}function N(F,J){if(0==F.length)return J;if(0==J.length)return F;let R=0;return F.endsWith("/")&&R++,J.startsWith("/")&&R++,2==R?F+J.substring(1):1==R?F+J:F+"/"+J}function $(F){const J=F.match(/#|\?|$/),R=J&&J.index||F.length;return F.slice(0,R-("/"===F[R-1]?1:0))+F.slice(R)}function de(F){return F&&"?"!==F[0]?"?"+F:F}let K=(()=>{class F{historyGo(R){throw new Error("Not implemented")}}return F.\u0275fac=function(R){return new(R||F)},F.\u0275prov=i.\u0275\u0275defineInjectable({token:F,factory:function(){return function ce(F){const J=(0,i.\u0275\u0275inject)(D).location;return new me((0,i.\u0275\u0275inject)(T),J&&J.origin||"")}()},providedIn:"root"}),F})();const Oe=new i.InjectionToken("appBaseHref");let me=(()=>{class F extends K{constructor(R,ne){if(super(),this._platformLocation=R,this._removeListenerFns=[],null==ne&&(ne=this._platformLocation.getBaseHrefFromDOM()),null==ne)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=ne}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(R){this._removeListenerFns.push(this._platformLocation.onPopState(R),this._platformLocation.onHashChange(R))}getBaseHref(){return this._baseHref}prepareExternalUrl(R){return N(this._baseHref,R)}path(R=!1){const ne=this._platformLocation.pathname+de(this._platformLocation.search),ze=this._platformLocation.hash;return ze&&R?`${ne}${ze}`:ne}pushState(R,ne,ze,ut){const pt=this.prepareExternalUrl(ze+de(ut));this._platformLocation.pushState(R,ne,pt)}replaceState(R,ne,ze,ut){const pt=this.prepareExternalUrl(ze+de(ut));this._platformLocation.replaceState(R,ne,pt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(R=0){var ne,ze;null===(ze=(ne=this._platformLocation).historyGo)||void 0===ze||ze.call(ne,R)}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275inject(T),i.\u0275\u0275inject(Oe,8))},F.\u0275prov=i.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})(),ye=(()=>{class F extends K{constructor(R,ne){super(),this._platformLocation=R,this._baseHref="",this._removeListenerFns=[],null!=ne&&(this._baseHref=ne)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(R){this._removeListenerFns.push(this._platformLocation.onPopState(R),this._platformLocation.onHashChange(R))}getBaseHref(){return this._baseHref}path(R=!1){let ne=this._platformLocation.hash;return null==ne&&(ne="#"),ne.length>0?ne.substring(1):ne}prepareExternalUrl(R){const ne=N(this._baseHref,R);return ne.length>0?"#"+ne:ne}pushState(R,ne,ze,ut){let pt=this.prepareExternalUrl(ze+de(ut));0==pt.length&&(pt=this._platformLocation.pathname),this._platformLocation.pushState(R,ne,pt)}replaceState(R,ne,ze,ut){let pt=this.prepareExternalUrl(ze+de(ut));0==pt.length&&(pt=this._platformLocation.pathname),this._platformLocation.replaceState(R,ne,pt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(R=0){var ne,ze;null===(ze=(ne=this._platformLocation).historyGo)||void 0===ze||ze.call(ne,R)}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275inject(T),i.\u0275\u0275inject(Oe,8))},F.\u0275prov=i.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})(),X=(()=>{class F{constructor(R,ne){this._subject=new i.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=R;const ze=this._platformStrategy.getBaseHref();this._platformLocation=ne,this._baseHref=$(Qe(ze)),this._platformStrategy.onPopState(ut=>{this._subject.emit({url:this.path(!0),pop:!0,state:ut.state,type:ut.type})})}path(R=!1){return this.normalize(this._platformStrategy.path(R))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(R,ne=""){return this.path()==this.normalize(R+de(ne))}normalize(R){return F.stripTrailingSlash(function Re(F,J){return F&&J.startsWith(F)?J.substring(F.length):J}(this._baseHref,Qe(R)))}prepareExternalUrl(R){return R&&"/"!==R[0]&&(R="/"+R),this._platformStrategy.prepareExternalUrl(R)}go(R,ne="",ze=null){this._platformStrategy.pushState(ze,"",R,ne),this._notifyUrlChangeListeners(this.prepareExternalUrl(R+de(ne)),ze)}replaceState(R,ne="",ze=null){this._platformStrategy.replaceState(ze,"",R,ne),this._notifyUrlChangeListeners(this.prepareExternalUrl(R+de(ne)),ze)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(R=0){var ne,ze;null===(ze=(ne=this._platformStrategy).historyGo)||void 0===ze||ze.call(ne,R)}onUrlChange(R){this._urlChangeListeners.push(R),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(ne=>{this._notifyUrlChangeListeners(ne.url,ne.state)}))}_notifyUrlChangeListeners(R="",ne){this._urlChangeListeners.forEach(ze=>ze(R,ne))}subscribe(R,ne,ze){return this._subject.subscribe({next:R,error:ne,complete:ze})}}return F.normalizeQueryParams=de,F.joinWithSlash=N,F.stripTrailingSlash=$,F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275inject(K),i.\u0275\u0275inject(T))},F.\u0275prov=i.\u0275\u0275defineInjectable({token:F,factory:function(){return function ve(){return new X((0,i.\u0275\u0275inject)(K),(0,i.\u0275\u0275inject)(T))}()},providedIn:"root"}),F})();function Qe(F){return F.replace(/\/index.html$/,"")}const ot={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Ve=(()=>((Ve=Ve||{})[Ve.Decimal=0]="Decimal",Ve[Ve.Percent=1]="Percent",Ve[Ve.Currency=2]="Currency",Ve[Ve.Scientific=3]="Scientific",Ve))(),ue=(()=>((ue=ue||{})[ue.Zero=0]="Zero",ue[ue.One=1]="One",ue[ue.Two=2]="Two",ue[ue.Few=3]="Few",ue[ue.Many=4]="Many",ue[ue.Other=5]="Other",ue))(),Ie=(()=>((Ie=Ie||{})[Ie.Format=0]="Format",Ie[Ie.Standalone=1]="Standalone",Ie))(),H=(()=>((H=H||{})[H.Narrow=0]="Narrow",H[H.Abbreviated=1]="Abbreviated",H[H.Wide=2]="Wide",H[H.Short=3]="Short",H))(),pe=(()=>((pe=pe||{})[pe.Short=0]="Short",pe[pe.Medium=1]="Medium",pe[pe.Long=2]="Long",pe[pe.Full=3]="Full",pe))(),ee=(()=>((ee=ee||{})[ee.Decimal=0]="Decimal",ee[ee.Group=1]="Group",ee[ee.List=2]="List",ee[ee.PercentSign=3]="PercentSign",ee[ee.PlusSign=4]="PlusSign",ee[ee.MinusSign=5]="MinusSign",ee[ee.Exponential=6]="Exponential",ee[ee.SuperscriptingExponent=7]="SuperscriptingExponent",ee[ee.PerMille=8]="PerMille",ee[ee.Infinity=9]="Infinity",ee[ee.NaN=10]="NaN",ee[ee.TimeSeparator=11]="TimeSeparator",ee[ee.CurrencyDecimal=12]="CurrencyDecimal",ee[ee.CurrencyGroup=13]="CurrencyGroup",ee))(),xe=(()=>((xe=xe||{})[xe.Sunday=0]="Sunday",xe[xe.Monday=1]="Monday",xe[xe.Tuesday=2]="Tuesday",xe[xe.Wednesday=3]="Wednesday",xe[xe.Thursday=4]="Thursday",xe[xe.Friday=5]="Friday",xe[xe.Saturday=6]="Saturday",xe))();function fe(F){return(0,i.\u0275findLocaleData)(F)[i.\u0275LocaleDataIndex.LocaleId]}function Ze(F,J,R){const ne=(0,i.\u0275findLocaleData)(F),ut=Ae([ne[i.\u0275LocaleDataIndex.DayPeriodsFormat],ne[i.\u0275LocaleDataIndex.DayPeriodsStandalone]],J);return Ae(ut,R)}function ge(F,J,R){const ne=(0,i.\u0275findLocaleData)(F),ut=Ae([ne[i.\u0275LocaleDataIndex.DaysFormat],ne[i.\u0275LocaleDataIndex.DaysStandalone]],J);return Ae(ut,R)}function He(F,J,R){const ne=(0,i.\u0275findLocaleData)(F),ut=Ae([ne[i.\u0275LocaleDataIndex.MonthsFormat],ne[i.\u0275LocaleDataIndex.MonthsStandalone]],J);return Ae(ut,R)}function at(F,J){return Ae((0,i.\u0275findLocaleData)(F)[i.\u0275LocaleDataIndex.Eras],J)}function gt(F){return(0,i.\u0275findLocaleData)(F)[i.\u0275LocaleDataIndex.FirstDayOfWeek]}function Le(F){return(0,i.\u0275findLocaleData)(F)[i.\u0275LocaleDataIndex.WeekendRange]}function qe(F,J){return Ae((0,i.\u0275findLocaleData)(F)[i.\u0275LocaleDataIndex.DateFormat],J)}function q(F,J){return Ae((0,i.\u0275findLocaleData)(F)[i.\u0275LocaleDataIndex.TimeFormat],J)}function he(F,J){return Ae((0,i.\u0275findLocaleData)(F)[i.\u0275LocaleDataIndex.DateTimeFormat],J)}function we(F,J){const R=(0,i.\u0275findLocaleData)(F),ne=R[i.\u0275LocaleDataIndex.NumberSymbols][J];if(void 0===ne){if(J===ee.CurrencyDecimal)return R[i.\u0275LocaleDataIndex.NumberSymbols][ee.Decimal];if(J===ee.CurrencyGroup)return R[i.\u0275LocaleDataIndex.NumberSymbols][ee.Group]}return ne}function Fe(F,J){return(0,i.\u0275findLocaleData)(F)[i.\u0275LocaleDataIndex.NumberFormats][J]}function be(F){return(0,i.\u0275findLocaleData)(F)[i.\u0275LocaleDataIndex.CurrencySymbol]||null}function Ge(F){return(0,i.\u0275findLocaleData)(F)[i.\u0275LocaleDataIndex.CurrencyName]||null}function mt(F){return(0,i.\u0275getLocaleCurrencyCode)(F)}const wt=i.\u0275getLocalePluralCase;function dt(F){if(!F[i.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${F[i.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ke(F){const J=(0,i.\u0275findLocaleData)(F);return dt(J),(J[i.\u0275LocaleDataIndex.ExtraData][2]||[]).map(ne=>"string"==typeof ne?ae(ne):[ae(ne[0]),ae(ne[1])])}function B(F,J,R){const ne=(0,i.\u0275findLocaleData)(F);dt(ne);const ut=Ae([ne[i.\u0275LocaleDataIndex.ExtraData][0],ne[i.\u0275LocaleDataIndex.ExtraData][1]],J)||[];return Ae(ut,R)||[]}function ie(F){return(0,i.\u0275findLocaleData)(F)[i.\u0275LocaleDataIndex.Directionality]}function Ae(F,J){for(let R=J;R>-1;R--)if(void 0!==F[R])return F[R];throw new Error("Locale data API: locale data undefined")}function ae(F){const[J,R]=F.split(":");return{hours:+J,minutes:+R}}function Me(F,J,R="en"){const ne=function ht(F){return(0,i.\u0275findLocaleData)(F)[i.\u0275LocaleDataIndex.Currencies]}(R)[F]||ot[F]||[],ze=ne[1];return"narrow"===J&&"string"==typeof ze?ze:ne[0]||F}function De(F){let J;const R=ot[F];return R&&(J=R[2]),"number"==typeof J?J:2}const Ce=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,_e={},tt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var et=(()=>((et=et||{})[et.Short=0]="Short",et[et.ShortGMT=1]="ShortGMT",et[et.Long=2]="Long",et[et.Extended=3]="Extended",et))(),lt=(()=>((lt=lt||{})[lt.FullYear=0]="FullYear",lt[lt.Month=1]="Month",lt[lt.Date=2]="Date",lt[lt.Hours=3]="Hours",lt[lt.Minutes=4]="Minutes",lt[lt.Seconds=5]="Seconds",lt[lt.FractionalSeconds=6]="FractionalSeconds",lt[lt.Day=7]="Day",lt))(),_t=(()=>((_t=_t||{})[_t.DayPeriods=0]="DayPeriods",_t[_t.Days=1]="Days",_t[_t.Months=2]="Months",_t[_t.Eras=3]="Eras",_t))();function Wt(F,J,R,ne){let ze=function $e(F){if(je(F))return F;if("number"==typeof F&&!isNaN(F))return new Date(F);if("string"==typeof F){if(F=F.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(F)){const[ze,ut=1,pt=1]=F.split("-").map(Ft=>+Ft);return Lt(ze,ut-1,pt)}const R=parseFloat(F);if(!isNaN(F-R))return new Date(R);let ne;if(ne=F.match(Ce))return function le(F){const J=new Date(0);let R=0,ne=0;const ze=F[8]?J.setUTCFullYear:J.setFullYear,ut=F[8]?J.setUTCHours:J.setHours;F[9]&&(R=Number(F[9]+F[10]),ne=Number(F[9]+F[11])),ze.call(J,Number(F[1]),Number(F[2])-1,Number(F[3]));const pt=Number(F[4]||0)-R,Ft=Number(F[5]||0)-ne,pn=Number(F[6]||0),dn=Math.floor(1e3*parseFloat("0."+(F[7]||0)));return ut.call(J,pt,Ft,pn,dn),J}(ne)}const J=new Date(F);if(!je(J))throw new Error(`Unable to convert "${F}" into a date`);return J}(F);J=St(R,J)||J;let Ft,pt=[];for(;J;){if(Ft=tt.exec(J),!Ft){pt.push(J);break}{pt=pt.concat(Ft.slice(1));const tn=pt.pop();if(!tn)break;J=tn}}let pn=ze.getTimezoneOffset();ne&&(pn=Bt(ne,pn),ze=function Ne(F,J,R){const ne=R?-1:1,ze=F.getTimezoneOffset();return function jt(F,J){return(F=new Date(F.getTime())).setMinutes(F.getMinutes()+J),F}(F,ne*(Bt(J,ze)-ze))}(ze,ne,!0));let dn="";return pt.forEach(tn=>{const an=function it(F){if(ke[F])return ke[F];let J;switch(F){case"G":case"GG":case"GGG":J=Ht(_t.Eras,H.Abbreviated);break;case"GGGG":J=Ht(_t.Eras,H.Wide);break;case"GGGGG":J=Ht(_t.Eras,H.Narrow);break;case"y":J=vt(lt.FullYear,1,0,!1,!0);break;case"yy":J=vt(lt.FullYear,2,0,!0,!0);break;case"yyy":J=vt(lt.FullYear,3,0,!1,!0);break;case"yyyy":J=vt(lt.FullYear,4,0,!1,!0);break;case"Y":J=j(1);break;case"YY":J=j(2,!0);break;case"YYY":J=j(3);break;case"YYYY":J=j(4);break;case"M":case"L":J=vt(lt.Month,1,1);break;case"MM":case"LL":J=vt(lt.Month,2,1);break;case"MMM":J=Ht(_t.Months,H.Abbreviated);break;case"MMMM":J=Ht(_t.Months,H.Wide);break;case"MMMMM":J=Ht(_t.Months,H.Narrow);break;case"LLL":J=Ht(_t.Months,H.Abbreviated,Ie.Standalone);break;case"LLLL":J=Ht(_t.Months,H.Wide,Ie.Standalone);break;case"LLLLL":J=Ht(_t.Months,H.Narrow,Ie.Standalone);break;case"w":J=E(1);break;case"ww":J=E(2);break;case"W":J=E(1,!0);break;case"d":J=vt(lt.Date,1);break;case"dd":J=vt(lt.Date,2);break;case"c":case"cc":J=vt(lt.Day,1);break;case"ccc":J=Ht(_t.Days,H.Abbreviated,Ie.Standalone);break;case"cccc":J=Ht(_t.Days,H.Wide,Ie.Standalone);break;case"ccccc":J=Ht(_t.Days,H.Narrow,Ie.Standalone);break;case"cccccc":J=Ht(_t.Days,H.Short,Ie.Standalone);break;case"E":case"EE":case"EEE":J=Ht(_t.Days,H.Abbreviated);break;case"EEEE":J=Ht(_t.Days,H.Wide);break;case"EEEEE":J=Ht(_t.Days,H.Narrow);break;case"EEEEEE":J=Ht(_t.Days,H.Short);break;case"a":case"aa":case"aaa":J=Ht(_t.DayPeriods,H.Abbreviated);break;case"aaaa":J=Ht(_t.DayPeriods,H.Wide);break;case"aaaaa":J=Ht(_t.DayPeriods,H.Narrow);break;case"b":case"bb":case"bbb":J=Ht(_t.DayPeriods,H.Abbreviated,Ie.Standalone,!0);break;case"bbbb":J=Ht(_t.DayPeriods,H.Wide,Ie.Standalone,!0);break;case"bbbbb":J=Ht(_t.DayPeriods,H.Narrow,Ie.Standalone,!0);break;case"B":case"BB":case"BBB":J=Ht(_t.DayPeriods,H.Abbreviated,Ie.Format,!0);break;case"BBBB":J=Ht(_t.DayPeriods,H.Wide,Ie.Format,!0);break;case"BBBBB":J=Ht(_t.DayPeriods,H.Narrow,Ie.Format,!0);break;case"h":J=vt(lt.Hours,1,-12);break;case"hh":J=vt(lt.Hours,2,-12);break;case"H":J=vt(lt.Hours,1);break;case"HH":J=vt(lt.Hours,2);break;case"m":J=vt(lt.Minutes,1);break;case"mm":J=vt(lt.Minutes,2);break;case"s":J=vt(lt.Seconds,1);break;case"ss":J=vt(lt.Seconds,2);break;case"S":J=vt(lt.FractionalSeconds,1);break;case"SS":J=vt(lt.FractionalSeconds,2);break;case"SSS":J=vt(lt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":J=re(et.Short);break;case"ZZZZZ":J=re(et.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":J=re(et.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":J=re(et.Long);break;default:return null}return ke[F]=J,J}(tn);dn+=an?an(ze,R,pn):"''"===tn?"'":tn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),dn}function Lt(F,J,R){const ne=new Date(0);return ne.setFullYear(F,J,R),ne.setHours(0,0,0),ne}function St(F,J){const R=fe(F);if(_e[R]=_e[R]||{},_e[R][J])return _e[R][J];let ne="";switch(J){case"shortDate":ne=qe(F,pe.Short);break;case"mediumDate":ne=qe(F,pe.Medium);break;case"longDate":ne=qe(F,pe.Long);break;case"fullDate":ne=qe(F,pe.Full);break;case"shortTime":ne=q(F,pe.Short);break;case"mediumTime":ne=q(F,pe.Medium);break;case"longTime":ne=q(F,pe.Long);break;case"fullTime":ne=q(F,pe.Full);break;case"short":const ze=St(F,"shortTime"),ut=St(F,"shortDate");ne=ln(he(F,pe.Short),[ze,ut]);break;case"medium":const pt=St(F,"mediumTime"),Ft=St(F,"mediumDate");ne=ln(he(F,pe.Medium),[pt,Ft]);break;case"long":const pn=St(F,"longTime"),dn=St(F,"longDate");ne=ln(he(F,pe.Long),[pn,dn]);break;case"full":const tn=St(F,"fullTime"),an=St(F,"fullDate");ne=ln(he(F,pe.Full),[tn,an])}return ne&&(_e[R][J]=ne),ne}function ln(F,J){return J&&(F=F.replace(/\{([^}]+)}/g,function(R,ne){return null!=J&&ne in J?J[ne]:R})),F}function qt(F,J,R="-",ne,ze){let ut="";(F<0||ze&&F<=0)&&(ze?F=1-F:(F=-F,ut=R));let pt=String(F);for(;pt.length<J;)pt="0"+pt;return ne&&(pt=pt.substr(pt.length-J)),ut+pt}function vt(F,J,R=0,ne=!1,ze=!1){return function(ut,pt){let Ft=function Gt(F,J){switch(F){case lt.FullYear:return J.getFullYear();case lt.Month:return J.getMonth();case lt.Date:return J.getDate();case lt.Hours:return J.getHours();case lt.Minutes:return J.getMinutes();case lt.Seconds:return J.getSeconds();case lt.FractionalSeconds:return J.getMilliseconds();case lt.Day:return J.getDay();default:throw new Error(`Unknown DateType value "${F}".`)}}(F,ut);if((R>0||Ft>-R)&&(Ft+=R),F===lt.Hours)0===Ft&&-12===R&&(Ft=12);else if(F===lt.FractionalSeconds)return function Jt(F,J){return qt(F,3).substr(0,J)}(Ft,J);const pn=we(pt,ee.MinusSign);return qt(Ft,J,pn,ne,ze)}}function Ht(F,J,R=Ie.Format,ne=!1){return function(ze,ut){return function un(F,J,R,ne,ze,ut){switch(R){case _t.Months:return He(J,ze,ne)[F.getMonth()];case _t.Days:return ge(J,ze,ne)[F.getDay()];case _t.DayPeriods:const pt=F.getHours(),Ft=F.getMinutes();if(ut){const dn=Ke(J),tn=B(J,ze,ne),an=dn.findIndex(In=>{if(Array.isArray(In)){const[k,O]=In,I=pt>=k.hours&&Ft>=k.minutes,Y=pt<O.hours||pt===O.hours&&Ft<O.minutes;if(k.hours<O.hours){if(I&&Y)return!0}else if(I||Y)return!0}else if(In.hours===pt&&In.minutes===Ft)return!0;return!1});if(-1!==an)return tn[an]}return Ze(J,ze,ne)[pt<12?0:1];case _t.Eras:return at(J,ne)[F.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${R}`)}}(ze,ut,F,J,R,ne)}}function re(F){return function(J,R,ne){const ze=-1*ne,ut=we(R,ee.MinusSign),pt=ze>0?Math.floor(ze/60):Math.ceil(ze/60);switch(F){case et.Short:return(ze>=0?"+":"")+qt(pt,2,ut)+qt(Math.abs(ze%60),2,ut);case et.ShortGMT:return"GMT"+(ze>=0?"+":"")+qt(pt,1,ut);case et.Long:return"GMT"+(ze>=0?"+":"")+qt(pt,2,ut)+":"+qt(Math.abs(ze%60),2,ut);case et.Extended:return 0===ne?"Z":(ze>=0?"+":"")+qt(pt,2,ut)+":"+qt(Math.abs(ze%60),2,ut);default:throw new Error(`Unknown zone width "${F}"`)}}}function te(F){return Lt(F.getFullYear(),F.getMonth(),F.getDate()+(4-F.getDay()))}function E(F,J=!1){return function(R,ne){let ze;if(J){const ut=new Date(R.getFullYear(),R.getMonth(),1).getDay()-1,pt=R.getDate();ze=1+Math.floor((pt+ut)/7)}else{const ut=te(R),pt=function P(F){const J=Lt(F,0,1).getDay();return Lt(F,0,1+(J<=4?4:11)-J)}(ut.getFullYear()),Ft=ut.getTime()-pt.getTime();ze=1+Math.round(Ft/6048e5)}return qt(ze,F,we(ne,ee.MinusSign))}}function j(F,J=!1){return function(R,ne){return qt(te(R).getFullYear(),F,we(ne,ee.MinusSign),J)}}const ke={};function Bt(F,J){F=F.replace(/:/g,"");const R=Date.parse("Jan 01, 1970 00:00:00 "+F)/6e4;return isNaN(R)?J:R}function je(F){return F instanceof Date&&!isNaN(F.valueOf())}const ct=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function xn(F,J,R,ne,ze,ut,pt=!1){let Ft="",pn=!1;if(isFinite(F)){let dn=function Ye(F){let ne,ze,ut,pt,Ft,J=Math.abs(F)+"",R=0;for((ze=J.indexOf("."))>-1&&(J=J.replace(".","")),(ut=J.search(/e/i))>0?(ze<0&&(ze=ut),ze+=+J.slice(ut+1),J=J.substring(0,ut)):ze<0&&(ze=J.length),ut=0;"0"===J.charAt(ut);ut++);if(ut===(Ft=J.length))ne=[0],ze=1;else{for(Ft--;"0"===J.charAt(Ft);)Ft--;for(ze-=ut,ne=[],pt=0;ut<=Ft;ut++,pt++)ne[pt]=Number(J.charAt(ut))}return ze>22&&(ne=ne.splice(0,21),R=ze-1,ze=1),{digits:ne,exponent:R,integerLen:ze}}(F);pt&&(dn=function Pe(F){if(0===F.digits[0])return F;const J=F.digits.length-F.integerLen;return F.exponent?F.exponent+=2:(0===J?F.digits.push(0,0):1===J&&F.digits.push(0),F.integerLen+=2),F}(dn));let tn=J.minInt,an=J.minFrac,In=J.maxFrac;if(ut){const Nt=ut.match(ct);if(null===Nt)throw new Error(`${ut} is not a valid digit info`);const Dn=Nt[1],Wn=Nt[3],Ei=Nt[5];null!=Dn&&(tn=Dt(Dn)),null!=Wn&&(an=Dt(Wn)),null!=Ei?In=Dt(Ei):null!=Wn&&an>In&&(In=an)}!function st(F,J,R){if(J>R)throw new Error(`The minimum number of digits after fraction (${J}) is higher than the maximum (${R}).`);let ne=F.digits,ze=ne.length-F.integerLen;const ut=Math.min(Math.max(J,ze),R);let pt=ut+F.integerLen,Ft=ne[pt];if(pt>0){ne.splice(Math.max(F.integerLen,pt));for(let an=pt;an<ne.length;an++)ne[an]=0}else{ze=Math.max(0,ze),F.integerLen=1,ne.length=Math.max(1,pt=ut+1),ne[0]=0;for(let an=1;an<pt;an++)ne[an]=0}if(Ft>=5)if(pt-1<0){for(let an=0;an>pt;an--)ne.unshift(0),F.integerLen++;ne.unshift(1),F.integerLen++}else ne[pt-1]++;for(;ze<Math.max(0,ut);ze++)ne.push(0);let pn=0!==ut;const dn=J+F.integerLen,tn=ne.reduceRight(function(an,In,k,O){return O[k]=(In+=an)<10?In:In-10,pn&&(0===O[k]&&k>=dn?O.pop():pn=!1),In>=10?1:0},0);tn&&(ne.unshift(tn),F.integerLen++)}(dn,an,In);let k=dn.digits,O=dn.integerLen;const I=dn.exponent;let Y=[];for(pn=k.every(Nt=>!Nt);O<tn;O++)k.unshift(0);for(;O<0;O++)k.unshift(0);O>0?Y=k.splice(O,k.length):(Y=k,k=[0]);const Je=[];for(k.length>=J.lgSize&&Je.unshift(k.splice(-J.lgSize,k.length).join(""));k.length>J.gSize;)Je.unshift(k.splice(-J.gSize,k.length).join(""));k.length&&Je.unshift(k.join("")),Ft=Je.join(we(R,ne)),Y.length&&(Ft+=we(R,ze)+Y.join("")),I&&(Ft+=we(R,ee.Exponential)+"+"+I)}else Ft=we(R,ee.Infinity);return Ft=F<0&&!pn?J.negPre+Ft+J.negSuf:J.posPre+Ft+J.posSuf,Ft}function An(F,J,R,ne,ze){const pt=z(Fe(J,Ve.Currency),we(J,ee.MinusSign));return pt.minFrac=De(ne),pt.maxFrac=pt.minFrac,xn(F,pt,J,ee.CurrencyGroup,ee.CurrencyDecimal,ze).replace("\xa4",R).replace("\xa4","").trim()}function U(F,J,R){return xn(F,z(Fe(J,Ve.Percent),we(J,ee.MinusSign)),J,ee.Group,ee.Decimal,R,!0).replace(new RegExp("%","g"),we(J,ee.PercentSign))}function Se(F,J,R){return xn(F,z(Fe(J,Ve.Decimal),we(J,ee.MinusSign)),J,ee.Group,ee.Decimal,R)}function z(F,J="-"){const R={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ne=F.split(";"),ze=ne[0],ut=ne[1],pt=-1!==ze.indexOf(".")?ze.split("."):[ze.substring(0,ze.lastIndexOf("0")+1),ze.substring(ze.lastIndexOf("0")+1)],Ft=pt[0],pn=pt[1]||"";R.posPre=Ft.substr(0,Ft.indexOf("#"));for(let tn=0;tn<pn.length;tn++){const an=pn.charAt(tn);"0"===an?R.minFrac=R.maxFrac=tn+1:"#"===an?R.maxFrac=tn+1:R.posSuf+=an}const dn=Ft.split(",");if(R.gSize=dn[1]?dn[1].length:0,R.lgSize=dn[2]||dn[1]?(dn[2]||dn[1]).length:0,ut){const tn=ze.length-R.posPre.length-R.posSuf.length,an=ut.indexOf("#");R.negPre=ut.substr(0,an).replace(/'/g,""),R.negSuf=ut.substr(an+tn).replace(/'/g,"")}else R.negPre=J+R.posPre,R.negSuf=R.posSuf;return R}function Dt(F){const J=parseInt(F);if(isNaN(J))throw new Error("Invalid integer literal when parsing "+F);return J}let xt=(()=>{class F{}return F.\u0275fac=function(R){return new(R||F)},F.\u0275prov=i.\u0275\u0275defineInjectable({token:F,factory:function(R){let ne=null;return R?ne=new R:(ze=i.\u0275\u0275inject(i.LOCALE_ID),ne=new on(ze)),ne;var ze},providedIn:"root"}),F})();function Ut(F,J,R,ne){let ze=`=${F}`;if(J.indexOf(ze)>-1||(ze=R.getPluralCategory(F,ne),J.indexOf(ze)>-1))return ze;if(J.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${F}"`)}let on=(()=>{class F extends xt{constructor(R){super(),this.locale=R}getPluralCategory(R,ne){switch(wt(ne||this.locale)(R)){case ue.Zero:return"zero";case ue.One:return"one";case ue.Two:return"two";case ue.Few:return"few";case ue.Many:return"many";default:return"other"}}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275inject(i.LOCALE_ID))},F.\u0275prov=i.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})();function Rt(F,J,R){return(0,i.\u0275registerLocaleData)(F,J,R)}function Cn(F,J){J=encodeURIComponent(J);for(const R of F.split(";")){const ne=R.indexOf("="),[ze,ut]=-1==ne?[R,""]:[R.slice(0,ne),R.slice(ne+1)];if(ze.trim()===J)return decodeURIComponent(ut)}return null}let en=(()=>{class F{constructor(R,ne,ze,ut){this._iterableDiffers=R,this._keyValueDiffers=ne,this._ngEl=ze,this._renderer=ut,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(R){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof R?R.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(R){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof R?R.split(/\s+/):R,this._rawClass&&((0,i.\u0275isListLikeIterable)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const R=this._iterableDiffer.diff(this._rawClass);R&&this._applyIterableChanges(R)}else if(this._keyValueDiffer){const R=this._keyValueDiffer.diff(this._rawClass);R&&this._applyKeyValueChanges(R)}}_applyKeyValueChanges(R){R.forEachAddedItem(ne=>this._toggleClass(ne.key,ne.currentValue)),R.forEachChangedItem(ne=>this._toggleClass(ne.key,ne.currentValue)),R.forEachRemovedItem(ne=>{ne.previousValue&&this._toggleClass(ne.key,!1)})}_applyIterableChanges(R){R.forEachAddedItem(ne=>{if("string"!=typeof ne.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,i.\u0275stringify)(ne.item)}`);this._toggleClass(ne.item,!0)}),R.forEachRemovedItem(ne=>this._toggleClass(ne.item,!1))}_applyClasses(R){R&&(Array.isArray(R)||R instanceof Set?R.forEach(ne=>this._toggleClass(ne,!0)):Object.keys(R).forEach(ne=>this._toggleClass(ne,!!R[ne])))}_removeClasses(R){R&&(Array.isArray(R)||R instanceof Set?R.forEach(ne=>this._toggleClass(ne,!1)):Object.keys(R).forEach(ne=>this._toggleClass(ne,!1)))}_toggleClass(R,ne){(R=R.trim())&&R.split(/\s+/g).forEach(ze=>{ne?this._renderer.addClass(this._ngEl.nativeElement,ze):this._renderer.removeClass(this._ngEl.nativeElement,ze)})}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275directiveInject(i.IterableDiffers),i.\u0275\u0275directiveInject(i.KeyValueDiffers),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.Renderer2))},F.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),F})(),Sn=(()=>{class F{constructor(R){this._viewContainerRef=R,this._componentRef=null,this._moduleRef=null}ngOnChanges(R){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const ne=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(R.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const pt=ne.get(i.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(pt.injector)}else this._moduleRef=null;const ut=(this._moduleRef?this._moduleRef.componentFactoryResolver:ne.get(i.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(ut,this._viewContainerRef.length,ne,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275directiveInject(i.ViewContainerRef))},F.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[i.\u0275\u0275NgOnChangesFeature]}),F})();class Rn{constructor(J,R,ne,ze){this.$implicit=J,this.ngForOf=R,this.index=ne,this.count=ze}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let gn=(()=>{class F{constructor(R,ne,ze){this._viewContainer=R,this._template=ne,this._differs=ze,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(R){this._ngForOf=R,this._ngForOfDirty=!0}set ngForTrackBy(R){this._trackByFn=R}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(R){R&&(this._template=R)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const R=this._ngForOf;!this._differ&&R&&(this._differ=this._differs.find(R).create(this.ngForTrackBy))}if(this._differ){const R=this._differ.diff(this._ngForOf);R&&this._applyChanges(R)}}_applyChanges(R){const ne=this._viewContainer;R.forEachOperation((ze,ut,pt)=>{if(null==ze.previousIndex)ne.createEmbeddedView(this._template,new Rn(ze.item,this._ngForOf,-1,-1),null===pt?void 0:pt);else if(null==pt)ne.remove(null===ut?void 0:ut);else if(null!==ut){const Ft=ne.get(ut);ne.move(Ft,pt),Mn(Ft,ze)}});for(let ze=0,ut=ne.length;ze<ut;ze++){const Ft=ne.get(ze).context;Ft.index=ze,Ft.count=ut,Ft.ngForOf=this._ngForOf}R.forEachIdentityChange(ze=>{Mn(ne.get(ze.currentIndex),ze)})}static ngTemplateContextGuard(R,ne){return!0}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.IterableDiffers))},F.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),F})();function Mn(F,J){F.context.$implicit=J.item}let Un=(()=>{class F{constructor(R,ne){this._viewContainer=R,this._context=new sn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ne}set ngIf(R){this._context.$implicit=this._context.ngIf=R,this._updateView()}set ngIfThen(R){qn("ngIfThen",R),this._thenTemplateRef=R,this._thenViewRef=null,this._updateView()}set ngIfElse(R){qn("ngIfElse",R),this._elseTemplateRef=R,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(R,ne){return!0}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(i.TemplateRef))},F.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),F})();class sn{constructor(){this.$implicit=null,this.ngIf=null}}function qn(F,J){if(J&&!J.createEmbeddedView)throw new Error(`${F} must be a TemplateRef, but received '${(0,i.\u0275stringify)(J)}'.`)}class pi{constructor(J,R){this._viewContainerRef=J,this._templateRef=R,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(J){J&&!this._created?this.create():!J&&this._created&&this.destroy()}}let wn=(()=>{class F{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(R){this._ngSwitch=R,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(R){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(R)}_matchCase(R){const ne=R==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||ne,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ne}_updateDefaultCases(R){if(this._defaultViews&&R!==this._defaultUsed){this._defaultUsed=R;for(let ne=0;ne<this._defaultViews.length;ne++)this._defaultViews[ne].enforceState(R)}}}return F.\u0275fac=function(R){return new(R||F)},F.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),F})(),Fn=(()=>{class F{constructor(R,ne,ze){this.ngSwitch=ze,ze._addCase(),this._view=new pi(R,ne)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(wn,9))},F.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),F})(),mi=(()=>{class F{constructor(R,ne,ze){ze._addDefault(new pi(R,ne))}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(wn,9))},F.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","ngSwitchDefault",""]]}),F})(),ai=(()=>{class F{constructor(R){this._localization=R,this._caseViews={}}set ngPlural(R){this._switchValue=R,this._updateView()}addCase(R,ne){this._caseViews[R]=ne}_updateView(){this._clearViews();const R=Object.keys(this._caseViews),ne=Ut(this._switchValue,R,this._localization);this._activateView(this._caseViews[ne])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(R){R&&(this._activeView=R,this._activeView.create())}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275directiveInject(xt))},F.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),F})(),Gn=(()=>{class F{constructor(R,ne,ze,ut){this.value=R;const pt=!isNaN(Number(R));ut.addCase(pt?`=${R}`:R,new pi(ze,ne))}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275injectAttribute("ngPluralCase"),i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(ai,1))},F.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","ngPluralCase",""]]}),F})(),Pr=(()=>{class F{constructor(R,ne,ze){this._ngEl=R,this._differs=ne,this._renderer=ze,this._ngStyle=null,this._differ=null}set ngStyle(R){this._ngStyle=R,!this._differ&&R&&(this._differ=this._differs.find(R).create())}ngDoCheck(){if(this._differ){const R=this._differ.diff(this._ngStyle);R&&this._applyChanges(R)}}_setStyle(R,ne){const[ze,ut]=R.split(".");null!=(ne=null!=ne&&ut?`${ne}${ut}`:ne)?this._renderer.setStyle(this._ngEl.nativeElement,ze,ne):this._renderer.removeStyle(this._ngEl.nativeElement,ze)}_applyChanges(R){R.forEachRemovedItem(ne=>this._setStyle(ne.key,null)),R.forEachAddedItem(ne=>this._setStyle(ne.key,ne.currentValue)),R.forEachChangedItem(ne=>this._setStyle(ne.key,ne.currentValue))}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.KeyValueDiffers),i.\u0275\u0275directiveInject(i.Renderer2))},F.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),F})(),hr=(()=>{class F{constructor(R){this._viewContainerRef=R,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(R){if(R.ngTemplateOutlet){const ne=this._viewContainerRef;this._viewRef&&ne.remove(ne.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?ne.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&R.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275directiveInject(i.ViewContainerRef))},F.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.\u0275\u0275NgOnChangesFeature]}),F})();function Bn(F,J){return new i.\u0275RuntimeError(2100,"")}class Ji{createSubscription(J,R){return J.subscribe({next:R,error:ne=>{throw ne}})}dispose(J){J.unsubscribe()}onDestroy(J){J.unsubscribe()}}class wi{createSubscription(J,R){return J.then(R,ne=>{throw ne})}dispose(J){}onDestroy(J){}}const bi=new wi,Xi=new Ji;let qi=(()=>{class F{constructor(R){this._ref=R,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(R){return this._obj?R!==this._obj?(this._dispose(),this.transform(R)):this._latestValue:(R&&this._subscribe(R),this._latestValue)}_subscribe(R){this._obj=R,this._strategy=this._selectStrategy(R),this._subscription=this._strategy.createSubscription(R,ne=>this._updateLatestValue(R,ne))}_selectStrategy(R){if((0,i.\u0275isPromise)(R))return bi;if((0,i.\u0275isSubscribable)(R))return Xi;throw Bn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(R,ne){R===this._obj&&(this._latestValue=ne,this._ref.markForCheck())}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275directiveInject(i.ChangeDetectorRef,16))},F.\u0275pipe=i.\u0275\u0275definePipe({name:"async",type:F,pure:!1}),F})(),fr=(()=>{class F{transform(R){if(null==R)return null;if("string"!=typeof R)throw Bn();return R.toLowerCase()}}return F.\u0275fac=function(R){return new(R||F)},F.\u0275pipe=i.\u0275\u0275definePipe({name:"lowercase",type:F,pure:!0}),F})();const Bi=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Hr=(()=>{class F{transform(R){if(null==R)return null;if("string"!=typeof R)throw Bn();return R.replace(Bi,ne=>ne[0].toUpperCase()+ne.substr(1).toLowerCase())}}return F.\u0275fac=function(R){return new(R||F)},F.\u0275pipe=i.\u0275\u0275definePipe({name:"titlecase",type:F,pure:!0}),F})(),oi=(()=>{class F{transform(R){if(null==R)return null;if("string"!=typeof R)throw Bn();return R.toUpperCase()}}return F.\u0275fac=function(R){return new(R||F)},F.\u0275pipe=i.\u0275\u0275definePipe({name:"uppercase",type:F,pure:!0}),F})();const Or=new i.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE");let Si=(()=>{class F{constructor(R,ne){this.locale=R,this.defaultTimezone=ne}transform(R,ne="mediumDate",ze,ut){var pt;if(null==R||""===R||R!=R)return null;try{return Wt(R,ne,ut||this.locale,null!==(pt=null!=ze?ze:this.defaultTimezone)&&void 0!==pt?pt:void 0)}catch(Ft){throw Bn()}}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275directiveInject(i.LOCALE_ID,16),i.\u0275\u0275directiveInject(Or,24))},F.\u0275pipe=i.\u0275\u0275definePipe({name:"date",type:F,pure:!0}),F})();const xr=/#/g;let Rr=(()=>{class F{constructor(R){this._localization=R}transform(R,ne,ze){if(null==R)return"";if("object"!=typeof ne||null===ne)throw Bn();return ne[Ut(R,Object.keys(ne),this._localization,ze)].replace(xr,R.toString())}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275directiveInject(xt,16))},F.\u0275pipe=i.\u0275\u0275definePipe({name:"i18nPlural",type:F,pure:!0}),F})(),ji=(()=>{class F{transform(R,ne){if(null==R)return"";if("object"!=typeof ne||"string"!=typeof R)throw Bn();return ne.hasOwnProperty(R)?ne[R]:ne.hasOwnProperty("other")?ne.other:""}}return F.\u0275fac=function(R){return new(R||F)},F.\u0275pipe=i.\u0275\u0275definePipe({name:"i18nSelect",type:F,pure:!0}),F})(),Ci=(()=>{class F{transform(R){return JSON.stringify(R,null,2)}}return F.\u0275fac=function(R){return new(R||F)},F.\u0275pipe=i.\u0275\u0275definePipe({name:"json",type:F,pure:!1}),F})(),Fr=(()=>{class F{constructor(R){this.differs=R,this.keyValues=[],this.compareFn=Vi}transform(R,ne=Vi){if(!R||!(R instanceof Map)&&"object"!=typeof R)return null;this.differ||(this.differ=this.differs.find(R).create());const ze=this.differ.diff(R),ut=ne!==this.compareFn;return ze&&(this.keyValues=[],ze.forEachItem(pt=>{this.keyValues.push(function Ii(F,J){return{key:F,value:J}}(pt.key,pt.currentValue))})),(ze||ut)&&(this.keyValues.sort(ne),this.compareFn=ne),this.keyValues}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275directiveInject(i.KeyValueDiffers,16))},F.\u0275pipe=i.\u0275\u0275definePipe({name:"keyvalue",type:F,pure:!1}),F})();function Vi(F,J){const R=F.key,ne=J.key;if(R===ne)return 0;if(void 0===R)return 1;if(void 0===ne)return-1;if(null===R)return 1;if(null===ne)return-1;if("string"==typeof R&&"string"==typeof ne)return R<ne?-1:1;if("number"==typeof R&&"number"==typeof ne)return R-ne;if("boolean"==typeof R&&"boolean"==typeof ne)return R<ne?-1:1;const ze=String(R),ut=String(ne);return ze==ut?0:ze<ut?-1:1}let pr=(()=>{class F{constructor(R){this._locale=R}transform(R,ne,ze){if(!Di(R))return null;ze=ze||this._locale;try{return Se(er(R),ze,ne)}catch(ut){throw Bn()}}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275directiveInject(i.LOCALE_ID,16))},F.\u0275pipe=i.\u0275\u0275definePipe({name:"number",type:F,pure:!0}),F})(),li=(()=>{class F{constructor(R){this._locale=R}transform(R,ne,ze){if(!Di(R))return null;ze=ze||this._locale;try{return U(er(R),ze,ne)}catch(ut){throw Bn()}}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275directiveInject(i.LOCALE_ID,16))},F.\u0275pipe=i.\u0275\u0275definePipe({name:"percent",type:F,pure:!0}),F})(),Pi=(()=>{class F{constructor(R,ne="USD"){this._locale=R,this._defaultCurrencyCode=ne}transform(R,ne=this._defaultCurrencyCode,ze="symbol",ut,pt){if(!Di(R))return null;pt=pt||this._locale,"boolean"==typeof ze&&(ze=ze?"symbol":"code");let Ft=ne||this._defaultCurrencyCode;"code"!==ze&&(Ft="symbol"===ze||"symbol-narrow"===ze?Me(Ft,"symbol"===ze?"wide":"narrow",pt):ze);try{return An(er(R),pt,Ft,ne,ut)}catch(pn){throw Bn()}}}return F.\u0275fac=function(R){return new(R||F)(i.\u0275\u0275directiveInject(i.LOCALE_ID,16),i.\u0275\u0275directiveInject(i.DEFAULT_CURRENCY_CODE,16))},F.\u0275pipe=i.\u0275\u0275definePipe({name:"currency",type:F,pure:!0}),F})();function Di(F){return!(null==F||""===F||F!=F)}function er(F){if("string"==typeof F&&!isNaN(Number(F)-parseFloat(F)))return Number(F);if("number"!=typeof F)throw new Error(`${F} is not a number`);return F}let Ai=(()=>{class F{transform(R,ne,ze){if(null==R)return null;if(!this.supports(R))throw Bn();return R.slice(ne,ze)}supports(R){return"string"==typeof R||Array.isArray(R)}}return F.\u0275fac=function(R){return new(R||F)},F.\u0275pipe=i.\u0275\u0275definePipe({name:"slice",type:F,pure:!1}),F})(),$i=(()=>{class F{}return F.\u0275fac=function(R){return new(R||F)},F.\u0275mod=i.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=i.\u0275\u0275defineInjector({}),F})();const Oi="browser",tr="server",ei="browserWorkerApp",gr="browserWorkerUi";function Vn(F){return F===Oi}function Hi(F){return F===tr}function xi(F){return F===ei}function $n(F){return F===gr}const nr=new i.Version("13.2.5");let ci=(()=>{class F{}return F.\u0275prov=(0,i.\u0275\u0275defineInjectable)({token:F,providedIn:"root",factory:()=>new gi((0,i.\u0275\u0275inject)(D),window)}),F})();class gi{constructor(J,R){this.document=J,this.window=R,this.offset=()=>[0,0]}setOffset(J){this.offset=Array.isArray(J)?()=>J:J}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(J){this.supportsScrolling()&&this.window.scrollTo(J[0],J[1])}scrollToAnchor(J){if(!this.supportsScrolling())return;const R=function Ri(F,J){const R=F.getElementById(J)||F.getElementsByName(J)[0];if(R)return R;if("function"==typeof F.createTreeWalker&&F.body&&(F.body.createShadowRoot||F.body.attachShadow)){const ne=F.createTreeWalker(F.body,NodeFilter.SHOW_ELEMENT);let ze=ne.currentNode;for(;ze;){const ut=ze.shadowRoot;if(ut){const pt=ut.getElementById(J)||ut.querySelector(`[name="${J}"]`);if(pt)return pt}ze=ne.nextNode()}}return null}(this.document,J);R&&(this.scrollToElement(R),R.focus())}setHistoryScrollRestoration(J){if(this.supportScrollRestoration()){const R=this.window.history;R&&R.scrollRestoration&&(R.scrollRestoration=J)}}scrollToElement(J){const R=J.getBoundingClientRect(),ne=R.left+this.window.pageXOffset,ze=R.top+this.window.pageYOffset,ut=this.offset();this.window.scrollTo(ne-ut[0],ze-ut[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const J=_r(this.window.history)||_r(Object.getPrototypeOf(this.window.history));return!(!J||!J.writable&&!J.set)}catch(J){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(J){return!1}}}function _r(F){return Object.getOwnPropertyDescriptor(F,"scrollRestoration")}class yr{setOffset(J){}getScrollPosition(){return[0,0]}scrollToPosition(J){}scrollToAnchor(J){}setHistoryScrollRestoration(J){}}class vn{}},520:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{HTTP_INTERCEPTORS:()=>fe,HttpBackend:()=>S,HttpClient:()=>ee,HttpClientJsonpModule:()=>Me,HttpClientModule:()=>ae,HttpClientXsrfModule:()=>Ae,HttpContext:()=>Oe,HttpContextToken:()=>ce,HttpErrorResponse:()=>H,HttpEventType:()=>ot,HttpHandler:()=>T,HttpHeaderResponse:()=>ue,HttpHeaders:()=>p,HttpParams:()=>K,HttpRequest:()=>Qe,HttpResponse:()=>Ie,HttpResponseBase:()=>Ve,HttpUrlEncodingCodec:()=>A,HttpXhrBackend:()=>be,HttpXsrfTokenExtractor:()=>ht,JsonpClientBackend:()=>q,JsonpInterceptor:()=>he,XhrFactory:()=>Xe,\u0275HttpInterceptingHandler:()=>Ke});var i=c(9808),h=c(5e3),g=c(9646),d=c(9751),s=c(4351),v=c(9300),D=c(4004);class T{}class S{}class p{constructor(Ce){this.normalizedNames=new Map,this.lazyUpdate=null,Ce?this.lazyInit="string"==typeof Ce?()=>{this.headers=new Map,Ce.split("\n").forEach(_e=>{const tt=_e.indexOf(":");if(tt>0){const et=_e.slice(0,tt),lt=et.toLowerCase(),_t=_e.slice(tt+1).trim();this.maybeSetNormalizedName(et,lt),this.headers.has(lt)?this.headers.get(lt).push(_t):this.headers.set(lt,[_t])}})}:()=>{this.headers=new Map,Object.keys(Ce).forEach(_e=>{let tt=Ce[_e];const et=_e.toLowerCase();"string"==typeof tt&&(tt=[tt]),tt.length>0&&(this.headers.set(et,tt),this.maybeSetNormalizedName(_e,et))})}:this.headers=new Map}has(Ce){return this.init(),this.headers.has(Ce.toLowerCase())}get(Ce){this.init();const _e=this.headers.get(Ce.toLowerCase());return _e&&_e.length>0?_e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ce){return this.init(),this.headers.get(Ce.toLowerCase())||null}append(Ce,_e){return this.clone({name:Ce,value:_e,op:"a"})}set(Ce,_e){return this.clone({name:Ce,value:_e,op:"s"})}delete(Ce,_e){return this.clone({name:Ce,value:_e,op:"d"})}maybeSetNormalizedName(Ce,_e){this.normalizedNames.has(_e)||this.normalizedNames.set(_e,Ce)}init(){this.lazyInit&&(this.lazyInit instanceof p?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ce=>this.applyUpdate(Ce)),this.lazyUpdate=null))}copyFrom(Ce){Ce.init(),Array.from(Ce.headers.keys()).forEach(_e=>{this.headers.set(_e,Ce.headers.get(_e)),this.normalizedNames.set(_e,Ce.normalizedNames.get(_e))})}clone(Ce){const _e=new p;return _e.lazyInit=this.lazyInit&&this.lazyInit instanceof p?this.lazyInit:this,_e.lazyUpdate=(this.lazyUpdate||[]).concat([Ce]),_e}applyUpdate(Ce){const _e=Ce.name.toLowerCase();switch(Ce.op){case"a":case"s":let tt=Ce.value;if("string"==typeof tt&&(tt=[tt]),0===tt.length)return;this.maybeSetNormalizedName(Ce.name,_e);const et=("a"===Ce.op?this.headers.get(_e):void 0)||[];et.push(...tt),this.headers.set(_e,et);break;case"d":const lt=Ce.value;if(lt){let _t=this.headers.get(_e);if(!_t)return;_t=_t.filter(Wt=>-1===lt.indexOf(Wt)),0===_t.length?(this.headers.delete(_e),this.normalizedNames.delete(_e)):this.headers.set(_e,_t)}else this.headers.delete(_e),this.normalizedNames.delete(_e)}}forEach(Ce){this.init(),Array.from(this.normalizedNames.keys()).forEach(_e=>Ce(this.normalizedNames.get(_e),this.headers.get(_e)))}}class A{encodeKey(Ce){return $(Ce)}encodeValue(Ce){return $(Ce)}decodeKey(Ce){return decodeURIComponent(Ce)}decodeValue(Ce){return decodeURIComponent(Ce)}}const C=/%(\d[a-f0-9])/gi,N={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function $(De){return encodeURIComponent(De).replace(C,(Ce,_e)=>{var tt;return null!==(tt=N[_e])&&void 0!==tt?tt:Ce})}function de(De){return`${De}`}class K{constructor(Ce={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ce.encoder||new A,Ce.fromString){if(Ce.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function M(De,Ce){const _e=new Map;return De.length>0&&De.replace(/^\?/,"").split("&").forEach(et=>{const lt=et.indexOf("="),[_t,Wt]=-1==lt?[Ce.decodeKey(et),""]:[Ce.decodeKey(et.slice(0,lt)),Ce.decodeValue(et.slice(lt+1))],Lt=_e.get(_t)||[];Lt.push(Wt),_e.set(_t,Lt)}),_e}(Ce.fromString,this.encoder)}else Ce.fromObject?(this.map=new Map,Object.keys(Ce.fromObject).forEach(_e=>{const tt=Ce.fromObject[_e];this.map.set(_e,Array.isArray(tt)?tt:[tt])})):this.map=null}has(Ce){return this.init(),this.map.has(Ce)}get(Ce){this.init();const _e=this.map.get(Ce);return _e?_e[0]:null}getAll(Ce){return this.init(),this.map.get(Ce)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ce,_e){return this.clone({param:Ce,value:_e,op:"a"})}appendAll(Ce){const _e=[];return Object.keys(Ce).forEach(tt=>{const et=Ce[tt];Array.isArray(et)?et.forEach(lt=>{_e.push({param:tt,value:lt,op:"a"})}):_e.push({param:tt,value:et,op:"a"})}),this.clone(_e)}set(Ce,_e){return this.clone({param:Ce,value:_e,op:"s"})}delete(Ce,_e){return this.clone({param:Ce,value:_e,op:"d"})}toString(){return this.init(),this.keys().map(Ce=>{const _e=this.encoder.encodeKey(Ce);return this.map.get(Ce).map(tt=>_e+"="+this.encoder.encodeValue(tt)).join("&")}).filter(Ce=>""!==Ce).join("&")}clone(Ce){const _e=new K({encoder:this.encoder});return _e.cloneFrom=this.cloneFrom||this,_e.updates=(this.updates||[]).concat(Ce),_e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ce=>this.map.set(Ce,this.cloneFrom.map.get(Ce))),this.updates.forEach(Ce=>{switch(Ce.op){case"a":case"s":const _e=("a"===Ce.op?this.map.get(Ce.param):void 0)||[];_e.push(de(Ce.value)),this.map.set(Ce.param,_e);break;case"d":if(void 0===Ce.value){this.map.delete(Ce.param);break}{let tt=this.map.get(Ce.param)||[];const et=tt.indexOf(de(Ce.value));-1!==et&&tt.splice(et,1),tt.length>0?this.map.set(Ce.param,tt):this.map.delete(Ce.param)}}}),this.cloneFrom=this.updates=null)}}class ce{constructor(Ce){this.defaultValue=Ce}}class Oe{constructor(){this.map=new Map}set(Ce,_e){return this.map.set(Ce,_e),this}get(Ce){return this.map.has(Ce)||this.map.set(Ce,Ce.defaultValue()),this.map.get(Ce)}delete(Ce){return this.map.delete(Ce),this}has(Ce){return this.map.has(Ce)}keys(){return this.map.keys()}}function ye(De){return"undefined"!=typeof ArrayBuffer&&De instanceof ArrayBuffer}function X(De){return"undefined"!=typeof Blob&&De instanceof Blob}function ve(De){return"undefined"!=typeof FormData&&De instanceof FormData}class Qe{constructor(Ce,_e,tt,et){let lt;if(this.url=_e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ce.toUpperCase(),function me(De){switch(De){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||et?(this.body=void 0!==tt?tt:null,lt=et):lt=tt,lt&&(this.reportProgress=!!lt.reportProgress,this.withCredentials=!!lt.withCredentials,lt.responseType&&(this.responseType=lt.responseType),lt.headers&&(this.headers=lt.headers),lt.context&&(this.context=lt.context),lt.params&&(this.params=lt.params)),this.headers||(this.headers=new p),this.context||(this.context=new Oe),this.params){const _t=this.params.toString();if(0===_t.length)this.urlWithParams=_e;else{const Wt=_e.indexOf("?");this.urlWithParams=_e+(-1===Wt?"?":Wt<_e.length-1?"&":"")+_t}}else this.params=new K,this.urlWithParams=_e}serializeBody(){return null===this.body?null:ye(this.body)||X(this.body)||ve(this.body)||function Re(De){return"undefined"!=typeof URLSearchParams&&De instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof K?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||ve(this.body)?null:X(this.body)?this.body.type||null:ye(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof K?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Ce={}){var _e;const tt=Ce.method||this.method,et=Ce.url||this.url,lt=Ce.responseType||this.responseType,_t=void 0!==Ce.body?Ce.body:this.body,Wt=void 0!==Ce.withCredentials?Ce.withCredentials:this.withCredentials,Lt=void 0!==Ce.reportProgress?Ce.reportProgress:this.reportProgress;let St=Ce.headers||this.headers,ln=Ce.params||this.params;const qt=null!==(_e=Ce.context)&&void 0!==_e?_e:this.context;return void 0!==Ce.setHeaders&&(St=Object.keys(Ce.setHeaders).reduce((Jt,vt)=>Jt.set(vt,Ce.setHeaders[vt]),St)),Ce.setParams&&(ln=Object.keys(Ce.setParams).reduce((Jt,vt)=>Jt.set(vt,Ce.setParams[vt]),ln)),new Qe(tt,et,_t,{params:ln,headers:St,context:qt,reportProgress:Lt,responseType:lt,withCredentials:Wt})}}var ot=(()=>((ot=ot||{})[ot.Sent=0]="Sent",ot[ot.UploadProgress=1]="UploadProgress",ot[ot.ResponseHeader=2]="ResponseHeader",ot[ot.DownloadProgress=3]="DownloadProgress",ot[ot.Response=4]="Response",ot[ot.User=5]="User",ot))();class Ve{constructor(Ce,_e=200,tt="OK"){this.headers=Ce.headers||new p,this.status=void 0!==Ce.status?Ce.status:_e,this.statusText=Ce.statusText||tt,this.url=Ce.url||null,this.ok=this.status>=200&&this.status<300}}class ue extends Ve{constructor(Ce={}){super(Ce),this.type=ot.ResponseHeader}clone(Ce={}){return new ue({headers:Ce.headers||this.headers,status:void 0!==Ce.status?Ce.status:this.status,statusText:Ce.statusText||this.statusText,url:Ce.url||this.url||void 0})}}class Ie extends Ve{constructor(Ce={}){super(Ce),this.type=ot.Response,this.body=void 0!==Ce.body?Ce.body:null}clone(Ce={}){return new Ie({body:void 0!==Ce.body?Ce.body:this.body,headers:Ce.headers||this.headers,status:void 0!==Ce.status?Ce.status:this.status,statusText:Ce.statusText||this.statusText,url:Ce.url||this.url||void 0})}}class H extends Ve{constructor(Ce){super(Ce,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ce.url||"(unknown url)"}`:`Http failure response for ${Ce.url||"(unknown url)"}: ${Ce.status} ${Ce.statusText}`,this.error=Ce.error||null}}function pe(De,Ce){return{body:Ce,headers:De.headers,context:De.context,observe:De.observe,params:De.params,reportProgress:De.reportProgress,responseType:De.responseType,withCredentials:De.withCredentials}}let ee=(()=>{class De{constructor(_e){this.handler=_e}request(_e,tt,et={}){let lt;if(_e instanceof Qe)lt=_e;else{let Lt,St;Lt=et.headers instanceof p?et.headers:new p(et.headers),et.params&&(St=et.params instanceof K?et.params:new K({fromObject:et.params})),lt=new Qe(_e,tt,void 0!==et.body?et.body:null,{headers:Lt,context:et.context,params:St,reportProgress:et.reportProgress,responseType:et.responseType||"json",withCredentials:et.withCredentials})}const _t=(0,g.of)(lt).pipe((0,s.b)(Lt=>this.handler.handle(Lt)));if(_e instanceof Qe||"events"===et.observe)return _t;const Wt=_t.pipe((0,v.h)(Lt=>Lt instanceof Ie));switch(et.observe||"body"){case"body":switch(lt.responseType){case"arraybuffer":return Wt.pipe((0,D.U)(Lt=>{if(null!==Lt.body&&!(Lt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Lt.body}));case"blob":return Wt.pipe((0,D.U)(Lt=>{if(null!==Lt.body&&!(Lt.body instanceof Blob))throw new Error("Response is not a Blob.");return Lt.body}));case"text":return Wt.pipe((0,D.U)(Lt=>{if(null!==Lt.body&&"string"!=typeof Lt.body)throw new Error("Response is not a string.");return Lt.body}));default:return Wt.pipe((0,D.U)(Lt=>Lt.body))}case"response":return Wt;default:throw new Error(`Unreachable: unhandled observe type ${et.observe}}`)}}delete(_e,tt={}){return this.request("DELETE",_e,tt)}get(_e,tt={}){return this.request("GET",_e,tt)}head(_e,tt={}){return this.request("HEAD",_e,tt)}jsonp(_e,tt){return this.request("JSONP",_e,{params:(new K).append(tt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(_e,tt={}){return this.request("OPTIONS",_e,tt)}patch(_e,tt,et={}){return this.request("PATCH",_e,pe(et,tt))}post(_e,tt,et={}){return this.request("POST",_e,pe(et,tt))}put(_e,tt,et={}){return this.request("PUT",_e,pe(et,tt))}}return De.\u0275fac=function(_e){return new(_e||De)(h.\u0275\u0275inject(T))},De.\u0275prov=h.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac}),De})();class xe{constructor(Ce,_e){this.next=Ce,this.interceptor=_e}handle(Ce){return this.interceptor.intercept(Ce,this.next)}}const fe=new h.InjectionToken("HTTP_INTERCEPTORS");let He,Ze=(()=>{class De{intercept(_e,tt){return tt.handle(_e)}}return De.\u0275fac=function(_e){return new(_e||De)},De.\u0275prov=h.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac}),De})(),ge=0;class qe{}let q=(()=>{class De{constructor(_e,tt){this.callbackMap=_e,this.document=tt,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+ge++}handle(_e){if("JSONP"!==_e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==_e.responseType)throw new Error("JSONP requests must use Json response type.");return new d.y(tt=>{const et=this.nextCallback(),lt=_e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${et}$1`),_t=this.document.createElement("script");_t.src=lt;let Wt=null,Lt=!1;this.callbackMap[et]=Jt=>{delete this.callbackMap[et],Wt=Jt,Lt=!0};const St=()=>{_t.parentNode&&_t.parentNode.removeChild(_t),delete this.callbackMap[et]};return _t.addEventListener("load",Jt=>{this.resolvedPromise.then(()=>{St(),Lt?(tt.next(new Ie({body:Wt,status:200,statusText:"OK",url:lt})),tt.complete()):tt.error(new H({url:lt,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),_t.addEventListener("error",Jt=>{St(),tt.error(new H({error:Jt,status:0,statusText:"JSONP Error",url:lt}))}),this.document.body.appendChild(_t),tt.next({type:ot.Sent}),()=>{Lt||this.removeListeners(_t),St()}})}removeListeners(_e){He||(He=this.document.implementation.createHTMLDocument()),He.adoptNode(_e)}}return De.\u0275fac=function(_e){return new(_e||De)(h.\u0275\u0275inject(qe),h.\u0275\u0275inject(i.DOCUMENT))},De.\u0275prov=h.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac}),De})(),he=(()=>{class De{constructor(_e){this.jsonp=_e}intercept(_e,tt){return"JSONP"===_e.method?this.jsonp.handle(_e):tt.handle(_e)}}return De.\u0275fac=function(_e){return new(_e||De)(h.\u0275\u0275inject(q))},De.\u0275prov=h.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac}),De})();const we=/^\)\]\}',?\n/;let be=(()=>{class De{constructor(_e){this.xhrFactory=_e}handle(_e){if("JSONP"===_e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new d.y(tt=>{const et=this.xhrFactory.build();if(et.open(_e.method,_e.urlWithParams),_e.withCredentials&&(et.withCredentials=!0),_e.headers.forEach((vt,Gt)=>et.setRequestHeader(vt,Gt.join(","))),_e.headers.has("Accept")||et.setRequestHeader("Accept","application/json, text/plain, */*"),!_e.headers.has("Content-Type")){const vt=_e.detectContentTypeHeader();null!==vt&&et.setRequestHeader("Content-Type",vt)}if(_e.responseType){const vt=_e.responseType.toLowerCase();et.responseType="json"!==vt?vt:"text"}const lt=_e.serializeBody();let _t=null;const Wt=()=>{if(null!==_t)return _t;const vt=et.statusText||"OK",Gt=new p(et.getAllResponseHeaders()),Ht=function Fe(De){return"responseURL"in De&&De.responseURL?De.responseURL:/^X-Request-URL:/m.test(De.getAllResponseHeaders())?De.getResponseHeader("X-Request-URL"):null}(et)||_e.url;return _t=new ue({headers:Gt,status:et.status,statusText:vt,url:Ht}),_t},Lt=()=>{let{headers:vt,status:Gt,statusText:Ht,url:un}=Wt(),re=null;204!==Gt&&(re=void 0===et.response?et.responseText:et.response),0===Gt&&(Gt=re?200:0);let Z=Gt>=200&&Gt<300;if("json"===_e.responseType&&"string"==typeof re){const L=re;re=re.replace(we,"");try{re=""!==re?JSON.parse(re):null}catch(P){re=L,Z&&(Z=!1,re={error:P,text:re})}}Z?(tt.next(new Ie({body:re,headers:vt,status:Gt,statusText:Ht,url:un||void 0})),tt.complete()):tt.error(new H({error:re,headers:vt,status:Gt,statusText:Ht,url:un||void 0}))},St=vt=>{const{url:Gt}=Wt(),Ht=new H({error:vt,status:et.status||0,statusText:et.statusText||"Unknown Error",url:Gt||void 0});tt.error(Ht)};let ln=!1;const qt=vt=>{ln||(tt.next(Wt()),ln=!0);let Gt={type:ot.DownloadProgress,loaded:vt.loaded};vt.lengthComputable&&(Gt.total=vt.total),"text"===_e.responseType&&!!et.responseText&&(Gt.partialText=et.responseText),tt.next(Gt)},Jt=vt=>{let Gt={type:ot.UploadProgress,loaded:vt.loaded};vt.lengthComputable&&(Gt.total=vt.total),tt.next(Gt)};return et.addEventListener("load",Lt),et.addEventListener("error",St),et.addEventListener("timeout",St),et.addEventListener("abort",St),_e.reportProgress&&(et.addEventListener("progress",qt),null!==lt&&et.upload&&et.upload.addEventListener("progress",Jt)),et.send(lt),tt.next({type:ot.Sent}),()=>{et.removeEventListener("error",St),et.removeEventListener("abort",St),et.removeEventListener("load",Lt),et.removeEventListener("timeout",St),_e.reportProgress&&(et.removeEventListener("progress",qt),null!==lt&&et.upload&&et.upload.removeEventListener("progress",Jt)),et.readyState!==et.DONE&&et.abort()}})}}return De.\u0275fac=function(_e){return new(_e||De)(h.\u0275\u0275inject(i.XhrFactory))},De.\u0275prov=h.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac}),De})();const Ge=new h.InjectionToken("XSRF_COOKIE_NAME"),mt=new h.InjectionToken("XSRF_HEADER_NAME");class ht{}let wt=(()=>{class De{constructor(_e,tt,et){this.doc=_e,this.platform=tt,this.cookieName=et,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const _e=this.doc.cookie||"";return _e!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i.\u0275parseCookieValue)(_e,this.cookieName),this.lastCookieString=_e),this.lastToken}}return De.\u0275fac=function(_e){return new(_e||De)(h.\u0275\u0275inject(i.DOCUMENT),h.\u0275\u0275inject(h.PLATFORM_ID),h.\u0275\u0275inject(Ge))},De.\u0275prov=h.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac}),De})(),dt=(()=>{class De{constructor(_e,tt){this.tokenService=_e,this.headerName=tt}intercept(_e,tt){const et=_e.url.toLowerCase();if("GET"===_e.method||"HEAD"===_e.method||et.startsWith("http://")||et.startsWith("https://"))return tt.handle(_e);const lt=this.tokenService.getToken();return null!==lt&&!_e.headers.has(this.headerName)&&(_e=_e.clone({headers:_e.headers.set(this.headerName,lt)})),tt.handle(_e)}}return De.\u0275fac=function(_e){return new(_e||De)(h.\u0275\u0275inject(ht),h.\u0275\u0275inject(mt))},De.\u0275prov=h.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac}),De})(),Ke=(()=>{class De{constructor(_e,tt){this.backend=_e,this.injector=tt,this.chain=null}handle(_e){if(null===this.chain){const tt=this.injector.get(fe,[]);this.chain=tt.reduceRight((et,lt)=>new xe(et,lt),this.backend)}return this.chain.handle(_e)}}return De.\u0275fac=function(_e){return new(_e||De)(h.\u0275\u0275inject(S),h.\u0275\u0275inject(h.Injector))},De.\u0275prov=h.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac}),De})();function ie(){return"object"==typeof window?window:{}}let Ae=(()=>{class De{static disable(){return{ngModule:De,providers:[{provide:dt,useClass:Ze}]}}static withOptions(_e={}){return{ngModule:De,providers:[_e.cookieName?{provide:Ge,useValue:_e.cookieName}:[],_e.headerName?{provide:mt,useValue:_e.headerName}:[]]}}}return De.\u0275fac=function(_e){return new(_e||De)},De.\u0275mod=h.\u0275\u0275defineNgModule({type:De}),De.\u0275inj=h.\u0275\u0275defineInjector({providers:[dt,{provide:fe,useExisting:dt,multi:!0},{provide:ht,useClass:wt},{provide:Ge,useValue:"XSRF-TOKEN"},{provide:mt,useValue:"X-XSRF-TOKEN"}]}),De})(),ae=(()=>{class De{}return De.\u0275fac=function(_e){return new(_e||De)},De.\u0275mod=h.\u0275\u0275defineNgModule({type:De}),De.\u0275inj=h.\u0275\u0275defineInjector({providers:[ee,{provide:T,useClass:Ke},be,{provide:S,useExisting:be}],imports:[[Ae.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),De})(),Me=(()=>{class De{}return De.\u0275fac=function(_e){return new(_e||De)},De.\u0275mod=h.\u0275\u0275defineNgModule({type:De}),De.\u0275inj=h.\u0275\u0275defineInjector({providers:[q,{provide:qe,useFactory:ie},{provide:fe,useClass:he,multi:!0}]}),De})();const Xe=i.XhrFactory},5e3:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{ANALYZE_FOR_ENTRY_COMPONENTS:()=>i_,APP_BOOTSTRAP_LISTENER:()=>bg,APP_ID:()=>gg,APP_INITIALIZER:()=>mg,ApplicationInitStatus:()=>vu,ApplicationModule:()=>PD,ApplicationRef:()=>Au,Attribute:()=>od,COMPILER_OPTIONS:()=>Eg,CUSTOM_ELEMENTS_SCHEMA:()=>Hd,ChangeDetectionStrategy:()=>Ce,ChangeDetectorRef:()=>Bg,Compiler:()=>G0,CompilerFactory:()=>Q0,Component:()=>F0,ComponentFactory:()=>Da,ComponentFactoryResolver:()=>Ea,ComponentRef:()=>em,ContentChild:()=>o_,ContentChildren:()=>r_,DEFAULT_CURRENCY_CODE:()=>W0,DebugElement:()=>xs,DebugEventListener:()=>fD,DebugNode:()=>xu,DefaultIterableDiffer:()=>Wg,Directive:()=>pg,ElementRef:()=>ws,EmbeddedViewRef:()=>hD,ErrorHandler:()=>Js,EventEmitter:()=>Sr,Host:()=>fd,HostBinding:()=>B0,HostListener:()=>j0,INJECTOR:()=>aa,Inject:()=>zs,InjectFlags:()=>B,Injectable:()=>sb,InjectionToken:()=>zn,Injector:()=>Qi,Input:()=>N0,IterableDiffers:()=>Lu,KeyValueDiffers:()=>Bu,LOCALE_ID:()=>Cu,MissingTranslationStrategy:()=>Ir,ModuleWithComponentFactories:()=>Dg,NO_ERRORS_SCHEMA:()=>Ud,NgModule:()=>V0,NgModuleFactory:()=>um,NgModuleRef:()=>Qo,NgProbeToken:()=>nD,NgZone:()=>ur,Optional:()=>os,Output:()=>L0,PACKAGE_ROOT_URL:()=>H0,PLATFORM_ID:()=>vg,PLATFORM_INITIALIZER:()=>yg,Pipe:()=>k0,PlatformRef:()=>Pu,Query:()=>es,QueryList:()=>Ia,ReflectiveInjector:()=>Ho,ReflectiveKey:()=>$r,Renderer2:()=>ZC,RendererFactory2:()=>nm,RendererStyleFlags2:()=>Er,ResolvedReflectiveFactory:()=>xf,Sanitizer:()=>im,SecurityContext:()=>Kn,Self:()=>Ks,SimpleChange:()=>Pi,SkipSelf:()=>Co,TRANSLATIONS:()=>z0,TRANSLATIONS_FORMAT:()=>K0,TemplateRef:()=>Ps,Testability:()=>Sg,TestabilityRegistry:()=>Mu,Type:()=>$s,VERSION:()=>om,Version:()=>rm,ViewChild:()=>a_,ViewChildren:()=>s_,ViewContainerRef:()=>Aa,ViewEncapsulation:()=>et,ViewRef:()=>Vg,asNativeElements:()=>pD,assertPlatform:()=>xg,createNgModuleRef:()=>n0,createPlatform:()=>Ag,createPlatformFactory:()=>Og,defineInjectable:()=>q,destroyPlatform:()=>iD,enableProdMode:()=>lD,forwardRef:()=>A,getDebugNode:()=>Jo,getModuleFactory:()=>cD,getNgModuleById:()=>uD,getPlatform:()=>Iu,inject:()=>hd,isDevMode:()=>aD,platformCore:()=>ID,resolveForwardRef:()=>M,setTestabilityGetter:()=>tD,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Su,\u0275APP_ID_RANDOM_PROVIDER:()=>$0,\u0275ChangeDetectorStatus:()=>_e,\u0275ComponentFactory:()=>Da,\u0275Console:()=>Cg,\u0275DEFAULT_LOCALE_ID:()=>Cs,\u0275INJECTOR_SCOPE:()=>jl,\u0275LifecycleHooksFeature:()=>yf,\u0275LocaleDataIndex:()=>Zt,\u0275NG_COMP_DEF:()=>Gt,\u0275NG_DIR_DEF:()=>Ht,\u0275NG_ELEMENT_ID:()=>L,\u0275NG_INJ_DEF:()=>wt,\u0275NG_MOD_DEF:()=>re,\u0275NG_PIPE_DEF:()=>un,\u0275NG_PROV_DEF:()=>ht,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>Ta,\u0275NO_CHANGE:()=>nn,\u0275NgModuleFactory:()=>Sa,\u0275NoopNgZone:()=>wg,\u0275ReflectionCapabilities:()=>$a,\u0275Render3ComponentFactory:()=>wa,\u0275Render3ComponentRef:()=>lm,\u0275Render3NgModuleRef:()=>ru,\u0275RuntimeError:()=>$,\u0275ViewRef:()=>Go,\u0275_sanitizeHtml:()=>Ad,\u0275_sanitizeUrl:()=>as,\u0275allowSanitizationBypassAndThrow:()=>To,\u0275bypassSanitizationTrustHtml:()=>N_,\u0275bypassSanitizationTrustResourceUrl:()=>V_,\u0275bypassSanitizationTrustScript:()=>B_,\u0275bypassSanitizationTrustStyle:()=>L_,\u0275bypassSanitizationTrustUrl:()=>j_,\u0275clearResolutionOfComponentResourcesQueue:()=>yd,\u0275compileComponent:()=>ng,\u0275compileDirective:()=>yu,\u0275compileNgModule:()=>Ym,\u0275compileNgModuleDefs:()=>Jm,\u0275compileNgModuleFactory:()=>Ig,\u0275compilePipe:()=>hg,\u0275createInjector:()=>$l,\u0275defaultIterableDiffers:()=>wD,\u0275defaultKeyValueDiffers:()=>SD,\u0275detectChanges:()=>Xh,\u0275devModeEqual:()=>Cf,\u0275findLocaleData:()=>Qc,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>Qm,\u0275getDebugNode:()=>Jo,\u0275getDebugNodeR2:()=>yD,\u0275getDirectives:()=>df,\u0275getHostElement:()=>Wl,\u0275getInjectableDef:()=>we,\u0275getLContext:()=>di,\u0275getLocaleCurrencyCode:()=>Zb,\u0275getLocalePluralCase:()=>Tp,\u0275getSanitizationBypassType:()=>Dd,\u0275global:()=>St,\u0275injectChangeDetectorRef:()=>jg,\u0275isBoundToModule:()=>Pg,\u0275isDefaultChangeDetectionStrategy:()=>tt,\u0275isListLikeIterable:()=>gs,\u0275isObservable:()=>jf,\u0275isPromise:()=>hc,\u0275isSubscribable:()=>Bf,\u0275ivyEnabled:()=>AD,\u0275makeDecorator:()=>yo,\u0275markDirty:()=>qh,\u0275noSideEffects:()=>De,\u0275patchComponentDefWithScope:()=>mu,\u0275publishDefaultGlobalUtils:()=>Uv,\u0275publishGlobalUtil:()=>Zi,\u0275registerLocaleData:()=>Qb,\u0275registerNgModuleType:()=>hm,\u0275renderComponent:()=>Wv,\u0275resetCompiledComponents:()=>T0,\u0275resetJitOptions:()=>D0,\u0275resolveComponentResources:()=>gd,\u0275setClassMetadata:()=>cm,\u0275setCurrentInjector:()=>Wa,\u0275setDocument:()=>_r,\u0275setLocaleId:()=>Sp,\u0275store:()=>Ef,\u0275stringify:()=>T,\u0275transitiveScopesFor:()=>Os,\u0275unregisterLocaleData:()=>Yb,\u0275unwrapSafeValue:()=>Br,\u0275whenRendered:()=>zv,\u0275\u0275CopyDefinitionFeature:()=>bf,\u0275\u0275FactoryTarget:()=>Yn,\u0275\u0275InheritDefinitionFeature:()=>Kl,\u0275\u0275NgOnChangesFeature:()=>Di,\u0275\u0275ProvidersFeature:()=>qp,\u0275\u0275advance:()=>vh,\u0275\u0275attribute:()=>Zl,\u0275\u0275attributeInterpolate1:()=>Yl,\u0275\u0275attributeInterpolate2:()=>Jl,\u0275\u0275attributeInterpolate3:()=>Xl,\u0275\u0275attributeInterpolate4:()=>ql,\u0275\u0275attributeInterpolate5:()=>ec,\u0275\u0275attributeInterpolate6:()=>tc,\u0275\u0275attributeInterpolate7:()=>nc,\u0275\u0275attributeInterpolate8:()=>ic,\u0275\u0275attributeInterpolateV:()=>rc,\u0275\u0275classMap:()=>Xf,\u0275\u0275classMapInterpolate1:()=>sp,\u0275\u0275classMapInterpolate2:()=>ap,\u0275\u0275classMapInterpolate3:()=>lp,\u0275\u0275classMapInterpolate4:()=>cp,\u0275\u0275classMapInterpolate5:()=>up,\u0275\u0275classMapInterpolate6:()=>dp,\u0275\u0275classMapInterpolate7:()=>hp,\u0275\u0275classMapInterpolate8:()=>fp,\u0275\u0275classMapInterpolateV:()=>pp,\u0275\u0275classProp:()=>wc,\u0275\u0275contentQuery:()=>Hm,\u0275\u0275defineComponent:()=>te,\u0275\u0275defineDirective:()=>$e,\u0275\u0275defineInjectable:()=>qe,\u0275\u0275defineInjector:()=>he,\u0275\u0275defineNgModule:()=>Bt,\u0275\u0275definePipe:()=>le,\u0275\u0275directiveInject:()=>vs,\u0275\u0275disableBindings:()=>Ur,\u0275\u0275element:()=>uc,\u0275\u0275elementContainer:()=>dc,\u0275\u0275elementContainerEnd:()=>pa,\u0275\u0275elementContainerStart:()=>fa,\u0275\u0275elementEnd:()=>ha,\u0275\u0275elementStart:()=>da,\u0275\u0275enableBindings:()=>Yr,\u0275\u0275getCurrentView:()=>Lf,\u0275\u0275getInheritedFactory:()=>rd,\u0275\u0275hostProperty:()=>Kc,\u0275\u0275i18n:()=>Qp,\u0275\u0275i18nApply:()=>Yp,\u0275\u0275i18nAttributes:()=>Zp,\u0275\u0275i18nEnd:()=>Xc,\u0275\u0275i18nExp:()=>qc,\u0275\u0275i18nPostprocess:()=>Jp,\u0275\u0275i18nStart:()=>Jc,\u0275\u0275inject:()=>ni,\u0275\u0275injectAttribute:()=>Ba,\u0275\u0275invalidFactory:()=>Nf,\u0275\u0275invalidFactoryDep:()=>za,\u0275\u0275listener:()=>fc,\u0275\u0275loadQuery:()=>Um,\u0275\u0275namespaceHTML:()=>Wi,\u0275\u0275namespaceMathML:()=>Ui,\u0275\u0275namespaceSVG:()=>ti,\u0275\u0275nextContext:()=>Hf,\u0275\u0275ngDeclareClassMetadata:()=>xD,\u0275\u0275ngDeclareComponent:()=>RD,\u0275\u0275ngDeclareDirective:()=>OD,\u0275\u0275ngDeclareFactory:()=>FD,\u0275\u0275ngDeclareInjectable:()=>ND,\u0275\u0275ngDeclareInjector:()=>LD,\u0275\u0275ngDeclareNgModule:()=>BD,\u0275\u0275ngDeclarePipe:()=>jD,\u0275\u0275pipe:()=>Pm,\u0275\u0275pipeBind1:()=>Am,\u0275\u0275pipeBind2:()=>Om,\u0275\u0275pipeBind3:()=>xm,\u0275\u0275pipeBind4:()=>Rm,\u0275\u0275pipeBindV:()=>Fm,\u0275\u0275projection:()=>Wf,\u0275\u0275projectionDef:()=>Uf,\u0275\u0275property:()=>lc,\u0275\u0275propertyInterpolate:()=>gc,\u0275\u0275propertyInterpolate1:()=>ma,\u0275\u0275propertyInterpolate2:()=>_c,\u0275\u0275propertyInterpolate3:()=>yc,\u0275\u0275propertyInterpolate4:()=>vc,\u0275\u0275propertyInterpolate5:()=>bc,\u0275\u0275propertyInterpolate6:()=>Cc,\u0275\u0275propertyInterpolate7:()=>Dc,\u0275\u0275propertyInterpolate8:()=>Ec,\u0275\u0275propertyInterpolateV:()=>Tc,\u0275\u0275pureFunction0:()=>pm,\u0275\u0275pureFunction1:()=>mm,\u0275\u0275pureFunction2:()=>gm,\u0275\u0275pureFunction3:()=>_m,\u0275\u0275pureFunction4:()=>ym,\u0275\u0275pureFunction5:()=>vm,\u0275\u0275pureFunction6:()=>bm,\u0275\u0275pureFunction7:()=>Cm,\u0275\u0275pureFunction8:()=>Dm,\u0275\u0275pureFunctionV:()=>Em,\u0275\u0275queryRefresh:()=>Vm,\u0275\u0275reference:()=>Tf,\u0275\u0275resolveBody:()=>Gd,\u0275\u0275resolveDocument:()=>Kd,\u0275\u0275resolveWindow:()=>zd,\u0275\u0275restoreView:()=>Jr,\u0275\u0275sanitizeHtml:()=>Od,\u0275\u0275sanitizeResourceUrl:()=>tl,\u0275\u0275sanitizeScript:()=>Rd,\u0275\u0275sanitizeStyle:()=>xd,\u0275\u0275sanitizeUrl:()=>el,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Nd,\u0275\u0275setComponentScope:()=>E,\u0275\u0275setNgModuleScope:()=>jt,\u0275\u0275styleMap:()=>ar,\u0275\u0275styleMapInterpolate1:()=>mp,\u0275\u0275styleMapInterpolate2:()=>gp,\u0275\u0275styleMapInterpolate3:()=>_p,\u0275\u0275styleMapInterpolate4:()=>yp,\u0275\u0275styleMapInterpolate5:()=>vp,\u0275\u0275styleMapInterpolate6:()=>bp,\u0275\u0275styleMapInterpolate7:()=>Cp,\u0275\u0275styleMapInterpolate8:()=>Dp,\u0275\u0275styleMapInterpolateV:()=>Ep,\u0275\u0275styleProp:()=>Mc,\u0275\u0275stylePropInterpolate1:()=>Lc,\u0275\u0275stylePropInterpolate2:()=>Bc,\u0275\u0275stylePropInterpolate3:()=>jc,\u0275\u0275stylePropInterpolate4:()=>Vc,\u0275\u0275stylePropInterpolate5:()=>$c,\u0275\u0275stylePropInterpolate6:()=>Hc,\u0275\u0275stylePropInterpolate7:()=>Uc,\u0275\u0275stylePropInterpolate8:()=>Wc,\u0275\u0275stylePropInterpolateV:()=>zc,\u0275\u0275syntheticHostListener:()=>pc,\u0275\u0275syntheticHostProperty:()=>Gc,\u0275\u0275template:()=>Df,\u0275\u0275templateRefExtractor:()=>Gm,\u0275\u0275text:()=>op,\u0275\u0275textInterpolate:()=>Ic,\u0275\u0275textInterpolate1:()=>_a,\u0275\u0275textInterpolate2:()=>Pc,\u0275\u0275textInterpolate3:()=>Ac,\u0275\u0275textInterpolate4:()=>Oc,\u0275\u0275textInterpolate5:()=>xc,\u0275\u0275textInterpolate6:()=>Rc,\u0275\u0275textInterpolate7:()=>Fc,\u0275\u0275textInterpolate8:()=>kc,\u0275\u0275textInterpolateV:()=>Nc,\u0275\u0275trustConstantHtml:()=>Fd,\u0275\u0275trustConstantResourceUrl:()=>kd,\u0275\u0275viewQuery:()=>$m});var i=c(6758),h=c(6921),g=c(9751),d=c(6451),s=c(3099);function v(e){for(let t in e)if(e[t]===v)return t;throw Error("Could not find renamed property on target object.")}function D(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function T(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(T).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function S(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const p=v({__forward_ref__:v});function A(e){return e.__forward_ref__=A,e.toString=function(){return T(this())},e}function M(e){return C(e)?e():e}function C(e){return"function"==typeof e&&e.hasOwnProperty(p)&&e.__forward_ref__===A}class $ extends Error{constructor(t,n){super(function de(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function K(e){return"string"==typeof e?e:null==e?"":String(e)}function ce(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():K(e)}function X(e,t){const n=t?` in ${t}`:"";throw new $(-201,`No provider for ${ce(e)} found${n}`)}function He(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function qe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const q=qe;function he(e){return{providers:e.providers||[],imports:e.imports||[]}}function we(e){return Fe(e,ht)||Fe(e,dt)}function Fe(e,t){return e.hasOwnProperty(t)?e[t]:null}function mt(e){return e&&(e.hasOwnProperty(wt)||e.hasOwnProperty(Ke))?e[wt]:null}const ht=v({\u0275prov:v}),wt=v({\u0275inj:v}),dt=v({ngInjectableDef:v}),Ke=v({ngInjectorDef:v});var B=(()=>((B=B||{})[B.Default=0]="Default",B[B.Host=1]="Host",B[B.Self=2]="Self",B[B.SkipSelf=4]="SkipSelf",B[B.Optional=8]="Optional",B))();let ie;function ae(e){const t=ie;return ie=e,t}function Me(e,t,n){const r=we(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&B.Optional?null:void 0!==t?t:void X(T(e),"Injector")}function De(e){return{toString:e}.toString()}var Ce=(()=>((Ce=Ce||{})[Ce.OnPush=0]="OnPush",Ce[Ce.Default=1]="Default",Ce))(),_e=(()=>((_e=_e||{})[_e.CheckOnce=0]="CheckOnce",_e[_e.Checked=1]="Checked",_e[_e.CheckAlways=2]="CheckAlways",_e[_e.Detached=3]="Detached",_e[_e.Errored=4]="Errored",_e[_e.Destroyed=5]="Destroyed",_e))();function tt(e){return null==e||e===Ce.Default}var et=(()=>{return(e=et||(et={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",et;var e})();const lt="undefined"!=typeof globalThis&&globalThis,_t="undefined"!=typeof window&&window,Wt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,St=lt||"undefined"!=typeof global&&global||_t||Wt,Jt={},vt=[],Gt=v({\u0275cmp:v}),Ht=v({\u0275dir:v}),un=v({\u0275pipe:v}),re=v({\u0275mod:v}),Z=v({\u0275fac:v}),L=v({__NG_ELEMENT_ID__:v});let P=0;function te(e){return De(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ce.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||vt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||et.Emulated,id:"c",styles:e.styles||vt,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,a=e.features,f=e.pipes;return r.id+=P++,r.inputs=Ne(e.inputs,n),r.outputs=Ne(e.outputs),a&&a.forEach(b=>b(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(j):null,r.pipeDefs=f?()=>("function"==typeof f?f():f).map(ke):null,r})}function E(e,t,n){const r=e.\u0275cmp;r.directiveDefs=()=>t.map(j),r.pipeDefs=()=>n.map(ke)}function j(e){return je(e)||ct(e)}function ke(e){return kt(e)}const it={};function Bt(e){return De(()=>{const t={type:e.type,bootstrap:e.bootstrap||vt,declarations:e.declarations||vt,imports:e.imports||vt,exports:e.exports||vt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(it[e.id]=e.type),t})}function jt(e,t){return De(()=>{const n=At(e,!0);n.declarations=t.declarations||vt,n.imports=t.imports||vt,n.exports=t.exports||vt})}function Ne(e,t){if(null==e)return Jt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],a=o;Array.isArray(o)&&(a=o[1],o=o[0]),n[o]=r,t&&(t[o]=a)}return n}const $e=te;function le(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function je(e){return e[Gt]||null}function ct(e){return e[Ht]||null}function kt(e){return e[un]||null}function At(e,t){const n=e[re]||null;if(!n&&!0===t)throw new Error(`Type ${T(e)} does not have '\u0275mod' property.`);return n}function wn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Fn(e){return Array.isArray(e)&&!0===e[1]}function mi(e){return 0!=(8&e.flags)}function ri(e){return 2==(2&e.flags)}function ai(e){return 1==(1&e.flags)}function Gn(e){return null!==e.template}function Pr(e){return 0!=(512&e[2])}function li(e,t){return e.hasOwnProperty(Z)?e[Z]:null}class Pi{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Di(){return er}function er(e){return e.type.prototype.ngOnChanges&&(e.setInput=mr),Ai}function Ai(){const e=Oi(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Jt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function mr(e,t,n,r){const o=Oi(e)||function tr(e,t){return e[$i]=t}(e,{previous:Jt,current:null}),a=o.current||(o.current={}),f=o.previous,b=this.declaredInputs[n],w=f[b];a[b]=new Pi(w&&w.currentValue,t,f===Jt),e[r]=t}Di.ngInherit=!0;const $i="__ngSimpleChanges__";function Oi(e){return e[$i]||null}let ei=null;const gr=e=>{ei=e},Vn=function(e,t,n){null!=ei&&ei(e,t,n)},$n="math";let gi;function _r(e){gi=e}function Ri(){return void 0!==gi?gi:"undefined"!=typeof document?document:void 0}function vn(e){return!!e.listen}const F={createRenderer:(e,t)=>Ri()};function R(e){for(;Array.isArray(e);)e=e[0];return e}function ut(e,t){return R(t[e])}function pt(e,t){return R(t[e.index])}function pn(e,t){return e.data[t]}function dn(e,t){return e[t]}function tn(e,t){const n=t[e];return wn(n)?n:n[0]}function an(e){return 4==(4&e[2])}function In(e){return 128==(128&e[2])}function O(e,t){return null==t?null:e[t]}function I(e){e[18]=0}function Y(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Je={lFrame:Mt(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function ir(){return Je.bindingsEnabled}function Yr(){Je.bindingsEnabled=!0}function Ur(){Je.bindingsEnabled=!1}function bt(){return Je.lFrame.lView}function cn(){return Je.lFrame.tView}function Jr(e){return Je.lFrame.contextLView=e,e[8]}function kn(){let e=Xr();for(;null!==e&&64===e.type;)e=e.parent;return e}function Xr(){return Je.lFrame.currentTNode}function kr(){const e=Je.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ti(e,t){const n=Je.lFrame;n.currentTNode=e,n.isParent=t}function Wr(){return Je.lFrame.isParent}function qr(){Je.lFrame.isParent=!1}function Nr(){return Je.isInCheckNoChangesMode}function Lr(e){Je.isInCheckNoChangesMode=e}function Qn(){const e=Je.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function se(){return Je.lFrame.bindingIndex}function Q(e){return Je.lFrame.bindingIndex=e}function _(){return Je.lFrame.bindingIndex++}function l(e){const t=Je.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function m(e){Je.lFrame.inI18n=e}function x(e,t){const n=Je.lFrame;n.bindingIndex=n.bindingRootIndex=e,oe(t)}function oe(e){Je.lFrame.currentDirectiveIndex=e}function Ee(e){const t=Je.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Ue(){return Je.lFrame.currentQueryIndex}function rt(e){Je.lFrame.currentQueryIndex=e}function Ct(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function It(e,t,n){if(n&B.SkipSelf){let o=t,a=e;for(;!(o=o.parent,null!==o||n&B.Host||(o=Ct(a),null===o||(a=a[15],10&o.type))););if(null===o)return!1;t=o,e=a}const r=Je.lFrame=Ot();return r.currentTNode=t,r.lView=e,!0}function Tt(e){const t=Ot(),n=e[1];Je.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ot(){const e=Je.lFrame,t=null===e?null:e.child;return null===t?Mt(e):t}function Mt(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function zt(){const e=Je.lFrame;return Je.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const hn=zt;function Nn(){const e=zt();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function _n(){return Je.lFrame.selectedIndex}function _i(e){Je.lFrame.selectedIndex=e}function yn(){const e=Je.lFrame;return pn(e.tView,e.selectedIndex)}function ti(){Je.lFrame.currentNamespace="svg"}function Ui(){Je.lFrame.currentNamespace=$n}function Wi(){!function rr(){Je.lFrame.currentNamespace=null}()}function zi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:f,ngAfterContentChecked:b,ngAfterViewInit:w,ngAfterViewChecked:V,ngOnDestroy:G}=a;f&&(e.contentHooks||(e.contentHooks=[])).push(-n,f),b&&((e.contentHooks||(e.contentHooks=[])).push(n,b),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,b)),w&&(e.viewHooks||(e.viewHooks=[])).push(-n,w),V&&((e.viewHooks||(e.viewHooks=[])).push(n,V),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,V)),null!=G&&(e.destroyHooks||(e.destroyHooks=[])).push(n,G)}}function no(e,t,n){Kt(e,t,3,n)}function io(e,t,n,r){(3&e[2])===n&&Kt(e,t,n,r)}function Vt(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Kt(e,t,n,r){const a=null!=r?r:-1,f=t.length-1;let b=0;for(let w=void 0!==r?65535&e[18]:0;w<f;w++)if("number"==typeof t[w+1]){if(b=t[w],null!=r&&b>=r)break}else t[w]<0&&(e[18]+=65536),(b<a||-1==a)&&(Yt(e,n,t,w),e[18]=(4294901760&e[18])+w+2),w++}function Yt(e,t,n,r){const o=n[r]<0,a=n[r+1],b=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048,Vn(4,b,a);try{a.call(b)}finally{Vn(5,b,a)}}}else{Vn(4,b,a);try{a.call(b)}finally{Vn(5,b,a)}}}class Ln{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Fi(e,t,n){const r=vn(e);let o=0;for(;o<n.length;){const a=n[o];if("number"==typeof a){if(0!==a)break;o++;const f=n[o++],b=n[o++],w=n[o++];r?e.setAttribute(t,b,w,f):t.setAttributeNS(f,b,w)}else{const f=a,b=n[++o];ro(f)?r&&e.setProperty(t,f,b):r?e.setAttribute(t,f,b):t.setAttribute(f,b),o++}}return o}function vr(e){return 3===e||4===e||6===e}function ro(e){return 64===e.charCodeAt(0)}function Ns(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||Qu(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function Qu(e,t,n,r,o){let a=0,f=e.length;if(-1===t)f=-1;else for(;a<e.length;){const b=e[a++];if("number"==typeof b){if(b===t){f=-1;break}if(b>t){f=a-1;break}}}for(;a<e.length;){const b=e[a];if("number"==typeof b)break;if(b===n){if(null===r)return void(null!==o&&(e[a+1]=o));if(r===e[a+1])return void(e[a+2]=o)}a++,null!==r&&a++,null!==o&&a++}-1!==f&&(e.splice(f,0,t),a=f+1),e.splice(a++,0,n),null!==r&&e.splice(a++,0,r),null!==o&&e.splice(a++,0,o)}function Zu(e){return-1!==e}function ho(e){return 32767&e}function fo(e,t){let n=function Yg(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Fa=!0;function Ls(e){const t=Fa;return Fa=e,t}let Jg=0;function Xo(e,t){const n=Na(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ka(r.data,e),ka(t,null),ka(r.blueprint,null));const o=Bs(e,t),a=e.injectorIndex;if(Zu(o)){const f=ho(o),b=fo(o,t),w=b[1].data;for(let V=0;V<8;V++)t[a+V]=b[f+V]|w[f+V]}return t[a+8]=o,a}function ka(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Na(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Bs(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){const a=o[1],f=a.type;if(r=2===f?a.declTNode:1===f?o[6]:null,null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function js(e,t,n){!function Xg(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(L)&&(r=n[L]),null==r&&(r=n[L]=Jg++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function Xu(e,t,n){if(n&B.Optional)return e;X(t,"NodeInjector")}function qu(e,t,n,r){if(n&B.Optional&&void 0===r&&(r=null),0==(n&(B.Self|B.Host))){const o=e[9],a=ae(void 0);try{return o?o.get(t,r,n&B.Optional):Me(t,r,n&B.Optional)}finally{ae(a)}}return Xu(r,t,n)}function ed(e,t,n,r=B.Default,o){if(null!==e){const a=function n_(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(L)?e[L]:void 0;return"number"==typeof t?t>=0?255&t:e_:t}(n);if("function"==typeof a){if(!It(t,e,r))return r&B.Host?Xu(o,n,r):qu(t,n,r,o);try{const f=a(r);if(null!=f||r&B.Optional)return f;X(n)}finally{hn()}}else if("number"==typeof a){let f=null,b=Na(e,t),w=-1,V=r&B.Host?t[16][6]:null;for((-1===b||r&B.SkipSelf)&&(w=-1===b?Bs(e,t):t[b+8],-1!==w&&id(r,!1)?(f=t[1],b=ho(w),t=fo(w,t)):b=-1);-1!==b;){const G=t[1];if(nd(a,b,G.data)){const Te=t_(b,t,n,f,r,V);if(Te!==td)return Te}w=t[b+8],-1!==w&&id(r,t[1].data[b+8]===V)&&nd(a,b,t)?(f=G,b=ho(w),t=fo(w,t)):b=-1}}}return qu(t,n,r,o)}const td={};function e_(){return new po(kn(),bt())}function t_(e,t,n,r,o,a){const f=t[1],b=f.data[e+8],G=Vs(b,f,n,null==r?ri(b)&&Fa:r!=f&&0!=(3&b.type),o&B.Host&&a===b);return null!==G?qo(t,f,G,b):td}function Vs(e,t,n,r,o){const a=e.providerIndexes,f=t.data,b=1048575&a,w=e.directiveStart,G=a>>20,We=o?b+G:e.directiveEnd;for(let nt=r?b:b+G;nt<We;nt++){const ft=f[nt];if(nt<w&&n===ft||nt>=w&&ft.type===n)return nt}if(o){const nt=f[w];if(nt&&Gn(nt)&&nt.type===n)return w}return null}function qo(e,t,n,r){let o=e[n];const a=t.data;if(function Ki(e){return e instanceof Ln}(o)){const f=o;f.resolving&&function Oe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new $(-200,`Circular dependency in DI detected for ${e}${n}`)}(ce(a[n]));const b=Ls(f.canSeeViewProviders);f.resolving=!0;const w=f.injectImpl?ae(f.injectImpl):null;It(e,r,B.Default);try{o=e[n]=f.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function to(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:a}=t.type.prototype;if(r){const f=er(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,f),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,f)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==w&&ae(w),Ls(b),f.resolving=!1,hn()}}return o}function nd(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function id(e,t){return!(e&B.Self||e&B.Host&&t)}class po{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ed(this._tNode,this._lView,t,r,n)}}function rd(e){return De(()=>{const t=e.prototype.constructor,n=t[Z]||La(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const a=o[Z]||La(o);if(a&&a!==n)return a;o=Object.getPrototypeOf(o)}return a=>new a})}function La(e){return C(e)?()=>{const t=La(M(e));return t&&t()}:li(e)}function Ba(e){return function qg(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o<r;){const a=n[o];if(vr(a))break;if(0===a)o+=2;else if("number"==typeof a)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(a===t)return n[o+1];o+=2}}}return null}(kn(),e)}const mo="__annotations__",go="__parameters__",_o="__prop__metadata__";function yo(e,t,n,r,o){return De(()=>{const a=ja(t);function f(...b){if(this instanceof f)return a.call(this,...b),this;const w=new f(...b);return function(G){return o&&o(G,...b),(G.hasOwnProperty(mo)?G[mo]:Object.defineProperty(G,mo,{value:[]})[mo]).push(w),r&&r(G),G}}return n&&(f.prototype=Object.create(n.prototype)),f.prototype.ngMetadataName=e,f.annotationCls=f,f})}function ja(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}function vo(e,t,n){return De(()=>{const r=ja(t);function o(...a){if(this instanceof o)return r.apply(this,a),this;const f=new o(...a);return b.annotation=f,b;function b(w,V,G){const Te=w.hasOwnProperty(go)?w[go]:Object.defineProperty(w,go,{value:[]})[go];for(;Te.length<=G;)Te.push(null);return(Te[G]=Te[G]||[]).push(f),w}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Kr(e,t,n,r){return De(()=>{const o=ja(t);function a(...f){if(this instanceof a)return o.apply(this,f),this;const b=new a(...f);return function w(V,G){const Te=V.constructor,We=Te.hasOwnProperty(_o)?Te[_o]:Object.defineProperty(Te,_o,{value:{}})[_o];We[G]=We.hasOwnProperty(G)&&We[G]||[],We[G].unshift(b),r&&r(V,G,...f)}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}const od=vo("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Ba(e)}));class zn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=qe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const i_=new zn("AnalyzeForEntryComponents");class es{}const r_=Kr("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),es),o_=Kr("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),es),s_=Kr("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t),es),a_=Kr("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),es);var Yn=(()=>((Yn=Yn||{})[Yn.Directive=0]="Directive",Yn[Yn.Component=1]="Component",Yn[Yn.Injectable=2]="Injectable",Yn[Yn.Pipe=3]="Pipe",Yn[Yn.NgModule=4]="NgModule",Yn))();function Jn(e){const t=St.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const $s=Function;function ts(e){return"function"==typeof e}function Gi(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Gi(r,t)):t!==e&&t.push(r)}return t}function br(e,t){e.forEach(n=>Array.isArray(n)?br(n,t):t(n))}function ad(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Hs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ns(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function ki(e,t,n){let r=bo(e,t);return r>=0?e[1|r]=n:(r=~r,function u_(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Va(e,t){const n=bo(e,t);if(n>=0)return e[1|n]}function bo(e,t){return function ud(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const a=r+(o-r>>1),f=e[a<<n];if(t===f)return a<<n;f>t?o=a:r=a+1}return~(o<<n)}(e,t,1)}const d_=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,h_=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,f_=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,p_=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class $a{constructor(t){this._reflect=t||St.Reflect}isReflectionEnabled(){return!0}factory(t){return(...n)=>new t(...n)}_zipTypesAndAnnotations(t,n){let r;r=ns(void 0===t?n.length:t.length);for(let o=0;o<r.length;o++)r[o]=void 0===t?[]:t[o]&&t[o]!=Object?[t[o]]:[],n&&null!=n[o]&&(r[o]=r[o].concat(n[o]));return r}_ownParameters(t,n){if(function m_(e){return d_.test(e)||p_.test(e)||h_.test(e)&&!f_.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==n.parameters)return t.parameters;const o=t.ctorParameters;if(o&&o!==n.ctorParameters){const b="function"==typeof o?o():o,w=b.map(G=>G&&G.type),V=b.map(G=>G&&Ha(G.decorators));return this._zipTypesAndAnnotations(w,V)}const a=t.hasOwnProperty(go)&&t[go],f=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return f||a?this._zipTypesAndAnnotations(f,a):ns(t.length)}parameters(t){if(!ts(t))return[];const n=Us(t);let r=this._ownParameters(t,n);return!r&&n!==Object&&(r=this.parameters(n)),r||[]}_ownAnnotations(t,n){if(t.annotations&&t.annotations!==n.annotations){let r=t.annotations;return"function"==typeof r&&r.annotations&&(r=r.annotations),r}return t.decorators&&t.decorators!==n.decorators?Ha(t.decorators):t.hasOwnProperty(mo)?t[mo]:null}annotations(t){if(!ts(t))return[];const n=Us(t),r=this._ownAnnotations(t,n)||[];return(n!==Object?this.annotations(n):[]).concat(r)}_ownPropMetadata(t,n){if(t.propMetadata&&t.propMetadata!==n.propMetadata){let r=t.propMetadata;return"function"==typeof r&&r.propMetadata&&(r=r.propMetadata),r}if(t.propDecorators&&t.propDecorators!==n.propDecorators){const r=t.propDecorators,o={};return Object.keys(r).forEach(a=>{o[a]=Ha(r[a])}),o}return t.hasOwnProperty(_o)?t[_o]:null}propMetadata(t){if(!ts(t))return{};const n=Us(t),r={};if(n!==Object){const a=this.propMetadata(n);Object.keys(a).forEach(f=>{r[f]=a[f]})}const o=this._ownPropMetadata(t,n);return o&&Object.keys(o).forEach(a=>{const f=[];r.hasOwnProperty(a)&&f.push(...r[a]),f.push(...o[a]),r[a]=f}),r}ownPropMetadata(t){return ts(t)&&this._ownPropMetadata(t,Us(t))||{}}hasLifecycleHook(t,n){return t instanceof $s&&n in t.prototype}guards(t){return{}}getter(t){return new Function("o","return o."+t+";")}setter(t){return new Function("o","v","return o."+t+" = v;")}method(t){return new Function("o","args",`if (!o.${t}) throw new Error('"${t}" is undefined');\n return o.${t}.apply(o, args);`)}importUri(t){return"object"==typeof t&&t.filePath?t.filePath:`./${T(t)}`}resourceUri(t){return`./${T(t)}`}resolveIdentifier(t,n,r,o){return o}resolveEnum(t,n){return t[n]}}function Ha(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Us(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const Gr={},Ua="__NG_DI_FLAG__",Ws="ngTempTokenPath",__=/\n/gm,dd="__source",v_=v({provide:String,useValue:v});let is;function Wa(e){const t=is;return is=e,t}function b_(e,t=B.Default){if(void 0===is)throw new $(203,"");return null===is?Me(e,void 0,t):is.get(e,t&B.Optional?null:void 0,t)}function ni(e,t=B.Default){return(function Ae(){return ie}()||b_)(M(e),t)}function za(e){throw new Error("invalid")}const hd=ni;function Ka(e){const t=[];for(let n=0;n<e.length;n++){const r=M(e[n]);if(Array.isArray(r)){if(0===r.length)throw new $(900,"");let o,a=B.Default;for(let f=0;f<r.length;f++){const b=r[f],w=C_(b);"number"==typeof w?-1===w?o=b.token:a|=w:o=b}t.push(ni(o,a))}else t.push(ni(r))}return t}function rs(e,t){return e[Ua]=t,e.prototype[Ua]=t,e}function C_(e){return e[Ua]}const zs=rs(vo("Inject",e=>({token:e})),-1),os=rs(vo("Optional"),8),Ks=rs(vo("Self"),2),Co=rs(vo("SkipSelf"),4),fd=rs(vo("Host"),1);let pd=null;function Ga(){return pd=pd||new $a}function Gs(e){return md(Ga().parameters(e))}function md(e){return e.map(t=>function T_(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const r=e[n];if(void 0===r)continue;const o=Object.getPrototypeOf(r);if(r instanceof os||"Optional"===o.ngMetadataName)t.optional=!0;else if(r instanceof Co||"SkipSelf"===o.ngMetadataName)t.skipSelf=!0;else if(r instanceof Ks||"Self"===o.ngMetadataName)t.self=!0;else if(r instanceof fd||"Host"===o.ngMetadataName)t.host=!0;else if(r instanceof zs)t.token=r.token;else if(r instanceof od){if(void 0===r.attributeName)throw new Error("Attribute name must be defined.");t.attribute=r.attributeName}else t.token=r}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}function gd(e){const t=[],n=new Map;function r(o){let a=n.get(o);if(!a){const f=e(o);n.set(o,a=f.then(S_))}return a}return Do.forEach((o,a)=>{const f=[];o.templateUrl&&f.push(r(o.templateUrl).then(Te=>{o.template=Te}));const b=o.styleUrls,w=o.styles||(o.styles=[]),V=o.styles.length;b&&b.forEach((Te,We)=>{w.push(""),f.push(r(Te).then(nt=>{w[V+We]=nt,b.splice(b.indexOf(Te),1),0==b.length&&(o.styleUrls=void 0)}))});const G=Promise.all(f).then(()=>function I_(e){ss.delete(e)}(a));t.push(G)}),yd(),Promise.all(t).then(()=>{})}let Do=new Map;const ss=new Set;function _d(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function yd(){const e=Do;return Do=new Map,e}function S_(e){return"string"==typeof e?e:e.text()}let Qs,Zs;function Qa(){if(void 0===Qs&&(Qs=null,St.trustedTypes))try{Qs=St.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Qs}function Eo(e){var t;return(null===(t=Qa())||void 0===t?void 0:t.createHTML(e))||e}function Za(){if(void 0===Zs&&(Zs=null,St.trustedTypes))try{Zs=St.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Zs}function vd(e){var t;return(null===(t=Za())||void 0===t?void 0:t.createHTML(e))||e}function bd(e){var t;return(null===(t=Za())||void 0===t?void 0:t.createScript(e))||e}function Cd(e){var t;return(null===(t=Za())||void 0===t?void 0:t.createScriptURL(e))||e}class oo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class O_ extends oo{getTypeName(){return"HTML"}}class x_ extends oo{getTypeName(){return"Style"}}class R_ extends oo{getTypeName(){return"Script"}}class F_ extends oo{getTypeName(){return"URL"}}class k_ extends oo{getTypeName(){return"ResourceURL"}}function Br(e){return e instanceof oo?e.changingThisBreaksApplicationSecurity:e}function To(e,t){const n=Dd(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Dd(e){return e instanceof oo&&e.getTypeName()||null}function N_(e){return new O_(e)}function L_(e){return new x_(e)}function B_(e){return new R_(e)}function j_(e){return new F_(e)}function V_(e){return new k_(e)}function Ed(e){const t=new H_(e);return function U_(){try{return!!(new window.DOMParser).parseFromString(Eo(""),"text/html")}catch(e){return!1}}()?new $_(t):t}class $_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Eo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class H_{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Eo(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Eo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let o=n.length-1;0<o;o--){const f=n.item(o).name;("xmlns:ns1"===f||0===f.indexOf("ns1:"))&&t.removeAttribute(f)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const W_=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,z_=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function as(e){return(e=String(e)).match(W_)||e.match(z_)?e:"unsafe:"+e}function Td(e){return(e=String(e)).split(",").map(t=>as(t.trim())).join(", ")}function Cr(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ls(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Md=Cr("area,br,col,hr,img,wbr"),wd=Cr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Sd=Cr("rp,rt"),Ya=ls(Md,ls(wd,Cr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ls(Sd,Cr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ls(Sd,wd)),Ja=Cr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xa=Cr("srcset"),Id=ls(Ja,Xa,Cr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Cr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),K_=Cr("script,style,template");class G_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Ya.hasOwnProperty(n))return this.sanitizedSomething=!0,!K_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o<r.length;o++){const a=r.item(o),f=a.name,b=f.toLowerCase();if(!Id.hasOwnProperty(b)){this.sanitizedSomething=!0;continue}let w=a.value;Ja[b]&&(w=as(w)),Xa[b]&&(w=Td(w)),this.buf.push(" ",f,'="',Pd(w),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Ya.hasOwnProperty(n)&&!Md.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Pd(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Q_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Z_=/([^\#-~ |!])/g;function Pd(e){return e.replace(/&/g,"&amp;").replace(Q_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Z_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Ys;function Ad(e,t){let n=null;try{Ys=Ys||Ed(e);let r=t?String(t):"";n=Ys.getInertBodyElement(r);let o=5,a=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=a,a=n.innerHTML,n=Ys.getInertBodyElement(r)}while(r!==a);return Eo((new G_).sanitizeChildren(qa(n)||n))}finally{if(n){const r=qa(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function qa(e){return"content"in e&&function Y_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Kn=(()=>((Kn=Kn||{})[Kn.NONE=0]="NONE",Kn[Kn.HTML=1]="HTML",Kn[Kn.STYLE=2]="STYLE",Kn[Kn.SCRIPT=3]="SCRIPT",Kn[Kn.URL=4]="URL",Kn[Kn.RESOURCE_URL=5]="RESOURCE_URL",Kn))();function Od(e){const t=cs();return t?vd(t.sanitize(Kn.HTML,e)||""):To(e,"HTML")?vd(Br(e)):Ad(Ri(),K(e))}function xd(e){const t=cs();return t?t.sanitize(Kn.STYLE,e)||"":To(e,"Style")?Br(e):K(e)}function el(e){const t=cs();return t?t.sanitize(Kn.URL,e)||"":To(e,"URL")?Br(e):as(K(e))}function tl(e){const t=cs();if(t)return Cd(t.sanitize(Kn.RESOURCE_URL,e)||"");if(To(e,"ResourceURL"))return Cd(Br(e));throw new $(904,"")}function Rd(e){const t=cs();if(t)return bd(t.sanitize(Kn.SCRIPT,e)||"");if(To(e,"Script"))return bd(Br(e));throw new $(905,"")}function Fd(e){return Eo(e[0])}function kd(e){return function A_(e){var t;return(null===(t=Qa())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Nd(e,t,n){return function J_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?tl:el}(t,n)(e)}function cs(){const e=bt();return e&&e[12]}function di(e){let t=us(e);if(t){if(Array.isArray(t)){const n=t;let r,o,a;if(function X_(e){return e&&e.constructor&&e.constructor.\u0275cmp}(e)){if(r=Vd(n,e),-1==r)throw new Error("The provided component was not found in the application");o=e}else if(function q_(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(r=function ty(e,t){let n=e[1].firstChild;for(;n;){const o=n.directiveEnd;for(let a=n.directiveStart;a<o;a++)if(e[a]===t)return n.index;n=ey(n)}return-1}(n,e),-1==r)throw new Error("The provided directive was not found in the application");a=$d(r,n,!1)}else if(r=jd(n,e),-1==r)return null;const f=R(n[r]),b=us(f),w=b&&!Array.isArray(b)?b:nl(n,r,f);if(o&&void 0===w.component&&(w.component=o,hi(w.component,w)),a&&void 0===w.directives){w.directives=a;for(let V=0;V<a.length;V++)hi(a[V],w)}hi(w.native,w),t=w}}else{const n=e;let r=n;for(;r=r.parentNode;){const o=us(r);if(o){let a;if(a=Array.isArray(o)?o:o.lView,!a)return null;const f=jd(a,n);if(f>=0){const b=R(a[f]),w=nl(a,f,b);hi(b,w),t=w;break}}}}return t||null}function nl(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Ld(e){let n,t=us(e);if(Array.isArray(t)){const r=Vd(t,e);n=tn(r,t);const o=nl(t,r,n[0]);o.component=e,hi(e,o),hi(o.native,o)}else n=tn(t.nodeIndex,t.lView);return n}const Bd="__ngContext__";function hi(e,t){e[Bd]=t}function us(e){return e[Bd]||null}function il(e){const t=us(e);return t?Array.isArray(t)?t:t.lView:null}function jd(e,t){const n=e[1];for(let r=20;r<n.bindingStartIndex;r++)if(R(e[r])===t)return r;return-1}function ey(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Vd(e,t){const n=e[1].components;if(n)for(let r=0;r<n.length;r++){const o=n[r];if(tn(o,e)[8]===t)return o}else if(tn(20,e)[8]===t)return 20;return-1}function $d(e,t,n){const r=t[1].data[e];let o=r.directiveStart;return 0==o?vt:(!n&&2&r.flags&&o++,t.slice(o,r.directiveEnd))}const rl="ngOriginalError";function ol(e){return e[rl]}function ay(e,...t){e.error(...t)}class Js{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function sy(e){return e&&e.ngErrorLogger||ay}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&ol(t);for(;n&&ol(n);)n=ol(n);return n||null}}const Hd={name:"custom-elements"},Ud={name:"no-errors-schema"},ly=/^>|^->|<!--|-->|--!>|<!-$/g,cy=/(<|>)/;const my=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(St))();function zd(e){return e.ownerDocument.defaultView}function Kd(e){return e.ownerDocument}function Gd(e){return e.ownerDocument.body}function Dr(e){return e instanceof Function?e():e}var Er=(()=>((Er=Er||{})[Er.Important=1]="Important",Er[Er.DashCase=2]="DashCase",Er))();let sl;function al(e,t){return sl(e,t)}function ds(e){const t=e[3];return Fn(t)?t[3]:t}function Jd(e){return function Yd(e){let t=wn(e)?e:il(e);for(;t&&!(512&t[2]);)t=ds(t);return t}(e)[8]}function ll(e){return Xd(e[13])}function cl(e){return Xd(e[4])}function Xd(e){for(;null!==e&&!Fn(e);)e=e[4];return e}function wo(e,t,n,r,o){if(null!=r){let a,f=!1;Fn(r)?a=r:wn(r)&&(f=!0,r=r[0]);const b=R(r);0===e&&null!==n?null==o?rh(t,n,b):so(t,n,b,o||null,!0):1===e&&null!==n?so(t,n,b,o||null,!0):2===e?dh(t,b,f):3===e&&t.destroyNode(b),null!=a&&function Py(e,t,n,r,o){const a=n[7];a!==R(n)&&wo(t,e,r,a,o);for(let b=10;b<n.length;b++){const w=n[b];hs(w[1],w,e,t,r,a)}}(t,e,a,n,o)}}function ul(e,t){return vn(e)?e.createText(t):e.createTextNode(t)}function qd(e,t,n){vn(e)?e.setValue(t,n):t.textContent=n}function _y(e,t){return e.createComment(function Wd(e){return e.replace(ly,t=>t.replace(cy,"\u200b$1\u200b"))}(t))}function dl(e,t,n){if(vn(e))return e.createElement(t,n);{const r=null!==n?function ci(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":t===$n?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?e.createElement(t):e.createElementNS(r,t)}}function eh(e,t){const n=e[9],r=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,Y(o,-1)),n.splice(r,1)}function hl(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&eh(o,r),t>0&&(e[n-1][4]=r[4]);const a=Hs(e,10+t);!function yy(e,t){hs(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const f=a[19];null!==f&&f.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function th(e,t){if(!(256&t[2])){const n=t[11];vn(n)&&n.destroyNode&&hs(e,t,n,3,null,null),function Cy(e){let t=e[13];if(!t)return fl(e[1],e);for(;t;){let n=null;if(wn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)wn(t)&&fl(t[1],t),t=t[3];null===t&&(t=e),wn(t)&&fl(t[1],t),n=t&&t[4]}t=n}}(t)}}function fl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function My(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Ln)){const a=n[r+1];if(Array.isArray(a))for(let f=0;f<a.length;f+=2){const b=o[a[f]],w=a[f+1];Vn(4,b,w);try{w.call(b)}finally{Vn(5,b,w)}}else{Vn(4,o,a);try{a.call(o)}finally{Vn(5,o,a)}}}}}(e,t),function Ty(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const f=n[a+1],b="function"==typeof f?f(t):R(t[f]),w=r[o=n[a+2]],V=n[a+3];"boolean"==typeof V?b.removeEventListener(n[a],w,V):V>=0?r[o=V]():r[o=-V].unsubscribe(),a+=2}else{const f=r[o=n[a+1]];n[a].call(f)}if(null!==r){for(let a=o+1;a<r.length;a++)r[a]();t[7]=null}}(e,t),1===t[1].type&&vn(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Fn(t[3])){n!==t[3]&&eh(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function nh(e,t,n){return ih(e,t.parent,n)}function ih(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const o=e.data[r.directiveStart].encapsulation;if(o===et.None||o===et.Emulated)return null}return pt(r,n)}function so(e,t,n,r,o){vn(e)?e.insertBefore(t,n,r,o):t.insertBefore(n,r,o)}function rh(e,t,n){vn(e)?e.appendChild(t,n):t.appendChild(n)}function oh(e,t,n,r,o){null!==r?so(e,t,n,r,o):rh(e,t,n)}function Xs(e,t){return vn(e)?e.parentNode(t):t.parentNode}function sh(e,t,n){return lh(e,t,n)}function ah(e,t,n){return 40&e.type?pt(e,n):null}let pl,lh=ah;function ch(e,t){lh=e,pl=t}function qs(e,t,n,r){const o=nh(e,r,t),a=t[11],b=sh(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let w=0;w<n.length;w++)oh(a,o,n[w],b,!1);else oh(a,o,n,b,!1);void 0!==pl&&pl(a,r,t,n,o)}function ea(e,t){if(null!==t){const n=t.type;if(3&n)return pt(t,e);if(4&n)return ml(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ea(e,r);{const o=e[t.index];return Fn(o)?ml(-1,o):R(o)}}if(32&n)return al(t,e)()||R(e[t.index]);{const r=uh(e,t);return null!==r?Array.isArray(r)?r[0]:ea(ds(e[16]),r):ea(e,t.next)}}return null}function uh(e,t){return null!==t?e[16][6].projection[t.projection]:null}function ml(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return ea(r,o)}return t[7]}function dh(e,t,n){const r=Xs(e,t);r&&function wy(e,t,n,r){vn(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}function gl(e,t,n,r,o,a,f){for(;null!=n;){const b=r[n.index],w=n.type;if(f&&0===t&&(b&&hi(R(b),r),n.flags|=4),64!=(64&n.flags))if(8&w)gl(e,t,n.child,r,o,a,!1),wo(t,e,o,b,a);else if(32&w){const V=al(n,r);let G;for(;G=V();)wo(t,e,o,G,a);wo(t,e,o,b,a)}else 16&w?hh(e,t,r,n,o,a):wo(t,e,o,b,a);n=f?n.projectionNext:n.next}}function hs(e,t,n,r,o,a){gl(n,r,e.firstChild,t,o,a,!1)}function hh(e,t,n,r,o,a){const f=n[16],w=f[6].projection[r.projection];if(Array.isArray(w))for(let V=0;V<w.length;V++)wo(t,e,o,w[V],a);else gl(e,t,w,f[3],o,a,!0)}function fh(e,t,n){vn(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function _l(e,t,n){vn(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function ph(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const a=t.length;if(o+a===r||e.charCodeAt(o+a)<=32)return o}n=o+1}}const mh="ng-template";function Oy(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==ph(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function gh(e){return 4===e.type&&e.value!==mh}function xy(e,t,n){return t===(4!==e.type||n?e.value:mh)}function Ry(e,t,n){let r=4;const o=e.attrs||[],a=function Ny(e){for(let t=0;t<e.length;t++)if(vr(e[t]))return t;return e.length}(o);let f=!1;for(let b=0;b<t.length;b++){const w=t[b];if("number"!=typeof w){if(!f)if(4&r){if(r=2|1&r,""!==w&&!xy(e,w,n)||""===w&&1===t.length){if(or(r))return!1;f=!0}}else{const V=8&r?w:t[++b];if(8&r&&null!==e.attrs){if(!Oy(e.attrs,V,n)){if(or(r))return!1;f=!0}continue}const Te=Fy(8&r?"class":w,o,gh(e),n);if(-1===Te){if(or(r))return!1;f=!0;continue}if(""!==V){let We;We=Te>a?"":o[Te+1].toLowerCase();const nt=8&r?We:null;if(nt&&-1!==ph(nt,V,0)||2&r&&V!==We){if(or(r))return!1;f=!0}}}}else{if(!f&&!or(r)&&!or(w))return!1;if(f&&or(w))continue;f=!1,r=w|1&r}}return or(r)||f}function or(e){return 0==(1&e)}function Fy(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let a=!1;for(;o<t.length;){const f=t[o];if(f===e)return o;if(3===f||6===f)a=!0;else{if(1===f||2===f){let b=t[++o];for(;"string"==typeof b;)b=t[++o];continue}if(4===f)break;if(0===f){o+=4;continue}}o+=a?1:2}return-1}return function Ly(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function _h(e,t,n=!1){for(let r=0;r<t.length;r++)if(Ry(e,t[r],n))return!0;return!1}function By(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function yh(e,t){return e?":not("+t.trim()+")":t}function jy(e){let t=e[0],n=1,r=2,o="",a=!1;for(;n<e.length;){let f=e[n];if("string"==typeof f)if(2&r){const b=e[++n];o+="["+f+(b.length>0?'="'+b+'"':"")+"]"}else 8&r?o+="."+f:4&r&&(o+=" "+f);else""!==o&&!or(f)&&(t+=yh(a,o),o=""),r=f,a=a||!or(r);n++}return""!==o&&(t+=yh(a,o)),t}const nn={};function vh(e){bh(cn(),bt(),_n()+e,Nr())}function bh(e,t,n,r){if(!r)if(3==(3&t[2])){const a=e.preOrderCheckHooks;null!==a&&no(t,a,n)}else{const a=e.preOrderHooks;null!==a&&io(t,a,0,n)}_i(n)}function ta(e,t){return e<<17|t<<2}function sr(e){return e>>17&32767}function yl(e){return 2|e}function jr(e){return(131068&e)>>2}function vl(e,t){return-131069&e|t<<2}function bl(e){return 1|e}const Il=(()=>Promise.resolve(null))();function Oh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],a=n[r+1];if(-1!==a){const f=e.data[a];rt(o),f.contentQueries(2,t[a],a)}}}function fs(e,t,n,r,o,a,f,b,w,V){const G=t.blueprint.slice();return G[0]=o,G[2]=140|r,I(G),G[3]=G[15]=e,G[8]=n,G[10]=f||e&&e[10],G[11]=b||e&&e[11],G[12]=w||e&&e[12]||null,G[9]=V||e&&e[9]||null,G[6]=a,G[16]=2==t.type?e[16]:G,G}function So(e,t,n,r,o){let a=e.data[t];if(null===a)a=Pl(e,t,n,r,o),function u(){return Je.lFrame.inI18n}()&&(a.flags|=64);else if(64&a.type){a.type=n,a.value=r,a.attrs=o;const f=kr();a.injectorIndex=null===f?-1:f.injectorIndex}return Ti(a,!0),a}function Pl(e,t,n,r,o){const a=Xr(),f=Wr(),w=e.data[t]=function iv(e,t,n,r,o,a){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,f?a:a&&a.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=w),null!==a&&(f?null==a.child&&null!==w.parent&&(a.child=w):null===a.next&&(a.next=w)),w}function Io(e,t,n,r){if(0===n)return-1;const o=t.length;for(let a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function ps(e,t,n){Tt(t);try{const r=e.viewQuery;null!==r&&Bl(1,r,n);const o=e.template;null!==o&&xh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Oh(e,t),e.staticViewQueries&&Bl(2,e.viewQuery,n);const a=e.components;null!==a&&function ev(e,t){for(let n=0;n<t.length;n++)Cv(e,t[n])}(t,a)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Nn()}}function Po(e,t,n,r){const o=t[2];if(256==(256&o))return;Tt(t);const a=Nr();try{I(t),Q(e.bindingStartIndex),null!==n&&xh(e,t,n,2,r);const f=3==(3&o);if(!a)if(f){const V=e.preOrderCheckHooks;null!==V&&no(t,V,null)}else{const V=e.preOrderHooks;null!==V&&io(t,V,0,null),Vt(t,0)}if(function vv(e){for(let t=ll(e);null!==t;t=cl(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const o=n[r],a=o[3];0==(1024&o[2])&&Y(a,1),o[2]|=1024}}}(t),function yv(e){for(let t=ll(e);null!==t;t=cl(t))for(let n=10;n<t.length;n++){const r=t[n],o=r[1];In(r)&&Po(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&Oh(e,t),!a)if(f){const V=e.contentCheckHooks;null!==V&&no(t,V)}else{const V=e.contentHooks;null!==V&&io(t,V,1),Vt(t,1)}!function Xy(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)_i(~o);else{const a=o,f=n[++r],b=n[++r];x(f,a),b(2,t[a])}}}finally{_i(-1)}}(e,t);const b=e.components;null!==b&&function qy(e,t){for(let n=0;n<t.length;n++)bv(e,t[n])}(t,b);const w=e.viewQuery;if(null!==w&&Bl(2,w,r),!a)if(f){const V=e.viewCheckHooks;null!==V&&no(t,V)}else{const V=e.viewHooks;null!==V&&io(t,V,2),Vt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),a||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Y(t[3],-1))}finally{Nn()}}function tv(e,t,n,r){const o=t[10],a=!Nr(),f=an(t);try{a&&!f&&o.begin&&o.begin(),f&&ps(e,t,r),Po(e,t,n,r)}finally{a&&!f&&o.end&&o.end()}}function xh(e,t,n,r,o){const a=_n(),f=2&r;try{_i(-1),f&&t.length>20&&bh(e,t,20,Nr()),Vn(f?2:0,o),n(r,o)}finally{_i(a),Vn(f?3:1,o)}}function Rh(e,t,n){if(mi(t)){const o=t.directiveEnd;for(let a=t.directiveStart;a<o;a++){const f=e.data[a];f.contentQueries&&f.contentQueries(1,n[a],a)}}}function Al(e,t,n){!ir()||(function uv(e,t,n,r){const o=n.directiveStart,a=n.directiveEnd;e.firstCreatePass||Xo(n,t),hi(r,t);const f=n.initialInputs;for(let b=o;b<a;b++){const w=e.data[b],V=Gn(w);V&&mv(t,n,w);const G=qo(t,e,b,n);hi(G,t),null!==f&&gv(0,b-o,G,w,0,f),V&&(tn(n.index,t)[8]=G)}}(e,t,n,pt(n,t)),128==(128&n.flags)&&function dv(e,t,n){const r=n.directiveStart,o=n.directiveEnd,f=n.index,b=function W(){return Je.lFrame.currentDirectiveIndex}();try{_i(f);for(let w=r;w<o;w++){const V=e.data[w],G=t[w];oe(w),(null!==V.hostBindings||0!==V.hostVars||null!==V.hostAttrs)&&$h(V,G)}}finally{_i(-1),oe(b)}}(e,t,n))}function Ol(e,t,n=pt){const r=t.localNames;if(null!==r){let o=t.index+1;for(let a=0;a<r.length;a+=2){const f=r[a+1],b=-1===f?n(t,e):e[f];e[o++]=b}}}function Fh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ra(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function ra(e,t,n,r,o,a,f,b,w,V){const G=20+r,Te=G+o,We=function nv(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:nn);return n}(G,Te),nt="function"==typeof V?V():V;return We[1]={type:e,blueprint:We,template:n,queries:null,viewQuery:b,declTNode:t,data:We.slice().fill(null,G),bindingStartIndex:G,expandoStartIndex:Te,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof f?f():f,firstChild:null,schemas:w,consts:nt,incompleteFirstPass:!1}}function Nh(e,t,n){if(vn(e))return e.selectRootElement(t,n===et.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}function Lh(e,t,n,r){const o=Gh(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&Qh(e).push(r,o.length-1))}function Bh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function Ni(e,t,n,r,o,a,f,b){const w=pt(t,n);let G,V=t.inputs;!b&&null!=V&&(G=V[r])?(Jh(e,n,G,r,o),ri(t)&&function sv(e,t){const n=tn(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function ov(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=f?f(o,t.value||"",r):o,vn(a)?a.setProperty(w,r,o):ro(r)||(w.setProperty?w.setProperty(r,o):w[r]=o))}function xl(e,t,n,r){let o=!1;if(ir()){const a=function hv(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let a=0;a<r.length;a++){const f=r[a];_h(n,f.selectors,!1)&&(o||(o=[]),js(Xo(n,t),e,f.type),Gn(f)?(Hh(e,n),o.unshift(f)):o.push(f))}return o}(e,t,n),f=null===r?null:{"":-1};if(null!==a){o=!0,Uh(n,e.data.length,a.length);for(let G=0;G<a.length;G++){const Te=a[G];Te.providersResolver&&Te.providersResolver(Te)}let b=!1,w=!1,V=Io(e,t,a.length,null);for(let G=0;G<a.length;G++){const Te=a[G];n.mergedAttrs=Ns(n.mergedAttrs,Te.hostAttrs),Wh(e,n,t,V,Te),pv(V,Te,f),null!==Te.contentQueries&&(n.flags|=8),(null!==Te.hostBindings||null!==Te.hostAttrs||0!==Te.hostVars)&&(n.flags|=128);const We=Te.type.prototype;!b&&(We.ngOnChanges||We.ngOnInit||We.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),b=!0),!w&&(We.ngOnChanges||We.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),w=!0),V++}!function rv(e,t){const r=t.directiveEnd,o=e.data,a=t.attrs,f=[];let b=null,w=null;for(let V=t.directiveStart;V<r;V++){const G=o[V],Te=G.inputs,We=null===a||gh(t)?null:_v(Te,a);f.push(We),b=Bh(Te,V,b),w=Bh(G.outputs,V,w)}null!==b&&(b.hasOwnProperty("class")&&(t.flags|=16),b.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=f,t.inputs=b,t.outputs=w}(e,n)}f&&function fv(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const a=n[t[o+1]];if(null==a)throw new $(-301,!1);r.push(t[o],a)}}}(n,r,f)}return n.mergedAttrs=Ns(n.mergedAttrs,n.attrs),o}function Vh(e,t,n,r,o,a){const f=a.hostBindings;if(f){let b=e.hostBindingOpCodes;null===b&&(b=e.hostBindingOpCodes=[]);const w=~t.index;(function cv(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(b)!=w&&b.push(w),b.push(r,o,f)}}function $h(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Hh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function pv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Gn(t)&&(n[""]=e)}}function Uh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Wh(e,t,n,r,o){e.data[r]=o;const a=o.factory||(o.factory=li(o.type)),f=new Ln(a,Gn(o),null);e.blueprint[r]=f,n[r]=f,Vh(e,t,0,r,Io(e,n,o.hostVars,nn),o)}function mv(e,t,n){const r=pt(t,e),o=Fh(n),a=e[10],f=oa(e,fs(e,o,null,n.onPush?64:16,r,t,a,a.createRenderer(r,n),null,null));e[t.index]=f}function Tr(e,t,n,r,o,a){const f=pt(e,t);Rl(t[11],f,a,e.value,n,r,o)}function Rl(e,t,n,r,o,a,f){if(null==a)vn(e)?e.removeAttribute(t,o,n):t.removeAttribute(o);else{const b=null==f?K(a):f(a,r||"",o);vn(e)?e.setAttribute(t,o,b,n):n?t.setAttributeNS(n,o,b):t.setAttribute(o,b)}}function gv(e,t,n,r,o,a){const f=a[t];if(null!==f){const b=r.setInput;for(let w=0;w<f.length;){const V=f[w++],G=f[w++],Te=f[w++];null!==b?r.setInput(n,Te,V,G):n[G]=Te}}}function _v(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function zh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function bv(e,t){const n=tn(t,e);if(In(n)){const r=n[1];80&n[2]?Po(r,n,r.template,n[8]):n[5]>0&&Fl(n)}}function Fl(e){for(let r=ll(e);null!==r;r=cl(r))for(let o=10;o<r.length;o++){const a=r[o];if(1024&a[2]){const f=a[1];Po(f,a,f.template,a[8])}else a[5]>0&&Fl(a)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=tn(n[r],e);In(o)&&o[5]>0&&Fl(o)}}function Cv(e,t){const n=tn(t,e),r=n[1];(function Dv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),ps(r,n,n[8])}function oa(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function kl(e){for(;e;){e[2]|=64;const t=ds(e);if(Pr(e)&&!t)return e;e=t}return null}function Nl(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=il(n),o=r[1];tv(o,r,o.template,n)}}function Ll(e,t,n){const r=t[10];r.begin&&r.begin();try{Po(e,t,e.template,n)}catch(o){throw Yh(t,o),o}finally{r.end&&r.end()}}function Kh(e){Nl(e[8])}function Bl(e,t,n){rt(0),t(e,n)}const wv=Il;function Gh(e){return e[7]||(e[7]=[])}function Qh(e){return e.cleanup||(e.cleanup=[])}function Zh(e,t,n){return(null===e||Gn(e))&&(n=function ne(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Yh(e,t){const n=e[9],r=n?n.get(Js,null):null;r&&r.handleError(t)}function Jh(e,t,n,r,o){for(let a=0;a<n.length;){const f=n[a++],b=n[a++],w=t[f],V=e.data[f];null!==V.setInput?V.setInput(w,o,r,b):w[b]=o}}function Vr(e,t,n){const r=ut(t,e);qd(e[11],r,n)}function sa(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,a=0;if(null!==t)for(let f=0;f<t.length;f++){const b=t[f];"number"==typeof b?a=b:1==a?o=S(o,b):2==a&&(r=S(r,b+": "+t[++f]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Xh(e){const t=Ld(e);Ll(t[1],t,e)}function qh(e){!function Ev(e,t){if(0===e.flags&&e.clean==Il){let r;e.flags|=t,e.clean=new Promise(o=>r=o),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,Nl(e)),2&e.flags){e.flags&=-3;const o=e.playerHandler;o&&o.flushPlayers()}e.clean=Il,r(null)})}}(kl(Ld(e))[8],1)}const aa=new zn("INJECTOR",-1);class ef{get(t,n=Gr){if(n===Gr){const r=new Error(`NullInjectorError: No provider for ${T(t)}!`);throw r.name="NullInjectorError",r}return n}}const jl=new zn("Set Injector scope."),ms={},Sv={};let Vl;function tf(){return void 0===Vl&&(Vl=new ef),Vl}function $l(e,t=null,n=null,r){const o=nf(e,t,n,r);return o._resolveInjectorDefTypes(),o}function nf(e,t=null,n=null,r){return new Iv(e,n,t||tf(),r)}class Iv{constructor(t,n,r,o=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const a=[];n&&br(n,b=>this.processProvider(b,t,n)),br([t],b=>this.processInjectorType(b,[],a)),this.records.set(aa,Ao(void 0,this));const f=this.records.get(jl);this.scope=null!=f?f.value:null,this.source=o||("object"==typeof t?null:T(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=Gr,r=B.Default){this.assertNotDestroyed();const o=Wa(this),a=ae(void 0);try{if(!(r&B.SkipSelf)){let b=this.records.get(t);if(void 0===b){const w=function Nv(e){return"function"==typeof e||"object"==typeof e&&e instanceof zn}(t)&&we(t);b=w&&this.injectableDefInScope(w)?Ao(Hl(t),ms):null,this.records.set(t,b)}if(null!=b)return this.hydrate(t,b)}return(r&B.Self?tf():this.parent).get(t,n=r&B.Optional&&n===Gr?null:n)}catch(f){if("NullInjectorError"===f.name){if((f[Ws]=f[Ws]||[]).unshift(T(t)),o)throw f;return function D_(e,t,n,r){const o=e[Ws];throw t[dd]&&o.unshift(t[dd]),e.message=function E_(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=T(t);if(Array.isArray(t))o=t.map(T).join(" -> ");else if("object"==typeof t){let a=[];for(let f in t)if(t.hasOwnProperty(f)){let b=t[f];a.push(f+":"+("string"==typeof b?JSON.stringify(b):T(b)))}o=`{${a.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(__,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Ws]=null,e}(f,t,"R3InjectorError",this.source)}throw f}finally{ae(a),Wa(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,o)=>t.push(T(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new $(205,!1)}processInjectorType(t,n,r){if(!(t=M(t)))return!1;let o=mt(t);const a=null==o&&t.ngModule||void 0,f=void 0===a?t:a,b=-1!==r.indexOf(f);if(void 0!==a&&(o=mt(a)),null==o)return!1;if(null!=o.imports&&!b){let G;r.push(f);try{br(o.imports,Te=>{this.processInjectorType(Te,n,r)&&(void 0===G&&(G=[]),G.push(Te))})}finally{}if(void 0!==G)for(let Te=0;Te<G.length;Te++){const{ngModule:We,providers:nt}=G[Te];br(nt,ft=>this.processProvider(ft,We,nt||vt))}}this.injectorDefTypes.add(f);const w=li(f)||(()=>new f);this.records.set(f,Ao(w,ms));const V=o.providers;if(null!=V&&!b){const G=t;br(V,Te=>this.processProvider(Te,G,V))}return void 0!==a&&void 0!==t.providers}processProvider(t,n,r){let o=Oo(t=M(t))?t:M(t&&t.provide);const a=function Av(e,t,n){return sf(e)?Ao(void 0,e.useValue):Ao(rf(e),ms)}(t);if(Oo(t)||!0!==t.multi)this.records.get(o);else{let f=this.records.get(o);f||(f=Ao(void 0,ms,!0),f.factory=()=>Ka(f.multi),this.records.set(o,f)),o=t,f.multi.push(t)}this.records.set(o,a)}hydrate(t,n){return n.value===ms&&(n.value=Sv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function kv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=M(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Hl(e){const t=we(e),n=null!==t?t.factory:li(e);if(null!==n)return n;if(e instanceof zn)throw new $(204,!1);if(e instanceof Function)return function Pv(e){const t=e.length;if(t>0)throw ns(t,"?"),new $(204,!1);const n=function be(e){const t=e&&(e[ht]||e[dt]);if(t){const n=function Ge(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new $(204,!1)}function rf(e,t,n){let r;if(Oo(e)){const o=M(e);return li(o)||Hl(o)}if(sf(e))r=()=>M(e.useValue);else if(function xv(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ka(e.deps||[]));else if(function Ov(e){return!(!e||!e.useExisting)}(e))r=()=>ni(M(e.useExisting));else{const o=M(e&&(e.useClass||e.provide));if(!function Fv(e){return!!e.deps}(e))return li(o)||Hl(o);r=()=>new o(...Ka(e.deps))}return r}function Ao(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function sf(e){return null!==e&&"object"==typeof e&&v_ in e}function Oo(e){return"function"==typeof e}let Qi=(()=>{class e{static create(n,r){var o;if(Array.isArray(n))return $l({name:""},r,n,"");{const a=null!==(o=n.name)&&void 0!==o?o:"";return $l({name:a},n.parent,n.providers,a)}}}return e.THROW_IF_NOT_FOUND=Gr,e.NULL=new ef,e.\u0275prov=qe({token:e,providedIn:"any",factory:()=>ni(aa)}),e.__NG_ELEMENT_ID__=-1,e})();function Ul(e){zl(e);const t=di(e);return null===t?null:(void 0===t.component&&(t.component=function ny(e,t){const n=t[1].data[e];return 2&n.flags?t[n.directiveStart]:null}(t.nodeIndex,t.lView)),t.component)}function af(e){zl(e);const t=di(e);return null===t?null:t.lView[8]}function lf(e){const t=di(e);if(null===t)return null;let r,n=t.lView;for(;2===n[1].type&&(r=ds(n));)n=r;return 512&n[2]?null:n[8]}function cf(e){return[...Jd(e).components]}function uf(e){const t=di(e);return null===t?Qi.NULL:new po(t.lView[1].data[t.nodeIndex],t.lView)}function df(e){if(e instanceof Text)return[];const t=di(e);if(null===t)return[];const n=t.lView,r=n[1],o=t.nodeIndex;return(null==r?void 0:r.data[o])?(void 0===t.directives&&(t.directives=$d(o,n,!1)),null===t.directives?[]:[...t.directives]):[]}function Bv(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const n=je(t);if(n)return{inputs:n.inputs,outputs:n.outputs,encapsulation:n.encapsulation,changeDetection:n.onPush?Ce.OnPush:Ce.Default};const r=ct(t);return r?{inputs:r.inputs,outputs:r.outputs}:null}function Wl(e){return di(e).native}function hf(e){zl(e);const t=di(e);if(null===t)return[];const n=t.lView,o=n[7],a=n[1].cleanup,f=[];if(a&&o)for(let b=0;b<a.length;){const w=a[b++],V=a[b++];if("string"==typeof w){const G=w,Te=R(n[V]),We=o[a[b++]],nt=a[b++],ft="boolean"==typeof nt||nt>=0?"dom":"output",Et="boolean"==typeof nt&&nt;e==Te&&f.push({element:e,name:G,callback:We,useCapture:Et,type:ft})}}return f.sort(Vv),f}function Vv(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function $v(e){return void 0!==e.type&&void 0!==e.template&&void 0!==e.declaredInputs}function zl(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function Hv(e){qh(e),cf(e).forEach(t=>Xh(t))}let pf=!1;function Uv(){pf||(pf=!0,Zi("\u0275setProfiler",gr),Zi("getDirectiveMetadata",Bv),Zi("getComponent",Ul),Zi("getContext",af),Zi("getListeners",hf),Zi("getOwningComponent",lf),Zi("getHostElement",Wl),Zi("getInjector",uf),Zi("getRootComponents",cf),Zi("getDirectives",df),Zi("applyChanges",Hv))}function Zi(e,t){if("undefined"==typeof COMPILED||!COMPILED){const n=St;if(n){let r=n.ng;r||(r=n.ng={}),r[e]=t}}}function Wv(e,t={}){const n=t.rendererFactory||F,r=t.sanitizer||null,o=je(e);o.type!=e&&(o.type=e);const a=o.selectors[0][0],b=Nh(n.createRenderer(null,null),t.host||a,o.encapsulation),w=o.onPush?576:528,V=_f(t.scheduler,t.playerHandler),G=n.createRenderer(b,o),Te=ra(0,null,null,1,0,null,null,null,null,null),We=fs(null,Te,V,w,null,null,n,G,null,t.injector||null);let nt;Tt(We);try{n.begin&&n.begin(),nt=gf(mf(b,o,We,n,G,r),o,We,V,t.hostFeatures||null),ps(Te,We,null),Po(Te,We,null,null)}finally{Nn(),n.end&&n.end()}return nt}function mf(e,t,n,r,o,a){const f=n[1];n[20]=e;const w=So(f,20,2,"#host",null),V=w.mergedAttrs=t.hostAttrs;null!==V&&(sa(w,V,!0),null!==e&&(Fi(o,e,V),null!==w.classes&&_l(o,e,w.classes),null!==w.styles&&fh(o,e,w.styles)));const G=r.createRenderer(e,t),Te=fs(n,Fh(t),null,t.onPush?64:16,n[20],w,r,G,a||null,null);return f.firstCreatePass&&(js(Xo(w,n),f,t.type),Hh(f,w),Uh(w,n.length,1)),oa(n,Te),n[20]=Te}function gf(e,t,n,r,o){const a=n[1],f=function lv(e,t,n){const r=kn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Wh(e,r,t,Io(e,t,1,null),n));const o=qo(t,e,r.directiveStart,r);hi(o,t);const a=pt(r,t);return a&&hi(a,t),o}(a,n,t);if(r.components.push(f),e[8]=f,o&&o.forEach(w=>w(f,t)),t.contentQueries){const w=kn();t.contentQueries(1,f,w.directiveStart)}const b=kn();return!a.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(_i(b.index),Vh(n[1],b,0,b.directiveStart,b.directiveEnd,t),$h(t,f)),f}function _f(e,t){return{components:[],scheduler:e||my,clean:wv,playerHandler:t||null,flags:0}}function yf(e,t){zi(il(e)[1],kn())}function zv(e){return Jd(e).clean}function vf(e){return Object.getPrototypeOf(e.prototype).constructor}function Kl(e){let t=vf(e.type),n=!0;const r=[e];for(;t;){let o;if(Gn(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new $(903,"");o=t.\u0275dir}if(o){if(n){r.push(o);const f=e;f.inputs=Gl(e.inputs),f.declaredInputs=Gl(e.declaredInputs),f.outputs=Gl(e.outputs);const b=o.hostBindings;b&&Zv(e,b);const w=o.viewQuery,V=o.contentQueries;if(w&&Gv(e,w),V&&Qv(e,V),D(e.inputs,o.inputs),D(e.declaredInputs,o.declaredInputs),D(e.outputs,o.outputs),Gn(o)&&o.data.animation){const G=e.data;G.animation=(G.animation||[]).concat(o.data.animation)}}const a=o.features;if(a)for(let f=0;f<a.length;f++){const b=a[f];b&&b.ngInherit&&b(e),b===Kl&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Kv(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Ns(o.hostAttrs,n=Ns(n,o.hostAttrs))}}(r)}function Gl(e){return e===Jt?{}:e===vt?[]:e}function Gv(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function Qv(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,a)=>{t(r,o,a),n(r,o,a)}:t}function Zv(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}const Yv=["providersResolver"],Jv=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function bf(e){let n,t=vf(e.type);n=Gn(e)?t.\u0275cmp:t.\u0275dir;const r=e;for(const o of Yv)r[o]=n[o];if(Gn(n))for(const o of Jv)r[o]=n[o]}let la=null;function xo(){if(!la){const e=St.Symbol;if(e&&e.iterator)la=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(la=r)}}}return la}function Cf(e,t){const n=gs(e),r=gs(t);return n&&r?function Xv(e,t,n){const r=e[xo()](),o=t[xo()]();for(;;){const a=r.next(),f=o.next();if(a.done&&f.done)return!0;if(a.done||f.done||!n(a.value,f.value))return!1}}(e,t,Cf):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}function gs(e){return!!Ql(e)&&(Array.isArray(e)||!(e instanceof Map)&&xo()in e)}function Ql(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Mr(e,t,n){return e[t]=n}function _s(e,t){return e[t]}function fi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ao(e,t,n,r){const o=fi(e,t,n);return fi(e,t+1,r)||o}function ca(e,t,n,r,o){const a=ao(e,t,n,r);return fi(e,t+2,o)||a}function Yi(e,t,n,r,o,a){const f=ao(e,t,n,r);return ao(e,t+2,o,a)||f}function Zl(e,t,n,r){const o=bt();return fi(o,_(),t)&&(cn(),Tr(yn(),o,e,t,n,r)),Zl}function Ro(e,t){let n=!1,r=se();for(let a=1;a<t.length;a+=2)n=fi(e,r++,t[a])||n;if(Q(r),!n)return nn;let o=t[0];for(let a=1;a<t.length;a+=2)o+=K(t[a])+t[a+1];return o}function Fo(e,t,n,r){return fi(e,_(),n)?t+K(n)+r:nn}function ko(e,t,n,r,o,a){const b=ao(e,se(),n,o);return l(2),b?t+K(n)+r+K(o)+a:nn}function No(e,t,n,r,o,a,f,b){const V=ca(e,se(),n,o,f);return l(3),V?t+K(n)+r+K(o)+a+K(f)+b:nn}function Lo(e,t,n,r,o,a,f,b,w,V){const Te=Yi(e,se(),n,o,f,w);return l(4),Te?t+K(n)+r+K(o)+a+K(f)+b+K(w)+V:nn}function Bo(e,t,n,r,o,a,f,b,w,V,G,Te){const We=se();let nt=Yi(e,We,n,o,f,w);return nt=fi(e,We+4,G)||nt,l(5),nt?t+K(n)+r+K(o)+a+K(f)+b+K(w)+V+K(G)+Te:nn}function jo(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt){const ft=se();let Et=Yi(e,ft,n,o,f,w);return Et=ao(e,ft+4,G,We)||Et,l(6),Et?t+K(n)+r+K(o)+a+K(f)+b+K(w)+V+K(G)+Te+K(We)+nt:nn}function Vo(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et){const Pt=se();let $t=Yi(e,Pt,n,o,f,w);return $t=ca(e,Pt+4,G,We,ft)||$t,l(7),$t?t+K(n)+r+K(o)+a+K(f)+b+K(w)+V+K(G)+Te+K(We)+nt+K(ft)+Et:nn}function $o(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et,Pt,$t){const yt=se();let Qt=Yi(e,yt,n,o,f,w);return Qt=Yi(e,yt+4,G,We,ft,Pt)||Qt,l(8),Qt?t+K(n)+r+K(o)+a+K(f)+b+K(w)+V+K(G)+Te+K(We)+nt+K(ft)+Et+K(Pt)+$t:nn}function Yl(e,t,n,r,o,a){const f=bt(),b=Fo(f,t,n,r);return b!==nn&&Tr(yn(),f,e,b,o,a),Yl}function Jl(e,t,n,r,o,a,f,b){const w=bt(),V=ko(w,t,n,r,o,a);return V!==nn&&Tr(yn(),w,e,V,f,b),Jl}function Xl(e,t,n,r,o,a,f,b,w,V){const G=bt(),Te=No(G,t,n,r,o,a,f,b);return Te!==nn&&Tr(yn(),G,e,Te,w,V),Xl}function ql(e,t,n,r,o,a,f,b,w,V,G,Te){const We=bt(),nt=Lo(We,t,n,r,o,a,f,b,w,V);return nt!==nn&&Tr(yn(),We,e,nt,G,Te),ql}function ec(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt){const ft=bt(),Et=Bo(ft,t,n,r,o,a,f,b,w,V,G,Te);return Et!==nn&&Tr(yn(),ft,e,Et,We,nt),ec}function tc(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et){const Pt=bt(),$t=jo(Pt,t,n,r,o,a,f,b,w,V,G,Te,We,nt);return $t!==nn&&Tr(yn(),Pt,e,$t,ft,Et),tc}function nc(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et,Pt,$t){const yt=bt(),Qt=Vo(yt,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et);return Qt!==nn&&Tr(yn(),yt,e,Qt,Pt,$t),nc}function ic(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et,Pt,$t,yt,Qt){const fn=bt(),En=$o(fn,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et,Pt,$t);return En!==nn&&Tr(yn(),fn,e,En,yt,Qt),ic}function rc(e,t,n,r){const o=bt(),a=Ro(o,t);return a!==nn&&Tr(yn(),o,e,a,n,r),rc}function Df(e,t,n,r,o,a,f,b){const w=bt(),V=cn(),G=e+20,Te=V.firstCreatePass?function eb(e,t,n,r,o,a,f,b,w){const V=t.consts,G=So(t,e,4,f||null,O(V,b));xl(t,n,G,O(V,w)),zi(t,G);const Te=G.tViews=ra(2,G,r,o,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,V);return null!==t.queries&&(t.queries.template(t,G),Te.queries=t.queries.embeddedTView(G)),G}(G,V,w,t,n,r,o,a,f):V.data[G];Ti(Te,!1);const We=w[11].createComment("");qs(V,w,We,Te),hi(We,w),oa(w,w[G]=zh(We,w,We,Te)),ai(Te)&&Al(V,w,Te),null!=f&&Ol(w,Te,b)}function Ef(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Tf(e){return dn(function eo(){return Je.lFrame.contextLView}(),20+e)}const Mf={\u0275\u0275defineInjectable:qe,\u0275\u0275defineInjector:he,\u0275\u0275inject:ni,\u0275\u0275invalidFactoryDep:za,resolveForwardRef:M};const nb=v({provide:String,useValue:v});function wf(e){return void 0!==e.useClass}function Sf(e){return void 0!==e.useFactory}const sb=yo("Injectable",void 0,void 0,void 0,(e,t)=>function tb(e,t){let n=null,r=null;e.hasOwnProperty(ht)||Object.defineProperty(e,ht,{get:()=>(null===n&&(n=Jn().compileInjectable(Mf,`ng:///${e.name}/\u0275prov.js`,function ob(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(wf(n)||Sf(n))&&void 0!==n.deps&&(r.deps=md(n.deps)),wf(n)?r.useClass=n.useClass:function ib(e){return nb in e}(n)?r.useValue=n.useValue:Sf(n)?r.useFactory=n.useFactory:function rb(e){return void 0!==e.useExisting}(n)&&(r.useExisting=n.useExisting),r}(e,t))),n)}),e.hasOwnProperty(Z)||Object.defineProperty(e,Z,{get:()=>{if(null===r){const o=Jn();r=o.compileFactory(Mf,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Gs(e),target:o.FactoryTarget.Injectable})}return r},configurable:!0})}(e,t));function oc(e){return e.length>1?" ("+function ab(e){const t=[];for(let n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(r=>T(r.token)).join(" -> ")+")":""}function sc(e,t,n,r){const o=[t],a=n(o),f=r?function oy(e,t){const n=`${e} caused by: ${t instanceof Error?t.message:t}`,r=Error(n);return r[rl]=t,r}(a,r):Error(a);return f.addKey=lb,f.keys=o,f.injectors=[e],f.constructResolvingMessage=n,f[rl]=r,f}function lb(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function If(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const a=t[r];n.push(a&&0!=a.length?a.map(T).join(" "):"?")}return Error("Cannot resolve all parameters for '"+T(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+T(e)+"' is decorated with Injectable.")}function pb(e,t){return Error(`Cannot mix multi providers and regular providers, got: ${e} ${t}`)}class $r{constructor(t,n){if(this.token=t,this.id=n,!t)throw new Error("Token must be defined!");this.displayName=T(this.token)}static get(t){return Pf.get(M(t))}static get numberOfKeys(){return Pf.numberOfKeys}}class mb{constructor(){this._allKeys=new Map}get(t){if(t instanceof $r)return t;if(this._allKeys.has(t))return this._allKeys.get(t);const n=new $r(t,$r.numberOfKeys);return this._allKeys.set(t,n),n}get numberOfKeys(){return this._allKeys.size}}const Pf=new mb;class gb{constructor(t){this.reflectionCapabilities=t}updateCapabilities(t){this.reflectionCapabilities=t}factory(t){return this.reflectionCapabilities.factory(t)}parameters(t){return this.reflectionCapabilities.parameters(t)}annotations(t){return this.reflectionCapabilities.annotations(t)}propMetadata(t){return this.reflectionCapabilities.propMetadata(t)}hasLifecycleHook(t,n){return this.reflectionCapabilities.hasLifecycleHook(t,n)}getter(t){return this.reflectionCapabilities.getter(t)}setter(t){return this.reflectionCapabilities.setter(t)}method(t){return this.reflectionCapabilities.method(t)}importUri(t){return this.reflectionCapabilities.importUri(t)}resourceUri(t){return this.reflectionCapabilities.resourceUri(t)}resolveIdentifier(t,n,r,o){return this.reflectionCapabilities.resolveIdentifier(t,n,r,o)}resolveEnum(t,n){return this.reflectionCapabilities.resolveEnum(t,n)}}const Af=new gb(new $a);class ua{constructor(t,n,r){this.key=t,this.optional=n,this.visibility=r}static fromKey(t){return new ua(t,!1,null)}}const _b=[];class Of{constructor(t,n,r){this.key=t,this.resolvedFactories=n,this.multiProvider=r,this.resolvedFactory=this.resolvedFactories[0]}}class xf{constructor(t,n){this.factory=t,this.dependencies=n}}function yb(e){let t,n;if(e.useClass){const r=M(e.useClass);t=Af.factory(r),n=Ff(r)}else e.useExisting?(t=r=>r,n=[ua.fromKey($r.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function Db(e,t){if(t){const n=t.map(r=>[r]);return t.map(r=>kf(e,r,n))}return Ff(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,n=_b);return new xf(t,n)}function vb(e){return new Of($r.get(e.provide),[yb(e)],e.multi||!1)}function bb(e){const r=function Cb(e,t){for(let n=0;n<e.length;n++){const r=e[n],o=t.get(r.key.id);if(o){if(r.multiProvider!==o.multiProvider)throw pb(o,r);if(r.multiProvider)for(let a=0;a<r.resolvedFactories.length;a++)o.resolvedFactories.push(r.resolvedFactories[a]);else t.set(r.key.id,r)}else{let a;a=r.multiProvider?new Of(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,a)}}return t}(Rf(e,[]).map(vb),new Map);return Array.from(r.values())}function Rf(e,t){return e.forEach(n=>{if(n instanceof $s)t.push({provide:n,useClass:n});else if(n&&"object"==typeof n&&void 0!==n.provide)t.push(n);else{if(!Array.isArray(n))throw function hb(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`)}(n);Rf(n,t)}}),t}function Ff(e){const t=Af.parameters(e);if(!t)return[];if(t.some(n=>null==n))throw If(e,t);return t.map(n=>kf(e,n,t))}function kf(e,t,n){let r=null,o=!1;if(!Array.isArray(t))return ac(t instanceof zs?t.token:t,o,null);let a=null;for(let f=0;f<t.length;++f){const b=t[f];b instanceof $s?r=b:b instanceof zs?r=b.token:b instanceof os?o=!0:b instanceof Ks||b instanceof Co?a=b:b instanceof zn&&(r=b)}if(r=M(r),null!=r)return ac(r,o,a);throw If(e,n)}function ac(e,t,n){return new ua($r.get(e),t,n)}const ys={};class Ho{static resolve(t){return bb(t)}static resolveAndCreate(t,n){const r=Ho.resolve(t);return Ho.fromResolvedProviders(r,n)}static fromResolvedProviders(t,n){return new Eb(t,n)}}let Eb=(()=>{class e{constructor(n,r){this._constructionCounter=0,this._providers=n,this.parent=r||null;const o=n.length;this.keyIds=[],this.objs=[];for(let a=0;a<o;a++)this.keyIds[a]=n[a].key.id,this.objs[a]=ys}get(n,r=Gr){return this._getByKey($r.get(n),null,r)}resolveAndCreateChild(n){const r=Ho.resolve(n);return this.createChildFromResolved(r)}createChildFromResolved(n){const r=new e(n);return r.parent=this,r}resolveAndInstantiate(n){return this.instantiateResolved(Ho.resolve([n])[0])}instantiateResolved(n){return this._instantiateProvider(n)}getProviderAtIndex(n){if(n<0||n>=this._providers.length)throw function fb(e){return Error(`Index ${e} is out-of-bounds.`)}(n);return this._providers[n]}_new(n){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function ub(e,t){return sc(e,t,function(n){return`Cannot instantiate cyclic dependency!${oc(n)}`})}(this,n.key);return this._instantiateProvider(n)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(n){if(n.multiProvider){const r=[];for(let o=0;o<n.resolvedFactories.length;++o)r[o]=this._instantiate(n,n.resolvedFactories[o]);return r}return this._instantiate(n,n.resolvedFactories[0])}_instantiate(n,r){const o=r.factory;let a,f;try{a=r.dependencies.map(b=>this._getByReflectiveDependency(b))}catch(b){throw b.addKey&&b.addKey(this,n.key),b}try{f=o(...a)}catch(b){throw function db(e,t,n,r){return sc(e,r,function(o){const a=T(o[0].token);return`${t.message}: Error during instantiation of ${a}!${oc(o)}.`},t)}(this,b,0,n.key)}return f}_getByReflectiveDependency(n){return this._getByKey(n.key,n.visibility,n.optional?null:Gr)}_getByKey(n,r,o){return n===e.INJECTOR_KEY?this:r instanceof Ks?this._getByKeySelf(n,o):this._getByKeyDefault(n,o,r)}_getObjByKeyId(n){for(let r=0;r<this.keyIds.length;r++)if(this.keyIds[r]===n)return this.objs[r]===ys&&(this.objs[r]=this._new(this._providers[r])),this.objs[r];return ys}_throwOrNull(n,r){if(r!==Gr)return r;throw function cb(e,t){return sc(e,t,function(n){return`No provider for ${T(n[0].token)}!${oc(n)}`})}(this,n)}_getByKeySelf(n,r){const o=this._getObjByKeyId(n.id);return o!==ys?o:this._throwOrNull(n,r)}_getByKeyDefault(n,r,o){let a;for(a=o instanceof Co?this.parent:this;a instanceof e;){const f=a,b=f._getObjByKeyId(n.id);if(b!==ys)return b;a=f.parent}return null!==a?a.get(n.token,r):this._throwOrNull(n,r)}get displayName(){return`ReflectiveInjector(providers: [${function Tb(e,t){const n=[];for(let r=0;r<e._providers.length;++r)n[r]=t(e.getProviderAtIndex(r));return n}(this,r=>' "'+r.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=$r.get(Qi),e})();function vs(e,t=B.Default){const n=bt();return null===n?ni(e,t):ed(kn(),n,M(e),t)}function Nf(){throw new Error("invalid")}function lc(e,t,n){const r=bt();return fi(r,_(),t)&&Ni(cn(),yn(),r,e,t,r[11],n,!1),lc}function cc(e,t,n,r,o){const f=o?"class":"style";Jh(e,n,t.inputs[f],f,r)}function da(e,t,n,r){const o=bt(),a=cn(),f=20+e,b=o[11],w=o[f]=dl(b,t,function Fs(){return Je.lFrame.currentNamespace}()),V=a.firstCreatePass?function Mb(e,t,n,r,o,a,f){const b=t.consts,V=So(t,e,2,o,O(b,a));return xl(t,n,V,O(b,f)),null!==V.attrs&&sa(V,V.attrs,!1),null!==V.mergedAttrs&&sa(V,V.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,V),V}(f,a,o,0,t,n,r):a.data[f];Ti(V,!0);const G=V.mergedAttrs;null!==G&&Fi(b,w,G);const Te=V.classes;null!==Te&&_l(b,w,Te);const We=V.styles;return null!==We&&fh(b,w,We),64!=(64&V.flags)&&qs(a,o,w,V),0===function Dn(){return Je.lFrame.elementDepthCount}()&&hi(w,o),function Wn(){Je.lFrame.elementDepthCount++}(),ai(V)&&(Al(a,o,V),Rh(a,V,o)),null!==r&&Ol(o,V),da}function ha(){let e=kn();Wr()?qr():(e=e.parent,Ti(e,!1));const t=e;!function Ei(){Je.lFrame.elementDepthCount--}();const n=cn();return n.firstCreatePass&&(zi(n,e),mi(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ks(e){return 0!=(16&e.flags)}(t)&&cc(n,t,bt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Ra(e){return 0!=(32&e.flags)}(t)&&cc(n,t,bt(),t.stylesWithoutHost,!1),ha}function uc(e,t,n,r){return da(e,t,n,r),ha(),uc}function fa(e,t,n){const r=bt(),o=cn(),a=e+20,f=o.firstCreatePass?function wb(e,t,n,r,o){const a=t.consts,f=O(a,r),b=So(t,e,8,"ng-container",f);return null!==f&&sa(b,f,!0),xl(t,n,b,O(a,o)),null!==t.queries&&t.queries.elementStart(t,b),b}(a,o,r,t,n):o.data[a];Ti(f,!0);const b=r[a]=r[11].createComment("");return qs(o,r,b,f),hi(b,r),ai(f)&&(Al(o,r,f),Rh(o,f,r)),null!=n&&Ol(r,f),fa}function pa(){let e=kn();const t=cn();return Wr()?qr():(e=e.parent,Ti(e,!1)),t.firstCreatePass&&(zi(t,e),mi(e)&&t.queries.elementEnd(e)),pa}function dc(e,t,n){return fa(e,t,n),pa(),dc}function Lf(){return bt()}function hc(e){return!!e&&"function"==typeof e.then}function Bf(e){return!!e&&"function"==typeof e.subscribe}const jf=Bf;function fc(e,t,n,r){const o=bt(),a=cn(),f=kn();return Vf(a,o,o[11],f,e,t,!!n,r),fc}function pc(e,t){const n=kn(),r=bt(),o=cn();return Vf(o,r,Zh(Ee(o.data),n,r),n,e,t,!1),pc}function Vf(e,t,n,r,o,a,f,b){const w=ai(r),G=e.firstCreatePass&&Qh(e),Te=t[8],We=Gh(t);let nt=!0;if(3&r.type||b){const Pt=pt(r,t),$t=b?b(Pt):Pt,yt=We.length,Qt=b?fn=>b(R(fn[r.index])):r.index;if(vn(n)){let fn=null;if(!b&&w&&(fn=function Sb(e,t,n,r){const o=e.cleanup;if(null!=o)for(let a=0;a<o.length-1;a+=2){const f=o[a];if(f===n&&o[a+1]===r){const b=t[7],w=o[a+2];return b.length>w?b[w]:null}"string"==typeof f&&(a+=2)}return null}(e,t,o,r.index)),null!==fn)(fn.__ngLastListenerFn__||fn).__ngNextListenerFn__=a,fn.__ngLastListenerFn__=a,nt=!1;else{a=mc(r,t,Te,a,!1);const En=n.listen($t,o,a);We.push(a,En),G&&G.push(o,Qt,yt,yt+1)}}else a=mc(r,t,Te,a,!0),$t.addEventListener(o,a,f),We.push(a),G&&G.push(o,Qt,yt,f)}else a=mc(r,t,Te,a,!1);const ft=r.outputs;let Et;if(nt&&null!==ft&&(Et=ft[o])){const Pt=Et.length;if(Pt)for(let $t=0;$t<Pt;$t+=2){const Li=t[Et[$t]][Et[$t+1]].subscribe(a),uo=We.length;We.push(a,Li),G&&G.push(o,r.index,uo,-(uo+1))}}}function $f(e,t,n,r){try{return Vn(6,t,n),!1!==n(r)}catch(o){return Yh(e,o),!1}finally{Vn(7,t,n)}}function mc(e,t,n,r,o){return function a(f){if(f===Function)return r;const b=2&e.flags?tn(e.index,t):t;0==(32&t[2])&&kl(b);let w=$f(t,n,r,f),V=a.__ngNextListenerFn__;for(;V;)w=$f(t,n,V,f)&&w,V=V.__ngNextListenerFn__;return o&&!1===w&&(f.preventDefault(),f.returnValue=!1),w}}function Hf(e=1){return function Zn(e){return(Je.lFrame.contextLView=function si(e,t){for(;e>0;)t=t[15],e--;return t}(e,Je.lFrame.contextLView))[8]}(e)}function Ib(e,t){let n=null;const r=function ky(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const a=t[o];if("*"!==a){if(null===r?_h(e,a,!0):By(r,a))return o}else n=o}return n}function Uf(e){const t=bt()[16][6];if(!t.projection){const r=t.projection=ns(e?e.length:1,null),o=r.slice();let a=t.child;for(;null!==a;){const f=e?Ib(a,e):0;null!==f&&(o[f]?o[f].projectionNext=a:r[f]=a,o[f]=a),a=a.next}}}function Wf(e,t=0,n){const r=bt(),o=cn(),a=So(o,20+e,16,null,n||null);null===a.projection&&(a.projection=t),qr(),64!=(64&a.flags)&&function Iy(e,t,n){hh(t[11],0,t,n,nh(e,n,t),sh(n.parent||t[6],n,t))}(o,r,a)}function gc(e,t,n){return ma(e,"",t,"",n),gc}function ma(e,t,n,r,o){const a=bt(),f=Fo(a,t,n,r);return f!==nn&&Ni(cn(),yn(),a,e,f,a[11],o,!1),ma}function _c(e,t,n,r,o,a,f){const b=bt(),w=ko(b,t,n,r,o,a);return w!==nn&&Ni(cn(),yn(),b,e,w,b[11],f,!1),_c}function yc(e,t,n,r,o,a,f,b,w){const V=bt(),G=No(V,t,n,r,o,a,f,b);return G!==nn&&Ni(cn(),yn(),V,e,G,V[11],w,!1),yc}function vc(e,t,n,r,o,a,f,b,w,V,G){const Te=bt(),We=Lo(Te,t,n,r,o,a,f,b,w,V);return We!==nn&&Ni(cn(),yn(),Te,e,We,Te[11],G,!1),vc}function bc(e,t,n,r,o,a,f,b,w,V,G,Te,We){const nt=bt(),ft=Bo(nt,t,n,r,o,a,f,b,w,V,G,Te);return ft!==nn&&Ni(cn(),yn(),nt,e,ft,nt[11],We,!1),bc}function Cc(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft){const Et=bt(),Pt=jo(Et,t,n,r,o,a,f,b,w,V,G,Te,We,nt);return Pt!==nn&&Ni(cn(),yn(),Et,e,Pt,Et[11],ft,!1),Cc}function Dc(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et,Pt){const $t=bt(),yt=Vo($t,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et);return yt!==nn&&Ni(cn(),yn(),$t,e,yt,$t[11],Pt,!1),Dc}function Ec(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et,Pt,$t,yt){const Qt=bt(),fn=$o(Qt,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et,Pt,$t);return fn!==nn&&Ni(cn(),yn(),Qt,e,fn,Qt[11],yt,!1),Ec}function Tc(e,t,n){const r=bt(),o=Ro(r,t);return o!==nn&&Ni(cn(),yn(),r,e,o,r[11],n,!1),Tc}function zf(e,t,n,r,o){const a=e[n+1],f=null===t;let b=r?sr(a):jr(a),w=!1;for(;0!==b&&(!1===w||f);){const G=e[b+1];Ob(e[b],t)&&(w=!0,e[b+1]=r?bl(G):yl(G)),b=r?sr(G):jr(G)}w&&(e[n+1]=r?yl(a):bl(a))}function Ob(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&bo(e,t)>=0}const Xn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Kf(e){return e.substring(Xn.key,Xn.keyEnd)}function xb(e){return e.substring(Xn.value,Xn.valueEnd)}function Gf(e,t){const n=Xn.textEnd;return n===t?-1:(t=Xn.keyEnd=function kb(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Xn.key=t,n),Uo(e,t,n))}function Qf(e,t){const n=Xn.textEnd;let r=Xn.key=Uo(e,t,n);return n===r?-1:(r=Xn.keyEnd=function Nb(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Yf(e,r,n),r=Xn.value=Uo(e,r,n),r=Xn.valueEnd=function Lb(e,t,n){let r=-1,o=-1,a=-1,f=t,b=f;for(;f<n;){const w=e.charCodeAt(f++);if(59===w)return b;34===w||39===w?b=f=Jf(e,w,f,n):t===f-4&&85===a&&82===o&&76===r&&40===w?b=f=Jf(e,41,f,n):w>32&&(b=f),a=o,o=r,r=-33&w}return b}(e,r,n),Yf(e,r,n))}function Zf(e){Xn.key=0,Xn.keyEnd=0,Xn.value=0,Xn.valueEnd=0,Xn.textEnd=e.length}function Uo(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Yf(e,t,n,r){return(t=Uo(e,t,n))<n&&t++,t}function Jf(e,t,n,r){let o=-1,a=n;for(;a<r;){const f=e.charCodeAt(a++);if(f==t&&92!==o)return a;o=92==f&&92===o?0:f}throw new Error}function Mc(e,t,n){return lr(e,t,n,!1),Mc}function wc(e,t){return lr(e,t,null,!0),wc}function ar(e){cr(tp,Bb,e,!1)}function Bb(e,t){for(let n=function Fb(e){return Zf(e),Qf(e,Uo(e,0,Xn.textEnd))}(t);n>=0;n=Qf(t,n))tp(e,Kf(t),xb(t))}function Xf(e){cr(ki,wr,e,!0)}function wr(e,t){for(let n=function Rb(e){return Zf(e),Gf(e,Uo(e,0,Xn.textEnd))}(t);n>=0;n=Gf(t,n))ki(e,Kf(t),!0)}function lr(e,t,n,r){const o=bt(),a=cn(),f=l(2);a.firstUpdatePass&&ep(a,e,f,r),t!==nn&&fi(o,f,t)&&np(a,a.data[_n()],o,o[11],e,o[f+1]=function zb(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=T(Br(e)))),e}(t,n),r,f)}function cr(e,t,n,r){const o=cn(),a=l(2);o.firstUpdatePass&&ep(o,null,a,r);const f=bt();if(n!==nn&&fi(f,a,n)){const b=o.data[_n()];if(rp(b,r)&&!qf(o,a)){let w=r?b.classesWithoutHost:b.stylesWithoutHost;null!==w&&(n=S(w,n||"")),cc(o,b,f,n,r)}else!function Wb(e,t,n,r,o,a,f,b){o===nn&&(o=vt);let w=0,V=0,G=0<o.length?o[0]:null,Te=0<a.length?a[0]:null;for(;null!==G||null!==Te;){const We=w<o.length?o[w+1]:void 0,nt=V<a.length?a[V+1]:void 0;let Et,ft=null;G===Te?(w+=2,V+=2,We!==nt&&(ft=Te,Et=nt)):null===Te||null!==G&&G<Te?(w+=2,ft=G):(V+=2,ft=Te,Et=nt),null!==ft&&np(e,t,n,r,ft,Et,f,b),G=w<o.length?o[w]:null,Te=V<a.length?a[V]:null}}(o,b,f,f[11],f[a+1],f[a+1]=function Ub(e,t,n){if(null==n||""===n)return vt;const r=[],o=Br(n);if(Array.isArray(o))for(let a=0;a<o.length;a++)e(r,o[a],!0);else if("object"==typeof o)for(const a in o)o.hasOwnProperty(a)&&e(r,a,o[a]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,a)}}function qf(e,t){return t>=e.expandoStartIndex}function ep(e,t,n,r){const o=e.data;if(null===o[n+1]){const a=o[_n()],f=qf(e,n);rp(a,r)&&null===t&&!f&&(t=!1),t=function jb(e,t,n,r){const o=Ee(e);let a=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=bs(n=Sc(null,e,t,n,r),t.attrs,r),a=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==o)if(n=Sc(o,e,t,n,r),null===a){let w=function Vb(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==jr(r))return e[sr(r)]}(e,t,r);void 0!==w&&Array.isArray(w)&&(w=Sc(null,e,t,w[1],r),w=bs(w,t.attrs,r),function $b(e,t,n,r){e[sr(n?t.classBindings:t.styleBindings)]=r}(e,t,r,w))}else a=function Hb(e,t,n){let r;const o=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<o;a++)r=bs(r,e[a].hostAttrs,n);return bs(r,t.attrs,n)}(e,t,r)}return void 0!==a&&(r?t.residualClasses=a:t.residualStyles=a),n}(o,a,t,r),function Pb(e,t,n,r,o,a){let f=a?t.classBindings:t.styleBindings,b=sr(f),w=jr(f);e[r]=n;let G,V=!1;if(Array.isArray(n)){const Te=n;G=Te[1],(null===G||bo(Te,G)>0)&&(V=!0)}else G=n;if(o)if(0!==w){const We=sr(e[b+1]);e[r+1]=ta(We,b),0!==We&&(e[We+1]=vl(e[We+1],r)),e[b+1]=function Hy(e,t){return 131071&e|t<<17}(e[b+1],r)}else e[r+1]=ta(b,0),0!==b&&(e[b+1]=vl(e[b+1],r)),b=r;else e[r+1]=ta(w,0),0===b?b=r:e[w+1]=vl(e[w+1],r),w=r;V&&(e[r+1]=yl(e[r+1])),zf(e,G,r,!0),zf(e,G,r,!1),function Ab(e,t,n,r,o){const a=o?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&bo(a,t)>=0&&(n[r+1]=bl(n[r+1]))}(t,G,e,r,a),f=ta(b,w),a?t.classBindings=f:t.styleBindings=f}(o,a,t,n,f,r)}}function Sc(e,t,n,r,o){let a=null;const f=n.directiveEnd;let b=n.directiveStylingLast;for(-1===b?b=n.directiveStart:b++;b<f&&(a=t[b],r=bs(r,a.hostAttrs,o),a!==e);)b++;return null!==e&&(n.directiveStylingLast=b),r}function bs(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let a=0;a<t.length;a++){const f=t[a];"number"==typeof f?o=f:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ki(e,f,!!n||t[++a]))}return void 0===e?null:e}function tp(e,t,n){ki(e,t,Br(n))}function np(e,t,n,r,o,a,f,b){if(!(3&t.type))return;const w=e.data,V=w[b+1];ga(function Eh(e){return 1==(1&e)}(V)?ip(w,t,n,o,jr(V),f):void 0)||(ga(a)||function Dh(e){return 2==(2&e)}(V)&&(a=ip(w,null,n,o,b,f)),function Ay(e,t,n,r,o){const a=vn(e);if(t)o?a?e.addClass(n,r):n.classList.add(r):a?e.removeClass(n,r):n.classList.remove(r);else{let f=-1===r.indexOf("-")?void 0:Er.DashCase;if(null==o)a?e.removeStyle(n,r,f):n.style.removeProperty(r);else{const b="string"==typeof o&&o.endsWith("!important");b&&(o=o.slice(0,-10),f|=Er.Important),a?e.setStyle(n,r,o,f):n.style.setProperty(r,o,b?"important":"")}}}(r,f,ut(_n(),n),o,a))}function ip(e,t,n,r,o,a){const f=null===t;let b;for(;o>0;){const w=e[o],V=Array.isArray(w),G=V?w[1]:w,Te=null===G;let We=n[o+1];We===nn&&(We=Te?vt:void 0);let nt=Te?Va(We,r):G===r?We:void 0;if(V&&!ga(nt)&&(nt=Va(w,r)),ga(nt)&&(b=nt,f))return b;const ft=e[o+1];o=f?sr(ft):jr(ft)}if(null!==t){let w=a?t.residualClasses:t.residualStyles;null!=w&&(b=Va(w,r))}return b}function ga(e){return void 0!==e}function rp(e,t){return 0!=(e.flags&(t?16:32))}function op(e,t=""){const n=bt(),r=cn(),o=e+20,a=r.firstCreatePass?So(r,o,1,t,null):r.data[o],f=n[o]=ul(n[11],t);qs(r,n,f,a),Ti(a,!1)}function Ic(e){return _a("",e,""),Ic}function _a(e,t,n){const r=bt(),o=Fo(r,e,t,n);return o!==nn&&Vr(r,_n(),o),_a}function Pc(e,t,n,r,o){const a=bt(),f=ko(a,e,t,n,r,o);return f!==nn&&Vr(a,_n(),f),Pc}function Ac(e,t,n,r,o,a,f){const b=bt(),w=No(b,e,t,n,r,o,a,f);return w!==nn&&Vr(b,_n(),w),Ac}function Oc(e,t,n,r,o,a,f,b,w){const V=bt(),G=Lo(V,e,t,n,r,o,a,f,b,w);return G!==nn&&Vr(V,_n(),G),Oc}function xc(e,t,n,r,o,a,f,b,w,V,G){const Te=bt(),We=Bo(Te,e,t,n,r,o,a,f,b,w,V,G);return We!==nn&&Vr(Te,_n(),We),xc}function Rc(e,t,n,r,o,a,f,b,w,V,G,Te,We){const nt=bt(),ft=jo(nt,e,t,n,r,o,a,f,b,w,V,G,Te,We);return ft!==nn&&Vr(nt,_n(),ft),Rc}function Fc(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft){const Et=bt(),Pt=Vo(Et,e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft);return Pt!==nn&&Vr(Et,_n(),Pt),Fc}function kc(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et,Pt){const $t=bt(),yt=$o($t,e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et,Pt);return yt!==nn&&Vr($t,_n(),yt),kc}function Nc(e){const t=bt(),n=Ro(t,e);return n!==nn&&Vr(t,_n(),n),Nc}function sp(e,t,n){cr(ki,wr,Fo(bt(),e,t,n),!0)}function ap(e,t,n,r,o){cr(ki,wr,ko(bt(),e,t,n,r,o),!0)}function lp(e,t,n,r,o,a,f){cr(ki,wr,No(bt(),e,t,n,r,o,a,f),!0)}function cp(e,t,n,r,o,a,f,b,w){cr(ki,wr,Lo(bt(),e,t,n,r,o,a,f,b,w),!0)}function up(e,t,n,r,o,a,f,b,w,V,G){cr(ki,wr,Bo(bt(),e,t,n,r,o,a,f,b,w,V,G),!0)}function dp(e,t,n,r,o,a,f,b,w,V,G,Te,We){cr(ki,wr,jo(bt(),e,t,n,r,o,a,f,b,w,V,G,Te,We),!0)}function hp(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft){cr(ki,wr,Vo(bt(),e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft),!0)}function fp(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et,Pt){cr(ki,wr,$o(bt(),e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et,Pt),!0)}function pp(e){cr(ki,wr,Ro(bt(),e),!0)}function mp(e,t,n){ar(Fo(bt(),e,t,n))}function gp(e,t,n,r,o){ar(ko(bt(),e,t,n,r,o))}function _p(e,t,n,r,o,a,f){ar(No(bt(),e,t,n,r,o,a,f))}function yp(e,t,n,r,o,a,f,b,w){ar(Lo(bt(),e,t,n,r,o,a,f,b,w))}function vp(e,t,n,r,o,a,f,b,w,V,G){ar(Bo(bt(),e,t,n,r,o,a,f,b,w,V,G))}function bp(e,t,n,r,o,a,f,b,w,V,G,Te,We){ar(jo(bt(),e,t,n,r,o,a,f,b,w,V,G,Te,We))}function Cp(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft){ar(Vo(bt(),e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft))}function Dp(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et,Pt){ar($o(bt(),e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et,Pt))}function Ep(e){ar(Ro(bt(),e))}function Lc(e,t,n,r,o){return lr(e,Fo(bt(),t,n,r),o,!1),Lc}function Bc(e,t,n,r,o,a,f){return lr(e,ko(bt(),t,n,r,o,a),f,!1),Bc}function jc(e,t,n,r,o,a,f,b,w){return lr(e,No(bt(),t,n,r,o,a,f,b),w,!1),jc}function Vc(e,t,n,r,o,a,f,b,w,V,G){return lr(e,Lo(bt(),t,n,r,o,a,f,b,w,V),G,!1),Vc}function $c(e,t,n,r,o,a,f,b,w,V,G,Te,We){return lr(e,Bo(bt(),t,n,r,o,a,f,b,w,V,G,Te),We,!1),$c}function Hc(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft){return lr(e,jo(bt(),t,n,r,o,a,f,b,w,V,G,Te,We,nt),ft,!1),Hc}function Uc(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et,Pt){return lr(e,Vo(bt(),t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et),Pt,!1),Uc}function Wc(e,t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et,Pt,$t,yt){return lr(e,$o(bt(),t,n,r,o,a,f,b,w,V,G,Te,We,nt,ft,Et,Pt,$t),yt,!1),Wc}function zc(e,t,n){return lr(e,Ro(bt(),t),n,!1),zc}function Kc(e,t,n){const r=bt();return fi(r,_(),t)&&Ni(cn(),yn(),r,e,t,r[11],n,!0),Kc}function Gc(e,t,n){const r=bt();if(fi(r,_(),t)){const a=cn(),f=yn();Ni(a,f,r,e,t,Zh(Ee(a.data),f,r),n,!0)}return Gc}const lo=void 0;var Gb=["en",[["a","p"],["AM","PM"],lo],[["AM","PM"],lo,lo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],lo,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],lo,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",lo,"{1} 'at' {0}",lo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Kb(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Wo={};function Qb(e,t,n){"string"!=typeof t&&(n=t,t=e[Zt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Wo[t]=e,n&&(Wo[t][Zt.ExtraData]=n)}function Qc(e){const t=function Jb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Mp(t);if(n)return n;const r=t.split("-")[0];if(n=Mp(r),n)return n;if("en"===r)return Gb;throw new Error(`Missing locale data for the locale "${e}".`)}function Zb(e){return Qc(e)[Zt.CurrencyCode]||null}function Tp(e){return Qc(e)[Zt.PluralCase]}function Mp(e){return e in Wo||(Wo[e]=St.ng&&St.ng.common&&St.ng.common.locales&&St.ng.common.locales[e]),Wo[e]}function Yb(){Wo={}}var Zt=(()=>((Zt=Zt||{})[Zt.LocaleId=0]="LocaleId",Zt[Zt.DayPeriodsFormat=1]="DayPeriodsFormat",Zt[Zt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Zt[Zt.DaysFormat=3]="DaysFormat",Zt[Zt.DaysStandalone=4]="DaysStandalone",Zt[Zt.MonthsFormat=5]="MonthsFormat",Zt[Zt.MonthsStandalone=6]="MonthsStandalone",Zt[Zt.Eras=7]="Eras",Zt[Zt.FirstDayOfWeek=8]="FirstDayOfWeek",Zt[Zt.WeekendRange=9]="WeekendRange",Zt[Zt.DateFormat=10]="DateFormat",Zt[Zt.TimeFormat=11]="TimeFormat",Zt[Zt.DateTimeFormat=12]="DateTimeFormat",Zt[Zt.NumberSymbols=13]="NumberSymbols",Zt[Zt.NumberFormats=14]="NumberFormats",Zt[Zt.CurrencyCode=15]="CurrencyCode",Zt[Zt.CurrencySymbol=16]="CurrencySymbol",Zt[Zt.CurrencyName=17]="CurrencyName",Zt[Zt.Currencies=18]="Currencies",Zt[Zt.Directionality=19]="Directionality",Zt[Zt.PluralCase=20]="PluralCase",Zt[Zt.ExtraData=21]="ExtraData",Zt))();const Xb=["zero","one","two","few","many"],Cs="en-US",ya={marker:"element"},va={marker:"ICU"};var Hn=(()=>((Hn=Hn||{})[Hn.SHIFT=2]="SHIFT",Hn[Hn.APPEND_EAGERLY=1]="APPEND_EAGERLY",Hn[Hn.COMMENT=2]="COMMENT",Hn))();let wp=Cs;function Sp(e){(function ge(e,t){null==e&&He(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(wp=e.toLowerCase().replace(/_/g,"-"))}function Ip(e,t,n){const r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return null===o?ah(e,0,n):R(n[o])}function Pp(e,t,n,r,o){const a=t.insertBeforeIndex;if(Array.isArray(a)){let f=r,b=null;if(3&t.type||(b=f,f=o),null!==f&&0==(2&t.flags))for(let w=1;w<a.length;w++)so(e,f,n[a[w]],b,!1)}}function Ap(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];Op(r)||nC(r,t)&&null===iC(r)&&rC(r,t.index)}}function Op(e){return!(64&e.type)}function nC(e,t){return Op(t)||e.index>t.index}function iC(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function rC(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(ch(Ip,Pp),e.insertBeforeIndex=t)}function Ds(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function aC(e,t,n){const r=Pl(e,n,64,null,null);return Ap(t,r),r}function ba(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function xp(e){return e>>>17}function Rp(e){return(131070&e)>>>1}let Es=0,Ts=0;function kp(e,t,n,r){const o=n[11];let f,a=null;for(let b=0;b<t.length;b++){const w=t[b];if("string"==typeof w){const V=t[++b];null===n[V]&&(n[V]=ul(o,w))}else if("number"==typeof w)switch(1&w){case 0:const V=xp(w);let G,Te;if(null===a&&(a=V,f=Xs(o,r)),V===a?(G=r,Te=f):(G=null,Te=R(n[V])),null!==Te){const Et=Rp(w);so(o,Te,n[Et],G,!1);const $t=Ds(e,Et);if(null!==$t&&"object"==typeof $t){const yt=ba($t,n);null!==yt&&kp(e,$t.create[yt],n,n[$t.anchorIdx])}}break;case 1:const nt=t[++b],ft=t[++b];Rl(o,ut(w>>>1,n),null,null,nt,ft,null)}else switch(w){case va:const V=t[++b],G=t[++b];null===n[G]&&hi(n[G]=_y(o,V),n);break;case ya:const Te=t[++b],We=t[++b];null===n[We]&&hi(n[We]=dl(o,Te,null),n)}}}function Np(e,t,n,r,o){for(let a=0;a<n.length;a++){const f=n[a],b=n[++a];if(f&o){let w="";for(let V=a+1;V<=a+b;V++){const G=n[V];if("string"==typeof G)w+=G;else if("number"==typeof G)if(G<0)w+=K(t[r-G]);else{const Te=G>>>2;switch(3&G){case 1:const We=n[++V],nt=n[++V],ft=e.data[Te];"string"==typeof ft?Rl(t[11],t[Te],null,ft,We,w,nt):Ni(e,ft,t,We,w,t[11],nt,!1);break;case 0:const Et=t[Te];null!==Et&&qd(t[11],Et,w);break;case 2:hC(e,Ds(e,Te),t,w);break;case 3:Lp(e,Ds(e,Te),r,t)}}}}else{const w=n[a+1];if(w>0&&3==(3&w)){const G=Ds(e,w>>>2);t[G.currentCaseLViewIndex]<0&&Lp(e,G,r,t)}}a+=b}}function Lp(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(null!==o){let a=Es;o<0&&(o=r[t.currentCaseLViewIndex]=~o,a=-1),Np(e,r,t.update[o],n,a)}}function hC(e,t,n,r){const o=function fC(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function qb(e,t){const n=Tp(t)(parseInt(e,10)),r=Xb[n];return void 0!==r?r:"other"}(t,function tC(){return wp}());n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(ba(t,n)!==o&&(Bp(e,t,n),n[t.currentCaseLViewIndex]=null===o?null:~o,null!==o)){const f=n[t.anchorIdx];f&&kp(e,t.create[o],n,f)}}function Bp(e,t,n){let r=ba(t,n);if(null!==r){const o=t.remove[r];for(let a=0;a<o.length;a++){const f=o[a];if(f>0){const b=ut(f,n);null!==b&&dh(n[11],b)}else Bp(e,Ds(e,~f),n)}}}function pC(){const e=[];let n,r,t=-1;function a(b,w){t=0;const V=ba(b,w);r=null!==V?b.remove[V]:vt}function f(){if(t<r.length){const b=r[t++];return b>0?n[b]:(e.push(t,r),a(n[1].data[~b],n),f())}return 0===e.length?null:(r=e.pop(),t=e.pop(),f())}return function o(b,w){for(n=w;e.length;)e.pop();return a(b.value,w),f}}const Ca=/\ufffd(\d+):?\d*\ufffd/gi,mC=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,gC=/\ufffd(\d+)\ufffd/,Vp=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,_C=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,yC=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,vC=/\uE500/g;function $p(e,t,n,r,o,a,f){const b=Io(e,r,1,null);let w=b<<Hn.SHIFT,V=kr();t===V&&(V=null),null===V&&(w|=Hn.APPEND_EAGERLY),f&&(w|=Hn.COMMENT,function gy(e){void 0===sl&&(sl=e())}(pC)),o.push(w,null===a?"":a);const G=Pl(e,b,f?32:1,null===a?"":a,null);Ap(n,G);const Te=G.index;return Ti(G,!1),null!==V&&t!==V&&function sC(e,t){let n=e.insertBeforeIndex;null===n?(ch(Ip,Pp),n=e.insertBeforeIndex=[null,t]):(function Ve(e,t,n){e!=t&&He(n,e,t,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(V,Te),G}function DC(e,t,n,r,o,a,f){const b=f.match(Ca),w=$p(e,t,n,a,r,b?null:f,!1);b&&zo(o,f,w.index,null,0,null)}function zo(e,t,n,r,o,a){const f=e.length,b=f+1;e.push(null,null);const w=f+2,V=t.split(Ca);let G=0;for(let Te=0;Te<V.length;Te++){const We=V[Te];if(1&Te){const nt=o+parseInt(We,10);e.push(-1-nt),G|=Hp(nt)}else""!==We&&e.push(We)}return e.push(n<<2|(r?1:0)),r&&e.push(r,a),e[f]=G,e[b]=e.length-w,G}function TC(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];"number"==typeof r&&r<0&&t++}return t}function Hp(e){return 1<<Math.min(e,31)}function Up(e){let t,a,n="",r=0,o=!1;for(;null!==(t=_C.exec(e));)o?t[0]===`\ufffd/*${a}\ufffd`&&(r=t.index,o=!1):(n+=e.substring(r,t.index+t[0].length),a=t[1],o=!0);return n+=e.substr(r),n}function Wp(e,t,n,r,o,a){let f=0;const b={type:o.type,currentCaseLViewIndex:Io(e,t,1,null),anchorIdx:a,cases:[],create:[],remove:[],update:[]};(function AC(e,t,n){e.push(Hp(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(n,o,a),function oC(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(e,a,b);const w=o.values;for(let V=0;V<w.length;V++){const G=w[V],Te=[];for(let We=0;We<G.length;We++){const nt=G[We];if("string"!=typeof nt){const ft=Te.push(nt)-1;G[We]=`\x3c!--\ufffd${ft}\ufffd--\x3e`}}f=IC(e,b,t,n,r,o.cases[V],G.join(""),Te)|f}f&&function OC(e,t,n){e.push(t,1,n<<2|3)}(n,f,a)}function SC(e){const t=[],n=[];let r=1,o=0;const a=Zc(e=e.replace(Vp,function(f,b,w){return r="select"===w?0:1,o=parseInt(b.substr(1),10),""}));for(let f=0;f<a.length;){let b=a[f++].trim();1===r&&(b=b.replace(/\s*(?:=)?(\w+)\s*/,"$1")),b.length&&t.push(b);const w=Zc(a[f++]);t.length>n.length&&n.push(w)}return{type:r,mainBinding:o,cases:t,values:n}}function Zc(e){if(!e)return[];let t=0;const n=[],r=[],o=/[{}]/g;let a;for(o.lastIndex=0;a=o.exec(e);){const b=a.index;if("}"==a[0]){if(n.pop(),0==n.length){const w=e.substring(t,b);Vp.test(w)?r.push(SC(w)):r.push(w),t=b+1}}else{if(0==n.length){const w=e.substring(t,b);r.push(w),t=b+1}n.push("{")}}const f=e.substring(t);return r.push(f),r}function IC(e,t,n,r,o,a,f,b){const w=[],V=[],G=[];t.cases.push(a),t.create.push(w),t.remove.push(V),t.update.push(G);const We=Ed(Ri()).getInertBodyElement(f),nt=qa(We)||We;return nt?zp(e,t,n,r,w,V,G,nt,o,b,0):0}function zp(e,t,n,r,o,a,f,b,w,V,G){let Te=0,We=b.firstChild;for(;We;){const nt=Io(e,n,1,null);switch(We.nodeType){case Node.ELEMENT_NODE:const ft=We,Et=ft.tagName.toLowerCase();if(Ya.hasOwnProperty(Et)){Yc(o,ya,Et,w,nt),e.data[nt]=Et;const Qt=ft.attributes;for(let fn=0;fn<Qt.length;fn++){const En=Qt.item(fn),Li=En.name.toLowerCase();En.value.match(Ca)?Id.hasOwnProperty(Li)&&zo(f,En.value,nt,En.name,0,Ja[Li]?as:Xa[Li]?Td:null):xC(o,nt,En)}Te=zp(e,t,n,r,o,a,f,We,nt,V,G+1)|Te,Kp(a,nt,G)}break;case Node.TEXT_NODE:const Pt=We.textContent||"",$t=Pt.match(Ca);Yc(o,null,$t?"":Pt,w,nt),Kp(a,nt,G),$t&&(Te=zo(f,Pt,nt,null,0,null)|Te);break;case Node.COMMENT_NODE:const yt=gC.exec(We.textContent||"");if(yt){const fn=V[parseInt(yt[1],10)];Yc(o,va,"",w,nt),Wp(e,n,r,w,fn,nt),PC(a,nt,G)}}We=We.nextSibling}return Te}function Kp(e,t,n){0===n&&e.push(t)}function PC(e,t,n){0===n&&(e.push(~t),e.push(t))}function Yc(e,t,n,r,o){null!==t&&e.push(t),e.push(n,o,function lC(e,t,n){return e|t<<17|n<<1}(0,r,o))}function xC(e,t,n){e.push(t<<1|1,n.name,n.value)}const RC=/\[(\ufffd.+?\ufffd?)\]/,FC=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,kC=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,NC=/{([A-Z0-9_]+)}/g,LC=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,BC=/\/\*/,jC=/\d+\:(\d+)/;function Jc(e,t,n=-1){const r=cn(),o=bt(),a=20+e,f=O(r.consts,t),b=kr();r.firstCreatePass&&function CC(e,t,n,r,o,a){const f=kr(),b=[],w=[],V=[[]];o=function wC(e,t){if(function MC(e){return-1===e}(t))return Up(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,r=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return Up(e.substring(n,r))}}(o,a);const G=function bC(e){return e.replace(vC," ")}(o).split(yC);for(let Te=0;Te<G.length;Te++){let We=G[Te];if(0==(1&Te)){const nt=Zc(We);for(let ft=0;ft<nt.length;ft++){let Et=nt[ft];if(0==(1&ft)){const Pt=Et;""!==Pt&&DC(e,f,V[0],b,w,n,Pt)}else{const Pt=Et;if("object"!=typeof Pt)throw new Error(`Unable to parse ICU expression in "${o}" message.`);Wp(e,n,w,t,Pt,$p(e,f,V[0],n,b,"",!0).index)}}}else{const nt=47===We.charCodeAt(0),Et=(We.charCodeAt(nt?1:0),20+Number.parseInt(We.substring(nt?2:1)));if(nt)V.shift(),Ti(kr(),!1);else{const Pt=aC(e,V[0],Et);V.unshift([]),Ti(Pt,!0)}}}e.data[r]={create:b,update:w}}(r,null===b?0:b.index,o,a,f,n);const w=r.data[a],G=ih(r,b===o[6]?null:b,o);(function dC(e,t,n,r){const o=e[11];for(let a=0;a<t.length;a++){const f=t[a++],b=t[a],w=(f&Hn.COMMENT)===Hn.COMMENT,V=(f&Hn.APPEND_EAGERLY)===Hn.APPEND_EAGERLY,G=f>>>Hn.SHIFT;let Te=e[G];null===Te&&(Te=e[G]=w?o.createComment(b):ul(o,b)),V&&null!==n&&so(o,n,Te,r,!1)}})(o,w.create,G,b&&8&b.type?o[b.index]:null),m(!0)}function Xc(){m(!1)}function Qp(e,t,n){Jc(e,t,n),Xc()}function Zp(e,t){const n=cn();!function EC(e,t,n){const o=kn().index,a=[];if(e.firstCreatePass&&null===e.data[t]){for(let f=0;f<n.length;f+=2){const b=n[f],w=n[f+1];if(""!==w){if(mC.test(w))throw new Error(`ICU expressions are not supported in attributes. Message: "${w}".`);zo(a,w,o,b,TC(a),null)}}e.data[t]=a}}(n,e+20,O(n.consts,t))}function qc(e){return function cC(e){e&&(Es|=1<<Math.min(Ts,31)),Ts++}(fi(bt(),_(),e)),qc}function Yp(e){!function uC(e,t,n){if(Ts>0){const r=e.data[n];Np(e,t,Array.isArray(r)?r:r.update,se()-Ts-1,Es)}Es=0,Ts=0}(cn(),bt(),e+20)}function Jp(e,t={}){return function VC(e,t={}){let n=e;if(RC.test(e)){const r={},o=[0];n=n.replace(FC,(a,f,b)=>{const w=f||b,V=r[w]||[];if(V.length||(w.split("|").forEach(Et=>{const Pt=Et.match(jC),$t=Pt?parseInt(Pt[1],10):0,yt=BC.test(Et);V.push([$t,yt,Et])}),r[w]=V),!V.length)throw new Error(`i18n postprocess: unmatched placeholder - ${w}`);const G=o[o.length-1];let Te=0;for(let Et=0;Et<V.length;Et++)if(V[Et][0]===G){Te=Et;break}const[We,nt,ft]=V[Te];return nt?o.pop():G!==We&&o.push(We),V.splice(Te,1),ft})}return Object.keys(t).length&&(n=n.replace(kC,(r,o,a,f,b,w)=>t.hasOwnProperty(a)?`${o}${t[a]}${w}`:r),n=n.replace(NC,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(LC,(r,o)=>{if(t.hasOwnProperty(o)){const a=t[o];if(!a.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${o}`);return a.shift()}return r})),n}(e,t)}function eu(e,t,n,r,o){if(e=M(e),Array.isArray(e))for(let a=0;a<e.length;a++)eu(e[a],t,n,r,o);else{const a=cn(),f=bt();let b=Oo(e)?e:M(e.provide),w=rf(e);const V=kn(),G=1048575&V.providerIndexes,Te=V.directiveStart,We=V.providerIndexes>>20;if(Oo(e)||!e.multi){const nt=new Ln(w,o,vs),ft=nu(b,t,o?G:G+We,Te);-1===ft?(js(Xo(V,f),a,b),tu(a,e,t.length),t.push(b),V.directiveStart++,V.directiveEnd++,o&&(V.providerIndexes+=1048576),n.push(nt),f.push(nt)):(n[ft]=nt,f[ft]=nt)}else{const nt=nu(b,t,G+We,Te),ft=nu(b,t,G,G+We),Et=nt>=0&&n[nt],Pt=ft>=0&&n[ft];if(o&&!Pt||!o&&!Et){js(Xo(V,f),a,b);const $t=function WC(e,t,n,r,o){const a=new Ln(e,n,vs);return a.multi=[],a.index=t,a.componentProviders=0,Xp(a,o,r&&!n),a}(o?UC:HC,n.length,o,r,w);!o&&Pt&&(n[ft].providerFactory=$t),tu(a,e,t.length,0),t.push(b),V.directiveStart++,V.directiveEnd++,o&&(V.providerIndexes+=1048576),n.push($t),f.push($t)}else tu(a,e,nt>-1?nt:ft,Xp(n[o?ft:nt],w,!o&&r));!o&&r&&Pt&&n[ft].componentProviders++}}}function tu(e,t,n,r){const o=Oo(t),a=function Rv(e){return!!e.useClass}(t);if(o||a){const w=(a?M(t.useClass):t).prototype.ngOnDestroy;if(w){const V=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const G=V.indexOf(n);-1===G?V.push(n,[r,w]):V[G+1].push(r,w)}else V.push(n,w)}}}function Xp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function nu(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function HC(e,t,n,r){return iu(this.multi,[])}function UC(e,t,n,r){const o=this.multi;let a;if(this.providerFactory){const f=this.providerFactory.componentProviders,b=qo(n,n[1],this.providerFactory.index,r);a=b.slice(0,f),iu(o,a);for(let w=f;w<b.length;w++)a.push(b[w])}else a=[],iu(o,a);return a}function iu(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function qp(e,t=[]){return n=>{n.providersResolver=(r,o)=>function $C(e,t,n){const r=cn();if(r.firstCreatePass){const o=Gn(e);eu(n,r.data,r.blueprint,o,!0),eu(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class em{}class Da{}class KC{resolveComponentFactory(t){throw function zC(e){const t=Error(`No component factory found for ${T(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ea=(()=>{class e{}return e.NULL=new KC,e})();function GC(){return Ko(kn(),bt())}function Ko(e,t){return new ws(pt(e,t))}let ws=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=GC,e})();function QC(e){return e instanceof ws?e.nativeElement:e}class nm{}let ZC=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function JC(){const e=bt(),n=tn(kn().index,e);return function YC(e){return e[11]}(wn(n)?n:e)}(),e})(),im=(()=>{class e{}return e.\u0275prov=qe({token:e,providedIn:"root",factory:()=>null}),e})();class rm{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const om=new rm("13.2.5"),Ta={};function Ma(e,t,n,r,o=!1){for(;null!==n;){const a=t[n.index];if(null!==a&&r.push(R(a)),Fn(a))for(let b=10;b<a.length;b++){const w=a[b],V=w[1].firstChild;null!==V&&Ma(w[1],w,V,r)}const f=n.type;if(8&f)Ma(e,t,n.child,r);else if(32&f){const b=al(n,t);let w;for(;w=b();)r.push(w)}else if(16&f){const b=uh(t,n);if(Array.isArray(b))r.push(...b);else{const w=ds(t[16]);Ma(w[1],w,b,r,!0)}}n=o?n.projectionNext:n.next}return r}class Go{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Ma(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Fn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(hl(t,r),Hs(n,r))}this._attachedToViewContainer=!1}th(this._lView[1],this._lView)}onDestroy(t){Lh(this._lView[1],this._lView,null,t)}markForCheck(){kl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ll(this._lView[1],this._lView,this.context)}checkNoChanges(){!function Tv(e,t,n){Lr(!0);try{Ll(e,t,n)}finally{Lr(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new $(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function by(e,t){hs(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new $(902,"");this._appRef=t}}class XC extends Go{constructor(t){super(t),this._view=t}detectChanges(){Kh(this._view)}checkNoChanges(){!function Mv(e){Lr(!0);try{Kh(e)}finally{Lr(!1)}}(this._view)}get context(){return null}}class sm extends Ea{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=je(t);return new wa(n,this.ngModule)}}function am(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class wa extends Da{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Vy(e){return e.map(jy).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return am(this.componentDef.inputs)}get outputs(){return am(this.componentDef.outputs)}create(t,n,r,o){const a=(o=o||this.ngModule)?function e0(e,t){return{get:(n,r,o)=>{const a=e.get(n,Ta,o);return a!==Ta||r===Ta?a:t.get(n,r,o)}}}(t,o.injector):t,f=a.get(nm,F),b=a.get(im,null),w=f.createRenderer(null,this.componentDef),V=this.componentDef.selectors[0][0]||"div",G=r?Nh(w,r,this.componentDef.encapsulation):dl(f.createRenderer(null,this.componentDef),V,function qC(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?$n:null}(V)),Te=this.componentDef.onPush?576:528,We=_f(),nt=ra(0,null,null,1,0,null,null,null,null,null),ft=fs(null,nt,We,Te,null,null,f,w,b,a);let Et,Pt;Tt(ft);try{const $t=mf(G,this.componentDef,ft,f,w);if(G)if(r)Fi(w,G,["ng-version",om.full]);else{const{attrs:yt,classes:Qt}=function $y(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let a=e[r];if("string"==typeof a)2===o?""!==a&&t.push(a,e[++r]):8===o&&n.push(a);else{if(!or(o))break;o=a}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);yt&&Fi(w,G,yt),Qt&&Qt.length>0&&_l(w,G,Qt.join(" "))}if(Pt=pn(nt,20),void 0!==n){const yt=Pt.projection=[];for(let Qt=0;Qt<this.ngContentSelectors.length;Qt++){const fn=n[Qt];yt.push(null!=fn?Array.from(fn):null)}}Et=gf($t,this.componentDef,ft,We,[yf]),ps(nt,ft,null)}finally{Nn()}return new lm(this.componentType,Et,Ko(Pt,ft),ft,Pt)}}class lm extends em{constructor(t,n,r,o,a){super(),this.location=r,this._rootLView=o,this._tNode=a,this.instance=n,this.hostView=this.changeDetectorRef=new XC(o),this.componentType=t}get injector(){return new po(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function cm(e,t,n,r){return De(()=>{const o=e;null!==t&&(o.hasOwnProperty("decorators")&&void 0!==o.decorators?o.decorators.push(...t):o.decorators=t),null!==n&&(o.ctorParameters=n),null!==r&&(o.propDecorators=o.hasOwnProperty("propDecorators")&&void 0!==o.propDecorators?Object.assign(Object.assign({},o.propDecorators),r):r)})}class Qo{}class um{}const Zo=new Map;function hm(e){const t=new Set;!function n(r){const o=At(r,!0),a=o.id;if(null!==a){(function dm(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${T(t)} vs ${T(t.name)}`)})(a,Zo.get(a),r),Zo.set(a,r)}const f=Dr(o.imports);for(const b of f)t.has(b)||(t.add(b),n(b))}(e)}function fm(e){return Zo.get(e)||it[e]}function n0(e,t){return new ru(e,null!=t?t:null)}class ru extends Qo{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new sm(this);const r=At(t);this._bootstrapComponents=Dr(r.bootstrap),this._r3Injector=nf(t,n,[{provide:Qo,useValue:this},{provide:Ea,useValue:this.componentFactoryResolver}],T(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Qi.THROW_IF_NOT_FOUND,r=B.Default){return t===Qi||t===Qo||t===aa?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Sa extends um{constructor(t){super(),this.moduleType=t,null!==At(t)&&hm(t)}create(t){return new ru(this.moduleType,t)}}function pm(e,t,n){const r=Qn()+e,o=bt();return o[r]===nn?Mr(o,r,n?t.call(n):t()):_s(o,r)}function mm(e,t,n,r){return Tm(bt(),Qn(),e,t,n,r)}function gm(e,t,n,r,o){return Mm(bt(),Qn(),e,t,n,r,o)}function _m(e,t,n,r,o,a){return wm(bt(),Qn(),e,t,n,r,o,a)}function ym(e,t,n,r,o,a,f){return Sm(bt(),Qn(),e,t,n,r,o,a,f)}function vm(e,t,n,r,o,a,f,b){const w=Qn()+e,V=bt(),G=Yi(V,w,n,r,o,a);return fi(V,w+4,f)||G?Mr(V,w+5,b?t.call(b,n,r,o,a,f):t(n,r,o,a,f)):_s(V,w+5)}function bm(e,t,n,r,o,a,f,b,w){const V=Qn()+e,G=bt(),Te=Yi(G,V,n,r,o,a);return ao(G,V+4,f,b)||Te?Mr(G,V+6,w?t.call(w,n,r,o,a,f,b):t(n,r,o,a,f,b)):_s(G,V+6)}function Cm(e,t,n,r,o,a,f,b,w,V){const G=Qn()+e,Te=bt();let We=Yi(Te,G,n,r,o,a);return ca(Te,G+4,f,b,w)||We?Mr(Te,G+7,V?t.call(V,n,r,o,a,f,b,w):t(n,r,o,a,f,b,w)):_s(Te,G+7)}function Dm(e,t,n,r,o,a,f,b,w,V,G){const Te=Qn()+e,We=bt(),nt=Yi(We,Te,n,r,o,a);return Yi(We,Te+4,f,b,w,V)||nt?Mr(We,Te+8,G?t.call(G,n,r,o,a,f,b,w,V):t(n,r,o,a,f,b,w,V)):_s(We,Te+8)}function Em(e,t,n,r){return Im(bt(),Qn(),e,t,n,r)}function Ss(e,t){const n=e[t];return n===nn?void 0:n}function Tm(e,t,n,r,o,a){const f=t+n;return fi(e,f,o)?Mr(e,f+1,a?r.call(a,o):r(o)):Ss(e,f+1)}function Mm(e,t,n,r,o,a,f){const b=t+n;return ao(e,b,o,a)?Mr(e,b+2,f?r.call(f,o,a):r(o,a)):Ss(e,b+2)}function wm(e,t,n,r,o,a,f,b){const w=t+n;return ca(e,w,o,a,f)?Mr(e,w+3,b?r.call(b,o,a,f):r(o,a,f)):Ss(e,w+3)}function Sm(e,t,n,r,o,a,f,b,w){const V=t+n;return Yi(e,V,o,a,f,b)?Mr(e,V+4,w?r.call(w,o,a,f,b):r(o,a,f,b)):Ss(e,V+4)}function Im(e,t,n,r,o,a){let f=t+n,b=!1;for(let w=0;w<o.length;w++)fi(e,f++,o[w])&&(b=!0);return b?Mr(e,f,r.apply(a,o)):Ss(e,f)}function Pm(e,t){const n=cn();let r;const o=e+20;n.firstCreatePass?(r=function r0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const a=r.factory||(r.factory=li(r.type)),f=ae(vs);try{const b=Ls(!1),w=a();return Ls(b),Ef(n,bt(),o,w),w}finally{ae(f)}}function Am(e,t,n){const r=e+20,o=bt(),a=dn(o,r);return Is(o,r)?Tm(o,Qn(),t,a.transform,n,a):a.transform(n)}function Om(e,t,n,r){const o=e+20,a=bt(),f=dn(a,o);return Is(a,o)?Mm(a,Qn(),t,f.transform,n,r,f):f.transform(n,r)}function xm(e,t,n,r,o){const a=e+20,f=bt(),b=dn(f,a);return Is(f,a)?wm(f,Qn(),t,b.transform,n,r,o,b):b.transform(n,r,o)}function Rm(e,t,n,r,o,a){const f=e+20,b=bt(),w=dn(b,f);return Is(b,f)?Sm(b,Qn(),t,w.transform,n,r,o,a,w):w.transform(n,r,o,a)}function Fm(e,t,n){const r=e+20,o=bt(),a=dn(o,r);return Is(o,r)?Im(o,Qn(),t,a.transform,n,a):a.transform.apply(a,n)}function Is(e,t){return e[1].data[t].pure}function ou(e){return t=>{setTimeout(e,void 0,t)}}const Sr=class o0 extends i.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var o,a,f;let b=t,w=n||(()=>null),V=r;if(t&&"object"==typeof t){const Te=t;b=null===(o=Te.next)||void 0===o?void 0:o.bind(Te),w=null===(a=Te.error)||void 0===a?void 0:a.bind(Te),V=null===(f=Te.complete)||void 0===f?void 0:f.bind(Te)}this.__isAsync&&(w=ou(w),b&&(b=ou(b)),V&&(V=ou(V)));const G=super.subscribe({next:b,error:w,complete:V});return t instanceof h.w0&&t.add(G),G}};function s0(){return this._results[xo()]()}class Ia{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=xo(),r=Ia.prototype;r[n]||(r[n]=s0)}get changes(){return this._changes||(this._changes=new Sr)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=Gi(t);(this._changesDetected=!function l_(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],a=t[r];if(n&&(o=n(o),a=n(a)),a!==o)return!1}return!0}(r._results,o,n))&&(r._results=o,r.length=o.length,r.last=o[this.length-1],r.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Ps=(()=>{class e{}return e.__NG_ELEMENT_ID__=c0,e})();const a0=Ps,l0=class extends a0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=fs(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(r[19]=a.createEmbeddedView(n)),ps(n,r,t),new Go(r)}};function c0(){return Pa(kn(),bt())}function Pa(e,t){return 4&e.type?new l0(t,e,Ko(e,t)):null}let Aa=(()=>{class e{}return e.__NG_ELEMENT_ID__=u0,e})();function u0(){return Lm(kn(),bt())}const d0=Aa,km=class extends d0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ko(this._hostTNode,this._hostLView)}get injector(){return new po(this._hostTNode,this._hostLView)}get parentInjector(){const t=Bs(this._hostTNode,this._hostLView);if(Zu(t)){const n=fo(t,this._hostLView),r=ho(t);return new po(n[1].data[r+8],n)}return new po(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Nm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const o=t.createEmbeddedView(n||{});return this.insert(o,r),o}createComponent(t,n,r,o,a){const f=t&&!ts(t);let b;if(f)b=n;else{const Te=n||{};b=Te.index,r=Te.injector,o=Te.projectableNodes,a=Te.ngModuleRef}const w=f?t:new wa(je(t)),V=r||this.parentInjector;if(!a&&null==w.ngModule){const We=(f?V:this.parentInjector).get(Qo,null);We&&(a=We)}const G=w.create(V,o,void 0,a);return this.insert(G.hostView,b),G}insert(t,n){const r=t._lView,o=r[1];if(function k(e){return Fn(e[3])}(r)){const G=this.indexOf(t);if(-1!==G)this.detach(G);else{const Te=r[3],We=new km(Te,Te[6],Te[3]);We.detach(We.indexOf(t))}}const a=this._adjustIndex(n),f=this._lContainer;!function Dy(e,t,n,r){const o=10+r,a=n.length;r>0&&(n[o-1][4]=t),r<a-10?(t[4]=n[o],ad(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const f=t[17];null!==f&&n!==f&&function Ey(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(f,t);const b=t[19];null!==b&&b.insertView(e),t[2]|=128}(o,r,f,a);const b=ml(a,f),w=r[11],V=Xs(w,f[7]);return null!==V&&function vy(e,t,n,r,o,a){r[0]=o,r[6]=t,hs(e,r,n,1,o,a)}(o,f[6],w,r,V,b),t.attachToViewContainerRef(),ad(su(f),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Nm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=hl(this._lContainer,n);r&&(Hs(su(this._lContainer),n),th(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=hl(this._lContainer,n);return r&&null!=Hs(su(this._lContainer),n)?new Go(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Nm(e){return e[8]}function su(e){return e[8]||(e[8]=[])}function Lm(e,t){let n;const r=t[e.index];if(Fn(r))n=r;else{let o;if(8&e.type)o=R(r);else{const a=t[11];o=a.createComment("");const f=pt(e,t);so(a,Xs(a,f),o,function Sy(e,t){return vn(e)?e.nextSibling(t):t.nextSibling}(a,f),!1)}t[e.index]=n=zh(r,t,o,e),oa(t,n)}return new km(n,e,t)}class au{constructor(t){this.queryList=t,this.matches=null}clone(){return new au(this.queryList)}setDirty(){this.queryList.setDirty()}}class lu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let a=0;a<r;a++){const f=n.getByIndex(a);o.push(this.queries[f.indexInDeclarationView].clone())}return new lu(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Km(t,n).matches&&this.queries[n].setDirty()}}class Bm{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class cu{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const o=null!==n?n.length:0,a=this.getByIndex(r).embeddedTView(t,o);a&&(a.indexInDeclarationView=r,null!==n?n.push(a):n=[a])}return null!==n?new cu(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class uu{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new uu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const a=r[o];this.matchTNodeWithReadOption(t,n,p0(n,a)),this.matchTNodeWithReadOption(t,n,Vs(n,t,a,!1,!1))}else r===Ps?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Vs(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===ws||o===Aa||o===Ps&&4&n.type)this.addMatch(n.index,-2);else{const a=Vs(n,t,o,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function p0(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function g0(e,t,n,r){return-1===n?function m0(e,t){return 11&e.type?Ko(e,t):4&e.type?Pa(e,t):null}(t,e):-2===n?function _0(e,t,n){return n===ws?Ko(t,e):n===Ps?Pa(t,e):n===Aa?Lm(t,e):void 0}(e,t,r):qo(e,e[1],n,t)}function jm(e,t,n,r){const o=t[19].queries[r];if(null===o.matches){const a=e.data,f=n.matches,b=[];for(let w=0;w<f.length;w+=2){const V=f[w];b.push(V<0?null:g0(t,a[V],f[w+1],n.metadata.read))}o.matches=b}return o.matches}function du(e,t,n,r){const o=e.queries.getByIndex(n),a=o.matches;if(null!==a){const f=jm(e,t,o,n);for(let b=0;b<a.length;b+=2){const w=a[b];if(w>0)r.push(f[b/2]);else{const V=a[b+1],G=t[-w];for(let Te=10;Te<G.length;Te++){const We=G[Te];We[17]===We[3]&&du(We[1],We,V,r)}if(null!==G[9]){const Te=G[9];for(let We=0;We<Te.length;We++){const nt=Te[We];du(nt[1],nt,V,r)}}}}}return r}function Vm(e){const t=bt(),n=cn(),r=Ue();rt(r+1);const o=Km(n,r);if(e.dirty&&an(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const a=o.crossesNgTemplate?du(n,t,r,[]):jm(n,t,o,r);e.reset(a,QC),e.notifyOnChanges()}return!0}return!1}function $m(e,t,n){const r=cn();r.firstCreatePass&&(zm(r,new Bm(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Wm(r,bt(),t)}function Hm(e,t,n,r){const o=cn();if(o.firstCreatePass){const a=kn();zm(o,new Bm(t,n,r),a.index),function v0(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}Wm(o,bt(),n)}function Um(){return function y0(e,t){return e[19].queries[t].queryList}(bt(),Ue())}function Wm(e,t,n){const r=new Ia(4==(4&n));Lh(e,t,r,r.destroy),null===t[19]&&(t[19]=new lu),t[19].queries.push(new au(r))}function zm(e,t,n){null===e.queries&&(e.queries=new cu),e.queries.track(new uu(t,n))}function Km(e,t){return e.queries.getByIndex(t)}function Gm(e,t){return Pa(e,t)}const vi=(()=>({\u0275\u0275attribute:Zl,\u0275\u0275attributeInterpolate1:Yl,\u0275\u0275attributeInterpolate2:Jl,\u0275\u0275attributeInterpolate3:Xl,\u0275\u0275attributeInterpolate4:ql,\u0275\u0275attributeInterpolate5:ec,\u0275\u0275attributeInterpolate6:tc,\u0275\u0275attributeInterpolate7:nc,\u0275\u0275attributeInterpolate8:ic,\u0275\u0275attributeInterpolateV:rc,\u0275\u0275defineComponent:te,\u0275\u0275defineDirective:$e,\u0275\u0275defineInjectable:qe,\u0275\u0275defineInjector:he,\u0275\u0275defineNgModule:Bt,\u0275\u0275definePipe:le,\u0275\u0275directiveInject:vs,\u0275\u0275getInheritedFactory:rd,\u0275\u0275inject:ni,\u0275\u0275injectAttribute:Ba,\u0275\u0275invalidFactory:Nf,\u0275\u0275invalidFactoryDep:za,\u0275\u0275templateRefExtractor:Gm,\u0275\u0275NgOnChangesFeature:Di,\u0275\u0275ProvidersFeature:qp,\u0275\u0275CopyDefinitionFeature:bf,\u0275\u0275InheritDefinitionFeature:Kl,\u0275\u0275nextContext:Hf,\u0275\u0275namespaceHTML:Wi,\u0275\u0275namespaceMathML:Ui,\u0275\u0275namespaceSVG:ti,\u0275\u0275enableBindings:Yr,\u0275\u0275disableBindings:Ur,\u0275\u0275elementStart:da,\u0275\u0275elementEnd:ha,\u0275\u0275element:uc,\u0275\u0275elementContainerStart:fa,\u0275\u0275elementContainerEnd:pa,\u0275\u0275elementContainer:dc,\u0275\u0275pureFunction0:pm,\u0275\u0275pureFunction1:mm,\u0275\u0275pureFunction2:gm,\u0275\u0275pureFunction3:_m,\u0275\u0275pureFunction4:ym,\u0275\u0275pureFunction5:vm,\u0275\u0275pureFunction6:bm,\u0275\u0275pureFunction7:Cm,\u0275\u0275pureFunction8:Dm,\u0275\u0275pureFunctionV:Em,\u0275\u0275getCurrentView:Lf,\u0275\u0275restoreView:Jr,\u0275\u0275listener:fc,\u0275\u0275projection:Wf,\u0275\u0275syntheticHostProperty:Gc,\u0275\u0275syntheticHostListener:pc,\u0275\u0275pipeBind1:Am,\u0275\u0275pipeBind2:Om,\u0275\u0275pipeBind3:xm,\u0275\u0275pipeBind4:Rm,\u0275\u0275pipeBindV:Fm,\u0275\u0275projectionDef:Uf,\u0275\u0275hostProperty:Kc,\u0275\u0275property:lc,\u0275\u0275propertyInterpolate:gc,\u0275\u0275propertyInterpolate1:ma,\u0275\u0275propertyInterpolate2:_c,\u0275\u0275propertyInterpolate3:yc,\u0275\u0275propertyInterpolate4:vc,\u0275\u0275propertyInterpolate5:bc,\u0275\u0275propertyInterpolate6:Cc,\u0275\u0275propertyInterpolate7:Dc,\u0275\u0275propertyInterpolate8:Ec,\u0275\u0275propertyInterpolateV:Tc,\u0275\u0275pipe:Pm,\u0275\u0275queryRefresh:Vm,\u0275\u0275viewQuery:$m,\u0275\u0275loadQuery:Um,\u0275\u0275contentQuery:Hm,\u0275\u0275reference:Tf,\u0275\u0275classMap:Xf,\u0275\u0275classMapInterpolate1:sp,\u0275\u0275classMapInterpolate2:ap,\u0275\u0275classMapInterpolate3:lp,\u0275\u0275classMapInterpolate4:cp,\u0275\u0275classMapInterpolate5:up,\u0275\u0275classMapInterpolate6:dp,\u0275\u0275classMapInterpolate7:hp,\u0275\u0275classMapInterpolate8:fp,\u0275\u0275classMapInterpolateV:pp,\u0275\u0275styleMap:ar,\u0275\u0275styleMapInterpolate1:mp,\u0275\u0275styleMapInterpolate2:gp,\u0275\u0275styleMapInterpolate3:_p,\u0275\u0275styleMapInterpolate4:yp,\u0275\u0275styleMapInterpolate5:vp,\u0275\u0275styleMapInterpolate6:bp,\u0275\u0275styleMapInterpolate7:Cp,\u0275\u0275styleMapInterpolate8:Dp,\u0275\u0275styleMapInterpolateV:Ep,\u0275\u0275styleProp:Mc,\u0275\u0275stylePropInterpolate1:Lc,\u0275\u0275stylePropInterpolate2:Bc,\u0275\u0275stylePropInterpolate3:jc,\u0275\u0275stylePropInterpolate4:Vc,\u0275\u0275stylePropInterpolate5:$c,\u0275\u0275stylePropInterpolate6:Hc,\u0275\u0275stylePropInterpolate7:Uc,\u0275\u0275stylePropInterpolate8:Wc,\u0275\u0275stylePropInterpolateV:zc,\u0275\u0275classProp:wc,\u0275\u0275advance:vh,\u0275\u0275template:Df,\u0275\u0275text:op,\u0275\u0275textInterpolate:Ic,\u0275\u0275textInterpolate1:_a,\u0275\u0275textInterpolate2:Pc,\u0275\u0275textInterpolate3:Ac,\u0275\u0275textInterpolate4:Oc,\u0275\u0275textInterpolate5:xc,\u0275\u0275textInterpolate6:Rc,\u0275\u0275textInterpolate7:Fc,\u0275\u0275textInterpolate8:kc,\u0275\u0275textInterpolateV:Nc,\u0275\u0275i18n:Qp,\u0275\u0275i18nAttributes:Zp,\u0275\u0275i18nExp:qc,\u0275\u0275i18nStart:Jc,\u0275\u0275i18nEnd:Xc,\u0275\u0275i18nApply:Yp,\u0275\u0275i18nPostprocess:Jp,\u0275\u0275resolveWindow:zd,\u0275\u0275resolveDocument:Kd,\u0275\u0275resolveBody:Gd,\u0275\u0275setComponentScope:E,\u0275\u0275setNgModuleScope:jt,\u0275\u0275sanitizeHtml:Od,\u0275\u0275sanitizeStyle:xd,\u0275\u0275sanitizeResourceUrl:tl,\u0275\u0275sanitizeScript:Rd,\u0275\u0275sanitizeUrl:el,\u0275\u0275sanitizeUrlOrResourceUrl:Nd,\u0275\u0275trustConstantHtml:Fd,\u0275\u0275trustConstantResourceUrl:kd,forwardRef:A,resolveForwardRef:M}))();let Yo=null;function D0(){Yo=null}const As=[];let hu=!1;function Qm(){if(!hu){hu=!0;try{for(let e=As.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=As[e];n.declarations&&n.declarations.every(Zm)&&(As.splice(e,1),M0(t,n))}}finally{hu=!1}}}function Zm(e){return Array.isArray(e)?e.every(Zm):!!M(e)}function Ym(e,t={}){Jm(e,t),function E0(e,t){As.push({moduleType:e,ngModule:t})}(e,t)}function Jm(e,t,n=!1){const r=Gi(t.declarations||vt);let o=null;Object.defineProperty(e,re,{configurable:!0,get:()=>(null===o&&(o=Jn().compileNgModule(vi,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Gi(t.bootstrap||vt).map(M),declarations:r.map(M),imports:Gi(t.imports||vt).map(M).map(tg),exports:Gi(t.exports||vt).map(M).map(tg),schemas:t.schemas?Gi(t.schemas):null,id:t.id||null}),o.schemas||(o.schemas=[])),o)});let a=null;Object.defineProperty(e,Z,{get:()=>{if(null===a){const b=Jn();a=b.compileFactory(vi,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Gs(e),target:b.FactoryTarget.NgModule,typeArgumentCount:0})}return a},configurable:!1});let f=null;Object.defineProperty(e,wt,{get:()=>{if(null===f){const b={name:e.name,type:e,providers:t.providers||vt,imports:[(t.imports||vt).map(M),(t.exports||vt).map(M)]};f=Jn().compileInjector(vi,`ng:///${e.name}/\u0275inj.js`,b)}return f},configurable:!1})}let Oa=new WeakMap,pu=new WeakMap;function T0(){Oa=new WeakMap,pu=new WeakMap,As.length=0}function M0(e,t){const n=Gi(t.declarations||vt),r=Os(e);n.forEach(o=>{o.hasOwnProperty(Gt)?mu(je(o),r):!o.hasOwnProperty(Ht)&&!o.hasOwnProperty(un)&&(o.ngSelectorScope=e)})}function mu(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(n=>n.hasOwnProperty(Gt)?je(n):ct(n)).filter(n=>!!n),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(n=>kt(n)),e.schemas=t.schemas,e.tView=null}function Os(e){if(!gu(e))throw new Error(`${e.name} does not have a module def (\u0275mod property)`);const t=At(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Dr(t.imports).forEach(r=>{const o=r;if(!gu(o))throw new Error(`Importing ${o.name} which does not have a \u0275mod property`);const a=Os(o);a.exported.directives.forEach(f=>n.compilation.directives.add(f)),a.exported.pipes.forEach(f=>n.compilation.pipes.add(f))}),Dr(t.declarations).forEach(r=>{kt(r)?n.compilation.pipes.add(r):n.compilation.directives.add(r)}),Dr(t.exports).forEach(r=>{const o=r;if(gu(o)){const a=Os(o);a.exported.directives.forEach(f=>{n.compilation.directives.add(f),n.exported.directives.add(f)}),a.exported.pipes.forEach(f=>{n.compilation.pipes.add(f),n.exported.pipes.add(f)})}else kt(o)?n.exported.pipes.add(o):n.exported.directives.add(o)}),t.transitiveCompileScopes=n,n}function tg(e){return function w0(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function gu(e){return!!At(e)}let _u=0;function ng(e,t){let n=null;(function M_(e,t){_d(t)&&(Do.set(e,t),ss.add(e))})(e,t),rg(e,t),Object.defineProperty(e,Gt,{get:()=>{if(null===n){const r=Jn();if(_d(t)){const V=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&V.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&V.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),V.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(V.join("\n"))}const o=function C0(){return Yo}();let a=t.preserveWhitespaces;void 0===a&&(a=null!==o&&void 0!==o.preserveWhitespaces&&o.preserveWhitespaces);let f=t.encapsulation;void 0===f&&(f=null!==o&&void 0!==o.defaultEncapsulation?o.defaultEncapsulation:et.Emulated);const b=t.templateUrl||`ng:///${e.name}/template.html`,w=Object.assign(Object.assign({},og(e,t)),{typeSourceSpan:r.createParseSourceSpan("Component",e.name,b),template:t.template||"",preserveWhitespaces:a,styles:t.styles||vt,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:f,interpolation:t.interpolation,viewProviders:t.viewProviders||null});_u++;try{w.usesInheritance&&sg(e),n=r.compileComponent(vi,b,w)}finally{_u--}if(0===_u&&Qm(),function S0(e){return void 0!==e.ngSelectorScope}(e)){const V=Os(e.ngSelectorScope);mu(n,V)}}return n},configurable:!1})}function yu(e,t){let n=null;rg(e,t||{}),Object.defineProperty(e,Ht,{get:()=>{if(null===n){const r=ig(e,t||{});n=Jn().compileDirective(vi,r.sourceMapUrl,r.metadata)}return n},configurable:!1})}function ig(e,t){const n=e&&e.name,r=`ng:///${n}/\u0275dir.js`,o=Jn(),a=og(e,t);return a.typeSourceSpan=o.createParseSourceSpan("Directive",n,r),a.usesInheritance&&sg(e),{metadata:a,sourceMapUrl:r}}function rg(e,t){let n=null;Object.defineProperty(e,Z,{get:()=>{if(null===n){const r=ig(e,t),o=Jn();n=o.compileFactory(vi,`ng:///${e.name}/\u0275fac.js`,{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:Gs(e),target:o.FactoryTarget.Directive})}return n},configurable:!1})}function I0(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function og(e,t){const n=Ga(),r=n.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||Jt,propMetadata:r,inputs:t.inputs||vt,outputs:t.outputs||vt,queries:ag(e,r,lg),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!I0(e),exportAs:O0(t.exportAs),providers:t.providers||null,viewQueries:ag(e,r,cg)}}function sg(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)!ct(n)&&!je(n)&&R0(n)&&yu(n,null),n=Object.getPrototypeOf(n)}function P0(e){return"string"==typeof e?dg(e):M(e)}function A0(e,t){return{propertyName:e,predicate:P0(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function ag(e,t,n){const r=[];for(const o in t)if(t.hasOwnProperty(o)){const a=t[o];a.forEach(f=>{if(n(f)){if(!f.selector)throw new Error(`Can't construct a query for the property "${o}" of "${ce(e)}" since the query selector wasn't defined.`);if(a.some(ug))throw new Error("Cannot combine @Input decorators with query decorators");r.push(A0(o,f))}})}return r}function O0(e){return void 0===e?null:dg(e)}function lg(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function cg(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function ug(e){return"Input"===e.ngMetadataName}function dg(e){return e.split(",").map(t=>t.trim())}const x0=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function R0(e){const t=Ga();if(x0.some(r=>t.hasLifecycleHook(e,r)))return!0;const n=t.propMetadata(e);for(const r in n){const o=n[r];for(let a=0;a<o.length;a++){const f=o[a],b=f.ngMetadataName;if(ug(f)||lg(f)||cg(f)||"Output"===b||"HostBinding"===b||"HostListener"===b)return!0}}return!1}function hg(e,t){let n=null,r=null;Object.defineProperty(e,Z,{get:()=>{if(null===r){const o=fg(e,t),a=Jn();r=a.compileFactory(vi,`ng:///${o.name}/\u0275fac.js`,{name:o.name,type:o.type,typeArgumentCount:0,deps:Gs(e),target:a.FactoryTarget.Pipe})}return r},configurable:!1}),Object.defineProperty(e,un,{get:()=>{if(null===n){const o=fg(e,t);n=Jn().compilePipe(vi,`ng:///${o.name}/\u0275pipe.js`,o)}return n},configurable:!1})}function fg(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure}}const pg=yo("Directive",(e={})=>e,void 0,void 0,(e,t)=>yu(e,t)),F0=yo("Component",(e={})=>Object.assign({changeDetection:Ce.Default},e),pg,void 0,(e,t)=>ng(e,t)),k0=yo("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>hg(e,t)),N0=Kr("Input",e=>({bindingPropertyName:e})),L0=Kr("Output",e=>({bindingPropertyName:e})),B0=Kr("HostBinding",e=>({hostPropertyName:e})),j0=Kr("HostListener",(e,t)=>({eventName:e,args:t})),V0=yo("NgModule",e=>e,void 0,void 0,(e,t)=>Ym(e,t));function xa(...e){}const mg=new zn("Application Initializer");let vu=(()=>{class e{constructor(n){this.appInits=n,this.resolve=xa,this.reject=xa,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const a=this.appInits[o]();if(hc(a))n.push(a);else if(jf(a)){const f=new Promise((b,w)=>{a.subscribe({complete:b,error:w})});n.push(f)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(ni(mg,8))},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const gg=new zn("AppId",{providedIn:"root",factory:_g});function _g(){return`${bu()}${bu()}${bu()}`}const $0={provide:gg,useFactory:_g,deps:[]};function bu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const yg=new zn("Platform Initializer"),vg=new zn("Platform ID"),bg=new zn("appBootstrapListener"),H0=new zn("Application Packages Root URL");let Cg=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e})();const Cu=new zn("LocaleId",{providedIn:"root",factory:()=>hd(Cu,B.Optional|B.SkipSelf)||function U0(){return"undefined"!=typeof $localize&&$localize.locale||Cs}()}),W0=new zn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),z0=new zn("Translations"),K0=new zn("TranslationsFormat");var Ir=(()=>((Ir=Ir||{})[Ir.Error=0]="Error",Ir[Ir.Warning=1]="Warning",Ir[Ir.Ignore=2]="Ignore",Ir))();class Dg{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let G0=(()=>{class e{compileModuleSync(n){return new Sa(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),a=Dr(At(n).declarations).reduce((f,b)=>{const w=je(b);return w&&f.push(new wa(w)),f},[]);return new Dg(r,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Eg=new zn("compilerOptions");class Q0{}const Z0=(()=>Promise.resolve(0))();function Du(e){"undefined"==typeof Zone?Z0.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ur{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Sr(!1),this.onMicrotaskEmpty=new Sr(!1),this.onStable=new Sr(!1),this.onError=new Sr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function Y0(){let e=St.requestAnimationFrame,t=St.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function q0(e){const t=()=>{!function X0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(St,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Tu(e),e.isCheckStableRunning=!0,Eu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Tu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,a,f,b)=>{try{return Tg(e),n.invokeTask(o,a,f,b)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),Mg(e)}},onInvoke:(n,r,o,a,f,b,w)=>{try{return Tg(e),n.invoke(o,a,f,b,w)}finally{e.shouldCoalesceRunChangeDetection&&t(),Mg(e)}},onHasTask:(n,r,o,a)=>{n.hasTask(o,a),r===o&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Tu(e),Eu(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,r,o,a)=>(n.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(o)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ur.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ur.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const a=this._inner,f=a.scheduleEventTask("NgZoneEvent: "+o,t,J0,xa,xa);try{return a.runTask(f,n,r)}finally{a.cancelTask(f)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const J0={};function Eu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Tu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Tg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Mg(e){e._nesting--,Eu(e)}class wg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Sr,this.onMicrotaskEmpty=new Sr,this.onStable=new Sr,this.onError=new Sr}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}let Sg=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ur.assertNotInAngularZone(),Du(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Du(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let a=-1;r&&r>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==a),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(ni(ur))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e})(),Mu=(()=>{class e{constructor(){this._applications=new Map,wu.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return wu.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e})();class eD{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function tD(e){wu=e}let dr,wu=new eD;function Ig(e,t,n){const r=new Sa(n);return Promise.resolve(r)}function Pg(e){return e.isBoundToModule}const Su=new zn("AllowMultipleToken");class nD{constructor(t,n){this.name=t,this.token=n}}function Ag(e){if(dr&&!dr.destroyed&&!dr.injector.get(Su,!1))throw new $(400,"");dr=e.get(Pu);const t=e.get(yg,null);return t&&t.forEach(n=>n()),dr}function Og(e,t,n=[]){const r=`Platform: ${t}`,o=new zn(r);return(a=[])=>{let f=Iu();if(!f||f.injector.get(Su,!1))if(e)e(n.concat(a).concat({provide:o,useValue:!0}));else{const b=n.concat(a).concat({provide:o,useValue:!0},{provide:jl,useValue:"platform"});Ag(Qi.create({providers:b,name:r}))}return xg()}}function xg(e){const t=Iu();if(!t)throw new $(401,"");return t}function iD(){dr&&!dr.destroyed&&dr.destroy()}function Iu(){return dr&&!dr.destroyed?dr:null}let Pu=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const b=function rD(e,t){let n;return n="noop"===e?new wg:("zone.js"===e?void 0:e)||new ur({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),w=[{provide:ur,useValue:b}];return b.run(()=>{const V=Qi.create({providers:w,parent:this.injector,name:n.moduleType.name}),G=n.create(V),Te=G.injector.get(Js,null);if(!Te)throw new $(402,"");return b.runOutsideAngular(()=>{const We=b.onError.subscribe({next:nt=>{Te.handleError(nt)}});G.onDestroy(()=>{Ou(this._modules,G),We.unsubscribe()})}),function oD(e,t,n){try{const r=n();return hc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(Te,b,()=>{const We=G.injector.get(vu);return We.runInitializers(),We.donePromise.then(()=>(Sp(G.injector.get(Cu,Cs)||Cs),this._moduleDoBootstrap(G),G))})})}bootstrapModule(n,r=[]){const o=Rg({},r);return Ig(0,0,n).then(a=>this.bootstrapModuleFactory(a,o))}_moduleDoBootstrap(n){const r=n.injector.get(Au);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new $(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new $(404,"");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(ni(Qi))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e})();function Rg(e,t){return Array.isArray(t)?t.reduce(Rg,e):Object.assign(Object.assign({},e),t)}let Au=(()=>{class e{constructor(n,r,o,a,f){this._zone=n,this._injector=r,this._exceptionHandler=o,this._componentFactoryResolver=a,this._initStatus=f,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const b=new g.y(V=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{V.next(this._stable),V.complete()})}),w=new g.y(V=>{let G;this._zone.runOutsideAngular(()=>{G=this._zone.onStable.subscribe(()=>{ur.assertNotInAngularZone(),Du(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,V.next(!0))})})});const Te=this._zone.onUnstable.subscribe(()=>{ur.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{V.next(!1)}))});return()=>{G.unsubscribe(),Te.unsubscribe()}});this.isStable=(0,d.T)(b,w.pipe((0,s.B)()))}bootstrap(n,r){if(!this._initStatus.done)throw new $(405,"");let o;o=n instanceof Da?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(o.componentType);const a=Pg(o)?void 0:this._injector.get(Qo),b=o.create(Qi.NULL,[],r||o.selector,a),w=b.location.nativeElement,V=b.injector.get(Sg,null),G=V&&b.injector.get(Mu);return V&&G&&G.registerApplication(w,V),b.onDestroy(()=>{this.detachView(b.hostView),Ou(this.components,b),G&&G.unregisterApplication(w)}),this._loadComponent(b),b}tick(){if(this._runningTick)throw new $(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ou(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(bg,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(ni(ur),ni(Qi),ni(Js),ni(Ea),ni(vu))},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ou(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let kg=!0,Ng=!1;function aD(){return Ng=!0,kg}function lD(){if(Ng)throw new Error("Cannot enable prod mode after platform setup.");kg=!1}function cD(e){const t=fm(e);if(!t)throw Lg(e);return new Sa(t)}function uD(e){const t=fm(e);if(!t)throw Lg(e);return t}function Lg(e){return new Error(`No module with ID ${e} loaded`)}let Bg=(()=>{class e{}return e.__NG_ELEMENT_ID__=jg,e})();function jg(e){return function dD(e,t,n){if(ri(e)&&!n){const r=tn(e.index,t);return new Go(r,r)}return 47&e.type?new Go(t[16],t):null}(kn(),bt(),16==(16&e))}class Vg extends Bg{}class hD extends Vg{}class fD{constructor(t,n){this.name=t,this.callback=n}}function pD(e){return e.map(t=>t.nativeElement)}class xu{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new xs(t):null}get injector(){return uf(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Ul(t)||lf(t))}get context(){return Ul(this.nativeNode)||af(this.nativeNode)}get listeners(){return hf(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function jv(e){const t=di(e);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function iy(e,t){const n=e[1].data[t];if(n&&n.localNames){const r={};let o=n.index+1;for(let a=0;a<n.localNames.length;a+=2)r[n.localNames[a]]=e[o],o++;return r}return null}(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function Lv(e){const t=di(e);if(null===t)return[];const r=t.lView[1],o=r.data[t.nodeIndex],a=[],b=o.directiveEnd;for(let w=1048575&o.providerIndexes;w<b;w++){let V=r.data[w];$v(V)&&(V=V.type),a.push(V)}return a}(this.nativeNode)}}class xs extends xu{constructor(t){super(t)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const t=di(this.nativeNode);return null!==t?t.lView[1].data[t.nodeIndex].value:this.nativeNode.nodeName}get properties(){const t=di(this.nativeNode);if(null===t)return{};const n=t.lView,r=n[1].data,o=r[t.nodeIndex],a={};return function mD(e,t){if(e){let n=Object.getPrototypeOf(e);const r=Node.prototype;for(;null!==n&&n!==r;){const o=Object.getOwnPropertyDescriptors(n);for(let a in o)if(!a.startsWith("__")&&!a.startsWith("on")){const f=e[a];gD(f)&&(t[a]=f)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,a),function _D(e,t,n,r){let o=t.propertyBindings;if(null!==o)for(let a=0;a<o.length;a++){const f=o[a],w=r[f].split("\ufffd"),V=w[0];if(w.length>1){let G=w[1];for(let Te=1;Te<w.length-1;Te++)G+=K(n[f+Te-1])+w[Te+1];e[V]=G}else e[V]=n[f]}}(a,o,n,r),a}get attributes(){const t={},n=this.nativeElement;if(!n)return t;const r=di(n);if(null===r)return{};const a=r.lView[1].data[r.nodeIndex].attrs,f=[];if(a){let w=0;for(;w<a.length;){const V=a[w];if("string"!=typeof V)break;t[V]=a[w+1],f.push(V.toLowerCase()),w+=2}}const b=n.attributes;for(let w=0;w<b.length;w++){const V=b[w],G=V.name.toLowerCase();-1===f.indexOf(G)&&(t[G]=V.value)}return t}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const t={},r=this.nativeElement.className;return("string"!=typeof r?r.baseVal.split(" "):r.split(" ")).forEach(a=>t[a]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,n=[];for(let r=0;r<t.length;r++)n.push(Jo(t[r]));return n}get children(){const t=this.nativeElement;if(!t)return[];const n=t.children,r=[];for(let o=0;o<n.length;o++)r.push(Jo(n[o]));return r}query(t){return this.queryAll(t)[0]||null}queryAll(t){const n=[];return $g(this,t,n,!0),n}queryAllNodes(t){const n=[];return $g(this,t,n,!1),n}triggerEventHandler(t,n){const r=this.nativeNode,o=[];this.listeners.forEach(a=>{if(a.name===t){const f=a.callback;f.call(r,n),o.push(f)}}),"function"==typeof r.eventListeners&&r.eventListeners(t).forEach(a=>{if(-1!==a.toString().indexOf("__ngUnwrap__")){const f=a("__ngUnwrap__");return-1===o.indexOf(f)&&f.call(r,n)}})}}function gD(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function $g(e,t,n,r){const o=di(e.nativeNode);null!==o?co(o.lView[1].data[o.nodeIndex],o.lView,t,n,r,e.nativeNode):Fu(e.nativeNode,t,n,r)}function co(e,t,n,r,o,a){const f=function Ft(e,t){const n=null===e?-1:e.index;return-1!==n?R(t[n]):null}(e,t);if(11&e.type){if(Ru(f,n,r,o,a),ri(e)){const w=tn(e.index,t);w&&w[1].firstChild&&co(w[1].firstChild,w,n,r,o,a)}else e.child&&co(e.child,t,n,r,o,a),f&&Fu(f,n,r,o);const b=t[e.index];Fn(b)&&Hg(b,n,r,o,a)}else if(4&e.type){const b=t[e.index];Ru(b[7],n,r,o,a),Hg(b,n,r,o,a)}else if(16&e.type){const b=t[16],V=b[6].projection[e.projection];if(Array.isArray(V))for(let G of V)Ru(G,n,r,o,a);else if(V){const G=b[3];co(G[1].data[V.index],G,n,r,o,a)}}else e.child&&co(e.child,t,n,r,o,a);if(a!==f){const b=4&e.flags?e.projectionNext:e.next;b&&co(b,t,n,r,o,a)}}function Hg(e,t,n,r,o){for(let a=10;a<e.length;a++){const f=e[a],b=f[1].firstChild;b&&co(b,f,t,n,r,o)}}function Ru(e,t,n,r,o){if(o!==e){const a=Jo(e);if(!a)return;(r&&a instanceof xs&&t(a)&&-1===n.indexOf(a)||!r&&t(a)&&-1===n.indexOf(a))&&n.push(a)}}function Fu(e,t,n,r){const o=e.childNodes,a=o.length;for(let f=0;f<a;f++){const b=o[f],w=Jo(b);w&&((r&&w instanceof xs&&t(w)&&-1===n.indexOf(w)||!r&&t(w)&&-1===n.indexOf(w))&&n.push(w),Fu(b,t,n,r))}}const Nu="__ng_debug__";function Jo(e){return e instanceof Node?(e.hasOwnProperty(Nu)||(e[Nu]=e.nodeType==Node.ELEMENT_NODE?new xs(e):new xu(e)),e[Nu]):null}function yD(e){return null}class Ug{constructor(){}supports(t){return gs(t)}create(t){return new Wg(t)}}const vD=(e,t)=>t;class Wg{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||vD}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,a=null;for(;n||r;){const f=!r||n&&n.currentIndex<Kg(r,o,a)?n:r,b=Kg(f,o,a),w=f.currentIndex;if(f===r)o--,r=r._nextRemoved;else if(n=n._next,null==f.previousIndex)o++;else{a||(a=[]);const V=b-o,G=w-o;if(V!=G){for(let We=0;We<V;We++){const nt=We<a.length?a[We]:a[We]=0,ft=nt+We;G<=ft&&ft<V&&(a[We]=nt+1)}a[f.previousIndex]=G-V}}b!==w&&t(f,b,w)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!gs(t))throw new $(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,a,f,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let b=0;b<this.length;b++)a=t[b],f=this._trackByFn(b,a),null!==n&&Object.is(n.trackById,f)?(r&&(n=this._verifyReinsertion(n,a,f,b)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,f,b),r=!0),n=n._next}else o=0,function qv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[xo()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,b=>{f=this._trackByFn(o,b),null!==n&&Object.is(n.trackById,f)?(r&&(n=this._verifyReinsertion(n,b,f,o)),Object.is(n.item,b)||this._addIdentityChange(n,b)):(n=this._mismatch(n,b,f,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,o)):t=this._addAfter(new bD(n,r),a,o),t}_verifyReinsertion(t,n,r,o){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?t=this._reinsertAfter(a,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,a=t._nextRemoved;return null===o?this._removalsHead=a:o._nextRemoved=a,null===a?this._removalsTail=o:a._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new zg),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new zg),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class bD{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class CD{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class zg{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new CD,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Kg(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class Gg{constructor(){}supports(t){return t instanceof Map||Ql(t)}create(){return new DD}}class DD{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Ql(t)))throw new $(900,"")}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const a=o._prev,f=o._next;return a&&(a._next=f),f&&(f._prev=a),o._next=null,o._prev=null,o}const r=new ED(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class ED{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Qg(){return new Lu([new Ug])}let Lu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Qg()),deps:[[e,new Co,new os]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new $(901,"")}}return e.\u0275prov=qe({token:e,providedIn:"root",factory:Qg}),e})();function Zg(){return new Bu([new Gg])}let Bu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Zg()),deps:[[e,new Co,new os]]}}find(n){const r=this.factories.find(a=>a.supports(n));if(r)return r;throw new $(901,"")}}return e.\u0275prov=qe({token:e,providedIn:"root",factory:Zg}),e})();const TD=[new Gg],wD=new Lu([new Ug]),SD=new Bu(TD),ID=Og(null,"core",[{provide:vg,useValue:"unknown"},{provide:Pu,deps:[Qi]},{provide:Mu,deps:[]},{provide:Cg,deps:[]}]);let PD=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(ni(Au))},e.\u0275mod=Bt({type:e}),e.\u0275inj=he({}),e})();const AD=!0;function OD(e){return Jn().compileDirectiveDeclaration(vi,`ng:///${e.type.name}/\u0275fac.js`,e)}function xD(e){var t,n;cm(e.type,e.decorators,null!==(t=e.ctorParameters)&&void 0!==t?t:null,null!==(n=e.propDecorators)&&void 0!==n?n:null)}function RD(e){return Jn().compileComponentDeclaration(vi,`ng:///${e.type.name}/\u0275cmp.js`,e)}function FD(e){return Jn(function kD(e){switch(e){case Yn.Directive:return"directive";case Yn.Component:return"component";case Yn.Injectable:return"injectable";case Yn.Pipe:return"pipe";case Yn.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(vi,`ng:///${e.type.name}/\u0275fac.js`,e)}function ND(e){return Jn().compileInjectableDeclaration(vi,`ng:///${e.type.name}/\u0275prov.js`,e)}function LD(e){return Jn().compileInjectorDeclaration(vi,`ng:///${e.type.name}/\u0275inj.js`,e)}function BD(e){return Jn().compileNgModuleDeclaration(vi,`ng:///${e.type.name}/\u0275mod.js`,e)}function jD(e){return Jn().compilePipeDeclaration(vi,`ng:///${e.type.name}/\u0275pipe.js`,e)}},3075:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{AbstractControl:()=>xt,AbstractControlDirective:()=>Ge,AbstractFormGroupDirective:()=>Rn,COMPOSITION_BUFFER_MODE:()=>C,CheckboxControlValueAccessor:()=>p,CheckboxRequiredValidator:()=>gi,ControlContainer:()=>ht,DefaultValueAccessor:()=>N,EmailValidator:()=>Ri,FormArray:()=>Rt,FormArrayName:()=>Si,FormBuilder:()=>an,FormControl:()=>Ut,FormControlDirective:()=>qi,FormControlName:()=>ji,FormGroup:()=>on,FormGroupDirective:()=>Bi,FormGroupName:()=>oi,FormsModule:()=>pn,MaxLengthValidator:()=>J,MaxValidator:()=>Vn,MinLengthValidator:()=>vn,MinValidator:()=>xi,NG_ASYNC_VALIDATORS:()=>ce,NG_VALIDATORS:()=>K,NG_VALUE_ACCESSOR:()=>T,NgControl:()=>mt,NgControlStatus:()=>B,NgControlStatusGroup:()=>ie,NgForm:()=>Sn,NgModel:()=>Fn,NgModelGroup:()=>qn,NgSelectOption:()=>pr,NumberValueAccessor:()=>ai,PatternValidator:()=>ne,RadioControlValueAccessor:()=>Bn,RangeValueAccessor:()=>wi,ReactiveFormsModule:()=>dn,RequiredValidator:()=>ci,SelectControlValueAccessor:()=>Vi,SelectMultipleControlValueAccessor:()=>Ai,VERSION:()=>In,Validators:()=>me,\u0275InternalFormsSharedModule:()=>Ft,\u0275NgNoValidate:()=>mi,\u0275NgSelectMultipleOption:()=>mr});var i=c(5e3),h=c(9808),g=c(188),d=c(4128),s=c(4004);let v=(()=>{class k{constructor(I,Y){this._renderer=I,this._elementRef=Y,this.onChange=Je=>{},this.onTouched=()=>{}}setProperty(I,Y){this._renderer.setProperty(this._elementRef.nativeElement,I,Y)}registerOnTouched(I){this.onTouched=I}registerOnChange(I){this.onChange=I}setDisabledState(I){this.setProperty("disabled",I)}}return k.\u0275fac=function(I){return new(I||k)(i.\u0275\u0275directiveInject(i.Renderer2),i.\u0275\u0275directiveInject(i.ElementRef))},k.\u0275dir=i.\u0275\u0275defineDirective({type:k}),k})(),D=(()=>{class k extends v{}return k.\u0275fac=function(){let O;return function(Y){return(O||(O=i.\u0275\u0275getInheritedFactory(k)))(Y||k)}}(),k.\u0275dir=i.\u0275\u0275defineDirective({type:k,features:[i.\u0275\u0275InheritDefinitionFeature]}),k})();const T=new i.InjectionToken("NgValueAccessor"),S={provide:T,useExisting:(0,i.forwardRef)(()=>p),multi:!0};let p=(()=>{class k extends D{writeValue(I){this.setProperty("checked",I)}}return k.\u0275fac=function(){let O;return function(Y){return(O||(O=i.\u0275\u0275getInheritedFactory(k)))(Y||k)}}(),k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(I,Y){1&I&&i.\u0275\u0275listener("change",function(Nt){return Y.onChange(Nt.target.checked)})("blur",function(){return Y.onTouched()})},features:[i.\u0275\u0275ProvidersFeature([S]),i.\u0275\u0275InheritDefinitionFeature]}),k})();const A={provide:T,useExisting:(0,i.forwardRef)(()=>N),multi:!0},C=new i.InjectionToken("CompositionEventMode");let N=(()=>{class k extends v{constructor(I,Y,Je){super(I,Y),this._compositionMode=Je,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function M(){const k=(0,h.\u0275getDOM)()?(0,h.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(k.toLowerCase())}())}writeValue(I){this.setProperty("value",null==I?"":I)}_handleInput(I){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(I)}_compositionStart(){this._composing=!0}_compositionEnd(I){this._composing=!1,this._compositionMode&&this.onChange(I)}}return k.\u0275fac=function(I){return new(I||k)(i.\u0275\u0275directiveInject(i.Renderer2),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(C,8))},k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(I,Y){1&I&&i.\u0275\u0275listener("input",function(Nt){return Y._handleInput(Nt.target.value)})("blur",function(){return Y.onTouched()})("compositionstart",function(){return Y._compositionStart()})("compositionend",function(Nt){return Y._compositionEnd(Nt.target.value)})},features:[i.\u0275\u0275ProvidersFeature([A]),i.\u0275\u0275InheritDefinitionFeature]}),k})();function $(k){return null==k||0===k.length}function de(k){return null!=k&&"number"==typeof k.length}const K=new i.InjectionToken("NgValidators"),ce=new i.InjectionToken("NgAsyncValidators"),Oe=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class me{static min(O){return ye(O)}static max(O){return X(O)}static required(O){return ve(O)}static requiredTrue(O){return Re(O)}static email(O){return Qe(O)}static minLength(O){return ot(O)}static maxLength(O){return Ve(O)}static pattern(O){return ue(O)}static nullValidator(O){return null}static compose(O){return ge(O)}static composeAsync(O){return at(O)}}function ye(k){return O=>{if($(O.value)||$(k))return null;const I=parseFloat(O.value);return!isNaN(I)&&I<k?{min:{min:k,actual:O.value}}:null}}function X(k){return O=>{if($(O.value)||$(k))return null;const I=parseFloat(O.value);return!isNaN(I)&&I>k?{max:{max:k,actual:O.value}}:null}}function ve(k){return $(k.value)?{required:!0}:null}function Re(k){return!0===k.value?null:{required:!0}}function Qe(k){return $(k.value)||Oe.test(k.value)?null:{email:!0}}function ot(k){return O=>$(O.value)||!de(O.value)?null:O.value.length<k?{minlength:{requiredLength:k,actualLength:O.value.length}}:null}function Ve(k){return O=>de(O.value)&&O.value.length>k?{maxlength:{requiredLength:k,actualLength:O.value.length}}:null}function ue(k){if(!k)return Ie;let O,I;return"string"==typeof k?(I="","^"!==k.charAt(0)&&(I+="^"),I+=k,"$"!==k.charAt(k.length-1)&&(I+="$"),O=new RegExp(I)):(I=k.toString(),O=k),Y=>{if($(Y.value))return null;const Je=Y.value;return O.test(Je)?null:{pattern:{requiredPattern:I,actualValue:Je}}}}function Ie(k){return null}function H(k){return null!=k}function pe(k){const O=(0,i.\u0275isPromise)(k)?(0,g.D)(k):k;return(0,i.\u0275isObservable)(O),O}function ee(k){let O={};return k.forEach(I=>{O=null!=I?Object.assign(Object.assign({},O),I):O}),0===Object.keys(O).length?null:O}function xe(k,O){return O.map(I=>I(k))}function Ze(k){return k.map(O=>function fe(k){return!k.validate}(O)?O:I=>O.validate(I))}function ge(k){if(!k)return null;const O=k.filter(H);return 0==O.length?null:function(I){return ee(xe(I,O))}}function He(k){return null!=k?ge(Ze(k)):null}function at(k){if(!k)return null;const O=k.filter(H);return 0==O.length?null:function(I){const Y=xe(I,O).map(pe);return(0,d.D)(Y).pipe((0,s.U)(ee))}}function gt(k){return null!=k?at(Ze(k)):null}function Le(k,O){return null===k?[O]:Array.isArray(k)?[...k,O]:[k,O]}function qe(k){return k._rawValidators}function q(k){return k._rawAsyncValidators}function he(k){return k?Array.isArray(k)?k:[k]:[]}function we(k,O){return Array.isArray(k)?k.includes(O):k===O}function Fe(k,O){const I=he(O);return he(k).forEach(Je=>{we(I,Je)||I.push(Je)}),I}function be(k,O){return he(O).filter(I=>!we(k,I))}class Ge{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(O){this._rawValidators=O||[],this._composedValidatorFn=He(this._rawValidators)}_setAsyncValidators(O){this._rawAsyncValidators=O||[],this._composedAsyncValidatorFn=gt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(O){this._onDestroyCallbacks.push(O)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(O=>O()),this._onDestroyCallbacks=[]}reset(O){this.control&&this.control.reset(O)}hasError(O,I){return!!this.control&&this.control.hasError(O,I)}getError(O,I){return this.control?this.control.getError(O,I):null}}class mt extends Ge{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ht extends Ge{get formDirective(){return null}get path(){return null}}class wt{constructor(O){this._cd=O}is(O){var I,Y,Je;return"submitted"===O?!!(null===(I=this._cd)||void 0===I?void 0:I.submitted):!!(null===(Je=null===(Y=this._cd)||void 0===Y?void 0:Y.control)||void 0===Je?void 0:Je[O])}}let B=(()=>{class k extends wt{constructor(I){super(I)}}return k.\u0275fac=function(I){return new(I||k)(i.\u0275\u0275directiveInject(mt,2))},k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(I,Y){2&I&&i.\u0275\u0275classProp("ng-untouched",Y.is("untouched"))("ng-touched",Y.is("touched"))("ng-pristine",Y.is("pristine"))("ng-dirty",Y.is("dirty"))("ng-valid",Y.is("valid"))("ng-invalid",Y.is("invalid"))("ng-pending",Y.is("pending"))},features:[i.\u0275\u0275InheritDefinitionFeature]}),k})(),ie=(()=>{class k extends wt{constructor(I){super(I)}}return k.\u0275fac=function(I){return new(I||k)(i.\u0275\u0275directiveInject(ht,10))},k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(I,Y){2&I&&i.\u0275\u0275classProp("ng-untouched",Y.is("untouched"))("ng-touched",Y.is("touched"))("ng-pristine",Y.is("pristine"))("ng-dirty",Y.is("dirty"))("ng-valid",Y.is("valid"))("ng-invalid",Y.is("invalid"))("ng-pending",Y.is("pending"))("ng-submitted",Y.is("submitted"))},features:[i.\u0275\u0275InheritDefinitionFeature]}),k})();function Jt(k,O){return[...O.path,k]}function vt(k,O){re(k,O),O.valueAccessor.writeValue(k.value),function L(k,O){O.valueAccessor.registerOnChange(I=>{k._pendingValue=I,k._pendingChange=!0,k._pendingDirty=!0,"change"===k.updateOn&&te(k,O)})}(k,O),function E(k,O){const I=(Y,Je)=>{O.valueAccessor.writeValue(Y),Je&&O.viewToModelUpdate(Y)};k.registerOnChange(I),O._registerOnDestroy(()=>{k._unregisterOnChange(I)})}(k,O),function P(k,O){O.valueAccessor.registerOnTouched(()=>{k._pendingTouched=!0,"blur"===k.updateOn&&k._pendingChange&&te(k,O),"submit"!==k.updateOn&&k.markAsTouched()})}(k,O),function un(k,O){if(O.valueAccessor.setDisabledState){const I=Y=>{O.valueAccessor.setDisabledState(Y)};k.registerOnDisabledChange(I),O._registerOnDestroy(()=>{k._unregisterOnDisabledChange(I)})}}(k,O)}function Gt(k,O,I=!0){const Y=()=>{};O.valueAccessor&&(O.valueAccessor.registerOnChange(Y),O.valueAccessor.registerOnTouched(Y)),Z(k,O),k&&(O._invokeOnDestroyCallbacks(),k._registerOnCollectionChange(()=>{}))}function Ht(k,O){k.forEach(I=>{I.registerOnValidatorChange&&I.registerOnValidatorChange(O)})}function re(k,O){const I=qe(k);null!==O.validator?k.setValidators(Le(I,O.validator)):"function"==typeof I&&k.setValidators([I]);const Y=q(k);null!==O.asyncValidator?k.setAsyncValidators(Le(Y,O.asyncValidator)):"function"==typeof Y&&k.setAsyncValidators([Y]);const Je=()=>k.updateValueAndValidity();Ht(O._rawValidators,Je),Ht(O._rawAsyncValidators,Je)}function Z(k,O){let I=!1;if(null!==k){if(null!==O.validator){const Je=qe(k);if(Array.isArray(Je)&&Je.length>0){const Nt=Je.filter(Dn=>Dn!==O.validator);Nt.length!==Je.length&&(I=!0,k.setValidators(Nt))}}if(null!==O.asyncValidator){const Je=q(k);if(Array.isArray(Je)&&Je.length>0){const Nt=Je.filter(Dn=>Dn!==O.asyncValidator);Nt.length!==Je.length&&(I=!0,k.setAsyncValidators(Nt))}}}const Y=()=>{};return Ht(O._rawValidators,Y),Ht(O._rawAsyncValidators,Y),I}function te(k,O){k._pendingDirty&&k.markAsDirty(),k.setValue(k._pendingValue,{emitModelToViewChange:!1}),O.viewToModelUpdate(k._pendingValue),k._pendingChange=!1}function j(k,O){re(k,O)}function jt(k,O){if(!k.hasOwnProperty("model"))return!1;const I=k.model;return!!I.isFirstChange()||!Object.is(O,I.currentValue)}function $e(k,O){k._syncPendingControls(),O.forEach(I=>{const Y=I.control;"submit"===Y.updateOn&&Y._pendingChange&&(I.viewToModelUpdate(Y._pendingValue),Y._pendingChange=!1)})}function le(k,O){if(!O)return null;let I,Y,Je;return Array.isArray(O),O.forEach(Nt=>{Nt.constructor===N?I=Nt:function Ne(k){return Object.getPrototypeOf(k.constructor)===D}(Nt)?Y=Nt:Je=Nt}),Je||Y||I||null}function je(k,O){const I=k.indexOf(O);I>-1&&k.splice(I,1)}const At="VALID",Xt="INVALID",mn="PENDING",On="DISABLED";function jn(k){return(U(k)?k.validators:k)||null}function bn(k){return Array.isArray(k)?He(k):k||null}function xn(k,O){return(U(O)?O.asyncValidators:k)||null}function An(k){return Array.isArray(k)?gt(k):k||null}function U(k){return null!=k&&!Array.isArray(k)&&"object"==typeof k}const Se=k=>k instanceof Ut,z=k=>k instanceof on,Pe=k=>k instanceof Rt;function Ye(k){return Se(k)?k.value:k.getRawValue()}function st(k,O){const I=z(k),Y=k.controls;if(!(I?Object.keys(Y):Y).length)throw new i.\u0275RuntimeError(1e3,"");if(!Y[O])throw new i.\u0275RuntimeError(1001,"")}function Dt(k,O){z(k),k._forEachChild((Y,Je)=>{if(void 0===O[Je])throw new i.\u0275RuntimeError(1002,"")})}class xt{constructor(O,I){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=O,this._rawAsyncValidators=I,this._composedValidatorFn=bn(this._rawValidators),this._composedAsyncValidatorFn=An(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(O){this._rawValidators=this._composedValidatorFn=O}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(O){this._rawAsyncValidators=this._composedAsyncValidatorFn=O}get parent(){return this._parent}get valid(){return this.status===At}get invalid(){return this.status===Xt}get pending(){return this.status==mn}get disabled(){return this.status===On}get enabled(){return this.status!==On}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(O){this._rawValidators=O,this._composedValidatorFn=bn(O)}setAsyncValidators(O){this._rawAsyncValidators=O,this._composedAsyncValidatorFn=An(O)}addValidators(O){this.setValidators(Fe(O,this._rawValidators))}addAsyncValidators(O){this.setAsyncValidators(Fe(O,this._rawAsyncValidators))}removeValidators(O){this.setValidators(be(O,this._rawValidators))}removeAsyncValidators(O){this.setAsyncValidators(be(O,this._rawAsyncValidators))}hasValidator(O){return we(this._rawValidators,O)}hasAsyncValidator(O){return we(this._rawAsyncValidators,O)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(O={}){this.touched=!0,this._parent&&!O.onlySelf&&this._parent.markAsTouched(O)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(O=>O.markAllAsTouched())}markAsUntouched(O={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(I=>{I.markAsUntouched({onlySelf:!0})}),this._parent&&!O.onlySelf&&this._parent._updateTouched(O)}markAsDirty(O={}){this.pristine=!1,this._parent&&!O.onlySelf&&this._parent.markAsDirty(O)}markAsPristine(O={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(I=>{I.markAsPristine({onlySelf:!0})}),this._parent&&!O.onlySelf&&this._parent._updatePristine(O)}markAsPending(O={}){this.status=mn,!1!==O.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!O.onlySelf&&this._parent.markAsPending(O)}disable(O={}){const I=this._parentMarkedDirty(O.onlySelf);this.status=On,this.errors=null,this._forEachChild(Y=>{Y.disable(Object.assign(Object.assign({},O),{onlySelf:!0}))}),this._updateValue(),!1!==O.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},O),{skipPristineCheck:I})),this._onDisabledChange.forEach(Y=>Y(!0))}enable(O={}){const I=this._parentMarkedDirty(O.onlySelf);this.status=At,this._forEachChild(Y=>{Y.enable(Object.assign(Object.assign({},O),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:O.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},O),{skipPristineCheck:I})),this._onDisabledChange.forEach(Y=>Y(!1))}_updateAncestors(O){this._parent&&!O.onlySelf&&(this._parent.updateValueAndValidity(O),O.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(O){this._parent=O}updateValueAndValidity(O={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===At||this.status===mn)&&this._runAsyncValidator(O.emitEvent)),!1!==O.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!O.onlySelf&&this._parent.updateValueAndValidity(O)}_updateTreeValidity(O={emitEvent:!0}){this._forEachChild(I=>I._updateTreeValidity(O)),this.updateValueAndValidity({onlySelf:!0,emitEvent:O.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?On:At}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(O){if(this.asyncValidator){this.status=mn,this._hasOwnPendingAsyncValidator=!0;const I=pe(this.asyncValidator(this));this._asyncValidationSubscription=I.subscribe(Y=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Y,{emitEvent:O})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(O,I={}){this.errors=O,this._updateControlsErrors(!1!==I.emitEvent)}get(O){return function Tn(k,O,I){if(null==O||(Array.isArray(O)||(O=O.split(I)),Array.isArray(O)&&0===O.length))return null;let Y=k;return O.forEach(Je=>{Y=z(Y)?Y.controls.hasOwnProperty(Je)?Y.controls[Je]:null:Pe(Y)&&Y.at(Je)||null}),Y}(this,O,".")}getError(O,I){const Y=I?this.get(I):this;return Y&&Y.errors?Y.errors[O]:null}hasError(O,I){return!!this.getError(O,I)}get root(){let O=this;for(;O._parent;)O=O._parent;return O}_updateControlsErrors(O){this.status=this._calculateStatus(),O&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(O)}_initObservables(){this.valueChanges=new i.EventEmitter,this.statusChanges=new i.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?On:this.errors?Xt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(mn)?mn:this._anyControlsHaveStatus(Xt)?Xt:At}_anyControlsHaveStatus(O){return this._anyControls(I=>I.status===O)}_anyControlsDirty(){return this._anyControls(O=>O.dirty)}_anyControlsTouched(){return this._anyControls(O=>O.touched)}_updatePristine(O={}){this.pristine=!this._anyControlsDirty(),this._parent&&!O.onlySelf&&this._parent._updatePristine(O)}_updateTouched(O={}){this.touched=this._anyControlsTouched(),this._parent&&!O.onlySelf&&this._parent._updateTouched(O)}_isBoxedValue(O){return"object"==typeof O&&null!==O&&2===Object.keys(O).length&&"value"in O&&"disabled"in O}_registerOnCollectionChange(O){this._onCollectionChange=O}_setUpdateStrategy(O){U(O)&&null!=O.updateOn&&(this._updateOn=O.updateOn)}_parentMarkedDirty(O){return!O&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Ut extends xt{constructor(O=null,I,Y){super(jn(I),xn(Y,I)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(O),this._setUpdateStrategy(I),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),U(I)&&I.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(O)?O.value:O)}setValue(O,I={}){this.value=this._pendingValue=O,this._onChange.length&&!1!==I.emitModelToViewChange&&this._onChange.forEach(Y=>Y(this.value,!1!==I.emitViewToModelChange)),this.updateValueAndValidity(I)}patchValue(O,I={}){this.setValue(O,I)}reset(O=this.defaultValue,I={}){this._applyFormState(O),this.markAsPristine(I),this.markAsUntouched(I),this.setValue(this.value,I),this._pendingChange=!1}_updateValue(){}_anyControls(O){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(O){this._onChange.push(O)}_unregisterOnChange(O){je(this._onChange,O)}registerOnDisabledChange(O){this._onDisabledChange.push(O)}_unregisterOnDisabledChange(O){je(this._onDisabledChange,O)}_forEachChild(O){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(O){this._isBoxedValue(O)?(this.value=this._pendingValue=O.value,O.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=O}}class on extends xt{constructor(O,I,Y){super(jn(I),xn(Y,I)),this.controls=O,this._initObservables(),this._setUpdateStrategy(I),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(O,I){return this.controls[O]?this.controls[O]:(this.controls[O]=I,I.setParent(this),I._registerOnCollectionChange(this._onCollectionChange),I)}addControl(O,I,Y={}){this.registerControl(O,I),this.updateValueAndValidity({emitEvent:Y.emitEvent}),this._onCollectionChange()}removeControl(O,I={}){this.controls[O]&&this.controls[O]._registerOnCollectionChange(()=>{}),delete this.controls[O],this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}setControl(O,I,Y={}){this.controls[O]&&this.controls[O]._registerOnCollectionChange(()=>{}),delete this.controls[O],I&&this.registerControl(O,I),this.updateValueAndValidity({emitEvent:Y.emitEvent}),this._onCollectionChange()}contains(O){return this.controls.hasOwnProperty(O)&&this.controls[O].enabled}setValue(O,I={}){Dt(this,O),Object.keys(O).forEach(Y=>{st(this,Y),this.controls[Y].setValue(O[Y],{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I)}patchValue(O,I={}){null!=O&&(Object.keys(O).forEach(Y=>{this.controls[Y]&&this.controls[Y].patchValue(O[Y],{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I))}reset(O={},I={}){this._forEachChild((Y,Je)=>{Y.reset(O[Je],{onlySelf:!0,emitEvent:I.emitEvent})}),this._updatePristine(I),this._updateTouched(I),this.updateValueAndValidity(I)}getRawValue(){return this._reduceChildren({},(O,I,Y)=>(O[Y]=Ye(I),O))}_syncPendingControls(){let O=this._reduceChildren(!1,(I,Y)=>!!Y._syncPendingControls()||I);return O&&this.updateValueAndValidity({onlySelf:!0}),O}_forEachChild(O){Object.keys(this.controls).forEach(I=>{const Y=this.controls[I];Y&&O(Y,I)})}_setUpControls(){this._forEachChild(O=>{O.setParent(this),O._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(O){for(const I of Object.keys(this.controls)){const Y=this.controls[I];if(this.contains(I)&&O(Y))return!0}return!1}_reduceValue(){return this._reduceChildren({},(O,I,Y)=>((I.enabled||this.disabled)&&(O[Y]=I.value),O))}_reduceChildren(O,I){let Y=O;return this._forEachChild((Je,Nt)=>{Y=I(Y,Je,Nt)}),Y}_allControlsDisabled(){for(const O of Object.keys(this.controls))if(this.controls[O].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Rt extends xt{constructor(O,I,Y){super(jn(I),xn(Y,I)),this.controls=O,this._initObservables(),this._setUpdateStrategy(I),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(O){return this.controls[O]}push(O,I={}){this.controls.push(O),this._registerControl(O),this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}insert(O,I,Y={}){this.controls.splice(O,0,I),this._registerControl(I),this.updateValueAndValidity({emitEvent:Y.emitEvent})}removeAt(O,I={}){this.controls[O]&&this.controls[O]._registerOnCollectionChange(()=>{}),this.controls.splice(O,1),this.updateValueAndValidity({emitEvent:I.emitEvent})}setControl(O,I,Y={}){this.controls[O]&&this.controls[O]._registerOnCollectionChange(()=>{}),this.controls.splice(O,1),I&&(this.controls.splice(O,0,I),this._registerControl(I)),this.updateValueAndValidity({emitEvent:Y.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(O,I={}){Dt(this,O),O.forEach((Y,Je)=>{st(this,Je),this.at(Je).setValue(Y,{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I)}patchValue(O,I={}){null!=O&&(O.forEach((Y,Je)=>{this.at(Je)&&this.at(Je).patchValue(Y,{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I))}reset(O=[],I={}){this._forEachChild((Y,Je)=>{Y.reset(O[Je],{onlySelf:!0,emitEvent:I.emitEvent})}),this._updatePristine(I),this._updateTouched(I),this.updateValueAndValidity(I)}getRawValue(){return this.controls.map(O=>Ye(O))}clear(O={}){this.controls.length<1||(this._forEachChild(I=>I._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:O.emitEvent}))}_syncPendingControls(){let O=this.controls.reduce((I,Y)=>!!Y._syncPendingControls()||I,!1);return O&&this.updateValueAndValidity({onlySelf:!0}),O}_forEachChild(O){this.controls.forEach((I,Y)=>{O(I,Y)})}_updateValue(){this.value=this.controls.filter(O=>O.enabled||this.disabled).map(O=>O.value)}_anyControls(O){return this.controls.some(I=>I.enabled&&O(I))}_setUpControls(){this._forEachChild(O=>this._registerControl(O))}_allControlsDisabled(){for(const O of this.controls)if(O.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(O){O.setParent(this),O._registerOnCollectionChange(this._onCollectionChange)}}const Cn={provide:ht,useExisting:(0,i.forwardRef)(()=>Sn)},en=(()=>Promise.resolve(null))();let Sn=(()=>{class k extends ht{constructor(I,Y){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.EventEmitter,this.form=new on({},He(I),gt(Y))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(I){en.then(()=>{const Y=this._findContainer(I.path);I.control=Y.registerControl(I.name,I.control),vt(I.control,I),I.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(I)})}getControl(I){return this.form.get(I.path)}removeControl(I){en.then(()=>{const Y=this._findContainer(I.path);Y&&Y.removeControl(I.name),this._directives.delete(I)})}addFormGroup(I){en.then(()=>{const Y=this._findContainer(I.path),Je=new on({});j(Je,I),Y.registerControl(I.name,Je),Je.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(I){en.then(()=>{const Y=this._findContainer(I.path);Y&&Y.removeControl(I.name)})}getFormGroup(I){return this.form.get(I.path)}updateModel(I,Y){en.then(()=>{this.form.get(I.path).setValue(Y)})}setValue(I){this.control.setValue(I)}onSubmit(I){return this.submitted=!0,$e(this.form,this._directives),this.ngSubmit.emit(I),!1}onReset(){this.resetForm()}resetForm(I){this.form.reset(I),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(I){return I.pop(),I.length?this.form.get(I):this.form}}return k.\u0275fac=function(I){return new(I||k)(i.\u0275\u0275directiveInject(K,10),i.\u0275\u0275directiveInject(ce,10))},k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(I,Y){1&I&&i.\u0275\u0275listener("submit",function(Nt){return Y.onSubmit(Nt)})("reset",function(){return Y.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.\u0275\u0275ProvidersFeature([Cn]),i.\u0275\u0275InheritDefinitionFeature]}),k})(),Rn=(()=>{class k extends ht{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Jt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return k.\u0275fac=function(){let O;return function(Y){return(O||(O=i.\u0275\u0275getInheritedFactory(k)))(Y||k)}}(),k.\u0275dir=i.\u0275\u0275defineDirective({type:k,features:[i.\u0275\u0275InheritDefinitionFeature]}),k})();const sn={provide:ht,useExisting:(0,i.forwardRef)(()=>qn)};let qn=(()=>{class k extends Rn{constructor(I,Y,Je){super(),this._parent=I,this._setValidators(Y),this._setAsyncValidators(Je)}_checkParentType(){}}return k.\u0275fac=function(I){return new(I||k)(i.\u0275\u0275directiveInject(ht,5),i.\u0275\u0275directiveInject(K,10),i.\u0275\u0275directiveInject(ce,10))},k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[i.\u0275\u0275ProvidersFeature([sn]),i.\u0275\u0275InheritDefinitionFeature]}),k})();const pi={provide:mt,useExisting:(0,i.forwardRef)(()=>Fn)},wn=(()=>Promise.resolve(null))();let Fn=(()=>{class k extends mt{constructor(I,Y,Je,Nt,Dn){super(),this._changeDetectorRef=Dn,this.control=new Ut,this._registered=!1,this.update=new i.EventEmitter,this._parent=I,this._setValidators(Y),this._setAsyncValidators(Je),this.valueAccessor=le(0,Nt)}ngOnChanges(I){if(this._checkForErrors(),!this._registered||"name"in I){if(this._registered&&(this._checkName(),this.formDirective)){const Y=I.name.previousValue;this.formDirective.removeControl({name:Y,path:this._getPath(Y)})}this._setUpControl()}"isDisabled"in I&&this._updateDisabled(I),jt(I,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){vt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(I){wn.then(()=>{var Y;this.control.setValue(I,{emitViewToModelChange:!1}),null===(Y=this._changeDetectorRef)||void 0===Y||Y.markForCheck()})}_updateDisabled(I){const Y=I.isDisabled.currentValue,Je=""===Y||Y&&"false"!==Y;wn.then(()=>{var Nt;Je&&!this.control.disabled?this.control.disable():!Je&&this.control.disabled&&this.control.enable(),null===(Nt=this._changeDetectorRef)||void 0===Nt||Nt.markForCheck()})}_getPath(I){return this._parent?Jt(I,this._parent):[I]}}return k.\u0275fac=function(I){return new(I||k)(i.\u0275\u0275directiveInject(ht,9),i.\u0275\u0275directiveInject(K,10),i.\u0275\u0275directiveInject(ce,10),i.\u0275\u0275directiveInject(T,10),i.\u0275\u0275directiveInject(i.ChangeDetectorRef,8))},k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.\u0275\u0275ProvidersFeature([pi]),i.\u0275\u0275InheritDefinitionFeature,i.\u0275\u0275NgOnChangesFeature]}),k})(),mi=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),k})();const ri={provide:T,useExisting:(0,i.forwardRef)(()=>ai),multi:!0};let ai=(()=>{class k extends D{writeValue(I){this.setProperty("value",null==I?"":I)}registerOnChange(I){this.onChange=Y=>{I(""==Y?null:parseFloat(Y))}}}return k.\u0275fac=function(){let O;return function(Y){return(O||(O=i.\u0275\u0275getInheritedFactory(k)))(Y||k)}}(),k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(I,Y){1&I&&i.\u0275\u0275listener("input",function(Nt){return Y.onChange(Nt.target.value)})("blur",function(){return Y.onTouched()})},features:[i.\u0275\u0275ProvidersFeature([ri]),i.\u0275\u0275InheritDefinitionFeature]}),k})();const Gn={provide:T,useExisting:(0,i.forwardRef)(()=>Bn),multi:!0};let hr=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=i.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=i.\u0275\u0275defineInjector({}),k})(),Ar=(()=>{class k{constructor(){this._accessors=[]}add(I,Y){this._accessors.push([I,Y])}remove(I){for(let Y=this._accessors.length-1;Y>=0;--Y)if(this._accessors[Y][1]===I)return void this._accessors.splice(Y,1)}select(I){this._accessors.forEach(Y=>{this._isSameGroup(Y,I)&&Y[1]!==I&&Y[1].fireUncheck(I.value)})}_isSameGroup(I,Y){return!!I[0].control&&I[0]._parent===Y._control._parent&&I[1].name===Y.name}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275prov=i.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:hr}),k})(),Bn=(()=>{class k extends D{constructor(I,Y,Je,Nt){super(I,Y),this._registry=Je,this._injector=Nt,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(mt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(I){this._state=I===this.value,this.setProperty("checked",this._state)}registerOnChange(I){this._fn=I,this.onChange=()=>{I(this.value),this._registry.select(this)}}fireUncheck(I){this.writeValue(I)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return k.\u0275fac=function(I){return new(I||k)(i.\u0275\u0275directiveInject(i.Renderer2),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(Ar),i.\u0275\u0275directiveInject(i.Injector))},k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(I,Y){1&I&&i.\u0275\u0275listener("change",function(){return Y.onChange()})("blur",function(){return Y.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.\u0275\u0275ProvidersFeature([Gn]),i.\u0275\u0275InheritDefinitionFeature]}),k})();const Ji={provide:T,useExisting:(0,i.forwardRef)(()=>wi),multi:!0};let wi=(()=>{class k extends D{writeValue(I){this.setProperty("value",parseFloat(I))}registerOnChange(I){this.onChange=Y=>{I(""==Y?null:parseFloat(Y))}}}return k.\u0275fac=function(){let O;return function(Y){return(O||(O=i.\u0275\u0275getInheritedFactory(k)))(Y||k)}}(),k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(I,Y){1&I&&i.\u0275\u0275listener("change",function(Nt){return Y.onChange(Nt.target.value)})("input",function(Nt){return Y.onChange(Nt.target.value)})("blur",function(){return Y.onTouched()})},features:[i.\u0275\u0275ProvidersFeature([Ji]),i.\u0275\u0275InheritDefinitionFeature]}),k})();const bi=new i.InjectionToken("NgModelWithFormControlWarning"),Xi={provide:mt,useExisting:(0,i.forwardRef)(()=>qi)};let qi=(()=>{class k extends mt{constructor(I,Y,Je,Nt){super(),this._ngModelWarningConfig=Nt,this.update=new i.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(I),this._setAsyncValidators(Y),this.valueAccessor=le(0,Je)}set isDisabled(I){}ngOnChanges(I){if(this._isControlChanged(I)){const Y=I.form.previousValue;Y&&Gt(Y,this,!1),vt(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}jt(I,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Gt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}_isControlChanged(I){return I.hasOwnProperty("form")}}return k._ngModelWarningSentOnce=!1,k.\u0275fac=function(I){return new(I||k)(i.\u0275\u0275directiveInject(K,10),i.\u0275\u0275directiveInject(ce,10),i.\u0275\u0275directiveInject(T,10),i.\u0275\u0275directiveInject(bi,8))},k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i.\u0275\u0275ProvidersFeature([Xi]),i.\u0275\u0275InheritDefinitionFeature,i.\u0275\u0275NgOnChangesFeature]}),k})();const fr={provide:ht,useExisting:(0,i.forwardRef)(()=>Bi)};let Bi=(()=>{class k extends ht{constructor(I,Y){super(),this.validators=I,this.asyncValidators=Y,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.EventEmitter,this._setValidators(I),this._setAsyncValidators(Y)}ngOnChanges(I){this._checkFormPresent(),I.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Z(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(I){const Y=this.form.get(I.path);return vt(Y,I),Y.updateValueAndValidity({emitEvent:!1}),this.directives.push(I),Y}getControl(I){return this.form.get(I.path)}removeControl(I){Gt(I.control||null,I,!1),je(this.directives,I)}addFormGroup(I){this._setUpFormContainer(I)}removeFormGroup(I){this._cleanUpFormContainer(I)}getFormGroup(I){return this.form.get(I.path)}addFormArray(I){this._setUpFormContainer(I)}removeFormArray(I){this._cleanUpFormContainer(I)}getFormArray(I){return this.form.get(I.path)}updateModel(I,Y){this.form.get(I.path).setValue(Y)}onSubmit(I){return this.submitted=!0,$e(this.form,this.directives),this.ngSubmit.emit(I),!1}onReset(){this.resetForm()}resetForm(I){this.form.reset(I),this.submitted=!1}_updateDomValue(){this.directives.forEach(I=>{const Y=I.control,Je=this.form.get(I.path);Y!==Je&&(Gt(Y||null,I),Se(Je)&&(vt(Je,I),I.control=Je))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(I){const Y=this.form.get(I.path);j(Y,I),Y.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(I){if(this.form){const Y=this.form.get(I.path);Y&&function ke(k,O){return Z(k,O)}(Y,I)&&Y.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){re(this.form,this),this._oldForm&&Z(this._oldForm,this)}_checkFormPresent(){}}return k.\u0275fac=function(I){return new(I||k)(i.\u0275\u0275directiveInject(K,10),i.\u0275\u0275directiveInject(ce,10))},k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["","formGroup",""]],hostBindings:function(I,Y){1&I&&i.\u0275\u0275listener("submit",function(Nt){return Y.onSubmit(Nt)})("reset",function(){return Y.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.\u0275\u0275ProvidersFeature([fr]),i.\u0275\u0275InheritDefinitionFeature,i.\u0275\u0275NgOnChangesFeature]}),k})();const Hr={provide:ht,useExisting:(0,i.forwardRef)(()=>oi)};let oi=(()=>{class k extends Rn{constructor(I,Y,Je){super(),this._parent=I,this._setValidators(Y),this._setAsyncValidators(Je)}_checkParentType(){xr(this._parent)}}return k.\u0275fac=function(I){return new(I||k)(i.\u0275\u0275directiveInject(ht,13),i.\u0275\u0275directiveInject(K,10),i.\u0275\u0275directiveInject(ce,10))},k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[i.\u0275\u0275ProvidersFeature([Hr]),i.\u0275\u0275InheritDefinitionFeature]}),k})();const Or={provide:ht,useExisting:(0,i.forwardRef)(()=>Si)};let Si=(()=>{class k extends ht{constructor(I,Y,Je){super(),this._parent=I,this._setValidators(Y),this._setAsyncValidators(Je)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Jt(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){xr(this._parent)}}return k.\u0275fac=function(I){return new(I||k)(i.\u0275\u0275directiveInject(ht,13),i.\u0275\u0275directiveInject(K,10),i.\u0275\u0275directiveInject(ce,10))},k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[i.\u0275\u0275ProvidersFeature([Or]),i.\u0275\u0275InheritDefinitionFeature]}),k})();function xr(k){return!(k instanceof oi||k instanceof Bi||k instanceof Si)}const Rr={provide:mt,useExisting:(0,i.forwardRef)(()=>ji)};let ji=(()=>{class k extends mt{constructor(I,Y,Je,Nt,Dn){super(),this._ngModelWarningConfig=Dn,this._added=!1,this.update=new i.EventEmitter,this._ngModelWarningSent=!1,this._parent=I,this._setValidators(Y),this._setAsyncValidators(Je),this.valueAccessor=le(0,Nt)}set isDisabled(I){}ngOnChanges(I){this._added||this._setUpControl(),jt(I,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}get path(){return Jt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return k._ngModelWarningSentOnce=!1,k.\u0275fac=function(I){return new(I||k)(i.\u0275\u0275directiveInject(ht,13),i.\u0275\u0275directiveInject(K,10),i.\u0275\u0275directiveInject(ce,10),i.\u0275\u0275directiveInject(T,10),i.\u0275\u0275directiveInject(bi,8))},k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i.\u0275\u0275ProvidersFeature([Rr]),i.\u0275\u0275InheritDefinitionFeature,i.\u0275\u0275NgOnChangesFeature]}),k})();const Ci={provide:T,useExisting:(0,i.forwardRef)(()=>Vi),multi:!0};function Ii(k,O){return null==k?`${O}`:(O&&"object"==typeof O&&(O="Object"),`${k}: ${O}`.slice(0,50))}let Vi=(()=>{class k extends D{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(I){this._compareWith=I}writeValue(I){this.value=I;const Je=Ii(this._getOptionId(I),I);this.setProperty("value",Je)}registerOnChange(I){this.onChange=Y=>{this.value=this._getOptionValue(Y),I(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(I){for(const Y of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(Y),I))return Y;return null}_getOptionValue(I){const Y=function Fr(k){return k.split(":")[0]}(I);return this._optionMap.has(Y)?this._optionMap.get(Y):I}}return k.\u0275fac=function(){let O;return function(Y){return(O||(O=i.\u0275\u0275getInheritedFactory(k)))(Y||k)}}(),k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(I,Y){1&I&&i.\u0275\u0275listener("change",function(Nt){return Y.onChange(Nt.target.value)})("blur",function(){return Y.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.\u0275\u0275ProvidersFeature([Ci]),i.\u0275\u0275InheritDefinitionFeature]}),k})(),pr=(()=>{class k{constructor(I,Y,Je){this._element=I,this._renderer=Y,this._select=Je,this._select&&(this.id=this._select._registerOption())}set ngValue(I){null!=this._select&&(this._select._optionMap.set(this.id,I),this._setElementValue(Ii(this.id,I)),this._select.writeValue(this._select.value))}set value(I){this._setElementValue(I),this._select&&this._select.writeValue(this._select.value)}_setElementValue(I){this._renderer.setProperty(this._element.nativeElement,"value",I)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return k.\u0275fac=function(I){return new(I||k)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.Renderer2),i.\u0275\u0275directiveInject(Vi,9))},k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),k})();const li={provide:T,useExisting:(0,i.forwardRef)(()=>Ai),multi:!0};function Pi(k,O){return null==k?`${O}`:("string"==typeof O&&(O=`'${O}'`),O&&"object"==typeof O&&(O="Object"),`${k}: ${O}`.slice(0,50))}let Ai=(()=>{class k extends D{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(I){this._compareWith=I}writeValue(I){let Y;if(this.value=I,Array.isArray(I)){const Je=I.map(Nt=>this._getOptionId(Nt));Y=(Nt,Dn)=>{Nt._setSelected(Je.indexOf(Dn.toString())>-1)}}else Y=(Je,Nt)=>{Je._setSelected(!1)};this._optionMap.forEach(Y)}registerOnChange(I){this.onChange=Y=>{const Je=[],Nt=Y.selectedOptions;if(void 0!==Nt){const Dn=Nt;for(let Wn=0;Wn<Dn.length;Wn++){const ir=this._getOptionValue(Dn[Wn].value);Je.push(ir)}}else{const Dn=Y.options;for(let Wn=0;Wn<Dn.length;Wn++){const Ei=Dn[Wn];if(Ei.selected){const ir=this._getOptionValue(Ei.value);Je.push(ir)}}}this.value=Je,I(Je)}}_registerOption(I){const Y=(this._idCounter++).toString();return this._optionMap.set(Y,I),Y}_getOptionId(I){for(const Y of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(Y)._value,I))return Y;return null}_getOptionValue(I){const Y=function Di(k){return k.split(":")[0]}(I);return this._optionMap.has(Y)?this._optionMap.get(Y)._value:I}}return k.\u0275fac=function(){let O;return function(Y){return(O||(O=i.\u0275\u0275getInheritedFactory(k)))(Y||k)}}(),k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(I,Y){1&I&&i.\u0275\u0275listener("change",function(Nt){return Y.onChange(Nt.target)})("blur",function(){return Y.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.\u0275\u0275ProvidersFeature([li]),i.\u0275\u0275InheritDefinitionFeature]}),k})(),mr=(()=>{class k{constructor(I,Y,Je){this._element=I,this._renderer=Y,this._select=Je,this._select&&(this.id=this._select._registerOption(this))}set ngValue(I){null!=this._select&&(this._value=I,this._setElementValue(Pi(this.id,I)),this._select.writeValue(this._select.value))}set value(I){this._select?(this._value=I,this._setElementValue(Pi(this.id,I)),this._select.writeValue(this._select.value)):this._setElementValue(I)}_setElementValue(I){this._renderer.setProperty(this._element.nativeElement,"value",I)}_setSelected(I){this._renderer.setProperty(this._element.nativeElement,"selected",I)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return k.\u0275fac=function(I){return new(I||k)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.Renderer2),i.\u0275\u0275directiveInject(Ai,9))},k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),k})();function $i(k){return"number"==typeof k?k:parseInt(k,10)}function tr(k){return"number"==typeof k?k:parseFloat(k)}let ei=(()=>{class k{constructor(){this._validator=Ie}ngOnChanges(I){if(this.inputName in I){const Y=this.normalizeInput(I[this.inputName].currentValue);this._enabled=this.enabled(Y),this._validator=this._enabled?this.createValidator(Y):Ie,this._onChange&&this._onChange()}}validate(I){return this._validator(I)}registerOnValidatorChange(I){this._onChange=I}enabled(I){return null!=I}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=i.\u0275\u0275defineDirective({type:k,features:[i.\u0275\u0275NgOnChangesFeature]}),k})();const gr={provide:K,useExisting:(0,i.forwardRef)(()=>Vn),multi:!0};let Vn=(()=>{class k extends ei{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=I=>tr(I),this.createValidator=I=>X(I)}}return k.\u0275fac=function(){let O;return function(Y){return(O||(O=i.\u0275\u0275getInheritedFactory(k)))(Y||k)}}(),k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(I,Y){2&I&&i.\u0275\u0275attribute("max",Y._enabled?Y.max:null)},inputs:{max:"max"},features:[i.\u0275\u0275ProvidersFeature([gr]),i.\u0275\u0275InheritDefinitionFeature]}),k})();const Hi={provide:K,useExisting:(0,i.forwardRef)(()=>xi),multi:!0};let xi=(()=>{class k extends ei{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=I=>tr(I),this.createValidator=I=>ye(I)}}return k.\u0275fac=function(){let O;return function(Y){return(O||(O=i.\u0275\u0275getInheritedFactory(k)))(Y||k)}}(),k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(I,Y){2&I&&i.\u0275\u0275attribute("min",Y._enabled?Y.min:null)},inputs:{min:"min"},features:[i.\u0275\u0275ProvidersFeature([Hi]),i.\u0275\u0275InheritDefinitionFeature]}),k})();const $n={provide:K,useExisting:(0,i.forwardRef)(()=>ci),multi:!0},nr={provide:K,useExisting:(0,i.forwardRef)(()=>gi),multi:!0};let ci=(()=>{class k extends ei{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=I=>function Oi(k){return null!=k&&!1!==k&&"false"!=`${k}`}(I),this.createValidator=I=>ve}enabled(I){return I}}return k.\u0275fac=function(){let O;return function(Y){return(O||(O=i.\u0275\u0275getInheritedFactory(k)))(Y||k)}}(),k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(I,Y){2&I&&i.\u0275\u0275attribute("required",Y._enabled?"":null)},inputs:{required:"required"},features:[i.\u0275\u0275ProvidersFeature([$n]),i.\u0275\u0275InheritDefinitionFeature]}),k})(),gi=(()=>{class k extends ci{constructor(){super(...arguments),this.createValidator=I=>Re}}return k.\u0275fac=function(){let O;return function(Y){return(O||(O=i.\u0275\u0275getInheritedFactory(k)))(Y||k)}}(),k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(I,Y){2&I&&i.\u0275\u0275attribute("required",Y._enabled?"":null)},features:[i.\u0275\u0275ProvidersFeature([nr]),i.\u0275\u0275InheritDefinitionFeature]}),k})();const _r={provide:K,useExisting:(0,i.forwardRef)(()=>Ri),multi:!0};let Ri=(()=>{class k extends ei{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=I=>""===I||!0===I||"true"===I,this.createValidator=I=>Qe}enabled(I){return I}}return k.\u0275fac=function(){let O;return function(Y){return(O||(O=i.\u0275\u0275getInheritedFactory(k)))(Y||k)}}(),k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[i.\u0275\u0275ProvidersFeature([_r]),i.\u0275\u0275InheritDefinitionFeature]}),k})();const yr={provide:K,useExisting:(0,i.forwardRef)(()=>vn),multi:!0};let vn=(()=>{class k extends ei{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=I=>$i(I),this.createValidator=I=>ot(I)}}return k.\u0275fac=function(){let O;return function(Y){return(O||(O=i.\u0275\u0275getInheritedFactory(k)))(Y||k)}}(),k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(I,Y){2&I&&i.\u0275\u0275attribute("minlength",Y._enabled?Y.minlength:null)},inputs:{minlength:"minlength"},features:[i.\u0275\u0275ProvidersFeature([yr]),i.\u0275\u0275InheritDefinitionFeature]}),k})();const F={provide:K,useExisting:(0,i.forwardRef)(()=>J),multi:!0};let J=(()=>{class k extends ei{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=I=>$i(I),this.createValidator=I=>Ve(I)}}return k.\u0275fac=function(){let O;return function(Y){return(O||(O=i.\u0275\u0275getInheritedFactory(k)))(Y||k)}}(),k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(I,Y){2&I&&i.\u0275\u0275attribute("maxlength",Y._enabled?Y.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i.\u0275\u0275ProvidersFeature([F]),i.\u0275\u0275InheritDefinitionFeature]}),k})();const R={provide:K,useExisting:(0,i.forwardRef)(()=>ne),multi:!0};let ne=(()=>{class k extends ei{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=I=>I,this.createValidator=I=>ue(I)}}return k.\u0275fac=function(){let O;return function(Y){return(O||(O=i.\u0275\u0275getInheritedFactory(k)))(Y||k)}}(),k.\u0275dir=i.\u0275\u0275defineDirective({type:k,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(I,Y){2&I&&i.\u0275\u0275attribute("pattern",Y._enabled?Y.pattern:null)},inputs:{pattern:"pattern"},features:[i.\u0275\u0275ProvidersFeature([R]),i.\u0275\u0275InheritDefinitionFeature]}),k})(),Ft=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=i.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=i.\u0275\u0275defineInjector({imports:[[hr]]}),k})(),pn=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=i.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=i.\u0275\u0275defineInjector({imports:[Ft]}),k})(),dn=(()=>{class k{static withConfig(I){return{ngModule:k,providers:[{provide:bi,useValue:I.warnOnNgModelWithFormControl}]}}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=i.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=i.\u0275\u0275defineInjector({imports:[Ft]}),k})(),an=(()=>{class k{group(I,Y=null){const Je=this._reduceControls(I);let Wn,Nt=null,Dn=null;return null!=Y&&(function tn(k){return void 0!==k.asyncValidators||void 0!==k.validators||void 0!==k.updateOn}(Y)?(Nt=null!=Y.validators?Y.validators:null,Dn=null!=Y.asyncValidators?Y.asyncValidators:null,Wn=null!=Y.updateOn?Y.updateOn:void 0):(Nt=null!=Y.validator?Y.validator:null,Dn=null!=Y.asyncValidator?Y.asyncValidator:null)),new on(Je,{asyncValidators:Dn,updateOn:Wn,validators:Nt})}control(I,Y,Je){return new Ut(I,Y,Je)}array(I,Y,Je){const Nt=I.map(Dn=>this._createControl(Dn));return new Rt(Nt,Y,Je)}_reduceControls(I){const Y={};return Object.keys(I).forEach(Je=>{Y[Je]=this._createControl(I[Je])}),Y}_createControl(I){return Se(I)||z(I)||Pe(I)?I:Array.isArray(I)?this.control(I[0],I.length>1?I[1]:null,I.length>2?I[2]:null):this.control(I)}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275prov=i.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:dn}),k})();const In=new i.Version("13.2.5")},7423:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{MatAnchor:()=>M,MatButton:()=>A,MatButtonModule:()=>C});var i=c(5e3),h=c(508),g=c(6360),d=c(5664);const s=["mat-button",""],v=["*"],S=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],p=(0,h.mixinColor)((0,h.mixinDisabled)((0,h.mixinDisableRipple)(class{constructor(N){this._elementRef=N}})));let A=(()=>{class N extends p{constructor(de,K,ce){super(de),this._focusMonitor=K,this._animationMode=ce,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const Oe of S)this._hasHostAttributes(Oe)&&this._getHostElement().classList.add(Oe);de.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(de,K){de?this._focusMonitor.focusVia(this._getHostElement(),de,K):this._getHostElement().focus(K)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...de){return de.some(K=>this._getHostElement().hasAttribute(K))}}return N.\u0275fac=function(de){return new(de||N)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(d.tE),i.\u0275\u0275directiveInject(g.ANIMATION_MODULE_TYPE,8))},N.\u0275cmp=i.\u0275\u0275defineComponent({type:N,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(de,K){if(1&de&&i.\u0275\u0275viewQuery(h.MatRipple,5),2&de){let ce;i.\u0275\u0275queryRefresh(ce=i.\u0275\u0275loadQuery())&&(K.ripple=ce.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(de,K){2&de&&(i.\u0275\u0275attribute("disabled",K.disabled||null),i.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===K._animationMode)("mat-button-disabled",K.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[i.\u0275\u0275InheritDefinitionFeature],attrs:s,ngContentSelectors:v,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(de,K){1&de&&(i.\u0275\u0275projectionDef(),i.\u0275\u0275elementStart(0,"span",0),i.\u0275\u0275projection(1),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(2,"span",1)(3,"span",2)),2&de&&(i.\u0275\u0275advance(2),i.\u0275\u0275classProp("mat-button-ripple-round",K.isRoundButton||K.isIconButton),i.\u0275\u0275property("matRippleDisabled",K._isRippleDisabled())("matRippleCentered",K.isIconButton)("matRippleTrigger",K._getHostElement()))},directives:[h.MatRipple],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),N})(),M=(()=>{class N extends A{constructor(de,K,ce,Oe){super(K,de,ce),this._ngZone=Oe,this._haltDisabledEvents=me=>{this.disabled&&(me.preventDefault(),me.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return N.\u0275fac=function(de){return new(de||N)(i.\u0275\u0275directiveInject(d.tE),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(g.ANIMATION_MODULE_TYPE,8),i.\u0275\u0275directiveInject(i.NgZone,8))},N.\u0275cmp=i.\u0275\u0275defineComponent({type:N,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(de,K){2&de&&(i.\u0275\u0275attribute("tabindex",K.disabled?-1:K.tabIndex||0)("disabled",K.disabled||null)("aria-disabled",K.disabled.toString()),i.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===K._animationMode)("mat-button-disabled",K.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[i.\u0275\u0275InheritDefinitionFeature],attrs:s,ngContentSelectors:v,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(de,K){1&de&&(i.\u0275\u0275projectionDef(),i.\u0275\u0275elementStart(0,"span",0),i.\u0275\u0275projection(1),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(2,"span",1)(3,"span",2)),2&de&&(i.\u0275\u0275advance(2),i.\u0275\u0275classProp("mat-button-ripple-round",K.isRoundButton||K.isIconButton),i.\u0275\u0275property("matRippleDisabled",K._isRippleDisabled())("matRippleCentered",K.isIconButton)("matRippleTrigger",K._getHostElement()))},directives:[h.MatRipple],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),N})(),C=(()=>{class N{}return N.\u0275fac=function(de){return new(de||N)},N.\u0275mod=i.\u0275\u0275defineNgModule({type:N}),N.\u0275inj=i.\u0275\u0275defineInjector({imports:[[h.MatRippleModule,h.MatCommonModule],h.MatCommonModule]}),N})()},9417:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{MAT_CHIPS_DEFAULT_OPTIONS:()=>qt,MAT_CHIP_AVATAR:()=>tt,MAT_CHIP_REMOVE:()=>_e,MAT_CHIP_TRAILING_ICON:()=>et,MatChip:()=>St,MatChipAvatar:()=>Wt,MatChipInput:()=>vt,MatChipList:()=>re,MatChipListChange:()=>un,MatChipRemove:()=>ln,MatChipSelectionChange:()=>Ce,MatChipTrailingIcon:()=>Lt,MatChipsModule:()=>L});var i=c(1159),h=c(5e3),g=c(508),d=c(3191),s=c(9808),v=c(6360),D=c(6758),T=c(6451),S=c(5698),p=c(2722),A=c(8675),M=c(925),C=c(5664),N=c(449),$=c(3075);c(1777);let He=(()=>{class P{}return P.\u0275fac=function(E){return new(E||P)},P.\u0275dir=h.\u0275\u0275defineDirective({type:P}),P})();var Xe=c(226);const De=["*"];class Ce{constructor(te,E,j=!1){this.source=te,this.selected=E,this.isUserInput=j}}const _e=new h.InjectionToken("MatChipRemove"),tt=new h.InjectionToken("MatChipAvatar"),et=new h.InjectionToken("MatChipTrailingIcon");class lt{constructor(te){this._elementRef=te}}const _t=(0,g.mixinTabIndex)((0,g.mixinColor)((0,g.mixinDisableRipple)(lt),"primary"),-1);let Wt=(()=>{class P{}return P.\u0275fac=function(E){return new(E||P)},P.\u0275dir=h.\u0275\u0275defineDirective({type:P,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"],features:[h.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:P}])]}),P})(),Lt=(()=>{class P{}return P.\u0275fac=function(E){return new(E||P)},P.\u0275dir=h.\u0275\u0275defineDirective({type:P,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:[1,"mat-chip-trailing-icon"],features:[h.\u0275\u0275ProvidersFeature([{provide:et,useExisting:P}])]}),P})(),St=(()=>{class P extends _t{constructor(E,j,ke,it,Bt,jt,Ne,$e){super(E),this._ngZone=j,this._changeDetectorRef=Bt,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new D.x,this._onBlur=new D.x,this.selectionChange=new h.EventEmitter,this.destroyed=new h.EventEmitter,this.removed=new h.EventEmitter,this._addHostClassName(),this._chipRippleTarget=jt.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new g.RippleRenderer(this,j,this._chipRippleTarget,ke),this._chipRipple.setupTriggerEvents(E),this.rippleConfig=it||{},this._animationsDisabled="NoopAnimations"===Ne,this.tabIndex=null!=$e&&parseInt($e)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(E){const j=(0,d.Ig)(E);j!==this._selected&&(this._selected=j,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(E){this._value=E}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(E){this._selectable=(0,d.Ig)(E)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(E){this._disabled=(0,d.Ig)(E)}get removable(){return this._removable}set removable(E){this._removable=(0,d.Ig)(E)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const E="mat-basic-chip",j=this._elementRef.nativeElement;j.hasAttribute(E)||j.tagName.toLowerCase()===E?j.classList.add(E):j.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(E=!1){return this._selected=!this.selected,this._dispatchSelectionChange(E),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(E){this.disabled&&E.preventDefault()}_handleKeydown(E){if(!this.disabled)switch(E.keyCode){case i.yY:case i.ZH:this.remove(),E.preventDefault();break;case i.L_:this.selectable&&this.toggleSelected(!0),E.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,S.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(E=!1){this.selectionChange.emit({source:this,isUserInput:E,selected:this._selected})}}return P.\u0275fac=function(E){return new(E||P)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.NgZone),h.\u0275\u0275directiveInject(M.t4),h.\u0275\u0275directiveInject(g.MAT_RIPPLE_GLOBAL_OPTIONS,8),h.\u0275\u0275directiveInject(h.ChangeDetectorRef),h.\u0275\u0275directiveInject(s.DOCUMENT),h.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8),h.\u0275\u0275injectAttribute("tabindex"))},P.\u0275dir=h.\u0275\u0275defineDirective({type:P,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(E,j,ke){if(1&E&&(h.\u0275\u0275contentQuery(ke,tt,5),h.\u0275\u0275contentQuery(ke,et,5),h.\u0275\u0275contentQuery(ke,_e,5)),2&E){let it;h.\u0275\u0275queryRefresh(it=h.\u0275\u0275loadQuery())&&(j.avatar=it.first),h.\u0275\u0275queryRefresh(it=h.\u0275\u0275loadQuery())&&(j.trailingIcon=it.first),h.\u0275\u0275queryRefresh(it=h.\u0275\u0275loadQuery())&&(j.removeIcon=it.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(E,j){1&E&&h.\u0275\u0275listener("click",function(it){return j._handleClick(it)})("keydown",function(it){return j._handleKeydown(it)})("focus",function(){return j.focus()})("blur",function(){return j._blur()}),2&E&&(h.\u0275\u0275attribute("tabindex",j.disabled?null:j.tabIndex)("disabled",j.disabled||null)("aria-disabled",j.disabled.toString())("aria-selected",j.ariaSelected),h.\u0275\u0275classProp("mat-chip-selected",j.selected)("mat-chip-with-avatar",j.avatar)("mat-chip-with-trailing-icon",j.trailingIcon||j.removeIcon)("mat-chip-disabled",j.disabled)("_mat-animation-noopable",j._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[h.\u0275\u0275InheritDefinitionFeature]}),P})(),ln=(()=>{class P{constructor(E,j){this._parentChip=E,"BUTTON"===j.nativeElement.nodeName&&j.nativeElement.setAttribute("type","button")}_handleClick(E){const j=this._parentChip;j.removable&&!j.disabled&&j.remove(),E.stopPropagation()}}return P.\u0275fac=function(E){return new(E||P)(h.\u0275\u0275directiveInject(St),h.\u0275\u0275directiveInject(h.ElementRef))},P.\u0275dir=h.\u0275\u0275defineDirective({type:P,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(E,j){1&E&&h.\u0275\u0275listener("click",function(it){return j._handleClick(it)})},features:[h.\u0275\u0275ProvidersFeature([{provide:_e,useExisting:P}])]}),P})();const qt=new h.InjectionToken("mat-chips-default-options");let Jt=0,vt=(()=>{class P{constructor(E,j){this._elementRef=E,this._defaultOptions=j,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new h.EventEmitter,this.placeholder="",this.id="mat-chip-list-input-"+Jt++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(E){E&&(this._chipList=E,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(E){this._addOnBlur=(0,d.Ig)(E)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(E){this._disabled=(0,d.Ig)(E)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(E){if(E){if(E.keyCode===i.Mf&&!(0,i.Vb)(E,"shiftKey")&&this._chipList._allowFocusEscape(),E.keyCode===i.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void E.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(E)}_keyup(E){!this._focusLastChipOnBackspace&&E.keyCode===i.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,E.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(E){!this.inputElement.value&&!!E&&this._chipList._keydown(E),(!E||this._isSeparatorKey(E))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==E||E.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(E){this.inputElement.focus(E)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(E){return!(0,i.Vb)(E)&&new Set(this.separatorKeyCodes).has(E.keyCode)}}return P.\u0275fac=function(E){return new(E||P)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(qt))},P.\u0275dir=h.\u0275\u0275defineDirective({type:P,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(E,j){1&E&&h.\u0275\u0275listener("keydown",function(it){return j._keydown(it)})("keyup",function(it){return j._keyup(it)})("blur",function(){return j._blur()})("focus",function(){return j._focus()})("input",function(){return j._onInput()}),2&E&&(h.\u0275\u0275hostProperty("id",j.id),h.\u0275\u0275attribute("disabled",j.disabled||null)("placeholder",j.placeholder||null)("aria-invalid",j._chipList&&j._chipList.ngControl?j._chipList.ngControl.invalid:null)("aria-required",j._chipList&&j._chipList.required||null))},inputs:{chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[h.\u0275\u0275NgOnChangesFeature]}),P})();const Gt=(0,g.mixinErrorState)(class{constructor(P,te,E,j){this._defaultErrorStateMatcher=P,this._parentForm=te,this._parentFormGroup=E,this.ngControl=j}});let Ht=0;class un{constructor(te,E){this.source=te,this.value=E}}let re=(()=>{class P extends Gt{constructor(E,j,ke,it,Bt,jt,Ne){super(jt,it,Bt,Ne),this._elementRef=E,this._changeDetectorRef=j,this._dir=ke,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new D.x,this._uid="mat-chip-list-"+Ht++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=($e,le)=>$e===le,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new h.EventEmitter,this.valueChange=new h.EventEmitter,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var E,j;return this.multiple?(null===(E=this._selectionModel)||void 0===E?void 0:E.selected)||[]:null===(j=this._selectionModel)||void 0===j?void 0:j.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(E){this._multiple=(0,d.Ig)(E),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(E){this._compareWith=E,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(E){this.writeValue(E),this._value=E}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var E,j,ke,it;return null!==(it=null!==(E=this._required)&&void 0!==E?E:null===(ke=null===(j=this.ngControl)||void 0===j?void 0:j.control)||void 0===ke?void 0:ke.hasValidator($.Validators.required))&&void 0!==it&&it}set required(E){this._required=(0,d.Ig)(E),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(E){this._placeholder=E,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(E){this._disabled=(0,d.Ig)(E),this._syncChipsState()}get selectable(){return this._selectable}set selectable(E){this._selectable=(0,d.Ig)(E),this.chips&&this.chips.forEach(j=>j.chipListSelectable=this._selectable)}set tabIndex(E){this._userTabIndex=E,this._tabIndex=E}get chipSelectionChanges(){return(0,T.T)(...this.chips.map(E=>E.selectionChange))}get chipFocusChanges(){return(0,T.T)(...this.chips.map(E=>E._onFocus))}get chipBlurChanges(){return(0,T.T)(...this.chips.map(E=>E._onBlur))}get chipRemoveChanges(){return(0,T.T)(...this.chips.map(E=>E.destroyed))}ngAfterContentInit(){this._keyManager=new C.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,p.R)(this._destroyed)).subscribe(E=>this._keyManager.withHorizontalOrientation(E)),this._keyManager.tabOut.pipe((0,p.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,A.O)(null),(0,p.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new N.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(E){this._chipInput=E,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",E.id)}setDescribedByIds(E){this._ariaDescribedby=E.join(" ")}writeValue(E){this.chips&&this._setSelectionByValue(E,!1)}registerOnChange(E){this._onChange=E}registerOnTouched(E){this._onTouched=E}setDisabledState(E){this.disabled=E,this.stateChanges.next()}onContainerClick(E){this._originatesFromChip(E)||this.focus()}focus(E){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(E),this.stateChanges.next()))}_focusInput(E){this._chipInput&&this._chipInput.focus(E)}_keydown(E){const j=E.target;j&&j.classList.contains("mat-chip")&&(this._keyManager.onKeydown(E),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const E=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(E)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(E){return E>=0&&E<this.chips.length}_setSelectionByValue(E,j=!0){if(this._clearSelection(),this.chips.forEach(ke=>ke.deselect()),Array.isArray(E))E.forEach(ke=>this._selectValue(ke,j)),this._sortValues();else{const ke=this._selectValue(E,j);ke&&j&&this._keyManager.setActiveItem(ke)}}_selectValue(E,j=!0){const ke=this.chips.find(it=>null!=it.value&&this._compareWith(it.value,E));return ke&&(j?ke.selectViaInteraction():ke.select(),this._selectionModel.select(ke)),ke}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(E){this._selectionModel.clear(),this.chips.forEach(j=>{j!==E&&j.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(E=>{E.selected&&this._selectionModel.select(E)}),this.stateChanges.next())}_propagateChanges(E){let j=null;j=Array.isArray(this.selected)?this.selected.map(ke=>ke.value):this.selected?this.selected.value:E,this._value=j,this.change.emit(new un(this,j)),this.valueChange.emit(j),this._onChange(j),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(E=>{E.source.selected?this._selectionModel.select(E.source):this._selectionModel.deselect(E.source),this.multiple||this.chips.forEach(j=>{!this._selectionModel.isSelected(j)&&j.selected&&j.deselect()}),E.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(E=>{let j=this.chips.toArray().indexOf(E.chip);this._isValidIndex(j)&&this._keyManager.updateActiveItem(j),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(E=>{const j=E.chip,ke=this.chips.toArray().indexOf(E.chip);this._isValidIndex(ke)&&j._hasFocus&&(this._lastDestroyedChipIndex=ke)})}_originatesFromChip(E){let j=E.target;for(;j&&j!==this._elementRef.nativeElement;){if(j.classList.contains("mat-chip"))return!0;j=j.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(E=>E._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(E=>{E._chipListDisabled=this._disabled,E._chipListMultiple=this.multiple})}}return P.\u0275fac=function(E){return new(E||P)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.ChangeDetectorRef),h.\u0275\u0275directiveInject(Xe.Is,8),h.\u0275\u0275directiveInject($.NgForm,8),h.\u0275\u0275directiveInject($.FormGroupDirective,8),h.\u0275\u0275directiveInject(g.ErrorStateMatcher),h.\u0275\u0275directiveInject($.NgControl,10))},P.\u0275cmp=h.\u0275\u0275defineComponent({type:P,selectors:[["mat-chip-list"]],contentQueries:function(E,j,ke){if(1&E&&h.\u0275\u0275contentQuery(ke,St,5),2&E){let it;h.\u0275\u0275queryRefresh(it=h.\u0275\u0275loadQuery())&&(j.chips=it)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(E,j){1&E&&h.\u0275\u0275listener("focus",function(){return j.focus()})("blur",function(){return j._blur()})("keydown",function(it){return j._keydown(it)}),2&E&&(h.\u0275\u0275hostProperty("id",j._uid),h.\u0275\u0275attribute("tabindex",j.disabled?null:j._tabIndex)("aria-describedby",j._ariaDescribedby||null)("aria-required",j.role?j.required:null)("aria-disabled",j.disabled.toString())("aria-invalid",j.errorState)("aria-multiselectable",j.multiple)("role",j.role)("aria-orientation",j.ariaOrientation),h.\u0275\u0275classProp("mat-chip-list-disabled",j.disabled)("mat-chip-list-invalid",j.errorState)("mat-chip-list-required",j.required))},inputs:{errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[h.\u0275\u0275ProvidersFeature([{provide:He,useExisting:P}]),h.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:De,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(E,j){1&E&&(h.\u0275\u0275projectionDef(),h.\u0275\u0275elementStart(0,"div",0),h.\u0275\u0275projection(1),h.\u0275\u0275elementEnd())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),P})(),L=(()=>{class P{}return P.\u0275fac=function(E){return new(E||P)},P.\u0275mod=h.\u0275\u0275defineNgModule({type:P}),P.\u0275inj=h.\u0275\u0275defineInjector({providers:[g.ErrorStateMatcher,{provide:qt,useValue:{separatorKeyCodes:[i.K5]}}],imports:[[g.MatCommonModule]]}),P})()},508:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{AnimationCurves:()=>Oe,AnimationDurations:()=>me,DateAdapter:()=>Ze,ErrorStateMatcher:()=>we,MATERIAL_SANITY_CHECKS:()=>X,MAT_DATE_FORMATS:()=>ge,MAT_DATE_LOCALE:()=>xe,MAT_DATE_LOCALE_FACTORY:()=>fe,MAT_NATIVE_DATE_FORMATS:()=>Le,MAT_OPTGROUP:()=>Lt,MAT_OPTION_PARENT_COMPONENT:()=>et,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Xe,MatCommonModule:()=>ve,MatLine:()=>Fe,MatLineModule:()=>mt,MatNativeDateModule:()=>q,MatOptgroup:()=>St,MatOption:()=>vt,MatOptionModule:()=>un,MatOptionSelectionChange:()=>qt,MatPseudoCheckbox:()=>_e,MatPseudoCheckboxModule:()=>tt,MatRipple:()=>De,MatRippleModule:()=>Ce,NativeDateAdapter:()=>gt,NativeDateModule:()=>qe,RippleRef:()=>ht,RippleRenderer:()=>Ae,ShowOnDirtyErrorStateMatcher:()=>he,VERSION:()=>ce,_MatOptgroupBase:()=>Wt,_MatOptionBase:()=>Jt,_countGroupLabelsBeforeOption:()=>Gt,_getOptionScrollPosition:()=>Ht,defaultRippleAnimationConfig:()=>wt,mixinColor:()=>ue,mixinDisableRipple:()=>Ie,mixinDisabled:()=>Ve,mixinErrorState:()=>pe,mixinInitialized:()=>ee,mixinTabIndex:()=>H,setLines:()=>be});var i=c(5e3),h=c(226),d=c(9808),s=c(925),v=c(5664),D=c(3191),T=c(6758),S=c(9751),p=c(8675),A=c(6360),M=c(1159);const C=["*",[["mat-option"],["ng-container"]]],N=["*","mat-option, ng-container"];function $(re,Z){if(1&re&&i.\u0275\u0275element(0,"mat-pseudo-checkbox",4),2&re){const L=i.\u0275\u0275nextContext();i.\u0275\u0275property("state",L.selected?"checked":"unchecked")("disabled",L.disabled)}}function de(re,Z){if(1&re&&(i.\u0275\u0275elementStart(0,"span",5),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&re){const L=i.\u0275\u0275nextContext();i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1("(",L.group.label,")")}}const K=["*"],ce=new i.Version("13.2.5");let Oe=(()=>{class re{}return re.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",re.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",re.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",re.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",re})(),me=(()=>{class re{}return re.COMPLEX="375ms",re.ENTERING="225ms",re.EXITING="195ms",re})();const X=new i.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function ye(){return!0}});let ve=(()=>{class re{constructor(L,P,te){this._sanityChecks=P,this._document=te,this._hasDoneGlobalChecks=!1,L._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(L){return!(0,s.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[L])}}return re.\u0275fac=function(L){return new(L||re)(i.\u0275\u0275inject(v.qm),i.\u0275\u0275inject(X,8),i.\u0275\u0275inject(d.DOCUMENT))},re.\u0275mod=i.\u0275\u0275defineNgModule({type:re}),re.\u0275inj=i.\u0275\u0275defineInjector({imports:[[h.vT],h.vT]}),re})();function Ve(re){return class extends re{constructor(...Z){super(...Z),this._disabled=!1}get disabled(){return this._disabled}set disabled(Z){this._disabled=(0,D.Ig)(Z)}}}function ue(re,Z){return class extends re{constructor(...L){super(...L),this.defaultColor=Z,this.color=Z}get color(){return this._color}set color(L){const P=L||this.defaultColor;P!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),P&&this._elementRef.nativeElement.classList.add(`mat-${P}`),this._color=P)}}}function Ie(re){return class extends re{constructor(...Z){super(...Z),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Z){this._disableRipple=(0,D.Ig)(Z)}}}function H(re,Z=0){return class extends re{constructor(...L){super(...L),this._tabIndex=Z,this.defaultTabIndex=Z}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(L){this._tabIndex=null!=L?(0,D.su)(L):this.defaultTabIndex}}}function pe(re){return class extends re{constructor(...Z){super(...Z),this.stateChanges=new T.x,this.errorState=!1}updateErrorState(){const Z=this.errorState,E=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);E!==Z&&(this.errorState=E,this.stateChanges.next())}}}function ee(re){return class extends re{constructor(...Z){super(...Z),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new S.y(L=>{this._isInitialized?this._notifySubscriber(L):this._pendingSubscribers.push(L)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Z){Z.next(),Z.complete()}}}const xe=new i.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:fe});function fe(){return(0,i.inject)(i.LOCALE_ID)}class Ze{constructor(){this._localeChanges=new T.x,this.localeChanges=this._localeChanges}getValidDateOrNull(Z){return this.isDateInstance(Z)&&this.isValid(Z)?Z:null}deserialize(Z){return null==Z||this.isDateInstance(Z)&&this.isValid(Z)?Z:this.invalid()}setLocale(Z){this.locale=Z,this._localeChanges.next()}compareDate(Z,L){return this.getYear(Z)-this.getYear(L)||this.getMonth(Z)-this.getMonth(L)||this.getDate(Z)-this.getDate(L)}sameDate(Z,L){if(Z&&L){let P=this.isValid(Z),te=this.isValid(L);return P&&te?!this.compareDate(Z,L):P==te}return Z==L}clampDate(Z,L,P){return L&&this.compareDate(Z,L)<0?L:P&&this.compareDate(Z,P)>0?P:Z}}const ge=new i.InjectionToken("mat-date-formats"),He=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function at(re,Z){const L=Array(re);for(let P=0;P<re;P++)L[P]=Z(P);return L}let gt=(()=>{class re extends Ze{constructor(L,P){super(),this.useUtcForDisplay=!1,super.setLocale(L)}getYear(L){return L.getFullYear()}getMonth(L){return L.getMonth()}getDate(L){return L.getDate()}getDayOfWeek(L){return L.getDay()}getMonthNames(L){const P=new Intl.DateTimeFormat(this.locale,{month:L,timeZone:"utc"});return at(12,te=>this._format(P,new Date(2017,te,1)))}getDateNames(){const L=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return at(31,P=>this._format(L,new Date(2017,0,P+1)))}getDayOfWeekNames(L){const P=new Intl.DateTimeFormat(this.locale,{weekday:L,timeZone:"utc"});return at(7,te=>this._format(P,new Date(2017,0,te+1)))}getYearName(L){const P=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(P,L)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(L){return this.getDate(this._createDateWithOverflow(this.getYear(L),this.getMonth(L)+1,0))}clone(L){return new Date(L.getTime())}createDate(L,P,te){let E=this._createDateWithOverflow(L,P,te);return E.getMonth(),E}today(){return new Date}parse(L){return"number"==typeof L?new Date(L):L?new Date(Date.parse(L)):null}format(L,P){if(!this.isValid(L))throw Error("NativeDateAdapter: Cannot format invalid date.");const te=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},P),{timeZone:"utc"}));return this._format(te,L)}addCalendarYears(L,P){return this.addCalendarMonths(L,12*P)}addCalendarMonths(L,P){let te=this._createDateWithOverflow(this.getYear(L),this.getMonth(L)+P,this.getDate(L));return this.getMonth(te)!=((this.getMonth(L)+P)%12+12)%12&&(te=this._createDateWithOverflow(this.getYear(te),this.getMonth(te),0)),te}addCalendarDays(L,P){return this._createDateWithOverflow(this.getYear(L),this.getMonth(L),this.getDate(L)+P)}toIso8601(L){return[L.getUTCFullYear(),this._2digit(L.getUTCMonth()+1),this._2digit(L.getUTCDate())].join("-")}deserialize(L){if("string"==typeof L){if(!L)return null;if(He.test(L)){let P=new Date(L);if(this.isValid(P))return P}}return super.deserialize(L)}isDateInstance(L){return L instanceof Date}isValid(L){return!isNaN(L.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(L,P,te){const E=new Date;return E.setFullYear(L,P,te),E.setHours(0,0,0,0),E}_2digit(L){return("00"+L).slice(-2)}_format(L,P){const te=new Date;return te.setUTCFullYear(P.getFullYear(),P.getMonth(),P.getDate()),te.setUTCHours(P.getHours(),P.getMinutes(),P.getSeconds(),P.getMilliseconds()),L.format(te)}}return re.\u0275fac=function(L){return new(L||re)(i.\u0275\u0275inject(xe,8),i.\u0275\u0275inject(s.t4))},re.\u0275prov=i.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac}),re})();const Le={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let qe=(()=>{class re{}return re.\u0275fac=function(L){return new(L||re)},re.\u0275mod=i.\u0275\u0275defineNgModule({type:re}),re.\u0275inj=i.\u0275\u0275defineInjector({providers:[{provide:Ze,useClass:gt}]}),re})(),q=(()=>{class re{}return re.\u0275fac=function(L){return new(L||re)},re.\u0275mod=i.\u0275\u0275defineNgModule({type:re}),re.\u0275inj=i.\u0275\u0275defineInjector({providers:[{provide:ge,useValue:Le}],imports:[[qe]]}),re})(),he=(()=>{class re{isErrorState(L,P){return!!(L&&L.invalid&&(L.dirty||P&&P.submitted))}}return re.\u0275fac=function(L){return new(L||re)},re.\u0275prov=i.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac}),re})(),we=(()=>{class re{isErrorState(L,P){return!!(L&&L.invalid&&(L.touched||P&&P.submitted))}}return re.\u0275fac=function(L){return new(L||re)},re.\u0275prov=i.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac,providedIn:"root"}),re})(),Fe=(()=>{class re{}return re.\u0275fac=function(L){return new(L||re)},re.\u0275dir=i.\u0275\u0275defineDirective({type:re,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),re})();function be(re,Z,L="mat"){re.changes.pipe((0,p.O)(re)).subscribe(({length:P})=>{Ge(Z,`${L}-2-line`,!1),Ge(Z,`${L}-3-line`,!1),Ge(Z,`${L}-multi-line`,!1),2===P||3===P?Ge(Z,`${L}-${P}-line`,!0):P>3&&Ge(Z,`${L}-multi-line`,!0)})}function Ge(re,Z,L){re.nativeElement.classList.toggle(Z,L)}let mt=(()=>{class re{}return re.\u0275fac=function(L){return new(L||re)},re.\u0275mod=i.\u0275\u0275defineNgModule({type:re}),re.\u0275inj=i.\u0275\u0275defineInjector({imports:[[ve],ve]}),re})();class ht{constructor(Z,L,P){this._renderer=Z,this.element=L,this.config=P,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const wt={enterDuration:225,exitDuration:150},Ke=(0,s.i$)({passive:!0}),B=["mousedown","touchstart"],ie=["mouseup","mouseleave","touchend","touchcancel"];class Ae{constructor(Z,L,P,te){this._target=Z,this._ngZone=L,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,te.isBrowser&&(this._containerElement=(0,D.fI)(P))}fadeInRipple(Z,L,P={}){const te=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),E=Object.assign(Object.assign({},wt),P.animation);P.centered&&(Z=te.left+te.width/2,L=te.top+te.height/2);const j=P.radius||function Me(re,Z,L){const P=Math.max(Math.abs(re-L.left),Math.abs(re-L.right)),te=Math.max(Math.abs(Z-L.top),Math.abs(Z-L.bottom));return Math.sqrt(P*P+te*te)}(Z,L,te),ke=Z-te.left,it=L-te.top,Bt=E.enterDuration,jt=document.createElement("div");jt.classList.add("mat-ripple-element"),jt.style.left=ke-j+"px",jt.style.top=it-j+"px",jt.style.height=2*j+"px",jt.style.width=2*j+"px",null!=P.color&&(jt.style.backgroundColor=P.color),jt.style.transitionDuration=`${Bt}ms`,this._containerElement.appendChild(jt),function ae(re){window.getComputedStyle(re).getPropertyValue("opacity")}(jt),jt.style.transform="scale(1)";const Ne=new ht(this,jt,P);return Ne.state=0,this._activeRipples.add(Ne),P.persistent||(this._mostRecentTransientRipple=Ne),this._runTimeoutOutsideZone(()=>{const $e=Ne===this._mostRecentTransientRipple;Ne.state=1,!P.persistent&&(!$e||!this._isPointerDown)&&Ne.fadeOut()},Bt),Ne}fadeOutRipple(Z){const L=this._activeRipples.delete(Z);if(Z===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!L)return;const P=Z.element,te=Object.assign(Object.assign({},wt),Z.config.animation);P.style.transitionDuration=`${te.exitDuration}ms`,P.style.opacity="0",Z.state=2,this._runTimeoutOutsideZone(()=>{Z.state=3,P.remove()},te.exitDuration)}fadeOutAll(){this._activeRipples.forEach(Z=>Z.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(Z=>{Z.config.persistent||Z.fadeOut()})}setupTriggerEvents(Z){const L=(0,D.fI)(Z);!L||L===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=L,this._registerEvents(B))}handleEvent(Z){"mousedown"===Z.type?this._onMousedown(Z):"touchstart"===Z.type?this._onTouchStart(Z):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(ie),this._pointerUpEventsRegistered=!0)}_onMousedown(Z){const L=(0,v.X6)(Z),P=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!L&&!P&&(this._isPointerDown=!0,this.fadeInRipple(Z.clientX,Z.clientY,this._target.rippleConfig))}_onTouchStart(Z){if(!this._target.rippleDisabled&&!(0,v.yG)(Z)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const L=Z.changedTouches;for(let P=0;P<L.length;P++)this.fadeInRipple(L[P].clientX,L[P].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(Z=>{!Z.config.persistent&&(1===Z.state||Z.config.terminateOnPointerUp&&0===Z.state)&&Z.fadeOut()}))}_runTimeoutOutsideZone(Z,L=0){this._ngZone.runOutsideAngular(()=>setTimeout(Z,L))}_registerEvents(Z){this._ngZone.runOutsideAngular(()=>{Z.forEach(L=>{this._triggerElement.addEventListener(L,this,Ke)})})}_removeTriggerEvents(){this._triggerElement&&(B.forEach(Z=>{this._triggerElement.removeEventListener(Z,this,Ke)}),this._pointerUpEventsRegistered&&ie.forEach(Z=>{this._triggerElement.removeEventListener(Z,this,Ke)}))}}const Xe=new i.InjectionToken("mat-ripple-global-options");let De=(()=>{class re{constructor(L,P,te,E,j){this._elementRef=L,this._animationMode=j,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=E||{},this._rippleRenderer=new Ae(this,P,L,te)}get disabled(){return this._disabled}set disabled(L){L&&this.fadeOutAllNonPersistent(),this._disabled=L,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(L){this._trigger=L,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(L,P=0,te){return"number"==typeof L?this._rippleRenderer.fadeInRipple(L,P,Object.assign(Object.assign({},this.rippleConfig),te)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),L))}}return re.\u0275fac=function(L){return new(L||re)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.NgZone),i.\u0275\u0275directiveInject(s.t4),i.\u0275\u0275directiveInject(Xe,8),i.\u0275\u0275directiveInject(A.ANIMATION_MODULE_TYPE,8))},re.\u0275dir=i.\u0275\u0275defineDirective({type:re,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(L,P){2&L&&i.\u0275\u0275classProp("mat-ripple-unbounded",P.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),re})(),Ce=(()=>{class re{}return re.\u0275fac=function(L){return new(L||re)},re.\u0275mod=i.\u0275\u0275defineNgModule({type:re}),re.\u0275inj=i.\u0275\u0275defineInjector({imports:[[ve],ve]}),re})(),_e=(()=>{class re{constructor(L){this._animationMode=L,this.state="unchecked",this.disabled=!1}}return re.\u0275fac=function(L){return new(L||re)(i.\u0275\u0275directiveInject(A.ANIMATION_MODULE_TYPE,8))},re.\u0275cmp=i.\u0275\u0275defineComponent({type:re,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(L,P){2&L&&i.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===P.state)("mat-pseudo-checkbox-checked","checked"===P.state)("mat-pseudo-checkbox-disabled",P.disabled)("_mat-animation-noopable","NoopAnimations"===P._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(L,P){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),re})(),tt=(()=>{class re{}return re.\u0275fac=function(L){return new(L||re)},re.\u0275mod=i.\u0275\u0275defineNgModule({type:re}),re.\u0275inj=i.\u0275\u0275defineInjector({imports:[[ve]]}),re})();const et=new i.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),lt=Ve(class{});let _t=0,Wt=(()=>{class re extends lt{constructor(L){var P;super(),this._labelId="mat-optgroup-label-"+_t++,this._inert=null!==(P=null==L?void 0:L.inertGroups)&&void 0!==P&&P}}return re.\u0275fac=function(L){return new(L||re)(i.\u0275\u0275directiveInject(et,8))},re.\u0275dir=i.\u0275\u0275defineDirective({type:re,inputs:{label:"label"},features:[i.\u0275\u0275InheritDefinitionFeature]}),re})();const Lt=new i.InjectionToken("MatOptgroup");let St=(()=>{class re extends Wt{}return re.\u0275fac=function(){let Z;return function(P){return(Z||(Z=i.\u0275\u0275getInheritedFactory(re)))(P||re)}}(),re.\u0275cmp=i.\u0275\u0275defineComponent({type:re,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(L,P){2&L&&(i.\u0275\u0275attribute("role",P._inert?null:"group")("aria-disabled",P._inert?null:P.disabled.toString())("aria-labelledby",P._inert?null:P._labelId),i.\u0275\u0275classProp("mat-optgroup-disabled",P.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[i.\u0275\u0275ProvidersFeature([{provide:Lt,useExisting:re}]),i.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:N,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(L,P){1&L&&(i.\u0275\u0275projectionDef(C),i.\u0275\u0275elementStart(0,"span",0),i.\u0275\u0275text(1),i.\u0275\u0275projection(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275projection(3,1)),2&L&&(i.\u0275\u0275property("id",P._labelId),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1("",P.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),re})(),ln=0;class qt{constructor(Z,L=!1){this.source=Z,this.isUserInput=L}}let Jt=(()=>{class re{constructor(L,P,te,E){this._element=L,this._changeDetectorRef=P,this._parent=te,this.group=E,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ln++,this.onSelectionChange=new i.EventEmitter,this._stateChanges=new T.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(L){this._disabled=(0,D.Ig)(L)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(L,P){const te=this._getHostElement();"function"==typeof te.focus&&te.focus(P)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(L){(L.keyCode===M.K5||L.keyCode===M.L_)&&!(0,M.Vb)(L)&&(this._selectViaInteraction(),L.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const L=this.viewValue;L!==this._mostRecentViewValue&&(this._mostRecentViewValue=L,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(L=!1){this.onSelectionChange.emit(new qt(this,L))}}return re.\u0275fac=function(L){i.\u0275\u0275invalidFactory()},re.\u0275dir=i.\u0275\u0275defineDirective({type:re,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),re})(),vt=(()=>{class re extends Jt{constructor(L,P,te,E){super(L,P,te,E)}}return re.\u0275fac=function(L){return new(L||re)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.ChangeDetectorRef),i.\u0275\u0275directiveInject(et,8),i.\u0275\u0275directiveInject(Lt,8))},re.\u0275cmp=i.\u0275\u0275defineComponent({type:re,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(L,P){1&L&&i.\u0275\u0275listener("click",function(){return P._selectViaInteraction()})("keydown",function(E){return P._handleKeydown(E)}),2&L&&(i.\u0275\u0275hostProperty("id",P.id),i.\u0275\u0275attribute("tabindex",P._getTabIndex())("aria-selected",P._getAriaSelected())("aria-disabled",P.disabled.toString()),i.\u0275\u0275classProp("mat-selected",P.selected)("mat-option-multiple",P.multiple)("mat-active",P.active)("mat-option-disabled",P.disabled))},exportAs:["matOption"],features:[i.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:K,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(L,P){1&L&&(i.\u0275\u0275projectionDef(),i.\u0275\u0275template(0,$,1,2,"mat-pseudo-checkbox",0),i.\u0275\u0275elementStart(1,"span",1),i.\u0275\u0275projection(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(3,de,2,1,"span",2),i.\u0275\u0275element(4,"div",3)),2&L&&(i.\u0275\u0275property("ngIf",P.multiple),i.\u0275\u0275advance(3),i.\u0275\u0275property("ngIf",P.group&&P.group._inert),i.\u0275\u0275advance(1),i.\u0275\u0275property("matRippleTrigger",P._getHostElement())("matRippleDisabled",P.disabled||P.disableRipple))},directives:[_e,d.NgIf,De],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),re})();function Gt(re,Z,L){if(L.length){let P=Z.toArray(),te=L.toArray(),E=0;for(let j=0;j<re+1;j++)P[j].group&&P[j].group===te[E]&&E++;return E}return 0}function Ht(re,Z,L,P){return re<L?re:re+Z>L+P?Math.max(0,re-P+Z):L}let un=(()=>{class re{}return re.\u0275fac=function(L){return new(L||re)},re.\u0275mod=i.\u0275\u0275defineNgModule({type:re}),re.\u0275inj=i.\u0275\u0275defineInjector({imports:[[Ce,d.CommonModule,ve,tt]]}),re})()},8966:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{MAT_DIALOG_DATA:()=>ue,MAT_DIALOG_DEFAULT_OPTIONS:()=>Ie,MAT_DIALOG_SCROLL_STRATEGY:()=>H,MAT_DIALOG_SCROLL_STRATEGY_FACTORY:()=>pe,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER:()=>xe,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>ee,MatDialog:()=>Ze,MatDialogActions:()=>qe,MatDialogClose:()=>at,MatDialogConfig:()=>me,MatDialogContainer:()=>Re,MatDialogContent:()=>Le,MatDialogModule:()=>he,MatDialogRef:()=>ot,MatDialogTitle:()=>gt,_MatDialogBase:()=>fe,_MatDialogContainerBase:()=>ve,_closeDialogVia:()=>Ve,matDialogAnimations:()=>ye,throwMatDialogContentAlreadyAttachedError:()=>X});var i=c(1314),h=c(7429),g=c(5e3),d=c(508),s=c(226),v=c(6758),D=c(9770),T=c(6921),S=c(9646),p=c(9300),A=c(5698),M=c(8675),C=c(925),N=c(9808),$=c(1777),de=c(5664),K=c(1159),ce=c(6360);function Oe(we,Fe){}class me{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const ye={dialogContainer:(0,$.X$)("dialogContainer",[(0,$.SB)("void, exit",(0,$.oB)({opacity:0,transform:"scale(0.7)"})),(0,$.SB)("enter",(0,$.oB)({transform:"none"})),(0,$.eR)("* => enter",(0,$.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,$.oB)({transform:"none",opacity:1}))),(0,$.eR)("* => void, * => exit",(0,$.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,$.oB)({opacity:0})))])};function X(){throw Error("Attempting to attach dialog content after content is already attached")}let ve=(()=>{class we extends h.en{constructor(be,Ge,mt,ht,wt,dt,Ke,B){super(),this._elementRef=be,this._focusTrapFactory=Ge,this._changeDetectorRef=mt,this._config=wt,this._interactivityChecker=dt,this._ngZone=Ke,this._focusMonitor=B,this._animationStateChanged=new g.EventEmitter,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=ie=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(ie)),this._ariaLabelledBy=wt.ariaLabelledBy||null,this._document=ht}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(be){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(be)}attachTemplatePortal(be){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(be)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(be,Ge){this._interactivityChecker.isFocusable(be)||(be.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{be.addEventListener("blur",()=>be.removeAttribute("tabindex")),be.addEventListener("mousedown",()=>be.removeAttribute("tabindex"))})),be.focus(Ge)}_focusByCssSelector(be,Ge){let mt=this._elementRef.nativeElement.querySelector(be);mt&&this._forceFocus(mt,Ge)}_trapFocus(){const be=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||be.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Ge=>{Ge||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const be=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&be&&"function"==typeof be.focus){const Ge=(0,C.ht)(),mt=this._elementRef.nativeElement;(!Ge||Ge===this._document.body||Ge===mt||mt.contains(Ge))&&(this._focusMonitor?(this._focusMonitor.focusVia(be,this._closeInteractionType),this._closeInteractionType=null):be.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,C.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const be=this._elementRef.nativeElement,Ge=(0,C.ht)();return be===Ge||be.contains(Ge)}}return we.\u0275fac=function(be){return new(be||we)(g.\u0275\u0275directiveInject(g.ElementRef),g.\u0275\u0275directiveInject(de.qV),g.\u0275\u0275directiveInject(g.ChangeDetectorRef),g.\u0275\u0275directiveInject(N.DOCUMENT,8),g.\u0275\u0275directiveInject(me),g.\u0275\u0275directiveInject(de.ic),g.\u0275\u0275directiveInject(g.NgZone),g.\u0275\u0275directiveInject(de.tE))},we.\u0275dir=g.\u0275\u0275defineDirective({type:we,viewQuery:function(be,Ge){if(1&be&&g.\u0275\u0275viewQuery(h.Pl,7),2&be){let mt;g.\u0275\u0275queryRefresh(mt=g.\u0275\u0275loadQuery())&&(Ge._portalOutlet=mt.first)}},features:[g.\u0275\u0275InheritDefinitionFeature]}),we})(),Re=(()=>{class we extends ve{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:be,totalTime:Ge}){"enter"===be?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Ge})):"exit"===be&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:Ge}))}_onAnimationStart({toState:be,totalTime:Ge}){"enter"===be?this._animationStateChanged.next({state:"opening",totalTime:Ge}):("exit"===be||"void"===be)&&this._animationStateChanged.next({state:"closing",totalTime:Ge})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return we.\u0275fac=function(){let Fe;return function(Ge){return(Fe||(Fe=g.\u0275\u0275getInheritedFactory(we)))(Ge||we)}}(),we.\u0275cmp=g.\u0275\u0275defineComponent({type:we,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(be,Ge){1&be&&g.\u0275\u0275syntheticHostListener("@dialogContainer.start",function(ht){return Ge._onAnimationStart(ht)})("@dialogContainer.done",function(ht){return Ge._onAnimationDone(ht)}),2&be&&(g.\u0275\u0275hostProperty("id",Ge._id),g.\u0275\u0275attribute("role",Ge._config.role)("aria-labelledby",Ge._config.ariaLabel?null:Ge._ariaLabelledBy)("aria-label",Ge._config.ariaLabel)("aria-describedby",Ge._config.ariaDescribedBy||null),g.\u0275\u0275syntheticHostProperty("@dialogContainer",Ge._state))},features:[g.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(be,Ge){1&be&&g.\u0275\u0275template(0,Oe,0,0,"ng-template",0)},directives:[h.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[ye.dialogContainer]}}),we})(),Qe=0;class ot{constructor(Fe,be,Ge="mat-dialog-"+Qe++){this._overlayRef=Fe,this._containerInstance=be,this.id=Ge,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new v.x,this._afterClosed=new v.x,this._beforeClosed=new v.x,this._state=0,be._id=Ge,be._animationStateChanged.pipe((0,p.h)(mt=>"opened"===mt.state),(0,A.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),be._animationStateChanged.pipe((0,p.h)(mt=>"closed"===mt.state),(0,A.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Fe.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),Fe.keydownEvents().pipe((0,p.h)(mt=>mt.keyCode===K.hY&&!this.disableClose&&!(0,K.Vb)(mt))).subscribe(mt=>{mt.preventDefault(),Ve(this,"keyboard")}),Fe.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Ve(this,"mouse")})}close(Fe){this._result=Fe,this._containerInstance._animationStateChanged.pipe((0,p.h)(be=>"closing"===be.state),(0,A.q)(1)).subscribe(be=>{this._beforeClosed.next(Fe),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),be.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(Fe){let be=this._getPositionStrategy();return Fe&&(Fe.left||Fe.right)?Fe.left?be.left(Fe.left):be.right(Fe.right):be.centerHorizontally(),Fe&&(Fe.top||Fe.bottom)?Fe.top?be.top(Fe.top):be.bottom(Fe.bottom):be.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(Fe="",be=""){return this._overlayRef.updateSize({width:Fe,height:be}),this._overlayRef.updatePosition(),this}addPanelClass(Fe){return this._overlayRef.addPanelClass(Fe),this}removePanelClass(Fe){return this._overlayRef.removePanelClass(Fe),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Ve(we,Fe,be){return void 0!==we._containerInstance&&(we._containerInstance._closeInteractionType=Fe),we.close(be)}const ue=new g.InjectionToken("MatDialogData"),Ie=new g.InjectionToken("mat-dialog-default-options"),H=new g.InjectionToken("mat-dialog-scroll-strategy");function pe(we){return()=>we.scrollStrategies.block()}function ee(we){return()=>we.scrollStrategies.block()}const xe={provide:H,deps:[i.aV],useFactory:ee};let fe=(()=>{class we{constructor(be,Ge,mt,ht,wt,dt,Ke,B,ie,Ae){this._overlay=be,this._injector=Ge,this._defaultOptions=mt,this._parentDialog=ht,this._overlayContainer=wt,this._dialogRefConstructor=Ke,this._dialogContainerType=B,this._dialogDataToken=ie,this._animationMode=Ae,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new v.x,this._afterOpenedAtThisLevel=new v.x,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=(0,D.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,M.O)(void 0))),this._scrollStrategy=dt}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const be=this._parentDialog;return be?be._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(be,Ge){if(Ge=function ge(we,Fe){return Object.assign(Object.assign({},Fe),we)}(Ge,this._defaultOptions||new me),Ge.id&&this.getDialogById(Ge.id),this._dialogAnimatingOpen)return this._lastDialogRef;const mt=this._createOverlay(Ge),ht=this._attachDialogContainer(mt,Ge);if("NoopAnimations"!==this._animationMode){const dt=ht._animationStateChanged.subscribe(Ke=>{"opening"===Ke.state&&(this._dialogAnimatingOpen=!0),"opened"===Ke.state&&(this._dialogAnimatingOpen=!1,dt.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new T.w0),this._animationStateSubscriptions.add(dt)}const wt=this._attachDialogContent(be,ht,mt,Ge);return this._lastDialogRef=wt,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(wt),wt.afterClosed().subscribe(()=>this._removeOpenDialog(wt)),this.afterOpened.next(wt),ht._initializeWithAttachedContent(),wt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(be){return this.openDialogs.find(Ge=>Ge.id===be)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(be){const Ge=this._getOverlayConfig(be);return this._overlay.create(Ge)}_getOverlayConfig(be){const Ge=new i.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:be.scrollStrategy||this._scrollStrategy(),panelClass:be.panelClass,hasBackdrop:be.hasBackdrop,direction:be.direction,minWidth:be.minWidth,minHeight:be.minHeight,maxWidth:be.maxWidth,maxHeight:be.maxHeight,disposeOnNavigation:be.closeOnNavigation});return be.backdropClass&&(Ge.backdropClass=be.backdropClass),Ge}_attachDialogContainer(be,Ge){const ht=g.Injector.create({parent:Ge&&Ge.viewContainerRef&&Ge.viewContainerRef.injector||this._injector,providers:[{provide:me,useValue:Ge}]}),wt=new h.C5(this._dialogContainerType,Ge.viewContainerRef,ht,Ge.componentFactoryResolver);return be.attach(wt).instance}_attachDialogContent(be,Ge,mt,ht){const wt=new this._dialogRefConstructor(mt,Ge,ht.id);if(be instanceof g.TemplateRef)Ge.attachTemplatePortal(new h.UE(be,null,{$implicit:ht.data,dialogRef:wt}));else{const dt=this._createInjector(ht,wt,Ge),Ke=Ge.attachComponentPortal(new h.C5(be,ht.viewContainerRef,dt,ht.componentFactoryResolver));wt.componentInstance=Ke.instance}return wt.updateSize(ht.width,ht.height).updatePosition(ht.position),wt}_createInjector(be,Ge,mt){const ht=be&&be.viewContainerRef&&be.viewContainerRef.injector,wt=[{provide:this._dialogContainerType,useValue:mt},{provide:this._dialogDataToken,useValue:be.data},{provide:this._dialogRefConstructor,useValue:Ge}];return be.direction&&(!ht||!ht.get(s.Is,null,g.InjectFlags.Optional))&&wt.push({provide:s.Is,useValue:{value:be.direction,change:(0,S.of)()}}),g.Injector.create({parent:ht||this._injector,providers:wt})}_removeOpenDialog(be){const Ge=this.openDialogs.indexOf(be);Ge>-1&&(this.openDialogs.splice(Ge,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((mt,ht)=>{mt?ht.setAttribute("aria-hidden",mt):ht.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const be=this._overlayContainer.getContainerElement();if(be.parentElement){const Ge=be.parentElement.children;for(let mt=Ge.length-1;mt>-1;mt--){let ht=Ge[mt];ht!==be&&"SCRIPT"!==ht.nodeName&&"STYLE"!==ht.nodeName&&!ht.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(ht,ht.getAttribute("aria-hidden")),ht.setAttribute("aria-hidden","true"))}}}_closeDialogs(be){let Ge=be.length;for(;Ge--;)be[Ge].close()}}return we.\u0275fac=function(be){g.\u0275\u0275invalidFactory()},we.\u0275dir=g.\u0275\u0275defineDirective({type:we}),we})(),Ze=(()=>{class we extends fe{constructor(be,Ge,mt,ht,wt,dt,Ke,B){super(be,Ge,ht,dt,Ke,wt,ot,Re,ue,B)}}return we.\u0275fac=function(be){return new(be||we)(g.\u0275\u0275inject(i.aV),g.\u0275\u0275inject(g.Injector),g.\u0275\u0275inject(N.Location,8),g.\u0275\u0275inject(Ie,8),g.\u0275\u0275inject(H),g.\u0275\u0275inject(we,12),g.\u0275\u0275inject(i.Xj),g.\u0275\u0275inject(ce.ANIMATION_MODULE_TYPE,8))},we.\u0275prov=g.\u0275\u0275defineInjectable({token:we,factory:we.\u0275fac}),we})(),He=0,at=(()=>{class we{constructor(be,Ge,mt){this.dialogRef=be,this._elementRef=Ge,this._dialog=mt,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=q(this._elementRef,this._dialog.openDialogs))}ngOnChanges(be){const Ge=be._matDialogClose||be._matDialogCloseResult;Ge&&(this.dialogResult=Ge.currentValue)}_onButtonClick(be){Ve(this.dialogRef,0===be.screenX&&0===be.screenY?"keyboard":"mouse",this.dialogResult)}}return we.\u0275fac=function(be){return new(be||we)(g.\u0275\u0275directiveInject(ot,8),g.\u0275\u0275directiveInject(g.ElementRef),g.\u0275\u0275directiveInject(Ze))},we.\u0275dir=g.\u0275\u0275defineDirective({type:we,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(be,Ge){1&be&&g.\u0275\u0275listener("click",function(ht){return Ge._onButtonClick(ht)}),2&be&&g.\u0275\u0275attribute("aria-label",Ge.ariaLabel||null)("type",Ge.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[g.\u0275\u0275NgOnChangesFeature]}),we})(),gt=(()=>{class we{constructor(be,Ge,mt){this._dialogRef=be,this._elementRef=Ge,this._dialog=mt,this.id="mat-dialog-title-"+He++}ngOnInit(){this._dialogRef||(this._dialogRef=q(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const be=this._dialogRef._containerInstance;be&&!be._ariaLabelledBy&&(be._ariaLabelledBy=this.id)})}}return we.\u0275fac=function(be){return new(be||we)(g.\u0275\u0275directiveInject(ot,8),g.\u0275\u0275directiveInject(g.ElementRef),g.\u0275\u0275directiveInject(Ze))},we.\u0275dir=g.\u0275\u0275defineDirective({type:we,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(be,Ge){2&be&&g.\u0275\u0275hostProperty("id",Ge.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),we})(),Le=(()=>{class we{}return we.\u0275fac=function(be){return new(be||we)},we.\u0275dir=g.\u0275\u0275defineDirective({type:we,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),we})(),qe=(()=>{class we{}return we.\u0275fac=function(be){return new(be||we)},we.\u0275dir=g.\u0275\u0275defineDirective({type:we,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),we})();function q(we,Fe){let be=we.nativeElement.parentElement;for(;be&&!be.classList.contains("mat-dialog-container");)be=be.parentElement;return be?Fe.find(Ge=>Ge.id===be.id):null}let he=(()=>{class we{}return we.\u0275fac=function(be){return new(be||we)},we.\u0275mod=g.\u0275\u0275defineNgModule({type:we}),we.\u0275inj=g.\u0275\u0275defineInjector({providers:[Ze,xe],imports:[[i.U8,h.eL,d.MatCommonModule],d.MatCommonModule]}),we})()},5245:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{ICON_REGISTRY_PROVIDER:()=>ue,ICON_REGISTRY_PROVIDER_FACTORY:()=>Ve,MAT_ICON_LOCATION:()=>xe,MAT_ICON_LOCATION_FACTORY:()=>fe,MatIcon:()=>at,MatIconModule:()=>gt,MatIconRegistry:()=>ot,getMatIconFailedToSanitizeLiteralError:()=>Re,getMatIconFailedToSanitizeUrlError:()=>ve,getMatIconNameNotFoundError:()=>ye,getMatIconNoHttpProviderError:()=>X});var i=c(5e3),h=c(508),g=c(3191),d=c(9808),s=c(9646),v=c(2843),D=c(4128),T=c(6921),S=c(8505),p=c(4004),A=c(262),M=c(8746),C=c(3099),N=c(5698),$=c(520),de=c(2313);const K=["*"];let ce;function me(Le){var qe;return(null===(qe=function Oe(){if(void 0===ce&&(ce=null,"undefined"!=typeof window)){const Le=window;void 0!==Le.trustedTypes&&(ce=Le.trustedTypes.createPolicy("angular#components",{createHTML:qe=>qe}))}return ce}())||void 0===qe?void 0:qe.createHTML(Le))||Le}function ye(Le){return Error(`Unable to find icon with the name "${Le}"`)}function X(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function ve(Le){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Le}".`)}function Re(Le){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Le}".`)}class Qe{constructor(qe,q,he){this.url=qe,this.svgText=q,this.options=he}}let ot=(()=>{class Le{constructor(q,he,we,Fe){this._httpClient=q,this._sanitizer=he,this._errorHandler=Fe,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=we}addSvgIcon(q,he,we){return this.addSvgIconInNamespace("",q,he,we)}addSvgIconLiteral(q,he,we){return this.addSvgIconLiteralInNamespace("",q,he,we)}addSvgIconInNamespace(q,he,we,Fe){return this._addSvgIconConfig(q,he,new Qe(we,null,Fe))}addSvgIconResolver(q){return this._resolvers.push(q),this}addSvgIconLiteralInNamespace(q,he,we,Fe){const be=this._sanitizer.sanitize(i.SecurityContext.HTML,we);if(!be)throw Re(we);const Ge=me(be);return this._addSvgIconConfig(q,he,new Qe("",Ge,Fe))}addSvgIconSet(q,he){return this.addSvgIconSetInNamespace("",q,he)}addSvgIconSetLiteral(q,he){return this.addSvgIconSetLiteralInNamespace("",q,he)}addSvgIconSetInNamespace(q,he,we){return this._addSvgIconSetConfig(q,new Qe(he,null,we))}addSvgIconSetLiteralInNamespace(q,he,we){const Fe=this._sanitizer.sanitize(i.SecurityContext.HTML,he);if(!Fe)throw Re(he);const be=me(Fe);return this._addSvgIconSetConfig(q,new Qe("",be,we))}registerFontClassAlias(q,he=q){return this._fontCssClassesByAlias.set(q,he),this}classNameForFontAlias(q){return this._fontCssClassesByAlias.get(q)||q}setDefaultFontSetClass(q){return this._defaultFontSetClass=q,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(q){const he=this._sanitizer.sanitize(i.SecurityContext.RESOURCE_URL,q);if(!he)throw ve(q);const we=this._cachedIconsByUrl.get(he);return we?(0,s.of)(Ie(we)):this._loadSvgIconFromConfig(new Qe(q,null)).pipe((0,S.b)(Fe=>this._cachedIconsByUrl.set(he,Fe)),(0,p.U)(Fe=>Ie(Fe)))}getNamedSvgIcon(q,he=""){const we=H(he,q);let Fe=this._svgIconConfigs.get(we);if(Fe)return this._getSvgFromConfig(Fe);if(Fe=this._getIconConfigFromResolvers(he,q),Fe)return this._svgIconConfigs.set(we,Fe),this._getSvgFromConfig(Fe);const be=this._iconSetConfigs.get(he);return be?this._getSvgFromIconSetConfigs(q,be):(0,v._)(ye(we))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(q){return q.svgText?(0,s.of)(Ie(this._svgElementFromConfig(q))):this._loadSvgIconFromConfig(q).pipe((0,p.U)(he=>Ie(he)))}_getSvgFromIconSetConfigs(q,he){const we=this._extractIconWithNameFromAnySet(q,he);if(we)return(0,s.of)(we);const Fe=he.filter(be=>!be.svgText).map(be=>this._loadSvgIconSetFromConfig(be).pipe((0,A.K)(Ge=>{const ht=`Loading icon set URL: ${this._sanitizer.sanitize(i.SecurityContext.RESOURCE_URL,be.url)} failed: ${Ge.message}`;return this._errorHandler.handleError(new Error(ht)),(0,s.of)(null)})));return(0,D.D)(Fe).pipe((0,p.U)(()=>{const be=this._extractIconWithNameFromAnySet(q,he);if(!be)throw ye(q);return be}))}_extractIconWithNameFromAnySet(q,he){for(let we=he.length-1;we>=0;we--){const Fe=he[we];if(Fe.svgText&&Fe.svgText.toString().indexOf(q)>-1){const be=this._svgElementFromConfig(Fe),Ge=this._extractSvgIconFromSet(be,q,Fe.options);if(Ge)return Ge}}return null}_loadSvgIconFromConfig(q){return this._fetchIcon(q).pipe((0,S.b)(he=>q.svgText=he),(0,p.U)(()=>this._svgElementFromConfig(q)))}_loadSvgIconSetFromConfig(q){return q.svgText?(0,s.of)(null):this._fetchIcon(q).pipe((0,S.b)(he=>q.svgText=he))}_extractSvgIconFromSet(q,he,we){const Fe=q.querySelector(`[id="${he}"]`);if(!Fe)return null;const be=Fe.cloneNode(!0);if(be.removeAttribute("id"),"svg"===be.nodeName.toLowerCase())return this._setSvgAttributes(be,we);if("symbol"===be.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(be),we);const Ge=this._svgElementFromString(me("<svg></svg>"));return Ge.appendChild(be),this._setSvgAttributes(Ge,we)}_svgElementFromString(q){const he=this._document.createElement("DIV");he.innerHTML=q;const we=he.querySelector("svg");if(!we)throw Error("<svg> tag not found");return we}_toSvgElement(q){const he=this._svgElementFromString(me("<svg></svg>")),we=q.attributes;for(let Fe=0;Fe<we.length;Fe++){const{name:be,value:Ge}=we[Fe];"id"!==be&&he.setAttribute(be,Ge)}for(let Fe=0;Fe<q.childNodes.length;Fe++)q.childNodes[Fe].nodeType===this._document.ELEMENT_NODE&&he.appendChild(q.childNodes[Fe].cloneNode(!0));return he}_setSvgAttributes(q,he){return q.setAttribute("fit",""),q.setAttribute("height","100%"),q.setAttribute("width","100%"),q.setAttribute("preserveAspectRatio","xMidYMid meet"),q.setAttribute("focusable","false"),he&&he.viewBox&&q.setAttribute("viewBox",he.viewBox),q}_fetchIcon(q){var he;const{url:we,options:Fe}=q,be=null!==(he=null==Fe?void 0:Fe.withCredentials)&&void 0!==he&&he;if(!this._httpClient)throw X();if(null==we)throw Error(`Cannot fetch icon from URL "${we}".`);const Ge=this._sanitizer.sanitize(i.SecurityContext.RESOURCE_URL,we);if(!Ge)throw ve(we);const mt=this._inProgressUrlFetches.get(Ge);if(mt)return mt;const ht=this._httpClient.get(Ge,{responseType:"text",withCredentials:be}).pipe((0,p.U)(wt=>me(wt)),(0,M.x)(()=>this._inProgressUrlFetches.delete(Ge)),(0,C.B)());return this._inProgressUrlFetches.set(Ge,ht),ht}_addSvgIconConfig(q,he,we){return this._svgIconConfigs.set(H(q,he),we),this}_addSvgIconSetConfig(q,he){const we=this._iconSetConfigs.get(q);return we?we.push(he):this._iconSetConfigs.set(q,[he]),this}_svgElementFromConfig(q){if(!q.svgElement){const he=this._svgElementFromString(q.svgText);this._setSvgAttributes(he,q.options),q.svgElement=he}return q.svgElement}_getIconConfigFromResolvers(q,he){for(let we=0;we<this._resolvers.length;we++){const Fe=this._resolvers[we](he,q);if(Fe)return pe(Fe)?new Qe(Fe.url,null,Fe.options):new Qe(Fe,null)}}}return Le.\u0275fac=function(q){return new(q||Le)(i.\u0275\u0275inject($.HttpClient,8),i.\u0275\u0275inject(de.DomSanitizer),i.\u0275\u0275inject(d.DOCUMENT,8),i.\u0275\u0275inject(i.ErrorHandler))},Le.\u0275prov=i.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})();function Ve(Le,qe,q,he,we){return Le||new ot(qe,q,we,he)}const ue={provide:ot,deps:[[new i.Optional,new i.SkipSelf,ot],[new i.Optional,$.HttpClient],de.DomSanitizer,i.ErrorHandler,[new i.Optional,d.DOCUMENT]],useFactory:Ve};function Ie(Le){return Le.cloneNode(!0)}function H(Le,qe){return Le+":"+qe}function pe(Le){return!(!Le.url||!Le.options)}const ee=(0,h.mixinColor)(class{constructor(Le){this._elementRef=Le}}),xe=new i.InjectionToken("mat-icon-location",{providedIn:"root",factory:fe});function fe(){const Le=(0,i.inject)(d.DOCUMENT),qe=Le?Le.location:null;return{getPathname:()=>qe?qe.pathname+qe.search:""}}const Ze=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ge=Ze.map(Le=>`[${Le}]`).join(", "),He=/^url\(['"]?#(.*?)['"]?\)$/;let at=(()=>{class Le extends ee{constructor(q,he,we,Fe,be){super(q),this._iconRegistry=he,this._location=Fe,this._errorHandler=be,this._inline=!1,this._currentIconFetch=T.w0.EMPTY,we||q.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(q){this._inline=(0,g.Ig)(q)}get svgIcon(){return this._svgIcon}set svgIcon(q){q!==this._svgIcon&&(q?this._updateSvgIcon(q):this._svgIcon&&this._clearSvgElement(),this._svgIcon=q)}get fontSet(){return this._fontSet}set fontSet(q){const he=this._cleanupFontValue(q);he!==this._fontSet&&(this._fontSet=he,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(q){const he=this._cleanupFontValue(q);he!==this._fontIcon&&(this._fontIcon=he,this._updateFontIconClasses())}_splitIconName(q){if(!q)return["",""];const he=q.split(":");switch(he.length){case 1:return["",he[0]];case 2:return he;default:throw Error(`Invalid icon name: "${q}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const q=this._elementsWithExternalReferences;if(q&&q.size){const he=this._location.getPathname();he!==this._previousPath&&(this._previousPath=he,this._prependPathToReferences(he))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(q){this._clearSvgElement();const he=q.querySelectorAll("style");for(let Fe=0;Fe<he.length;Fe++)he[Fe].textContent+=" ";const we=this._location.getPathname();this._previousPath=we,this._cacheChildrenWithExternalReferences(q),this._prependPathToReferences(we),this._elementRef.nativeElement.appendChild(q)}_clearSvgElement(){const q=this._elementRef.nativeElement;let he=q.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();he--;){const we=q.childNodes[he];(1!==we.nodeType||"svg"===we.nodeName.toLowerCase())&&we.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const q=this._elementRef.nativeElement,he=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();he!=this._previousFontSetClass&&(this._previousFontSetClass&&q.classList.remove(this._previousFontSetClass),he&&q.classList.add(he),this._previousFontSetClass=he),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&q.classList.remove(this._previousFontIconClass),this.fontIcon&&q.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(q){return"string"==typeof q?q.trim().split(" ")[0]:q}_prependPathToReferences(q){const he=this._elementsWithExternalReferences;he&&he.forEach((we,Fe)=>{we.forEach(be=>{Fe.setAttribute(be.name,`url('${q}#${be.value}')`)})})}_cacheChildrenWithExternalReferences(q){const he=q.querySelectorAll(ge),we=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Fe=0;Fe<he.length;Fe++)Ze.forEach(be=>{const Ge=he[Fe],mt=Ge.getAttribute(be),ht=mt?mt.match(He):null;if(ht){let wt=we.get(Ge);wt||(wt=[],we.set(Ge,wt)),wt.push({name:be,value:ht[1]})}})}_updateSvgIcon(q){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),q){const[he,we]=this._splitIconName(q);he&&(this._svgNamespace=he),we&&(this._svgName=we),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(we,he).pipe((0,N.q)(1)).subscribe(Fe=>this._setSvgElement(Fe),Fe=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${he}:${we}! ${Fe.message}`))})}}}return Le.\u0275fac=function(q){return new(q||Le)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(ot),i.\u0275\u0275injectAttribute("aria-hidden"),i.\u0275\u0275directiveInject(xe),i.\u0275\u0275directiveInject(i.ErrorHandler))},Le.\u0275cmp=i.\u0275\u0275defineComponent({type:Le,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(q,he){2&q&&(i.\u0275\u0275attribute("data-mat-icon-type",he._usingFontIcon()?"font":"svg")("data-mat-icon-name",he._svgName||he.fontIcon)("data-mat-icon-namespace",he._svgNamespace||he.fontSet),i.\u0275\u0275classProp("mat-icon-inline",he.inline)("mat-icon-no-color","primary"!==he.color&&"accent"!==he.color&&"warn"!==he.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:K,decls:1,vars:0,template:function(q,he){1&q&&(i.\u0275\u0275projectionDef(),i.\u0275\u0275projection(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),Le})(),gt=(()=>{class Le{}return Le.\u0275fac=function(q){return new(q||Le)},Le.\u0275mod=i.\u0275\u0275defineNgModule({type:Le}),Le.\u0275inj=i.\u0275\u0275defineInjector({imports:[[h.MatCommonModule],h.MatCommonModule]}),Le})()},2181:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{MAT_MENU_CONTENT:()=>pe,MAT_MENU_DEFAULT_OPTIONS:()=>qe,MAT_MENU_PANEL:()=>at,MAT_MENU_SCROLL_STRATEGY:()=>be,MatMenu:()=>Fe,MatMenuContent:()=>xe,MatMenuItem:()=>Le,MatMenuModule:()=>B,MatMenuTrigger:()=>Ke,_MatMenuBase:()=>we,_MatMenuContentBase:()=>ee,_MatMenuTriggerBase:()=>dt,fadeInItems:()=>Ie,matMenuAnimations:()=>ue,transformMenu:()=>H});var i=c(5664),h=c(3191),g=c(1159),d=c(5e3),s=c(6758),v=c(6921),D=c(6451),T=c(9646),S=c(3101),p=c(8675),A=c(3900),M=c(5698),C=c(2722),N=c(9300),$=c(4326),de=c(1777),K=c(7429),ce=c(9808),Oe=c(508),me=c(1314),ye=c(925),X=c(226),ve=c(9071);const Re=["mat-menu-item",""];function Qe(ie,Ae){1&ie&&(d.\u0275\u0275namespaceSVG(),d.\u0275\u0275elementStart(0,"svg",2),d.\u0275\u0275element(1,"polygon",3),d.\u0275\u0275elementEnd())}const ot=["*"];function Ve(ie,Ae){if(1&ie){const ae=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("keydown",function(Xe){return d.\u0275\u0275restoreView(ae),d.\u0275\u0275nextContext()._handleKeydown(Xe)})("click",function(){return d.\u0275\u0275restoreView(ae),d.\u0275\u0275nextContext().closed.emit("click")})("@transformMenu.start",function(Xe){return d.\u0275\u0275restoreView(ae),d.\u0275\u0275nextContext()._onAnimationStart(Xe)})("@transformMenu.done",function(Xe){return d.\u0275\u0275restoreView(ae),d.\u0275\u0275nextContext()._onAnimationDone(Xe)}),d.\u0275\u0275elementStart(1,"div",1),d.\u0275\u0275projection(2),d.\u0275\u0275elementEnd()()}if(2&ie){const ae=d.\u0275\u0275nextContext();d.\u0275\u0275property("id",ae.panelId)("ngClass",ae._classList)("@transformMenu",ae._panelAnimationState),d.\u0275\u0275attribute("aria-label",ae.ariaLabel||null)("aria-labelledby",ae.ariaLabelledby||null)("aria-describedby",ae.ariaDescribedby||null)}}const ue={transformMenu:(0,de.X$)("transformMenu",[(0,de.SB)("void",(0,de.oB)({opacity:0,transform:"scale(0.8)"})),(0,de.eR)("void => enter",(0,de.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,de.oB)({opacity:1,transform:"scale(1)"}))),(0,de.eR)("* => void",(0,de.jt)("100ms 25ms linear",(0,de.oB)({opacity:0})))]),fadeInItems:(0,de.X$)("fadeInItems",[(0,de.SB)("showing",(0,de.oB)({opacity:1})),(0,de.eR)("void => *",[(0,de.oB)({opacity:0}),(0,de.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ie=ue.fadeInItems,H=ue.transformMenu,pe=new d.InjectionToken("MatMenuContent");let ee=(()=>{class ie{constructor(ae,Me,Xe,De,Ce,_e,tt){this._template=ae,this._componentFactoryResolver=Me,this._appRef=Xe,this._injector=De,this._viewContainerRef=Ce,this._document=_e,this._changeDetectorRef=tt,this._attached=new s.x}attach(ae={}){var Me;this._portal||(this._portal=new K.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new K.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const Xe=this._template.elementRef.nativeElement;Xe.parentNode.insertBefore(this._outlet.outletElement,Xe),null===(Me=this._changeDetectorRef)||void 0===Me||Me.markForCheck(),this._portal.attach(this._outlet,ae),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return ie.\u0275fac=function(ae){return new(ae||ie)(d.\u0275\u0275directiveInject(d.TemplateRef),d.\u0275\u0275directiveInject(d.ComponentFactoryResolver),d.\u0275\u0275directiveInject(d.ApplicationRef),d.\u0275\u0275directiveInject(d.Injector),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(ce.DOCUMENT),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},ie.\u0275dir=d.\u0275\u0275defineDirective({type:ie}),ie})(),xe=(()=>{class ie extends ee{}return ie.\u0275fac=function(){let Ae;return function(Me){return(Ae||(Ae=d.\u0275\u0275getInheritedFactory(ie)))(Me||ie)}}(),ie.\u0275dir=d.\u0275\u0275defineDirective({type:ie,selectors:[["ng-template","matMenuContent",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:pe,useExisting:ie}]),d.\u0275\u0275InheritDefinitionFeature]}),ie})();const at=new d.InjectionToken("MAT_MENU_PANEL"),gt=(0,Oe.mixinDisableRipple)((0,Oe.mixinDisabled)(class{}));let Le=(()=>{class ie extends gt{constructor(ae,Me,Xe,De,Ce){var _e;super(),this._elementRef=ae,this._document=Me,this._focusMonitor=Xe,this._parentMenu=De,this._changeDetectorRef=Ce,this.role="menuitem",this._hovered=new s.x,this._focused=new s.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(_e=null==De?void 0:De.addItem)||void 0===_e||_e.call(De,this)}focus(ae,Me){this._focusMonitor&&ae?this._focusMonitor.focusVia(this._getHostElement(),ae,Me):this._getHostElement().focus(Me),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(ae){this.disabled&&(ae.preventDefault(),ae.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var ae;const Me=this._elementRef.nativeElement.cloneNode(!0),Xe=Me.querySelectorAll("mat-icon, .material-icons");for(let De=0;De<Xe.length;De++)Xe[De].remove();return(null===(ae=Me.textContent)||void 0===ae?void 0:ae.trim())||""}_setHighlighted(ae){var Me;this._highlighted=ae,null===(Me=this._changeDetectorRef)||void 0===Me||Me.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return ie.\u0275fac=function(ae){return new(ae||ie)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(ce.DOCUMENT),d.\u0275\u0275directiveInject(i.tE),d.\u0275\u0275directiveInject(at,8),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},ie.\u0275cmp=d.\u0275\u0275defineComponent({type:ie,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(ae,Me){1&ae&&d.\u0275\u0275listener("click",function(De){return Me._checkDisabled(De)})("mouseenter",function(){return Me._handleMouseEnter()}),2&ae&&(d.\u0275\u0275attribute("role",Me.role)("tabindex",Me._getTabIndex())("aria-disabled",Me.disabled.toString())("disabled",Me.disabled||null),d.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",Me._highlighted)("mat-menu-item-submenu-trigger",Me._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[d.\u0275\u0275InheritDefinitionFeature],attrs:Re,ngContentSelectors:ot,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(ae,Me){1&ae&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275projection(0),d.\u0275\u0275element(1,"div",0),d.\u0275\u0275template(2,Qe,2,0,"svg",1)),2&ae&&(d.\u0275\u0275advance(1),d.\u0275\u0275property("matRippleDisabled",Me.disableRipple||Me.disabled)("matRippleTrigger",Me._getHostElement()),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",Me._triggersSubmenu))},directives:[Oe.MatRipple,ce.NgIf],encapsulation:2,changeDetection:0}),ie})();const qe=new d.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function q(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let he=0,we=(()=>{class ie{constructor(ae,Me,Xe,De){this._elementRef=ae,this._ngZone=Me,this._defaultOptions=Xe,this._changeDetectorRef=De,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new d.QueryList,this._tabSubscription=v.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new s.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new d.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+he++}get xPosition(){return this._xPosition}set xPosition(ae){this._xPosition=ae,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(ae){this._yPosition=ae,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(ae){this._overlapTrigger=(0,h.Ig)(ae)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ae){this._hasBackdrop=(0,h.Ig)(ae)}set panelClass(ae){const Me=this._previousPanelClass;Me&&Me.length&&Me.split(" ").forEach(Xe=>{this._classList[Xe]=!1}),this._previousPanelClass=ae,ae&&ae.length&&(ae.split(" ").forEach(Xe=>{this._classList[Xe]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(ae){this.panelClass=ae}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new i.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,p.O)(this._directDescendantItems),(0,A.w)(ae=>(0,D.T)(...ae.map(Me=>Me._focused)))).subscribe(ae=>this._keyManager.updateActiveItem(ae)),this._directDescendantItems.changes.subscribe(ae=>{var Me;const Xe=this._keyManager;if("enter"===this._panelAnimationState&&(null===(Me=Xe.activeItem)||void 0===Me?void 0:Me._hasFocus())){const De=ae.toArray(),Ce=Math.max(0,Math.min(De.length-1,Xe.activeItemIndex||0));De[Ce]&&!De[Ce].disabled?Xe.setActiveItem(Ce):Xe.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,p.O)(this._directDescendantItems),(0,A.w)(Me=>(0,D.T)(...Me.map(Xe=>Xe._hovered))))}addItem(ae){}removeItem(ae){}_handleKeydown(ae){const Me=ae.keyCode,Xe=this._keyManager;switch(Me){case g.hY:(0,g.Vb)(ae)||(ae.preventDefault(),this.closed.emit("keydown"));break;case g.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case g.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Me===g.LH||Me===g.JH)&&Xe.setFocusOrigin("keyboard"),void Xe.onKeydown(ae)}ae.stopPropagation()}focusFirstItem(ae="program"){this.lazyContent?this._ngZone.onStable.pipe((0,M.q)(1)).subscribe(()=>this._focusFirstItem(ae)):this._focusFirstItem(ae)}_focusFirstItem(ae){const Me=this._keyManager;if(Me.setFocusOrigin(ae).setFirstItemActive(),!Me.activeItem&&this._directDescendantItems.length){let Xe=this._directDescendantItems.first._getHostElement().parentElement;for(;Xe;){if("menu"===Xe.getAttribute("role")){Xe.focus();break}Xe=Xe.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(ae){const Me=Math.min(this._baseElevation+ae,24),Xe=`${this._elevationPrefix}${Me}`,De=Object.keys(this._classList).find(Ce=>Ce.startsWith(this._elevationPrefix));(!De||De===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[Xe]=!0,this._previousElevation=Xe)}setPositionClasses(ae=this.xPosition,Me=this.yPosition){var Xe;const De=this._classList;De["mat-menu-before"]="before"===ae,De["mat-menu-after"]="after"===ae,De["mat-menu-above"]="above"===Me,De["mat-menu-below"]="below"===Me,null===(Xe=this._changeDetectorRef)||void 0===Xe||Xe.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(ae){this._animationDone.next(ae),this._isAnimating=!1}_onAnimationStart(ae){this._isAnimating=!0,"enter"===ae.toState&&0===this._keyManager.activeItemIndex&&(ae.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,p.O)(this._allItems)).subscribe(ae=>{this._directDescendantItems.reset(ae.filter(Me=>Me._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return ie.\u0275fac=function(ae){return new(ae||ie)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(qe),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},ie.\u0275dir=d.\u0275\u0275defineDirective({type:ie,contentQueries:function(ae,Me,Xe){if(1&ae&&(d.\u0275\u0275contentQuery(Xe,pe,5),d.\u0275\u0275contentQuery(Xe,Le,5),d.\u0275\u0275contentQuery(Xe,Le,4)),2&ae){let De;d.\u0275\u0275queryRefresh(De=d.\u0275\u0275loadQuery())&&(Me.lazyContent=De.first),d.\u0275\u0275queryRefresh(De=d.\u0275\u0275loadQuery())&&(Me._allItems=De),d.\u0275\u0275queryRefresh(De=d.\u0275\u0275loadQuery())&&(Me.items=De)}},viewQuery:function(ae,Me){if(1&ae&&d.\u0275\u0275viewQuery(d.TemplateRef,5),2&ae){let Xe;d.\u0275\u0275queryRefresh(Xe=d.\u0275\u0275loadQuery())&&(Me.templateRef=Xe.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),ie})(),Fe=(()=>{class ie extends we{constructor(ae,Me,Xe,De){super(ae,Me,Xe,De),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return ie.\u0275fac=function(ae){return new(ae||ie)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(qe),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},ie.\u0275cmp=d.\u0275\u0275defineComponent({type:ie,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(ae,Me){2&ae&&d.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[d.\u0275\u0275ProvidersFeature([{provide:at,useExisting:ie}]),d.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ot,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(ae,Me){1&ae&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275template(0,Ve,3,6,"ng-template"))},directives:[ce.NgClass],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[ue.transformMenu,ue.fadeInItems]},changeDetection:0}),ie})();const be=new d.InjectionToken("mat-menu-scroll-strategy"),mt={provide:be,deps:[me.aV],useFactory:function Ge(ie){return()=>ie.scrollStrategies.reposition()}},wt=(0,ye.i$)({passive:!0});let dt=(()=>{class ie{constructor(ae,Me,Xe,De,Ce,_e,tt,et,lt){this._overlay=ae,this._element=Me,this._viewContainerRef=Xe,this._menuItemInstance=_e,this._dir=tt,this._focusMonitor=et,this._ngZone=lt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=v.w0.EMPTY,this._hoverSubscription=v.w0.EMPTY,this._menuCloseSubscription=v.w0.EMPTY,this._handleTouchStart=_t=>{(0,i.yG)(_t)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new d.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new d.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=De,this._parentMaterialMenu=Ce instanceof we?Ce:void 0,Me.nativeElement.addEventListener("touchstart",this._handleTouchStart,wt),_e&&(_e._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(ae){this.menu=ae}get menu(){return this._menu}set menu(ae){ae!==this._menu&&(this._menu=ae,this._menuCloseSubscription.unsubscribe(),ae&&(this._menuCloseSubscription=ae.close.subscribe(Me=>{this._destroyMenu(Me),("click"===Me||"tab"===Me)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Me)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,wt),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const ae=this._createOverlay(),Me=ae.getConfig(),Xe=Me.positionStrategy;this._setPosition(Xe),Me.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,ae.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof we&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe((0,C.R)(this.menu.close)).subscribe(()=>{Xe.withLockedPosition(!1).reapplyLastPosition(),Xe.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(ae,Me){this._focusMonitor&&ae?this._focusMonitor.focusVia(this._element,ae,Me):this._element.nativeElement.focus(Me)}updatePosition(){var ae;null===(ae=this._overlayRef)||void 0===ae||ae.updatePosition()}_destroyMenu(ae){if(!this._overlayRef||!this.menuOpen)return;const Me=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===ae||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Me instanceof we?(Me._resetAnimation(),Me.lazyContent?Me._animationDone.pipe((0,N.h)(Xe=>"void"===Xe.toState),(0,M.q)(1),(0,C.R)(Me.lazyContent._attached)).subscribe({next:()=>Me.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Me.lazyContent&&Me.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let ae=0,Me=this.menu.parentMenu;for(;Me;)ae++,Me=Me.parentMenu;this.menu.setElevation(ae)}}_setIsMenuOpen(ae){this._menuOpen=ae,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(ae)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const ae=this._getOverlayConfig();this._subscribeToPositions(ae.positionStrategy),this._overlayRef=this._overlay.create(ae),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new me.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(ae){this.menu.setPositionClasses&&ae.positionChanges.subscribe(Me=>{const Xe="start"===Me.connectionPair.overlayX?"after":"before",De="top"===Me.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(Xe,De)):this.menu.setPositionClasses(Xe,De)})}_setPosition(ae){let[Me,Xe]="before"===this.menu.xPosition?["end","start"]:["start","end"],[De,Ce]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[_e,tt]=[De,Ce],[et,lt]=[Me,Xe],_t=0;this.triggersSubmenu()?(lt=Me="before"===this.menu.xPosition?"start":"end",Xe=et="end"===Me?"start":"end",_t="bottom"===De?8:-8):this.menu.overlapTrigger||(_e="top"===De?"bottom":"top",tt="top"===Ce?"bottom":"top"),ae.withPositions([{originX:Me,originY:_e,overlayX:et,overlayY:De,offsetY:_t},{originX:Xe,originY:_e,overlayX:lt,overlayY:De,offsetY:_t},{originX:Me,originY:tt,overlayX:et,overlayY:Ce,offsetY:-_t},{originX:Xe,originY:tt,overlayX:lt,overlayY:Ce,offsetY:-_t}])}_menuClosingActions(){const ae=this._overlayRef.backdropClick(),Me=this._overlayRef.detachments(),Xe=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,T.of)(),De=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,N.h)(Ce=>Ce!==this._menuItemInstance),(0,N.h)(()=>this._menuOpen)):(0,T.of)();return(0,D.T)(ae,Xe,De,Me)}_handleMousedown(ae){(0,i.X6)(ae)||(this._openedBy=0===ae.button?"mouse":void 0,this.triggersSubmenu()&&ae.preventDefault())}_handleKeydown(ae){const Me=ae.keyCode;(Me===g.K5||Me===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Me===g.SV&&"ltr"===this.dir||Me===g.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(ae){this.triggersSubmenu()?(ae.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,N.h)(ae=>ae===this._menuItemInstance&&!ae.disabled),(0,$.g)(0,S.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof we&&this.menu._isAnimating?this.menu._animationDone.pipe((0,M.q)(1),(0,$.g)(0,S.E),(0,C.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new K.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return ie.\u0275fac=function(ae){return new(ae||ie)(d.\u0275\u0275directiveInject(me.aV),d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(be),d.\u0275\u0275directiveInject(at,8),d.\u0275\u0275directiveInject(Le,10),d.\u0275\u0275directiveInject(X.Is,8),d.\u0275\u0275directiveInject(i.tE),d.\u0275\u0275directiveInject(d.NgZone))},ie.\u0275dir=d.\u0275\u0275defineDirective({type:ie,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(ae,Me){1&ae&&d.\u0275\u0275listener("click",function(De){return Me._handleClick(De)})("mousedown",function(De){return Me._handleMousedown(De)})("keydown",function(De){return Me._handleKeydown(De)}),2&ae&&d.\u0275\u0275attribute("aria-expanded",Me.menuOpen||null)("aria-controls",Me.menuOpen?Me.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),ie})(),Ke=(()=>{class ie extends dt{}return ie.\u0275fac=function(){let Ae;return function(Me){return(Ae||(Ae=d.\u0275\u0275getInheritedFactory(ie)))(Me||ie)}}(),ie.\u0275dir=d.\u0275\u0275defineDirective({type:ie,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[d.\u0275\u0275InheritDefinitionFeature]}),ie})(),B=(()=>{class ie{}return ie.\u0275fac=function(ae){return new(ae||ie)},ie.\u0275mod=d.\u0275\u0275defineNgModule({type:ie}),ie.\u0275inj=d.\u0275\u0275defineInjector({providers:[mt],imports:[[ce.CommonModule,Oe.MatCommonModule,Oe.MatRippleModule,me.U8],ve.ZD,Oe.MatCommonModule]}),ie})()},2075:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{MatCell:()=>$e,MatCellDef:()=>j,MatColumnDef:()=>Bt,MatFooterCell:()=>Ne,MatFooterCellDef:()=>it,MatFooterRow:()=>At,MatFooterRowDef:()=>je,MatHeaderCell:()=>jt,MatHeaderCellDef:()=>ke,MatHeaderRow:()=>kt,MatHeaderRowDef:()=>le,MatNoDataRow:()=>mn,MatRecycleRows:()=>te,MatRow:()=>Xt,MatRowDef:()=>ct,MatTable:()=>E,MatTableDataSource:()=>An,MatTableModule:()=>jn,MatTextColumn:()=>On,_MatTableDataSource:()=>xn});var i=c(5e3),h=c(3191),g=c(449),d=c(9808),s=c(6758),v=c(188),D=c(1135),T=c(5191),S=c(9646),p=c(2722),A=c(5698),M=c(226),C=c(925),N=c(9071);const $=[[["caption"]],[["colgroup"],["col"]]],de=["caption","colgroup, col"];function K(U,Se){if(1&U&&(i.\u0275\u0275elementStart(0,"th",3),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&U){const z=i.\u0275\u0275nextContext();i.\u0275\u0275styleProp("text-align",z.justify),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",z.headerText," ")}}function ce(U,Se){if(1&U&&(i.\u0275\u0275elementStart(0,"td",4),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&U){const z=Se.$implicit,Pe=i.\u0275\u0275nextContext();i.\u0275\u0275styleProp("text-align",Pe.justify),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",Pe.dataAccessor(z,Pe.name)," ")}}function Oe(U){return class extends U{constructor(...Se){super(...Se),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Se){const z=this._sticky;this._sticky=(0,h.Ig)(Se),this._hasStickyChanged=z!==this._sticky}hasStickyChanged(){const Se=this._hasStickyChanged;return this._hasStickyChanged=!1,Se}resetStickyChanged(){this._hasStickyChanged=!1}}}const me=new i.InjectionToken("CDK_TABLE"),ye=new i.InjectionToken("text-column-options");let X=(()=>{class U{constructor(z){this.template=z}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(i.TemplateRef))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","cdkCellDef",""]]}),U})(),ve=(()=>{class U{constructor(z){this.template=z}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(i.TemplateRef))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","cdkHeaderCellDef",""]]}),U})(),Re=(()=>{class U{constructor(z){this.template=z}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(i.TemplateRef))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","cdkFooterCellDef",""]]}),U})();class Qe{}const ot=Oe(Qe);let Ve=(()=>{class U extends ot{constructor(z){super(),this._table=z,this._stickyEnd=!1}get name(){return this._name}set name(z){this._setNameInput(z)}get stickyEnd(){return this._stickyEnd}set stickyEnd(z){const Pe=this._stickyEnd;this._stickyEnd=(0,h.Ig)(z),this._hasStickyChanged=Pe!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(z){z&&(this._name=z,this.cssClassFriendlyName=z.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(me,8))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","cdkColumnDef",""]],contentQueries:function(z,Pe,Ye){if(1&z&&(i.\u0275\u0275contentQuery(Ye,X,5),i.\u0275\u0275contentQuery(Ye,ve,5),i.\u0275\u0275contentQuery(Ye,Re,5)),2&z){let st;i.\u0275\u0275queryRefresh(st=i.\u0275\u0275loadQuery())&&(Pe.cell=st.first),i.\u0275\u0275queryRefresh(st=i.\u0275\u0275loadQuery())&&(Pe.headerCell=st.first),i.\u0275\u0275queryRefresh(st=i.\u0275\u0275loadQuery())&&(Pe.footerCell=st.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[i.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:U}]),i.\u0275\u0275InheritDefinitionFeature]}),U})();class ue{constructor(Se,z){z.nativeElement.classList.add(...Se._columnCssClassName)}}let Ie=(()=>{class U extends ue{constructor(z,Pe){super(z,Pe)}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(Ve),i.\u0275\u0275directiveInject(i.ElementRef))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[i.\u0275\u0275InheritDefinitionFeature]}),U})(),H=(()=>{class U extends ue{constructor(z,Pe){var Ye;if(super(z,Pe),1===(null===(Ye=z._table)||void 0===Ye?void 0:Ye._elementRef.nativeElement.nodeType)){const st=z._table._elementRef.nativeElement.getAttribute("role");Pe.nativeElement.setAttribute("role","grid"===st||"treegrid"===st?"gridcell":"cell")}}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(Ve),i.\u0275\u0275directiveInject(i.ElementRef))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[i.\u0275\u0275InheritDefinitionFeature]}),U})(),pe=(()=>{class U extends ue{constructor(z,Pe){var Ye;if(super(z,Pe),1===(null===(Ye=z._table)||void 0===Ye?void 0:Ye._elementRef.nativeElement.nodeType)){const st=z._table._elementRef.nativeElement.getAttribute("role");Pe.nativeElement.setAttribute("role","grid"===st||"treegrid"===st?"gridcell":"cell")}}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(Ve),i.\u0275\u0275directiveInject(i.ElementRef))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[i.\u0275\u0275InheritDefinitionFeature]}),U})();class ee{constructor(){this.tasks=[],this.endTasks=[]}}const xe=new i.InjectionToken("_COALESCED_STYLE_SCHEDULER");let fe=(()=>{class U{constructor(z){this._ngZone=z,this._currentSchedule=null,this._destroyed=new s.x}schedule(z){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(z)}scheduleEnd(z){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(z)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ee,this._getScheduleObservable().pipe((0,p.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const z=this._currentSchedule;this._currentSchedule=new ee;for(const Pe of z.tasks)Pe();for(const Pe of z.endTasks)Pe()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,v.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,A.q)(1))}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275inject(i.NgZone))},U.\u0275prov=i.\u0275\u0275defineInjectable({token:U,factory:U.\u0275fac}),U})(),ge=(()=>{class U{constructor(z,Pe){this.template=z,this._differs=Pe}ngOnChanges(z){if(!this._columnsDiffer){const Pe=z.columns&&z.columns.currentValue||[];this._columnsDiffer=this._differs.find(Pe).create(),this._columnsDiffer.diff(Pe)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(z){return this instanceof gt?z.headerCell.template:this instanceof q?z.footerCell.template:z.cell.template}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.IterableDiffers))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,features:[i.\u0275\u0275NgOnChangesFeature]}),U})();class He extends ge{}const at=Oe(He);let gt=(()=>{class U extends at{constructor(z,Pe,Ye){super(z,Pe),this._table=Ye}ngOnChanges(z){super.ngOnChanges(z)}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.IterableDiffers),i.\u0275\u0275directiveInject(me,8))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[i.\u0275\u0275InheritDefinitionFeature,i.\u0275\u0275NgOnChangesFeature]}),U})();class Le extends ge{}const qe=Oe(Le);let q=(()=>{class U extends qe{constructor(z,Pe,Ye){super(z,Pe),this._table=Ye}ngOnChanges(z){super.ngOnChanges(z)}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.IterableDiffers),i.\u0275\u0275directiveInject(me,8))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[i.\u0275\u0275InheritDefinitionFeature,i.\u0275\u0275NgOnChangesFeature]}),U})(),he=(()=>{class U extends ge{constructor(z,Pe,Ye){super(z,Pe),this._table=Ye}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.IterableDiffers),i.\u0275\u0275directiveInject(me,8))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[i.\u0275\u0275InheritDefinitionFeature]}),U})(),we=(()=>{class U{constructor(z){this._viewContainer=z,U.mostRecentCellOutlet=this}ngOnDestroy(){U.mostRecentCellOutlet===this&&(U.mostRecentCellOutlet=null)}}return U.mostRecentCellOutlet=null,U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(i.ViewContainerRef))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","cdkCellOutlet",""]]}),U})(),Fe=(()=>{class U{}return U.\u0275fac=function(z){return new(z||U)},U.\u0275cmp=i.\u0275\u0275defineComponent({type:U,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(z,Pe){1&z&&i.\u0275\u0275elementContainer(0,0)},directives:[we],encapsulation:2}),U})(),be=(()=>{class U{}return U.\u0275fac=function(z){return new(z||U)},U.\u0275cmp=i.\u0275\u0275defineComponent({type:U,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(z,Pe){1&z&&i.\u0275\u0275elementContainer(0,0)},directives:[we],encapsulation:2}),U})(),Ge=(()=>{class U{}return U.\u0275fac=function(z){return new(z||U)},U.\u0275cmp=i.\u0275\u0275defineComponent({type:U,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(z,Pe){1&z&&i.\u0275\u0275elementContainer(0,0)},directives:[we],encapsulation:2}),U})(),mt=(()=>{class U{constructor(z){this.templateRef=z,this._contentClassName="cdk-no-data-row"}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(i.TemplateRef))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["ng-template","cdkNoDataRow",""]]}),U})();const ht=["top","bottom","left","right"];class wt{constructor(Se,z,Pe,Ye,st=!0,Dt=!0,xt){this._isNativeHtmlTable=Se,this._stickCellCss=z,this.direction=Pe,this._coalescedStyleScheduler=Ye,this._isBrowser=st,this._needsPositionStickyOnElement=Dt,this._positionListener=xt,this._cachedCellWidths=[],this._borderCellCss={top:`${z}-border-elem-top`,bottom:`${z}-border-elem-bottom`,left:`${z}-border-elem-left`,right:`${z}-border-elem-right`}}clearStickyPositioning(Se,z){const Pe=[];for(const Ye of Se)if(Ye.nodeType===Ye.ELEMENT_NODE){Pe.push(Ye);for(let st=0;st<Ye.children.length;st++)Pe.push(Ye.children[st])}this._coalescedStyleScheduler.schedule(()=>{for(const Ye of Pe)this._removeStickyStyle(Ye,z)})}updateStickyColumns(Se,z,Pe,Ye=!0){if(!Se.length||!this._isBrowser||!z.some(en=>en)&&!Pe.some(en=>en))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const st=Se[0],Dt=st.children.length,xt=this._getCellWidths(st,Ye),Ut=this._getStickyStartColumnPositions(xt,z),on=this._getStickyEndColumnPositions(xt,Pe),Rt=z.lastIndexOf(!0),Cn=Pe.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const en="rtl"===this.direction,Sn=en?"right":"left",Rn=en?"left":"right";for(const gn of Se)for(let Mn=0;Mn<Dt;Mn++){const ii=gn.children[Mn];z[Mn]&&this._addStickyStyle(ii,Sn,Ut[Mn],Mn===Rt),Pe[Mn]&&this._addStickyStyle(ii,Rn,on[Mn],Mn===Cn)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===Rt?[]:xt.slice(0,Rt+1).map((gn,Mn)=>z[Mn]?gn:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Cn?[]:xt.slice(Cn).map((gn,Mn)=>Pe[Mn+Cn]?gn:null).reverse()}))})}stickRows(Se,z,Pe){if(!this._isBrowser)return;const Ye="bottom"===Pe?Se.slice().reverse():Se,st="bottom"===Pe?z.slice().reverse():z,Dt=[],xt=[],Ut=[];for(let Rt=0,Cn=0;Rt<Ye.length;Rt++){if(!st[Rt])continue;Dt[Rt]=Cn;const en=Ye[Rt];Ut[Rt]=this._isNativeHtmlTable?Array.from(en.children):[en];const Sn=en.getBoundingClientRect().height;Cn+=Sn,xt[Rt]=Sn}const on=st.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{var Rt,Cn;for(let en=0;en<Ye.length;en++){if(!st[en])continue;const Sn=Dt[en],Rn=en===on;for(const gn of Ut[en])this._addStickyStyle(gn,Pe,Sn,Rn)}"top"===Pe?null===(Rt=this._positionListener)||void 0===Rt||Rt.stickyHeaderRowsUpdated({sizes:xt,offsets:Dt,elements:Ut}):null===(Cn=this._positionListener)||void 0===Cn||Cn.stickyFooterRowsUpdated({sizes:xt,offsets:Dt,elements:Ut})})}updateStickyFooterContainer(Se,z){if(!this._isNativeHtmlTable)return;const Pe=Se.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{z.some(Ye=>!Ye)?this._removeStickyStyle(Pe,["bottom"]):this._addStickyStyle(Pe,"bottom",0,!1)})}_removeStickyStyle(Se,z){for(const Ye of z)Se.style[Ye]="",Se.classList.remove(this._borderCellCss[Ye]);ht.some(Ye=>-1===z.indexOf(Ye)&&Se.style[Ye])?Se.style.zIndex=this._getCalculatedZIndex(Se):(Se.style.zIndex="",this._needsPositionStickyOnElement&&(Se.style.position=""),Se.classList.remove(this._stickCellCss))}_addStickyStyle(Se,z,Pe,Ye){Se.classList.add(this._stickCellCss),Ye&&Se.classList.add(this._borderCellCss[z]),Se.style[z]=`${Pe}px`,Se.style.zIndex=this._getCalculatedZIndex(Se),this._needsPositionStickyOnElement&&(Se.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Se){const z={top:100,bottom:10,left:1,right:1};let Pe=0;for(const Ye of ht)Se.style[Ye]&&(Pe+=z[Ye]);return Pe?`${Pe}`:""}_getCellWidths(Se,z=!0){if(!z&&this._cachedCellWidths.length)return this._cachedCellWidths;const Pe=[],Ye=Se.children;for(let st=0;st<Ye.length;st++)Pe.push(Ye[st].getBoundingClientRect().width);return this._cachedCellWidths=Pe,Pe}_getStickyStartColumnPositions(Se,z){const Pe=[];let Ye=0;for(let st=0;st<Se.length;st++)z[st]&&(Pe[st]=Ye,Ye+=Se[st]);return Pe}_getStickyEndColumnPositions(Se,z){const Pe=[];let Ye=0;for(let st=Se.length;st>0;st--)z[st]&&(Pe[st]=Ye,Ye+=Se[st]);return Pe}}const De=new i.InjectionToken("CDK_SPL");let _e=(()=>{class U{constructor(z,Pe){this.viewContainer=z,this.elementRef=Pe}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(i.ElementRef))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","rowOutlet",""]]}),U})(),tt=(()=>{class U{constructor(z,Pe){this.viewContainer=z,this.elementRef=Pe}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(i.ElementRef))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","headerRowOutlet",""]]}),U})(),et=(()=>{class U{constructor(z,Pe){this.viewContainer=z,this.elementRef=Pe}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(i.ElementRef))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","footerRowOutlet",""]]}),U})(),lt=(()=>{class U{constructor(z,Pe){this.viewContainer=z,this.elementRef=Pe}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(i.ElementRef))},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","noDataRowOutlet",""]]}),U})(),Lt=(()=>{class U{constructor(z,Pe,Ye,st,Dt,xt,Ut,on,Rt,Cn,en,Sn){this._differs=z,this._changeDetectorRef=Pe,this._elementRef=Ye,this._dir=Dt,this._platform=Ut,this._viewRepeater=on,this._coalescedStyleScheduler=Rt,this._viewportRuler=Cn,this._stickyPositioningListener=en,this._ngZone=Sn,this._onDestroy=new s.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new i.EventEmitter,this.viewChange=new D.X({start:0,end:Number.MAX_VALUE}),st||this._elementRef.nativeElement.setAttribute("role","table"),this._document=xt,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(z){this._trackByFn=z}get dataSource(){return this._dataSource}set dataSource(z){this._dataSource!==z&&this._switchDataSource(z)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(z){this._multiTemplateDataRows=(0,h.Ig)(z),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(z){this._fixedLayout=(0,h.Ig)(z),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((z,Pe)=>this.trackBy?this.trackBy(Pe.dataIndex,Pe.data):Pe),this._viewportRuler.change().pipe((0,p.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Pe=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Pe,this._forceRecalculateCellWidths=Pe,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(z=>{z.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const z=this._dataDiffer.diff(this._renderRows);if(!z)return this._updateNoDataRow(),void this.contentChanged.next();const Pe=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(z,Pe,(Ye,st,Dt)=>this._getEmbeddedViewArgs(Ye.item,Dt),Ye=>Ye.item.data,Ye=>{1===Ye.operation&&Ye.context&&this._renderCellTemplateForItem(Ye.record.item.rowDef,Ye.context)}),this._updateRowIndexContext(),z.forEachIdentityChange(Ye=>{Pe.get(Ye.currentIndex).context.$implicit=Ye.item.data}),this._updateNoDataRow(),this._ngZone&&i.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,A.q)(1),(0,p.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(z){this._customColumnDefs.add(z)}removeColumnDef(z){this._customColumnDefs.delete(z)}addRowDef(z){this._customRowDefs.add(z)}removeRowDef(z){this._customRowDefs.delete(z)}addHeaderRowDef(z){this._customHeaderRowDefs.add(z),this._headerRowDefChanged=!0}removeHeaderRowDef(z){this._customHeaderRowDefs.delete(z),this._headerRowDefChanged=!0}addFooterRowDef(z){this._customFooterRowDefs.add(z),this._footerRowDefChanged=!0}removeFooterRowDef(z){this._customFooterRowDefs.delete(z),this._footerRowDefChanged=!0}setNoDataRow(z){this._customNoDataRow=z}updateStickyHeaderRowStyles(){const z=this._getRenderedRows(this._headerRowOutlet),Ye=this._elementRef.nativeElement.querySelector("thead");Ye&&(Ye.style.display=z.length?"":"none");const st=this._headerRowDefs.map(Dt=>Dt.sticky);this._stickyStyler.clearStickyPositioning(z,["top"]),this._stickyStyler.stickRows(z,st,"top"),this._headerRowDefs.forEach(Dt=>Dt.resetStickyChanged())}updateStickyFooterRowStyles(){const z=this._getRenderedRows(this._footerRowOutlet),Ye=this._elementRef.nativeElement.querySelector("tfoot");Ye&&(Ye.style.display=z.length?"":"none");const st=this._footerRowDefs.map(Dt=>Dt.sticky);this._stickyStyler.clearStickyPositioning(z,["bottom"]),this._stickyStyler.stickRows(z,st,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,st),this._footerRowDefs.forEach(Dt=>Dt.resetStickyChanged())}updateStickyColumnStyles(){const z=this._getRenderedRows(this._headerRowOutlet),Pe=this._getRenderedRows(this._rowOutlet),Ye=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...z,...Pe,...Ye],["left","right"]),this._stickyColumnStylesNeedReset=!1),z.forEach((st,Dt)=>{this._addStickyColumnStyles([st],this._headerRowDefs[Dt])}),this._rowDefs.forEach(st=>{const Dt=[];for(let xt=0;xt<Pe.length;xt++)this._renderRows[xt].rowDef===st&&Dt.push(Pe[xt]);this._addStickyColumnStyles(Dt,st)}),Ye.forEach((st,Dt)=>{this._addStickyColumnStyles([st],this._footerRowDefs[Dt])}),Array.from(this._columnDefsByName.values()).forEach(st=>st.resetStickyChanged())}_getAllRenderRows(){const z=[],Pe=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Ye=0;Ye<this._data.length;Ye++){let st=this._data[Ye];const Dt=this._getRenderRowsForData(st,Ye,Pe.get(st));this._cachedRenderRowsMap.has(st)||this._cachedRenderRowsMap.set(st,new WeakMap);for(let xt=0;xt<Dt.length;xt++){let Ut=Dt[xt];const on=this._cachedRenderRowsMap.get(Ut.data);on.has(Ut.rowDef)?on.get(Ut.rowDef).push(Ut):on.set(Ut.rowDef,[Ut]),z.push(Ut)}}return z}_getRenderRowsForData(z,Pe,Ye){return this._getRowDefs(z,Pe).map(Dt=>{const xt=Ye&&Ye.has(Dt)?Ye.get(Dt):[];if(xt.length){const Ut=xt.shift();return Ut.dataIndex=Pe,Ut}return{data:z,rowDef:Dt,dataIndex:Pe}})}_cacheColumnDefs(){this._columnDefsByName.clear(),St(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Pe=>{this._columnDefsByName.has(Pe.name),this._columnDefsByName.set(Pe.name,Pe)})}_cacheRowDefs(){this._headerRowDefs=St(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=St(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=St(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const z=this._rowDefs.filter(Pe=>!Pe.when);this._defaultRowDef=z[0]}_renderUpdatedColumns(){const z=(Dt,xt)=>Dt||!!xt.getColumnsDiff(),Pe=this._rowDefs.reduce(z,!1);Pe&&this._forceRenderDataRows();const Ye=this._headerRowDefs.reduce(z,!1);Ye&&this._forceRenderHeaderRows();const st=this._footerRowDefs.reduce(z,!1);return st&&this._forceRenderFooterRows(),Pe||Ye||st}_switchDataSource(z){this._data=[],(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),z||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=z}_observeRenderChanges(){if(!this.dataSource)return;let z;(0,g.Z9)(this.dataSource)?z=this.dataSource.connect(this):(0,T.b)(this.dataSource)?z=this.dataSource:Array.isArray(this.dataSource)&&(z=(0,S.of)(this.dataSource)),this._renderChangeSubscription=z.pipe((0,p.R)(this._onDestroy)).subscribe(Pe=>{this._data=Pe||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((z,Pe)=>this._renderRow(this._headerRowOutlet,z,Pe)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((z,Pe)=>this._renderRow(this._footerRowOutlet,z,Pe)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(z,Pe){const Ye=Array.from(Pe.columns||[]).map(xt=>this._columnDefsByName.get(xt)),st=Ye.map(xt=>xt.sticky),Dt=Ye.map(xt=>xt.stickyEnd);this._stickyStyler.updateStickyColumns(z,st,Dt,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(z){const Pe=[];for(let Ye=0;Ye<z.viewContainer.length;Ye++){const st=z.viewContainer.get(Ye);Pe.push(st.rootNodes[0])}return Pe}_getRowDefs(z,Pe){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Ye=[];if(this.multiTemplateDataRows)Ye=this._rowDefs.filter(st=>!st.when||st.when(Pe,z));else{let st=this._rowDefs.find(Dt=>Dt.when&&Dt.when(Pe,z))||this._defaultRowDef;st&&Ye.push(st)}return Ye}_getEmbeddedViewArgs(z,Pe){return{templateRef:z.rowDef.template,context:{$implicit:z.data},index:Pe}}_renderRow(z,Pe,Ye,st={}){const Dt=z.viewContainer.createEmbeddedView(Pe.template,st,Ye);return this._renderCellTemplateForItem(Pe,st),Dt}_renderCellTemplateForItem(z,Pe){for(let Ye of this._getCellTemplates(z))we.mostRecentCellOutlet&&we.mostRecentCellOutlet._viewContainer.createEmbeddedView(Ye,Pe);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const z=this._rowOutlet.viewContainer;for(let Pe=0,Ye=z.length;Pe<Ye;Pe++){const Dt=z.get(Pe).context;Dt.count=Ye,Dt.first=0===Pe,Dt.last=Pe===Ye-1,Dt.even=Pe%2==0,Dt.odd=!Dt.even,this.multiTemplateDataRows?(Dt.dataIndex=this._renderRows[Pe].dataIndex,Dt.renderIndex=Pe):Dt.index=this._renderRows[Pe].dataIndex}}_getCellTemplates(z){return z&&z.columns?Array.from(z.columns,Pe=>{const Ye=this._columnDefsByName.get(Pe);return z.extractCellTemplate(Ye)}):[]}_applyNativeTableSections(){const z=this._document.createDocumentFragment(),Pe=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Ye of Pe){const st=this._document.createElement(Ye.tag);st.setAttribute("role","rowgroup");for(const Dt of Ye.outlets)st.appendChild(Dt.elementRef.nativeElement);z.appendChild(st)}this._elementRef.nativeElement.appendChild(z)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const z=(Pe,Ye)=>Pe||Ye.hasStickyChanged();this._headerRowDefs.reduce(z,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(z,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(z,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new wt(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,S.of)()).pipe((0,p.R)(this._onDestroy)).subscribe(Pe=>{this._stickyStyler.direction=Pe,this.updateStickyColumnStyles()})}_getOwnDefs(z){return z.filter(Pe=>!Pe._table||Pe._table===this)}_updateNoDataRow(){const z=this._customNoDataRow||this._noDataRow;if(!z)return;const Pe=0===this._rowOutlet.viewContainer.length;if(Pe===this._isShowingNoDataRow)return;const Ye=this._noDataRowOutlet.viewContainer;if(Pe){const st=Ye.createEmbeddedView(z.templateRef),Dt=st.rootNodes[0];1===st.rootNodes.length&&(null==Dt?void 0:Dt.nodeType)===this._document.ELEMENT_NODE&&(Dt.setAttribute("role","row"),Dt.classList.add(z._contentClassName))}else Ye.clear();this._isShowingNoDataRow=Pe}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(i.IterableDiffers),i.\u0275\u0275directiveInject(i.ChangeDetectorRef),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275injectAttribute("role"),i.\u0275\u0275directiveInject(M.Is,8),i.\u0275\u0275directiveInject(d.DOCUMENT),i.\u0275\u0275directiveInject(C.t4),i.\u0275\u0275directiveInject(g.k),i.\u0275\u0275directiveInject(xe),i.\u0275\u0275directiveInject(N.rL),i.\u0275\u0275directiveInject(De,12),i.\u0275\u0275directiveInject(i.NgZone,8))},U.\u0275cmp=i.\u0275\u0275defineComponent({type:U,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(z,Pe,Ye){if(1&z&&(i.\u0275\u0275contentQuery(Ye,mt,5),i.\u0275\u0275contentQuery(Ye,Ve,5),i.\u0275\u0275contentQuery(Ye,he,5),i.\u0275\u0275contentQuery(Ye,gt,5),i.\u0275\u0275contentQuery(Ye,q,5)),2&z){let st;i.\u0275\u0275queryRefresh(st=i.\u0275\u0275loadQuery())&&(Pe._noDataRow=st.first),i.\u0275\u0275queryRefresh(st=i.\u0275\u0275loadQuery())&&(Pe._contentColumnDefs=st),i.\u0275\u0275queryRefresh(st=i.\u0275\u0275loadQuery())&&(Pe._contentRowDefs=st),i.\u0275\u0275queryRefresh(st=i.\u0275\u0275loadQuery())&&(Pe._contentHeaderRowDefs=st),i.\u0275\u0275queryRefresh(st=i.\u0275\u0275loadQuery())&&(Pe._contentFooterRowDefs=st)}},viewQuery:function(z,Pe){if(1&z&&(i.\u0275\u0275viewQuery(_e,7),i.\u0275\u0275viewQuery(tt,7),i.\u0275\u0275viewQuery(et,7),i.\u0275\u0275viewQuery(lt,7)),2&z){let Ye;i.\u0275\u0275queryRefresh(Ye=i.\u0275\u0275loadQuery())&&(Pe._rowOutlet=Ye.first),i.\u0275\u0275queryRefresh(Ye=i.\u0275\u0275loadQuery())&&(Pe._headerRowOutlet=Ye.first),i.\u0275\u0275queryRefresh(Ye=i.\u0275\u0275loadQuery())&&(Pe._footerRowOutlet=Ye.first),i.\u0275\u0275queryRefresh(Ye=i.\u0275\u0275loadQuery())&&(Pe._noDataRowOutlet=Ye.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(z,Pe){2&z&&i.\u0275\u0275classProp("cdk-table-fixed-layout",Pe.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[i.\u0275\u0275ProvidersFeature([{provide:me,useExisting:U},{provide:g.k,useClass:g.yy},{provide:xe,useClass:fe},{provide:De,useValue:null}])],ngContentSelectors:de,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(z,Pe){1&z&&(i.\u0275\u0275projectionDef($),i.\u0275\u0275projection(0),i.\u0275\u0275projection(1,1),i.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},directives:[tt,_e,lt,et],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),U})();function St(U,Se){return U.concat(Array.from(Se))}let ln=(()=>{class U{constructor(z,Pe){this._table=z,this._options=Pe,this.justify="start",this._options=Pe||{}}get name(){return this._name}set name(z){this._name=z,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((z,Pe)=>z[Pe])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const z=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(z):z[0].toUpperCase()+z.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return U.\u0275fac=function(z){return new(z||U)(i.\u0275\u0275directiveInject(Lt,8),i.\u0275\u0275directiveInject(ye,8))},U.\u0275cmp=i.\u0275\u0275defineComponent({type:U,selectors:[["cdk-text-column"]],viewQuery:function(z,Pe){if(1&z&&(i.\u0275\u0275viewQuery(Ve,7),i.\u0275\u0275viewQuery(X,7),i.\u0275\u0275viewQuery(ve,7)),2&z){let Ye;i.\u0275\u0275queryRefresh(Ye=i.\u0275\u0275loadQuery())&&(Pe.columnDef=Ye.first),i.\u0275\u0275queryRefresh(Ye=i.\u0275\u0275loadQuery())&&(Pe.cell=Ye.first),i.\u0275\u0275queryRefresh(Ye=i.\u0275\u0275loadQuery())&&(Pe.headerCell=Ye.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(z,Pe){1&z&&(i.\u0275\u0275elementContainerStart(0,0),i.\u0275\u0275template(1,K,2,3,"th",1),i.\u0275\u0275template(2,ce,2,3,"td",2),i.\u0275\u0275elementContainerEnd())},directives:[Ve,ve,Ie,X,pe],encapsulation:2}),U})(),Jt=(()=>{class U{}return U.\u0275fac=function(z){return new(z||U)},U.\u0275mod=i.\u0275\u0275defineNgModule({type:U}),U.\u0275inj=i.\u0275\u0275defineInjector({imports:[[N.Cl]]}),U})();var vt=c(508),Gt=c(6451),Ht=c(9841),un=c(4004);const re=[[["caption"]],[["colgroup"],["col"]]],Z=["caption","colgroup, col"];function L(U,Se){if(1&U&&(i.\u0275\u0275elementStart(0,"th",3),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&U){const z=i.\u0275\u0275nextContext();i.\u0275\u0275styleProp("text-align",z.justify),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",z.headerText," ")}}function P(U,Se){if(1&U&&(i.\u0275\u0275elementStart(0,"td",4),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&U){const z=Se.$implicit,Pe=i.\u0275\u0275nextContext();i.\u0275\u0275styleProp("text-align",Pe.justify),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",Pe.dataAccessor(z,Pe.name)," ")}}let te=(()=>{class U{}return U.\u0275fac=function(z){return new(z||U)},U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[i.\u0275\u0275ProvidersFeature([{provide:g.k,useClass:g.eX}])]}),U})(),E=(()=>{class U extends Lt{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return U.\u0275fac=function(){let Se;return function(Pe){return(Se||(Se=i.\u0275\u0275getInheritedFactory(U)))(Pe||U)}}(),U.\u0275cmp=i.\u0275\u0275defineComponent({type:U,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(z,Pe){2&z&&i.\u0275\u0275classProp("mat-table-fixed-layout",Pe.fixedLayout)},exportAs:["matTable"],features:[i.\u0275\u0275ProvidersFeature([{provide:g.k,useClass:g.yy},{provide:Lt,useExisting:U},{provide:me,useExisting:U},{provide:xe,useClass:fe},{provide:De,useValue:null}]),i.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Z,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(z,Pe){1&z&&(i.\u0275\u0275projectionDef(re),i.\u0275\u0275projection(0),i.\u0275\u0275projection(1,1),i.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},directives:[tt,_e,lt,et],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),U})(),j=(()=>{class U extends X{}return U.\u0275fac=function(){let Se;return function(Pe){return(Se||(Se=i.\u0275\u0275getInheritedFactory(U)))(Pe||U)}}(),U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","matCellDef",""]],features:[i.\u0275\u0275ProvidersFeature([{provide:X,useExisting:U}]),i.\u0275\u0275InheritDefinitionFeature]}),U})(),ke=(()=>{class U extends ve{}return U.\u0275fac=function(){let Se;return function(Pe){return(Se||(Se=i.\u0275\u0275getInheritedFactory(U)))(Pe||U)}}(),U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","matHeaderCellDef",""]],features:[i.\u0275\u0275ProvidersFeature([{provide:ve,useExisting:U}]),i.\u0275\u0275InheritDefinitionFeature]}),U})(),it=(()=>{class U extends Re{}return U.\u0275fac=function(){let Se;return function(Pe){return(Se||(Se=i.\u0275\u0275getInheritedFactory(U)))(Pe||U)}}(),U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","matFooterCellDef",""]],features:[i.\u0275\u0275ProvidersFeature([{provide:Re,useExisting:U}]),i.\u0275\u0275InheritDefinitionFeature]}),U})(),Bt=(()=>{class U extends Ve{get name(){return this._name}set name(z){this._setNameInput(z)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return U.\u0275fac=function(){let Se;return function(Pe){return(Se||(Se=i.\u0275\u0275getInheritedFactory(U)))(Pe||U)}}(),U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[i.\u0275\u0275ProvidersFeature([{provide:Ve,useExisting:U},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:U}]),i.\u0275\u0275InheritDefinitionFeature]}),U})(),jt=(()=>{class U extends Ie{}return U.\u0275fac=function(){let Se;return function(Pe){return(Se||(Se=i.\u0275\u0275getInheritedFactory(U)))(Pe||U)}}(),U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[i.\u0275\u0275InheritDefinitionFeature]}),U})(),Ne=(()=>{class U extends H{}return U.\u0275fac=function(){let Se;return function(Pe){return(Se||(Se=i.\u0275\u0275getInheritedFactory(U)))(Pe||U)}}(),U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[i.\u0275\u0275InheritDefinitionFeature]}),U})(),$e=(()=>{class U extends pe{}return U.\u0275fac=function(){let Se;return function(Pe){return(Se||(Se=i.\u0275\u0275getInheritedFactory(U)))(Pe||U)}}(),U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[i.\u0275\u0275InheritDefinitionFeature]}),U})(),le=(()=>{class U extends gt{}return U.\u0275fac=function(){let Se;return function(Pe){return(Se||(Se=i.\u0275\u0275getInheritedFactory(U)))(Pe||U)}}(),U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[i.\u0275\u0275ProvidersFeature([{provide:gt,useExisting:U}]),i.\u0275\u0275InheritDefinitionFeature]}),U})(),je=(()=>{class U extends q{}return U.\u0275fac=function(){let Se;return function(Pe){return(Se||(Se=i.\u0275\u0275getInheritedFactory(U)))(Pe||U)}}(),U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[i.\u0275\u0275ProvidersFeature([{provide:q,useExisting:U}]),i.\u0275\u0275InheritDefinitionFeature]}),U})(),ct=(()=>{class U extends he{}return U.\u0275fac=function(){let Se;return function(Pe){return(Se||(Se=i.\u0275\u0275getInheritedFactory(U)))(Pe||U)}}(),U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[i.\u0275\u0275ProvidersFeature([{provide:he,useExisting:U}]),i.\u0275\u0275InheritDefinitionFeature]}),U})(),kt=(()=>{class U extends Fe{}return U.\u0275fac=function(){let Se;return function(Pe){return(Se||(Se=i.\u0275\u0275getInheritedFactory(U)))(Pe||U)}}(),U.\u0275cmp=i.\u0275\u0275defineComponent({type:U,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[i.\u0275\u0275ProvidersFeature([{provide:Fe,useExisting:U}]),i.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(z,Pe){1&z&&i.\u0275\u0275elementContainer(0,0)},directives:[we],encapsulation:2}),U})(),At=(()=>{class U extends be{}return U.\u0275fac=function(){let Se;return function(Pe){return(Se||(Se=i.\u0275\u0275getInheritedFactory(U)))(Pe||U)}}(),U.\u0275cmp=i.\u0275\u0275defineComponent({type:U,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[i.\u0275\u0275ProvidersFeature([{provide:be,useExisting:U}]),i.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(z,Pe){1&z&&i.\u0275\u0275elementContainer(0,0)},directives:[we],encapsulation:2}),U})(),Xt=(()=>{class U extends Ge{}return U.\u0275fac=function(){let Se;return function(Pe){return(Se||(Se=i.\u0275\u0275getInheritedFactory(U)))(Pe||U)}}(),U.\u0275cmp=i.\u0275\u0275defineComponent({type:U,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[i.\u0275\u0275ProvidersFeature([{provide:Ge,useExisting:U}]),i.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(z,Pe){1&z&&i.\u0275\u0275elementContainer(0,0)},directives:[we],encapsulation:2}),U})(),mn=(()=>{class U extends mt{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return U.\u0275fac=function(){let Se;return function(Pe){return(Se||(Se=i.\u0275\u0275getInheritedFactory(U)))(Pe||U)}}(),U.\u0275dir=i.\u0275\u0275defineDirective({type:U,selectors:[["ng-template","matNoDataRow",""]],features:[i.\u0275\u0275ProvidersFeature([{provide:mt,useExisting:U}]),i.\u0275\u0275InheritDefinitionFeature]}),U})(),On=(()=>{class U extends ln{}return U.\u0275fac=function(){let Se;return function(Pe){return(Se||(Se=i.\u0275\u0275getInheritedFactory(U)))(Pe||U)}}(),U.\u0275cmp=i.\u0275\u0275defineComponent({type:U,selectors:[["mat-text-column"]],features:[i.\u0275\u0275InheritDefinitionFeature],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(z,Pe){1&z&&(i.\u0275\u0275elementContainerStart(0,0),i.\u0275\u0275template(1,L,2,3,"th",1),i.\u0275\u0275template(2,P,2,3,"td",2),i.\u0275\u0275elementContainerEnd())},directives:[Bt,ke,jt,j,$e],encapsulation:2}),U})(),jn=(()=>{class U{}return U.\u0275fac=function(z){return new(z||U)},U.\u0275mod=i.\u0275\u0275defineNgModule({type:U}),U.\u0275inj=i.\u0275\u0275defineInjector({imports:[[Jt,vt.MatCommonModule],vt.MatCommonModule]}),U})();class xn extends g.o2{constructor(Se=[]){super(),this._renderData=new D.X([]),this._filter=new D.X(""),this._internalPageChanges=new s.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(z,Pe)=>{const Ye=z[Pe];if((0,h.t6)(Ye)){const st=Number(Ye);return st<9007199254740991?st:Ye}return Ye},this.sortData=(z,Pe)=>{const Ye=Pe.active,st=Pe.direction;return Ye&&""!=st?z.sort((Dt,xt)=>{let Ut=this.sortingDataAccessor(Dt,Ye),on=this.sortingDataAccessor(xt,Ye);const Rt=typeof Ut,Cn=typeof on;Rt!==Cn&&("number"===Rt&&(Ut+=""),"number"===Cn&&(on+=""));let en=0;return null!=Ut&&null!=on?Ut>on?en=1:Ut<on&&(en=-1):null!=Ut?en=1:null!=on&&(en=-1),en*("asc"==st?1:-1)}):z},this.filterPredicate=(z,Pe)=>{const Ye=Object.keys(z).reduce((Dt,xt)=>Dt+z[xt]+"\u25ec","").toLowerCase(),st=Pe.trim().toLowerCase();return-1!=Ye.indexOf(st)},this._data=new D.X(Se),this._updateChangeSubscription()}get data(){return this._data.value}set data(Se){Se=Array.isArray(Se)?Se:[],this._data.next(Se),this._renderChangesSubscription||this._filterData(Se)}get filter(){return this._filter.value}set filter(Se){this._filter.next(Se),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Se){this._sort=Se,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Se){this._paginator=Se,this._updateChangeSubscription()}_updateChangeSubscription(){var Se;const z=this._sort?(0,Gt.T)(this._sort.sortChange,this._sort.initialized):(0,S.of)(null),Pe=this._paginator?(0,Gt.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,S.of)(null),st=(0,Ht.a)([this._data,this._filter]).pipe((0,un.U)(([Ut])=>this._filterData(Ut))),Dt=(0,Ht.a)([st,z]).pipe((0,un.U)(([Ut])=>this._orderData(Ut))),xt=(0,Ht.a)([Dt,Pe]).pipe((0,un.U)(([Ut])=>this._pageData(Ut)));null===(Se=this._renderChangesSubscription)||void 0===Se||Se.unsubscribe(),this._renderChangesSubscription=xt.subscribe(Ut=>this._renderData.next(Ut))}_filterData(Se){return this.filteredData=null==this.filter||""===this.filter?Se:Se.filter(z=>this.filterPredicate(z,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Se){return this.sort?this.sortData(Se.slice(),this.sort):Se}_pageData(Se){if(!this.paginator)return Se;const z=this.paginator.pageIndex*this.paginator.pageSize;return Se.slice(z,z+this.paginator.pageSize)}_updatePaginator(Se){Promise.resolve().then(()=>{const z=this.paginator;if(z&&(z.length=Se,z.pageIndex>0)){const Pe=Math.ceil(z.length/z.pageSize)-1||0,Ye=Math.min(z.pageIndex,Pe);Ye!==z.pageIndex&&(z.pageIndex=Ye,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var Se;null===(Se=this._renderChangesSubscription)||void 0===Se||Se.unsubscribe(),this._renderChangesSubscription=null}}class An extends xn{}},3251:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{MAT_TAB:()=>Ge,MAT_TABS_CONFIG:()=>ae,MAT_TAB_GROUP:()=>wt,MatInkBar:()=>he,MatTab:()=>dt,MatTabBody:()=>Ae,MatTabBodyPortal:()=>B,MatTabChangeEvent:()=>Lt,MatTabContent:()=>Fe,MatTabGroup:()=>qt,MatTabHeader:()=>_t,MatTabLabel:()=>mt,MatTabLabelWrapper:()=>Xe,MatTabLink:()=>re,MatTabNav:()=>Gt,MatTabNavPanel:()=>Z,MatTabsModule:()=>L,_MAT_INK_BAR_POSITIONER:()=>qe,_MatTabBodyBase:()=>ie,_MatTabGroupBase:()=>ln,_MatTabHeaderBase:()=>lt,_MatTabLinkBase:()=>un,_MatTabNavBase:()=>vt,matTabsAnimations:()=>Ke});var i=c(5664),h=c(7144),g=c(7429),d=c(9808),s=c(5e3),v=c(508),D=c(6360),T=c(6758),S=c(6921),p=c(4968),A=c(9646),M=c(6451),C=c(2805),N=c(1777),$=c(8675),de=c(1884),K=c(2722),ce=c(226),Oe=c(3191),me=c(1159),ye=c(925),X=c(9071);function ve(P,te){1&P&&s.\u0275\u0275projection(0)}const Re=["*"];function Qe(P,te){}const ot=function(P){return{animationDuration:P}},Ve=function(P,te){return{value:P,params:te}},ue=["tabListContainer"],Ie=["tabList"],H=["tabListInner"],pe=["nextPaginator"],ee=["previousPaginator"],xe=["tabBodyWrapper"],fe=["tabHeader"];function Ze(P,te){}function ge(P,te){if(1&P&&s.\u0275\u0275template(0,Ze,0,0,"ng-template",10),2&P){const E=s.\u0275\u0275nextContext().$implicit;s.\u0275\u0275property("cdkPortalOutlet",E.templateLabel)}}function He(P,te){if(1&P&&s.\u0275\u0275text(0),2&P){const E=s.\u0275\u0275nextContext().$implicit;s.\u0275\u0275textInterpolate(E.textLabel)}}function at(P,te){if(1&P){const E=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"div",6),s.\u0275\u0275listener("click",function(){const ke=s.\u0275\u0275restoreView(E),it=ke.$implicit,Bt=ke.index,jt=s.\u0275\u0275nextContext(),Ne=s.\u0275\u0275reference(1);return jt._handleClick(it,Ne,Bt)})("cdkFocusChange",function(ke){const Bt=s.\u0275\u0275restoreView(E).index;return s.\u0275\u0275nextContext()._tabFocusChanged(ke,Bt)}),s.\u0275\u0275elementStart(1,"div",7),s.\u0275\u0275template(2,ge,1,1,"ng-template",8),s.\u0275\u0275template(3,He,1,1,"ng-template",null,9,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275elementEnd()()}if(2&P){const E=te.$implicit,j=te.index,ke=s.\u0275\u0275reference(4),it=s.\u0275\u0275nextContext();s.\u0275\u0275classProp("mat-tab-label-active",it.selectedIndex===j),s.\u0275\u0275property("id",it._getTabLabelId(j))("ngClass",E.labelClass)("disabled",E.disabled)("matRippleDisabled",E.disabled||it.disableRipple),s.\u0275\u0275attribute("tabIndex",it._getTabIndex(E,j))("aria-posinset",j+1)("aria-setsize",it._tabs.length)("aria-controls",it._getTabContentId(j))("aria-selected",it.selectedIndex===j)("aria-label",E.ariaLabel||null)("aria-labelledby",!E.ariaLabel&&E.ariaLabelledby?E.ariaLabelledby:null),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngIf",E.templateLabel)("ngIfElse",ke)}}function gt(P,te){if(1&P){const E=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"mat-tab-body",11),s.\u0275\u0275listener("_onCentered",function(){return s.\u0275\u0275restoreView(E),s.\u0275\u0275nextContext()._removeTabBodyWrapperHeight()})("_onCentering",function(ke){return s.\u0275\u0275restoreView(E),s.\u0275\u0275nextContext()._setTabBodyWrapperHeight(ke)}),s.\u0275\u0275elementEnd()}if(2&P){const E=te.$implicit,j=te.index,ke=s.\u0275\u0275nextContext();s.\u0275\u0275classProp("mat-tab-body-active",ke.selectedIndex===j),s.\u0275\u0275property("id",ke._getTabContentId(j))("ngClass",E.bodyClass)("content",E.content)("position",E.position)("origin",E.origin)("animationDuration",ke.animationDuration),s.\u0275\u0275attribute("tabindex",null!=ke.contentTabIndex&&ke.selectedIndex===j?ke.contentTabIndex:null)("aria-labelledby",ke._getTabLabelId(j))}}const Le=["mat-tab-nav-bar",""],qe=new s.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:function q(){return te=>({left:te?(te.offsetLeft||0)+"px":"0",width:te?(te.offsetWidth||0)+"px":"0"})}});let he=(()=>{class P{constructor(E,j,ke,it){this._elementRef=E,this._ngZone=j,this._inkBarPositioner=ke,this._animationMode=it}alignToElement(E){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(E))}):this._setStyles(E)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(E){const j=this._inkBarPositioner(E),ke=this._elementRef.nativeElement;ke.style.left=j.left,ke.style.width=j.width}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(qe),s.\u0275\u0275directiveInject(D.ANIMATION_MODULE_TYPE,8))},P.\u0275dir=s.\u0275\u0275defineDirective({type:P,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(E,j){2&E&&s.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===j._animationMode)}}),P})();const we=new s.InjectionToken("MatTabContent");let Fe=(()=>{class P{constructor(E){this.template=E}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(s.TemplateRef))},P.\u0275dir=s.\u0275\u0275defineDirective({type:P,selectors:[["","matTabContent",""]],features:[s.\u0275\u0275ProvidersFeature([{provide:we,useExisting:P}])]}),P})();const be=new s.InjectionToken("MatTabLabel"),Ge=new s.InjectionToken("MAT_TAB");let mt=(()=>{class P extends g.ig{constructor(E,j,ke){super(E,j),this._closestTab=ke}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(s.TemplateRef),s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject(Ge,8))},P.\u0275dir=s.\u0275\u0275defineDirective({type:P,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[s.\u0275\u0275ProvidersFeature([{provide:be,useExisting:P}]),s.\u0275\u0275InheritDefinitionFeature]}),P})();const ht=(0,v.mixinDisabled)(class{}),wt=new s.InjectionToken("MAT_TAB_GROUP");let dt=(()=>{class P extends ht{constructor(E,j){super(),this._viewContainerRef=E,this._closestTabGroup=j,this.textLabel="",this._contentPortal=null,this._stateChanges=new T.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(E){this._setTemplateLabelInput(E)}get content(){return this._contentPortal}ngOnChanges(E){(E.hasOwnProperty("textLabel")||E.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new g.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(E){E&&E._closestTab===this&&(this._templateLabel=E)}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject(wt,8))},P.\u0275cmp=s.\u0275\u0275defineComponent({type:P,selectors:[["mat-tab"]],contentQueries:function(E,j,ke){if(1&E&&(s.\u0275\u0275contentQuery(ke,be,5),s.\u0275\u0275contentQuery(ke,we,7,s.TemplateRef)),2&E){let it;s.\u0275\u0275queryRefresh(it=s.\u0275\u0275loadQuery())&&(j.templateLabel=it.first),s.\u0275\u0275queryRefresh(it=s.\u0275\u0275loadQuery())&&(j._explicitContent=it.first)}},viewQuery:function(E,j){if(1&E&&s.\u0275\u0275viewQuery(s.TemplateRef,7),2&E){let ke;s.\u0275\u0275queryRefresh(ke=s.\u0275\u0275loadQuery())&&(j._implicitContent=ke.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[s.\u0275\u0275ProvidersFeature([{provide:Ge,useExisting:P}]),s.\u0275\u0275InheritDefinitionFeature,s.\u0275\u0275NgOnChangesFeature],ngContentSelectors:Re,decls:1,vars:0,template:function(E,j){1&E&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275template(0,ve,1,0,"ng-template"))},encapsulation:2}),P})();const Ke={translateTab:(0,N.X$)("translateTab",[(0,N.SB)("center, void, left-origin-center, right-origin-center",(0,N.oB)({transform:"none"})),(0,N.SB)("left",(0,N.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,N.SB)("right",(0,N.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,N.eR)("* => left, * => right, left => center, right => center",(0,N.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,N.eR)("void => left-origin-center",[(0,N.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,N.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,N.eR)("void => right-origin-center",[(0,N.oB)({transform:"translate3d(100%, 0, 0)"}),(0,N.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let B=(()=>{class P extends g.Pl{constructor(E,j,ke,it){super(E,j,it),this._host=ke,this._centeringSub=S.w0.EMPTY,this._leavingSub=S.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,$.O)(this._host._isCenterPosition(this._host._position))).subscribe(E=>{E&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(s.ComponentFactoryResolver),s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject((0,s.forwardRef)(()=>Ae)),s.\u0275\u0275directiveInject(d.DOCUMENT))},P.\u0275dir=s.\u0275\u0275defineDirective({type:P,selectors:[["","matTabBodyHost",""]],features:[s.\u0275\u0275InheritDefinitionFeature]}),P})(),ie=(()=>{class P{constructor(E,j,ke){this._elementRef=E,this._dir=j,this._dirChangeSubscription=S.w0.EMPTY,this._translateTabComplete=new T.x,this._onCentering=new s.EventEmitter,this._beforeCentering=new s.EventEmitter,this._afterLeavingCenter=new s.EventEmitter,this._onCentered=new s.EventEmitter(!0),this.animationDuration="500ms",j&&(this._dirChangeSubscription=j.change.subscribe(it=>{this._computePositionAnimationState(it),ke.markForCheck()})),this._translateTabComplete.pipe((0,de.x)((it,Bt)=>it.fromState===Bt.fromState&&it.toState===Bt.toState)).subscribe(it=>{this._isCenterPosition(it.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(it.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(E){this._positionIndex=E,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(E){const j=this._isCenterPosition(E.toState);this._beforeCentering.emit(j),j&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(E){return"center"==E||"left-origin-center"==E||"right-origin-center"==E}_computePositionAnimationState(E=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==E?"left":"right":this._positionIndex>0?"ltr"==E?"right":"left":"center"}_computePositionFromOrigin(E){const j=this._getLayoutDirection();return"ltr"==j&&E<=0||"rtl"==j&&E>0?"left-origin-center":"right-origin-center"}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(ce.Is,8),s.\u0275\u0275directiveInject(s.ChangeDetectorRef))},P.\u0275dir=s.\u0275\u0275defineDirective({type:P,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),P})(),Ae=(()=>{class P extends ie{constructor(E,j,ke){super(E,j,ke)}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(ce.Is,8),s.\u0275\u0275directiveInject(s.ChangeDetectorRef))},P.\u0275cmp=s.\u0275\u0275defineComponent({type:P,selectors:[["mat-tab-body"]],viewQuery:function(E,j){if(1&E&&s.\u0275\u0275viewQuery(g.Pl,5),2&E){let ke;s.\u0275\u0275queryRefresh(ke=s.\u0275\u0275loadQuery())&&(j._portalHost=ke.first)}},hostAttrs:[1,"mat-tab-body"],features:[s.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(E,j){1&E&&(s.\u0275\u0275elementStart(0,"div",0,1),s.\u0275\u0275listener("@translateTab.start",function(it){return j._onTranslateTabStarted(it)})("@translateTab.done",function(it){return j._translateTabComplete.next(it)}),s.\u0275\u0275template(2,Qe,0,0,"ng-template",2),s.\u0275\u0275elementEnd()),2&E&&s.\u0275\u0275property("@translateTab",s.\u0275\u0275pureFunction2(3,Ve,j._position,s.\u0275\u0275pureFunction1(1,ot,j.animationDuration)))},directives:[B],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[Ke.translateTab]}}),P})();const ae=new s.InjectionToken("MAT_TABS_CONFIG"),Me=(0,v.mixinDisabled)(class{});let Xe=(()=>{class P extends Me{constructor(E){super(),this.elementRef=E}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(s.ElementRef))},P.\u0275dir=s.\u0275\u0275defineDirective({type:P,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(E,j){2&E&&(s.\u0275\u0275attribute("aria-disabled",!!j.disabled),s.\u0275\u0275classProp("mat-tab-disabled",j.disabled))},inputs:{disabled:"disabled"},features:[s.\u0275\u0275InheritDefinitionFeature]}),P})();const De=(0,ye.i$)({passive:!0});let et=(()=>{class P{constructor(E,j,ke,it,Bt,jt,Ne){this._elementRef=E,this._changeDetectorRef=j,this._viewportRuler=ke,this._dir=it,this._ngZone=Bt,this._platform=jt,this._animationMode=Ne,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new T.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new T.x,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new s.EventEmitter,this.indexFocused=new s.EventEmitter,Bt.runOutsideAngular(()=>{(0,p.R)(E.nativeElement,"mouseleave").pipe((0,K.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(E){E=(0,Oe.su)(E),this._selectedIndex!=E&&(this._selectedIndexChanged=!0,this._selectedIndex=E,this._keyManager&&this._keyManager.updateActiveItem(E))}ngAfterViewInit(){(0,p.R)(this._previousPaginator.nativeElement,"touchstart",De).pipe((0,K.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,p.R)(this._nextPaginator.nativeElement,"touchstart",De).pipe((0,K.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const E=this._dir?this._dir.change:(0,A.of)("ltr"),j=this._viewportRuler.change(150),ke=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new i.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(ke):ke(),(0,M.T)(E,j,this._items.changes).pipe((0,K.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(ke)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,K.R)(this._destroyed)).subscribe(it=>{this.indexFocused.emit(it),this._setTabFocus(it)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(E){if(!(0,me.Vb)(E))switch(E.keyCode){case me.K5:case me.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(E));break;default:this._keyManager.onKeydown(E)}}_onContentChanges(){const E=this._elementRef.nativeElement.textContent;E!==this._currentTextContent&&(this._currentTextContent=E||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(E){!this._isValidIndex(E)||this.focusIndex===E||!this._keyManager||this._keyManager.setActiveItem(E)}_isValidIndex(E){if(!this._items)return!0;const j=this._items?this._items.toArray()[E]:null;return!!j&&!j.disabled}_setTabFocus(E){if(this._showPaginationControls&&this._scrollToLabel(E),this._items&&this._items.length){this._items.toArray()[E].focus();const j=this._tabListContainer.nativeElement;j.scrollLeft="ltr"==this._getLayoutDirection()?0:j.scrollWidth-j.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const E=this.scrollDistance,j="ltr"===this._getLayoutDirection()?-E:E;this._tabList.nativeElement.style.transform=`translateX(${Math.round(j)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(E){this._scrollTo(E)}_scrollHeader(E){return this._scrollTo(this._scrollDistance+("before"==E?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(E){this._stopInterval(),this._scrollHeader(E)}_scrollToLabel(E){if(this.disablePagination)return;const j=this._items?this._items.toArray()[E]:null;if(!j)return;const ke=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:it,offsetWidth:Bt}=j.elementRef.nativeElement;let jt,Ne;"ltr"==this._getLayoutDirection()?(jt=it,Ne=jt+Bt):(Ne=this._tabListInner.nativeElement.offsetWidth-it,jt=Ne-Bt);const $e=this.scrollDistance,le=this.scrollDistance+ke;jt<$e?this.scrollDistance-=$e-jt+60:Ne>le&&(this.scrollDistance+=Ne-le+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const E=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;E||(this.scrollDistance=0),E!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=E}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const E=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,j=E?E.elementRef.nativeElement:null;j?this._inkBar.alignToElement(j):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(E,j){j&&null!=j.button&&0!==j.button||(this._stopInterval(),(0,C.H)(650,100).pipe((0,K.R)((0,M.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:ke,distance:it}=this._scrollHeader(E);(0===it||it>=ke)&&this._stopInterval()}))}_scrollTo(E){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const j=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(j,E)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:j,distance:this._scrollDistance}}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(X.rL),s.\u0275\u0275directiveInject(ce.Is,8),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(ye.t4),s.\u0275\u0275directiveInject(D.ANIMATION_MODULE_TYPE,8))},P.\u0275dir=s.\u0275\u0275defineDirective({type:P,inputs:{disablePagination:"disablePagination"}}),P})(),lt=(()=>{class P extends et{constructor(E,j,ke,it,Bt,jt,Ne){super(E,j,ke,it,Bt,jt,Ne),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(E){this._disableRipple=(0,Oe.Ig)(E)}_itemSelected(E){E.preventDefault()}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(X.rL),s.\u0275\u0275directiveInject(ce.Is,8),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(ye.t4),s.\u0275\u0275directiveInject(D.ANIMATION_MODULE_TYPE,8))},P.\u0275dir=s.\u0275\u0275defineDirective({type:P,inputs:{disableRipple:"disableRipple"},features:[s.\u0275\u0275InheritDefinitionFeature]}),P})(),_t=(()=>{class P extends lt{constructor(E,j,ke,it,Bt,jt,Ne){super(E,j,ke,it,Bt,jt,Ne)}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(X.rL),s.\u0275\u0275directiveInject(ce.Is,8),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(ye.t4),s.\u0275\u0275directiveInject(D.ANIMATION_MODULE_TYPE,8))},P.\u0275cmp=s.\u0275\u0275defineComponent({type:P,selectors:[["mat-tab-header"]],contentQueries:function(E,j,ke){if(1&E&&s.\u0275\u0275contentQuery(ke,Xe,4),2&E){let it;s.\u0275\u0275queryRefresh(it=s.\u0275\u0275loadQuery())&&(j._items=it)}},viewQuery:function(E,j){if(1&E&&(s.\u0275\u0275viewQuery(he,7),s.\u0275\u0275viewQuery(ue,7),s.\u0275\u0275viewQuery(Ie,7),s.\u0275\u0275viewQuery(H,7),s.\u0275\u0275viewQuery(pe,5),s.\u0275\u0275viewQuery(ee,5)),2&E){let ke;s.\u0275\u0275queryRefresh(ke=s.\u0275\u0275loadQuery())&&(j._inkBar=ke.first),s.\u0275\u0275queryRefresh(ke=s.\u0275\u0275loadQuery())&&(j._tabListContainer=ke.first),s.\u0275\u0275queryRefresh(ke=s.\u0275\u0275loadQuery())&&(j._tabList=ke.first),s.\u0275\u0275queryRefresh(ke=s.\u0275\u0275loadQuery())&&(j._tabListInner=ke.first),s.\u0275\u0275queryRefresh(ke=s.\u0275\u0275loadQuery())&&(j._nextPaginator=ke.first),s.\u0275\u0275queryRefresh(ke=s.\u0275\u0275loadQuery())&&(j._previousPaginator=ke.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(E,j){2&E&&s.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",j._showPaginationControls)("mat-tab-header-rtl","rtl"==j._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Re,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(E,j){1&E&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275elementStart(0,"button",0,1),s.\u0275\u0275listener("click",function(){return j._handlePaginatorClick("before")})("mousedown",function(it){return j._handlePaginatorPress("before",it)})("touchend",function(){return j._stopInterval()}),s.\u0275\u0275element(2,"div",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(3,"div",3,4),s.\u0275\u0275listener("keydown",function(it){return j._handleKeydown(it)}),s.\u0275\u0275elementStart(5,"div",5,6),s.\u0275\u0275listener("cdkObserveContent",function(){return j._onContentChanges()}),s.\u0275\u0275elementStart(7,"div",7,8),s.\u0275\u0275projection(9),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(10,"mat-ink-bar"),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(11,"button",9,10),s.\u0275\u0275listener("mousedown",function(it){return j._handlePaginatorPress("after",it)})("click",function(){return j._handlePaginatorClick("after")})("touchend",function(){return j._stopInterval()}),s.\u0275\u0275element(13,"div",2),s.\u0275\u0275elementEnd()),2&E&&(s.\u0275\u0275classProp("mat-tab-header-pagination-disabled",j._disableScrollBefore),s.\u0275\u0275property("matRippleDisabled",j._disableScrollBefore||j.disableRipple)("disabled",j._disableScrollBefore||null),s.\u0275\u0275advance(5),s.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===j._animationMode),s.\u0275\u0275advance(6),s.\u0275\u0275classProp("mat-tab-header-pagination-disabled",j._disableScrollAfter),s.\u0275\u0275property("matRippleDisabled",j._disableScrollAfter||j.disableRipple)("disabled",j._disableScrollAfter||null))},directives:[v.MatRipple,h.wD,he],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),P})(),Wt=0;class Lt{}const St=(0,v.mixinColor)((0,v.mixinDisableRipple)(class{constructor(P){this._elementRef=P}}),"primary");let ln=(()=>{class P extends St{constructor(E,j,ke,it){var Bt;super(E),this._changeDetectorRef=j,this._animationMode=it,this._tabs=new s.QueryList,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=S.w0.EMPTY,this._tabLabelSubscription=S.w0.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new s.EventEmitter,this.focusChange=new s.EventEmitter,this.animationDone=new s.EventEmitter,this.selectedTabChange=new s.EventEmitter(!0),this._groupId=Wt++,this.animationDuration=ke&&ke.animationDuration?ke.animationDuration:"500ms",this.disablePagination=!(!ke||null==ke.disablePagination)&&ke.disablePagination,this.dynamicHeight=!(!ke||null==ke.dynamicHeight)&&ke.dynamicHeight,this.contentTabIndex=null!==(Bt=null==ke?void 0:ke.contentTabIndex)&&void 0!==Bt?Bt:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(E){this._dynamicHeight=(0,Oe.Ig)(E)}get selectedIndex(){return this._selectedIndex}set selectedIndex(E){this._indexToSelect=(0,Oe.su)(E,null)}get animationDuration(){return this._animationDuration}set animationDuration(E){this._animationDuration=/^\d+$/.test(E+"")?E+"ms":E}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(E){this._contentTabIndex=(0,Oe.su)(E,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(E){const j=this._elementRef.nativeElement;j.classList.remove(`mat-background-${this.backgroundColor}`),E&&j.classList.add(`mat-background-${E}`),this._backgroundColor=E}ngAfterContentChecked(){const E=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=E){const j=null==this._selectedIndex;if(!j){this.selectedTabChange.emit(this._createChangeEvent(E));const ke=this._tabBodyWrapper.nativeElement;ke.style.minHeight=ke.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((ke,it)=>ke.isActive=it===E),j||(this.selectedIndexChange.emit(E),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((j,ke)=>{j.position=ke-E,null!=this._selectedIndex&&0==j.position&&!j.origin&&(j.origin=E-this._selectedIndex)}),this._selectedIndex!==E&&(this._selectedIndex=E,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const j=this._tabs.toArray();for(let ke=0;ke<j.length;ke++)if(j[ke].isActive){this._indexToSelect=this._selectedIndex=ke;break}}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,$.O)(this._allTabs)).subscribe(E=>{this._tabs.reset(E.filter(j=>j._closestTabGroup===this||!j._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(E){const j=this._tabHeader;j&&(j.focusIndex=E)}_focusChanged(E){this.focusChange.emit(this._createChangeEvent(E))}_createChangeEvent(E){const j=new Lt;return j.index=E,this._tabs&&this._tabs.length&&(j.tab=this._tabs.toArray()[E]),j}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,M.T)(...this._tabs.map(E=>E._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(E){return Math.min(this._tabs.length-1,Math.max(E||0,0))}_getTabLabelId(E){return`mat-tab-label-${this._groupId}-${E}`}_getTabContentId(E){return`mat-tab-content-${this._groupId}-${E}`}_setTabBodyWrapperHeight(E){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const j=this._tabBodyWrapper.nativeElement;j.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(j.style.height=E+"px")}_removeTabBodyWrapperHeight(){const E=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=E.clientHeight,E.style.height="",this.animationDone.emit()}_handleClick(E,j,ke){E.disabled||(this.selectedIndex=j.focusIndex=ke)}_getTabIndex(E,j){return E.disabled?null:this.selectedIndex===j?0:-1}_tabFocusChanged(E,j){E&&"mouse"!==E&&"touch"!==E&&(this._tabHeader.focusIndex=j)}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(ae,8),s.\u0275\u0275directiveInject(D.ANIMATION_MODULE_TYPE,8))},P.\u0275dir=s.\u0275\u0275defineDirective({type:P,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[s.\u0275\u0275InheritDefinitionFeature]}),P})(),qt=(()=>{class P extends ln{constructor(E,j,ke,it){super(E,j,ke,it)}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(ae,8),s.\u0275\u0275directiveInject(D.ANIMATION_MODULE_TYPE,8))},P.\u0275cmp=s.\u0275\u0275defineComponent({type:P,selectors:[["mat-tab-group"]],contentQueries:function(E,j,ke){if(1&E&&s.\u0275\u0275contentQuery(ke,dt,5),2&E){let it;s.\u0275\u0275queryRefresh(it=s.\u0275\u0275loadQuery())&&(j._allTabs=it)}},viewQuery:function(E,j){if(1&E&&(s.\u0275\u0275viewQuery(xe,5),s.\u0275\u0275viewQuery(fe,5)),2&E){let ke;s.\u0275\u0275queryRefresh(ke=s.\u0275\u0275loadQuery())&&(j._tabBodyWrapper=ke.first),s.\u0275\u0275queryRefresh(ke=s.\u0275\u0275loadQuery())&&(j._tabHeader=ke.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(E,j){2&E&&s.\u0275\u0275classProp("mat-tab-group-dynamic-height",j.dynamicHeight)("mat-tab-group-inverted-header","below"===j.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[s.\u0275\u0275ProvidersFeature([{provide:wt,useExisting:P}]),s.\u0275\u0275InheritDefinitionFeature],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(E,j){1&E&&(s.\u0275\u0275elementStart(0,"mat-tab-header",0,1),s.\u0275\u0275listener("indexFocused",function(it){return j._focusChanged(it)})("selectFocusedIndex",function(it){return j.selectedIndex=it}),s.\u0275\u0275template(2,at,5,15,"div",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(3,"div",3,4),s.\u0275\u0275template(5,gt,1,10,"mat-tab-body",5),s.\u0275\u0275elementEnd()),2&E&&(s.\u0275\u0275property("selectedIndex",j.selectedIndex||0)("disableRipple",j.disableRipple)("disablePagination",j.disablePagination),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",j._tabs),s.\u0275\u0275advance(1),s.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===j._animationMode),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",j._tabs))},directives:[_t,Ae,d.NgForOf,Xe,v.MatRipple,i.kH,d.NgClass,d.NgIf,g.Pl],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),P})(),Jt=0,vt=(()=>{class P extends et{constructor(E,j,ke,it,Bt,jt,Ne){super(E,it,Bt,j,ke,jt,Ne),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(E){const j=this._elementRef.nativeElement.classList;j.remove(`mat-background-${this.backgroundColor}`),E&&j.add(`mat-background-${E}`),this._backgroundColor=E}get disableRipple(){return this._disableRipple}set disableRipple(E){this._disableRipple=(0,Oe.Ig)(E)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,$.O)(null),(0,K.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const E=this._items.toArray();for(let j=0;j<E.length;j++)if(E[j].active)return this.selectedIndex=j,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=E[j].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(ce.Is,8),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(X.rL),s.\u0275\u0275directiveInject(ye.t4),s.\u0275\u0275directiveInject(D.ANIMATION_MODULE_TYPE,8))},P.\u0275dir=s.\u0275\u0275defineDirective({type:P,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[s.\u0275\u0275InheritDefinitionFeature]}),P})(),Gt=(()=>{class P extends vt{constructor(E,j,ke,it,Bt,jt,Ne){super(E,j,ke,it,Bt,jt,Ne)}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(ce.Is,8),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(X.rL),s.\u0275\u0275directiveInject(ye.t4),s.\u0275\u0275directiveInject(D.ANIMATION_MODULE_TYPE,8))},P.\u0275cmp=s.\u0275\u0275defineComponent({type:P,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(E,j,ke){if(1&E&&s.\u0275\u0275contentQuery(ke,re,5),2&E){let it;s.\u0275\u0275queryRefresh(it=s.\u0275\u0275loadQuery())&&(j._items=it)}},viewQuery:function(E,j){if(1&E&&(s.\u0275\u0275viewQuery(he,7),s.\u0275\u0275viewQuery(ue,7),s.\u0275\u0275viewQuery(Ie,7),s.\u0275\u0275viewQuery(H,7),s.\u0275\u0275viewQuery(pe,5),s.\u0275\u0275viewQuery(ee,5)),2&E){let ke;s.\u0275\u0275queryRefresh(ke=s.\u0275\u0275loadQuery())&&(j._inkBar=ke.first),s.\u0275\u0275queryRefresh(ke=s.\u0275\u0275loadQuery())&&(j._tabListContainer=ke.first),s.\u0275\u0275queryRefresh(ke=s.\u0275\u0275loadQuery())&&(j._tabList=ke.first),s.\u0275\u0275queryRefresh(ke=s.\u0275\u0275loadQuery())&&(j._tabListInner=ke.first),s.\u0275\u0275queryRefresh(ke=s.\u0275\u0275loadQuery())&&(j._nextPaginator=ke.first),s.\u0275\u0275queryRefresh(ke=s.\u0275\u0275loadQuery())&&(j._previousPaginator=ke.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:11,hostBindings:function(E,j){2&E&&(s.\u0275\u0275attribute("role",j._getRole()),s.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",j._showPaginationControls)("mat-tab-header-rtl","rtl"==j._getLayoutDirection())("mat-primary","warn"!==j.color&&"accent"!==j.color)("mat-accent","accent"===j.color)("mat-warn","warn"===j.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[s.\u0275\u0275InheritDefinitionFeature],attrs:Le,ngContentSelectors:Re,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(E,j){1&E&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275elementStart(0,"button",0,1),s.\u0275\u0275listener("click",function(){return j._handlePaginatorClick("before")})("mousedown",function(it){return j._handlePaginatorPress("before",it)})("touchend",function(){return j._stopInterval()}),s.\u0275\u0275element(2,"div",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(3,"div",3,4),s.\u0275\u0275listener("keydown",function(it){return j._handleKeydown(it)}),s.\u0275\u0275elementStart(5,"div",5,6),s.\u0275\u0275listener("cdkObserveContent",function(){return j._onContentChanges()}),s.\u0275\u0275elementStart(7,"div",7,8),s.\u0275\u0275projection(9),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(10,"mat-ink-bar"),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(11,"button",9,10),s.\u0275\u0275listener("mousedown",function(it){return j._handlePaginatorPress("after",it)})("click",function(){return j._handlePaginatorClick("after")})("touchend",function(){return j._stopInterval()}),s.\u0275\u0275element(13,"div",2),s.\u0275\u0275elementEnd()),2&E&&(s.\u0275\u0275classProp("mat-tab-header-pagination-disabled",j._disableScrollBefore),s.\u0275\u0275property("matRippleDisabled",j._disableScrollBefore||j.disableRipple)("disabled",j._disableScrollBefore||null),s.\u0275\u0275advance(5),s.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===j._animationMode),s.\u0275\u0275advance(6),s.\u0275\u0275classProp("mat-tab-header-pagination-disabled",j._disableScrollAfter),s.\u0275\u0275property("matRippleDisabled",j._disableScrollAfter||j.disableRipple)("disabled",j._disableScrollAfter||null))},directives:[v.MatRipple,h.wD,he],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n"],encapsulation:2}),P})();const Ht=(0,v.mixinTabIndex)((0,v.mixinDisableRipple)((0,v.mixinDisabled)(class{})));let un=(()=>{class P extends Ht{constructor(E,j,ke,it,Bt,jt){super(),this._tabNavBar=E,this.elementRef=j,this._focusMonitor=Bt,this._isActive=!1,this.id="mat-tab-link-"+Jt++,this.rippleConfig=ke||{},this.tabIndex=parseInt(it)||0,"NoopAnimations"===jt&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(E){const j=(0,Oe.Ig)(E);j!==this._isActive&&(this._isActive=j,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(E){this._tabNavBar.tabPanel&&E.keyCode===me.L_&&this.elementRef.nativeElement.click()}_getAriaControls(){var E;return this._tabNavBar.tabPanel?null===(E=this._tabNavBar.tabPanel)||void 0===E?void 0:E.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive?0:-1:this.tabIndex}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(vt),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(v.MAT_RIPPLE_GLOBAL_OPTIONS,8),s.\u0275\u0275injectAttribute("tabindex"),s.\u0275\u0275directiveInject(i.tE),s.\u0275\u0275directiveInject(D.ANIMATION_MODULE_TYPE,8))},P.\u0275dir=s.\u0275\u0275defineDirective({type:P,inputs:{active:"active",id:"id"},features:[s.\u0275\u0275InheritDefinitionFeature]}),P})(),re=(()=>{class P extends un{constructor(E,j,ke,it,Bt,jt,Ne,$e){super(E,j,Bt,jt,Ne,$e),this._tabLinkRipple=new v.RippleRenderer(this,ke,j,it),this._tabLinkRipple.setupTriggerEvents(j.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return P.\u0275fac=function(E){return new(E||P)(s.\u0275\u0275directiveInject(Gt),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(ye.t4),s.\u0275\u0275directiveInject(v.MAT_RIPPLE_GLOBAL_OPTIONS,8),s.\u0275\u0275injectAttribute("tabindex"),s.\u0275\u0275directiveInject(i.tE),s.\u0275\u0275directiveInject(D.ANIMATION_MODULE_TYPE,8))},P.\u0275dir=s.\u0275\u0275defineDirective({type:P,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(E,j){1&E&&s.\u0275\u0275listener("focus",function(){return j._handleFocus()})("keydown",function(it){return j._handleKeydown(it)}),2&E&&(s.\u0275\u0275attribute("aria-controls",j._getAriaControls())("aria-current",j._getAriaCurrent())("aria-disabled",j.disabled)("aria-selected",j._getAriaSelected())("id",j.id)("tabIndex",j._getTabIndex())("role",j._getRole()),s.\u0275\u0275classProp("mat-tab-disabled",j.disabled)("mat-tab-label-active",j.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[s.\u0275\u0275InheritDefinitionFeature]}),P})(),Z=(()=>{class P{constructor(){this.id="mat-tab-nav-panel-"+Jt++}}return P.\u0275fac=function(E){return new(E||P)},P.\u0275cmp=s.\u0275\u0275defineComponent({type:P,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-tab-nav-panel"],hostVars:2,hostBindings:function(E,j){2&E&&s.\u0275\u0275attribute("aria-labelledby",j._activeTabId)("id",j.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:Re,decls:1,vars:0,template:function(E,j){1&E&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P})(),L=(()=>{class P{}return P.\u0275fac=function(E){return new(E||P)},P.\u0275mod=s.\u0275\u0275defineNgModule({type:P}),P.\u0275inj=s.\u0275\u0275defineInjector({imports:[[d.CommonModule,v.MatCommonModule,g.eL,v.MatRippleModule,h.Q8,i.rt],v.MatCommonModule]}),P})()},7238:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{MAT_TOOLTIP_DEFAULT_OPTIONS:()=>Ve,MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY:()=>ue,MAT_TOOLTIP_SCROLL_STRATEGY:()=>Re,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY:()=>Qe,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>ot,MatTooltip:()=>H,MatTooltipModule:()=>xe,SCROLL_THROTTLE_MS:()=>ce,TOOLTIP_PANEL_CLASS:()=>Oe,TooltipComponent:()=>ee,_MatTooltipBase:()=>Ie,_TooltipComponentBase:()=>pe,getMatTooltipInvalidPositionError:()=>ve,matTooltipAnimations:()=>K});var i=c(1314),h=c(5664),g=c(9808),d=c(5e3),s=c(508),v=c(9071),D=c(3191),T=c(1159),S=c(5113),p=c(925),A=c(7429),M=c(6758),C=c(2722),N=c(5698),$=c(1777),de=c(226);const K={tooltipState:(0,$.X$)("state",[(0,$.SB)("initial, void, hidden",(0,$.oB)({opacity:0,transform:"scale(0)"})),(0,$.SB)("visible",(0,$.oB)({transform:"scale(1)"})),(0,$.eR)("* => visible",(0,$.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,$.F4)([(0,$.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,$.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,$.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,$.eR)("* => hidden",(0,$.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,$.oB)({opacity:0})))])},ce=20,Oe="mat-tooltip-panel",me="tooltip-panel",ye=(0,p.i$)({passive:!0});function ve(fe){return Error(`Tooltip position "${fe}" is invalid.`)}const Re=new d.InjectionToken("mat-tooltip-scroll-strategy");function Qe(fe){return()=>fe.scrollStrategies.reposition({scrollThrottle:ce})}const ot={provide:Re,deps:[i.aV],useFactory:Qe},Ve=new d.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:ue});function ue(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}let Ie=(()=>{class fe{constructor(ge,He,at,gt,Le,qe,q,he,we,Fe,be,Ge){this._overlay=ge,this._elementRef=He,this._scrollDispatcher=at,this._viewContainerRef=gt,this._ngZone=Le,this._platform=qe,this._ariaDescriber=q,this._focusMonitor=he,this._dir=Fe,this._defaultOptions=be,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new M.x,this._scrollStrategy=we,this._document=Ge,be&&(be.position&&(this.position=be.position),be.touchGestures&&(this.touchGestures=be.touchGestures)),Fe.change.pipe((0,C.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(ge){var He;ge!==this._position&&(this._position=ge,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(He=this._tooltipInstance)||void 0===He||He.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(ge){this._disabled=(0,D.Ig)(ge),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(ge){this._showDelay=(0,D.su)(ge)}get hideDelay(){return this._hideDelay}set hideDelay(ge){this._hideDelay=(0,D.su)(ge),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(ge){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=ge?String(ge).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(ge){this._tooltipClass=ge,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,C.R)(this._destroyed)).subscribe(ge=>{ge?"keyboard"===ge&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const ge=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([He,at])=>{ge.removeEventListener(He,at,ye)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(ge,this.message,"tooltip"),this._focusMonitor.stopMonitoring(ge)}show(ge=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const He=this._createOverlay();this._detach(),this._portal=this._portal||new A.C5(this._tooltipComponent,this._viewContainerRef);const at=this._tooltipInstance=He.attach(this._portal).instance;at._triggerElement=this._elementRef.nativeElement,at._mouseLeaveHideDelay=this._hideDelay,at.afterHidden().pipe((0,C.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),at.show(ge)}hide(ge=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(ge)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var ge;if(this._overlayRef)return this._overlayRef;const He=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),at=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(He);return at.positionChanges.pipe((0,C.R)(this._destroyed)).subscribe(gt=>{this._updateCurrentPositionClass(gt.connectionPair),this._tooltipInstance&&gt.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:at,panelClass:`${this._cssClassPrefix}-${me}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,C.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,C.R)(this._destroyed)).subscribe(()=>{var gt;return null===(gt=this._tooltipInstance)||void 0===gt?void 0:gt._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,C.R)(this._destroyed)).subscribe(gt=>{this._isTooltipVisible()&&gt.keyCode===T.hY&&!(0,T.Vb)(gt)&&(gt.preventDefault(),gt.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(ge=this._defaultOptions)||void 0===ge?void 0:ge.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(ge){const He=ge.getConfig().positionStrategy,at=this._getOrigin(),gt=this._getOverlayPosition();He.withPositions([this._addOffset(Object.assign(Object.assign({},at.main),gt.main)),this._addOffset(Object.assign(Object.assign({},at.fallback),gt.fallback))])}_addOffset(ge){return ge}_getOrigin(){const ge=!this._dir||"ltr"==this._dir.value,He=this.position;let at;"above"==He||"below"==He?at={originX:"center",originY:"above"==He?"top":"bottom"}:"before"==He||"left"==He&&ge||"right"==He&&!ge?at={originX:"start",originY:"center"}:("after"==He||"right"==He&&ge||"left"==He&&!ge)&&(at={originX:"end",originY:"center"});const{x:gt,y:Le}=this._invertPosition(at.originX,at.originY);return{main:at,fallback:{originX:gt,originY:Le}}}_getOverlayPosition(){const ge=!this._dir||"ltr"==this._dir.value,He=this.position;let at;"above"==He?at={overlayX:"center",overlayY:"bottom"}:"below"==He?at={overlayX:"center",overlayY:"top"}:"before"==He||"left"==He&&ge||"right"==He&&!ge?at={overlayX:"end",overlayY:"center"}:("after"==He||"right"==He&&ge||"left"==He&&!ge)&&(at={overlayX:"start",overlayY:"center"});const{x:gt,y:Le}=this._invertPosition(at.overlayX,at.overlayY);return{main:at,fallback:{overlayX:gt,overlayY:Le}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,N.q)(1),(0,C.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(ge){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=ge,this._tooltipInstance._markForCheck())}_invertPosition(ge,He){return"above"===this.position||"below"===this.position?"top"===He?He="bottom":"bottom"===He&&(He="top"):"end"===ge?ge="start":"start"===ge&&(ge="end"),{x:ge,y:He}}_updateCurrentPositionClass(ge){const{overlayY:He,originX:at,originY:gt}=ge;let Le;if(Le="center"===He?this._dir&&"rtl"===this._dir.value?"end"===at?"left":"right":"start"===at?"left":"right":"bottom"===He&&"top"===gt?"above":"below",Le!==this._currentPosition){const qe=this._overlayRef;if(qe){const q=`${this._cssClassPrefix}-${me}-`;qe.removePanelClass(q+this._currentPosition),qe.addPanelClass(q+Le)}this._currentPosition=Le}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const ge=[];if(this._platformSupportsMouseEvents())ge.push(["mouseleave",He=>{var at;const gt=He.relatedTarget;(!gt||!(null===(at=this._overlayRef)||void 0===at?void 0:at.overlayElement.contains(gt)))&&this.hide()}],["wheel",He=>this._wheelListener(He)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const He=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};ge.push(["touchend",He],["touchcancel",He])}this._addListeners(ge),this._passiveListeners.push(...ge)}_addListeners(ge){ge.forEach(([He,at])=>{this._elementRef.nativeElement.addEventListener(He,at,ye)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(ge){if(this._isTooltipVisible()){const He=this._document.elementFromPoint(ge.clientX,ge.clientY),at=this._elementRef.nativeElement;He!==at&&!at.contains(He)&&this.hide()}}_disableNativeGesturesIfNecessary(){const ge=this.touchGestures;if("off"!==ge){const He=this._elementRef.nativeElement,at=He.style;("on"===ge||"INPUT"!==He.nodeName&&"TEXTAREA"!==He.nodeName)&&(at.userSelect=at.msUserSelect=at.webkitUserSelect=at.MozUserSelect="none"),("on"===ge||!He.draggable)&&(at.webkitUserDrag="none"),at.touchAction="none",at.webkitTapHighlightColor="transparent"}}}return fe.\u0275fac=function(ge){d.\u0275\u0275invalidFactory()},fe.\u0275dir=d.\u0275\u0275defineDirective({type:fe,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),fe})(),H=(()=>{class fe extends Ie{constructor(ge,He,at,gt,Le,qe,q,he,we,Fe,be,Ge){super(ge,He,at,gt,Le,qe,q,he,we,Fe,be,Ge),this._tooltipComponent=ee}}return fe.\u0275fac=function(ge){return new(ge||fe)(d.\u0275\u0275directiveInject(i.aV),d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(v.mF),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(p.t4),d.\u0275\u0275directiveInject(h.$s),d.\u0275\u0275directiveInject(h.tE),d.\u0275\u0275directiveInject(Re),d.\u0275\u0275directiveInject(de.Is,8),d.\u0275\u0275directiveInject(Ve,8),d.\u0275\u0275directiveInject(g.DOCUMENT))},fe.\u0275dir=d.\u0275\u0275defineDirective({type:fe,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[d.\u0275\u0275InheritDefinitionFeature]}),fe})(),pe=(()=>{class fe{constructor(ge){this._changeDetectorRef=ge,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new M.x}show(ge){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},ge)}hide(ge){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},ge)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_animationStart(){this._closeOnInteraction=!1}_animationDone(ge){const He=ge.toState;"hidden"===He&&!this.isVisible()&&this._onHide.next(),("visible"===He||"hidden"===He)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:ge}){(!ge||!this._triggerElement.contains(ge))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}}return fe.\u0275fac=function(ge){return new(ge||fe)(d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},fe.\u0275dir=d.\u0275\u0275defineDirective({type:fe}),fe})(),ee=(()=>{class fe extends pe{constructor(ge,He){super(ge),this._breakpointObserver=He,this._isHandset=this._breakpointObserver.observe(S.Breakpoints.Handset)}}return fe.\u0275fac=function(ge){return new(ge||fe)(d.\u0275\u0275directiveInject(d.ChangeDetectorRef),d.\u0275\u0275directiveInject(S.BreakpointObserver))},fe.\u0275cmp=d.\u0275\u0275defineComponent({type:fe,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(ge,He){1&ge&&d.\u0275\u0275listener("mouseleave",function(gt){return He._handleMouseLeave(gt)}),2&ge&&d.\u0275\u0275styleProp("zoom","visible"===He._visibility?1:null)},features:[d.\u0275\u0275InheritDefinitionFeature],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(ge,He){if(1&ge&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("@state.start",function(){return He._animationStart()})("@state.done",function(gt){return He._animationDone(gt)}),d.\u0275\u0275pipe(1,"async"),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()),2&ge){let at;d.\u0275\u0275classProp("mat-tooltip-handset",null==(at=d.\u0275\u0275pipeBind1(1,5,He._isHandset))?null:at.matches),d.\u0275\u0275property("ngClass",He.tooltipClass)("@state",He._visibility),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(He.message)}},directives:[g.NgClass],pipes:[g.AsyncPipe],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}\n"],encapsulation:2,data:{animation:[K.tooltipState]},changeDetection:0}),fe})(),xe=(()=>{class fe{}return fe.\u0275fac=function(ge){return new(ge||fe)},fe.\u0275mod=d.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=d.\u0275\u0275defineInjector({providers:[ot],imports:[[h.rt,g.CommonModule,i.U8,s.MatCommonModule],s.MatCommonModule,v.ZD]}),fe})()},6360:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{ANIMATION_MODULE_TYPE:()=>eo,BrowserAnimationsModule:()=>se,NoopAnimationsModule:()=>Q,\u0275AnimationRenderer:()=>Xr,\u0275AnimationRendererFactory:()=>Jr,\u0275BrowserAnimationBuilder:()=>Ei,\u0275BrowserAnimationFactory:()=>ir,\u0275InjectableAnimationEngine:()=>Wr});var i=c(5e3),h=c(2313),g=c(1777);const d=!1;function v(_){return new i.\u0275RuntimeError(3e3,d)}function q(){return"undefined"!=typeof window&&void 0!==window.document}function he(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function we(_){switch(_.length){case 0:return new g.ZN;case 1:return _[0];default:return new g.ZE(_)}}function Fe(_,l,u,m,x={},W={}){const oe=[],Ee=[];let Ue=-1,rt=null;if(m.forEach(Ct=>{const It=Ct.offset,Tt=It==Ue,Ot=Tt&&rt||{};Object.keys(Ct).forEach(Mt=>{let zt=Mt,hn=Ct[Mt];if("offset"!==Mt)switch(zt=l.normalizePropertyName(zt,oe),hn){case g.k1:hn=x[Mt];break;case g.l3:hn=W[Mt];break;default:hn=l.normalizeStyleValue(Mt,zt,hn,oe)}Ot[zt]=hn}),Tt||Ee.push(Ot),rt=Ot,Ue=It}),oe.length)throw function H(_){return new i.\u0275RuntimeError(3502,d)}();return Ee}function be(_,l,u,m){switch(l){case"start":_.onStart(()=>m(u&&Ge(u,"start",_)));break;case"done":_.onDone(()=>m(u&&Ge(u,"done",_)));break;case"destroy":_.onDestroy(()=>m(u&&Ge(u,"destroy",_)))}}function Ge(_,l,u){const m=u.totalTime,W=mt(_.element,_.triggerName,_.fromState,_.toState,l||_.phaseName,null==m?_.totalTime:m,!!u.disabled),oe=_._data;return null!=oe&&(W._data=oe),W}function mt(_,l,u,m,x="",W=0,oe){return{element:_,triggerName:l,fromState:u,toState:m,phaseName:x,totalTime:W,disabled:!!oe}}function ht(_,l,u){let m;return _ instanceof Map?(m=_.get(l),m||_.set(l,m=u)):(m=_[l],m||(m=_[l]=u)),m}function wt(_){const l=_.indexOf(":");return[_.substring(1,l),_.substr(l+1)]}let dt=(_,l)=>!1,Ke=(_,l,u)=>[],B=null;function ie(_){const l=_.parentNode||_.host;return l===B?null:l}(he()||"undefined"!=typeof Element)&&(q()?(B=(()=>document.documentElement)(),dt=(_,l)=>{for(;l;){if(l===_)return!0;l=ie(l)}return!1}):dt=(_,l)=>_.contains(l),Ke=(_,l,u)=>{if(u)return Array.from(_.querySelectorAll(l));const m=_.querySelector(l);return m?[m]:[]});let Me=null,Xe=!1;function De(_){Me||(Me=function Ce(){return"undefined"!=typeof document?document.body:null}()||{},Xe=!!Me.style&&"WebkitAppearance"in Me.style);let l=!0;return Me.style&&!function ae(_){return"ebkit"==_.substring(1,6)}(_)&&(l=_ in Me.style,!l&&Xe&&(l="Webkit"+_.charAt(0).toUpperCase()+_.substr(1)in Me.style)),l}const _e=dt,tt=Ke;let lt=(()=>{class _{validateStyleProperty(u){return De(u)}matchesElement(u,m){return!1}containsElement(u,m){return _e(u,m)}getParentElement(u){return ie(u)}query(u,m,x){return tt(u,m,x)}computeStyle(u,m,x){return x||""}animate(u,m,x,W,oe,Ee=[],Ue){return new g.ZN(x,W)}}return _.\u0275fac=function(u){return new(u||_)},_.\u0275prov=i.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac}),_})(),_t=(()=>{class _{}return _.NOOP=new lt,_})();const ln="ng-enter",qt="ng-leave",Jt="ng-trigger",vt=".ng-trigger",Gt="ng-animating",Ht=".ng-animating";function un(_){if("number"==typeof _)return _;const l=_.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:re(parseFloat(l[1]),l[2])}function re(_,l){return"s"===l?1e3*_:_}function Z(_,l,u){return _.hasOwnProperty("duration")?_:function L(_,l,u){let x,W=0,oe="";if("string"==typeof _){const Ee=_.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ee)return l.push(v()),{duration:0,delay:0,easing:""};x=re(parseFloat(Ee[1]),Ee[2]);const Ue=Ee[3];null!=Ue&&(W=re(parseFloat(Ue),Ee[4]));const rt=Ee[5];rt&&(oe=rt)}else x=_;if(!u){let Ee=!1,Ue=l.length;x<0&&(l.push(function D(){return new i.\u0275RuntimeError(3100,d)}()),Ee=!0),W<0&&(l.push(function T(){return new i.\u0275RuntimeError(3101,d)}()),Ee=!0),Ee&&l.splice(Ue,0,v())}return{duration:x,delay:W,easing:oe}}(_,l,u)}function P(_,l={}){return Object.keys(_).forEach(u=>{l[u]=_[u]}),l}function E(_,l,u={}){if(l)for(let m in _)u[m]=_[m];else P(_,u);return u}function j(_,l,u){return u?l+":"+u+";":""}function ke(_){let l="";for(let u=0;u<_.style.length;u++){const m=_.style.item(u);l+=j(0,m,_.style.getPropertyValue(m))}for(const u in _.style)_.style.hasOwnProperty(u)&&!u.startsWith("_")&&(l+=j(0,Xt(u),_.style[u]));_.setAttribute("style",l)}function it(_,l,u){_.style&&(Object.keys(l).forEach(m=>{const x=At(m);u&&!u.hasOwnProperty(m)&&(u[m]=_.style[x]),_.style[x]=l[m]}),he()&&ke(_))}function Bt(_,l){_.style&&(Object.keys(l).forEach(u=>{const m=At(u);_.style[m]=""}),he()&&ke(_))}function jt(_){return Array.isArray(_)?1==_.length?_[0]:(0,g.vP)(_):_}const $e=new RegExp("{{\\s*(.+?)\\s*}}","g");function le(_){let l=[];if("string"==typeof _){let u;for(;u=$e.exec(_);)l.push(u[1]);$e.lastIndex=0}return l}function je(_,l,u){const m=_.toString(),x=m.replace($e,(W,oe)=>{let Ee=l[oe];return l.hasOwnProperty(oe)||(u.push(function p(_){return new i.\u0275RuntimeError(3003,d)}()),Ee=""),Ee.toString()});return x==m?_:x}function ct(_){const l=[];let u=_.next();for(;!u.done;)l.push(u.value),u=_.next();return l}const kt=/-+([a-z0-9])/g;function At(_){return _.replace(kt,(...l)=>l[1].toUpperCase())}function Xt(_){return _.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Tn(_,l,u){switch(l.type){case 7:return _.visitTrigger(l,u);case 0:return _.visitState(l,u);case 1:return _.visitTransition(l,u);case 2:return _.visitSequence(l,u);case 3:return _.visitGroup(l,u);case 4:return _.visitAnimate(l,u);case 5:return _.visitKeyframes(l,u);case 6:return _.visitStyle(l,u);case 8:return _.visitReference(l,u);case 9:return _.visitAnimateChild(l,u);case 10:return _.visitAnimateRef(l,u);case 11:return _.visitQuery(l,u);case 12:return _.visitStagger(l,u);default:throw function A(_){return new i.\u0275RuntimeError(3004,d)}()}}function jn(_,l){return window.getComputedStyle(_)[l]}function st(_,l){const u=[];return"string"==typeof _?_.split(/\s*,\s*/).forEach(m=>function Dt(_,l,u){if(":"==_[0]){const Ue=function xt(_,l){switch(_){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(u,m)=>parseFloat(m)>parseFloat(u);case":decrement":return(u,m)=>parseFloat(m)<parseFloat(u);default:return l.push(function ot(_){return new i.\u0275RuntimeError(3016,d)}()),"* => *"}}(_,u);if("function"==typeof Ue)return void l.push(Ue);_=Ue}const m=_.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==m||m.length<4)return u.push(function Qe(_){return new i.\u0275RuntimeError(3015,d)}()),l;const x=m[1],W=m[2],oe=m[3];l.push(Rt(x,oe));"<"==W[0]&&!("*"==x&&"*"==oe)&&l.push(Rt(oe,x))}(m,u,l)):u.push(_),u}const Ut=new Set(["true","1"]),on=new Set(["false","0"]);function Rt(_,l){const u=Ut.has(_)||on.has(_),m=Ut.has(l)||on.has(l);return(x,W)=>{let oe="*"==_||_==x,Ee="*"==l||l==W;return!oe&&u&&"boolean"==typeof x&&(oe=x?Ut.has(_):on.has(_)),!Ee&&m&&"boolean"==typeof W&&(Ee=W?Ut.has(l):on.has(l)),oe&&Ee}}const en=new RegExp("s*:selfs*,?","g");function Sn(_,l,u,m){return new gn(_).build(l,u,m)}class gn{constructor(l){this._driver=l}build(l,u,m){const x=new Un(u);this._resetContextStyleTimingState(x);const W=Tn(this,jt(l),x);return x.unsupportedCSSPropertiesFound.size&&x.unsupportedCSSPropertiesFound.keys(),W}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles={},l.collectedStyles[""]={},l.currentTime=0}visitTrigger(l,u){let m=u.queryCount=0,x=u.depCount=0;const W=[],oe=[];return"@"==l.name.charAt(0)&&u.errors.push(function C(){return new i.\u0275RuntimeError(3006,d)}()),l.definitions.forEach(Ee=>{if(this._resetContextStyleTimingState(u),0==Ee.type){const Ue=Ee,rt=Ue.name;rt.toString().split(/\s*,\s*/).forEach(Ct=>{Ue.name=Ct,W.push(this.visitState(Ue,u))}),Ue.name=rt}else if(1==Ee.type){const Ue=this.visitTransition(Ee,u);m+=Ue.queryCount,x+=Ue.depCount,oe.push(Ue)}else u.errors.push(function N(){return new i.\u0275RuntimeError(3007,d)}())}),{type:7,name:l.name,states:W,transitions:oe,queryCount:m,depCount:x,options:null}}visitState(l,u){const m=this.visitStyle(l.styles,u),x=l.options&&l.options.params||null;if(m.containsDynamicStyles){const W=new Set,oe=x||{};m.styles.forEach(Ee=>{if(qn(Ee)){const Ue=Ee;Object.keys(Ue).forEach(rt=>{le(Ue[rt]).forEach(Ct=>{oe.hasOwnProperty(Ct)||W.add(Ct)})})}}),W.size&&(ct(W.values()),u.errors.push(function $(_,l){return new i.\u0275RuntimeError(3008,d)}()))}return{type:0,name:l.name,style:m,options:x?{params:x}:null}}visitTransition(l,u){u.queryCount=0,u.depCount=0;const m=Tn(this,jt(l.animation),u);return{type:1,matchers:st(l.expr,u.errors),animation:m,queryCount:u.queryCount,depCount:u.depCount,options:wn(l.options)}}visitSequence(l,u){return{type:2,steps:l.steps.map(m=>Tn(this,m,u)),options:wn(l.options)}}visitGroup(l,u){const m=u.currentTime;let x=0;const W=l.steps.map(oe=>{u.currentTime=m;const Ee=Tn(this,oe,u);return x=Math.max(x,u.currentTime),Ee});return u.currentTime=x,{type:3,steps:W,options:wn(l.options)}}visitAnimate(l,u){const m=function pi(_,l){let u=null;if(_.hasOwnProperty("duration"))u=_;else if("number"==typeof _)return Fn(Z(_,l).duration,0,"");const m=_;if(m.split(/\s+/).some(W=>"{"==W.charAt(0)&&"{"==W.charAt(1))){const W=Fn(0,0,"");return W.dynamic=!0,W.strValue=m,W}return u=u||Z(m,l),Fn(u.duration,u.delay,u.easing)}(l.timings,u.errors);u.currentAnimateTimings=m;let x,W=l.styles?l.styles:(0,g.oB)({});if(5==W.type)x=this.visitKeyframes(W,u);else{let oe=l.styles,Ee=!1;if(!oe){Ee=!0;const rt={};m.easing&&(rt.easing=m.easing),oe=(0,g.oB)(rt)}u.currentTime+=m.duration+m.delay;const Ue=this.visitStyle(oe,u);Ue.isEmptyStep=Ee,x=Ue}return u.currentAnimateTimings=null,{type:4,timings:m,style:x,options:null}}visitStyle(l,u){const m=this._makeStyleAst(l,u);return this._validateStyleAst(m,u),m}_makeStyleAst(l,u){const m=[];Array.isArray(l.styles)?l.styles.forEach(oe=>{"string"==typeof oe?oe==g.l3?m.push(oe):u.errors.push(function de(_){return new i.\u0275RuntimeError(3002,d)}()):m.push(oe)}):m.push(l.styles);let x=!1,W=null;return m.forEach(oe=>{if(qn(oe)){const Ee=oe,Ue=Ee.easing;if(Ue&&(W=Ue,delete Ee.easing),!x)for(let rt in Ee)if(Ee[rt].toString().indexOf("{{")>=0){x=!0;break}}}),{type:6,styles:m,easing:W,offset:l.offset,containsDynamicStyles:x,options:null}}_validateStyleAst(l,u){const m=u.currentAnimateTimings;let x=u.currentTime,W=u.currentTime;m&&W>0&&(W-=m.duration+m.delay),l.styles.forEach(oe=>{"string"!=typeof oe&&Object.keys(oe).forEach(Ee=>{if(!this._driver.validateStyleProperty(Ee))return delete oe[Ee],void u.unsupportedCSSPropertiesFound.add(Ee);const Ue=u.collectedStyles[u.currentQuerySelector],rt=Ue[Ee];let Ct=!0;rt&&(W!=x&&W>=rt.startTime&&x<=rt.endTime&&(u.errors.push(function ce(_,l,u,m,x){return new i.\u0275RuntimeError(3010,d)}()),Ct=!1),W=rt.startTime),Ct&&(Ue[Ee]={startTime:W,endTime:x}),u.options&&function Ne(_,l,u){const m=l.params||{},x=le(_);x.length&&x.forEach(W=>{m.hasOwnProperty(W)||u.push(function S(_){return new i.\u0275RuntimeError(3001,d)}())})}(oe[Ee],u.options,u.errors)})})}visitKeyframes(l,u){const m={type:5,styles:[],options:null};if(!u.currentAnimateTimings)return u.errors.push(function Oe(){return new i.\u0275RuntimeError(3011,d)}()),m;let W=0;const oe=[];let Ee=!1,Ue=!1,rt=0;const Ct=l.steps.map(Nn=>{const Zn=this._makeStyleAst(Nn,u);let si=null!=Zn.offset?Zn.offset:function sn(_){if("string"==typeof _)return null;let l=null;if(Array.isArray(_))_.forEach(u=>{if(qn(u)&&u.hasOwnProperty("offset")){const m=u;l=parseFloat(m.offset),delete m.offset}});else if(qn(_)&&_.hasOwnProperty("offset")){const u=_;l=parseFloat(u.offset),delete u.offset}return l}(Zn.styles),_n=0;return null!=si&&(W++,_n=Zn.offset=si),Ue=Ue||_n<0||_n>1,Ee=Ee||_n<rt,rt=_n,oe.push(_n),Zn});Ue&&u.errors.push(function me(){return new i.\u0275RuntimeError(3012,d)}()),Ee&&u.errors.push(function ye(){return new i.\u0275RuntimeError(3200,d)}());const It=l.steps.length;let Tt=0;W>0&&W<It?u.errors.push(function X(){return new i.\u0275RuntimeError(3202,d)}()):0==W&&(Tt=1/(It-1));const Ot=It-1,Mt=u.currentTime,zt=u.currentAnimateTimings,hn=zt.duration;return Ct.forEach((Nn,Zn)=>{const si=Tt>0?Zn==Ot?1:Tt*Zn:oe[Zn],_n=si*hn;u.currentTime=Mt+zt.delay+_n,zt.duration=_n,this._validateStyleAst(Nn,u),Nn.offset=si,m.styles.push(Nn)}),m}visitReference(l,u){return{type:8,animation:Tn(this,jt(l.animation),u),options:wn(l.options)}}visitAnimateChild(l,u){return u.depCount++,{type:9,options:wn(l.options)}}visitAnimateRef(l,u){return{type:10,animation:this.visitReference(l.animation,u),options:wn(l.options)}}visitQuery(l,u){const m=u.currentQuerySelector,x=l.options||{};u.queryCount++,u.currentQuery=l;const[W,oe]=function Mn(_){const l=!!_.split(/\s*,\s*/).find(u=>":self"==u);return l&&(_=_.replace(en,"")),_=_.replace(/@\*/g,vt).replace(/@\w+/g,u=>vt+"-"+u.substr(1)).replace(/:animating/g,Ht),[_,l]}(l.selector);u.currentQuerySelector=m.length?m+" "+W:W,ht(u.collectedStyles,u.currentQuerySelector,{});const Ee=Tn(this,jt(l.animation),u);return u.currentQuery=null,u.currentQuerySelector=m,{type:11,selector:W,limit:x.limit||0,optional:!!x.optional,includeSelf:oe,animation:Ee,originalSelector:l.selector,options:wn(l.options)}}visitStagger(l,u){u.currentQuery||u.errors.push(function ve(){return new i.\u0275RuntimeError(3013,d)}());const m="full"===l.timings?{duration:0,delay:0,easing:"full"}:Z(l.timings,u.errors,!0);return{type:12,animation:Tn(this,jt(l.animation),u),timings:m,options:null}}}class Un{constructor(l){this.errors=l,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function qn(_){return!Array.isArray(_)&&"object"==typeof _}function wn(_){return _?(_=P(_)).params&&(_.params=function ii(_){return _?P(_):null}(_.params)):_={},_}function Fn(_,l,u){return{duration:_,delay:l,easing:u}}function mi(_,l,u,m,x,W,oe=null,Ee=!1){return{type:1,element:_,keyframes:l,preStyleProps:u,postStyleProps:m,duration:x,delay:W,totalTime:x+W,easing:oe,subTimeline:Ee}}class ri{constructor(){this._map=new Map}get(l){return this._map.get(l)||[]}append(l,u){let m=this._map.get(l);m||this._map.set(l,m=[]),m.push(...u)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const Pr=new RegExp(":enter","g"),Ar=new RegExp(":leave","g");function Bn(_,l,u,m,x,W={},oe={},Ee,Ue,rt=[]){return(new Ji).buildKeyframes(_,l,u,m,x,W,oe,Ee,Ue,rt)}class Ji{buildKeyframes(l,u,m,x,W,oe,Ee,Ue,rt,Ct=[]){rt=rt||new ri;const It=new bi(l,u,rt,x,W,Ct,[]);It.options=Ue,It.currentTimeline.setStyles([oe],null,It.errors,Ue),Tn(this,m,It);const Tt=It.timelines.filter(Ot=>Ot.containsAnimation());if(Object.keys(Ee).length){let Ot;for(let Mt=Tt.length-1;Mt>=0;Mt--){const zt=Tt[Mt];if(zt.element===u){Ot=zt;break}}Ot&&!Ot.allowOnlyTimelineStyles()&&Ot.setStyles([Ee],null,It.errors,Ue)}return Tt.length?Tt.map(Ot=>Ot.buildKeyframes()):[mi(u,[],[],[],0,0,"",!1)]}visitTrigger(l,u){}visitState(l,u){}visitTransition(l,u){}visitAnimateChild(l,u){const m=u.subInstructions.get(u.element);if(m){const x=u.createSubContext(l.options),W=u.currentTimeline.currentTime,oe=this._visitSubInstructions(m,x,x.options);W!=oe&&u.transformIntoNewTimeline(oe)}u.previousNode=l}visitAnimateRef(l,u){const m=u.createSubContext(l.options);m.transformIntoNewTimeline(),this.visitReference(l.animation,m),u.transformIntoNewTimeline(m.currentTimeline.currentTime),u.previousNode=l}_visitSubInstructions(l,u,m){let W=u.currentTimeline.currentTime;const oe=null!=m.duration?un(m.duration):null,Ee=null!=m.delay?un(m.delay):null;return 0!==oe&&l.forEach(Ue=>{const rt=u.appendInstructionToTimeline(Ue,oe,Ee);W=Math.max(W,rt.duration+rt.delay)}),W}visitReference(l,u){u.updateOptions(l.options,!0),Tn(this,l.animation,u),u.previousNode=l}visitSequence(l,u){const m=u.subContextCount;let x=u;const W=l.options;if(W&&(W.params||W.delay)&&(x=u.createSubContext(W),x.transformIntoNewTimeline(),null!=W.delay)){6==x.previousNode.type&&(x.currentTimeline.snapshotCurrentStyles(),x.previousNode=wi);const oe=un(W.delay);x.delayNextStep(oe)}l.steps.length&&(l.steps.forEach(oe=>Tn(this,oe,x)),x.currentTimeline.applyStylesToKeyframe(),x.subContextCount>m&&x.transformIntoNewTimeline()),u.previousNode=l}visitGroup(l,u){const m=[];let x=u.currentTimeline.currentTime;const W=l.options&&l.options.delay?un(l.options.delay):0;l.steps.forEach(oe=>{const Ee=u.createSubContext(l.options);W&&Ee.delayNextStep(W),Tn(this,oe,Ee),x=Math.max(x,Ee.currentTimeline.currentTime),m.push(Ee.currentTimeline)}),m.forEach(oe=>u.currentTimeline.mergeTimelineCollectedStyles(oe)),u.transformIntoNewTimeline(x),u.previousNode=l}_visitTiming(l,u){if(l.dynamic){const m=l.strValue;return Z(u.params?je(m,u.params,u.errors):m,u.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,u){const m=u.currentAnimateTimings=this._visitTiming(l.timings,u),x=u.currentTimeline;m.delay&&(u.incrementTime(m.delay),x.snapshotCurrentStyles());const W=l.style;5==W.type?this.visitKeyframes(W,u):(u.incrementTime(m.duration),this.visitStyle(W,u),x.applyStylesToKeyframe()),u.currentAnimateTimings=null,u.previousNode=l}visitStyle(l,u){const m=u.currentTimeline,x=u.currentAnimateTimings;!x&&m.getCurrentStyleProperties().length&&m.forwardFrame();const W=x&&x.easing||l.easing;l.isEmptyStep?m.applyEmptyStep(W):m.setStyles(l.styles,W,u.errors,u.options),u.previousNode=l}visitKeyframes(l,u){const m=u.currentAnimateTimings,x=u.currentTimeline.duration,W=m.duration,Ee=u.createSubContext().currentTimeline;Ee.easing=m.easing,l.styles.forEach(Ue=>{Ee.forwardTime((Ue.offset||0)*W),Ee.setStyles(Ue.styles,Ue.easing,u.errors,u.options),Ee.applyStylesToKeyframe()}),u.currentTimeline.mergeTimelineCollectedStyles(Ee),u.transformIntoNewTimeline(x+W),u.previousNode=l}visitQuery(l,u){const m=u.currentTimeline.currentTime,x=l.options||{},W=x.delay?un(x.delay):0;W&&(6===u.previousNode.type||0==m&&u.currentTimeline.getCurrentStyleProperties().length)&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=wi);let oe=m;const Ee=u.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!x.optional,u.errors);u.currentQueryTotal=Ee.length;let Ue=null;Ee.forEach((rt,Ct)=>{u.currentQueryIndex=Ct;const It=u.createSubContext(l.options,rt);W&&It.delayNextStep(W),rt===u.element&&(Ue=It.currentTimeline),Tn(this,l.animation,It),It.currentTimeline.applyStylesToKeyframe(),oe=Math.max(oe,It.currentTimeline.currentTime)}),u.currentQueryIndex=0,u.currentQueryTotal=0,u.transformIntoNewTimeline(oe),Ue&&(u.currentTimeline.mergeTimelineCollectedStyles(Ue),u.currentTimeline.snapshotCurrentStyles()),u.previousNode=l}visitStagger(l,u){const m=u.parentContext,x=u.currentTimeline,W=l.timings,oe=Math.abs(W.duration),Ee=oe*(u.currentQueryTotal-1);let Ue=oe*u.currentQueryIndex;switch(W.duration<0?"reverse":W.easing){case"reverse":Ue=Ee-Ue;break;case"full":Ue=m.currentStaggerTime}const Ct=u.currentTimeline;Ue&&Ct.delayNextStep(Ue);const It=Ct.currentTime;Tn(this,l.animation,u),u.previousNode=l,m.currentStaggerTime=x.currentTime-It+(x.startTime-m.currentTimeline.startTime)}}const wi={};class bi{constructor(l,u,m,x,W,oe,Ee,Ue){this._driver=l,this.element=u,this.subInstructions=m,this._enterClassName=x,this._leaveClassName=W,this.errors=oe,this.timelines=Ee,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=wi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ue||new Xi(this._driver,u,0),Ee.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,u){if(!l)return;const m=l;let x=this.options;null!=m.duration&&(x.duration=un(m.duration)),null!=m.delay&&(x.delay=un(m.delay));const W=m.params;if(W){let oe=x.params;oe||(oe=this.options.params={}),Object.keys(W).forEach(Ee=>{(!u||!oe.hasOwnProperty(Ee))&&(oe[Ee]=je(W[Ee],oe,this.errors))})}}_copyOptions(){const l={};if(this.options){const u=this.options.params;if(u){const m=l.params={};Object.keys(u).forEach(x=>{m[x]=u[x]})}}return l}createSubContext(l=null,u,m){const x=u||this.element,W=new bi(this._driver,x,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(x,m||0));return W.previousNode=this.previousNode,W.currentAnimateTimings=this.currentAnimateTimings,W.options=this._copyOptions(),W.updateOptions(l),W.currentQueryIndex=this.currentQueryIndex,W.currentQueryTotal=this.currentQueryTotal,W.parentContext=this,this.subContextCount++,W}transformIntoNewTimeline(l){return this.previousNode=wi,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,u,m){const x={duration:null!=u?u:l.duration,delay:this.currentTimeline.currentTime+(null!=m?m:0)+l.delay,easing:""},W=new qi(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,x,l.stretchStartingKeyframe);return this.timelines.push(W),x}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,u,m,x,W,oe){let Ee=[];if(x&&Ee.push(this.element),l.length>0){l=(l=l.replace(Pr,"."+this._enterClassName)).replace(Ar,"."+this._leaveClassName);let rt=this._driver.query(this.element,l,1!=m);0!==m&&(rt=m<0?rt.slice(rt.length+m,rt.length):rt.slice(0,m)),Ee.push(...rt)}return!W&&0==Ee.length&&oe.push(function Re(_){return new i.\u0275RuntimeError(3014,d)}()),Ee}}class Xi{constructor(l,u,m,x){this._driver=l,this.element=u,this.startTime=m,this._elementTimelineStylesLookup=x,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(u),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(u,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(l){const u=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||u?(this.forwardTime(this.currentTime+l),u&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,u){return this.applyStylesToKeyframe(),new Xi(this._driver,l,u||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,u){this._localTimelineStyles[l]=u,this._globalTimelineStyles[l]=u,this._styleSummary[l]={time:this.currentTime,value:u}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&(this._previousKeyframe.easing=l),Object.keys(this._globalTimelineStyles).forEach(u=>{this._backFill[u]=this._globalTimelineStyles[u]||g.l3,this._currentKeyframe[u]=g.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,u,m,x){u&&(this._previousKeyframe.easing=u);const W=x&&x.params||{},oe=function Bi(_,l){const u={};let m;return _.forEach(x=>{"*"===x?(m=m||Object.keys(l),m.forEach(W=>{u[W]=g.l3})):E(x,!1,u)}),u}(l,this._globalTimelineStyles);Object.keys(oe).forEach(Ee=>{const Ue=je(oe[Ee],W,m);this._pendingStyles[Ee]=Ue,this._localTimelineStyles.hasOwnProperty(Ee)||(this._backFill[Ee]=this._globalTimelineStyles.hasOwnProperty(Ee)?this._globalTimelineStyles[Ee]:g.l3),this._updateStyle(Ee,Ue)})}applyStylesToKeyframe(){const l=this._pendingStyles,u=Object.keys(l);0!=u.length&&(this._pendingStyles={},u.forEach(m=>{this._currentKeyframe[m]=l[m]}),Object.keys(this._localTimelineStyles).forEach(m=>{this._currentKeyframe.hasOwnProperty(m)||(this._currentKeyframe[m]=this._localTimelineStyles[m])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(l=>{const u=this._localTimelineStyles[l];this._pendingStyles[l]=u,this._updateStyle(l,u)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let u in this._currentKeyframe)l.push(u);return l}mergeTimelineCollectedStyles(l){Object.keys(l._styleSummary).forEach(u=>{const m=this._styleSummary[u],x=l._styleSummary[u];(!m||x.time>m.time)&&this._updateStyle(u,x.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,u=new Set,m=1===this._keyframes.size&&0===this.duration;let x=[];this._keyframes.forEach((Ee,Ue)=>{const rt=E(Ee,!0);Object.keys(rt).forEach(Ct=>{const It=rt[Ct];It==g.k1?l.add(Ct):It==g.l3&&u.add(Ct)}),m||(rt.offset=Ue/this.duration),x.push(rt)});const W=l.size?ct(l.values()):[],oe=u.size?ct(u.values()):[];if(m){const Ee=x[0],Ue=P(Ee);Ee.offset=0,Ue.offset=1,x=[Ee,Ue]}return mi(this.element,x,W,oe,this.duration,this.startTime,this.easing,!1)}}class qi extends Xi{constructor(l,u,m,x,W,oe,Ee=!1){super(l,u,oe.delay),this.keyframes=m,this.preStyleProps=x,this.postStyleProps=W,this._stretchStartingKeyframe=Ee,this.timings={duration:oe.duration,delay:oe.delay,easing:oe.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:u,duration:m,easing:x}=this.timings;if(this._stretchStartingKeyframe&&u){const W=[],oe=m+u,Ee=u/oe,Ue=E(l[0],!1);Ue.offset=0,W.push(Ue);const rt=E(l[0],!1);rt.offset=fr(Ee),W.push(rt);const Ct=l.length-1;for(let It=1;It<=Ct;It++){let Tt=E(l[It],!1);Tt.offset=fr((u+Tt.offset*m)/oe),W.push(Tt)}m=oe,u=0,x="",l=W}return mi(this.element,l,this.preStyleProps,this.postStyleProps,m,u,x,!0)}}function fr(_,l=3){const u=Math.pow(10,l-1);return Math.round(_*u)/u}class oi{}class Si extends oi{normalizePropertyName(l,u){return At(l)}normalizeStyleValue(l,u,m,x){let W="";const oe=m.toString().trim();if(xr[u]&&0!==m&&"0"!==m)if("number"==typeof m)W="px";else{const Ee=m.match(/^[+-]?[\d\.]+([a-z]*)$/);Ee&&0==Ee[1].length&&x.push(function M(_,l){return new i.\u0275RuntimeError(3005,d)}())}return oe+W}}const xr=(()=>function Rr(_){const l={};return _.forEach(u=>l[u]=!0),l}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function ji(_,l,u,m,x,W,oe,Ee,Ue,rt,Ct,It,Tt){return{type:0,element:_,triggerName:l,isRemovalTransition:x,fromState:u,fromStyles:W,toState:m,toStyles:oe,timelines:Ee,queriedElements:Ue,preStyleProps:rt,postStyleProps:Ct,totalTime:It,errors:Tt}}const Ci={};class Ii{constructor(l,u,m){this._triggerName=l,this.ast=u,this._stateStyles=m}match(l,u,m,x){return function Fr(_,l,u,m,x){return _.some(W=>W(l,u,m,x))}(this.ast.matchers,l,u,m,x)}buildStyles(l,u,m){const x=this._stateStyles["*"],W=this._stateStyles[l],oe=x?x.buildStyles(u,m):{};return W?W.buildStyles(u,m):oe}build(l,u,m,x,W,oe,Ee,Ue,rt,Ct){const It=[],Tt=this.ast.options&&this.ast.options.params||Ci,Mt=this.buildStyles(m,Ee&&Ee.params||Ci,It),zt=Ue&&Ue.params||Ci,hn=this.buildStyles(x,zt,It),Nn=new Set,Zn=new Map,si=new Map,_n="void"===x,_i={params:Object.assign(Object.assign({},Tt),zt)},yn=Ct?[]:Bn(l,u,this.ast.animation,W,oe,Mt,hn,_i,rt,It);let ti=0;if(yn.forEach(Wi=>{ti=Math.max(Wi.duration+Wi.delay,ti)}),It.length)return ji(u,this._triggerName,m,x,_n,Mt,hn,[],[],Zn,si,ti,It);yn.forEach(Wi=>{const rr=Wi.element,Fs=ht(Zn,rr,{});Wi.preStyleProps.forEach(zi=>Fs[zi]=!0);const to=ht(si,rr,{});Wi.postStyleProps.forEach(zi=>to[zi]=!0),rr!==u&&Nn.add(rr)});const Ui=ct(Nn.values());return ji(u,this._triggerName,m,x,_n,Mt,hn,yn,Ui,Zn,si,ti)}}class Vi{constructor(l,u,m){this.styles=l,this.defaultParams=u,this.normalizer=m}buildStyles(l,u){const m={},x=P(this.defaultParams);return Object.keys(l).forEach(W=>{const oe=l[W];null!=oe&&(x[W]=oe)}),this.styles.styles.forEach(W=>{if("string"!=typeof W){const oe=W;Object.keys(oe).forEach(Ee=>{let Ue=oe[Ee];Ue.length>1&&(Ue=je(Ue,x,u));const rt=this.normalizer.normalizePropertyName(Ee,u);Ue=this.normalizer.normalizeStyleValue(Ee,rt,Ue,u),m[rt]=Ue})}}),m}}class li{constructor(l,u,m){this.name=l,this.ast=u,this._normalizer=m,this.transitionFactories=[],this.states={},u.states.forEach(x=>{this.states[x.name]=new Vi(x.style,x.options&&x.options.params||{},m)}),Di(this.states,"true","1"),Di(this.states,"false","0"),u.transitions.forEach(x=>{this.transitionFactories.push(new Ii(l,x,this.states))}),this.fallbackTransition=function Pi(_,l,u){return new Ii(_,{type:1,animation:{type:2,steps:[],options:null},matchers:[(oe,Ee)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,u,m,x){return this.transitionFactories.find(oe=>oe.match(l,u,m,x))||null}matchStyles(l,u,m){return this.fallbackTransition.buildStyles(l,u,m)}}function Di(_,l,u){_.hasOwnProperty(l)?_.hasOwnProperty(u)||(_[u]=_[l]):_.hasOwnProperty(u)&&(_[l]=_[u])}const er=new ri;class Ai{constructor(l,u,m){this.bodyNode=l,this._driver=u,this._normalizer=m,this._animations={},this._playersById={},this.players=[]}register(l,u){const m=[],W=Sn(this._driver,u,m,[]);if(m.length)throw function pe(_){return new i.\u0275RuntimeError(3503,d)}();this._animations[l]=W}_buildPlayer(l,u,m){const x=l.element,W=Fe(0,this._normalizer,0,l.keyframes,u,m);return this._driver.animate(x,W,l.duration,l.delay,l.easing,[],!0)}create(l,u,m={}){const x=[],W=this._animations[l];let oe;const Ee=new Map;if(W?(oe=Bn(this._driver,u,W,ln,qt,{},{},m,er,x),oe.forEach(Ct=>{const It=ht(Ee,Ct.element,{});Ct.postStyleProps.forEach(Tt=>It[Tt]=null)})):(x.push(function ee(){return new i.\u0275RuntimeError(3300,d)}()),oe=[]),x.length)throw function xe(_){return new i.\u0275RuntimeError(3504,d)}();Ee.forEach((Ct,It)=>{Object.keys(Ct).forEach(Tt=>{Ct[Tt]=this._driver.computeStyle(It,Tt,g.l3)})});const rt=we(oe.map(Ct=>{const It=Ee.get(Ct.element);return this._buildPlayer(Ct,{},It)}));return this._playersById[l]=rt,rt.onDestroy(()=>this.destroy(l)),this.players.push(rt),rt}destroy(l){const u=this._getPlayer(l);u.destroy(),delete this._playersById[l];const m=this.players.indexOf(u);m>=0&&this.players.splice(m,1)}_getPlayer(l){const u=this._playersById[l];if(!u)throw function fe(_){return new i.\u0275RuntimeError(3301,d)}();return u}listen(l,u,m,x){const W=mt(u,"","","");return be(this._getPlayer(l),m,W,x),()=>{}}command(l,u,m,x){if("register"==m)return void this.register(l,x[0]);if("create"==m)return void this.create(l,u,x[0]||{});const W=this._getPlayer(l);switch(m){case"play":W.play();break;case"pause":W.pause();break;case"reset":W.reset();break;case"restart":W.restart();break;case"finish":W.finish();break;case"init":W.init();break;case"setPosition":W.setPosition(parseFloat(x[0]));break;case"destroy":this.destroy(l)}}}const mr="ng-animate-queued",Oi="ng-animate-disabled",Vn=[],Hi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},$n="__ng_removed";class nr{constructor(l,u=""){this.namespaceId=u;const m=l&&l.hasOwnProperty("value");if(this.value=function F(_){return null!=_?_:null}(m?l.value:l),m){const W=P(l);delete W.value,this.options=W}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(l){const u=l.params;if(u){const m=this.options.params;Object.keys(u).forEach(x=>{null==m[x]&&(m[x]=u[x])})}}}const ci="void",gi=new nr(ci);class _r{constructor(l,u,m){this.id=l,this.hostElement=u,this._engine=m,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,pt(u,this._hostClassName)}listen(l,u,m,x){if(!this._triggers.hasOwnProperty(u))throw function Ze(_,l){return new i.\u0275RuntimeError(3302,d)}();if(null==m||0==m.length)throw function ge(_){return new i.\u0275RuntimeError(3303,d)}();if(!function R(_){return"start"==_||"done"==_}(m))throw function He(_,l){return new i.\u0275RuntimeError(3400,d)}();const W=ht(this._elementListeners,l,[]),oe={name:u,phase:m,callback:x};W.push(oe);const Ee=ht(this._engine.statesByElement,l,{});return Ee.hasOwnProperty(u)||(pt(l,Jt),pt(l,Jt+"-"+u),Ee[u]=gi),()=>{this._engine.afterFlush(()=>{const Ue=W.indexOf(oe);Ue>=0&&W.splice(Ue,1),this._triggers[u]||delete Ee[u]})}}register(l,u){return!this._triggers[l]&&(this._triggers[l]=u,!0)}_getTrigger(l){const u=this._triggers[l];if(!u)throw function at(_){return new i.\u0275RuntimeError(3401,d)}();return u}trigger(l,u,m,x=!0){const W=this._getTrigger(u),oe=new yr(this.id,u,l);let Ee=this._engine.statesByElement.get(l);Ee||(pt(l,Jt),pt(l,Jt+"-"+u),this._engine.statesByElement.set(l,Ee={}));let Ue=Ee[u];const rt=new nr(m,this.id);if(!(m&&m.hasOwnProperty("value"))&&Ue&&rt.absorbOptions(Ue.options),Ee[u]=rt,Ue||(Ue=gi),rt.value!==ci&&Ue.value===rt.value){if(!function an(_,l){const u=Object.keys(_),m=Object.keys(l);if(u.length!=m.length)return!1;for(let x=0;x<u.length;x++){const W=u[x];if(!l.hasOwnProperty(W)||_[W]!==l[W])return!1}return!0}(Ue.params,rt.params)){const zt=[],hn=W.matchStyles(Ue.value,Ue.params,zt),Nn=W.matchStyles(rt.value,rt.params,zt);zt.length?this._engine.reportError(zt):this._engine.afterFlush(()=>{Bt(l,hn),it(l,Nn)})}return}const Tt=ht(this._engine.playersByElement,l,[]);Tt.forEach(zt=>{zt.namespaceId==this.id&&zt.triggerName==u&&zt.queued&&zt.destroy()});let Ot=W.matchTransition(Ue.value,rt.value,l,rt.params),Mt=!1;if(!Ot){if(!x)return;Ot=W.fallbackTransition,Mt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:u,transition:Ot,fromState:Ue,toState:rt,player:oe,isFallbackTransition:Mt}),Mt||(pt(l,mr),oe.onStart(()=>{Ft(l,mr)})),oe.onDone(()=>{let zt=this.players.indexOf(oe);zt>=0&&this.players.splice(zt,1);const hn=this._engine.playersByElement.get(l);if(hn){let Nn=hn.indexOf(oe);Nn>=0&&hn.splice(Nn,1)}}),this.players.push(oe),Tt.push(oe),oe}deregister(l){delete this._triggers[l],this._engine.statesByElement.forEach((u,m)=>{delete u[l]}),this._elementListeners.forEach((u,m)=>{this._elementListeners.set(m,u.filter(x=>x.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const u=this._engine.playersByElement.get(l);u&&(u.forEach(m=>m.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,u){const m=this._engine.driver.query(l,vt,!0);m.forEach(x=>{if(x[$n])return;const W=this._engine.fetchNamespacesByElement(x);W.size?W.forEach(oe=>oe.triggerLeaveAnimation(x,u,!1,!0)):this.clearElementCache(x)}),this._engine.afterFlushAnimationsDone(()=>m.forEach(x=>this.clearElementCache(x)))}triggerLeaveAnimation(l,u,m,x){const W=this._engine.statesByElement.get(l),oe=new Map;if(W){const Ee=[];if(Object.keys(W).forEach(Ue=>{if(oe.set(Ue,W[Ue].value),this._triggers[Ue]){const rt=this.trigger(l,Ue,ci,x);rt&&Ee.push(rt)}}),Ee.length)return this._engine.markElementAsRemoved(this.id,l,!0,u,oe),m&&we(Ee).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const u=this._elementListeners.get(l),m=this._engine.statesByElement.get(l);if(u&&m){const x=new Set;u.forEach(W=>{const oe=W.name;if(x.has(oe))return;x.add(oe);const Ue=this._triggers[oe].fallbackTransition,rt=m[oe]||gi,Ct=new nr(ci),It=new yr(this.id,oe,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:oe,transition:Ue,fromState:rt,toState:Ct,player:It,isFallbackTransition:!0})})}}removeNode(l,u){const m=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,u),this.triggerLeaveAnimation(l,u,!0))return;let x=!1;if(m.totalAnimations){const W=m.players.length?m.playersByQueriedElement.get(l):[];if(W&&W.length)x=!0;else{let oe=l;for(;oe=oe.parentNode;)if(m.statesByElement.get(oe)){x=!0;break}}}if(this.prepareLeaveAnimationListeners(l),x)m.markElementAsRemoved(this.id,l,!1,u);else{const W=l[$n];(!W||W===Hi)&&(m.afterFlush(()=>this.clearElementCache(l)),m.destroyInnerAnimations(l),m._onRemovalComplete(l,u))}}insertNode(l,u){pt(l,this._hostClassName)}drainQueuedTransitions(l){const u=[];return this._queue.forEach(m=>{const x=m.player;if(x.destroyed)return;const W=m.element,oe=this._elementListeners.get(W);oe&&oe.forEach(Ee=>{if(Ee.name==m.triggerName){const Ue=mt(W,m.triggerName,m.fromState.value,m.toState.value);Ue._data=l,be(m.player,Ee.phase,Ue,Ee.callback)}}),x.markedForDestroy?this._engine.afterFlush(()=>{x.destroy()}):u.push(m)}),this._queue=[],u.sort((m,x)=>{const W=m.transition.ast.depCount,oe=x.transition.ast.depCount;return 0==W||0==oe?W-oe:this._engine.driver.containsElement(m.element,x.element)?1:-1})}destroy(l){this.players.forEach(u=>u.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}elementContainsData(l){let u=!1;return this._elementListeners.has(l)&&(u=!0),u=!!this._queue.find(m=>m.element===l)||u,u}}class Ri{constructor(l,u,m){this.bodyNode=l,this.driver=u,this._normalizer=m,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(x,W)=>{}}_onRemovalComplete(l,u){this.onRemovalComplete(l,u)}get queuedPlayers(){const l=[];return this._namespaceList.forEach(u=>{u.players.forEach(m=>{m.queued&&l.push(m)})}),l}createNamespace(l,u){const m=new _r(l,u,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,u)?this._balanceNamespaceList(m,u):(this.newHostElements.set(u,m),this.collectEnterElement(u)),this._namespaceLookup[l]=m}_balanceNamespaceList(l,u){const m=this._namespaceList,x=this.namespacesByHostElement,W=m.length-1;if(W>=0){let oe=!1;if(void 0!==this.driver.getParentElement){let Ee=this.driver.getParentElement(u);for(;Ee;){const Ue=x.get(Ee);if(Ue){const rt=m.indexOf(Ue);m.splice(rt+1,0,l),oe=!0;break}Ee=this.driver.getParentElement(Ee)}}else for(let Ee=W;Ee>=0;Ee--)if(this.driver.containsElement(m[Ee].hostElement,u)){m.splice(Ee+1,0,l),oe=!0;break}oe||m.unshift(l)}else m.push(l);return x.set(u,l),l}register(l,u){let m=this._namespaceLookup[l];return m||(m=this.createNamespace(l,u)),m}registerTrigger(l,u,m){let x=this._namespaceLookup[l];x&&x.register(u,m)&&this.totalAnimations++}destroy(l,u){if(!l)return;const m=this._fetchNamespace(l);this.afterFlush(()=>{this.namespacesByHostElement.delete(m.hostElement),delete this._namespaceLookup[l];const x=this._namespaceList.indexOf(m);x>=0&&this._namespaceList.splice(x,1)}),this.afterFlushAnimationsDone(()=>m.destroy(u))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const u=new Set,m=this.statesByElement.get(l);if(m){const x=Object.keys(m);for(let W=0;W<x.length;W++){const oe=m[x[W]].namespaceId;if(oe){const Ee=this._fetchNamespace(oe);Ee&&u.add(Ee)}}}return u}trigger(l,u,m,x){if(J(u)){const W=this._fetchNamespace(l);if(W)return W.trigger(u,m,x),!0}return!1}insertNode(l,u,m,x){if(!J(u))return;const W=u[$n];if(W&&W.setForRemoval){W.setForRemoval=!1,W.setForMove=!0;const oe=this.collectedLeaveElements.indexOf(u);oe>=0&&this.collectedLeaveElements.splice(oe,1)}if(l){const oe=this._fetchNamespace(l);oe&&oe.insertNode(u,m)}x&&this.collectEnterElement(u)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,u){u?this.disabledNodes.has(l)||(this.disabledNodes.add(l),pt(l,Oi)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),Ft(l,Oi))}removeNode(l,u,m,x){if(J(u)){const W=l?this._fetchNamespace(l):null;if(W?W.removeNode(u,x):this.markElementAsRemoved(l,u,!1,x),m){const oe=this.namespacesByHostElement.get(u);oe&&oe.id!==l&&oe.removeNode(u,x)}}else this._onRemovalComplete(u,x)}markElementAsRemoved(l,u,m,x,W){this.collectedLeaveElements.push(u),u[$n]={namespaceId:l,setForRemoval:x,hasAnimation:m,removedBeforeQueried:!1,previousTriggersValues:W}}listen(l,u,m,x,W){return J(u)?this._fetchNamespace(l).listen(u,m,x,W):()=>{}}_buildInstruction(l,u,m,x,W){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,m,x,l.fromState.options,l.toState.options,u,W)}destroyInnerAnimations(l){let u=this.driver.query(l,vt,!0);u.forEach(m=>this.destroyActiveAnimationsForElement(m)),0!=this.playersByQueriedElement.size&&(u=this.driver.query(l,Ht,!0),u.forEach(m=>this.finishActiveQueriedAnimationOnElement(m)))}destroyActiveAnimationsForElement(l){const u=this.playersByElement.get(l);u&&u.forEach(m=>{m.queued?m.markedForDestroy=!0:m.destroy()})}finishActiveQueriedAnimationOnElement(l){const u=this.playersByQueriedElement.get(l);u&&u.forEach(m=>m.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return we(this.players).onDone(()=>l());l()})}processLeaveNode(l){var u;const m=l[$n];if(m&&m.setForRemoval){if(l[$n]=Hi,m.namespaceId){this.destroyInnerAnimations(l);const x=this._fetchNamespace(m.namespaceId);x&&x.clearElementCache(l)}this._onRemovalComplete(l,m.setForRemoval)}(null===(u=l.classList)||void 0===u?void 0:u.contains(Oi))&&this.markElementAsDisabled(l,!1),this.driver.query(l,".ng-animate-disabled",!0).forEach(x=>{this.markElementAsDisabled(x,!1)})}flush(l=-1){let u=[];if(this.newHostElements.size&&(this.newHostElements.forEach((m,x)=>this._balanceNamespaceList(m,x)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let m=0;m<this.collectedEnterElements.length;m++)pt(this.collectedEnterElements[m],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const m=[];try{u=this._flushAnimations(m,l)}finally{for(let x=0;x<m.length;x++)m[x]()}}else for(let m=0;m<this.collectedLeaveElements.length;m++)this.processLeaveNode(this.collectedLeaveElements[m]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(m=>m()),this._flushFns=[],this._whenQuietFns.length){const m=this._whenQuietFns;this._whenQuietFns=[],u.length?we(u).onDone(()=>{m.forEach(x=>x())}):m.forEach(x=>x())}}reportError(l){throw function gt(_){return new i.\u0275RuntimeError(3402,d)}()}_flushAnimations(l,u){const m=new ri,x=[],W=new Map,oe=[],Ee=new Map,Ue=new Map,rt=new Map,Ct=new Set;this.disabledNodes.forEach(Vt=>{Ct.add(Vt);const Kt=this.driver.query(Vt,".ng-animate-queued",!0);for(let Yt=0;Yt<Kt.length;Yt++)Ct.add(Kt[Yt])});const It=this.bodyNode,Tt=Array.from(this.statesByElement.keys()),Ot=ut(Tt,this.collectedEnterElements),Mt=new Map;let zt=0;Ot.forEach((Vt,Kt)=>{const Yt=ln+zt++;Mt.set(Kt,Yt),Vt.forEach(rn=>pt(rn,Yt))});const hn=[],Nn=new Set,Zn=new Set;for(let Vt=0;Vt<this.collectedLeaveElements.length;Vt++){const Kt=this.collectedLeaveElements[Vt],Yt=Kt[$n];Yt&&Yt.setForRemoval&&(hn.push(Kt),Nn.add(Kt),Yt.hasAnimation?this.driver.query(Kt,".ng-star-inserted",!0).forEach(rn=>Nn.add(rn)):Zn.add(Kt))}const si=new Map,_n=ut(Tt,Array.from(Nn));_n.forEach((Vt,Kt)=>{const Yt=qt+zt++;si.set(Kt,Yt),Vt.forEach(rn=>pt(rn,Yt))}),l.push(()=>{Ot.forEach((Vt,Kt)=>{const Yt=Mt.get(Kt);Vt.forEach(rn=>Ft(rn,Yt))}),_n.forEach((Vt,Kt)=>{const Yt=si.get(Kt);Vt.forEach(rn=>Ft(rn,Yt))}),hn.forEach(Vt=>{this.processLeaveNode(Vt)})});const _i=[],yn=[];for(let Vt=this._namespaceList.length-1;Vt>=0;Vt--)this._namespaceList[Vt].drainQueuedTransitions(u).forEach(Yt=>{const rn=Yt.player,Ln=Yt.element;if(_i.push(rn),this.collectedEnterElements.length){const ui=Ln[$n];if(ui&&ui.setForMove){if(ui.previousTriggersValues&&ui.previousTriggersValues.has(Yt.triggerName)){const zr=ui.previousTriggersValues.get(Yt.triggerName),Fi=this.statesByElement.get(Yt.element);Fi&&Fi[Yt.triggerName]&&(Fi[Yt.triggerName].value=zr)}return void rn.destroy()}}const Ki=!It||!this.driver.containsElement(It,Ln),yi=si.get(Ln),Mi=Mt.get(Ln),Pn=this._buildInstruction(Yt,m,Mi,yi,Ki);if(Pn.errors&&Pn.errors.length)return void yn.push(Pn);if(Ki)return rn.onStart(()=>Bt(Ln,Pn.fromStyles)),rn.onDestroy(()=>it(Ln,Pn.toStyles)),void x.push(rn);if(Yt.isFallbackTransition)return rn.onStart(()=>Bt(Ln,Pn.fromStyles)),rn.onDestroy(()=>it(Ln,Pn.toStyles)),void x.push(rn);const ks=[];Pn.timelines.forEach(ui=>{ui.stretchStartingKeyframe=!0,this.disabledNodes.has(ui.element)||ks.push(ui)}),Pn.timelines=ks,m.append(Ln,Pn.timelines),oe.push({instruction:Pn,player:rn,element:Ln}),Pn.queriedElements.forEach(ui=>ht(Ee,ui,[]).push(rn)),Pn.preStyleProps.forEach((ui,zr)=>{const Fi=Object.keys(ui);if(Fi.length){let vr=Ue.get(zr);vr||Ue.set(zr,vr=new Set),Fi.forEach(ro=>vr.add(ro))}}),Pn.postStyleProps.forEach((ui,zr)=>{const Fi=Object.keys(ui);let vr=rt.get(zr);vr||rt.set(zr,vr=new Set),Fi.forEach(ro=>vr.add(ro))})});if(yn.length){const Vt=[];yn.forEach(Kt=>{Vt.push(function qe(_,l){return new i.\u0275RuntimeError(3505,d)}())}),_i.forEach(Kt=>Kt.destroy()),this.reportError(Vt)}const ti=new Map,Ui=new Map;oe.forEach(Vt=>{const Kt=Vt.element;m.has(Kt)&&(Ui.set(Kt,Kt),this._beforeAnimationBuild(Vt.player.namespaceId,Vt.instruction,ti))}),x.forEach(Vt=>{const Kt=Vt.element;this._getPreviousPlayers(Kt,!1,Vt.namespaceId,Vt.triggerName,null).forEach(rn=>{ht(ti,Kt,[]).push(rn),rn.destroy()})});const Wi=hn.filter(Vt=>In(Vt,Ue,rt)),rr=new Map;ze(rr,this.driver,Zn,rt,g.l3).forEach(Vt=>{In(Vt,Ue,rt)&&Wi.push(Vt)});const to=new Map;Ot.forEach((Vt,Kt)=>{ze(to,this.driver,new Set(Vt),Ue,g.k1)}),Wi.forEach(Vt=>{const Kt=rr.get(Vt),Yt=to.get(Vt);rr.set(Vt,Object.assign(Object.assign({},Kt),Yt))});const zi=[],no=[],io={};oe.forEach(Vt=>{const{element:Kt,player:Yt,instruction:rn}=Vt;if(m.has(Kt)){if(Ct.has(Kt))return Yt.onDestroy(()=>it(Kt,rn.toStyles)),Yt.disabled=!0,Yt.overrideTotalTime(rn.totalTime),void x.push(Yt);let Ln=io;if(Ui.size>1){let yi=Kt;const Mi=[];for(;yi=yi.parentNode;){const Pn=Ui.get(yi);if(Pn){Ln=Pn;break}Mi.push(yi)}Mi.forEach(Pn=>Ui.set(Pn,Ln))}const Ki=this._buildAnimation(Yt.namespaceId,rn,ti,W,to,rr);if(Yt.setRealPlayer(Ki),Ln===io)zi.push(Yt);else{const yi=this.playersByElement.get(Ln);yi&&yi.length&&(Yt.parentPlayer=we(yi)),x.push(Yt)}}else Bt(Kt,rn.fromStyles),Yt.onDestroy(()=>it(Kt,rn.toStyles)),no.push(Yt),Ct.has(Kt)&&x.push(Yt)}),no.forEach(Vt=>{const Kt=W.get(Vt.element);if(Kt&&Kt.length){const Yt=we(Kt);Vt.setRealPlayer(Yt)}}),x.forEach(Vt=>{Vt.parentPlayer?Vt.syncPlayerEvents(Vt.parentPlayer):Vt.destroy()});for(let Vt=0;Vt<hn.length;Vt++){const Kt=hn[Vt],Yt=Kt[$n];if(Ft(Kt,qt),Yt&&Yt.hasAnimation)continue;let rn=[];if(Ee.size){let Ki=Ee.get(Kt);Ki&&Ki.length&&rn.push(...Ki);let yi=this.driver.query(Kt,Ht,!0);for(let Mi=0;Mi<yi.length;Mi++){let Pn=Ee.get(yi[Mi]);Pn&&Pn.length&&rn.push(...Pn)}}const Ln=rn.filter(Ki=>!Ki.destroyed);Ln.length?pn(this,Kt,Ln):this.processLeaveNode(Kt)}return hn.length=0,zi.forEach(Vt=>{this.players.push(Vt),Vt.onDone(()=>{Vt.destroy();const Kt=this.players.indexOf(Vt);this.players.splice(Kt,1)}),Vt.play()}),zi}elementContainsData(l,u){let m=!1;const x=u[$n];return x&&x.setForRemoval&&(m=!0),this.playersByElement.has(u)&&(m=!0),this.playersByQueriedElement.has(u)&&(m=!0),this.statesByElement.has(u)&&(m=!0),this._fetchNamespace(l).elementContainsData(u)||m}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,u,m,x,W){let oe=[];if(u){const Ee=this.playersByQueriedElement.get(l);Ee&&(oe=Ee)}else{const Ee=this.playersByElement.get(l);if(Ee){const Ue=!W||W==ci;Ee.forEach(rt=>{rt.queued||!Ue&&rt.triggerName!=x||oe.push(rt)})}}return(m||x)&&(oe=oe.filter(Ee=>!(m&&m!=Ee.namespaceId||x&&x!=Ee.triggerName))),oe}_beforeAnimationBuild(l,u,m){const W=u.element,oe=u.isRemovalTransition?void 0:l,Ee=u.isRemovalTransition?void 0:u.triggerName;for(const Ue of u.timelines){const rt=Ue.element,Ct=rt!==W,It=ht(m,rt,[]);this._getPreviousPlayers(rt,Ct,oe,Ee,u.toState).forEach(Ot=>{const Mt=Ot.getRealPlayer();Mt.beforeDestroy&&Mt.beforeDestroy(),Ot.destroy(),It.push(Ot)})}Bt(W,u.fromStyles)}_buildAnimation(l,u,m,x,W,oe){const Ee=u.triggerName,Ue=u.element,rt=[],Ct=new Set,It=new Set,Tt=u.timelines.map(Mt=>{const zt=Mt.element;Ct.add(zt);const hn=zt[$n];if(hn&&hn.removedBeforeQueried)return new g.ZN(Mt.duration,Mt.delay);const Nn=zt!==Ue,Zn=function dn(_){const l=[];return tn(_,l),l}((m.get(zt)||Vn).map(ti=>ti.getRealPlayer())).filter(ti=>!!ti.element&&ti.element===zt),si=W.get(zt),_n=oe.get(zt),_i=Fe(0,this._normalizer,0,Mt.keyframes,si,_n),yn=this._buildPlayer(Mt,_i,Zn);if(Mt.subTimeline&&x&&It.add(zt),Nn){const ti=new yr(l,Ee,zt);ti.setRealPlayer(yn),rt.push(ti)}return yn});rt.forEach(Mt=>{ht(this.playersByQueriedElement,Mt.element,[]).push(Mt),Mt.onDone(()=>function vn(_,l,u){let m;if(_ instanceof Map){if(m=_.get(l),m){if(m.length){const x=m.indexOf(u);m.splice(x,1)}0==m.length&&_.delete(l)}}else if(m=_[l],m){if(m.length){const x=m.indexOf(u);m.splice(x,1)}0==m.length&&delete _[l]}return m}(this.playersByQueriedElement,Mt.element,Mt))}),Ct.forEach(Mt=>pt(Mt,Gt));const Ot=we(Tt);return Ot.onDestroy(()=>{Ct.forEach(Mt=>Ft(Mt,Gt)),it(Ue,u.toStyles)}),It.forEach(Mt=>{ht(x,Mt,[]).push(Ot)}),Ot}_buildPlayer(l,u,m){return u.length>0?this.driver.animate(l.element,u,l.duration,l.delay,l.easing,m):new g.ZN(l.duration,l.delay)}}class yr{constructor(l,u,m){this.namespaceId=l,this.triggerName=u,this.element=m,this._player=new g.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(l){this._containsRealPlayer||(this._player=l,Object.keys(this._queuedCallbacks).forEach(u=>{this._queuedCallbacks[u].forEach(m=>be(l,u,void 0,m))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const u=this._player;u.triggerCallback&&l.onStart(()=>u.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,u){ht(this._queuedCallbacks,l,[]).push(u)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const u=this._player;u.triggerCallback&&u.triggerCallback(l)}}function J(_){return _&&1===_.nodeType}function ne(_,l){const u=_.style.display;return _.style.display=null!=l?l:"none",u}function ze(_,l,u,m,x){const W=[];u.forEach(Ue=>W.push(ne(Ue)));const oe=[];m.forEach((Ue,rt)=>{const Ct={};Ue.forEach(It=>{const Tt=Ct[It]=l.computeStyle(rt,It,x);(!Tt||0==Tt.length)&&(rt[$n]=xi,oe.push(rt))}),_.set(rt,Ct)});let Ee=0;return u.forEach(Ue=>ne(Ue,W[Ee++])),oe}function ut(_,l){const u=new Map;if(_.forEach(Ee=>u.set(Ee,[])),0==l.length)return u;const x=new Set(l),W=new Map;function oe(Ee){if(!Ee)return 1;let Ue=W.get(Ee);if(Ue)return Ue;const rt=Ee.parentNode;return Ue=u.has(rt)?rt:x.has(rt)?1:oe(rt),W.set(Ee,Ue),Ue}return l.forEach(Ee=>{const Ue=oe(Ee);1!==Ue&&u.get(Ue).push(Ee)}),u}function pt(_,l){var u;null===(u=_.classList)||void 0===u||u.add(l)}function Ft(_,l){var u;null===(u=_.classList)||void 0===u||u.remove(l)}function pn(_,l,u){we(u).onDone(()=>_.processLeaveNode(l))}function tn(_,l){for(let u=0;u<_.length;u++){const m=_[u];m instanceof g.ZE?tn(m.players,l):l.push(m)}}function In(_,l,u){const m=u.get(_);if(!m)return!1;let x=l.get(_);return x?m.forEach(W=>x.add(W)):l.set(_,m),u.delete(_),!0}class k{constructor(l,u,m){this.bodyNode=l,this._driver=u,this._normalizer=m,this._triggerCache={},this.onRemovalComplete=(x,W)=>{},this._transitionEngine=new Ri(l,u,m),this._timelineEngine=new Ai(l,u,m),this._transitionEngine.onRemovalComplete=(x,W)=>this.onRemovalComplete(x,W)}registerTrigger(l,u,m,x,W){const oe=l+"-"+x;let Ee=this._triggerCache[oe];if(!Ee){const Ue=[],Ct=Sn(this._driver,W,Ue,[]);if(Ue.length)throw function Ie(_,l){return new i.\u0275RuntimeError(3404,d)}();Ee=function pr(_,l,u){return new li(_,l,u)}(x,Ct,this._normalizer),this._triggerCache[oe]=Ee}this._transitionEngine.registerTrigger(u,x,Ee)}register(l,u){this._transitionEngine.register(l,u)}destroy(l,u){this._transitionEngine.destroy(l,u)}onInsert(l,u,m,x){this._transitionEngine.insertNode(l,u,m,x)}onRemove(l,u,m,x){this._transitionEngine.removeNode(l,u,x||!1,m)}disableAnimations(l,u){this._transitionEngine.markElementAsDisabled(l,u)}process(l,u,m,x){if("@"==m.charAt(0)){const[W,oe]=wt(m);this._timelineEngine.command(W,u,oe,x)}else this._transitionEngine.trigger(l,u,m,x)}listen(l,u,m,x,W){if("@"==m.charAt(0)){const[oe,Ee]=wt(m);return this._timelineEngine.listen(oe,u,Ee,W)}return this._transitionEngine.listen(l,u,m,x,W)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let I=(()=>{class _{constructor(u,m,x){this._element=u,this._startStyles=m,this._endStyles=x,this._state=0;let W=_.initialStylesByElement.get(u);W||_.initialStylesByElement.set(u,W={}),this._initialStyles=W}start(){this._state<1&&(this._startStyles&&it(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(it(this._element,this._initialStyles),this._endStyles&&(it(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(_.initialStylesByElement.delete(this._element),this._startStyles&&(Bt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Bt(this._element,this._endStyles),this._endStyles=null),it(this._element,this._initialStyles),this._state=3)}}return _.initialStylesByElement=new WeakMap,_})();function Y(_){let l=null;const u=Object.keys(_);for(let m=0;m<u.length;m++){const x=u[m];Je(x)&&(l=l||{},l[x]=_[x])}return l}function Je(_){return"display"===_||"position"===_}class Nt{constructor(l,u,m,x){this.element=l,this.keyframes=u,this.options=m,this._specialStyles=x,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=m.duration,this._delay=m.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(l,u,m){return l.animate(u,m)}onStart(l){this._onStartFns.push(l)}onDone(l){this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(l=>l()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(l=>l()),this._onDestroyFns=[])}setPosition(l){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=l*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l={};if(this.hasStarted()){const u=this._finalKeyframe;Object.keys(u).forEach(m=>{"offset"!=m&&(l[m]=this._finished?u[m]:jn(this.element,m))})}this.currentSnapshot=l}triggerCallback(l){const u="start"==l?this._onStartFns:this._onDoneFns;u.forEach(m=>m()),u.length=0}}class Dn{validateStyleProperty(l){return De(l)}matchesElement(l,u){return!1}containsElement(l,u){return _e(l,u)}getParentElement(l){return ie(l)}query(l,u,m){return tt(l,u,m)}computeStyle(l,u,m){return window.getComputedStyle(l)[u]}animate(l,u,m,x,W,oe=[]){const Ue={duration:m,delay:x,fill:0==x?"both":"forwards"};W&&(Ue.easing=W);const rt={},Ct=oe.filter(Tt=>Tt instanceof Nt);(function mn(_,l){return 0===_||0===l})(m,x)&&Ct.forEach(Tt=>{let Ot=Tt.currentSnapshot;Object.keys(Ot).forEach(Mt=>rt[Mt]=Ot[Mt])}),u=function On(_,l,u){const m=Object.keys(u);if(m.length&&l.length){let W=l[0],oe=[];if(m.forEach(Ee=>{W.hasOwnProperty(Ee)||oe.push(Ee),W[Ee]=u[Ee]}),oe.length)for(var x=1;x<l.length;x++){let Ee=l[x];oe.forEach(function(Ue){Ee[Ue]=jn(_,Ue)})}}return l}(l,u=u.map(Tt=>E(Tt,!1)),rt);const It=function O(_,l){let u=null,m=null;return Array.isArray(l)&&l.length?(u=Y(l[0]),l.length>1&&(m=Y(l[l.length-1]))):l&&(u=Y(l)),u||m?new I(_,u,m):null}(l,u);return new Nt(l,u,Ue,It)}}var Wn=c(9808);let Ei=(()=>{class _ extends g._j{constructor(u,m){super(),this._nextAnimationId=0,this._renderer=u.createRenderer(m.body,{id:"0",encapsulation:i.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(u){const m=this._nextAnimationId.toString();this._nextAnimationId++;const x=Array.isArray(u)?(0,g.vP)(u):u;return Ur(this._renderer,null,m,"register",[x]),new ir(m,this._renderer)}}return _.\u0275fac=function(u){return new(u||_)(i.\u0275\u0275inject(i.RendererFactory2),i.\u0275\u0275inject(Wn.DOCUMENT))},_.\u0275prov=i.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac}),_})();class ir extends g.LC{constructor(l,u){super(),this._id=l,this._renderer=u}create(l,u){return new Yr(this._id,l,u||{},this._renderer)}}class Yr{constructor(l,u,m,x){this.id=l,this.element=u,this._renderer=x,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",m)}_listen(l,u){return this._renderer.listen(this.element,`@@${this.id}:${l}`,u)}_command(l,...u){return Ur(this._renderer,this.element,this.id,l,u)}onDone(l){this._listen("done",l)}onStart(l){this._listen("start",l)}onDestroy(l){this._listen("destroy",l)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(l){this._command("setPosition",l)}getPosition(){var l,u;return null!==(u=null===(l=this._renderer.engine.players[+this.id])||void 0===l?void 0:l.getPosition())&&void 0!==u?u:0}}function Ur(_,l,u,m,x){return _.setProperty(l,`@@${u}:${m}`,x)}const cn="@.disabled";let Jr=(()=>{class _{constructor(u,m,x){this.delegate=u,this.engine=m,this._zone=x,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),m.onRemovalComplete=(W,oe)=>{const Ee=null==oe?void 0:oe.parentNode(W);Ee&&oe.removeChild(Ee,W)}}createRenderer(u,m){const W=this.delegate.createRenderer(u,m);if(!(u&&m&&m.data&&m.data.animation)){let Ct=this._rendererCache.get(W);return Ct||(Ct=new kn("",W,this.engine),this._rendererCache.set(W,Ct)),Ct}const oe=m.id,Ee=m.id+"-"+this._currentId;this._currentId++,this.engine.register(Ee,u);const Ue=Ct=>{Array.isArray(Ct)?Ct.forEach(Ue):this.engine.registerTrigger(oe,Ee,u,Ct.name,Ct)};return m.data.animation.forEach(Ue),new Xr(this,Ee,W,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(u,m,x){u>=0&&u<this._microtaskId?this._zone.run(()=>m(x)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(W=>{const[oe,Ee]=W;oe(Ee)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([m,x]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return _.\u0275fac=function(u){return new(u||_)(i.\u0275\u0275inject(i.RendererFactory2),i.\u0275\u0275inject(k),i.\u0275\u0275inject(i.NgZone))},_.\u0275prov=i.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac}),_})();class kn{constructor(l,u,m){this.namespaceId=l,this.delegate=u,this.engine=m,this.destroyNode=this.delegate.destroyNode?x=>u.destroyNode(x):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(l,u){return this.delegate.createElement(l,u)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,u){this.delegate.appendChild(l,u),this.engine.onInsert(this.namespaceId,u,l,!1)}insertBefore(l,u,m,x=!0){this.delegate.insertBefore(l,u,m),this.engine.onInsert(this.namespaceId,u,l,x)}removeChild(l,u,m){this.engine.onRemove(this.namespaceId,u,this.delegate,m)}selectRootElement(l,u){return this.delegate.selectRootElement(l,u)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,u,m,x){this.delegate.setAttribute(l,u,m,x)}removeAttribute(l,u,m){this.delegate.removeAttribute(l,u,m)}addClass(l,u){this.delegate.addClass(l,u)}removeClass(l,u){this.delegate.removeClass(l,u)}setStyle(l,u,m,x){this.delegate.setStyle(l,u,m,x)}removeStyle(l,u,m){this.delegate.removeStyle(l,u,m)}setProperty(l,u,m){"@"==u.charAt(0)&&u==cn?this.disableAnimations(l,!!m):this.delegate.setProperty(l,u,m)}setValue(l,u){this.delegate.setValue(l,u)}listen(l,u,m){return this.delegate.listen(l,u,m)}disableAnimations(l,u){this.engine.disableAnimations(l,u)}}class Xr extends kn{constructor(l,u,m,x){super(u,m,x),this.factory=l,this.namespaceId=u}setProperty(l,u,m){"@"==u.charAt(0)?"."==u.charAt(1)&&u==cn?this.disableAnimations(l,m=void 0===m||!!m):this.engine.process(this.namespaceId,l,u.substr(1),m):this.delegate.setProperty(l,u,m)}listen(l,u,m){if("@"==u.charAt(0)){const x=function kr(_){switch(_){case"body":return document.body;case"document":return document;case"window":return window;default:return _}}(l);let W=u.substr(1),oe="";return"@"!=W.charAt(0)&&([W,oe]=function Ti(_){const l=_.indexOf(".");return[_.substring(0,l),_.substr(l+1)]}(W)),this.engine.listen(this.namespaceId,x,W,oe,Ee=>{this.factory.scheduleListenerCallback(Ee._data||-1,m,Ee)})}return this.delegate.listen(l,u,m)}}let Wr=(()=>{class _ extends k{constructor(u,m,x){super(u.body,m,x)}ngOnDestroy(){this.flush()}}return _.\u0275fac=function(u){return new(u||_)(i.\u0275\u0275inject(Wn.DOCUMENT),i.\u0275\u0275inject(_t),i.\u0275\u0275inject(oi))},_.\u0275prov=i.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac}),_})();const eo=new i.InjectionToken("AnimationModuleType"),Nr=[{provide:g._j,useClass:Ei},{provide:oi,useFactory:function qr(){return new Si}},{provide:k,useClass:Wr},{provide:i.RendererFactory2,useFactory:function Rs(_,l,u){return new Jr(_,l,u)},deps:[h.\u0275DomRendererFactory2,k,i.NgZone]}],Lr=[{provide:_t,useFactory:()=>new Dn},{provide:eo,useValue:"BrowserAnimations"},...Nr],Qn=[{provide:_t,useClass:lt},{provide:eo,useValue:"NoopAnimations"},...Nr];let se=(()=>{class _{static withConfig(u){return{ngModule:_,providers:u.disableAnimations?Qn:Lr}}}return _.\u0275fac=function(u){return new(u||_)},_.\u0275mod=i.\u0275\u0275defineNgModule({type:_}),_.\u0275inj=i.\u0275\u0275defineInjector({providers:Lr,imports:[h.BrowserModule]}),_})(),Q=(()=>{class _{}return _.\u0275fac=function(u){return new(u||_)},_.\u0275mod=i.\u0275\u0275defineNgModule({type:_}),_.\u0275inj=i.\u0275\u0275defineInjector({providers:Qn,imports:[h.BrowserModule]}),_})()},2313:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{\u0275getDOM:()=>i.\u0275getDOM,BrowserModule:()=>dt,BrowserTransferStateModule:()=>Ht,By:()=>un,DomSanitizer:()=>ke,EVENT_MANAGER_PLUGINS:()=>N,EventManager:()=>$,HAMMER_GESTURE_CONFIG:()=>L,HAMMER_LOADER:()=>P,HammerGestureConfig:()=>te,HammerModule:()=>j,Meta:()=>B,Title:()=>ae,TransferState:()=>vt,VERSION:()=>jt,disableDebugTools:()=>St,enableDebugTools:()=>Lt,makeStateKey:()=>Jt,platformBrowser:()=>ht,\u0275BrowserDomAdapter:()=>d,\u0275BrowserGetTestability:()=>M,\u0275DomEventsPlugin:()=>He,\u0275DomRendererFactory2:()=>pe,\u0275DomSanitizerImpl:()=>Bt,\u0275DomSharedStylesHost:()=>ce,\u0275HammerGesturesPlugin:()=>E,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>mt,\u0275KeyEventsPlugin:()=>he,\u0275NAMESPACE_URIS:()=>me,\u0275SharedStylesHost:()=>K,\u0275TRANSITION_ID:()=>S,\u0275escapeHtml:()=>ln,\u0275flattenStyles:()=>ue,\u0275initDomAdapter:()=>Fe,\u0275shimContentAttribute:()=>ot,\u0275shimHostAttribute:()=>Ve});var i=c(9808),h=c(5e3);class g extends i.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class d extends g{static makeCurrent(){(0,i.\u0275setRootDomAdapter)(new d)}onAndCancel($e,le,je){return $e.addEventListener(le,je,!1),()=>{$e.removeEventListener(le,je,!1)}}dispatchEvent($e,le){$e.dispatchEvent(le)}remove($e){$e.parentNode&&$e.parentNode.removeChild($e)}createElement($e,le){return(le=le||this.getDefaultDocument()).createElement($e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode($e){return $e.nodeType===Node.ELEMENT_NODE}isShadowRoot($e){return $e instanceof DocumentFragment}getGlobalEventTarget($e,le){return"window"===le?window:"document"===le?$e:"body"===le?$e.body:null}getBaseHref($e){const le=function v(){return s=s||document.querySelector("base"),s?s.getAttribute("href"):null}();return null==le?null:function T(Ne){D=D||document.createElement("a"),D.setAttribute("href",Ne);const $e=D.pathname;return"/"===$e.charAt(0)?$e:`/${$e}`}(le)}resetBaseElement(){s=null}getUserAgent(){return window.navigator.userAgent}getCookie($e){return(0,i.\u0275parseCookieValue)(document.cookie,$e)}}let D,s=null;const S=new h.InjectionToken("TRANSITION_ID"),A=[{provide:h.APP_INITIALIZER,useFactory:function p(Ne,$e,le){return()=>{le.get(h.ApplicationInitStatus).donePromise.then(()=>{const je=(0,i.\u0275getDOM)(),ct=$e.querySelectorAll(`style[ng-transition="${Ne}"]`);for(let kt=0;kt<ct.length;kt++)je.remove(ct[kt])})}},deps:[S,i.DOCUMENT,h.Injector],multi:!0}];class M{static init(){(0,h.setTestabilityGetter)(new M)}addToWindow($e){h.\u0275global.getAngularTestability=(je,ct=!0)=>{const kt=$e.findTestabilityInTree(je,ct);if(null==kt)throw new Error("Could not find testability for element.");return kt},h.\u0275global.getAllAngularTestabilities=()=>$e.getAllTestabilities(),h.\u0275global.getAllAngularRootElements=()=>$e.getAllRootElements(),h.\u0275global.frameworkStabilizers||(h.\u0275global.frameworkStabilizers=[]),h.\u0275global.frameworkStabilizers.push(je=>{const ct=h.\u0275global.getAllAngularTestabilities();let kt=ct.length,At=!1;const Xt=function(mn){At=At||mn,kt--,0==kt&&je(At)};ct.forEach(function(mn){mn.whenStable(Xt)})})}findTestabilityInTree($e,le,je){if(null==le)return null;const ct=$e.getTestability(le);return null!=ct?ct:je?(0,i.\u0275getDOM)().isShadowRoot(le)?this.findTestabilityInTree($e,le.host,!0):this.findTestabilityInTree($e,le.parentElement,!0):null}}let C=(()=>{class Ne{build(){return new XMLHttpRequest}}return Ne.\u0275fac=function(le){return new(le||Ne)},Ne.\u0275prov=h.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})();const N=new h.InjectionToken("EventManagerPlugins");let $=(()=>{class Ne{constructor(le,je){this._zone=je,this._eventNameToPlugin=new Map,le.forEach(ct=>ct.manager=this),this._plugins=le.slice().reverse()}addEventListener(le,je,ct){return this._findPluginFor(je).addEventListener(le,je,ct)}addGlobalEventListener(le,je,ct){return this._findPluginFor(je).addGlobalEventListener(le,je,ct)}getZone(){return this._zone}_findPluginFor(le){const je=this._eventNameToPlugin.get(le);if(je)return je;const ct=this._plugins;for(let kt=0;kt<ct.length;kt++){const At=ct[kt];if(At.supports(le))return this._eventNameToPlugin.set(le,At),At}throw new Error(`No event manager plugin found for event ${le}`)}}return Ne.\u0275fac=function(le){return new(le||Ne)(h.\u0275\u0275inject(N),h.\u0275\u0275inject(h.NgZone))},Ne.\u0275prov=h.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})();class de{constructor($e){this._doc=$e}addGlobalEventListener($e,le,je){const ct=(0,i.\u0275getDOM)().getGlobalEventTarget(this._doc,$e);if(!ct)throw new Error(`Unsupported event target ${ct} for event ${le}`);return this.addEventListener(ct,le,je)}}let K=(()=>{class Ne{constructor(){this._stylesSet=new Set}addStyles(le){const je=new Set;le.forEach(ct=>{this._stylesSet.has(ct)||(this._stylesSet.add(ct),je.add(ct))}),this.onStylesAdded(je)}onStylesAdded(le){}getAllStyles(){return Array.from(this._stylesSet)}}return Ne.\u0275fac=function(le){return new(le||Ne)},Ne.\u0275prov=h.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})(),ce=(()=>{class Ne extends K{constructor(le){super(),this._doc=le,this._hostNodes=new Map,this._hostNodes.set(le.head,[])}_addStylesToHost(le,je,ct){le.forEach(kt=>{const At=this._doc.createElement("style");At.textContent=kt,ct.push(je.appendChild(At))})}addHost(le){const je=[];this._addStylesToHost(this._stylesSet,le,je),this._hostNodes.set(le,je)}removeHost(le){const je=this._hostNodes.get(le);je&&je.forEach(Oe),this._hostNodes.delete(le)}onStylesAdded(le){this._hostNodes.forEach((je,ct)=>{this._addStylesToHost(le,ct,je)})}ngOnDestroy(){this._hostNodes.forEach(le=>le.forEach(Oe))}}return Ne.\u0275fac=function(le){return new(le||Ne)(h.\u0275\u0275inject(i.DOCUMENT))},Ne.\u0275prov=h.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})();function Oe(Ne){(0,i.\u0275getDOM)().remove(Ne)}const me={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},ye=/%COMP%/g;function ot(Ne){return"_ngcontent-%COMP%".replace(ye,Ne)}function Ve(Ne){return"_nghost-%COMP%".replace(ye,Ne)}function ue(Ne,$e,le){for(let je=0;je<$e.length;je++){let ct=$e[je];Array.isArray(ct)?ue(Ne,ct,le):(ct=ct.replace(ye,Ne),le.push(ct))}return le}function Ie(Ne){return $e=>{if("__ngUnwrap__"===$e)return Ne;!1===Ne($e)&&($e.preventDefault(),$e.returnValue=!1)}}let pe=(()=>{class Ne{constructor(le,je,ct){this.eventManager=le,this.sharedStylesHost=je,this.appId=ct,this.rendererByCompId=new Map,this.defaultRenderer=new ee(le)}createRenderer(le,je){if(!le||!je)return this.defaultRenderer;switch(je.encapsulation){case h.ViewEncapsulation.Emulated:{let ct=this.rendererByCompId.get(je.id);return ct||(ct=new Ze(this.eventManager,this.sharedStylesHost,je,this.appId),this.rendererByCompId.set(je.id,ct)),ct.applyToHost(le),ct}case 1:case h.ViewEncapsulation.ShadowDom:return new ge(this.eventManager,this.sharedStylesHost,le,je);default:if(!this.rendererByCompId.has(je.id)){const ct=ue(je.id,je.styles,[]);this.sharedStylesHost.addStyles(ct),this.rendererByCompId.set(je.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Ne.\u0275fac=function(le){return new(le||Ne)(h.\u0275\u0275inject($),h.\u0275\u0275inject(ce),h.\u0275\u0275inject(h.APP_ID))},Ne.\u0275prov=h.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})();class ee{constructor($e){this.eventManager=$e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement($e,le){return le?document.createElementNS(me[le]||le,$e):document.createElement($e)}createComment($e){return document.createComment($e)}createText($e){return document.createTextNode($e)}appendChild($e,le){$e.appendChild(le)}insertBefore($e,le,je){$e&&$e.insertBefore(le,je)}removeChild($e,le){$e&&$e.removeChild(le)}selectRootElement($e,le){let je="string"==typeof $e?document.querySelector($e):$e;if(!je)throw new Error(`The selector "${$e}" did not match any elements`);return le||(je.textContent=""),je}parentNode($e){return $e.parentNode}nextSibling($e){return $e.nextSibling}setAttribute($e,le,je,ct){if(ct){le=ct+":"+le;const kt=me[ct];kt?$e.setAttributeNS(kt,le,je):$e.setAttribute(le,je)}else $e.setAttribute(le,je)}removeAttribute($e,le,je){if(je){const ct=me[je];ct?$e.removeAttributeNS(ct,le):$e.removeAttribute(`${je}:${le}`)}else $e.removeAttribute(le)}addClass($e,le){$e.classList.add(le)}removeClass($e,le){$e.classList.remove(le)}setStyle($e,le,je,ct){ct&(h.RendererStyleFlags2.DashCase|h.RendererStyleFlags2.Important)?$e.style.setProperty(le,je,ct&h.RendererStyleFlags2.Important?"important":""):$e.style[le]=je}removeStyle($e,le,je){je&h.RendererStyleFlags2.DashCase?$e.style.removeProperty(le):$e.style[le]=""}setProperty($e,le,je){$e[le]=je}setValue($e,le){$e.nodeValue=le}listen($e,le,je){return"string"==typeof $e?this.eventManager.addGlobalEventListener($e,le,Ie(je)):this.eventManager.addEventListener($e,le,Ie(je))}}class Ze extends ee{constructor($e,le,je,ct){super($e),this.component=je;const kt=ue(ct+"-"+je.id,je.styles,[]);le.addStyles(kt),this.contentAttr=ot(ct+"-"+je.id),this.hostAttr=Ve(ct+"-"+je.id)}applyToHost($e){super.setAttribute($e,this.hostAttr,"")}createElement($e,le){const je=super.createElement($e,le);return super.setAttribute(je,this.contentAttr,""),je}}class ge extends ee{constructor($e,le,je,ct){super($e),this.sharedStylesHost=le,this.hostEl=je,this.shadowRoot=je.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const kt=ue(ct.id,ct.styles,[]);for(let At=0;At<kt.length;At++){const Xt=document.createElement("style");Xt.textContent=kt[At],this.shadowRoot.appendChild(Xt)}}nodeOrShadowRoot($e){return $e===this.hostEl?this.shadowRoot:$e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild($e,le){return super.appendChild(this.nodeOrShadowRoot($e),le)}insertBefore($e,le,je){return super.insertBefore(this.nodeOrShadowRoot($e),le,je)}removeChild($e,le){return super.removeChild(this.nodeOrShadowRoot($e),le)}parentNode($e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot($e)))}}let He=(()=>{class Ne extends de{constructor(le){super(le)}supports(le){return!0}addEventListener(le,je,ct){return le.addEventListener(je,ct,!1),()=>this.removeEventListener(le,je,ct)}removeEventListener(le,je,ct){return le.removeEventListener(je,ct)}}return Ne.\u0275fac=function(le){return new(le||Ne)(h.\u0275\u0275inject(i.DOCUMENT))},Ne.\u0275prov=h.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})();const at=["alt","control","meta","shift"],Le={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},qe={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},q={alt:Ne=>Ne.altKey,control:Ne=>Ne.ctrlKey,meta:Ne=>Ne.metaKey,shift:Ne=>Ne.shiftKey};let he=(()=>{class Ne extends de{constructor(le){super(le)}supports(le){return null!=Ne.parseEventName(le)}addEventListener(le,je,ct){const kt=Ne.parseEventName(je),At=Ne.eventCallback(kt.fullKey,ct,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.\u0275getDOM)().onAndCancel(le,kt.domEventName,At))}static parseEventName(le){const je=le.toLowerCase().split("."),ct=je.shift();if(0===je.length||"keydown"!==ct&&"keyup"!==ct)return null;const kt=Ne._normalizeKey(je.pop());let At="";if(at.forEach(mn=>{const On=je.indexOf(mn);On>-1&&(je.splice(On,1),At+=mn+".")}),At+=kt,0!=je.length||0===kt.length)return null;const Xt={};return Xt.domEventName=ct,Xt.fullKey=At,Xt}static getEventFullKey(le){let je="",ct=function we(Ne){let $e=Ne.key;if(null==$e){if($e=Ne.keyIdentifier,null==$e)return"Unidentified";$e.startsWith("U+")&&($e=String.fromCharCode(parseInt($e.substring(2),16)),3===Ne.location&&qe.hasOwnProperty($e)&&($e=qe[$e]))}return Le[$e]||$e}(le);return ct=ct.toLowerCase()," "===ct?ct="space":"."===ct&&(ct="dot"),at.forEach(kt=>{kt!=ct&&q[kt](le)&&(je+=kt+".")}),je+=ct,je}static eventCallback(le,je,ct){return kt=>{Ne.getEventFullKey(kt)===le&&ct.runGuarded(()=>je(kt))}}static _normalizeKey(le){return"esc"===le?"escape":le}}return Ne.\u0275fac=function(le){return new(le||Ne)(h.\u0275\u0275inject(i.DOCUMENT))},Ne.\u0275prov=h.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})();function Fe(){d.makeCurrent(),M.init()}const mt=[{provide:h.PLATFORM_ID,useValue:i.\u0275PLATFORM_BROWSER_ID},{provide:h.PLATFORM_INITIALIZER,useValue:Fe,multi:!0},{provide:i.DOCUMENT,useFactory:function Ge(){return(0,h.\u0275setDocument)(document),document},deps:[]}],ht=(0,h.createPlatformFactory)(h.platformCore,"browser",mt),wt=[{provide:h.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:h.ErrorHandler,useFactory:function be(){return new h.ErrorHandler},deps:[]},{provide:N,useClass:He,multi:!0,deps:[i.DOCUMENT,h.NgZone,h.PLATFORM_ID]},{provide:N,useClass:he,multi:!0,deps:[i.DOCUMENT]},{provide:pe,useClass:pe,deps:[$,ce,h.APP_ID]},{provide:h.RendererFactory2,useExisting:pe},{provide:K,useExisting:ce},{provide:ce,useClass:ce,deps:[i.DOCUMENT]},{provide:h.Testability,useClass:h.Testability,deps:[h.NgZone]},{provide:$,useClass:$,deps:[N,h.NgZone]},{provide:i.XhrFactory,useClass:C,deps:[]}];let dt=(()=>{class Ne{constructor(le){if(le)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(le){return{ngModule:Ne,providers:[{provide:h.APP_ID,useValue:le.appId},{provide:S,useExisting:h.APP_ID},A]}}}return Ne.\u0275fac=function(le){return new(le||Ne)(h.\u0275\u0275inject(Ne,12))},Ne.\u0275mod=h.\u0275\u0275defineNgModule({type:Ne}),Ne.\u0275inj=h.\u0275\u0275defineInjector({providers:wt,imports:[i.CommonModule,h.ApplicationModule]}),Ne})(),B=(()=>{class Ne{constructor(le){this._doc=le,this._dom=(0,i.\u0275getDOM)()}addTag(le,je=!1){return le?this._getOrCreateElement(le,je):null}addTags(le,je=!1){return le?le.reduce((ct,kt)=>(kt&&ct.push(this._getOrCreateElement(kt,je)),ct),[]):[]}getTag(le){return le&&this._doc.querySelector(`meta[${le}]`)||null}getTags(le){if(!le)return[];const je=this._doc.querySelectorAll(`meta[${le}]`);return je?[].slice.call(je):[]}updateTag(le,je){if(!le)return null;je=je||this._parseSelector(le);const ct=this.getTag(je);return ct?this._setMetaElementAttributes(le,ct):this._getOrCreateElement(le,!0)}removeTag(le){this.removeTagElement(this.getTag(le))}removeTagElement(le){le&&this._dom.remove(le)}_getOrCreateElement(le,je=!1){if(!je){const At=this._parseSelector(le),Xt=this.getTags(At).filter(mn=>this._containsAttributes(le,mn))[0];if(void 0!==Xt)return Xt}const ct=this._dom.createElement("meta");return this._setMetaElementAttributes(le,ct),this._doc.getElementsByTagName("head")[0].appendChild(ct),ct}_setMetaElementAttributes(le,je){return Object.keys(le).forEach(ct=>je.setAttribute(this._getMetaKeyMap(ct),le[ct])),je}_parseSelector(le){const je=le.name?"name":"property";return`${je}="${le[je]}"`}_containsAttributes(le,je){return Object.keys(le).every(ct=>je.getAttribute(this._getMetaKeyMap(ct))===le[ct])}_getMetaKeyMap(le){return ie[le]||le}}return Ne.\u0275fac=function(le){return new(le||Ne)(h.\u0275\u0275inject(i.DOCUMENT))},Ne.\u0275prov=h.\u0275\u0275defineInjectable({token:Ne,factory:function(le){let je=null;return je=le?new le:function Ke(){return new B((0,h.\u0275\u0275inject)(i.DOCUMENT))}(),je},providedIn:"root"}),Ne})();const ie={httpEquiv:"http-equiv"};let ae=(()=>{class Ne{constructor(le){this._doc=le}getTitle(){return this._doc.title}setTitle(le){this._doc.title=le||""}}return Ne.\u0275fac=function(le){return new(le||Ne)(h.\u0275\u0275inject(i.DOCUMENT))},Ne.\u0275prov=h.\u0275\u0275defineInjectable({token:Ne,factory:function(le){let je=null;return je=le?new le:function Ae(){return new ae((0,h.\u0275\u0275inject)(i.DOCUMENT))}(),je},providedIn:"root"}),Ne})();function _e(Ne,$e){"undefined"!=typeof COMPILED&&COMPILED||((h.\u0275global.ng=h.\u0275global.ng||{})[Ne]=$e)}const tt="undefined"!=typeof window&&window||{};class et{constructor($e,le){this.msPerTick=$e,this.numTicks=le}}class lt{constructor($e){this.appRef=$e.injector.get(h.ApplicationRef)}timeChangeDetection($e){const le=$e&&$e.record,je="Change Detection",ct=null!=tt.console.profile;le&&ct&&tt.console.profile(je);const kt=_t();let At=0;for(;At<5||_t()-kt<500;)this.appRef.tick(),At++;const Xt=_t();le&&ct&&tt.console.profileEnd(je);const mn=(Xt-kt)/At;return tt.console.log(`ran ${At} change detection cycles`),tt.console.log(`${mn.toFixed(2)} ms per check`),new et(mn,At)}}function _t(){return tt.performance&&tt.performance.now?tt.performance.now():(new Date).getTime()}const Wt="profiler";function Lt(Ne){return _e(Wt,new lt(Ne)),Ne}function St(){_e(Wt,null)}function ln(Ne){const $e={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return Ne.replace(/[&"'<>]/g,le=>$e[le])}function Jt(Ne){return Ne}let vt=(()=>{class Ne{constructor(){this.store={},this.onSerializeCallbacks={}}static init(le){const je=new Ne;return je.store=le,je}get(le,je){return void 0!==this.store[le]?this.store[le]:je}set(le,je){this.store[le]=je}remove(le){delete this.store[le]}hasKey(le){return this.store.hasOwnProperty(le)}onSerialize(le,je){this.onSerializeCallbacks[le]=je}toJson(){for(const le in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(le))try{this.store[le]=this.onSerializeCallbacks[le]()}catch(je){console.warn("Exception in onSerialize callback: ",je)}return JSON.stringify(this.store)}}return Ne.\u0275fac=function(le){return new(le||Ne)},Ne.\u0275prov=h.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})();function Gt(Ne,$e){const le=Ne.getElementById($e+"-state");let je={};if(le&&le.textContent)try{je=JSON.parse(function qt(Ne){const $e={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return Ne.replace(/&[^;]+;/g,le=>$e[le])}(le.textContent))}catch(ct){console.warn("Exception while restoring TransferState for app "+$e,ct)}return vt.init(je)}let Ht=(()=>{class Ne{}return Ne.\u0275fac=function(le){return new(le||Ne)},Ne.\u0275mod=h.\u0275\u0275defineNgModule({type:Ne}),Ne.\u0275inj=h.\u0275\u0275defineInjector({providers:[{provide:vt,useFactory:Gt,deps:[i.DOCUMENT,h.APP_ID]}]}),Ne})();class un{static all(){return()=>!0}static css($e){return le=>null!=le.nativeElement&&function re(Ne,$e){return!!(0,i.\u0275getDOM)().isElementNode(Ne)&&(Ne.matches&&Ne.matches($e)||Ne.msMatchesSelector&&Ne.msMatchesSelector($e)||Ne.webkitMatchesSelector&&Ne.webkitMatchesSelector($e))}(le.nativeElement,$e)}static directive($e){return le=>-1!==le.providerTokens.indexOf($e)}}const Z={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},L=new h.InjectionToken("HammerGestureConfig"),P=new h.InjectionToken("HammerLoader");let te=(()=>{class Ne{constructor(){this.events=[],this.overrides={}}buildHammer(le){const je=new Hammer(le,this.options);je.get("pinch").set({enable:!0}),je.get("rotate").set({enable:!0});for(const ct in this.overrides)je.get(ct).set(this.overrides[ct]);return je}}return Ne.\u0275fac=function(le){return new(le||Ne)},Ne.\u0275prov=h.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})(),E=(()=>{class Ne extends de{constructor(le,je,ct,kt){super(le),this._config=je,this.console=ct,this.loader=kt,this._loaderPromise=null}supports(le){return!(!Z.hasOwnProperty(le.toLowerCase())&&!this.isCustomEvent(le)||!window.Hammer&&!this.loader)}addEventListener(le,je,ct){const kt=this.manager.getZone();if(je=je.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let At=!1,Xt=()=>{At=!0};return this._loaderPromise.then(()=>{window.Hammer?At||(Xt=this.addEventListener(le,je,ct)):Xt=()=>{}}).catch(()=>{Xt=()=>{}}),()=>{Xt()}}return kt.runOutsideAngular(()=>{const At=this._config.buildHammer(le),Xt=function(mn){kt.runGuarded(function(){ct(mn)})};return At.on(je,Xt),()=>{At.off(je,Xt),"function"==typeof At.destroy&&At.destroy()}})}isCustomEvent(le){return this._config.events.indexOf(le)>-1}}return Ne.\u0275fac=function(le){return new(le||Ne)(h.\u0275\u0275inject(i.DOCUMENT),h.\u0275\u0275inject(L),h.\u0275\u0275inject(h.\u0275Console),h.\u0275\u0275inject(P,8))},Ne.\u0275prov=h.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})(),j=(()=>{class Ne{}return Ne.\u0275fac=function(le){return new(le||Ne)},Ne.\u0275mod=h.\u0275\u0275defineNgModule({type:Ne}),Ne.\u0275inj=h.\u0275\u0275defineInjector({providers:[{provide:N,useClass:E,multi:!0,deps:[i.DOCUMENT,L,h.\u0275Console,[new h.Optional,P]]},{provide:L,useClass:te,deps:[]}]}),Ne})(),ke=(()=>{class Ne{}return Ne.\u0275fac=function(le){return new(le||Ne)},Ne.\u0275prov=h.\u0275\u0275defineInjectable({token:Ne,factory:function(le){let je=null;return je=le?new(le||Ne):h.\u0275\u0275inject(Bt),je},providedIn:"root"}),Ne})(),Bt=(()=>{class Ne extends ke{constructor(le){super(),this._doc=le}sanitize(le,je){if(null==je)return null;switch(le){case h.SecurityContext.NONE:return je;case h.SecurityContext.HTML:return(0,h.\u0275allowSanitizationBypassAndThrow)(je,"HTML")?(0,h.\u0275unwrapSafeValue)(je):(0,h.\u0275_sanitizeHtml)(this._doc,String(je)).toString();case h.SecurityContext.STYLE:return(0,h.\u0275allowSanitizationBypassAndThrow)(je,"Style")?(0,h.\u0275unwrapSafeValue)(je):je;case h.SecurityContext.SCRIPT:if((0,h.\u0275allowSanitizationBypassAndThrow)(je,"Script"))return(0,h.\u0275unwrapSafeValue)(je);throw new Error("unsafe value used in a script context");case h.SecurityContext.URL:return(0,h.\u0275getSanitizationBypassType)(je),(0,h.\u0275allowSanitizationBypassAndThrow)(je,"URL")?(0,h.\u0275unwrapSafeValue)(je):(0,h.\u0275_sanitizeUrl)(String(je));case h.SecurityContext.RESOURCE_URL:if((0,h.\u0275allowSanitizationBypassAndThrow)(je,"ResourceURL"))return(0,h.\u0275unwrapSafeValue)(je);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${le} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(le){return(0,h.\u0275bypassSanitizationTrustHtml)(le)}bypassSecurityTrustStyle(le){return(0,h.\u0275bypassSanitizationTrustStyle)(le)}bypassSecurityTrustScript(le){return(0,h.\u0275bypassSanitizationTrustScript)(le)}bypassSecurityTrustUrl(le){return(0,h.\u0275bypassSanitizationTrustUrl)(le)}bypassSecurityTrustResourceUrl(le){return(0,h.\u0275bypassSanitizationTrustResourceUrl)(le)}}return Ne.\u0275fac=function(le){return new(le||Ne)(h.\u0275\u0275inject(i.DOCUMENT))},Ne.\u0275prov=h.\u0275\u0275defineInjectable({token:Ne,factory:function(le){let je=null;return je=le?new le:function it(Ne){return new Bt(Ne.get(i.DOCUMENT))}(h.\u0275\u0275inject(h.Injector)),je},providedIn:"root"}),Ne})();const jt=new h.Version("13.2.5")},107:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{MONACO_PATH:()=>M,MonacoDiffEditorComponent:()=>de,MonacoEditorComponent:()=>$,MonacoEditorLoaderDirective:()=>N,MonacoEditorLoaderService:()=>C,MonacoEditorModule:()=>K});var i=c(5e3),h=c(2722),g=c(9300),d=c(5698),s=c(1135),v=c(6758),D=c(655),T=c(3075);const S=["editor"],p=["diffEditor"],M="MONACO_PATH";let C=(()=>{class ce{constructor(me,ye){this.ngZone=me,this.monacoPathConfig=ye,this.isMonacoLoaded$=new s.X(!1),this._monacoPath="assets/monaco-editor/min/vs",window.monacoEditorAlreadyInitialized?me.run(()=>this.isMonacoLoaded$.next(!0)):(window.monacoEditorAlreadyInitialized=!0,this.monacoPathConfig&&(this.monacoPath=this.monacoPathConfig),this.loadMonaco())}set monacoPath(me){me&&(this._monacoPath=me)}loadMonaco(){const me=()=>{let Re=this._monacoPath;window.amdRequire=window.require;const Qe=!!this.nodeRequire,ot=Re.includes("http");Qe&&(window.require=this.nodeRequire,ot||(Re=window.require("path").resolve(window.__dirname,this._monacoPath))),window.amdRequire.config({paths:{vs:Re}}),window.amdRequire(["vs/editor/editor.main"],()=>{this.ngZone.run(()=>this.isMonacoLoaded$.next(!0))},Ve=>console.error("Error loading monaco-editor: ",Ve))};if(window.amdRequire)return me();window.require&&(this.addElectronFixScripts(),this.nodeRequire=window.require);const ve=document.createElement("script");ve.type="text/javascript",ve.src=`${this._monacoPath}/loader.js`,ve.addEventListener("load",me),document.body.appendChild(ve)}addElectronFixScripts(){const me=document.createElement("script"),ye=document.createTextNode("self.module = undefined;"),X=document.createTextNode("self.process.browser = true;");me.appendChild(ye),me.appendChild(X),document.body.appendChild(me)}}return ce.\u0275fac=function(me){return new(me||ce)(i.\u0275\u0275inject(i.NgZone),i.\u0275\u0275inject(M,8))},ce.\u0275prov=i.\u0275\u0275defineInjectable({token:ce,factory:ce.\u0275fac,providedIn:"root"}),ce})(),N=(()=>{class ce{constructor(me,ye,X){this.templateRef=me,this.viewContainer=ye,this.monacoEditorLoaderService=X,this.isMonacoLoaded$=this.monacoEditorLoaderService.isMonacoLoaded$.asObservable(),this.destroyed$=new v.x}ngOnInit(){this.isMonacoLoaded$.pipe((0,h.R)(this.destroyed$)).subscribe(me=>{if(!me)return this.viewContainer.clear();this.viewContainer.createEmbeddedView(this.templateRef)})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}}return ce.\u0275fac=function(me){return new(me||ce)(i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(C))},ce.\u0275dir=i.\u0275\u0275defineDirective({type:ce,selectors:[["","ngxLoadMonacoEditor",""]]}),ce})(),$=(()=>{class ce{constructor(me){this.monacoLoader=me,this.init=new i.EventEmitter,this.onTouched=()=>{},this.onErrorStatusChange=()=>{},this.propagateChange=()=>{}}get model(){return this.editor&&this.editor.getModel()}get modelMarkers(){return this.model&&monaco.editor.getModelMarkers({resource:this.model.uri})}ngOnInit(){this.monacoLoader.isMonacoLoaded$.pipe((0,g.h)(me=>me),(0,d.q)(1)).subscribe(()=>{this.initEditor()})}ngOnChanges(me){if(this.editor&&me.options&&!me.options.firstChange){const ye=me.options.currentValue,{language:X,theme:ve}=ye,Re=(0,D.__rest)(ye,["language","theme"]),{language:Qe,theme:ot}=me.options.previousValue;Qe!==X&&monaco.editor.setModelLanguage(this.editor.getModel(),this.options&&this.options.language?this.options.language:"text"),ot!==ve&&monaco.editor.setTheme(ve),this.editor.updateOptions(Re)}if(this.editor&&me.uri){const ye=me.uri.currentValue,X=me.uri.previousValue;if(X&&!ye||!X&&ye||ye&&X&&ye.path!==X.path){const ve=this.editor.getValue();let Re;this.modelUriInstance&&this.modelUriInstance.dispose(),ye&&(Re=monaco.editor.getModels().find(Qe=>Qe.uri.path===ye.path)),this.modelUriInstance=Re||monaco.editor.createModel(ve,this.options.language||"text",this.uri),this.editor.setModel(this.modelUriInstance)}}}writeValue(me){this.value=me,this.editor&&me?this.editor.setValue(me):this.editor&&this.editor.setValue("")}registerOnChange(me){this.propagateChange=me}registerOnTouched(me){this.onTouched=me}validate(){return this.parsedError?{monaco:{value:this.parsedError.split("|")}}:null}registerOnValidatorChange(me){this.onErrorStatusChange=me}initEditor(){const me={value:[this.value].join("\n"),language:"text",automaticLayout:!0,scrollBeyondLastLine:!1,theme:"vc"};this.editor=monaco.editor.create(this.editorContent.nativeElement,this.options?Object.assign(Object.assign({},me),this.options):me),this.registerEditorListeners(),this.init.emit(this.editor)}registerEditorListeners(){this.editor.onDidChangeModelContent(()=>{this.propagateChange(this.editor.getValue())}),this.editor.onDidChangeModelDecorations(()=>{const me=this.modelMarkers.map(({message:X})=>X).join("|");this.parsedError!==me&&(this.parsedError=me,this.onErrorStatusChange())}),this.editor.onDidBlurEditorText(()=>{this.onTouched()})}ngOnDestroy(){this.editor&&this.editor.dispose()}}return ce.\u0275fac=function(me){return new(me||ce)(i.\u0275\u0275directiveInject(C))},ce.\u0275cmp=i.\u0275\u0275defineComponent({type:ce,selectors:[["ngx-monaco-editor"]],viewQuery:function(me,ye){if(1&me&&i.\u0275\u0275viewQuery(S,7),2&me){let X;i.\u0275\u0275queryRefresh(X=i.\u0275\u0275loadQuery())&&(ye.editorContent=X.first)}},inputs:{options:"options",uri:"uri"},outputs:{init:"init"},features:[i.\u0275\u0275ProvidersFeature([{provide:T.NG_VALUE_ACCESSOR,useExisting:(0,i.forwardRef)(()=>ce),multi:!0},{provide:T.NG_VALIDATORS,useExisting:(0,i.forwardRef)(()=>ce),multi:!0}]),i.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["editor",""]],template:function(me,ye){1&me&&(i.\u0275\u0275elementStart(0,"div",0,1),i.\u0275\u0275element(2,"div",2,3),i.\u0275\u0275elementEnd())},styles:[".monaco-editor[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0}.editor-container[_ngcontent-%COMP%]{overflow:hidden;position:relative;display:table;width:100%;height:100%;min-width:0}"],changeDetection:0}),ce})(),de=(()=>{class ce{constructor(me){this.monacoLoader=me,this.init=new i.EventEmitter}ngOnInit(){this.container=this.editorContent.nativeElement,this.monacoLoader.isMonacoLoaded$.pipe((0,g.h)(me=>me),(0,d.q)(1)).subscribe(()=>{this.initMonaco()})}ngOnChanges(me){if(this.editor&&(me.code&&!me.code.firstChange||me.modified&&!me.modified.firstChange)){const ye=monaco.editor.createModel(this.modified),X=monaco.editor.createModel(this.original);this.editor.setModel({original:X,modified:ye})}this.editor&&me.options&&!me.options.firstChange&&(me.options.previousValue.theme!==me.options.currentValue.theme&&monaco.editor.setTheme(me.options.currentValue.theme),this.editor.updateOptions(me.options.currentValue))}initMonaco(){let me={readOnly:!0,automaticLayout:!0,theme:"vc"};this.options&&(me=Object.assign({},me,this.options)),this.editor=monaco.editor.createDiffEditor(this.container,me);const ye=monaco.editor.createModel(this.original),X=monaco.editor.createModel(this.modified);this.editor.setModel({original:ye,modified:X}),this.editor.layout(),this.init.emit(this.editor)}ngOnDestroy(){this.editor&&this.editor.dispose()}}return ce.\u0275fac=function(me){return new(me||ce)(i.\u0275\u0275directiveInject(C))},ce.\u0275cmp=i.\u0275\u0275defineComponent({type:ce,selectors:[["ngx-monaco-diff-editor"]],viewQuery:function(me,ye){if(1&me&&i.\u0275\u0275viewQuery(p,7),2&me){let X;i.\u0275\u0275queryRefresh(X=i.\u0275\u0275loadQuery())&&(ye.editorContent=X.first)}},inputs:{original:"original",modified:"modified",options:"options"},outputs:{init:"init"},features:[i.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["diffEditor",""]],template:function(me,ye){1&me&&(i.\u0275\u0275elementStart(0,"div",0,1),i.\u0275\u0275element(2,"div",2,3),i.\u0275\u0275elementEnd())},styles:[".monaco-editor[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0}.editor-container[_ngcontent-%COMP%]{overflow:hidden;position:relative;display:table;width:100%;height:100%;min-width:0}"],changeDetection:0}),ce})(),K=(()=>{class ce{}return ce.\u0275fac=function(me){return new(me||ce)},ce.\u0275mod=i.\u0275\u0275defineNgModule({type:ce}),ce.\u0275inj=i.\u0275\u0275defineInjector({imports:[[]]}),ce})()},1430:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{ANGULAR_SPLIT_DEFAULT_OPTIONS:()=>Re,AngularSplitModule:()=>Ve,SplitAreaDirective:()=>ot,SplitComponent:()=>Qe});var i=c(5e3),h=c(9808),g=c(6758),d=c(9751),s=c(8372);const v=["gutterEls"];function D(ue,Ie){if(1&ue){const H=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",2,3),i.\u0275\u0275listener("keydown",function(ee){i.\u0275\u0275restoreView(H);const xe=i.\u0275\u0275nextContext().index;return i.\u0275\u0275nextContext().startKeyboardDrag(ee,2*xe+1,xe+1)})("mousedown",function(ee){i.\u0275\u0275restoreView(H);const xe=i.\u0275\u0275nextContext().index;return i.\u0275\u0275nextContext().startMouseDrag(ee,2*xe+1,xe+1)})("touchstart",function(ee){i.\u0275\u0275restoreView(H);const xe=i.\u0275\u0275nextContext().index;return i.\u0275\u0275nextContext().startMouseDrag(ee,2*xe+1,xe+1)})("mouseup",function(ee){i.\u0275\u0275restoreView(H);const xe=i.\u0275\u0275nextContext().index;return i.\u0275\u0275nextContext().clickGutter(ee,xe+1)})("touchend",function(ee){i.\u0275\u0275restoreView(H);const xe=i.\u0275\u0275nextContext().index;return i.\u0275\u0275nextContext().clickGutter(ee,xe+1)}),i.\u0275\u0275element(2,"div",4),i.\u0275\u0275elementEnd()}if(2&ue){const H=i.\u0275\u0275nextContext(),pe=H.index,ee=H.$implicit,xe=i.\u0275\u0275nextContext();i.\u0275\u0275styleProp("flex-basis",xe.gutterSize,"px")("order",2*pe+1),i.\u0275\u0275attribute("aria-label",xe.gutterAriaLabel)("aria-orientation",xe.direction)("aria-valuemin",ee.minSize)("aria-valuemax",ee.maxSize)("aria-valuenow",ee.size)("aria-valuetext",xe.getAriaAreaSizeText(ee.size))}}function T(ue,Ie){1&ue&&i.\u0275\u0275template(0,D,3,10,"div",1),2&ue&&i.\u0275\u0275property("ngIf",!1===Ie.last)}const S=["*"];function p(ue){if(void 0!==ue.changedTouches&&ue.changedTouches.length>0)return{x:ue.changedTouches[0].clientX,y:ue.changedTouches[0].clientY};if(void 0!==ue.clientX&&void 0!==ue.clientY)return{x:ue.clientX,y:ue.clientY};if(void 0!==ue.currentTarget){const Ie=ue.currentTarget;return{x:Ie.offsetLeft,y:Ie.offsetTop}}return null}function A(ue,Ie,H){return Math.abs(ue.x-Ie.x)<=H&&Math.abs(ue.y-Ie.y)<=H}function C(ue,Ie){const H=ue.nativeElement.getBoundingClientRect();return"horizontal"===Ie?H.width:H.height}function N(ue){return"boolean"==typeof ue?ue:"false"!==ue}function $(ue,Ie){return null==ue?Ie:(ue=Number(ue),!isNaN(ue)&&ue>=0?ue:Ie)}function de(ue,Ie){if("percent"===ue){const H=Ie.reduce((pe,ee)=>null!==ee?pe+ee:pe,0);return Ie.every(pe=>null!==pe)&&H>99.9&&H<100.1}if("pixel"===ue)return 1===Ie.filter(H=>null===H).length}function K(ue){return null===ue.size?null:!0===ue.component.lockSize?ue.size:null===ue.component.minSize?null:ue.component.minSize>ue.size?ue.size:ue.component.minSize}function ce(ue){return null===ue.size?null:!0===ue.component.lockSize?ue.size:null===ue.component.maxSize?null:ue.component.maxSize<ue.size?ue.size:ue.component.maxSize}function Oe(ue,Ie,H,pe){return Ie.reduce((ee,xe)=>{const fe=function me(ue,Ie,H,pe){return 0===H?{areaSnapshot:Ie,pixelAbsorb:0,percentAfterAbsorption:Ie.sizePercentAtStart,pixelRemain:0}:0===Ie.sizePixelAtStart&&H<0?{areaSnapshot:Ie,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:H}:"percent"===ue?function ye(ue,Ie,H){const ee=(ue.sizePixelAtStart+Ie)/H*100;if(Ie>0){if(null!==ue.area.maxSize&&ee>ue.area.maxSize){const xe=ue.area.maxSize/100*H;return{areaSnapshot:ue,pixelAbsorb:xe,percentAfterAbsorption:ue.area.maxSize,pixelRemain:ue.sizePixelAtStart+Ie-xe}}return{areaSnapshot:ue,pixelAbsorb:Ie,percentAfterAbsorption:ee>100?100:ee,pixelRemain:0}}if(Ie<0){if(null!==ue.area.minSize&&ee<ue.area.minSize){const xe=ue.area.minSize/100*H;return{areaSnapshot:ue,pixelAbsorb:xe,percentAfterAbsorption:ue.area.minSize,pixelRemain:ue.sizePixelAtStart+Ie-xe}}return ee<0?{areaSnapshot:ue,pixelAbsorb:-ue.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:Ie+ue.sizePixelAtStart}:{areaSnapshot:ue,pixelAbsorb:Ie,percentAfterAbsorption:ee,pixelRemain:0}}}(Ie,H,pe):"pixel"===ue?function X(ue,Ie,H){const pe=ue.sizePixelAtStart+Ie;return Ie>0?null!==ue.area.maxSize&&pe>ue.area.maxSize?{areaSnapshot:ue,pixelAbsorb:ue.area.maxSize-ue.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:pe-ue.area.maxSize}:{areaSnapshot:ue,pixelAbsorb:Ie,percentAfterAbsorption:-1,pixelRemain:0}:Ie<0?null!==ue.area.minSize&&pe<ue.area.minSize?{areaSnapshot:ue,pixelAbsorb:ue.area.minSize+Ie-pe,percentAfterAbsorption:-1,pixelRemain:pe-ue.area.minSize}:pe<0?{areaSnapshot:ue,pixelAbsorb:-ue.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:Ie+ue.sizePixelAtStart}:{areaSnapshot:ue,pixelAbsorb:Ie,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(Ie,H):void 0}(ue,xe,ee.remain,pe);return ee.list.push(fe),ee.remain=fe.pixelRemain,ee},{remain:H,list:[]})}function ve(ue,Ie){"percent"===ue?Ie.areaSnapshot.area.size=Ie.percentAfterAbsorption:"pixel"===ue&&null!==Ie.areaSnapshot.area.size&&(Ie.areaSnapshot.area.size=Ie.areaSnapshot.sizePixelAtStart+Ie.pixelAbsorb)}const Re=new i.InjectionToken("angular-split-global-config");let Qe=(()=>{class ue{constructor(H,pe,ee,xe,fe){this.ngZone=H,this.elRef=pe,this.cdRef=ee,this.renderer=xe,this.gutterClickDeltaPx=2,this._config={direction:"horizontal",unit:"percent",gutterSize:11,gutterStep:1,restrictMove:!1,useTransition:!1,disabled:!1,dir:"ltr",gutterDblClickDuration:0},this.dragStart=new i.EventEmitter(!1),this.dragEnd=new i.EventEmitter(!1),this.gutterClick=new i.EventEmitter(!1),this.gutterDblClick=new i.EventEmitter(!1),this.dragProgressSubject=new g.x,this.dragProgress$=this.dragProgressSubject.asObservable(),this.isDragging=!1,this.isWaitingClear=!1,this.isWaitingInitialMove=!1,this.dragListeners=[],this.snapshot=null,this.startPoint=null,this.endPoint=null,this.displayedAreas=[],this.hiddenAreas=[],this._clickTimeout=null,this.direction=this._direction,this._config=fe?Object.assign(this._config,fe):this._config,Object.keys(this._config).forEach(Ze=>{this[Ze]=this._config[Ze]})}set direction(H){this._direction="vertical"===H?"vertical":"horizontal",this.renderer.addClass(this.elRef.nativeElement,`as-${this._direction}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("vertical"===this._direction?"horizontal":"vertical")),this.build(!1,!1)}get direction(){return this._direction}set unit(H){this._unit="pixel"===H?"pixel":"percent",this.renderer.addClass(this.elRef.nativeElement,`as-${this._unit}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("pixel"===this._unit?"percent":"pixel")),this.build(!1,!0)}get unit(){return this._unit}set gutterSize(H){this._gutterSize=$(H,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(H){this._gutterStep=$(H,1)}get gutterStep(){return this._gutterStep}set restrictMove(H){this._restrictMove=N(H)}get restrictMove(){return this._restrictMove}set useTransition(H){this._useTransition=N(H),this._useTransition?this.renderer.addClass(this.elRef.nativeElement,"as-transition"):this.renderer.removeClass(this.elRef.nativeElement,"as-transition")}get useTransition(){return this._useTransition}set disabled(H){this._disabled=N(H),this._disabled?this.renderer.addClass(this.elRef.nativeElement,"as-disabled"):this.renderer.removeClass(this.elRef.nativeElement,"as-disabled")}get disabled(){return this._disabled}set dir(H){this._dir="rtl"===H?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(H){this._gutterDblClickDuration=$(H,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new d.y(H=>this.transitionEndSubscriber=H).pipe((0,s.b)(20))}ngAfterViewInit(){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>this.renderer.addClass(this.elRef.nativeElement,"as-init"))})}getNbGutters(){return 0===this.displayedAreas.length?0:this.displayedAreas.length-1}addArea(H){const pe={component:H,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===H.visible?(this.displayedAreas.push(pe),this.build(!0,!0)):this.hiddenAreas.push(pe)}removeArea(H){if(this.displayedAreas.some(pe=>pe.component===H)){const pe=this.displayedAreas.find(ee=>ee.component===H);this.displayedAreas.splice(this.displayedAreas.indexOf(pe),1),this.build(!0,!0)}else if(this.hiddenAreas.some(pe=>pe.component===H)){const pe=this.hiddenAreas.find(ee=>ee.component===H);this.hiddenAreas.splice(this.hiddenAreas.indexOf(pe),1)}}updateArea(H,pe,ee){!0===H.visible&&this.build(pe,ee)}showArea(H){const pe=this.hiddenAreas.find(xe=>xe.component===H);if(void 0===pe)return;const ee=this.hiddenAreas.splice(this.hiddenAreas.indexOf(pe),1);this.displayedAreas.push(...ee),this.build(!0,!0)}hideArea(H){const pe=this.displayedAreas.find(xe=>xe.component===H);if(void 0===pe)return;const ee=this.displayedAreas.splice(this.displayedAreas.indexOf(pe),1);ee.forEach(xe=>{xe.order=0,xe.size=0}),this.hiddenAreas.push(...ee),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(H=>null===H.size?"*":H.size)}setVisibleAreaSizes(H){if(H.length!==this.displayedAreas.length)return!1;const pe=H.map(xe=>$(xe,null));return!1!==de(this.unit,pe)&&(this.displayedAreas.forEach((xe,fe)=>xe.component._size=pe[fe]),this.build(!1,!0),!0)}build(H,pe){if(this.stopDragging(),!0===H&&(this.displayedAreas.every(ee=>null!==ee.component.order)&&this.displayedAreas.sort((ee,xe)=>ee.component.order-xe.component.order),this.displayedAreas.forEach((ee,xe)=>{ee.order=2*xe,ee.component.setStyleOrder(ee.order)})),!0===pe){const ee=de(this.unit,this.displayedAreas.map(xe=>xe.component.size));switch(this.unit){case"percent":{const xe=100/this.displayedAreas.length;this.displayedAreas.forEach(fe=>{fe.size=ee?fe.component.size:xe,fe.minSize=K(fe),fe.maxSize=ce(fe)});break}case"pixel":if(ee)this.displayedAreas.forEach(xe=>{xe.size=xe.component.size,xe.minSize=K(xe),xe.maxSize=ce(xe)});else{const xe=this.displayedAreas.filter(fe=>null===fe.component.size);if(0===xe.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((fe,Ze)=>{fe.size=0===Ze?null:fe.component.size,fe.minSize=0===Ze?null:K(fe),fe.maxSize=0===Ze?null:ce(fe)});else if(xe.length>1){let fe=!1;this.displayedAreas.forEach(Ze=>{null===Ze.component.size?!1===fe?(Ze.size=null,Ze.minSize=null,Ze.maxSize=null,fe=!0):(Ze.size=100,Ze.minSize=null,Ze.maxSize=null):(Ze.size=Ze.component.size,Ze.minSize=K(Ze),Ze.maxSize=ce(Ze))})}}}}this.refreshStyleSizes(),this.cdRef.markForCheck()}refreshStyleSizes(){if("percent"===this.unit)if(1===this.displayedAreas.length)this.displayedAreas[0].component.setStyleFlex(0,0,"100%",!1,!1);else{const H=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(pe=>{pe.component.setStyleFlex(0,0,`calc( ${pe.size}% - ${pe.size/100*H}px )`,null!==pe.minSize&&pe.minSize===pe.size,null!==pe.maxSize&&pe.maxSize===pe.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(H=>{null===H.size?H.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?H.component.setStyleFlex(0,0,"100%",!1,!1):H.component.setStyleFlex(0,0,`${H.size}px`,null!==H.minSize&&H.minSize===H.size,null!==H.maxSize&&H.maxSize===H.size)})}clickGutter(H,pe){const ee=p(H);this.startPoint&&A(this.startPoint,ee,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",pe),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",pe),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag(H,pe,ee){if(!0===this.disabled||!0===this.isWaitingClear)return;const xe=function M(ue,Ie){if("horizontal"===Ie)switch(ue.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===Ie)switch(ue.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}const H=ue.currentTarget,pe="PageUp"===ue.key||"PageDown"===ue.key?500:50;let ee=H.offsetLeft,xe=H.offsetTop;switch(ue.key){case"ArrowLeft":ee-=pe;break;case"ArrowRight":ee+=pe;break;case"ArrowUp":xe-=pe;break;case"ArrowDown":xe+=pe;break;case"PageUp":"vertical"===Ie?xe-=pe:ee+=pe;break;case"PageDown":"vertical"===Ie?xe+=pe:ee-=pe;break;default:return null}return{x:ee,y:xe}}(H,this.direction);null!==xe&&(this.endPoint=xe,this.startPoint=p(H),H.preventDefault(),H.stopPropagation(),this.setupForDragEvent(pe,ee),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag(H,pe,ee){H.preventDefault(),H.stopPropagation(),this.startPoint=p(H),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(pe,ee),this.dragListeners.push(this.renderer.listen("document","mouseup",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchend",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchcancel",this.stopDragging.bind(this))),this.ngZone.runOutsideAngular(()=>{this.dragListeners.push(this.renderer.listen("document","mousemove",this.mouseDragEvent.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchmove",this.mouseDragEvent.bind(this)))}),this.startDragging())}setupForDragEvent(H,pe){this.snapshot={gutterNum:pe,lastSteppedOffset:0,allAreasSizePixel:C(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(ee=>{const xe={area:ee,sizePixelAtStart:C(ee.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?ee.size:-1};ee.order<H?!0===this.restrictMove?this.snapshot.areasBeforeGutter=[xe]:this.snapshot.areasBeforeGutter.unshift(xe):ee.order>H&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[xe]):this.snapshot.areasAfterGutter.push(xe))}),this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((ee,xe)=>ee+xe.sizePercentAtStart,0)}startDragging(){this.displayedAreas.forEach(H=>H.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent(H){H.preventDefault(),H.stopPropagation();const pe=p(H);null!==this._clickTimeout&&!A(this.startPoint,pe,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=p(H),null!==this.endPoint&&this.drag())}drag(){if(this.isWaitingInitialMove){if(this.startPoint.x===this.endPoint.x&&this.startPoint.y===this.endPoint.y)return;this.ngZone.run(()=>{this.isWaitingInitialMove=!1,this.renderer.addClass(this.elRef.nativeElement,"as-dragging"),this.renderer.addClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.notify("start",this.snapshot.gutterNum)})}let H="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&(H=-H);const pe=Math.round(H/this.gutterStep)*this.gutterStep;if(pe===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=pe;let ee=Oe(this.unit,this.snapshot.areasBeforeGutter,-pe,this.snapshot.allAreasSizePixel),xe=Oe(this.unit,this.snapshot.areasAfterGutter,pe,this.snapshot.allAreasSizePixel);if(0!==ee.remain&&0!==xe.remain?Math.abs(ee.remain)===Math.abs(xe.remain)||(Math.abs(ee.remain)>Math.abs(xe.remain)?xe=Oe(this.unit,this.snapshot.areasAfterGutter,pe+ee.remain,this.snapshot.allAreasSizePixel):ee=Oe(this.unit,this.snapshot.areasBeforeGutter,-(pe-xe.remain),this.snapshot.allAreasSizePixel)):0!==ee.remain?xe=Oe(this.unit,this.snapshot.areasAfterGutter,pe+ee.remain,this.snapshot.allAreasSizePixel):0!==xe.remain&&(ee=Oe(this.unit,this.snapshot.areasBeforeGutter,-(pe-xe.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const fe=[...ee.list,...xe.list],Ze=fe.find(ge=>0!==ge.percentAfterAbsorption&&ge.percentAfterAbsorption!==ge.areaSnapshot.area.minSize&&ge.percentAfterAbsorption!==ge.areaSnapshot.area.maxSize);Ze&&(Ze.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-fe.filter(ge=>ge!==Ze).reduce((ge,He)=>ge+He.percentAfterAbsorption,0))}ee.list.forEach(fe=>ve(this.unit,fe)),xe.list.forEach(fe=>ve(this.unit,fe)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(H){if(H&&(H.preventDefault(),H.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(pe=>pe.component.unlockEvents());this.dragListeners.length>0;){const pe=this.dragListeners.pop();pe&&pe()}this.isDragging=!1,!1===this.isWaitingInitialMove&&this.notify("end",this.snapshot.gutterNum),this.renderer.removeClass(this.elRef.nativeElement,"as-dragging"),this.renderer.removeClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.snapshot=null,this.isWaitingClear=!0,this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.startPoint=null,this.endPoint=null,this.isWaitingClear=!1})})}}notify(H,pe){const ee=this.getVisibleAreaSizes();"start"===H?this.dragStart.emit({gutterNum:pe,sizes:ee}):"end"===H?this.dragEnd.emit({gutterNum:pe,sizes:ee}):"click"===H?this.gutterClick.emit({gutterNum:pe,sizes:ee}):"dblclick"===H?this.gutterDblClick.emit({gutterNum:pe,sizes:ee}):"transitionEnd"===H?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(ee)):"progress"===H&&this.dragProgressSubject.next({gutterNum:pe,sizes:ee})}ngOnDestroy(){this.stopDragging()}collapseArea(H,pe,ee){const xe=this.displayedAreas.find(ge=>ge.component===H);if(void 0===xe)return;const fe="right"===ee?1:-1;xe.sizeBeforeCollapse||(xe.sizeBeforeCollapse=xe.size,xe.gutterBeforeCollapse=fe),xe.size=pe;const Ze=this.gutterEls.find(ge=>ge.nativeElement.style.order===`${xe.order+fe}`);Ze&&this.renderer.addClass(Ze.nativeElement,"as-split-gutter-collapsed"),this.updateArea(H,!1,!1)}expandArea(H){const pe=this.displayedAreas.find(xe=>xe.component===H);if(void 0===pe||!pe.sizeBeforeCollapse)return;pe.size=pe.sizeBeforeCollapse,pe.sizeBeforeCollapse=null;const ee=this.gutterEls.find(xe=>xe.nativeElement.style.order===`${pe.order+pe.gutterBeforeCollapse}`);ee&&this.renderer.removeClass(ee.nativeElement,"as-split-gutter-collapsed"),this.updateArea(H,!1,!1)}getAriaAreaSizeText(H){return null===H?null:H.toFixed(0)+" "+this.unit}}return ue.\u0275fac=function(H){return new(H||ue)(i.\u0275\u0275directiveInject(i.NgZone),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.ChangeDetectorRef),i.\u0275\u0275directiveInject(i.Renderer2),i.\u0275\u0275directiveInject(Re,8))},ue.\u0275cmp=i.\u0275\u0275defineComponent({type:ue,selectors:[["as-split"]],viewQuery:function(H,pe){if(1&H&&i.\u0275\u0275viewQuery(v,5),2&H){let ee;i.\u0275\u0275queryRefresh(ee=i.\u0275\u0275loadQuery())&&(pe.gutterEls=ee)}},inputs:{direction:"direction",unit:"unit",gutterSize:"gutterSize",gutterStep:"gutterStep",restrictMove:"restrictMove",useTransition:"useTransition",disabled:"disabled",dir:"dir",gutterDblClickDuration:"gutterDblClickDuration",gutterClickDeltaPx:"gutterClickDeltaPx",gutterAriaLabel:"gutterAriaLabel"},outputs:{transitionEnd:"transitionEnd",dragStart:"dragStart",dragEnd:"dragEnd",gutterClick:"gutterClick",gutterDblClick:"gutterDblClick"},exportAs:["asSplit"],ngContentSelectors:S,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],["role","slider","tabindex","0","class","as-split-gutter",3,"flex-basis","order","keydown","mousedown","touchstart","mouseup","touchend",4,"ngIf"],["role","slider","tabindex","0",1,"as-split-gutter",3,"keydown","mousedown","touchstart","mouseup","touchend"],["gutterEls",""],[1,"as-split-gutter-icon"]],template:function(H,pe){1&H&&(i.\u0275\u0275projectionDef(),i.\u0275\u0275projection(0),i.\u0275\u0275template(1,T,1,1,"ng-template",0)),2&H&&(i.\u0275\u0275advance(1),i.\u0275\u0275property("ngForOf",pe.displayedAreas))},directives:[h.NgForOf,h.NgIf],styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;width:100%;height:100%}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{border:none;flex-grow:0;flex-shrink:0;background-color:#eee;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] > .as-split-gutter.as-split-gutter-collapsed[_ngcontent-%COMP%]{flex-basis:1px!important;pointer-events:none}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{width:100%;height:100%;background-position:center center;background-repeat:no-repeat}[_nghost-%COMP%] >.as-split-area{flex-grow:0;flex-shrink:0;overflow-x:hidden;overflow-y:auto}[_nghost-%COMP%] >.as-split-area.as-hidden{flex:0 1 0px!important;overflow-x:hidden;overflow-y:hidden}.as-horizontal[_nghost-%COMP%]{flex-direction:row}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:row;cursor:col-resize;height:100%}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-horizontal[_nghost-%COMP%] >.as-split-area{height:100%}.as-vertical[_nghost-%COMP%]{flex-direction:column}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:column;cursor:row-resize;width:100%}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.as-vertical[_nghost-%COMP%] >.as-split-area{width:100%}.as-vertical[_nghost-%COMP%] >.as-split-area.as-hidden{max-width:0}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{cursor:default}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url()}.as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) > .as-split-gutter[_ngcontent-%COMP%], .as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) >.as-split-area{transition:flex-basis .3s}"],changeDetection:0}),ue})(),ot=(()=>{class ue{constructor(H,pe,ee,xe){this.ngZone=H,this.elRef=pe,this.renderer=ee,this.split=xe,this._order=null,this._size=null,this._minSize=null,this._maxSize=null,this._lockSize=!1,this._visible=!0,this.lockListeners=[],this.renderer.addClass(this.elRef.nativeElement,"as-split-area")}set order(H){this._order=$(H,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(H){this._size=$(H,null),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(H){this._minSize=$(H,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(H){this._maxSize=$(H,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(H){this._lockSize=N(H),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(H){this._visible=N(H),this._visible?(this.split.showArea(this),this.renderer.removeClass(this.elRef.nativeElement,"as-hidden")):(this.split.hideArea(this),this.renderer.addClass(this.elRef.nativeElement,"as-hidden"))}get visible(){return this._visible}ngOnInit(){this.split.addArea(this),this.ngZone.runOutsideAngular(()=>{this.transitionListener=this.renderer.listen(this.elRef.nativeElement,"transitionend",H=>{"flex-basis"===H.propertyName&&this.split.notify("transitionEnd",-1)})})}setStyleOrder(H){this.renderer.setStyle(this.elRef.nativeElement,"order",H)}setStyleFlex(H,pe,ee,xe,fe){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",H),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",pe),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",ee),!0===xe?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===fe?this.renderer.addClass(this.elRef.nativeElement,"as-max"):this.renderer.removeClass(this.elRef.nativeElement,"as-max")}lockEvents(){this.ngZone.runOutsideAngular(()=>{this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"selectstart",()=>!1)),this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"dragstart",()=>!1))})}unlockEvents(){for(;this.lockListeners.length>0;){const H=this.lockListeners.pop();H&&H()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.split.removeArea(this)}collapse(H=0,pe="right"){this.split.collapseArea(this,H,pe)}expand(){this.split.expandArea(this)}}return ue.\u0275fac=function(H){return new(H||ue)(i.\u0275\u0275directiveInject(i.NgZone),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.Renderer2),i.\u0275\u0275directiveInject(Qe))},ue.\u0275dir=i.\u0275\u0275defineDirective({type:ue,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]}),ue})(),Ve=(()=>{class ue{static forRoot(){return console.warn("AngularSplitModule.forRoot() is deprecated and will be removed in v6"),{ngModule:ue,providers:[]}}static forChild(){return console.warn("AngularSplitModule.forChild() is deprecated and will be removed in v6"),{ngModule:ue,providers:[]}}}return ue.\u0275fac=function(H){return new(H||ue)},ue.\u0275mod=i.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=i.\u0275\u0275defineInjector({imports:[[h.CommonModule]]}),ue})()},2290:(Be,y,c)=>{"use strict";c.r(y),c.d(y,{BasePortalHost:()=>X,ComponentPortal:()=>ye,DefaultGlobalConfig:()=>fe,DefaultNoAnimationsGlobalConfig:()=>at,DefaultNoComponentGlobalConfig:()=>Re,Overlay:()=>pe,OverlayContainer:()=>H,OverlayRef:()=>Ie,TOAST_CONFIG:()=>Qe,Toast:()=>xe,ToastContainerDirective:()=>Oe,ToastContainerModule:()=>me,ToastInjector:()=>Ve,ToastNoAnimation:()=>He,ToastNoAnimationModule:()=>gt,ToastPackage:()=>ve,ToastRef:()=>ot,ToastrComponentlessModule:()=>ge,ToastrModule:()=>Ze,ToastrService:()=>ee});var i=c(5e3),h=c(1777),g=c(6758),d=c(9808),s=c(2313);const v=["toast-component",""];function D(Le,qe){if(1&Le){const q=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"button",5),i.\u0275\u0275listener("click",function(){return i.\u0275\u0275restoreView(q),i.\u0275\u0275nextContext().remove()}),i.\u0275\u0275elementStart(1,"span",6),i.\u0275\u0275text(2,"\xd7"),i.\u0275\u0275elementEnd()()}}function T(Le,qe){if(1&Le&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275text(1),i.\u0275\u0275elementContainerEnd()),2&Le){const q=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1("[",q.duplicatesCount+1,"]")}}function S(Le,qe){if(1&Le&&(i.\u0275\u0275elementStart(0,"div"),i.\u0275\u0275text(1),i.\u0275\u0275template(2,T,2,1,"ng-container",4),i.\u0275\u0275elementEnd()),2&Le){const q=i.\u0275\u0275nextContext();i.\u0275\u0275classMap(q.options.titleClass),i.\u0275\u0275attribute("aria-label",q.title),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",q.title," "),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",q.duplicatesCount)}}function p(Le,qe){if(1&Le&&i.\u0275\u0275element(0,"div",7),2&Le){const q=i.\u0275\u0275nextContext();i.\u0275\u0275classMap(q.options.messageClass),i.\u0275\u0275property("innerHTML",q.message,i.\u0275\u0275sanitizeHtml)}}function A(Le,qe){if(1&Le&&(i.\u0275\u0275elementStart(0,"div",8),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&Le){const q=i.\u0275\u0275nextContext();i.\u0275\u0275classMap(q.options.messageClass),i.\u0275\u0275attribute("aria-label",q.message),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",q.message," ")}}function M(Le,qe){if(1&Le&&(i.\u0275\u0275elementStart(0,"div"),i.\u0275\u0275element(1,"div",9),i.\u0275\u0275elementEnd()),2&Le){const q=i.\u0275\u0275nextContext();i.\u0275\u0275advance(1),i.\u0275\u0275styleProp("width",q.width+"%")}}function C(Le,qe){if(1&Le){const q=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"button",5),i.\u0275\u0275listener("click",function(){return i.\u0275\u0275restoreView(q),i.\u0275\u0275nextContext().remove()}),i.\u0275\u0275elementStart(1,"span",6),i.\u0275\u0275text(2,"\xd7"),i.\u0275\u0275elementEnd()()}}function N(Le,qe){if(1&Le&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275text(1),i.\u0275\u0275elementContainerEnd()),2&Le){const q=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1("[",q.duplicatesCount+1,"]")}}function $(Le,qe){if(1&Le&&(i.\u0275\u0275elementStart(0,"div"),i.\u0275\u0275text(1),i.\u0275\u0275template(2,N,2,1,"ng-container",4),i.\u0275\u0275elementEnd()),2&Le){const q=i.\u0275\u0275nextContext();i.\u0275\u0275classMap(q.options.titleClass),i.\u0275\u0275attribute("aria-label",q.title),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",q.title," "),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",q.duplicatesCount)}}function de(Le,qe){if(1&Le&&i.\u0275\u0275element(0,"div",7),2&Le){const q=i.\u0275\u0275nextContext();i.\u0275\u0275classMap(q.options.messageClass),i.\u0275\u0275property("innerHTML",q.message,i.\u0275\u0275sanitizeHtml)}}function K(Le,qe){if(1&Le&&(i.\u0275\u0275elementStart(0,"div",8),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&Le){const q=i.\u0275\u0275nextContext();i.\u0275\u0275classMap(q.options.messageClass),i.\u0275\u0275attribute("aria-label",q.message),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",q.message," ")}}function ce(Le,qe){if(1&Le&&(i.\u0275\u0275elementStart(0,"div"),i.\u0275\u0275element(1,"div",9),i.\u0275\u0275elementEnd()),2&Le){const q=i.\u0275\u0275nextContext();i.\u0275\u0275advance(1),i.\u0275\u0275styleProp("width",q.width+"%")}}let Oe=(()=>{class Le{constructor(q){this.el=q}getContainerElement(){return this.el.nativeElement}}return Le.\u0275fac=function(q){return new(q||Le)(i.\u0275\u0275directiveInject(i.ElementRef))},Le.\u0275dir=i.\u0275\u0275defineDirective({type:Le,selectors:[["","toastContainer",""]],exportAs:["toastContainer"]}),Le})(),me=(()=>{class Le{}return Le.\u0275fac=function(q){return new(q||Le)},Le.\u0275mod=i.\u0275\u0275defineNgModule({type:Le}),Le.\u0275inj=i.\u0275\u0275defineInjector({}),Le})();class ye{constructor(qe,q){this.component=qe,this.injector=q}attach(qe,q){return this._attachedHost=qe,qe.attach(this,q)}detach(){const qe=this._attachedHost;if(qe)return this._attachedHost=void 0,qe.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(qe){this._attachedHost=qe}}class X{attach(qe,q){return this._attachedPortal=qe,this.attachComponentPortal(qe,q)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(qe){this._disposeFn=qe}}class ve{constructor(qe,q,he,we,Fe,be){this.toastId=qe,this.config=q,this.message=he,this.title=we,this.toastType=Fe,this.toastRef=be,this._onTap=new g.x,this._onAction=new g.x,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(qe){this._onAction.next(qe)}onAction(){return this._onAction.asObservable()}}const Re={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null},Qe=new i.InjectionToken("ToastConfig");class ot{constructor(qe){this._overlayRef=qe,this.duplicatesCount=0,this._afterClosed=new g.x,this._activate=new g.x,this._manualClose=new g.x,this._resetTimeout=new g.x,this._countDuplicate=new g.x}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(qe,q){qe&&this._resetTimeout.next(),q&&this._countDuplicate.next(++this.duplicatesCount)}}class Ve{constructor(qe,q){this._toastPackage=qe,this._parentInjector=q}get(qe,q,he){return qe===ve?this._toastPackage:this._parentInjector.get(qe,q,he)}}class ue extends X{constructor(qe,q,he){super(),this._hostDomElement=qe,this._componentFactoryResolver=q,this._appRef=he}attachComponentPortal(qe,q){const he=this._componentFactoryResolver.resolveComponentFactory(qe.component);let we;return we=he.create(qe.injector),this._appRef.attachView(we.hostView),this.setDisposeFn(()=>{this._appRef.detachView(we.hostView),we.destroy()}),q?this._hostDomElement.insertBefore(this._getComponentRootNode(we),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(we)),we}_getComponentRootNode(qe){return qe.hostView.rootNodes[0]}}class Ie{constructor(qe){this._portalHost=qe}attach(qe,q=!0){return this._portalHost.attach(qe,q)}detach(){return this._portalHost.detach()}}let H=(()=>{class Le{constructor(q){this._document=q}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const q=this._document.createElement("div");q.classList.add("overlay-container"),this._document.body.appendChild(q),this._containerElement=q}}return Le.\u0275fac=function(q){return new(q||Le)(i.\u0275\u0275inject(d.DOCUMENT))},Le.\u0275prov=i.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})(),pe=(()=>{class Le{constructor(q,he,we,Fe){this._overlayContainer=q,this._componentFactoryResolver=he,this._appRef=we,this._document=Fe,this._paneElements=new Map}create(q,he){return this._createOverlayRef(this.getPaneElement(q,he))}getPaneElement(q="",he){return this._paneElements.get(he)||this._paneElements.set(he,{}),this._paneElements.get(he)[q]||(this._paneElements.get(he)[q]=this._createPaneElement(q,he)),this._paneElements.get(he)[q]}_createPaneElement(q,he){const we=this._document.createElement("div");return we.id="toast-container",we.classList.add(q),we.classList.add("toast-container"),he?he.getContainerElement().appendChild(we):this._overlayContainer.getContainerElement().appendChild(we),we}_createPortalHost(q){return new ue(q,this._componentFactoryResolver,this._appRef)}_createOverlayRef(q){return new Ie(this._createPortalHost(q))}}return Le.\u0275fac=function(q){return new(q||Le)(i.\u0275\u0275inject(H),i.\u0275\u0275inject(i.ComponentFactoryResolver),i.\u0275\u0275inject(i.ApplicationRef),i.\u0275\u0275inject(d.DOCUMENT))},Le.\u0275prov=i.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})(),ee=(()=>{class Le{constructor(q,he,we,Fe,be){this.overlay=he,this._injector=we,this.sanitizer=Fe,this.ngZone=be,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},q.default),q.config),q.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},q.default.iconClasses),q.config.iconClasses))}show(q,he,we={},Fe=""){return this._preBuildNotification(Fe,q,he,this.applyConfig(we))}success(q,he,we={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",q,he,this.applyConfig(we))}error(q,he,we={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",q,he,this.applyConfig(we))}info(q,he,we={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",q,he,this.applyConfig(we))}warning(q,he,we={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",q,he,this.applyConfig(we))}clear(q){for(const he of this.toasts)if(void 0!==q){if(he.toastId===q)return void he.toastRef.manualClose()}else he.toastRef.manualClose()}remove(q){const he=this._findToast(q);if(!he||(he.activeToast.toastRef.close(),this.toasts.splice(he.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const we=this.toasts[this.currentlyActive].toastRef;we.isInactive()||(this.currentlyActive=this.currentlyActive+1,we.activate())}return!0}findDuplicate(q="",he="",we,Fe){const{includeTitleDuplicates:be}=this.toastrConfig;for(const Ge of this.toasts){const mt=be&&Ge.title===q;if((!be||mt)&&Ge.message===he)return Ge.toastRef.onDuplicate(we,Fe),Ge}return null}applyConfig(q={}){return Object.assign(Object.assign({},this.toastrConfig),q)}_findToast(q){for(let he=0;he<this.toasts.length;he++)if(this.toasts[he].toastId===q)return{index:he,activeToast:this.toasts[he]};return null}_preBuildNotification(q,he,we,Fe){return Fe.onActivateTick?this.ngZone.run(()=>this._buildNotification(q,he,we,Fe)):this._buildNotification(q,he,we,Fe)}_buildNotification(q,he,we,Fe){if(!Fe.toastComponent)throw new Error("toastComponent required");const be=this.findDuplicate(we,he,this.toastrConfig.resetTimeoutOnDuplicate&&Fe.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&we||he)&&this.toastrConfig.preventDuplicates&&null!==be)return be;this.previousToastMessage=he;let Ge=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(Ge=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const mt=this.overlay.create(Fe.positionClass,this.overlayContainer);this.index=this.index+1;let ht=he;he&&Fe.enableHtml&&(ht=this.sanitizer.sanitize(i.SecurityContext.HTML,he));const wt=new ot(mt),dt=new ve(this.index,Fe,ht,we,q,wt),Ke=new Ve(dt,this._injector),B=new ye(Fe.toastComponent,Ke),ie=mt.attach(B,this.toastrConfig.newestOnTop);wt.componentInstance=ie.instance;const Ae={toastId:this.index,title:we||"",message:he||"",toastRef:wt,onShown:wt.afterActivate(),onHidden:wt.afterClosed(),onTap:dt.onTap(),onAction:dt.onAction(),portal:ie};return Ge||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Ae.toastRef.activate()})),this.toasts.push(Ae),Ae}}return Le.\u0275fac=function(q){return new(q||Le)(i.\u0275\u0275inject(Qe),i.\u0275\u0275inject(pe),i.\u0275\u0275inject(i.Injector),i.\u0275\u0275inject(s.DomSanitizer),i.\u0275\u0275inject(i.NgZone))},Le.\u0275prov=i.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})(),xe=(()=>{class Le{constructor(q,he,we){this.toastrService=q,this.toastPackage=he,this.ngZone=we,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=he.message,this.title=he.title,this.options=he.config,this.originalTimeout=he.config.timeOut,this.toastClasses=`${he.toastType} ${he.config.toastClass}`,this.sub=he.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=he.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=he.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=he.toastRef.countDuplicate().subscribe(Fe=>{this.duplicatesCount=Fe})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const q=(new Date).getTime();this.width=(this.hideTime-q)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign(Object.assign({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign(Object.assign({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(q,he){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(q),he)):this.timeout=setTimeout(()=>q(),he)}outsideInterval(q,he){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(q),he)):this.intervalId=setInterval(()=>q(),he)}runInsideAngular(q){this.ngZone?this.ngZone.run(()=>q()):q()}}return Le.\u0275fac=function(q){return new(q||Le)(i.\u0275\u0275directiveInject(ee),i.\u0275\u0275directiveInject(ve),i.\u0275\u0275directiveInject(i.NgZone))},Le.\u0275cmp=i.\u0275\u0275defineComponent({type:Le,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(q,he){1&q&&i.\u0275\u0275listener("click",function(){return he.tapToast()})("mouseenter",function(){return he.stickAround()})("mouseleave",function(){return he.delayedHideToast()}),2&q&&(i.\u0275\u0275syntheticHostProperty("@flyInOut",he.state),i.\u0275\u0275classMap(he.toastClasses),i.\u0275\u0275styleProp("display",he.displayStyle))},attrs:v,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alertdialog","aria-live","polite",3,"innerHTML"],["role","alertdialog","aria-live","polite"],[1,"toast-progress"]],template:function(q,he){1&q&&(i.\u0275\u0275template(0,D,3,0,"button",0),i.\u0275\u0275template(1,S,3,5,"div",1),i.\u0275\u0275template(2,p,1,3,"div",2),i.\u0275\u0275template(3,A,2,4,"div",3),i.\u0275\u0275template(4,M,2,2,"div",4)),2&q&&(i.\u0275\u0275property("ngIf",he.options.closeButton),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",he.title),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",he.message&&he.options.enableHtml),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",he.message&&!he.options.enableHtml),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",he.options.progressBar))},directives:[d.NgIf],encapsulation:2,data:{animation:[(0,h.X$)("flyInOut",[(0,h.SB)("inactive",(0,h.oB)({opacity:0})),(0,h.SB)("active",(0,h.oB)({opacity:1})),(0,h.SB)("removed",(0,h.oB)({opacity:0})),(0,h.eR)("inactive => active",(0,h.jt)("{{ easeTime }}ms {{ easing }}")),(0,h.eR)("active => removed",(0,h.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),Le})();const fe=Object.assign(Object.assign({},Re),{toastComponent:xe});let Ze=(()=>{class Le{static forRoot(q={}){return{ngModule:Le,providers:[{provide:Qe,useValue:{default:fe,config:q}}]}}}return Le.\u0275fac=function(q){return new(q||Le)},Le.\u0275mod=i.\u0275\u0275defineNgModule({type:Le}),Le.\u0275inj=i.\u0275\u0275defineInjector({imports:[[d.CommonModule]]}),Le})(),ge=(()=>{class Le{static forRoot(q={}){return{ngModule:Ze,providers:[{provide:Qe,useValue:{default:Re,config:q}}]}}}return Le.\u0275fac=function(q){return new(q||Le)},Le.\u0275mod=i.\u0275\u0275defineNgModule({type:Le}),Le.\u0275inj=i.\u0275\u0275defineInjector({imports:[[d.CommonModule]]}),Le})(),He=(()=>{class Le{constructor(q,he,we){this.toastrService=q,this.toastPackage=he,this.appRef=we,this.width=-1,this.toastClasses="",this.state="inactive",this.message=he.message,this.title=he.title,this.options=he.config,this.originalTimeout=he.config.timeOut,this.toastClasses=`${he.toastType} ${he.config.toastClass}`,this.sub=he.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=he.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=he.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=he.toastRef.countDuplicate().subscribe(Fe=>{this.duplicatesCount=Fe})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(!0===this.options.disableTimeOut||"timeOut"===this.options.disableTimeOut)&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const q=(new Date).getTime();this.width=(this.hideTime-q)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}}return Le.\u0275fac=function(q){return new(q||Le)(i.\u0275\u0275directiveInject(ee),i.\u0275\u0275directiveInject(ve),i.\u0275\u0275directiveInject(i.ApplicationRef))},Le.\u0275cmp=i.\u0275\u0275defineComponent({type:Le,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(q,he){1&q&&i.\u0275\u0275listener("click",function(){return he.tapToast()})("mouseenter",function(){return he.stickAround()})("mouseleave",function(){return he.delayedHideToast()}),2&q&&(i.\u0275\u0275classMap(he.toastClasses),i.\u0275\u0275styleProp("display",he.displayStyle))},attrs:v,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alert","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert","aria-live","polite",3,"innerHTML"],["role","alert","aria-live","polite"],[1,"toast-progress"]],template:function(q,he){1&q&&(i.\u0275\u0275template(0,C,3,0,"button",0),i.\u0275\u0275template(1,$,3,5,"div",1),i.\u0275\u0275template(2,de,1,3,"div",2),i.\u0275\u0275template(3,K,2,4,"div",3),i.\u0275\u0275template(4,ce,2,2,"div",4)),2&q&&(i.\u0275\u0275property("ngIf",he.options.closeButton),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",he.title),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",he.message&&he.options.enableHtml),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",he.message&&!he.options.enableHtml),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",he.options.progressBar))},directives:[d.NgIf],encapsulation:2}),Le})();const at=Object.assign(Object.assign({},Re),{toastComponent:He});let gt=(()=>{class Le{static forRoot(q={}){return{ngModule:Le,providers:[{provide:Qe,useValue:{default:at,config:q}}]}}}return Le.\u0275fac=function(q){return new(q||Le)},Le.\u0275mod=i.\u0275\u0275defineNgModule({type:Le}),Le.\u0275inj=i.\u0275\u0275defineInjector({imports:[[d.CommonModule]]}),Le})()},4147:Be=>{"use strict";Be.exports=JSON.parse('{"name":"@sdkgen/playground","version":"2.0.1","description":"","main":"index.js","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/sdkgen/sdkgen.git"},"publishConfig":{"access":"public"},"scripts":{"eslint:fix":"eslint --fix \'src/**/*.{t,j}s\'","eslint:check":"eslint \'src/**/*.{t,j}s\'","ng":"ng","start":"ng serve","build":"ng build","build:stats":"ng build --stats-json","analyze":"webpack-bundle-analyzer dist/stats.json","watch":"ng build --watch --configuration development"},"dependencies":{},"devDependencies":{"@angular-devkit/build-angular":"~13.2.0","@angular/animations":"~13.2.0","@angular/cdk":"~13.2.0","@angular/cli":"~13.2.0","@angular/common":"~13.2.0","@angular/compiler":"~13.2.0","@angular/compiler-cli":"~13.2.0","@angular/core":"~13.2.0","@angular/forms":"~13.2.0","@angular/material":"~13.2.0","@angular/platform-browser":"~13.2.0","@angular/platform-browser-dynamic":"~13.2.0","@angular/router":"~13.2.0","@cubos/eslint-config":"^1.0.553260","@materia-ui/ngx-monaco-editor":"^6.0.0","@sdkgen/browser-runtime":"file:../browser-runtime","@sdkgen/csharp-generator":"file:../csharp-generator","@sdkgen/dart-generator":"file:../dart-generator","@sdkgen/fsharp-generator":"file:../fsharp-generator","@sdkgen/kotlin-generator":"file:../kotlin-generator","@sdkgen/parser":"file:../parser","@sdkgen/swift-generator":"file:../swift-generator","@sdkgen/typescript-generator":"file:../typescript-generator","@types/file-saver":"^2.0.3","@types/node":"^16.0.0","angular-split":"^13.0.0","file-saver":"^2.0.5","json":"^11.0.0","monaco-editor":"^0.32.0","ngx-json-viewer":"^3.0.2","ngx-toastr":"^14.2.1","rxjs":"~7.5.2","tslib":"^2.2.0","typescript":"~4.5.4","webpack-bundle-analyzer":"^4.5.0","zone.js":"~0.11.4"}}')}},Be=>{Be(Be.s=4431)}]);