@fmsim/fmsim 0.0.96 → 0.0.98

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 (973) hide show
  1. package/_index.html +1 -1
  2. package/dist-client/apptools/favorite-tool.d.ts +1 -1
  3. package/dist-client/apptools/favorite-tool.js.map +1 -1
  4. package/dist-client/board-list/board-tile-list.d.ts +1 -1
  5. package/dist-client/board-list/group-bar.d.ts +1 -1
  6. package/dist-client/board-list/group-bar.js.map +1 -1
  7. package/dist-client/bootstrap.js.map +1 -1
  8. package/dist-client/pages/attachment-list-page.d.ts +1 -1
  9. package/dist-client/pages/board-list-page.d.ts +1 -1
  10. package/dist-client/pages/board-list-page.js.map +1 -1
  11. package/dist-client/pages/connection-list-page.d.ts +7 -0
  12. package/dist-client/pages/font-list-page.d.ts +1 -1
  13. package/dist-client/route.js.map +1 -1
  14. package/dist-client/themes/app-theme.css +4 -1
  15. package/dist-client/themes/grist-theme.css +1 -32
  16. package/dist-client/themes/layout-theme.css +92 -0
  17. package/dist-client/tsconfig.tsbuildinfo +1 -1
  18. package/dist-client/viewparts/board-info.d.ts +1 -1
  19. package/dist-client/viewparts/group-info.d.ts +1 -1
  20. package/dist-client/viewparts/group-info.js.map +1 -1
  21. package/dist-client/viewparts/menu-tools.d.ts +1 -1
  22. package/dist-server/service/board-favorite/board-favorite-query.js.map +1 -1
  23. package/dist-server/tsconfig.tsbuildinfo +1 -1
  24. package/package.json +5 -6
  25. package/schema.gql +47 -2
  26. package/schema.graphql +3871 -0
  27. package/views/auth-page.html +1 -1
  28. package/views/public/home.html +1 -1
  29. package/dist-app/assets/favicon.ico +0 -0
  30. package/dist-app/assets/helps/index.md +0 -1
  31. package/dist-app/assets/images/add-user-1.png +0 -0
  32. package/dist-app/assets/images/add-user-2.png +0 -0
  33. package/dist-app/assets/images/add-user-3.png +0 -0
  34. package/dist-app/assets/images/add-user-4.png +0 -0
  35. package/dist-app/assets/images/background-animation.json +0 -1
  36. package/dist-app/assets/images/bg-auth-ui.png +0 -0
  37. package/dist-app/assets/images/create-policy-1.png +0 -0
  38. package/dist-app/assets/images/create-policy-2.png +0 -0
  39. package/dist-app/assets/images/create-policy-3.png +0 -0
  40. package/dist-app/assets/images/create-s3-bucket-1.png +0 -0
  41. package/dist-app/assets/images/create-s3-bucket-2.png +0 -0
  42. package/dist-app/assets/images/hatiolab-logo.png +0 -0
  43. package/dist-app/assets/images/home.png +0 -0
  44. package/dist-app/assets/images/icon-activate.png +0 -0
  45. package/dist-app/assets/images/icon-congratulations.png +0 -0
  46. package/dist-app/assets/images/icon-domain.png +0 -0
  47. package/dist-app/assets/images/icon-profile.png +0 -0
  48. package/dist-app/assets/images/icon-result.png +0 -0
  49. package/dist-app/assets/images/image-api.png +0 -0
  50. package/dist-app/assets/images/invitation.png +0 -0
  51. package/dist-app/assets/images/oracle-procedure-example1.png +0 -0
  52. package/dist-app/assets/images/oracle-procedure-example2.png +0 -0
  53. package/dist-app/assets/images/spinner.png +0 -0
  54. package/dist-app/assets/manifest/apple-1024.png +0 -0
  55. package/dist-app/assets/manifest/apple-120.png +0 -0
  56. package/dist-app/assets/manifest/apple-152.png +0 -0
  57. package/dist-app/assets/manifest/apple-167.png +0 -0
  58. package/dist-app/assets/manifest/apple-180.png +0 -0
  59. package/dist-app/assets/manifest/apple-touch-icon.png +0 -0
  60. package/dist-app/assets/manifest/badge-128x128.png +0 -0
  61. package/dist-app/assets/manifest/chrome-splashscreen-icon-384x384.png +0 -0
  62. package/dist-app/assets/manifest/chrome-touch-icon-192x192.png +0 -0
  63. package/dist-app/assets/manifest/icon-128x128.png +0 -0
  64. package/dist-app/assets/manifest/icon-192x192.png +0 -0
  65. package/dist-app/assets/manifest/icon-512x512.png +0 -0
  66. package/dist-app/assets/manifest/icon-72x72.png +0 -0
  67. package/dist-app/assets/manifest/icon-96x96.png +0 -0
  68. package/dist-app/assets/manifest/image-metaog.png +0 -0
  69. package/dist-app/assets/manifest/maskable_icon.png +0 -0
  70. package/dist-app/assets/manifest/ms-icon-144x144.png +0 -0
  71. package/dist-app/assets/manifest/ms-touch-icon-144x144-precomposed.png +0 -0
  72. package/dist-app/assets/manifest.json +0 -27
  73. package/dist-app/fmsim/08bbd147bbaa98b332db.png +0 -0
  74. package/dist-app/fmsim/1034.js +0 -1
  75. package/dist-app/fmsim/1427.js +0 -2
  76. package/dist-app/fmsim/1427.js.LICENSE.txt +0 -11
  77. package/dist-app/fmsim/1499.js +0 -1
  78. package/dist-app/fmsim/1691.js +0 -1
  79. package/dist-app/fmsim/190b9d948ce6d6a87e94.png +0 -0
  80. package/dist-app/fmsim/1925.js +0 -2
  81. package/dist-app/fmsim/1925.js.LICENSE.txt +0 -3
  82. package/dist-app/fmsim/1950.js +0 -1
  83. package/dist-app/fmsim/199751fb20cf06bf6248.png +0 -0
  84. package/dist-app/fmsim/1d8f2027ab4eef0a1a3d.png +0 -0
  85. package/dist-app/fmsim/1f052a5ecc1bff1f7aac.png +0 -0
  86. package/dist-app/fmsim/1f4e2dcff0657747fad0.png +0 -0
  87. package/dist-app/fmsim/2085.js +0 -1
  88. package/dist-app/fmsim/22cf3c62ad9582d39c28.png +0 -0
  89. package/dist-app/fmsim/248.js +0 -2
  90. package/dist-app/fmsim/248.js.LICENSE.txt +0 -3
  91. package/dist-app/fmsim/2566.js +0 -1
  92. package/dist-app/fmsim/2910d9e7c9a9950674fb.png +0 -0
  93. package/dist-app/fmsim/2955.js +0 -1
  94. package/dist-app/fmsim/2d144601a82af822ac30.png +0 -0
  95. package/dist-app/fmsim/2ecb7af70a2d664dd192.png +0 -0
  96. package/dist-app/fmsim/3011.js +0 -2
  97. package/dist-app/fmsim/3011.js.LICENSE.txt +0 -11
  98. package/dist-app/fmsim/3126.js +0 -1
  99. package/dist-app/fmsim/3127ee8dd683ba59bd7b.png +0 -0
  100. package/dist-app/fmsim/3311.js +0 -1
  101. package/dist-app/fmsim/3456.js +0 -2
  102. package/dist-app/fmsim/3456.js.LICENSE.txt +0 -3
  103. package/dist-app/fmsim/3467.js +0 -1
  104. package/dist-app/fmsim/36d53d3adab59ef73ce6.png +0 -0
  105. package/dist-app/fmsim/371ef62ce5f176c3e868.png +0 -0
  106. package/dist-app/fmsim/4184cd4ea6a8d7349e21.png +0 -0
  107. package/dist-app/fmsim/4218.js +0 -1
  108. package/dist-app/fmsim/4272.js +0 -1
  109. package/dist-app/fmsim/4449.js +0 -1
  110. package/dist-app/fmsim/47f47c3effa9431e079b.png +0 -0
  111. package/dist-app/fmsim/49cbb19946dec4f961b6.png +0 -0
  112. package/dist-app/fmsim/5152.js +0 -2
  113. package/dist-app/fmsim/5152.js.LICENSE.txt +0 -11
  114. package/dist-app/fmsim/521ee682384c1e8872cb.png +0 -0
  115. package/dist-app/fmsim/526ad807daa9d0c4a816.png +0 -0
  116. package/dist-app/fmsim/5277.js +0 -1
  117. package/dist-app/fmsim/556db371e2df3f29cea0.png +0 -0
  118. package/dist-app/fmsim/55772bbc827ad7017d35.png +0 -0
  119. package/dist-app/fmsim/5612.js +0 -1
  120. package/dist-app/fmsim/5e63fb5c3d72a5c3854d.png +0 -0
  121. package/dist-app/fmsim/6173904459676af7bf7f.png +0 -0
  122. package/dist-app/fmsim/6264682326a8907cc922.png +0 -0
  123. package/dist-app/fmsim/629.js +0 -1
  124. package/dist-app/fmsim/635.js +0 -1
  125. package/dist-app/fmsim/6370.js +0 -1
  126. package/dist-app/fmsim/6440.js +0 -2
  127. package/dist-app/fmsim/6440.js.LICENSE.txt +0 -3
  128. package/dist-app/fmsim/6464.js +0 -1
  129. package/dist-app/fmsim/6510.js +0 -1
  130. package/dist-app/fmsim/6616.js +0 -1
  131. package/dist-app/fmsim/6671.js +0 -1
  132. package/dist-app/fmsim/6791e5773eac3f253e24.png +0 -0
  133. package/dist-app/fmsim/68fa02818b287fa99811.png +0 -0
  134. package/dist-app/fmsim/6f4f8fb8ffbca4bd5468.png +0 -0
  135. package/dist-app/fmsim/6fbc47ded1e56a97b6a9.png +0 -0
  136. package/dist-app/fmsim/7486.js +0 -1
  137. package/dist-app/fmsim/7656.js +0 -1
  138. package/dist-app/fmsim/77.js +0 -1
  139. package/dist-app/fmsim/7711.js +0 -1
  140. package/dist-app/fmsim/7a8893ef51203b1d41ba.png +0 -0
  141. package/dist-app/fmsim/7b190c7c66945eb3688e.png +0 -0
  142. package/dist-app/fmsim/7d9596c5140e7290967f.png +0 -0
  143. package/dist-app/fmsim/7f58537685e2155273d9.png +0 -0
  144. package/dist-app/fmsim/803.js +0 -1
  145. package/dist-app/fmsim/8163.js +0 -1
  146. package/dist-app/fmsim/8362.js +0 -2
  147. package/dist-app/fmsim/8362.js.LICENSE.txt +0 -6
  148. package/dist-app/fmsim/8400.js +0 -2
  149. package/dist-app/fmsim/8400.js.LICENSE.txt +0 -237
  150. package/dist-app/fmsim/8459.js +0 -1
  151. package/dist-app/fmsim/846e61d3bc2b926f70d4.png +0 -0
  152. package/dist-app/fmsim/8694.js +0 -1
  153. package/dist-app/fmsim/86e698a0d1f271814dee.png +0 -0
  154. package/dist-app/fmsim/8759.js +0 -1
  155. package/dist-app/fmsim/8855.js +0 -1
  156. package/dist-app/fmsim/8887.js +0 -1
  157. package/dist-app/fmsim/8cf3afd5f21703b894da.png +0 -0
  158. package/dist-app/fmsim/8f04bd1494e66102676e.png +0 -0
  159. package/dist-app/fmsim/8f778f433221cc09f419.png +0 -0
  160. package/dist-app/fmsim/9016.js +0 -1
  161. package/dist-app/fmsim/9117.js +0 -2
  162. package/dist-app/fmsim/9117.js.LICENSE.txt +0 -19
  163. package/dist-app/fmsim/9281.js +0 -2
  164. package/dist-app/fmsim/9281.js.LICENSE.txt +0 -11
  165. package/dist-app/fmsim/9283.js +0 -1
  166. package/dist-app/fmsim/9313.js +0 -2
  167. package/dist-app/fmsim/9313.js.LICENSE.txt +0 -6
  168. package/dist-app/fmsim/9454482d54ddf8bb8f60.png +0 -0
  169. package/dist-app/fmsim/9586.js +0 -1
  170. package/dist-app/fmsim/9a37fc4ab38d626c0319.png +0 -0
  171. package/dist-app/fmsim/9bab3e45720e2b54a003.png +0 -0
  172. package/dist-app/fmsim/9d14a3b8c05bd19fde84.png +0 -0
  173. package/dist-app/fmsim/auth/activate.js +0 -2
  174. package/dist-app/fmsim/auth/activate.js.LICENSE.txt +0 -162
  175. package/dist-app/fmsim/auth/checkin.js +0 -2
  176. package/dist-app/fmsim/auth/checkin.js.LICENSE.txt +0 -83
  177. package/dist-app/fmsim/auth/forgot-password.js +0 -2
  178. package/dist-app/fmsim/auth/forgot-password.js.LICENSE.txt +0 -122
  179. package/dist-app/fmsim/auth/reset-password.js +0 -2
  180. package/dist-app/fmsim/auth/reset-password.js.LICENSE.txt +0 -122
  181. package/dist-app/fmsim/auth/result.js +0 -2
  182. package/dist-app/fmsim/auth/result.js.LICENSE.txt +0 -93
  183. package/dist-app/fmsim/auth/signin.js +0 -2
  184. package/dist-app/fmsim/auth/signin.js.LICENSE.txt +0 -122
  185. package/dist-app/fmsim/auth/signup.js +0 -2
  186. package/dist-app/fmsim/auth/signup.js.LICENSE.txt +0 -116
  187. package/dist-app/fmsim/auth/unlock-user.js +0 -2
  188. package/dist-app/fmsim/auth/unlock-user.js.LICENSE.txt +0 -122
  189. package/dist-app/fmsim/b2ead64c11b134f892e3.png +0 -0
  190. package/dist-app/fmsim/b62c2497caa3978e4cdc.png +0 -0
  191. package/dist-app/fmsim/b640388996621bd3040e.png +0 -0
  192. package/dist-app/fmsim/b945ccf0d06fe5786eae.png +0 -0
  193. package/dist-app/fmsim/ba0056d7477944bf18bc.png +0 -0
  194. package/dist-app/fmsim/bb9a8050007ef9acb945.png +0 -0
  195. package/dist-app/fmsim/c81c6f2c0e82b3796b6e.png +0 -0
  196. package/dist-app/fmsim/ccd36ed4e050b84e523c.png +0 -0
  197. package/dist-app/fmsim/d40282055a8309c96c4c.png +0 -0
  198. package/dist-app/fmsim/d568753f2127e31c2fb7.png +0 -0
  199. package/dist-app/fmsim/d7ed1a0662c6a8dcae67.png +0 -0
  200. package/dist-app/fmsim/d9b6b3243cd4bf2e63a8.png +0 -0
  201. package/dist-app/fmsim/daacdd8ee024ac5b0379.png +0 -0
  202. package/dist-app/fmsim/e111ddfcd79e1f6c72dd.png +0 -0
  203. package/dist-app/fmsim/e3efea6b1e596f2ceda3.png +0 -0
  204. package/dist-app/fmsim/e433275c03dc4c240f48.png +0 -0
  205. package/dist-app/fmsim/ebf31a18b183930773c5.png +0 -0
  206. package/dist-app/fmsim/ed4ff0096ff238659d69.png +0 -0
  207. package/dist-app/fmsim/fd251baa5700266586a0.png +0 -0
  208. package/dist-app/fmsim/fe12850d008bc2190ee7.png +0 -0
  209. package/dist-app/fmsim/ffc4761061d8c08447e3.png +0 -0
  210. package/dist-app/fmsim/headless-scene-components.js +0 -2
  211. package/dist-app/fmsim/headless-scene-components.js.LICENSE.txt +0 -8
  212. package/dist-app/fmsim/main.js +0 -2
  213. package/dist-app/fmsim/main.js.LICENSE.txt +0 -53
  214. package/dist-app/fmsim/modules.js +0 -2
  215. package/dist-app/fmsim/modules.js.LICENSE.txt +0 -3
  216. package/dist-app/fmsim/node_modules/@fontsource/roboto/100-italic.css +0 -69
  217. package/dist-app/fmsim/node_modules/@fontsource/roboto/100.css +0 -69
  218. package/dist-app/fmsim/node_modules/@fontsource/roboto/300-italic.css +0 -69
  219. package/dist-app/fmsim/node_modules/@fontsource/roboto/300.css +0 -69
  220. package/dist-app/fmsim/node_modules/@fontsource/roboto/400-italic.css +0 -69
  221. package/dist-app/fmsim/node_modules/@fontsource/roboto/400.css +0 -69
  222. package/dist-app/fmsim/node_modules/@fontsource/roboto/500-italic.css +0 -69
  223. package/dist-app/fmsim/node_modules/@fontsource/roboto/500.css +0 -69
  224. package/dist-app/fmsim/node_modules/@fontsource/roboto/700-italic.css +0 -69
  225. package/dist-app/fmsim/node_modules/@fontsource/roboto/700.css +0 -69
  226. package/dist-app/fmsim/node_modules/@fontsource/roboto/900-italic.css +0 -69
  227. package/dist-app/fmsim/node_modules/@fontsource/roboto/900.css +0 -69
  228. package/dist-app/fmsim/node_modules/@fontsource/roboto/CHANGELOG.md +0 -2
  229. package/dist-app/fmsim/node_modules/@fontsource/roboto/LICENSE +0 -201
  230. package/dist-app/fmsim/node_modules/@fontsource/roboto/README.md +0 -47
  231. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-100-italic.css +0 -8
  232. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-100.css +0 -8
  233. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-300-italic.css +0 -8
  234. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-300.css +0 -8
  235. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-400-italic.css +0 -8
  236. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-400.css +0 -8
  237. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-500-italic.css +0 -8
  238. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-500.css +0 -8
  239. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-700-italic.css +0 -8
  240. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-700.css +0 -8
  241. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-900-italic.css +0 -8
  242. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-900.css +0 -8
  243. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-ext-100-italic.css +0 -8
  244. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-ext-100.css +0 -8
  245. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-ext-300-italic.css +0 -8
  246. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-ext-300.css +0 -8
  247. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-ext-400-italic.css +0 -8
  248. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-ext-400.css +0 -8
  249. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-ext-500-italic.css +0 -8
  250. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-ext-500.css +0 -8
  251. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-ext-700-italic.css +0 -8
  252. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-ext-700.css +0 -8
  253. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-ext-900-italic.css +0 -8
  254. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-ext-900.css +0 -8
  255. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-ext-italic.css +0 -53
  256. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-ext.css +0 -53
  257. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic-italic.css +0 -53
  258. package/dist-app/fmsim/node_modules/@fontsource/roboto/cyrillic.css +0 -53
  259. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-100-italic.woff +0 -0
  260. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-100-italic.woff2 +0 -0
  261. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-100-normal.woff +0 -0
  262. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-100-normal.woff2 +0 -0
  263. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-300-italic.woff +0 -0
  264. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-300-italic.woff2 +0 -0
  265. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-300-normal.woff +0 -0
  266. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-300-normal.woff2 +0 -0
  267. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-400-italic.woff +0 -0
  268. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-400-italic.woff2 +0 -0
  269. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-400-normal.woff +0 -0
  270. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-400-normal.woff2 +0 -0
  271. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-500-italic.woff +0 -0
  272. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-500-italic.woff2 +0 -0
  273. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-500-normal.woff +0 -0
  274. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-500-normal.woff2 +0 -0
  275. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-700-italic.woff +0 -0
  276. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-700-italic.woff2 +0 -0
  277. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-700-normal.woff +0 -0
  278. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-700-normal.woff2 +0 -0
  279. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-900-italic.woff +0 -0
  280. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-900-italic.woff2 +0 -0
  281. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-900-normal.woff +0 -0
  282. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-900-normal.woff2 +0 -0
  283. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-100-italic.woff +0 -0
  284. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-100-italic.woff2 +0 -0
  285. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-100-normal.woff +0 -0
  286. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-100-normal.woff2 +0 -0
  287. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-300-italic.woff +0 -0
  288. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-300-italic.woff2 +0 -0
  289. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-300-normal.woff +0 -0
  290. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-300-normal.woff2 +0 -0
  291. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-400-italic.woff +0 -0
  292. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-400-italic.woff2 +0 -0
  293. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-400-normal.woff +0 -0
  294. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-400-normal.woff2 +0 -0
  295. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-500-italic.woff +0 -0
  296. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-500-italic.woff2 +0 -0
  297. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-500-normal.woff +0 -0
  298. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-500-normal.woff2 +0 -0
  299. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-700-italic.woff +0 -0
  300. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-700-italic.woff2 +0 -0
  301. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-700-normal.woff +0 -0
  302. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-700-normal.woff2 +0 -0
  303. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-900-italic.woff +0 -0
  304. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-900-italic.woff2 +0 -0
  305. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-900-normal.woff +0 -0
  306. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-cyrillic-ext-900-normal.woff2 +0 -0
  307. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-100-italic.woff +0 -0
  308. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-100-italic.woff2 +0 -0
  309. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-100-normal.woff +0 -0
  310. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-100-normal.woff2 +0 -0
  311. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-300-italic.woff +0 -0
  312. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-300-italic.woff2 +0 -0
  313. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-300-normal.woff +0 -0
  314. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-300-normal.woff2 +0 -0
  315. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-400-italic.woff +0 -0
  316. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-400-italic.woff2 +0 -0
  317. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-400-normal.woff +0 -0
  318. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-400-normal.woff2 +0 -0
  319. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-500-italic.woff +0 -0
  320. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-500-italic.woff2 +0 -0
  321. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-500-normal.woff +0 -0
  322. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-500-normal.woff2 +0 -0
  323. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-700-italic.woff +0 -0
  324. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-700-italic.woff2 +0 -0
  325. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-700-normal.woff +0 -0
  326. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-700-normal.woff2 +0 -0
  327. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-900-italic.woff +0 -0
  328. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-900-italic.woff2 +0 -0
  329. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-900-normal.woff +0 -0
  330. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-900-normal.woff2 +0 -0
  331. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-100-italic.woff +0 -0
  332. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-100-italic.woff2 +0 -0
  333. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-100-normal.woff +0 -0
  334. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-100-normal.woff2 +0 -0
  335. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-300-italic.woff +0 -0
  336. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-300-italic.woff2 +0 -0
  337. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-300-normal.woff +0 -0
  338. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-300-normal.woff2 +0 -0
  339. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-400-italic.woff +0 -0
  340. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-400-italic.woff2 +0 -0
  341. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-400-normal.woff +0 -0
  342. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-400-normal.woff2 +0 -0
  343. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-500-italic.woff +0 -0
  344. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-500-italic.woff2 +0 -0
  345. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-500-normal.woff +0 -0
  346. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-500-normal.woff2 +0 -0
  347. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-700-italic.woff +0 -0
  348. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-700-italic.woff2 +0 -0
  349. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-700-normal.woff +0 -0
  350. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-700-normal.woff2 +0 -0
  351. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-900-italic.woff +0 -0
  352. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-900-italic.woff2 +0 -0
  353. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-900-normal.woff +0 -0
  354. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-greek-ext-900-normal.woff2 +0 -0
  355. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-100-italic.woff +0 -0
  356. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-100-italic.woff2 +0 -0
  357. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-100-normal.woff +0 -0
  358. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-100-normal.woff2 +0 -0
  359. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-300-italic.woff +0 -0
  360. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-300-italic.woff2 +0 -0
  361. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-300-normal.woff +0 -0
  362. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-300-normal.woff2 +0 -0
  363. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-400-italic.woff +0 -0
  364. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-400-italic.woff2 +0 -0
  365. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-400-normal.woff +0 -0
  366. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-400-normal.woff2 +0 -0
  367. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-500-italic.woff +0 -0
  368. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-500-italic.woff2 +0 -0
  369. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-500-normal.woff +0 -0
  370. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-500-normal.woff2 +0 -0
  371. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-700-italic.woff +0 -0
  372. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-700-italic.woff2 +0 -0
  373. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-700-normal.woff +0 -0
  374. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-700-normal.woff2 +0 -0
  375. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-900-italic.woff +0 -0
  376. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-900-italic.woff2 +0 -0
  377. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-900-normal.woff +0 -0
  378. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-900-normal.woff2 +0 -0
  379. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-100-italic.woff +0 -0
  380. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-100-italic.woff2 +0 -0
  381. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-100-normal.woff +0 -0
  382. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-100-normal.woff2 +0 -0
  383. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-300-italic.woff +0 -0
  384. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-300-italic.woff2 +0 -0
  385. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-300-normal.woff +0 -0
  386. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-300-normal.woff2 +0 -0
  387. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-400-italic.woff +0 -0
  388. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-400-italic.woff2 +0 -0
  389. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-400-normal.woff +0 -0
  390. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-400-normal.woff2 +0 -0
  391. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-500-italic.woff +0 -0
  392. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-500-italic.woff2 +0 -0
  393. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-500-normal.woff +0 -0
  394. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-500-normal.woff2 +0 -0
  395. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-700-italic.woff +0 -0
  396. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-700-italic.woff2 +0 -0
  397. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-700-normal.woff +0 -0
  398. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-700-normal.woff2 +0 -0
  399. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-900-italic.woff +0 -0
  400. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-900-italic.woff2 +0 -0
  401. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-900-normal.woff +0 -0
  402. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-latin-ext-900-normal.woff2 +0 -0
  403. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-100-italic.woff +0 -0
  404. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-100-italic.woff2 +0 -0
  405. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-100-normal.woff +0 -0
  406. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-100-normal.woff2 +0 -0
  407. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-300-italic.woff +0 -0
  408. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-300-italic.woff2 +0 -0
  409. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-300-normal.woff +0 -0
  410. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-300-normal.woff2 +0 -0
  411. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-400-italic.woff +0 -0
  412. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-400-italic.woff2 +0 -0
  413. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-400-normal.woff +0 -0
  414. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-400-normal.woff2 +0 -0
  415. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-500-italic.woff +0 -0
  416. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-500-italic.woff2 +0 -0
  417. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-500-normal.woff +0 -0
  418. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-500-normal.woff2 +0 -0
  419. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-700-italic.woff +0 -0
  420. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-700-italic.woff2 +0 -0
  421. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-700-normal.woff +0 -0
  422. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-700-normal.woff2 +0 -0
  423. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-900-italic.woff +0 -0
  424. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-900-italic.woff2 +0 -0
  425. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-900-normal.woff +0 -0
  426. package/dist-app/fmsim/node_modules/@fontsource/roboto/files/roboto-vietnamese-900-normal.woff2 +0 -0
  427. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-100-italic.css +0 -8
  428. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-100.css +0 -8
  429. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-300-italic.css +0 -8
  430. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-300.css +0 -8
  431. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-400-italic.css +0 -8
  432. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-400.css +0 -8
  433. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-500-italic.css +0 -8
  434. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-500.css +0 -8
  435. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-700-italic.css +0 -8
  436. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-700.css +0 -8
  437. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-900-italic.css +0 -8
  438. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-900.css +0 -8
  439. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-ext-100-italic.css +0 -8
  440. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-ext-100.css +0 -8
  441. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-ext-300-italic.css +0 -8
  442. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-ext-300.css +0 -8
  443. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-ext-400-italic.css +0 -8
  444. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-ext-400.css +0 -8
  445. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-ext-500-italic.css +0 -8
  446. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-ext-500.css +0 -8
  447. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-ext-700-italic.css +0 -8
  448. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-ext-700.css +0 -8
  449. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-ext-900-italic.css +0 -8
  450. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-ext-900.css +0 -8
  451. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-ext-italic.css +0 -53
  452. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-ext.css +0 -53
  453. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek-italic.css +0 -53
  454. package/dist-app/fmsim/node_modules/@fontsource/roboto/greek.css +0 -53
  455. package/dist-app/fmsim/node_modules/@fontsource/roboto/index.css +0 -69
  456. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-100-italic.css +0 -8
  457. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-100.css +0 -8
  458. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-300-italic.css +0 -8
  459. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-300.css +0 -8
  460. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-400-italic.css +0 -8
  461. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-400.css +0 -8
  462. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-500-italic.css +0 -8
  463. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-500.css +0 -8
  464. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-700-italic.css +0 -8
  465. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-700.css +0 -8
  466. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-900-italic.css +0 -8
  467. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-900.css +0 -8
  468. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-ext-100-italic.css +0 -8
  469. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-ext-100.css +0 -8
  470. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-ext-300-italic.css +0 -8
  471. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-ext-300.css +0 -8
  472. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-ext-400-italic.css +0 -8
  473. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-ext-400.css +0 -8
  474. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-ext-500-italic.css +0 -8
  475. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-ext-500.css +0 -8
  476. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-ext-700-italic.css +0 -8
  477. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-ext-700.css +0 -8
  478. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-ext-900-italic.css +0 -8
  479. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-ext-900.css +0 -8
  480. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-ext-italic.css +0 -53
  481. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-ext.css +0 -53
  482. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin-italic.css +0 -53
  483. package/dist-app/fmsim/node_modules/@fontsource/roboto/latin.css +0 -53
  484. package/dist-app/fmsim/node_modules/@fontsource/roboto/metadata.json +0 -27
  485. package/dist-app/fmsim/node_modules/@fontsource/roboto/package.json +0 -30
  486. package/dist-app/fmsim/node_modules/@fontsource/roboto/scss/metadata.scss +0 -22
  487. package/dist-app/fmsim/node_modules/@fontsource/roboto/scss/mixins.scss +0 -184
  488. package/dist-app/fmsim/node_modules/@fontsource/roboto/unicode.json +0 -9
  489. package/dist-app/fmsim/node_modules/@fontsource/roboto/vietnamese-100-italic.css +0 -8
  490. package/dist-app/fmsim/node_modules/@fontsource/roboto/vietnamese-100.css +0 -8
  491. package/dist-app/fmsim/node_modules/@fontsource/roboto/vietnamese-300-italic.css +0 -8
  492. package/dist-app/fmsim/node_modules/@fontsource/roboto/vietnamese-300.css +0 -8
  493. package/dist-app/fmsim/node_modules/@fontsource/roboto/vietnamese-400-italic.css +0 -8
  494. package/dist-app/fmsim/node_modules/@fontsource/roboto/vietnamese-400.css +0 -8
  495. package/dist-app/fmsim/node_modules/@fontsource/roboto/vietnamese-500-italic.css +0 -8
  496. package/dist-app/fmsim/node_modules/@fontsource/roboto/vietnamese-500.css +0 -8
  497. package/dist-app/fmsim/node_modules/@fontsource/roboto/vietnamese-700-italic.css +0 -8
  498. package/dist-app/fmsim/node_modules/@fontsource/roboto/vietnamese-700.css +0 -8
  499. package/dist-app/fmsim/node_modules/@fontsource/roboto/vietnamese-900-italic.css +0 -8
  500. package/dist-app/fmsim/node_modules/@fontsource/roboto/vietnamese-900.css +0 -8
  501. package/dist-app/fmsim/node_modules/@fontsource/roboto/vietnamese-italic.css +0 -53
  502. package/dist-app/fmsim/node_modules/@fontsource/roboto/vietnamese.css +0 -53
  503. package/dist-app/fmsim/node_modules/@hatiolab/things-scene/babel.config.js +0 -1
  504. package/dist-app/fmsim/node_modules/@hatiolab/things-scene/package.json +0 -91
  505. package/dist-app/fmsim/node_modules/@hatiolab/things-scene/rollup.config.js +0 -1
  506. package/dist-app/fmsim/node_modules/@hatiolab/things-scene/things-board.js +0 -1
  507. package/dist-app/fmsim/node_modules/@hatiolab/things-scene/things-scene-ie.js +0 -2
  508. package/dist-app/fmsim/node_modules/@hatiolab/things-scene/things-scene-ie.js.LICENSE.txt +0 -3
  509. package/dist-app/fmsim/node_modules/@hatiolab/things-scene/things-scene-min.js +0 -2
  510. package/dist-app/fmsim/node_modules/@hatiolab/things-scene/things-scene-min.js.LICENSE.txt +0 -3
  511. package/dist-app/fmsim/node_modules/@material-design-icons/font/LICENSE +0 -202
  512. package/dist-app/fmsim/node_modules/@material-design-icons/font/README.md +0 -115
  513. package/dist-app/fmsim/node_modules/@material-design-icons/font/_core.scss +0 -47
  514. package/dist-app/fmsim/node_modules/@material-design-icons/font/filled.css +0 -24
  515. package/dist-app/fmsim/node_modules/@material-design-icons/font/filled.scss +0 -3
  516. package/dist-app/fmsim/node_modules/@material-design-icons/font/index.css +0 -124
  517. package/dist-app/fmsim/node_modules/@material-design-icons/font/index.d.ts +0 -2128
  518. package/dist-app/fmsim/node_modules/@material-design-icons/font/index.scss +0 -5
  519. package/dist-app/fmsim/node_modules/@material-design-icons/font/material-icons-outlined.woff2 +0 -0
  520. package/dist-app/fmsim/node_modules/@material-design-icons/font/material-icons-round.woff2 +0 -0
  521. package/dist-app/fmsim/node_modules/@material-design-icons/font/material-icons-sharp.woff2 +0 -0
  522. package/dist-app/fmsim/node_modules/@material-design-icons/font/material-icons-two-tone.woff2 +0 -0
  523. package/dist-app/fmsim/node_modules/@material-design-icons/font/material-icons.woff2 +0 -0
  524. package/dist-app/fmsim/node_modules/@material-design-icons/font/outlined.css +0 -24
  525. package/dist-app/fmsim/node_modules/@material-design-icons/font/outlined.scss +0 -3
  526. package/dist-app/fmsim/node_modules/@material-design-icons/font/package.json +0 -39
  527. package/dist-app/fmsim/node_modules/@material-design-icons/font/round.css +0 -24
  528. package/dist-app/fmsim/node_modules/@material-design-icons/font/round.scss +0 -3
  529. package/dist-app/fmsim/node_modules/@material-design-icons/font/sharp.css +0 -24
  530. package/dist-app/fmsim/node_modules/@material-design-icons/font/sharp.scss +0 -3
  531. package/dist-app/fmsim/node_modules/@material-design-icons/font/two-tone.css +0 -24
  532. package/dist-app/fmsim/node_modules/@material-design-icons/font/two-tone.scss +0 -3
  533. package/dist-app/fmsim/node_modules/@webcomponents/webcomponentsjs/CHANGELOG.md +0 -76
  534. package/dist-app/fmsim/node_modules/@webcomponents/webcomponentsjs/LICENSE.md +0 -19
  535. package/dist-app/fmsim/node_modules/@webcomponents/webcomponentsjs/README.md +0 -259
  536. package/dist-app/fmsim/node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js +0 -2
  537. package/dist-app/fmsim/node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js.LICENSE.txt +0 -9
  538. package/dist-app/fmsim/node_modules/@webcomponents/webcomponentsjs/package.json +0 -51
  539. package/dist-app/fmsim/node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.d.ts +0 -175
  540. package/dist-app/fmsim/node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js +0 -2
  541. package/dist-app/fmsim/node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js.LICENSE.txt +0 -9
  542. package/dist-app/fmsim/node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js.map +0 -1
  543. package/dist-app/fmsim/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js +0 -2
  544. package/dist-app/fmsim/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js.LICENSE.txt +0 -9
  545. package/dist-app/fmsim/node_modules/web-animations-js/web-animations-next.min.js +0 -1
  546. package/dist-app/fmsim/node_modules/web-animations-js/web-animations-next.min.js.map +0 -1
  547. package/dist-app/fmsim/oauth2/oauth2-decision-error-page.js +0 -2
  548. package/dist-app/fmsim/oauth2/oauth2-decision-error-page.js.LICENSE.txt +0 -70
  549. package/dist-app/fmsim/oauth2/oauth2-decision-page.js +0 -2
  550. package/dist-app/fmsim/oauth2/oauth2-decision-page.js.LICENSE.txt +0 -104
  551. package/dist-app/fmsim/profile.js +0 -1
  552. package/dist-app/fmsim/public/home.js +0 -2
  553. package/dist-app/fmsim/public/home.js.LICENSE.txt +0 -81
  554. package/dist-app/fmsim/scene-viewer.js +0 -2
  555. package/dist-app/fmsim/scene-viewer.js.LICENSE.txt +0 -171
  556. package/dist-app/fmsim/theme.css +0 -14
  557. package/dist-app/fmsim/theme.js +0 -0
  558. package/dist-app/helps/about/components.md +0 -3
  559. package/dist-app/helps/about/framework/redirection.md +0 -45
  560. package/dist-app/helps/about/framework/typegraphql.md +0 -74
  561. package/dist-app/helps/about/framework.md +0 -10
  562. package/dist-app/helps/about/modules.md +0 -7
  563. package/dist-app/helps/about/things-factory.en.md +0 -255
  564. package/dist-app/helps/about/things-factory.ko.md +0 -258
  565. package/dist-app/helps/auth/appliance.en.md +0 -22
  566. package/dist-app/helps/auth/appliance.ko.md +0 -40
  567. package/dist-app/helps/auth/application.en.md +0 -33
  568. package/dist-app/helps/auth/images/app-binding.png +0 -0
  569. package/dist-app/helps/auth/images/appliance-generate-key.png +0 -0
  570. package/dist-app/helps/auth/images/appliance-sandbox-auth-1.png +0 -0
  571. package/dist-app/helps/auth/images/appliance-sandbox-auth-2.png +0 -0
  572. package/dist-app/helps/auth/images/appliance-sandbox-auth-3.png +0 -0
  573. package/dist-app/helps/auth/images/application-hub.png +0 -0
  574. package/dist-app/helps/auth/images/authorization-postman.png +0 -0
  575. package/dist-app/helps/auth/images/create-button2.png +0 -0
  576. package/dist-app/helps/auth/images/create-role.png +0 -0
  577. package/dist-app/helps/auth/images/flowchart-appliance-registration.jpg +0 -0
  578. package/dist-app/helps/auth/images/flowchart-role-management.jpg +0 -0
  579. package/dist-app/helps/auth/images/flowchart-user-account.jpg +0 -0
  580. package/dist-app/helps/auth/images/invite-user.png +0 -0
  581. package/dist-app/helps/auth/images/owner-transfer-confirm.png +0 -0
  582. package/dist-app/helps/auth/images/owner-transfer.png +0 -0
  583. package/dist-app/helps/auth/images/postman.png +0 -0
  584. package/dist-app/helps/auth/images/register-appliance-new.png +0 -0
  585. package/dist-app/helps/auth/images/register-appliance.png +0 -0
  586. package/dist-app/helps/auth/images/register-application.png +0 -0
  587. package/dist-app/helps/auth/images/registered-role.png +0 -0
  588. package/dist-app/helps/auth/images/role-list.png +0 -0
  589. package/dist-app/helps/auth/images/role-privilage.png +0 -0
  590. package/dist-app/helps/auth/images/role-privileges.png +0 -0
  591. package/dist-app/helps/auth/images/save-button2.png +0 -0
  592. package/dist-app/helps/auth/images/save-button3.png +0 -0
  593. package/dist-app/helps/auth/images/transfer-owner.png +0 -0
  594. package/dist-app/helps/auth/images/update-roles.png +0 -0
  595. package/dist-app/helps/auth/images/user-delete.png +0 -0
  596. package/dist-app/helps/auth/images/user-error.png +0 -0
  597. package/dist-app/helps/auth/images/user-invite.png +0 -0
  598. package/dist-app/helps/auth/images/user-roles.png +0 -0
  599. package/dist-app/helps/auth/roles.en.md +0 -59
  600. package/dist-app/helps/auth/roles.ko.md +0 -42
  601. package/dist-app/helps/auth/users.en.md +0 -33
  602. package/dist-app/helps/auth/users.ko.md +0 -54
  603. package/dist-app/helps/board-modeller/accessor.ko.md +0 -4
  604. package/dist-app/helps/board-modeller/accessor.md +0 -4
  605. package/dist-app/helps/board-modeller/accessor.zh.md +0 -4
  606. package/dist-app/helps/board-modeller/data-binding.ko.md +0 -100
  607. package/dist-app/helps/board-modeller/data-binding.md +0 -100
  608. package/dist-app/helps/board-modeller/data-binding.zh.md +0 -89
  609. package/dist-app/helps/board-modeller/data-spread.ko.md +0 -59
  610. package/dist-app/helps/board-modeller/data-spread.md +0 -59
  611. package/dist-app/helps/board-modeller/data-spread.zh.md +0 -57
  612. package/dist-app/helps/board-modeller/effects/animation.ko.md +0 -46
  613. package/dist-app/helps/board-modeller/effects/animation.md +0 -47
  614. package/dist-app/helps/board-modeller/effects/animation.zh.md +0 -47
  615. package/dist-app/helps/board-modeller/effects/hover-event.ko.md +0 -55
  616. package/dist-app/helps/board-modeller/effects/hover-event.md +0 -57
  617. package/dist-app/helps/board-modeller/effects/hover-event.zh.md +0 -55
  618. package/dist-app/helps/board-modeller/effects/retention.ko.md +0 -4
  619. package/dist-app/helps/board-modeller/effects/retention.md +0 -4
  620. package/dist-app/helps/board-modeller/effects/retention.zh.md +0 -4
  621. package/dist-app/helps/board-modeller/effects/shadow.ko.md +0 -18
  622. package/dist-app/helps/board-modeller/effects/shadow.md +0 -21
  623. package/dist-app/helps/board-modeller/effects/shadow.zh.md +0 -19
  624. package/dist-app/helps/board-modeller/effects/tap-event.ko.md +0 -88
  625. package/dist-app/helps/board-modeller/effects/tap-event.md +0 -84
  626. package/dist-app/helps/board-modeller/effects/tap-event.zh.md +0 -85
  627. package/dist-app/helps/board-modeller/images/animation-01.gif +0 -0
  628. package/dist-app/helps/board-modeller/images/animation-02.gif +0 -0
  629. package/dist-app/helps/board-modeller/images/animation-03.gif +0 -0
  630. package/dist-app/helps/board-modeller/images/animation-04.gif +0 -0
  631. package/dist-app/helps/board-modeller/images/animation-05.gif +0 -0
  632. package/dist-app/helps/board-modeller/images/animation-06.gif +0 -0
  633. package/dist-app/helps/board-modeller/images/animation-07.gif +0 -0
  634. package/dist-app/helps/board-modeller/images/animation-08.gif +0 -0
  635. package/dist-app/helps/board-modeller/images/animation-09.gif +0 -0
  636. package/dist-app/helps/board-modeller/images/animation-10.gif +0 -0
  637. package/dist-app/helps/board-modeller/images/common-property-text-align-horizontal.png +0 -0
  638. package/dist-app/helps/board-modeller/images/common-property-text-align-vertical.png +0 -0
  639. package/dist-app/helps/board-modeller/images/common-property-text-margin.png +0 -0
  640. package/dist-app/helps/board-modeller/images/component-3D.png +0 -0
  641. package/dist-app/helps/board-modeller/images/component-arrow.png +0 -0
  642. package/dist-app/helps/board-modeller/images/component-chart-gauge.png +0 -0
  643. package/dist-app/helps/board-modeller/images/component-container.png +0 -0
  644. package/dist-app/helps/board-modeller/images/component-datasource.png +0 -0
  645. package/dist-app/helps/board-modeller/images/component-etc.png +0 -0
  646. package/dist-app/helps/board-modeller/images/component-form.png +0 -0
  647. package/dist-app/helps/board-modeller/images/component-gauge.png +0 -0
  648. package/dist-app/helps/board-modeller/images/component-image.png +0 -0
  649. package/dist-app/helps/board-modeller/images/component-iot.png +0 -0
  650. package/dist-app/helps/board-modeller/images/component-line.png +0 -0
  651. package/dist-app/helps/board-modeller/images/component-shape.png +0 -0
  652. package/dist-app/helps/board-modeller/images/component-table.png +0 -0
  653. package/dist-app/helps/board-modeller/images/component-text-media.png +0 -0
  654. package/dist-app/helps/board-modeller/images/component-toolbar.png +0 -0
  655. package/dist-app/helps/board-modeller/images/component-warehouse.png +0 -0
  656. package/dist-app/helps/board-modeller/images/control-toolbar-02.png +0 -0
  657. package/dist-app/helps/board-modeller/images/control-toolbar-03.png +0 -0
  658. package/dist-app/helps/board-modeller/images/control-toolbar-04.png +0 -0
  659. package/dist-app/helps/board-modeller/images/control-toolbar-05.png +0 -0
  660. package/dist-app/helps/board-modeller/images/control-toolbar-06.png +0 -0
  661. package/dist-app/helps/board-modeller/images/control-toolbar-07.png +0 -0
  662. package/dist-app/helps/board-modeller/images/control-toolbar-08.png +0 -0
  663. package/dist-app/helps/board-modeller/images/control-toolbar-09.png +0 -0
  664. package/dist-app/helps/board-modeller/images/control-toolbar-10.png +0 -0
  665. package/dist-app/helps/board-modeller/images/control-toolbar-11.png +0 -0
  666. package/dist-app/helps/board-modeller/images/control-toolbar-12.png +0 -0
  667. package/dist-app/helps/board-modeller/images/control-toolbar-13.png +0 -0
  668. package/dist-app/helps/board-modeller/images/control-toolbar-14.png +0 -0
  669. package/dist-app/helps/board-modeller/images/control-toolbar-15.png +0 -0
  670. package/dist-app/helps/board-modeller/images/control-toolbar-16.png +0 -0
  671. package/dist-app/helps/board-modeller/images/control-toolbar-17.png +0 -0
  672. package/dist-app/helps/board-modeller/images/control-toolbar-18.png +0 -0
  673. package/dist-app/helps/board-modeller/images/control-toolbar-19.png +0 -0
  674. package/dist-app/helps/board-modeller/images/control-toolbar-20.png +0 -0
  675. package/dist-app/helps/board-modeller/images/control-toolbar-21.png +0 -0
  676. package/dist-app/helps/board-modeller/images/control-toolbar-22.png +0 -0
  677. package/dist-app/helps/board-modeller/images/control-toolbar-23.png +0 -0
  678. package/dist-app/helps/board-modeller/images/control-toolbar-24.png +0 -0
  679. package/dist-app/helps/board-modeller/images/control-toolbar-25.png +0 -0
  680. package/dist-app/helps/board-modeller/images/control-toolbar-26.png +0 -0
  681. package/dist-app/helps/board-modeller/images/control-toolbar-27.png +0 -0
  682. package/dist-app/helps/board-modeller/images/control-toolbar-28.png +0 -0
  683. package/dist-app/helps/board-modeller/images/control-toolbar-29.png +0 -0
  684. package/dist-app/helps/board-modeller/images/control-toolbar-30.png +0 -0
  685. package/dist-app/helps/board-modeller/images/control-toolbar-31.png +0 -0
  686. package/dist-app/helps/board-modeller/images/control-toolbar-32.png +0 -0
  687. package/dist-app/helps/board-modeller/images/control-toolbar.png +0 -0
  688. package/dist-app/helps/board-modeller/images/effect-property.png +0 -0
  689. package/dist-app/helps/board-modeller/images/hover-01.png +0 -0
  690. package/dist-app/helps/board-modeller/images/join-type-bevel.png +0 -0
  691. package/dist-app/helps/board-modeller/images/join-type-miter.png +0 -0
  692. package/dist-app/helps/board-modeller/images/join-type-round.png +0 -0
  693. package/dist-app/helps/board-modeller/images/modeler-layout-01.png +0 -0
  694. package/dist-app/helps/board-modeller/images/property-window.png +0 -0
  695. package/dist-app/helps/board-modeller/images/shadow-02.png +0 -0
  696. package/dist-app/helps/board-modeller/images/shadow-03.png +0 -0
  697. package/dist-app/helps/board-modeller/images/shadow-04.png +0 -0
  698. package/dist-app/helps/board-modeller/images/shadow-05.png +0 -0
  699. package/dist-app/helps/board-modeller/images/shape-property.png +0 -0
  700. package/dist-app/helps/board-modeller/images/specific-property.png +0 -0
  701. package/dist-app/helps/board-modeller/images/style-property.png +0 -0
  702. package/dist-app/helps/board-modeller/images/target-property.png +0 -0
  703. package/dist-app/helps/board-modeller/images/variable-property.png +0 -0
  704. package/dist-app/helps/board-modeller/initial-data.ko.md +0 -8
  705. package/dist-app/helps/board-modeller/initial-data.md +0 -8
  706. package/dist-app/helps/board-modeller/initial-data.zh.md +0 -8
  707. package/dist-app/helps/board-modeller/modeller.ko.md +0 -244
  708. package/dist-app/helps/board-modeller/modeller.md +0 -206
  709. package/dist-app/helps/board-modeller/modeller.zh.md +0 -241
  710. package/dist-app/helps/board-modeller/shapes/3dish.ko.md +0 -17
  711. package/dist-app/helps/board-modeller/shapes/3dish.md +0 -17
  712. package/dist-app/helps/board-modeller/shapes/3dish.zh.md +0 -17
  713. package/dist-app/helps/board-modeller/shapes/print-option.ko.md +0 -26
  714. package/dist-app/helps/board-modeller/shapes/print-option.md +0 -26
  715. package/dist-app/helps/board-modeller/shapes/print-option.zh.md +0 -26
  716. package/dist-app/helps/board-modeller/shapes/shapes.ko.md +0 -19
  717. package/dist-app/helps/board-modeller/shapes/shapes.md +0 -21
  718. package/dist-app/helps/board-modeller/shapes/shapes.zh.md +0 -19
  719. package/dist-app/helps/board-modeller/shapes/size.ko.md +0 -8
  720. package/dist-app/helps/board-modeller/shapes/size.md +0 -8
  721. package/dist-app/helps/board-modeller/shapes/size.zh.md +0 -8
  722. package/dist-app/helps/board-modeller/shapes/text-box.ko.md +0 -16
  723. package/dist-app/helps/board-modeller/shapes/text-box.md +0 -16
  724. package/dist-app/helps/board-modeller/shapes/text-box.zh.md +0 -16
  725. package/dist-app/helps/board-modeller/shapes/viewer-option.ko.md +0 -9
  726. package/dist-app/helps/board-modeller/shapes/viewer-option.md +0 -9
  727. package/dist-app/helps/board-modeller/shapes/viewer-option.zh.md +0 -9
  728. package/dist-app/helps/board-modeller/styles/fill-style.ko.md +0 -18
  729. package/dist-app/helps/board-modeller/styles/fill-style.md +0 -18
  730. package/dist-app/helps/board-modeller/styles/fill-style.zh.md +0 -18
  731. package/dist-app/helps/board-modeller/styles/line-style.ko.md +0 -19
  732. package/dist-app/helps/board-modeller/styles/line-style.md +0 -23
  733. package/dist-app/helps/board-modeller/styles/line-style.zh.md +0 -19
  734. package/dist-app/helps/board-modeller/styles/opacity.ko.md +0 -3
  735. package/dist-app/helps/board-modeller/styles/opacity.md +0 -3
  736. package/dist-app/helps/board-modeller/styles/opacity.zh.md +0 -3
  737. package/dist-app/helps/board-modeller/styles/text-style.ko.md +0 -8
  738. package/dist-app/helps/board-modeller/styles/text-style.md +0 -8
  739. package/dist-app/helps/board-modeller/styles/text-style.zh.md +0 -8
  740. package/dist-app/helps/board-service/board-template.md +0 -160
  741. package/dist-app/helps/codelingua/codelingua.md +0 -160
  742. package/dist-app/helps/components/oops-progress.md +0 -73
  743. package/dist-app/helps/contact/contact.md +0 -160
  744. package/dist-app/helps/integration/concept/connection.md +0 -27
  745. package/dist-app/helps/integration/concept/data-accessor.ko.md +0 -11
  746. package/dist-app/helps/integration/concept/data-accessor.md +0 -11
  747. package/dist-app/helps/integration/concept/data-accessor.zh.md +0 -11
  748. package/dist-app/helps/integration/concept/pending-queue.md +0 -32
  749. package/dist-app/helps/integration/concept/scenario-context.md +0 -83
  750. package/dist-app/helps/integration/concept/scenario-engine.md +0 -10
  751. package/dist-app/helps/integration/concept/scenario.md +0 -4
  752. package/dist-app/helps/integration/concept/task.md +0 -25
  753. package/dist-app/helps/integration/concept/template-literal.ja.md +0 -44
  754. package/dist-app/helps/integration/concept/template-literal.ko.md +0 -44
  755. package/dist-app/helps/integration/concept/template-literal.md +0 -44
  756. package/dist-app/helps/integration/concept/template-literal.zh.md +0 -44
  757. package/dist-app/helps/integration/connector/mqtt-connector.md +0 -17
  758. package/dist-app/helps/integration/connector/mssql-connector.md +0 -38
  759. package/dist-app/helps/integration/connector/oracle-connector.md +0 -66
  760. package/dist-app/helps/integration/connector/postgresql-connector.md +0 -34
  761. package/dist-app/helps/integration/connector/sqlite-connector.md +0 -17
  762. package/dist-app/helps/integration/index.md +0 -37
  763. package/dist-app/helps/integration/task/book-up-scenario.md +0 -27
  764. package/dist-app/helps/integration/task/csv-readline.md +0 -10
  765. package/dist-app/helps/integration/task/data-mapper.md +0 -14
  766. package/dist-app/helps/integration/task/empty-check.md +0 -10
  767. package/dist-app/helps/integration/task/end.md +0 -3
  768. package/dist-app/helps/integration/task/floating-point.md +0 -34
  769. package/dist-app/helps/integration/task/goto.md +0 -8
  770. package/dist-app/helps/integration/task/graphql-mutate.md +0 -44
  771. package/dist-app/helps/integration/task/graphql-query.md +0 -44
  772. package/dist-app/helps/integration/task/headless-scrap.md +0 -13
  773. package/dist-app/helps/integration/task/http-get.ja.md +0 -31
  774. package/dist-app/helps/integration/task/http-get.ko.md +0 -28
  775. package/dist-app/helps/integration/task/http-get.md +0 -28
  776. package/dist-app/helps/integration/task/http-get.ms.md +0 -28
  777. package/dist-app/helps/integration/task/http-get.zh.md +0 -28
  778. package/dist-app/helps/integration/task/http-post.ja.md +0 -35
  779. package/dist-app/helps/integration/task/http-post.ko.md +0 -34
  780. package/dist-app/helps/integration/task/http-post.md +0 -35
  781. package/dist-app/helps/integration/task/http-post.ms.md +0 -37
  782. package/dist-app/helps/integration/task/http-post.zh.md +0 -35
  783. package/dist-app/helps/integration/task/local-graphql-mutate.md +0 -44
  784. package/dist-app/helps/integration/task/local-graphql-query.md +0 -44
  785. package/dist-app/helps/integration/task/log.ja.md +0 -11
  786. package/dist-app/helps/integration/task/log.ko.md +0 -16
  787. package/dist-app/helps/integration/task/log.md +0 -15
  788. package/dist-app/helps/integration/task/log.ms.md +0 -15
  789. package/dist-app/helps/integration/task/log.zh.md +0 -11
  790. package/dist-app/helps/integration/task/mqtt-publish.md +0 -10
  791. package/dist-app/helps/integration/task/mqtt-subscribe.md +0 -15
  792. package/dist-app/helps/integration/task/oracle-procedure.ko.md +0 -139
  793. package/dist-app/helps/integration/task/oracle-procedure.md +0 -139
  794. package/dist-app/helps/integration/task/oracle-procedure.ms.md +0 -139
  795. package/dist-app/helps/integration/task/oracle-procedure.zh.md +0 -141
  796. package/dist-app/helps/integration/task/pick-pending-scenario.md +0 -13
  797. package/dist-app/helps/integration/task/publish.md +0 -16
  798. package/dist-app/helps/integration/task/random.md +0 -13
  799. package/dist-app/helps/integration/task/script.md +0 -39
  800. package/dist-app/helps/integration/task/set-domain.md +0 -25
  801. package/dist-app/helps/integration/task/sleep.md +0 -8
  802. package/dist-app/helps/integration/task/throw.md +0 -12
  803. package/dist-app/helps/integration/task/variables.md +0 -37
  804. package/dist-app/helps/integration/ui/connection.md +0 -31
  805. package/dist-app/helps/integration/ui/crontab-editor.md +0 -9
  806. package/dist-app/helps/integration/ui/integration-monitor.md +0 -29
  807. package/dist-app/helps/integration/ui/scenario-detail.md +0 -44
  808. package/dist-app/helps/integration/ui/scenario.md +0 -35
  809. package/dist-app/helps/module/api.md +0 -117
  810. package/dist-app/helps/module/notification-images/config-app-1.png +0 -0
  811. package/dist-app/helps/module/notification-images/config-app-2.png +0 -0
  812. package/dist-app/helps/module/notification-images/config-server-key.png +0 -0
  813. package/dist-app/helps/module/notification-images/config-service-account.png +0 -0
  814. package/dist-app/helps/module/notification-images/config-vapidkey-1.png +0 -0
  815. package/dist-app/helps/module/notification-images/config-vapidkey-2-get-public-key.png +0 -0
  816. package/dist-app/helps/module/notification-images/config-vapidkey-3-get-private-key.png +0 -0
  817. package/dist-app/helps/module/notification-images/element-notification-badge.png +0 -0
  818. package/dist-app/helps/module/notification-images/element-notification-list.png +0 -0
  819. package/dist-app/helps/module/notification-images/element-notification-setting-let.png +0 -0
  820. package/dist-app/helps/module/notification-images/push-test-on-chrome-1.png +0 -0
  821. package/dist-app/helps/module/notification-images/push-test-on-chrome-2.png +0 -0
  822. package/dist-app/helps/module/notification-images/push-test-on-firebase-1.png +0 -0
  823. package/dist-app/helps/module/notification-images/push-test-on-firebase-2.png +0 -0
  824. package/dist-app/helps/module/notification-images/push-test-on-firebase-3.png +0 -0
  825. package/dist-app/helps/module/notification-images/push-test-on-firebase-4.png +0 -0
  826. package/dist-app/helps/module/notification.md +0 -161
  827. package/dist-app/helps/notification/noti-box.md +0 -160
  828. package/dist-app/helps/notification/noti-rule.md +0 -160
  829. package/dist-app/helps/notification/notibox.md +0 -160
  830. package/dist-app/helps/oauth2-client/code-verifier.md +0 -5
  831. package/dist-app/helps/oauth2-client/credentials.md +0 -160
  832. package/dist-app/helps/oauth2-client/grant-type.md +0 -33
  833. package/dist-app/helps/organization/approval-line.md +0 -160
  834. package/dist-app/helps/organization/department.md +0 -160
  835. package/dist-app/helps/organization/employee.md +0 -160
  836. package/dist-app/helps/scene/component/arrow.ko.md +0 -9
  837. package/dist-app/helps/scene/component/arrow.md +0 -9
  838. package/dist-app/helps/scene/component/arrow.zh.md +0 -9
  839. package/dist-app/helps/scene/component/audio.ko.md +0 -1
  840. package/dist-app/helps/scene/component/audio.md +0 -1
  841. package/dist-app/helps/scene/component/audio.zh.md +0 -1
  842. package/dist-app/helps/scene/component/both-arrow.ko.md +0 -9
  843. package/dist-app/helps/scene/component/both-arrow.md +0 -9
  844. package/dist-app/helps/scene/component/both-arrow.zh.md +0 -9
  845. package/dist-app/helps/scene/component/color-image.ko.md +0 -9
  846. package/dist-app/helps/scene/component/color-image.md +0 -9
  847. package/dist-app/helps/scene/component/color-image.zh.md +0 -9
  848. package/dist-app/helps/scene/component/connection-control.ko.md +0 -15
  849. package/dist-app/helps/scene/component/connection-control.md +0 -15
  850. package/dist-app/helps/scene/component/connection-control.zh.md +0 -16
  851. package/dist-app/helps/scene/component/connection-state-subscription.ko.md +0 -17
  852. package/dist-app/helps/scene/component/connection-state-subscription.md +0 -17
  853. package/dist-app/helps/scene/component/connection-state-subscription.zh.md +0 -18
  854. package/dist-app/helps/scene/component/container.ko.md +0 -7
  855. package/dist-app/helps/scene/component/container.md +0 -9
  856. package/dist-app/helps/scene/component/container.zh.md +0 -8
  857. package/dist-app/helps/scene/component/data-subscription.ko.md +0 -10
  858. package/dist-app/helps/scene/component/data-subscription.md +0 -10
  859. package/dist-app/helps/scene/component/data-subscription.zh.md +0 -10
  860. package/dist-app/helps/scene/component/donut.ko.md +0 -14
  861. package/dist-app/helps/scene/component/donut.md +0 -17
  862. package/dist-app/helps/scene/component/donut.zh.md +0 -18
  863. package/dist-app/helps/scene/component/dotted-line.ko.md +0 -7
  864. package/dist-app/helps/scene/component/dotted-line.md +0 -9
  865. package/dist-app/helps/scene/component/dotted-line.zh.md +0 -7
  866. package/dist-app/helps/scene/component/ellipse.ko.md +0 -11
  867. package/dist-app/helps/scene/component/ellipse.md +0 -11
  868. package/dist-app/helps/scene/component/ellipse.zh.md +0 -10
  869. package/dist-app/helps/scene/component/gif-view.ko.md +0 -10
  870. package/dist-app/helps/scene/component/gif-view.md +0 -10
  871. package/dist-app/helps/scene/component/gif-view.zh.md +0 -10
  872. package/dist-app/helps/scene/component/global-ref.ko.md +0 -1
  873. package/dist-app/helps/scene/component/global-ref.md +0 -1
  874. package/dist-app/helps/scene/component/global-ref.zh.md +0 -1
  875. package/dist-app/helps/scene/component/gray-image.ko.md +0 -9
  876. package/dist-app/helps/scene/component/gray-image.md +0 -9
  877. package/dist-app/helps/scene/component/gray-image.zh.md +0 -8
  878. package/dist-app/helps/scene/component/image-view.md +0 -0
  879. package/dist-app/helps/scene/component/info-window.ko.md +0 -1
  880. package/dist-app/helps/scene/component/info-window.md +0 -1
  881. package/dist-app/helps/scene/component/info-window.zh.md +0 -1
  882. package/dist-app/helps/scene/component/line.ko.md +0 -9
  883. package/dist-app/helps/scene/component/line.md +0 -9
  884. package/dist-app/helps/scene/component/line.zh.md +0 -7
  885. package/dist-app/helps/scene/component/local-ref.ko.md +0 -1
  886. package/dist-app/helps/scene/component/local-ref.md +0 -1
  887. package/dist-app/helps/scene/component/local-ref.zh.md +0 -1
  888. package/dist-app/helps/scene/component/marker.ko.md +0 -15
  889. package/dist-app/helps/scene/component/marker.md +0 -15
  890. package/dist-app/helps/scene/component/marker.zh.md +0 -15
  891. package/dist-app/helps/scene/component/polygon.ko.md +0 -9
  892. package/dist-app/helps/scene/component/polygon.md +0 -9
  893. package/dist-app/helps/scene/component/polygon.zh.md +0 -9
  894. package/dist-app/helps/scene/component/polyline.ko.md +0 -10
  895. package/dist-app/helps/scene/component/polyline.md +0 -10
  896. package/dist-app/helps/scene/component/polyline.zh.md +0 -10
  897. package/dist-app/helps/scene/component/popup.ko.md +0 -27
  898. package/dist-app/helps/scene/component/popup.md +0 -27
  899. package/dist-app/helps/scene/component/rect.ko.md +0 -17
  900. package/dist-app/helps/scene/component/rect.md +0 -16
  901. package/dist-app/helps/scene/component/rect.zh.md +0 -16
  902. package/dist-app/helps/scene/component/scenario-control.ko.md +0 -4
  903. package/dist-app/helps/scene/component/scenario-control.md +0 -4
  904. package/dist-app/helps/scene/component/scenario-control.zh.md +0 -4
  905. package/dist-app/helps/scene/component/scenario-instance-subscription.ko.md +0 -23
  906. package/dist-app/helps/scene/component/scenario-instance-subscription.md +0 -24
  907. package/dist-app/helps/scene/component/scenario-instance-subscription.zh.md +0 -23
  908. package/dist-app/helps/scene/component/scenario-queue-subscription.ko.md +0 -27
  909. package/dist-app/helps/scene/component/scenario-queue-subscription.md +0 -27
  910. package/dist-app/helps/scene/component/scenario-run.ko.md +0 -27
  911. package/dist-app/helps/scene/component/scenario-run.md +0 -27
  912. package/dist-app/helps/scene/component/scenario-run.zh.md +0 -27
  913. package/dist-app/helps/scene/component/scenario-start.ko.md +0 -16
  914. package/dist-app/helps/scene/component/scenario-start.md +0 -16
  915. package/dist-app/helps/scene/component/scenario-start.zh.md +0 -16
  916. package/dist-app/helps/scene/component/scenario-stop.ko.md +0 -12
  917. package/dist-app/helps/scene/component/scenario-stop.md +0 -12
  918. package/dist-app/helps/scene/component/scenario-stop.zh.md +0 -12
  919. package/dist-app/helps/scene/component/star.ko.md +0 -19
  920. package/dist-app/helps/scene/component/star.md +0 -19
  921. package/dist-app/helps/scene/component/star.zh.md +0 -19
  922. package/dist-app/helps/scene/component/text.ko.md +0 -9
  923. package/dist-app/helps/scene/component/text.md +0 -9
  924. package/dist-app/helps/scene/component/text.zh.md +0 -9
  925. package/dist-app/helps/scene/component/top-rounded-ractangle.ko.md +0 -15
  926. package/dist-app/helps/scene/component/top-rounded-ractangle.md +0 -15
  927. package/dist-app/helps/scene/component/top-rounded-ractangle.zh.md +0 -15
  928. package/dist-app/helps/scene/component/triangle.ko.md +0 -9
  929. package/dist-app/helps/scene/component/triangle.md +0 -9
  930. package/dist-app/helps/scene/component/triangle.zh.md +0 -9
  931. package/dist-app/helps/scene/images/both-arrow-01.png +0 -0
  932. package/dist-app/helps/scene/images/container-01.png +0 -0
  933. package/dist-app/helps/scene/images/dash-01.png +0 -0
  934. package/dist-app/helps/scene/images/donut-01.png +0 -0
  935. package/dist-app/helps/scene/images/donut-02.png +0 -0
  936. package/dist-app/helps/scene/images/ellipse-01.png +0 -0
  937. package/dist-app/helps/scene/images/half-round-rect-01.png +0 -0
  938. package/dist-app/helps/scene/images/half-round-rect-02.png +0 -0
  939. package/dist-app/helps/scene/images/line-01.png +0 -0
  940. package/dist-app/helps/scene/images/marker-01.png +0 -0
  941. package/dist-app/helps/scene/images/marker-02.png +0 -0
  942. package/dist-app/helps/scene/images/media-01.png +0 -0
  943. package/dist-app/helps/scene/images/media-02.png +0 -0
  944. package/dist-app/helps/scene/images/polygon-01.png +0 -0
  945. package/dist-app/helps/scene/images/polyline-01.png +0 -0
  946. package/dist-app/helps/scene/images/rect-01.png +0 -0
  947. package/dist-app/helps/scene/images/rect-02.png +0 -0
  948. package/dist-app/helps/scene/images/single-arrow-01.png +0 -0
  949. package/dist-app/helps/scene/images/star-01.png +0 -0
  950. package/dist-app/helps/scene/images/star-02.png +0 -0
  951. package/dist-app/helps/scene/images/star-03.png +0 -0
  952. package/dist-app/helps/scene/images/text-01.png +0 -0
  953. package/dist-app/helps/scene/images/triangle-01.png +0 -0
  954. package/dist-app/helps/shell/attribute.md +0 -160
  955. package/dist-app/index.html +0 -14
  956. package/dist-app/service-worker.js +0 -2
  957. package/dist-app/service-worker.js.LICENSE.txt +0 -6
  958. package/dist-app/translations/en.json +0 -1157
  959. package/dist-app/translations/ja.json +0 -1176
  960. package/dist-app/translations/ko.json +0 -1183
  961. package/dist-app/translations/ms.json +0 -1181
  962. package/dist-app/translations/zh.json +0 -1164
  963. package/dist-app/views/auth-page.html +0 -92
  964. package/dist-app/views/dependencies-view-graphviz.html +0 -75
  965. package/dist-app/views/dependencies-view.html +0 -139
  966. package/dist-app/views/graphql.html +0 -15
  967. package/dist-app/views/internal-board-full-feature-view.html +0 -77
  968. package/dist-app/views/internal-board-service-view.html +0 -82
  969. package/dist-app/views/internal-label-command-view.html +0 -316
  970. package/dist-app/views/oauth2-page.html +0 -90
  971. package/dist-app/views/public/home.html +0 -83
  972. package/dist-app/views/scenario-view.html +0 -64
  973. package/dist-app/views/template.html +0 -21
@@ -1,2 +0,0 @@
1
- /*! For license information please see signin.js.LICENSE.txt */
2
- (()=>{var __webpack_modules__={85709:(t,e,r)=>{"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var{ApolloLink:o,Observable:a}=r(21604),{createSignalIfSupported:s,fallbackHttpConfig:l,parseAndCheckHttpResponse:c,rewriteURIForGET:p,selectHttpOptionsAndBody:u,selectURI:h,serializeFetchParameter:d}=r(86801),f=r(51331),m=r(14398),g=r(42474);t.exports=function(){var{uri:t="/graphql",useGETForQueries:e,isExtractableFile:r=g,FormData:n,formDataAppendFile:y=m,fetch:v,fetchOptions:b,credentials:x,headers:w,includeExtensions:_}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},E={http:{includeExtensions:_},options:b,credentials:x,headers:w};return new o((o=>{var m=o.getContext(),{clientAwareness:{name:g,version:b}={},headers:x}=m,w={http:m.http,options:m.fetchOptions,credentials:m.credentials,headers:i(i(i({},g&&{"apollographql-client-name":g}),b&&{"apollographql-client-version":b}),x)},{options:_,body:S}=u(o,l,E,w),{clone:k,files:P}=f(S,"",r),A=h(o,t);if(P.size){delete _.headers["content-type"];var O=new(n||FormData);O.append("operations",d(k,"Payload"));var C={},T=0;P.forEach((t=>{C[++T]=t})),O.append("map",JSON.stringify(C)),T=0,P.forEach(((t,e)=>{y(O,++T,e)})),_.body=O}else if(e&&!o.query.definitions.some((t=>"OperationDefinition"===t.kind&&"mutation"===t.operation))&&(_.method="GET"),"GET"===_.method){var{newURI:I,parseError:D}=p(A,S);if(D)return new a((t=>{t.error(D)}));A=I}else _.body=d(k,"Payload");var{controller:F}=s();F&&(_.signal&&(_.signal.aborted?F.abort():_.signal.addEventListener("abort",(()=>{F.abort()}),{once:!0})),_.signal=F.signal);var R=v||fetch;return new a((t=>{var e;return R(A,_).then((t=>(o.setContext({response:t}),t))).then(c(o)).then((e=>{t.next(e),t.complete()})).catch((r=>{e||(r.result&&r.result.errors&&r.result.data&&t.next(r.result),t.error(r))})),()=>{e=!0,F&&F.abort()}}))}))}},14398:t=>{"use strict";t.exports=function(t,e,r){t.append(e,r,r.name)}},42474:(t,e,r)=>{"use strict";t.exports=r(45625)},24574:(t,e,r)=>{"use strict";var n=r(6591),i=r(51266);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var a,s,l=r(2795).codes,c=l.ERR_AMBIGUOUS_ARGUMENT,p=l.ERR_INVALID_ARG_TYPE,u=l.ERR_INVALID_ARG_VALUE,h=l.ERR_INVALID_RETURN_VALUE,d=l.ERR_MISSING_ARGS,f=r(48186),m=r(17396).inspect,g=r(17396).types,y=g.isPromise,v=g.isRegExp,b=Object.assign?Object.assign:r(43566).assign,x=Object.is?Object.is:r(95518);function w(){var t=r(79377);a=t.isDeepEqual,s=t.isDeepStrictEqual}new Map;var _=!1,E=t.exports=A,S={};function k(t){if(t.message instanceof Error)throw t.message;throw new f(t)}function P(t,e,r,n){if(!r){var i=!1;if(0===e)i=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var o=new f({actual:r,expected:!0,message:n,operator:"==",stackStartFn:t});throw o.generatedMessage=i,o}}function A(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];P.apply(void 0,[A,e.length].concat(e))}E.fail=function t(e,r,o,a,s){var l,c=arguments.length;if(0===c?l="Failed":1===c?(o=e,e=void 0):(!1===_&&(_=!0,(n.emitWarning?n.emitWarning:i.warn.bind(i))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")),2===c&&(a="!=")),o instanceof Error)throw o;var p={actual:e,expected:r,operator:void 0===a?"fail":a,stackStartFn:s||t};void 0!==o&&(p.message=o);var u=new f(p);throw l&&(u.message=l,u.generatedMessage=!0),u},E.AssertionError=f,E.ok=A,E.equal=function t(e,r,n){if(arguments.length<2)throw new d("actual","expected");e!=r&&k({actual:e,expected:r,message:n,operator:"==",stackStartFn:t})},E.notEqual=function t(e,r,n){if(arguments.length<2)throw new d("actual","expected");e==r&&k({actual:e,expected:r,message:n,operator:"!=",stackStartFn:t})},E.deepEqual=function t(e,r,n){if(arguments.length<2)throw new d("actual","expected");void 0===a&&w(),a(e,r)||k({actual:e,expected:r,message:n,operator:"deepEqual",stackStartFn:t})},E.notDeepEqual=function t(e,r,n){if(arguments.length<2)throw new d("actual","expected");void 0===a&&w(),a(e,r)&&k({actual:e,expected:r,message:n,operator:"notDeepEqual",stackStartFn:t})},E.deepStrictEqual=function t(e,r,n){if(arguments.length<2)throw new d("actual","expected");void 0===a&&w(),s(e,r)||k({actual:e,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:t})},E.notDeepStrictEqual=function t(e,r,n){if(arguments.length<2)throw new d("actual","expected");void 0===a&&w(),s(e,r)&&k({actual:e,expected:r,message:n,operator:"notDeepStrictEqual",stackStartFn:t})},E.strictEqual=function t(e,r,n){if(arguments.length<2)throw new d("actual","expected");x(e,r)||k({actual:e,expected:r,message:n,operator:"strictEqual",stackStartFn:t})},E.notStrictEqual=function t(e,r,n){if(arguments.length<2)throw new d("actual","expected");x(e,r)&&k({actual:e,expected:r,message:n,operator:"notStrictEqual",stackStartFn:t})};var O=function t(e,r,n){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),r.forEach((function(t){t in e&&(void 0!==n&&"string"==typeof n[t]&&v(e[t])&&e[t].test(n[t])?i[t]=n[t]:i[t]=e[t])}))};function C(t,e,r,n){if("function"!=typeof e){if(v(e))return e.test(t);if(2===arguments.length)throw new p("expected",["Function","RegExp"],e);if("object"!==o(t)||null===t){var i=new f({actual:t,expected:e,message:r,operator:"deepStrictEqual",stackStartFn:n});throw i.operator=n.name,i}var l=Object.keys(e);if(e instanceof Error)l.push("name","message");else if(0===l.length)throw new u("error",e,"may not be an empty object");return void 0===a&&w(),l.forEach((function(i){"string"==typeof t[i]&&v(e[i])&&e[i].test(t[i])||function(t,e,r,n,i,o){if(!(r in t)||!s(t[r],e[r])){if(!n){var a=new O(t,i),l=new O(e,i,t),c=new f({actual:a,expected:l,operator:"deepStrictEqual",stackStartFn:o});throw c.actual=t,c.expected=e,c.operator=o.name,c}k({actual:t,expected:e,message:n,operator:o.name,stackStartFn:o})}}(t,e,i,r,l,n)})),!0}return void 0!==e.prototype&&t instanceof e||!Error.isPrototypeOf(e)&&!0===e.call({},t)}function T(t){if("function"!=typeof t)throw new p("fn","Function",t);try{t()}catch(t){return t}return S}function I(t){return y(t)||null!==t&&"object"===o(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function D(t){return Promise.resolve().then((function(){var e;if("function"==typeof t){if(!I(e=t()))throw new h("instance of Promise","promiseFn",e)}else{if(!I(t))throw new p("promiseFn",["Function","Promise"],t);e=t}return Promise.resolve().then((function(){return e})).then((function(){return S})).catch((function(t){return t}))}))}function F(t,e,r,n){if("string"==typeof r){if(4===arguments.length)throw new p("error",["Object","Error","Function","RegExp"],r);if("object"===o(e)&&null!==e){if(e.message===r)throw new c("error/message",'The error message "'.concat(e.message,'" is identical to the message.'))}else if(e===r)throw new c("error/message",'The error "'.concat(e,'" is identical to the message.'));n=r,r=void 0}else if(null!=r&&"object"!==o(r)&&"function"!=typeof r)throw new p("error",["Object","Error","Function","RegExp"],r);if(e===S){var i="";r&&r.name&&(i+=" (".concat(r.name,")")),i+=n?": ".concat(n):".";var a="rejects"===t.name?"rejection":"exception";k({actual:void 0,expected:r,operator:t.name,message:"Missing expected ".concat(a).concat(i),stackStartFn:t})}if(r&&!C(e,r,n,t))throw e}function R(t,e,r,n){if(e!==S){if("string"==typeof r&&(n=r,r=void 0),!r||C(e,r)){var i=n?": ".concat(n):".",o="doesNotReject"===t.name?"rejection":"exception";k({actual:e,expected:r,operator:t.name,message:"Got unwanted ".concat(o).concat(i,"\n")+'Actual message: "'.concat(e&&e.message,'"'),stackStartFn:t})}throw e}}function M(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];P.apply(void 0,[M,e.length].concat(e))}E.throws=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];F.apply(void 0,[t,T(e)].concat(n))},E.rejects=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return D(e).then((function(e){return F.apply(void 0,[t,e].concat(n))}))},E.doesNotThrow=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];R.apply(void 0,[t,T(e)].concat(n))},E.doesNotReject=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return D(e).then((function(e){return R.apply(void 0,[t,e].concat(n))}))},E.ifError=function t(e){if(null!=e){var r="ifError got unwanted exception: ";"object"===o(e)&&"string"==typeof e.message?0===e.message.length&&e.constructor?r+=e.constructor.name:r+=e.message:r+=m(e);var n=new f({actual:e,expected:null,operator:"ifError",message:r,stackStartFn:t}),i=e.stack;if("string"==typeof i){var a=i.split("\n");a.shift();for(var s=n.stack.split("\n"),l=0;l<a.length;l++){var c=s.indexOf(a[l]);if(-1!==c){s=s.slice(0,c);break}}n.stack="".concat(s.join("\n"),"\n").concat(a.join("\n"))}throw n}},E.strict=b(M,E,{equal:E.strictEqual,deepEqual:E.deepStrictEqual,notEqual:E.notStrictEqual,notDeepEqual:E.notDeepStrictEqual}),E.strict.strict=E.strict},48186:(t,e,r)=>{"use strict";var n=r(6591);function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?s(t):e}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t){var e="function"==typeof Map?new Map:void 0;return l=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return c(t,arguments,u(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),p(n,t)},l(t)}function c(t,e,r){return c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var i=new(Function.bind.apply(t,n));return r&&p(i,r.prototype),i},c.apply(null,arguments)}function p(t,e){return p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},p(t,e)}function u(t){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},u(t)}function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}var d=r(17396).inspect,f=r(2795).codes.ERR_INVALID_ARG_TYPE;function m(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}var g="",y="",v="",b="",x={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function w(t){var e=Object.keys(t),r=Object.create(Object.getPrototypeOf(t));return e.forEach((function(e){r[e]=t[e]})),Object.defineProperty(r,"message",{value:t.message}),r}function _(t){return d(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var E=function(t){function e(t){var r;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),"object"!==h(t)||null===t)throw new f("options","Object",t);var i=t.message,o=t.operator,l=t.stackStartFn,c=t.actual,p=t.expected,d=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=i)r=a(this,u(e).call(this,String(i)));else if(n.stderr&&n.stderr.isTTY&&(n.stderr&&n.stderr.getColorDepth&&1!==n.stderr.getColorDepth()?(g="",y="",b="",v=""):(g="",y="",b="",v="")),"object"===h(c)&&null!==c&&"object"===h(p)&&null!==p&&"stack"in c&&c instanceof Error&&"stack"in p&&p instanceof Error&&(c=w(c),p=w(p)),"deepStrictEqual"===o||"strictEqual"===o)r=a(this,u(e).call(this,function(t,e,r){var i="",o="",a=0,s="",l=!1,c=_(t),p=c.split("\n"),u=_(e).split("\n"),d=0,f="";if("strictEqual"===r&&"object"===h(t)&&"object"===h(e)&&null!==t&&null!==e&&(r="strictEqualObject"),1===p.length&&1===u.length&&p[0]!==u[0]){var w=p[0].length+u[0].length;if(w<=10){if(!("object"===h(t)&&null!==t||"object"===h(e)&&null!==e||0===t&&0===e))return"".concat(x[r],"\n\n")+"".concat(p[0]," !== ").concat(u[0],"\n")}else if("strictEqualObject"!==r&&w<(n.stderr&&n.stderr.isTTY?n.stderr.columns:80)){for(;p[0][d]===u[0][d];)d++;d>2&&(f="\n ".concat(function(t,e){if(e=Math.floor(e),0==t.length||0==e)return"";var r=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+t.substring(0,r-t.length)}(" ",d),"^"),d=0)}}for(var E=p[p.length-1],S=u[u.length-1];E===S&&(d++<2?s="\n ".concat(E).concat(s):i=E,p.pop(),u.pop(),0!==p.length&&0!==u.length);)E=p[p.length-1],S=u[u.length-1];var k=Math.max(p.length,u.length);if(0===k){var P=c.split("\n");if(P.length>30)for(P[26]="".concat(g,"...").concat(b);P.length>27;)P.pop();return"".concat(x.notIdentical,"\n\n").concat(P.join("\n"),"\n")}d>3&&(s="\n".concat(g,"...").concat(b).concat(s),l=!0),""!==i&&(s="\n ".concat(i).concat(s),i="");var A=0,O=x[r]+"\n".concat(y,"+ actual").concat(b," ").concat(v,"- expected").concat(b),C=" ".concat(g,"...").concat(b," Lines skipped");for(d=0;d<k;d++){var T=d-a;if(p.length<d+1)T>1&&d>2&&(T>4?(o+="\n".concat(g,"...").concat(b),l=!0):T>3&&(o+="\n ".concat(u[d-2]),A++),o+="\n ".concat(u[d-1]),A++),a=d,i+="\n".concat(v,"-").concat(b," ").concat(u[d]),A++;else if(u.length<d+1)T>1&&d>2&&(T>4?(o+="\n".concat(g,"...").concat(b),l=!0):T>3&&(o+="\n ".concat(p[d-2]),A++),o+="\n ".concat(p[d-1]),A++),a=d,o+="\n".concat(y,"+").concat(b," ").concat(p[d]),A++;else{var I=u[d],D=p[d],F=D!==I&&(!m(D,",")||D.slice(0,-1)!==I);F&&m(I,",")&&I.slice(0,-1)===D&&(F=!1,D+=","),F?(T>1&&d>2&&(T>4?(o+="\n".concat(g,"...").concat(b),l=!0):T>3&&(o+="\n ".concat(p[d-2]),A++),o+="\n ".concat(p[d-1]),A++),a=d,o+="\n".concat(y,"+").concat(b," ").concat(D),i+="\n".concat(v,"-").concat(b," ").concat(I),A+=2):(o+=i,i="",1!==T&&0!==d||(o+="\n ".concat(D),A++))}if(A>20&&d<k-2)return"".concat(O).concat(C,"\n").concat(o,"\n").concat(g,"...").concat(b).concat(i,"\n")+"".concat(g,"...").concat(b)}return"".concat(O).concat(l?C:"","\n").concat(o).concat(i).concat(s).concat(f)}(c,p,o)));else if("notDeepStrictEqual"===o||"notStrictEqual"===o){var E=x[o],S=_(c).split("\n");if("notStrictEqual"===o&&"object"===h(c)&&null!==c&&(E=x.notStrictEqualObject),S.length>30)for(S[26]="".concat(g,"...").concat(b);S.length>27;)S.pop();r=1===S.length?a(this,u(e).call(this,"".concat(E," ").concat(S[0]))):a(this,u(e).call(this,"".concat(E,"\n\n").concat(S.join("\n"),"\n")))}else{var k=_(c),P="",A=x[o];"notDeepEqual"===o||"notEqual"===o?(k="".concat(x[o],"\n\n").concat(k)).length>1024&&(k="".concat(k.slice(0,1021),"...")):(P="".concat(_(p)),k.length>512&&(k="".concat(k.slice(0,509),"...")),P.length>512&&(P="".concat(P.slice(0,509),"...")),"deepEqual"===o||"equal"===o?k="".concat(A,"\n\n").concat(k,"\n\nshould equal\n\n"):P=" ".concat(o," ").concat(P)),r=a(this,u(e).call(this,"".concat(k).concat(P)))}return Error.stackTraceLimit=d,r.generatedMessage=!i,Object.defineProperty(s(r),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),r.code="ERR_ASSERTION",r.actual=c,r.expected=p,r.operator=o,Error.captureStackTrace&&Error.captureStackTrace(s(r),l),r.stack,r.name="AssertionError",a(r)}var r,l;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(e,t),r=e,l=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:d.custom,value:function(t,e){return d(this,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){i(t,e,r[e])}))}return t}({},e,{customInspect:!1,depth:0}))}}],l&&o(r.prototype,l),e}(l(Error));t.exports=E},2795:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function o(t,e){return o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},o(t,e)}var a,s,l={};function c(t,e,r){r||(r=Error);var a=function(r){function a(r,o,s){var l;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),l=function(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,i(a).call(this,function(t,r,n){return"string"==typeof e?e:e(t,r,n)}(r,o,s))),l.code=t,l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(a,r),a}(r);l[t]=a}function p(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}c("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),c("ERR_INVALID_ARG_TYPE",(function(t,e,i){var o,s,l,c,u;if(void 0===a&&(a=r(24574)),a("string"==typeof t,"'name' must be a string"),"string"==typeof e&&(s="not ",e.substr(0,4)===s)?(o="must not be",e=e.replace(/^not /,"")):o="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-9,r)===e}(t," argument"))l="The ".concat(t," ").concat(o," ").concat(p(e,"type"));else{var h=("number"!=typeof u&&(u=0),u+1>(c=t).length||-1===c.indexOf(".",u)?"argument":"property");l='The "'.concat(t,'" ').concat(h," ").concat(o," ").concat(p(e,"type"))}return l+". Received type ".concat(n(i))}),TypeError),c("ERR_INVALID_ARG_VALUE",(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===s&&(s=r(17396));var i=s.inspect(e);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(n,". Received ").concat(i)}),TypeError,RangeError),c("ERR_INVALID_RETURN_VALUE",(function(t,e,r){var i;return i=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(n(r)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(i,".")}),TypeError),c("ERR_MISSING_ARGS",(function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];void 0===a&&(a=r(24574)),a(e.length>0,"At least one arg needs to be specified");var i="The ",o=e.length;switch(e=e.map((function(t){return'"'.concat(t,'"')})),o){case 1:i+="".concat(e[0]," argument");break;case 2:i+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:i+=e.slice(0,o-1).join(", "),i+=", and ".concat(e[o-1]," arguments")}return"".concat(i," must be specified")}),TypeError),t.exports.codes=l},79377:(t,e,r)=>{"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}var o=void 0!==/a/g.flags,a=function(t){var e=[];return t.forEach((function(t){return e.push(t)})),e},s=function(t){var e=[];return t.forEach((function(t,r){return e.push([r,t])})),e},l=Object.is?Object.is:r(95518),c=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},p=Number.isNaN?Number.isNaN:r(62183);function u(t){return t.call.bind(t)}var h=u(Object.prototype.hasOwnProperty),d=u(Object.prototype.propertyIsEnumerable),f=u(Object.prototype.toString),m=r(17396).types,g=m.isAnyArrayBuffer,y=m.isArrayBufferView,v=m.isDate,b=m.isMap,x=m.isRegExp,w=m.isSet,_=m.isNativeError,E=m.isBoxedPrimitive,S=m.isNumberObject,k=m.isStringObject,P=m.isBooleanObject,A=m.isBigIntObject,O=m.isSymbolObject,C=m.isFloat32Array,T=m.isFloat64Array;function I(t){if(0===t.length||t.length>10)return!0;for(var e=0;e<t.length;e++){var r=t.charCodeAt(e);if(r<48||r>57)return!0}return 10===t.length&&t>=Math.pow(2,32)}function D(t){return Object.keys(t).filter(I).concat(c(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function F(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0}var R=0,M=1,j=2,L=3;function N(t,e,r,n){if(t===e)return 0!==t||!r||l(t,e);if(r){if("object"!==i(t))return"number"==typeof t&&p(t)&&p(e);if("object"!==i(e)||null===t||null===e)return!1;if(Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1}else{if(null===t||"object"!==i(t))return(null===e||"object"!==i(e))&&t==e;if(null===e||"object"!==i(e))return!1}var a,s,c,u,h=f(t);if(h!==f(e))return!1;if(Array.isArray(t)){if(t.length!==e.length)return!1;var d=D(t),m=D(e);return d.length===m.length&&V(t,e,r,n,M,d)}if("[object Object]"===h&&(!b(t)&&b(e)||!w(t)&&w(e)))return!1;if(v(t)){if(!v(e)||Date.prototype.getTime.call(t)!==Date.prototype.getTime.call(e))return!1}else if(x(t)){if(!x(e)||(c=t,u=e,!(o?c.source===u.source&&c.flags===u.flags:RegExp.prototype.toString.call(c)===RegExp.prototype.toString.call(u))))return!1}else if(_(t)||t instanceof Error){if(t.message!==e.message||t.name!==e.name)return!1}else{if(y(t)){if(r||!C(t)&&!T(t)){if(!function(t,e){return t.byteLength===e.byteLength&&0===F(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}(t,e))return!1}else if(!function(t,e){if(t.byteLength!==e.byteLength)return!1;for(var r=0;r<t.byteLength;r++)if(t[r]!==e[r])return!1;return!0}(t,e))return!1;var I=D(t),N=D(e);return I.length===N.length&&V(t,e,r,n,R,I)}if(w(t))return!(!w(e)||t.size!==e.size)&&V(t,e,r,n,j);if(b(t))return!(!b(e)||t.size!==e.size)&&V(t,e,r,n,L);if(g(t)){if(s=e,(a=t).byteLength!==s.byteLength||0!==F(new Uint8Array(a),new Uint8Array(s)))return!1}else if(E(t)&&!function(t,e){return S(t)?S(e)&&l(Number.prototype.valueOf.call(t),Number.prototype.valueOf.call(e)):k(t)?k(e)&&String.prototype.valueOf.call(t)===String.prototype.valueOf.call(e):P(t)?P(e)&&Boolean.prototype.valueOf.call(t)===Boolean.prototype.valueOf.call(e):A(t)?A(e)&&BigInt.prototype.valueOf.call(t)===BigInt.prototype.valueOf.call(e):O(e)&&Symbol.prototype.valueOf.call(t)===Symbol.prototype.valueOf.call(e)}(t,e))return!1}return V(t,e,r,n,R)}function B(t,e){return e.filter((function(e){return d(t,e)}))}function V(t,e,r,o,l,p){if(5===arguments.length){p=Object.keys(t);var u=Object.keys(e);if(p.length!==u.length)return!1}for(var f=0;f<p.length;f++)if(!h(e,p[f]))return!1;if(r&&5===arguments.length){var m=c(t);if(0!==m.length){var g=0;for(f=0;f<m.length;f++){var y=m[f];if(d(t,y)){if(!d(e,y))return!1;p.push(y),g++}else if(d(e,y))return!1}var v=c(e);if(m.length!==v.length&&B(e,v).length!==g)return!1}else{var b=c(e);if(0!==b.length&&0!==B(e,b).length)return!1}}if(0===p.length&&(l===R||l===M&&0===t.length||0===t.size))return!0;if(void 0===o)o={val1:new Map,val2:new Map,position:0};else{var x=o.val1.get(t);if(void 0!==x){var w=o.val2.get(e);if(void 0!==w)return x===w}o.position++}o.val1.set(t,o.position),o.val2.set(e,o.position);var _=function(t,e,r,o,l,c){var p=0;if(c===j){if(!function(t,e,r,n){for(var o=null,s=a(t),l=0;l<s.length;l++){var c=s[l];if("object"===i(c)&&null!==c)null===o&&(o=new Set),o.add(c);else if(!e.has(c)){if(r)return!1;if(!G(t,e,c))return!1;null===o&&(o=new Set),o.add(c)}}if(null!==o){for(var p=a(e),u=0;u<p.length;u++){var h=p[u];if("object"===i(h)&&null!==h){if(!z(o,h,r,n))return!1}else if(!r&&!t.has(h)&&!z(o,h,r,n))return!1}return 0===o.size}return!0}(t,e,r,l))return!1}else if(c===L){if(!function(t,e,r,o){for(var a=null,l=s(t),c=0;c<l.length;c++){var p=n(l[c],2),u=p[0],h=p[1];if("object"===i(u)&&null!==u)null===a&&(a=new Set),a.add(u);else{var d=e.get(u);if(void 0===d&&!e.has(u)||!N(h,d,r,o)){if(r)return!1;if(!U(t,e,u,h,o))return!1;null===a&&(a=new Set),a.add(u)}}}if(null!==a){for(var f=s(e),m=0;m<f.length;m++){var g=n(f[m],2),y=(u=g[0],g[1]);if("object"===i(u)&&null!==u){if(!H(a,t,u,y,r,o))return!1}else if(!(r||t.has(u)&&N(t.get(u),y,!1,o)||H(a,t,u,y,!1,o)))return!1}return 0===a.size}return!0}(t,e,r,l))return!1}else if(c===M)for(;p<t.length;p++){if(!h(t,p)){if(h(e,p))return!1;for(var u=Object.keys(t);p<u.length;p++){var d=u[p];if(!h(e,d)||!N(t[d],e[d],r,l))return!1}return u.length===Object.keys(e).length}if(!h(e,p)||!N(t[p],e[p],r,l))return!1}for(p=0;p<o.length;p++){var f=o[p];if(!N(t[f],e[f],r,l))return!1}return!0}(t,e,r,p,o,l);return o.val1.delete(t),o.val2.delete(e),_}function z(t,e,r,n){for(var i=a(t),o=0;o<i.length;o++){var s=i[o];if(N(e,s,r,n))return t.delete(s),!0}return!1}function q(t){switch(i(t)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":t=+t;case"number":if(p(t))return!1}return!0}function G(t,e,r){var n=q(r);return null!=n?n:e.has(n)&&!t.has(n)}function U(t,e,r,n,i){var o=q(r);if(null!=o)return o;var a=e.get(o);return!(void 0===a&&!e.has(o)||!N(n,a,!1,i))&&!t.has(o)&&N(n,a,!1,i)}function H(t,e,r,n,i,o){for(var s=a(t),l=0;l<s.length;l++){var c=s[l];if(N(r,c,i,o)&&N(n,e.get(c),i,o))return t.delete(c),!0}return!1}t.exports={isDeepEqual:function(t,e){return N(t,e,!1)},isDeepStrictEqual:function(t,e){return N(t,e,!0)}}},24104:(t,e)=>{"use strict";e.byteLength=function(t){var e=s(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,o=s(t),a=o[0],l=o[1],c=new i(function(t,e,r){return 3*(e+r)/4-r}(0,a,l)),p=0,u=l>0?a-4:a;for(r=0;r<u;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],c[p++]=e>>16&255,c[p++]=e>>8&255,c[p++]=255&e;return 2===l&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[p++]=255&e),1===l&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[p++]=e>>8&255,c[p++]=255&e),c},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=16383,s=0,c=n-i;s<c;s+=a)o.push(l(t,s,s+a>c?c:s+a));return 1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function s(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function l(t,e,n){for(var i,o,a=[],s=e;s<n;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},47103:(t,e,r)=>{"use strict";var n=r(51266),i=r(24104),o=r(87040),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.lW=c,e.h2=50;var s=2147483647;function l(t){if(t>s)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return h(t)}return p(t,e,r)}function p(t,e,r){if("string"==typeof t)return function(t,e){if("string"==typeof e&&""!==e||(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=0|g(t,e),n=l(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(Y(t,Uint8Array)){var e=new Uint8Array(t);return f(e.buffer,e.byteOffset,e.byteLength)}return d(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(Y(t,ArrayBuffer)||t&&Y(t.buffer,ArrayBuffer))return f(t,e,r);if("undefined"!=typeof SharedArrayBuffer&&(Y(t,SharedArrayBuffer)||t&&Y(t.buffer,SharedArrayBuffer)))return f(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return c.from(n,e,r);var i=function(t){if(c.isBuffer(t)){var e=0|m(t.length),r=l(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||J(t.length)?l(0):d(t):"Buffer"===t.type&&Array.isArray(t.data)?d(t.data):void 0}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return c.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function h(t){return u(t),l(t<0?0:0|m(t))}function d(t){for(var e=t.length<0?0:0|m(t.length),r=l(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}function f(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,c.prototype),n}function m(t){if(t>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|t}function g(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||Y(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return W(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Q(t).length;default:if(i)return n?-1:W(t).length;e=(""+e).toLowerCase(),i=!0}}function y(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return I(this,e,r);case"utf8":case"utf-8":return A(this,e,r);case"ascii":return C(this,e,r);case"latin1":case"binary":return T(this,e,r);case"base64":return P(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function v(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function b(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),J(r=+r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:x(t,e,r,n,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):x(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function x(t,e,r,n,i){var o,a=1,s=t.length,l=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var p=-1;for(o=r;o<s;o++)if(c(t,o)===c(e,-1===p?0:o-p)){if(-1===p&&(p=o),o-p+1===l)return p*a}else-1!==p&&(o-=o-p),p=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var u=!0,h=0;h<l;h++)if(c(t,o+h)!==c(e,h)){u=!1;break}if(u)return o}return-1}function w(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o,a=e.length;for(n>a/2&&(n=a/2),o=0;o<n;++o){var s=parseInt(e.substr(2*o,2),16);if(J(s))return o;t[r+o]=s}return o}function _(t,e,r,n){return K(W(e,t.length-r),t,r,n)}function E(t,e,r,n){return K(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function S(t,e,r,n){return K(Q(e),t,r,n)}function k(t,e,r,n){return K(function(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function P(t,e,r){return 0===e&&r===t.length?i.fromByteArray(t):i.fromByteArray(t.slice(e,r))}function A(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,s=o>239?4:o>223?3:o>191?2:1;if(i+s<=r){var l=void 0,c=void 0,p=void 0,u=void 0;switch(s){case 1:o<128&&(a=o);break;case 2:128==(192&(l=t[i+1]))&&(u=(31&o)<<6|63&l)>127&&(a=u);break;case 3:l=t[i+1],c=t[i+2],128==(192&l)&&128==(192&c)&&(u=(15&o)<<12|(63&l)<<6|63&c)>2047&&(u<55296||u>57343)&&(a=u);break;case 4:l=t[i+1],c=t[i+2],p=t[i+3],128==(192&l)&&128==(192&c)&&128==(192&p)&&(u=(15&o)<<18|(63&l)<<12|(63&c)<<6|63&p)>65535&&u<1114112&&(a=u)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),i+=s}return function(t){var e=t.length;if(e<=O)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=O));return r}(n)}c.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),c.TYPED_ARRAY_SUPPORT||void 0===n||"function"!=typeof n.error||n.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(t,e,r){return p(t,e,r)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(t,e,r){return function(t,e,r){return u(t),t<=0?l(t):void 0!==e?"string"==typeof r?l(t).fill(e,r):l(t).fill(e):l(t)}(t,e,r)},c.allocUnsafe=function(t){return h(t)},c.allocUnsafeSlow=function(t){return h(t)},c.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==c.prototype},c.compare=function(t,e){if(Y(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),Y(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=c.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(Y(o,Uint8Array))i+o.length>n.length?(c.isBuffer(o)||(o=c.from(o)),o.copy(n,i)):Uint8Array.prototype.set.call(n,o,i);else{if(!c.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i)}i+=o.length}return n},c.byteLength=g,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)v(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)v(this,e,e+3),v(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)v(this,e,e+7),v(this,e+1,e+6),v(this,e+2,e+5),v(this,e+3,e+4);return this},c.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?A(this,0,t):y.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",r=e.h2;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},a&&(c.prototype[a]=c.prototype.inspect),c.prototype.compare=function(t,e,r,n,i){if(Y(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(o,a),l=this.slice(n,i),p=t.slice(e,r),u=0;u<s;++u)if(l[u]!==p[u]){o=l[u],a=p[u];break}return o<a?-1:a<o?1:0},c.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},c.prototype.indexOf=function(t,e,r){return b(this,t,e,r,!0)},c.prototype.lastIndexOf=function(t,e,r){return b(this,t,e,r,!1)},c.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return w(this,t,e,r);case"utf8":case"utf-8":return _(this,t,e,r);case"ascii":case"latin1":case"binary":return E(this,t,e,r);case"base64":return S(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function C(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function T(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function I(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=X[t[o]];return i}function D(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function F(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function R(t,e,r,n,i,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function M(t,e,r,n,i){G(e,n,i,t,r,7);var o=Number(e&BigInt(4294967295));t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o;var a=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=a,a>>=8,t[r++]=a,a>>=8,t[r++]=a,a>>=8,t[r++]=a,r}function j(t,e,r,n,i){G(e,n,i,t,r,7);var o=Number(e&BigInt(4294967295));t[r+7]=o,o>>=8,t[r+6]=o,o>>=8,t[r+5]=o,o>>=8,t[r+4]=o;var a=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=a,a>>=8,t[r+2]=a,a>>=8,t[r+1]=a,a>>=8,t[r]=a,r+8}function L(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function N(t,e,r,n,i){return e=+e,r>>>=0,i||L(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function B(t,e,r,n,i){return e=+e,r>>>=0,i||L(t,0,r,8),o.write(t,e,r,n,52,8),r+8}c.prototype.slice=function(t,e){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,c.prototype),n},c.prototype.readUintLE=c.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||F(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},c.prototype.readUintBE=c.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||F(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},c.prototype.readUint8=c.prototype.readUInt8=function(t,e){return t>>>=0,e||F(t,1,this.length),this[t]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(t,e){return t>>>=0,e||F(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(t,e){return t>>>=0,e||F(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(t,e){return t>>>=0,e||F(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(t,e){return t>>>=0,e||F(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readBigUInt64LE=Z((function(t){U(t>>>=0,"offset");var e=this[t],r=this[t+7];void 0!==e&&void 0!==r||H(t,this.length-8);var n=e+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,24),i=this[++t]+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+r*Math.pow(2,24);return BigInt(n)+(BigInt(i)<<BigInt(32))})),c.prototype.readBigUInt64BE=Z((function(t){U(t>>>=0,"offset");var e=this[t],r=this[t+7];void 0!==e&&void 0!==r||H(t,this.length-8);var n=e*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+this[++t],i=this[++t]*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+r;return(BigInt(n)<<BigInt(32))+BigInt(i)})),c.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||F(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||F(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return t>>>=0,e||F(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){t>>>=0,e||F(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(t,e){t>>>=0,e||F(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(t,e){return t>>>=0,e||F(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return t>>>=0,e||F(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readBigInt64LE=Z((function(t){U(t>>>=0,"offset");var e=this[t],r=this[t+7];void 0!==e&&void 0!==r||H(t,this.length-8);var n=this[t+4]+this[t+5]*Math.pow(2,8)+this[t+6]*Math.pow(2,16)+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(e+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,24))})),c.prototype.readBigInt64BE=Z((function(t){U(t>>>=0,"offset");var e=this[t],r=this[t+7];void 0!==e&&void 0!==r||H(t,this.length-8);var n=(e<<24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+this[++t];return(BigInt(n)<<BigInt(32))+BigInt(this[++t]*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+r)})),c.prototype.readFloatLE=function(t,e){return t>>>=0,e||F(t,4,this.length),o.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return t>>>=0,e||F(t,4,this.length),o.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return t>>>=0,e||F(t,8,this.length),o.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return t>>>=0,e||F(t,8,this.length),o.read(this,t,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||R(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||R(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},c.prototype.writeUint8=c.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||R(this,t,e,1,255,0),this[e]=255&t,e+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||R(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||R(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||R(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||R(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeBigUInt64LE=Z((function(t){return M(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeBigUInt64BE=Z((function(t){return j(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);R(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<r&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},c.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);R(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},c.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||R(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||R(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||R(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||R(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},c.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||R(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeBigInt64LE=Z((function(t){return M(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeBigInt64BE=Z((function(t){return j(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeFloatLE=function(t,e,r){return N(this,t,e,!0,r)},c.prototype.writeFloatBE=function(t,e,r){return N(this,t,e,!1,r)},c.prototype.writeDoubleLE=function(t,e,r){return B(this,t,e,!0,r)},c.prototype.writeDoubleBE=function(t,e,r){return B(this,t,e,!1,r)},c.prototype.copy=function(t,e,r,n){if(!c.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i=n-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),i},c.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){var i=t.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(t=i)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var a=c.isBuffer(t)?t:c.from(t,n),s=a.length;if(0===s)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<r-e;++o)this[o+e]=a[o%s]}return this};var V={};function z(t,e,r){V[t]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name="".concat(this.name," [").concat(t,"]"),this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return"".concat(this.name," [").concat(t,"]: ").concat(this.message)}}}function q(t){for(var e="",r=t.length,n="-"===t[0]?1:0;r>=n+4;r-=3)e="_".concat(t.slice(r-3,r)).concat(e);return"".concat(t.slice(0,r)).concat(e)}function G(t,e,r,n,i,o){if(t>r||t<e){var a,s="bigint"==typeof e?"n":"";throw a=o>3?0===e||e===BigInt(0)?">= 0".concat(s," and < 2").concat(s," ** ").concat(8*(o+1)).concat(s):">= -(2".concat(s," ** ").concat(8*(o+1)-1).concat(s,") and < 2 ** ")+"".concat(8*(o+1)-1).concat(s):">= ".concat(e).concat(s," and <= ").concat(r).concat(s),new V.ERR_OUT_OF_RANGE("value",a,t)}!function(t,e,r){U(e,"offset"),void 0!==t[e]&&void 0!==t[e+r]||H(e,t.length-(r+1))}(n,i,o)}function U(t,e){if("number"!=typeof t)throw new V.ERR_INVALID_ARG_TYPE(e,"number",t)}function H(t,e,r){if(Math.floor(t)!==t)throw U(t,r),new V.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new V.ERR_BUFFER_OUT_OF_BOUNDS;throw new V.ERR_OUT_OF_RANGE(r||"offset",">= ".concat(r?1:0," and <= ").concat(e),t)}z("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?"".concat(t," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),z("ERR_INVALID_ARG_TYPE",(function(t,e){return'The "'.concat(t,'" argument must be of type number. Received type ').concat(typeof e)}),TypeError),z("ERR_OUT_OF_RANGE",(function(t,e,r){var n='The value of "'.concat(t,'" is out of range.'),i=r;return Number.isInteger(r)&&Math.abs(r)>Math.pow(2,32)?i=q(String(r)):"bigint"==typeof r&&(i=String(r),(r>Math.pow(BigInt(2),BigInt(32))||r<-Math.pow(BigInt(2),BigInt(32)))&&(i=q(i)),i+="n"),n+" It must be ".concat(e,". Received ").concat(i)}),RangeError);var $=/[^+/0-9A-Za-z-_]/g;function W(t,e){var r;e=e||1/0;for(var n=t.length,i=null,o=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function Q(t){return i.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace($,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function K(t,e,r,n){var i;for(i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function Y(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function J(t){return t!=t}var X=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}();function Z(t){return"undefined"==typeof BigInt?tt:t}function tt(){throw new Error("BigInt not supported")}},62453:(t,e,r)=>{"use strict";var n=r(15803),i=r(47426),o=i(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&o(t,".prototype.")>-1?i(r):r}},47426:(t,e,r)=>{"use strict";var n=r(11442),i=r(15803),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||n.call(a,o),l=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),p=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(t){c=null}t.exports=function(t){var e=s(n,a,arguments);return l&&c&&l(e,"length").configurable&&c(e,"length",{value:1+p(0,t.length-(arguments.length-1))}),e};var u=function(){return s(n,o,arguments)};c?c(t.exports,"apply",{value:u}):t.exports.apply=u},51266:(t,e,r)=>{var n=r(17396),i=r(24574);function o(){return(new Date).getTime()}var a,s=Array.prototype.slice,l={};a=void 0!==r.g&&r.g.console?r.g.console:"undefined"!=typeof window&&window.console?window.console:{};for(var c=[[function(){},"log"],[function(){a.log.apply(a,arguments)},"info"],[function(){a.log.apply(a,arguments)},"warn"],[function(){a.warn.apply(a,arguments)},"error"],[function(t){l[t]=o()},"time"],[function(t){var e=l[t];if(!e)throw new Error("No such label: "+t);delete l[t];var r=o()-e;a.log(t+": "+r+"ms")},"timeEnd"],[function(){var t=new Error;t.name="Trace",t.message=n.format.apply(null,arguments),a.error(t.stack)},"trace"],[function(t){a.log(n.inspect(t)+"\n")},"dir"],[function(t){if(!t){var e=s.call(arguments,1);i.ok(!1,n.format.apply(null,e))}},"assert"]],p=0;p<c.length;p++){var u=c[p],h=u[0],d=u[1];a[d]||(a[d]=h)}t.exports=a},27741:(t,e,r)=>{"use strict";var n=r(76927),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,l=r(81224)(),c=s&&l,p=function(t,e,r,n){if(e in t)if(!0===n){if(t[e]===r)return}else if("function"!=typeof(i=n)||"[object Function]"!==o.call(i)||!n())return;var i;c?s(t,e,{configurable:!0,enumerable:!1,value:r,writable:!0}):t[e]=r},u=function(t,e){var r=arguments.length>2?arguments[2]:{},o=n(e);i&&(o=a.call(o,Object.getOwnPropertySymbols(e)));for(var s=0;s<o.length;s+=1)p(t,o[s],e[o[s]],r[o[s]])};u.supportsDescriptors=!!c,t.exports=u},43566:t=>{"use strict";function e(t,e){if(null==t)throw new TypeError("Cannot convert first argument to object");for(var r=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i)for(var o=Object.keys(Object(i)),a=0,s=o.length;a<s;a++){var l=o[a],c=Object.getOwnPropertyDescriptor(i,l);void 0!==c&&c.enumerable&&(r[l]=i[l])}}return r}t.exports={assign:e,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:e})}}},10127:t=>{"use strict";t.exports=class{constructor(t){var{uri:e,name:r,type:n}=t;this.uri=e,this.name=r,this.type=n}}},51331:(t,e,r)=>{"use strict";var n=r(45625);t.exports=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n,i=new Map,o=new Map;return{clone:function t(e,n,a){var s=e;if(r(e)){s=null;var l=i.get(e);l?l.push(n):i.set(e,[n])}else{var c=Array.isArray(e)||"undefined"!=typeof FileList&&e instanceof FileList,p=e&&e.constructor===Object;if(c||p){var u=o.has(e);if(u?s=o.get(e):(s=c?[]:{},o.set(e,s)),!a.has(e)){var h=n?"".concat(n,"."):"",d=new Set(a).add(e);if(c){var f=0;for(var m of e){var g=t(m,h+f++,d);u||s.push(g)}}else for(var y in e){var v=t(e[y],h+y,d);u||(s[y]=v)}}}}return s}(t,e,new Set),files:i}}},45625:(t,e,r)=>{"use strict";var n=r(10127);t.exports=function(t){return"undefined"!=typeof File&&t instanceof File||"undefined"!=typeof Blob&&t instanceof Blob||t instanceof n}},13366:(t,e,r)=>{"use strict";var n=r(41313),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){if(!n(e))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=r),"[object Array]"===i.call(t)?function(t,e,r){for(var n=0,i=t.length;n<i;n++)o.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))}(t,e,a):"string"==typeof t?function(t,e,r){for(var n=0,i=t.length;n<i;n++)null==r?e(t.charAt(n),n,t):e.call(r,t.charAt(n),n,t)}(t,e,a):function(t,e,r){for(var n in t)o.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))}(t,e,a)}},98135:t=>{"use strict";var e=Array.prototype.slice,r=Object.prototype.toString;t.exports=function(t){var n=this;if("function"!=typeof n||"[object Function]"!==r.call(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var i,o=e.call(arguments,1),a=Math.max(0,n.length-o.length),s=[],l=0;l<a;l++)s.push("$"+l);if(i=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var r=n.apply(this,o.concat(e.call(arguments)));return Object(r)===r?r:this}return n.apply(t,o.concat(e.call(arguments)))})),n.prototype){var c=function(){};c.prototype=n.prototype,i.prototype=new c,c.prototype=null}return i}},11442:(t,e,r)=>{"use strict";var n=r(98135);t.exports=Function.prototype.bind||n},15803:(t,e,r)=>{"use strict";var n,i=SyntaxError,o=Function,a=TypeError,s=function(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(t){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(t){l=null}var c=function(){throw new a},p=l?function(){try{return c}catch(t){try{return l(arguments,"callee").get}catch(t){return c}}}():c,u=r(44439)(),h=r(94801)(),d=Object.getPrototypeOf||(h?function(t){return t.__proto__}:null),f={},m="undefined"!=typeof Uint8Array&&d?d(Uint8Array):n,g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":u&&d?d([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u&&d?d(d([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u&&d?d((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u&&d?d((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u&&d?d(""[Symbol.iterator]()):n,"%Symbol%":u?Symbol:n,"%SyntaxError%":i,"%ThrowTypeError%":p,"%TypedArray%":m,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(d)try{null.error}catch(t){var y=d(d(t));g["%Error.prototype%"]=y}var v=function t(e){var r;if("%AsyncFunction%"===e)r=s("async function () {}");else if("%GeneratorFunction%"===e)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=s("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&d&&(r=d(i.prototype))}return g[e]=r,r},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=r(11442),w=r(44106),_=x.call(Function.call,Array.prototype.concat),E=x.call(Function.apply,Array.prototype.splice),S=x.call(Function.call,String.prototype.replace),k=x.call(Function.call,String.prototype.slice),P=x.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,C=function(t,e){var r,n=t;if(w(b,n)&&(n="%"+(r=b[n])[0]+"%"),w(g,n)){var o=g[n];if(o===f&&(o=v(n)),void 0===o&&!e)throw new a("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new i("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new a('"allowMissing" argument must be a boolean');if(null===P(/^%?[^%]*%?$/,t))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=k(t,0,1),r=k(t,-1);if("%"===e&&"%"!==r)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new i("invalid intrinsic syntax, expected opening `%`");var n=[];return S(t,A,(function(t,e,r,i){n[n.length]=r?S(i,O,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",o=C("%"+n+"%",e),s=o.name,c=o.value,p=!1,u=o.alias;u&&(n=u[0],E(r,_([0,1],u)));for(var h=1,d=!0;h<r.length;h+=1){var f=r[h],m=k(f,0,1),y=k(f,-1);if(('"'===m||"'"===m||"`"===m||'"'===y||"'"===y||"`"===y)&&m!==y)throw new i("property names with quotes must have matching quotes");if("constructor"!==f&&d||(p=!0),w(g,s="%"+(n+="."+f)+"%"))c=g[s];else if(null!=c){if(!(f in c)){if(!e)throw new a("base intrinsic for "+t+" exists, but the property is not available.");return}if(l&&h+1>=r.length){var v=l(c,f);c=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:c[f]}else d=w(c,f),c=c[f];d&&!p&&(g[s]=c)}}return c}},31606:(t,e,r)=>{"use strict";var n=r(15803)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(t){n=null}t.exports=n},16682:(t,e,r)=>{"use strict";r.d(e,{HW:()=>d,J9:()=>g,Ps:()=>h,_t:()=>f,wO:()=>m});var n=r(50493),i=r(76755),o=r(51266),a=new Map,s=new Map,l=!0,c=!1;function p(t){return t.replace(/[\s,]+/g," ").trim()}function u(t){var e,r,u,h=p(t);if(!a.has(h)){var d=(0,i.Qc)(t,{experimentalFragmentVariables:c,allowLegacyFragmentVariables:c});if(!d||"Document"!==d.kind)throw new Error("Not a valid GraphQL document.");a.set(h,function(t){var e=new Set(t.definitions);e.forEach((function(t){t.loc&&delete t.loc,Object.keys(t).forEach((function(r){var n=t[r];n&&"object"==typeof n&&e.add(n)}))}));var r=t.loc;return r&&(delete r.startToken,delete r.endToken),t}((e=d,r=new Set,u=[],e.definitions.forEach((function(t){if("FragmentDefinition"===t.kind){var e=t.name.value,n=p((a=t.loc).source.body.substring(a.start,a.end)),i=s.get(e);i&&!i.has(n)?l&&o.warn("Warning: fragment with name "+e+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):i||s.set(e,i=new Set),i.add(n),r.has(n)||(r.add(n),u.push(t))}else u.push(t);var a})),(0,n.pi)((0,n.pi)({},e),{definitions:u}))))}return a.get(h)}function h(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];"string"==typeof t&&(t=[t]);var n=t[0];return e.forEach((function(e,r){e&&"Document"===e.kind?n+=e.loc.source.body:n+=e,n+=t[r+1]})),u(n)}function d(){a.clear(),s.clear()}function f(){l=!1}function m(){c=!0}function g(){c=!1}var y,v=h,b=d,x=f,w=m,_=g;(y=h||(h={})).gql=v,y.resetCaches=b,y.disableFragmentWarnings=x,y.enableExperimentalFragmentVariables=w,y.disableExperimentalFragmentVariables=_,h.default=h},81224:(t,e,r)=>{"use strict";var n=r(15803)("%Object.defineProperty%",!0),i=function(){if(n)try{return n({},"a",{value:1}),!0}catch(t){return!1}return!1};i.hasArrayLengthDefineBug=function(){if(!i())return null;try{return 1!==n([],"length",{value:1}).length}catch(t){return!0}},t.exports=i},94801:t=>{"use strict";var e={foo:{}},r=Object;t.exports=function(){return{__proto__:e}.foo===e.foo&&!({__proto__:null}instanceof r)}},44439:(t,e,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,i=r(83217);t.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},83217:t=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},44308:(t,e,r)=>{"use strict";var n=r(83217);t.exports=function(){return n()&&!!Symbol.toStringTag}},44106:(t,e,r)=>{"use strict";var n=r(11442);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},87040:(t,e)=>{e.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,c=l>>1,p=-7,u=r?i-1:0,h=r?-1:1,d=t[e+u];for(u+=h,o=d&(1<<-p)-1,d>>=-p,p+=s;p>0;o=256*o+t[e+u],u+=h,p-=8);for(a=o&(1<<-p)-1,o>>=-p,p+=n;p>0;a=256*a+t[e+u],u+=h,p-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=c}return(d?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,l,c=8*o-i-1,p=(1<<c)-1,u=p>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,f=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=p):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+u>=1?h/l:h*Math.pow(2,1-u))*l>=2&&(a++,l/=2),a+u>=p?(s=0,a=p):a+u>=1?(s=(e*l-1)*Math.pow(2,i),a+=u):(s=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+d]=255&s,d+=f,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[r+d]=255&a,d+=f,a/=256,c-=8);t[r+d-f]|=128*m}},23128:t=>{"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},81582:(t,e,r)=>{"use strict";var n=r(44308)(),i=r(62453)("Object.prototype.toString"),o=function(t){return!(n&&t&&"object"==typeof t&&Symbol.toStringTag in t)&&"[object Arguments]"===i(t)},a=function(t){return!!o(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==i(t)&&"[object Function]"===i(t.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,t.exports=s?o:a},41313:t=>{"use strict";var e,r,n=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw r}}),r={},i((function(){throw 42}),null,e)}catch(t){t!==r&&(i=null)}else i=null;var o=/^\s*class\b/,a=function(t){try{var e=n.call(t);return o.test(e)}catch(t){return!1}},s=function(t){try{return!a(t)&&(n.call(t),!0)}catch(t){return!1}},l=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,p=!(0 in[,]),u=function(){return!1};if("object"==typeof document){var h=document.all;l.call(h)===l.call(document.all)&&(u=function(t){if((p||!t)&&(void 0===t||"object"==typeof t))try{var e=l.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(t){}return!1})}t.exports=i?function(t){if(u(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;try{i(t,null,e)}catch(t){if(t!==r)return!1}return!a(t)&&s(t)}:function(t){if(u(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(c)return s(t);if(a(t))return!1;var e=l.call(t);return!("[object Function]"!==e&&"[object GeneratorFunction]"!==e&&!/^\[object HTML/.test(e))&&s(t)}},72654:(t,e,r)=>{"use strict";var n,i=Object.prototype.toString,o=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=r(44308)(),l=Object.getPrototypeOf;t.exports=function(t){if("function"!=typeof t)return!1;if(a.test(o.call(t)))return!0;if(!s)return"[object GeneratorFunction]"===i.call(t);if(!l)return!1;if(void 0===n){var e=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(t){}}();n=!!e&&l(e)}return l(t)===n}},42026:t=>{"use strict";t.exports=function(t){return t!=t}},62183:(t,e,r)=>{"use strict";var n=r(47426),i=r(27741),o=r(42026),a=r(61638),s=r(93532),l=n(a(),Number);i(l,{getPolyfill:a,implementation:o,shim:s}),t.exports=l},61638:(t,e,r)=>{"use strict";var n=r(42026);t.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:n}},93532:(t,e,r)=>{"use strict";var n=r(27741),i=r(61638);t.exports=function(){var t=i();return n(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}},11438:(t,e,r)=>{"use strict";var n=r(86967);t.exports=function(t){return!!n(t)}},26924:function(module,exports,__webpack_require__){var console=__webpack_require__(51266),factory;"undefined"!=typeof navigator&&(factory=function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var r,n,i=t.length;for(r=0;r<i;r+=1)for(var o in n=t[r].prototype)Object.prototype.hasOwnProperty.call(n,o)&&(e.prototype[o]=n[o])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].pause()},resume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].resume()},setRate:function(t){var e,r=this.audios.length;for(e=0;e<r;e+=1)this.audios[e].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):window.Howl?new window.Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(t,e){var r,n=0,i=[];switch(t){case"int16":case"uint8c":r=1;break;default:r=1.1}for(n=0;n<e;n+=1)i.push(r);return i}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(e,r){return"float32"===e?new Float32Array(r):"int16"===e?new Int16Array(r):"uint8c"===e?new Uint8ClampedArray(r):t(e,r)}:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){return _typeof$6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r=e.length;for(t=0;t<r;t+=1)BMMath[e[t]]=Math[e[t]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"===_typeof$6(t)&&t.length){var e,r=createSizedArray(t.length),n=t.length;for(e=0;e<n;e+=1)r[e]=Math.abs(t[e]);return r}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(t){_shouldRoundValues=!!t}function bmRnd(t){return _shouldRoundValues?Math.round(t):t}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,r,n){this.type=t,this.currentTime=e,this.totalTime=r,this.direction=n<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,r,n){this.type=t,this.currentLoop=r,this.totalLoops=e,this.direction=n<0?-1:1}function BMSegmentStartEvent(t,e,r){this.type=t,this.firstFrame=e,this.totalFrames=r}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}function BMAnimationConfigErrorEvent(t,e){this.type=t,this.nativeError=e}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(t,e,r){var n,i,o,a,s,l,c,p;switch(l=r*(1-e),c=r*(1-(s=6*t-(a=Math.floor(6*t)))*e),p=r*(1-(1-s)*e),a%6){case 0:n=r,i=p,o=l;break;case 1:n=c,i=r,o=l;break;case 2:n=l,i=r,o=p;break;case 3:n=l,i=c,o=r;break;case 4:n=p,i=l,o=r;break;case 5:n=r,i=l,o=c}return[n,i,o]}function RGBtoHSV(t,e,r){var n,i=Math.max(t,e,r),o=Math.min(t,e,r),a=i-o,s=0===i?0:a/i,l=i/255;switch(i){case o:n=0;break;case t:n=e-r+a*(e<r?6:0),n/=6*a;break;case e:n=r-t+2*a,n/=6*a;break;case r:n=t-e+4*a,n/=6*a}return[n,s,l]}function addSaturationToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[1]+=e,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t,e,r=[];for(t=0;t<256;t+=1)e=t.toString(16),r[t]=1===e.length?"0"+e:e;return function(t,e,n){return t<0&&(t=0),e<0&&(e=0),n<0&&(n=0),"#"+r[t]+r[e]+r[n]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t},getIdPrefix=function(){return idPrefix$1};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return _typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$5(t)}var dataManager=function(){var t,e,r=1,n=[],i={onmessage:function(){},postMessage:function(e){t({data:e})}},o={postMessage:function(t){i.onmessage({data:t})}};function a(){e||(e=function(e){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"}),n=URL.createObjectURL(r);return new Worker(n)}return t=e,i}((function(t){if(o.dataManager||(o.dataManager=function(){function t(i,o){var a,s,l,c,p,u,h,d=i.length;for(s=0;s<d;s+=1)if("ks"in(a=i[s])&&!a.completed){if(a.completed=!0,a.hasMask){var f=a.masksProperties;for(c=f.length,l=0;l<c;l+=1)if(f[l].pt.k.i)n(f[l].pt.k);else for(u=f[l].pt.k.length,p=0;p<u;p+=1)f[l].pt.k[p].s&&n(f[l].pt.k[p].s[0]),f[l].pt.k[p].e&&n(f[l].pt.k[p].e[0])}0===a.ty?(a.layers=e(a.refId,o),t(a.layers,o)):4===a.ty?r(a.shapes):5===a.ty&&(0===(h=a).t.a.length&&h.t.p)}}function e(t,e){var r=function(t,e){for(var r=0,n=e.length;r<n;){if(e[r].id===t)return e[r];r+=1}return null}(t,e);return r?r.layers.__used?JSON.parse(JSON.stringify(r.layers)):(r.layers.__used=!0,r.layers):null}function r(t){var e,i,o;for(e=t.length-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)n(t[e].ks.k);else for(o=t[e].ks.k.length,i=0;i<o;i+=1)t[e].ks.k[i].s&&n(t[e].ks.k[i].s[0]),t[e].ks.k[i].e&&n(t[e].ks.k[i].e[0]);else"gr"===t[e].ty&&r(t[e].it)}function n(t){var e,r=t.i.length;for(e=0;e<r;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function i(t,e){var r=e?e.split("."):[100,100,100];return t[0]>r[0]||!(r[0]>t[0])&&(t[1]>r[1]||!(r[1]>t[1])&&(t[2]>r[2]||!(r[2]>t[2])&&null))}var o,a=function(){var t=[4,4,14];function e(t){var e,r,n,i=t.length;for(e=0;e<i;e+=1)5===t[e].ty&&(void 0,n=(r=t[e]).t.d,r.t.d={k:[{s:n,t:0}]})}return function(r){if(i(t,r.v)&&(e(r.layers),r.assets)){var n,o=r.assets.length;for(n=0;n<o;n+=1)r.assets[n].layers&&e(r.assets[n].layers)}}}(),s=(o=[4,7,99],function(t){if(t.chars&&!i(o,t.v)){var e,n=t.chars.length;for(e=0;e<n;e+=1){var a=t.chars[e];a.data&&a.data.shapes&&(r(a.data.shapes),a.data.ip=0,a.data.op=99999,a.data.st=0,a.data.sr=1,a.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},t.chars[e].t||(a.data.shapes.push({ty:"no"}),a.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),l=function(){var t=[5,7,15];function e(t){var e,r,n=t.length;for(e=0;e<n;e+=1)5===t[e].ty&&(r=void 0,"number"==typeof(r=t[e].t.p).a&&(r.a={a:0,k:r.a}),"number"==typeof r.p&&(r.p={a:0,k:r.p}),"number"==typeof r.r&&(r.r={a:0,k:r.r}))}return function(r){if(i(t,r.v)&&(e(r.layers),r.assets)){var n,o=r.assets.length;for(n=0;n<o;n+=1)r.assets[n].layers&&e(r.assets[n].layers)}}}(),c=function(){var t=[4,1,9];function e(t){var r,n,i,o=t.length;for(r=0;r<o;r+=1)if("gr"===t[r].ty)e(t[r].it);else if("fl"===t[r].ty||"st"===t[r].ty)if(t[r].c.k&&t[r].c.k[0].i)for(i=t[r].c.k.length,n=0;n<i;n+=1)t[r].c.k[n].s&&(t[r].c.k[n].s[0]/=255,t[r].c.k[n].s[1]/=255,t[r].c.k[n].s[2]/=255,t[r].c.k[n].s[3]/=255),t[r].c.k[n].e&&(t[r].c.k[n].e[0]/=255,t[r].c.k[n].e[1]/=255,t[r].c.k[n].e[2]/=255,t[r].c.k[n].e[3]/=255);else t[r].c.k[0]/=255,t[r].c.k[1]/=255,t[r].c.k[2]/=255,t[r].c.k[3]/=255}function r(t){var r,n=t.length;for(r=0;r<n;r+=1)4===t[r].ty&&e(t[r].shapes)}return function(e){if(i(t,e.v)&&(r(e.layers),e.assets)){var n,o=e.assets.length;for(n=0;n<o;n+=1)e.assets[n].layers&&r(e.assets[n].layers)}}}(),p=function(){var t=[4,4,18];function e(t){var r,n,i;for(r=t.length-1;r>=0;r-=1)if("sh"===t[r].ty)if(t[r].ks.k.i)t[r].ks.k.c=t[r].closed;else for(i=t[r].ks.k.length,n=0;n<i;n+=1)t[r].ks.k[n].s&&(t[r].ks.k[n].s[0].c=t[r].closed),t[r].ks.k[n].e&&(t[r].ks.k[n].e[0].c=t[r].closed);else"gr"===t[r].ty&&e(t[r].it)}function r(t){var r,n,i,o,a,s,l=t.length;for(n=0;n<l;n+=1){if((r=t[n]).hasMask){var c=r.masksProperties;for(o=c.length,i=0;i<o;i+=1)if(c[i].pt.k.i)c[i].pt.k.c=c[i].cl;else for(s=c[i].pt.k.length,a=0;a<s;a+=1)c[i].pt.k[a].s&&(c[i].pt.k[a].s[0].c=c[i].cl),c[i].pt.k[a].e&&(c[i].pt.k[a].e[0].c=c[i].cl)}4===r.ty&&e(r.shapes)}}return function(e){if(i(t,e.v)&&(r(e.layers),e.assets)){var n,o=e.assets.length;for(n=0;n<o;n+=1)e.assets[n].layers&&r(e.assets[n].layers)}}}();var u={completeData:function(r){r.__complete||(c(r),a(r),s(r),l(r),p(r),t(r.layers,r.assets),function(r,n){if(r){var i=0,o=r.length;for(i=0;i<o;i+=1)1===r[i].t&&(r[i].data.layers=e(r[i].data.refId,n),t(r[i].data.layers,n))}}(r.chars,r.assets),r.__complete=!0)}};return u.checkColors=c,u.checkChars=s,u.checkPathProperties=l,u.checkShapes=p,u.completeLayers=t,u}()),o.assetLoader||(o.assetLoader=function(){function t(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"===_typeof$5(t.response)?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}return{load:function(e,r,n,i){var o,a=new XMLHttpRequest;try{a.responseType="json"}catch(t){}a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)o=t(a),n(o);else try{o=t(a),n(o)}catch(t){i&&i(t)}};try{a.open(["G","E","T"].join(""),e,!0)}catch(t){a.open(["G","E","T"].join(""),r+"/"+e,!0)}a.send()}}}()),"loadAnimation"===t.data.type)o.assetLoader.load(t.data.path,t.data.fullPath,(function(e){o.dataManager.completeData(e),o.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){o.postMessage({id:t.data.id,status:"error"})}));else if("complete"===t.data.type){var e=t.data.animation;o.dataManager.completeData(e),o.postMessage({id:t.data.id,payload:e,status:"success"})}else"loadData"===t.data.type&&o.assetLoader.load(t.data.path,t.data.fullPath,(function(e){o.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){o.postMessage({id:t.data.id,status:"error"})}))})),e.onmessage=function(t){var e=t.data,r=e.id,i=n[r];n[r]=null,"success"===e.status?i.onComplete(e.payload):i.onError&&i.onError()})}function s(t,e){var i="processId_"+(r+=1);return n[i]={onComplete:t,onError:e},i}return{loadAnimation:function(t,r,n){a();var i=s(r,n);e.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:i})},loadData:function(t,r,n){a();var i=s(r,n);e.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:i})},completeAnimation:function(t,r,n){a();var i=s(r,n);e.postMessage({type:"complete",animation:t,id:i})}}}(),ImagePreloader=function(){var t=function(){var t=createTag("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(t,e,r){var n="";if(t.e)n=t.p;else if(e){var i=t.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),n=e+i}else n=r,n+=t.u?t.u:"",n+=t.p;return n}function i(t){var e=0,r=setInterval(function(){(t.getBBox().width||e>500)&&(this._imageLoaded(),clearInterval(r)),e+=1}.bind(this),50)}function o(t){var e={assetData:t},r=n(t,this.assetsPath,this.path);return dataManager.loadData(r,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function a(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=i.bind(this),this.createFootageData=o.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return a.prototype={loadAssets:function(t,e){var r;this.imagesLoadedCb=e;var n=t.length;for(r=0;r<n;r+=1)t[r].layers||(t[r].t&&"seq"!==t[r].t?3===t[r].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[r]))):(this.totalImages+=1,this.images.push(this._createImageData(t[r]))))},setAssetsPath:function(t){this.assetsPath=t||""},setPath:function(t){this.path=t||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(t){for(var e=0,r=this.images.length;e<r;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(e){var r=n(e,this.assetsPath,this.path),i=createTag("img");i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){o.img=t,this._imageLoaded()}.bind(this),!1),i.src=r;var o={img:i,assetData:e};return o},createImageData:function(e){var r=n(e,this.assetsPath,this.path),i=createNS("image");isSafari?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){o.img=t,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",r),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i);var o={img:i,assetData:e};return o},imageLoaded:e,footageLoaded:r,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},a}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var r=this._cbs[t],n=0;n<r.length;n+=1)r[n](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){for(var r=0,n=this._cbs[t].length;r<n;)this._cbs[t][r]===e&&(this._cbs[t].splice(r,1),r-=1,n-=1),r+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var markerParser=function(){function t(t){for(var e,r=t.split("\r\n"),n={},i=0,o=0;o<r.length;o+=1)2===(e=r[o].split(":")).length&&(n[e[0]]=e[1].trim(),i+=1);if(0===i)throw new Error;return n}return function(e){for(var r=[],n=0;n<e.length;n+=1){var i=e[n],o={time:i.tm,duration:i.dr};try{o.payload=JSON.parse(e[n].cm)}catch(r){try{o.payload=t(e[n].cm)}catch(t){o.payload={name:e[n].cm}}}r.push(o)}return r}}(),ProjectInterface=function(){function t(t){this.compositions.push(t)}return function(){function e(t){for(var e=0,r=this.compositions.length;e<r;){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(t,e){renderers[t]=e};function getRenderer(t){return renderers[t]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var t in renderers)if(renderers[t])return t;return""}function _typeof$4(t){return _typeof$4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$4(t)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var r=getRenderer(e);this.renderer=new r(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||void 0===t.loop||!0===t.loop?this.loop=!0:!1===t.loop?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(t,"autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&"object"!==_typeof$4(e)&&(e=JSON.parse(e));var r={wrapper:t,animationData:e},n=t.attributes;r.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",r.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var i=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";"false"===i?r.loop=!1:"true"===i?r.loop=!0:""!==i&&(r.loop=parseInt(i,10));var o=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:!n.getNamedItem("bm-autoplay")||n.getNamedItem("bm-autoplay").value;r.autoplay="false"!==o,r.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"","false"===(n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"")&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,r,n=this.animationData.layers,i=n.length,o=t.layers,a=o.length;for(r=0;r<a;r+=1)for(e=0;e<i;){if(n[e].id===o[r].id){n[e]=o[r];break}e+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(i=t.assets.length,e=0;e<i;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(t,e){var r="number"==typeof t?t:void 0,n="number"==typeof e?e:void 0;this.renderer.updateContainerSize(r,n)},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,r=0;r<this.markers.length;r+=1)if((e=this.markers[r]).payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,r){if(!r||this.name===r){var n=Number(t);if(isNaN(n)){var i=this.getMarkerData(t);i&&this.goToAndStop(i.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,r){if(!r||this.name===r){var n=Number(t);if(isNaN(n)){var i=this.getMarkerData(t);i&&(i.duration?this.playSegments([i.time,i.time+i.duration],!0):this.goToAndStop(i.time,!0))}else this.goToAndStop(n,e,r);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,r=!1;e>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?r=t:this.currentRawFrame+this.firstFrame>e&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===_typeof$4(t[0])){var r,n=t.length;for(r=0;r<n;r+=1)this.segments.push(t[r])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(t){this.loop=t},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var r=t.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),e=this.assetsPath+r}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,r=this.assets.length;e<r;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(t,e,r){try{this.renderer.getElementByPath(t).updateDocumentData(e,r)}catch(t){}},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],r=0,n=0,i=0,o=!0,a=!1;function s(t){for(var r=0,i=t.target;r<n;)e[r].animation===i&&(e.splice(r,1),r-=1,n-=1,i.isPaused||p()),r+=1}function l(t,r){if(!t)return null;for(var i=0;i<n;){if(e[i].elem===t&&null!==e[i].elem)return e[i].animation;i+=1}var o=new AnimationItem;return u(o,t),o.setData(t,r),o}function c(){i+=1,f()}function p(){i-=1}function u(t,r){t.addEventListener("destroy",s),t.addEventListener("_active",c),t.addEventListener("_idle",p),e.push({elem:r,animation:t}),n+=1}function h(t){var s,l=t-r;for(s=0;s<n;s+=1)e[s].animation.advanceTime(l);r=t,i&&!a?window.requestAnimationFrame(h):o=!0}function d(t){r=t,window.requestAnimationFrame(h)}function f(){!a&&i&&o&&(window.requestAnimationFrame(d),o=!1)}return t.registerAnimation=l,t.loadAnimation=function(t){var e=new AnimationItem;return u(e,null),e.setParams(t),e},t.setSpeed=function(t,r){var i;for(i=0;i<n;i+=1)e[i].animation.setSpeed(t,r)},t.setDirection=function(t,r){var i;for(i=0;i<n;i+=1)e[i].animation.setDirection(t,r)},t.play=function(t){var r;for(r=0;r<n;r+=1)e[r].animation.play(t)},t.pause=function(t){var r;for(r=0;r<n;r+=1)e[r].animation.pause(t)},t.stop=function(t){var r;for(r=0;r<n;r+=1)e[r].animation.stop(t)},t.togglePause=function(t){var r;for(r=0;r<n;r+=1)e[r].animation.togglePause(t)},t.searchAnimations=function(t,e,r){var n,i=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),o=i.length;for(n=0;n<o;n+=1)r&&i[n].setAttribute("data-bm-type",r),l(i[n],t);if(e&&0===o){r||(r="svg");var a=document.getElementsByTagName("body")[0];a.innerText="";var s=createTag("div");s.style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",r),a.appendChild(s),l(s,t)}},t.resize=function(){var t;for(t=0;t<n;t+=1)e[t].animation.resize()},t.goToAndStop=function(t,r,i){var o;for(o=0;o<n;o+=1)e[o].animation.goToAndStop(t,r,i)},t.destroy=function(t){var r;for(r=n-1;r>=0;r-=1)e[r].animation.destroy(t)},t.freeze=function(){a=!0},t.unfreeze=function(){a=!1,f()},t.setVolume=function(t,r){var i;for(i=0;i<n;i+=1)e[i].animation.setVolume(t,r)},t.mute=function(t){var r;for(r=0;r<n;r+=1)e[r].animation.mute(t)},t.unmute=function(t){var r;for(r=0;r<n;r+=1)e[r].animation.unmute(t)},t.getRegisteredAnimations=function(){var t,r=e.length,n=[];for(t=0;t<r;t+=1)n.push(e[t].animation);return n},t}(),BezierFactory=function(){var t={getBezierEasing:function(t,r,n,i,o){var a=o||("bez_"+t+"_"+r+"_"+n+"_"+i).replace(/\./g,"p");if(e[a])return e[a];var s=new p([t,r,n,i]);return e[a]=s,s}},e={},r=11,n=1/(r-1),i="function"==typeof Float32Array;function o(t,e){return 1-3*e+3*t}function a(t,e){return 3*e-6*t}function s(t){return 3*t}function l(t,e,r){return((o(e,r)*t+a(e,r))*t+s(e))*t}function c(t,e,r){return 3*o(e,r)*t*t+2*a(e,r)*t+s(e)}function p(t){this._p=t,this._mSampleValues=i?new Float32Array(r):new Array(r),this._precomputed=!1,this.get=this.get.bind(this)}return p.prototype={get:function(t){var e=this._p[0],r=this._p[1],n=this._p[2],i=this._p[3];return this._precomputed||this._precompute(),e===r&&n===i?t:0===t?0:1===t?1:l(this._getTForX(t),r,i)},_precompute:function(){var t=this._p[0],e=this._p[1],r=this._p[2],n=this._p[3];this._precomputed=!0,t===e&&r===n||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;i<r;++i)this._mSampleValues[i]=l(i*n,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],o=this._mSampleValues,a=0,s=1,p=r-1;s!==p&&o[s]<=t;++s)a+=n;var u=a+(t-o[--s])/(o[s+1]-o[s])*n,h=c(u,e,i);return h>=.001?function(t,e,r,n){for(var i=0;i<4;++i){var o=c(e,r,n);if(0===o)return e;e-=(l(e,r,n)-t)/o}return e}(t,u,e,i):0===h?u:function(t,e,r,n,i){var o,a,s=0;do{(o=l(a=e+(r-e)/2,n,i)-t)>0?r=a:e=a}while(Math.abs(o)>1e-7&&++s<10);return a}(t,a,a+n,e,i)}},t}(),pooling={double:function(t){return t.concat(createSizedArray(t.length))}},poolFactory=function(t,e,r){var n=0,i=t,o=createSizedArray(i);return{newElement:function(){return n?o[n-=1]:e()},release:function(t){n===i&&(o=pooling.double(o),i*=2),r&&r(t),o[n]=t,n+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(t){var e,r=t.lengths.length;for(e=0;e<r;e+=1)bezierLengthPool.release(t.lengths[e]);t.lengths.length=0}));function bezFunction(){var t=Math;function e(t,e,r,n,i,o){var a=t*n+e*i+r*o-i*n-o*t-r*e;return a>-.001&&a<.001}var r=function(t,e,r,n){var i,o,a,s,l,c,p=getDefaultCurveSegments(),u=0,h=[],d=[],f=bezierLengthPool.newElement();for(a=r.length,i=0;i<p;i+=1){for(l=i/(p-1),c=0,o=0;o<a;o+=1)s=bmPow(1-l,3)*t[o]+3*bmPow(1-l,2)*l*r[o]+3*(1-l)*bmPow(l,2)*n[o]+bmPow(l,3)*e[o],h[o]=s,null!==d[o]&&(c+=bmPow(h[o]-d[o],2)),d[o]=h[o];c&&(u+=c=bmSqrt(c)),f.percents[i]=l,f.lengths[i]=u}return f.addedLength=u,f};function n(t){this.segmentLength=0,this.points=new Array(t)}function i(t,e){this.partialLength=t,this.point=e}var o,a=(o={},function(t,r,a,s){var l=(t[0]+"_"+t[1]+"_"+r[0]+"_"+r[1]+"_"+a[0]+"_"+a[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!o[l]){var c,p,u,h,d,f,m,g=getDefaultCurveSegments(),y=0,v=null;2===t.length&&(t[0]!==r[0]||t[1]!==r[1])&&e(t[0],t[1],r[0],r[1],t[0]+a[0],t[1]+a[1])&&e(t[0],t[1],r[0],r[1],r[0]+s[0],r[1]+s[1])&&(g=2);var b=new n(g);for(u=a.length,c=0;c<g;c+=1){for(m=createSizedArray(u),d=c/(g-1),f=0,p=0;p<u;p+=1)h=bmPow(1-d,3)*t[p]+3*bmPow(1-d,2)*d*(t[p]+a[p])+3*(1-d)*bmPow(d,2)*(r[p]+s[p])+bmPow(d,3)*r[p],m[p]=h,null!==v&&(f+=bmPow(m[p]-v[p],2));y+=f=bmSqrt(f),b.points[c]=new i(f,m),v=m}b.segmentLength=y,o[l]=b}return o[l]});function s(t,e){var r=e.percents,n=e.lengths,i=r.length,o=bmFloor((i-1)*t),a=t*e.addedLength,s=0;if(o===i-1||0===o||a===n[o])return r[o];for(var l=n[o]>a?-1:1,c=!0;c;)if(n[o]<=a&&n[o+1]>a?(s=(a-n[o])/(n[o+1]-n[o]),c=!1):o+=l,o<0||o>=i-1){if(o===i-1)return r[o];c=!1}return r[o]+(r[o+1]-r[o])*s}var l=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,n=segmentsLengthPool.newElement(),i=t.c,o=t.v,a=t.o,s=t.i,l=t._length,c=n.lengths,p=0;for(e=0;e<l-1;e+=1)c[e]=r(o[e],o[e+1],a[e],s[e+1]),p+=c[e].addedLength;return i&&l&&(c[e]=r(o[e],o[0],a[e],s[0]),p+=c[e].addedLength),n.totalLength=p,n},getNewSegment:function(e,r,n,i,o,a,c){o<0?o=0:o>1&&(o=1);var p,u=s(o,c),h=s(a=a>1?1:a,c),d=e.length,f=1-u,m=1-h,g=f*f*f,y=u*f*f*3,v=u*u*f*3,b=u*u*u,x=f*f*m,w=u*f*m+f*u*m+f*f*h,_=u*u*m+f*u*h+u*f*h,E=u*u*h,S=f*m*m,k=u*m*m+f*h*m+f*m*h,P=u*h*m+f*h*h+u*m*h,A=u*h*h,O=m*m*m,C=h*m*m+m*h*m+m*m*h,T=h*h*m+m*h*h+h*m*h,I=h*h*h;for(p=0;p<d;p+=1)l[4*p]=t.round(1e3*(g*e[p]+y*n[p]+v*i[p]+b*r[p]))/1e3,l[4*p+1]=t.round(1e3*(x*e[p]+w*n[p]+_*i[p]+E*r[p]))/1e3,l[4*p+2]=t.round(1e3*(S*e[p]+k*n[p]+P*i[p]+A*r[p]))/1e3,l[4*p+3]=t.round(1e3*(O*e[p]+C*n[p]+T*i[p]+I*r[p]))/1e3;return l},getPointInSegment:function(e,r,n,i,o,a){var l=s(o,a),c=1-l;return[t.round(1e3*(c*c*c*e[0]+(l*c*c+c*l*c+c*c*l)*n[0]+(l*l*c+c*l*l+l*c*l)*i[0]+l*l*l*r[0]))/1e3,t.round(1e3*(c*c*c*e[1]+(l*c*c+c*l*c+c*c*l)*n[1]+(l*l*c+c*l*l+l*c*l)*i[1]+l*l*l*r[1]))/1e3]},buildBezierData:a,pointOnLine2D:e,pointOnLine3D:function(r,n,i,o,a,s,l,c,p){if(0===i&&0===s&&0===p)return e(r,n,o,a,l,c);var u,h=t.sqrt(t.pow(o-r,2)+t.pow(a-n,2)+t.pow(s-i,2)),d=t.sqrt(t.pow(l-r,2)+t.pow(c-n,2)+t.pow(p-i,2)),f=t.sqrt(t.pow(l-o,2)+t.pow(c-a,2)+t.pow(p-s,2));return(u=h>d?h>f?h-d-f:f-d-h:f>d?f-d-h:d-h-f)>-1e-4&&u<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var r,n=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var i,o,a,s,l,c,p,u,h,d=e.lastIndex,f=d,m=this.keyframes.length-1,g=!0;g;){if(i=this.keyframes[f],o=this.keyframes[f+1],f===m-1&&t>=o.t-n){i.h&&(i=o),d=0;break}if(o.t-n>t){d=f;break}f<m-1?f+=1:(d=0,g=!1)}a=this.keyframesMetadata[f]||{};var y,v=o.t-n,b=i.t-n;if(i.to){a.bezierData||(a.bezierData=bez.buildBezierData(i.s,o.s||i.e,i.to,i.ti));var x=a.bezierData;if(t>=v||t<b){var w=t>=v?x.points.length-1:0;for(l=x.points[w].point.length,s=0;s<l;s+=1)r[s]=x.points[w].point[s]}else{a.__fnct?h=a.__fnct:(h=BezierFactory.getBezierEasing(i.o.x,i.o.y,i.i.x,i.i.y,i.n).get,a.__fnct=h),c=h((t-b)/(v-b));var _,E=x.segmentLength*c,S=e.lastFrame<t&&e._lastKeyframeIndex===f?e._lastAddedLength:0;for(u=e.lastFrame<t&&e._lastKeyframeIndex===f?e._lastPoint:0,g=!0,p=x.points.length;g;){if(S+=x.points[u].partialLength,0===E||0===c||u===x.points.length-1){for(l=x.points[u].point.length,s=0;s<l;s+=1)r[s]=x.points[u].point[s];break}if(E>=S&&E<S+x.points[u+1].partialLength){for(_=(E-S)/x.points[u+1].partialLength,l=x.points[u].point.length,s=0;s<l;s+=1)r[s]=x.points[u].point[s]+(x.points[u+1].point[s]-x.points[u].point[s])*_;break}u<p-1?u+=1:g=!1}e._lastPoint=u,e._lastAddedLength=S-x.points[u].partialLength,e._lastKeyframeIndex=f}}else{var k,P,A,O,C;if(m=i.s.length,y=o.s||i.e,this.sh&&1!==i.h)t>=v?(r[0]=y[0],r[1]=y[1],r[2]=y[2]):t<=b?(r[0]=i.s[0],r[1]=i.s[1],r[2]=i.s[2]):quaternionToEuler(r,slerp(createQuaternion(i.s),createQuaternion(y),(t-b)/(v-b)));else for(f=0;f<m;f+=1)1!==i.h&&(t>=v?c=1:t<b?c=0:(i.o.x.constructor===Array?(a.__fnct||(a.__fnct=[]),a.__fnct[f]?h=a.__fnct[f]:(k=void 0===i.o.x[f]?i.o.x[0]:i.o.x[f],P=void 0===i.o.y[f]?i.o.y[0]:i.o.y[f],A=void 0===i.i.x[f]?i.i.x[0]:i.i.x[f],O=void 0===i.i.y[f]?i.i.y[0]:i.i.y[f],h=BezierFactory.getBezierEasing(k,P,A,O).get,a.__fnct[f]=h)):a.__fnct?h=a.__fnct:(k=i.o.x,P=i.o.y,A=i.i.x,O=i.i.y,h=BezierFactory.getBezierEasing(k,P,A,O).get,i.keyframeMetadata=h),c=h((t-b)/(v-b)))),y=o.s||i.e,C=1===i.h?i.s[f]:i.s[f]+(y[f]-i.s[f])*c,"multidimensional"===this.propType?r[f]=C:r=C}return e.lastIndex=d,r}function slerp(t,e,r){var n,i,o,a,s,l=[],c=t[0],p=t[1],u=t[2],h=t[3],d=e[0],f=e[1],m=e[2],g=e[3];return(i=c*d+p*f+u*m+h*g)<0&&(i=-i,d=-d,f=-f,m=-m,g=-g),1-i>1e-6?(n=Math.acos(i),o=Math.sin(n),a=Math.sin((1-r)*n)/o,s=Math.sin(r*n)/o):(a=1-r,s=r),l[0]=a*c+s*d,l[1]=a*p+s*f,l[2]=a*u+s*m,l[3]=a*h+s*g,l}function quaternionToEuler(t,e){var r=e[0],n=e[1],i=e[2],o=e[3],a=Math.atan2(2*n*o-2*r*i,1-2*n*n-2*i*i),s=Math.asin(2*r*n+2*i*o),l=Math.atan2(2*r*o-2*n*i,1-2*r*r-2*i*i);t[0]=a/degToRads,t[1]=s/degToRads,t[2]=l/degToRads}function createQuaternion(t){var e=t[0]*degToRads,r=t[1]*degToRads,n=t[2]*degToRads,i=Math.cos(e/2),o=Math.cos(r/2),a=Math.cos(n/2),s=Math.sin(e/2),l=Math.sin(r/2),c=Math.sin(n/2);return[s*l*a+i*o*c,s*o*a+i*l*c,i*l*a-s*o*c,i*o*a-s*l*c]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&t>=r||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(t,this._caching);this.pv=n}return this._caching.lastFrame=t,this.pv}function setVValue(t){var e;if("unidimensional"===this.propType)e=t*this.mult,mathAbs(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var r=0,n=this.v.length;r<n;)e=t[r]*this.mult,mathAbs(this.v[r]-e)>1e-5&&(this.v[r]=e,this._mdf=!0),r+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)r=this.effectsSequence[t](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function ValueProperty(t,e,r,n){this.propType="unidimensional",this.mult=r||1,this.data=e,this.v=r?e.k*r:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=n,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(t,e,r,n){var i;this.propType="multidimensional",this.mult=r||1,this.data=e,this._mdf=!1,this.elem=t,this.container=n,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o=e.k.length;for(this.v=createTypedArray("float32",o),this.pv=createTypedArray("float32",o),this.vel=createTypedArray("float32",o),i=0;i<o;i+=1)this.v[i]=e.k[i]*this.mult,this.pv[i]=e.k[i];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(t,e,r,n){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=r||1,this.elem=t,this.container=n,this.comp=t.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(t,e,r,n){var i;this.propType="multidimensional";var o,a,s,l,c=e.k.length;for(i=0;i<c-1;i+=1)e.k[i].to&&e.k[i].s&&e.k[i+1]&&e.k[i+1].s&&(o=e.k[i].s,a=e.k[i+1].s,s=e.k[i].to,l=e.k[i].ti,(2===o.length&&(o[0]!==a[0]||o[1]!==a[1])&&bez.pointOnLine2D(o[0],o[1],a[0],a[1],o[0]+s[0],o[1]+s[1])&&bez.pointOnLine2D(o[0],o[1],a[0],a[1],a[0]+l[0],a[1]+l[1])||3===o.length&&(o[0]!==a[0]||o[1]!==a[1]||o[2]!==a[2])&&bez.pointOnLine3D(o[0],o[1],o[2],a[0],a[1],a[2],o[0]+s[0],o[1]+s[1],o[2]+s[2])&&bez.pointOnLine3D(o[0],o[1],o[2],a[0],a[1],a[2],a[0]+l[0],a[1]+l[1],a[2]+l[2]))&&(e.k[i].to=null,e.k[i].ti=null),o[0]===a[0]&&o[1]===a[1]&&0===s[0]&&0===s[1]&&0===l[0]&&0===l[1]&&(2===o.length||o[2]===a[2]&&0===s[2]&&0===l[2])&&(e.k[i].to=null,e.k[i].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=e,this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=t,this.container=n,this.comp=t.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var p=e.k[0].s.length;for(this.v=createTypedArray("float32",p),this.pv=createTypedArray("float32",p),i=0;i<p;i+=1)this.v[i]=initFrame,this.pv[i]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",p)},this.addEffect=addEffect}var PropertyFactory={getProp:function(t,e,r,n,i){var o;if(e.sid&&(e=t.globalData.slotManager.getProp(e)),e.k.length)if("number"==typeof e.k[0])o=new MultiDimensionalProperty(t,e,n,i);else switch(r){case 0:o=new KeyframedValueProperty(t,e,n,i);break;case 1:o=new KeyframedMultidimensionalProperty(t,e,n,i)}else o=new ValueProperty(t,e,n,i);return o.effectsSequence.length&&i.addDynamicProperty(o),o}};function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var t;this._mdf=!1;var e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var r=0;r<e;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,r,n,i){var o;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[]}(!o[n]||o[n]&&!i)&&(o[n]=pointPool.newElement()),o[n][0]=t,o[n][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,n,i,o,a,s){this.setXYAt(t,e,"v",a,s),this.setXYAt(r,n,"o",a,s),this.setXYAt(i,o,"i",a,s)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,n=this.i,i=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),i=1);var o,a=this._length-1,s=this._length;for(o=i;o<s;o+=1)t.setTripleAt(e[a][0],e[a][1],n[a][0],n[a][1],r[a][0],r[a][1],o,!1),a-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(t){var e,r=t._length;for(e=0;e<r;e+=1)pointPool.release(t.v[e]),pointPool.release(t.i[e]),pointPool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1})),factory.clone=function(t){var e,r=factory.newElement(),n=void 0===t._length?t.v.length:t._length;for(r.setLength(n),r.c=t.c,e=0;e<n;e+=1)r.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return r},factory),factory;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(t){var e,r=t._length;for(e=0;e<r;e+=1)shapePool.release(t.shapes[e]);t._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=t,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ob,_length,_maxLength,pool,ShapePropertyFactory=function(){var t=-999999;function e(t,e,r){var n,i,o,a,s,l,c,p,u,h=r.lastIndex,d=this.keyframes;if(t<d[0].t-this.offsetTime)n=d[0].s[0],o=!0,h=0;else if(t>=d[d.length-1].t-this.offsetTime)n=d[d.length-1].s?d[d.length-1].s[0]:d[d.length-2].e[0],o=!0;else{for(var f,m,g,y=h,v=d.length-1,b=!0;b&&(f=d[y],!((m=d[y+1]).t-this.offsetTime>t));)y<v-1?y+=1:b=!1;if(g=this.keyframesMetadata[y]||{},h=y,!(o=1===f.h)){if(t>=m.t-this.offsetTime)p=1;else if(t<f.t-this.offsetTime)p=0;else{var x;g.__fnct?x=g.__fnct:(x=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,g.__fnct=x),p=x((t-(f.t-this.offsetTime))/(m.t-this.offsetTime-(f.t-this.offsetTime)))}i=m.s?m.s[0]:f.e[0]}n=f.s[0]}for(l=e._length,c=n.i[0].length,r.lastIndex=h,a=0;a<l;a+=1)for(s=0;s<c;s+=1)u=o?n.i[a][s]:n.i[a][s]+(i.i[a][s]-n.i[a][s])*p,e.i[a][s]=u,u=o?n.o[a][s]:n.o[a][s]+(i.o[a][s]-n.o[a][s])*p,e.o[a][s]=u,u=o?n.v[a][s]:n.v[a][s]+(i.v[a][s]-n.v[a][s])*p,e.v[a][s]=u}function r(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime,i=this._caching.lastFrame;return i!==t&&(i<r&&e<r||i>n&&e>n)||(this._caching.lastIndex=i<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function n(){this.paths=this.localShapeCollection}function i(t){(function(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var r,n=t._length;for(r=0;r<n;r+=1)if(t.v[r][0]!==e.v[r][0]||t.v[r][1]!==e.v[r][1]||t.o[r][0]!==e.o[r][0]||t.o[r][1]!==e.o[r][1]||t.i[r][0]!==e.i[r][0]||t.i[r][1]!==e.i[r][1])return!1;return!0})(this.v,t)||(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function o(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t,e;this.lock=!0,this._mdf=!1,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var r=this.effectsSequence.length;for(e=0;e<r;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function a(t,e,r){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var i=3===r?e.pt.k:e.ks.k;this.v=shapePool.clone(i),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function s(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function l(e,i,o){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===o?i.pt.k:i.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var a=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,a),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=n,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[r.bind(this)]}a.prototype.interpolateShape=e,a.prototype.getValue=o,a.prototype.setVValue=i,a.prototype.addEffect=s,l.prototype.getValue=o,l.prototype.interpolateShape=e,l.prototype.setVValue=i,l.prototype.addEffect=s;var c=function(){var t=roundCorner;function e(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var e=this.p.v[0],r=this.p.v[1],n=this.s.v[0]/2,i=this.s.v[1]/2,o=3!==this.d,a=this.v;a.v[0][0]=e,a.v[0][1]=r-i,a.v[1][0]=o?e+n:e-n,a.v[1][1]=r,a.v[2][0]=e,a.v[2][1]=r+i,a.v[3][0]=o?e-n:e+n,a.v[3][1]=r,a.i[0][0]=o?e-n*t:e+n*t,a.i[0][1]=r-i,a.i[1][0]=o?e+n:e-n,a.i[1][1]=r-i*t,a.i[2][0]=o?e+n*t:e-n*t,a.i[2][1]=r+i,a.i[3][0]=o?e-n:e+n,a.i[3][1]=r+i*t,a.o[0][0]=o?e+n*t:e-n*t,a.o[0][1]=r-i,a.o[1][0]=o?e+n:e-n,a.o[1][1]=r+i*t,a.o[2][0]=o?e-n*t:e+n*t,a.o[2][1]=r+i,a.o[3][0]=o?e-n:e+n,a.o[3][1]=r-i*t}},extendPrototype([DynamicPropertyContainer],e),e}(),p=function(){function t(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=PropertyFactory.getProp(t,e.ir,0,0,this),this.is=PropertyFactory.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,r,n,i=2*Math.floor(this.pt.v),o=2*Math.PI/i,a=!0,s=this.or.v,l=this.ir.v,c=this.os.v,p=this.is.v,u=2*Math.PI*s/(2*i),h=2*Math.PI*l/(2*i),d=-Math.PI/2;d+=this.r.v;var f=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<i;t+=1){r=a?c:p,n=a?u:h;var m=(e=a?s:l)*Math.cos(d),g=e*Math.sin(d),y=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),v=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-y*n*r*f,g-v*n*r*f,m+y*n*r*f,g+v*n*r*f,t,!0),a=!a,d+=o*f}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),r=2*Math.PI/e,n=this.or.v,i=this.os.v,o=2*Math.PI*n/(4*e),a=.5*-Math.PI,s=3===this.data.d?-1:1;for(a+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var l=n*Math.cos(a),c=n*Math.sin(a),p=0===l&&0===c?0:c/Math.sqrt(l*l+c*c),u=0===l&&0===c?0:-l/Math.sqrt(l*l+c*c);l+=+this.p.v[0],c+=+this.p.v[1],this.v.setTripleAt(l,c,l-p*o*i*s,c-u*o*i*s,l+p*o*i*s,c+u*o*i*s,t,!0),a+=r*s}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),u=function(){function t(t,e){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],r=this.s.v[0]/2,n=this.s.v[1]/2,i=bmMin(r,n,this.r.v),o=i*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+r,e-n+i,t+r,e-n+i,t+r,e-n+o,0,!0),this.v.setTripleAt(t+r,e+n-i,t+r,e+n-o,t+r,e+n-i,1,!0),0!==i?(this.v.setTripleAt(t+r-i,e+n,t+r-i,e+n,t+r-o,e+n,2,!0),this.v.setTripleAt(t-r+i,e+n,t-r+o,e+n,t-r+i,e+n,3,!0),this.v.setTripleAt(t-r,e+n-i,t-r,e+n-i,t-r,e+n-o,4,!0),this.v.setTripleAt(t-r,e-n+i,t-r,e-n+o,t-r,e-n+i,5,!0),this.v.setTripleAt(t-r+i,e-n,t-r+i,e-n,t-r+o,e-n,6,!0),this.v.setTripleAt(t+r-i,e-n,t+r-o,e-n,t+r-i,e-n,7,!0)):(this.v.setTripleAt(t-r,e+n,t-r+o,e+n,t-r,e+n,2),this.v.setTripleAt(t-r,e-n,t-r,e-n+o,t-r,e-n,3))):(this.v.setTripleAt(t+r,e-n+i,t+r,e-n+o,t+r,e-n+i,0,!0),0!==i?(this.v.setTripleAt(t+r-i,e-n,t+r-i,e-n,t+r-o,e-n,1,!0),this.v.setTripleAt(t-r+i,e-n,t-r+o,e-n,t-r+i,e-n,2,!0),this.v.setTripleAt(t-r,e-n+i,t-r,e-n+i,t-r,e-n+o,3,!0),this.v.setTripleAt(t-r,e+n-i,t-r,e+n-o,t-r,e+n-i,4,!0),this.v.setTripleAt(t-r+i,e+n,t-r+i,e+n,t-r+o,e+n,5,!0),this.v.setTripleAt(t+r-i,e+n,t+r-o,e+n,t+r-i,e+n,6,!0),this.v.setTripleAt(t+r,e+n-i,t+r,e+n-i,t+r,e+n-o,7,!0)):(this.v.setTripleAt(t-r,e-n,t-r+o,e-n,t-r,e-n,1,!0),this.v.setTripleAt(t-r,e+n,t-r,e+n-o,t-r,e+n,2,!0),this.v.setTripleAt(t+r,e+n,t+r-o,e+n,t+r,e+n,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},extendPrototype([DynamicPropertyContainer],t),t}();return{getShapeProp:function(t,e,r){var n;return 3===r||4===r?n=(3===r?e.pt:e.ks).k.length?new l(t,e,r):new a(t,e,r):5===r?n=new u(t,e):6===r?n=new c(t,e):7===r&&(n=new p(t,e)),n.k&&t.addDynamicProperty(n),n},getConstructorFunction:function(){return a},getKeyframedConstructorFunction:function(){return l}}}(),Matrix=function(){var t=Math.cos,e=Math.sin,r=Math.tan,n=Math.round;function i(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function o(r){if(0===r)return this;var n=t(r),i=e(r);return this._t(n,-i,0,0,i,n,0,0,0,0,1,0,0,0,0,1)}function a(r){if(0===r)return this;var n=t(r),i=e(r);return this._t(1,0,0,0,0,n,-i,0,0,i,n,0,0,0,0,1)}function s(r){if(0===r)return this;var n=t(r),i=e(r);return this._t(n,0,i,0,0,1,0,0,-i,0,n,0,0,0,0,1)}function l(r){if(0===r)return this;var n=t(r),i=e(r);return this._t(n,-i,0,0,i,n,0,0,0,0,1,0,0,0,0,1)}function c(t,e){return this._t(1,e,t,1,0,0)}function p(t,e){return this.shear(r(t),r(e))}function u(n,i){var o=t(i),a=e(i);return this._t(o,a,0,0,-a,o,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(n),1,0,0,0,0,1,0,0,0,0,1)._t(o,-a,0,0,a,o,0,0,0,0,1,0,0,0,0,1)}function h(t,e,r){return r||0===r||(r=1),1===t&&1===e&&1===r?this:this._t(t,0,0,0,0,e,0,0,0,0,r,0,0,0,0,1)}function d(t,e,r,n,i,o,a,s,l,c,p,u,h,d,f,m){return this.props[0]=t,this.props[1]=e,this.props[2]=r,this.props[3]=n,this.props[4]=i,this.props[5]=o,this.props[6]=a,this.props[7]=s,this.props[8]=l,this.props[9]=c,this.props[10]=p,this.props[11]=u,this.props[12]=h,this.props[13]=d,this.props[14]=f,this.props[15]=m,this}function f(t,e,r){return r=r||0,0!==t||0!==e||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,r,1):this}function m(t,e,r,n,i,o,a,s,l,c,p,u,h,d,f,m){var g=this.props;if(1===t&&0===e&&0===r&&0===n&&0===i&&1===o&&0===a&&0===s&&0===l&&0===c&&1===p&&0===u)return g[12]=g[12]*t+g[15]*h,g[13]=g[13]*o+g[15]*d,g[14]=g[14]*p+g[15]*f,g[15]*=m,this._identityCalculated=!1,this;var y=g[0],v=g[1],b=g[2],x=g[3],w=g[4],_=g[5],E=g[6],S=g[7],k=g[8],P=g[9],A=g[10],O=g[11],C=g[12],T=g[13],I=g[14],D=g[15];return g[0]=y*t+v*i+b*l+x*h,g[1]=y*e+v*o+b*c+x*d,g[2]=y*r+v*a+b*p+x*f,g[3]=y*n+v*s+b*u+x*m,g[4]=w*t+_*i+E*l+S*h,g[5]=w*e+_*o+E*c+S*d,g[6]=w*r+_*a+E*p+S*f,g[7]=w*n+_*s+E*u+S*m,g[8]=k*t+P*i+A*l+O*h,g[9]=k*e+P*o+A*c+O*d,g[10]=k*r+P*a+A*p+O*f,g[11]=k*n+P*s+A*u+O*m,g[12]=C*t+T*i+I*l+D*h,g[13]=C*e+T*o+I*c+D*d,g[14]=C*r+T*a+I*p+D*f,g[15]=C*n+T*s+I*u+D*m,this._identityCalculated=!1,this}function g(t){var e=t.props;return this.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}function y(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function v(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function b(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function x(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function w(t,e,r){return{x:t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}}function _(t,e,r){return t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12]}function E(t,e,r){return t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13]}function S(t,e,r){return t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}function k(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,r=-this.props[1]/t,n=-this.props[4]/t,i=this.props[0]/t,o=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,a=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,s=new Matrix;return s.props[0]=e,s.props[1]=r,s.props[4]=n,s.props[5]=i,s.props[12]=o,s.props[13]=a,s}function P(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function A(t){var e,r=t.length,n=[];for(e=0;e<r;e+=1)n[e]=P(t[e]);return n}function O(t,e,r){var n=createTypedArray("float32",6);if(this.isIdentity())n[0]=t[0],n[1]=t[1],n[2]=e[0],n[3]=e[1],n[4]=r[0],n[5]=r[1];else{var i=this.props[0],o=this.props[1],a=this.props[4],s=this.props[5],l=this.props[12],c=this.props[13];n[0]=t[0]*i+t[1]*a+l,n[1]=t[0]*o+t[1]*s+c,n[2]=e[0]*i+e[1]*a+l,n[3]=e[0]*o+e[1]*s+c,n[4]=r[0]*i+r[1]*a+l,n[5]=r[0]*o+r[1]*s+c}return n}function C(t,e,r){return this.isIdentity()?[t,e,r]:[t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]]}function T(t,e){if(this.isIdentity())return t+","+e;var r=this.props;return Math.round(100*(t*r[0]+e*r[4]+r[12]))/100+","+Math.round(100*(t*r[1]+e*r[5]+r[13]))/100}function I(){for(var t=0,e=this.props,r="matrix3d(";t<16;)r+=n(1e4*e[t])/1e4,r+=15===t?")":",",t+=1;return r}function D(t){return t<1e-6&&t>0||t>-1e-6&&t<0?n(1e4*t)/1e4:t}function F(){var t=this.props;return"matrix("+D(t[0])+","+D(t[1])+","+D(t[4])+","+D(t[5])+","+D(t[12])+","+D(t[13])+")"}return function(){this.reset=i,this.rotate=o,this.rotateX=a,this.rotateY=s,this.rotateZ=l,this.skew=p,this.skewFromAxis=u,this.shear=c,this.scale=h,this.setTransform=d,this.translate=f,this.transform=m,this.multiply=g,this.applyToPoint=w,this.applyToX=_,this.applyToY=E,this.applyToZ=S,this.applyToPointArray=C,this.applyToTriplePoints=O,this.applyToPointStringified=T,this.toCSS=I,this.to2dCSS=F,this.clone=b,this.cloneFromProps=x,this.equals=v,this.inversePoints=A,this.inversePoint=P,this.getInverseMatrix=k,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){return _typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$3(t)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(t){setLocationHref(t)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"==typeof t)switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(t,e){"expressions"===t&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),r=0;r<e.length;r+=1){var n=e[r].split("=");if(decodeURIComponent(n[0])==t)return decodeURIComponent(n[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&__webpack_require__.amdO}catch(t){}var ShapeModifiers=function(){var t={},e={};return t.registerModifier=function(t,r){e[t]||(e[t]=r)},t.getModifier=function(t,r,n){return new e[t](r,n)},t}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,r,n,i){var o=[];e<=1?o.push({s:t,e}):t>=1?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1}));var a,s,l=[],c=o.length;for(a=0;a<c;a+=1){var p,u;(s=o[a]).e*i<n||s.s*i>n+r||(p=s.s*i<=n?0:(s.s*i-n)/r,u=s.e*i>=n+r?1:(s.e*i-n)/r,l.push([p,u]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e<r;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,r,n,i;if(this._mdf||t){var o=this.o.v%360/360;if(o<0&&(o+=1),(e=this.s.v>1?1+o:this.s.v<0?0+o:this.s.v+o)>(r=this.e.v>1?1+o:this.e.v<0?0+o:this.e.v+o)){var a=e;e=r,r=a}e=1e-4*Math.round(1e4*e),r=1e-4*Math.round(1e4*r),this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var s,l,c,p,u,h=this.shapes.length,d=0;if(r===e)for(i=0;i<h;i+=1)this.shapes[i].localShapeCollection.releaseShapes(),this.shapes[i].shape._mdf=!0,this.shapes[i].shape.paths=this.shapes[i].localShapeCollection,this._mdf&&(this.shapes[i].pathsData.length=0);else if(1===r&&0===e||0===r&&1===e){if(this._mdf)for(i=0;i<h;i+=1)this.shapes[i].pathsData.length=0,this.shapes[i].shape._mdf=!0}else{var f,m,g=[];for(i=0;i<h;i+=1)if((f=this.shapes[i]).shape._mdf||this._mdf||t||2===this.m){if(l=(n=f.shape.paths)._length,u=0,!f.shape._mdf&&f.pathsData.length)u=f.totalShapeLength;else{for(c=this.releasePathsData(f.pathsData),s=0;s<l;s+=1)p=bez.getSegmentsLength(n.shapes[s]),c.push(p),u+=p.totalLength;f.totalShapeLength=u,f.pathsData=c}d+=u,f.shape._mdf=!0}else f.shape.paths=f.localShapeCollection;var y,v=e,b=r,x=0;for(i=h-1;i>=0;i-=1)if((f=this.shapes[i]).shape._mdf){for((m=f.localShapeCollection).releaseShapes(),2===this.m&&h>1?(y=this.calculateShapeEdges(e,r,f.totalShapeLength,x,d),x+=f.totalShapeLength):y=[[v,b]],l=y.length,s=0;s<l;s+=1){v=y[s][0],b=y[s][1],g.length=0,b<=1?g.push({s:f.totalShapeLength*v,e:f.totalShapeLength*b}):v>=1?g.push({s:f.totalShapeLength*(v-1),e:f.totalShapeLength*(b-1)}):(g.push({s:f.totalShapeLength*v,e:f.totalShapeLength}),g.push({s:0,e:f.totalShapeLength*(b-1)}));var w=this.addShapes(f,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(f.shape.paths.shapes[f.shape.paths._length-1].c){var _=w.pop();this.addPaths(w,m),w=this.addShapes(f,g[1],_)}else this.addPaths(w,m),w=this.addShapes(f,g[1]);this.addPaths(w,m)}}f.shape.paths=m}}},TrimModifier.prototype.addPaths=function(t,e){var r,n=t.length;for(r=0;r<n;r+=1)e.addShape(t[r])},TrimModifier.prototype.addSegment=function(t,e,r,n,i,o,a){i.setXYAt(e[0],e[1],"o",o),i.setXYAt(r[0],r[1],"i",o+1),a&&i.setXYAt(t[0],t[1],"v",o),i.setXYAt(n[0],n[1],"v",o+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,r,n){e.setXYAt(t[1],t[5],"o",r),e.setXYAt(t[2],t[6],"i",r+1),n&&e.setXYAt(t[0],t[4],"v",r),e.setXYAt(t[3],t[7],"v",r+1)},TrimModifier.prototype.addShapes=function(t,e,r){var n,i,o,a,s,l,c,p,u=t.pathsData,h=t.shape.paths.shapes,d=t.shape.paths._length,f=0,m=[],g=!0;for(r?(s=r._length,p=r._length):(r=shapePool.newElement(),s=0,p=0),m.push(r),n=0;n<d;n+=1){for(l=u[n].lengths,r.c=h[n].c,o=h[n].c?l.length:l.length+1,i=1;i<o;i+=1)if(f+(a=l[i-1]).addedLength<e.s)f+=a.addedLength,r.c=!1;else{if(f>e.e){r.c=!1;break}e.s<=f&&e.e>=f+a.addedLength?(this.addSegment(h[n].v[i-1],h[n].o[i-1],h[n].i[i],h[n].v[i],r,s,g),g=!1):(c=bez.getNewSegment(h[n].v[i-1],h[n].v[i],h[n].o[i-1],h[n].i[i],(e.s-f)/a.addedLength,(e.e-f)/a.addedLength,l[i-1]),this.addSegmentFromArray(c,r,s,g),g=!1,r.c=!1),f+=a.addedLength,s+=1}if(h[n].c&&l.length){if(a=l[i-1],f<=e.e){var y=l[i-1].addedLength;e.s<=f&&e.e>=f+y?(this.addSegment(h[n].v[i-1],h[n].o[i-1],h[n].i[0],h[n].v[0],r,s,g),g=!1):(c=bez.getNewSegment(h[n].v[i-1],h[n].v[0],h[n].o[i-1],h[n].i[0],(e.s-f)/y,(e.e-f)/y,l[i-1]),this.addSegmentFromArray(c,r,s,g),g=!1,r.c=!1)}else r.c=!1;f+=a.addedLength,s+=1}if(r._length&&(r.setXYAt(r.v[p][0],r.v[p][1],"i",p),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),f>e.e)break;n<d-1&&(r=shapePool.newElement(),g=!0,m.push(r),s=0)}return m},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var r=e/100,n=[0,0],i=t._length,o=0;for(o=0;o<i;o+=1)n[0]+=t.v[o][0],n[1]+=t.v[o][1];n[0]/=i,n[1]/=i;var a,s,l,c,p,u,h=shapePool.newElement();for(h.c=t.c,o=0;o<i;o+=1)a=t.v[o][0]+(n[0]-t.v[o][0])*r,s=t.v[o][1]+(n[1]-t.v[o][1])*r,l=t.o[o][0]+(n[0]-t.o[o][0])*-r,c=t.o[o][1]+(n[1]-t.o[o][1])*-r,p=t.i[o][0]+(n[0]-t.i[o][0])*-r,u=t.i[o][1]+(n[1]-t.i[o][1])*-r,h.setTripleAt(a,s,l,c,p,u,o);return h},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,r,n,i,o,a,s=this.shapes.length,l=this.amount.v;if(0!==l)for(r=0;r<s;r+=1){if(a=(o=this.shapes[r]).localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,i=o.shape.paths._length,n=0;n<i;n+=1)a.addShape(this.processPath(e[n],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(t,e,r){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||t),e.p&&e.p.s?(this.px=PropertyFactory.getProp(t,e.p.x,0,0,this),this.py=PropertyFactory.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=PropertyFactory.getProp(t,e.p.z,0,0,this))):this.p=PropertyFactory.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=PropertyFactory.getProp(t,e.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(t,e.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(t,e.rz,0,degToRads,this),e.or.k[0].ti){var n,i=e.or.k.length;for(n=0;n<i;n+=1)e.or.k[n].to=null,e.or.k[n].ti=null}this.or=PropertyFactory.getProp(t,e.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(t,e.r||{k:0},0,degToRads,this);e.sk&&(this.sk=PropertyFactory.getProp(t,e.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(t,e.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=PropertyFactory.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return e.prototype={applyToMatrix:function(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){var r;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var n,i;if(r=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(n=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/r,0),i=this.p.getValueAtTime(this.p.keyframes[0].t/r,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(n=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),i=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(n=this.p.pv,i=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){n=[],i=[];var o=this.px,a=this.py;o._caching.lastFrame+o.offsetTime<=o.keyframes[0].t?(n[0]=o.getValueAtTime((o.keyframes[0].t+.01)/r,0),n[1]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),i[0]=o.getValueAtTime(o.keyframes[0].t/r,0),i[1]=a.getValueAtTime(a.keyframes[0].t/r,0)):o._caching.lastFrame+o.offsetTime>=o.keyframes[o.keyframes.length-1].t?(n[0]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/r,0),n[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),i[0]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/r,0),i[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0)):(n=[o.pv,a.pv],i[0]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/r,o.offsetTime),i[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime))}else n=i=t;this.v.rotate(-Math.atan2(n[1]-i[1],n[0]-i[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],e),e.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},e.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,r,n){return new e(t,r,n)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(t,e){return 1e5*Math.abs(t-e)<=Math.min(Math.abs(t),Math.abs(e))}function floatZero(t){return Math.abs(t)<=1e-5}function lerp(t,e,r){return t*(1-r)+e*r}function lerpPoint(t,e,r){return[lerp(t[0],e[0],r),lerp(t[1],e[1],r)]}function quadRoots(t,e,r){if(0===t)return[];var n=e*e-4*t*r;if(n<0)return[];var i=-e/(2*t);if(0===n)return[i];var o=Math.sqrt(n)/(2*t);return[i-o,i+o]}function polynomialCoefficients(t,e,r,n){return[3*e-t-3*r+n,3*t-6*e+3*r,-3*t+3*e,t]}function singlePoint(t){return new PolynomialBezier(t,t,t,t,!1)}function PolynomialBezier(t,e,r,n,i){i&&pointEqual(t,e)&&(e=lerpPoint(t,n,1/3)),i&&pointEqual(r,n)&&(r=lerpPoint(t,n,2/3));var o=polynomialCoefficients(t[0],e[0],r[0],n[0]),a=polynomialCoefficients(t[1],e[1],r[1],n[1]);this.a=[o[0],a[0]],this.b=[o[1],a[1]],this.c=[o[2],a[2]],this.d=[o[3],a[3]],this.points=[t,e,r,n]}function extrema(t,e){var r=t.points[0][e],n=t.points[t.points.length-1][e];if(r>n){var i=n;n=r,r=i}for(var o=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),a=0;a<o.length;a+=1)if(o[a]>0&&o[a]<1){var s=t.point(o[a])[e];s<r?r=s:s>n&&(n=s)}return{min:r,max:n}}function intersectData(t,e,r){var n=t.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.height,bez:t,t:(e+r)/2,t1:e,t2:r}}function splitData(t){var e=t.bez.split(.5);return[intersectData(e[0],t.t1,t.t),intersectData(e[1],t.t,t.t2)]}function boxIntersect(t,e){return 2*Math.abs(t.cx-e.cx)<t.width+e.width&&2*Math.abs(t.cy-e.cy)<t.height+e.height}function intersectsImpl(t,e,r,n,i,o){if(boxIntersect(t,e))if(r>=o||t.width<=n&&t.height<=n&&e.width<=n&&e.height<=n)i.push([t.t,e.t]);else{var a=splitData(t),s=splitData(e);intersectsImpl(a[0],s[0],r+1,n,i,o),intersectsImpl(a[0],s[1],r+1,n,i,o),intersectsImpl(a[1],s[0],r+1,n,i,o),intersectsImpl(a[1],s[1],r+1,n,i,o)}}function crossProduct(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function lineIntersection(t,e,r,n){var i=[t[0],t[1],1],o=[e[0],e[1],1],a=[r[0],r[1],1],s=[n[0],n[1],1],l=crossProduct(crossProduct(i,o),crossProduct(a,s));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function polarOffset(t,e,r){return[t[0]+Math.cos(e)*r,t[1]-Math.sin(e)*r]}function pointDistance(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function pointEqual(t,e){return floatEqual(t[0],e[0])&&floatEqual(t[1],e[1])}function ZigZagModifier(){}function setPoint(t,e,r,n,i,o,a){var s=r-Math.PI/2,l=r+Math.PI/2,c=e[0]+Math.cos(r)*n*i,p=e[1]-Math.sin(r)*n*i;t.setTripleAt(c,p,c+Math.cos(s)*o,p-Math.sin(s)*o,c+Math.cos(l)*a,p-Math.sin(l)*a,t.length())}function getPerpendicularVector(t,e){var r=[e[0]-t[0],e[1]-t[1]],n=.5*-Math.PI;return[Math.cos(n)*r[0]-Math.sin(n)*r[1],Math.sin(n)*r[0]+Math.cos(n)*r[1]]}function getProjectingAngle(t,e){var r=0===e?t.length()-1:e-1,n=(e+1)%t.length(),i=getPerpendicularVector(t.v[r],t.v[n]);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(t,e,r,n,i,o,a){var s=getProjectingAngle(e,r),l=e.v[r%e._length],c=e.v[0===r?e._length-1:r-1],p=e.v[(r+1)%e._length],u=2===o?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0,h=2===o?Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)):0;setPoint(t,e.v[r%e._length],s,a,n,h/(2*(i+1)),u/(2*(i+1)),o)}function zigZagSegment(t,e,r,n,i,o){for(var a=0;a<n;a+=1){var s=(a+1)/(n+1),l=2===i?Math.sqrt(Math.pow(e.points[3][0]-e.points[0][0],2)+Math.pow(e.points[3][1]-e.points[0][1],2)):0,c=e.normalAngle(s);setPoint(t,e.point(s),c,o,r,l/(2*(n+1)),l/(2*(n+1)),i),o=-o}return o}function linearOffset(t,e,r){var n=Math.atan2(e[0]-t[0],e[1]-t[1]);return[polarOffset(t,n,r),polarOffset(e,n,r)]}function offsetSegment(t,e){var r,n,i,o,a,s,l;r=(l=linearOffset(t.points[0],t.points[1],e))[0],n=l[1],i=(l=linearOffset(t.points[1],t.points[2],e))[0],o=l[1],a=(l=linearOffset(t.points[2],t.points[3],e))[0],s=l[1];var c=lineIntersection(r,n,i,o);null===c&&(c=n);var p=lineIntersection(a,s,i,o);return null===p&&(p=a),new PolynomialBezier(r,c,p,s)}function joinLines(t,e,r,n,i){var o=e.points[3],a=r.points[0];if(3===n)return o;if(pointEqual(o,a))return o;if(2===n){var s=-e.tangentAngle(1),l=-r.tangentAngle(0)+Math.PI,c=lineIntersection(o,polarOffset(o,s+Math.PI/2,100),a,polarOffset(a,s+Math.PI/2,100)),p=c?pointDistance(c,o):pointDistance(o,a)/2,u=polarOffset(o,s,2*p*roundCorner);return t.setXYAt(u[0],u[1],"o",t.length()-1),u=polarOffset(a,l,2*p*roundCorner),t.setTripleAt(a[0],a[1],a[0],a[1],u[0],u[1],t.length()),a}var h=lineIntersection(pointEqual(o,e.points[2])?e.points[0]:e.points[2],o,a,pointEqual(a,r.points[1])?r.points[3]:r.points[1]);return h&&pointDistance(h,o)<i?(t.setTripleAt(h[0],h[1],h[0],h[1],h[0],h[1],t.length()),h):o}function getIntersection(t,e){var r=t.intersections(e);return r.length&&floatEqual(r[0][0],1)&&r.shift(),r.length?r[0]:null}function pruneSegmentIntersection(t,e){var r=t.slice(),n=e.slice(),i=getIntersection(t[t.length-1],e[0]);return i&&(r[t.length-1]=t[t.length-1].split(i[0])[0],n[0]=e[0].split(i[1])[1]),t.length>1&&e.length>1&&(i=getIntersection(t[0],e[e.length-1]))?[[t[0].split(i[0])[0]],[e[e.length-1].split(i[1])[1]]]:[r,n]}function pruneIntersections(t){for(var e,r=1;r<t.length;r+=1)e=pruneSegmentIntersection(t[r-1],t[r]),t[r-1]=e[0],t[r]=e[1];return t.length>1&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var r,n,i,o,a=t.inflectionPoints();if(0===a.length)return[offsetSegment(t,e)];if(1===a.length||floatEqual(a[1],1))return r=(i=t.split(a[0]))[0],n=i[1],[offsetSegment(r,e),offsetSegment(n,e)];r=(i=t.split(a[0]))[0];var s=(a[1]-a[0])/(1-a[0]);return o=(i=i[1].split(s))[0],n=i[1],[offsetSegment(r,e),offsetSegment(o,e),offsetSegment(n,e)]}function OffsetPathModifier(){}function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],r="normal",n="normal",i=e.length,o=0;o<i;o+=1)switch(e[o].toLowerCase()){case"italic":n="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200"}return{style:n,weight:t.fWeight||r}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,r,n,i,o){var a=o?-1:1,s=n.s.v[0]+(1-n.s.v[0])*(1-i),l=n.s.v[1]+(1-n.s.v[1])*(1-i);t.translate(n.p.v[0]*a*i,n.p.v[1]*a*i,n.p.v[2]),e.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),e.rotate(-n.r.v*a*i),e.translate(n.a.v[0],n.a.v[1],n.a.v[2]),r.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),r.scale(o?1/s:s,o?1/l:l),r.translate(n.a.v[0],n.a.v[1],n.a.v[2])},RepeaterModifier.prototype.init=function(t,e,r,n){for(this.elem=t,this.arr=e,this.pos=r,this.elemsData=n,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[r]);r>0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var r,n=t.length;for(r=0;r<n;r+=1)t[r]._render=e,"gr"===t[r].ty&&this.changeGroupRender(t[r].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,r,n,i,o,a=!1;if(this._mdf||t){var s,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var c={it:this.cloneElements(this._elements),ty:"gr"};c.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,c),this._groups.splice(0,0,c),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(o=0,n=0;n<=this._groups.length-1;n+=1){if(s=o<l,this._groups[n]._render=s,this.changeGroupRender(this._groups[n].it,s),!s){var p=this.elemsData[n].it,u=p[p.length-1];0!==u.transform.op.v?(u.transform.op._mdf=!0,u.transform.op.v=0):u.transform.op._mdf=!1}o+=1}this._currentCopies=l;var h=this.o.v,d=h%1,f=h>0?Math.floor(h):Math.ceil(h),m=this.pMatrix.props,g=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,b,x=0;if(h>0){for(;x<f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),x+=1;d&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,d,!1),x+=d)}else if(h<0){for(;x>f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),x-=1;d&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-d,!0),x-=d)}for(n=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,o=this._currentCopies;o;){if(b=(r=(e=this.elemsData[n].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),0!==x){for((0!==n&&1===i||n!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),v=0;v<b;v+=1)r[v]=this.matrix.props[v];this.matrix.reset()}else for(this.matrix.reset(),v=0;v<b;v+=1)r[v]=this.matrix.props[v];x+=1,o-=1,n+=i}}else for(o=this._currentCopies,n=0,i=1;o;)r=(e=this.elemsData[n].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,o-=1,n+=i;return a},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var r,n=shapePool.newElement();n.c=t.c;var i,o,a,s,l,c,p,u,h,d,f,m,g=t._length,y=0;for(r=0;r<g;r+=1)i=t.v[r],a=t.o[r],o=t.i[r],i[0]===a[0]&&i[1]===a[1]&&i[0]===o[0]&&i[1]===o[1]?0!==r&&r!==g-1||t.c?(s=0===r?t.v[g-1]:t.v[r-1],c=(l=Math.sqrt(Math.pow(i[0]-s[0],2)+Math.pow(i[1]-s[1],2)))?Math.min(l/2,e)/l:0,p=f=i[0]+(s[0]-i[0])*c,u=m=i[1]-(i[1]-s[1])*c,h=p-(p-i[0])*roundCorner,d=u-(u-i[1])*roundCorner,n.setTripleAt(p,u,h,d,f,m,y),y+=1,s=r===g-1?t.v[0]:t.v[r+1],c=(l=Math.sqrt(Math.pow(i[0]-s[0],2)+Math.pow(i[1]-s[1],2)))?Math.min(l/2,e)/l:0,p=h=i[0]+(s[0]-i[0])*c,u=d=i[1]+(s[1]-i[1])*c,f=p-(p-i[0])*roundCorner,m=u-(u-i[1])*roundCorner,n.setTripleAt(p,u,h,d,f,m,y),y+=1):(n.setTripleAt(i[0],i[1],a[0],a[1],o[0],o[1],y),y+=1):(n.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],y),y+=1);return n},RoundCornersModifier.prototype.processShapes=function(t){var e,r,n,i,o,a,s=this.shapes.length,l=this.rd.v;if(0!==l)for(r=0;r<s;r+=1){if(a=(o=this.shapes[r]).localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,i=o.shape.paths._length,n=0;n<i;n+=1)a.addShape(this.processPath(e[n],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},PolynomialBezier.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},PolynomialBezier.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},PolynomialBezier.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(t))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,r=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(r<0)return[];var n=Math.sqrt(r);return floatZero(n)?n>0&&n<1?[e]:[]:[e-n,e+n].filter((function(t){return t>0&&t<1}))},PolynomialBezier.prototype.split=function(t){if(t<=0)return[singlePoint(this.points[0]),this];if(t>=1)return[this,singlePoint(this.points[this.points.length-1])];var e=lerpPoint(this.points[0],this.points[1],t),r=lerpPoint(this.points[1],this.points[2],t),n=lerpPoint(this.points[2],this.points[3],t),i=lerpPoint(e,r,t),o=lerpPoint(r,n,t),a=lerpPoint(i,o,t);return[new PolynomialBezier(this.points[0],e,i,a,!0),new PolynomialBezier(a,o,n,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}},PolynomialBezier.prototype.intersections=function(t,e,r){void 0===e&&(e=2),void 0===r&&(r=7);var n=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,n,r),n},PolynomialBezier.shapeSegment=function(t,e){var r=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[r],t.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var r=(e+1)%t.length();return new PolynomialBezier(t.v[r],t.i[r],t.o[e],t.v[e],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(t,e.s,0,null,this),this.frequency=PropertyFactory.getProp(t,e.r,0,null,this),this.pointsType=PropertyFactory.getProp(t,e.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(t,e,r,n){var i=t._length,o=shapePool.newElement();if(o.c=t.c,t.c||(i-=1),0===i)return o;var a=-1,s=PolynomialBezier.shapeSegment(t,0);zigZagCorner(o,t,0,e,r,n,a);for(var l=0;l<i;l+=1)a=zigZagSegment(o,s,e,r,n,-a),s=l!==i-1||t.c?PolynomialBezier.shapeSegment(t,(l+1)%i):null,zigZagCorner(o,t,l+1,e,r,n,a);return o},ZigZagModifier.prototype.processShapes=function(t){var e,r,n,i,o,a,s=this.shapes.length,l=this.amplitude.v,c=Math.max(0,Math.round(this.frequency.v)),p=this.pointsType.v;if(0!==l)for(r=0;r<s;r+=1){if(a=(o=this.shapes[r]).localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,i=o.shape.paths._length,n=0;n<i;n+=1)a.addShape(this.processPath(e[n],l,c,p));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this.miterLimit=PropertyFactory.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(t,e,r,n){var i=shapePool.newElement();i.c=t.c;var o,a,s,l=t.length();t.c||(l-=1);var c=[];for(o=0;o<l;o+=1)s=PolynomialBezier.shapeSegment(t,o),c.push(offsetSegmentSplit(s,e));if(!t.c)for(o=l-1;o>=0;o-=1)s=PolynomialBezier.shapeSegmentInverted(t,o),c.push(offsetSegmentSplit(s,e));c=pruneIntersections(c);var p=null,u=null;for(o=0;o<c.length;o+=1){var h=c[o];for(u&&(p=joinLines(i,u,h[0],r,n)),u=h[h.length-1],a=0;a<h.length;a+=1)s=h[a],p&&pointEqual(s.points[0],p)?i.setXYAt(s.points[1][0],s.points[1][1],"o",i.length()-1):i.setTripleAt(s.points[0][0],s.points[0][1],s.points[1][0],s.points[1][1],s.points[0][0],s.points[0][1],i.length()),i.setTripleAt(s.points[3][0],s.points[3][1],s.points[3][0],s.points[3][1],s.points[2][0],s.points[2][1],i.length()),p=s.points[3]}return c.length&&joinLines(i,u,c[0][0],r,n),i},OffsetPathModifier.prototype.processShapes=function(t){var e,r,n,i,o,a,s=this.shapes.length,l=this.amount.v,c=this.miterLimit.v,p=this.lineJoin;if(0!==l)for(r=0;r<s;r+=1){if(a=(o=this.shapes[r]).localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,i=o.shape.paths._length,n=0;n<i;n+=1)a.addShape(this.processPath(e[n],l,p,c));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var t={w:0,size:0,shapes:[],data:{shapes:[]}},e=[];e=e.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=127988,n=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function i(t,e){var r=createTag("span");r.setAttribute("aria-hidden",!0),r.style.fontFamily=e;var n=createTag("span");n.innerText="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(n),document.body.appendChild(r);var i=n.offsetWidth;return n.style.fontFamily=function(t){var e,r=t.split(","),n=r.length,i=[];for(e=0;e<n;e+=1)"sans-serif"!==r[e]&&"monospace"!==r[e]&&i.push(r[e]);return i.join(",")}(t)+", "+e,{node:n,w:i,parent:r}}function o(t,e){var r,n=document.body&&e?"svg":"canvas",i=getFontProperties(t);if("svg"===n){var o=createNS("text");o.style.fontSize="100px",o.setAttribute("font-family",t.fFamily),o.setAttribute("font-style",i.style),o.setAttribute("font-weight",i.weight),o.textContent="1",t.fClass?(o.style.fontFamily="inherit",o.setAttribute("class",t.fClass)):o.style.fontFamily=t.fFamily,e.appendChild(o),r=o}else{var a=new OffscreenCanvas(500,500).getContext("2d");a.font=i.style+" "+i.weight+" 100px "+t.fFamily,r=a}return{measureText:function(t){return"svg"===n?(r.textContent=t,r.getComputedTextLength()):r.measureText(t).width}}}function a(t){var e=0,r=t.charCodeAt(0);if(r>=55296&&r<=56319){var n=t.charCodeAt(1);n>=56320&&n<=57343&&(e=1024*(r-55296)+n-56320+65536)}return e}function s(t){var e=a(t);return e>=127462&&e<=127487}var l=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};l.isModifier=function(t,e){var r=t.toString(16)+e.toString(16);return-1!==n.indexOf(r)},l.isZeroWidthJoiner=function(t){return 8205===t},l.isFlagEmoji=function(t){return s(t.substr(0,2))&&s(t.substr(2,2))},l.isRegionalCode=s,l.isCombinedCharacter=function(t){return-1!==e.indexOf(t)},l.isRegionalFlag=function(t,e){var n=a(t.substr(e,2));if(n!==r)return!1;var i=0;for(e+=2;i<5;){if((n=a(t.substr(e,2)))<917601||n>917626)return!1;i+=1,e+=2}return 917631===a(t.substr(e,2))},l.isVariationSelector=function(t){return 65039===t},l.BLACK_FLAG_CODE_POINT=r;var c={addChars:function(t){if(t){var e;this.chars||(this.chars=[]);var r,n,i=t.length,o=this.chars.length;for(e=0;e<i;e+=1){for(r=0,n=!1;r<o;)this.chars[r].style===t[e].style&&this.chars[r].fFamily===t[e].fFamily&&this.chars[r].ch===t[e].ch&&(n=!0),r+=1;n||(this.chars.push(t[e]),o+=1)}}},addFonts:function(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);if(!document.body)return this.isLoaded=!0,t.list.forEach((function(t){t.helper=o(t),t.cache={}})),void(this.fonts=t.list);var r,n=t.list,a=n.length,s=a;for(r=0;r<a;r+=1){var l,c,p=!0;if(n[r].loaded=!1,n[r].monoCase=i(n[r].fFamily,"monospace"),n[r].sansCase=i(n[r].fFamily,"sans-serif"),n[r].fPath){if("p"===n[r].fOrigin||3===n[r].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+n[r].fFamily+'"], style[f-origin="3"][f-family="'+n[r].fFamily+'"]')).length>0&&(p=!1),p){var u=createTag("style");u.setAttribute("f-forigin",n[r].fOrigin),u.setAttribute("f-origin",n[r].origin),u.setAttribute("f-family",n[r].fFamily),u.type="text/css",u.innerText="@font-face {font-family: "+n[r].fFamily+"; font-style: normal; src: url('"+n[r].fPath+"');}",e.appendChild(u)}}else if("g"===n[r].fOrigin||1===n[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),c=0;c<l.length;c+=1)-1!==l[c].href.indexOf(n[r].fPath)&&(p=!1);if(p){var h=createTag("link");h.setAttribute("f-forigin",n[r].fOrigin),h.setAttribute("f-origin",n[r].origin),h.type="text/css",h.rel="stylesheet",h.href=n[r].fPath,document.body.appendChild(h)}}else if("t"===n[r].fOrigin||2===n[r].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),c=0;c<l.length;c+=1)n[r].fPath===l[c].src&&(p=!1);if(p){var d=createTag("link");d.setAttribute("f-forigin",n[r].fOrigin),d.setAttribute("f-origin",n[r].origin),d.setAttribute("rel","stylesheet"),d.setAttribute("href",n[r].fPath),e.appendChild(d)}}}else n[r].loaded=!0,s-=1;n[r].helper=o(n[r],e),n[r].cache={},this.fonts.push(n[r])}0===s?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(e,r,n){for(var i=0,o=this.chars.length;i<o;){if(this.chars[i].ch===e&&this.chars[i].style===r&&this.chars[i].fFamily===n)return this.chars[i];i+=1}return("string"==typeof e&&13!==e.charCodeAt(0)||!e)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",e,r,n)),t},getFontByName:function(t){for(var e=0,r=this.fonts.length;e<r;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,r){var n=this.getFontByName(e),i=t;if(!n.cache[i]){var o=n.helper;if(" "===t){var a=o.measureText("|"+t+"|"),s=o.measureText("||");n.cache[i]=(a-s)/100}else n.cache[i]=o.measureText(t)/100}return n.cache[i]*r},checkLoadedFonts:function(){var t,e,r,n=this.fonts.length,i=n;for(t=0;t<n;t+=1)this.fonts[t].loaded?i-=1:"n"===this.fonts[t].fOrigin||0===this.fonts[t].origin?this.fonts[t].loaded=!0:(e=this.fonts[t].monoCase.node,r=this.fonts[t].monoCase.w,e.offsetWidth!==r?(i-=1,this.fonts[t].loaded=!0):(e=this.fonts[t].sansCase.node,r=this.fonts[t].sansCase.w,e.offsetWidth!==r&&(i-=1,this.fonts[t].loaded=!0)),this.fonts[t].loaded&&(this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent),this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));0!==i&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return l.prototype=c,l}();function SlotManager(t){this.animationData=t}function slotFactory(t){return new SlotManager(t)}function RenderableElement(){}SlotManager.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(t){return blendModeEnums[t]||""}),blendModeEnums;function SliderEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function AngleEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function ColorEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function PointEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function LayerIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function MaskIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function CheckboxEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var r,n=t.ef||[];this.effectElements=[];var i,o=n.length;for(r=0;r<o;r+=1)i=new GroupEffect(n[r],e),this.effectElements.push(i)}function GroupEffect(t,e){this.init(t,e)}function BaseElement(){}function FrameElement(){}function FootageElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,r)}function AudioElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,r),this._isPlaying=!1,this._canPlay=!1;var n=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(n),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){var r;this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var n,i=this.data.ef.length,o=this.data.ef;for(r=0;r<i;r+=1){switch(n=null,o[r].ty){case 0:n=new SliderEffect(o[r],e,this);break;case 1:n=new AngleEffect(o[r],e,this);break;case 2:n=new ColorEffect(o[r],e,this);break;case 3:n=new PointEffect(o[r],e,this);break;case 4:case 7:n=new CheckboxEffect(o[r],e,this);break;case 10:n=new LayerIndexEffect(o[r],e,this);break;case 11:n=new MaskIndexEffect(o[r],e,this);break;case 5:n=new EffectsManager(o[r],e,this);break;default:n=new NoValueEffect(o[r],e,this)}n&&this.effectElements.push(n)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var e=t("layer"),r=t("effects"),n=t("shape"),i=t("text"),o=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var a=r.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(a),0===this.data.ty||this.data.xt?this.compInterface=o(this):4===this.data.ty?(this.layerInterface.shapeInterface=n(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=i(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,r){this.globalData=e,this.comp=r,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var r,n=this.dynamicProperties.length;for(r=0;r<n;r+=1)(e||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var t=getExpressionInterfaces();if(t){var e=t("footage");this.layerInterface=e(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(t){var e,r,n=this.layers.length;for(this.completeLayers=!0,e=n-1;e>=0;e-=1)this.elements[e]||(r=this.layers[e]).ip-r.st<=t-this.layers[e].st&&r.op-r.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:default:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){var e;this.completeLayers=!1;var r,n=t.length,i=this.layers.length;for(e=0;e<n;e+=1)for(r=0;r<i;){if(this.layers[r].id===t[e].id){this.layers[r]=t[e];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,r){for(var n=this.elements,i=this.layers,o=0,a=i.length;o<a;)i[o].ind==e&&(n[o]&&!0!==n[o]?(r.push(n[o]),n[o].setAsParent(),void 0!==i[o].parent?this.buildElementParenting(t,i[o].parent,r):t.setHierarchy(r)):(this.buildItem(o),this.addPendingElement(t))),o+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,r=t.length;for(e=0;e<r;e+=1)if(t[e].xt){var n=this.createComp(t[e]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},BaseRenderer.prototype.getElementById=function(t){var e,r=this.elements.length;for(e=0;e<r;e+=1)if(this.elements[e].data.ind===t)return this.elements[e];return null},BaseRenderer.prototype.getElementByPath=function(t){var e,r=t.shift();if("number"==typeof r)e=this.elements[r];else{var n,i=this.elements.length;for(n=0;n<i;n+=1)if(this.elements[n].data.nm===r){e=this.elements[n];break}}return 0===t.length?e:e.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(t),this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}function MaskElement(t,e,r){this.data=t,this.element=e,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var n,i,o=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var s,l,c,p,u,h,d=this.masksProperties,f=0,m=[],g=createElementID(),y="clipPath",v="clip-path";for(n=0;n<a;n+=1)if(("a"!==d[n].mode&&"n"!==d[n].mode||d[n].inv||100!==d[n].o.k||d[n].o.x)&&(y="mask",v="mask"),"s"!==d[n].mode&&"i"!==d[n].mode||0!==f?c=null:((c=createNS("rect")).setAttribute("fill","#ffffff"),c.setAttribute("width",this.element.comp.data.w||0),c.setAttribute("height",this.element.comp.data.h||0),m.push(c)),i=createNS("path"),"n"===d[n].mode)this.viewData[n]={op:PropertyFactory.getProp(this.element,d[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[n],3),elem:i,lastPath:""},o.appendChild(i);else{var b;if(f+=1,i.setAttribute("fill","s"===d[n].mode?"#000000":"#ffffff"),i.setAttribute("clip-rule","nonzero"),0!==d[n].x.k?(y="mask",v="mask",h=PropertyFactory.getProp(this.element,d[n].x,0,null,this.element),b=createElementID(),(p=createNS("filter")).setAttribute("id",b),(u=createNS("feMorphology")).setAttribute("operator","erode"),u.setAttribute("in","SourceGraphic"),u.setAttribute("radius","0"),p.appendChild(u),o.appendChild(p),i.setAttribute("stroke","s"===d[n].mode?"#000000":"#ffffff")):(u=null,h=null),this.storedData[n]={elem:i,x:h,expan:u,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===d[n].mode){l=m.length;var x=createNS("g");for(s=0;s<l;s+=1)x.appendChild(m[s]);var w=createNS("mask");w.setAttribute("mask-type","alpha"),w.setAttribute("id",g+"_"+f),w.appendChild(i),o.appendChild(w),x.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+f+")"),m.length=0,m.push(x)}else m.push(i);d[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:i,lastPath:"",op:PropertyFactory.getProp(this.element,d[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[n],3),invRect:c},this.viewData[n].prop.k||this.drawPath(d[n],this.viewData[n].prop.v,this.viewData[n])}for(this.maskElement=createNS(y),a=m.length,n=0;n<a;n+=1)this.maskElement.appendChild(m[n]);f>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+g+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var t=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,r=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<n;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),r=0;r<n;r+=1)e.multiply(this.hierarchy[r].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,e=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<e;)this.localTransforms[t]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[t]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),t+=1;if(this.finalTransform._localMatMdf){var r=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(r),t=1;t<e;t+=1){var n=this.localTransforms[t].matrix;r.multiply(n)}r.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var i=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)i*=.01*this.localTransforms[t].opacity;this.finalTransform.localOpacity=i}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var e=0,r=t.length;for(e=0;e<r;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var r,n=!0,i=this.comp;n;)i.finalTransform?(i.data.hasMask&&e.splice(0,0,i.finalTransform),i=i.comp):n=!1;var o,a=e.length;for(r=0;r<a;r+=1)o=e[r].mat.applyToPointArray(0,0,0),t=[t[0]-o[0],t[1]-o[1],0];return t},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,r=this.element.finalTransform.mat,n=this.masksProperties.length;for(e=0;e<n;e+=1)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var i=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[e].filterId+")")),i.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,(t+=" h-"+this.globalData.compSize.w)+" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(t,e,r){var n,i,o=" M"+e.v[0][0]+","+e.v[0][1];for(i=e._length,n=1;n<i;n+=1)o+=" C"+e.o[n-1][0]+","+e.o[n-1][1]+" "+e.i[n][0]+","+e.i[n][1]+" "+e.v[n][0]+","+e.v[n][1];if(e.c&&i>1&&(o+=" C"+e.o[n-1][0]+","+e.o[n-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==o){var a="";r.elem&&(e.c&&(a=t.inv?this.solidPath+o:o),r.elem.setAttribute("d",a)),r.lastPath=o}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory={createFilter:function(t,e){var r=createNS("filter");return r.setAttribute("id",t),!0!==e&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%")),r},createAlphaToLuminanceFilter:function(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t}},featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!=typeof OffscreenCanvas};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(t){var e,r,n="SourceGraphic",i=t.data.ef?t.data.ef.length:0,o=createElementID(),a=filtersFactory.createFilter(o,!0),s=0;for(this.filters=[],e=0;e<i;e+=1){r=null;var l=t.data.ef[e].ty;registeredEffects$1[l]&&(r=new(0,registeredEffects$1[l].effect)(a,t.effectsManager.effectElements[e],t,idPrefix+s,n),n=idPrefix+s,registeredEffects$1[l].countsAsEffect&&(s+=1)),r&&this.filters.push(r)}s&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&t.addRenderableComponent(this)}function registerEffect$1(t,e,r){registeredEffects$1[t]={effect:e,countsAsEffect:r}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},SVGEffects.prototype.getEffects=function(t){var e,r=this.filters.length,n=[];for(e=0;e<r;e+=1)this.filters[e].type===t&&n.push(this.filters[e]);return n},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var e=createNS("g");e.setAttribute("id",this.layerId),e.appendChild(this.layerElement),t=e,this.globalData.defs.appendChild(e)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var r=createNS("clipPath"),n=createNS("path");n.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var i=createElementID();if(r.setAttribute("id",i),r.appendChild(n),this.globalData.defs.appendChild(r),this.checkMasks()){var o=createNS("g");o.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),o.appendChild(this.layerElement),this.transformedElement=o,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var e,r,n,i,o=this.layerId+"_"+t;if(1===t||3===t){var a=createNS("mask");a.setAttribute("id",o),a.setAttribute("mask-type",3===t?"luminance":"alpha"),(n=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),a.appendChild(n),this.globalData.defs.appendChild(a),featureSupport.maskType||1!==t||(a.setAttribute("mask-type","luminance"),e=createElementID(),r=filtersFactory.createFilter(e),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(i=createNS("g")).appendChild(n),a.appendChild(i),i.setAttribute("filter","url("+getLocationHref()+"#"+e+")"))}else if(2===t){var s=createNS("mask");s.setAttribute("id",o),s.setAttribute("mask-type","alpha");var l=createNS("g");s.appendChild(l),e=createElementID(),r=filtersFactory.createFilter(e);var c=createNS("feComponentTransfer");c.setAttribute("in","SourceGraphic"),r.appendChild(c);var p=createNS("feFuncA");p.setAttribute("type","table"),p.setAttribute("tableValues","1.0 0.0"),c.appendChild(p),this.globalData.defs.appendChild(r);var u=createNS("rect");u.setAttribute("width",this.comp.data.w),u.setAttribute("height",this.comp.data.h),u.setAttribute("x","0"),u.setAttribute("y","0"),u.setAttribute("fill","#ffffff"),u.setAttribute("opacity","0"),l.setAttribute("filter","url("+getLocationHref()+"#"+e+")"),l.appendChild(u),(n=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(n),featureSupport.maskType||(s.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),i=createNS("g"),l.appendChild(u),i.appendChild(this.layerElement),l.appendChild(i)),this.globalData.defs.appendChild(s)}this.matteMasks[t]=o}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(t){var e,r=this.shapeModifiers.length;for(e=0;e<r;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=this.shapeModifiers.length;0<e;)if(this.shapeModifiers[0].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();for(t=(e=this.shapeModifiers.length)-1;t>=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,r=0,n=e.length;r<n;){if(e[r].elem===t)return e[r].pos;r+=1}return 0},addProcessedElement:function(t,e){for(var r=this.processedElements,n=r.length;n;)if(r[n-=1].elem===t)return void(r[n].pos=e);r.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(t,e,r){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=r,this.lvl=e,this._isAnimated=!!r.k;for(var n=0,i=t.length;n<i;){if(t[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(t,e,r,n){var i;this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(n);var o,a=e.length||0;for(i=0;i<a;i+=1)o=PropertyFactory.getProp(t,e[i].v,0,0,this),this.k=o.k||this.k,this.dataProps[i]={n:e[i].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r}function SVGNoStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=r}function GradientProperty(t,e,r){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var n=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=createTypedArray("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,r)}function SVGGradientStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,r){this.transform={mProps:t,op:e,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<r;e+=1)"o"!==this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(t,e){for(var r=0,n=this.o.length/2;r<n;){if(Math.abs(t[4*r]-t[4*e+2*r])>.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,r,n,i=4*this.data.p;for(e=0;e<i;e+=1)r=e%4==0?100:255,n=Math.round(this.prop.v[e]*r),this.c[e]!==n&&(this.c[e]=n,this._cmdf=!t);if(this.o.length)for(i=this.prop.v.length,e=4*this.data.p;e<i;e+=1)r=e%2==0?100:1,n=e%2==0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==n&&(this.o[e-4*this.data.p]=n,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,r){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,e),this.setGradientOpacity(e,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var r=createElementID(),n=createNS(1===e.t?"linearGradient":"radialGradient");n.setAttribute("id",r),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var i,o,a,s=[];for(a=4*e.g.p,o=0;o<a;o+=4)i=createNS("stop"),n.appendChild(i),s.push(i);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=n,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var r,n,i,o=createNS("mask"),a=createNS("path");o.appendChild(a);var s=createElementID(),l=createElementID();o.setAttribute("id",l);var c=createNS(1===t.t?"linearGradient":"radialGradient");c.setAttribute("id",s),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),i=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var p=this.stops;for(n=4*t.g.p;n<i;n+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(r),p.push(r);a.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),"gs"===t.ty&&(a.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj&&a.setAttribute("stroke-miterlimit",t.ml)),this.of=c,this.ms=o,this.ost=p,this.maskId=l,e.msElem=a}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(t,e,r,n){if(0===e)return"";var i,o=t.o,a=t.i,s=t.v,l=" M"+n.applyToPointStringified(s[0][0],s[0][1]);for(i=1;i<e;i+=1)l+=" C"+n.applyToPointStringified(o[i-1][0],o[i-1][1])+" "+n.applyToPointStringified(a[i][0],a[i][1])+" "+n.applyToPointStringified(s[i][0],s[i][1]);return r&&e&&(l+=" C"+n.applyToPointStringified(o[i-1][0],o[i-1][1])+" "+n.applyToPointStringified(a[0][0],a[0][1])+" "+n.applyToPointStringified(s[0][0],s[0][1]),l+="z"),l},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix;function r(t,e,r){(r||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(r||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function n(){}function i(r,n,i){var o,a,s,l,c,p,u,h,d,f,m=n.styles.length,g=n.lvl;for(p=0;p<m;p+=1){if(l=n.sh._mdf||i,n.styles[p].lvl<g){for(h=e.reset(),d=g-n.styles[p].lvl,f=n.transformers.length-1;!l&&d>0;)l=n.transformers[f].mProps._mdf||l,d-=1,f-=1;if(l)for(d=g-n.styles[p].lvl,f=n.transformers.length-1;d>0;)h.multiply(n.transformers[f].mProps.v),d-=1,f-=1}else h=t;if(a=(u=n.sh.paths)._length,l){for(s="",o=0;o<a;o+=1)(c=u.shapes[o])&&c._length&&(s+=buildShapeString(c,c._length,c.c,h));n.caches[p]=s}else s=n.caches[p];n.styles[p].d+=!0===r.hd?"":s,n.styles[p]._mdf=l||n.styles[p]._mdf}}function o(t,e,r){var n=e.style;(e.c._mdf||r)&&n.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&n.pElem.setAttribute("fill-opacity",e.o.v)}function a(t,e,r){s(t,e,r),l(0,e,r)}function s(t,e,r){var n,i,o,a,s,l=e.gf,c=e.g._hasOpacity,p=e.s.v,u=e.e.v;if(e.o._mdf||r){var h="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(h,e.o.v)}if(e.s._mdf||r){var d=1===t.t?"x1":"cx",f="x1"===d?"y1":"cy";l.setAttribute(d,p[0]),l.setAttribute(f,p[1]),c&&!e.g._collapsable&&(e.of.setAttribute(d,p[0]),e.of.setAttribute(f,p[1]))}if(e.g._cmdf||r){n=e.cst;var m=e.g.c;for(o=n.length,i=0;i<o;i+=1)(a=n[i]).setAttribute("offset",m[4*i]+"%"),a.setAttribute("stop-color","rgb("+m[4*i+1]+","+m[4*i+2]+","+m[4*i+3]+")")}if(c&&(e.g._omdf||r)){var g=e.g.o;for(o=(n=e.g._collapsable?e.cst:e.ost).length,i=0;i<o;i+=1)a=n[i],e.g._collapsable||a.setAttribute("offset",g[2*i]+"%"),a.setAttribute("stop-opacity",g[2*i+1])}if(1===t.t)(e.e._mdf||r)&&(l.setAttribute("x2",u[0]),l.setAttribute("y2",u[1]),c&&!e.g._collapsable&&(e.of.setAttribute("x2",u[0]),e.of.setAttribute("y2",u[1])));else if((e.s._mdf||e.e._mdf||r)&&(s=Math.sqrt(Math.pow(p[0]-u[0],2)+Math.pow(p[1]-u[1],2)),l.setAttribute("r",s),c&&!e.g._collapsable&&e.of.setAttribute("r",s)),e.e._mdf||e.h._mdf||e.a._mdf||r){s||(s=Math.sqrt(Math.pow(p[0]-u[0],2)+Math.pow(p[1]-u[1],2)));var y=Math.atan2(u[1]-p[1],u[0]-p[0]),v=e.h.v;v>=1?v=.99:v<=-1&&(v=-.99);var b=s*v,x=Math.cos(y+e.a.v)*b+p[0],w=Math.sin(y+e.a.v)*b+p[1];l.setAttribute("fx",x),l.setAttribute("fy",w),c&&!e.g._collapsable&&(e.of.setAttribute("fx",x),e.of.setAttribute("fy",w))}}function l(t,e,r){var n=e.style,i=e.d;i&&(i._mdf||r)&&i.dashStr&&(n.pElem.setAttribute("stroke-dasharray",i.dashStr),n.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),e.c&&(e.c._mdf||r)&&n.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&n.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||r)&&(n.pElem.setAttribute("stroke-width",e.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:function(t){switch(t.ty){case"fl":return o;case"gf":return s;case"gs":return a;case"st":return l;case"sh":case"el":case"rc":case"sr":return i;case"tr":return r;case"no":return n;default:return null}}}}();function SVGShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}function LetterProps(t,e,r,n,i,o){this.o=t,this.sw=e,this.sc=r,this.fc=n,this.m=i,this.p=o,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!n,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,e.d&&e.d.sid&&(e.d=t.globalData.slotManager.getProp(e.d)),this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e,r,n,i=this.shapes.length,o=this.stylesList.length,a=[],s=!1;for(r=0;r<o;r+=1){for(n=this.stylesList[r],s=!1,a.length=0,t=0;t<i;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(n)&&(a.push(e),s=e._isAnimated||s);a.length>1&&s&&this.setShapesAsAnimated(a)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var r,n=new SVGStyleData(t,e),i=n.pElem;return"st"===t.ty?r=new SVGStrokeStyleData(this,t,n):"fl"===t.ty?r=new SVGFillStyleData(this,t,n):"gf"===t.ty||"gs"===t.ty?(r=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,n),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),i.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))):"no"===t.ty&&(r=new SVGNoStyleData(this,t,n)),"st"!==t.ty&&"gs"!==t.ty||(i.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),i.setAttribute("fill-opacity","0"),1===t.lj&&i.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&i.setAttribute("fill-rule","evenodd"),t.ln&&i.setAttribute("id",t.ln),t.cl&&i.setAttribute("class",t.cl),t.bm&&(i.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(n),this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var r=TransformPropertyFactory.getTransformProperty(this,t,this),n=new SVGTransformData(r,r.o,e);return this.addToAnimatedContents(t,n),n},SVGShapeElement.prototype.createShapeElement=function(t,e,r){var n=4;"rc"===t.ty?n=5:"el"===t.ty?n=6:"sr"===t.ty&&(n=7);var i=new SVGShapeData(e,r,ShapePropertyFactory.getShapeProp(this,t,n,this));return this.shapes.push(i),this.addShapeToModifiers(i),this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var r=0,n=this.animatedContents.length;r<n;){if(this.animatedContents[r].element===e)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e,r=t.styles,n=this.stylesList.length;for(e=0;e<n;e+=1)this.stylesList[e].closed||r.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,r,n,i,o,a){var s,l,c,p,u,h,d=[].concat(o),f=t.length-1,m=[],g=[];for(s=f;s>=0;s-=1){if((h=this.searchProcessedElement(t[s]))?e[s]=r[h-1]:t[s]._render=a,"fl"===t[s].ty||"st"===t[s].ty||"gf"===t[s].ty||"gs"===t[s].ty||"no"===t[s].ty)h?e[s].style.closed=!1:e[s]=this.createStyleElement(t[s],i),t[s]._render&&e[s].style.pElem.parentNode!==n&&n.appendChild(e[s].style.pElem),m.push(e[s].style);else if("gr"===t[s].ty){if(h)for(c=e[s].it.length,l=0;l<c;l+=1)e[s].prevViewData[l]=e[s].it[l];else e[s]=this.createGroupElement(t[s]);this.searchShapes(t[s].it,e[s].it,e[s].prevViewData,e[s].gr,i+1,d,a),t[s]._render&&e[s].gr.parentNode!==n&&n.appendChild(e[s].gr)}else"tr"===t[s].ty?(h||(e[s]=this.createTransformElement(t[s],n)),p=e[s].transform,d.push(p)):"sh"===t[s].ty||"rc"===t[s].ty||"el"===t[s].ty||"sr"===t[s].ty?(h||(e[s]=this.createShapeElement(t[s],d,i)),this.setElementStyles(e[s])):"tm"===t[s].ty||"rd"===t[s].ty||"ms"===t[s].ty||"pb"===t[s].ty||"zz"===t[s].ty||"op"===t[s].ty?(h?(u=e[s]).closed=!1:((u=ShapeModifiers.getModifier(t[s].ty)).init(this,t[s]),e[s]=u,this.shapeModifiers.push(u)),g.push(u)):"rp"===t[s].ty&&(h?(u=e[s]).closed=!0:(u=ShapeModifiers.getModifier(t[s].ty),e[s]=u,u.init(this,t,s,e),this.shapeModifiers.push(u),a=!1),g.push(u));this.addProcessedElement(t[s],s+1)}for(f=m.length,s=0;s<f;s+=1)m[s].closed=!0;for(f=g.length,s=0;s<f;s+=1)g[s].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var t;this.renderModifiers();var e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,r=this.animatedContents.length;for(t=0;t<r;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(t,e,r,n,i,o){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var a=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,a=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,a=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,a=!0),this.fc!==n&&(this.fc=n,this._mdf.fc=!0,a=!0),this.m!==i&&(this.m=i,this._mdf.m=!0,a=!0),!o.length||this.p[0]===o[0]&&this.p[1]===o[1]&&this.p[4]===o[4]&&this.p[5]===o[5]&&this.p[12]===o[12]&&this.p[13]===o[13]||(this.p=o,this._mdf.p=!0,a=!0),a},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var n;this.lock=!0,this._mdf=!1;var i=this.effectsSequence.length,o=t||this.data.d.k[this.keysIndex].s;for(n=0;n<i;n+=1)o=r!==this.keysIndex?this.effectsSequence[n](o,o.t):this.effectsSequence[n](this.currentData,o.t);e!==o&&this.setCurrentData(o),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,r=0,n=t.length;r<=n-1&&!(r===n-1||t[r+1].t>e);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,r,n=[],i=0,o=t.length,a=!1,s=!1,l="";i<o;)a=s,s=!1,e=t.charCodeAt(i),l=t.charAt(i),FontManager.isCombinedCharacter(e)?a=!0:e>=55296&&e<=56319?FontManager.isRegionalFlag(t,i)?l=t.substr(i,14):(r=t.charCodeAt(i+1))>=56320&&r<=57343&&(FontManager.isModifier(e,r)?(l=t.substr(i,2),a=!0):l=FontManager.isFlagEmoji(t.substr(i,4))?t.substr(i,4):t.substr(i,2)):e>56319?(r=t.charCodeAt(i+1),FontManager.isVariationSelector(e)&&(a=!0)):FontManager.isZeroWidthJoiner(e)&&(a=!0,s=!0),a?(n[n.length-1]+=l,a=!1):n.push(l),i+=l.length;return n},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,r,n,i,o,a,s,l=this.elem.globalData.fontManager,c=this.data,p=[],u=0,h=c.m.g,d=0,f=0,m=0,g=[],y=0,v=0,b=l.getFontByName(t.f),x=0,w=getFontProperties(b);t.fWeight=w.weight,t.fStyle=w.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),r=t.finalText.length,t.finalLineHeight=t.lh;var _,E=t.tr/1e3*t.finalSize;if(t.sz)for(var S,k,P=!0,A=t.sz[0],O=t.sz[1];P;){S=0,y=0,r=(k=this.buildFinalText(t.t)).length,E=t.tr/1e3*t.finalSize;var C=-1;for(e=0;e<r;e+=1)_=k[e].charCodeAt(0),n=!1," "===k[e]?C=e:13!==_&&3!==_||(y=0,n=!0,S+=t.finalLineHeight||1.2*t.finalSize),l.chars?(s=l.getCharData(k[e],b.fStyle,b.fFamily),x=n?0:s.w*t.finalSize/100):x=l.measureText(k[e],t.f,t.finalSize),y+x>A&&" "!==k[e]?(-1===C?r+=1:e=C,S+=t.finalLineHeight||1.2*t.finalSize,k.splice(e,C===e?1:0,"\r"),C=-1,y=0):(y+=x,y+=E);S+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&O<S?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=k,r=t.finalText.length,P=!1)}y=-E,x=0;var T,I=0;for(e=0;e<r;e+=1)if(n=!1,13===(_=(T=t.finalText[e]).charCodeAt(0))||3===_?(I=0,g.push(y),v=y>v?y:v,y=-2*E,i="",n=!0,m+=1):i=T,l.chars?(s=l.getCharData(T,b.fStyle,l.getFontByName(t.f).fFamily),x=n?0:s.w*t.finalSize/100):x=l.measureText(i,t.f,t.finalSize)," "===T?I+=x+E:(y+=x+E+I,I=0),p.push({l:x,an:x,add:d,n,anIndexes:[],val:i,line:m,animatorJustifyOffset:0}),2==h){if(d+=x,""===i||" "===i||e===r-1){for(""!==i&&" "!==i||(d-=x);f<=e;)p[f].an=d,p[f].ind=u,p[f].extra=x,f+=1;u+=1,d=0}}else if(3==h){if(d+=x,""===i||e===r-1){for(""===i&&(d-=x);f<=e;)p[f].an=d,p[f].ind=u,p[f].extra=x,f+=1;d=0,u+=1}}else p[u].ind=u,p[u].extra=0,u+=1;if(t.l=p,v=y>v?y:v,g.push(y),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=v,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=g;var D,F,R,M,j=c.a;a=j.length;var L=[];for(o=0;o<a;o+=1){for((D=j[o]).a.sc&&(t.strokeColorAnim=!0),D.a.sw&&(t.strokeWidthAnim=!0),(D.a.fc||D.a.fh||D.a.fs||D.a.fb)&&(t.fillColorAnim=!0),M=0,R=D.s.b,e=0;e<r;e+=1)(F=p[e]).anIndexes[o]=M,(1==R&&""!==F.val||2==R&&""!==F.val&&" "!==F.val||3==R&&(F.n||" "==F.val||e==r-1)||4==R&&(F.n||e==r-1))&&(1===D.s.rn&&L.push(M),M+=1);c.a[o].s.totalChars=M;var N,B=-1;if(1===D.s.rn)for(e=0;e<r;e+=1)B!=(F=p[e]).anIndexes[o]&&(B=F.anIndexes[o],N=L.splice(Math.floor(Math.random()*L.length),1)[0]),F.anIndexes[o]=N}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=b.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var r=this.copyData({},this.data.d.k[e].s);r=this.copyData(r,t),this.data.d.k[e].s=r,this.recalculate(e),this.setCurrentData(r),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,r=Math.floor;function n(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=PropertyFactory.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?PropertyFactory.getProp(t,e.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(t,e.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(t,e.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(t,e.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(t,e.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return n.prototype={getMult:function(n){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var i=0,o=0,a=1,s=1;this.ne.v>0?i=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:s=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,o,a,s).get,c=0,p=this.finalS,u=this.finalE,h=this.data.sh;if(2===h)c=l(c=u===p?n>=u?1:0:t(0,e(.5/(u-p)+(n-p)/(u-p),1)));else if(3===h)c=l(c=u===p?n>=u?0:1:1-t(0,e(.5/(u-p)+(n-p)/(u-p),1)));else if(4===h)u===p?c=0:(c=t(0,e(.5/(u-p)+(n-p)/(u-p),1)))<.5?c*=2:c=1-2*(c-.5),c=l(c);else if(5===h){if(u===p)c=0;else{var d=u-p,f=-d/2+(n=e(t(0,n+.5-p),u-p)),m=d/2;c=Math.sqrt(1-f*f/(m*m))}c=l(c)}else 6===h?(u===p?c=0:(n=e(t(0,n+.5-p),u-p),c=(1+Math.cos(Math.PI+2*Math.PI*n/(u-p)))/2),c=l(c)):(n>=r(p)&&(c=t(0,e(n-p<0?e(u,1)-(p-n):u-n,1))),c=l(c));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var y=.5-.5*g;c<y?c=0:(c=(c-y)/g)>1&&(c=1)}return c*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/e,n=this.s.v/e+r,i=this.e.v/e+r;if(n>i){var o=n;n=i,i=o}this.finalS=n,this.finalE=i}},extendPrototype([DynamicPropertyContainer],n),{getTextSelectorProp:function(t,e,r){return new n(t,e,r)}}}();function TextAnimatorDataProperty(t,e,r){var n={propType:!1},i=PropertyFactory.getProp,o=e.a;this.a={r:o.r?i(t,o.r,0,degToRads,r):n,rx:o.rx?i(t,o.rx,0,degToRads,r):n,ry:o.ry?i(t,o.ry,0,degToRads,r):n,sk:o.sk?i(t,o.sk,0,degToRads,r):n,sa:o.sa?i(t,o.sa,0,degToRads,r):n,s:o.s?i(t,o.s,1,.01,r):n,a:o.a?i(t,o.a,1,0,r):n,o:o.o?i(t,o.o,0,.01,r):n,p:o.p?i(t,o.p,1,0,r):n,sw:o.sw?i(t,o.sw,0,0,r):n,sc:o.sc?i(t,o.sc,1,0,r):n,fc:o.fc?i(t,o.fc,1,0,r):n,fh:o.fh?i(t,o.fh,0,0,r):n,fs:o.fs?i(t,o.fs,0,.01,r):n,fb:o.fb?i(t,o.fb,0,.01,r):n,t:o.t?i(t,o.t,0,0,r):n},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function TextAnimatorProperty(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,r=this._textData.a.length,n=PropertyFactory.getProp;for(t=0;t<r;t+=1)e=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:n(this._elem,this._textData.p.a,0,0,this),f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:n(this._elem,this._textData.p.r,0,0,this),p:n(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=n(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,n,i,o,a,s,l,c,p,u,h,d,f,m,g,y,v,b,x,w=this._moreOptions.alignment.v,_=this._animatorsData,E=this._textData,S=this.mHelper,k=this._renderType,P=this.renderedLetters.length,A=t.l;if(this._hasMaskedPath){if(x=this._pathData.m,!this._pathData.n||this._pathData._mdf){var O,C=x.v;for(this._pathData.r.v&&(C=C.reverse()),a={tLength:0,segments:[]},o=C._length-1,y=0,i=0;i<o;i+=1)O=bez.buildBezierData(C.v[i],C.v[i+1],[C.o[i][0]-C.v[i][0],C.o[i][1]-C.v[i][1]],[C.i[i+1][0]-C.v[i+1][0],C.i[i+1][1]-C.v[i+1][1]]),a.tLength+=O.segmentLength,a.segments.push(O),y+=O.segmentLength;i=o,x.v.c&&(O=bez.buildBezierData(C.v[i],C.v[0],[C.o[i][0]-C.v[i][0],C.o[i][1]-C.v[i][1]],[C.i[0][0]-C.v[0][0],C.i[0][1]-C.v[0][1]]),a.tLength+=O.segmentLength,a.segments.push(O),y+=O.segmentLength),this._pathData.pi=a}if(a=this._pathData.pi,s=this._pathData.f.v,h=0,u=1,c=0,p=!0,m=a.segments,s<0&&x.v.c)for(a.tLength<Math.abs(s)&&(s=-Math.abs(s)%a.tLength),u=(f=m[h=m.length-1].points).length-1;s<0;)s+=f[u].partialLength,(u-=1)<0&&(u=(f=m[h-=1].points).length-1);d=(f=m[h].points)[u-1],g=(l=f[u]).partialLength}o=A.length,r=0,n=0;var T,I,D,F,R,M=1.2*t.finalSize*.714,j=!0;D=_.length;var L,N,B,V,z,q,G,U,H,$,W,Q,K=-1,Y=s,J=h,X=u,Z=-1,tt="",et=this.defaultPropsArray;if(2===t.j||1===t.j){var rt=0,nt=0,it=2===t.j?-.5:-1,ot=0,at=!0;for(i=0;i<o;i+=1)if(A[i].n){for(rt&&(rt+=nt);ot<i;)A[ot].animatorJustifyOffset=rt,ot+=1;rt=0,at=!0}else{for(I=0;I<D;I+=1)(T=_[I].a).t.propType&&(at&&2===t.j&&(nt+=T.t.v*it),(R=_[I].s.getMult(A[i].anIndexes[I],E.a[I].s.totalChars)).length?rt+=T.t.v*R[0]*it:rt+=T.t.v*R*it);at=!1}for(rt&&(rt+=nt);ot<i;)A[ot].animatorJustifyOffset=rt,ot+=1}for(i=0;i<o;i+=1){if(S.reset(),V=1,A[i].n)r=0,n+=t.yOffset,n+=j?1:0,s=Y,j=!1,this._hasMaskedPath&&(u=X,d=(f=m[h=J].points)[u-1],g=(l=f[u]).partialLength,c=0),tt="",W="",H="",Q="",et=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Z!==A[i].line){switch(t.j){case 1:s+=y-t.lineWidths[A[i].line];break;case 2:s+=(y-t.lineWidths[A[i].line])/2}Z=A[i].line}K!==A[i].ind&&(A[K]&&(s+=A[K].extra),s+=A[i].an/2,K=A[i].ind),s+=w[0]*A[i].an*.005;var st=0;for(I=0;I<D;I+=1)(T=_[I].a).p.propType&&((R=_[I].s.getMult(A[i].anIndexes[I],E.a[I].s.totalChars)).length?st+=T.p.v[0]*R[0]:st+=T.p.v[0]*R),T.a.propType&&((R=_[I].s.getMult(A[i].anIndexes[I],E.a[I].s.totalChars)).length?st+=T.a.v[0]*R[0]:st+=T.a.v[0]*R);for(p=!0,this._pathData.a.v&&(s=.5*A[0].an+(y-this._pathData.f.v-.5*A[0].an-.5*A[A.length-1].an)*K/(o-1),s+=this._pathData.f.v);p;)c+g>=s+st||!f?(v=(s+st-c)/l.partialLength,N=d.point[0]+(l.point[0]-d.point[0])*v,B=d.point[1]+(l.point[1]-d.point[1])*v,S.translate(-w[0]*A[i].an*.005,-w[1]*M*.01),p=!1):f&&(c+=l.partialLength,(u+=1)>=f.length&&(u=0,m[h+=1]?f=m[h].points:x.v.c?(u=0,f=m[h=0].points):(c-=l.partialLength,f=null)),f&&(d=l,g=(l=f[u]).partialLength));L=A[i].an/2-A[i].add,S.translate(-L,0,0)}else L=A[i].an/2-A[i].add,S.translate(-L,0,0),S.translate(-w[0]*A[i].an*.005,-w[1]*M*.01,0);for(I=0;I<D;I+=1)(T=_[I].a).t.propType&&(R=_[I].s.getMult(A[i].anIndexes[I],E.a[I].s.totalChars),0===r&&0===t.j||(this._hasMaskedPath?R.length?s+=T.t.v*R[0]:s+=T.t.v*R:R.length?r+=T.t.v*R[0]:r+=T.t.v*R));for(t.strokeWidthAnim&&(q=t.sw||0),t.strokeColorAnim&&(z=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(G=[t.fc[0],t.fc[1],t.fc[2]]),I=0;I<D;I+=1)(T=_[I].a).a.propType&&((R=_[I].s.getMult(A[i].anIndexes[I],E.a[I].s.totalChars)).length?S.translate(-T.a.v[0]*R[0],-T.a.v[1]*R[1],T.a.v[2]*R[2]):S.translate(-T.a.v[0]*R,-T.a.v[1]*R,T.a.v[2]*R));for(I=0;I<D;I+=1)(T=_[I].a).s.propType&&((R=_[I].s.getMult(A[i].anIndexes[I],E.a[I].s.totalChars)).length?S.scale(1+(T.s.v[0]-1)*R[0],1+(T.s.v[1]-1)*R[1],1):S.scale(1+(T.s.v[0]-1)*R,1+(T.s.v[1]-1)*R,1));for(I=0;I<D;I+=1){if(T=_[I].a,R=_[I].s.getMult(A[i].anIndexes[I],E.a[I].s.totalChars),T.sk.propType&&(R.length?S.skewFromAxis(-T.sk.v*R[0],T.sa.v*R[1]):S.skewFromAxis(-T.sk.v*R,T.sa.v*R)),T.r.propType&&(R.length?S.rotateZ(-T.r.v*R[2]):S.rotateZ(-T.r.v*R)),T.ry.propType&&(R.length?S.rotateY(T.ry.v*R[1]):S.rotateY(T.ry.v*R)),T.rx.propType&&(R.length?S.rotateX(T.rx.v*R[0]):S.rotateX(T.rx.v*R)),T.o.propType&&(R.length?V+=(T.o.v*R[0]-V)*R[0]:V+=(T.o.v*R-V)*R),t.strokeWidthAnim&&T.sw.propType&&(R.length?q+=T.sw.v*R[0]:q+=T.sw.v*R),t.strokeColorAnim&&T.sc.propType)for(U=0;U<3;U+=1)R.length?z[U]+=(T.sc.v[U]-z[U])*R[0]:z[U]+=(T.sc.v[U]-z[U])*R;if(t.fillColorAnim&&t.fc){if(T.fc.propType)for(U=0;U<3;U+=1)R.length?G[U]+=(T.fc.v[U]-G[U])*R[0]:G[U]+=(T.fc.v[U]-G[U])*R;T.fh.propType&&(G=R.length?addHueToRGB(G,T.fh.v*R[0]):addHueToRGB(G,T.fh.v*R)),T.fs.propType&&(G=R.length?addSaturationToRGB(G,T.fs.v*R[0]):addSaturationToRGB(G,T.fs.v*R)),T.fb.propType&&(G=R.length?addBrightnessToRGB(G,T.fb.v*R[0]):addBrightnessToRGB(G,T.fb.v*R))}}for(I=0;I<D;I+=1)(T=_[I].a).p.propType&&(R=_[I].s.getMult(A[i].anIndexes[I],E.a[I].s.totalChars),this._hasMaskedPath?R.length?S.translate(0,T.p.v[1]*R[0],-T.p.v[2]*R[1]):S.translate(0,T.p.v[1]*R,-T.p.v[2]*R):R.length?S.translate(T.p.v[0]*R[0],T.p.v[1]*R[1],-T.p.v[2]*R[2]):S.translate(T.p.v[0]*R,T.p.v[1]*R,-T.p.v[2]*R));if(t.strokeWidthAnim&&(H=q<0?0:q),t.strokeColorAnim&&($="rgb("+Math.round(255*z[0])+","+Math.round(255*z[1])+","+Math.round(255*z[2])+")"),t.fillColorAnim&&t.fc&&(W="rgb("+Math.round(255*G[0])+","+Math.round(255*G[1])+","+Math.round(255*G[2])+")"),this._hasMaskedPath){if(S.translate(0,-t.ls),S.translate(0,w[1]*M*.01+n,0),this._pathData.p.v){b=(l.point[1]-d.point[1])/(l.point[0]-d.point[0]);var lt=180*Math.atan(b)/Math.PI;l.point[0]<d.point[0]&&(lt+=180),S.rotate(-lt*Math.PI/180)}S.translate(N,B,0),s-=w[0]*A[i].an*.005,A[i+1]&&K!==A[i+1].ind&&(s+=A[i].an/2,s+=.001*t.tr*t.finalSize)}else{switch(S.translate(r,n,0),t.ps&&S.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:S.translate(A[i].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[i].line]),0,0);break;case 2:S.translate(A[i].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[i].line])/2,0,0)}S.translate(0,-t.ls),S.translate(L,0,0),S.translate(w[0]*A[i].an*.005,w[1]*M*.01,0),r+=A[i].l+.001*t.tr*t.finalSize}"html"===k?tt=S.toCSS():"svg"===k?tt=S.to2dCSS():et=[S.props[0],S.props[1],S.props[2],S.props[3],S.props[4],S.props[5],S.props[6],S.props[7],S.props[8],S.props[9],S.props[10],S.props[11],S.props[12],S.props[13],S.props[14],S.props[15]],Q=V}P<=i?(F=new LetterProps(Q,H,$,W,tt,et),this.renderedLetters.push(F),P+=1,this.lettersChangedFlag=!0):(F=this.renderedLetters[i],this.lettersChangedFlag=F.update(Q,H,$,W,tt,et)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(t,e,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,r),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},ITextElement.prototype.createPathShape=function(t,e){var r,n,i=e.length,o="";for(r=0;r<i;r+=1)"sh"===e[r].ty&&(n=e[r].ks.k,o+=buildShapeString(n,n.i.length,!0,t));return o},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,r,n,i){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r])/2,0,0)}e.translate(n,i,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(t,e,r){this.textSpans=[],this.renderType="svg",this.initElement(t,e,r)}function ISolidElement(t,e,r){this.initElement(t,e,r)}function NullElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initFrame(),this.initTransform(t,e,r),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(t,e,r){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(e&&e.title){var n=createNS("title"),i=createElementID();n.setAttribute("id",i),n.textContent=e.title,this.svgElement.appendChild(n),r+=i}if(e&&e.description){var o=createNS("desc"),a=createElementID();o.setAttribute("id",a),o.textContent=e.description,this.svgElement.appendChild(o),r+=" "+a}r&&this.svgElement.setAttribute("aria-labelledby",r);var s=createNS("defs");this.svgElement.appendChild(s);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&!1===e.hideOnTransparent),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height,runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){for(var e=0,r=t.length,n=[],i="";e<r;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(n.push(i),i=""):i+=t[e],e+=1;return n.push(i),n},SVGTextLottieElement.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var r=t.shapes[0];if(r.it){var n=r.it[r.it.length-1];n.s&&(n.s.k[0]=e,n.s.k[1]=e)}}return t},SVGTextLottieElement.prototype.buildNewText=function(){var t,e;this.addDynamicProperty(this);var r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var n=this.globalData.fontManager.getFontByName(r.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var i=r.fWeight,o=r.fStyle;this.layerElement.setAttribute("font-style",o),this.layerElement.setAttribute("font-weight",i)}this.layerElement.setAttribute("aria-label",r.t);var a,s=r.l||[],l=!!this.globalData.fontManager.chars;e=s.length;var c=this.mHelper,p=this.data.singleShape,u=0,h=0,d=!0,f=.001*r.tr*r.finalSize;if(!p||l||r.sz){var m,g=this.textSpans.length;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!l||!p||0===t){if(a=g>t?this.textSpans[t].span:createNS(l?"g":"text"),g<=t){if(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=a,l){var y=createNS("g");a.appendChild(y),this.textSpans[t].childSpan=y}this.textSpans[t].span=a,this.layerElement.appendChild(a)}a.style.display="inherit"}if(c.reset(),p&&(s[t].n&&(u=-f,h+=r.yOffset,h+=d?1:0,d=!1),this.applyTextPropertiesToMatrix(r,c,s[t].line,u,h),u+=s[t].l||0,u+=f),l){var v;if(1===(m=this.globalData.fontManager.getCharData(r.finalText[t],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)v=new SVGCompElement(m.data,this.globalData,this);else{var b=emptyShapeData;m.data&&m.data.shapes&&(b=this.buildShapeData(m.data,r.finalSize)),v=new SVGShapeElement(b,this.globalData,this)}if(this.textSpans[t].glyph){var x=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(x.layerElement),x.destroy()}this.textSpans[t].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[t].childSpan.appendChild(v.layerElement),1===m.t&&this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else p&&a.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),a.textContent=s[t].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}p&&a&&a.setAttribute("d","")}else{var w=this.textContainer,_="start";switch(r.j){case 1:_="end";break;case 2:_="middle";break;default:_="start"}w.setAttribute("text-anchor",_),w.setAttribute("letter-spacing",f);var E=this.buildTextContents(r.finalText);for(e=E.length,h=r.ps?r.ps[1]+r.ascent:0,t=0;t<e;t+=1)(a=this.textSpans[t].span||createNS("tspan")).textContent=E[t],a.setAttribute("x",0),a.setAttribute("y",h),a.style.display="inherit",w.appendChild(a),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=a,h+=r.finalLineHeight;this.layerElement.appendChild(w)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e,r=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<r;t+=1)(e=this.textSpans[t].glyph)&&(e.prepareFrame(this.comp.renderedFrame-this.data.st),e._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var r,n,i,o=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(e=a.length,t=0;t<e;t+=1)a[t].n||(r=o[t],n=this.textSpans[t].span,(i=this.textSpans[t].glyph)&&i.renderFrame(),r._mdf.m&&n.setAttribute("transform",r.m),r._mdf.o&&n.setAttribute("opacity",r.o),r._mdf.sw&&n.setAttribute("stroke-width",r.sw),r._mdf.sc&&n.setAttribute("stroke",r.sc),r._mdf.fc&&n.setAttribute("fill",r.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRendererBase.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRendererBase.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRendererBase.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var r=createNS("clipPath"),n=createNS("rect");n.setAttribute("width",t.w),n.setAttribute("height",t.h),n.setAttribute("x",0),n.setAttribute("y",0);var i=createElementID();r.setAttribute("id",i),r.appendChild(n),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),e.appendChild(r),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(t){var e=0,r=this.layers.length;for(e=0;e<r;e+=1)if(this.layers[e].ind===t)return e;return-1},SVGRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){e[t]=!0;var r=this.createItem(this.layers[t]);if(e[t]=r,getExpressionsPlugin()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,t),this.layers[t].tt){var n="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(-1===n)return;if(this.elements[n]&&!0!==this.elements[n]){var i=e[n].getMatte(this.layers[t].tt);r.setMatte(i)}else this.buildItem(n),this.addPendingElement(r)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,r=this.elements.length;e<r;){if(this.elements[e]===t){var n="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,i=this.elements[n].getMatte(this.layers[e].tt);t.setMatte(i);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){var e;null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var r=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=r-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){for(var n,i=0;i<e;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement()&&(n=this.elements[i].getBaseElement()),i+=1;n?this.layerElement.insertBefore(r,n):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var r,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},ShapeTransformManager.prototype={addTransformSequence:function(t){var e,r=t.length,n="_";for(e=0;e<r;e+=1)n+=t[e].transform.key+"_";var i=this.sequences[n];return i||(i={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=i,this.sequenceList.push(i)),i},processSequence:function(t,e){for(var r=0,n=t.transforms.length,i=e;r<n&&!e;){if(t.transforms[r].transform.mProps._mdf){i=!0;break}r+=1}if(i)for(t.finalTransform.reset(),r=n-1;r>=0;r-=1)t.finalTransform.multiply(t.transforms[r].transform.mProps.v);t._mdf=i},processSequences:function(t){var e,r=this.sequenceList.length;for(e=0;e<r;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",e=null,r=null,n=null;function i(){var i,o,a;e||(i=createNS("svg"),o=createNS("filter"),a=createNS("feColorMatrix"),o.setAttribute("id",t),a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),o.appendChild(a),i.appendChild(o),i.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(i.style.display="none"),n=i,document.body.appendChild(n),e=createTag("canvas"),(r=e.getContext("2d")).filter="url(#"+t+")",r.fillStyle="rgba(0,0,0,0)",r.fillRect(0,0,1,1))}return{load:i,get:function(n){return e||i(),e.width=n.width,e.height=n.height,r.filter="url(#"+t+")",e}}};function createCanvas(t,e){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(t,e);var r=createTag("canvas");return r.width=t,r.height=e,r}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas},registeredEffects={};function CVEffects(t){var e,r,n=t.data.ef?t.data.ef.length:0;for(this.filters=[],e=0;e<n;e+=1){r=null;var i=t.data.ef[e].ty;registeredEffects[i]&&(r=new(0,registeredEffects[i].effect)(t.effectsManager.effectElements[e],t)),r&&this.filters.push(r)}this.filters.length&&t.addRenderableComponent(this)}function registerEffect(t,e){registeredEffects[t]={effect:e}}function CVMaskElement(t,e){var r;this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var n=this.masksProperties.length,i=!1;for(r=0;r<n;r+=1)"n"!==this.masksProperties[r].mode&&(i=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=i,i&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},CVEffects.prototype.getEffects=function(t){var e,r=this.filters.length,n=[];for(e=0;e<r;e+=1)this.filters[e].type===t&&n.push(this.filters[e]);return n},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,r,n,i=this.element.finalTransform.mat,o=this.element.canvasContext,a=this.masksProperties.length;for(o.beginPath(),t=0;t<a;t+=1)if("n"!==this.masksProperties[t].mode){var s;this.masksProperties[t].inv&&(o.moveTo(0,0),o.lineTo(this.element.globalData.compSize.w,0),o.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),o.lineTo(0,this.element.globalData.compSize.h),o.lineTo(0,0)),n=this.viewData[t].v,e=i.applyToPointArray(n.v[0][0],n.v[0][1],0),o.moveTo(e[0],e[1]);var l=n._length;for(s=1;s<l;s+=1)r=i.applyToTriplePoints(n.o[s-1],n.i[s],n.v[s]),o.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=i.applyToTriplePoints(n.o[s-1],n.i[0],n.v[0]),o.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),o.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(t,e,r,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var i,o=4;"rc"===e.ty?o=5:"el"===e.ty?o=6:"sr"===e.ty&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,o,t);var a,s=r.length;for(i=0;i<s;i+=1)r[i].closed||(a={transforms:n.addTransformSequence(r[i].transforms),trNodes:[]},this.styledShapes.push(a),r[i].elements.push(a))}function CVShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,r)}function CVTextElement(t,e,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,r)}function CVImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,r)}function CVSolidElement(t,e,r){this.initElement(t,e,r)}function CanvasRendererBase(){}function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){var t;for(this.stack=[],this.cArrPos=0,this.cTr=new Matrix,t=0;t<15;t+=1){var e=new CanvasContext;this.stack[t]=e}this._length=15,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}function CVCompElement(t,e,r){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||"",runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}function HBaseElement(){}function HSolidElement(t,e,r){this.initElement(t,e,r)}function HShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,r)}function HCameraElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initHierarchy();var n=PropertyFactory.getProp;if(this.pe=n(this,t.pe,0,0,this),t.ks.p.s?(this.px=n(this,t.ks.p.x,1,0,this),this.py=n(this,t.ks.p.y,1,0,this),this.pz=n(this,t.ks.p.z,1,0,this)):this.p=n(this,t.ks.p,1,0,this),t.ks.a&&(this.a=n(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var i,o=t.ks.or.k.length;for(i=0;i<o;i+=1)t.ks.or.k[i].to=null,t.ks.or.k[i].ti=null}this.or=n(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=n(this,t.ks.rx,0,degToRads,this),this.ry=n(this,t.ks.ry,0,degToRads,this),this.rz=n(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r)}function HybridRendererBase(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(t,e,r){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"},runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var t=this.globalData.canvasContext,e=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(e);var r=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(r),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0].getContext("2d");this.clearCanvas(t),t.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],e=t.getContext("2d");if(this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var r=assetLoader.getLumaCanvas(this.canvasContext.canvas);r.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(r,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(t){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var e=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(e),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(t,e){var r={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},n={};if("fl"===t.ty||"st"===t.ty?(n.c=PropertyFactory.getProp(this,t.c,1,255,this),n.c.k||(r.co="rgb("+bmFloor(n.c.v[0])+","+bmFloor(n.c.v[1])+","+bmFloor(n.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(n.s=PropertyFactory.getProp(this,t.s,1,null,this),n.e=PropertyFactory.getProp(this,t.e,1,null,this),n.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,t.g,this)),n.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"===t.ty||"gs"===t.ty){if(r.lc=lineCapEnum[t.lc||2],r.lj=lineJoinEnum[t.lj||2],1==t.lj&&(r.ml=t.ml),n.w=PropertyFactory.getProp(this,t.w,0,null,this),n.w.k||(r.wi=n.w.v),t.d){var i=new DashProperty(this,t.d,"canvas",this);n.d=i,n.d.k||(r.da=n.d.dashArray,r.do=n.d.dashoffset[0])}}else r.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(r),n.style=r,n},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(t){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}}},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,r,n,i){var o,a,s,l,c,p,u=t.length-1,h=[],d=[],f=[].concat(i);for(o=u;o>=0;o-=1){if((l=this.searchProcessedElement(t[o]))?e[o]=r[l-1]:t[o]._shouldRender=n,"fl"===t[o].ty||"st"===t[o].ty||"gf"===t[o].ty||"gs"===t[o].ty)l?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],f),h.push(e[o].style);else if("gr"===t[o].ty){if(l)for(s=e[o].it.length,a=0;a<s;a+=1)e[o].prevViewData[a]=e[o].it[a];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,n,f)}else"tr"===t[o].ty?(l||(p=this.createTransformElement(t[o]),e[o]=p),f.push(e[o]),this.addTransformToStyleList(e[o])):"sh"===t[o].ty||"rc"===t[o].ty||"el"===t[o].ty||"sr"===t[o].ty?l||(e[o]=this.createShapeElement(t[o])):"tm"===t[o].ty||"rd"===t[o].ty||"pb"===t[o].ty||"zz"===t[o].ty||"op"===t[o].ty?(l?(c=e[o]).closed=!1:((c=ShapeModifiers.getModifier(t[o].ty)).init(this,t[o]),e[o]=c,this.shapeModifiers.push(c)),d.push(c)):"rp"===t[o].ty&&(l?(c=e[o]).closed=!0:(c=ShapeModifiers.getModifier(t[o].ty),e[o]=c,c.init(this,t,o,e),this.shapeModifiers.push(c),n=!1),d.push(c));this.addProcessedElement(t[o],o+1)}for(this.removeTransformFromStyleList(),this.closeStyles(h),u=d.length,o=0;o<u;o+=1)d[o].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e,r,n,i,o,a,s,l,c=this.stylesList.length,p=this.globalData.renderer,u=this.globalData.canvasContext;for(t=0;t<c;t+=1)if(("st"!==(s=(l=this.stylesList[t]).type)&&"gs"!==s||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(p.save(),o=l.elements,"st"===s||"gs"===s?(p.ctxStrokeStyle("st"===s?l.co:l.grd),p.ctxLineWidth(l.wi),p.ctxLineCap(l.lc),p.ctxLineJoin(l.lj),p.ctxMiterLimit(l.ml||0)):p.ctxFillStyle("fl"===s?l.co:l.grd),p.ctxOpacity(l.coOp),"st"!==s&&"gs"!==s&&u.beginPath(),p.ctxTransform(l.preTransforms.finalTransform.props),r=o.length,e=0;e<r;e+=1){for("st"!==s&&"gs"!==s||(u.beginPath(),l.da&&(u.setLineDash(l.da),u.lineDashOffset=l.do)),i=(a=o[e].trNodes).length,n=0;n<i;n+=1)"m"===a[n].t?u.moveTo(a[n].p[0],a[n].p[1]):"c"===a[n].t?u.bezierCurveTo(a[n].pts[0],a[n].pts[1],a[n].pts[2],a[n].pts[3],a[n].pts[4],a[n].pts[5]):u.closePath();"st"!==s&&"gs"!==s||(p.ctxStroke(),l.da&&u.setLineDash(this.dashResetter))}"st"!==s&&"gs"!==s&&this.globalData.renderer.ctxFill(l.r),p.restore()}},CVShapeElement.prototype.renderShape=function(t,e,r,n){var i,o;for(o=t,i=e.length-1;i>=0;i-=1)"tr"===e[i].ty?(o=r[i].transform,this.renderShapeTransform(t,o)):"sh"===e[i].ty||"el"===e[i].ty||"rc"===e[i].ty||"sr"===e[i].ty?this.renderPath(e[i],r[i]):"fl"===e[i].ty?this.renderFill(e[i],r[i],o):"st"===e[i].ty?this.renderStroke(e[i],r[i],o):"gf"===e[i].ty||"gs"===e[i].ty?this.renderGradientFill(e[i],r[i],o):"gr"===e[i].ty?this.renderShape(o,e[i].it,r[i].it):e[i].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r,n,i,o=t.trNodes,a=e.paths,s=a._length;o.length=0;var l=t.transforms.finalTransform;for(i=0;i<s;i+=1){var c=a.shapes[i];if(c&&c.v){for(n=c._length,r=1;r<n;r+=1)1===r&&o.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),o.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[r],c.v[r])});1===n&&o.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&n&&(o.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[0],c.v[0])}),o.push({t:"z"}))}}t.trNodes=o}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var r,n=e.styledShapes.length;for(r=0;r<n;r+=1)this.renderStyledShape(e.styledShapes[r],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,r){var n=e.style;(e.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=e.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,r){var n,i=e.style;if(!i.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var o,a=this.globalData.canvasContext,s=e.s.v,l=e.e.v;if(1===t.t)n=a.createLinearGradient(s[0],s[1],l[0],l[1]);else{var c=Math.sqrt(Math.pow(s[0]-l[0],2)+Math.pow(s[1]-l[1],2)),p=Math.atan2(l[1]-s[1],l[0]-s[0]),u=e.h.v;u>=1?u=.99:u<=-1&&(u=-.99);var h=c*u,d=Math.cos(p+e.a.v)*h+s[0],f=Math.sin(p+e.a.v)*h+s[1];n=a.createRadialGradient(d,f,0,s[0],s[1],c)}var m=t.g.p,g=e.g.c,y=1;for(o=0;o<m;o+=1)e.g._hasOpacity&&e.g._collapsable&&(y=e.g.o[2*o+1]),n.addColorStop(g[4*o]/100,"rgba("+g[4*o+1]+","+g[4*o+2]+","+g[4*o+3]+","+y+")");i.grd=n}i.coOp=e.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(t,e,r){var n=e.style,i=e.d;i&&(i._mdf||this._isFirstFrame)&&(n.da=i.dashArray,n.do=i.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=e.o.v*r.opacity),(e.w._mdf||this._isFirstFrame)&&(n.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var r=!1;t.sc&&(r=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var n,i,o,a,s,l,c,p,u,h,d,f,m=this.globalData.fontManager.getFontByName(t.f),g=t.l,y=this.mHelper;this.stroke=r,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,i=t.finalText.length;var v=this.data.singleShape,b=.001*t.tr*t.finalSize,x=0,w=0,_=!0,E=0;for(n=0;n<i;n+=1){a=(o=this.globalData.fontManager.getCharData(t.finalText[n],m.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily))&&o.data||{},y.reset(),v&&g[n].n&&(x=-b,w+=t.yOffset,w+=_?1:0,_=!1),u=(c=a.shapes?a.shapes[0].it:[]).length,y.scale(t.finalSize/100,t.finalSize/100),v&&this.applyTextPropertiesToMatrix(t,y,g[n].line,x,w),d=createSizedArray(u-1);var S=0;for(p=0;p<u;p+=1)if("sh"===c[p].ty){for(l=c[p].ks.k.i.length,h=c[p].ks.k,f=[],s=1;s<l;s+=1)1===s&&f.push(y.applyToX(h.v[0][0],h.v[0][1],0),y.applyToY(h.v[0][0],h.v[0][1],0)),f.push(y.applyToX(h.o[s-1][0],h.o[s-1][1],0),y.applyToY(h.o[s-1][0],h.o[s-1][1],0),y.applyToX(h.i[s][0],h.i[s][1],0),y.applyToY(h.i[s][0],h.i[s][1],0),y.applyToX(h.v[s][0],h.v[s][1],0),y.applyToY(h.v[s][0],h.v[s][1],0));f.push(y.applyToX(h.o[s-1][0],h.o[s-1][1],0),y.applyToY(h.o[s-1][0],h.o[s-1][1],0),y.applyToX(h.i[0][0],h.i[0][1],0),y.applyToY(h.i[0][0],h.i[0][1],0),y.applyToX(h.v[0][0],h.v[0][1],0),y.applyToY(h.v[0][0],h.v[0][1],0)),d[S]=f,S+=1}v&&(x+=g[n].l,x+=b),this.textSpans[E]?this.textSpans[E].elem=d:this.textSpans[E]={elem:d},E+=1}},CVTextElement.prototype.renderInnerContent=function(){var t,e,r,n,i,o;this.validateText(),this.canvasContext.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var a,s=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;e=l.length;var c,p,u=null,h=null,d=null,f=this.globalData.renderer;for(t=0;t<e;t+=1)if(!l[t].n){if((a=s[t])&&(f.save(),f.ctxTransform(a.p),f.ctxOpacity(a.o)),this.fill){for(a&&a.fc?u!==a.fc&&(f.ctxFillStyle(a.fc),u=a.fc):u!==this.values.fill&&(u=this.values.fill,f.ctxFillStyle(this.values.fill)),n=(c=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(o=(p=c[r]).length,this.globalData.canvasContext.moveTo(p[0],p[1]),i=2;i<o;i+=6)this.globalData.canvasContext.bezierCurveTo(p[i],p[i+1],p[i+2],p[i+3],p[i+4],p[i+5]);this.globalData.canvasContext.closePath(),f.ctxFill()}if(this.stroke){for(a&&a.sw?d!==a.sw&&(d=a.sw,f.ctxLineWidth(a.sw)):d!==this.values.sWidth&&(d=this.values.sWidth,f.ctxLineWidth(this.values.sWidth)),a&&a.sc?h!==a.sc&&(h=a.sc,f.ctxStrokeStyle(a.sc)):h!==this.values.stroke&&(h=this.values.stroke,f.ctxStrokeStyle(this.values.stroke)),n=(c=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(o=(p=c[r]).length,this.globalData.canvasContext.moveTo(p[0],p[1]),i=2;i<o;i+=6)this.globalData.canvasContext.bezierCurveTo(p[i],p[i+1],p[i+2],p[i+3],p[i+4],p[i+5]);this.globalData.canvasContext.closePath(),f.ctxStroke()}a&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e,r,n=t.getContext("2d"),i=this.img.width,o=this.img.height,a=i/o,s=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;a>s&&"xMidYMid slice"===l||a<s&&"xMidYMid slice"!==l?e=(r=o)*s:r=(e=i)/s,n.drawImage(this.img,(i-e)/2,(o-r)/2,e,r,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRendererBase.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(t){1===t[0]&&0===t[1]&&0===t[4]&&1===t[5]&&0===t[12]&&0===t[13]||this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRendererBase.prototype.ctxOpacity=function(t){this.canvasContext.globalAlpha*=t<0?0:t},CanvasRendererBase.prototype.ctxFillStyle=function(t){this.canvasContext.fillStyle=t},CanvasRendererBase.prototype.ctxStrokeStyle=function(t){this.canvasContext.strokeStyle=t},CanvasRendererBase.prototype.ctxLineWidth=function(t){this.canvasContext.lineWidth=t},CanvasRendererBase.prototype.ctxLineCap=function(t){this.canvasContext.lineCap=t},CanvasRendererBase.prototype.ctxLineJoin=function(t){this.canvasContext.lineJoin=t},CanvasRendererBase.prototype.ctxMiterLimit=function(t){this.canvasContext.miterLimit=t},CanvasRendererBase.prototype.ctxFill=function(t){this.canvasContext.fill(t)},CanvasRendererBase.prototype.ctxFillRect=function(t,e,r,n){this.canvasContext.fillRect(t,e,r,n)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(t){this.renderConfig.clearCanvas?(t&&(this.globalData.blendMode="source-over"),this.contextData.restore(t)):this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var r="0px 0px 0px";e.transformOrigin=r,e.mozTransformOrigin=r,e.webkitTransformOrigin=r,e["-webkit-transform"]=r,e.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(t,e){var r,n,i,o;if(this.reset(),t?(r=t,n=e,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=n):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,n=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,n=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=n*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var a=this.renderConfig.preserveAspectRatio.split(" "),s=a[1]||"meet",l=a[0]||"xMidYMid",c=l.substr(0,4),p=l.substr(4);i=r/n,(o=this.transformCanvas.w/this.transformCanvas.h)>i&&"meet"===s||o<i&&"slice"===s?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=n/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===c&&(o<i&&"meet"===s||o>i&&"slice"===s)?(r-this.transformCanvas.w*(n/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===c&&(o<i&&"meet"===s||o>i&&"slice"===s)?(r-this.transformCanvas.w*(n/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===p&&(o>i&&"meet"===s||o<i&&"slice"===s)?(n-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===p&&(o>i&&"meet"===s||o<i&&"slice"===s)?(n-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var t;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),t=(this.layers?this.layers.length:0)-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){var r;this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var n=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){var r=this.createItem(this.layers[t],this,this.globalData);e[t]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=0;for(e=this._length;e<t;e+=1)this.stack[e]=new CanvasContext;this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(t){this.cArrPos-=1;var e,r=this.stack[this.cArrPos],n=r.transform,i=this.cTr.props;for(e=0;e<16;e+=1)i[e]=n[e];if(t){this.nativeContext.restore();var o=this.stack[this.cArrPos+1];this.appliedFillStyle=o.fillStyle,this.appliedStrokeStyle=o.strokeStyle,this.appliedLineWidth=o.lineWidth,this.appliedLineCap=o.lineCap,this.appliedLineJoin=o.lineJoin,this.appliedMiterLimit=o.miterLimit}this.nativeContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),(t||-1!==r.opacity&&this.currentOpacity!==r.opacity)&&(this.nativeContext.globalAlpha=r.opacity,this.currentOpacity=r.opacity),this.currentFillStyle=r.fillStyle,this.currentStrokeStyle=r.strokeStyle,this.currentLineWidth=r.lineWidth,this.currentLineCap=r.lineCap,this.currentLineJoin=r.lineJoin,this.currentMiterLimit=r.miterLimit},CVContextData.prototype.save=function(t){t&&this.nativeContext.save();var e=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r,n=this.stack[this.cArrPos];for(r=0;r<16;r+=1)n.transform[r]=e[r];this.cArrPos+=1;var i=this.stack[this.cArrPos];i.opacity=n.opacity,i.fillStyle=n.fillStyle,i.strokeStyle=n.strokeStyle,i.lineWidth=n.lineWidth,i.lineCap=n.lineCap,i.lineJoin=n.lineJoin,i.miterLimit=n.miterLimit},CVContextData.prototype.setOpacity=function(t){this.stack[this.cArrPos].opacity=t},CVContextData.prototype.setContext=function(t){this.nativeContext=t},CVContextData.prototype.fillStyle=function(t){this.stack[this.cArrPos].fillStyle!==t&&(this.currentFillStyle=t,this.stack[this.cArrPos].fillStyle=t)},CVContextData.prototype.strokeStyle=function(t){this.stack[this.cArrPos].strokeStyle!==t&&(this.currentStrokeStyle=t,this.stack[this.cArrPos].strokeStyle=t)},CVContextData.prototype.lineWidth=function(t){this.stack[this.cArrPos].lineWidth!==t&&(this.currentLineWidth=t,this.stack[this.cArrPos].lineWidth=t)},CVContextData.prototype.lineCap=function(t){this.stack[this.cArrPos].lineCap!==t&&(this.currentLineCap=t,this.stack[this.cArrPos].lineCap=t)},CVContextData.prototype.lineJoin=function(t){this.stack[this.cArrPos].lineJoin!==t&&(this.currentLineJoin=t,this.stack[this.cArrPos].lineJoin=t)},CVContextData.prototype.miterLimit=function(t){this.stack[this.cArrPos].miterLimit!==t&&(this.currentMiterLimit=t,this.stack[this.cArrPos].miterLimit=t)},CVContextData.prototype.transform=function(t){this.transformMat.cloneFromProps(t);var e=this.cTr;this.transformMat.multiply(e),e.cloneFromProps(this.transformMat.props);var r=e.props;this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])},CVContextData.prototype.opacity=function(t){var e=this.stack[this.cArrPos].opacity;e*=t<0?0:t,this.stack[this.cArrPos].opacity!==e&&(this.currentOpacity!==t&&(this.nativeContext.globalAlpha=t,this.currentOpacity=t),this.stack[this.cArrPos].opacity=e)},CVContextData.prototype.fill=function(t){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(t)},CVContextData.prototype.fillRect=function(t,e,r,n){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(t,e,r,n)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t,e=this.canvasContext;for(e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip(),t=this.layers.length-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t;for(t=this.layers.length-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?((t=createNS("rect")).setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((t=createTag("div")).style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var r,n=t.length;for(r=0;r<n;r+=1)e=t[r].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var r,n,i,o,a,s=t.sh.v,l=t.transformers,c=s._length;if(!(c<=1)){for(r=0;r<c-1;r+=1)n=this.getTransformedPoint(l,s.v[r]),i=this.getTransformedPoint(l,s.o[r]),o=this.getTransformedPoint(l,s.i[r+1]),a=this.getTransformedPoint(l,s.v[r+1]),this.checkBounds(n,i,o,a,e);s.c&&(n=this.getTransformedPoint(l,s.v[r]),i=this.getTransformedPoint(l,s.o[r]),o=this.getTransformedPoint(l,s.i[0]),a=this.getTransformedPoint(l,s.v[0]),this.checkBounds(n,i,o,a,e))}},HShapeElement.prototype.checkBounds=function(t,e,r,n,i){this.getBoundsOfCurve(t,e,r,n);var o=this.shapeBoundingBox;i.x=bmMin(o.left,i.x),i.xMax=bmMax(o.right,i.xMax),i.y=bmMin(o.top,i.y),i.yMax=bmMax(o.bottom,i.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,r,n){for(var i,o,a,s,l,c,p,u=[[t[0],n[0]],[t[1],n[1]]],h=0;h<2;++h)o=6*t[h]-12*e[h]+6*r[h],i=-3*t[h]+9*e[h]-9*r[h]+3*n[h],a=3*e[h]-3*t[h],o|=0,a|=0,0==(i|=0)&&0===o||(0===i?(s=-a/o)>0&&s<1&&u[h].push(this.calculateF(s,t,e,r,n,h)):(l=o*o-4*a*i)>=0&&((c=(-o+bmSqrt(l))/(2*i))>0&&c<1&&u[h].push(this.calculateF(c,t,e,r,n,h)),(p=(-o-bmSqrt(l))/(2*i))>0&&p<1&&u[h].push(this.calculateF(p,t,e,r,n,h))));this.shapeBoundingBox.left=bmMin.apply(null,u[0]),this.shapeBoundingBox.top=bmMin.apply(null,u[1]),this.shapeBoundingBox.right=bmMax.apply(null,u[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,u[1])},HShapeElement.prototype.calculateF=function(t,e,r,n,i,o){return bmPow(1-t,3)*e[o]+3*bmPow(1-t,2)*t*r[o]+3*(1-t)*bmPow(t,2)*n[o]+bmPow(t,3)*i[o]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,n=t.length;for(r=0;r<n;r+=1)t[r]&&t[r].sh?this.calculateShapeBoundingBox(t[r],e):t[r]&&t[r].it?this.calculateBoundingBox(t[r].it,e):t[r]&&t[r].style&&t[r].w&&this.expandStrokeBoundingBox(t[r].w,e)},HShapeElement.prototype.expandStrokeBoundingBox=function(t,e){var r=0;if(t.keyframes){for(var n=0;n<t.keyframes.length;n+=1){var i=t.keyframes[n].s;i>r&&(r=i)}r*=t.mult}else r=t.v*t.mult;e.x-=r,e.xMax+=r,e.y-=r,e.yMax+=r},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var r=!1;if(this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),r=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),r=!0),r||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y){this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var n=this.shapeCont.style,i="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";n.transform=i,n.webkitTransform=i}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style,r=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)";e.fill=r,e.color=r,t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var n,i,o=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",o.fClass)this.innerElem.className=o.fClass;else{e.fontFamily=o.fFamily;var a=t.fWeight,s=t.fStyle;e.fontStyle=s,e.fontWeight=a}var l,c,p,u=t.l;i=u.length;var h,d=this.mHelper,f="",m=0;for(n=0;n<i;n+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?l=this.textPaths[m]:((l=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?p=(c=this.textSpans[m]).children[0]:((c=createTag("div")).style.lineHeight=0,(p=createNS("svg")).appendChild(l),styleDiv(c)))):this.isMasked?l=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(c=this.textSpans[m],l=this.textPaths[m]):(styleDiv(c=createTag("span")),styleDiv(l=createTag("span")),c.appendChild(l)),this.globalData.fontManager.chars){var g,y=this.globalData.fontManager.getCharData(t.finalText[n],o.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(g=y?y.data:null,d.reset(),g&&g.shapes&&g.shapes.length&&(h=g.shapes[0].it,d.scale(t.finalSize/100,t.finalSize/100),f=this.createPathShape(d,h),l.setAttribute("d",f)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(c),g&&g.shapes){document.body.appendChild(p);var v=p.getBBox();p.setAttribute("width",v.width+2),p.setAttribute("height",v.height+2),p.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2));var b=p.style,x="translate("+(v.x-1)+"px,"+(v.y-1)+"px)";b.transform=x,b.webkitTransform=x,u[n].yOffset=v.y-1}else p.setAttribute("width",1),p.setAttribute("height",1);c.appendChild(p)}}else if(l.textContent=u[n].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(c);var w=l.style,_="translate3d(0,"+-t.finalSize/1.2+"px,0)";w.transform=_,w.webkitTransform=_}this.isMasked?this.textSpans[m]=l:this.textSpans[m]=c,this.textSpans[m].style.display="block",this.textPaths[m]=l,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var t;if(this.validateText(),this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),t=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";t.transform=e,t.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var r,n,i,o,a,s=0,l=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;for(n=c.length,r=0;r<n;r+=1)c[r].n?s+=1:(o=this.textSpans[r],a=this.textPaths[r],i=l[s],s+=1,i._mdf.m&&(this.isMasked?o.setAttribute("transform",i.m):(o.style.webkitTransform=i.m,o.style.transform=i.m)),o.style.opacity=i.o,i.sw&&i._mdf.sw&&a.setAttribute("stroke-width",i.sw),i.sc&&i._mdf.sc&&a.setAttribute("stroke",i.sc),i.fc&&i._mdf.fc&&(a.setAttribute("fill",i.fc),a.style.color=i.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var p=this.innerElem.getBBox();if(this.currentBBox.w!==p.width&&(this.currentBBox.w=p.width,this.svgElement.setAttribute("width",p.width)),this.currentBBox.h!==p.height&&(this.currentBBox.h=p.height,this.svgElement.setAttribute("height",p.height)),this.currentBBox.w!==p.width+2||this.currentBBox.h!==p.height+2||this.currentBBox.x!==p.x-1||this.currentBBox.y!==p.y-1){this.currentBBox.w=p.width+2,this.currentBBox.h=p.height+2,this.currentBBox.x=p.x-1,this.currentBBox.y=p.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var u="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=u,t.webkitTransform=u}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e,r,n,i=this.comp.threeDElements.length;for(t=0;t<i;t+=1)if("3d"===(e=this.comp.threeDElements[t]).type){r=e.perspectiveElem.style,n=e.container.style;var o=this.pe.v+"px",a="0px 0px 0px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=o,r.webkitPerspective=o,n.transformOrigin=a,n.mozTransformOrigin=a,n.webkitTransformOrigin=a,r.transform=s,r.webkitTransform=s}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t,e,r=this._isFirstFrame;if(this.hierarchy)for(e=this.hierarchy.length,t=0;t<e;t+=1)r=this.hierarchy[t].finalTransform.mProp._mdf||r;if(r||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(t=e=this.hierarchy.length-1;t>=0;t-=1){var n=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var i;i=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var o=Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),a=[i[0]/o,i[1]/o,i[2]/o],s=Math.sqrt(a[2]*a[2]+a[0]*a[0]),l=Math.atan2(a[1],s),c=Math.atan2(a[0],-a[2]);this.mat.rotateY(c).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var p=!this._prevMat.equals(this.mat);if((p||this.pe._mdf)&&this.comp.threeDElements){var u,h,d;for(e=this.comp.threeDElements.length,t=0;t<e;t+=1)if("3d"===(u=this.comp.threeDElements[t]).type){if(p){var f=this.mat.toCSS();(d=u.container.style).transform=f,d.webkitTransform=f}this.pe._mdf&&((h=u.perspectiveElem.style).perspective=this.pe.v+"px",h.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.crossOrigin="anonymous",e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){var n=this.layers[e];if(n.ddd&&this.supports3d)this.addTo3dContainer(r,e);else if(this.threeDElements)this.addTo3dContainer(r,e);else{for(var i,o,a=0;a<e;)this.elements[a]&&!0!==this.elements[a]&&this.elements[a].getBaseElement&&(o=this.elements[a],i=(this.layers[a].ddd?this.getThreeDContainerByPos(a):o.getBaseElement())||i),a+=1;i?n.ddd&&this.supports3d||this.layerElement.insertBefore(r,i):n.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRendererBase.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRendererBase.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextLottieElement(t,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(t){for(var e=0,r=this.threeDElements.length;e<r;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var r,n,i=createTag("div");styleDiv(i);var o=createTag("div");if(styleDiv(o),"3d"===e){(r=i.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var a="50% 50%";r.webkitTransformOrigin=a,r.mozTransformOrigin=a,r.transformOrigin=a;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(n=o.style).transform=s,n.webkitTransform=s}i.appendChild(o);var l={container:o,perspectiveElem:i,startPos:t,endPos:t,type:e};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var t,e,r=this.layers.length,n="";for(t=0;t<r;t+=1)this.layers[t].ddd&&3!==this.layers[t].ty?("3d"!==n&&(n="3d",e=this.createThreeDContainer(t,"3d")),e.endPos=Math.max(e.endPos,t)):("2d"!==n&&(n="2d",e=this.createThreeDContainer(t,"2d")),e.endPos=Math.max(e.endPos,t));for(t=(r=this.threeDElements.length)-1;t>=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var r=0,n=this.threeDElements.length;r<n;){if(e<=this.threeDElements[r].endPos){for(var i,o=this.threeDElements[r].startPos;o<e;)this.elements[o]&&this.elements[o].getBaseElement&&(i=this.elements[o].getBaseElement()),o+=1;i?this.threeDElements[r].container.insertBefore(t,i):this.threeDElements[r].container.appendChild(t);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(t){var e=createTag("div"),r=this.animationItem.wrapper,n=e.style;n.width=t.w+"px",n.height=t.h+"px",this.resizerElem=e,styleDiv(e),n.transformStyle="flat",n.mozTransformStyle="flat",n.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),r.appendChild(e),n.overflow="hidden";var i=createNS("svg");i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i);var o=createNS("defs");i.appendChild(o),this.data=t,this.setupGlobalData(t,i),this.globalData.defs=o,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var t,e,r,n,i=this.animationItem.wrapper.offsetWidth,o=this.animationItem.wrapper.offsetHeight,a=i/o;this.globalData.compSize.w/this.globalData.compSize.h>a?(t=i/this.globalData.compSize.w,e=i/this.globalData.compSize.w,r=0,n=(o-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(t=o/this.globalData.compSize.h,e=o/this.globalData.compSize.h,r=(i-this.globalData.compSize.w*(o/this.globalData.compSize.h))/2,n=0);var s=this.resizerElem.style;s.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+r+","+n+",0,1)",s.transform=s.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,r=this.globalData.compSize.h,n=this.threeDElements.length;for(t=0;t<n;t+=1){var i=this.threeDElements[t].perspectiveElem.style;i.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(r,2))+"px",i.perspective=i.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(t){var e,r=t.length,n=createTag("div");for(e=0;e<r;e+=1)if(t[e].xt){var i=this.createComp(t[e],n,this.globalData.comp,null);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){for(var r,n=0;n<e;)this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n].getBaseElement()),n+=1;r?this.layerElement.insertBefore(t,r):this.layerElement.appendChild(t)},HCompElement.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};var CompExpressionInterface=function(t){function e(e){for(var r=0,n=t.layers.length;r<n;){if(t.layers[r].nm===e||t.layers[r].ind===e)return t.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e};function _typeof$2(t){return _typeof$2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$2(t)}function seedRandom(t,e){var r,n=this,i=256,o="random",a=e.pow(i,6),s=e.pow(2,52),l=2*s,c=255;function p(t){var e,r=t.length,n=this,o=0,a=n.i=n.j=0,s=n.S=[];for(r||(t=[r++]);o<i;)s[o]=o++;for(o=0;o<i;o++)s[o]=s[a=c&a+t[o%r]+(e=s[o])],s[a]=e;n.g=function(t){for(var e,r=0,o=n.i,a=n.j,s=n.S;t--;)e=s[o=c&o+1],r=r*i+s[c&(s[o]=s[a=c&a+e])+(s[a]=e)];return n.i=o,n.j=a,r}}function u(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function h(t,e){var r,n=[],i=_typeof$2(t);if(e&&"object"==i)for(r in t)try{n.push(h(t[r],e-1))}catch(t){}return n.length?n:"string"==i?t:t+"\0"}function d(t,e){for(var r,n=t+"",i=0;i<n.length;)e[c&i]=c&(r^=19*e[c&i])+n.charCodeAt(i++);return f(e)}function f(t){return String.fromCharCode.apply(0,t)}e["seed"+o]=function(c,m,g){var y=[],v=d(h((m=!0===m?{entropy:!0}:m||{}).entropy?[c,f(t)]:null===c?function(){try{r;var e=new Uint8Array(i);return(n.crypto||n.msCrypto).getRandomValues(e),f(e)}catch(e){var o=n.navigator,a=o&&o.plugins;return[+new Date,n,a,n.screen,f(t)]}}():c,3),y),b=new p(y),x=function(){for(var t=b.g(6),e=a,r=0;t<s;)t=(t+r)*i,e*=i,r=b.g(1);for(;t>=l;)t/=2,e/=2,r>>>=1;return(t+r)/e};return x.int32=function(){return 0|b.g(4)},x.quick=function(){return b.g(4)/4294967296},x.double=x,d(f(b.S),t),(m.pass||g||function(t,r,n,i){return i&&(i.S&&u(i,b),t.state=function(){return u(b,{})}),n?(e[o]=t,r):t})(x,v,"global"in m?m.global:this==e,m.state)},d(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof$1(t){return _typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$1(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||e instanceof Number||"boolean"===t||"string"===t}function $bm_neg(t){var e=_typeof$1(t);if("number"===e||t instanceof Number||"boolean"===e)return-t;if($bm_isInstanceOfArray(t)){var r,n=t.length,i=[];for(r=0;r<n;r+=1)i[r]=-t[r];return i}return t.propType?t.v:-t}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var r=_typeof$1(t),n=_typeof$1(e);if(isNumerable(r,t)&&isNumerable(n,e)||"string"===r||"string"===n)return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(n,e))return(t=t.slice(0))[0]+=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var i=0,o=t.length,a=e.length,s=[];i<o||i<a;)("number"==typeof t[i]||t[i]instanceof Number)&&("number"==typeof e[i]||e[i]instanceof Number)?s[i]=t[i]+e[i]:s[i]=void 0===e[i]?t[i]:t[i]||e[i],i+=1;return s}return 0}var add=sum;function sub(t,e){var r=_typeof$1(t),n=_typeof$1(e);if(isNumerable(r,t)&&isNumerable(n,e))return"string"===r&&(t=parseInt(t,10)),"string"===n&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(n,e))return(t=t.slice(0))[0]-=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var i=0,o=t.length,a=e.length,s=[];i<o||i<a;)("number"==typeof t[i]||t[i]instanceof Number)&&("number"==typeof e[i]||e[i]instanceof Number)?s[i]=t[i]-e[i]:s[i]=void 0===e[i]?t[i]:t[i]||e[i],i+=1;return s}return 0}function mul(t,e){var r,n,i,o=_typeof$1(t),a=_typeof$1(e);if(isNumerable(o,t)&&isNumerable(a,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(i=t.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=t[n]*e;return r}if(isNumerable(o,t)&&$bm_isInstanceOfArray(e)){for(i=e.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=t*e[n];return r}return 0}function div(t,e){var r,n,i,o=_typeof$1(t),a=_typeof$1(e);if(isNumerable(o,t)&&isNumerable(a,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(i=t.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=t[n]/e;return r}if(isNumerable(o,t)&&$bm_isInstanceOfArray(e)){for(i=e.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=t/e[n];return r}return 0}function mod(t,e){return"string"==typeof t&&(t=parseInt(t,10)),"string"==typeof e&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,r){if(e>r){var n=r;r=e,e=n}return Math.min(Math.max(t,e),r)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"==typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);var r;e||(e=helperLengthArray);var n=Math.min(t.length,e.length),i=0;for(r=0;r<n;r+=1)i+=Math.pow(e[r]-t[r],2);return Math.sqrt(i)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,r,n=t[0],i=t[1],o=t[2],a=Math.max(n,i,o),s=Math.min(n,i,o),l=(a+s)/2;if(a===s)e=0,r=0;else{var c=a-s;switch(r=l>.5?c/(2-a-s):c/(a+s),a){case n:e=(i-o)/c+(i<o?6:0);break;case i:e=(o-n)/c+2;break;case o:e=(n-i)/c+4}e/=6}return[e,r,l,t[3]]}function hue2rgb(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e,r,n,i=t[0],o=t[1],a=t[2];if(0===o)e=a,n=a,r=a;else{var s=a<.5?a*(1+o):a+o-a*o,l=2*a-s;e=hue2rgb(l,s,i+1/3),r=hue2rgb(l,s,i),n=hue2rgb(l,s,i-1/3)}return[e,r,n,t[3]]}function linear(t,e,r,n,i){if(void 0!==n&&void 0!==i||(n=e,i=r,e=0,r=1),r<e){var o=r;r=e,e=o}if(t<=e)return n;if(t>=r)return i;var a,s=r===e?0:(t-e)/(r-e);if(!n.length)return n+(i-n)*s;var l=n.length,c=createTypedArray("float32",l);for(a=0;a<l;a+=1)c[a]=n[a]+(i[a]-n[a])*s;return c}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var r,n=e.length;t||(t=createTypedArray("float32",n));var i=createTypedArray("float32",n),o=BMMath.random();for(r=0;r<n;r+=1)i[r]=t[r]+o*(e[r]-t[r]);return i}return void 0===t&&(t=0),t+BMMath.random()*(e-t)}function createPath(t,e,r,n){var i,o=t.length,a=shapePool.newElement();a.setPathData(!!n,o);var s,l,c=[0,0];for(i=0;i<o;i+=1)s=e&&e[i]?e[i]:c,l=r&&r[i]?r[i]:c,a.setTripleAt(t[i][0],t[i][1],l[0]+t[i][0],l[1]+t[i][1],s[0]+t[i][0],s[1]+t[i][1],i,!0);return a}function initiateExpression(elem,data,property){function noOp(t){return t}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(t,e){var r,n,i=this.pv.length?this.pv.length:1,o=createTypedArray("float32",i),a=Math.floor(5*time);for(r=0,n=0;r<a;){for(n=0;n<i;n+=1)o[n]+=-e+2*e*BMMath.random();r+=1}var s=5*time,l=s-Math.floor(s),c=createTypedArray("float32",i);if(i>1){for(n=0;n<i;n+=1)c[n]=this.pv[n]+o[n]+(-e+2*e*BMMath.random())*l;return c}return this.pv+o[0]+(-e+2*e*BMMath.random())*l}.bind(this);function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(t,e){var r=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],n=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,n,0]}function easeOut(t,e,r,n,i){return applyEase(easeOutBez,t,e,r,n,i)}function easeIn(t,e,r,n,i){return applyEase(easeInBez,t,e,r,n,i)}function ease(t,e,r,n,i){return applyEase(easeInOutBez,t,e,r,n,i)}function applyEase(t,e,r,n,i,o){void 0===i?(i=r,o=n):e=(e-r)/(n-r),e>1?e=1:e<0&&(e=0);var a=t(e);if($bm_isInstanceOfArray(i)){var s,l=i.length,c=createTypedArray("float32",l);for(s=0;s<l;s+=1)c[s]=(o[s]-i[s])*a+i[s];return c}return(o-i)*a+i}function nearestKey(t){var e,r,n,i=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(r=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,n=data.k[0].t;else{for(e=0;e<i-1;e+=1){if(t===data.k[e].t){r=e+1,n=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(r=e+2,n=data.k[e+1].t):(r=e+1,n=data.k[e].t);break}}-1===r&&(r=e+1,n=data.k[e].t)}else r=0,n=0;var o={};return o.index=r,o.time=n/elem.comp.globalData.frameRate,o}function key(t){var e,r,n;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var i=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(n=i.length,r=0;r<n;r+=1)e[r]=i[r],e.value[r]=i[r];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return t||0===t||(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return"string"==typeof value?void 0===e?value.substring(t):value.substring(t,e):""}function substr(t,e){return"string"==typeof value?void 0===e?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=0===t?0:Math.floor(time*t)/t,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var t={initExpressions:function(t){var e=0,r=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){e+=1},t.renderer.globalData.popExpression=function(){0==(e-=1)&&function(){var t,e=r.length;for(t=0;t<e;t+=1)r[t].release();r.length=0}()},t.renderer.globalData.registerExpressionProperty=function(t){-1===r.indexOf(t)&&r.push(t)}}};return t.resetFrame=ExpressionManager.resetFrame,t}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}return Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(e){var r,n=createSizedArray(e.viewData.length),i=e.viewData.length;for(r=0;r<i;r+=1)n[r]=new t(e.viewData[r],e.masksProperties[r]);return function(t){for(r=0;r<i;){if(e.masksProperties[r].nm===t)return n[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function r(t,e,r){Object.defineProperty(t,"velocity",{get:function(){return e.getVelocityAtTime(e.comp.currentFrame)}}),t.numKeys=e.keyframes?e.keyframes.length:0,t.key=function(n){if(!t.numKeys)return 0;var i;i="s"in e.keyframes[n-1]?e.keyframes[n-1].s:"e"in e.keyframes[n-2]?e.keyframes[n-2].e:e.keyframes[n-2].s;var o="unidimensional"===r?new Number(i):Object.assign({},i);return o.time=e.keyframes[n-1].t/e.elem.comp.globalData.frameRate,o.value="unidimensional"===r?i[0]:i,o},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function n(){return t}return function(i){return i?"unidimensional"===i.propType?function(e){e&&"pv"in e||(e=t);var n=1/e.mult,i=e.pv*n,o=new Number(i);return o.value=i,r(o,e,"unidimensional"),function(){return e.k&&e.getValue(),i=e.v*n,o.value!==i&&((o=new Number(i)).value=i,r(o,e,"unidimensional")),o}}(i):function(t){t&&"pv"in t||(t=e);var n=1/t.mult,i=t.data&&t.data.l||t.pv.length,o=createTypedArray("float32",i),a=createTypedArray("float32",i);return o.value=a,r(o,t,"multidimensional"),function(){t.k&&t.getValue();for(var e=0;e<i;e+=1)a[e]=t.v[e]*n,o[e]=a[e];return o}}(i):n}}(),TransformExpressionInterface=function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}var r,n,i,o;return Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)}),t.p?o=ExpressionPropertyInterface(t.p):(r=ExpressionPropertyInterface(t.px),n=ExpressionPropertyInterface(t.py),t.pz&&(i=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?o():[r(),n(),i?i():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e},LayerExpressionInterface=function(){function t(t){var e=new Matrix;return void 0!==t?this._elem.finalTransform.mProp.getValueAtTime(t).clone(e):this._elem.finalTransform.mProp.applyToMatrix(e),e}function e(t,e){var r=this.getMatrix(e);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.applyPoint(r,t)}function r(t,e){var r=this.getMatrix(e);return this.applyPoint(r,t)}function n(t,e){var r=this.getMatrix(e);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.invertPoint(r,t)}function i(t,e){var r=this.getMatrix(e);return this.invertPoint(r,t)}function o(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t)}return t.applyToPointArray(e[0],e[1],e[2]||0)}function a(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t)}return t.inversePoint(e)}function s(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function l(){return[1,1,1,1]}return function(c){var p;function u(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return u.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return p;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return u.effect;case"ADBE Text Properties":return u.textInterface;default:return null}}u.getMatrix=t,u.invertPoint=a,u.applyPoint=o,u.toWorld=r,u.toWorldVec=e,u.fromWorld=i,u.fromWorldVec=n,u.toComp=r,u.fromComp=s,u.sampleImage=l,u.sourceRectAtTime=c.sourceRectAtTime.bind(c),u._elem=c;var h=getDescriptor(p=TransformExpressionInterface(c.finalTransform.mProp),"anchorPoint");return Object.defineProperties(u,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(p,"rotation"),scale:getDescriptor(p,"scale"),position:getDescriptor(p,"position"),opacity:getDescriptor(p,"opacity"),anchorPoint:h,anchor_point:h,transform:{get:function(){return p}},active:{get:function(){return c.isInRange}}}),u.startTime=c.data.st,u.index=c.data.ind,u.source=c.data.refId,u.height=0===c.data.ty?c.data.h:100,u.width=0===c.data.ty?c.data.w:100,u.inPoint=c.data.ip/c.comp.globalData.frameRate,u.outPoint=c.data.op/c.comp.globalData.frameRate,u._name=c.data.nm,u.registerMaskInterface=function(t){u.mask=new MaskManagerInterface(t,c)},u.registerEffectsInterface=function(t){u.effect=t},u}}(),propertyGroupFactory=function(t,e){return function(r){return(r=void 0===r?1:r)<=0?t:e(r-1)}},PropertyInterface=function(t,e){var r={_name:t};return function(t){return(t=void 0===t?1:t)<=0?r:e(t-1)}},EffectsExpressionInterface=function(){function t(r,n,i,o){function a(t){for(var e=r.ef,n=0,i=e.length;n<i;){if(t===e[n].nm||t===e[n].mn||t===e[n].ix)return 5===e[n].ty?c[n]:c[n]();n+=1}throw new Error}var s,l=propertyGroupFactory(a,i),c=[],p=r.ef.length;for(s=0;s<p;s+=1)5===r.ef[s].ty?c.push(t(r.ef[s],n.effectElements[s],n.effectElements[s].propertyGroup,o)):c.push(e(n.effectElements[s],r.ef[s].ty,o,l));return"ADBE Color Control"===r.mn&&Object.defineProperty(a,"color",{get:function(){return c[0]()}}),Object.defineProperties(a,{numProperties:{get:function(){return r.np}},_name:{value:r.nm},propertyGroup:{value:l}}),a.enabled=0!==r.en,a.active=a.enabled,a}function e(t,e,r,n){var i=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",n)),function(){return 10===e?r.comp.compInterface(t.p.v):i()}}return{createEffectsInterface:function(e,r){if(e.effectsManager){var n,i=[],o=e.data.ef,a=e.effectsManager.effectElements.length;for(n=0;n<a;n+=1)i.push(t(o[n],e.effectsManager.effectElements[n],r,e));var s=e.data.ef||[],l=function(t){for(n=0,a=s.length;n<a;){if(t===s[n].nm||t===s[n].mn||t===s[n].ix)return i[n];n+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return s.length}}),l}return null}}}(),ShapePathInterface=function(t,e,r){var n=e.sh;function i(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?i.path:null}var o=propertyGroupFactory(i,r);return n.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(i,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:r}}),i},ShapeExpressionInterface=function(){function t(t,a,h){var d,f=[],m=t?t.length:0;for(d=0;d<m;d+=1)"gr"===t[d].ty?f.push(e(t[d],a[d],h)):"fl"===t[d].ty?f.push(r(t[d],a[d],h)):"st"===t[d].ty?f.push(i(t[d],a[d],h)):"tm"===t[d].ty?f.push(o(t[d],a[d],h)):"tr"===t[d].ty||("el"===t[d].ty?f.push(s(t[d],a[d],h)):"sr"===t[d].ty?f.push(l(t[d],a[d],h)):"sh"===t[d].ty?f.push(ShapePathInterface(t[d],a[d],h)):"rc"===t[d].ty?f.push(c(t[d],a[d],h)):"rd"===t[d].ty?f.push(p(t[d],a[d],h)):"rp"===t[d].ty?f.push(u(t[d],a[d],h)):"gf"===t[d].ty?f.push(n(t[d],a[d],h)):f.push((t[d],a[d],function(){return null})));return f}function e(e,r,n){var i=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return i.content;default:return i.transform}};i.propertyGroup=propertyGroupFactory(i,n);var o=function(e,r,n){var i,o=function(t){for(var e=0,r=i.length;e<r;){if(i[e]._name===t||i[e].mn===t||i[e].propertyIndex===t||i[e].ix===t||i[e].ind===t)return i[e];e+=1}return"number"==typeof t?i[t-1]:null};o.propertyGroup=propertyGroupFactory(o,n),i=t(e.it,r.it,o.propertyGroup),o.numProperties=i.length;var s=a(e.it[e.it.length-1],r.it[r.it.length-1],o.propertyGroup);return o.transform=s,o.propertyIndex=e.cix,o._name=e.nm,o}(e,r,i.propertyGroup),s=a(e.it[e.it.length-1],r.it[r.it.length-1],i.propertyGroup);return i.content=o,i.transform=s,Object.defineProperty(i,"_name",{get:function(){return e.nm}}),i.numProperties=e.np,i.propertyIndex=e.ix,i.nm=e.nm,i.mn=e.mn,i}function r(t,e,r){function n(t){return"Color"===t||"color"===t?n.color:"Opacity"===t||"opacity"===t?n.opacity:null}return Object.defineProperties(n,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),n}function n(t,e,r){function n(t){return"Start Point"===t||"start point"===t?n.startPoint:"End Point"===t||"end point"===t?n.endPoint:"Opacity"===t||"opacity"===t?n.opacity:null}return Object.defineProperties(n,{startPoint:{get:ExpressionPropertyInterface(e.s)},endPoint:{get:ExpressionPropertyInterface(e.e)},opacity:{get:ExpressionPropertyInterface(e.o)},type:{get:function(){return"a"}},_name:{value:t.nm},mn:{value:t.mn}}),e.s.setGroupProperty(PropertyInterface("Start Point",r)),e.e.setGroupProperty(PropertyInterface("End Point",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),n}function i(t,e,r){var n,i=propertyGroupFactory(c,r),o=propertyGroupFactory(l,i);function a(r){Object.defineProperty(l,t.d[r].nm,{get:ExpressionPropertyInterface(e.d.dataProps[r].p)})}var s=t.d?t.d.length:0,l={};for(n=0;n<s;n+=1)a(n),e.d.dataProps[n].p.setGroupProperty(o);function c(t){return"Color"===t||"color"===t?c.color:"Opacity"===t||"opacity"===t?c.opacity:"Stroke Width"===t||"stroke width"===t?c.strokeWidth:null}return Object.defineProperties(c,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return l}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),e.w.setGroupProperty(PropertyInterface("Stroke Width",i)),c}function o(t,e,r){function n(e){return e===t.e.ix||"End"===e||"end"===e?n.end:e===t.s.ix?n.start:e===t.o.ix?n.offset:null}var i=propertyGroupFactory(n,r);return n.propertyIndex=t.ix,e.s.setGroupProperty(PropertyInterface("Start",i)),e.e.setGroupProperty(PropertyInterface("End",i)),e.o.setGroupProperty(PropertyInterface("Offset",i)),n.propertyIndex=t.ix,n.propertyGroup=r,Object.defineProperties(n,{start:{get:ExpressionPropertyInterface(e.s)},end:{get:ExpressionPropertyInterface(e.e)},offset:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm}}),n.mn=t.mn,n}function a(t,e,r){function n(e){return t.a.ix===e||"Anchor Point"===e?n.anchorPoint:t.o.ix===e||"Opacity"===e?n.opacity:t.p.ix===e||"Position"===e?n.position:t.r.ix===e||"Rotation"===e||"ADBE Vector Rotation"===e?n.rotation:t.s.ix===e||"Scale"===e?n.scale:t.sk&&t.sk.ix===e||"Skew"===e?n.skew:t.sa&&t.sa.ix===e||"Skew Axis"===e?n.skewAxis:null}var i=propertyGroupFactory(n,r);return e.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",i)),e.transform.mProps.p.setGroupProperty(PropertyInterface("Position",i)),e.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",i)),e.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",i)),e.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",i)),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",i)),e.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",i))),e.transform.op.setGroupProperty(PropertyInterface("Opacity",i)),Object.defineProperties(n,{opacity:{get:ExpressionPropertyInterface(e.transform.mProps.o)},position:{get:ExpressionPropertyInterface(e.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(e.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(e.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(e.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(e.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(e.transform.mProps.sa)},_name:{value:t.nm}}),n.ty="tr",n.mn=t.mn,n.propertyGroup=r,n}function s(t,e,r){function n(e){return t.p.ix===e?n.position:t.s.ix===e?n.size:null}var i=propertyGroupFactory(n,r);n.propertyIndex=t.ix;var o="tm"===e.sh.ty?e.sh.prop:e.sh;return o.s.setGroupProperty(PropertyInterface("Size",i)),o.p.setGroupProperty(PropertyInterface("Position",i)),Object.defineProperties(n,{size:{get:ExpressionPropertyInterface(o.s)},position:{get:ExpressionPropertyInterface(o.p)},_name:{value:t.nm}}),n.mn=t.mn,n}function l(t,e,r){function n(e){return t.p.ix===e?n.position:t.r.ix===e?n.rotation:t.pt.ix===e?n.points:t.or.ix===e||"ADBE Vector Star Outer Radius"===e?n.outerRadius:t.os.ix===e?n.outerRoundness:!t.ir||t.ir.ix!==e&&"ADBE Vector Star Inner Radius"!==e?t.is&&t.is.ix===e?n.innerRoundness:null:n.innerRadius}var i=propertyGroupFactory(n,r),o="tm"===e.sh.ty?e.sh.prop:e.sh;return n.propertyIndex=t.ix,o.or.setGroupProperty(PropertyInterface("Outer Radius",i)),o.os.setGroupProperty(PropertyInterface("Outer Roundness",i)),o.pt.setGroupProperty(PropertyInterface("Points",i)),o.p.setGroupProperty(PropertyInterface("Position",i)),o.r.setGroupProperty(PropertyInterface("Rotation",i)),t.ir&&(o.ir.setGroupProperty(PropertyInterface("Inner Radius",i)),o.is.setGroupProperty(PropertyInterface("Inner Roundness",i))),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(o.p)},rotation:{get:ExpressionPropertyInterface(o.r)},points:{get:ExpressionPropertyInterface(o.pt)},outerRadius:{get:ExpressionPropertyInterface(o.or)},outerRoundness:{get:ExpressionPropertyInterface(o.os)},innerRadius:{get:ExpressionPropertyInterface(o.ir)},innerRoundness:{get:ExpressionPropertyInterface(o.is)},_name:{value:t.nm}}),n.mn=t.mn,n}function c(t,e,r){function n(e){return t.p.ix===e?n.position:t.r.ix===e?n.roundness:t.s.ix===e||"Size"===e||"ADBE Vector Rect Size"===e?n.size:null}var i=propertyGroupFactory(n,r),o="tm"===e.sh.ty?e.sh.prop:e.sh;return n.propertyIndex=t.ix,o.p.setGroupProperty(PropertyInterface("Position",i)),o.s.setGroupProperty(PropertyInterface("Size",i)),o.r.setGroupProperty(PropertyInterface("Rotation",i)),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(o.p)},roundness:{get:ExpressionPropertyInterface(o.r)},size:{get:ExpressionPropertyInterface(o.s)},_name:{value:t.nm}}),n.mn=t.mn,n}function p(t,e,r){function n(e){return t.r.ix===e||"Round Corners 1"===e?n.radius:null}var i=propertyGroupFactory(n,r),o=e;return n.propertyIndex=t.ix,o.rd.setGroupProperty(PropertyInterface("Radius",i)),Object.defineProperties(n,{radius:{get:ExpressionPropertyInterface(o.rd)},_name:{value:t.nm}}),n.mn=t.mn,n}function u(t,e,r){function n(e){return t.c.ix===e||"Copies"===e?n.copies:t.o.ix===e||"Offset"===e?n.offset:null}var i=propertyGroupFactory(n,r),o=e;return n.propertyIndex=t.ix,o.c.setGroupProperty(PropertyInterface("Copies",i)),o.o.setGroupProperty(PropertyInterface("Offset",i)),Object.defineProperties(n,{copies:{get:ExpressionPropertyInterface(o.c)},offset:{get:ExpressionPropertyInterface(o.o)},_name:{value:t.nm}}),n.mn=t.mn,n}return function(e,r,n){var i;function o(t){if("number"==typeof t)return 0===(t=void 0===t?1:t)?n:i[t-1];for(var e=0,r=i.length;e<r;){if(i[e]._name===t)return i[e];e+=1}return null}return o.propertyGroup=propertyGroupFactory(o,(function(){return n})),i=t(e,r,o.propertyGroup),o.numProperties=i.length,o._name="Contents",o}}(),TextExpressionInterface=function(t){var e;function r(t){return"ADBE Text Document"===t?r.sourceText:null}return Object.defineProperty(r,"sourceText",{get:function(){t.textProperty.getValue();var r=t.textProperty.currentData.t;return e&&r===e.value||((e=new String(r)).value=r||new String(r),Object.defineProperty(e,"style",{get:function(){return{fillColor:t.textProperty.currentData.fc}}})),e}}),r};function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}var FootageInterface=(dataInterfaceFactory=function(t){function e(t){return"Outline"===t?e.outlineInterface():null}return e._name="Outline",e.outlineInterface=function(t){var e="",r=t.getFootageData();function n(t){if(r[t])return e=t,"object"===_typeof(r=r[t])?n:r;var i=t.indexOf(e);if(-1!==i){var o=parseInt(t.substr(i+e.length),10);return"object"===_typeof(r=r[o])?n:r}return""}return function(){return e="",r=t.getFootageData(),n}}(t),e},function(t){function e(t){return"Data"===t?e.dataInterface:null}return e._name="Data",e.dataInterface=dataInterfaceFactory(t),e}),dataInterfaceFactory,interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(t){return interfaces[t]||null}var expressionHelpers={searchExpressions:function(t,e,r){e.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(t,e,r).bind(r)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),r=this.getValueAtTime(t+-.01),n=0;if(e.length){var i;for(i=0;i<e.length;i+=1)n+=Math.pow(r[i]-e[i],2);n=100*Math.sqrt(n)}else n=0;return n},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e,r,n=-.001,i=this.getValueAtTime(t),o=this.getValueAtTime(t+n);if(i.length)for(e=createTypedArray("float32",i.length),r=0;r<i.length;r+=1)e[r]=(o[r]-i[r])/n;else e=(o-i)/n;return e},getValueAtTime:function(t){return t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(t){this.propertyGroup=t}};function addPropertyDecorator(){function t(t,e,r){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var n,i,o,a,s,l=this.comp.renderedFrame,c=this.keyframes,p=c[c.length-1].t;if(l<=p)return this.pv;if(r?i=p-(n=e?Math.abs(p-this.elem.comp.globalData.frameRate*e):Math.max(0,p-this.elem.data.ip)):((!e||e>c.length-1)&&(e=c.length-1),n=p-(i=c[c.length-1-e].t)),"pingpong"===t){if(Math.floor((l-i)/n)%2!=0)return this.getValueAtTime((n-(l-i)%n+i)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var u=this.getValueAtTime(i/this.comp.globalData.frameRate,0),h=this.getValueAtTime(p/this.comp.globalData.frameRate,0),d=this.getValueAtTime(((l-i)%n+i)/this.comp.globalData.frameRate,0),f=Math.floor((l-i)/n);if(this.pv.length){for(a=(s=new Array(u.length)).length,o=0;o<a;o+=1)s[o]=(h[o]-u[o])*f+d[o];return s}return(h-u)*f+d}if("continue"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),g=this.getValueAtTime((p-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(s=new Array(m.length)).length,o=0;o<a;o+=1)s[o]=m[o]+(m[o]-g[o])*((l-p)/this.comp.globalData.frameRate)/5e-4;return s}return m+(l-p)/.001*(m-g)}}return this.getValueAtTime(((l-i)%n+i)/this.comp.globalData.frameRate,0)}function e(t,e,r){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var n,i,o,a,s,l=this.comp.renderedFrame,c=this.keyframes,p=c[0].t;if(l>=p)return this.pv;if(r?i=p+(n=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-p)):((!e||e>c.length-1)&&(e=c.length-1),n=(i=c[e].t)-p),"pingpong"===t){if(Math.floor((p-l)/n)%2==0)return this.getValueAtTime(((p-l)%n+p)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var u=this.getValueAtTime(p/this.comp.globalData.frameRate,0),h=this.getValueAtTime(i/this.comp.globalData.frameRate,0),d=this.getValueAtTime((n-(p-l)%n+p)/this.comp.globalData.frameRate,0),f=Math.floor((p-l)/n)+1;if(this.pv.length){for(a=(s=new Array(u.length)).length,o=0;o<a;o+=1)s[o]=d[o]-(h[o]-u[o])*f;return s}return d-(h-u)*f}if("continue"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),g=this.getValueAtTime((p+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(s=new Array(m.length)).length,o=0;o<a;o+=1)s[o]=m[o]+(m[o]-g[o])*(p-l)/.001;return s}return m+(m-g)*(p-l)/.001}}return this.getValueAtTime((n-((p-l)%n+p))/this.comp.globalData.frameRate,0)}function r(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;var r,n,i=this.comp.renderedFrame/this.comp.globalData.frameRate,o=i-t,a=e>1?(i+t-o)/(e-1):1,s=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;s<e;){if(n=this.getValueAtTime(o+s*a),this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]+=n[l];else r+=n;s+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]/=e;else r/=e;return r}function n(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var e=this._transformCachingAtTime.v;if(e.cloneFromProps(this.pre.props),this.appliedTransformations<1){var r=this.a.getValueAtTime(t);e.translate(-r[0]*this.a.mult,-r[1]*this.a.mult,r[2]*this.a.mult)}if(this.appliedTransformations<2){var n=this.s.getValueAtTime(t);e.scale(n[0]*this.s.mult,n[1]*this.s.mult,n[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var i=this.sk.getValueAtTime(t),o=this.sa.getValueAtTime(t);e.skewFromAxis(-i*this.sk.mult,o*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var a=this.r.getValueAtTime(t);e.rotate(-a*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var s=this.rz.getValueAtTime(t),l=this.ry.getValueAtTime(t),c=this.rx.getValueAtTime(t),p=this.or.getValueAtTime(t);e.rotateZ(-s*this.rz.mult).rotateY(l*this.ry.mult).rotateX(c*this.rx.mult).rotateZ(-p[2]*this.or.mult).rotateY(p[1]*this.or.mult).rotateX(p[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var u=this.px.getValueAtTime(t),h=this.py.getValueAtTime(t);if(this.data.p.z){var d=this.pz.getValueAtTime(t);e.translate(u*this.px.mult,h*this.py.mult,-d*this.pz.mult)}else e.translate(u*this.px.mult,h*this.py.mult,0)}else{var f=this.p.getValueAtTime(t);e.translate(f[0]*this.p.mult,f[1]*this.p.mult,-f[2]*this.p.mult)}return e}function i(){return this.v.clone(new Matrix)}var o=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,r){var a=o(t,e,r);return a.dynamicProperties.length?a.getValueAtTime=n.bind(a):a.getValueAtTime=i.bind(a),a.setGroupProperty=expressionHelpers.setGroupProperty,a};var a=PropertyFactory.getProp;PropertyFactory.getProp=function(n,i,o,s,l){var c=a(n,i,o,s,l);c.kf?c.getValueAtTime=expressionHelpers.getValueAtTime.bind(c):c.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(c),c.setGroupProperty=expressionHelpers.setGroupProperty,c.loopOut=t,c.loopIn=e,c.smooth=r,c.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(c),c.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(c),c.numKeys=1===i.a?i.k.length:0,c.propertyIndex=i.ix;var p=0;return 0!==o&&(p=createTypedArray("float32",1===i.a?i.k[0].s.length:i.k.length)),c._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:p},expressionHelpers.searchExpressions(n,i,c),c.k&&l.addDynamicProperty(c),c};var s=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function c(){}c.prototype={vertices:function(t,e){this.k&&this.getValue();var r,n=this.v;void 0!==e&&(n=this.getValueAtTime(e,0));var i=n._length,o=n[t],a=n.v,s=createSizedArray(i);for(r=0;r<i;r+=1)s[r]="i"===t||"o"===t?[o[r][0]-a[r][0],o[r][1]-a[r][1]]:[o[r][0],o[r][1]];return s},points:function(t){return this.vertices("v",t)},inTangents:function(t){return this.vertices("i",t)},outTangents:function(t){return this.vertices("o",t)},isClosed:function(){return this.v.c},pointOnPath:function(t,e){var r=this.v;void 0!==e&&(r=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var n,i=this._segmentsLength,o=i.lengths,a=i.totalLength*t,s=0,l=o.length,c=0;s<l;){if(c+o[s].addedLength>a){var p=s,u=r.c&&s===l-1?0:s+1,h=(a-c)/o[s].addedLength;n=bez.getPointInSegment(r.v[p],r.v[u],r.o[p],r.i[u],h,o[s]);break}c+=o[s].addedLength,s+=1}return n||(n=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),n},vectorOnPath:function(t,e,r){1==t?t=this.v.c:0==t&&(t=.999);var n=this.pointOnPath(t,e),i=this.pointOnPath(t+.001,e),o=i[0]-n[0],a=i[1]-n[1],s=Math.sqrt(Math.pow(o,2)+Math.pow(a,2));return 0===s?[0,0]:"tangent"===r?[o/s,a/s]:[-a/s,o/s]},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([c],s),extendPrototype([c],l),l.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var p=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,r,n,i){var o=p(t,e,r,n,i);return o.propertyIndex=e.ix,o.lock=!1,3===r?expressionHelpers.searchExpressions(t,e.pt,o):4===r&&expressionHelpers.searchExpressions(t,e.ks,o),o.k&&t.addDynamicProperty(o),o}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(t,e){var r=this.calculateExpression(e);if(t.t!==r){var n={};return this.copyData(n,t),n.t=r.toString(),n.__complete=!1,n}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function(t,e){var r,n,i=createNS("feMerge");for(i.setAttribute("result",t),n=0;n<e.length;n+=1)(r=createNS("feMergeNode")).setAttribute("in",e[n]),i.appendChild(r),i.appendChild(r);return i}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(t,e,r,n,i){this.filterManager=e;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=o,o.setAttribute("result",n+"_tint_1"),t.appendChild(o),(o=createNS("feColorMatrix")).setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",n+"_tint_2"),t.appendChild(o),this.matrixFilter=o;var a=this.createMergeNode(n,[i,n+"_tint_1",n+"_tint_2"]);t.appendChild(a)}function SVGFillFilter(t,e,r,n){this.filterManager=e;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),i.setAttribute("result",n),t.appendChild(i),this.matrixFilter=i}function SVGStrokeEffect(t,e,r){this.initialized=!1,this.filterManager=e,this.elem=r,this.paths=[]}function SVGTritoneFilter(t,e,r,n){this.filterManager=e;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),t.appendChild(i);var o=createNS("feComponentTransfer");o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",n),this.matrixFilter=o;var a=createNS("feFuncR");a.setAttribute("type","table"),o.appendChild(a),this.feFuncR=a;var s=createNS("feFuncG");s.setAttribute("type","table"),o.appendChild(s),this.feFuncG=s;var l=createNS("feFuncB");l.setAttribute("type","table"),o.appendChild(l),this.feFuncB=l,t.appendChild(o)}function SVGProLevelsFilter(t,e,r,n){this.filterManager=e;var i=this.filterManager.effectElements,o=createNS("feComponentTransfer");(i[10].p.k||0!==i[10].p.v||i[11].p.k||1!==i[11].p.v||i[12].p.k||1!==i[12].p.v||i[13].p.k||0!==i[13].p.v||i[14].p.k||1!==i[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",o)),(i[17].p.k||0!==i[17].p.v||i[18].p.k||1!==i[18].p.v||i[19].p.k||1!==i[19].p.v||i[20].p.k||0!==i[20].p.v||i[21].p.k||1!==i[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",o)),(i[24].p.k||0!==i[24].p.v||i[25].p.k||1!==i[25].p.v||i[26].p.k||1!==i[26].p.v||i[27].p.k||0!==i[27].p.v||i[28].p.k||1!==i[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",o)),(i[31].p.k||0!==i[31].p.v||i[32].p.k||1!==i[32].p.v||i[33].p.k||1!==i[33].p.v||i[34].p.k||0!==i[34].p.v||i[35].p.k||1!==i[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",o)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(o.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(o)),(i[3].p.k||0!==i[3].p.v||i[4].p.k||1!==i[4].p.v||i[5].p.k||1!==i[5].p.v||i[6].p.k||0!==i[6].p.v||i[7].p.k||1!==i[7].p.v)&&((o=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",n),t.appendChild(o),this.feFuncRComposed=this.createFeFunc("feFuncR",o),this.feFuncGComposed=this.createFeFunc("feFuncG",o),this.feFuncBComposed=this.createFeFunc("feFuncB",o))}function SVGDropShadowEffect(t,e,r,n,i){var o=e.container.globalData.renderConfig.filterSize,a=e.data.fs||o;t.setAttribute("x",a.x||o.x),t.setAttribute("y",a.y||o.y),t.setAttribute("width",a.width||o.width),t.setAttribute("height",a.height||o.height),this.filterManager=e;var s=createNS("feGaussianBlur");s.setAttribute("in","SourceAlpha"),s.setAttribute("result",n+"_drop_shadow_1"),s.setAttribute("stdDeviation","0"),this.feGaussianBlur=s,t.appendChild(s);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",n+"_drop_shadow_1"),l.setAttribute("result",n+"_drop_shadow_2"),this.feOffset=l,t.appendChild(l);var c=createNS("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",n+"_drop_shadow_3"),this.feFlood=c,t.appendChild(c);var p=createNS("feComposite");p.setAttribute("in",n+"_drop_shadow_3"),p.setAttribute("in2",n+"_drop_shadow_2"),p.setAttribute("operator","in"),p.setAttribute("result",n+"_drop_shadow_4"),t.appendChild(p);var u=this.createMergeNode(n,[n+"_drop_shadow_4",i]);t.appendChild(u)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+n+" 0"),this.matrixFilter.setAttribute("values",r[0]-e[0]+" 0 0 0 "+e[0]+" "+(r[1]-e[1])+" 0 0 0 "+e[1]+" "+(r[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+r+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var t,e,r,n,i=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(n=this.elem.maskManager.masksProperties.length,r=0):n=1+(r=this.filterManager.effectElements[0].p.v-1),(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);r<n;r+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:r});if(3===this.filterManager.effectElements[10].p.v){var o=createNS("mask"),a=createElementID();o.setAttribute("id",a),o.setAttribute("mask-type","alpha"),o.appendChild(e),this.elem.globalData.defs.appendChild(o);var s=createNS("g");for(s.setAttribute("mask","url("+getLocationHref()+"#"+a+")");i[0];)s.appendChild(i[0]);this.elem.layerElement.appendChild(s),this.masker=o,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(i=this.elem.layerElement.children||this.elem.layerElement.childNodes;i.length;)this.elem.layerElement.removeChild(i[0]);this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){var e;this.initialized||this.initialize();var r,n,i=this.paths.length;for(e=0;e<i;e+=1)if(-1!==this.paths[e].m&&(r=this.elem.maskManager.viewData[this.paths[e].m],n=this.paths[e].p,(t||this.filterManager._mdf||r.prop._mdf)&&n.setAttribute("d",r.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var o;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var a=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),s=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=n.getTotalLength();o="0 0 0 "+l*a+" ";var c,p=l*(s-a),u=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,h=Math.floor(p/u);for(c=0;c<h;c+=1)o+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";o+="0 "+10*l+" 0 0"}else o="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;n.setAttribute("stroke-dasharray",o)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var d=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*d[0])+","+bmFloor(255*d[1])+","+bmFloor(255*d[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v,i=n[0]+" "+r[0]+" "+e[0],o=n[1]+" "+r[1]+" "+e[1],a=n[2]+" "+r[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",i),this.feFuncG.setAttribute("tableValues",o),this.feFuncB.setAttribute("tableValues",a)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var r=createNS(t);return r.setAttribute("type","table"),e.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(t,e,r,n,i){for(var o,a,s=0,l=Math.min(t,e),c=Math.max(t,e),p=Array.call(null,{length:256}),u=0,h=i-n,d=e-t;s<=256;)a=(o=s/256)<=l?d<0?i:n:o>=c?d<0?n:i:n+h*Math.pow((o-t)/d,1/r),p[u]=a,u+=1,s+=256/255;return p.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=r*Math.cos(n),o=r*Math.sin(n);this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",o)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGGaussianBlurEffect(t,e,r,n){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var i=createNS("feGaussianBlur");i.setAttribute("result",n),t.appendChild(i),this.feGaussianBlur=i}function TransformEffect(){}function SVGTransformEffect(t,e){this.init(e)}function CVTransformEffect(t){this.init(t)}return SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,r=_svgMatteSymbols.length;e<r;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var r=t.layerElement.parentNode;if(r){for(var n,i=r.children,o=0,a=i.length;o<a&&i[o]!==t.layerElement;)o+=1;o<=a-2&&(n=i[o+1]);var s=createNS("use");s.setAttribute("href","#"+e),n?r.insertBefore(s,n):r.appendChild(s)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var r=createElementID(),n=createNS("mask");n.setAttribute("id",e.layerId),n.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var i=t.globalData.defs;i.appendChild(n);var o=createNS("symbol");o.setAttribute("id",r),this.replaceInParent(e,r),o.appendChild(e.layerElement),i.appendChild(o);var a=createNS("use");a.setAttribute("href","#"+r),n.appendChild(a),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,r=0,n=e.length;r<n;)e[r]&&e[r].data.ind===t&&this.setElementAsMask(this.elem,e[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=3==r?0:e,i=2==r?0:e;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+i);var o=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",o)}},TransformEffect.prototype.init=function(t){this.effectsManager=t,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(t){if(this._opMdf=!1,this._mdf=!1,t||this.effectsManager._mdf){var e=this.effectsManager.effectElements,r=e[0].p.v,n=e[1].p.v,i=1===e[2].p.v,o=e[3].p.v,a=i?o:e[4].p.v,s=e[5].p.v,l=e[6].p.v,c=e[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(.01*a,.01*o,1),this.matrix.rotate(-c*degToRads),this.matrix.skewFromAxis(-s*degToRads,(l+90)*degToRads),this.matrix.translate(n[0],n[1],0),this._mdf=!0,this.opacity!==e[8].p.v&&(this.opacity=e[8].p.v,this._opMdf=!0)}},extendPrototype([TransformEffect],SVGTransformEffect),extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie},module.exports=factory())},5675:t=>{"use strict";var e=function(t){return t!=t};t.exports=function(t,r){return 0===t&&0===r?1/t==1/r:t===r||!(!e(t)||!e(r))}},95518:(t,e,r)=>{"use strict";var n=r(27741),i=r(47426),o=r(5675),a=r(73991),s=r(36554),l=i(a(),Object);n(l,{getPolyfill:a,implementation:o,shim:s}),t.exports=l},73991:(t,e,r)=>{"use strict";var n=r(5675);t.exports=function(){return"function"==typeof Object.is?Object.is:n}},36554:(t,e,r)=>{"use strict";var n=r(73991),i=r(27741);t.exports=function(){var t=n();return i(Object,{is:t},{is:function(){return Object.is!==t}}),t}},94541:(t,e,r)=>{"use strict";var n;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=r(84489),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),p=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(t){var e=t.constructor;return e&&e.prototype===t},h={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!h["$"+t]&&i.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{u(window[t])}catch(t){return!0}}catch(t){return!0}return!1}();n=function(t){var e=null!==t&&"object"==typeof t,r="[object Function]"===o.call(t),n=a(t),s=e&&"[object String]"===o.call(t),h=[];if(!e&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var f=c&&r;if(s&&t.length>0&&!i.call(t,0))for(var m=0;m<t.length;++m)h.push(String(m));if(n&&t.length>0)for(var g=0;g<t.length;++g)h.push(String(g));else for(var y in t)f&&"prototype"===y||!i.call(t,y)||h.push(String(y));if(l)for(var v=function(t){if("undefined"==typeof window||!d)return u(t);try{return u(t)}catch(t){return!1}}(t),b=0;b<p.length;++b)v&&"constructor"===p[b]||!i.call(t,p[b])||h.push(p[b]);return h}}t.exports=n},76927:(t,e,r)=>{"use strict";var n=Array.prototype.slice,i=r(84489),o=Object.keys,a=o?function(t){return o(t)}:r(94541),s=Object.keys;a.shim=function(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);t||(Object.keys=function(t){return i(t)?s(n.call(t)):s(t)})}else Object.keys=a;return Object.keys||a},t.exports=a},84489:t=>{"use strict";var e=Object.prototype.toString;t.exports=function(t){var r=e.call(t),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===e.call(t.callee)),n}},6591:t=>{var e,r,n=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(t){r=o}}();var s,l=[],c=!1,p=-1;function u(){c&&s&&(c=!1,s.length?l=s.concat(l):p=-1,l.length&&h())}function h(){if(!c){var t=a(u);c=!0;for(var e=l.length;e;){for(s=l,l=[];++p<e;)s&&s[p].run();p=-1,e=l.length}s=null,c=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{return r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function f(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];l.push(new d(t,e)),1!==l.length||c||a(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=f,n.addListener=f,n.once=f,n.off=f,n.removeListener=f,n.removeAllListeners=f,n.emit=f,n.prependListener=f,n.prependOnceListener=f,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},66008:t=>{t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},85193:(t,e,r)=>{"use strict";var n=r(81582),i=r(72654),o=r(86967),a=r(11438);function s(t){return t.call.bind(t)}var l="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,p=s(Object.prototype.toString),u=s(Number.prototype.valueOf),h=s(String.prototype.valueOf),d=s(Boolean.prototype.valueOf);if(l)var f=s(BigInt.prototype.valueOf);if(c)var m=s(Symbol.prototype.valueOf);function g(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function y(t){return"[object Map]"===p(t)}function v(t){return"[object Set]"===p(t)}function b(t){return"[object WeakMap]"===p(t)}function x(t){return"[object WeakSet]"===p(t)}function w(t){return"[object ArrayBuffer]"===p(t)}function _(t){return"undefined"!=typeof ArrayBuffer&&(w.working?w(t):t instanceof ArrayBuffer)}function E(t){return"[object DataView]"===p(t)}function S(t){return"undefined"!=typeof DataView&&(E.working?E(t):t instanceof DataView)}e.isArgumentsObject=n,e.isGeneratorFunction=i,e.isTypedArray=a,e.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},e.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):a(t)||S(t)},e.isUint8Array=function(t){return"Uint8Array"===o(t)},e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===o(t)},e.isUint16Array=function(t){return"Uint16Array"===o(t)},e.isUint32Array=function(t){return"Uint32Array"===o(t)},e.isInt8Array=function(t){return"Int8Array"===o(t)},e.isInt16Array=function(t){return"Int16Array"===o(t)},e.isInt32Array=function(t){return"Int32Array"===o(t)},e.isFloat32Array=function(t){return"Float32Array"===o(t)},e.isFloat64Array=function(t){return"Float64Array"===o(t)},e.isBigInt64Array=function(t){return"BigInt64Array"===o(t)},e.isBigUint64Array=function(t){return"BigUint64Array"===o(t)},y.working="undefined"!=typeof Map&&y(new Map),e.isMap=function(t){return"undefined"!=typeof Map&&(y.working?y(t):t instanceof Map)},v.working="undefined"!=typeof Set&&v(new Set),e.isSet=function(t){return"undefined"!=typeof Set&&(v.working?v(t):t instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(b.working?b(t):t instanceof WeakMap)},x.working="undefined"!=typeof WeakSet&&x(new WeakSet),e.isWeakSet=function(t){return x(t)},w.working="undefined"!=typeof ArrayBuffer&&w(new ArrayBuffer),e.isArrayBuffer=_,E.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&E(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=S;var k="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function P(t){return"[object SharedArrayBuffer]"===p(t)}function A(t){return void 0!==k&&(void 0===P.working&&(P.working=P(new k)),P.working?P(t):t instanceof k)}function O(t){return g(t,u)}function C(t){return g(t,h)}function T(t){return g(t,d)}function I(t){return l&&g(t,f)}function D(t){return c&&g(t,m)}e.isSharedArrayBuffer=A,e.isAsyncFunction=function(t){return"[object AsyncFunction]"===p(t)},e.isMapIterator=function(t){return"[object Map Iterator]"===p(t)},e.isSetIterator=function(t){return"[object Set Iterator]"===p(t)},e.isGeneratorObject=function(t){return"[object Generator]"===p(t)},e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===p(t)},e.isNumberObject=O,e.isStringObject=C,e.isBooleanObject=T,e.isBigIntObject=I,e.isSymbolObject=D,e.isBoxedPrimitive=function(t){return O(t)||C(t)||T(t)||I(t)||D(t)},e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(_(t)||A(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})}))},17396:(t,e,r)=>{var n=r(6591),i=r(51266),o=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},a=/%[sdj%]/g;e.format=function(t){if(!x(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(p(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,i=n.length,o=String(t).replace(a,(function(t){if("%%"===t)return"%";if(r>=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}})),s=n[r];r<i;s=n[++r])v(s)||!E(s)?o+=" "+s:o+=" "+p(s);return o},e.deprecate=function(t,r){if(void 0!==n&&!0===n.noDeprecation)return t;if(void 0===n)return function(){return e.deprecate(t,r).apply(this,arguments)};var o=!1;return function(){if(!o){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?i.trace(r):i.error(r),o=!0}return t.apply(this,arguments)}};var s={},l=/^$/;if({"NODE-ENV":"production","SHELL-VERSION":"6.1.118","SHELL-LICENSE":"MIT","APP-VERSION":"0.0.95","APP-LICENSE":void 0,"APP-NAME":"@fmsim/fmsim","APP-DESCRIPTION":"graphql API를 제공하는 nodejs 서버용 Layout View 어플리케이션을 구성합니다.","APP-TAGLINE":void 0}.NODE_DEBUG){var c={"NODE-ENV":"production","SHELL-VERSION":"6.1.118","SHELL-LICENSE":"MIT","APP-VERSION":"0.0.95","APP-LICENSE":void 0,"APP-NAME":"@fmsim/fmsim","APP-DESCRIPTION":"graphql API를 제공하는 nodejs 서버용 Layout View 어플리케이션을 구성합니다.","APP-TAGLINE":void 0}.NODE_DEBUG;c=c.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),l=new RegExp("^"+c+"$","i")}function p(t,r){var n={seen:[],stylize:h};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(r)?n.showHidden=r:r&&e._extend(n,r),w(n.showHidden)&&(n.showHidden=!1),w(n.depth)&&(n.depth=2),w(n.colors)&&(n.colors=!1),w(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),d(n,t,n.depth)}function u(t,e){var r=p.styles[e];return r?"["+p.colors[r][0]+"m"+t+"["+p.colors[r][1]+"m":t}function h(t,e){return t}function d(t,r,n){if(t.customInspect&&r&&P(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return x(i)||(i=d(t,i,n)),i}var o=function(t,e){if(w(e))return t.stylize("undefined","undefined");if(x(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return b(e)?t.stylize(""+e,"number"):y(e)?t.stylize(""+e,"boolean"):v(e)?t.stylize("null","null"):void 0}(t,r);if(o)return o;var a=Object.keys(r),s=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(r)),k(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(r);if(0===a.length){if(P(r)){var l=r.name?": "+r.name:"";return t.stylize("[Function"+l+"]","special")}if(_(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return t.stylize(Date.prototype.toString.call(r),"date");if(k(r))return f(r)}var c,p="",u=!1,h=["{","}"];return g(r)&&(u=!0,h=["[","]"]),P(r)&&(p=" [Function"+(r.name?": "+r.name:"")+"]"),_(r)&&(p=" "+RegExp.prototype.toString.call(r)),S(r)&&(p=" "+Date.prototype.toUTCString.call(r)),k(r)&&(p=" "+f(r)),0!==a.length||u&&0!=r.length?n<0?_(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),c=u?function(t,e,r,n,i){for(var o=[],a=0,s=e.length;a<s;++a)T(e,String(a))?o.push(m(t,e,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(m(t,e,r,n,i,!0))})),o}(t,r,n,s,a):a.map((function(e){return m(t,r,n,s,e,u)})),t.seen.pop(),function(t,e,r){return t.reduce((function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}(c,p,h)):h[0]+p+h[1]}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function m(t,e,r,n,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(s=t.stylize("[Setter]","special")),T(n,i)||(a="["+i+"]"),s||(t.seen.indexOf(l.value)<0?(s=v(r)?d(t,l.value,null):d(t,l.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(t){return" "+t})).join("\n").slice(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),w(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function g(t){return Array.isArray(t)}function y(t){return"boolean"==typeof t}function v(t){return null===t}function b(t){return"number"==typeof t}function x(t){return"string"==typeof t}function w(t){return void 0===t}function _(t){return E(t)&&"[object RegExp]"===A(t)}function E(t){return"object"==typeof t&&null!==t}function S(t){return E(t)&&"[object Date]"===A(t)}function k(t){return E(t)&&("[object Error]"===A(t)||t instanceof Error)}function P(t){return"function"==typeof t}function A(t){return Object.prototype.toString.call(t)}function O(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!s[t])if(l.test(t)){var r=n.pid;s[t]=function(){var n=e.format.apply(e,arguments);i.error("%s %d: %s",t,r,n)}}else s[t]=function(){};return s[t]},e.inspect=p,p.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},p.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=r(85193),e.isArray=g,e.isBoolean=y,e.isNull=v,e.isNullOrUndefined=function(t){return null==t},e.isNumber=b,e.isString=x,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=w,e.isRegExp=_,e.types.isRegExp=_,e.isObject=E,e.isDate=S,e.types.isDate=S,e.isError=k,e.types.isNativeError=k,e.isFunction=P,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r(66008);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,r;i.log("%s - %s",(r=[O((t=new Date).getHours()),O(t.getMinutes()),O(t.getSeconds())].join(":"),[t.getDate(),C[t.getMonth()],r].join(" ")),e.format.apply(e,arguments))},e.inherits=r(23128),e._extend=function(t,e){if(!e||!E(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var I="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function D(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(I&&t[I]){var e;if("function"!=typeof(e=t[I]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,I,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise((function(t,n){e=t,r=n})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(t,n){t?r(t):e(n)}));try{t.apply(this,i)}catch(t){r(t)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),I&&Object.defineProperty(e,I,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,o(t))},e.promisify.custom=I,e.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function e(){for(var e=[],r=0;r<arguments.length;r++)e.push(arguments[r]);var i=e.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};t.apply(this,e).then((function(t){n.nextTick(a.bind(null,null,t))}),(function(t){n.nextTick(D.bind(null,t,a))}))}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,o(t)),e}},86967:(t,e,r)=>{"use strict";var n=r(13366),i=r(52697),o=r(47426),a=r(62453),s=r(31606),l=a("Object.prototype.toString"),c=r(44308)(),p="undefined"==typeof globalThis?r.g:globalThis,u=i(),h=a("String.prototype.slice"),d=Object.getPrototypeOf,f=a("Array.prototype.indexOf",!0)||function(t,e){for(var r=0;r<t.length;r+=1)if(t[r]===e)return r;return-1},m={__proto__:null};n(u,c&&s&&d?function(t){var e=new p[t];if(Symbol.toStringTag in e){var r=d(e),n=s(r,Symbol.toStringTag);if(!n){var i=d(r);n=s(i,Symbol.toStringTag)}m["$"+t]=o(n.get)}}:function(t){var e=new p[t];m["$"+t]=o(e.slice)}),t.exports=function(t){if(!t||"object"!=typeof t)return!1;if(!c){var e=h(l(t),8,-1);return f(u,e)>-1?e:"Object"===e&&function(t){var e=!1;return n(m,(function(r,n){if(!e)try{r(t),e=h(n,1)}catch(t){}})),e}(t)}return s?function(t){var e=!1;return n(m,(function(r,n){if(!e)try{"$"+r(t)===n&&(e=h(n,1))}catch(t){}})),e}(t):null}},10847:(t,e,r)=>{"use strict";r.d(e,{__:()=>p});var n=r(61886),i=r(3325);const o=/\r\n|[\n\r]/g;function a(t,e){let r=0,n=1;for(const a of t.body.matchAll(o)){if("number"==typeof a.index||(0,i.k)(!1),a.index>=e)break;r=a.index+a[0].length,n+=1}return{line:n,column:e+1-r}}function s(t){return l(t.source,a(t.source,t.start))}function l(t,e){const r=t.locationOffset.column-1,n="".padStart(r)+t.body,i=e.line-1,o=t.locationOffset.line-1,a=e.line+o,s=1===e.line?r:0,l=e.column+s,p=`${t.name}:${a}:${l}\n`,u=n.split(/\r\n|[\n\r]/g),h=u[i];if(h.length>120){const t=Math.floor(l/80),e=l%80,r=[];for(let t=0;t<h.length;t+=80)r.push(h.slice(t,t+80));return p+c([[`${a} |`,r[0]],...r.slice(1,t+1).map((t=>["|",t])),["|","^".padStart(e)],["|",r[t+1]]])}return p+c([[a-1+" |",u[i-1]],[`${a} |`,h],["|","^".padStart(l)],[`${a+1} |`,u[i+1]]])}function c(t){const e=t.filter((([t,e])=>void 0!==e)),r=Math.max(...e.map((([t])=>t.length)));return e.map((([t,e])=>t.padStart(r)+(e?" "+e:""))).join("\n")}class p extends Error{constructor(t,...e){var r,i,o;const{nodes:s,source:l,positions:c,path:h,originalError:d,extensions:f}=function(t){const e=t[0];return null==e||"kind"in e||"length"in e?{nodes:e,source:t[1],positions:t[2],path:t[3],originalError:t[4],extensions:t[5]}:e}(e);super(t),this.name="GraphQLError",this.path=null!=h?h:void 0,this.originalError=null!=d?d:void 0,this.nodes=u(Array.isArray(s)?s:s?[s]:void 0);const m=u(null===(r=this.nodes)||void 0===r?void 0:r.map((t=>t.loc)).filter((t=>null!=t)));this.source=null!=l?l:null==m||null===(i=m[0])||void 0===i?void 0:i.source,this.positions=null!=c?c:null==m?void 0:m.map((t=>t.start)),this.locations=c&&l?c.map((t=>a(l,t))):null==m?void 0:m.map((t=>a(t.source,t.start)));const g=(0,n.y)(null==d?void 0:d.extensions)?null==d?void 0:d.extensions:void 0;this.extensions=null!==(o=null!=f?f:g)&&void 0!==o?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=d&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,p):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const e of this.nodes)e.loc&&(t+="\n\n"+s(e.loc));else if(this.source&&this.locations)for(const e of this.locations)t+="\n\n"+l(this.source,e);return t}toJSON(){const t={message:this.message};return null!=this.locations&&(t.locations=this.locations),null!=this.path&&(t.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function u(t){return void 0===t||0===t.length?void 0:t}},37431:(t,e,r)=>{"use strict";function n(t,e){if(!Boolean(t))throw new Error(e)}r.d(e,{a:()=>n})},59613:(t,e,r)=>{"use strict";r.d(e,{X:()=>o});const n=10,i=2;function o(t){return a(t,[])}function a(t,e){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,e){if(null===t)return"null";if(e.includes(t))return"[Circular]";const r=[...e,t];if(function(t){return"function"==typeof t.toJSON}(t)){const e=t.toJSON();if(e!==t)return"string"==typeof e?e:a(e,r)}else if(Array.isArray(t))return function(t,e){if(0===t.length)return"[]";if(e.length>i)return"[Array]";const r=Math.min(n,t.length),o=t.length-r,s=[];for(let n=0;n<r;++n)s.push(a(t[n],e));return 1===o?s.push("... 1 more item"):o>1&&s.push(`... ${o} more items`),"["+s.join(", ")+"]"}(t,r);return function(t,e){const r=Object.entries(t);if(0===r.length)return"{}";if(e.length>i)return"["+function(t){const e=Object.prototype.toString.call(t).replace(/^\[object /,"").replace(/]$/,"");if("Object"===e&&"function"==typeof t.constructor){const e=t.constructor.name;if("string"==typeof e&&""!==e)return e}return e}(t)+"]";const n=r.map((([t,r])=>t+": "+a(r,e)));return"{ "+n.join(", ")+" }"}(t,r)}(t,e);default:return String(t)}}},51327:(t,e,r)=>{"use strict";r.d(e,{n:()=>i});var n=r(59613);const i=globalThis.process&&"production"===globalThis.process.env.NODE_ENV?function(t,e){return t instanceof e}:function(t,e){if(t instanceof e)return!0;if("object"==typeof t&&null!==t){var r;const i=e.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in t?t[Symbol.toStringTag]:null===(r=t.constructor)||void 0===r?void 0:r.name)){const e=(0,n.X)(t);throw new Error(`Cannot use ${i} "${e}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1}},3325:(t,e,r)=>{"use strict";function n(t,e){if(!Boolean(t))throw new Error(null!=e?e:"Unexpected invariant triggered.")}r.d(e,{k:()=>n})},61886:(t,e,r)=>{"use strict";function n(t){return"object"==typeof t&&null!==t}r.d(e,{y:()=>n})},75132:(t,e,r)=>{"use strict";r.d(e,{UG:()=>s,WU:()=>i,Ye:()=>n,h8:()=>o,ku:()=>l});class n{constructor(t,e,r){this.start=t.start,this.end=e.end,this.startToken=t,this.endToken=e,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class i{constructor(t,e,r,n,i,o){this.kind=t,this.start=e,this.end=r,this.line=n,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},a=new Set(Object.keys(o));function s(t){const e=null==t?void 0:t.kind;return"string"==typeof e&&a.has(e)}var l;!function(t){t.QUERY="query",t.MUTATION="mutation",t.SUBSCRIPTION="subscription"}(l||(l={}))},60930:(t,e,r)=>{"use strict";r.d(e,{LZ:()=>a,wv:()=>i});var n=r(31820);function i(t){var e;let r=Number.MAX_SAFE_INTEGER,n=null,i=-1;for(let e=0;e<t.length;++e){var a;const s=t[e],l=o(s);l!==s.length&&(n=null!==(a=n)&&void 0!==a?a:e,i=e,0!==e&&l<r&&(r=l))}return t.map(((t,e)=>0===e?t:t.slice(r))).slice(null!==(e=n)&&void 0!==e?e:0,i+1)}function o(t){let e=0;for(;e<t.length&&(0,n.FD)(t.charCodeAt(e));)++e;return e}function a(t,e){const r=t.replace(/"""/g,'\\"""'),i=r.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every((t=>0===t.length||(0,n.FD)(t.charCodeAt(0)))),s=r.endsWith('\\"""'),l=t.endsWith('"')&&!s,c=t.endsWith("\\"),p=l||c,u=!(null!=e&&e.minimize)&&(!o||t.length>70||p||a||s);let h="";const d=o&&(0,n.FD)(t.charCodeAt(0));return(u&&!d||a)&&(h+="\n"),h+=r,(u||p)&&(h+="\n"),'"""'+h+'"""'}},31820:(t,e,r)=>{"use strict";function n(t){return 9===t||32===t}function i(t){return t>=48&&t<=57}function o(t){return t>=97&&t<=122||t>=65&&t<=90}function a(t){return o(t)||95===t}function s(t){return o(t)||i(t)||95===t}r.d(e,{FD:()=>n,HQ:()=>s,LQ:()=>a,X1:()=>i})},45932:(t,e,r)=>{"use strict";var n;r.d(e,{B:()=>n}),function(t){t.QUERY="QUERY",t.MUTATION="MUTATION",t.SUBSCRIPTION="SUBSCRIPTION",t.FIELD="FIELD",t.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",t.FRAGMENT_SPREAD="FRAGMENT_SPREAD",t.INLINE_FRAGMENT="INLINE_FRAGMENT",t.VARIABLE_DEFINITION="VARIABLE_DEFINITION",t.SCHEMA="SCHEMA",t.SCALAR="SCALAR",t.OBJECT="OBJECT",t.FIELD_DEFINITION="FIELD_DEFINITION",t.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",t.INTERFACE="INTERFACE",t.UNION="UNION",t.ENUM="ENUM",t.ENUM_VALUE="ENUM_VALUE",t.INPUT_OBJECT="INPUT_OBJECT",t.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(n||(n={}))},34627:(t,e,r)=>{"use strict";var n;r.d(e,{Kind:()=>n}),function(t){t.NAME="Name",t.DOCUMENT="Document",t.OPERATION_DEFINITION="OperationDefinition",t.VARIABLE_DEFINITION="VariableDefinition",t.SELECTION_SET="SelectionSet",t.FIELD="Field",t.ARGUMENT="Argument",t.FRAGMENT_SPREAD="FragmentSpread",t.INLINE_FRAGMENT="InlineFragment",t.FRAGMENT_DEFINITION="FragmentDefinition",t.VARIABLE="Variable",t.INT="IntValue",t.FLOAT="FloatValue",t.STRING="StringValue",t.BOOLEAN="BooleanValue",t.NULL="NullValue",t.ENUM="EnumValue",t.LIST="ListValue",t.OBJECT="ObjectValue",t.OBJECT_FIELD="ObjectField",t.DIRECTIVE="Directive",t.NAMED_TYPE="NamedType",t.LIST_TYPE="ListType",t.NON_NULL_TYPE="NonNullType",t.SCHEMA_DEFINITION="SchemaDefinition",t.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",t.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",t.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",t.FIELD_DEFINITION="FieldDefinition",t.INPUT_VALUE_DEFINITION="InputValueDefinition",t.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",t.UNION_TYPE_DEFINITION="UnionTypeDefinition",t.ENUM_TYPE_DEFINITION="EnumTypeDefinition",t.ENUM_VALUE_DEFINITION="EnumValueDefinition",t.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",t.DIRECTIVE_DEFINITION="DirectiveDefinition",t.SCHEMA_EXTENSION="SchemaExtension",t.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",t.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",t.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",t.UNION_TYPE_EXTENSION="UnionTypeExtension",t.ENUM_TYPE_EXTENSION="EnumTypeExtension",t.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(n||(n={}))},76755:(t,e,r)=>{"use strict";r.d(e,{Qc:()=>M});var n=r(10847);function i(t,e,r){return new n.__(`Syntax Error: ${r}`,{source:t,positions:[e]})}var o,a,s=r(75132),l=r(45932),c=r(34627),p=r(60930),u=r(31820);(a=o||(o={})).SOF="<SOF>",a.EOF="<EOF>",a.BANG="!",a.DOLLAR="$",a.AMP="&",a.PAREN_L="(",a.PAREN_R=")",a.SPREAD="...",a.COLON=":",a.EQUALS="=",a.AT="@",a.BRACKET_L="[",a.BRACKET_R="]",a.BRACE_L="{",a.PIPE="|",a.BRACE_R="}",a.NAME="Name",a.INT="Int",a.FLOAT="Float",a.STRING="String",a.BLOCK_STRING="BlockString",a.COMMENT="Comment";class h{constructor(t){const e=new s.WU(o.SOF,0,0,0,0);this.source=t,this.lastToken=e,this.token=e,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==o.EOF)do{if(t.next)t=t.next;else{const e=b(this,t.end);t.next=e,e.prev=t,t=e}}while(t.kind===o.COMMENT);return t}}function d(t){return t>=0&&t<=55295||t>=57344&&t<=1114111}function f(t,e){return m(t.charCodeAt(e))&&g(t.charCodeAt(e+1))}function m(t){return t>=55296&&t<=56319}function g(t){return t>=56320&&t<=57343}function y(t,e){const r=t.source.body.codePointAt(e);if(void 0===r)return o.EOF;if(r>=32&&r<=126){const t=String.fromCodePoint(r);return'"'===t?"'\"'":`"${t}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function v(t,e,r,n,i){const o=t.line,a=1+r-t.lineStart;return new s.WU(e,r,n,o,a,i)}function b(t,e){const r=t.source.body,n=r.length;let a=e;for(;a<n;){const e=r.charCodeAt(a);switch(e){case 65279:case 9:case 32:case 44:++a;continue;case 10:++a,++t.line,t.lineStart=a;continue;case 13:10===r.charCodeAt(a+1)?a+=2:++a,++t.line,t.lineStart=a;continue;case 35:return x(t,a);case 33:return v(t,o.BANG,a,a+1);case 36:return v(t,o.DOLLAR,a,a+1);case 38:return v(t,o.AMP,a,a+1);case 40:return v(t,o.PAREN_L,a,a+1);case 41:return v(t,o.PAREN_R,a,a+1);case 46:if(46===r.charCodeAt(a+1)&&46===r.charCodeAt(a+2))return v(t,o.SPREAD,a,a+3);break;case 58:return v(t,o.COLON,a,a+1);case 61:return v(t,o.EQUALS,a,a+1);case 64:return v(t,o.AT,a,a+1);case 91:return v(t,o.BRACKET_L,a,a+1);case 93:return v(t,o.BRACKET_R,a,a+1);case 123:return v(t,o.BRACE_L,a,a+1);case 124:return v(t,o.PIPE,a,a+1);case 125:return v(t,o.BRACE_R,a,a+1);case 34:return 34===r.charCodeAt(a+1)&&34===r.charCodeAt(a+2)?C(t,a):E(t,a)}if((0,u.X1)(e)||45===e)return w(t,a,e);if((0,u.LQ)(e))return T(t,a);throw i(t.source,a,39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":d(e)||f(r,a)?`Unexpected character: ${y(t,a)}.`:`Invalid character: ${y(t,a)}.`)}return v(t,o.EOF,n,n)}function x(t,e){const r=t.source.body,n=r.length;let i=e+1;for(;i<n;){const t=r.charCodeAt(i);if(10===t||13===t)break;if(d(t))++i;else{if(!f(r,i))break;i+=2}}return v(t,o.COMMENT,e,i,r.slice(e+1,i))}function w(t,e,r){const n=t.source.body;let a=e,s=r,l=!1;if(45===s&&(s=n.charCodeAt(++a)),48===s){if(s=n.charCodeAt(++a),(0,u.X1)(s))throw i(t.source,a,`Invalid number, unexpected digit after 0: ${y(t,a)}.`)}else a=_(t,a,s),s=n.charCodeAt(a);if(46===s&&(l=!0,s=n.charCodeAt(++a),a=_(t,a,s),s=n.charCodeAt(a)),69!==s&&101!==s||(l=!0,s=n.charCodeAt(++a),43!==s&&45!==s||(s=n.charCodeAt(++a)),a=_(t,a,s),s=n.charCodeAt(a)),46===s||(0,u.LQ)(s))throw i(t.source,a,`Invalid number, expected digit but got: ${y(t,a)}.`);return v(t,l?o.FLOAT:o.INT,e,a,n.slice(e,a))}function _(t,e,r){if(!(0,u.X1)(r))throw i(t.source,e,`Invalid number, expected digit but got: ${y(t,e)}.`);const n=t.source.body;let o=e+1;for(;(0,u.X1)(n.charCodeAt(o));)++o;return o}function E(t,e){const r=t.source.body,n=r.length;let a=e+1,s=a,l="";for(;a<n;){const n=r.charCodeAt(a);if(34===n)return l+=r.slice(s,a),v(t,o.STRING,e,a+1,l);if(92!==n){if(10===n||13===n)break;if(d(n))++a;else{if(!f(r,a))throw i(t.source,a,`Invalid character within String: ${y(t,a)}.`);a+=2}}else{l+=r.slice(s,a);const e=117===r.charCodeAt(a+1)?123===r.charCodeAt(a+2)?S(t,a):k(t,a):O(t,a);l+=e.value,a+=e.size,s=a}}throw i(t.source,a,"Unterminated string.")}function S(t,e){const r=t.source.body;let n=0,o=3;for(;o<12;){const t=r.charCodeAt(e+o++);if(125===t){if(o<5||!d(n))break;return{value:String.fromCodePoint(n),size:o}}if(n=n<<4|A(t),n<0)break}throw i(t.source,e,`Invalid Unicode escape sequence: "${r.slice(e,e+o)}".`)}function k(t,e){const r=t.source.body,n=P(r,e+2);if(d(n))return{value:String.fromCodePoint(n),size:6};if(m(n)&&92===r.charCodeAt(e+6)&&117===r.charCodeAt(e+7)){const t=P(r,e+8);if(g(t))return{value:String.fromCodePoint(n,t),size:12}}throw i(t.source,e,`Invalid Unicode escape sequence: "${r.slice(e,e+6)}".`)}function P(t,e){return A(t.charCodeAt(e))<<12|A(t.charCodeAt(e+1))<<8|A(t.charCodeAt(e+2))<<4|A(t.charCodeAt(e+3))}function A(t){return t>=48&&t<=57?t-48:t>=65&&t<=70?t-55:t>=97&&t<=102?t-87:-1}function O(t,e){const r=t.source.body;switch(r.charCodeAt(e+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw i(t.source,e,`Invalid character escape sequence: "${r.slice(e,e+2)}".`)}function C(t,e){const r=t.source.body,n=r.length;let a=t.lineStart,s=e+3,l=s,c="";const u=[];for(;s<n;){const n=r.charCodeAt(s);if(34===n&&34===r.charCodeAt(s+1)&&34===r.charCodeAt(s+2)){c+=r.slice(l,s),u.push(c);const n=v(t,o.BLOCK_STRING,e,s+3,(0,p.wv)(u).join("\n"));return t.line+=u.length-1,t.lineStart=a,n}if(92!==n||34!==r.charCodeAt(s+1)||34!==r.charCodeAt(s+2)||34!==r.charCodeAt(s+3))if(10!==n&&13!==n)if(d(n))++s;else{if(!f(r,s))throw i(t.source,s,`Invalid character within String: ${y(t,s)}.`);s+=2}else c+=r.slice(l,s),u.push(c),13===n&&10===r.charCodeAt(s+1)?s+=2:++s,c="",l=s,a=s;else c+=r.slice(l,s),l=s+1,s+=4}throw i(t.source,s,"Unterminated string.")}function T(t,e){const r=t.source.body,n=r.length;let i=e+1;for(;i<n;){const t=r.charCodeAt(i);if(!(0,u.HQ)(t))break;++i}return v(t,o.NAME,e,i,r.slice(e,i))}var I=r(37431),D=r(59613),F=r(51327);class R{constructor(t,e="GraphQL request",r={line:1,column:1}){"string"==typeof t||(0,I.a)(!1,`Body must be a string. Received: ${(0,D.X)(t)}.`),this.body=t,this.name=e,this.locationOffset=r,this.locationOffset.line>0||(0,I.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,I.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function M(t,e){return new j(t,e).parseDocument()}class j{constructor(t,e={}){const r=function(t){return(0,F.n)(t,R)}(t)?t:new R(t);this._lexer=new h(r),this._options=e,this._tokenCounter=0}parseName(){const t=this.expectToken(o.NAME);return this.node(t,{kind:c.Kind.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:c.Kind.DOCUMENT,definitions:this.many(o.SOF,this.parseDefinition,o.EOF)})}parseDefinition(){if(this.peek(o.BRACE_L))return this.parseOperationDefinition();const t=this.peekDescription(),e=t?this._lexer.lookahead():this._lexer.token;if(e.kind===o.NAME){switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw i(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(e.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(e)}parseOperationDefinition(){const t=this._lexer.token;if(this.peek(o.BRACE_L))return this.node(t,{kind:c.Kind.OPERATION_DEFINITION,operation:s.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const e=this.parseOperationType();let r;return this.peek(o.NAME)&&(r=this.parseName()),this.node(t,{kind:c.Kind.OPERATION_DEFINITION,operation:e,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const t=this.expectToken(o.NAME);switch(t.value){case"query":return s.ku.QUERY;case"mutation":return s.ku.MUTATION;case"subscription":return s.ku.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(o.PAREN_L,this.parseVariableDefinition,o.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:c.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(o.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(o.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const t=this._lexer.token;return this.expectToken(o.DOLLAR),this.node(t,{kind:c.Kind.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:c.Kind.SELECTION_SET,selections:this.many(o.BRACE_L,this.parseSelection,o.BRACE_R)})}parseSelection(){return this.peek(o.SPREAD)?this.parseFragment():this.parseField()}parseField(){const t=this._lexer.token,e=this.parseName();let r,n;return this.expectOptionalToken(o.COLON)?(r=e,n=this.parseName()):n=e,this.node(t,{kind:c.Kind.FIELD,alias:r,name:n,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(o.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){const e=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(o.PAREN_L,e,o.PAREN_R)}parseArgument(t=!1){const e=this._lexer.token,r=this.parseName();return this.expectToken(o.COLON),this.node(e,{kind:c.Kind.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const t=this._lexer.token;this.expectToken(o.SPREAD);const e=this.expectOptionalKeyword("on");return!e&&this.peek(o.NAME)?this.node(t,{kind:c.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:c.Kind.INLINE_FRAGMENT,typeCondition:e?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const t=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(t,{kind:c.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:c.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(t){const e=this._lexer.token;switch(e.kind){case o.BRACKET_L:return this.parseList(t);case o.BRACE_L:return this.parseObject(t);case o.INT:return this.advanceLexer(),this.node(e,{kind:c.Kind.INT,value:e.value});case o.FLOAT:return this.advanceLexer(),this.node(e,{kind:c.Kind.FLOAT,value:e.value});case o.STRING:case o.BLOCK_STRING:return this.parseStringLiteral();case o.NAME:switch(this.advanceLexer(),e.value){case"true":return this.node(e,{kind:c.Kind.BOOLEAN,value:!0});case"false":return this.node(e,{kind:c.Kind.BOOLEAN,value:!1});case"null":return this.node(e,{kind:c.Kind.NULL});default:return this.node(e,{kind:c.Kind.ENUM,value:e.value})}case o.DOLLAR:if(t){if(this.expectToken(o.DOLLAR),this._lexer.token.kind===o.NAME){const t=this._lexer.token.value;throw i(this._lexer.source,e.start,`Unexpected variable "$${t}" in constant value.`)}throw this.unexpected(e)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:c.Kind.STRING,value:t.value,block:t.kind===o.BLOCK_STRING})}parseList(t){return this.node(this._lexer.token,{kind:c.Kind.LIST,values:this.any(o.BRACKET_L,(()=>this.parseValueLiteral(t)),o.BRACKET_R)})}parseObject(t){return this.node(this._lexer.token,{kind:c.Kind.OBJECT,fields:this.any(o.BRACE_L,(()=>this.parseObjectField(t)),o.BRACE_R)})}parseObjectField(t){const e=this._lexer.token,r=this.parseName();return this.expectToken(o.COLON),this.node(e,{kind:c.Kind.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){const e=[];for(;this.peek(o.AT);)e.push(this.parseDirective(t));return e}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const e=this._lexer.token;return this.expectToken(o.AT),this.node(e,{kind:c.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let e;if(this.expectOptionalToken(o.BRACKET_L)){const r=this.parseTypeReference();this.expectToken(o.BRACKET_R),e=this.node(t,{kind:c.Kind.LIST_TYPE,type:r})}else e=this.parseNamedType();return this.expectOptionalToken(o.BANG)?this.node(t,{kind:c.Kind.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:c.Kind.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(o.STRING)||this.peek(o.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("schema");const r=this.parseConstDirectives(),n=this.many(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);return this.node(t,{kind:c.Kind.SCHEMA_DEFINITION,description:e,directives:r,operationTypes:n})}parseOperationTypeDefinition(){const t=this._lexer.token,e=this.parseOperationType();this.expectToken(o.COLON);const r=this.parseNamedType();return this.node(t,{kind:c.Kind.OPERATION_TYPE_DEFINITION,operation:e,type:r})}parseScalarTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("scalar");const r=this.parseName(),n=this.parseConstDirectives();return this.node(t,{kind:c.Kind.SCALAR_TYPE_DEFINITION,description:e,name:r,directives:n})}parseObjectTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("type");const r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(t,{kind:c.Kind.OBJECT_TYPE_DEFINITION,description:e,name:r,interfaces:n,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(o.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseFieldDefinition,o.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,e=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(o.COLON);const i=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:c.Kind.FIELD_DEFINITION,description:e,name:r,arguments:n,type:i,directives:a})}parseArgumentDefs(){return this.optionalMany(o.PAREN_L,this.parseInputValueDef,o.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,e=this.parseDescription(),r=this.parseName();this.expectToken(o.COLON);const n=this.parseTypeReference();let i;this.expectOptionalToken(o.EQUALS)&&(i=this.parseConstValueLiteral());const a=this.parseConstDirectives();return this.node(t,{kind:c.Kind.INPUT_VALUE_DEFINITION,description:e,name:r,type:n,defaultValue:i,directives:a})}parseInterfaceTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("interface");const r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(t,{kind:c.Kind.INTERFACE_TYPE_DEFINITION,description:e,name:r,interfaces:n,directives:i,fields:o})}parseUnionTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("union");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(t,{kind:c.Kind.UNION_TYPE_DEFINITION,description:e,name:r,directives:n,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(o.EQUALS)?this.delimitedMany(o.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("enum");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(t,{kind:c.Kind.ENUM_TYPE_DEFINITION,description:e,name:r,directives:n,values:i})}parseEnumValuesDefinition(){return this.optionalMany(o.BRACE_L,this.parseEnumValueDefinition,o.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,e=this.parseDescription(),r=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(t,{kind:c.Kind.ENUM_VALUE_DEFINITION,description:e,name:r,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw i(this._lexer.source,this._lexer.token.start,`${L(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("input");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(t,{kind:c.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:e,name:r,directives:n,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseInputValueDef,o.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===o.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const e=this.parseConstDirectives(),r=this.optionalMany(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);if(0===e.length&&0===r.length)throw this.unexpected();return this.node(t,{kind:c.Kind.SCHEMA_EXTENSION,directives:e,operationTypes:r})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const e=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(t,{kind:c.Kind.SCALAR_TYPE_EXTENSION,name:e,directives:r})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const e=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(t,{kind:c.Kind.OBJECT_TYPE_EXTENSION,name:e,interfaces:r,directives:n,fields:i})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const e=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(t,{kind:c.Kind.INTERFACE_TYPE_EXTENSION,name:e,interfaces:r,directives:n,fields:i})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const e=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(t,{kind:c.Kind.UNION_TYPE_EXTENSION,name:e,directives:r,types:n})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const e=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(t,{kind:c.Kind.ENUM_TYPE_EXTENSION,name:e,directives:r,values:n})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const e=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(t,{kind:c.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:e,directives:r,fields:n})}parseDirectiveDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("directive"),this.expectToken(o.AT);const r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const a=this.parseDirectiveLocations();return this.node(t,{kind:c.Kind.DIRECTIVE_DEFINITION,description:e,name:r,arguments:n,repeatable:i,locations:a})}parseDirectiveLocations(){return this.delimitedMany(o.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,e=this.parseName();if(Object.prototype.hasOwnProperty.call(l.B,e.value))return e;throw this.unexpected(t)}node(t,e){return!0!==this._options.noLocation&&(e.loc=new s.Ye(t,this._lexer.lastToken,this._lexer.source)),e}peek(t){return this._lexer.token.kind===t}expectToken(t){const e=this._lexer.token;if(e.kind===t)return this.advanceLexer(),e;throw i(this._lexer.source,e.start,`Expected ${N(t)}, found ${L(e)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t&&(this.advanceLexer(),!0)}expectKeyword(t){const e=this._lexer.token;if(e.kind!==o.NAME||e.value!==t)throw i(this._lexer.source,e.start,`Expected "${t}", found ${L(e)}.`);this.advanceLexer()}expectOptionalKeyword(t){const e=this._lexer.token;return e.kind===o.NAME&&e.value===t&&(this.advanceLexer(),!0)}unexpected(t){const e=null!=t?t:this._lexer.token;return i(this._lexer.source,e.start,`Unexpected ${L(e)}.`)}any(t,e,r){this.expectToken(t);const n=[];for(;!this.expectOptionalToken(r);)n.push(e.call(this));return n}optionalMany(t,e,r){if(this.expectOptionalToken(t)){const t=[];do{t.push(e.call(this))}while(!this.expectOptionalToken(r));return t}return[]}many(t,e,r){this.expectToken(t);const n=[];do{n.push(e.call(this))}while(!this.expectOptionalToken(r));return n}delimitedMany(t,e){this.expectOptionalToken(t);const r=[];do{r.push(e.call(this))}while(this.expectOptionalToken(t));return r}advanceLexer(){const{maxTokens:t}=this._options,e=this._lexer.advance();if(void 0!==t&&e.kind!==o.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw i(this._lexer.source,e.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function L(t){const e=t.value;return N(t.kind)+(null!=e?` "${e}"`:"")}function N(t){return function(t){return t===o.BANG||t===o.DOLLAR||t===o.AMP||t===o.PAREN_L||t===o.PAREN_R||t===o.SPREAD||t===o.COLON||t===o.EQUALS||t===o.AT||t===o.BRACKET_L||t===o.BRACKET_R||t===o.BRACE_L||t===o.PIPE||t===o.BRACE_R}(t)?`"${t}"`:t}},56904:(t,e,r)=>{"use strict";r.d(e,{pO:()=>i});var n=r(34627);function i(t){return t.kind===n.Kind.FIELD||t.kind===n.Kind.FRAGMENT_SPREAD||t.kind===n.Kind.INLINE_FRAGMENT}},54585:(t,e,r)=>{"use strict";r.d(e,{S:()=>l});var n=r(60930);const i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function o(t){return a[t.charCodeAt(0)]}const a=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var s=r(9485);function l(t){return(0,s.Vn)(t,c)}const c={Name:{leave:t=>t.value},Variable:{leave:t=>"$"+t.name},Document:{leave:t=>p(t.definitions,"\n\n")},OperationDefinition:{leave(t){const e=h("(",p(t.variableDefinitions,", "),")"),r=p([t.operation,p([t.name,e]),p(t.directives," ")]," ");return("query"===r?"":r+" ")+t.selectionSet}},VariableDefinition:{leave:({variable:t,type:e,defaultValue:r,directives:n})=>t+": "+e+h(" = ",r)+h(" ",p(n," "))},SelectionSet:{leave:({selections:t})=>u(t)},Field:{leave({alias:t,name:e,arguments:r,directives:n,selectionSet:i}){const o=h("",t,": ")+e;let a=o+h("(",p(r,", "),")");return a.length>80&&(a=o+h("(\n",d(p(r,"\n")),"\n)")),p([a,p(n," "),i]," ")}},Argument:{leave:({name:t,value:e})=>t+": "+e},FragmentSpread:{leave:({name:t,directives:e})=>"..."+t+h(" ",p(e," "))},InlineFragment:{leave:({typeCondition:t,directives:e,selectionSet:r})=>p(["...",h("on ",t),p(e," "),r]," ")},FragmentDefinition:{leave:({name:t,typeCondition:e,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${t}${h("(",p(r,", "),")")} on ${e} ${h("",p(n," ")," ")}`+i},IntValue:{leave:({value:t})=>t},FloatValue:{leave:({value:t})=>t},StringValue:{leave:({value:t,block:e})=>e?(0,n.LZ)(t):`"${t.replace(i,o)}"`},BooleanValue:{leave:({value:t})=>t?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:t})=>t},ListValue:{leave:({values:t})=>"["+p(t,", ")+"]"},ObjectValue:{leave:({fields:t})=>"{"+p(t,", ")+"}"},ObjectField:{leave:({name:t,value:e})=>t+": "+e},Directive:{leave:({name:t,arguments:e})=>"@"+t+h("(",p(e,", "),")")},NamedType:{leave:({name:t})=>t},ListType:{leave:({type:t})=>"["+t+"]"},NonNullType:{leave:({type:t})=>t+"!"},SchemaDefinition:{leave:({description:t,directives:e,operationTypes:r})=>h("",t,"\n")+p(["schema",p(e," "),u(r)]," ")},OperationTypeDefinition:{leave:({operation:t,type:e})=>t+": "+e},ScalarTypeDefinition:{leave:({description:t,name:e,directives:r})=>h("",t,"\n")+p(["scalar",e,p(r," ")]," ")},ObjectTypeDefinition:{leave:({description:t,name:e,interfaces:r,directives:n,fields:i})=>h("",t,"\n")+p(["type",e,h("implements ",p(r," & ")),p(n," "),u(i)]," ")},FieldDefinition:{leave:({description:t,name:e,arguments:r,type:n,directives:i})=>h("",t,"\n")+e+(f(r)?h("(\n",d(p(r,"\n")),"\n)"):h("(",p(r,", "),")"))+": "+n+h(" ",p(i," "))},InputValueDefinition:{leave:({description:t,name:e,type:r,defaultValue:n,directives:i})=>h("",t,"\n")+p([e+": "+r,h("= ",n),p(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:t,name:e,interfaces:r,directives:n,fields:i})=>h("",t,"\n")+p(["interface",e,h("implements ",p(r," & ")),p(n," "),u(i)]," ")},UnionTypeDefinition:{leave:({description:t,name:e,directives:r,types:n})=>h("",t,"\n")+p(["union",e,p(r," "),h("= ",p(n," | "))]," ")},EnumTypeDefinition:{leave:({description:t,name:e,directives:r,values:n})=>h("",t,"\n")+p(["enum",e,p(r," "),u(n)]," ")},EnumValueDefinition:{leave:({description:t,name:e,directives:r})=>h("",t,"\n")+p([e,p(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:t,name:e,directives:r,fields:n})=>h("",t,"\n")+p(["input",e,p(r," "),u(n)]," ")},DirectiveDefinition:{leave:({description:t,name:e,arguments:r,repeatable:n,locations:i})=>h("",t,"\n")+"directive @"+e+(f(r)?h("(\n",d(p(r,"\n")),"\n)"):h("(",p(r,", "),")"))+(n?" repeatable":"")+" on "+p(i," | ")},SchemaExtension:{leave:({directives:t,operationTypes:e})=>p(["extend schema",p(t," "),u(e)]," ")},ScalarTypeExtension:{leave:({name:t,directives:e})=>p(["extend scalar",t,p(e," ")]," ")},ObjectTypeExtension:{leave:({name:t,interfaces:e,directives:r,fields:n})=>p(["extend type",t,h("implements ",p(e," & ")),p(r," "),u(n)]," ")},InterfaceTypeExtension:{leave:({name:t,interfaces:e,directives:r,fields:n})=>p(["extend interface",t,h("implements ",p(e," & ")),p(r," "),u(n)]," ")},UnionTypeExtension:{leave:({name:t,directives:e,types:r})=>p(["extend union",t,p(e," "),h("= ",p(r," | "))]," ")},EnumTypeExtension:{leave:({name:t,directives:e,values:r})=>p(["extend enum",t,p(e," "),u(r)]," ")},InputObjectTypeExtension:{leave:({name:t,directives:e,fields:r})=>p(["extend input",t,p(e," "),u(r)]," ")}};function p(t,e=""){var r;return null!==(r=null==t?void 0:t.filter((t=>t)).join(e))&&void 0!==r?r:""}function u(t){return h("{\n",d(p(t,"\n")),"\n}")}function h(t,e,r=""){return null!=e&&""!==e?t+e+r:""}function d(t){return h(" ",t.replace(/\n/g,"\n "))}function f(t){var e;return null!==(e=null==t?void 0:t.some((t=>t.includes("\n"))))&&void 0!==e&&e}},9485:(t,e,r)=>{"use strict";r.d(e,{$_:()=>s,Vn:()=>l});var n=r(37431),i=r(59613),o=r(75132),a=r(34627);const s=Object.freeze({});function l(t,e,r=o.h8){const l=new Map;for(const t of Object.values(a.Kind))l.set(t,c(e,t));let p,u,h,d=Array.isArray(t),f=[t],m=-1,g=[],y=t;const v=[],b=[];do{m++;const t=m===f.length,a=t&&0!==g.length;if(t){if(u=0===b.length?void 0:v[v.length-1],y=h,h=b.pop(),a)if(d){y=y.slice();let t=0;for(const[e,r]of g){const n=e-t;null===r?(y.splice(n,1),t++):y[n]=r}}else{y=Object.defineProperties({},Object.getOwnPropertyDescriptors(y));for(const[t,e]of g)y[t]=e}m=p.index,f=p.keys,g=p.edits,d=p.inArray,p=p.prev}else if(h){if(u=d?m:f[m],y=h[u],null==y)continue;v.push(u)}let c;if(!Array.isArray(y)){var x,w;(0,o.UG)(y)||(0,n.a)(!1,`Invalid AST Node: ${(0,i.X)(y)}.`);const r=t?null===(x=l.get(y.kind))||void 0===x?void 0:x.leave:null===(w=l.get(y.kind))||void 0===w?void 0:w.enter;if(c=null==r?void 0:r.call(e,y,u,h,v,b),c===s)break;if(!1===c){if(!t){v.pop();continue}}else if(void 0!==c&&(g.push([u,c]),!t)){if(!(0,o.UG)(c)){v.pop();continue}y=c}}var _;void 0===c&&a&&g.push([u,y]),t?v.pop():(p={inArray:d,index:m,keys:f,edits:g,prev:p},d=Array.isArray(y),f=d?y:null!==(_=r[y.kind])&&void 0!==_?_:[],m=-1,g=[],h&&b.push(h),h=y)}while(void 0!==p);return 0!==g.length?g[g.length-1][1]:t}function c(t,e){const r=t[e];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:t.enter,leave:t.leave}}},50493:(t,e,r)=>{"use strict";r.d(e,{Jh:()=>p,XA:()=>u,ZT:()=>i,_T:()=>a,ev:()=>h,gn:()=>s,mG:()=>c,pi:()=>o,w6:()=>l});var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var o=function(){return o=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},o.apply(this,arguments)};function a(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}function s(t,e,r,n){var i,o=arguments.length,a=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,r,a):i(e,r))||a);return o>3&&a&&Object.defineProperty(e,r,a),a}function l(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{l(n.next(t))}catch(t){o(t)}}function s(t){try{l(n.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}l((n=n.apply(t,e||[])).next())}))}function p(t,e){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function u(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError},52697:(t,e,r)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],i="undefined"==typeof globalThis?r.g:globalThis;t.exports=function(){for(var t=[],e=0;e<n.length;e++)"function"==typeof i[n[e]]&&(t[t.length]=n[e]);return t}},67938:(t,e,r)=>{"use strict";r.d(e,{R:()=>a});var n=r(50493),i=r(1994),o=r(74483),a=function(){function t(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,i.re)(o.Yk)}return t.prototype.batch=function(t){var e,r=this,n="string"==typeof t.optimistic?t.optimistic:!1===t.optimistic?null:void 0;return this.performTransaction((function(){return e=t.update(r)}),n),e},t.prototype.recordOptimisticTransaction=function(t,e){this.performTransaction(t,e)},t.prototype.transformDocument=function(t){return t},t.prototype.transformForLink=function(t){return t},t.prototype.identify=function(t){},t.prototype.gc=function(){return[]},t.prototype.modify=function(t){return!1},t.prototype.readQuery=function(t,e){return void 0===e&&(e=!!t.optimistic),this.read((0,n.pi)((0,n.pi)({},t),{rootId:t.id||"ROOT_QUERY",optimistic:e}))},t.prototype.readFragment=function(t,e){return void 0===e&&(e=!!t.optimistic),this.read((0,n.pi)((0,n.pi)({},t),{query:this.getFragmentDoc(t.fragment,t.fragmentName),rootId:t.id,optimistic:e}))},t.prototype.writeQuery=function(t){var e=t.id,r=t.data,i=(0,n._T)(t,["id","data"]);return this.write(Object.assign(i,{dataId:e||"ROOT_QUERY",result:r}))},t.prototype.writeFragment=function(t){var e=t.id,r=t.data,i=t.fragment,o=t.fragmentName,a=(0,n._T)(t,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:e,result:r}))},t.prototype.updateQuery=function(t,e){return this.batch({update:function(r){var i=r.readQuery(t),o=e(i);return null==o?i:(r.writeQuery((0,n.pi)((0,n.pi)({},t),{data:o})),o)}})},t.prototype.updateFragment=function(t,e){return this.batch({update:function(r){var i=r.readFragment(t),o=e(i);return null==o?i:(r.writeFragment((0,n.pi)((0,n.pi)({},t),{data:o})),o)}})},t}()},48185:(t,e,r)=>{"use strict";r.d(e,{y:()=>i});var n=r(50493),i=function(t){function e(r,n,i,o){var a,s=t.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var l=s.path.length-1;l>=0;--l)s.missing=((a={})[s.path[l]]=s.missing,a)}else s.missing=s.path;return s.__proto__=e.prototype,s}return(0,n.ZT)(e,t),e}(Error)},65110:(t,e,r)=>{"use strict";r.d(e,{$O:()=>v,E_:()=>b,Is:()=>E,RC:()=>x,RI:()=>u,ig:()=>_,j:()=>w,jS:()=>m,jp:()=>y,lg:()=>g,uG:()=>d});var n=r(41100),i=r(84319),o=r(32345),a=r(41809),s=r(37304),l=r(85098),c=r(74483),p=r(67554),u=Object.prototype.hasOwnProperty;function h(t){return null==t}function d(t,e){var r=t.__typename,n=t.id,i=t._id;if("string"==typeof r&&(e&&(e.keyObject=h(n)?h(i)?void 0:{_id:i}:{id:n}),h(n)&&!h(i)&&(n=i),!h(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var f={dataIdFromObject:d,addTypename:!0,resultCaching:!0,canonizeResults:!1};function m(t){return(0,n.o)(f,t)}function g(t){var e=t.canonizeResults;return void 0===e?f.canonizeResults:e}function y(t,e){return(0,i.Yk)(e)?t.get(e.__ref,"__typename"):e&&e.__typename}var v=/^[_a-z][_0-9a-z]*/i;function b(t){var e=t.match(v);return e?e[0]:t}function x(t,e,r){return!!(0,o.s)(e)&&((0,a.k)(e)?e.every((function(e){return x(t,e,r)})):t.selections.every((function(t){if((0,i.My)(t)&&(0,s.LZ)(t,r)){var n=(0,i.u2)(t);return u.call(e,n)&&(!t.selectionSet||x(t.selectionSet,e[n],r))}return!0})))}function w(t){return(0,o.s)(t)&&!(0,i.Yk)(t)&&!(0,a.k)(t)}function _(){return new l.w0}function E(t,e){var r=(0,c.F)((0,p.kU)(t));return{fragmentMap:r,lookupFragment:function(t){var n=r[t];return!n&&e&&(n=e.lookup(t)),n||null}}}},63965:(t,e,r)=>{"use strict";r.d(e,{h:()=>ft});var n=r(50493),i=r(33438),o=r(1994),a=r(16361),s=r(67938),l=r(48185),c=r(77374),p=r(10821),u=r(84319),h=r(34627),d=r(42860),f=r(41100),m=r(67554),g=r(85098),y=r(37304),v=r(74483),b=r(32345);function x(t){return!1!==globalThis.__DEV__&&(e=t,(r=new Set([e])).forEach((function(t){(0,b.s)(t)&&function(t){if(!1!==globalThis.__DEV__&&!Object.isFrozen(t))try{Object.freeze(t)}catch(t){if(t instanceof TypeError)return null;throw t}return t}(t)===t&&Object.getOwnPropertyNames(t).forEach((function(e){(0,b.s)(t[e])&&r.add(t[e])}))}))),t;var e,r}var w=r(13426),_=r(65110),E=Object.create(null),S=function(){return E},k=Object.create(null),P=function(){function t(t,e){var r=this;this.policies=t,this.group=e,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(t,e){return x((0,u.Yk)(t)?r.get(t.__ref,e):t&&t[e])},this.canRead=function(t){return(0,u.Yk)(t)?r.has(t.__ref):"object"==typeof t},this.toReference=function(t,e){if("string"==typeof t)return(0,u.kQ)(t);if((0,u.Yk)(t))return t;var n=r.policies.identify(t)[0];if(n){var i=(0,u.kQ)(n);return e&&r.merge(n,t),i}}}return t.prototype.toObject=function(){return(0,n.pi)({},this.data)},t.prototype.has=function(t){return void 0!==this.lookup(t,!0)},t.prototype.get=function(t,e){if(this.group.depend(t,e),_.RI.call(this.data,t)){var r=this.data[t];if(r&&_.RI.call(r,e))return r[e]}return"__typename"===e&&_.RI.call(this.policies.rootTypenamesById,t)?this.policies.rootTypenamesById[t]:this instanceof T?this.parent.get(t,e):void 0},t.prototype.lookup=function(t,e){return e&&this.group.depend(t,"__exists"),_.RI.call(this.data,t)?this.data[t]:this instanceof T?this.parent.lookup(t,e):this.policies.rootTypenamesById[t]?Object.create(null):void 0},t.prototype.merge=function(t,e){var r,n=this;(0,u.Yk)(t)&&(t=t.__ref),(0,u.Yk)(e)&&(e=e.__ref);var o="string"==typeof t?this.lookup(r=t):t,a="string"==typeof e?this.lookup(r=e):e;if(a){(0,i.kG)("string"==typeof r,1);var s=new g.w0(D).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var l=Object.create(null);o||(l.__exists=1),Object.keys(a).forEach((function(t){if(!o||o[t]!==s[t]){l[t]=1;var e=(0,_.E_)(t);e===t||n.policies.hasKeyArgs(s.__typename,e)||(l[e]=1),void 0!==s[t]||n instanceof T||delete s[t]}})),!l.__typename||o&&o.__typename||this.policies.rootTypenamesById[r]!==s.__typename||delete l.__typename,Object.keys(l).forEach((function(t){return n.group.dirty(r,t)}))}}},t.prototype.modify=function(t,e){var r=this,i=this.lookup(t);if(i){var o=Object.create(null),a=!1,s=!0,l={DELETE:E,INVALIDATE:k,isReference:u.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(e,n){return r.policies.readField("string"==typeof e?{fieldName:e,from:n||(0,u.kQ)(t)}:e,{store:r})}};if(Object.keys(i).forEach((function(c){var p=(0,_.E_)(c),u=i[c];if(void 0!==u){var h="function"==typeof e?e:e[c]||e[p];if(h){var d=h===S?E:h(x(u),(0,n.pi)((0,n.pi)({},l),{fieldName:p,storeFieldName:c,storage:r.getStorage(t,c)}));d===k?r.group.dirty(t,c):(d===E&&(d=void 0),d!==u&&(o[c]=d,a=!0,u=d))}void 0!==u&&(s=!1)}})),a)return this.merge(t,o),s&&(this instanceof T?this.data[t]=void 0:delete this.data[t],this.group.dirty(t,"__exists")),!0}return!1},t.prototype.delete=function(t,e,r){var n,i=this.lookup(t);if(i){var o=this.getFieldValue(i,"__typename"),a=e&&r?this.policies.getStoreFieldName({typename:o,fieldName:e,args:r}):e;return this.modify(t,a?((n={})[a]=S,n):S)}return!1},t.prototype.evict=function(t,e){var r=!1;return t.id&&(_.RI.call(this.data,t.id)&&(r=this.delete(t.id,t.fieldName,t.args)),this instanceof T&&this!==e&&(r=this.parent.evict(t,e)||r),(t.fieldName||r)&&this.group.dirty(t.id,t.fieldName||"__exists")),r},t.prototype.clear=function(){this.replace(null)},t.prototype.extract=function(){var t=this,e=this.toObject(),r=[];return this.getRootIdSet().forEach((function(e){_.RI.call(t.policies.rootTypenamesById,e)||r.push(e)})),r.length&&(e.__META={extraRootIds:r.sort()}),e},t.prototype.replace=function(t){var e=this;if(Object.keys(this.data).forEach((function(r){t&&_.RI.call(t,r)||e.delete(r)})),t){var r=t.__META,i=(0,n._T)(t,["__META"]);Object.keys(i).forEach((function(t){e.merge(t,i[t])})),r&&r.extraRootIds.forEach(this.retain,this)}},t.prototype.retain=function(t){return this.rootIds[t]=(this.rootIds[t]||0)+1},t.prototype.release=function(t){if(this.rootIds[t]>0){var e=--this.rootIds[t];return e||delete this.rootIds[t],e}return 0},t.prototype.getRootIdSet=function(t){return void 0===t&&(t=new Set),Object.keys(this.rootIds).forEach(t.add,t),this instanceof T?this.parent.getRootIdSet(t):Object.keys(this.policies.rootTypenamesById).forEach(t.add,t),t},t.prototype.gc=function(){var t=this,e=this.getRootIdSet(),r=this.toObject();e.forEach((function(n){_.RI.call(r,n)&&(Object.keys(t.findChildRefIds(n)).forEach(e.add,e),delete r[n])}));var n=Object.keys(r);if(n.length){for(var i=this;i instanceof T;)i=i.parent;n.forEach((function(t){return i.delete(t)}))}return n},t.prototype.findChildRefIds=function(t){if(!_.RI.call(this.refs,t)){var e=this.refs[t]=Object.create(null),r=this.data[t];if(!r)return e;var n=new Set([r]);n.forEach((function(t){(0,u.Yk)(t)&&(e[t.__ref]=!0),(0,b.s)(t)&&Object.keys(t).forEach((function(e){var r=t[e];(0,b.s)(r)&&n.add(r)}))}))}return this.refs[t]},t.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},t}(),A=function(){function t(t,e){void 0===e&&(e=null),this.caching=t,this.parent=e,this.d=null,this.resetCaching()}return t.prototype.resetCaching=function(){this.d=this.caching?(0,o.dP)():null,this.keyMaker=new w.B(d.mr)},t.prototype.depend=function(t,e){if(this.d){this.d(O(t,e));var r=(0,_.E_)(e);r!==e&&this.d(O(t,r)),this.parent&&this.parent.depend(t,e)}},t.prototype.dirty=function(t,e){this.d&&this.d.dirty(O(t,e),"__exists"===e?"forget":"setDirty")},t}();function O(t,e){return e+"#"+t}function C(t,e){F(t)&&t.group.depend(e,"__exists")}!function(t){var e=function(t){function e(e){var r=e.policies,n=e.resultCaching,i=void 0===n||n,o=e.seed,a=t.call(this,r,new A(i))||this;return a.stump=new I(a),a.storageTrie=new w.B(d.mr),o&&a.replace(o),a}return(0,n.ZT)(e,t),e.prototype.addLayer=function(t,e){return this.stump.addLayer(t,e)},e.prototype.removeLayer=function(){return this},e.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},e}(t);t.Root=e}(P||(P={}));var T=function(t){function e(e,r,n,i){var o=t.call(this,r.policies,i)||this;return o.id=e,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,n.ZT)(e,t),e.prototype.addLayer=function(t,r){return new e(t,this,r,this.group)},e.prototype.removeLayer=function(t){var e=this,r=this.parent.removeLayer(t);return t===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(t){var n=e.data[t],i=r.lookup(t);i?n?n!==i&&Object.keys(n).forEach((function(r){(0,a.D)(n[r],i[r])||e.group.dirty(t,r)})):(e.group.dirty(t,"__exists"),Object.keys(i).forEach((function(r){e.group.dirty(t,r)}))):e.delete(t)})),r):r===this.parent?this:r.addLayer(this.id,this.replay)},e.prototype.toObject=function(){return(0,n.pi)((0,n.pi)({},this.parent.toObject()),this.data)},e.prototype.findChildRefIds=function(e){var r=this.parent.findChildRefIds(e);return _.RI.call(this.data,e)?(0,n.pi)((0,n.pi)({},r),t.prototype.findChildRefIds.call(this,e)):r},e.prototype.getStorage=function(){for(var t=this.parent;t.parent;)t=t.parent;return t.getStorage.apply(t,arguments)},e}(P),I=function(t){function e(e){return t.call(this,"EntityStore.Stump",e,(function(){}),new A(e.group.caching,e.group))||this}return(0,n.ZT)(e,t),e.prototype.removeLayer=function(){return this},e.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},e}(T);function D(t,e,r){var n=t[r],i=e[r];return(0,a.D)(n,i)?n:i}function F(t){return!!(t instanceof P&&t.group.caching)}var R=r(41809),M=r(85068);function j(t){return[t.selectionSet,t.objectOrReference,t.context,t.context.canonizeResults]}var L=function(){function t(t){var e=this;this.knownResults=new(d.mr?WeakMap:Map),this.config=(0,f.o)(t,{addTypename:!1!==t.addTypename,canonizeResults:(0,_.lg)(t)}),this.canon=t.canon||new M.h,this.executeSelectionSet=(0,o.re)((function(t){var r,i=t.context.canonizeResults,o=j(t);o[3]=!i;var a=(r=e.executeSelectionSet).peek.apply(r,o);return a?i?(0,n.pi)((0,n.pi)({},a),{result:e.canon.admit(a.result)}):a:(C(t.context.store,t.enclosingRef.__ref),e.execSelectionSetImpl(t))}),{max:this.config.resultCacheMaxSize,keyArgs:j,makeCacheKey:function(t,e,r,n){if(F(r.store))return r.store.makeCacheKey(t,(0,u.Yk)(e)?e.__ref:e,r.varString,n)}}),this.executeSubSelectedArray=(0,o.re)((function(t){return C(t.context.store,t.enclosingRef.__ref),e.execSubSelectedArrayImpl(t)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(t){var e=t.field,r=t.array,n=t.context;if(F(n.store))return n.store.makeCacheKey(e,r,n.varString)}})}return t.prototype.resetCanon=function(){this.canon=new M.h},t.prototype.diffQueryAgainstStore=function(t){var e=t.store,r=t.query,i=t.rootId,o=void 0===i?"ROOT_QUERY":i,a=t.variables,s=t.returnPartialData,c=void 0===s||s,p=t.canonizeResults,h=void 0===p?this.config.canonizeResults:p,d=this.config.cache.policies;a=(0,n.pi)((0,n.pi)({},(0,m.O4)((0,m.iW)(r))),a);var f,g=(0,u.kQ)(o),y=this.executeSelectionSet({selectionSet:(0,m.p$)(r).selectionSet,objectOrReference:g,enclosingRef:g,context:(0,n.pi)({store:e,query:r,policies:d,variables:a,varString:(0,M.B)(a),canonizeResults:h},(0,_.Is)(r,this.config.fragments))});if(y.missing&&(f=[new l.y(N(y.missing),y.missing,r,a)],!c))throw f[0];return{result:y.result,complete:!f,missing:f}},t.prototype.isFresh=function(t,e,r,n){if(F(n.store)&&this.knownResults.get(t)===r){var i=this.executeSelectionSet.peek(r,e,n,this.canon.isKnown(t));if(i&&t===i.result)return!0}return!1},t.prototype.execSelectionSetImpl=function(t){var e=this,r=t.selectionSet,n=t.objectOrReference,o=t.enclosingRef,a=t.context;if((0,u.Yk)(n)&&!a.policies.rootTypenamesById[n.__ref]&&!a.store.has(n.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(n.__ref," object")};var s,l=a.variables,c=a.policies,d=a.store.getFieldValue(n,"__typename"),f=[],m=new g.w0;function b(t,e){var r;return t.missing&&(s=m.merge(s,((r={})[e]=t.missing,r))),t.result}this.config.addTypename&&"string"==typeof d&&!c.rootIdsByTypename[d]&&f.push({__typename:d});var w=new Set(r.selections);w.forEach((function(t){var r,g;if((0,y.LZ)(t,l))if((0,u.My)(t)){var x=c.readField({fieldName:t.name.value,field:t,variables:a.variables,from:n},a),_=(0,u.u2)(t);void 0===x?p.Gw.added(t)||(s=m.merge(s,((r={})[_]="Can't find field '".concat(t.name.value,"' on ").concat((0,u.Yk)(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)),r))):(0,R.k)(x)?x=b(e.executeSubSelectedArray({field:t,array:x,enclosingRef:o,context:a}),_):t.selectionSet?null!=x&&(x=b(e.executeSelectionSet({selectionSet:t.selectionSet,objectOrReference:x,enclosingRef:(0,u.Yk)(x)?x:o,context:a}),_)):a.canonizeResults&&(x=e.canon.pass(x)),void 0!==x&&f.push(((g={})[_]=x,g))}else{var E=(0,v.hi)(t,a.lookupFragment);if(!E&&t.kind===h.Kind.FRAGMENT_SPREAD)throw(0,i._K)(7,t.name.value);E&&c.fragmentMatches(E,d)&&E.selectionSet.selections.forEach(w.add,w)}}));var _={result:(0,g.bw)(f),missing:s},E=a.canonizeResults?this.canon.admit(_):x(_);return E.result&&this.knownResults.set(E.result,r),E},t.prototype.execSubSelectedArrayImpl=function(t){var e,r=this,n=t.field,o=t.array,a=t.enclosingRef,s=t.context,l=new g.w0;function c(t,r){var n;return t.missing&&(e=l.merge(e,((n={})[r]=t.missing,n))),t.result}return n.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map((function(t,e){return null===t?null:(0,R.k)(t)?c(r.executeSubSelectedArray({field:n,array:t,enclosingRef:a,context:s}),e):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:t,enclosingRef:(0,u.Yk)(t)?t:a,context:s}),e):(!1!==globalThis.__DEV__&&function(t,e,r){if(!e.selectionSet){var n=new Set([r]);n.forEach((function(r){(0,b.s)(r)&&((0,i.kG)(!(0,u.Yk)(r),8,(0,_.jp)(t,r),e.name.value),Object.values(r).forEach(n.add,n))}))}}(s.store,n,t),t)})),{result:s.canonizeResults?this.canon.admit(o):o,missing:e}},t}();function N(t){try{JSON.stringify(t,(function(t,e){if("string"==typeof e)throw e;return e}))}catch(t){return t}}var B=r(16022),V=r(75614),z=r(47204),q=Object.create(null);function G(t){var e=JSON.stringify(t);return q[e]||(q[e]=Object.create(null))}function U(t){var e=G(t);return e.keyFieldsFn||(e.keyFieldsFn=function(e,r){var n=function(t,e){return r.readField(e,t)},o=r.keyObject=$(t,(function(t){var o=K(r.storeObject,t,n);return void 0===o&&e!==r.storeObject&&_.RI.call(e,t[0])&&(o=K(e,t,Q)),(0,i.kG)(void 0!==o,2,t.join("."),e),o}));return"".concat(r.typename,":").concat(JSON.stringify(o))})}function H(t){var e=G(t);return e.keyArgsFn||(e.keyArgsFn=function(e,r){var n=r.field,i=r.variables,o=r.fieldName,a=$(t,(function(t){var r=t[0],o=r.charAt(0);if("@"!==o)if("$"!==o){if(e)return K(e,t)}else{var a=r.slice(1);if(i&&_.RI.call(i,a)){var s=t.slice(0);return s[0]=a,K(i,s)}}else if(n&&(0,R.O)(n.directives)){var l=r.slice(1),c=n.directives.find((function(t){return t.name.value===l})),p=c&&(0,u.NC)(c,i);return p&&K(p,t.slice(1))}})),s=JSON.stringify(a);return(e||"{}"!==s)&&(o+=":"+s),o})}function $(t,e){var r=new g.w0;return W(t).reduce((function(t,n){var i,o=e(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;t=r.merge(t,o)}return t}),Object.create(null))}function W(t){var e=G(t);if(!e.paths){var r=e.paths=[],n=[];t.forEach((function(e,i){(0,R.k)(e)?(W(e).forEach((function(t){return r.push(n.concat(t))})),n.length=0):(n.push(e),(0,R.k)(t[i+1])||(r.push(n.slice(0)),n.length=0))}))}return e.paths}function Q(t,e){return t[e]}function K(t,e,r){return r=r||Q,Y(e.reduce((function t(e,n){return(0,R.k)(e)?e.map((function(e){return t(e,n)})):e&&r(e,n)}),t))}function Y(t){return(0,b.s)(t)?(0,R.k)(t)?t.map(Y):$(Object.keys(t).sort(),(function(e){return K(t,e)})):t}function J(t){return void 0!==t.args?t.args:t.field?(0,u.NC)(t.field,t.variables):null}u.PT.setStringify(M.B);var X=function(){},Z=function(t,e){return e.fieldName},tt=function(t,e,r){return(0,r.mergeObjects)(t,e)},et=function(t,e){return e},rt=function(){function t(t){this.config=t,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.pi)({dataIdFromObject:_.uG},t),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),t.possibleTypes&&this.addPossibleTypes(t.possibleTypes),t.typePolicies&&this.addTypePolicies(t.typePolicies)}return t.prototype.identify=function(t,e){var r,i=this,o=e&&(e.typename||(null===(r=e.storeObject)||void 0===r?void 0:r.__typename))||t.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a,s=e&&e.storeObject||t,l=(0,n.pi)((0,n.pi)({},e),{typename:o,storeObject:s,readField:e&&e.readField||function(){var t=it(arguments,s);return i.readField(t,{store:i.cache.data,variables:t.variables})}}),c=o&&this.getTypePolicy(o),p=c&&c.keyFn||this.config.dataIdFromObject;p;){var u=p((0,n.pi)((0,n.pi)({},t),s),l);if(!(0,R.k)(u)){a=u;break}p=U(u)}return a=a?String(a):void 0,l.keyObject?[a,l.keyObject]:[a]},t.prototype.addTypePolicies=function(t){var e=this;Object.keys(t).forEach((function(r){var i=t[r],o=i.queryType,a=i.mutationType,s=i.subscriptionType,l=(0,n._T)(i,["queryType","mutationType","subscriptionType"]);o&&e.setRootTypename("Query",r),a&&e.setRootTypename("Mutation",r),s&&e.setRootTypename("Subscription",r),_.RI.call(e.toBeAdded,r)?e.toBeAdded[r].push(l):e.toBeAdded[r]=[l]}))},t.prototype.updateTypePolicy=function(t,e){var r=this,n=this.getTypePolicy(t),i=e.keyFields,o=e.fields;function a(t,e){t.merge="function"==typeof e?e:!0===e?tt:!1===e?et:t.merge}a(n,e.merge),n.keyFn=!1===i?X:(0,R.k)(i)?U(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEach((function(e){var n=r.getFieldPolicy(t,e,!0),i=o[e];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,l=i.read,c=i.merge;n.keyFn=!1===s?Z:(0,R.k)(s)?H(s):"function"==typeof s?s:n.keyFn,"function"==typeof l&&(n.read=l),a(n,c)}n.read&&n.merge&&(n.keyFn=n.keyFn||Z)}))},t.prototype.setRootTypename=function(t,e){void 0===e&&(e=t);var r="ROOT_"+t.toUpperCase(),n=this.rootTypenamesById[r];e!==n&&((0,i.kG)(!n||n===t,3,t),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[e]=r,this.rootTypenamesById[r]=e)},t.prototype.addPossibleTypes=function(t){var e=this;this.usingPossibleTypes=!0,Object.keys(t).forEach((function(r){e.getSupertypeSet(r,!0),t[r].forEach((function(t){e.getSupertypeSet(t,!0).add(r);var n=t.match(_.$O);n&&n[0]===t||e.fuzzySubtypes.set(t,new RegExp(t))}))}))},t.prototype.getTypePolicy=function(t){var e=this;if(!_.RI.call(this.typePolicies,t)){var r=this.typePolicies[t]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(t);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(t,!0),this.fuzzySubtypes.forEach((function(r,n){if(r.test(t)){var o=e.supertypeMap.get(n);o&&o.forEach((function(t){return i.add(t)}))}}))),i&&i.size&&i.forEach((function(t){var i=e.getTypePolicy(t),o=i.fields,a=(0,n._T)(i,["fields"]);Object.assign(r,a),Object.assign(r.fields,o)}))}var o=this.toBeAdded[t];return o&&o.length&&o.splice(0).forEach((function(r){e.updateTypePolicy(t,r)})),this.typePolicies[t]},t.prototype.getFieldPolicy=function(t,e,r){if(t){var n=this.getTypePolicy(t).fields;return n[e]||r&&(n[e]=Object.create(null))}},t.prototype.getSupertypeSet=function(t,e){var r=this.supertypeMap.get(t);return!r&&e&&this.supertypeMap.set(t,r=new Set),r},t.prototype.fragmentMatches=function(t,e,r,n){var o=this;if(!t.typeCondition)return!0;if(!e)return!1;var a=t.typeCondition.name.value;if(e===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(e,!0),l=[s],c=function(t){var e=o.getSupertypeSet(t,!1);e&&e.size&&l.indexOf(e)<0&&l.push(e)},p=!(!r||!this.fuzzySubtypes.size),u=!1,h=0;h<l.length;++h){var d=l[h];if(d.has(a))return s.has(a)||(u&&!1!==globalThis.__DEV__&&i.kG.warn(4,e,a),s.add(a)),!0;d.forEach(c),p&&h===l.length-1&&(0,_.RC)(t.selectionSet,r,n)&&(p=!1,u=!0,this.fuzzySubtypes.forEach((function(t,r){var n=e.match(t);n&&n[0]===e&&c(r)})))}return!1},t.prototype.hasKeyArgs=function(t,e){var r=this.getFieldPolicy(t,e,!1);return!(!r||!r.keyFn)},t.prototype.getStoreFieldName=function(t){var e,r=t.typename,n=t.fieldName,i=this.getFieldPolicy(r,n,!1),o=i&&i.keyFn;if(o&&r)for(var a={typename:r,fieldName:n,field:t.field||null,variables:t.variables},s=J(t);o;){var l=o(s,a);if(!(0,R.k)(l)){e=l||n;break}o=H(l)}return void 0===e&&(e=t.field?(0,u.vf)(t.field,t.variables):(0,u.PT)(n,J(t))),!1===e?n:n===(0,_.E_)(e)?e:n+":"+e},t.prototype.readField=function(t,e){var r=t.from;if(r&&(t.field||t.fieldName)){if(void 0===t.typename){var n=e.store.getFieldValue(r,"__typename");n&&(t.typename=n)}var i=this.getStoreFieldName(t),o=(0,_.E_)(i),a=e.store.getFieldValue(r,i),s=this.getFieldPolicy(t.typename,o,!1),l=s&&s.read;if(l){var c=nt(this,r,t,e,e.store.getStorage((0,u.Yk)(r)?r.__ref:r,i));return z.ab.withValue(this.cache,l,[a,c])}return a}},t.prototype.getReadFunction=function(t,e){var r=this.getFieldPolicy(t,e,!1);return r&&r.read},t.prototype.getMergeFunction=function(t,e,r){var n=this.getFieldPolicy(t,e,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},t.prototype.runMergeFunction=function(t,e,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===tt?ot(n.store)(t,e):s===et?e:(n.overwrite&&(t=void 0),s(t,e,nt(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},t}();function nt(t,e,r,n,i){var o=t.getStoreFieldName(r),a=(0,_.E_)(o),s=r.variables||n.variables,l=n.store,c=l.toReference,p=l.canRead;return{args:J(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:u.Yk,toReference:c,storage:i,cache:t.cache,canRead:p,readField:function(){return t.readField(it(arguments,e,s),n)},mergeObjects:ot(n.store)}}function it(t,e,r){var o,a=t[0],s=t[1],l=t.length;return"string"==typeof a?o={fieldName:a,from:l>1?s:e}:(o=(0,n.pi)({},a),_.RI.call(o,"from")||(o.from=e)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.kG.warn(5,(0,V.v)(Array.from(t))),void 0===o.variables&&(o.variables=r),o}function ot(t){return function(e,r){if((0,R.k)(e)||(0,R.k)(r))throw(0,i._K)(6);if((0,b.s)(e)&&(0,b.s)(r)){var o=t.getFieldValue(e,"__typename"),a=t.getFieldValue(r,"__typename");if(o&&a&&o!==a)return r;if((0,u.Yk)(e)&&(0,_.j)(r))return t.merge(e.__ref,r),e;if((0,_.j)(e)&&(0,u.Yk)(r))return t.merge(e,r.__ref),r;if((0,_.j)(e)&&(0,_.j)(r))return(0,n.pi)((0,n.pi)({},e),r)}return r}}function at(t,e,r){var i="".concat(e).concat(r),o=t.flavors.get(i);return o||t.flavors.set(i,o=t.clientOnly===e&&t.deferred===r?t:(0,n.pi)((0,n.pi)({},t),{clientOnly:e,deferred:r})),o}var st=function(){function t(t,e,r){this.cache=t,this.reader=e,this.fragments=r}return t.prototype.writeToStore=function(t,e){var r=this,o=e.query,s=e.result,l=e.dataId,c=e.variables,p=e.overwrite,h=(0,m.$H)(o),d=(0,_.ig)();c=(0,n.pi)((0,n.pi)({},(0,m.O4)(h)),c);var f=(0,n.pi)((0,n.pi)({store:t,written:Object.create(null),merge:function(t,e){return d.merge(t,e)},variables:c,varString:(0,M.B)(c)},(0,_.Is)(o,this.fragments)),{overwrite:!!p,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),g=this.processSelectionSet({result:s||Object.create(null),dataId:l,selectionSet:h.selectionSet,mergeTree:{map:new Map},context:f});if(!(0,u.Yk)(g))throw(0,i._K)(9,s);return f.incomingById.forEach((function(e,n){var o=e.storeObject,s=e.mergeTree,l=e.fieldNodeSet,c=(0,u.kQ)(n);if(s&&s.map.size){var p=r.applyMerges(s,c,o,f);if((0,u.Yk)(p))return;o=p}if(!1!==globalThis.__DEV__&&!f.overwrite){var h=Object.create(null);l.forEach((function(t){t.selectionSet&&(h[t.name.value]=!0)})),Object.keys(o).forEach((function(t){(function(t){return!0===h[(0,_.E_)(t)]})(t)&&!function(t){var e=s&&s.map.get(t);return Boolean(e&&e.info&&e.info.merge)}(t)&&function(t,e,r,n){var o=function(t){var e=n.getFieldValue(t,r);return"object"==typeof e&&e},s=o(t);if(s){var l=o(e);if(l&&!(0,u.Yk)(s)&&!(0,a.D)(s,l)&&!Object.keys(s).every((function(t){return void 0!==n.getFieldValue(l,t)}))){var c=n.getFieldValue(t,"__typename")||n.getFieldValue(e,"__typename"),p=(0,_.E_)(r),h="".concat(c,".").concat(p);if(!dt.has(h)){dt.add(h);var d=[];(0,R.k)(s)||(0,R.k)(l)||[s,l].forEach((function(t){var e=n.getFieldValue(t,"__typename");"string"!=typeof e||d.includes(e)||d.push(e)})),!1!==globalThis.__DEV__&&i.kG.warn(12,p,c,d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"",h,s,l)}}}}(c,o,t,f.store)}))}t.merge(n,o)})),t.retain(g.__ref),g},t.prototype.processSelectionSet=function(t){var e=this,r=t.dataId,o=t.result,a=t.selectionSet,s=t.context,l=t.mergeTree,c=this.cache.policies,h=Object.create(null),d=r&&c.rootTypenamesById[r]||(0,u.qw)(o,a,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof d&&(h.__typename=d);var f=function(){var t=it(arguments,h,s.variables);if((0,u.Yk)(t.from)){var e=s.incomingById.get(t.from.__ref);if(e){var r=c.readField((0,n.pi)((0,n.pi)({},t),{from:e.storeObject}),s);if(void 0!==r)return r}}return c.readField(t,s)},m=new Set;this.flattenFields(a,o,s,d).forEach((function(t,r){var n,a=(0,u.u2)(r),s=o[a];if(m.add(r),void 0!==s){var g=c.getStoreFieldName({typename:d,fieldName:r.name.value,field:r,variables:t.variables}),y=ct(l,g),v=e.processFieldValue(s,r,r.selectionSet?at(t,!1,!1):t,y),b=void 0;r.selectionSet&&((0,u.Yk)(v)||(0,_.j)(v))&&(b=f("__typename",v));var x=c.getMergeFunction(d,r.name.value,b);x?y.info={field:r,typename:d,merge:x}:ht(l,g),h=t.merge(h,((n={})[g]=v,n))}else!1===globalThis.__DEV__||t.clientOnly||t.deferred||p.Gw.added(r)||c.getReadFunction(d,r.name.value)||!1!==globalThis.__DEV__&&i.kG.error(10,(0,u.u2)(r),o)}));try{var g=c.identify(o,{typename:d,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:h,readField:f}),y=g[0],v=g[1];r=r||y,v&&(h=s.merge(h,v))}catch(t){if(!r)throw t}if("string"==typeof r){var b=(0,u.kQ)(r),x=s.written[r]||(s.written[r]=[]);if(x.indexOf(a)>=0)return b;if(x.push(a),this.reader&&this.reader.isFresh(o,b,a,s))return b;var w=s.incomingById.get(r);return w?(w.storeObject=s.merge(w.storeObject,h),w.mergeTree=pt(w.mergeTree,l),m.forEach((function(t){return w.fieldNodeSet.add(t)}))):s.incomingById.set(r,{storeObject:h,mergeTree:ut(l)?void 0:l,fieldNodeSet:m}),b}return h},t.prototype.processFieldValue=function(t,e,r,n){var i=this;return e.selectionSet&&null!==t?(0,R.k)(t)?t.map((function(t,o){var a=i.processFieldValue(t,e,r,ct(n,o));return ht(n,o),a})):this.processSelectionSet({result:t,selectionSet:e.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,B.X)(t):t},t.prototype.flattenFields=function(t,e,r,n){void 0===n&&(n=(0,u.qw)(e,t,r.fragmentMap));var o=new Map,a=this.cache.policies,s=new w.B(!1);return function t(l,c){var p=s.lookup(l,c.clientOnly,c.deferred);p.visited||(p.visited=!0,l.selections.forEach((function(s){if((0,y.LZ)(s,r.variables)){var l=c.clientOnly,p=c.deferred;if(l&&p||!(0,R.O)(s.directives)||s.directives.forEach((function(t){var e=t.name.value;if("client"===e&&(l=!0),"defer"===e){var n=(0,u.NC)(t,r.variables);n&&!1===n.if||(p=!0)}})),(0,u.My)(s)){var d=o.get(s);d&&(l=l&&d.clientOnly,p=p&&d.deferred),o.set(s,at(r,l,p))}else{var f=(0,v.hi)(s,r.lookupFragment);if(!f&&s.kind===h.Kind.FRAGMENT_SPREAD)throw(0,i._K)(11,s.name.value);f&&a.fragmentMatches(f,n,e,r.variables)&&t(f.selectionSet,at(r,l,p))}}})))}(t,r),o},t.prototype.applyMerges=function(t,e,r,o,a){var s,l=this;if(t.map.size&&!(0,u.Yk)(r)){var c,p=(0,R.k)(r)||!(0,u.Yk)(e)&&!(0,_.j)(e)?void 0:e,h=r;p&&!a&&(a=[(0,u.Yk)(p)?p.__ref:p]);var d=function(t,e){return(0,R.k)(t)?"number"==typeof e?t[e]:void 0:o.store.getFieldValue(t,String(e))};t.map.forEach((function(t,e){var r=d(p,e),n=d(h,e);if(void 0!==n){a&&a.push(e);var s=l.applyMerges(t,r,n,o,a);s!==n&&(c=c||new Map).set(e,s),a&&(0,i.kG)(a.pop()===e)}})),c&&(r=(0,R.k)(h)?h.slice(0):(0,n.pi)({},h),c.forEach((function(t,e){r[e]=t})))}return t.info?this.cache.policies.runMergeFunction(e,r,t.info,o,a&&(s=o.store).getStorage.apply(s,a)):r},t}(),lt=[];function ct(t,e){var r=t.map;return r.has(e)||r.set(e,lt.pop()||{map:new Map}),r.get(e)}function pt(t,e){if(t===e||!e||ut(e))return t;if(!t||ut(t))return e;var r=t.info&&e.info?(0,n.pi)((0,n.pi)({},t.info),e.info):t.info||e.info,i=t.map.size&&e.map.size,o={info:r,map:i?new Map:t.map.size?t.map:e.map};if(i){var a=new Set(e.map.keys());t.map.forEach((function(t,r){o.map.set(r,pt(t,e.map.get(r))),a.delete(r)})),a.forEach((function(r){o.map.set(r,pt(e.map.get(r),t.map.get(r)))}))}return o}function ut(t){return!t||!(t.info||t.map.size)}function ht(t,e){var r=t.map,n=r.get(e);n&&ut(n)&&(lt.push(n),r.delete(e))}var dt=new Set,ft=function(t){function e(e){void 0===e&&(e={});var r=t.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new c.A(p.Gw),r.assumeImmutableResults=!0,r.makeVar=z.QS,r.txCount=0,r.config=(0,_.jS)(e),r.addTypename=!!r.config.addTypename,r.policies=new rt({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,n.ZT)(e,t),e.prototype.init=function(){var t=this.data=new P.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=t.stump,this.resetResultCache()},e.prototype.resetResultCache=function(t){var e=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new st(this,this.storeReader=new L({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,_.lg)(this.config),canon:t?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,o.re)((function(t,r){return e.broadcastWatch(t,r)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(t){var r=t.optimistic?e.optimisticData:e.data;if(F(r)){var n=t.optimistic,i=t.id,o=t.variables;return r.makeCacheKey(t.query,t.callback,(0,M.B)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(t){return t.resetCaching()}))},e.prototype.restore=function(t){return this.init(),t&&this.data.replace(t),this},e.prototype.extract=function(t){return void 0===t&&(t=!1),(t?this.optimisticData:this.data).extract()},e.prototype.read=function(t){var e=t.returnPartialData,r=void 0!==e&&e;try{return this.storeReader.diffQueryAgainstStore((0,n.pi)((0,n.pi)({},t),{store:t.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(t){if(t instanceof l.y)return null;throw t}},e.prototype.write=function(t){try{return++this.txCount,this.storeWriter.writeToStore(this.data,t)}finally{--this.txCount||!1===t.broadcast||this.broadcastWatches()}},e.prototype.modify=function(t){if(_.RI.call(t,"id")&&!t.id)return!1;var e=t.optimistic?this.optimisticData:this.data;try{return++this.txCount,e.modify(t.id||"ROOT_QUERY",t.fields)}finally{--this.txCount||!1===t.broadcast||this.broadcastWatches()}},e.prototype.diff=function(t){return this.storeReader.diffQueryAgainstStore((0,n.pi)((0,n.pi)({},t),{store:t.optimistic?this.optimisticData:this.data,rootId:t.id||"ROOT_QUERY",config:this.config}))},e.prototype.watch=function(t){var e=this;return this.watches.size||(0,z._v)(this),this.watches.add(t),t.immediate&&this.maybeBroadcastWatch(t),function(){e.watches.delete(t)&&!e.watches.size&&(0,z.li)(e),e.maybeBroadcastWatch.forget(t)}},e.prototype.gc=function(t){M.B.reset();var e=this.optimisticData.gc();return t&&!this.txCount&&(t.resetResultCache?this.resetResultCache(t.resetResultIdentities):t.resetResultIdentities&&this.storeReader.resetCanon()),e},e.prototype.retain=function(t,e){return(e?this.optimisticData:this.data).retain(t)},e.prototype.release=function(t,e){return(e?this.optimisticData:this.data).release(t)},e.prototype.identify=function(t){if((0,u.Yk)(t))return t.__ref;try{return this.policies.identify(t)[0]}catch(t){!1!==globalThis.__DEV__&&i.kG.warn(t)}},e.prototype.evict=function(t){if(!t.id){if(_.RI.call(t,"id"))return!1;t=(0,n.pi)((0,n.pi)({},t),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(t,this.data)}finally{--this.txCount||!1===t.broadcast||this.broadcastWatches()}},e.prototype.reset=function(t){var e=this;return this.init(),M.B.reset(),t&&t.discardWatches?(this.watches.forEach((function(t){return e.maybeBroadcastWatch.forget(t)})),this.watches.clear(),(0,z.li)(this)):this.broadcastWatches(),Promise.resolve()},e.prototype.removeOptimistic=function(t){var e=this.optimisticData.removeLayer(t);e!==this.optimisticData&&(this.optimisticData=e,this.broadcastWatches())},e.prototype.batch=function(t){var e,r=this,i=t.update,o=t.optimistic,a=void 0===o||o,s=t.removeOptimistic,l=t.onWatchUpdated,c=function(t){var n=r,o=n.data,a=n.optimisticData;++r.txCount,t&&(r.data=r.optimisticData=t);try{return e=i(r)}finally{--r.txCount,r.data=o,r.optimisticData=a}},p=new Set;return l&&!this.txCount&&this.broadcastWatches((0,n.pi)((0,n.pi)({},t),{onWatchUpdated:function(t){return p.add(t),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,c):!1===a?c(this.data):c(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),l&&p.size?(this.broadcastWatches((0,n.pi)((0,n.pi)({},t),{onWatchUpdated:function(t,e){var r=l.call(this,t,e);return!1!==r&&p.delete(t),r}})),p.size&&p.forEach((function(t){return r.maybeBroadcastWatch.dirty(t)}))):this.broadcastWatches(t),e},e.prototype.performTransaction=function(t,e){return this.batch({update:t,optimistic:e||null!==e})},e.prototype.transformDocument=function(t){return this.addTypenameToDocument(this.addFragmentsToDocument(t))},e.prototype.broadcastWatches=function(t){var e=this;this.txCount||this.watches.forEach((function(r){return e.maybeBroadcastWatch(r,t)}))},e.prototype.addFragmentsToDocument=function(t){var e=this.config.fragments;return e?e.transform(t):t},e.prototype.addTypenameToDocument=function(t){return this.addTypename?this.addTypenameTransform.transformDocument(t):t},e.prototype.broadcastWatch=function(t,e){var r=t.lastDiff,n=this.diff(t);e&&(t.optimistic&&"string"==typeof e.optimistic&&(n.fromOptimisticTransaction=!0),e.onWatchUpdated&&!1===e.onWatchUpdated.call(this,t,n,r))||r&&(0,a.D)(r.result,n.result)||t.callback(t.lastDiff=n,r)},e}(s.R)},85068:(t,e,r)=>{"use strict";r.d(e,{B:()=>u,h:()=>p});var n,i,o=r(50493),a=r(13426),s=r(32345),l=r(42860),c=r(41809),p=function(){function t(){this.known=new(l.sy?WeakSet:Set),this.pool=new a.B(l.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return t.prototype.isKnown=function(t){return(0,s.s)(t)&&this.known.has(t)},t.prototype.pass=function(t){if((0,s.s)(t)){var e=function(t){return(0,s.s)(t)?(0,c.k)(t)?t.slice(0):(0,o.pi)({__proto__:Object.getPrototypeOf(t)},t):t}(t);return this.passes.set(e,t),e}return t},t.prototype.admit=function(t){var e=this;if((0,s.s)(t)){var r=this.passes.get(t);if(r)return r;switch(Object.getPrototypeOf(t)){case Array.prototype:if(this.known.has(t))return t;var n=t.map(this.admit,this);return(l=this.pool.lookupArray(n)).array||(this.known.add(l.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),l.array;case null:case Object.prototype:if(this.known.has(t))return t;var i=Object.getPrototypeOf(t),o=[i],a=this.sortedKeys(t);o.push(a.json);var l,c=o.length;if(a.sorted.forEach((function(r){o.push(e.admit(t[r]))})),!(l=this.pool.lookupArray(o)).object){var p=l.object=Object.create(i);this.known.add(p),a.sorted.forEach((function(t,e){p[t]=o[c+e]})),!1!==globalThis.__DEV__&&Object.freeze(p)}return l.object}}return t},t.prototype.sortedKeys=function(t){var e=Object.keys(t),r=this.pool.lookupArray(e);if(!r.keys){e.sort();var n=JSON.stringify(e);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:e,json:n})}return r.keys},t}(),u=Object.assign((function(t){if((0,s.s)(t)){void 0===n&&h();var e=n.admit(t),r=i.get(e);return void 0===r&&i.set(e,r=JSON.stringify(e)),r}return JSON.stringify(t)}),{reset:h});function h(){n=new p,i=new(l.mr?WeakMap:Map)}},47204:(t,e,r)=>{"use strict";r.d(e,{QS:()=>c,_v:()=>l,ab:()=>i,li:()=>s});var n=r(1994),i=new(r(95485).g7),o=new WeakMap;function a(t){var e=o.get(t);return e||o.set(t,e={vars:new Set,dep:(0,n.dP)()}),e}function s(t){a(t).vars.forEach((function(e){return e.forgetCache(t)}))}function l(t){a(t).vars.forEach((function(e){return e.attachCache(t)}))}function c(t){var e=new Set,r=new Set,n=function(s){if(arguments.length>0){if(t!==s){t=s,e.forEach((function(t){a(t).dep.dirty(n),function(t){t.broadcastWatches&&t.broadcastWatches()}(t)}));var l=Array.from(r);r.clear(),l.forEach((function(e){return e(t)}))}}else{var c=i.getValue();c&&(o(c),a(c).dep(n))}return t};n.onNextChange=function(t){return r.add(t),function(){r.delete(t)}};var o=n.attachCache=function(t){return e.add(t),a(t).vars.add(n),n};return n.forgetCache=function(t){return e.delete(t)},n}},21281:(t,e,r)=>{"use strict";r.d(e,{f:()=>Q});var n=r(50493),i=r(33438),o=r(64638),a=r(95107),s=r(45369),l=r(41822),c=r(16361),p=r(9960),u=r(37304),h=r(10821),d=r(85068),f=r(42860),m=r(77374),g=r(64059);function y(t,e,r){return new g.y((function(n){var i=n.next,o=n.error,a=n.complete,s=0,l=!1,c={then:function(t){return new Promise((function(e){return e(t())}))}};function p(t,e){return t?function(e){++s;var r=function(){return t(e)};c=c.then(r,r).then((function(t){--s,i&&i.call(n,t),l&&u.complete()}),(function(t){throw--s,t})).catch((function(t){o&&o.call(n,t)}))}:function(t){return e&&e.call(n,t)}}var u={next:p(e,i),error:p(r,o),complete:function(){l=!0,s||a&&a.call(n)}},h=t.subscribe(u);return function(){return h.unsubscribe()}}))}var v=r(41809);function b(t){var e=x(t);return(0,v.O)(e)}function x(t){var e=(0,v.O)(t.errors)?t.errors.slice(0):[];return(0,p.GG)(t)&&(0,v.O)(t.incremental)&&t.incremental.forEach((function(t){t.errors&&e.push.apply(e,t.errors)})),e}var w=r(67554),_=r(84319),E=r(32345),S=r(61029),k=r(88249),P=r(3243);function A(t){return t&&"function"==typeof t.then}var O=function(t){function e(e){var r=t.call(this,(function(t){return r.addObserver(t),function(){return r.removeObserver(t)}}))||this;return r.observers=new Set,r.promise=new Promise((function(t,e){r.resolve=t,r.reject=e})),r.handlers={next:function(t){null!==r.sub&&(r.latest=["next",t],r.notify("next",t),(0,k.p)(r.observers,"next",t))},error:function(t){var e=r.sub;null!==e&&(e&&setTimeout((function(){return e.unsubscribe()})),r.sub=null,r.latest=["error",t],r.reject(t),r.notify("error",t),(0,k.p)(r.observers,"error",t))},complete:function(){var t=r,e=t.sub,n=t.sources;if(null!==e){var i=(void 0===n?[]:n).shift();i?A(i)?i.then((function(t){return r.sub=t.subscribe(r.handlers)})):r.sub=i.subscribe(r.handlers):(e&&setTimeout((function(){return e.unsubscribe()})),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),(0,k.p)(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(t){r.reject(t),r.sources=[],r.handlers.complete()},r.promise.catch((function(t){})),"function"==typeof e&&(e=[new g.y(e)]),A(e)?e.then((function(t){return r.start(t)}),r.handlers.error):r.start(e),r}return(0,n.ZT)(e,t),e.prototype.start=function(t){void 0===this.sub&&(this.sources=Array.from(t),this.handlers.complete())},e.prototype.deliverLastMessage=function(t){if(this.latest){var e=this.latest[0],r=t[e];r&&r.call(t,this.latest[1]),null===this.sub&&"next"===e&&t.complete&&t.complete()}},e.prototype.addObserver=function(t){this.observers.has(t)||(this.deliverLastMessage(t),this.observers.add(t))},e.prototype.removeObserver=function(t){this.observers.delete(t)&&this.observers.size<1&&this.handlers.complete()},e.prototype.notify=function(t,e){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach((function(r){return r(t,e)})))},e.prototype.beforeNext=function(t){var e=!1;this.nextResultListeners.add((function(r,n){e||(e=!0,t(r,n))}))},e}(g.y);(0,P.D)(O);var C=r(93869),T=r(20689),I=r(14),D=r(9485),F=r(56904),R=r(85098),M=r(74483),j=r(47204),L=function(){function t(t){var e=t.cache,r=t.client,n=t.resolvers,i=t.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=e,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return t.prototype.addResolvers=function(t){var e=this;this.resolvers=this.resolvers||{},Array.isArray(t)?t.forEach((function(t){e.resolvers=(0,R.Ee)(e.resolvers,t)})):this.resolvers=(0,R.Ee)(this.resolvers,t)},t.prototype.setResolvers=function(t){this.resolvers={},this.addResolvers(t)},t.prototype.getResolvers=function(){return this.resolvers||{}},t.prototype.runResolvers=function(t){var e=t.document,r=t.remoteResult,i=t.context,o=t.variables,a=t.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,n.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(t){return e?[2,this.resolveDocument(e,r.data,i,o,this.fragmentMatcher,s).then((function(t){return(0,n.pi)((0,n.pi)({},r),{data:t.result})}))]:[2,r]}))}))},t.prototype.setFragmentMatcher=function(t){this.fragmentMatcher=t},t.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},t.prototype.clientQuery=function(t){return(0,u.FS)(["client"],t)&&this.resolvers?t:null},t.prototype.serverQuery=function(t){return(0,h.ob)(t)},t.prototype.prepareContext=function(t){var e=this.cache;return(0,n.pi)((0,n.pi)({},t),{cache:e,getCacheKey:function(t){return e.identify(t)}})},t.prototype.addExportedVariables=function(t,e,r){return void 0===e&&(e={}),void 0===r&&(r={}),(0,n.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(i){return t?[2,this.resolveDocument(t,this.buildRootValueFromCache(t,e)||{},this.prepareContext(r),e).then((function(t){return(0,n.pi)((0,n.pi)({},e),t.exportedVariables)}))]:[2,(0,n.pi)({},e)]}))}))},t.prototype.shouldForceResolvers=function(t){var e=!1;return(0,D.Vn)(t,{Directive:{enter:function(t){if("client"===t.name.value&&t.arguments&&(e=t.arguments.some((function(t){return"always"===t.name.value&&"BooleanValue"===t.value.kind&&!0===t.value.value}))))return D.$_}}}),e},t.prototype.buildRootValueFromCache=function(t,e){return this.cache.diff({query:(0,h.aL)(t),variables:e,returnPartialData:!0,optimistic:!1}).result},t.prototype.resolveDocument=function(t,e,r,i,o,a){return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,n.mG)(this,void 0,void 0,(function(){var s,l,c,p,u,h,d,f,m,g;return(0,n.Jh)(this,(function(y){return s=(0,w.p$)(t),l=(0,w.kU)(t),c=(0,M.F)(l),p=this.collectSelectionsToResolve(s,c),u=s.operation,h=u?u.charAt(0).toUpperCase()+u.slice(1):"Query",f=(d=this).cache,m=d.client,g={fragmentMap:c,context:(0,n.pi)((0,n.pi)({},r),{cache:f,client:m}),variables:i,fragmentMatcher:o,defaultOperationType:h,exportedVariables:{},selectionsToResolve:p,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,!1,e,g).then((function(t){return{result:t,exportedVariables:g.exportedVariables}}))]}))}))},t.prototype.resolveSelectionSet=function(t,e,r,o){return(0,n.mG)(this,void 0,void 0,(function(){var a,s,l,c,p,h=this;return(0,n.Jh)(this,(function(d){return a=o.fragmentMap,s=o.context,l=o.variables,c=[r],p=function(t){return(0,n.mG)(h,void 0,void 0,(function(){var p,h;return(0,n.Jh)(this,(function(n){return(e||o.selectionsToResolve.has(t))&&(0,u.LZ)(t,l)?(0,_.My)(t)?[2,this.resolveField(t,e,r,o).then((function(e){var r;void 0!==e&&c.push(((r={})[(0,_.u2)(t)]=e,r))}))]:((0,_.Ao)(t)?p=t:(p=a[t.name.value],(0,i.kG)(p,16,t.name.value)),p&&p.typeCondition&&(h=p.typeCondition.name.value,o.fragmentMatcher(r,h,s))?[2,this.resolveSelectionSet(p.selectionSet,e,r,o).then((function(t){c.push(t)}))]:[2]):[2]}))}))},[2,Promise.all(t.selections.map(p)).then((function(){return(0,R.bw)(c)}))]}))}))},t.prototype.resolveField=function(t,e,r,i){return(0,n.mG)(this,void 0,void 0,(function(){var o,a,s,l,c,p,u,h,d,f=this;return(0,n.Jh)(this,(function(n){return r?(o=i.variables,a=t.name.value,s=(0,_.u2)(t),l=a!==s,c=r[s]||r[a],p=Promise.resolve(c),i.onlyRunForcedResolvers&&!this.shouldForceResolvers(t)||(u=r.__typename||i.defaultOperationType,(h=this.resolvers&&this.resolvers[u])&&(d=h[l?a:s])&&(p=Promise.resolve(j.ab.withValue(this.cache,d,[r,(0,_.NC)(t,o),i.context,{field:t,fragmentMap:i.fragmentMap}])))),[2,p.then((function(r){var n,o;if(void 0===r&&(r=c),t.directives&&t.directives.forEach((function(t){"export"===t.name.value&&t.arguments&&t.arguments.forEach((function(t){"as"===t.name.value&&"StringValue"===t.value.kind&&(i.exportedVariables[t.value.value]=r)}))})),!t.selectionSet)return r;if(null==r)return r;var a=null!==(o=null===(n=t.directives)||void 0===n?void 0:n.some((function(t){return"client"===t.name.value})))&&void 0!==o&&o;return Array.isArray(r)?f.resolveSubSelectedArray(t,e||a,r,i):t.selectionSet?f.resolveSelectionSet(t.selectionSet,e||a,r,i):void 0}))]):[2,null]}))}))},t.prototype.resolveSubSelectedArray=function(t,e,r,n){var i=this;return Promise.all(r.map((function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(t,e,r,n):t.selectionSet?i.resolveSelectionSet(t.selectionSet,e,r,n):void 0})))},t.prototype.collectSelectionsToResolve=function(t,e){var r=function(t){return!Array.isArray(t)},n=this.selectionsToResolveCache;return function t(o){if(!n.has(o)){var a=new Set;n.set(o,a),(0,D.Vn)(o,{Directive:function(t,e,n,i,o){"client"===t.name.value&&o.forEach((function(t){r(t)&&(0,F.pO)(t)&&a.add(t)}))},FragmentSpread:function(n,o,s,l,c){var p=e[n.name.value];(0,i.kG)(p,17,n.name.value);var u=t(p);u.size>0&&(c.forEach((function(t){r(t)&&(0,F.pO)(t)&&a.add(t)})),a.add(n),u.forEach((function(t){a.add(t)})))}})}return n.get(o)}(t)},t}(),N=new(f.mr?WeakMap:Map);function B(t,e){var r=t[e];"function"==typeof r&&(t[e]=function(){return N.set(t,(N.get(t)+1)%1e15),r.apply(this,arguments)})}function V(t){t.notifyTimeout&&(clearTimeout(t.notifyTimeout),t.notifyTimeout=void 0)}var z=function(){function t(t,e){void 0===e&&(e=t.generateQueryId()),this.queryId=e,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=t.cache;N.has(r)||(N.set(r,0),B(r,"evict"),B(r,"modify"),B(r,"reset"))}return t.prototype.init=function(t){var e=t.networkStatus||I.Ie.loading;return this.variables&&this.networkStatus!==I.Ie.loading&&!(0,c.D)(this.variables,t.variables)&&(e=I.Ie.setVariables),(0,c.D)(t.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:t.document,variables:t.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:e}),t.observableQuery&&this.setObservableQuery(t.observableQuery),t.lastRequestId&&(this.lastRequestId=t.lastRequestId),this},t.prototype.reset=function(){V(this),this.dirty=!1},t.prototype.getDiff=function(){var t=this.getDiffOptions();if(this.lastDiff&&(0,c.D)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var e=this.observableQuery;if(e&&"no-cache"===e.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(t);return this.updateLastDiff(r,t),r},t.prototype.updateLastDiff=function(t,e){this.lastDiff=t?{diff:t,options:e||this.getDiffOptions()}:void 0},t.prototype.getDiffOptions=function(t){var e;return void 0===t&&(t=this.variables),{query:this.document,variables:t,returnPartialData:!0,optimistic:!0,canonizeResults:null===(e=this.observableQuery)||void 0===e?void 0:e.options.canonizeResults}},t.prototype.setDiff=function(t){var e=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(t),this.dirty||(0,c.D)(r&&r.result,t&&t.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return e.notify()}),0)))},t.prototype.setObservableQuery=function(t){var e=this;t!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=t,t?(t.queryInfo=this,this.listeners.add(this.oqListener=function(){e.getDiff().fromOptimisticTransaction?t.observe():(0,T.vj)(t)})):delete this.oqListener)},t.prototype.notify=function(){var t=this;V(this),this.shouldNotify()&&this.listeners.forEach((function(e){return e(t)})),this.dirty=!1},t.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,I.Oj)(this.networkStatus)&&this.observableQuery){var t=this.observableQuery.options.fetchPolicy;if("cache-only"!==t&&"cache-and-network"!==t)return!1}return!0},t.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=t.prototype.cancel,this.subscriptions.forEach((function(t){return t.unsubscribe()}));var e=this.observableQuery;e&&e.stopPolling()}},t.prototype.cancel=function(){},t.prototype.updateWatch=function(t){var e=this;void 0===t&&(t=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=(0,n.pi)((0,n.pi)({},this.getDiffOptions(t)),{watcher:this,callback:function(t){return e.setDiff(t)}});this.lastWatch&&(0,c.D)(i,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},t.prototype.resetLastWrite=function(){this.lastWrite=void 0},t.prototype.shouldWrite=function(t,e){var r=this.lastWrite;return!(r&&r.dmCount===N.get(this.cache)&&(0,c.D)(e,r.variables)&&(0,c.D)(t.data,r.result.data))},t.prototype.markResult=function(t,e,r,n){var i=this,o=new R.w0,a=(0,v.O)(t.errors)?t.errors.slice(0):[];if(this.reset(),"incremental"in t&&(0,v.O)(t.incremental)){var s=(0,p.mT)(this.getDiff().result,t);t.data=s}else if("hasNext"in t&&t.hasNext){var l=this.getDiff();t.data=o.merge(l.result,t.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:t.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(q(t,r.errorPolicy)?this.cache.performTransaction((function(o){if(i.shouldWrite(t,r.variables))o.writeQuery({query:e,data:t.data,variables:r.variables,overwrite:1===n}),i.lastWrite={result:t,variables:r.variables,dmCount:N.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete)return void(t.data=i.lastDiff.diff.result);var a=i.getDiffOptions(r.variables),s=o.diff(a);!i.stopped&&(0,c.D)(i.variables,r.variables)&&i.updateWatch(r.variables),i.updateLastDiff(s,a),s.complete&&(t.data=s.result)})):this.lastWrite=void 0)},t.prototype.markReady=function(){return this.networkError=null,this.networkStatus=I.Ie.ready},t.prototype.markError=function(t){return this.networkStatus=I.Ie.error,this.lastWrite=void 0,this.reset(),t.graphQLErrors&&(this.graphQLErrors=t.graphQLErrors),t.networkError&&(this.networkError=t.networkError),t},t}();function q(t,e){void 0===e&&(e="none");var r="ignore"===e||"all"===e,n=!b(t);return!n&&r&&t.data&&(n=!0),n}var G=r(11315),U=Object.prototype.hasOwnProperty,H=function(){function t(t){var e=this,r=t.cache,n=t.link,i=t.defaultOptions,o=t.documentTransform,a=t.queryDeduplication,s=void 0!==a&&a,l=t.onBroadcast,c=t.ssrMode,p=void 0!==c&&c,u=t.clientAwareness,h=void 0===u?{}:u,d=t.localState,g=t.assumeImmutableResults,y=void 0===g?!!r.assumeImmutableResults:g;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(f.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map;var v=new m.A((function(t){return e.cache.transformDocument(t)}),{cache:!1});this.cache=r,this.link=n,this.defaultOptions=i||Object.create(null),this.queryDeduplication=s,this.clientAwareness=h,this.localState=d||new L({cache:r}),this.ssrMode=p,this.assumeImmutableResults=y,this.documentTransform=o?v.concat(o).concat(v):v,(this.onBroadcast=l)&&(this.mutationStore=Object.create(null))}return t.prototype.stop=function(){var t=this;this.queries.forEach((function(e,r){t.stopQueryNoBroadcast(r)})),this.cancelPendingFetches((0,i._K)(23))},t.prototype.cancelPendingFetches=function(t){this.fetchCancelFns.forEach((function(e){return e(t)})),this.fetchCancelFns.clear()},t.prototype.mutate=function(t){var e,r,o=t.mutation,a=t.variables,s=t.optimisticResponse,l=t.updateQueries,c=t.refetchQueries,p=void 0===c?[]:c,u=t.awaitRefetchQueries,h=void 0!==u&&u,d=t.update,f=t.onQueryUpdated,m=t.fetchPolicy,g=void 0===m?(null===(e=this.defaultOptions.mutate)||void 0===e?void 0:e.fetchPolicy)||"network-only":m,v=t.errorPolicy,w=void 0===v?(null===(r=this.defaultOptions.mutate)||void 0===r?void 0:r.errorPolicy)||"none":v,_=t.keepRootFields,E=t.context;return(0,n.mG)(this,void 0,void 0,(function(){var t,e,r,c;return(0,n.Jh)(this,(function(u){switch(u.label){case 0:return(0,i.kG)(o,24),(0,i.kG)("network-only"===g||"no-cache"===g,25),t=this.generateMutationId(),o=this.cache.transformForLink(this.transform(o)),e=this.getDocumentInfo(o).hasClientExports,a=this.getVariables(o,a),e?[4,this.localState.addExportedVariables(o,a,E)]:[3,2];case 1:a=u.sent(),u.label=2;case 2:return r=this.mutationStore&&(this.mutationStore[t]={mutation:o,variables:a,loading:!0,error:null}),s&&this.markMutationOptimistic(s,{mutationId:t,document:o,variables:a,fetchPolicy:g,errorPolicy:w,context:E,updateQueries:l,update:d,keepRootFields:_}),this.broadcastQueries(),c=this,[2,new Promise((function(e,i){return y(c.getObservableFromLink(o,(0,n.pi)((0,n.pi)({},E),{optimisticResponse:s}),a,!1),(function(e){if(b(e)&&"none"===w)throw new C.cA({graphQLErrors:x(e)});r&&(r.loading=!1,r.error=null);var i=(0,n.pi)({},e);return"function"==typeof p&&(p=p(i)),"ignore"===w&&b(i)&&delete i.errors,c.markMutationResult({mutationId:t,result:i,document:o,variables:a,fetchPolicy:g,errorPolicy:w,context:E,update:d,updateQueries:l,awaitRefetchQueries:h,refetchQueries:p,removeOptimistic:s?t:void 0,onQueryUpdated:f,keepRootFields:_})})).subscribe({next:function(t){c.broadcastQueries(),"hasNext"in t&&!1!==t.hasNext||e(t)},error:function(e){r&&(r.loading=!1,r.error=e),s&&c.cache.removeOptimistic(t),c.broadcastQueries(),i(e instanceof C.cA?e:new C.cA({networkError:e}))}})}))]}}))}))},t.prototype.markMutationResult=function(t,e){var r=this;void 0===e&&(e=this.cache);var i=t.result,o=[],a="no-cache"===t.fetchPolicy;if(!a&&q(i,t.errorPolicy)){if((0,p.GG)(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}),(0,p.GG)(i)&&(0,v.O)(i.incremental)){var s=e.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0}),l=void 0;s.result&&(l=(0,p.mT)(s.result,i)),void 0!==l&&(i.data=l,o.push({result:l,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}))}var c=t.updateQueries;c&&this.queries.forEach((function(t,n){var a=t.observableQuery,s=a&&a.queryName;if(s&&U.call(c,s)){var l=c[s],p=r.queries.get(n),u=p.document,h=p.variables,d=e.diff({query:u,variables:h,returnPartialData:!0,optimistic:!1}),f=d.result;if(d.complete&&f){var m=l(f,{mutationResult:i,queryName:u&&(0,w.rY)(u)||void 0,queryVariables:h});m&&o.push({result:m,dataId:"ROOT_QUERY",query:u,variables:h})}}}))}if(o.length>0||t.refetchQueries||t.update||t.onQueryUpdated||t.removeOptimistic){var u=[];if(this.refetchQueries({updateCache:function(e){a||o.forEach((function(t){return e.write(t)}));var s=t.update,l=!(0,p.M0)(i)||(0,p.GG)(i)&&!i.hasNext;if(s){if(!a){var c=e.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});c.complete&&("incremental"in(i=(0,n.pi)((0,n.pi)({},i),{data:c.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}l&&s(e,i,{context:t.context,variables:t.variables})}a||t.keepRootFields||!l||e.modify({id:"ROOT_MUTATION",fields:function(t,e){var r=e.fieldName,n=e.DELETE;return"__typename"===r?t:n}})},include:t.refetchQueries,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach((function(t){return u.push(t)})),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(u).then((function(){return i}))}return Promise.resolve(i)},t.prototype.markMutationOptimistic=function(t,e){var r=this,o="function"==typeof t?t(e.variables):t;return this.cache.recordOptimisticTransaction((function(t){try{r.markMutationResult((0,n.pi)((0,n.pi)({},e),{result:{data:o}}),t)}catch(t){!1!==globalThis.__DEV__&&i.kG.error(t)}}),e.mutationId)},t.prototype.fetchQuery=function(t,e,r){return this.fetchConcastWithInfo(t,e,r).concast.promise},t.prototype.getQueryStore=function(){var t=Object.create(null);return this.queries.forEach((function(e,r){t[r]={variables:e.variables,networkStatus:e.networkStatus,networkError:e.networkError,graphQLErrors:e.graphQLErrors}})),t},t.prototype.resetErrors=function(t){var e=this.queries.get(t);e&&(e.networkError=void 0,e.graphQLErrors=[])},t.prototype.transform=function(t){return this.documentTransform.transformDocument(t)},t.prototype.getDocumentInfo=function(t){var e=this.transformCache;if(!e.has(t)){var r={hasClientExports:(0,u.mj)(t),hasForcedResolvers:this.localState.shouldForceResolvers(t),hasNonreactiveDirective:(0,u.FS)(["nonreactive"],t),clientQuery:this.localState.clientQuery(t),serverQuery:(0,h.bi)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],t),defaultVars:(0,w.O4)((0,w.$H)(t)),asQuery:(0,n.pi)((0,n.pi)({},t),{definitions:t.definitions.map((function(t){return"OperationDefinition"===t.kind&&"query"!==t.operation?(0,n.pi)((0,n.pi)({},t),{operation:"query"}):t}))})};e.set(t,r)}return e.get(t)},t.prototype.getVariables=function(t,e){return(0,n.pi)((0,n.pi)({},this.getDocumentInfo(t).defaultVars),e)},t.prototype.watchQuery=function(t){var e=this.transform(t.query);void 0===(t=(0,n.pi)((0,n.pi)({},t),{variables:this.getVariables(e,t.variables)})).notifyOnNetworkStatusChange&&(t.notifyOnNetworkStatusChange=!1);var r=new z(this),i=new T.ue({queryManager:this,queryInfo:r,options:t});return i.lastQuery=e,this.queries.set(i.queryId,r),r.init({document:e,observableQuery:i,variables:i.variables}),i},t.prototype.query=function(t,e){var r=this;return void 0===e&&(e=this.generateQueryId()),(0,i.kG)(t.query,26),(0,i.kG)("Document"===t.query.kind,27),(0,i.kG)(!t.returnPartialData,28),(0,i.kG)(!t.pollInterval,29),this.fetchQuery(e,(0,n.pi)((0,n.pi)({},t),{query:this.transform(t.query)})).finally((function(){return r.stopQuery(e)}))},t.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},t.prototype.generateRequestId=function(){return this.requestIdCounter++},t.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},t.prototype.stopQueryInStore=function(t){this.stopQueryInStoreNoBroadcast(t),this.broadcastQueries()},t.prototype.stopQueryInStoreNoBroadcast=function(t){var e=this.queries.get(t);e&&e.stop()},t.prototype.clearStore=function(t){return void 0===t&&(t={discardWatches:!0}),this.cancelPendingFetches((0,i._K)(30)),this.queries.forEach((function(t){t.observableQuery?t.networkStatus=I.Ie.loading:t.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(t)},t.prototype.getObservableQueries=function(t){var e=this;void 0===t&&(t="active");var r=new Map,o=new Map,a=new Set;return Array.isArray(t)&&t.forEach((function(t){"string"==typeof t?o.set(t,!1):(0,_.JW)(t)?o.set(e.transform(t),!1):(0,E.s)(t)&&t.query&&a.add(t)})),this.queries.forEach((function(e,n){var i=e.observableQuery,a=e.document;if(i){if("all"===t)return void r.set(n,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===t&&!i.hasObservers())return;("active"===t||s&&o.has(s)||a&&o.has(a))&&(r.set(n,i),s&&o.set(s,!0),a&&o.set(a,!0))}})),a.size&&a.forEach((function(t){var o=(0,S.X)("legacyOneTimeQuery"),a=e.getQuery(o).init({document:t.query,variables:t.variables}),s=new T.ue({queryManager:e,queryInfo:a,options:(0,n.pi)((0,n.pi)({},t),{fetchPolicy:"network-only"})});(0,i.kG)(s.queryId===o),a.setObservableQuery(s),r.set(o,s)})),!1!==globalThis.__DEV__&&o.size&&o.forEach((function(t,e){t||!1!==globalThis.__DEV__&&i.kG.warn("string"==typeof e?31:32,e)})),r},t.prototype.reFetchObservableQueries=function(t){var e=this;void 0===t&&(t=!1);var r=[];return this.getObservableQueries(t?"all":"active").forEach((function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(t||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),e.getQuery(i).setDiff(null)})),this.broadcastQueries(),Promise.all(r)},t.prototype.setObservableQuery=function(t){this.getQuery(t.queryId).setObservableQuery(t)},t.prototype.startGraphQLSubscription=function(t){var e=this,r=t.query,n=t.fetchPolicy,i=t.errorPolicy,o=void 0===i?"none":i,a=t.variables,s=t.context,l=void 0===s?{}:s;r=this.transform(r),a=this.getVariables(r,a);var c=function(t){return e.getObservableFromLink(r,l,t).map((function(i){"no-cache"!==n&&(q(i,o)&&e.cache.write({query:r,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:t}),e.broadcastQueries());var a=b(i),s=(0,C.ls)(i);if(a||s){var l={};if(a&&(l.graphQLErrors=i.errors),s&&(l.protocolErrors=i.extensions[C.YG]),"none"===o||s)throw new C.cA(l)}return"ignore"===o&&delete i.errors,i}))};if(this.getDocumentInfo(r).hasClientExports){var p=this.localState.addExportedVariables(r,a,l).then(c);return new g.y((function(t){var e=null;return p.then((function(r){return e=r.subscribe(t)}),t.error),function(){return e&&e.unsubscribe()}}))}return c(a)},t.prototype.stopQuery=function(t){this.stopQueryNoBroadcast(t),this.broadcastQueries()},t.prototype.stopQueryNoBroadcast=function(t){this.stopQueryInStoreNoBroadcast(t),this.removeQuery(t)},t.prototype.removeQuery=function(t){this.fetchCancelFns.delete(t),this.queries.has(t)&&(this.getQuery(t).stop(),this.queries.delete(t))},t.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(t){return t.notify()}))},t.prototype.getLocalState=function(){return this.localState},t.prototype.getObservableFromLink=function(t,e,r,i){var o,s,l=this;void 0===i&&(i=null!==(o=null==e?void 0:e.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var c=this.getDocumentInfo(t),p=c.serverQuery,u=c.clientQuery;if(p){var h=this.inFlightLinkObservables,f=this.link,m={query:p,variables:r,operationName:(0,w.rY)(p)||void 0,context:this.prepareContext((0,n.pi)((0,n.pi)({},e),{forceFetch:!i}))};if(e=m.context,i){var v=(0,G.S)(p),b=h.get(v)||new Map;h.set(v,b);var x=(0,d.B)(r);if(!(s=b.get(x))){var _=new O([(0,a.h)(f,m)]);b.set(x,s=_),_.beforeNext((function(){b.delete(x)&&b.size<1&&h.delete(v)}))}}else s=new O([(0,a.h)(f,m)])}else s=new O([g.y.of({data:{}})]),e=this.prepareContext(e);return u&&(s=y(s,(function(t){return l.localState.runResolvers({document:u,remoteResult:t,context:e,variables:r})}))),s},t.prototype.getResultsFromLink=function(t,e,r){var n=t.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return y(this.getObservableFromLink(i,r.context,r.variables),(function(o){var a=x(o),s=a.length>0;if(n>=t.lastRequestId){if(s&&"none"===r.errorPolicy)throw t.markError(new C.cA({graphQLErrors:a}));t.markResult(o,i,r,e),t.markReady()}var l={data:o.data,loading:!1,networkStatus:I.Ie.ready};return s&&"ignore"!==r.errorPolicy&&(l.errors=a,l.networkStatus=I.Ie.error),l}),(function(e){var r=(0,C.MS)(e)?e:new C.cA({networkError:e});throw n>=t.lastRequestId&&t.markError(r),r}))},t.prototype.fetchConcastWithInfo=function(t,e,r){var n=this;void 0===r&&(r=I.Ie.loading);var i,o,a=e.query,s=this.getVariables(a,e.variables),l=this.getQuery(t),c=this.defaultOptions.watchQuery,p=e.fetchPolicy,u=void 0===p?c&&c.fetchPolicy||"cache-first":p,h=e.errorPolicy,d=void 0===h?c&&c.errorPolicy||"none":h,f=e.returnPartialData,m=void 0!==f&&f,g=e.notifyOnNetworkStatusChange,y=void 0!==g&&g,v=e.context,b=void 0===v?{}:v,x=Object.assign({},e,{query:a,variables:s,fetchPolicy:u,errorPolicy:d,returnPartialData:m,notifyOnNetworkStatusChange:y,context:b}),w=function(t){x.variables=t;var i=n.fetchQueryByPolicy(l,x,r);return"standby"!==x.fetchPolicy&&i.sources.length>0&&l.observableQuery&&l.observableQuery.applyNextFetchPolicy("after-fetch",e),i},_=function(){return n.fetchCancelFns.delete(t)};if(this.fetchCancelFns.set(t,(function(t){_(),setTimeout((function(){return i.cancel(t)}))})),this.getDocumentInfo(x.query).hasClientExports)i=new O(this.localState.addExportedVariables(x.query,x.variables,x.context).then(w).then((function(t){return t.sources}))),o=!0;else{var E=w(x.variables);o=E.fromLink,i=new O(E.sources)}return i.promise.then(_,_),{concast:i,fromLink:o}},t.prototype.refetchQueries=function(t){var e=this,r=t.updateCache,n=t.include,i=t.optimistic,o=void 0!==i&&i,a=t.removeOptimistic,s=void 0===a?o?(0,S.X)("refetchQueries"):void 0:a,l=t.onQueryUpdated,c=new Map;n&&this.getObservableQueries(n).forEach((function(t,r){c.set(r,{oq:t,lastDiff:e.getQuery(r).getDiff()})}));var p=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(t,e,r){var n=t.watcher instanceof z&&t.watcher.observableQuery;if(n){if(l){c.delete(n.queryId);var i=l(n,e,r);return!0===i&&(i=n.refetch()),!1!==i&&p.set(n,i),i}null!==l&&c.set(n.queryId,{oq:n,lastDiff:r,diff:e})}}}),c.size&&c.forEach((function(t,r){var n,i=t.oq,o=t.lastDiff,a=t.diff;if(l){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=l(i,a,o)}l&&!0!==n||(n=i.refetch()),!1!==n&&p.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&e.stopQueryNoBroadcast(r)})),s&&this.cache.removeOptimistic(s),p},t.prototype.fetchQueryByPolicy=function(t,e,r){var i=this,o=e.query,a=e.variables,s=e.fetchPolicy,l=e.refetchWritePolicy,p=e.errorPolicy,u=e.returnPartialData,h=e.context,d=e.notifyOnNetworkStatusChange,f=t.networkStatus;t.init({document:o,variables:a,networkStatus:r});var m=function(){return t.getDiff()},y=function(e,r){void 0===r&&(r=t.networkStatus||I.Ie.loading);var s=e.result;!1===globalThis.__DEV__||u||(0,c.D)(s,{})||(0,T.DC)(e.missing);var l=function(t){return g.y.of((0,n.pi)({data:t,loading:(0,I.Oj)(r),networkStatus:r},e.complete?null:{partial:!0}))};return s&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:h,variables:a,onlyRunForcedResolvers:!0}).then((function(t){return l(t.data||void 0)})):"none"===p&&r===I.Ie.refetch&&Array.isArray(e.missing)?l(void 0):l(s)},v="no-cache"===s?0:r===I.Ie.refetch&&"merge"!==l?1:2,b=function(){return i.getResultsFromLink(t,v,{query:o,variables:a,context:h,fetchPolicy:s,errorPolicy:p})},x=d&&"number"==typeof f&&f!==r&&(0,I.Oj)(r);switch(s){default:case"cache-first":return(w=m()).complete?{fromLink:!1,sources:[y(w,t.markReady())]}:u||x?{fromLink:!0,sources:[y(w),b()]}:{fromLink:!0,sources:[b()]};case"cache-and-network":var w;return(w=m()).complete||u||x?{fromLink:!0,sources:[y(w),b()]}:{fromLink:!0,sources:[b()]};case"cache-only":return{fromLink:!1,sources:[y(m(),t.markReady())]};case"network-only":return x?{fromLink:!0,sources:[y(m()),b()]}:{fromLink:!0,sources:[b()]};case"no-cache":return x?{fromLink:!0,sources:[y(t.getDiff()),b()]}:{fromLink:!0,sources:[b()]};case"standby":return{fromLink:!1,sources:[]}}},t.prototype.getQuery=function(t){return t&&!this.queries.has(t)&&this.queries.set(t,new z(this,t)),this.queries.get(t)},t.prototype.prepareContext=function(t){void 0===t&&(t={});var e=this.localState.prepareContext(t);return(0,n.pi)((0,n.pi)({},e),{clientAwareness:this.clientAwareness})},t}(),$=r(19611),W=!1,Q=function(){function t(t){var e=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!t.cache)throw(0,i._K)(13);var r=t.uri,n=t.credentials,a=t.headers,c=t.cache,p=t.documentTransform,u=t.ssrMode,h=void 0!==u&&u,d=t.ssrForceFetchDelay,f=void 0===d?0:d,m=t.connectToDevTools,g=void 0===m?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1!==globalThis.__DEV__:m,y=t.queryDeduplication,v=void 0===y||y,b=t.defaultOptions,x=t.assumeImmutableResults,w=void 0===x?c.assumeImmutableResults:x,_=t.resolvers,E=t.typeDefs,S=t.fragmentMatcher,k=t.name,P=t.version,A=t.link;A||(A=r?new l.u({uri:r,credentials:n,headers:a}):o.i.empty()),this.link=A,this.cache=c,this.disableNetworkFetches=h||f>0,this.queryDeduplication=v,this.defaultOptions=b||Object.create(null),this.typeDefs=E,f&&setTimeout((function(){return e.disableNetworkFetches=!1}),f),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=s.i,this.localState=new L({cache:c,client:this,resolvers:_,fragmentMatcher:S}),this.queryManager=new H({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,documentTransform:p,queryDeduplication:v,ssrMode:h,clientAwareness:{name:k,version:P},localState:this.localState,assumeImmutableResults:w,onBroadcast:g?function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager.getQueryStore(),mutations:e.queryManager.mutationStore||{}},dataWithOptimisticResults:e.cache.extract(!0)})}:void 0}),g&&this.connectToDevTools()}return t.prototype.connectToDevTools=function(){if("object"==typeof window){var t=window,e=Symbol.for("apollo.devtools");(t[e]=t[e]||[]).push(this),t.__APOLLO_CLIENT__=this}W||!1===globalThis.__DEV__||(W=!0,setTimeout((function(){if("undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var t=window.navigator,e=t&&t.userAgent,r=void 0;"string"==typeof e&&(e.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":e.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&i.kG.log("Download the Apollo DevTools for a better development experience: %s",r)}}),1e4))},Object.defineProperty(t.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),t.prototype.stop=function(){this.queryManager.stop()},t.prototype.watchQuery=function(t){return this.defaultOptions.watchQuery&&(t=(0,$.J)(this.defaultOptions.watchQuery,t)),!this.disableNetworkFetches||"network-only"!==t.fetchPolicy&&"cache-and-network"!==t.fetchPolicy||(t=(0,n.pi)((0,n.pi)({},t),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(t)},t.prototype.query=function(t){return this.defaultOptions.query&&(t=(0,$.J)(this.defaultOptions.query,t)),(0,i.kG)("cache-and-network"!==t.fetchPolicy,14),this.disableNetworkFetches&&"network-only"===t.fetchPolicy&&(t=(0,n.pi)((0,n.pi)({},t),{fetchPolicy:"cache-first"})),this.queryManager.query(t)},t.prototype.mutate=function(t){return this.defaultOptions.mutate&&(t=(0,$.J)(this.defaultOptions.mutate,t)),this.queryManager.mutate(t)},t.prototype.subscribe=function(t){return this.queryManager.startGraphQLSubscription(t)},t.prototype.readQuery=function(t,e){return void 0===e&&(e=!1),this.cache.readQuery(t,e)},t.prototype.readFragment=function(t,e){return void 0===e&&(e=!1),this.cache.readFragment(t,e)},t.prototype.writeQuery=function(t){var e=this.cache.writeQuery(t);return!1!==t.broadcast&&this.queryManager.broadcastQueries(),e},t.prototype.writeFragment=function(t){var e=this.cache.writeFragment(t);return!1!==t.broadcast&&this.queryManager.broadcastQueries(),e},t.prototype.__actionHookForDevTools=function(t){this.devToolsHookCb=t},t.prototype.__requestRaw=function(t){return(0,a.h)(this.link,t)},t.prototype.resetStore=function(){var t=this;return Promise.resolve().then((function(){return t.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(t.resetStoreCallbacks.map((function(t){return t()})))})).then((function(){return t.reFetchObservableQueries()}))},t.prototype.clearStore=function(){var t=this;return Promise.resolve().then((function(){return t.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(t.clearStoreCallbacks.map((function(t){return t()})))}))},t.prototype.onResetStore=function(t){var e=this;return this.resetStoreCallbacks.push(t),function(){e.resetStoreCallbacks=e.resetStoreCallbacks.filter((function(e){return e!==t}))}},t.prototype.onClearStore=function(t){var e=this;return this.clearStoreCallbacks.push(t),function(){e.clearStoreCallbacks=e.clearStoreCallbacks.filter((function(e){return e!==t}))}},t.prototype.reFetchObservableQueries=function(t){return this.queryManager.reFetchObservableQueries(t)},t.prototype.refetchQueries=function(t){var e=this.queryManager.refetchQueries(t),r=[],n=[];e.forEach((function(t,e){r.push(e),n.push(t)}));var o=Promise.all(n);return o.queries=r,o.results=n,o.catch((function(t){!1!==globalThis.__DEV__&&i.kG.debug(15,t)})),o},t.prototype.getObservableQueries=function(t){return void 0===t&&(t="active"),this.queryManager.getObservableQueries(t)},t.prototype.extract=function(t){return this.cache.extract(t)},t.prototype.restore=function(t){return this.cache.restore(t)},t.prototype.addResolvers=function(t){this.localState.addResolvers(t)},t.prototype.setResolvers=function(t){this.localState.setResolvers(t)},t.prototype.getResolvers=function(){return this.localState.getResolvers()},t.prototype.setLocalStateFragmentMatcher=function(t){this.localState.setFragmentMatcher(t)},t.prototype.setLink=function(t){this.link=this.queryManager.link=t},t}()},20689:(t,e,r)=>{"use strict";r.d(e,{ue:()=>_,DC:()=>k,vj:()=>E});var n=r(50493),i=r(33438),o=r(16361),a=r(14),s=r(67554),l=r(41100),c=r(16022),p=r(88249),u=r(64059),h=r(3243),d=r(74483),f=r(37304),m=r(84319);function g(t,e,r,i){var a=e.data,l=(0,n._T)(e,["data"]),c=r.data,p=(0,n._T)(r,["data"]);return(0,o.Z)(l,p)&&y((0,s.p$)(t).selectionSet,a,c,{fragmentMap:(0,d.F)((0,s.kU)(t)),variables:i})}function y(t,e,r,n){if(e===r)return!0;var i=new Set;return t.selections.every((function(t){if(i.has(t))return!0;if(i.add(t),!(0,f.LZ)(t,n.variables))return!0;if(v(t))return!0;if((0,m.My)(t)){var a=(0,m.u2)(t),s=e&&e[a],l=r&&r[a],c=t.selectionSet;if(!c)return(0,o.Z)(s,l);var p=Array.isArray(s),u=Array.isArray(l);if(p!==u)return!1;if(p&&u){var h=s.length;if(l.length!==h)return!1;for(var g=0;g<h;++g)if(!y(c,s[g],l[g],n))return!1;return!0}return y(c,s,l,n)}var b=(0,d.hi)(t,n.fragmentMap);return b?!!v(b)||y(b.selectionSet,e,r,n):void 0}))}function v(t){return!!t.directives&&t.directives.some(b)}function b(t){return"nonreactive"===t.name.value}var x=Object.assign,w=Object.hasOwnProperty,_=function(t){function e(e){var r=e.queryManager,i=e.queryInfo,o=e.options,a=t.call(this,(function(t){try{var e=t._subscription._observer;e&&!e.error&&(e.error=S)}catch(t){}var r=!a.observers.size;a.observers.add(t);var n=a.last;return n&&n.error?t.error&&t.error(n.error):n&&n.result&&t.next&&t.next(n.result),r&&a.reobserve().catch((function(){})),function(){a.observers.delete(t)&&!a.observers.size&&a.tearDownQuery()}}))||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=i,a.queryManager=r,a.waitForOwnResult=P(o.fetchPolicy),a.isTornDown=!1;var l=r.defaultOptions.watchQuery,c=(void 0===l?{}:l).fetchPolicy,p=void 0===c?"cache-first":c,u=o.fetchPolicy,h=void 0===u?p:u,d=o.initialFetchPolicy,f=void 0===d?"standby"===h?p:h:d;a.options=(0,n.pi)((0,n.pi)({},o),{initialFetchPolicy:f,fetchPolicy:h}),a.queryId=i.queryId||r.generateQueryId();var m=(0,s.$H)(a.query);return a.queryName=m&&m.name&&m.name.value,a}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),e.prototype.result=function(){var t=this;return new Promise((function(e,r){var n={next:function(r){e(r),t.observers.delete(n),t.observers.size||t.queryManager.removeQuery(t.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:r},i=t.subscribe(n)}))},e.prototype.getCurrentResult=function(t){void 0===t&&(t=!0);var e=this.getLastResult(!0),r=this.queryInfo.networkStatus||e&&e.networkStatus||a.Ie.ready,i=(0,n.pi)((0,n.pi)({},e),{loading:(0,a.Oj)(r),networkStatus:r}),s=this.options.fetchPolicy,l=void 0===s?"cache-first":s;if(P(l)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var c=this.queryInfo.getDiff();(c.complete||this.options.returnPartialData)&&(i.data=c.result),(0,o.D)(i.data,{})&&(i.data=void 0),c.complete?(delete i.partial,!c.complete||i.networkStatus!==a.Ie.loading||"cache-first"!==l&&"cache-only"!==l||(i.networkStatus=a.Ie.ready,i.loading=!1)):i.partial=!0,!1===globalThis.__DEV__||c.complete||this.options.partialRefetch||i.loading||i.data||i.error||k(c.missing)}return t&&this.updateLastResult(i),i},e.prototype.isDifferentFromLastResult=function(t,e){return!this.last||(this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!g(this.query,this.last.result,t,this.variables):!(0,o.D)(this.last.result,t))||e&&!(0,o.D)(this.last.variables,e)},e.prototype.getLast=function(t,e){var r=this.last;if(r&&r[t]&&(!e||(0,o.D)(r.variables,this.variables)))return r[t]},e.prototype.getLastResult=function(t){return this.getLast("result",t)},e.prototype.getLastError=function(t){return this.getLast("error",t)},e.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},e.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},e.prototype.refetch=function(t){var e,r={pollInterval:0},l=this.options.fetchPolicy;if(r.fetchPolicy="cache-and-network"===l?l:"no-cache"===l?"no-cache":"network-only",!1!==globalThis.__DEV__&&t&&w.call(t,"variables")){var c=(0,s.iW)(this.query),p=c.variableDefinitions;p&&p.some((function(t){return"variables"===t.variable.name.value}))||!1!==globalThis.__DEV__&&i.kG.warn(18,t,(null===(e=c.name)||void 0===e?void 0:e.value)||c)}return t&&!(0,o.D)(this.options.variables,t)&&(r.variables=this.options.variables=(0,n.pi)((0,n.pi)({},this.options.variables),t)),this.queryInfo.resetLastWrite(),this.reobserve(r,a.Ie.refetch)},e.prototype.fetchMore=function(t){var e=this,r=(0,n.pi)((0,n.pi)({},t.query?t:(0,n.pi)((0,n.pi)((0,n.pi)((0,n.pi)({},this.options),{query:this.options.query}),t),{variables:(0,n.pi)((0,n.pi)({},this.options.variables),t.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var i=this.queryManager.generateQueryId();this.lastQuery=t.query?this.transformDocument(this.options.query):r.query;var o=this.queryInfo,s=o.networkStatus;o.networkStatus=a.Ie.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var l=new Set;return this.queryManager.fetchQuery(i,r,a.Ie.fetchMore).then((function(n){return e.queryManager.removeQuery(i),o.networkStatus===a.Ie.fetchMore&&(o.networkStatus=s),e.queryManager.cache.batch({update:function(i){var o=t.updateQuery;o?i.updateQuery({query:e.query,variables:e.variables,returnPartialData:!0,optimistic:!1},(function(t){return o(t,{fetchMoreResult:n.data,variables:r.variables})})):i.writeQuery({query:r.query,variables:r.variables,data:n.data})},onWatchUpdated:function(t){l.add(t.query)}}),n})).finally((function(){l.has(e.query)||E(e)}))},e.prototype.subscribeToMore=function(t){var e=this,r=this.queryManager.startGraphQLSubscription({query:t.document,variables:t.variables,context:t.context}).subscribe({next:function(r){var n=t.updateQuery;n&&e.updateQuery((function(t,e){var i=e.variables;return n(t,{subscriptionData:r,variables:i})}))},error:function(e){t.onError?t.onError(e):!1!==globalThis.__DEV__&&i.kG.error(19,e)}});return this.subscriptions.add(r),function(){e.subscriptions.delete(r)&&r.unsubscribe()}},e.prototype.setOptions=function(t){return this.reobserve(t)},e.prototype.silentSetOptions=function(t){var e=(0,l.o)(this.options,t||{});x(this.options,e)},e.prototype.setVariables=function(t){return(0,o.D)(this.variables,t)?this.observers.size?this.result():Promise.resolve():(this.options.variables=t,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:t},a.Ie.setVariables):Promise.resolve())},e.prototype.updateQuery=function(t){var e=this.queryManager,r=t(e.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(e.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),e.broadcastQueries())},e.prototype.startPolling=function(t){this.options.pollInterval=t,this.updatePolling()},e.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},e.prototype.applyNextFetchPolicy=function(t,e){if(e.nextFetchPolicy){var r=e.fetchPolicy,n=void 0===r?"cache-first":r,i=e.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof e.nextFetchPolicy?e.fetchPolicy=e.nextFetchPolicy(n,{reason:t,options:e,observable:this,initialFetchPolicy:o}):e.fetchPolicy="variables-changed"===t?o:e.nextFetchPolicy)}return e.fetchPolicy},e.prototype.fetch=function(t,e){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,t,e)},e.prototype.updatePolling=function(){var t=this;if(!this.queryManager.ssrMode){var e=this.pollingInfo,r=this.options.pollInterval;if(r){if(!e||e.interval!==r){(0,i.kG)(r,20),(e||(this.pollingInfo={})).interval=r;var n=function(){t.pollingInfo&&((0,a.Oj)(t.queryInfo.networkStatus)?o():t.reobserve({fetchPolicy:"no-cache"===t.options.initialFetchPolicy?"no-cache":"network-only"},a.Ie.poll).then(o,o))},o=function(){var e=t.pollingInfo;e&&(clearTimeout(e.timeout),e.timeout=setTimeout(n,e.interval))};o()}}else e&&(clearTimeout(e.timeout),delete this.pollingInfo)}},e.prototype.updateLastResult=function(t,e){void 0===e&&(e=this.variables);var r=this.getLastError();return r&&this.last&&!(0,o.D)(e,this.last.variables)&&(r=void 0),this.last=(0,n.pi)({result:this.queryManager.assumeImmutableResults?t:(0,c.X)(t),variables:e},r?{error:r}:null)},e.prototype.reobserveAsConcast=function(t,e){var r=this;this.isTornDown=!1;var i=e===a.Ie.refetch||e===a.Ie.fetchMore||e===a.Ie.poll,s=this.options.variables,c=this.options.fetchPolicy,p=(0,l.o)(this.options,t||{}),u=i?p:x(this.options,p),h=this.transformDocument(u.query);this.lastQuery=h,i||(this.updatePolling(),t&&t.variables&&!(0,o.D)(t.variables,s)&&"standby"!==u.fetchPolicy&&u.fetchPolicy===c&&(this.applyNextFetchPolicy("variables-changed",u),void 0===e&&(e=a.Ie.setVariables)));var d=h===u.query?u:(0,n.pi)((0,n.pi)({},u),{query:h});this.waitForOwnResult&&(this.waitForOwnResult=P(d.fetchPolicy));var f=function(){r.concast===y&&(r.waitForOwnResult=!1)},m=d.variables&&(0,n.pi)({},d.variables),g=this.fetch(d,e),y=g.concast,v=g.fromLink,b={next:function(t){f(),r.reportResult(t,m)},error:function(t){f(),r.reportError(t,m)}};return i||!v&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=y,this.observer=b),y.addObserver(b),y},e.prototype.reobserve=function(t,e){return this.reobserveAsConcast(t,e).promise},e.prototype.resubscribeAfterError=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=this.last;this.resetLastResults();var n=this.subscribe.apply(this,t);return this.last=r,n},e.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},e.prototype.reportResult=function(t,e){var r=this.getLastError(),n=this.isDifferentFromLastResult(t,e);(r||!t.partial||this.options.returnPartialData)&&this.updateLastResult(t,e),(r||n)&&(0,p.p)(this.observers,"next",t)},e.prototype.reportError=function(t,e){var r=(0,n.pi)((0,n.pi)({},this.getLastResult()),{error:t,errors:t.graphQLErrors,networkStatus:a.Ie.error,loading:!1});this.updateLastResult(r,e),(0,p.p)(this.observers,"error",this.last.error=t)},e.prototype.hasObservers=function(){return this.observers.size>0},e.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach((function(t){return t.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},e.prototype.transformDocument=function(t){return this.queryManager.transform(t)},e}(u.y);function E(t){var e=t.options,r=e.fetchPolicy,n=e.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?t.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=n,"function"==typeof n?n.apply(this,arguments):r}}):t.reobserve()}function S(t){!1!==globalThis.__DEV__&&i.kG.error(21,t.message,t.stack)}function k(t){!1!==globalThis.__DEV__&&t&&!1!==globalThis.__DEV__&&i.kG.debug(22,t)}function P(t){return"network-only"===t||"no-cache"===t||"standby"===t}(0,h.D)(_)},21604:(t,e,r)=>{"use strict";r.r(e),r.d(e,{ApolloCache:()=>c.R,ApolloClient:()=>i.f,ApolloError:()=>l.cA,ApolloLink:()=>m.i,Cache:()=>n,DocumentTransform:()=>A.A,HttpLink:()=>w.HttpLink,InMemoryCache:()=>p.h,MissingFieldError:()=>u.y,NetworkStatus:()=>s.Ie,Observable:()=>E.y,ObservableQuery:()=>a.ue,checkFetcher:()=>w.checkFetcher,concat:()=>b,createHttpLink:()=>w.createHttpLink,createSignalIfSupported:()=>w.createSignalIfSupported,defaultDataIdFromObject:()=>h.uG,defaultPrinter:()=>w.defaultPrinter,disableExperimentalFragmentVariables:()=>T.J9,disableFragmentWarnings:()=>T._t,empty:()=>g,enableExperimentalFragmentVariables:()=>T.wO,execute:()=>x.h,fallbackHttpConfig:()=>w.fallbackHttpConfig,from:()=>y.D,fromError:()=>k.Q,fromPromise:()=>S,gql:()=>T.Ps,isApolloError:()=>l.MS,isNetworkRequestSettled:()=>s.Jp,isReference:()=>O.Yk,makeReference:()=>O.kQ,makeVar:()=>d.QS,mergeOptions:()=>o.J,parseAndCheckHttpResponse:()=>w.parseAndCheckHttpResponse,resetCaches:()=>T.HW,rewriteURIForGET:()=>w.rewriteURIForGET,selectHttpOptionsAndBody:()=>w.selectHttpOptionsAndBody,selectHttpOptionsAndBodyInternal:()=>w.selectHttpOptionsAndBodyInternal,selectURI:()=>w.selectURI,serializeFetchParameter:()=>w.serializeFetchParameter,setLogVerbosity:()=>C.U6,split:()=>v.V,throwServerError:()=>P.P,toPromise:()=>_});var n,i=r(21281),o=r(19611),a=r(20689),s=r(14),l=r(93869);n||(n={});var c=r(67938),p=r(63965),u=r(48185),h=r(65110),d=r(47204),f=r(33438),m=r(64638),g=m.i.empty,y=r(49657),v=r(71996),b=m.i.concat,x=r(95107),w=r(86801);function _(t){var e=!1;return new Promise((function(r,n){t.subscribe({next:function(t){e?!1!==globalThis.__DEV__&&f.kG.warn(40):(e=!0,r(t))},error:n})}))}var E=r(64059);function S(t){return new E.y((function(e){t.then((function(t){e.next(t),e.complete()})).catch(e.error.bind(e))}))}var k=r(38194),P=r(27041),A=r(77374),O=r(84319),C=r(65385),T=r(16682);(0,C.U6)(!1!==globalThis.__DEV__?"log":"silent")},14:(t,e,r)=>{"use strict";var n;function i(t){return!!t&&t<7}function o(t){return 7===t||8===t}r.d(e,{Ie:()=>n,Jp:()=>o,Oj:()=>i}),function(t){t[t.loading=1]="loading",t[t.setVariables=2]="setVariables",t[t.fetchMore=3]="fetchMore",t[t.refetch=4]="refetch",t[t.poll=6]="poll",t[t.ready=7]="ready",t[t.error=8]="error"}(n||(n={}))},93869:(t,e,r)=>{"use strict";r.d(e,{MS:()=>s,YG:()=>o,cA:()=>l,ls:()=>a});var n=r(50493),i=(r(33438),r(32345)),o=Symbol();function a(t){return!!t.extensions&&Array.isArray(t.extensions[o])}function s(t){return t.hasOwnProperty("graphQLErrors")}var l=function(t){function e(r){var o,a,s=r.graphQLErrors,l=r.protocolErrors,c=r.clientErrors,p=r.networkError,u=r.errorMessage,h=r.extraInfo,d=t.call(this,u)||this;return d.name="ApolloError",d.graphQLErrors=s||[],d.protocolErrors=l||[],d.clientErrors=c||[],d.networkError=p||null,d.message=u||(o=d,a=(0,n.ev)((0,n.ev)((0,n.ev)([],o.graphQLErrors,!0),o.clientErrors,!0),o.protocolErrors,!0),o.networkError&&a.push(o.networkError),a.map((function(t){return(0,i.s)(t)&&t.message||"Error message not found."})).join("\n")),d.extraInfo=h,d.__proto__=e.prototype,d}return(0,n.ZT)(e,t),e}(Error)},64638:(t,e,r)=>{"use strict";r.d(e,{i:()=>p});var n=r(33438),i=r(64059),o=r(50493),a=r(67554);function s(t,e){return e?e(t):i.y.of()}function l(t){return"function"==typeof t?new p(t):t}function c(t){return t.request.length<=1}var p=function(){function t(t){t&&(this.request=t)}return t.empty=function(){return new t((function(){return i.y.of()}))},t.from=function(e){return 0===e.length?t.empty():e.map(l).reduce((function(t,e){return t.concat(e)}))},t.split=function(e,r,n){var o=l(r),a=l(n||new t(s));return c(o)&&c(a)?new t((function(t){return e(t)?o.request(t)||i.y.of():a.request(t)||i.y.of()})):new t((function(t,r){return e(t)?o.request(t,r)||i.y.of():a.request(t,r)||i.y.of()}))},t.execute=function(t,e){return t.request(function(t,e){var r=(0,o.pi)({},t);return Object.defineProperty(e,"setContext",{enumerable:!1,value:function(t){r="function"==typeof t?(0,o.pi)((0,o.pi)({},r),t(r)):(0,o.pi)((0,o.pi)({},r),t)}}),Object.defineProperty(e,"getContext",{enumerable:!1,value:function(){return(0,o.pi)({},r)}}),e}(e.context,function(t){var e={variables:t.variables||{},extensions:t.extensions||{},operationName:t.operationName,query:t.query};return e.operationName||(e.operationName="string"!=typeof e.query?(0,a.rY)(e.query)||void 0:""),e}(function(t){for(var e=["query","operationName","variables","extensions","context"],r=0,i=Object.keys(t);r<i.length;r++){var o=i[r];if(e.indexOf(o)<0)throw(0,n._K)(41,o)}return t}(e))))||i.y.of()},t.concat=function(e,r){var o=l(e);if(c(o))return!1!==globalThis.__DEV__&&n.kG.warn(33,o),o;var a=l(r);return c(a)?new t((function(t){return o.request(t,(function(t){return a.request(t)||i.y.of()}))||i.y.of()})):new t((function(t,e){return o.request(t,(function(t){return a.request(t,e)||i.y.of()}))||i.y.of()}))},t.prototype.split=function(e,r,n){return this.concat(t.split(e,r,n||new t(s)))},t.prototype.concat=function(e){return t.concat(this,e)},t.prototype.request=function(t,e){throw(0,n._K)(34)},t.prototype.onError=function(t,e){if(e&&e.error)return e.error(t),!1;throw t},t.prototype.setOnError=function(t){return this.onError=t,this},t}()},95107:(t,e,r)=>{"use strict";r.d(e,{h:()=>n});var n=r(64638).i.execute},49657:(t,e,r)=>{"use strict";r.d(e,{D:()=>n});var n=r(64638).i.from},71996:(t,e,r)=>{"use strict";r.d(e,{V:()=>n});var n=r(64638).i.split},41822:(t,e,r)=>{"use strict";r.d(e,{u:()=>a});var n=r(50493),i=r(64638),o=r(15543),a=function(t){function e(e){void 0===e&&(e={});var r=t.call(this,(0,o.L)(e).request)||this;return r.options=e,r}return(0,n.ZT)(e,t),e}(i.i)},68494:(t,e,r)=>{"use strict";r.d(e,{U:()=>i});var n=r(33438),i=function(t){if(!t&&"undefined"==typeof fetch)throw(0,n._K)(35)}},15543:(t,e,r)=>{"use strict";r.d(e,{L:()=>b});var n=r(50493),i=r(33438),o=r(64638),a=r(37304),s=r(64059),l=r(81302),c=r(5820),p=r(78208),u=r(68494),h=r(88890),d=r(70919),f=r(38194),m=r(9485),g=r(10821),y=r(67554),v=(0,i.wY)((function(){return fetch})),b=function(t){void 0===t&&(t={});var e=t.uri,r=void 0===e?"/graphql":e,b=t.fetch,x=t.print,w=void 0===x?h.sb:x,_=t.includeExtensions,E=t.preserveHeaderCase,S=t.useGETForQueries,k=t.includeUnusedVariables,P=void 0!==k&&k,A=(0,n._T)(t,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&(0,u.U)(b||v);var O={http:{includeExtensions:_,preserveHeaderCase:E},options:A.fetchOptions,credentials:A.credentials,headers:A.headers};return new o.i((function(t){var e=(0,c.r)(t,r),o=t.getContext(),u={};if(o.clientAwareness){var x=o.clientAwareness,_=x.name,E=x.version;_&&(u["apollographql-client-name"]=_),E&&(u["apollographql-client-version"]=E)}var k=(0,n.pi)((0,n.pi)({},u),o.headers),A={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:k};if((0,a.FS)(["client"],t.query)){var C=(0,g.ob)(t.query);if(!C)return(0,f.Q)(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));t.query=C}var T,I,D,F,R,M=(0,h.ve)(t,w,h.SC,O,A),j=M.options,L=M.body;L.variables&&!P&&(L.variables=(T=L.variables,I=t.query,D=(0,n.pi)({},T),F=new Set(Object.keys(T)),(0,m.Vn)(I,{Variable:function(t,e,r){r&&"VariableDefinition"!==r.kind&&F.delete(t.name.value)}}),F.forEach((function(t){delete D[t]})),D)),j.signal||"undefined"==typeof AbortController||(R=new AbortController,j.signal=R.signal);var N,B="OperationDefinition"===(N=(0,y.p$)(t.query)).kind&&"subscription"===N.operation,V=(0,a.FS)(["defer"],t.query);if(S&&!t.query.definitions.some((function(t){return"OperationDefinition"===t.kind&&"mutation"===t.operation}))&&(j.method="GET"),V||B){j.headers=j.headers||{};var z="multipart/mixed;";B&&V&&!1!==globalThis.__DEV__&&i.kG.warn(36),B?z+="boundary=graphql;subscriptionSpec=1.0,application/json":V&&(z+="deferSpec=20220824,application/json"),j.headers.accept=z}if("GET"===j.method){var q=(0,d.H)(e,L),G=q.newURI,U=q.parseError;if(U)return(0,f.Q)(U);e=G}else try{j.body=(0,l.g)(L,"Payload")}catch(U){return(0,f.Q)(U)}return new s.y((function(r){var n=b||(0,i.wY)((function(){return fetch}))||v,o=r.next.bind(r);return n(e,j).then((function(e){var r;t.setContext({response:e});var n=null===(r=e.headers)||void 0===r?void 0:r.get("content-type");return null!==n&&/^multipart\/mixed/i.test(n)?(0,p.TF)(e,o):(0,p.dO)(t)(e).then(o)})).then((function(){R=void 0,r.complete()})).catch((function(t){R=void 0,(0,p.S3)(t,r)})),function(){R&&R.abort()}}))}))}},86801:(t,e,r)=>{"use strict";r.r(e),r.d(e,{HttpLink:()=>p.u,checkFetcher:()=>a.U,createHttpLink:()=>c.L,createSignalIfSupported:()=>s,defaultPrinter:()=>o.sb,fallbackHttpConfig:()=>o.SC,parseAndCheckHttpResponse:()=>n.dO,rewriteURIForGET:()=>u.H,selectHttpOptionsAndBody:()=>o.E4,selectHttpOptionsAndBodyInternal:()=>o.ve,selectURI:()=>l.r,serializeFetchParameter:()=>i.g}),r(33438);var n=r(78208),i=r(81302),o=r(88890),a=r(68494),s=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var t=new AbortController;return{controller:t,signal:t.signal}},l=r(5820),c=r(15543),p=r(41822),u=r(70919)},78208:(t,e,r)=>{"use strict";r.d(e,{S3:()=>f,dO:()=>m,TF:()=>u});var n=r(50493),i=r(42860);function o(t){var e={next:function(){return t.read()}};return i.DN&&(e[Symbol.asyncIterator]=function(){return this}),e}function a(t){var e,r,n,a=t;if(t.body&&(a=t.body),n=a,i.DN&&n[Symbol.asyncIterator])return r=a[Symbol.asyncIterator](),(e={next:function(){return r.next()}})[Symbol.asyncIterator]=function(){return this},e;if(function(t){return!!t.getReader}(a))return o(a.getReader());if(function(t){return!!t.stream}(a))return o(a.stream().getReader());if(function(t){return!!t.arrayBuffer}(a))return function(t){var e=!1,r={next:function(){return e?Promise.resolve({value:void 0,done:!0}):(e=!0,new Promise((function(e,r){t.then((function(t){e({value:t,done:!1})})).catch(r)})))}};return i.DN&&(r[Symbol.asyncIterator]=function(){return this}),r}(a.arrayBuffer());if(function(t){return!!t.pipe}(a))return function(t){var e=null,r=null,n=!1,o=[],a=[];function s(t){if(!r){if(a.length){var e=a.shift();if(Array.isArray(e)&&e[0])return e[0]({value:t,done:!1})}o.push(t)}}function l(t){r=t,a.slice().forEach((function(e){e[1](t)})),!e||e()}function c(){n=!0,a.slice().forEach((function(t){t[0]({value:void 0,done:!0})})),!e||e()}e=function(){e=null,t.removeListener("data",s),t.removeListener("error",l),t.removeListener("end",c),t.removeListener("finish",c),t.removeListener("close",c)},t.on("data",s),t.on("error",l),t.on("end",c),t.on("finish",c),t.on("close",c);var p={next:function(){return new Promise((function(t,e){return r?e(r):o.length?t({value:o.shift(),done:!1}):n?t({value:void 0,done:!0}):void a.push([t,e])}))}};return i.DN&&(p[Symbol.asyncIterator]=function(){return this}),p}(a);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var s=r(27041),l=r(93869),c=r(9960),p=Object.prototype.hasOwnProperty;function u(t,e){var r;return(0,n.mG)(this,void 0,void 0,(function(){var i,o,s,p,u,f,m,g,y,v,b,x,w,_,E,S,k,P,A,O,C,T,I;return(0,n.Jh)(this,(function(D){switch(D.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");i=new TextDecoder("utf-8"),o=null===(r=t.headers)||void 0===r?void 0:r.get("content-type"),s="boundary=",p=(null==o?void 0:o.includes(s))?null==o?void 0:o.substring((null==o?void 0:o.indexOf(s))+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",u="\r\n--".concat(p),f="",m=a(t),g=!0,D.label=1;case 1:return g?[4,m.next()]:[3,3];case 2:for(y=D.sent(),v=y.value,b=y.done,x="string"==typeof v?v:i.decode(v),w=f.length-u.length+1,g=!b,_=(f+=x).indexOf(u,w);_>-1;){if(E=void 0,T=[f.slice(0,_),f.slice(_+u.length)],f=T[1],S=(E=T[0]).indexOf("\r\n\r\n"),k=h(E.slice(0,S)),(P=k["content-type"])&&-1===P.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(A=E.slice(S))if(O=d(t,A),Object.keys(O).length>1||"data"in O||"incremental"in O||"errors"in O||"payload"in O)(0,c.yU)(O)?(C={},"payload"in O&&(C=(0,n.pi)({},O.payload)),"errors"in O&&(C=(0,n.pi)((0,n.pi)({},C),{extensions:(0,n.pi)((0,n.pi)({},"extensions"in C?C.extensions:null),(I={},I[l.YG]=O.errors,I))})),e(C)):e(O);else if(1===Object.keys(O).length&&"hasNext"in O&&!O.hasNext)return[2];_=f.indexOf(u)}return[3,1];case 3:return[2]}}))}))}function h(t){var e={};return t.split("\n").forEach((function(t){var r=t.indexOf(":");if(r>-1){var n=t.slice(0,r).trim().toLowerCase(),i=t.slice(r+1).trim();e[n]=i}})),e}function d(t,e){t.status>=300&&(0,s.P)(t,function(){try{return JSON.parse(e)}catch(t){return e}}(),"Response not successful: Received status code ".concat(t.status));try{return JSON.parse(e)}catch(n){var r=n;throw r.name="ServerParseError",r.response=t,r.statusCode=t.status,r.bodyText=e,r}}function f(t,e){t.result&&t.result.errors&&t.result.data&&e.next(t.result),e.error(t)}function m(t){return function(e){return e.text().then((function(t){return d(e,t)})).then((function(r){return e.status>=300&&(0,s.P)(e,r,"Response not successful: Received status code ".concat(e.status)),Array.isArray(r)||p.call(r,"data")||p.call(r,"errors")||(0,s.P)(e,r,"Server response was missing for query '".concat(Array.isArray(t)?t.map((function(t){return t.operationName})):t.operationName,"'.")),r}))}}},70919:(t,e,r)=>{"use strict";r.d(e,{H:()=>i});var n=r(81302);function i(t,e){var r=[],i=function(t,e){r.push("".concat(t,"=").concat(encodeURIComponent(e)))};if("query"in e&&i("query",e.query),e.operationName&&i("operationName",e.operationName),e.variables){var o=void 0;try{o=(0,n.g)(e.variables,"Variables map")}catch(t){return{parseError:t}}i("variables",o)}if(e.extensions){var a=void 0;try{a=(0,n.g)(e.extensions,"Extensions map")}catch(t){return{parseError:t}}i("extensions",a)}var s="",l=t,c=t.indexOf("#");-1!==c&&(s=t.substr(c),l=t.substr(0,c));var p=-1===l.indexOf("?")?"?":"&";return{newURI:l+p+r.join("&")+s}}},88890:(t,e,r)=>{"use strict";r.d(e,{E4:()=>s,SC:()=>o,sb:()=>a,ve:()=>l});var n=r(50493),i=r(11315),o={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},a=function(t,e){return e(t)};function s(t,e){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return r.unshift(e),l.apply(void 0,(0,n.ev)([t,a],r,!1))}function l(t,e){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var a={},s={};r.forEach((function(t){a=(0,n.pi)((0,n.pi)((0,n.pi)({},a),t.options),{headers:(0,n.pi)((0,n.pi)({},a.headers),t.headers)}),t.credentials&&(a.credentials=t.credentials),s=(0,n.pi)((0,n.pi)({},s),t.http)})),a.headers&&(a.headers=function(t,e){if(!e){var r=Object.create(null);return Object.keys(Object(t)).forEach((function(e){r[e.toLowerCase()]=t[e]})),r}var n=Object.create(null);Object.keys(Object(t)).forEach((function(e){n[e.toLowerCase()]={originalName:e,value:t[e]}}));var i=Object.create(null);return Object.keys(n).forEach((function(t){i[n[t].originalName]=n[t].value})),i}(a.headers,s.preserveHeaderCase));var l=t.operationName,c=t.extensions,p=t.variables,u=t.query,h={operationName:l,variables:p};return s.includeExtensions&&(h.extensions=c),s.includeQuery&&(h.query=e(u,i.S)),{options:a,body:h}}},5820:(t,e,r)=>{"use strict";r.d(e,{r:()=>n});var n=function(t,e){return t.getContext().uri||("function"==typeof e?e(t):e||"/graphql")}},81302:(t,e,r)=>{"use strict";r.d(e,{g:()=>i});var n=r(33438),i=function(t,e){var r;try{r=JSON.stringify(t)}catch(t){var i=(0,n._K)(37,e,t.message);throw i.parseError=t,i}return r}},38194:(t,e,r)=>{"use strict";r.d(e,{Q:()=>i});var n=r(64059);function i(t){return new n.y((function(e){e.error(t)}))}},27041:(t,e,r)=>{"use strict";r.d(e,{P:()=>n});var n=function(t,e,r){var n=new Error(r);throw n.name="ServerError",n.response=t,n.statusCode=t.status,n.result=e,n}},41809:(t,e,r)=>{"use strict";r.d(e,{O:()=>i,k:()=>n});var n=Array.isArray;function i(t){return Array.isArray(t)&&t.length>0}},42860:(t,e,r)=>{"use strict";r.d(e,{DN:()=>s,aS:()=>a,mr:()=>i,sy:()=>o});var n=r(33438),i="function"==typeof WeakMap&&"ReactNative"!==(0,n.wY)((function(){return navigator.product})),o="function"==typeof WeakSet,a="function"==typeof Symbol&&"function"==typeof Symbol.for,s=a&&Symbol.asyncIterator;(0,n.wY)((function(){return window.document.createElement})),(0,n.wY)((function(){return navigator.userAgent.indexOf("jsdom")>=0}))},16022:(t,e,r)=>{"use strict";r.d(e,{X:()=>i});var n=Object.prototype.toString;function i(t){return o(t)}function o(t,e){switch(n.call(t)){case"[object Array]":if((e=e||new Map).has(t))return e.get(t);var r=t.slice(0);return e.set(t,r),r.forEach((function(t,n){r[n]=o(t,e)})),r;case"[object Object]":if((e=e||new Map).has(t))return e.get(t);var i=Object.create(Object.getPrototypeOf(t));return e.set(t,i),Object.keys(t).forEach((function(r){i[r]=o(t[r],e)})),i;default:return t}}},41100:(t,e,r)=>{"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=Object.create(null);return t.forEach((function(t){t&&Object.keys(t).forEach((function(e){var n=t[e];void 0!==n&&(r[e]=n)}))})),r}r.d(e,{o:()=>n})},9960:(t,e,r)=>{"use strict";r.d(e,{GG:()=>a,M0:()=>s,mT:()=>c,yU:()=>l});var n=r(32345),i=r(41809),o=r(85098);function a(t){return"incremental"in t}function s(t){return a(t)||function(t){return"hasNext"in t&&"data"in t}(t)}function l(t){return(0,n.s)(t)&&"payload"in t}function c(t,e){var r=t,n=new o.w0;return a(e)&&(0,i.O)(e.incremental)&&e.incremental.forEach((function(t){for(var e=t.data,i=t.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=e,e=s}r=n.merge(r,e)})),r}},61029:(t,e,r)=>{"use strict";r.d(e,{X:()=>i});var n=new Map;function i(t){var e=n.get(t)||1;return n.set(t,e+1),"".concat(t,":").concat(e,":").concat(Math.random().toString(36).slice(2))}},85098:(t,e,r)=>{"use strict";r.d(e,{Ee:()=>a,bw:()=>s,w0:()=>c});var n=r(50493),i=r(32345),o=Object.prototype.hasOwnProperty;function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return s(t)}function s(t){var e=t[0]||{},r=t.length;if(r>1)for(var n=new c,i=1;i<r;++i)e=n.merge(e,t[i]);return e}var l=function(t,e,r){return this.merge(t[r],e[r])},c=function(){function t(t){void 0===t&&(t=l),this.reconciler=t,this.isObject=i.s,this.pastCopies=new Set}return t.prototype.merge=function(t,e){for(var r=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.s)(e)&&(0,i.s)(t)?(Object.keys(e).forEach((function(i){if(o.call(t,i)){var s=t[i];if(e[i]!==s){var l=r.reconciler.apply(r,(0,n.ev)([t,e,i],a,!1));l!==s&&((t=r.shallowCopyForMerge(t))[i]=l)}}else(t=r.shallowCopyForMerge(t))[i]=e[i]})),t):e},t.prototype.shallowCopyForMerge=function(t){return(0,i.s)(t)&&(this.pastCopies.has(t)||(t=Array.isArray(t)?t.slice(0):(0,n.pi)({__proto__:Object.getPrototypeOf(t)},t),this.pastCopies.add(t))),t},t}()},19611:(t,e,r)=>{"use strict";r.d(e,{J:()=>o});var n=r(50493),i=r(41100);function o(t,e){return(0,i.o)(t,e,e.variables&&{variables:(0,i.o)((0,n.pi)((0,n.pi)({},t&&t.variables),e.variables))})}},32345:(t,e,r)=>{"use strict";function n(t){return null!==t&&"object"==typeof t}r.d(e,{s:()=>n})},75614:(t,e,r)=>{"use strict";r.d(e,{v:()=>i});var n=r(61029);function i(t,e){void 0===e&&(e=0);var r=(0,n.X)("stringifyForDisplay");return JSON.stringify(t,(function(t,e){return void 0===e?r:e}),e).split(JSON.stringify(r)).join("<undefined>")}},33438:(t,e,r)=>{"use strict";r.d(e,{kG:()=>p,wY:()=>a,_K:()=>u});var n=r(50493),i=r(65385),o=r(45369);function a(t){try{return t()}catch(t){}}const s=a((function(){return globalThis}))||a((function(){return window}))||a((function(){return self}))||a((function(){return global}))||a((function(){return a.constructor("return this")()}));var l=r(75614);function c(t){return function(e){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];t.apply(void 0,(0,n.ev)(["number"==typeof e?d(e):e],r,!1))}}var p=Object.assign((function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];t||(0,i.kG)(t,d(e,r))}),{debug:c(i.kG.debug),log:c(i.kG.log),warn:c(i.kG.warn),error:c(i.kG.error)});function u(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return new i.ej(d(t,e))}var h=Symbol.for("ApolloErrorMessageHandler_"+o.i);function d(t,e){if(void 0===e&&(e=[]),t){var r=e.map((function(t){return"string"==typeof t?t:(0,l.v)(t,2).slice(0,1e3)}));return s[h]&&s[h](t,r)||"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:o.i,message:t,args:r})))}}globalThis.__DEV__},77374:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(13426),i=r(42860),o=r(67554),a=r(33438);function s(t){return t}var l=function(){function t(t,e){void 0===e&&(e=Object.create(null)),this.resultCache=i.sy?new WeakSet:new Set,this.transform=t,e.getCacheKey&&(this.getCacheKey=e.getCacheKey),!1!==e.cache&&(this.stableCacheKeys=new n.B(i.mr,(function(t){return{key:t}})))}return t.prototype.getCacheKey=function(t){return[t]},t.identity=function(){return new t(s,{cache:!1})},t.split=function(e,r,n){return void 0===n&&(n=t.identity()),new t((function(t){return(e(t)?r:n).transformDocument(t)}),{cache:!1})},t.prototype.transformDocument=function(t){if(this.resultCache.has(t))return t;var e=this.getStableCacheEntry(t);if(e&&e.value)return e.value;(0,o.A$)(t);var r=this.transform(t);return this.resultCache.add(r),e&&(e.value=r),r},t.prototype.concat=function(e){var r=this;return new t((function(t){return e.transformDocument(r.transformDocument(t))}),{cache:!1})},t.prototype.getStableCacheEntry=function(t){if(this.stableCacheKeys){var e=this.getCacheKey(t);return e?((0,a.kG)(Array.isArray(e),63),this.stableCacheKeys.lookupArray(e)):void 0}},t}()},37304:(t,e,r)=>{"use strict";r.d(e,{FS:()=>a,LZ:()=>o,mj:()=>s});var n=r(33438),i=r(9485);function o(t,e){var r=t.directives;return!r||!r.length||function(t){var e=[];return t&&t.length&&t.forEach((function(t){if(function(t){var e=t.name.value;return"skip"===e||"include"===e}(t)){var r=t.arguments,i=t.name.value;(0,n.kG)(r&&1===r.length,65,i);var o=r[0];(0,n.kG)(o.name&&"if"===o.name.value,66,i);var a=o.value;(0,n.kG)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),67,i),e.push({directive:t,ifArgument:o})}})),e}(r).every((function(t){var r=t.directive,i=t.ifArgument,o=!1;return"Variable"===i.value.kind?(o=e&&e[i.value.name.value],(0,n.kG)(void 0!==o,64,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o}))}function a(t,e,r){var n=new Set(t),o=n.size;return(0,i.Vn)(e,{Directive:function(t){if(n.delete(t.name.value)&&(!r||!n.size))return i.$_}}),r?!n.size:n.size<o}function s(t){return t&&a(["client","export"],t,!0)}},74483:(t,e,r)=>{"use strict";r.d(e,{F:()=>a,Yk:()=>o,hi:()=>s});var n=r(50493),i=r(33438);function o(t,e){var r=e,o=[];return t.definitions.forEach((function(t){if("OperationDefinition"===t.kind)throw(0,i._K)(68,t.operation,t.name?" named '".concat(t.name.value,"'"):"");"FragmentDefinition"===t.kind&&o.push(t)})),void 0===r&&((0,i.kG)(1===o.length,69,o.length),r=o[0].name.value),(0,n.pi)((0,n.pi)({},t),{definitions:(0,n.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],t.definitions,!0)})}function a(t){void 0===t&&(t=[]);var e={};return t.forEach((function(t){e[t.name.value]=t})),e}function s(t,e){switch(t.kind){case"InlineFragment":return t;case"FragmentSpread":var r=t.name.value;if("function"==typeof e)return e(r);var n=e&&e[r];return(0,i.kG)(n,70,r),n||null;default:return null}}},67554:(t,e,r)=>{"use strict";r.d(e,{$H:()=>a,A$:()=>o,O4:()=>h,iW:()=>c,kU:()=>l,p$:()=>u,pD:()=>p,rY:()=>s});var n=r(33438),i=r(84319);function o(t){(0,n.kG)(t&&"Document"===t.kind,71);var e=t.definitions.filter((function(t){return"FragmentDefinition"!==t.kind})).map((function(t){if("OperationDefinition"!==t.kind)throw(0,n._K)(72,t.kind);return t}));return(0,n.kG)(e.length<=1,73,e.length),t}function a(t){return o(t),t.definitions.filter((function(t){return"OperationDefinition"===t.kind}))[0]}function s(t){return t.definitions.filter((function(t){return"OperationDefinition"===t.kind&&!!t.name})).map((function(t){return t.name.value}))[0]||null}function l(t){return t.definitions.filter((function(t){return"FragmentDefinition"===t.kind}))}function c(t){var e=a(t);return(0,n.kG)(e&&"query"===e.operation,74),e}function p(t){(0,n.kG)("Document"===t.kind,75),(0,n.kG)(t.definitions.length<=1,76);var e=t.definitions[0];return(0,n.kG)("FragmentDefinition"===e.kind,77),e}function u(t){var e;o(t);for(var r=0,i=t.definitions;r<i.length;r++){var a=i[r];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||e||(e=a)}if(e)return e;throw(0,n._K)(78)}function h(t){var e=Object.create(null),r=t&&t.variableDefinitions;return r&&r.length&&r.forEach((function(t){t.defaultValue&&(0,i.vb)(e,t.variable.name,t.defaultValue)})),e}},11315:(t,e,r)=>{"use strict";r.d(e,{S:()=>o});var n=r(54585),i=r(42860).mr?new WeakMap:void 0,o=function(t){var e;return(e=null==i?void 0:i.get(t))||(e=(0,n.S)(t),null==i||i.set(t,e)),e}},84319:(t,e,r)=>{"use strict";r.d(e,{Ao:()=>b,JW:()=>l,My:()=>v,NC:()=>m,PT:()=>h,Yk:()=>s,kQ:()=>a,qw:()=>y,u2:()=>g,vb:()=>c,vf:()=>p});var n=r(33438),i=r(32345),o=r(74483);function a(t){return{__ref:String(t)}}function s(t){return Boolean(t&&"object"==typeof t&&"string"==typeof t.__ref)}function l(t){return(0,i.s)(t)&&"Document"===t.kind&&Array.isArray(t.definitions)}function c(t,e,r,i){if(function(t){return"IntValue"===t.kind}(r)||function(t){return"FloatValue"===t.kind}(r))t[e.value]=Number(r.value);else if(function(t){return"BooleanValue"===t.kind}(r)||function(t){return"StringValue"===t.kind}(r))t[e.value]=r.value;else if(function(t){return"ObjectValue"===t.kind}(r)){var o={};r.fields.map((function(t){return c(o,t.name,t.value,i)})),t[e.value]=o}else if(function(t){return"Variable"===t.kind}(r)){var a=(i||{})[r.name.value];t[e.value]=a}else if(function(t){return"ListValue"===t.kind}(r))t[e.value]=r.values.map((function(t){var r={};return c(r,e,t,i),r[e.value]}));else if(function(t){return"EnumValue"===t.kind}(r))t[e.value]=r.value;else{if(!function(t){return"NullValue"===t.kind}(r))throw(0,n._K)(79,e.value,r.kind);t[e.value]=null}}function p(t,e){var r=null;t.directives&&(r={},t.directives.forEach((function(t){r[t.name.value]={},t.arguments&&t.arguments.forEach((function(n){var i=n.name,o=n.value;return c(r[t.name.value],i,o,e)}))})));var n=null;return t.arguments&&t.arguments.length&&(n={},t.arguments.forEach((function(t){var r=t.name,i=t.value;return c(n,r,i,e)}))),h(t.name.value,n,r)}var u=["connection","include","skip","client","rest","export","nonreactive"],h=Object.assign((function(t,e,r){if(e&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach((function(t){i[t]=e[t]})),"".concat(r.connection.key,"(").concat(d(i),")")}return r.connection.key}var o=t;if(e){var a=d(e);o+="(".concat(a,")")}return r&&Object.keys(r).forEach((function(t){-1===u.indexOf(t)&&(r[t]&&Object.keys(r[t]).length?o+="@".concat(t,"(").concat(d(r[t]),")"):o+="@".concat(t))})),o}),{setStringify:function(t){var e=d;return d=t,e}}),d=function(t){return JSON.stringify(t,f)};function f(t,e){return(0,i.s)(e)&&!Array.isArray(e)&&(e=Object.keys(e).sort().reduce((function(t,r){return t[r]=e[r],t}),{})),e}function m(t,e){if(t.arguments&&t.arguments.length){var r={};return t.arguments.forEach((function(t){var n=t.name,i=t.value;return c(r,n,i,e)})),r}return null}function g(t){return t.alias?t.alias.value:t.name.value}function y(t,e,r){for(var n,i=0,a=e.selections;i<a.length;i++)if(v(c=a[i])){if("__typename"===c.name.value)return t[g(c)]}else n?n.push(c):n=[c];if("string"==typeof t.__typename)return t.__typename;if(n)for(var s=0,l=n;s<l.length;s++){var c=l[s],p=y(t,(0,o.hi)(c,r).selectionSet,r);if("string"==typeof p)return p}}function v(t){return"Field"===t.kind}function b(t){return"InlineFragment"===t.kind}},10821:(t,e,r)=>{"use strict";r.d(e,{Gw:()=>g,aL:()=>y,bi:()=>m,ob:()=>v});var n=r(50493),i=r(33438),o=r(34627),a=r(9485),s=r(67554),l=r(84319),c=r(74483),p=r(41809),u={kind:o.Kind.FIELD,name:{kind:o.Kind.NAME,value:"__typename"}};function h(t,e){return!t||t.selectionSet.selections.every((function(t){return t.kind===o.Kind.FRAGMENT_SPREAD&&h(e[t.name.value],e)}))}function d(t){return h((0,s.$H)(t)||(0,s.pD)(t),(0,c.F)((0,s.kU)(t)))?null:t}function f(t){var e=new Map;return function(r){void 0===r&&(r=t);var n=e.get(r);return n||e.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function m(t,e){(0,s.A$)(e);for(var r=f(""),l=f(""),c=function(t){for(var e=0,n=void 0;e<t.length&&(n=t[e]);++e)if(!(0,p.k)(n)){if(n.kind===o.Kind.OPERATION_DEFINITION)return r(n.name&&n.name.value);if(n.kind===o.Kind.FRAGMENT_DEFINITION)return l(n.name.value)}return!1!==globalThis.__DEV__&&i.kG.error(80),null},u=0,h=e.definitions.length-1;h>=0;--h)e.definitions[h].kind===o.Kind.OPERATION_DEFINITION&&++u;var m,g,y,v=(m=t,g=new Map,y=new Map,m.forEach((function(t){t&&(t.name?g.set(t.name,t):t.test&&y.set(t.test,t))})),function(t){var e=g.get(t.name.value);return!e&&y.size&&y.forEach((function(r,n){n(t)&&(e=r)})),e}),b=function(t){return(0,p.O)(t)&&t.map(v).some((function(t){return t&&t.remove}))},x=new Map,w=!1,_={enter:function(t){if(b(t.directives))return w=!0,null}},E=(0,a.Vn)(e,{Field:_,InlineFragment:_,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(t,e,r,n,i){var o=c(i);o&&o.variables.add(t.name.value)}},FragmentSpread:{enter:function(t,e,r,n,i){if(b(t.directives))return w=!0,null;var o=c(i);o&&o.fragmentSpreads.add(t.name.value)}},FragmentDefinition:{enter:function(t,e,r,n){x.set(JSON.stringify(n),t)},leave:function(t,e,r,n){return t===x.get(JSON.stringify(n))?t:u>0&&t.selectionSet.selections.every((function(t){return t.kind===o.Kind.FIELD&&"__typename"===t.name.value}))?(l(t.name.value).removed=!0,w=!0,null):void 0}},Directive:{leave:function(t){if(v(t))return w=!0,null}}});if(!w)return e;var S=function(t){return t.transitiveVars||(t.transitiveVars=new Set(t.variables),t.removed||t.fragmentSpreads.forEach((function(e){S(l(e)).transitiveVars.forEach((function(e){t.transitiveVars.add(e)}))}))),t},k=new Set;E.definitions.forEach((function(t){t.kind===o.Kind.OPERATION_DEFINITION?S(r(t.name&&t.name.value)).fragmentSpreads.forEach((function(t){k.add(t)})):t.kind!==o.Kind.FRAGMENT_DEFINITION||0!==u||l(t.name.value).removed||k.add(t.name.value)})),k.forEach((function(t){S(l(t)).fragmentSpreads.forEach((function(t){k.add(t)}))}));var P={enter:function(t){if(e=t.name.value,!k.has(e)||l(e).removed)return null;var e}};return d((0,a.Vn)(E,{FragmentSpread:P,FragmentDefinition:P,OperationDefinition:{leave:function(t){if(t.variableDefinitions){var e=S(r(t.name&&t.name.value)).transitiveVars;if(e.size<t.variableDefinitions.length)return(0,n.pi)((0,n.pi)({},t),{variableDefinitions:t.variableDefinitions.filter((function(t){return e.has(t.variable.name.value)}))})}}}}))}var g=Object.assign((function(t){return(0,a.Vn)(t,{SelectionSet:{enter:function(t,e,r){if(!r||r.kind!==o.Kind.OPERATION_DEFINITION){var i=t.selections;if(i&&!i.some((function(t){return(0,l.My)(t)&&("__typename"===t.name.value||0===t.name.value.lastIndexOf("__",0))}))){var a=r;if(!((0,l.My)(a)&&a.directives&&a.directives.some((function(t){return"export"===t.name.value}))))return(0,n.pi)((0,n.pi)({},t),{selections:(0,n.ev)((0,n.ev)([],i,!0),[u],!1)})}}}}})}),{added:function(t){return t===u}});function y(t){return"query"===(0,s.p$)(t).operation?t:(0,a.Vn)(t,{OperationDefinition:{enter:function(t){return(0,n.pi)((0,n.pi)({},t),{operation:"query"})}}})}function v(t){return(0,s.A$)(t),m([{test:function(t){return"client"===t.name.value},remove:!0}],t)}},88249:(t,e,r)=>{"use strict";function n(t,e,r){var n=[];t.forEach((function(t){return t[e]&&n.push(t)})),n.forEach((function(t){return t[e](r)}))}r.d(e,{p:()=>n})},3243:(t,e,r)=>{"use strict";r.d(e,{D:()=>o});var n=r(64059),i=r(42860);function o(t){function e(e){Object.defineProperty(t,e,{value:n.y})}return i.aS&&Symbol.species&&e(Symbol.species),e("@@species"),t}},45369:(t,e,r)=>{"use strict";r.d(e,{i:()=>n});var n="3.8.3"},95485:(t,e,r)=>{"use strict";r.d(e,{g7:()=>c});var n=null,i={},o=1;function a(t){try{return t()}catch(t){}}var s="@wry/context:Slot",l=a((()=>globalThis))||a((()=>global))||Object.create(null),c=l[s]||Array[s]||function(t){try{Object.defineProperty(l,s,{value:t,enumerable:!1,writable:!1,configurable:!0})}finally{return t}}(class{constructor(){this.id=["slot",o++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(var t=n;t;t=t.parent)if(this.id in t.slots){var e=t.slots[this.id];if(e===i)break;return t!==n&&(n.slots[this.id]=e),!0}return n&&(n.slots[this.id]=i),!1}getValue(){if(this.hasValue())return n.slots[this.id]}withValue(t,e,r,i){var o={__proto__:null,[this.id]:t},a=n;n={parent:a,slots:o};try{return e.apply(i,r)}finally{n=a}}static bind(t){var e=n;return function(){var r=n;try{return n=e,t.apply(this,arguments)}finally{n=r}}}static noContext(t,e,r){if(!n)return t.apply(r,e);var i=n;try{return n=null,t.apply(r,e)}finally{n=i}}}),{bind:p,noContext:u}=c},16361:(t,e,r)=>{"use strict";r.d(e,{D:()=>s,Z:()=>l});var{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(t,e){try{return c(t,e)}finally{a.clear()}}const l=s;function c(t,e){if(t===e)return!0;var r,a,s,l=n.call(t);if(l!==n.call(e))return!1;switch(l){case"[object Array]":if(t.length!==e.length)return!1;case"[object Object]":if(d(t,e))return!0;var u=p(t),f=p(e),m=u.length;if(m!==f.length)return!1;for(var g=0;g<m;++g)if(!i.call(e,u[g]))return!1;for(var y=0;y<m;++y){var v=u[y];if(!c(t[v],e[v]))return!1}return!0;case"[object Error]":return t.name===e.name&&t.message===e.message;case"[object Number]":if(t!=t)return e!=e;case"[object Boolean]":case"[object Date]":return+t==+e;case"[object RegExp]":case"[object String]":return t=="".concat(e);case"[object Map]":case"[object Set]":if(t.size!==e.size)return!1;if(d(t,e))return!0;for(var b=t.entries(),x="[object Map]"===l;;){var w=b.next();if(w.done)break;var[_,E]=w.value;if(!e.has(_))return!1;if(x&&!c(E,e.get(_)))return!1}return!0;case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),e=new Uint8Array(e);case"[object DataView]":var S=t.byteLength;if(S===e.byteLength)for(;S--&&t[S]===e[S];);return-1===S;case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":var k=o.call(t);return k===o.call(e)&&(a=h,!((s=(r=k).length-a.length)>=0&&r.indexOf(a,s)===s))}return!1}function p(t){return Object.keys(t).filter(u,t)}function u(t){return void 0!==this[t]}var h="{ [native code] }";function d(t,e){var r=a.get(t);if(r){if(r.has(e))return!0}else a.set(t,r=new Set);return r.add(e),!1}},13426:(t,e,r)=>{"use strict";r.d(e,{B:()=>s});var n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;this.weakness=t,this.makeData=e}lookup(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.lookupArray(e)}lookupArray(t){var e=this;return i.call(t,(t=>e=e.getChildTrie(t))),a.call(e,"data")?e.data:e.data=this.makeData(o.call(t))}peek(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.peekArray(e)}peekArray(t){for(var e=this,r=0,n=t.length;e&&r<n;++r){var i=this.weakness&&l(t[r])?e.weak:e.strong;e=i&&i.get(t[r])}return e&&e.data}getChildTrie(t){var e=this.weakness&&l(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=e.get(t);return r||e.set(t,r=new s(this.weakness,this.makeData)),r}}function l(t){switch(typeof t){case"object":if(null===t)break;case"function":return!0}return!1}},1994:(t,e,r)=>{"use strict";r.d(e,{dP:()=>O,re:()=>I});var n=r(13426);function i(){}class o{constructor(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;this.max=t,this.dispose=e,this.map=new Map,this.newest=null,this.oldest=null}has(t){return this.map.has(t)}get(t){var e=this.getNode(t);return e&&e.value}getNode(t){var e=this.map.get(t);if(e&&e!==this.newest){var{older:r,newer:n}=e;n&&(n.older=r),r&&(r.newer=n),e.older=this.newest,e.older.newer=e,e.newer=null,this.newest=e,e===this.oldest&&(this.oldest=n)}return e}set(t,e){var r=this.getNode(t);return r?r.value=e:(r={key:t,value:e,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(t,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(t){var e=this.map.get(t);return!!e&&(e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.map.delete(t),this.dispose(e.value,t),!0)}}var a=new(r(95485).g7),{hasOwnProperty:s}=Object.prototype,l=Array.from||function(t){var e=[];return t.forEach((t=>e.push(t))),e};function c(t){var{unsubscribe:e}=t;"function"==typeof e&&(t.unsubscribe=void 0,e())}var p=[],u=100;function h(t,e){if(!t)throw new Error(e||"assertion failure")}function d(t){switch(t.length){case 0:throw new Error("unknown value");case 1:return t[0];case 2:throw t[1]}}class f{constructor(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++f.count}peek(){if(1===this.value.length&&!y(this))return m(this),this.value[0]}recompute(t){return h(!this.recomputing,"already recomputing"),m(this),y(this)?function(t,e){return S(t),a.withValue(t,g,[t,e]),function(t,e){if("function"==typeof t.subscribe)try{c(t),t.unsubscribe=t.subscribe.apply(null,e)}catch(e){return t.setDirty(),!1}return!0}(t,e)&&function(t){t.dirty=!1,y(t)||b(t)}(t),d(t.value)}(this,t):d(this.value)}setDirty(){this.dirty||(this.dirty=!0,this.value.length=0,v(this),c(this))}dispose(){this.setDirty(),S(this),x(this,((t,e)=>{t.setDirty(),k(t,this)}))}forget(){this.dispose()}dependOn(t){t.add(this),this.deps||(this.deps=p.pop()||new Set),this.deps.add(t)}forgetDeps(){this.deps&&(l(this.deps).forEach((t=>t.delete(this))),this.deps.clear(),p.push(this.deps),this.deps=null)}}function m(t){var e=a.getValue();if(e)return t.parents.add(e),e.childValues.has(t)||e.childValues.set(t,[]),y(t)?w(e,t):_(e,t),e}function g(t,e){t.recomputing=!0,t.value.length=0;try{t.value[0]=t.fn.apply(null,e)}catch(e){t.value[1]=e}t.recomputing=!1}function y(t){return t.dirty||!(!t.dirtyChildren||!t.dirtyChildren.size)}function v(t){x(t,w)}function b(t){x(t,_)}function x(t,e){var r=t.parents.size;if(r)for(var n=l(t.parents),i=0;i<r;++i)e(n[i],t)}function w(t,e){h(t.childValues.has(e)),h(y(e));var r=!y(t);if(t.dirtyChildren){if(t.dirtyChildren.has(e))return}else t.dirtyChildren=p.pop()||new Set;t.dirtyChildren.add(e),r&&v(t)}function _(t,e){h(t.childValues.has(e)),h(!y(e));var r,n,i,o=t.childValues.get(e);0===o.length?t.childValues.set(e,e.value.slice(0)):(r=o,n=e.value,(i=r.length)>0&&i===n.length&&r[i-1]===n[i-1]||t.setDirty()),E(t,e),y(t)||b(t)}function E(t,e){var r=t.dirtyChildren;r&&(r.delete(e),0===r.size&&(p.length<u&&p.push(r),t.dirtyChildren=null))}function S(t){t.childValues.size>0&&t.childValues.forEach(((e,r)=>{k(t,r)})),t.forgetDeps(),h(null===t.dirtyChildren)}function k(t,e){e.parents.delete(t),t.childValues.delete(e),E(t,e)}f.count=0;var P,A={setDirty:!0,dispose:!0,forget:!0};function O(t){var e=new Map,r=t&&t.subscribe;function n(t){var n=a.getValue();if(n){var i=e.get(t);i||e.set(t,i=new Set),n.dependOn(i),"function"==typeof r&&(c(i),i.unsubscribe=r(t))}}return n.dirty=function(t,r){var n=e.get(t);if(n){var i=r&&s.call(A,r)?r:"setDirty";l(n).forEach((t=>t[i]())),e.delete(t),c(n)}},n}function C(){for(var t=P||(P=new n.B("function"==typeof WeakMap)),e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return t.lookupArray(r)}var T=new Set;function I(t){var{max:e=Math.pow(2,16),makeCacheKey:r=C,keyArgs:n,subscribe:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.create(null),s=new o(e,(t=>t.dispose())),l=function(){var e=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===e)return t.apply(null,arguments);var o=s.get(e);o||(s.set(e,o=new f(t)),o.subscribe=i,o.forget=()=>s.delete(e));var l=o.recompute(Array.prototype.slice.call(arguments));return s.set(e,o),T.add(s),a.hasValue()||(T.forEach((t=>t.clean())),T.clear()),l};function c(t){var e=s.get(t);e&&e.setDirty()}function p(t){var e=s.get(t);if(e)return e.peek()}function u(t){return s.delete(t)}return Object.defineProperty(l,"size",{get:()=>s.map.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:e,makeCacheKey:r,keyArgs:n,subscribe:i}),l.dirtyKey=c,l.dirty=function(){c(r.apply(null,arguments))},l.peekKey=p,l.peek=function(){return p(r.apply(null,arguments))},l.forgetKey=u,l.forget=function(){return u(r.apply(null,arguments))},l.makeCacheKey=r,l.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(l)}},65385:(t,e,r)=>{"use strict";r.d(e,{U6:()=>d,ej:()=>l,kG:()=>c});var n=r(50493),i=r(51266),o="Invariant Violation",a=Object.setPrototypeOf,s=void 0===a?function(t,e){return t.__proto__=e,t}:a,l=function(t){function e(r){void 0===r&&(r=o);var n=t.call(this,"number"==typeof r?o+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=o,s(n,e.prototype),n}return(0,n.ZT)(e,t),e}(Error);function c(t,e){if(!t)throw new l(e)}var p=["debug","log","warn","error","silent"],u=p.indexOf("log");function h(t){return function(){if(p.indexOf(t)>=u)return(i[t]||i.log).apply(i,arguments)}}function d(t){var e=p[u];return u=Math.max(0,p.indexOf(t)),e}!function(t){t.debug=h("debug"),t.log=h("log"),t.warn=h("warn"),t.error=h("error")}(c||(c={}))},64059:(t,e,r)=>{"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}r.d(e,{y:()=>E});var a=function(){return"function"==typeof Symbol},s=function(t){return a()&&Boolean(Symbol[t])},l=function(t){return s(t)?Symbol[t]:"@@"+t};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var c=l("iterator"),p=l("observable"),u=l("species");function h(t,e){var r=t[e];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function d(t){var e=t.constructor;return void 0!==e&&null===(e=e[u])&&(e=void 0),void 0!==e?e:E}function f(t){return t instanceof E}function m(t){m.log?m.log(t):setTimeout((function(){throw t}))}function g(t){Promise.resolve().then((function(){try{t()}catch(t){m(t)}}))}function y(t){var e=t._cleanup;if(void 0!==e&&(t._cleanup=void 0,e))try{if("function"==typeof e)e();else{var r=h(e,"unsubscribe");r&&r.call(e)}}catch(t){m(t)}}function v(t){t._observer=void 0,t._queue=void 0,t._state="closed"}function b(t,e,r){t._state="running";var n=t._observer;try{var i=h(n,e);switch(e){case"next":i&&i.call(n,r);break;case"error":if(v(t),!i)throw r;i.call(n,r);break;case"complete":v(t),i&&i.call(n)}}catch(t){m(t)}"closed"===t._state?y(t):"running"===t._state&&(t._state="ready")}function x(t,e,r){if("closed"!==t._state){if("buffering"!==t._state)return"ready"!==t._state?(t._state="buffering",t._queue=[{type:e,value:r}],void g((function(){return function(t){var e=t._queue;if(e){t._queue=void 0,t._state="ready";for(var r=0;r<e.length&&(b(t,e[r].type,e[r].value),"closed"!==t._state);++r);}}(t)}))):void b(t,e,r);t._queue.push({type:e,value:r})}}var w=function(){function t(t,e){this._cleanup=void 0,this._observer=t,this._queue=void 0,this._state="initializing";var r=new _(this);try{this._cleanup=e.call(void 0,r)}catch(t){r.error(t)}"initializing"===this._state&&(this._state="ready")}return t.prototype.unsubscribe=function(){"closed"!==this._state&&(v(this),y(this))},o(t,[{key:"closed",get:function(){return"closed"===this._state}}]),t}(),_=function(){function t(t){this._subscription=t}var e=t.prototype;return e.next=function(t){x(this._subscription,"next",t)},e.error=function(t){x(this._subscription,"error",t)},e.complete=function(){x(this._subscription,"complete")},o(t,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),t}(),E=function(){function t(e){if(!(this instanceof t))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof e)throw new TypeError("Observable initializer must be a function");this._subscriber=e}var e=t.prototype;return e.subscribe=function(t){return"object"==typeof t&&null!==t||(t={next:t,error:arguments[1],complete:arguments[2]}),new w(t,this._subscriber)},e.forEach=function(t){var e=this;return new Promise((function(r,n){if("function"==typeof t)var i=e.subscribe({next:function(e){try{t(e,o)}catch(t){n(t),i.unsubscribe()}},error:n,complete:r});else n(new TypeError(t+" is not a function"));function o(){i.unsubscribe(),r()}}))},e.map=function(t){var e=this;if("function"!=typeof t)throw new TypeError(t+" is not a function");return new(d(this))((function(r){return e.subscribe({next:function(e){try{e=t(e)}catch(t){return r.error(t)}r.next(e)},error:function(t){r.error(t)},complete:function(){r.complete()}})}))},e.filter=function(t){var e=this;if("function"!=typeof t)throw new TypeError(t+" is not a function");return new(d(this))((function(r){return e.subscribe({next:function(e){try{if(!t(e))return}catch(t){return r.error(t)}r.next(e)},error:function(t){r.error(t)},complete:function(){r.complete()}})}))},e.reduce=function(t){var e=this;if("function"!=typeof t)throw new TypeError(t+" is not a function");var r=d(this),n=arguments.length>1,i=!1,o=arguments[1];return new r((function(r){return e.subscribe({next:function(e){var a=!i;if(i=!0,!a||n)try{o=t(o,e)}catch(t){return r.error(t)}else o=e},error:function(t){r.error(t)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(o),r.complete()}})}))},e.concat=function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=d(this);return new i((function(e){var n,o=0;return function t(a){n=a.subscribe({next:function(t){e.next(t)},error:function(t){e.error(t)},complete:function(){o===r.length?(n=void 0,e.complete()):t(i.from(r[o++]))}})}(t),function(){n&&(n.unsubscribe(),n=void 0)}}))},e.flatMap=function(t){var e=this;if("function"!=typeof t)throw new TypeError(t+" is not a function");var r=d(this);return new r((function(n){var i=[],o=e.subscribe({next:function(e){if(t)try{e=t(e)}catch(t){return n.error(t)}var o=r.from(e).subscribe({next:function(t){n.next(t)},error:function(t){n.error(t)},complete:function(){var t=i.indexOf(o);t>=0&&i.splice(t,1),a()}});i.push(o)},error:function(t){n.error(t)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach((function(t){return t.unsubscribe()})),o.unsubscribe()}}))},e[p]=function(){return this},t.from=function(e){var r="function"==typeof this?this:t;if(null==e)throw new TypeError(e+" is not an object");var i=h(e,p);if(i){var o=i.call(e);if(Object(o)!==o)throw new TypeError(o+" is not an object");return f(o)&&o.constructor===r?o:new r((function(t){return o.subscribe(t)}))}if(s("iterator")&&(i=h(e,c)))return new r((function(t){g((function(){if(!t.closed){for(var r,o=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(e));!(r=o()).done;){var a=r.value;if(t.next(a),t.closed)return}t.complete()}}))}));if(Array.isArray(e))return new r((function(t){g((function(){if(!t.closed){for(var r=0;r<e.length;++r)if(t.next(e[r]),t.closed)return;t.complete()}}))}));throw new TypeError(e+" is not observable")},t.of=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return new("function"==typeof this?this:t)((function(t){g((function(){if(!t.closed){for(var e=0;e<r.length;++e)if(t.next(r[e]),t.closed)return;t.complete()}}))}))},o(t,null,[{key:u,get:function(){return this}}]),t}();a()&&Object.defineProperty(E,Symbol("extensions"),{value:{symbol:p,hostReportError:m},configurable:!0})}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var r=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.amdO={},__webpack_require__.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=(t,e)=>{for(var r in e)__webpack_require__.o(e,r)&&!__webpack_require__.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),__webpack_require__.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var __webpack_exports__={};(()=>{"use strict";var t=__webpack_require__(50493),e=t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e):((t,e)=>{var{kind:r,elements:n}=e;return{kind:r,elements:n,finisher(e){customElements.define(t,e)}}})(t,e);function r(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function n(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){var r,i,o;r=t,i=e,o=n[e],(i=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(i))in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var i=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?n(n({},e),{},{finisher(r){r.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(r){r.createProperty(e.key,t)}},o=(t,e,r)=>{e.constructor.createProperty(r,t)};function a(t){return(e,r)=>void 0!==r?o(t,e,r):i(t,e)}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t){return a(l(l({},t),{},{state:!0}))}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var h,d=t=>{var{finisher:e,descriptor:r}=t;return(t,n)=>{var i;if(void 0===n){var o=null!==(i=t.originalKey)&&void 0!==i?i:t.key,a=null!=r?{kind:"method",placement:"prototype",key:o,descriptor:r(t.key)}:u(u({},t),{},{key:o});return null!=e&&(a.finisher=function(t){e(t,o)}),a}var s=t.constructor;void 0!==r&&Object.defineProperty(t,n,r(n)),null==e||e(s,n)}};function f(t){return d({finisher:(e,r)=>{Object.assign(e.prototype[r],t)}})}function m(t,e){return d({descriptor:r=>{var n={get(){var e,r;return null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null},enumerable:!0,configurable:!0};if(e){var i="symbol"==typeof r?Symbol():"__"+r;n.get=function(){var e,r;return void 0===this[i]&&(this[i]=null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null),this[i]}}return n}})}function g(t,e,r,n,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,i)}function y(t){return d({descriptor:e=>({get(){var e=this;return function(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){g(o,n,i,a,s,"next",t)}function s(t){g(o,n,i,a,s,"throw",t)}a(void 0)}))}}((function*(){var r;return yield e.updateComplete,null===(r=e.renderRoot)||void 0===r?void 0:r.querySelector(t)}))()},enumerable:!0,configurable:!0})})}null===(h=window.HTMLSlotElement)||void 0===h||h.prototype.assignedElements;var v=window,b=v.ShadowRoot&&(void 0===v.ShadyCSS||v.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,x=Symbol(),w=new WeakMap;class _{constructor(t,e,r){if(this._$cssResult$=!0,r!==x)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){var t=this.o,e=this.t;if(b&&void 0===t){var r=void 0!==e&&1===e.length;r&&(t=w.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&w.set(e,t))}return t}toString(){return this.cssText}}var E,S=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var i=1===t.length?t[0]:r.reduce(((e,r,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[n+1]),t[0]);return new _(i,t,x)},k=b?t=>t:t=>t instanceof CSSStyleSheet?(t=>{var e="";for(var r of t.cssRules)e+=r.cssText;return(t=>new _("string"==typeof t?t:t+"",void 0,x))(e)})(t):t;function P(t,e,r,n,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,i)}var A,O=window,C=O.trustedTypes,T=C?C.emptyScript:"",I=O.reactiveElementPolyfillSupport,D={toAttribute(t,e){switch(e){case Boolean:t=t?T:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){var r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},F=(t,e)=>e!==t&&(e==e||t==t),R={attribute:!0,type:String,converter:D,reflect:!1,hasChanged:F},M="finalized";class j extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();var t=[];return this.elementProperties.forEach(((e,r)=>{var n=this._$Ep(r,e);void 0!==n&&(this._$Ev.set(n,r),t.push(n))})),t}static createProperty(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var r="symbol"==typeof t?Symbol():"__"+t,n=this.getPropertyDescriptor(t,r,e);void 0!==n&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,e,r){return{get(){return this[e]},set(n){var i=this[t];this[e]=n,this.requestUpdate(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||R}static finalize(){if(this.hasOwnProperty(M))return!1;this[M]=!0;var t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){var e=this.properties,r=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(var n of r)this.createProperty(n,e[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){var e=[];if(Array.isArray(t)){var r=new Set(t.flat(1/0).reverse());for(var n of r)e.unshift(k(n))}else void 0!==t&&e.push(k(t));return e}static _$Ep(t,e){var r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,r;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(r=t.hostConnected)||void 0===r||r.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t,e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{b?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{var r=document.createElement("style"),n=v.litNonce;void 0!==n&&r.setAttribute("nonce",n),r.textContent=e.cssText,t.appendChild(r)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EO(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R,i=this.constructor._$Ep(t,n);if(void 0!==i&&!0===n.reflect){var o=(void 0!==(null===(r=n.converter)||void 0===r?void 0:r.toAttribute)?n.converter:D).toAttribute(e,n.type);this._$El=t,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._$El=null}}_$AK(t,e){var r,n=this.constructor,i=n._$Ev.get(t);if(void 0!==i&&this._$El!==i){var o=n.getPropertyOptions(i),a="function"==typeof o.converter?{fromAttribute:o.converter}:void 0!==(null===(r=o.converter)||void 0===r?void 0:r.fromAttribute)?o.converter:D;this._$El=i,this[i]=a.fromAttribute(e,o.type),this._$El=null}}requestUpdate(t,e,r){var n=!0;void 0!==t&&(((r=r||this.constructor.getPropertyOptions(t)).hasChanged||F)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,r))):n=!1),!this.isUpdatePending&&n&&(this._$E_=this._$Ej())}_$Ej(){var t=this;return function(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){P(o,n,i,a,s,"next",t)}function s(t){P(o,n,i,a,s,"throw",t)}a(void 0)}))}}((function*(){t.isUpdatePending=!0;try{yield t._$E_}catch(e){Promise.reject(e)}var e=t.scheduleUpdate();return null!=e&&(yield e),!t.isUpdatePending}))()}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(this.isUpdatePending){this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);var e=!1,r=this._$AL;try{(e=this.shouldUpdate(r))?(this.willUpdate(r),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(r)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(r)}}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}j[M]=!0,j.elementProperties=new Map,j.elementStyles=[],j.shadowRootOptions={mode:"open"},null==I||I({ReactiveElement:j}),(null!==(E=O.reactiveElementVersions)&&void 0!==E?E:O.reactiveElementVersions=[]).push("1.6.3");var L=window,N=L.trustedTypes,B=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,V="$lit$",z="lit$".concat((Math.random()+"").slice(9),"$"),q="?"+z,G="<".concat(q,">"),U=document,H=()=>U.createComment(""),$=t=>null===t||"object"!=typeof t&&"function"!=typeof t,W=Array.isArray,Q=t=>W(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),K="[ \t\n\f\r]",Y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,J=/-->/g,X=/>/g,Z=RegExp(">|".concat(K,"(?:([^\\s\"'>=/]+)(").concat(K,"*=").concat(K,"*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),tt=/'/g,et=/"/g,rt=/^(?:script|style|textarea|title)$/i,nt=t=>function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return{_$litType$:t,strings:e,values:n}},it=nt(1),ot=(nt(2),Symbol.for("lit-noChange")),at=Symbol.for("lit-nothing"),st=new WeakMap,lt=U.createTreeWalker(U,129,null,!1);function ct(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==B?B.createHTML(e):e}var pt=(t,e)=>{for(var r,n=t.length-1,i=[],o=2===e?"<svg>":"",a=Y,s=0;s<n;s++){for(var l=t[s],c=void 0,p=void 0,u=-1,h=0;h<l.length&&(a.lastIndex=h,null!==(p=a.exec(l)));)h=a.lastIndex,a===Y?"!--"===p[1]?a=J:void 0!==p[1]?a=X:void 0!==p[2]?(rt.test(p[2])&&(r=RegExp("</"+p[2],"g")),a=Z):void 0!==p[3]&&(a=Z):a===Z?">"===p[0]?(a=null!=r?r:Y,u=-1):void 0===p[1]?u=-2:(u=a.lastIndex-p[2].length,c=p[1],a=void 0===p[3]?Z:'"'===p[3]?et:tt):a===et||a===tt?a=Z:a===J||a===X?a=Y:(a=Z,r=void 0);var d=a===Z&&t[s+1].startsWith("/>")?" ":"";o+=a===Y?l+G:u>=0?(i.push(c),l.slice(0,u)+V+l.slice(u)+z+d):l+z+(-2===u?(i.push(void 0),s):d)}return[ct(t,o+(t[n]||"<?>")+(2===e?"</svg>":"")),i]};class ut{constructor(t,e){var r,{strings:n,_$litType$:i}=t;this.parts=[];var o=0,a=0,s=n.length-1,l=this.parts,[c,p]=pt(n,i);if(this.el=ut.createElement(c,e),lt.currentNode=this.el.content,2===i){var u=this.el.content,h=u.firstChild;h.remove(),u.append(...h.childNodes)}for(;null!==(r=lt.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes()){var d=[];for(var f of r.getAttributeNames())if(f.endsWith(V)||f.startsWith(z)){var m=p[a++];if(d.push(f),void 0!==m){var g=r.getAttribute(m.toLowerCase()+V).split(z),y=/([.?@])?(.*)/.exec(m);l.push({type:1,index:o,name:y[2],strings:g,ctor:"."===y[1]?gt:"?"===y[1]?vt:"@"===y[1]?bt:mt})}else l.push({type:6,index:o})}for(var v of d)r.removeAttribute(v)}if(rt.test(r.tagName)){var b=r.textContent.split(z),x=b.length-1;if(x>0){r.textContent=N?N.emptyScript:"";for(var w=0;w<x;w++)r.append(b[w],H()),lt.nextNode(),l.push({type:2,index:++o});r.append(b[x],H())}}}else if(8===r.nodeType)if(r.data===q)l.push({type:2,index:o});else for(var _=-1;-1!==(_=r.data.indexOf(z,_+1));)l.push({type:7,index:o}),_+=z.length-1;o++}}static createElement(t,e){var r=U.createElement("template");return r.innerHTML=t,r}}function ht(t,e){var r,n,i,o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,s=arguments.length>3?arguments[3]:void 0;if(e===ot)return e;var l=void 0!==s?null===(r=a._$Co)||void 0===r?void 0:r[s]:a._$Cl,c=$(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(t))._$AT(t,a,s),void 0!==s?(null!==(i=(o=a)._$Co)&&void 0!==i?i:o._$Co=[])[s]=l:a._$Cl=l),void 0!==l&&(e=ht(t,l._$AS(t,e.values),l,s)),e}class dt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e,{el:{content:r},parts:n}=this._$AD,i=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:U).importNode(r,!0);lt.currentNode=i;for(var o=lt.nextNode(),a=0,s=0,l=n[0];void 0!==l;){if(a===l.index){var c=void 0;2===l.type?c=new ft(o,o.nextSibling,this,t):1===l.type?c=new l.ctor(o,l.name,l.strings,this,t):6===l.type&&(c=new xt(o,this,t)),this._$AV.push(c),l=n[++s]}a!==(null==l?void 0:l.index)&&(o=lt.nextNode(),a++)}return lt.currentNode=U,i}v(t){var e=0;for(var r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class ft{constructor(t,e,r,n){var i;this.type=2,this._$AH=at,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=n,this._$Cp=null===(i=null==n?void 0:n.isConnected)||void 0===i||i}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){var t=this._$AA.parentNode,e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t){t=ht(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),$(t)?t===at||null==t||""===t?(this._$AH!==at&&this._$AR(),this._$AH=at):t!==this._$AH&&t!==ot&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Q(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==at&&$(this._$AH)?this._$AA.nextSibling.data=t:this.$(U.createTextNode(t)),this._$AH=t}g(t){var e,{values:r,_$litType$:n}=t,i="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=ut.createElement(ct(n.h,n.h[0]),this.options)),n);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===i)this._$AH.v(r);else{var o=new dt(i,this),a=o.u(this.options);o.v(r),this.$(a),this._$AH=o}}_$AC(t){var e=st.get(t.strings);return void 0===e&&st.set(t.strings,e=new ut(t)),e}T(t){W(this._$AH)||(this._$AH=[],this._$AR());var e,r=this._$AH,n=0;for(var i of t)n===r.length?r.push(e=new ft(this.k(H()),this.k(H()),this,this.options)):e=r[n],e._$AI(i),n++;n<r.length&&(this._$AR(e&&e._$AB.nextSibling,n),r.length=n)}_$AR(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,r=arguments.length>1?arguments[1]:void 0;for(null===(t=this._$AP)||void 0===t||t.call(this,!1,!0,r);e&&e!==this._$AB;){var n=e.nextSibling;e.remove(),e=n}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class mt{constructor(t,e,r,n,i){this.type=1,this._$AH=at,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=i,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=at}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=this.strings,o=!1;if(void 0===i)t=ht(this,t,e,0),(o=!$(t)||t!==this._$AH&&t!==ot)&&(this._$AH=t);else{var a,s,l=t;for(t=i[0],a=0;a<i.length-1;a++)(s=ht(this,l[r+a],e,a))===ot&&(s=this._$AH[a]),o||(o=!$(s)||s!==this._$AH[a]),s===at?t=at:t!==at&&(t+=(null!=s?s:"")+i[a+1]),this._$AH[a]=s}o&&!n&&this.j(t)}j(t){t===at?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class gt extends mt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===at?void 0:t}}var yt=N?N.emptyScript:"";class vt extends mt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==at?this.element.setAttribute(this.name,yt):this.element.removeAttribute(this.name)}}class bt extends mt{constructor(t,e,r,n,i){super(t,e,r,n,i),this.type=5}_$AI(t){var e;if((t=null!==(e=ht(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,0))&&void 0!==e?e:at)!==ot){var r=this._$AH,n=t===at&&r!==at||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,i=t!==at&&(r===at||n);n&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}}handleEvent(t){var e,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==r?r:this.element,t):this._$AH.handleEvent(t)}}class xt{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){ht(this,t)}}var wt={O:V,P:z,A:q,C:1,M:pt,L:dt,R:Q,D:ht,I:ft,V:mt,H:vt,N:bt,U:gt,F:xt},_t=L.litHtmlPolyfillSupport;null==_t||_t(ut,ft),(null!==(A=L.litHtmlVersions)&&void 0!==A?A:L.litHtmlVersions=[]).push("2.8.0");var Et,St,kt=(t,e,r)=>{var n,i,o=null!==(n=null==r?void 0:r.renderBefore)&&void 0!==n?n:e,a=o._$litPart$;if(void 0===a){var s=null!==(i=null==r?void 0:r.renderBefore)&&void 0!==i?i:null;o._$litPart$=a=new ft(e.insertBefore(H(),s),s,void 0,null!=r?r:{})}return a._$AI(t),a};class Pt extends j{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e,r=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=r.firstChild),r}update(t){var e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=kt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return ot}}Pt.finalized=!0,Pt._$litElement$=!0,null===(Et=globalThis.litElementHydrateSupport)||void 0===Et||Et.call(globalThis,{LitElement:Pt});var At,Ot=globalThis.litElementPolyfillSupport;null==Ot||Ot({LitElement:Pt}),(null!==(St=globalThis.litElementVersions)&&void 0!==St?St:globalThis.litElementVersions=[]).push("3.3.3");var Ct,Tt=S(At||(At=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}([':host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}']))),It=class extends Pt{render(){return it(Ct||(Ct=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["<span><slot></slot></span>"])))}};It.styles=[Tt],It=(0,t.gn)([e("mwc-icon")],It);var Dt=()=>{},Ft={get passive(){return!1}};document.addEventListener("x",Dt,Ft),document.removeEventListener("x",Dt);class Rt extends Pt{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}var Mt=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}(),jt={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},Lt={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},Nt={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300},Bt=["touchstart","pointerdown","mousedown","keydown"],Vt=["touchend","pointerup","mouseup","contextmenu"],zt=[],qt=function(e){function r(n){var i=e.call(this,(0,t.pi)((0,t.pi)({},r.defaultAdapter),n))||this;return i.activationAnimationHasEnded=!1,i.activationTimer=0,i.fgDeactivationRemovalTimer=0,i.fgScale="0",i.frame={width:0,height:0},i.initialSize=0,i.layoutFrame=0,i.maxRadius=0,i.unboundedCoords={left:0,top:0},i.activationState=i.defaultActivationState(),i.activationTimerCallback=function(){i.activationAnimationHasEnded=!0,i.runDeactivationUXLogicIfReady()},i.activateHandler=function(t){i.activateImpl(t)},i.deactivateHandler=function(){i.deactivateImpl()},i.focusHandler=function(){i.handleFocus()},i.blurHandler=function(){i.handleBlur()},i.resizeHandler=function(){i.layout()},i}return(0,t.ZT)(r,e),Object.defineProperty(r,"cssClasses",{get:function(){return jt},enumerable:!1,configurable:!0}),Object.defineProperty(r,"strings",{get:function(){return Lt},enumerable:!1,configurable:!0}),Object.defineProperty(r,"numbers",{get:function(){return Nt},enumerable:!1,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),r.prototype.init=function(){var t=this,e=this.supportsPressRipple();if(this.registerRootHandlers(e),e){var n=r.cssClasses,i=n.ROOT,o=n.UNBOUNDED;requestAnimationFrame((function(){t.adapter.addClass(i),t.adapter.isUnbounded()&&(t.adapter.addClass(o),t.layoutInternal())}))}},r.prototype.destroy=function(){var t=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(r.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(r.cssClasses.FG_DEACTIVATION));var e=r.cssClasses,n=e.ROOT,i=e.UNBOUNDED;requestAnimationFrame((function(){t.adapter.removeClass(n),t.adapter.removeClass(i),t.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},r.prototype.activate=function(t){this.activateImpl(t)},r.prototype.deactivate=function(){this.deactivateImpl()},r.prototype.layout=function(){var t=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){t.layoutInternal(),t.layoutFrame=0}))},r.prototype.setUnbounded=function(t){var e=r.cssClasses.UNBOUNDED;t?this.adapter.addClass(e):this.adapter.removeClass(e)},r.prototype.handleFocus=function(){var t=this;requestAnimationFrame((function(){return t.adapter.addClass(r.cssClasses.BG_FOCUSED)}))},r.prototype.handleBlur=function(){var t=this;requestAnimationFrame((function(){return t.adapter.removeClass(r.cssClasses.BG_FOCUSED)}))},r.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},r.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},r.prototype.registerRootHandlers=function(e){var r,n;if(e){try{for(var i=(0,t.XA)(Bt),o=i.next();!o.done;o=i.next()){var a=o.value;this.adapter.registerInteractionHandler(a,this.activateHandler)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},r.prototype.registerDeactivationHandlers=function(e){var r,n;if("keydown"===e.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var i=(0,t.XA)(Vt),o=i.next();!o.done;o=i.next()){var a=o.value;this.adapter.registerDocumentInteractionHandler(a,this.deactivateHandler)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},r.prototype.deregisterRootHandlers=function(){var e,r;try{for(var n=(0,t.XA)(Bt),i=n.next();!i.done;i=n.next()){var o=i.value;this.adapter.deregisterInteractionHandler(o,this.activateHandler)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},r.prototype.deregisterDeactivationHandlers=function(){var e,r;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var n=(0,t.XA)(Vt),i=n.next();!i.done;i=n.next()){var o=i.value;this.adapter.deregisterDocumentInteractionHandler(o,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},r.prototype.removeCssVars=function(){var t=this,e=r.strings;Object.keys(e).forEach((function(r){0===r.indexOf("VAR_")&&t.adapter.updateCssVariable(e[r],null)}))},r.prototype.activateImpl=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var r=this.activationState;if(!r.isActivated){var n=this.previousActivationEvent;n&&void 0!==t&&n.type!==t.type||(r.isActivated=!0,r.isProgrammatic=void 0===t,r.activationEvent=t,r.wasActivatedByPointer=!r.isProgrammatic&&void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type),void 0!==t&&zt.length>0&&zt.some((function(t){return e.adapter.containsEventTarget(t)}))?this.resetActivationState():(void 0!==t&&(zt.push(t.target),this.registerDeactivationHandlers(t)),r.wasElementMadeActive=this.checkElementMadeActive(t),r.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){zt=[],r.wasElementMadeActive||void 0===t||" "!==t.key&&32!==t.keyCode||(r.wasElementMadeActive=e.checkElementMadeActive(t),r.wasElementMadeActive&&e.animateActivation()),r.wasElementMadeActive||(e.activationState=e.defaultActivationState())}))))}}},r.prototype.checkElementMadeActive=function(t){return void 0===t||"keydown"!==t.type||this.adapter.isSurfaceActive()},r.prototype.animateActivation=function(){var t=this,e=r.strings,n=e.VAR_FG_TRANSLATE_START,i=e.VAR_FG_TRANSLATE_END,o=r.cssClasses,a=o.FG_DEACTIVATION,s=o.FG_ACTIVATION,l=r.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var c="",p="";if(!this.adapter.isUnbounded()){var u=this.getFgTranslationCoordinates(),h=u.startPoint,d=u.endPoint;c=h.x+"px, "+h.y+"px",p=d.x+"px, "+d.y+"px"}this.adapter.updateCssVariable(n,c),this.adapter.updateCssVariable(i,p),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(a),this.adapter.computeBoundingRect(),this.adapter.addClass(s),this.activationTimer=setTimeout((function(){t.activationTimerCallback()}),l)},r.prototype.getFgTranslationCoordinates=function(){var t,e=this.activationState,r=e.activationEvent;return t=e.wasActivatedByPointer?function(t,e,r){if(!t)return{x:0,y:0};var n,i,o=e.x,a=e.y,s=o+r.left,l=a+r.top;if("touchstart"===t.type){var c=t;n=c.changedTouches[0].pageX-s,i=c.changedTouches[0].pageY-l}else{var p=t;n=p.pageX-s,i=p.pageY-l}return{x:n,y:i}}(r,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2},{startPoint:t={x:t.x-this.initialSize/2,y:t.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},r.prototype.runDeactivationUXLogicIfReady=function(){var t=this,e=r.cssClasses.FG_DEACTIVATION,n=this.activationState,i=n.hasDeactivationUXRun,o=n.isActivated;(i||!o)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(e),this.fgDeactivationRemovalTimer=setTimeout((function(){t.adapter.removeClass(e)}),Nt.FG_DEACTIVATION_MS))},r.prototype.rmBoundedActivationClasses=function(){var t=r.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},r.prototype.resetActivationState=function(){var t=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return t.previousActivationEvent=void 0}),r.numbers.TAP_DELAY_MS)},r.prototype.deactivateImpl=function(){var e=this,r=this.activationState;if(r.isActivated){var n=(0,t.pi)({},r);r.isProgrammatic?(requestAnimationFrame((function(){e.animateDeactivation(n)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(n),e.resetActivationState()})))}},r.prototype.animateDeactivation=function(t){var e=t.wasActivatedByPointer,r=t.wasElementMadeActive;(e||r)&&this.runDeactivationUXLogicIfReady()},r.prototype.layoutInternal=function(){this.frame=this.adapter.computeBoundingRect();var t=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?t:Math.sqrt(Math.pow(this.frame.width,2)+Math.pow(this.frame.height,2))+r.numbers.PADDING;var e=Math.floor(t*r.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&e%2!=0?this.initialSize=e-1:this.initialSize=e,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},r.prototype.updateLayoutCssVars=function(){var t=r.strings,e=t.VAR_FG_SIZE,n=t.VAR_LEFT,i=t.VAR_TOP,o=t.VAR_FG_SCALE;this.adapter.updateCssVariable(e,this.initialSize+"px"),this.adapter.updateCssVariable(o,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(n,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(i,this.unboundedCoords.top+"px"))},r}(Mt);const Gt=qt;var Ut=t=>function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return{_$litDirective$:t,values:r}};class Ht{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,r){this._$Ct=t,this._$AM=e,this._$Ci=r}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}var $t,Wt,Qt=Ut(class extends Ht{constructor(t){var e;if(super(t),1!==t.type||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,e){var r,n,[i]=e;if(void 0===this.it){for(var o in this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t)))),i)i[o]&&!(null===(r=this.nt)||void 0===r?void 0:r.has(o))&&this.it.add(o);return this.render(i)}var a=t.element.classList;for(var s in this.it.forEach((t=>{t in i||(a.remove(t),this.it.delete(t))})),i){var l=!!i[s];l===this.it.has(s)||(null===(n=this.nt)||void 0===n?void 0:n.has(s))||(l?(a.add(s),this.it.add(s)):(a.remove(s),this.it.delete(s)))}return ot}}),Kt="important",Yt=" !"+Kt,Jt=Ut(class extends Ht{constructor(t){var e;if(super(t),1!==t.type||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{var n=t[r];return null==n?e:e+"".concat(r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase(),":").concat(n,";")}),"")}update(t,e){var[r]=e,{style:n}=t.element;if(void 0===this.ht){for(var i in this.ht=new Set,r)this.ht.add(i);return this.render(r)}for(var o in this.ht.forEach((t=>{null==r[t]&&(this.ht.delete(t),t.includes("-")?n.removeProperty(t):n[t]="")})),r){var a=r[o];if(null!=a){this.ht.add(o);var s="string"==typeof a&&a.endsWith(Yt);o.includes("-")||s?n.setProperty(o,s?a.slice(0,-11):a,s?Kt:""):n[o]=a}}return ot}});class Xt extends Rt{constructor(){super(...arguments),this.primary=!1,this.accent=!1,this.unbounded=!1,this.disabled=!1,this.activated=!1,this.selected=!1,this.internalUseStateLayerCustomProperties=!1,this.hovering=!1,this.bgFocused=!1,this.fgActivation=!1,this.fgDeactivation=!1,this.fgScale="",this.fgSize="",this.translateStart="",this.translateEnd="",this.leftPos="",this.topPos="",this.mdcFoundationClass=Gt}get isActive(){return t=this.parentElement||this,e=":active",(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e);var t,e}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0}},removeClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(t,e)=>{switch(t){case"--mdc-ripple-fg-scale":this.fgScale=e;break;case"--mdc-ripple-fg-size":this.fgSize=e;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=e;break;case"--mdc-ripple-fg-translate-start":this.translateStart=e;break;case"--mdc-ripple-left":this.leftPos=e;break;case"--mdc-ripple-top":this.topPos=e}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(t){this.waitForFoundation((()=>{this.mdcFoundation.activate(t)}))}endPress(){this.waitForFoundation((()=>{this.mdcFoundation.deactivate()}))}startFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleFocus()}))}endFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleBlur()}))}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(t){this.mdcFoundation?t():this.updateComplete.then(t)}update(t){t.has("disabled")&&this.disabled&&this.endHover(),super.update(t)}render(){var t=this.activated&&(this.primary||!this.accent),e=this.selected&&(this.primary||!this.accent),r={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":t,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":e,"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.hovering,"mdc-ripple-surface--primary":this.primary,"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties};return it($t||($t=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(['\n <div class="mdc-ripple-surface mdc-ripple-upgraded ','"\n style="','"></div>'])),Qt(r),Jt({"--mdc-ripple-fg-scale":this.fgScale,"--mdc-ripple-fg-size":this.fgSize,"--mdc-ripple-fg-translate-end":this.translateEnd,"--mdc-ripple-fg-translate-start":this.translateStart,"--mdc-ripple-left":this.leftPos,"--mdc-ripple-top":this.topPos}))}}(0,t.gn)([m(".mdc-ripple-surface")],Xt.prototype,"mdcRoot",void 0),(0,t.gn)([a({type:Boolean})],Xt.prototype,"primary",void 0),(0,t.gn)([a({type:Boolean})],Xt.prototype,"accent",void 0),(0,t.gn)([a({type:Boolean})],Xt.prototype,"unbounded",void 0),(0,t.gn)([a({type:Boolean})],Xt.prototype,"disabled",void 0),(0,t.gn)([a({type:Boolean})],Xt.prototype,"activated",void 0),(0,t.gn)([a({type:Boolean})],Xt.prototype,"selected",void 0),(0,t.gn)([a({type:Boolean})],Xt.prototype,"internalUseStateLayerCustomProperties",void 0),(0,t.gn)([c()],Xt.prototype,"hovering",void 0),(0,t.gn)([c()],Xt.prototype,"bgFocused",void 0),(0,t.gn)([c()],Xt.prototype,"fgActivation",void 0),(0,t.gn)([c()],Xt.prototype,"fgDeactivation",void 0),(0,t.gn)([c()],Xt.prototype,"fgScale",void 0),(0,t.gn)([c()],Xt.prototype,"fgSize",void 0),(0,t.gn)([c()],Xt.prototype,"translateStart",void 0),(0,t.gn)([c()],Xt.prototype,"translateEnd",void 0),(0,t.gn)([c()],Xt.prototype,"leftPos",void 0),(0,t.gn)([c()],Xt.prototype,"topPos",void 0);var Zt=S(Wt||(Wt=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(['.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-upgraded--unbounded::before,.mdc-ripple-upgraded--unbounded::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover::before,.mdc-ripple-surface.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;display:block}:host .mdc-ripple-surface{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;will-change:unset}.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary:hover::before,.mdc-ripple-surface--primary.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before,.mdc-ripple-surface--primary--activated::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--activated:hover::before,.mdc-ripple-surface--primary--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--primary--selected::before,.mdc-ripple-surface--primary--selected::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--selected:hover::before,.mdc-ripple-surface--primary--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent:hover::before,.mdc-ripple-surface--accent.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before,.mdc-ripple-surface--accent--activated::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--activated:hover::before,.mdc-ripple-surface--accent--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--accent--selected::before,.mdc-ripple-surface--accent--selected::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--selected:hover::before,.mdc-ripple-surface--accent--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--disabled{opacity:0}.mdc-ripple-surface--internal-use-state-layer-custom-properties::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties::after{background-color:#000;background-color:var(--mdc-ripple-hover-state-layer-color, #000)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:hover::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-state-layer-opacity, 0.04)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}']))),te=class extends Xt{};function ee(t,e,r){if(void 0!==e)return function(t,e,r){var n=t.constructor;if(!r){var i="__".concat(e);if(!(r=n.getPropertyDescriptor(e,i)))throw new Error("@ariaProperty must be used after a @property decorator")}var o=r,a="";if(!o.set)throw new Error("@ariaProperty requires a setter for ".concat(e));if(t.dispatchWizEvent)return r;var s={configurable:!0,enumerable:!0,set(t){if(""===a){var r=n.getPropertyOptions(e);a="string"==typeof r.attribute?r.attribute:e}this.hasAttribute(a)&&this.removeAttribute(a),o.set.call(this,t)}};return o.get&&(s.get=function(){return o.get.call(this)}),s}(t,e,r);throw new Error("@ariaProperty only supports TypeScript Decorators")}te.styles=[Zt],te=(0,t.gn)([e("mwc-ripple")],te);class re{constructor(t){this.startPress=e=>{t().then((t=>{t&&t.startPress(e)}))},this.endPress=()=>{t().then((t=>{t&&t.endPress()}))},this.startFocus=()=>{t().then((t=>{t&&t.startFocus()}))},this.endFocus=()=>{t().then((t=>{t&&t.endFocus()}))},this.startHover=()=>{t().then((t=>{t&&t.startHover()}))},this.endHover=()=>{t().then((t=>{t&&t.endHover()}))}}}var ne,ie,oe,ae,se,le=t=>null!=t?t:at;function ce(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}class pe extends Pt{constructor(){super(...arguments),this.raised=!1,this.unelevated=!1,this.outlined=!1,this.dense=!1,this.disabled=!1,this.trailingIcon=!1,this.fullwidth=!1,this.icon="",this.label="",this.expandContent=!1,this.shouldRenderRipple=!1,this.rippleHandlers=new re((()=>(this.shouldRenderRipple=!0,this.ripple)))}renderOverlay(){return it(ne||(ne=ce([""])))}renderRipple(){var t=this.raised||this.unelevated;return this.shouldRenderRipple?it(ie||(ie=ce(['<mwc-ripple class="ripple" .primary="','" .disabled="','"></mwc-ripple>'])),!t,this.disabled):""}focus(){var t=this.buttonElement;t&&(this.rippleHandlers.startFocus(),t.focus())}blur(){var t=this.buttonElement;t&&(this.rippleHandlers.endFocus(),t.blur())}getRenderClasses(){return{"mdc-button--raised":this.raised,"mdc-button--unelevated":this.unelevated,"mdc-button--outlined":this.outlined,"mdc-button--dense":this.dense}}render(){return it(oe||(oe=ce(['\n <button\n id="button"\n class="mdc-button ','"\n ?disabled="','"\n aria-label="','"\n aria-haspopup="','"\n @focus="','"\n @blur="','"\n @mousedown="','"\n @mouseenter="','"\n @mouseleave="','"\n @touchstart="','"\n @touchend="','"\n @touchcancel="','">\n ',"\n ",'\n <span class="leading-icon">\n <slot name="icon">\n ','\n </slot>\n </span>\n <span class="mdc-button__label">','</span>\n <span class="slot-container ','">\n <slot></slot>\n </span>\n <span class="trailing-icon">\n <slot name="trailingIcon">\n ',"\n </slot>\n </span>\n </button>"])),Qt(this.getRenderClasses()),this.disabled,this.label||this.icon,le(this.ariaHasPopup),this.handleRippleFocus,this.handleRippleBlur,this.handleRippleActivate,this.handleRippleMouseEnter,this.handleRippleMouseLeave,this.handleRippleActivate,this.handleRippleDeactivate,this.handleRippleDeactivate,this.renderOverlay(),this.renderRipple(),this.icon&&!this.trailingIcon?this.renderIcon():"",this.label,Qt({flex:this.expandContent}),this.icon&&this.trailingIcon?this.renderIcon():"")}renderIcon(){return it(ae||(ae=ce(['\n <mwc-icon class="mdc-button__icon">\n ',"\n </mwc-icon>"])),this.icon)}handleRippleActivate(t){var e=()=>{window.removeEventListener("mouseup",e),this.handleRippleDeactivate()};window.addEventListener("mouseup",e),this.rippleHandlers.startPress(t)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}pe.shadowRootOptions={mode:"open",delegatesFocus:!0},(0,t.gn)([ee,a({type:String,attribute:"aria-haspopup"})],pe.prototype,"ariaHasPopup",void 0),(0,t.gn)([a({type:Boolean,reflect:!0})],pe.prototype,"raised",void 0),(0,t.gn)([a({type:Boolean,reflect:!0})],pe.prototype,"unelevated",void 0),(0,t.gn)([a({type:Boolean,reflect:!0})],pe.prototype,"outlined",void 0),(0,t.gn)([a({type:Boolean})],pe.prototype,"dense",void 0),(0,t.gn)([a({type:Boolean,reflect:!0})],pe.prototype,"disabled",void 0),(0,t.gn)([a({type:Boolean,attribute:"trailingicon"})],pe.prototype,"trailingIcon",void 0),(0,t.gn)([a({type:Boolean,reflect:!0})],pe.prototype,"fullwidth",void 0),(0,t.gn)([a({type:String})],pe.prototype,"icon",void 0),(0,t.gn)([a({type:String})],pe.prototype,"label",void 0),(0,t.gn)([a({type:Boolean})],pe.prototype,"expandContent",void 0),(0,t.gn)([m("#button")],pe.prototype,"buttonElement",void 0),(0,t.gn)([y("mwc-ripple")],pe.prototype,"ripple",void 0),(0,t.gn)([c()],pe.prototype,"shouldRenderRipple",void 0),(0,t.gn)([f({passive:!0})],pe.prototype,"handleRippleActivate",null);var ue,he,de,fe,me=S(se||(se=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(['.mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform, uppercase)}.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:transparent}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{display:none}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc( 100% + 4px );width:calc( 100% + 4px );display:block}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring::after,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring::after,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring::after{border-color:CanvasText}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:transparent}.mdc-button{height:36px;border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-button:not(:disabled){color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-button:disabled{color:rgba(0, 0, 0, 0.38)}.mdc-button .mdc-button__icon{font-size:1.125rem;width:1.125rem;height:1.125rem}.mdc-button .mdc-button__ripple{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-button--raised,.mdc-button--unelevated{height:36px;border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee)}.mdc-button--raised:disabled,.mdc-button--unelevated:disabled{background-color:rgba(0, 0, 0, 0.12)}.mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){color:#fff;color:var(--mdc-theme-on-primary, #fff)}.mdc-button--raised:disabled,.mdc-button--unelevated:disabled{color:rgba(0, 0, 0, 0.38)}.mdc-button--raised .mdc-button__icon,.mdc-button--unelevated .mdc-button__icon{font-size:1.125rem;width:1.125rem;height:1.125rem}.mdc-button--raised .mdc-button__ripple,.mdc-button--unelevated .mdc-button__ripple{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-button--outlined{height:36px;border-radius:4px;border-radius:var(--mdc-shape-small, 4px);padding:0 15px 0 15px;border-width:1px}.mdc-button--outlined:not(:disabled){color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-button--outlined:disabled{color:rgba(0, 0, 0, 0.38)}.mdc-button--outlined .mdc-button__icon{font-size:1.125rem;width:1.125rem;height:1.125rem}.mdc-button--outlined .mdc-button__ripple{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-button--outlined:not(:disabled){border-color:rgba(0, 0, 0, 0.12)}.mdc-button--outlined:disabled{border-color:rgba(0, 0, 0, 0.12)}.mdc-button--outlined.mdc-button--icon-trailing{padding:0 11px 0 15px}.mdc-button--outlined.mdc-button--icon-leading{padding:0 15px 0 11px}.mdc-button--outlined .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:1px}.mdc-button--outlined .mdc-button__touch{left:calc(-1 * 1px);width:calc(100% + 2 * 1px)}.mdc-button--raised{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12);transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--raised:hover,.mdc-button--raised:focus{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2),0px 4px 5px 0px rgba(0, 0, 0, 0.14),0px 1px 10px 0px rgba(0,0,0,.12)}.mdc-button--raised:active{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12)}.mdc-button--raised:disabled{box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 0px rgba(0, 0, 0, 0.14),0px 0px 0px 0px rgba(0,0,0,.12)}:host{display:inline-flex;outline:none;-webkit-tap-highlight-color:transparent;vertical-align:top}:host([fullwidth]){width:100%}:host([raised]),:host([unelevated]){--mdc-ripple-color:#fff;--mdc-ripple-focus-opacity:0.24;--mdc-ripple-hover-opacity:0.08;--mdc-ripple-press-opacity:0.24}.trailing-icon ::slotted(*),.trailing-icon .mdc-button__icon,.leading-icon ::slotted(*),.leading-icon .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .trailing-icon ::slotted(*),[dir=rtl] .trailing-icon .mdc-button__icon,[dir=rtl] .leading-icon ::slotted(*),[dir=rtl] .leading-icon .mdc-button__icon,.trailing-icon ::slotted(*[dir=rtl]),.trailing-icon .mdc-button__icon[dir=rtl],.leading-icon ::slotted(*[dir=rtl]),.leading-icon .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.trailing-icon ::slotted(*),.trailing-icon .mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .trailing-icon ::slotted(*),[dir=rtl] .trailing-icon .mdc-button__icon,.trailing-icon ::slotted(*[dir=rtl]),.trailing-icon .mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}.slot-container{display:inline-flex;align-items:center;justify-content:center}.slot-container.flex{flex:auto}.mdc-button{flex:auto;overflow:hidden;padding-left:8px;padding-left:var(--mdc-button-horizontal-padding, 8px);padding-right:8px;padding-right:var(--mdc-button-horizontal-padding, 8px)}.mdc-button--raised{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mdc-button--raised:focus{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow-focus, var(--mdc-button-raised-box-shadow-hover, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12)))}.mdc-button--raised:hover{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow-hover, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mdc-button--raised:active{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow-active, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mdc-button--raised:disabled{box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow-disabled, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mdc-button--raised,.mdc-button--unelevated{padding-left:16px;padding-left:var(--mdc-button-horizontal-padding, 16px);padding-right:16px;padding-right:var(--mdc-button-horizontal-padding, 16px)}.mdc-button--outlined{border-width:1px;border-width:var(--mdc-button-outline-width, 1px);padding-left:calc(16px - 1px);padding-left:calc(var(--mdc-button-horizontal-padding, 16px) - var(--mdc-button-outline-width, 1px));padding-right:calc(16px - 1px);padding-right:calc(var(--mdc-button-horizontal-padding, 16px) - var(--mdc-button-outline-width, 1px))}.mdc-button--outlined:not(:disabled){border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-button-outline-color, rgba(0, 0, 0, 0.12))}.mdc-button--outlined .ripple{top:calc(-1 * 1px);top:calc(-1 * var(--mdc-button-outline-width, 1px));left:calc(-1 * 1px);left:calc(-1 * var(--mdc-button-outline-width, 1px));right:initial;right:initial;border-width:1px;border-width:var(--mdc-button-outline-width, 1px);border-style:solid;border-color:transparent}[dir=rtl] .mdc-button--outlined .ripple,.mdc-button--outlined .ripple[dir=rtl]{left:initial;left:initial;right:calc(-1 * 1px);right:calc(-1 * var(--mdc-button-outline-width, 1px))}.mdc-button--dense{height:28px;margin-top:0;margin-bottom:0}.mdc-button--dense .mdc-button__touch{height:100%}:host([disabled]){pointer-events:none}:host([disabled]) .mdc-button{color:rgba(0, 0, 0, 0.38);color:var(--mdc-button-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-button--raised,:host([disabled]) .mdc-button--unelevated{background-color:rgba(0, 0, 0, 0.12);background-color:var(--mdc-button-disabled-fill-color, rgba(0, 0, 0, 0.12))}:host([disabled]) .mdc-button--outlined{border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}']))),ge=class extends pe{};function ye(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}ge.styles=[me],ge=(0,t.gn)([e("mwc-button")],ge);class ve extends Pt{constructor(){super(...arguments),this.disabled=!1,this.icon="",this.shouldRenderRipple=!1,this.rippleHandlers=new re((()=>(this.shouldRenderRipple=!0,this.ripple)))}renderRipple(){return this.shouldRenderRipple?it(ue||(ue=ye(['\n <mwc-ripple\n .disabled="','"\n unbounded>\n </mwc-ripple>'])),this.disabled):""}focus(){var t=this.buttonElement;t&&(this.rippleHandlers.startFocus(),t.focus())}blur(){var t=this.buttonElement;t&&(this.rippleHandlers.endFocus(),t.blur())}render(){return it(he||(he=ye(['<button\n class="mdc-icon-button mdc-icon-button--display-flex"\n aria-label="','"\n aria-haspopup="','"\n ?disabled="','"\n @focus="','"\n @blur="','"\n @mousedown="','"\n @mouseenter="','"\n @mouseleave="','"\n @touchstart="','"\n @touchend="','"\n @touchcancel="','"\n >',"\n ","\n <span\n ><slot></slot\n ></span>\n </button>"])),this.ariaLabel||this.icon,le(this.ariaHasPopup),this.disabled,this.handleRippleFocus,this.handleRippleBlur,this.handleRippleMouseDown,this.handleRippleMouseEnter,this.handleRippleMouseLeave,this.handleRippleTouchStart,this.handleRippleDeactivate,this.handleRippleDeactivate,this.renderRipple(),this.icon?it(de||(de=ye(['<i class="material-icons">',"</i>"])),this.icon):"")}handleRippleMouseDown(t){var e=()=>{window.removeEventListener("mouseup",e),this.handleRippleDeactivate()};window.addEventListener("mouseup",e),this.rippleHandlers.startPress(t)}handleRippleTouchStart(t){this.rippleHandlers.startPress(t)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}(0,t.gn)([a({type:Boolean,reflect:!0})],ve.prototype,"disabled",void 0),(0,t.gn)([a({type:String})],ve.prototype,"icon",void 0),(0,t.gn)([ee,a({type:String,attribute:"aria-label"})],ve.prototype,"ariaLabel",void 0),(0,t.gn)([ee,a({type:String,attribute:"aria-haspopup"})],ve.prototype,"ariaHasPopup",void 0),(0,t.gn)([m("button")],ve.prototype,"buttonElement",void 0),(0,t.gn)([y("mwc-ripple")],ve.prototype,"ripple",void 0),(0,t.gn)([c()],ve.prototype,"shouldRenderRipple",void 0),(0,t.gn)([f({passive:!0})],ve.prototype,"handleRippleMouseDown",null),(0,t.gn)([f({passive:!0})],ve.prototype,"handleRippleTouchStart",null);var be=S(fe||(fe=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(['.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{display:none}.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block;max-height:48px;max-width:48px}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button.mdc-icon-button--reduced-size:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38))}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}:host{display:inline-block;outline:none}:host([disabled]){pointer-events:none}.mdc-icon-button i,.mdc-icon-button svg,.mdc-icon-button img,.mdc-icon-button ::slotted(*){display:block}:host{--mdc-ripple-color: currentcolor;-webkit-tap-highlight-color:transparent}:host,.mdc-icon-button{vertical-align:top}.mdc-icon-button{width:var(--mdc-icon-button-size, 48px);height:var(--mdc-icon-button-size, 48px);padding:calc( (var(--mdc-icon-button-size, 48px) - var(--mdc-icon-size, 24px)) / 2 )}.mdc-icon-button i,.mdc-icon-button svg,.mdc-icon-button img,.mdc-icon-button ::slotted(*){display:block;width:var(--mdc-icon-size, 24px);height:var(--mdc-icon-size, 24px)}']))),xe=class extends ve{};xe.styles=[be],xe=(0,t.gn)([e("mwc-icon-button")],xe);var we,_e,Ee={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"},Se={NOTCH_ELEMENT_PADDING:8},ke={NO_LABEL:"mdc-notched-outline--no-label",OUTLINE_NOTCHED:"mdc-notched-outline--notched",OUTLINE_UPGRADED:"mdc-notched-outline--upgraded"},Pe=function(e){function r(n){return e.call(this,(0,t.pi)((0,t.pi)({},r.defaultAdapter),n))||this}return(0,t.ZT)(r,e),Object.defineProperty(r,"strings",{get:function(){return Ee},enumerable:!1,configurable:!0}),Object.defineProperty(r,"cssClasses",{get:function(){return ke},enumerable:!1,configurable:!0}),Object.defineProperty(r,"numbers",{get:function(){return Se},enumerable:!1,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNotchWidthProperty:function(){},removeNotchWidthProperty:function(){}}},enumerable:!1,configurable:!0}),r.prototype.notch=function(t){var e=r.cssClasses.OUTLINE_NOTCHED;t>0&&(t+=Se.NOTCH_ELEMENT_PADDING),this.adapter.setNotchWidthProperty(t),this.adapter.addClass(e)},r.prototype.closeNotch=function(){var t=r.cssClasses.OUTLINE_NOTCHED;this.adapter.removeClass(t),this.adapter.removeNotchWidthProperty()},r}(Mt);class Ae extends Rt{constructor(){super(...arguments),this.mdcFoundationClass=Pe,this.width=0,this.open=!1,this.lastOpen=this.open}createAdapter(){return{addClass:t=>this.mdcRoot.classList.add(t),removeClass:t=>this.mdcRoot.classList.remove(t),setNotchWidthProperty:t=>this.notchElement.style.setProperty("width","".concat(t,"px")),removeNotchWidthProperty:()=>this.notchElement.style.removeProperty("width")}}openOrClose(t,e){this.mdcFoundation&&(t&&void 0!==e?this.mdcFoundation.notch(e):this.mdcFoundation.closeNotch())}render(){this.openOrClose(this.open,this.width);var t=Qt({"mdc-notched-outline--notched":this.open});return it(we||(we=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(['\n <span class="mdc-notched-outline ','">\n <span class="mdc-notched-outline__leading"></span>\n <span class="mdc-notched-outline__notch">\n <slot></slot>\n </span>\n <span class="mdc-notched-outline__trailing"></span>\n </span>'])),t)}}(0,t.gn)([m(".mdc-notched-outline")],Ae.prototype,"mdcRoot",void 0),(0,t.gn)([a({type:Number})],Ae.prototype,"width",void 0),(0,t.gn)([a({type:Boolean,reflect:!0})],Ae.prototype,"open",void 0),(0,t.gn)([m(".mdc-notched-outline__notch")],Ae.prototype,"notchElement",void 0);var Oe,Ce,Te=S(_e||(_e=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}([".mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(100% / 0.75)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}:host{display:block;position:absolute;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] :host,:host([dir=rtl]){text-align:right}::slotted(.mdc-floating-label){display:inline-block;position:relative;top:17px;bottom:auto;max-width:100%}::slotted(.mdc-floating-label--float-above){text-overflow:clip}.mdc-notched-outline--upgraded ::slotted(.mdc-floating-label--float-above){max-width:calc(100% / 0.75)}.mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-notched-outline .mdc-notched-outline__leading,.mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2)}}.mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-color:var(--mdc-notched-outline-border-color, var(--mdc-theme-primary, #6200ee));border-width:1px;border-width:var(--mdc-notched-outline-stroke-width, 1px)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0;padding-top:var(--mdc-notched-outline-notch-offset, 0)}"]))),Ie=class extends Ae{};Ie.styles=[Te],Ie=(0,t.gn)([e("mwc-notched-outline")],Ie);var De=null!==(Ce=null===(Oe=window.ShadyDOM)||void 0===Oe?void 0:Oe.inUse)&&void 0!==Ce&&Ce;class Fe extends Rt{constructor(){super(...arguments),this.disabled=!1,this.containingForm=null,this.formDataListener=t=>{this.disabled||this.setFormData(t.formData)}}findFormElement(){if(!this.shadowRoot||De)return null;var t=this.getRootNode().querySelectorAll("form");for(var e of Array.from(t))if(e.contains(this))return e;return null}connectedCallback(){var t;super.connectedCallback(),this.containingForm=this.findFormElement(),null===(t=this.containingForm)||void 0===t||t.addEventListener("formdata",this.formDataListener)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this.containingForm)||void 0===t||t.removeEventListener("formdata",this.formDataListener),this.containingForm=null}click(){this.formElement&&!this.disabled&&(this.formElement.focus(),this.formElement.click())}firstUpdated(){super.firstUpdated(),this.shadowRoot&&this.mdcRoot.addEventListener("change",(t=>{this.dispatchEvent(new Event("change",t))}))}}Fe.shadowRootOptions={mode:"open",delegatesFocus:!0},(0,t.gn)([a({type:Boolean})],Fe.prototype,"disabled",void 0);var Re=t=>(e,r)=>{if(e.constructor._observers){if(!e.constructor.hasOwnProperty("_observers")){var n=e.constructor._observers;e.constructor._observers=new Map,n.forEach(((t,r)=>e.constructor._observers.set(r,t)))}}else{e.constructor._observers=new Map;var i=e.updated;e.updated=function(t){i.call(this,t),t.forEach(((t,e)=>{var r=this.constructor._observers.get(e);void 0!==r&&r.call(this,this[e],t)}))}}e.constructor._observers.set(r,t)},Me={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc-floating-label--required",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"},je=function(e){function r(n){var i=e.call(this,(0,t.pi)((0,t.pi)({},r.defaultAdapter),n))||this;return i.shakeAnimationEndHandler=function(){i.handleShakeAnimationEnd()},i}return(0,t.ZT)(r,e),Object.defineProperty(r,"cssClasses",{get:function(){return Me},enumerable:!1,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),r.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler)},r.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler)},r.prototype.getWidth=function(){return this.adapter.getWidth()},r.prototype.shake=function(t){var e=r.cssClasses.LABEL_SHAKE;t?this.adapter.addClass(e):this.adapter.removeClass(e)},r.prototype.float=function(t){var e=r.cssClasses,n=e.LABEL_FLOAT_ABOVE,i=e.LABEL_SHAKE;t?this.adapter.addClass(n):(this.adapter.removeClass(n),this.adapter.removeClass(i))},r.prototype.setRequired=function(t){var e=r.cssClasses.LABEL_REQUIRED;t?this.adapter.addClass(e):this.adapter.removeClass(e)},r.prototype.handleShakeAnimationEnd=function(){var t=r.cssClasses.LABEL_SHAKE;this.adapter.removeClass(t)},r}(Mt),Le=Ut(class extends Ht{constructor(t){switch(super(t),this.foundation=null,this.previousPart=null,t.type){case 1:case 3:break;default:throw new Error("FloatingLabel directive only support attribute and property parts")}}update(t,e){var[r]=e;if(t!==this.previousPart){this.foundation&&this.foundation.destroy(),this.previousPart=t;var n=t.element;n.classList.add("mdc-floating-label");var i=(t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),getWidth:()=>t.scrollWidth,registerInteractionHandler:(e,r)=>{t.addEventListener(e,r)},deregisterInteractionHandler:(e,r)=>{t.removeEventListener(e,r)}}))(n);this.foundation=new je(i),this.foundation.init()}return this.render(r)}render(t){return this.foundation}}),Ne={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active",LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--deactivating"},Be=function(e){function r(n){var i=e.call(this,(0,t.pi)((0,t.pi)({},r.defaultAdapter),n))||this;return i.transitionEndHandler=function(t){i.handleTransitionEnd(t)},i}return(0,t.ZT)(r,e),Object.defineProperty(r,"cssClasses",{get:function(){return Ne},enumerable:!1,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!1,configurable:!0}),r.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler)},r.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler)},r.prototype.activate=function(){this.adapter.removeClass(Ne.LINE_RIPPLE_DEACTIVATING),this.adapter.addClass(Ne.LINE_RIPPLE_ACTIVE)},r.prototype.setRippleCenter=function(t){this.adapter.setStyle("transform-origin",t+"px center")},r.prototype.deactivate=function(){this.adapter.addClass(Ne.LINE_RIPPLE_DEACTIVATING)},r.prototype.handleTransitionEnd=function(t){var e=this.adapter.hasClass(Ne.LINE_RIPPLE_DEACTIVATING);"opacity"===t.propertyName&&e&&(this.adapter.removeClass(Ne.LINE_RIPPLE_ACTIVE),this.adapter.removeClass(Ne.LINE_RIPPLE_DEACTIVATING))},r}(Mt),Ve=Ut(class extends Ht{constructor(t){switch(super(t),this.previousPart=null,this.foundation=null,t.type){case 1:case 3:return;default:throw new Error("LineRipple only support attribute and property parts.")}}update(t,e){if(this.previousPart!==t){this.foundation&&this.foundation.destroy(),this.previousPart=t;var r=t.element;r.classList.add("mdc-line-ripple");var n=(t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),hasClass:e=>t.classList.contains(e),setStyle:(e,r)=>t.style.setProperty(e,r),registerEventHandler:(e,r)=>{t.addEventListener(e,r)},deregisterEventHandler:(e,r)=>{t.removeEventListener(e,r)}}))(r);this.foundation=new Be(n),this.foundation.init()}return this.render()}render(){return this.foundation}}),ze={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",PREFIX_SELECTOR:".mdc-text-field__affix--prefix",SUFFIX_SELECTOR:".mdc-text-field__affix--suffix",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"},qe={DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",LABEL_FLOATING:"mdc-text-field--label-floating",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon",WITH_INTERNAL_COUNTER:"mdc-text-field--with-internal-counter"},Ge={LABEL_SCALE:.75},Ue=["pattern","min","max","required","step","minlength","maxlength"],He=["color","date","datetime-local","month","range","time","week"],$e=["mousedown","touchstart"],We=["click","keydown"],Qe=function(e){function r(n,i){void 0===i&&(i={});var o=e.call(this,(0,t.pi)((0,t.pi)({},r.defaultAdapter),n))||this;return o.isFocused=!1,o.receivedUserInput=!1,o.valid=!0,o.useNativeValidation=!0,o.validateOnValueChange=!0,o.helperText=i.helperText,o.characterCounter=i.characterCounter,o.leadingIcon=i.leadingIcon,o.trailingIcon=i.trailingIcon,o.inputFocusHandler=function(){o.activateFocus()},o.inputBlurHandler=function(){o.deactivateFocus()},o.inputInputHandler=function(){o.handleInput()},o.setPointerXOffset=function(t){o.setTransformOrigin(t)},o.textFieldInteractionHandler=function(){o.handleTextFieldInteraction()},o.validationAttributeChangeHandler=function(t){o.handleValidationAttributeChange(t)},o}return(0,t.ZT)(r,e),Object.defineProperty(r,"cssClasses",{get:function(){return qe},enumerable:!1,configurable:!0}),Object.defineProperty(r,"strings",{get:function(){return ze},enumerable:!1,configurable:!0}),Object.defineProperty(r,"numbers",{get:function(){return Ge},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"shouldAlwaysFloat",{get:function(){var t=this.getNativeInput().type;return He.indexOf(t)>=0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat||this.isFocused||!!this.getValue()||this.isBadInput()},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"shouldShake",{get:function(){return!this.isFocused&&!this.isValid()&&!!this.getValue()},enumerable:!1,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver((function(){}))},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!1,configurable:!0}),r.prototype.init=function(){var e,r,n,i;this.adapter.hasLabel()&&this.getNativeInput().required&&this.adapter.setLabelRequired(!0),this.adapter.isFocused()?this.inputFocusHandler():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating(!0)),this.adapter.registerInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.registerInputInteractionHandler("input",this.inputInputHandler);try{for(var o=(0,t.XA)($e),a=o.next();!a.done;a=o.next()){var s=a.value;this.adapter.registerInputInteractionHandler(s,this.setPointerXOffset)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}try{for(var l=(0,t.XA)(We),c=l.next();!c.done;c=l.next())s=c.value,this.adapter.registerTextFieldInteractionHandler(s,this.textFieldInteractionHandler)}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}this.validationObserver=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler),this.setcharacterCounter(this.getValue().length)},r.prototype.destroy=function(){var e,r,n,i;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.deregisterInputInteractionHandler("input",this.inputInputHandler);try{for(var o=(0,t.XA)($e),a=o.next();!a.done;a=o.next()){var s=a.value;this.adapter.deregisterInputInteractionHandler(s,this.setPointerXOffset)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}try{for(var l=(0,t.XA)(We),c=l.next();!c.done;c=l.next())s=c.value,this.adapter.deregisterTextFieldInteractionHandler(s,this.textFieldInteractionHandler)}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver)},r.prototype.handleTextFieldInteraction=function(){var t=this.adapter.getNativeInput();t&&t.disabled||(this.receivedUserInput=!0)},r.prototype.handleValidationAttributeChange=function(t){var e=this;t.some((function(t){return Ue.indexOf(t)>-1&&(e.styleValidity(!0),e.adapter.setLabelRequired(e.getNativeInput().required),!0)})),t.indexOf("maxlength")>-1&&this.setcharacterCounter(this.getValue().length)},r.prototype.notchOutline=function(t){if(this.adapter.hasOutline()&&this.adapter.hasLabel())if(t){var e=this.adapter.getLabelWidth()*Ge.LABEL_SCALE;this.adapter.notchOutline(e)}else this.adapter.closeOutline()},r.prototype.activateFocus=function(){this.isFocused=!0,this.styleFocused(this.isFocused),this.adapter.activateLineRipple(),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),!this.helperText||!this.helperText.isPersistent()&&this.helperText.isValidation()&&this.valid||this.helperText.showToScreenReader()},r.prototype.setTransformOrigin=function(t){if(!this.isDisabled()&&!this.adapter.hasOutline()){var e=t.touches,r=e?e[0]:t,n=r.target.getBoundingClientRect(),i=r.clientX-n.left;this.adapter.setLineRippleTransformOrigin(i)}},r.prototype.handleInput=function(){this.autoCompleteFocus(),this.setcharacterCounter(this.getValue().length)},r.prototype.autoCompleteFocus=function(){this.receivedUserInput||this.activateFocus()},r.prototype.deactivateFocus=function(){this.isFocused=!1,this.adapter.deactivateLineRipple();var t=this.isValid();this.styleValidity(t),this.styleFocused(this.isFocused),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput=!1)},r.prototype.getValue=function(){return this.getNativeInput().value},r.prototype.setValue=function(t){if(this.getValue()!==t&&(this.getNativeInput().value=t),this.setcharacterCounter(t.length),this.validateOnValueChange){var e=this.isValid();this.styleValidity(e)}this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.validateOnValueChange&&this.adapter.shakeLabel(this.shouldShake))},r.prototype.isValid=function(){return this.useNativeValidation?this.isNativeInputValid():this.valid},r.prototype.setValid=function(t){this.valid=t,this.styleValidity(t);var e=!t&&!this.isFocused&&!!this.getValue();this.adapter.hasLabel()&&this.adapter.shakeLabel(e)},r.prototype.setValidateOnValueChange=function(t){this.validateOnValueChange=t},r.prototype.getValidateOnValueChange=function(){return this.validateOnValueChange},r.prototype.setUseNativeValidation=function(t){this.useNativeValidation=t},r.prototype.isDisabled=function(){return this.getNativeInput().disabled},r.prototype.setDisabled=function(t){this.getNativeInput().disabled=t,this.styleDisabled(t)},r.prototype.setHelperTextContent=function(t){this.helperText&&this.helperText.setContent(t)},r.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon&&this.leadingIcon.setAriaLabel(t)},r.prototype.setLeadingIconContent=function(t){this.leadingIcon&&this.leadingIcon.setContent(t)},r.prototype.setTrailingIconAriaLabel=function(t){this.trailingIcon&&this.trailingIcon.setAriaLabel(t)},r.prototype.setTrailingIconContent=function(t){this.trailingIcon&&this.trailingIcon.setContent(t)},r.prototype.setcharacterCounter=function(t){if(this.characterCounter){var e=this.getNativeInput().maxLength;if(-1===e)throw new Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter.setCounterValue(t,e)}},r.prototype.isBadInput=function(){return this.getNativeInput().validity.badInput||!1},r.prototype.isNativeInputValid=function(){return this.getNativeInput().validity.valid},r.prototype.styleValidity=function(t){var e=r.cssClasses.INVALID;if(t?this.adapter.removeClass(e):this.adapter.addClass(e),this.helperText){if(this.helperText.setValidity(t),!this.helperText.isValidation())return;var n=this.helperText.isVisible(),i=this.helperText.getId();n&&i?this.adapter.setInputAttr(ze.ARIA_DESCRIBEDBY,i):this.adapter.removeInputAttr(ze.ARIA_DESCRIBEDBY)}},r.prototype.styleFocused=function(t){var e=r.cssClasses.FOCUSED;t?this.adapter.addClass(e):this.adapter.removeClass(e)},r.prototype.styleDisabled=function(t){var e=r.cssClasses,n=e.DISABLED,i=e.INVALID;t?(this.adapter.addClass(n),this.adapter.removeClass(i)):this.adapter.removeClass(n),this.leadingIcon&&this.leadingIcon.setDisabled(t),this.trailingIcon&&this.trailingIcon.setDisabled(t)},r.prototype.styleFloating=function(t){var e=r.cssClasses.LABEL_FLOATING;t?this.adapter.addClass(e):this.adapter.removeClass(e)},r.prototype.getNativeInput=function(){return(this.adapter?this.adapter.getNativeInput():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}},r}(Mt);const Ke=Qe;var Ye,Je,Xe,Ze,tr,er,rr,nr,ir,or,{I:ar}=wt,sr={},lr=Ut(class extends Ht{constructor(t){if(super(t),3!==t.type&&1!==t.type&&4!==t.type)throw Error("The `live` directive is not allowed on child or event bindings");if(void 0!==t.strings)throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,e){var[r]=e;if(r===ot||r===at)return r;var n=t.element,i=t.name;if(3===t.type){if(r===n[i])return ot}else if(4===t.type){if(!!r===n.hasAttribute(i))return ot}else if(1===t.type&&n.getAttribute(i)===r+"")return ot;return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sr;t._$AH=e}(t),r}});function cr(t,e,r,n,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,i)}function pr(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){cr(o,n,i,a,s,"next",t)}function s(t){cr(o,n,i,a,s,"throw",t)}a(void 0)}))}}function ur(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var hr,dr=["touchstart","touchmove","scroll","mousewheel"],fr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={};for(var r in t)e[r]=t[r];return Object.assign({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1},e)};class mr extends Fe{constructor(){super(...arguments),this.mdcFoundationClass=Ke,this.value="",this.type="text",this.placeholder="",this.label="",this.icon="",this.iconTrailing="",this.disabled=!1,this.required=!1,this.minLength=-1,this.maxLength=-1,this.outlined=!1,this.helper="",this.validateOnInitialRender=!1,this.validationMessage="",this.autoValidate=!1,this.pattern="",this.min="",this.max="",this.step=null,this.size=null,this.helperPersistent=!1,this.charCounter=!1,this.endAligned=!1,this.prefix="",this.suffix="",this.name="",this.readOnly=!1,this.autocapitalize="",this.outlineOpen=!1,this.outlineWidth=0,this.isUiValid=!0,this.focused=!1,this._validity=fr(),this.validityTransform=null}get validity(){return this._checkValidity(this.value),this._validity}get willValidate(){return this.formElement.willValidate}get selectionStart(){return this.formElement.selectionStart}get selectionEnd(){return this.formElement.selectionEnd}focus(){var t=new CustomEvent("focus");this.formElement.dispatchEvent(t),this.formElement.focus()}blur(){var t=new CustomEvent("blur");this.formElement.dispatchEvent(t),this.formElement.blur()}select(){this.formElement.select()}setSelectionRange(t,e,r){this.formElement.setSelectionRange(t,e,r)}update(t){t.has("autoValidate")&&this.mdcFoundation&&this.mdcFoundation.setValidateOnValueChange(this.autoValidate),t.has("value")&&"string"!=typeof this.value&&(this.value="".concat(this.value)),super.update(t)}setFormData(t){this.name&&t.append(this.name,this.value)}render(){var t=this.charCounter&&-1!==this.maxLength,e=!!this.helper||!!this.validationMessage||t,r={"mdc-text-field--disabled":this.disabled,"mdc-text-field--no-label":!this.label,"mdc-text-field--filled":!this.outlined,"mdc-text-field--outlined":this.outlined,"mdc-text-field--with-leading-icon":this.icon,"mdc-text-field--with-trailing-icon":this.iconTrailing,"mdc-text-field--end-aligned":this.endAligned};return it(Ye||(Ye=ur(['\n <label class="mdc-text-field ','">\n ',"\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n </label>\n ","\n "])),Qt(r),this.renderRipple(),this.outlined?this.renderOutline():this.renderLabel(),this.renderLeadingIcon(),this.renderPrefix(),this.renderInput(e),this.renderSuffix(),this.renderTrailingIcon(),this.renderLineRipple(),this.renderHelperText(e,t))}updated(t){t.has("value")&&void 0!==t.get("value")&&(this.mdcFoundation.setValue(this.value),this.autoValidate&&this.reportValidity())}renderRipple(){return this.outlined?"":it(Je||(Je=ur(['\n <span class="mdc-text-field__ripple"></span>\n '])))}renderOutline(){return this.outlined?it(Xe||(Xe=ur(["\n <mwc-notched-outline\n .width=","\n .open=",'\n class="mdc-notched-outline">\n ',"\n </mwc-notched-outline>"])),this.outlineWidth,this.outlineOpen,this.renderLabel()):""}renderLabel(){return this.label?it(Ze||(Ze=ur(["\n <span\n .floatingLabelFoundation=",'\n id="label">',"</span>\n "])),Le(this.label),this.label):""}renderLeadingIcon(){return this.icon?this.renderIcon(this.icon):""}renderTrailingIcon(){return this.iconTrailing?this.renderIcon(this.iconTrailing,!0):""}renderIcon(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={"mdc-text-field__icon--leading":!e,"mdc-text-field__icon--trailing":e};return it(tr||(tr=ur(['<i class="material-icons mdc-text-field__icon ','">',"</i>"])),Qt(r),t)}renderPrefix(){return this.prefix?this.renderAffix(this.prefix):""}renderSuffix(){return this.suffix?this.renderAffix(this.suffix,!0):""}renderAffix(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={"mdc-text-field__affix--prefix":!e,"mdc-text-field__affix--suffix":e};return it(er||(er=ur(['<span class="mdc-text-field__affix ','">\n ',"</span>"])),Qt(r),t)}renderInput(t){var e=-1===this.minLength?void 0:this.minLength,r=-1===this.maxLength?void 0:this.maxLength,n=this.autocapitalize?this.autocapitalize:void 0,i=this.validationMessage&&!this.isUiValid,o=this.label?"label":void 0,a=t?"helper-text":void 0,s=this.focused||this.helperPersistent||i?"helper-text":void 0;return it(rr||(rr=ur(["\n <input\n aria-labelledby=",'\n aria-controls="','"\n aria-describedby="','"\n class="mdc-text-field__input"\n type="','"\n .value="','"\n ?disabled="','"\n placeholder="','"\n ?required="','"\n ?readonly="','"\n minlength="','"\n maxlength="','"\n pattern="','"\n min="','"\n max="','"\n step="','"\n size="','"\n name="','"\n inputmode="','"\n autocapitalize="','"\n @input="','"\n @focus="','"\n @blur="','">'])),le(o),le(a),le(s),this.type,lr(this.value),this.disabled,this.placeholder,this.required,this.readOnly,le(e),le(r),le(this.pattern?this.pattern:void 0),le(""===this.min?void 0:this.min),le(""===this.max?void 0:this.max),le(null===this.step?void 0:this.step),le(null===this.size?void 0:this.size),le(""===this.name?void 0:this.name),le(this.inputMode),le(n),this.handleInputChange,this.onInputFocus,this.onInputBlur)}renderLineRipple(){return this.outlined?"":it(nr||(nr=ur(["\n <span .lineRippleFoundation=","></span>\n "])),Ve())}renderHelperText(t,e){var r=this.validationMessage&&!this.isUiValid,n={"mdc-text-field-helper-text--persistent":this.helperPersistent,"mdc-text-field-helper-text--validation-msg":r},i=this.focused||this.helperPersistent||r?void 0:"true",o=r?this.validationMessage:this.helper;return t?it(ir||(ir=ur(['\n <div class="mdc-text-field-helper-line">\n <div id="helper-text"\n aria-hidden="','"\n class="mdc-text-field-helper-text ','"\n >',"</div>\n ","\n </div>"])),le(i),Qt(n),o,this.renderCharCounter(e)):""}renderCharCounter(t){var e=Math.min(this.value.length,this.maxLength);return t?it(or||(or=ur(['\n <span class="mdc-text-field-character-counter"\n >'," / ","</span>"])),e,this.maxLength):""}onInputFocus(){this.focused=!0}onInputBlur(){this.focused=!1,this.reportValidity()}checkValidity(){var t=this._checkValidity(this.value);if(!t){var e=new Event("invalid",{bubbles:!1,cancelable:!0});this.dispatchEvent(e)}return t}reportValidity(){var t=this.checkValidity();return this.mdcFoundation.setValid(t),this.isUiValid=t,t}_checkValidity(t){var e=this.formElement.validity,r=fr(e);if(this.validityTransform){var n=this.validityTransform(t,r);r=Object.assign(Object.assign({},r),n),this.mdcFoundation.setUseNativeValidation(!1)}else this.mdcFoundation.setUseNativeValidation(!0);return this._validity=r,this._validity.valid}setCustomValidity(t){this.validationMessage=t,this.formElement.setCustomValidity(t)}handleInputChange(){this.value=this.formElement.value}createAdapter(){return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.getRootAdapterMethods()),this.getInputAdapterMethods()),this.getLabelAdapterMethods()),this.getLineRippleAdapterMethods()),this.getOutlineAdapterMethods())}getRootAdapterMethods(){return Object.assign({registerTextFieldInteractionHandler:(t,e)=>this.addEventListener(t,e),deregisterTextFieldInteractionHandler:(t,e)=>this.removeEventListener(t,e),registerValidationAttributeChangeHandler:t=>{var e=new MutationObserver((e=>{t((t=>t.map((t=>t.attributeName)).filter((t=>t)))(e))}));return e.observe(this.formElement,{attributes:!0}),e},deregisterValidationAttributeChangeHandler:t=>t.disconnect()},(t=this.mdcRoot,{addClass:e=>{t.classList.add(e)},removeClass:e=>{t.classList.remove(e)},hasClass:e=>t.classList.contains(e)}));var t}getInputAdapterMethods(){return{getNativeInput:()=>this.formElement,setInputAttr:()=>{},removeInputAttr:()=>{},isFocused:()=>!!this.shadowRoot&&this.shadowRoot.activeElement===this.formElement,registerInputInteractionHandler:(t,e)=>this.formElement.addEventListener(t,e,{passive:t in dr}),deregisterInputInteractionHandler:(t,e)=>this.formElement.removeEventListener(t,e)}}getLabelAdapterMethods(){return{floatLabel:t=>this.labelElement&&this.labelElement.floatingLabelFoundation.float(t),getLabelWidth:()=>this.labelElement?this.labelElement.floatingLabelFoundation.getWidth():0,hasLabel:()=>Boolean(this.labelElement),shakeLabel:t=>this.labelElement&&this.labelElement.floatingLabelFoundation.shake(t),setLabelRequired:t=>{this.labelElement&&this.labelElement.floatingLabelFoundation.setRequired(t)}}}getLineRippleAdapterMethods(){return{activateLineRipple:()=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.activate()},deactivateLineRipple:()=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.deactivate()},setLineRippleTransformOrigin:t=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.setRippleCenter(t)}}}getUpdateComplete(){var t=()=>super.getUpdateComplete,e=this;return pr((function*(){var r,n=yield t().call(e);return yield null===(r=e.outlineElement)||void 0===r?void 0:r.updateComplete,n}))()}firstUpdated(){var t;super.firstUpdated(),this.mdcFoundation.setValidateOnValueChange(this.autoValidate),this.validateOnInitialRender&&this.reportValidity(),null===(t=this.outlineElement)||void 0===t||t.updateComplete.then((()=>{var t;this.outlineWidth=(null===(t=this.labelElement)||void 0===t?void 0:t.floatingLabelFoundation.getWidth())||0}))}getOutlineAdapterMethods(){return{closeOutline:()=>this.outlineElement&&(this.outlineOpen=!1),hasOutline:()=>Boolean(this.outlineElement),notchOutline:t=>{this.outlineElement&&!this.outlineOpen&&(this.outlineWidth=t,this.outlineOpen=!0)}}}layout(){var t=this;return pr((function*(){yield t.updateComplete;var e=t.labelElement;if(e){var r=!!t.label&&!!t.value;if(e.floatingLabelFoundation.float(r),t.outlined){t.outlineOpen=r,yield t.updateComplete;var n=e.floatingLabelFoundation.getWidth();t.outlineOpen&&(t.outlineWidth=n,yield t.updateComplete)}}else t.outlineOpen=!1}))()}}(0,t.gn)([m(".mdc-text-field")],mr.prototype,"mdcRoot",void 0),(0,t.gn)([m("input")],mr.prototype,"formElement",void 0),(0,t.gn)([m(".mdc-floating-label")],mr.prototype,"labelElement",void 0),(0,t.gn)([m(".mdc-line-ripple")],mr.prototype,"lineRippleElement",void 0),(0,t.gn)([m("mwc-notched-outline")],mr.prototype,"outlineElement",void 0),(0,t.gn)([m(".mdc-notched-outline__notch")],mr.prototype,"notchElement",void 0),(0,t.gn)([a({type:String})],mr.prototype,"value",void 0),(0,t.gn)([a({type:String})],mr.prototype,"type",void 0),(0,t.gn)([a({type:String})],mr.prototype,"placeholder",void 0),(0,t.gn)([a({type:String}),Re((function(t,e){void 0!==e&&this.label!==e&&this.layout()}))],mr.prototype,"label",void 0),(0,t.gn)([a({type:String})],mr.prototype,"icon",void 0),(0,t.gn)([a({type:String})],mr.prototype,"iconTrailing",void 0),(0,t.gn)([a({type:Boolean,reflect:!0})],mr.prototype,"disabled",void 0),(0,t.gn)([a({type:Boolean})],mr.prototype,"required",void 0),(0,t.gn)([a({type:Number})],mr.prototype,"minLength",void 0),(0,t.gn)([a({type:Number})],mr.prototype,"maxLength",void 0),(0,t.gn)([a({type:Boolean,reflect:!0}),Re((function(t,e){void 0!==e&&this.outlined!==e&&this.layout()}))],mr.prototype,"outlined",void 0),(0,t.gn)([a({type:String})],mr.prototype,"helper",void 0),(0,t.gn)([a({type:Boolean})],mr.prototype,"validateOnInitialRender",void 0),(0,t.gn)([a({type:String})],mr.prototype,"validationMessage",void 0),(0,t.gn)([a({type:Boolean})],mr.prototype,"autoValidate",void 0),(0,t.gn)([a({type:String})],mr.prototype,"pattern",void 0),(0,t.gn)([a({type:String})],mr.prototype,"min",void 0),(0,t.gn)([a({type:String})],mr.prototype,"max",void 0),(0,t.gn)([a({type:String})],mr.prototype,"step",void 0),(0,t.gn)([a({type:Number})],mr.prototype,"size",void 0),(0,t.gn)([a({type:Boolean})],mr.prototype,"helperPersistent",void 0),(0,t.gn)([a({type:Boolean})],mr.prototype,"charCounter",void 0),(0,t.gn)([a({type:Boolean})],mr.prototype,"endAligned",void 0),(0,t.gn)([a({type:String})],mr.prototype,"prefix",void 0),(0,t.gn)([a({type:String})],mr.prototype,"suffix",void 0),(0,t.gn)([a({type:String})],mr.prototype,"name",void 0),(0,t.gn)([a({type:String})],mr.prototype,"inputMode",void 0),(0,t.gn)([a({type:Boolean})],mr.prototype,"readOnly",void 0),(0,t.gn)([a({type:String})],mr.prototype,"autocapitalize",void 0),(0,t.gn)([c()],mr.prototype,"outlineOpen",void 0),(0,t.gn)([c()],mr.prototype,"outlineWidth",void 0),(0,t.gn)([c()],mr.prototype,"isUiValid",void 0),(0,t.gn)([c()],mr.prototype,"focused",void 0),(0,t.gn)([f({passive:!0})],mr.prototype,"handleInputChange",null);var gr=S(hr||(hr=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(['.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform;transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);border-bottom-width:2px;opacity:0;z-index:2}.mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(100% / 0.75)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-text-field--filled{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-text-field--filled .mdc-text-field__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-text-field--filled .mdc-text-field__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-text-field--filled.mdc-ripple-upgraded--unbounded .mdc-text-field__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-text-field--filled.mdc-ripple-upgraded--foreground-activation .mdc-text-field__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-text-field--filled.mdc-ripple-upgraded--foreground-deactivation .mdc-text-field__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-text-field__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:rgba(0, 0, 0, 0.87)}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:rgba(0, 0, 0, 0.54)}}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.54)}}.mdc-text-field .mdc-text-field__input{caret-color:#6200ee;caret-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--leading{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--prefix{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--suffix{color:rgba(0, 0, 0, 0.6)}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);height:28px;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}}.mdc-text-field__affix{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);height:28px;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{background-color:rgba(0, 0, 0, 0.87);background-color:var(--mdc-ripple-color, rgba(0, 0, 0, 0.87))}.mdc-text-field--filled:hover .mdc-text-field__ripple::before,.mdc-text-field--filled.mdc-ripple-surface--hover .mdc-text-field__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:whitesmoke}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42)}.mdc-text-field--filled:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-color:#6200ee;border-bottom-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.38)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.87)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-text-field__ripple::before,.mdc-text-field--outlined .mdc-text-field__ripple::after{background-color:transparent;background-color:var(--mdc-ripple-color, transparent)}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:transparent}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0;transition:none}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px;line-height:1.5rem}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(98, 0, 238, 0.87)}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid .mdc-text-field__input{caret-color:#b00020;caret-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}.mdc-text-field--disabled .mdc-text-field__input{color:rgba(0, 0, 0, 0.38)}@media all{.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:rgba(0, 0, 0, 0.38)}}@media all{.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.38)}}.mdc-text-field--disabled .mdc-floating-label{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__icon--leading{color:rgba(0, 0, 0, 0.3)}.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:rgba(0, 0, 0, 0.3)}.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.06)}.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.06)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-floating-label{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__icon--leading{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:GrayText}}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled{background-color:#fafafa}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-text-field-helper-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin:0;opacity:0;will-change:opacity;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-text-field-helper-text::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}.mdc-text-field-helper-text--persistent{transition:none;opacity:1;will-change:initial}.mdc-text-field-character-counter{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin-left:auto;margin-right:0;padding-left:16px;padding-right:0;white-space:nowrap}.mdc-text-field-character-counter::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field__icon{align-self:center;cursor:pointer}.mdc-text-field__icon:not([tabindex]),.mdc-text-field__icon[tabindex="-1"]{cursor:default;pointer-events:none}.mdc-text-field__icon svg{display:block}.mdc-text-field__icon--leading{margin-left:16px;margin-right:8px}[dir=rtl] .mdc-text-field__icon--leading,.mdc-text-field__icon--leading[dir=rtl]{margin-left:8px;margin-right:16px}.mdc-text-field__icon--trailing{padding:12px;margin-left:0px;margin-right:0px}[dir=rtl] .mdc-text-field__icon--trailing,.mdc-text-field__icon--trailing[dir=rtl]{margin-left:0px;margin-right:0px}.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}:host{display:inline-flex;flex-direction:column;outline:none}.mdc-text-field{width:100%}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42);border-bottom-color:var(--mdc-text-field-idle-line-color, rgba(0, 0, 0, 0.42))}.mdc-text-field:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87);border-bottom-color:var(--mdc-text-field-hover-line-color, rgba(0, 0, 0, 0.87))}.mdc-text-field.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.06);border-bottom-color:var(--mdc-text-field-disabled-line-color, rgba(0, 0, 0, 0.06))}.mdc-text-field.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field__input{direction:inherit}mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-outlined-idle-border-color, rgba(0, 0, 0, 0.38) )}:host(:not([disabled]):hover) :not(.mdc-text-field--invalid):not(.mdc-text-field--focused) mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-outlined-hover-border-color, rgba(0, 0, 0, 0.87) )}:host(:not([disabled])) .mdc-text-field:not(.mdc-text-field--outlined){background-color:var(--mdc-text-field-fill-color, whitesmoke)}:host(:not([disabled])) .mdc-text-field.mdc-text-field--invalid mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-error-color, var(--mdc-theme-error, #b00020) )}:host(:not([disabled])) .mdc-text-field.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-character-counter,:host(:not([disabled])) .mdc-text-field.mdc-text-field--invalid .mdc-text-field__icon{color:var(--mdc-text-field-error-color, var(--mdc-theme-error, #b00020))}:host(:not([disabled])) .mdc-text-field:not(.mdc-text-field--invalid):not(.mdc-text-field--focused) .mdc-floating-label,:host(:not([disabled])) .mdc-text-field:not(.mdc-text-field--invalid):not(.mdc-text-field--focused) .mdc-floating-label::after{color:var(--mdc-text-field-label-ink-color, rgba(0, 0, 0, 0.6))}:host(:not([disabled])) .mdc-text-field.mdc-text-field--focused mwc-notched-outline{--mdc-notched-outline-stroke-width: 2px}:host(:not([disabled])) .mdc-text-field.mdc-text-field--focused:not(.mdc-text-field--invalid) mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-focused-label-color, var(--mdc-theme-primary, rgba(98, 0, 238, 0.87)) )}:host(:not([disabled])) .mdc-text-field.mdc-text-field--focused:not(.mdc-text-field--invalid) .mdc-floating-label{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host(:not([disabled])) .mdc-text-field .mdc-text-field__input{color:var(--mdc-text-field-ink-color, rgba(0, 0, 0, 0.87))}:host(:not([disabled])) .mdc-text-field .mdc-text-field__input::placeholder{color:var(--mdc-text-field-label-ink-color, rgba(0, 0, 0, 0.6))}:host(:not([disabled])) .mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg),:host(:not([disabled])) .mdc-text-field-helper-line:not(.mdc-text-field--invalid) .mdc-text-field-character-counter{color:var(--mdc-text-field-label-ink-color, rgba(0, 0, 0, 0.6))}:host([disabled]) .mdc-text-field:not(.mdc-text-field--outlined){background-color:var(--mdc-text-field-disabled-fill-color, #fafafa)}:host([disabled]) .mdc-text-field.mdc-text-field--outlined mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-outlined-disabled-border-color, rgba(0, 0, 0, 0.06) )}:host([disabled]) .mdc-text-field:not(.mdc-text-field--invalid):not(.mdc-text-field--focused) .mdc-floating-label,:host([disabled]) .mdc-text-field:not(.mdc-text-field--invalid):not(.mdc-text-field--focused) .mdc-floating-label::after{color:var(--mdc-text-field-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-text-field .mdc-text-field__input,:host([disabled]) .mdc-text-field .mdc-text-field__input::placeholder{color:var(--mdc-text-field-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-text-field-helper-line .mdc-text-field-helper-text,:host([disabled]) .mdc-text-field-helper-line .mdc-text-field-character-counter{color:var(--mdc-text-field-disabled-ink-color, rgba(0, 0, 0, 0.38))}']))),yr=class extends mr{};yr.styles=[gr],yr=(0,t.gn)([e("mwc-textfield")],yr);var vr,br=__webpack_require__(26924);const xr=S(vr||(vr=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n * {\n box-sizing: border-box;\n }\n\n :host {\n --lottie-player-toolbar-height: 35px;\n --lottie-player-toolbar-background-color: transparent;\n --lottie-player-toolbar-icon-color: #999;\n --lottie-player-toolbar-icon-hover-color: #222;\n --lottie-player-toolbar-icon-active-color: #555;\n --lottie-player-seeker-track-color: #ccc;\n --lottie-player-seeker-thumb-color: rgba(0, 107, 120, 0.8);\n\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .main {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n }\n\n .animation {\n width: 100%;\n height: 100%;\n display: flex;\n }\n .animation.controls {\n height: calc(100% - 35px);\n }\n\n .toolbar {\n display: flex;\n align-items: center;\n justify-items: center;\n background-color: var(--lottie-player-toolbar-background-color);\n margin: 0 5px;\n height: 35px;\n }\n\n .toolbar button {\n cursor: pointer;\n fill: var(--lottie-player-toolbar-icon-color);\n display: flex;\n background: none;\n border: 0;\n padding: 0;\n outline: none;\n height: 100%;\n }\n\n .toolbar button:hover {\n fill: var(--lottie-player-toolbar-icon-hover-color);\n }\n\n .toolbar button.active {\n fill: var(--lottie-player-toolbar-icon-active-color);\n }\n\n .toolbar button svg {\n }\n\n .toolbar button.disabled svg {\n display: none;\n }\n\n .seeker {\n -webkit-appearance: none;\n width: 95%;\n outline: none;\n background-color: var(--lottie-player-toolbar-background-color);\n }\n\n .seeker::-webkit-slider-runnable-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-webkit-slider-thumb {\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: var(--lottie-player-seeker-thumb-color);\n cursor: pointer;\n -webkit-appearance: none;\n margin-top: -5px;\n }\n .seeker:focus::-webkit-slider-runnable-track {\n background: #999;\n }\n .seeker::-moz-range-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-moz-range-thumb {\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: var(--lottie-player-seeker-thumb-color);\n cursor: pointer;\n }\n .seeker::-ms-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n background: transparent;\n border-color: transparent;\n color: transparent;\n }\n .seeker::-ms-fill-lower {\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-ms-fill-upper {\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-ms-thumb {\n border: 0;\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: var(--lottie-player-seeker-thumb-color);\n cursor: pointer;\n }\n .seeker:focus::-ms-fill-lower {\n background: var(--lottie-player-seeker-track-color);\n }\n .seeker:focus::-ms-fill-upper {\n background: var(--lottie-player-seeker-track-color);\n }\n\n .error {\n display: flex;\n justify-content: center;\n height: 100%;\n align-items: center;\n }\n"])));var wr,_r,Er,Sr,kr,Pr,Ar,Or;function Cr(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function Tr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ir(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Tr(Object(r),!0).forEach((function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Tr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Dr(t,e,r,n,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,i)}function Fr(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){Dr(o,n,i,a,s,"next",t)}function s(t){Dr(o,n,i,a,s,"throw",t)}a(void 0)}))}}function Rr(){return(Rr=Fr((function*(t){if("string"!=typeof t)throw new Error("The url value must be a string");var e;try{var r=new URL(t),n=yield fetch(r.toString());e=yield n.json()}catch(t){throw new Error("An error occurred while trying to load the Lottie file from URL")}return e}))).apply(this,arguments)}!function(t){t.Destroyed="destroyed",t.Error="error",t.Frozen="frozen",t.Loading="loading",t.Paused="paused",t.Playing="playing",t.Stopped="stopped"}(Pr||(Pr={})),function(t){t.Bounce="bounce",t.Normal="normal"}(Ar||(Ar={})),function(t){t.Complete="complete",t.Destroyed="destroyed",t.Error="error",t.Frame="frame",t.Freeze="freeze",t.Load="load",t.Loop="loop",t.Pause="pause",t.Play="play",t.Ready="ready",t.Rendered="rendered",t.Stop="stop"}(Or||(Or={}));var Mr=class extends Pt{constructor(){super(...arguments),this.autoplay=!1,this.background="transparent",this.controls=!1,this.currentState=Pr.Loading,this.description="Lottie animation",this.direction=1,this.hover=!1,this.intermission=1,this.loop=!1,this.mode=Ar.Normal,this.preserveAspectRatio="xMidYMid meet",this.renderer="svg",this.speed=1,this._io=void 0,this._counter=1}load(t){var e=this;return Fr((function*(){if(e.renderRoot){var r,n={container:e.container,loop:!1,autoplay:!1,renderer:e.renderer,rendererSettings:{preserveAspectRatio:e.preserveAspectRatio,clearCanvas:!1,progressiveLoad:!0,hideOnTransparent:!0}};try{var i=function(t){if("object"==typeof t)return t;try{return JSON.parse(t)}catch(e){return new URL(t,window.location.href).toString()}}(t),o={},a="string"==typeof i?"path":"animationData";e._lottie&&e._lottie.destroy(),e.webworkers&&br.useWebWorker(!0),e._lottie=br.loadAnimation(Ir(Ir({},n),{},{[a]:i})),e._attachEventListeners(),"path"===a?(o=yield function(t){return Rr.apply(this,arguments)}(i),a="animationData"):o=i,r=o,["v","ip","op","layers","fr","w","h"].every((t=>Object.prototype.hasOwnProperty.call(r,t)))||(e.currentState=Pr.Error,e.dispatchEvent(new CustomEvent(Or.Error)))}catch(t){e.currentState=Pr.Error,e.dispatchEvent(new CustomEvent(Or.Error))}}}))()}getLottie(){return this._lottie}play(){this._lottie&&(this._lottie.play(),this.currentState=Pr.Playing,this.dispatchEvent(new CustomEvent(Or.Play)))}pause(){this._lottie&&(this._lottie.pause(),this.currentState=Pr.Paused,this.dispatchEvent(new CustomEvent(Or.Pause)))}stop(){this._lottie&&(this._counter=1,this._lottie.stop(),this.currentState=Pr.Stopped,this.dispatchEvent(new CustomEvent(Or.Stop)))}destroy(){this._lottie&&(this._lottie.destroy(),this.currentState=Pr.Destroyed,this.dispatchEvent(new CustomEvent(Or.Destroyed)),this.remove())}seek(t){if(this._lottie){var e=/^(\d+)(%?)$/.exec(t.toString());if(e){var r="%"===e[2]?this._lottie.totalFrames*Number(e[1])/100:Number(e[1]);this.seeker=r,this.currentState===Pr.Playing?this._lottie.goToAndPlay(r,!0):(this._lottie.goToAndStop(r,!0),this._lottie.pause())}}}snapshot(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.renderRoot){var e=this.renderRoot.querySelector(".animation svg"),r=(new XMLSerializer).serializeToString(e);if(t){var n=document.createElement("a");n.href="data:image/svg+xml;charset=utf-8,".concat(encodeURIComponent(r)),n.download="download_".concat(this.seeker,".svg"),document.body.appendChild(n),n.click(),document.body.removeChild(n)}return r}}setSpeed(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this._lottie&&this._lottie.setSpeed(t)}setDirection(t){this._lottie&&this._lottie.setDirection(t)}setLooping(t){this._lottie&&(this.loop=t,this._lottie.loop=t)}togglePlay(){return this.currentState===Pr.Playing?this.pause():this.play()}toggleLooping(){this.setLooping(!this.loop)}resize(){this._lottie&&this._lottie.resize()}disconnectedCallback(){this._io&&(this._io.disconnect(),this._io=void 0),document.removeEventListener("visibilitychange",(()=>this._onVisibilityChange())),this.destroy()}render(){var t=this.controls?"main controls":"main",e=this.controls?"animation controls":"animation";return it(wr||(wr=Cr([' <div id="animation-container" class='," aria-label=",'>\n <div id="animation" class=',' style="background:',';">\n ',"\n </div>\n ","\n </div>"])),t,this.description,e,this.background,this.currentState===Pr.Error?it(_r||(_r=Cr(['<div class="error">⚠️</div>']))):void 0,this.controls?this.renderControls():void 0)}firstUpdated(){"IntersectionObserver"in window&&(this._io=new IntersectionObserver((t=>{t[0].isIntersecting?this.currentState===Pr.Frozen&&this.play():this.currentState===Pr.Playing&&this.freeze()})),this._io.observe(this.container)),void 0!==document.hidden&&document.addEventListener("visibilitychange",(()=>this._onVisibilityChange())),this.src&&this.load(this.src),this.dispatchEvent(new CustomEvent(Or.Rendered))}renderControls(){var t=this.currentState===Pr.Playing,e=this.currentState===Pr.Paused,r=this.currentState===Pr.Stopped;return it(Er||(Er=Cr(['\n <div id="lottie-controls" aria-label="lottie-animation-controls" class="toolbar">\n <button\n id="lottie-play-button"\n @click=',"\n class=",'\n style="align-items:center;"\n role="button"\n tabindex="0"\n aria-label="play-pause"\n >\n ','\n </button>\n <button\n id="lottie-stop-button"\n @click=',"\n class=",'\n style="align-items:center;"\n role="button"\n tabindex="1"\n aria-label="stop"\n >\n <svg width="24" height="24"><path d="M6 6h12v12H6V6z" /></svg>\n </button>\n <input\n id="lottie-seeker-input"\n class="seeker"\n type="range"\n min="0"\n step="1"\n max="100"\n .value=',"\n @input=","\n @mousedown=","\n @mouseup=",'\n aria-valuemin="1"\n aria-valuemax="100"\n role="slider"\n aria-valuenow=','\n tabindex="2"\n aria-label="lottie-seek-input"\n />\n <button\n id="lottie-loop-toggle"\n @click=',"\n class=",'\n style="align-items:center;"\n role="button"\n tabindex="3"\n aria-label="loop-toggle"\n >\n <svg width="24" height="24">\n <path\n d="M17.016 17.016v-4.031h1.969v6h-12v3l-3.984-3.984 3.984-3.984v3h10.031zM6.984 6.984v4.031H5.015v-6h12v-3l3.984 3.984-3.984 3.984v-3H6.984z"\n />\n </svg>\n </button>\n </div>\n '])),this.togglePlay,t||e?"active":"",it(t?Sr||(Sr=Cr(['<svg width="24" height="24">\n <path d="M14.016 5.016H18v13.969h-3.984V5.016zM6 18.984V5.015h3.984v13.969H6z" />\n </svg>'])):kr||(kr=Cr(['<svg width="24" height="24">\n <path d="M8.016 5.016L18.985 12 8.016 18.984V5.015z" />\n </svg>']))),this.stop,r?"active":"",this.seeker,this._handleSeekChange,(()=>{this._prevState=this.currentState,this.freeze()}),(()=>{this._prevState===Pr.Playing&&this.play()}),this.seeker,this.toggleLooping,this.loop?"active":"")}_onVisibilityChange(){!0===document.hidden&&this.currentState===Pr.Playing?this.freeze():this.currentState===Pr.Frozen&&this.play()}_handleSeekChange(t){if(this._lottie&&!isNaN(t.target.value)){var e=t.target.value/100*this._lottie.totalFrames;this.seek(e)}}_attachEventListeners(){this._lottie.addEventListener("enterFrame",(()=>{this.seeker=this._lottie.currentFrame/this._lottie.totalFrames*100,this.dispatchEvent(new CustomEvent(Or.Frame,{detail:{frame:this._lottie.currentFrame,seeker:this.seeker}}))})),this._lottie.addEventListener("complete",(()=>{this.currentState===Pr.Playing?!this.loop||this.count&&this._counter>=this.count?this.dispatchEvent(new CustomEvent(Or.Complete)):this.mode===Ar.Bounce?(this.count&&(this._counter+=.5),setTimeout((()=>{this.dispatchEvent(new CustomEvent(Or.Loop)),this.currentState===Pr.Playing&&(this._lottie.setDirection(-1*this._lottie.playDirection),this._lottie.play())}),this.intermission)):(this.count&&(this._counter+=1),window.setTimeout((()=>{this.dispatchEvent(new CustomEvent(Or.Loop)),this.currentState===Pr.Playing&&(this._lottie.stop(),this._lottie.play())}),this.intermission)):this.dispatchEvent(new CustomEvent(Or.Complete))})),this._lottie.addEventListener("DOMLoaded",(()=>{this.setSpeed(this.speed),this.setDirection(this.direction),this.autoplay&&this.play(),this.dispatchEvent(new CustomEvent(Or.Ready))})),this._lottie.addEventListener("data_ready",(()=>{this.dispatchEvent(new CustomEvent(Or.Load))})),this._lottie.addEventListener("data_failed",(()=>{this.currentState=Pr.Error,this.dispatchEvent(new CustomEvent(Or.Error))})),this.container.addEventListener("mouseenter",(()=>{this.hover&&this.currentState!==Pr.Playing&&this.play()})),this.container.addEventListener("mouseleave",(()=>{this.hover&&this.currentState===Pr.Playing&&this.stop()}))}freeze(){this._lottie&&(this._lottie.pause(),this.currentState=Pr.Frozen,this.dispatchEvent(new CustomEvent(Or.Freeze)))}};function jr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?jr(Object(r),!0).forEach((function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}Mr.styles=xr,(0,t.gn)([a({type:Boolean})],Mr.prototype,"autoplay",void 0),(0,t.gn)([a({type:String,reflect:!0})],Mr.prototype,"background",void 0),(0,t.gn)([a({type:Boolean})],Mr.prototype,"controls",void 0),(0,t.gn)([a({type:Number})],Mr.prototype,"count",void 0),(0,t.gn)([a({type:String})],Mr.prototype,"currentState",void 0),(0,t.gn)([a({type:String})],Mr.prototype,"description",void 0),(0,t.gn)([a({type:Number})],Mr.prototype,"direction",void 0),(0,t.gn)([a({type:Boolean})],Mr.prototype,"hover",void 0),(0,t.gn)([a()],Mr.prototype,"intermission",void 0),(0,t.gn)([a({type:Boolean,reflect:!0})],Mr.prototype,"loop",void 0),(0,t.gn)([a()],Mr.prototype,"mode",void 0),(0,t.gn)([a({type:String})],Mr.prototype,"preserveAspectRatio",void 0),(0,t.gn)([a({type:String})],Mr.prototype,"renderer",void 0),(0,t.gn)([a()],Mr.prototype,"seeker",void 0),(0,t.gn)([a({type:Number})],Mr.prototype,"speed",void 0),(0,t.gn)([a({type:String})],Mr.prototype,"src",void 0),(0,t.gn)([a({type:Boolean})],Mr.prototype,"webworkers",void 0),(0,t.gn)([m(".animation")],Mr.prototype,"container",void 0),Mr=(0,t.gn)([e("lottie-player")],Mr);var Nr=(t,e,r,n)=>("function"==typeof r&&(n=r,r=void 0),((t,e,r,n)=>{t.queryStringParams&&(e=((t,e)=>{if(e&&"object"==typeof e){var r="";for(var n in e)r+="&"+encodeURIComponent(n)+"="+encodeURIComponent(e[n]);if(!r)return t;t=t+(-1!==t.indexOf("?")?"&":"?")+r.slice(1)}return t})(e,t.queryStringParams));var i="function"==typeof t.customHeaders?t.customHeaders():t.customHeaders;r&&(i["Content-Type"]="application/json"),fetch(e,Lr(Lr({},"function"==typeof t.requestOptions?t.requestOptions(r):t.requestOptions),{},{method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:i})).then((t=>{if(!t.ok)return n(t.statusText||"Error",{status:t.status});t.text().then((e=>{n(null,{status:t.status,data:e})})).catch(n)})).catch(n)})(t,e,r,n||(()=>{})));function Br(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Br(Object(r),!0).forEach((function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Br(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}class zr{constructor(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=t,this.options=e,this.allOptions=r,this.type="backend",this.init(t,e,r)}init(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=t,this.options=Vr(Vr(Vr({},{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",allowMultiLoading:!1,parse:t=>JSON.parse(t),stringify:JSON.stringify,parsePayload:(t,e,r)=>({[e]:r||""}),request:Nr,reloadInterval:"undefined"==typeof window&&36e5,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}),this.options),e),this.allOptions=r,this.services&&this.options.reloadInterval&&setInterval((()=>this.reload()),this.options.reloadInterval)}readMulti(t,e,r){this._readAny(t,t,e,e,r)}read(t,e,r){this._readAny([t],t,[e],e,r)}_readAny(t,e,r,n,i){var o,a=this.options.loadPath;"function"==typeof this.options.loadPath&&(a=this.options.loadPath(t,r)),(a=function(t){return!!t&&"function"==typeof t.then}(o=a)?o:Promise.resolve(o)).then((o=>{var a=this.services.interpolator.interpolate(o,{lng:t.join("+"),ns:r.join("+")});this.loadUrl(a,i,e,n)}))}loadUrl(t,e,r,n){this.options.request(this.options,t,void 0,((i,o)=>{if(o&&(o.status>=500&&o.status<600||!o.status))return e("failed loading "+t+"; status code: "+o.status,!0);if(o&&o.status>=400&&o.status<500)return e("failed loading "+t+"; status code: "+o.status,!1);if(!o&&i&&i.message&&i.message.indexOf("Failed to fetch")>-1)return e("failed loading "+t+": "+i.message,!0);if(i)return e(i,!1);var a,s;try{a="string"==typeof o.data?this.options.parse(o.data,r,n):o.data}catch(e){s="failed parsing "+t+" to json"}if(s)return e(s,!1);e(null,a)}))}create(t,e,r,n,i){if(this.options.addPath){"string"==typeof t&&(t=[t]);var o=this.options.parsePayload(e,r,n),a=0,s=[],l=[];t.forEach((r=>{var n=this.options.addPath;"function"==typeof this.options.addPath&&(n=this.options.addPath(r,e));var c=this.services.interpolator.interpolate(n,{lng:r,ns:e});this.options.request(this.options,c,o,((e,r)=>{a+=1,s.push(e),l.push(r),a===t.length&&i&&i(s,l)}))}))}}reload(){var{backendConnector:t,languageUtils:e,logger:r}=this.services,n=t.language;if(!n||"cimode"!==n.toLowerCase()){var i=[],o=t=>{e.toResolveHierarchy(t).forEach((t=>{i.indexOf(t)<0&&i.push(t)}))};o(n),this.allOptions.preload&&this.allOptions.preload.forEach((t=>o(t))),i.forEach((e=>{this.allOptions.ns.forEach((n=>{t.read(e,n,"read",null,null,((i,o)=>{i&&r.warn("loading namespace ".concat(n," for language ").concat(e," failed"),i),!i&&o&&r.log("loaded namespace ".concat(n," for language ").concat(e),o),t.loaded("".concat(e,"|").concat(n),i,o)}))}))}))}}}function qr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(t){return Gr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gr(t)}function Ur(t){var e=function(t,e){if("object"!==Gr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Gr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Gr(e)?e:String(e)}function Hr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ur(n.key),n)}}function $r(t,e,r){return e&&Hr(t.prototype,e),r&&Hr(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}zr.type="backend";var Wr=[],Qr=Wr.forEach,Kr=Wr.slice,Yr=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Jr={name:"cookie",lookup:function(t){var e;if(t.lookupCookie&&"undefined"!=typeof document){var r=function(t){for(var e="".concat(t,"="),r=document.cookie.split(";"),n=0;n<r.length;n++){for(var i=r[n];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(e))return i.substring(e.length,i.length)}return null}(t.lookupCookie);r&&(e=r)}return e},cacheUserLanguage:function(t,e){e.lookupCookie&&"undefined"!=typeof document&&function(t,e,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};r&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+60*r*1e3)),n&&(i.domain=n),document.cookie=function(t,e,r){var n=r||{};n.path=n.path||"/";var i=encodeURIComponent(e),o="".concat(t,"=").concat(i);if(n.maxAge>0){var a=n.maxAge-0;if(Number.isNaN(a))throw new Error("maxAge should be a Number");o+="; Max-Age=".concat(Math.floor(a))}if(n.domain){if(!Yr.test(n.domain))throw new TypeError("option domain is invalid");o+="; Domain=".concat(n.domain)}if(n.path){if(!Yr.test(n.path))throw new TypeError("option path is invalid");o+="; Path=".concat(n.path)}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");o+="; Expires=".concat(n.expires.toUTCString())}if(n.httpOnly&&(o+="; HttpOnly"),n.secure&&(o+="; Secure"),n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o}(t,encodeURIComponent(e),i)}(e.lookupCookie,t,e.cookieMinutes,e.cookieDomain,e.cookieOptions)}},Xr={name:"querystring",lookup:function(t){var e;if("undefined"!=typeof window){var r=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var n=r.substring(1).split("&"),i=0;i<n.length;i++){var o=n[i].indexOf("=");o>0&&n[i].substring(0,o)===t.lookupQuerystring&&(e=n[i].substring(o+1))}}return e}},Zr=null,tn=function(){if(null!==Zr)return Zr;try{Zr="undefined"!==window&&null!==window.localStorage;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch(t){Zr=!1}return Zr},en={name:"localStorage",lookup:function(t){var e;if(t.lookupLocalStorage&&tn()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(e=r)}return e},cacheUserLanguage:function(t,e){e.lookupLocalStorage&&tn()&&window.localStorage.setItem(e.lookupLocalStorage,t)}},rn=null,nn=function(){if(null!==rn)return rn;try{rn="undefined"!==window&&null!==window.sessionStorage;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch(t){rn=!1}return rn},on={name:"sessionStorage",lookup:function(t){var e;if(t.lookupSessionStorage&&nn()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(e=r)}return e},cacheUserLanguage:function(t,e){e.lookupSessionStorage&&nn()&&window.sessionStorage.setItem(e.lookupSessionStorage,t)}},an={name:"navigator",lookup:function(t){var e=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var r=0;r<navigator.languages.length;r++)e.push(navigator.languages[r]);navigator.userLanguage&&e.push(navigator.userLanguage),navigator.language&&e.push(navigator.language)}return e.length>0?e:void 0}},sn={name:"htmlTag",lookup:function(t){var e,r=t.htmlTag||("undefined"!=typeof document?document.documentElement:null);return r&&"function"==typeof r.getAttribute&&(e=r.getAttribute("lang")),e}},ln={name:"path",lookup:function(t){var e;if("undefined"!=typeof window){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if("number"==typeof t.lookupFromPathIndex){if("string"!=typeof r[t.lookupFromPathIndex])return;e=r[t.lookupFromPathIndex].replace("/","")}else e=r[0].replace("/","")}return e}},cn={name:"subdomain",lookup:function(t){var e="number"==typeof t.lookupFromSubdomainIndex?t.lookupFromSubdomainIndex+1:1,r="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[e]}},pn=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};qr(this,t),this.type="languageDetector",this.detectors={},this.init(e,r)}return $r(t,[{key:"init",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=t,this.options=function(t){return Qr.call(Kr.call(arguments,1),(function(e){if(e)for(var r in e)void 0===t[r]&&(t[r]=e[r])})),t}(e,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(Jr),this.addDetector(Xr),this.addDetector(en),this.addDetector(on),this.addDetector(an),this.addDetector(sn),this.addDetector(ln),this.addDetector(cn)}},{key:"addDetector",value:function(t){this.detectors[t.name]=t}},{key:"detect",value:function(t){var e=this;t||(t=this.options.order);var r=[];return t.forEach((function(t){if(e.detectors[t]){var n=e.detectors[t].lookup(e.options);n&&"string"==typeof n&&(n=[n]),n&&(r=r.concat(n))}})),this.services.languageUtils.getBestMatchFromCodes?r:r.length>0?r[0]:null}},{key:"cacheUserLanguage",value:function(t,e){var r=this;e||(e=this.options.caches),e&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||e.forEach((function(e){r.detectors[e]&&r.detectors[e].cacheUserLanguage(t,r.options)})))}}]),t}();function un(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hn(t,e){return hn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},hn(t,e)}function dn(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&hn(t,e)}function fn(t,e){if(e&&("object"===Gr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return un(t)}function mn(t){return mn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},mn(t)}function gn(t,e,r){return(e=Ur(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function yn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}pn.type="languageDetector";var vn=__webpack_require__(51266);function bn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function xn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?bn(Object(r),!0).forEach((function(e){gn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var wn={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,e){vn&&vn[t]&&vn[t].apply(vn,e)}},_n=new(function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};qr(this,t),this.init(e,r)}return $r(t,[{key:"init",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||wn,this.options=e,this.debug=e.debug}},{key:"setDebug",value:function(t){this.debug=t}},{key:"log",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.forward(e,"log","",!0)}},{key:"warn",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.forward(e,"warn","",!0)}},{key:"error",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.forward(e,"error","")}},{key:"deprecate",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(t,e,r,n){return n&&!this.debug?null:("string"==typeof t[0]&&(t[0]="".concat(r).concat(this.prefix," ").concat(t[0])),this.logger[e](t))}},{key:"create",value:function(e){return new t(this.logger,xn(xn({},{prefix:"".concat(this.prefix,":").concat(e,":")}),this.options))}},{key:"clone",value:function(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new t(this.logger,e)}}]),t}()),En=function(){function t(){qr(this,t),this.observers={}}return $r(t,[{key:"on",value:function(t,e){var r=this;return t.split(" ").forEach((function(t){r.observers[t]=r.observers[t]||[],r.observers[t].push(e)})),this}},{key:"off",value:function(t,e){this.observers[t]&&(e?this.observers[t]=this.observers[t].filter((function(t){return t!==e})):delete this.observers[t])}},{key:"emit",value:function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];this.observers[t]&&[].concat(this.observers[t]).forEach((function(t){t.apply(void 0,r)})),this.observers["*"]&&[].concat(this.observers["*"]).forEach((function(e){e.apply(e,[t].concat(r))}))}}]),t}();function Sn(){var t,e,r=new Promise((function(r,n){t=r,e=n}));return r.resolve=t,r.reject=e,r}function kn(t){return null==t?"":""+t}function Pn(t,e,r){function n(t){return t&&t.indexOf("###")>-1?t.replace(/###/g,"."):t}function i(){return!t||"string"==typeof t}for(var o="string"!=typeof e?[].concat(e):e.split(".");o.length>1;){if(i())return{};var a=n(o.shift());!t[a]&&r&&(t[a]=new r),t=Object.prototype.hasOwnProperty.call(t,a)?t[a]:{}}return i()?{}:{obj:t,k:n(o.shift())}}function An(t,e,r){var n=Pn(t,e,Object);n.obj[n.k]=r}function On(t,e){var r=Pn(t,e),n=r.obj,i=r.k;if(n)return n[i]}function Cn(t,e,r){var n=On(t,r);return void 0!==n?n:On(e,r)}function Tn(t,e,r){for(var n in e)"__proto__"!==n&&"constructor"!==n&&(n in t?"string"==typeof t[n]||t[n]instanceof String||"string"==typeof e[n]||e[n]instanceof String?r&&(t[n]=e[n]):Tn(t[n],e[n],r):t[n]=e[n]);return t}function In(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Dn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function Fn(t){return"string"==typeof t?t.replace(/[&<>"'\/]/g,(function(t){return Dn[t]})):t}var Rn="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Mn=[" ",",","?","!",";"];function jn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ln(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?jn(Object(r),!0).forEach((function(e){gn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Nn(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(t){if(t[e])return t[e];for(var n=e.split(r),i=t,o=0;o<n.length;++o){if(!i)return;if("string"==typeof i[n[o]]&&o+1<n.length)return;if(void 0===i[n[o]]){for(var a=2,s=n.slice(o,o+a).join(r),l=i[s];void 0===l&&n.length>o+a;)a++,l=i[s=n.slice(o,o+a).join(r)];if(void 0===l)return;if(null===l)return null;if(e.endsWith(s)){if("string"==typeof l)return l;if(s&&"string"==typeof l[s])return l[s]}var c=n.slice(o+a).join(r);return c?Nn(l,c,r):void 0}i=i[n[o]]}return i}}var Bn=function(t){dn(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=mn(e);if(r){var i=mn(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return fn(this,t)});function i(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return qr(this,i),e=n.call(this),Rn&&En.call(un(e)),e.data=t||{},e.options=r,void 0===e.options.keySeparator&&(e.options.keySeparator="."),void 0===e.options.ignoreJSONStructure&&(e.options.ignoreJSONStructure=!0),e}return $r(i,[{key:"addNamespaces",value:function(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}},{key:"removeNamespaces",value:function(t){var e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)}},{key:"getResource",value:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,o=void 0!==n.ignoreJSONStructure?n.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[t,e];r&&"string"!=typeof r&&(a=a.concat(r)),r&&"string"==typeof r&&(a=a.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(a=t.split("."));var s=On(this.data,a);return s||!o||"string"!=typeof r?s:Nn(this.data&&this.data[t]&&this.data[t][e],r,i)}},{key:"addResource",value:function(t,e,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var a=[t,e];r&&(a=a.concat(o?r.split(o):r)),t.indexOf(".")>-1&&(n=e,e=(a=t.split("."))[1]),this.addNamespaces(e),An(this.data,a,n),i.silent||this.emit("added",t,e,r,n)}},{key:"addResources",value:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in r)"string"!=typeof r[i]&&"[object Array]"!==Object.prototype.toString.apply(r[i])||this.addResource(t,e,i,r[i],{silent:!0});n.silent||this.emit("added",t,e,r)}},{key:"addResourceBundle",value:function(t,e,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[t,e];t.indexOf(".")>-1&&(n=r,r=e,e=(a=t.split("."))[1]),this.addNamespaces(e);var s=On(this.data,a)||{};n?Tn(s,r,i):s=Ln(Ln({},s),r),An(this.data,a,s),o.silent||this.emit("added",t,e,r)}},{key:"removeResourceBundle",value:function(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)}},{key:"hasResourceBundle",value:function(t,e){return void 0!==this.getResource(t,e)}},{key:"getResourceBundle",value:function(t,e){return e||(e=this.options.defaultNS),"v1"===this.options.compatibilityAPI?Ln(Ln({},{}),this.getResource(t,e)):this.getResource(t,e)}},{key:"getDataByLanguage",value:function(t){return this.data[t]}},{key:"hasLanguageSomeTranslations",value:function(t){var e=this.getDataByLanguage(t);return!!(e&&Object.keys(e)||[]).find((function(t){return e[t]&&Object.keys(e[t]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),i}(En),Vn={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,e,r,n,i){var o=this;return t.forEach((function(t){o.processors[t]&&(e=o.processors[t].process(e,r,n,i))})),e}};function zn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?zn(Object(r),!0).forEach((function(e){gn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Gn={},Un=function(t){dn(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=mn(e);if(r){var i=mn(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return fn(this,t)});function i(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return qr(this,i),e=n.call(this),Rn&&En.call(un(e)),function(t,e,r){["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((function(t){e[t]&&(r[t]=e[t])}))}(0,t,un(e)),e.options=r,void 0===e.options.keySeparator&&(e.options.keySeparator="."),e.logger=_n.create("translator"),e}return $r(i,[{key:"changeLanguage",value:function(t){t&&(this.language=t)}},{key:"exists",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==t)return!1;var r=this.resolve(t,e);return r&&void 0!==r.res}},{key:"extractFromKey",value:function(t,e){var r=void 0!==e.nsSeparator?e.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");var n=void 0!==e.keySeparator?e.keySeparator:this.options.keySeparator,i=e.ns||this.options.defaultNS||[],o=r&&t.indexOf(r)>-1,a=!(this.options.userDefinedKeySeparator||e.keySeparator||this.options.userDefinedNsSeparator||e.nsSeparator||function(t,e,r){e=e||"",r=r||"";var n=Mn.filter((function(t){return e.indexOf(t)<0&&r.indexOf(t)<0}));if(0===n.length)return!0;var i=new RegExp("(".concat(n.map((function(t){return"?"===t?"\\?":t})).join("|"),")")),o=!i.test(t);if(!o){var a=t.indexOf(r);a>0&&!i.test(t.substring(0,a))&&(o=!0)}return o}(t,r,n));if(o&&!a){var s=t.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:t,namespaces:i};var l=t.split(r);(r!==n||r===n&&this.options.ns.indexOf(l[0])>-1)&&(i=l.shift()),t=l.join(n)}return"string"==typeof i&&(i=[i]),{key:t,namespaces:i}}},{key:"translate",value:function(t,e,r){var n=this;if("object"!==Gr(e)&&this.options.overloadTranslationOptionHandler&&(e=this.options.overloadTranslationOptionHandler(arguments)),e||(e={}),null==t)return"";Array.isArray(t)||(t=[String(t)]);var o=void 0!==e.returnDetails?e.returnDetails:this.options.returnDetails,a=void 0!==e.keySeparator?e.keySeparator:this.options.keySeparator,s=this.extractFromKey(t[t.length-1],e),l=s.key,c=s.namespaces,p=c[c.length-1],u=e.lng||this.language,h=e.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&"cimode"===u.toLowerCase()){if(h){var d=e.nsSeparator||this.options.nsSeparator;return o?(f.res="".concat(p).concat(d).concat(l),f):"".concat(p).concat(d).concat(l)}return o?(f.res=l,f):l}var f=this.resolve(t,e),m=f&&f.res,g=f&&f.usedKey||l,y=f&&f.exactUsedKey||l,v=Object.prototype.toString.apply(m),b=void 0!==e.joinArrays?e.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject;if(x&&m&&"string"!=typeof m&&"boolean"!=typeof m&&"number"!=typeof m&&["[object Number]","[object Function]","[object RegExp]"].indexOf(v)<0&&("string"!=typeof b||"[object Array]"!==v)){if(!e.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var w=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,m,qn(qn({},e),{},{ns:c})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");return o?(f.res=w,f):w}if(a){var _="[object Array]"===v,E=_?[]:{},S=_?y:g;for(var k in m)if(Object.prototype.hasOwnProperty.call(m,k)){var P="".concat(S).concat(a).concat(k);E[k]=this.translate(P,qn(qn({},e),{joinArrays:!1,ns:c})),E[k]===P&&(E[k]=m[k])}m=E}}else if(x&&"string"==typeof b&&"[object Array]"===v)(m=m.join(b))&&(m=this.extendTranslation(m,t,e,r));else{var A=!1,O=!1,C=void 0!==e.count&&"string"!=typeof e.count,T=i.hasDefaultValue(e),I=C?this.pluralResolver.getSuffix(u,e.count,e):"",D=e["defaultValue".concat(I)]||e.defaultValue;!this.isValidLookup(m)&&T&&(A=!0,m=D),this.isValidLookup(m)||(O=!0,m=l);var F=(e.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&O?void 0:m,R=T&&D!==m&&this.options.updateMissing;if(O||A||R){if(this.logger.log(R?"updateKey":"missingKey",u,p,l,R?D:m),a){var M=this.resolve(l,qn(qn({},e),{},{keySeparator:!1}));M&&M.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var j=[],L=this.languageUtils.getFallbackCodes(this.options.fallbackLng,e.lng||this.language);if("fallback"===this.options.saveMissingTo&&L&&L[0])for(var N=0;N<L.length;N++)j.push(L[N]);else"all"===this.options.saveMissingTo?j=this.languageUtils.toResolveHierarchy(e.lng||this.language):j.push(e.lng||this.language);var B=function(t,r,i){var o=T&&i!==m?i:F;n.options.missingKeyHandler?n.options.missingKeyHandler(t,p,r,o,R,e):n.backendConnector&&n.backendConnector.saveMissing&&n.backendConnector.saveMissing(t,p,r,o,R,e),n.emit("missingKey",t,p,r,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&C?j.forEach((function(t){n.pluralResolver.getSuffixes(t,e).forEach((function(r){B([t],l+r,e["defaultValue".concat(r)]||D)}))})):B(j,l,D))}m=this.extendTranslation(m,t,e,f,r),O&&m===l&&this.options.appendNamespaceToMissingKey&&(m="".concat(p,":").concat(l)),(O||A)&&this.options.parseMissingKeyHandler&&(m="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(p,":").concat(l):l,A?m:void 0):this.options.parseMissingKeyHandler(m))}return o?(f.res=m,f):m}},{key:"extendTranslation",value:function(t,e,r,n,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,qn(qn({},this.options.interpolation.defaultVariables),r),n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init(qn(qn({},r),{interpolation:qn(qn({},this.options.interpolation),r.interpolation)}));var a,s="string"==typeof t&&(r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var l=t.match(this.interpolator.nestingRegexp);a=l&&l.length}var c=r.replace&&"string"!=typeof r.replace?r.replace:r;if(this.options.interpolation.defaultVariables&&(c=qn(qn({},this.options.interpolation.defaultVariables),c)),t=this.interpolator.interpolate(t,c,r.lng||this.language,r),s){var p=t.match(this.interpolator.nestingRegexp);a<(p&&p.length)&&(r.nest=!1)}!1!==r.nest&&(t=this.interpolator.nest(t,(function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return i&&i[0]===n[0]&&!r.context?(o.logger.warn("It seems you are nesting recursively key: ".concat(n[0]," in key: ").concat(e[0])),null):o.translate.apply(o,n.concat([e]))}),r)),r.interpolation&&this.interpolator.reset()}var u=r.postProcess||this.options.postProcess,h="string"==typeof u?[u]:u;return null!=t&&h&&h.length&&!1!==r.applyPostProcessor&&(t=Vn.handle(h,t,e,this.options&&this.options.postProcessPassResolved?qn({i18nResolved:n},r):r,this)),t}},{key:"resolve",value:function(t){var e,r,n,i,o,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof t&&(t=[t]),t.forEach((function(t){if(!a.isValidLookup(e)){var l=a.extractFromKey(t,s),c=l.key;r=c;var p=l.namespaces;a.options.fallbackNS&&(p=p.concat(a.options.fallbackNS));var u=void 0!==s.count&&"string"!=typeof s.count,h=u&&!s.ordinal&&0===s.count&&a.pluralResolver.shouldUseIntlApi(),d=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,f=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);p.forEach((function(t){a.isValidLookup(e)||(o=t,!Gn["".concat(f[0],"-").concat(t)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(o)&&(Gn["".concat(f[0],"-").concat(t)]=!0,a.logger.warn('key "'.concat(r,'" for languages "').concat(f.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach((function(r){if(!a.isValidLookup(e)){i=r;var o,l=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(l,c,r,t,s);else{var p;u&&(p=a.pluralResolver.getSuffix(r,s.count,s));var f="".concat(a.options.pluralSeparator,"zero");if(u&&(l.push(c+p),h&&l.push(c+f)),d){var m="".concat(c).concat(a.options.contextSeparator).concat(s.context);l.push(m),u&&(l.push(m+p),h&&l.push(m+f))}}for(;o=l.pop();)a.isValidLookup(e)||(n=o,e=a.getResource(r,t,o,s))}})))}))}})),{res:e,usedKey:r,exactUsedKey:n,usedLng:i,usedNS:o}}},{key:"isValidLookup",value:function(t){return!(void 0===t||!this.options.returnNull&&null===t||!this.options.returnEmptyString&&""===t)}},{key:"getResource",value:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,e,r,n):this.resourceStore.getResource(t,e,r,n)}}],[{key:"hasDefaultValue",value:function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&"defaultValue"===e.substring(0,12)&&void 0!==t[e])return!0;return!1}}]),i}(En);function Hn(t){return t.charAt(0).toUpperCase()+t.slice(1)}var $n=function(){function t(e){qr(this,t),this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=_n.create("languageUtils")}return $r(t,[{key:"getScriptPartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return null;var e=t.split("-");return 2===e.length?null:(e.pop(),"x"===e[e.length-1].toLowerCase()?null:this.formatLanguageCode(e.join("-")))}},{key:"getLanguagePartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return t;var e=t.split("-");return this.formatLanguageCode(e[0])}},{key:"formatLanguageCode",value:function(t){if("string"==typeof t&&t.indexOf("-")>-1){var e=["hans","hant","latn","cyrl","cans","mong","arab"],r=t.split("-");return this.options.lowerCaseLng?r=r.map((function(t){return t.toLowerCase()})):2===r.length?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),e.indexOf(r[1].toLowerCase())>-1&&(r[1]=Hn(r[1].toLowerCase()))):3===r.length&&(r[0]=r[0].toLowerCase(),2===r[1].length&&(r[1]=r[1].toUpperCase()),"sgn"!==r[0]&&2===r[2].length&&(r[2]=r[2].toUpperCase()),e.indexOf(r[1].toLowerCase())>-1&&(r[1]=Hn(r[1].toLowerCase())),e.indexOf(r[2].toLowerCase())>-1&&(r[2]=Hn(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}},{key:"isSupportedCode",value:function(t){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}},{key:"getBestMatchFromCodes",value:function(t){var e,r=this;return t?(t.forEach((function(t){if(!e){var n=r.formatLanguageCode(t);r.options.supportedLngs&&!r.isSupportedCode(n)||(e=n)}})),!e&&this.options.supportedLngs&&t.forEach((function(t){if(!e){var n=r.getLanguagePartFromCode(t);if(r.isSupportedCode(n))return e=n;e=r.options.supportedLngs.find((function(t){if(0===t.indexOf(n))return t}))}})),e||(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e):null}},{key:"getFallbackCodes",value:function(t,e){if(!t)return[];if("function"==typeof t&&(t=t(e)),"string"==typeof t&&(t=[t]),"[object Array]"===Object.prototype.toString.apply(t))return t;if(!e)return t.default||[];var r=t[e];return r||(r=t[this.getScriptPartFromCode(e)]),r||(r=t[this.formatLanguageCode(e)]),r||(r=t[this.getLanguagePartFromCode(e)]),r||(r=t.default),r||[]}},{key:"toResolveHierarchy",value:function(t,e){var r=this,n=this.getFallbackCodes(e||this.options.fallbackLng||[],t),i=[],o=function(t){t&&(r.isSupportedCode(t)?i.push(t):r.logger.warn("rejecting language code not found in supportedLngs: ".concat(t)))};return"string"==typeof t&&t.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(t)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(t)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(t))):"string"==typeof t&&o(this.formatLanguageCode(t)),n.forEach((function(t){i.indexOf(t)<0&&o(r.formatLanguageCode(t))})),i}}]),t}(),Wn=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Qn={1:function(t){return Number(t>1)},2:function(t){return Number(1!=t)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(0==t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(1==t?0:t>=2&&t<=4?1:2)},7:function(t){return Number(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(1==t?0:2==t?1:8!=t&&11!=t?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(1==t?0:2==t?1:t<7?2:t<11?3:4)},11:function(t){return Number(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(0!==t)},14:function(t){return Number(1==t?0:2==t?1:3==t?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:0!==t?1:2)},17:function(t){return Number(1==t||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(0==t?0:1==t?1:2)},19:function(t){return Number(1==t?0:0==t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(1==t?0:0==t||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(1==t?0:2==t?1:(t<0||t>10)&&t%10==0?2:3)}},Kn=["v1","v2","v3"],Yn={zero:0,one:1,two:2,few:3,many:4,other:5},Jn=function(){function t(e){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};qr(this,t),this.languageUtils=e,this.options=n,this.logger=_n.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(r={},Wn.forEach((function(t){t.lngs.forEach((function(e){r[e]={numbers:t.nr,plurals:Qn[t.fc]}}))})),r)}return $r(t,[{key:"addRule",value:function(t,e){this.rules[t]=e}},{key:"getRule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(t,{type:e.ordinal?"ordinal":"cardinal"})}catch(t){return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}},{key:"needsPlural",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(t,e);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(t,r).map((function(t){return"".concat(e).concat(t)}))}},{key:"getSuffixes",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(t,r);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((function(t,e){return Yn[t]-Yn[e]})).map((function(t){return"".concat(e.options.prepend).concat(t)})):n.numbers.map((function(n){return e.getSuffix(t,n,r)})):[]}},{key:"getSuffix",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.getRule(t,r);return n?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(n.select(e)):this.getSuffixRetroCompatible(n,e):(this.logger.warn("no plural rule found for: ".concat(t)),"")}},{key:"getSuffixRetroCompatible",value:function(t,e){var r=this,n=t.noAbs?t.plurals(e):t.plurals(Math.abs(e)),i=t.numbers[n];this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var o=function(){return r.options.prepend&&i.toString()?r.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}},{key:"shouldUseIntlApi",value:function(){return!Kn.includes(this.options.compatibilityJSON)}}]),t}();function Xn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Zn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Xn(Object(r),!0).forEach((function(e){gn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Xn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var ti=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};qr(this,t),this.logger=_n.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||function(t){return t},this.init(e)}return $r(t,[{key:"init",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});var e=t.interpolation;this.escape=void 0!==e.escape?e.escape:Fn,this.escapeValue=void 0===e.escapeValue||e.escapeValue,this.useRawValueToEscape=void 0!==e.useRawValueToEscape&&e.useRawValueToEscape,this.prefix=e.prefix?In(e.prefix):e.prefixEscaped||"{{",this.suffix=e.suffix?In(e.suffix):e.suffixEscaped||"}}",this.formatSeparator=e.formatSeparator?e.formatSeparator:e.formatSeparator||",",this.unescapePrefix=e.unescapeSuffix?"":e.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":e.unescapeSuffix||"",this.nestingPrefix=e.nestingPrefix?In(e.nestingPrefix):e.nestingPrefixEscaped||In("$t("),this.nestingSuffix=e.nestingSuffix?In(e.nestingSuffix):e.nestingSuffixEscaped||In(")"),this.nestingOptionsSeparator=e.nestingOptionsSeparator?e.nestingOptionsSeparator:e.nestingOptionsSeparator||",",this.maxReplaces=e.maxReplaces?e.maxReplaces:1e3,this.alwaysFormat=void 0!==e.alwaysFormat&&e.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var t="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(t,"g");var e="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(e,"g");var r="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(r,"g")}},{key:"interpolate",value:function(t,e,r,n){var i,o,a,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(t){return t.replace(/\$/g,"$$$$")}var p=function(t){if(t.indexOf(s.formatSeparator)<0){var i=Cn(e,l,t);return s.alwaysFormat?s.format(i,void 0,r,Zn(Zn(Zn({},n),e),{},{interpolationkey:t})):i}var o=t.split(s.formatSeparator),a=o.shift().trim(),c=o.join(s.formatSeparator).trim();return s.format(Cn(e,l,a),c,r,Zn(Zn(Zn({},n),e),{},{interpolationkey:a}))};this.resetRegExp();var u=n&&n.missingInterpolationHandler||this.options.missingInterpolationHandler,h=n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(t){return c(t)}},{regex:this.regexp,safeValue:function(t){return s.escapeValue?c(s.escape(t)):c(t)}}].forEach((function(e){for(a=0;i=e.regex.exec(t);){var r=i[1].trim();if(void 0===(o=p(r)))if("function"==typeof u){var l=u(t,i,n);o="string"==typeof l?l:""}else if(n&&n.hasOwnProperty(r))o="";else{if(h){o=i[0];continue}s.logger.warn("missed to pass in variable ".concat(r," for interpolating ").concat(t)),o=""}else"string"==typeof o||s.useRawValueToEscape||(o=kn(o));var c=e.safeValue(o);if(t=t.replace(i[0],c),h?(e.regex.lastIndex+=o.length,e.regex.lastIndex-=i[0].length):e.regex.lastIndex=0,++a>=s.maxReplaces)break}})),t}},{key:"nest",value:function(t,e){var r,n,i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=Zn({},o);function s(t,e){var r=this.nestingOptionsSeparator;if(t.indexOf(r)<0)return t;var n=t.split(new RegExp("".concat(r,"[ ]*{"))),i="{".concat(n[1]);t=n[0];var o=(i=this.interpolate(i,a)).match(/'/g),s=i.match(/"/g);(o&&o.length%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,'"'));try{a=JSON.parse(i),e&&(a=Zn(Zn({},e),a))}catch(e){return this.logger.warn("failed parsing options string in nesting for key ".concat(t),e),"".concat(t).concat(r).concat(i)}return delete a.defaultValue,t}for(a.applyPostProcessor=!1,delete a.defaultValue;r=this.nestingRegexp.exec(t);){var l=[],c=!1;if(-1!==r[0].indexOf(this.formatSeparator)&&!/{.*}/.test(r[1])){var p=r[1].split(this.formatSeparator).map((function(t){return t.trim()}));r[1]=p.shift(),l=p,c=!0}if((n=e(s.call(this,r[1].trim(),a),a))&&r[0]===t&&"string"!=typeof n)return n;"string"!=typeof n&&(n=kn(n)),n||(this.logger.warn("missed to resolve ".concat(r[1]," for nesting ").concat(t)),n=""),c&&(n=l.reduce((function(t,e){return i.format(t,e,o.lng,Zn(Zn({},o),{},{interpolationkey:r[1].trim()}))}),n.trim())),t=t.replace(r[0],n),this.regexp.lastIndex=0}return t}}]),t}();function ei(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ri(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ei(Object(r),!0).forEach((function(e){gn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ei(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ni(t){var e={};return function(r,n,i){var o=n+JSON.stringify(i),a=e[o];return a||(a=t(n,i),e[o]=a),a(r)}}var ii=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};qr(this,t),this.logger=_n.create("formatter"),this.options=e,this.formats={number:ni((function(t,e){var r=new Intl.NumberFormat(t,e);return function(t){return r.format(t)}})),currency:ni((function(t,e){var r=new Intl.NumberFormat(t,ri(ri({},e),{},{style:"currency"}));return function(t){return r.format(t)}})),datetime:ni((function(t,e){var r=new Intl.DateTimeFormat(t,ri({},e));return function(t){return r.format(t)}})),relativetime:ni((function(t,e){var r=new Intl.RelativeTimeFormat(t,ri({},e));return function(t){return r.format(t,e.range||"day")}})),list:ni((function(t,e){var r=new Intl.ListFormat(t,ri({},e));return function(t){return r.format(t)}}))},this.init(e)}return $r(t,[{key:"init",value:function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=e.formatSeparator?e.formatSeparator:e.formatSeparator||","}},{key:"add",value:function(t,e){this.formats[t.toLowerCase().trim()]=e}},{key:"addCached",value:function(t,e){this.formats[t.toLowerCase().trim()]=ni(e)}},{key:"format",value:function(t,e,r,n){var i=this,o=e.split(this.formatSeparator).reduce((function(t,e){var o=function(t){var e=t.toLowerCase().trim(),r={};if(t.indexOf("(")>-1){var n=t.split("(");e=n[0].toLowerCase().trim();var i=n[1].substring(0,n[1].length-1);"currency"===e&&i.indexOf(":")<0?r.currency||(r.currency=i.trim()):"relativetime"===e&&i.indexOf(":")<0?r.range||(r.range=i.trim()):i.split(";").forEach((function(t){if(t){var e=function(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return yn(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yn(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.split(":")),n=e[0],i=e.slice(1).join(":").trim().replace(/^'+|'+$/g,"");r[n.trim()]||(r[n.trim()]=i),"false"===i&&(r[n.trim()]=!1),"true"===i&&(r[n.trim()]=!0),isNaN(i)||(r[n.trim()]=parseInt(i,10))}}))}return{formatName:e,formatOptions:r}}(e),a=o.formatName,s=o.formatOptions;if(i.formats[a]){var l=t;try{var c=n&&n.formatParams&&n.formatParams[n.interpolationkey]||{},p=c.locale||c.lng||n.locale||n.lng||r;l=i.formats[a](t,p,ri(ri(ri({},s),n),c))}catch(t){i.logger.warn(t)}return l}return i.logger.warn("there was no format function for ".concat(a)),t}),t);return o}}]),t}();function oi(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ai(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?oi(Object(r),!0).forEach((function(e){gn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oi(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var si=function(t){dn(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=mn(e);if(r){var i=mn(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return fn(this,t)});function i(t,e,r){var o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return qr(this,i),o=n.call(this),Rn&&En.call(un(o)),o.backend=t,o.store=e,o.services=r,o.languageUtils=r.languageUtils,o.options=a,o.logger=_n.create("backendConnector"),o.waitingReads=[],o.maxParallelReads=a.maxParallelReads||10,o.readingCalls=0,o.maxRetries=a.maxRetries>=0?a.maxRetries:5,o.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(r,a.backend,a),o}return $r(i,[{key:"queueLoad",value:function(t,e,r,n){var i=this,o={},a={},s={},l={};return t.forEach((function(t){var n=!0;e.forEach((function(e){var s="".concat(t,"|").concat(e);!r.reload&&i.store.hasResourceBundle(t,e)?i.state[s]=2:i.state[s]<0||(1===i.state[s]?void 0===a[s]&&(a[s]=!0):(i.state[s]=1,n=!1,void 0===a[s]&&(a[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===l[e]&&(l[e]=!0)))})),n||(s[t]=!0)})),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(t,e,r){var n=t.split("|"),i=n[0],o=n[1];e&&this.emit("failedLoading",i,o,e),r&&this.store.addResourceBundle(i,o,r),this.state[t]=e?-1:2;var a={};this.queue.forEach((function(r){!function(t,e,r,n){var i=Pn(t,e,Object),o=i.obj,a=i.k;o[a]=o[a]||[],o[a].push(r)}(r.loaded,[i],o),function(t,e){void 0!==t.pending[e]&&(delete t.pending[e],t.pendingCount--)}(r,t),e&&r.errors.push(e),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach((function(t){a[t]||(a[t]={});var e=r.loaded[t];e.length&&e.forEach((function(e){void 0===a[t][e]&&(a[t][e]=!0)}))})),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(t){return!t.done}))}},{key:"read",value:function(t,e,r){var n=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;return t.length?this.readingCalls>=this.maxParallelReads?void this.waitingReads.push({lng:t,ns:e,fcName:r,tried:i,wait:o,callback:a}):(this.readingCalls++,this.backend[r](t,e,(function(s,l){if(n.readingCalls--,n.waitingReads.length>0){var c=n.waitingReads.shift();n.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}s&&l&&i<n.maxRetries?setTimeout((function(){n.read.call(n,t,e,r,i+1,2*o,a)}),o):a(s,l)}))):a(null,{})}},{key:"prepareLoading",value:function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"==typeof t&&(t=this.languageUtils.toResolveHierarchy(t)),"string"==typeof e&&(e=[e]);var o=this.queueLoad(t,e,n,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach((function(t){r.loadOne(t)}))}},{key:"load",value:function(t,e,r){this.prepareLoading(t,e,{},r)}},{key:"reload",value:function(t,e,r){this.prepareLoading(t,e,{reload:!0},r)}},{key:"loadOne",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t.split("|"),i=n[0],o=n[1];this.read(i,o,"read",void 0,void 0,(function(n,a){n&&e.logger.warn("".concat(r,"loading namespace ").concat(o," for language ").concat(i," failed"),n),!n&&a&&e.logger.log("".concat(r,"loaded namespace ").concat(o," for language ").concat(i),a),e.loaded(t,n,a)}))}},{key:"saveMissing",value:function(t,e,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(e)?this.logger.warn('did not save key "'.concat(r,'" as the namespace "').concat(e,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=r&&""!==r&&(this.backend&&this.backend.create&&this.backend.create(t,e,r,n,null,ai(ai({},o),{},{isUpdate:i})),t&&t[0]&&this.store.addResource(t[0],e,r,n))}}]),i}(En);function li(t){return"string"==typeof t.ns&&(t.ns=[t.ns]),"string"==typeof t.fallbackLng&&(t.fallbackLng=[t.fallbackLng]),"string"==typeof t.fallbackNS&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t}function ci(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pi(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ci(Object(r),!0).forEach((function(e){gn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ci(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ui(){}var hi=function(t){dn(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=mn(e);if(r){var i=mn(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return fn(this,t)});function i(){var t,e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(qr(this,i),t=n.call(this),Rn&&En.call(un(t)),t.options=li(r),t.services={},t.logger=_n,t.modules={external:[]},e=un(t),Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))})),o&&!t.isInitialized&&!r.isClone){if(!t.options.initImmediate)return t.init(r,o),fn(t,un(t));setTimeout((function(){t.init(r,o)}),0)}return t}return $r(i,[{key:"init",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;"function"==typeof e&&(r=e,e={}),!e.defaultNS&&!1!==e.defaultNS&&e.ns&&("string"==typeof e.ns?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));var n={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var e={};if("object"===Gr(t[1])&&(e=t[1]),"string"==typeof t[1]&&(e.defaultValue=t[1]),"string"==typeof t[2]&&(e.tDescription=t[2]),"object"===Gr(t[2])||"object"===Gr(t[3])){var r=t[3]||t[2];Object.keys(r).forEach((function(t){e[t]=r[t]}))}return e},interpolation:{escapeValue:!0,format:function(t,e,r,n){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function i(t){return t?"function"==typeof t?new t:t:null}if(this.options=pi(pi(pi({},n),this.options),li(e)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=pi(pi({},n.interpolation),this.options.interpolation)),void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),!this.options.isClone){var o;this.modules.logger?_n.init(i(this.modules.logger),this.options):_n.init(null,this.options),this.modules.formatter?o=this.modules.formatter:"undefined"!=typeof Intl&&(o=ii);var a=new $n(this.options);this.store=new Bn(this.options.resources,this.options);var s=this.services;s.logger=_n,s.resourceStore=this.store,s.languageUtils=a,s.pluralResolver=new Jn(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!o||this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format||(s.formatter=i(o),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new ti(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new si(i(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",(function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];t.emit.apply(t,[e].concat(n))})),this.modules.languageDetector&&(s.languageDetector=i(this.modules.languageDetector),s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=i(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new Un(this.services,this.options),this.translator.on("*",(function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];t.emit.apply(t,[e].concat(n))})),this.modules.external.forEach((function(e){e.init&&e.init(t)}))}if(this.format=this.options.interpolation.format,r||(r=ui),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&"dev"!==l[0]&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(e){t[e]=function(){var r;return(r=t.store)[e].apply(r,arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(e){t[e]=function(){var r;return(r=t.store)[e].apply(r,arguments),t}}));var c=Sn(),p=function(){var e=function(e,n){t.isInitialized&&!t.initializedStoreOnce&&t.logger.warn("init: i18next is already initialized. You should call init just once!"),t.isInitialized=!0,t.options.isClone||t.logger.log("initialized",t.options),t.emit("initialized",t.options),c.resolve(n),r(e,n)};if(t.languages&&"v1"!==t.options.compatibilityAPI&&!t.isInitialized)return e(null,t.t.bind(t));t.changeLanguage(t.options.lng,e)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),c}},{key:"loadResources",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ui,n="string"==typeof t?t:this.language;if("function"==typeof t&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase())return r();var i=[],o=function(t){t&&e.services.languageUtils.toResolveHierarchy(t).forEach((function(t){i.indexOf(t)<0&&i.push(t)}))};n?o(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(t){return o(t)})),this.options.preload&&this.options.preload.forEach((function(t){return o(t)})),this.services.backendConnector.load(i,this.options.ns,(function(t){t||e.resolvedLanguage||!e.language||e.setResolvedLanguage(e.language),r(t)}))}else r(null)}},{key:"reloadResources",value:function(t,e,r){var n=Sn();return t||(t=this.languages),e||(e=this.options.ns),r||(r=ui),this.services.backendConnector.reload(t,e,(function(t){n.resolve(),r(t)})),n}},{key:"use",value:function(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===t.type&&(this.modules.backend=t),("logger"===t.type||t.log&&t.warn&&t.error)&&(this.modules.logger=t),"languageDetector"===t.type&&(this.modules.languageDetector=t),"i18nFormat"===t.type&&(this.modules.i18nFormat=t),"postProcessor"===t.type&&Vn.addPostProcessor(t),"formatter"===t.type&&(this.modules.formatter=t),"3rdParty"===t.type&&this.modules.external.push(t),this}},{key:"setResolvedLanguage",value:function(t){if(t&&this.languages&&!(["cimode","dev"].indexOf(t)>-1))for(var e=0;e<this.languages.length;e++){var r=this.languages[e];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}},{key:"changeLanguage",value:function(t,e){var r=this;this.isLanguageChangingTo=t;var n=Sn();this.emit("languageChanging",t);var i=function(t){r.language=t,r.languages=r.services.languageUtils.toResolveHierarchy(t),r.resolvedLanguage=void 0,r.setResolvedLanguage(t)},o=function(o){t||o||!r.services.languageDetector||(o=[]);var a="string"==typeof o?o:r.services.languageUtils.getBestMatchFromCodes(o);a&&(r.language||i(a),r.translator.language||r.translator.changeLanguage(a),r.services.languageDetector&&r.services.languageDetector.cacheUserLanguage(a)),r.loadResources(a,(function(t){!function(t,o){o?(i(o),r.translator.changeLanguage(o),r.isLanguageChangingTo=void 0,r.emit("languageChanged",o),r.logger.log("languageChanged",o)):r.isLanguageChangingTo=void 0,n.resolve((function(){return r.t.apply(r,arguments)})),e&&e(t,(function(){return r.t.apply(r,arguments)}))}(t,a)}))};return t||!this.services.languageDetector||this.services.languageDetector.async?!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(t):o(this.services.languageDetector.detect()),n}},{key:"getFixedT",value:function(t,e,r){var n=this,i=function t(e,i){var o;if("object"!==Gr(i)){for(var a=arguments.length,s=new Array(a>2?a-2:0),l=2;l<a;l++)s[l-2]=arguments[l];o=n.options.overloadTranslationOptionHandler([e,i].concat(s))}else o=pi({},i);o.lng=o.lng||t.lng,o.lngs=o.lngs||t.lngs,o.ns=o.ns||t.ns,o.keyPrefix=o.keyPrefix||r||t.keyPrefix;var c=n.options.keySeparator||".",p=o.keyPrefix?"".concat(o.keyPrefix).concat(c).concat(e):e;return n.t(p,o)};return"string"==typeof t?i.lng=t:i.lngs=t,i.ns=e,i.keyPrefix=r,i}},{key:"t",value:function(){var t;return this.translator&&(t=this.translator).translate.apply(t,arguments)}},{key:"exists",value:function(){var t;return this.translator&&(t=this.translator).exists.apply(t,arguments)}},{key:"setDefaultNamespace",value:function(t){this.options.defaultNS=t}},{key:"hasLoadedNamespace",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var n=this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;var a=function(t,r){var n=e.services.backendConnector.state["".concat(t,"|").concat(r)];return-1===n||2===n};if(r.precheck){var s=r.precheck(this,a);if(void 0!==s)return s}return!(!this.hasResourceBundle(n,t)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!a(n,t)||i&&!a(o,t)))}},{key:"loadNamespaces",value:function(t,e){var r=this,n=Sn();return this.options.ns?("string"==typeof t&&(t=[t]),t.forEach((function(t){r.options.ns.indexOf(t)<0&&r.options.ns.push(t)})),this.loadResources((function(t){n.resolve(),e&&e(t)})),n):(e&&e(),Promise.resolve())}},{key:"loadLanguages",value:function(t,e){var r=Sn();"string"==typeof t&&(t=[t]);var n=this.options.preload||[],i=t.filter((function(t){return n.indexOf(t)<0}));return i.length?(this.options.preload=n.concat(i),this.loadResources((function(t){r.resolve(),e&&e(t)})),r):(e&&e(),Promise.resolve())}},{key:"dir",value:function(t){return t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),t?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ui,n=pi(pi(pi({},this.options),e),{isClone:!0}),o=new i(n);return void 0===e.debug&&void 0===e.prefix||(o.logger=o.logger.clone(e)),["store","services","language"].forEach((function(e){o[e]=t[e]})),o.services=pi({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new Un(o.services,o.options),o.translator.on("*",(function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];o.emit.apply(o,[t].concat(r))})),o.init(n,r),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),i}(En);gn(hi,"createInstance",(function(){return new hi(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}));var di=hi.createInstance();di.createInstance=hi.createInstance,di.createInstance,di.init,di.loadResources,di.reloadResources,di.use,di.changeLanguage,di.getFixedT,di.t,di.exists,di.setDefaultNamespace,di.hasLoadedNamespace,di.loadNamespaces,di.loadLanguages;const fi=di;fi.use(pn).use(zr).init({fallbackLng:"en",debug:!0,ns:["translations"],defaultNS:"translations",keySeparator:!1,interpolation:{prefix:"{",suffix:"}"},load:"languageOnly",backend:{loadPath:"/{ns}/{lng}.json"},detection:{order:["cookie"],lookupCookie:"i18next",caches:["cookie"],excludeCacheFor:["cimode"],cookieOptions:{path:"/",sameSite:"strict"}}});var mi,gi,yi,vi=fi,bi=t=>e=>class extends e{connectedCallback(){var e=()=>{this.languageUpdated&&this.languageUpdated(t),this.requestUpdate()};t.on("initialized",e),t.on("languageChanged",e),t.store.on("added",e),this.__i18next_callback__=e,super.connectedCallback()}disconnectedCallback(){super.connectedCallback(),t.off("initialized",this.__i18next_callback__),t.off("languageChanged",this.__i18next_callback__),t.store.off("added",this.__i18next_callback__)}},xi=class extends(bi(vi)(Pt)){render(){return it(mi||(mi=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["<span>","</span>"])),vi.t(this.msgid))}};function wi(t,e,r,n,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,i)}function _i(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(0,t.gn)([a({type:String})],xi.prototype,"msgid",void 0),xi=(0,t.gn)([e("ox-i18n")],xi);var Ei=class extends Pt{constructor(){super(...arguments),this.value=""}render(){var t=this.value;return it(gi||(gi=_i(["\n <select .value="," @change=",'>\n <option value="" ?selected=','></option>\n <option value="en-US" ?selected=','>English</option>\n <option value="ja-JP" ?selected=','>にほんご</option>\n <option value="ko-KR" ?selected=','>한국어</option>\n <option value="ms-MY" ?selected=','>Bahasa Malaysia</option>\n <option value="zh-CN" ?selected=',">中文</option>\n </select>\n "])),this.value,(t=>this.onLocaleChanged(t.target.value)),!t,null==t?void 0:t.startsWith("en"),null==t?void 0:t.startsWith("ja"),null==t?void 0:t.startsWith("ko"),null==t?void 0:t.startsWith("ms"),null==t?void 0:t.startsWith("zh"))}onLocaleChanged(t){var e=this;return function(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){wi(o,n,i,a,s,"next",t)}function s(t){wi(o,n,i,a,s,"throw",t)}a(void 0)}))}}((function*(){t&&(e.value=t,e.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:t})))}))()}};Ei.styles=S(yi||(yi=_i(["\n * {\n box-sizing: border-box;\n }\n *:focus {\n outline: none;\n }\n select {\n border: var(--i18n-selector-field-border, var(--input-field-border));\n border-radius: var(--i18n-selector-field-border-radius, 0);\n background-color: var(--i18n-selector-field-background-color, initial);\n margin: var(--i18n-selector-field-margin, 0);\n padding: var(--i18n-selector-field-padding, 0);\n font: var(--i18n-selector-field-font, var(--input-field-font));\n font-size: var(--i18n-selector-field-font-size, 15px);\n width: var(--i18n-selector-field-width, 100%);\n color: var(--i18n-selector-field-color, initial);\n }\n select:focus {\n border: 1px solid var(--focus-background-color);\n }\n option{\n background-color:var(--primary-color, #585858);\n color:var(--theme-white-color, #fff)\n }\n\n ::placeholder {\n font-size: 0.8rem;\n text-transform: capitalize;\n }\n "]))),(0,t.gn)([a({type:String,attribute:!0})],Ei.prototype,"value",void 0),Ei=(0,t.gn)([e("ox-i18n-selector")],Ei);var Si,ki,Pi,Ai=t=>e=>class extends e{connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._storeUnsubscribe=t.subscribe((()=>this.stateChanged(t.getState()))),this.stateChanged(t.getState())}disconnectedCallback(){this._storeUnsubscribe(),super.disconnectedCallback&&super.disconnectedCallback()}stateChanged(t){}},Oi="OPEN_SNACKBAR",Ci="CLOSE_SNACKBAR";function Ti(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ii(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ti(Object(r),!0).forEach((function(e){gn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ti(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Di(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}!function(t){t.INACTIVE="inactive",t.ACTIVATED="activated",t.DELETED="deleted",t.LOCKED="locked",t.BANNED="banned",t.PWD_RESET_REQUIRED="password_reset_required"}(ki||(ki={})),function(t){t.None="None",t.Include="Include",t.Only="Only"}(Pi||(Pi={})),__webpack_require__(51266);var Fi="function"==typeof Symbol&&Symbol.observable||"@@observable",Ri=function(){return Math.random().toString(36).substring(7).split("").join(".")},Mi={INIT:"@@redux/INIT"+Ri(),REPLACE:"@@redux/REPLACE"+Ri(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ri()}};function ji(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function Li(t){return function(e){var r=e.dispatch,n=e.getState;return function(e){return function(i){return"function"==typeof i?i(r,n,t):e(i)}}}}var Ni=Li();Ni.withExtraArgument=Li;const Bi=Ni;__webpack_require__(51266);__webpack_require__(47103).lW,__webpack_require__(51266);const Vi=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},zi="object"==typeof global&&global&&global.Object===Object&&global;var qi="object"==typeof self&&self&&self.Object===Object&&self;const Gi=zi||qi||Function("return this")(),Ui=function(){return Gi.Date.now()};var Hi=/\s/;var $i=/^\s+/;const Wi=function(t){return t?t.slice(0,function(t){for(var e=t.length;e--&&Hi.test(t.charAt(e)););return e}(t)+1).replace($i,""):t},Qi=Gi.Symbol;var Ki=Object.prototype,Yi=Ki.hasOwnProperty,Ji=Ki.toString,Xi=Qi?Qi.toStringTag:void 0;var Zi=Object.prototype.toString;var to=Qi?Qi.toStringTag:void 0;const eo=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":to&&to in Object(t)?function(t){var e=Yi.call(t,Xi),r=t[Xi];try{t[Xi]=void 0;var n=!0}catch(t){}var i=Ji.call(t);return n&&(e?t[Xi]=r:delete t[Xi]),i}(t):function(t){return Zi.call(t)}(t)},ro=function(t){return null!=t&&"object"==typeof t},no=function(t){return"symbol"==typeof t||ro(t)&&"[object Symbol]"==eo(t)};var io=/^[-+]0x[0-9a-f]+$/i,oo=/^0b[01]+$/i,ao=/^0o[0-7]+$/i,so=parseInt;const lo=function(t){if("number"==typeof t)return t;if(no(t))return NaN;if(Vi(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Vi(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Wi(t);var r=oo.test(t);return r||ao.test(t)?so(t.slice(2),r?2:8):io.test(t)?NaN:+t};var co=Math.max,po=Math.min;!function(t,e,r){var n,i,o,a,s,l,c=0,p=!1,u=!1,h=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function d(e){var r=n,o=i;return n=i=void 0,c=e,a=t.apply(o,r)}function f(t){var r=t-l;return void 0===l||r>=e||r<0||u&&t-c>=o}function m(){var t=Ui();if(f(t))return g(t);s=setTimeout(m,function(t){var r=e-(t-l);return u?po(r,o-(t-c)):r}(t))}function g(t){return s=void 0,h&&n?d(t):(n=i=void 0,a)}function y(){var t=Ui(),r=f(t);if(n=arguments,i=this,l=t,r){if(void 0===s)return function(t){return c=t,s=setTimeout(m,e),p?d(t):a}(l);if(u)return clearTimeout(s),s=setTimeout(m,e),d(l)}return void 0===s&&(s=setTimeout(m,e)),a}e=lo(e)||0,Vi(r)&&(p=!!r.leading,o=(u="maxWait"in r)?co(lo(r.maxWait)||0,e):o,h="trailing"in r?!!r.trailing:h),y.cancel=function(){void 0!==s&&clearTimeout(s),c=0,n=l=i=s=void 0},y.flush=function(){return void 0===s?a:g(Ui())}}((t=>{t.brake||t.take()}),1e3,{leading:!0,trailing:!1});function uo(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ho(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uo(Object(r),!0).forEach((function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uo(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var fo,mo,go,yo={baseUrl:location.origin,contextPath:(fo=location.pathname,mo=new RegExp("(/(".concat("domain|business",")/([^/]+))?(/?.*)")),go=fo.match(mo),{contextPath:(null==go?void 0:go[1])||"",prefix:(null==go?void 0:go[2])||"",domain:(null==go?void 0:go[3])||"",path:null==go?void 0:go[4]}).contextPath,domains:[]};const vo=(bo={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},function(t){return null==bo?void 0:bo[t]});var bo;const xo=Array.isArray;var wo=Qi?Qi.prototype:void 0,_o=wo?wo.toString:void 0;const Eo=function t(e){if("string"==typeof e)return e;if(xo(e))return function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}(e,t)+"";if(no(e))return _o?_o.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r},So=function(t){return null==t?"":Eo(t)};var ko=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Po=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Ao=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Oo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Co="\\ud800-\\udfff",To="\\u2700-\\u27bf",Io="a-z\\xdf-\\xf6\\xf8-\\xff",Do="A-Z\\xc0-\\xd6\\xd8-\\xde",Fo="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ro="["+Fo+"]",Mo="\\d+",jo="["+To+"]",Lo="["+Io+"]",No="[^"+Co+Fo+Mo+To+Io+Do+"]",Bo="(?:\\ud83c[\\udde6-\\uddff]){2}",Vo="[\\ud800-\\udbff][\\udc00-\\udfff]",zo="["+Do+"]",qo="(?:"+Lo+"|"+No+")",Go="(?:"+zo+"|"+No+")",Uo="(?:['’](?:d|ll|m|re|s|t|ve))?",Ho="(?:['’](?:D|LL|M|RE|S|T|VE))?",$o="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Wo="[\\ufe0e\\ufe0f]?",Qo=Wo+$o+"(?:\\u200d(?:"+["[^"+Co+"]",Bo,Vo].join("|")+")"+Wo+$o+")*",Ko="(?:"+[jo,Bo,Vo].join("|")+")"+Qo,Yo=RegExp([zo+"?"+Lo+"+"+Uo+"(?="+[Ro,zo,"$"].join("|")+")",Go+"+"+Ho+"(?="+[Ro,zo+qo,"$"].join("|")+")",zo+"?"+qo+"+"+Uo,zo+"+"+Ho,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mo,Ko].join("|"),"g");const Jo=function(t,e,r){return t=So(t),void 0===(e=r?void 0:e)?function(t){return Oo.test(t)}(t)?function(t){return t.match(Yo)||[]}(t):function(t){return t.match(Ao)||[]}(t):t.match(e)||[]};var Xo=RegExp("['’]","g");const Zo=function(t,e,r){var n=t.length;return r=void 0===r?n:r,!e&&r>=n?t:function(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(r=r>i?i:r)<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(i);++n<i;)o[n]=t[n+e];return o}(t,e,r)};var ta=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const ea=function(t){return ta.test(t)};var ra="\\ud800-\\udfff",na="["+ra+"]",ia="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",oa="\\ud83c[\\udffb-\\udfff]",aa="[^"+ra+"]",sa="(?:\\ud83c[\\udde6-\\uddff]){2}",la="[\\ud800-\\udbff][\\udc00-\\udfff]",ca="(?:"+ia+"|"+oa+")?",pa="[\\ufe0e\\ufe0f]?",ua=pa+ca+"(?:\\u200d(?:"+[aa,sa,la].join("|")+")"+pa+ca+")*",ha="(?:"+[aa+ia+"?",ia,sa,la,na].join("|")+")",da=RegExp(oa+"(?="+oa+")|"+ha+ua,"g");const fa=function(t){return ea(t)?function(t){return t.match(da)||[]}(t):function(t){return t.split("")}(t)},ma=function(t){t=So(t);var e=ea(t)?fa(t):void 0,r=e?e[0]:t.charAt(0),n=e?Zo(e,1).join(""):t.slice(1);return r.toUpperCase()+n},ga=function(t){return function(e){return function(t,e,r,n){var i=-1,o=null==t?0:t.length;for(n&&o&&(r=t[++i]);++i<o;)r=e(r,t[i],i,t);return r}(Jo(function(t){return(t=So(t))&&t.replace(ko,vo).replace(Po,"")}(e).replace(Xo,"")),t,"")}}((function(t,e,r){return t+(r?" ":"")+ma(e)}));function ya(t,e,r){var n=document.head.querySelector("meta[".concat(t,'="').concat(e,'"]'));n||((n=document.createElement("meta")).setAttribute(t,e),document.head.appendChild(n)),n.setAttribute("content",r||"")}var va="UPDATE_CONTEXT",ba="REGISTER_NAVIGATION_CALLBACK";function xa(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function wa(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?xa(Object(r),!0).forEach((function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xa(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var _a,Ea=document.querySelector('meta[name="application-name"]');Ea&&(_a=Ea.content);var Sa={page:"",resourceId:"",params:{},activePage:null,context:{},callbacks:[]};var ka,Pa,Aa=__webpack_require__(85709),Oa=__webpack_require__.n(Aa);function Ca(t){return null===t?"null":Array.isArray(t)?"array":typeof t}function Ta(t){return"object"===Ca(t)}function Ia(t,e){return t.length<124?t:e}function Da(t){if(!Ta(t))throw new Error(`Message is expected to be an object, but got ${Ca(t)}`);if(!t.type)throw new Error("Message is missing the 'type' property");if("string"!=typeof t.type)throw new Error(`Message is expects the 'type' property to be a string, but got ${Ca(t.type)}`);switch(t.type){case Pa.ConnectionInit:case Pa.ConnectionAck:case Pa.Ping:case Pa.Pong:if(null!=t.payload&&!Ta(t.payload))throw new Error(`"${t.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${t.payload}"`);break;case Pa.Subscribe:if("string"!=typeof t.id)throw new Error(`"${t.type}" message expects the 'id' property to be a string, but got ${Ca(t.id)}`);if(!t.id)throw new Error(`"${t.type}" message requires a non-empty 'id' property`);if(!Ta(t.payload))throw new Error(`"${t.type}" message expects the 'payload' property to be an object, but got ${Ca(t.payload)}`);if("string"!=typeof t.payload.query)throw new Error(`"${t.type}" message payload expects the 'query' property to be a string, but got ${Ca(t.payload.query)}`);if(null!=t.payload.variables&&!Ta(t.payload.variables))throw new Error(`"${t.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${Ca(t.payload.variables)}`);if(null!=t.payload.operationName&&"string"!==Ca(t.payload.operationName))throw new Error(`"${t.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${Ca(t.payload.operationName)}`);if(null!=t.payload.extensions&&!Ta(t.payload.extensions))throw new Error(`"${t.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${Ca(t.payload.extensions)}`);break;case Pa.Next:if("string"!=typeof t.id)throw new Error(`"${t.type}" message expects the 'id' property to be a string, but got ${Ca(t.id)}`);if(!t.id)throw new Error(`"${t.type}" message requires a non-empty 'id' property`);if(!Ta(t.payload))throw new Error(`"${t.type}" message expects the 'payload' property to be an object, but got ${Ca(t.payload)}`);break;case Pa.Error:if("string"!=typeof t.id)throw new Error(`"${t.type}" message expects the 'id' property to be a string, but got ${Ca(t.id)}`);if(!t.id)throw new Error(`"${t.type}" message requires a non-empty 'id' property`);if(e=t.payload,!(Array.isArray(e)&&e.length>0&&e.every((t=>"message"in t))))throw new Error(`"${t.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(t.payload)}`);break;case Pa.Complete:if("string"!=typeof t.id)throw new Error(`"${t.type}" message expects the 'id' property to be a string, but got ${Ca(t.id)}`);if(!t.id)throw new Error(`"${t.type}" message requires a non-empty 'id' property`);break;default:throw new Error(`Invalid message 'type' property "${t.type}"`)}var e;return t}function Fa(t,e){return Da(t),JSON.stringify(t,e)}!function(t){t[t.InternalServerError=4500]="InternalServerError",t[t.InternalClientError=4005]="InternalClientError",t[t.BadRequest=4400]="BadRequest",t[t.BadResponse=4004]="BadResponse",t[t.Unauthorized=4401]="Unauthorized",t[t.Forbidden=4403]="Forbidden",t[t.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",t[t.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",t[t.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",t[t.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",t[t.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests"}(ka||(ka={})),function(t){t.ConnectionInit="connection_init",t.ConnectionAck="connection_ack",t.Ping="ping",t.Pong="pong",t.Subscribe="subscribe",t.Next="next",t.Error="error",t.Complete="complete"}(Pa||(Pa={}));var Ra=__webpack_require__(51266),Ma=function(t){return this instanceof Ma?(this.v=t,this):new Ma(t)};function ja(t){return Ta(t)&&"code"in t&&"reason"in t}var La=__webpack_require__(63965),Na=__webpack_require__(64638),Ba=__webpack_require__(41822),Va=__webpack_require__(21281),za=__webpack_require__(71996),qa=__webpack_require__(49657),Ga=__webpack_require__(64059);function Ua(t){return new Na.i((function(e,r){return new Ga.y((function(n){var i,o,a;try{i=r(e).subscribe({next:function(i){i.errors&&(a=t({graphQLErrors:i.errors,response:i,operation:e,forward:r}))?o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.next(i)},error:function(i){(a=t({operation:e,networkError:i,graphQLErrors:i&&i.result&&i.result.errors,forward:r}))?o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.error(i)},complete:function(){a||n.complete.bind(n)()}})}catch(i){t({networkError:i,operation:e,forward:r}),n.error(i)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}}))}))}!function(e){function r(t){var r=e.call(this)||this;return r.link=Ua(t),r}(0,t.ZT)(r,e),r.prototype.request=function(t,e){return this.link.request(t,e)}}(Na.i);var Ha=__webpack_require__(11315),$a=__webpack_require__(32345),Wa=__webpack_require__(93869),Qa=function(e){function r(t){var r=e.call(this)||this;return r.client=t,r}return(0,t.ZT)(r,e),r.prototype.request=function(e){var r=this;return new Ga.y((function(n){return r.client.subscribe((0,t.pi)((0,t.pi)({},e),{query:(0,Ha.S)(e.query)}),{next:n.next.bind(n),complete:n.complete.bind(n),error:function(t){if(t instanceof Error)return n.error(t);var e,r=(e=t,(0,$a.s)(e)&&"code"in e&&"reason"in e);return r||function(t){var e;return(0,$a.s)(t)&&(null===(e=t.target)||void 0===e?void 0:e.readyState)===WebSocket.CLOSED}(t)?n.error(new Error("Socket closed".concat(r?" with event ".concat(t.code):"").concat(r?" ".concat(t.reason):""))):n.error(new Wa.cA({graphQLErrors:Array.isArray(t)?t:[t]}))}})}))},r}(Na.i),Ka=__webpack_require__(67554),Ya=0,Ja=null,Xa=new Na.i(((t,e)=>(Ja&&Ja(++Ya),e(t).map((t=>(Ja&&Ja(--Ya),t)))))),Za="/graphql",ts=Za,es=new La.h({addTypename:!1}),rs={uri:Za,credentials:"include",headers:{"Apollo-Require-Preflight":"true"}},ns=Na.i.split((t=>t.getContext().hasUpload),Oa()(rs),new Ba.u(rs)),is=new Qa(function(t){const{url:e,connectionParams:r,lazy:n=!0,onNonLazyError:i=Ra.error,lazyCloseTimeout:o=0,keepAlive:a=0,disablePong:s,connectionAckWaitTimeout:l=0,retryAttempts:c=5,retryWait:p=async function(t){let e=1e3;for(let r=0;r<t;r++)e*=2;await new Promise((t=>setTimeout(t,e+Math.floor(2700*Math.random()+300))))},shouldRetry:u=ja,isFatalConnectionProblem:h,on:d,webSocketImpl:f,generateID:m=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(t=>{const e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))},jsonMessageReplacer:g,jsonMessageReviver:y}=t;let v;if(f){if(!("function"==typeof(b=f)&&"constructor"in b&&"CLOSED"in b&&"CLOSING"in b&&"CONNECTING"in b&&"OPEN"in b))throw new Error("Invalid WebSocket implementation provided");v=f}else"undefined"!=typeof WebSocket?v=WebSocket:void 0!==__webpack_require__.g?v=__webpack_require__.g.WebSocket||__webpack_require__.g.MozWebSocket:"undefined"!=typeof window&&(v=window.WebSocket||window.MozWebSocket);var b;if(!v)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const x=v,w=(()=>{const t=(()=>{const t={};return{on:(e,r)=>(t[e]=r,()=>{delete t[e]}),emit(e){var r;"id"in e&&(null===(r=t[e.id])||void 0===r||r.call(t,e))}}})(),e={connecting:(null==d?void 0:d.connecting)?[d.connecting]:[],opened:(null==d?void 0:d.opened)?[d.opened]:[],connected:(null==d?void 0:d.connected)?[d.connected]:[],ping:(null==d?void 0:d.ping)?[d.ping]:[],pong:(null==d?void 0:d.pong)?[d.pong]:[],message:(null==d?void 0:d.message)?[t.emit,d.message]:[t.emit],closed:(null==d?void 0:d.closed)?[d.closed]:[],error:(null==d?void 0:d.error)?[d.error]:[]};return{onMessage:t.on,on(t,r){const n=e[t];return n.push(r),()=>{n.splice(n.indexOf(r),1)}},emit(t,...r){for(const n of[...e[t]])n(...r)}}})();function _(t){const e=[w.on("error",(r=>{e.forEach((t=>t())),t(r)})),w.on("closed",(r=>{e.forEach((t=>t())),t(r)}))]}let E,S,k=0,P=!1,A=0,O=!1;async function C(){clearTimeout(S);const[t,n]=await(null!=E?E:E=new Promise(((t,n)=>(async()=>{if(P){if(await p(A),!k)return E=void 0,n({code:1e3,reason:"All Subscriptions Gone"});A++}w.emit("connecting");const i=new x("function"==typeof e?await e():e,"graphql-transport-ws");let o,c;function u(){isFinite(a)&&a>0&&(clearTimeout(c),c=setTimeout((()=>{i.readyState===x.OPEN&&(i.send(Fa({type:Pa.Ping})),w.emit("ping",!1,void 0))}),a))}_((t=>{E=void 0,clearTimeout(o),clearTimeout(c),n(t),ja(t)&&4499===t.code&&(i.close(4499,"Terminated"),i.onerror=null,i.onclose=null)})),i.onerror=t=>w.emit("error",t),i.onclose=t=>w.emit("closed",t),i.onopen=async()=>{try{w.emit("opened",i);const t="function"==typeof r?await r():r;if(i.readyState!==x.OPEN)return;i.send(Fa(t?{type:Pa.ConnectionInit,payload:t}:{type:Pa.ConnectionInit},g)),isFinite(l)&&l>0&&(o=setTimeout((()=>{i.close(ka.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")}),l)),u()}catch(t){w.emit("error",t),i.close(ka.InternalClientError,Ia(t instanceof Error?t.message:new Error(t).message,"Internal client error"))}};let h=!1;i.onmessage=({data:e})=>{try{const r=function(t,e){return Da("string"==typeof t?JSON.parse(t,e):t)}(e,y);if(w.emit("message",r),"ping"===r.type||"pong"===r.type)return w.emit(r.type,!0,r.payload),void("pong"===r.type?u():s||(i.send(Fa(r.payload?{type:Pa.Pong,payload:r.payload}:{type:Pa.Pong})),w.emit("pong",!1,r.payload)));if(h)return;if(r.type!==Pa.ConnectionAck)throw new Error(`First message cannot be of type ${r.type}`);clearTimeout(o),h=!0,w.emit("connected",i,r.payload),P=!1,A=0,t([i,new Promise(((t,e)=>_(e)))])}catch(t){i.onmessage=null,w.emit("error",t),i.close(ka.BadResponse,Ia(t instanceof Error?t.message:new Error(t).message,"Bad response"))}}})())));t.readyState===x.CLOSING&&await n;let i=()=>{};const c=new Promise((t=>i=t));return[t,i,Promise.race([c.then((()=>{if(!k){const e=()=>t.close(1e3,"Normal Closure");isFinite(o)&&o>0?S=setTimeout((()=>{t.readyState===x.OPEN&&e()}),o):e()}})),n])]}function T(t){if(ja(t)&&(e=t.code,![1e3,1001,1006,1005,1012,1013,1013].includes(e)&&e>=1e3&&e<=1999||[ka.InternalServerError,ka.InternalClientError,ka.BadRequest,ka.BadResponse,ka.Unauthorized,ka.SubprotocolNotAcceptable,ka.SubscriberAlreadyExists,ka.TooManyInitialisationRequests].includes(t.code)))throw t;var e;if(O)return!1;if(ja(t)&&1e3===t.code)return k>0;if(!c||A>=c)throw t;if(!u(t))throw t;if(null==h?void 0:h(t))throw t;return P=!0}return n||(async()=>{for(k++;;)try{const[,,t]=await C();await t}catch(t){try{if(!T(t))return}catch(t){return null==i?void 0:i(t)}}})(),{on:w.on,subscribe(t,e){const r=m(t);let n=!1,i=!1,o=()=>{k--,n=!0};return(async()=>{for(k++;;)try{const[a,s,l]=await C();if(n)return s();const c=w.onMessage(r,(t=>{switch(t.type){case Pa.Next:return void e.next(t.payload);case Pa.Error:return i=!0,n=!0,e.error(t.payload),void o();case Pa.Complete:return n=!0,void o()}}));return a.send(Fa({id:r,type:Pa.Subscribe,payload:t},g)),o=()=>{n||a.readyState!==x.OPEN||a.send(Fa({id:r,type:Pa.Complete},g)),k--,n=!0,s()},void await l.finally(c)}catch(t){if(!T(t))return}})().then((()=>{i||e.complete()})).catch((t=>{e.error(t)})),()=>{n||o()}},iterate(t){const e=[],r={done:!1,error:null,resolve:()=>{}},n=this.subscribe(t,{next(t){e.push(t),r.resolve()},error(t){r.done=!0,r.error=t,r.resolve()},complete(){r.done=!0,r.resolve()}}),i=function(){return function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(t,e||[]),o=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(t){i[t]&&(n[t]=function(e){return new Promise((function(r,n){o.push([t,e,r,n])>1||s(t,e)}))})}function s(t,e){try{(r=i[t](e)).value instanceof Ma?Promise.resolve(r.value.v).then(l,c):p(o[0][2],r)}catch(t){p(o[0][3],t)}var r}function l(t){s("next",t)}function c(t){s("throw",t)}function p(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}(this,arguments,(function*(){for(;;){for(e.length||(yield Ma(new Promise((t=>r.resolve=t))));e.length;)yield yield Ma(e.shift());if(r.error)throw r.error;if(r.done)return yield Ma(void 0)}}))}();return i.throw=async t=>(r.done||(r.done=!0,r.error=t,r.resolve()),{done:!0,value:void 0}),i.return=async()=>(n(),{done:!0,value:void 0}),i},async dispose(){if(O=!0,E){const[t]=await E;t.close(1e3,"Normal Closure")}},terminate(){E&&w.emit("closed",{code:4499,reason:"Terminated",wasClean:!1})}}}({url:location.origin.replace(/^http/,"ws")+ts,keepAlive:1e4,retryAttempts:1e6,shouldRetry:t=>!0,connectionParams:{headers:{referer:location.href}}})),os=(new Va.f({defaultOptions:{watchQuery:{fetchPolicy:"no-cache",errorPolicy:"ignore"},query:{fetchPolicy:"no-cache",errorPolicy:"all"},mutate:{errorPolicy:"all"}},cache:es,link:(0,za.V)((t=>{var{query:e}=t,r=(0,Ka.p$)(e);return"OperationDefinition"===r.kind&&"subscription"===r.operation}),is,(0,qa.D)([Xa,Ua((t=>{var{operation:e,graphQLErrors:r,networkError:n}=t;if(r&&document.dispatchEvent(new CustomEvent("notify",{detail:{level:"error",message:r[0].message,ex:r}})),n)switch(Ja&&Ja(--Ya),n.statusCode){case void 0:document.dispatchEvent(new CustomEvent("notify",{detail:{level:"error",message:n.message,ex:n}}));break;case 401:document.dispatchEvent(new CustomEvent("auth-required"));break;case 403:document.dispatchEvent(new CustomEvent("domain-required"));break;default:var{name:i,response:o,statusCode:a,bodyText:s,message:l}=n;l="ServerParseError"==i?"[ ".concat(a||""," : ").concat(o.statusText," ] ").concat(s):"[ ".concat(a||""," : ").concat(o.statusText," ] ").concat(l),document.dispatchEvent(new CustomEvent("notify",{detail:{level:"error",message:l,ex:n}}))}})),ns]))}),"UPDATE_BUSY");Ja=t=>{ls.dispatch(as(0!=t))};var as=t=>e=>{e({type:os,busy:t})},ss={busy:!1};var ls=function t(e,r,n){var i;if("function"==typeof r&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(Di(0));if("function"==typeof r&&void 0===n&&(n=r,r=void 0),void 0!==n){if("function"!=typeof n)throw new Error(Di(1));return n(t)(e,r)}if("function"!=typeof e)throw new Error(Di(2));var o=e,a=r,s=[],l=s,c=!1;function p(){l===s&&(l=s.slice())}function u(){if(c)throw new Error(Di(3));return a}function h(t){if("function"!=typeof t)throw new Error(Di(4));if(c)throw new Error(Di(5));var e=!0;return p(),l.push(t),function(){if(e){if(c)throw new Error(Di(6));e=!1,p();var r=l.indexOf(t);l.splice(r,1),s=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Di(7));if(void 0===t.type)throw new Error(Di(8));if(c)throw new Error(Di(9));try{c=!0,a=o(a,t)}finally{c=!1}for(var e=s=l,r=0;r<e.length;r++)(0,e[r])();return t}return d({type:Mi.INIT}),(i={dispatch:d,subscribe:h,getState:u,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Di(10));o=t,d({type:Mi.REPLACE})}})[Fi]=function(){var t,e=h;return t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Di(11));function r(){t.next&&t.next(u())}return r(),{unsubscribe:e(r)}}},t[Fi]=function(){return this},t},i}((t=>t),(window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||ji)((t=>(e,r)=>{var n={},i=t(e,r);return Object.assign({},i,{addReducers(t){var e=Object.assign({},n,t);this.replaceReducer(function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];"function"==typeof t[i]&&(r[i]=t[i])}var o,a=Object.keys(r);try{!function(t){Object.keys(t).forEach((function(e){var r=t[e];if(void 0===r(void 0,{type:Mi.INIT}))throw new Error(Di(12));if(void 0===r(void 0,{type:Mi.PROBE_UNKNOWN_ACTION()}))throw new Error(Di(13))}))}(r)}catch(t){o=t}return function(t,e){if(void 0===t&&(t={}),o)throw o;for(var n=!1,i={},s=0;s<a.length;s++){var l=a[s],c=r[l],p=t[l],u=c(p,e);if(void 0===u)throw e&&e.type,new Error(Di(14));i[l]=u,n=n||u!==p}return(n=n||a.length!==Object.keys(t).length)?i:t}}(n=e))}})}),function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return function(){var r=t.apply(void 0,arguments),n=function(){throw new Error(Di(15))},i={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},o=e.map((function(t){return t(i)}));return n=ji.apply(void 0,o)(r.dispatch),Ii(Ii({},r),{},{dispatch:n})}}}(Bi)));ls.addReducers({app:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yo,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"UPDATE_MODULES":return ho(ho({},t),{},{modules:e.modules});case"UPDATE_BASE_URL":return ho(ho({},t),{},{baseUrl:e.baseUrl});case"UPDATE_CONTEXT_PATH":return ho(ho({},t),{},{contextPath:e.contextPath});case"SET-DOMAINS":return ho(ho({},t),{},{domains:e.domains,domain:e.domain});default:return t}},route:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Sa,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"UPDATE_PAGE":return wa(wa({},e),{},{page:r.page,resourceId:r.resourceId,params:r.params});case va:var n=null===(t=r.context)||void 0===t?void 0:t.title,i="object"==typeof n?n.text:n;return(t=>{var{title:e,description:r,url:n,image:i,imageAlt:o}=t;e&&(document.title=e,ya("property","og:title",e)),r&&(ya("name","description",r),ya("property","og:description",r)),i&&ya("property","og:image",i),o&&ya("property","og:image:alt",o),ya("property","og:url",n=n||window.location.href)})({title:_a+(i?" - ".concat(ga(i)):"")}),wa(wa({},e),{},{context:r.context||e.activePage&&e.activePage.context||{}});case"UPDATE_ACTIVE_PAGE":return wa(wa({},e),{},{activePage:r.activePage});case ba:return wa(wa({},e),{},{callbacks:[...e.callbacks,r.callback]});case"UNREGISTER_NAVIGATION_CALLBACK":return wa(wa({},e),{},{callbacks:e.callbacks.filter((t=>t!==r.callback))});default:return e}},busy:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ss,e=arguments.length>1?arguments[1]:void 0;return e.type===os?{busy:e.busy}:t}});const cs=function(t,e){return t===e||t!=t&&e!=e},ps=function(t,e){for(var r=t.length;r--;)if(cs(t[r][0],e))return r;return-1};var us=Array.prototype.splice;function hs(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}hs.prototype.clear=function(){this.__data__=[],this.size=0},hs.prototype.delete=function(t){var e=this.__data__,r=ps(e,t);return!(r<0||(r==e.length-1?e.pop():us.call(e,r,1),--this.size,0))},hs.prototype.get=function(t){var e=this.__data__,r=ps(e,t);return r<0?void 0:e[r][1]},hs.prototype.has=function(t){return ps(this.__data__,t)>-1},hs.prototype.set=function(t,e){var r=this.__data__,n=ps(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};const ds=hs,fs=function(t){if(!Vi(t))return!1;var e=eo(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},ms=Gi["__core-js_shared__"];var gs,ys=(gs=/[^.]+$/.exec(ms&&ms.keys&&ms.keys.IE_PROTO||""))?"Symbol(src)_1."+gs:"";var vs=Function.prototype.toString;const bs=function(t){if(null!=t){try{return vs.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var xs=/^\[object .+?Constructor\]$/,ws=Function.prototype,_s=Object.prototype,Es=ws.toString,Ss=_s.hasOwnProperty,ks=RegExp("^"+Es.call(Ss).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Ps=function(t){return!(!Vi(t)||(e=t,ys&&ys in e))&&(fs(t)?ks:xs).test(bs(t));var e},As=function(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return Ps(r)?r:void 0},Os=As(Gi,"Map"),Cs=As(Object,"create");var Ts=Object.prototype.hasOwnProperty;var Is=Object.prototype.hasOwnProperty;function Ds(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Ds.prototype.clear=function(){this.__data__=Cs?Cs(null):{},this.size=0},Ds.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Ds.prototype.get=function(t){var e=this.__data__;if(Cs){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return Ts.call(e,t)?e[t]:void 0},Ds.prototype.has=function(t){var e=this.__data__;return Cs?void 0!==e[t]:Is.call(e,t)},Ds.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Cs&&void 0===e?"__lodash_hash_undefined__":e,this};const Fs=Ds,Rs=function(t,e){var r,n,i=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof e?"string":"hash"]:i.map};function Ms(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Ms.prototype.clear=function(){this.size=0,this.__data__={hash:new Fs,map:new(Os||ds),string:new Fs}},Ms.prototype.delete=function(t){var e=Rs(this,t).delete(t);return this.size-=e?1:0,e},Ms.prototype.get=function(t){return Rs(this,t).get(t)},Ms.prototype.has=function(t){return Rs(this,t).has(t)},Ms.prototype.set=function(t,e){var r=Rs(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};const js=Ms;function Ls(t){var e=this.__data__=new ds(t);this.size=e.size}Ls.prototype.clear=function(){this.__data__=new ds,this.size=0},Ls.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},Ls.prototype.get=function(t){return this.__data__.get(t)},Ls.prototype.has=function(t){return this.__data__.has(t)},Ls.prototype.set=function(t,e){var r=this.__data__;if(r instanceof ds){var n=r.__data__;if(!Os||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new js(n)}return r.set(t,e),this.size=r.size,this};const Ns=Ls;function Bs(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new js;++e<r;)this.add(t[e])}Bs.prototype.add=Bs.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Bs.prototype.has=function(t){return this.__data__.has(t)};const Vs=Bs,zs=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1},qs=function(t,e){return t.has(e)},Gs=function(t,e,r,n,i,o){var a=1&r,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(t),p=o.get(e);if(c&&p)return c==e&&p==t;var u=-1,h=!0,d=2&r?new Vs:void 0;for(o.set(t,e),o.set(e,t);++u<s;){var f=t[u],m=e[u];if(n)var g=a?n(m,f,u,e,t,o):n(f,m,u,t,e,o);if(void 0!==g){if(g)continue;h=!1;break}if(d){if(!zs(e,(function(t,e){if(!qs(d,e)&&(f===t||i(f,t,r,n,o)))return d.push(e)}))){h=!1;break}}else if(f!==m&&!i(f,m,r,n,o)){h=!1;break}}return o.delete(t),o.delete(e),h},Us=Gi.Uint8Array,Hs=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r},$s=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r};var Ws=Qi?Qi.prototype:void 0,Qs=Ws?Ws.valueOf:void 0;var Ks=Object.prototype.propertyIsEnumerable,Ys=Object.getOwnPropertySymbols;const Js=Ys?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o}(Ys(t),(function(e){return Ks.call(t,e)})))}:function(){return[]},Xs=function(t){return ro(t)&&"[object Arguments]"==eo(t)};var Zs=Object.prototype,tl=Zs.hasOwnProperty,el=Zs.propertyIsEnumerable;const rl=Xs(function(){return arguments}())?Xs:function(t){return ro(t)&&tl.call(t,"callee")&&!el.call(t,"callee")};var nl="object"==typeof exports&&exports&&!exports.nodeType&&exports,il=nl&&"object"==typeof module&&module&&!module.nodeType&&module,ol=il&&il.exports===nl?Gi.Buffer:void 0;const al=(ol?ol.isBuffer:void 0)||function(){return!1};var sl=/^(?:0|[1-9]\d*)$/;const ll=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&sl.test(t))&&t>-1&&t%1==0&&t<e},cl=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var pl={};pl["[object Float32Array]"]=pl["[object Float64Array]"]=pl["[object Int8Array]"]=pl["[object Int16Array]"]=pl["[object Int32Array]"]=pl["[object Uint8Array]"]=pl["[object Uint8ClampedArray]"]=pl["[object Uint16Array]"]=pl["[object Uint32Array]"]=!0,pl["[object Arguments]"]=pl["[object Array]"]=pl["[object ArrayBuffer]"]=pl["[object Boolean]"]=pl["[object DataView]"]=pl["[object Date]"]=pl["[object Error]"]=pl["[object Function]"]=pl["[object Map]"]=pl["[object Number]"]=pl["[object Object]"]=pl["[object RegExp]"]=pl["[object Set]"]=pl["[object String]"]=pl["[object WeakMap]"]=!1;var ul="object"==typeof exports&&exports&&!exports.nodeType&&exports,hl=ul&&"object"==typeof module&&module&&!module.nodeType&&module,dl=hl&&hl.exports===ul&&zi.process,fl=function(){try{return hl&&hl.require&&hl.require("util").types||dl&&dl.binding&&dl.binding("util")}catch(t){}}(),ml=fl&&fl.isTypedArray;const gl=ml?(yl=ml,function(t){return yl(t)}):function(t){return ro(t)&&cl(t.length)&&!!pl[eo(t)]};var yl,vl=Object.prototype.hasOwnProperty;const bl=function(t,e){var r=xo(t),n=!r&&rl(t),i=!r&&!n&&al(t),o=!r&&!n&&!i&&gl(t),a=r||n||i||o,s=a?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],l=s.length;for(var c in t)!e&&!vl.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ll(c,l))||s.push(c);return s};var xl=Object.prototype;const wl=function(t,e){return function(r){return t(e(r))}}(Object.keys,Object);var _l=Object.prototype.hasOwnProperty;const El=function(t){if(r=(e=t)&&e.constructor,e!==("function"==typeof r&&r.prototype||xl))return wl(t);var e,r,n=[];for(var i in Object(t))_l.call(t,i)&&"constructor"!=i&&n.push(i);return n},Sl=function(t){return null!=(e=t)&&cl(e.length)&&!fs(e)?bl(t):El(t);var e},kl=function(t){return function(t,e,r){var n=e(t);return xo(t)?n:function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}(n,r(t))}(t,Sl,Js)};var Pl=Object.prototype.hasOwnProperty;const Al=As(Gi,"DataView"),Ol=As(Gi,"Promise"),Cl=As(Gi,"Set"),Tl=As(Gi,"WeakMap");var Il="[object Map]",Dl="[object Promise]",Fl="[object Set]",Rl="[object WeakMap]",Ml="[object DataView]",jl=bs(Al),Ll=bs(Os),Nl=bs(Ol),Bl=bs(Cl),Vl=bs(Tl),zl=eo;(Al&&zl(new Al(new ArrayBuffer(1)))!=Ml||Os&&zl(new Os)!=Il||Ol&&zl(Ol.resolve())!=Dl||Cl&&zl(new Cl)!=Fl||Tl&&zl(new Tl)!=Rl)&&(zl=function(t){var e=eo(t),r="[object Object]"==e?t.constructor:void 0,n=r?bs(r):"";if(n)switch(n){case jl:return Ml;case Ll:return Il;case Nl:return Dl;case Bl:return Fl;case Vl:return Rl}return e});const ql=zl;var Gl="[object Arguments]",Ul="[object Array]",Hl="[object Object]",$l=Object.prototype.hasOwnProperty;const Wl=function(t,e,r,n,i,o){var a=xo(t),s=xo(e),l=a?Ul:ql(t),c=s?Ul:ql(e),p=(l=l==Gl?Hl:l)==Hl,u=(c=c==Gl?Hl:c)==Hl,h=l==c;if(h&&al(t)){if(!al(e))return!1;a=!0,p=!1}if(h&&!p)return o||(o=new Ns),a||gl(t)?Gs(t,e,r,n,i,o):function(t,e,r,n,i,o,a){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new Us(t),new Us(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return cs(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var s=Hs;case"[object Set]":var l=1&n;if(s||(s=$s),t.size!=e.size&&!l)return!1;var c=a.get(t);if(c)return c==e;n|=2,a.set(t,e);var p=Gs(s(t),s(e),n,i,o,a);return a.delete(t),p;case"[object Symbol]":if(Qs)return Qs.call(t)==Qs.call(e)}return!1}(t,e,l,r,n,i,o);if(!(1&r)){var d=p&&$l.call(t,"__wrapped__"),f=u&&$l.call(e,"__wrapped__");if(d||f){var m=d?t.value():t,g=f?e.value():e;return o||(o=new Ns),i(m,g,r,n,o)}}return!!h&&(o||(o=new Ns),function(t,e,r,n,i,o){var a=1&r,s=kl(t),l=s.length;if(l!=kl(e).length&&!a)return!1;for(var c=l;c--;){var p=s[c];if(!(a?p in e:Pl.call(e,p)))return!1}var u=o.get(t),h=o.get(e);if(u&&h)return u==e&&h==t;var d=!0;o.set(t,e),o.set(e,t);for(var f=a;++c<l;){var m=t[p=s[c]],g=e[p];if(n)var y=a?n(g,m,p,e,t,o):n(m,g,p,t,e,o);if(!(void 0===y?m===g||i(m,g,r,n,o):y)){d=!1;break}f||(f="constructor"==p)}if(d&&!f){var v=t.constructor,b=e.constructor;v==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(d=!1)}return o.delete(t),o.delete(e),d}(t,e,r,n,i,o))},Ql=function t(e,r,n,i,o){return e===r||(null==e||null==r||!ro(e)&&!ro(r)?e!=e&&r!=r:Wl(e,r,n,i,t,o))},Kl=function(t,e){return Ql(t,e)};function Yl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jl(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Yl(Object(r),!0).forEach((function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Yl(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Xl(t,e,r,n,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,i)}function Zl(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){Xl(o,n,i,a,s,"next",t)}function s(t){Xl(o,n,i,a,s,"throw",t)}a(void 0)}))}}class tc extends Pt{constructor(){super(...arguments),this.active=!1}shouldUpdate(t){var e="true"==String(this.active),{active:r=!1}=this._oldLifecycleInfo$||{};return(e||r)&&this.pageUpdate({active:e}),e}pageUpdate(){var t=arguments,e=this;return Zl((function*(){var r=t.length>0&&void 0!==t[0]?t[0]:{},n=t.length>1&&void 0!==t[1]&&t[1],i=e._oldLifecycleInfo$||{},o=Jl(Jl(Jl({},i),e.lifecycle),{},{contextPath:e.contextPath},r);"initialized"in r||!o.active||i.initialized||(o.initialized=!0),n&&(o.updated=Date.now());var a=function(t,e){var r=!1,n={};return Object.getOwnPropertyNames(t).forEach((function(i){var o=e[i],a=t[i];Kl(o,a)||(n[i]=a,r=!0)})),r&&n}(o,i);a&&(e._oldLifecycleInfo$=o,i.initialized&&a.contextPath?yield e.pageReset():(a.initialized&&(yield e.pageInitialized(o)),"initialized"in a?a.initialized?requestAnimationFrame(Zl((function*(){yield e.pageUpdated(a,o,i),o.active&&e.updateContext()}))):yield e.pageDisposed(o):(yield e.pageUpdated(a,o,i),o.active&&e.updateContext())))}))()}pageReset(){var t=this;return Zl((function*(){var{initialized:e}=t._oldLifecycleInfo$||{};e&&(yield t.pageDispose(),yield t.pageUpdate({},!0))}))()}pageDispose(){var t=this;return Zl((function*(){yield t.pageUpdate({initialized:!1})}))()}pageInitialized(t){}pageUpdated(t,e,r){}pageDisposed(t){}updateContext(t){ls.dispatch({type:va,context:t?Jl(Jl({},this.context),t):this.context})}get context(){return{}}}(0,t.gn)([a({type:Boolean})],tc.prototype,"active",void 0),(0,t.gn)([a({type:Object})],tc.prototype,"lifecycle",void 0),(0,t.gn)([a({type:String,attribute:"context-path"})],tc.prototype,"contextPath",void 0);var ec,rc,nc,ic=__webpack_require__(51266);function oc(t,e,r,n,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,i)}function ac(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){oc(o,n,i,a,s,"next",t)}function s(t){oc(o,n,i,a,s,"throw",t)}a(void 0)}))}}class sc{static enqueue(t){return new Promise(((e,r)=>{this.queue.push({promise:t,resolve:e,reject:r}),this.dequeue()}))}static dequeue(){if(this.workingOnPromise)return!1;var t=this.queue.shift();if(!t)return!1;try{this.workingOnPromise=!0,t.promise.then((e=>{this.workingOnPromise=!1,t.resolve(e),this.dequeue()})).catch((e=>{this.workingOnPromise=!1,t.reject(e),this.dequeue()}))}catch(e){this.workingOnPromise=!1,t.reject(e),this.dequeue()}return!0}}function lc(t){return["add","delete","clear","get","getAll","getAllKeys","count","put","openCursor","openKeyCursor"].reduce(((e,r)=>(e[r]=ac((function*(){for(var e=(yield ec||sc.enqueue(new Promise((function(t,e){var r="undefined"!=typeof window?window.indexedDB:self.indexedDB;r||e("this browser does not support indexedDB");var n=r.open("things-factory-database");n.onerror=function(t){ic.log("Why didn't you allow my web app to use IndexedDB?!"),e(t)},n.onupgradeneeded=function(t){var e,r=null===(e=t.target)||void 0===e?void 0:e.result;r.createObjectStore("notifications",{keyPath:"id",autoIncrement:!0}).createIndex("notification_id_unqiue","id",{unique:!0}),r.createObjectStore("client_settings",{keyPath:"key",autoIncrement:!0}).createIndex("client_setting_key_unqiue","key",{unique:!0})},n.onsuccess=function(e){ic.log("IndexedDB opened successfully"),ec=n.result,t(ec)}})))).transaction(t,"readwrite").objectStore(t),n=e[r],i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=n.apply(e,o);return yield new Promise(((t,e)=>{s.onsuccess=e=>{var r;t(null===(r=e.target)||void 0===r?void 0:r.result)},s.onerror=t=>{e(t)}}))})),e)),{limit(){var t=arguments,e=this;return ac((function*(){for(var r=t.length>0&&void 0!==t[0]?t[0]:50,n=(yield e.getAllKeys()).slice(0,-r),i=0;i<n.length;i++)yield e.delete(n[i])}))()}})}sc.queue=[],sc.workingOnPromise=!1,lc("client_settings"),lc("notifications"),S(rc||(rc=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n .headroom {\n will-change: transform;\n transition: transform 200ms linear;\n }\n\n .headroom--pinned {\n transform: translateY(0%);\n }\n\n .headroom--unpinned {\n transform: translateY(-100%);\n }\n"])));var cc,pc,uc,hc,dc,fc,mc=S(nc||(nc=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n ::-webkit-scrollbar {\n width: 5px;\n height: 5px;\n }\n ::-webkit-scrollbar-track {\n background-color: transparent;\n }\n ::-webkit-scrollbar-thumb {\n background-color: var(--scrollbar-thumb-color, rgba(0, 0, 0, 0.2));\n }\n ::-webkit-scrollbar-thumb:hover {\n background-color: var(--scrollbar-thumb-hover-color, #aa866a);\n }\n\n :host::-webkit-scrollbar {\n width: 5px;\n height: 5px;\n }\n :host::-webkit-scrollbar-track {\n background-color: transparent;\n }\n :host::-webkit-scrollbar-thumb {\n background-color: var(--scrollbar-thumb-color, rgba(0, 0, 0, 0.2));\n }\n :host::-webkit-scrollbar-thumb:hover {\n background-color: var(--scrollbar-thumb-hover-color, #aa866a);\n }\n"])));function gc(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}S(cc||(cc=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n #spinner {\n display: none;\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n\n width: 70px;\n height: 70px;\n margin: 0 auto;\n background: var(--oops-spinner-image) 0 0 no-repeat;\n background-size: 700%;\n animation: spinner steps(6) 2s infinite both;\n }\n\n #spinner[show] {\n display: block;\n }\n\n @keyframes spinner {\n 0% {\n background-position: 0%;\n }\n 100% {\n background-position: 100%;\n }\n }\n"]))),S(pc||(pc=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n /* for tooltip */\n [data-tooltip]:after {\n position: absolute;\n content: attr(data-tooltip);\n color: #fff;\n z-index: 1;\n pointer-events: none;\n display: block;\n\n padding: var(--tooltip-padding);\n background-color: var(--tooltip-background-color, black);\n font: var(--tooltip-font);\n box-shadow: var(--box-shadow);\n border-radius: var(--border-radius);\n\n left: var(--tooltip-left-positon-left);\n top: var(--tooltip-left-position-top);\n right: var(--tooltip-left-position-right);\n bottom: var(--tooltip-left-position-bottom);\n\n max-width: var(--tooltip-max-width, 300px);\n max-height: var(--tooltip-max-height, 300px);\n width: fit-content;\n word-wrap: break-word;\n white-space: pre-wrap;\n overflow: hidden;\n }\n"]))),S(uc||(uc=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n :host {\n display: flex;\n\n width: 100%;\n }\n\n ox-grist {\n flex: 1;\n overflow-y: auto;\n }\n\n [slot='headroom'] {\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: var(--padding-default) var(--padding-wide);\n background-color: var(--theme-white-color);\n box-shadow: var(--box-shadow);\n\n --mdc-icon-size: 24px;\n }\n\n [slot='headroom']:empty {\n padding: 0;\n }\n\n #sorters mwc-icon,\n #modes mwc-icon {\n --mdc-icon-size: 18px;\n }\n #sorters {\n margin-left: auto;\n margin-right: var(--margin-default);\n padding-left: var(--padding-narrow);\n border-bottom: var(--border-dark-color);\n position: relative;\n color: var(--secondary-color);\n font-size: var(--fontsize-default);\n user-select: none;\n }\n\n #sorters > * {\n padding: var(--padding-narrow);\n vertical-align: middle;\n }\n\n #modes > * {\n padding: var(--padding-narrow);\n opacity: 0.5;\n color: var(--primary-text-color);\n cursor: pointer;\n }\n\n #modes > mwc-icon[active] {\n border-radius: 9px;\n background-color: rgba(var(--primary-color-rgb), 0.05);\n opacity: 1;\n color: var(--secondary-text-color);\n cursor: default;\n }\n\n #modes > mwc-icon:hover {\n opacity: 1;\n color: var(--secondary-text-color);\n }\n\n #add {\n width: 50px;\n text-align: right;\n }\n\n #add button {\n background-color: var(--status-success-color);\n border: 0;\n border-radius: 50%;\n padding: 5px;\n width: 36px;\n height: 36px;\n cursor: pointer;\n }\n\n #add button:hover {\n background-color: var(--focus-background-color);\n box-shadow: var(--box-shadow);\n }\n\n #add button mwc-icon {\n font-size: 2em;\n color: var(--theme-white-color);\n }\n\n #filters {\n flex: 1;\n\n display: flex;\n align-items: center;\n }\n\n #filters > * {\n margin-right: var(--margin-default);\n }\n\n @media only screen and (max-width: 460px) {\n #modes {\n display: none;\n }\n }\n"]))),S(hc||(hc=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n .button-container {\n display: flex;\n margin-left: auto;\n padding: var(--padding-default);\n }\n\n .button-container mwc-button,\n .button-container button {\n margin-left: var(--margin-default);\n }\n\n mwc-button[danger] {\n --mdc-theme-primary: var(--mdc-danger-button-primary-color);\n --mdc-button-outline-color: var(--mdc-danger-button-outline-color);\n }\n"])));var yc,vc,bc,xc,wc,_c,Ec=class extends Pt{constructor(){super(...arguments),this._onfocusout=function(t){var e=t.relatedTarget;this.contains(e)||!window.POPUP_DEBUG&&this.close()}.bind(this),this._onkeydown=function(t){switch(t.stopPropagation(),t.key){case"Esc":case"Escape":this.close()}}.bind(this),this._onkeyup=function(t){t.stopPropagation()}.bind(this),this._onmouseup=function(t){t.stopPropagation()}.bind(this),this._onmousedown=function(t){t.stopPropagation()}.bind(this),this._oncontext=function(t){t.stopPropagation()}.bind(this),this._onclick=function(t){t.stopPropagation()}.bind(this),this._onclose=function(t){this.close()}.bind(this),this._oncollapse=function(t){t.stopPropagation(),this.close()}.bind(this),this._onwindowblur=function(t){!window.POPUP_DEBUG&&this.close()}.bind(this)}render(){return it(dc||(dc=gc([" <slot> </slot> "])))}connectedCallback(){super.connectedCallback(),this.addEventListener("focusout",this._onfocusout),this.addEventListener("keydown",this._onkeydown),this.addEventListener("keyup",this._onkeyup),this.addEventListener("click",this._onclick),this.addEventListener("mouseup",this._onmouseup),this.addEventListener("mousedown",this._onmousedown),this.addEventListener("context",this._oncontext),this.addEventListener("ox-close",this._onclose),this.addEventListener("ox-collapse",this._oncollapse),this.setAttribute("tabindex","0"),this.guaranteeFocus()}static open(t){var{template:e,top:r,left:n,right:i,bottom:o,width:a,height:s,parent:l}=t,c=l||document.body,p=document.createElement("ox-popup");return kt(e,p),p._parent=c,c.appendChild(p),p.open({top:r,left:n,right:i,bottom:o,width:a,height:s}),p}open(t){var{left:e,top:r,right:n,bottom:i,width:o,height:a,silent:s=!1}=t;o&&(this.style.maxWidth=o,this.style.overflowX="auto"),a&&(this.style.maxHeight=a,this.style.overflowY="auto"),void 0===e&&void 0===r&&void 0===n&&void 0===i?(this.style.left="50%",this.style.top="50%",this.style.transform="translateX(-50%) translateY(-50%)"):(void 0!==e&&(this.style.left="".concat(e,"px")),void 0!==r&&(this.style.top="".concat(r,"px")),void 0!==n&&(this.style.right="".concat(n,"px")),void 0!==i&&(this.style.bottom="".concat(i,"px"))),this.setAttribute("active",""),requestAnimationFrame((()=>{var t=document.body.clientHeight,e=document.body.clientWidth,r=this.getBoundingClientRect(),n=r.height,i=r.width,o=r.top,a=r.left;t<n&&(this.style.height="".concat(Math.min(Math.max(Math.floor(2*t/3),t-(o+20)),t),"px"),this.style.overflow="auto",n=t),e<i&&(this.style.width="".concat(Math.min(Math.max(Math.floor(2*e/3),e-(a+20)),e),"px"),this.style.overflow="auto",i=e);var s=getComputedStyle(this);o<0?(this.style.top="calc(".concat(s.top," + ").concat(o,"px)"),this.style.bottom=""):t<o+n&&(this.style.top="calc(".concat(s.top," - ").concat(o+n-t,"px)"),this.style.bottom=""),a<0?(this.style.left="calc(".concat(s.left," + ").concat(a,"px)"),this.style.right=""):e<a+i&&(this.style.left="calc(".concat(s.left," - ").concat(a+i-e,"px)"),this.style.right="")})),!s&&this.guaranteeFocus(),window.addEventListener("blur",this._onwindowblur)}guaranteeFocus(t){var e=(t||this).querySelector(':scope > button, :scope > [href], :scope > input, :scope > select, :scope > textarea, :scope > [tabindex]:not([tabindex="-1"])');e?e.focus():this.focus()}close(){this.removeAttribute("active"),window.removeEventListener("blur",this._onwindowblur),this._parent&&(this.removeEventListener("focusout",this._onfocusout),this.removeEventListener("keydown",this._onkeydown),this.removeEventListener("keyup",this._onkeyup),this.removeEventListener("click",this._onclick),this.removeEventListener("ox-close",this._onclose),this.removeEventListener("ox-collapse",this._oncollapse),this.removeEventListener("mouseup",this._onmouseup),this.removeEventListener("mousedown",this._onmousedown),this.removeEventListener("context",this._oncontext),this._parent.removeChild(this),delete this._parent)}};function Sc(t,e,r,n,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,i)}function kc(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){Sc(o,n,i,a,s,"next",t)}function s(t){Sc(o,n,i,a,s,"throw",t)}a(void 0)}))}}function Pc(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}Ec.styles=[mc,S(fc||(fc=gc(["\n :host {\n position: absolute;\n display: none;\n background-color: var(--theme-white-color, #fff);\n z-index: 100;\n padding: 0;\n box-shadow: 2px 3px 10px 5px rgba(0, 0, 0, 0.15);\n box-sizing: border-box;\n min-width: fit-content;\n line-height: initial;\n text-align: initial;\n }\n\n :host([active]) {\n display: block;\n }\n\n :host(*:focus) {\n outline: none;\n }\n "])))],(0,t.gn)([c()],Ec.prototype,"_parent",void 0),Ec=(0,t.gn)([e("ox-popup")],Ec);var Ac,Oc,Cc=class extends Ec{constructor(){super(...arguments),this.multiple=!1,this.nothingToSelect=!1,this._onkeydown=function(t){switch(t.stopPropagation(),t.key){case"Esc":case"Escape":this.close();break;case"Left":case"ArrowLeft":case"Up":case"ArrowUp":this.activeIndex--;break;case"Right":case"ArrowRight":case"Down":case"ArrowDown":this.activeIndex++;break;case"Enter":case" ":case"Spacebar":this.setActive(this.activeIndex,!0),this.select()}}.bind(this),this._onfocusout=function(t){var e=t.relatedTarget;this.contains(e)||!window.POPUP_DEBUG&&this.close()}.bind(this),this._onclick=function(t){var e;t.stopPropagation();var r=null===(e=t.target)||void 0===e?void 0:e.closest("[option]");r&&(this.setActive(r,!0),this.select())}.bind(this)}render(){return it(yc||(yc=Pc(['\n <slot name="header"> </slot>\n\n ',"\n\n <slot\n @change=","\n >\n </slot>\n ","\n "])),this.withSearch?it(vc||(vc=Pc(['\n <label search for="search" @input=','>\n <mwc-icon search-icon>search</mwc-icon>\n <input\n id="search"\n type="text"\n autocomplete="off"\n @keydown=',"\n @change=","\n />\n <mwc-icon\n @click=","\n delete-icon\n >delete</mwc-icon\n >\n </label>\n "])),(t=>this._oninputsearch(t)),(t=>this._onkeydownsearch(t)),(t=>this._onchangesearch(t)),(()=>{this.searchInput.value="",this.searchKeyword=""})):it(bc||(bc=Pc([""]))),(t=>{t.stopPropagation()}),this.nothingToSelect?it(xc||(xc=Pc(["<label nothing>nothing to select</label>"]))):it(wc||(wc=Pc([""]))))}_oninputsearch(t){t.stopPropagation(),t.preventDefault(),this.searchKeyword=t.target.value}_onchangesearch(t){this.searchKeyword=t.target.value}_onkeydownsearch(t){["Esc","Escape","Up","ArrowUp","Down","ArrowDown"].includes(t.key)||t.stopPropagation()}updated(t){if(t.has("activeIndex")&&void 0!==this.activeIndex&&this.setActive(this.activeIndex),t.has("searchKeyword")&&(this.attrSelected,this.querySelectorAll("[option]").forEach((t=>{var e;!this.searchKeyword||(null===(e=t.textContent)||void 0===e?void 0:e.match(new RegExp(this.searchKeyword,"i")))?t.removeAttribute("hidden"):(t.removeAttribute("selected"),t.setAttribute("hidden",""))})),this.nothingToSelect=0===this.querySelectorAll("[option]:not([hidden])").length),t.has("value")){var e=Array.from(this.querySelectorAll(":scope > [option]")),r=this.value;r instanceof Array||(r=[r]),e.forEach((t=>{(null==r?void 0:r.includes(t.getAttribute("value")||""))?t.setAttribute(this.attrSelected||"selected",""):t.removeAttribute(this.attrSelected||"selected")}))}}getSelectedLabels(){var t=Array.from(this.querySelectorAll(":scope > [option]")).filter((t=>t.hasAttribute("value")&&t.hasAttribute(this.attrSelected||"selected"))).map((t=>t.textContent||""));return this.multiple?t:t[0]}select(){var t=this;return kc((function*(){yield t.updateComplete;var e=Array.from(t.querySelectorAll(":scope > [option]")),r=e.filter((e=>e.hasAttribute("value")&&e.hasAttribute(t.attrSelected||"selected"))).map((t=>t.getAttribute("value")));t.dispatchEvent(new CustomEvent("select",{bubbles:!0,composed:!0,detail:t.multiple?r:r[0]})),e[t.activeIndex].hasAttribute("alive-on-select")||t.hasAttribute("multiple")||t.close()}))()}setActive(t,e){var r=this,n=Array.from(this.querySelectorAll("[option]:not([hidden])"));if(this.withSearch&&n.push(this.renderRoot.querySelector("[search]")),t instanceof Element){var i=n.findIndex((e=>e===t));this.setActive(-1===i?0:i,e)}else{var o=this.attrSelected||"selected";n.forEach(function(){var i=kc((function*(i,a){"number"==typeof t&&a===(t+n.length)%n.length?(i.setAttribute("active",""),e&&!r.attrSelected&&(r.multiple?i.toggleAttribute("selected"):i.setAttribute("selected","")),function(t){var e=t.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(e)e.focus();else{var r=t.closest('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');null==r||r.focus()}}(i),r.activeIndex=a):(i.removeAttribute("active"),!r.multiple&&e&&i.removeAttribute(o))}));return function(t,e){return i.apply(this,arguments)}}())}}open(t){super.open(t),void 0===this.activeIndex?this.activeIndex=0:this.setActive(this.activeIndex)}close(){this.hasAttribute("active")&&this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0})),super.close()}static open(t){var{template:e,top:r,left:n,right:i,bottom:o,parent:a}=t,s=a||document.body,l=document.createElement("ox-popup-list");return kt(e,l),l._parent=s,s.appendChild(l),l.open({top:r,left:n,right:i,bottom:o}),l}};function Tc(t,e,r,n,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,i)}function Ic(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}Cc.styles=[...Ec.styles,S(_c||(_c=Pc(["\n :host {\n display: none;\n flex-direction: column;\n align-items: stretch;\n background-color: var(--theme-white-color, #fff);\n z-index: 100;\n box-shadow: 2px 3px 10px 5px rgba(0, 0, 0, 0.15);\n padding: 4px 0;\n color: var(--theme-primary-text-color, #3c3938);\n font: normal 14px 'Roboto', sans-serif;\n }\n\n :host([active]) {\n display: flex;\n }\n\n :host(*:focus) {\n outline: none;\n }\n\n :host([nowrap]) ::slotted([option]) {\n white-space: nowrap;\n }\n\n ::slotted([option]) {\n border-left: 3px solid transparent;\n }\n\n ::slotted(*) {\n padding: 5px 10px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.05);\n cursor: pointer;\n outline: none;\n }\n\n ::slotted(*:focus) {\n outline: none;\n }\n\n ::slotted([option][active]),\n ::slotted([option]:hover) {\n background-color: #f6f6f6;\n }\n\n ::slotted([option][selected]) {\n border-left: 3px solid var(--primary-color, #38a25b);\n font-weight: bold;\n }\n\n ::slotted([separator]) {\n height: 1px;\n width: 100%;\n padding: 0;\n background-color: rgba(0, 0, 0, 0.15);\n }\n ::slotted([option] > input) {\n border: var(--border-dark-color, 1px solid rgba(0, 0, 0, 0.3));\n }\n\n ::slotted([hidden]) {\n display: none;\n }\n\n [search] {\n display: flex;\n position: relative;\n align-items: center;\n padding: 5px 10px;\n\n --mdc-icon-size: 20px;\n }\n\n [search] [type='text'] {\n flex: 1;\n background-color: transparent;\n border: 0;\n padding: 0 0 0 25px;\n outline: none;\n width: 50px;\n }\n\n [search] mwc-icon {\n color: var(--secondary-color);\n }\n\n [search] mwc-icon[search-icon] {\n position: absolute;\n }\n\n [search] mwc-icon[delete-icon] {\n opacity: 0.5;\n --mdc-icon-size: 14px;\n }\n\n [nothing] {\n opacity: 0.5;\n text-align: center;\n }\n "])))],(0,t.gn)([a({type:Boolean})],Cc.prototype,"multiple",void 0),(0,t.gn)([a({type:String,attribute:"attr-selected"})],Cc.prototype,"attrSelected",void 0),(0,t.gn)([a({type:Boolean,attribute:"with-search"})],Cc.prototype,"withSearch",void 0),(0,t.gn)([a({type:String})],Cc.prototype,"value",void 0),(0,t.gn)([c()],Cc.prototype,"activeIndex",void 0),(0,t.gn)([c()],Cc.prototype,"searchKeyword",void 0),(0,t.gn)([c()],Cc.prototype,"nothingToSelect",void 0),(0,t.gn)([m("[search] input")],Cc.prototype,"searchInput",void 0),Cc=(0,t.gn)([e("ox-popup-list")],Cc);var Dc,Fc,Rc,Mc,jc=class extends Ec{constructor(){super(...arguments),this.activeIndex=0,this._onkeydown=function(t){var e;switch(t.stopPropagation(),t.key){case"Esc":case"Escape":case"Left":case"ArrowLeft":this.close();break;case"Up":case"ArrowUp":this.activeIndex--;break;case"Right":case"ArrowRight":case"Down":case"ArrowDown":this.activeIndex++;break;case"Enter":t.stopPropagation();var r=null===(e=t.target)||void 0===e?void 0:e.closest("[menu], ox-popup-menuitem");r&&this.select(r)}}.bind(this),this._onfocusout=function(t){var e=t.target,r=t.relatedTarget,n=e.closest("ox-popup-menu");r||n===this?this.contains(r)||!window.POPUP_DEBUG&&this.close():(t.stopPropagation(),this.setActive(this.activeIndex))}.bind(this),this._onclick=function(t){var e;t.stopPropagation();var r=null===(e=t.target)||void 0===e?void 0:e.closest("[menu], ox-popup-menuitem");r&&(this.setActive(r),this.select(r))}.bind(this)}render(){return it(Ac||(Ac=Ic([" <slot> </slot> "])))}updated(t){t.has("activeIndex")&&this.setActive(this.activeIndex)}select(t){t.dispatchEvent(new CustomEvent("select")),t.hasAttribute("alive-on-select")||this.dispatchEvent(new CustomEvent("ox-close",{bubbles:!0,composed:!0,detail:this}))}setActive(t){var e=this,r=Array.from(this.querySelectorAll(":scope > ox-popup-menuitem, :scope > [menu]"));r.map(function(){var n=function(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){Tc(o,n,i,a,s,"next",t)}function s(t){Tc(o,n,i,a,s,"throw",t)}a(void 0)}))}}((function*(n,i){var o;"number"==typeof t&&i===(t+r.length)%r.length?(n.setAttribute("active",""),null==(o=n.closest('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'))||o.focus(),e.activeIndex=i):t===n?(e.activeIndex===i&&(n.removeAttribute("active"),yield e.updateComplete,n.setAttribute("active","")),e.activeIndex=i):n.removeAttribute("active")}));return function(t,e){return n.apply(this,arguments)}}())}static open(t){var{template:e,top:r,left:n,right:i,bottom:o,parent:a}=t,s=a||document.body,l=document.createElement("ox-popup-menu");return kt(e,l),l.setAttribute("active",""),l._parent=s,s.appendChild(l),l.open({top:r,left:n,right:i,bottom:o}),l}};function Lc(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}jc.styles=[...Ec.styles,S(Oc||(Oc=Ic(["\n :host {\n display: none;\n flex-direction: column;\n align-items: stretch;\n background-color: var(--theme-white-color, #fff);\n z-index: 100;\n box-shadow: 2px 3px 10px 5px rgba(0, 0, 0, 0.15);\n padding: 4px 0;\n\n color: var(--theme-primary-text-color, #3c3938);\n font: normal 14px 'Roboto', sans-serif;\n }\n\n :host([active]) {\n display: flex;\n }\n\n :host(*:focus) {\n outline: none;\n }\n\n ::slotted(*) {\n padding: 5px 10px;\n cursor: pointer;\n }\n\n ::slotted(*:focus) {\n outline: none;\n }\n\n ::slotted([menu][active]),\n ::slotted([menu]:hover) {\n background-color: #f6f6f6;\n }\n\n ::slotted([menu]),\n ::slotted(ox-popup-menuitem) {\n border-left: 3px solid transparent;\n }\n\n ::slotted(ox-popup-menuitem[active]) {\n border-left: 3px solid var(--primary-color, #38a25b);\n font-weight: bold;\n }\n\n ::slotted([separator]) {\n height: 1px;\n width: 100%;\n padding: 0;\n background-color: rgba(0, 0, 0, 0.15);\n }\n ::slotted([menu] > input) {\n border: var(--border-dark-color, 1px solid rgba(0, 0, 0, 0.3));\n }\n "])))],(0,t.gn)([a({type:Number})],jc.prototype,"activeIndex",void 0),jc=(0,t.gn)([e("ox-popup-menu")],jc);var Nc,Bc,Vc,zc,qc,Gc,Uc,Hc,$c,Wc,Qc,Kc,Yc,Jc,Xc,Zc,tp,ep,rp,np,ip,op=class extends Pt{constructor(){super(...arguments),this.active=!1,this._onclick=function(t){if(this._submenu){t.stopPropagation();var e=this.closest("ox-popup-menu");e&&e.setActive(this),this.dispatchEvent(new CustomEvent("select")),requestAnimationFrame((()=>{this.expand(!1)}))}}.bind(this),this._onkeydown=function(t){switch(t.key){case"Right":case"ArrowRight":t.stopPropagation(),this.expand(!1);break;case"Left":case"ArrowLeft":t.stopPropagation(),this.collapseSelf();break;case"Enter":this._submenu&&(t.stopPropagation(),this.expand(!1))}}.bind(this),this._onslotchange=function(t){this._submenu=this.querySelector("ox-popup-menu")}.bind(this)}render(){return it(Dc||(Dc=Lc(['\n <div icon>\n <slot name="icon"> </slot>\n </div>\n <div label>',"</div>\n\n ","\n\n <slot @slotchange=","> </slot>\n "])),this.label,this._submenu?it(Fc||(Fc=Lc(["<mwc-icon>chevron_right</mwc-icon>"]))):it(Rc||(Rc=Lc([""]))),this._onslotchange)}firstUpdated(){this.setAttribute("tabindex","0"),this.addEventListener("keydown",this._onkeydown),this.addEventListener("click",this._onclick)}updated(t){t.has("active")&&this.updateActive()}updateActive(){this.active?this.expand(!0):this.collapse()}expand(t){if(this._submenu){var e=this.clientWidth;this._submenu.open({top:0,left:e,silent:t})}}collapse(){var t;null===(t=this._submenu)||void 0===t||t.close()}collapseSelf(){this.dispatchEvent(new CustomEvent("ox-collapse",{bubbles:!0,composed:!0,detail:this}))}close(){this.dispatchEvent(new CustomEvent("ox-close",{bubbles:!0,composed:!0,detail:this}))}};function ap(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function sp(t){var e;if(0==t.button)return{x:t.clientX,y:t.clientY};if(1==(null===(e=t.touches)||void 0===e?void 0:e.length)){var r=t.touches[0];return{x:r.clientX,y:r.clientY}}}op.styles=[S(Mc||(Mc=Lc(["\n :host {\n display: flex;\n flex-direction: row;\n position: relative;\n align-items: center;\n }\n\n [icon] {\n width: 20px;\n display: flex;\n flex-direction: row;\n padding: 0;\n margin: 0 4px 0 0;\n align-items: center;\n justify-content: center;\n }\n\n [icon] > * {\n flex: 1;\n }\n\n [label] {\n flex: 1;\n text-transform: capitalize;\n }\n\n ::slotted(*[slot='icon']) {\n color: var(--secondary-color, #476172);\n font-size: 18px;\n }\n\n mwc-icon {\n display: block;\n width: 24px;\n text-align: right;\n font-size: 18px;\n color: var(--theme-primary-text-color, #3c3938);\n opacity: 0.7;\n }\n "])))],(0,t.gn)([a({type:Boolean})],op.prototype,"active",void 0),(0,t.gn)([a({type:String})],op.prototype,"label",void 0),(0,t.gn)([c()],op.prototype,"_submenu",void 0),op=(0,t.gn)([e("ox-popup-menuitem")],op);var lp=class extends Pt{constructor(){super(...arguments),this.backdrop=!1,this.title="",this.closable=!1,this.historical=!1,this.movable=!1,this.dragEndHandler=this.onDragEnd.bind(this),this.dragMoveHandler=this.onDragMove.bind(this)}render(){var t="center"==this.hovering?void 0:this.direction,{value:e="",handler:r,placeholder:n="",autofocus:i=!0}=this.search||{},{handler:o}=this.filter||{},a="function"==typeof r,s="function"==typeof o;return it(Nc||(Nc=ap(["\n ","\n\n <div\n overlayed\n hovering=","\n direction=","\n size=","\n @close-overlay=","\n @transitionstart=","\n @transitionend=","\n @click=","\n >\n <div\n header\n @mousedown=","\n @touchstart=",'\n draggable="false"\n >\n <mwc-icon @click='," ?closable="," historyback>arrow_back</mwc-icon>\n ",'\n <slot name="header">\n ',"\n ","\n ","\n </slot>\n <mwc-icon @click="," ?closable="," close>close</mwc-icon>\n </div>\n\n <div content>\n <slot> </slot>\n </div>\n </div>\n "])),Boolean(this.backdrop)?it(Bc||(Bc=ap(['\n <div\n id="backdrop"\n ?hidden=',"\n @click=","\n ></div>\n "])),!this.backdrop,(t=>this.onClose(t,!0))):it(Vc||(Vc=ap([""]))),this.hovering||"center",le(t),this.size||"medium",(t=>{t.stopPropagation(),this.onClose(t)}),(t=>{t.target.removeAttribute("settled")}),(t=>{t.target.setAttribute("settled","")}),(t=>{this.backdrop&&t.target===this.content&&this.onClose(t,!0)}),this.onDragStart.bind(this),this.onDragStart.bind(this),(t=>this.onClose(t)),this.closable,this.movable?it(zc||(zc=ap(["<mwc-icon>drag_indicator</mwc-icon>"]))):it(qc||(qc=ap([""]))),this.title||this.closable?it(Gc||(Gc=ap(["\n <h1>\n ","&nbsp;","\n </h1>\n "])),this.title||"",this.help?it(Uc||(Uc=ap(["<ox-help-icon .topic=","></ox-help-icon>"])),this.help):it(Hc||(Hc=ap([""])))):it($c||($c=ap([""]))),a||s?it(Wc||(Wc=ap(["\n <div search>\n ","\n ","\n ","\n </div>\n "])),a?it(Qc||(Qc=ap([" <ox-input-search\n .placeholder=","\n .value=","\n ?autofocus=","\n @change=","\n ></ox-input-search>"])),n,e||"",i,(t=>{r(this.firstElementChild,t.target.value)})):it(Kc||(Kc=ap([""]))),this.help&&a?it(Yc||(Yc=ap(["<ox-help-icon .topic=","></ox-help-icon>"])),this.help):it(Jc||(Jc=ap([""]))),s?it(Xc||(Xc=ap(["<mwc-icon @click=","\n >tune</mwc-icon\n >"])),(t=>o(this.firstElementChild))):it(Zc||(Zc=ap([""])))):it(tp||(tp=ap([""]))),!this.help||a||this.title?it(rp||(rp=ap([""]))):it(ep||(ep=ap(["<ox-help-icon .topic=","></ox-help-icon>"])),this.help),(t=>this.onClose(t)),this.closable)}updated(t){if(t.has("templateProperties")&&this.templateProperties){var e=this.firstElementChild;if(e)for(var r in this.templateProperties)e[r]=this.templateProperties[r]}}firstUpdated(){requestAnimationFrame((()=>{var t;null===(t=this.overlayed)||void 0===t||t.setAttribute("opened","true")}))}connectedCallback(){super.connectedCallback(),this.movable=this.movable&&!window.matchMedia("(max-width: 460px)").matches,this.movable&&(document.addEventListener("mouseup",this.dragEndHandler),document.addEventListener("touchend",this.dragEndHandler),document.addEventListener("touchcancel",this.dragEndHandler),document.addEventListener("mousemove",this.dragMoveHandler),document.addEventListener("touchmove",this.dragMoveHandler))}disconnectedCallback(){document.dispatchEvent(new CustomEvent("overlay-closed",{detail:this.name})),this.movable&&(document.removeEventListener("mouseup",this.dragEndHandler),document.removeEventListener("touchend",this.dragEndHandler),document.removeEventListener("touchcancel",this.dragEndHandler),document.removeEventListener("mousemove",this.dragMoveHandler),document.removeEventListener("touchmove",this.dragMoveHandler)),super.disconnectedCallback()}onDragStart(t){if(this.movable){var e=sp(t);return e?(this.dragStart=e,t.stopPropagation(),!1):void 0}}onDragMove(t){if(!this.movable||!this.dragStart)return!1;var e=sp(t);if(!e)return!1;t.stopPropagation(),t.preventDefault();var r=e,{x:n,y:i}=e;n-=this.dragStart.x,i-=this.dragStart.y,this.dragStart=r;var o=this.overlayed,a=o.getBoundingClientRect();return o.style.left=Math.min(document.body.offsetWidth-40,Math.max(40-o.offsetWidth,a.left+n))+"px",o.style.top=Math.min(document.body.offsetHeight-40,Math.max(0,a.top+i))+"px",o.style.transform="initial",!1}onDragEnd(t){this.movable&&this.dragStart&&(t.stopPropagation(),t.preventDefault(),delete this.dragStart)}close(){var t;null===(t=this.parentNode)||void 0===t||t.removeChild(this)}onClose(t,e){if(t.stopPropagation(),this.historical){var r=(history.state||{}).overlay;if(!r||r.name!==this.name)return;if(e&&!r.escapable)return!0;history.back()}else this.close()}};function cp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cp(Object(r),!0).forEach((function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}lp.styles=[mc,S(np||(np=ap(["\n /* for layout style */\n :host {\n position: relative;\n z-index: 1;\n }\n\n :host([hovering='edge']) {\n /* edge hovering 인 경우에는 상위 relative position 크기와 위치를 반영한다. */\n position: initial;\n }\n\n #backdrop {\n position: fixed;\n left: 0;\n top: 0;\n\n width: 100vw;\n height: 100vh;\n height: 100dvh;\n\n background-color: var(--overlay-background-color);\n }\n\n [overlayed] {\n position: absolute;\n\n display: flex;\n flex-direction: column;\n overflow: hidden;\n background: transparent;\n }\n\n [overlayed][hovering='center'] {\n position: fixed;\n\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n\n opacity: 0;\n }\n\n [overlayed][hovering='center'][opened] {\n opacity: 1;\n transition: opacity 0.3s ease-in;\n }\n\n [hovering='center'] {\n width: var(--overlay-center-normal-width, 60%);\n height: var(--overlay-center-normal-height, 60%);\n }\n\n [hovering='center'][size='small'] {\n width: var(--overlay-center-small-width, 40%);\n height: var(--overlay-center-small-height, 40%);\n }\n\n [hovering='center'][size='large'] {\n width: var(--overlay-center-large-width, 100%);\n height: var(--overlay-center-large-height, 100%);\n }\n\n [header] {\n --help-icon-color: #fff;\n --help-icon-hover-color: #fff;\n\n pointer-events: initial;\n }\n\n [content] {\n flex: 1;\n overflow: hidden;\n }\n\n ::slotted(*) {\n box-sizing: border-box;\n pointer-events: initial;\n }\n\n [hovering='center'] [content] ::slotted(*) {\n width: 100%;\n height: 100%;\n }\n [direction='up'],\n [direction='down'] {\n width: 100%;\n\n max-height: 0;\n transition: max-height 0.7s ease-in;\n }\n [direction='up'] {\n bottom: 0;\n }\n [direction='down'] {\n top: 0;\n }\n\n [direction='up'][opened],\n [direction='down'][opened] {\n max-height: 100vh;\n max-height: 100dvh;\n }\n\n [settled][direction='down'] [content],\n [settled][direction='up'] [content] {\n overflow-y: auto;\n }\n\n [direction='left'],\n [direction='right'] {\n height: 100%;\n\n max-width: 0;\n transition: max-width 0.5s ease-in;\n }\n [direction='left'] {\n right: 0;\n }\n [direction='right'] {\n left: 0;\n }\n\n [direction='left'][opened],\n [direction='right'][opened] {\n max-width: 100vw;\n }\n\n [settled][direction='left'] [content],\n [settled][direction='right'] [content] {\n overflow-x: auto;\n }\n\n @media screen and (max-width: 460px) {\n [direction='up'],\n [direction='down'] {\n max-height: 100vh;\n max-height: 100dvh;\n }\n\n [direction='left'],\n [direction='right'] {\n max-width: 100vw;\n }\n }\n "]))),S(ip||(ip=ap(["\n /* for header style */\n [header] {\n display: flex;\n flex-direction: row;\n align-items: center;\n\n background-color: var(--overlay-header-background-color);\n color: var(--overlay-header-color);\n }\n\n slot[name='header'] {\n flex: 1;\n\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n }\n\n [name='header']::slotted(*) {\n margin: 0 auto;\n }\n\n [name='header'] > h1 {\n text-transform: capitalize;\n font: var(--overlay-header-font);\n }\n\n [historyback] {\n margin-left: 10px;\n margin-right: auto;\n }\n\n [close] {\n margin-left: auto;\n margin-right: 10px;\n }\n\n [historyback],\n [close] {\n display: none;\n }\n\n [closable][close] {\n display: block;\n }\n\n [search] ox-help-icon {\n color: var(--secondary-color);\n }\n\n [search] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n align-self: center;\n color: var(--secondary-color);\n background-color: var(--opacity-light-color);\n border-radius: 999em;\n padding: 0 10px;\n }\n\n [search] > * {\n align-self: center;\n }\n\n @media screen and (max-width: 460px) {\n [closable][historyback] {\n display: block;\n }\n\n [closable][close] {\n display: none;\n }\n }\n "])))],(0,t.gn)([a({type:Boolean})],lp.prototype,"backdrop",void 0),(0,t.gn)([a({type:String})],lp.prototype,"direction",void 0),(0,t.gn)([a({type:String,reflect:!0})],lp.prototype,"hovering",void 0),(0,t.gn)([a({type:String})],lp.prototype,"size",void 0),(0,t.gn)([a({type:String})],lp.prototype,"name",void 0),(0,t.gn)([a({type:String})],lp.prototype,"title",void 0),(0,t.gn)([a({type:Boolean})],lp.prototype,"closable",void 0),(0,t.gn)([a({type:Object})],lp.prototype,"templateProperties",void 0),(0,t.gn)([a({type:Object})],lp.prototype,"help",void 0),(0,t.gn)([a({type:Boolean})],lp.prototype,"historical",void 0),(0,t.gn)([a({type:Boolean})],lp.prototype,"movable",void 0),(0,t.gn)([a({type:Object})],lp.prototype,"search",void 0),(0,t.gn)([a({type:Object})],lp.prototype,"filter",void 0),(0,t.gn)([m("[overlayed]")],lp.prototype,"overlayed",void 0),(0,t.gn)([m("[content]")],lp.prototype,"content",void 0),lp=(0,t.gn)([e("ox-floating-overlay")],lp);var up,hp,dp="APPEND_VIEWPART",fp="UPDATE_VIEWPART";!function(t){t.HEADERBAR="headerbar",t.NAVBAR="navbar",t.ASIDEBAR="asidebar",t.FOOTERBAR="footerbar",t.PAGE_HEADERBAR="page-headerbar",t.PAGE_FOOTERBAR="page-footerbar"}(up||(up={})),function(t){t.TOPMOST="TOPMOST",t.NORMAL="NORMAL"}(hp||(hp={}));var mp=0,gp=(t,e,r)=>{var n=history.state,i=n?n.overlay:void 0,o=i&&void 0!==i.sequence?i.sequence:mp,a=mp=o+1;!r&&e&&ls.dispatch({type:fp,name:t,override:e});var s=Object.assign({},n||{},{overlay:{name:t,sequence:a,escapable:!1!==(null==e?void 0:e.escapable)}});history.pushState(s,"",location.href),window.dispatchEvent(new CustomEvent("popstate",{detail:{state:s}}))},yp=t=>{history.back()},vp=0;function bp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function xp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?bp(Object(r),!0).forEach((function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var wp={viewparts:{},width:"WIDE"};function _p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ep(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?_p(Object(r),!0).forEach((function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_p(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Sp={snackbarOpened:!1,level:"",message:"",action:{}};var kp=__webpack_require__(51266);function Pp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ap(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Pp(Object(r),!0).forEach((function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}ls.addReducers({layout:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:wp,e=arguments.length>1?arguments[1]:void 0,r=xp({},t.viewparts);switch(e.type){case dp:return xp(xp({},t),{},{viewparts:xp(xp({},t.viewparts),{},{[e.name]:xp(xp({},e.viewpart),{},{position:e.position})})});case"REMOVE_VIEWPART":return delete r[e.name],xp(xp({},t),{},{viewparts:r});case fp:var n=r[e.name];if(!n)return t;var i=e.override||{};return n.temporary&&!1===i.show?(delete r[e.name],xp(xp({},t),{},{viewparts:r})):xp(xp({},t),{},{viewparts:xp(xp({},t.viewparts),{},{[e.name]:xp(xp({},n),e.override)})});case"UPDATE_VIEWPORT_WIDTH":return xp(xp({},t),{},{width:e.width});default:return t}},snackbar:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Sp,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Oi:return Ep(Ep({},t),{},{snackbarOpened:!0,level:e.level||"info",message:e.message,action:Ep({},e.action)});case Ci:return Ep(Ep({},t),{},{snackbarOpened:!1});default:return t}}}),document.addEventListener("open-overlay",(t=>{var{name:e,options:r}=t.detail;gp(e,r)})),document.addEventListener("close-overlay",(t=>{var{name:e}=t.detail;yp()})),document.addEventListener("toggle-overlay",(t=>{var{name:e,options:r}=t.detail;((t,e)=>{var{name:r}=history.state&&history.state.overlay||{};r==t?yp():gp(t,e)})(e,r)})),document.addEventListener("open-popup",(t=>{var{template:e,options:r,callback:n}=t.detail,i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r="$popup-".concat(vp++);(t=>{var{name:e,viewpart:r,position:n}=t;ls.dispatch({type:dp,name:e,viewpart:pp(pp({},r),{},{show:(!r.hovering||!r.show)&&r.show}),position:n}),r.hovering&&r.show&&gp(e)})({name:r,viewpart:pp(pp({hovering:"center",closable:!0},e),{},{backdrop:!0,show:!1,temporary:!0,template:t}),position:up.HEADERBAR}),gp(r,e,!0);var n={name:r,close:()=>{var t=(history.state||{}).overlay;t&&t.name==r&&history.back()},closed:!1};return document.addEventListener("overlay-closed",(function t(e){r==e.detail&&(n.closed=!0,n.onclosed&&n.onclosed(),document.removeEventListener("overlay-closed",t))})),n}(e,r);i&&n&&n(i)})),document.addEventListener("notify",(t=>{var{message:e,level:r,ex:n="",option:i={}}=t.detail;switch(r){case"error":kp.error(e,n);break;case"warn":kp.warn(e,n);break;case"info":kp.info(e)}ls.dispatch(((t,e)=>{var{message:r,action:n,timer:i=5e3}=e;return e=>{e({type:Oi,level:t,message:r,action:n}),window.clearTimeout(Si),-1!=i&&(Si=window.setTimeout((()=>e({type:Ci})),i))}})(r,Ap({message:e},i)))}));var Op=[];function Cp(){return Op.length>0?Op[Op.length-1].overlay.sequence:-1}document.addEventListener("keydown",(t=>{var e,r;Op.length>0&&("Escape"===t.key||"Esc"===t.key)&&(null===(r=null===(e=history.state)||void 0===e?void 0:e.overlay)||void 0===r?void 0:r.escapable)&&history.back()})),ls.dispatch({type:ba,callback:(t,e)=>{var r=e instanceof PopStateEvent,n=history.state,i=null==n?void 0:n.overlay,o=(null==i?void 0:i.sequence)||-1,a=Cp();if(Op.length>0&&o<a)do{var{overlay:s}=Op.pop();ls.dispatch({type:fp,name:s.name,override:{show:!1}}),a=Cp()}while(o<a);!r&&i&&(Op.push(Ap({},n)),ls.dispatch({type:fp,name:i.name,override:{show:!0}}))}});const Tp=ls;var Ip,Dp,Fp,Rp,Mp,jp,Lp,Np;function Bp(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var Vp,zp=class extends(Ai(Tp)(Pt)){constructor(){super(...arguments),this.level="info",this.message="",this.active=!1}render(){return it(Ip||(Ip=Bp(["\n <span>\n <mwc-icon class=","\n >","</mwc-icon\n >\n </span>\n <span>","</span>\n ","\n "])),this.level,"info"==this.level?it(Dp||(Dp=Bp([" notification_important "]))):"warn"==this.level?it(Fp||(Fp=Bp([" warning "]))):"error"==this.level?it(Rp||(Rp=Bp([" error "]))):it(Mp||(Mp=Bp([""]))),this.message,this.action&&this.action.label?it(jp||(jp=Bp(["\n <mwc-button\n @click=","\n >","</mwc-button\n >\n "])),(()=>{Tp.dispatch({type:Ci}),this.action.callback()}),this.action.label):it(Lp||(Lp=Bp([""]))))}stateChanged(t){var{level:e,message:r,snackbarOpened:n,action:i}=t.snackbar||{};this.level=e,this.message=r,this.active=n,this.action=i}};zp.styles=S(Np||(Np=Bp(["\n :host {\n display: block;\n position: fixed;\n top: 100%;\n left: 0;\n right: 0;\n padding: 12px;\n background-color: black;\n color: white;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);\n text-align: center;\n will-change: transform;\n transform: translate3d(0, 0, 0);\n transition-property: visibility, transform;\n transition-duration: 0.2s;\n visibility: hidden;\n }\n\n :host([active]) {\n visibility: visible;\n transform: translate3d(0, -100%, 0);\n }\n\n mwc-icon {\n --mdc-icon-size: 1.2em;\n vertical-align: middle;\n max-width: 20px;\n }\n\n mwc-button {\n display: block;\n }\n\n .info {\n color: green;\n }\n\n .warn {\n color: yellow;\n }\n\n .error {\n color: red;\n }\n\n @media (min-width: 460px) {\n :host {\n width: 320px;\n margin: auto;\n }\n }\n "]))),(0,t.gn)([a({type:String})],zp.prototype,"level",void 0),(0,t.gn)([a({type:String})],zp.prototype,"message",void 0),(0,t.gn)([a({type:Boolean,reflect:!0})],zp.prototype,"active",void 0),(0,t.gn)([a({type:Object})],zp.prototype,"action",void 0),zp=(0,t.gn)([e("ox-snack-bar")],zp);var qp,Gp,Up,Hp,$p,Wp,Qp=S(Vp||(Vp=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n :host {\n display: flex;\n background-color: var(--auth-background);\n }\n\n :host *:focus {\n outline: none;\n }\n\n :host * {\n box-sizing: border-box;\n }\n\n ::placeholder {\n color: var(--opacity-light-color);\n font: var(--auth-input-font);\n }\n .wrap {\n display: block;\n width: 450px;\n min-width: 350px;\n margin: 0 auto;\n padding-bottom: 100px;\n text-align: center;\n }\n .auth-brand {\n color: #fff;\n }\n .auth-brand img {\n margin: 15% auto 5px auto;\n width: 100px;\n border: 3px solid var(--theme-white-color);\n border-radius: 25px;\n box-shadow: var(--box-shadow);\n }\n .name {\n display: block;\n font: var(--auth-brand-name);\n text-shadow: var(--auth-brand-name-shadow);\n }\n .auth-brand .welcome-msg {\n font: var(--auth-brand-welcome-msg);\n }\n .auth-form {\n display: grid;\n grid-gap: var(--margin-default);\n grid-template-columns: 1fr 1fr;\n }\n\n form {\n grid-column: 1 / -1;\n display: grid;\n grid-template-columns: 1fr 1fr;\n grid-gap: var(--margin-default);\n align-items: center;\n }\n\n h3 {\n grid-column: 1 / -1;\n margin: 50px 0 0 0;\n font: var(--auth-title-font);\n color: var(--auth-title-color);\n text-transform: uppercase;\n }\n\n .field {\n grid-column: 1 / -1;\n text-align: left;\n }\n\n .field mwc-textfield {\n width: 100%;\n --mdc-theme-primary: var(--auth-input-color);\n --mdc-theme-error: #fdd55f;\n --mdc-text-field-fill-color: transparent;\n --mdc-text-field-ink-color: var(--auth-input-color);\n --mdc-text-field-label-ink-color: var(--auth-input-color);\n --mdc-text-field-idle-line-color: var(--auth-input-color);\n --mdc-text-field-hover-line-color: var(--auth-input-color);\n font: var(--auth-input-font);\n }\n\n mwc-button {\n --mdc-theme-primary: var(--auth-button-background-color);\n --mdc-theme-on-primary: var(--primary-color);\n --mdc-button-horizontal-padding: var(--padding-default);\n --mdc-button-ink-color: var(--primary-color);\n grid-column: 1 / -1;\n }\n\n .wrap .link {\n text-decoration: none;\n justify-self: flex-start;\n color: var(--auth-title-color);\n }\n\n .wrap .link > mwc-button {\n --mdc-theme-primary: var(--auth-title-color);\n }\n\n #locale-area {\n display: flex;\n grid-column: 1 / -1;\n padding: 0 var(--padding-default);\n }\n\n #locale-area > label {\n display: flex;\n align-items: center;\n color: var(--theme-white-color);\n --mdc-icon-size: 16px;\n }\n\n #locale-selector {\n font-size: 16px;\n width: 100%;\n }\n\n #locale-selector {\n --i18n-selector-field-border: none;\n --i18n-selector-field-background-color: none;\n --i18n-selector-field-font-size: 14px;\n --i18n-selector-field-color: var(--theme-white-color);\n }\n\n .lottie-container {\n width: 100%;\n height: 300px;\n position: absolute;\n left: 0;\n bottom: 0;\n pointer-events: none;\n }\n .lottie-container lottie-player {\n position: absolute;\n bottom: -6%;\n width: 100%;\n height: auto;\n }\n\n @media (max-width: 450px) {\n .wrap {\n width: 85%;\n min-width: 320px;\n }\n .auth-form {\n grid-template-columns: 1fr;\n }\n .auth-brand img {\n margin: 12% auto 5px auto;\n width: 75px;\n }\n h3 {\n margin: 15px 0 0 0;\n }\n .lottie-container {\n overflow: hidden;\n height: 200px;\n pointer-events: none;\n }\n .lottie-container lottie-player {\n width: 1200px;\n left: -30%;\n }\n }\n\n @media screen and (min-width: 1400px) {\n .wrap {\n padding-bottom: 150px;\n }\n }\n @media screen and (min-width: 2500px) {\n .wrap {\n padding-bottom: 280px;\n }\n }\n"])));function Kp(t,e,r,n,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,i)}function Yp(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}class Jp extends(bi(vi)(Pt)){render(){var{icon:t,title:e,description:r}=this.applicationMeta;return it(qp||(qp=Yp(['\n <div class="content">\n <div class="wrap">\n <div class="auth-brand">\n <img src=',' />\n <strong class="name">','</strong>\n <span class="welcome-msg">','</span>\n </div>\n\n <div class="auth-form">\n <h3><ox-i18n msgid="title.','"></ox-i18n></h3>\n\n <form\n id="form"\n action="','"\n method="POST"\n @keypress=',"\n >\n ","\n </form>\n ",'\n <div id="locale-area">\n <label for="locale-selector"><mwc-icon>language</mwc-icon></label>\n <ox-i18n-selector\n id="locale-selector"\n value=',"\n @change=",'\n ></ox-i18n-selector>\n </div>\n </div>\n </div>\n\n <mwc-icon-button home icon="home" @click=','></mwc-icon-button>\n <ox-snack-bar id="snackbar" level="error" .message=',"></ox-snack-bar>\n\n ","\n </div>\n "])),t,e,r,this.pageName,this.actionUrl,(t=>{"Enter"==t.key&&this._onSubmit(t)}),this.formfields,this.links,vi.language||"en-US",(t=>{var e=t.detail;e&&vi.changeLanguage(e)}),(t=>window.location.href="/"),this.message,!navigator.userAgent.match(/chrome|chromium|crios/i)&&navigator.userAgent.match(/safari/i)?it(Gp||(Gp=Yp([""]))):it(Up||(Up=Yp(['\n <div class="lottie-container">\n <lottie-player autoplay loop src="../../assets/images/background-animation.json"></lottie-player>\n </div>\n ']))))}firstUpdated(){setTimeout((()=>{this.renderRoot.querySelector("mwc-textfield").focus()}),100),this.formEl.reset=()=>{this.formElements.filter((t=>!(t.hidden||"hidden"==t.type))).forEach((t=>t.value=""))}}updated(t){t.has("data")&&this.data&&(this.message=this.data.message,this.redirectTo=this.data.redirectTo)}get formElements(){return Array.from(this.formEl.querySelectorAll("[name]"))}get formfields(){var t,e=(null===(t=this.data)||void 0===t?void 0:t.email)||"";return it(Hp||(Hp=Yp(['\n <input id="redirectTo" type="hidden" name="redirectTo" .value=',' />\n\n <div class="field">\n <mwc-textfield\n name="email"\n type="email"\n label=',"\n required\n .value=","\n .validationMessage=",'\n autocomplete="username"\n autocapitalize="off"\n ></mwc-textfield>\n </div>\n <div class="field">\n <mwc-textfield\n name="password"\n type="password"\n label=','\n autocomplete="current-password"\n required\n ></mwc-textfield>\n </div>\n\n <mwc-button class="ui" type="submit" raised @click=','>\n <ox-i18n msgid="field.','"> </ox-i18n>\n </mwc-button>\n '])),this.redirectTo||"/",vi.t("field.email"),e,vi.t("text.invalid-email"),vi.t("field.password"),(t=>this._onSubmit(t)),this.pageName)}get links(){return it($p||($p=Yp(['\n <a class="link" href="/auth/signup">\n <mwc-button icon="add_task"><ox-i18n msgid="field.sign up"></ox-i18n></mwc-button>\n </a>\n <a class="link" href="/auth/forgot-password">\n <mwc-button icon="lock_open"><ox-i18n msgid="field.forgot-password"></ox-i18n></mwc-button>\n </a>\n '])))}_onSubmit(t){var e=this;return function(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){Kp(o,n,i,a,s,"next",t)}function s(t){Kp(o,n,i,a,s,"throw",t)}a(void 0)}))}}((function*(){e.checkValidity()&&e.submit()}))()}checkValidity(){return this.formElements.every((t=>t.checkValidity()))}showSnackbar(){var{level:t,message:e,timer:r=3e3}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.renderRoot.querySelector("#snackbar");t&&(n.level=t),e&&(n.message=e),n.active=!0,r>-1&&setTimeout((()=>{this.hideSnackbar()}),r)}hideSnackbar(){this.renderRoot.querySelector("#snackbar").active=!1}get applicationMeta(){if(!this._applicationMeta){var t=document.querySelector('link[rel="application-icon"]'),e=document.querySelector('meta[name="application-name"]'),r=document.querySelector('meta[name="application-description"]');this._applicationMeta={icon:(null==t?void 0:t.href)||"",title:(null==e?void 0:e.content)||"Things Factory",description:(null==r?void 0:r.content)||"Reimagining Software"}}return this._applicationMeta}}function Xp(t,e,r,n,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,i)}Jp.styles=[mc,S(Wp||(Wp=Yp(["\n :host {\n position: relative;\n overflow: hidden;\n\n display: flex;\n flex-direction: row;\n\n width: 100vw;\n height: 100vh;\n height: 100dvh;\n }\n .content {\n flex: 1;\n overflow: auto;\n }\n\n [home] {\n position: absolute;\n top: 10px;\n left: 10px;\n font-size: 2em;\n color: white;\n }\n\n [hidden] {\n display: none;\n }\n\n #snackbar {\n width: 100%;\n z-index: 10;\n }\n\n @media print {\n :host {\n width: 100%;\n height: 100%;\n min-height: 100vh;\n min-height: 100dvh;\n }\n }\n "]))),Qp],(0,t.gn)([a({type:Object}),(0,t.w6)("design:type",Object)],Jp.prototype,"data",void 0),(0,t.gn)([a({type:String}),(0,t.w6)("design:type",String)],Jp.prototype,"message",void 0),(0,t.gn)([a({type:Object}),(0,t.w6)("design:type",Object)],Jp.prototype,"detail",void 0),(0,t.gn)([a({type:String}),(0,t.w6)("design:type",String)],Jp.prototype,"redirectTo",void 0),(0,t.gn)([m("#form"),(0,t.w6)("design:type",HTMLFormElement)],Jp.prototype,"formEl",void 0);class Zp extends Jp{submit(){var t=this;return function(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){Xp(o,n,i,a,s,"next",t)}function s(t){Xp(o,n,i,a,s,"throw",t)}a(void 0)}))}}((function*(){t.formEl.submit()}))()}updated(t){super.updated(t),t.has("message")&&(this.message?this.showSnackbar({level:"error",timer:-1}):this.hideSnackbar())}}var tu=class extends Zp{get pageName(){return"sign in"}get actionUrl(){return"/auth/signin"}};tu=(0,t.gn)([e("auth-signin")],tu)})()})();