@foxy.io/elements 1.16.0 → 1.18.0-beta.2

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 (633) hide show
  1. package/dist/cdn/foxy-access-recovery-form.js +1 -1
  2. package/dist/cdn/foxy-address-card.js +3 -85
  3. package/dist/cdn/foxy-address-form.js +1 -1
  4. package/dist/cdn/foxy-api-browser.js +5 -0
  5. package/dist/cdn/foxy-applied-tax-card.js +1 -1
  6. package/dist/cdn/foxy-attribute-card.js +1 -1
  7. package/dist/cdn/foxy-attribute-form.js +1 -1
  8. package/dist/cdn/foxy-cancellation-form.js +1 -1
  9. package/dist/cdn/foxy-collection-page.js +1 -1
  10. package/dist/cdn/foxy-collection-pages.js +1 -1
  11. package/dist/cdn/foxy-copy-to-clipboard.js +1 -0
  12. package/dist/cdn/foxy-coupon-card.js +1 -1
  13. package/dist/cdn/foxy-coupon-code-form.js +1 -1
  14. package/dist/cdn/foxy-coupon-codes-form.js +1 -1
  15. package/dist/cdn/foxy-coupon-detail-card.js +1 -0
  16. package/dist/cdn/foxy-coupon-form.js +1 -1
  17. package/dist/cdn/foxy-custom-field-card.js +1 -1
  18. package/dist/cdn/foxy-custom-field-form.js +1 -1
  19. package/dist/cdn/foxy-customer-api.js +1 -1
  20. package/dist/cdn/foxy-customer-card.js +1 -1
  21. package/dist/cdn/foxy-customer-form.js +1 -1
  22. package/dist/cdn/foxy-customer-portal-settings.js +1 -1
  23. package/dist/cdn/foxy-customer-portal.js +15 -15
  24. package/dist/cdn/foxy-customer.js +6 -6
  25. package/dist/cdn/foxy-customers-table.js +1 -1
  26. package/dist/cdn/foxy-discount-builder.js +1 -0
  27. package/dist/cdn/foxy-discount-card.js +1 -1
  28. package/dist/cdn/foxy-discount-detail-card.js +1 -0
  29. package/dist/cdn/foxy-donation.js +1 -1
  30. package/dist/cdn/foxy-email-template-form.js +1 -1
  31. package/dist/cdn/foxy-error-entry-card.js +1 -1
  32. package/dist/cdn/foxy-form-dialog.js +1 -1
  33. package/dist/cdn/foxy-generate-codes-form.js +1 -1
  34. package/dist/cdn/foxy-gift-card-card.js +1 -1
  35. package/dist/cdn/foxy-gift-card-code-form.js +1 -1
  36. package/dist/cdn/foxy-gift-card-codes-form.js +1 -1
  37. package/dist/cdn/foxy-gift-card-form.js +1 -1
  38. package/dist/cdn/foxy-i18n.js +1 -1
  39. package/dist/cdn/foxy-item-card.js +1 -0
  40. package/dist/cdn/foxy-item-form.js +1 -0
  41. package/dist/cdn/foxy-item-option-card.js +1 -0
  42. package/dist/cdn/foxy-item-option-form.js +1 -0
  43. package/dist/cdn/foxy-items-form.js +1 -1
  44. package/dist/cdn/foxy-nucleon-element.js +1 -1
  45. package/dist/cdn/foxy-pagination.js +1 -1
  46. package/dist/cdn/foxy-payment-card.js +1 -1
  47. package/dist/cdn/foxy-payment-method-card.js +1 -1
  48. package/dist/cdn/foxy-query-builder.js +1 -1
  49. package/dist/cdn/foxy-report-form.js +195 -0
  50. package/dist/cdn/foxy-reports-table.js +41 -0
  51. package/dist/cdn/foxy-shipment-card.js +13 -0
  52. package/dist/cdn/foxy-sign-in-form.js +1 -1
  53. package/dist/cdn/foxy-spinner.js +2 -2
  54. package/dist/cdn/foxy-store-shipping-method-card.js +1 -0
  55. package/dist/cdn/foxy-store-shipping-method-form.js +150 -0
  56. package/dist/cdn/foxy-subscription-card.js +1 -1
  57. package/dist/cdn/foxy-subscription-form.js +4 -4
  58. package/dist/cdn/foxy-subscriptions-table.js +1 -1
  59. package/dist/cdn/foxy-swipe-actions.js +1 -0
  60. package/dist/cdn/foxy-table.js +1 -1
  61. package/dist/cdn/foxy-tax-card.js +1 -1
  62. package/dist/cdn/foxy-tax-form.js +1 -1
  63. package/dist/cdn/foxy-template-config-form.js +1 -1
  64. package/dist/cdn/foxy-template-form.js +1 -1
  65. package/dist/cdn/foxy-transaction-card.js +1 -1
  66. package/dist/cdn/foxy-transaction.js +1 -0
  67. package/dist/cdn/foxy-transactions-table.js +1 -1
  68. package/dist/cdn/foxy-user-form.js +1 -1
  69. package/dist/cdn/foxy-users-table.js +1 -1
  70. package/dist/cdn/foxy-webhook-card.js +1 -0
  71. package/dist/cdn/foxy-webhook-form.js +318 -0
  72. package/dist/cdn/foxy-webhook-log-card.js +1 -0
  73. package/dist/cdn/foxy-webhook-status-card.js +1 -0
  74. package/dist/cdn/shared-0b9c755c.js +1 -0
  75. package/dist/cdn/{shared-218ba06e.js → shared-0eb966c5.js} +1 -1
  76. package/dist/cdn/{shared-65dfd512.js → shared-12f8034b.js} +2 -11
  77. package/dist/cdn/{shared-7f0a9790.js → shared-16d10bca.js} +1 -1
  78. package/dist/cdn/{shared-1a67bc75.js → shared-17331dc5.js} +4 -4
  79. package/dist/cdn/{shared-59e44f29.js → shared-1bbd9b73.js} +1 -1
  80. package/dist/cdn/{shared-07134f93.js → shared-22ba9566.js} +1 -1
  81. package/dist/cdn/shared-29dd9d87.js +1 -0
  82. package/dist/cdn/shared-2b077e01.js +134 -0
  83. package/dist/cdn/shared-2caab7af.js +169 -0
  84. package/dist/cdn/shared-2f186d21.js +1 -0
  85. package/dist/cdn/{shared-548f721a.js → shared-2f19b670.js} +1 -1
  86. package/dist/cdn/shared-30bb4828.js +1 -0
  87. package/dist/cdn/{shared-a040d79d.js → shared-32b15545.js} +1 -1
  88. package/dist/cdn/shared-33b47806.js +29 -0
  89. package/dist/cdn/{shared-0f38a631.js → shared-40689cd2.js} +1 -1
  90. package/dist/cdn/shared-4473f0cf.js +1 -0
  91. package/dist/cdn/shared-48ef8a04.js +1 -0
  92. package/dist/cdn/{shared-f7fbb249.js → shared-4f8fe424.js} +10 -10
  93. package/dist/cdn/{shared-60126eee.js → shared-4fc53390.js} +1 -1
  94. package/dist/cdn/shared-5652560a.js +1 -0
  95. package/dist/cdn/shared-58a35351.js +1 -0
  96. package/dist/cdn/{shared-f4ad24f4.js → shared-59796faa.js} +2 -2
  97. package/dist/cdn/shared-5f411ce2.js +1 -0
  98. package/dist/cdn/shared-6c1aab74.js +1 -0
  99. package/dist/cdn/{shared-ea9f7255.js → shared-6eeb69e7.js} +5 -5
  100. package/dist/cdn/{shared-448781f9.js → shared-75e34b5b.js} +1 -1
  101. package/dist/cdn/shared-7ed7818e.js +1 -0
  102. package/dist/cdn/shared-8166ba00.js +1 -0
  103. package/dist/cdn/{shared-4f424828.js → shared-824f6e03.js} +2 -2
  104. package/dist/cdn/shared-8936b109.js +12 -0
  105. package/dist/cdn/shared-89dce718.js +1 -0
  106. package/dist/cdn/shared-95f4cffd.js +1 -0
  107. package/dist/cdn/{shared-6d45a07b.js → shared-9803aa7c.js} +1 -1
  108. package/dist/cdn/{shared-b0f0e8b5.js → shared-99940888.js} +1 -1
  109. package/dist/cdn/{shared-8f2c9582.js → shared-9f9cdbb0.js} +1 -1
  110. package/dist/cdn/{shared-b710881a.js → shared-a0c6a159.js} +2 -2
  111. package/dist/cdn/shared-a64ead08.js +9 -0
  112. package/dist/cdn/{shared-30dd6de7.js → shared-b52c7edf.js} +14 -19
  113. package/dist/cdn/shared-b772fbb1.js +15 -0
  114. package/dist/cdn/shared-c13674cb.js +201 -0
  115. package/dist/cdn/{shared-fab8c705.js → shared-c5a638d1.js} +10 -10
  116. package/dist/cdn/{shared-5a54a9bc.js → shared-d539ee69.js} +1 -1
  117. package/dist/cdn/shared-d673b138.js +1 -0
  118. package/dist/cdn/shared-d6dd67a5.js +82 -0
  119. package/dist/cdn/shared-d6ed2e5c.js +1 -0
  120. package/dist/cdn/shared-da130124.js +1 -0
  121. package/dist/cdn/{shared-073cb8e9.js → shared-dbdc2a38.js} +1 -1
  122. package/dist/cdn/shared-dc73b9a5.js +159 -0
  123. package/dist/cdn/shared-e06de519.js +1 -0
  124. package/dist/cdn/{shared-9221e6b2.js → shared-e1c1e8e2.js} +1 -1
  125. package/dist/cdn/shared-e25c676a.js +1 -0
  126. package/dist/cdn/shared-e6a7b2f1.js +1 -0
  127. package/dist/cdn/shared-f966bbc3.js +1 -0
  128. package/dist/cdn/shared-f9f9ed5b.js +6 -0
  129. package/dist/cdn/shared-fadcb2e1.js +1 -0
  130. package/dist/cdn/shared-fcdc4903.js +1 -0
  131. package/dist/cdn/{shared-46ee137f.js → shared-fd001fd3.js} +13 -13
  132. package/dist/cdn/translations/api-browser/en.json +31 -0
  133. package/dist/cdn/translations/copy-to-clipboard/en.json +6 -0
  134. package/dist/cdn/translations/coupon-form/en.json +21 -2
  135. package/dist/cdn/translations/discount-builder/en.json +14 -0
  136. package/dist/cdn/translations/gift-card-form/en.json +21 -0
  137. package/dist/cdn/translations/item-card/en.json +9 -0
  138. package/dist/cdn/translations/item-form/en.json +411 -0
  139. package/dist/cdn/translations/item-option-form/en.json +43 -0
  140. package/dist/cdn/translations/report-form/en.json +38 -0
  141. package/dist/cdn/translations/reports-table/en.json +21 -0
  142. package/dist/cdn/translations/shipment-card/en.json +470 -0
  143. package/dist/cdn/translations/store-shipping-method-card/en.json +15 -0
  144. package/dist/cdn/translations/store-shipping-method-form/en.json +83 -0
  145. package/dist/cdn/translations/transaction/en.json +965 -0
  146. package/dist/cdn/translations/webhook-card/en.json +7 -0
  147. package/dist/cdn/translations/webhook-form/en.json +101 -0
  148. package/dist/cdn/translations/webhook-log-card/en.json +8 -0
  149. package/dist/cdn/translations/webhook-status-card/en.json +11 -0
  150. package/dist/elements/index.d.ts +1 -0
  151. package/dist/elements/index.js +2 -0
  152. package/dist/elements/index.js.map +1 -0
  153. package/dist/elements/internal/InternalAsyncComboBoxControl/InternalAsyncComboBoxControl.d.ts +25 -0
  154. package/dist/elements/internal/InternalAsyncComboBoxControl/InternalAsyncComboBoxControl.js +98 -0
  155. package/dist/elements/internal/InternalAsyncComboBoxControl/InternalAsyncComboBoxControl.js.map +1 -0
  156. package/dist/elements/internal/InternalAsyncComboBoxControl/index.d.ts +4 -0
  157. package/dist/elements/internal/InternalAsyncComboBoxControl/index.js +6 -0
  158. package/dist/elements/internal/InternalAsyncComboBoxControl/index.js.map +1 -0
  159. package/dist/elements/internal/InternalAsyncDetailsControl/InternalAsyncDetailsControl.d.ts +31 -0
  160. package/dist/elements/internal/InternalAsyncDetailsControl/InternalAsyncDetailsControl.js +140 -0
  161. package/dist/elements/internal/InternalAsyncDetailsControl/InternalAsyncDetailsControl.js.map +1 -0
  162. package/dist/elements/internal/InternalAsyncDetailsControl/index.d.ts +8 -0
  163. package/dist/elements/internal/InternalAsyncDetailsControl/index.js +10 -0
  164. package/dist/elements/internal/InternalAsyncDetailsControl/index.js.map +1 -0
  165. package/dist/elements/internal/InternalCard/InternalCard.d.ts +21 -0
  166. package/dist/elements/internal/InternalCard/InternalCard.js +53 -0
  167. package/dist/elements/internal/InternalCard/InternalCard.js.map +1 -0
  168. package/dist/elements/internal/InternalCard/index.d.ts +3 -0
  169. package/dist/elements/internal/InternalCard/index.js +5 -0
  170. package/dist/elements/internal/InternalCard/index.js.map +1 -0
  171. package/dist/elements/internal/InternalCheckboxGroupControl/InternalCheckboxGroupControl.d.ts +17 -0
  172. package/dist/elements/internal/InternalCheckboxGroupControl/InternalCheckboxGroupControl.js +51 -0
  173. package/dist/elements/internal/InternalCheckboxGroupControl/InternalCheckboxGroupControl.js.map +1 -0
  174. package/dist/elements/internal/InternalCheckboxGroupControl/index.d.ts +6 -0
  175. package/dist/elements/internal/InternalCheckboxGroupControl/index.js +8 -0
  176. package/dist/elements/internal/InternalCheckboxGroupControl/index.js.map +1 -0
  177. package/dist/elements/internal/InternalCheckboxGroupControl/types.d.ts +6 -0
  178. package/dist/elements/internal/InternalCheckboxGroupControl/types.js +2 -0
  179. package/dist/elements/internal/InternalCheckboxGroupControl/types.js.map +1 -0
  180. package/dist/elements/internal/InternalControl/InternalControl.d.ts +41 -0
  181. package/dist/elements/internal/InternalControl/InternalControl.js +74 -0
  182. package/dist/elements/internal/InternalControl/InternalControl.js.map +1 -0
  183. package/dist/elements/internal/InternalControl/index.d.ts +4 -0
  184. package/dist/elements/internal/InternalControl/index.js +6 -0
  185. package/dist/elements/internal/InternalControl/index.js.map +1 -0
  186. package/dist/elements/internal/InternalCreateControl/InternalCreateControl.d.ts +22 -0
  187. package/dist/elements/internal/InternalCreateControl/InternalCreateControl.js +60 -0
  188. package/dist/elements/internal/InternalCreateControl/InternalCreateControl.js.map +1 -0
  189. package/dist/elements/internal/InternalCreateControl/index.d.ts +5 -0
  190. package/dist/elements/internal/InternalCreateControl/index.js +7 -0
  191. package/dist/elements/internal/InternalCreateControl/index.js.map +1 -0
  192. package/dist/elements/internal/InternalDateControl/InternalDateControl.d.ts +14 -0
  193. package/dist/elements/internal/InternalDateControl/InternalDateControl.js +60 -0
  194. package/dist/elements/internal/InternalDateControl/InternalDateControl.js.map +1 -0
  195. package/dist/elements/internal/InternalDateControl/index.d.ts +4 -0
  196. package/dist/elements/internal/InternalDateControl/index.js +6 -0
  197. package/dist/elements/internal/InternalDateControl/index.js.map +1 -0
  198. package/dist/elements/internal/InternalDeleteControl/InternalDeleteControl.d.ts +15 -0
  199. package/dist/elements/internal/InternalDeleteControl/InternalDeleteControl.js +51 -0
  200. package/dist/elements/internal/InternalDeleteControl/InternalDeleteControl.js.map +1 -0
  201. package/dist/elements/internal/InternalDeleteControl/index.d.ts +6 -0
  202. package/dist/elements/internal/InternalDeleteControl/index.js +8 -0
  203. package/dist/elements/internal/InternalDeleteControl/index.js.map +1 -0
  204. package/dist/elements/internal/InternalDetails/InternalDetails.d.ts +22 -0
  205. package/dist/elements/internal/InternalDetails/InternalDetails.js +71 -0
  206. package/dist/elements/internal/InternalDetails/InternalDetails.js.map +1 -0
  207. package/dist/elements/internal/InternalDetails/index.d.ts +6 -0
  208. package/dist/elements/internal/InternalDetails/index.js +8 -0
  209. package/dist/elements/internal/InternalDetails/index.js.map +1 -0
  210. package/dist/elements/internal/InternalEditableControl/InternalEditableControl.d.ts +79 -0
  211. package/dist/elements/internal/InternalEditableControl/InternalEditableControl.js +155 -0
  212. package/dist/elements/internal/InternalEditableControl/InternalEditableControl.js.map +1 -0
  213. package/dist/elements/internal/InternalEditableControl/index.d.ts +3 -0
  214. package/dist/elements/internal/InternalEditableControl/index.js +5 -0
  215. package/dist/elements/internal/InternalEditableControl/index.js.map +1 -0
  216. package/dist/elements/internal/InternalForm/InternalForm.d.ts +27 -0
  217. package/dist/elements/internal/InternalForm/InternalForm.js +65 -0
  218. package/dist/elements/internal/InternalForm/InternalForm.js.map +1 -0
  219. package/dist/elements/internal/InternalForm/index.d.ts +6 -0
  220. package/dist/elements/internal/InternalForm/index.js +8 -0
  221. package/dist/elements/internal/InternalForm/index.js.map +1 -0
  222. package/dist/elements/internal/InternalFrequencyControl/InternalFrequencyControl.d.ts +14 -0
  223. package/dist/elements/internal/InternalFrequencyControl/InternalFrequencyControl.js +115 -0
  224. package/dist/elements/internal/InternalFrequencyControl/InternalFrequencyControl.js.map +1 -0
  225. package/dist/elements/internal/InternalFrequencyControl/index.d.ts +6 -0
  226. package/dist/elements/internal/InternalFrequencyControl/index.js +8 -0
  227. package/dist/elements/internal/InternalFrequencyControl/index.js.map +1 -0
  228. package/dist/elements/internal/InternalIntegerControl/InternalIntegerControl.d.ts +13 -0
  229. package/dist/elements/internal/InternalIntegerControl/InternalIntegerControl.js +41 -0
  230. package/dist/elements/internal/InternalIntegerControl/InternalIntegerControl.js.map +1 -0
  231. package/dist/elements/internal/InternalIntegerControl/index.d.ts +4 -0
  232. package/dist/elements/internal/InternalIntegerControl/index.js +6 -0
  233. package/dist/elements/internal/InternalIntegerControl/index.js.map +1 -0
  234. package/dist/elements/internal/InternalNumberControl/InternalNumberControl.d.ts +13 -0
  235. package/dist/elements/internal/InternalNumberControl/InternalNumberControl.js +41 -0
  236. package/dist/elements/internal/InternalNumberControl/InternalNumberControl.js.map +1 -0
  237. package/dist/elements/internal/InternalNumberControl/index.d.ts +4 -0
  238. package/dist/elements/internal/InternalNumberControl/index.js +6 -0
  239. package/dist/elements/internal/InternalNumberControl/index.js.map +1 -0
  240. package/dist/elements/internal/InternalRadioGroupControl/InternalRadioGroupControl.d.ts +17 -0
  241. package/dist/elements/internal/InternalRadioGroupControl/InternalRadioGroupControl.js +51 -0
  242. package/dist/elements/internal/InternalRadioGroupControl/InternalRadioGroupControl.js.map +1 -0
  243. package/dist/elements/internal/InternalRadioGroupControl/index.d.ts +6 -0
  244. package/dist/elements/internal/InternalRadioGroupControl/index.js +8 -0
  245. package/dist/elements/internal/InternalRadioGroupControl/index.js.map +1 -0
  246. package/dist/elements/internal/InternalRadioGroupControl/types.d.ts +6 -0
  247. package/dist/elements/internal/InternalRadioGroupControl/types.js +2 -0
  248. package/dist/elements/internal/InternalRadioGroupControl/types.js.map +1 -0
  249. package/dist/elements/internal/InternalTextAreaControl/InternalTextAreaControl.d.ts +13 -0
  250. package/dist/elements/internal/InternalTextAreaControl/InternalTextAreaControl.js +40 -0
  251. package/dist/elements/internal/InternalTextAreaControl/InternalTextAreaControl.js.map +1 -0
  252. package/dist/elements/internal/InternalTextAreaControl/index.d.ts +4 -0
  253. package/dist/elements/internal/InternalTextAreaControl/index.js +6 -0
  254. package/dist/elements/internal/InternalTextAreaControl/index.js.map +1 -0
  255. package/dist/elements/internal/InternalTextControl/InternalTextControl.d.ts +13 -0
  256. package/dist/elements/internal/InternalTextControl/InternalTextControl.js +40 -0
  257. package/dist/elements/internal/InternalTextControl/InternalTextControl.js.map +1 -0
  258. package/dist/elements/internal/InternalTextControl/index.d.ts +4 -0
  259. package/dist/elements/internal/InternalTextControl/index.js +6 -0
  260. package/dist/elements/internal/InternalTextControl/index.js.map +1 -0
  261. package/dist/elements/internal/InternalTimestampsControl/InternalTimestampsControl.d.ts +14 -0
  262. package/dist/elements/internal/InternalTimestampsControl/InternalTimestampsControl.js +57 -0
  263. package/dist/elements/internal/InternalTimestampsControl/InternalTimestampsControl.js.map +1 -0
  264. package/dist/elements/internal/InternalTimestampsControl/index.d.ts +4 -0
  265. package/dist/elements/internal/InternalTimestampsControl/index.js +6 -0
  266. package/dist/elements/internal/InternalTimestampsControl/index.js.map +1 -0
  267. package/dist/elements/private/Dialog/Dialog.d.ts +4 -2
  268. package/dist/elements/private/Dialog/Dialog.js +3 -1
  269. package/dist/elements/private/Dialog/Dialog.js.map +1 -1
  270. package/dist/elements/private/EditableList/EditableList.d.ts +4 -2
  271. package/dist/elements/private/EditableList/EditableList.js +3 -1
  272. package/dist/elements/private/EditableList/EditableList.js.map +1 -1
  273. package/dist/elements/private/FrequencyInput/FrequencyInput.d.ts +3 -1
  274. package/dist/elements/private/FrequencyInput/FrequencyInput.js +2 -1
  275. package/dist/elements/private/FrequencyInput/FrequencyInput.js.map +1 -1
  276. package/dist/elements/public/ApiBrowser/ApiBrowser.d.ts +31 -0
  277. package/dist/elements/public/ApiBrowser/ApiBrowser.js +221 -0
  278. package/dist/elements/public/ApiBrowser/ApiBrowser.js.map +1 -0
  279. package/dist/elements/public/ApiBrowser/index.d.ts +10 -0
  280. package/dist/elements/public/ApiBrowser/index.js +12 -0
  281. package/dist/elements/public/ApiBrowser/index.js.map +1 -0
  282. package/dist/elements/public/ApiBrowser/internal/InternalApiBrowserResourceForm/InternalApiBrowserResourceForm.d.ts +32 -0
  283. package/dist/elements/public/ApiBrowser/internal/InternalApiBrowserResourceForm/InternalApiBrowserResourceForm.js +297 -0
  284. package/dist/elements/public/ApiBrowser/internal/InternalApiBrowserResourceForm/InternalApiBrowserResourceForm.js.map +1 -0
  285. package/dist/elements/public/ApiBrowser/internal/InternalApiBrowserResourceForm/index.d.ts +11 -0
  286. package/dist/elements/public/ApiBrowser/internal/InternalApiBrowserResourceForm/index.js +13 -0
  287. package/dist/elements/public/ApiBrowser/internal/InternalApiBrowserResourceForm/index.js.map +1 -0
  288. package/dist/elements/public/ApiBrowser/types.d.ts +10 -0
  289. package/dist/elements/public/ApiBrowser/types.js +2 -0
  290. package/dist/elements/public/ApiBrowser/types.js.map +1 -0
  291. package/dist/elements/public/CollectionPage/CollectionPage.d.ts +4 -3
  292. package/dist/elements/public/CollectionPage/CollectionPage.js +5 -3
  293. package/dist/elements/public/CollectionPage/CollectionPage.js.map +1 -1
  294. package/dist/elements/public/CollectionPage/types.d.ts +1 -0
  295. package/dist/elements/public/CollectionPage/types.js.map +1 -1
  296. package/dist/elements/public/CollectionPages/CollectionPages.d.ts +4 -2
  297. package/dist/elements/public/CollectionPages/CollectionPages.js +3 -1
  298. package/dist/elements/public/CollectionPages/CollectionPages.js.map +1 -1
  299. package/dist/elements/public/CopyToClipboard/CopyToClipboard.d.ts +22 -0
  300. package/dist/elements/public/CopyToClipboard/CopyToClipboard.js +121 -0
  301. package/dist/elements/public/CopyToClipboard/CopyToClipboard.js.map +1 -0
  302. package/dist/elements/public/CopyToClipboard/index.d.ts +5 -0
  303. package/dist/elements/public/CopyToClipboard/index.js +7 -0
  304. package/dist/elements/public/CopyToClipboard/index.js.map +1 -0
  305. package/dist/elements/public/CouponDetailCard/CouponDetailCard.d.ts +25 -0
  306. package/dist/elements/public/CouponDetailCard/CouponDetailCard.js +58 -0
  307. package/dist/elements/public/CouponDetailCard/CouponDetailCard.js.map +1 -0
  308. package/dist/elements/public/CouponDetailCard/index.d.ts +5 -0
  309. package/dist/elements/public/CouponDetailCard/index.js +7 -0
  310. package/dist/elements/public/CouponDetailCard/index.js.map +1 -0
  311. package/dist/elements/public/CouponDetailCard/types.d.ts +3 -0
  312. package/dist/elements/public/CouponDetailCard/types.js +2 -0
  313. package/dist/elements/public/CouponDetailCard/types.js.map +1 -0
  314. package/dist/elements/public/CouponForm/CouponForm.js +36 -34
  315. package/dist/elements/public/CouponForm/CouponForm.js.map +1 -1
  316. package/dist/elements/public/CouponForm/index.d.ts +1 -0
  317. package/dist/elements/public/CouponForm/index.js +1 -0
  318. package/dist/elements/public/CouponForm/index.js.map +1 -1
  319. package/dist/elements/public/CustomerApi/CustomerApi.d.ts +3 -1
  320. package/dist/elements/public/CustomerApi/CustomerApi.js +2 -1
  321. package/dist/elements/public/CustomerApi/CustomerApi.js.map +1 -1
  322. package/dist/elements/public/CustomerPortal/InternalCustomerPortalChangePassword.d.ts +3 -1
  323. package/dist/elements/public/CustomerPortal/InternalCustomerPortalChangePassword.js +2 -1
  324. package/dist/elements/public/CustomerPortal/InternalCustomerPortalChangePassword.js.map +1 -1
  325. package/dist/elements/public/CustomerPortal/InternalCustomerPortalLoggedInView.js +22 -26
  326. package/dist/elements/public/CustomerPortal/InternalCustomerPortalLoggedInView.js.map +1 -1
  327. package/dist/elements/public/CustomerPortal/InternalCustomerPortalLoggedOutView.d.ts +3 -1
  328. package/dist/elements/public/CustomerPortal/InternalCustomerPortalLoggedOutView.js +2 -1
  329. package/dist/elements/public/CustomerPortal/InternalCustomerPortalLoggedOutView.js.map +1 -1
  330. package/dist/elements/public/CustomerPortal/InternalCustomerPortalSubscriptions.d.ts +3 -1
  331. package/dist/elements/public/CustomerPortal/InternalCustomerPortalSubscriptions.js +2 -1
  332. package/dist/elements/public/CustomerPortal/InternalCustomerPortalSubscriptions.js.map +1 -1
  333. package/dist/elements/public/CustomerPortal/InternalCustomerPortalTransactions.d.ts +3 -1
  334. package/dist/elements/public/CustomerPortal/InternalCustomerPortalTransactions.js +2 -1
  335. package/dist/elements/public/CustomerPortal/InternalCustomerPortalTransactions.js.map +1 -1
  336. package/dist/elements/public/DiscountBuilder/DiscountBuilder.d.ts +40 -0
  337. package/dist/elements/public/DiscountBuilder/DiscountBuilder.js +342 -0
  338. package/dist/elements/public/DiscountBuilder/DiscountBuilder.js.map +1 -0
  339. package/dist/elements/public/DiscountBuilder/index.d.ts +3 -0
  340. package/dist/elements/public/DiscountBuilder/index.js +5 -0
  341. package/dist/elements/public/DiscountBuilder/index.js.map +1 -0
  342. package/dist/elements/public/DiscountBuilder/types.d.ts +32 -0
  343. package/dist/elements/public/DiscountBuilder/types.js +2 -0
  344. package/dist/elements/public/DiscountBuilder/types.js.map +1 -0
  345. package/dist/elements/public/DiscountDetailCard/DiscountDetailCard.d.ts +25 -0
  346. package/dist/elements/public/DiscountDetailCard/DiscountDetailCard.js +58 -0
  347. package/dist/elements/public/DiscountDetailCard/DiscountDetailCard.js.map +1 -0
  348. package/dist/elements/public/DiscountDetailCard/index.d.ts +5 -0
  349. package/dist/elements/public/DiscountDetailCard/index.js +7 -0
  350. package/dist/elements/public/DiscountDetailCard/index.js.map +1 -0
  351. package/dist/elements/public/DiscountDetailCard/types.d.ts +3 -0
  352. package/dist/elements/public/DiscountDetailCard/types.js +2 -0
  353. package/dist/elements/public/DiscountDetailCard/types.js.map +1 -0
  354. package/dist/elements/public/ErrorEntryCard/ErrorEntryCard.js +2 -1
  355. package/dist/elements/public/ErrorEntryCard/ErrorEntryCard.js.map +1 -1
  356. package/dist/elements/public/GiftCardForm/GiftCardForm.js +28 -15
  357. package/dist/elements/public/GiftCardForm/GiftCardForm.js.map +1 -1
  358. package/dist/elements/public/GiftCardForm/index.d.ts +1 -0
  359. package/dist/elements/public/GiftCardForm/index.js +1 -0
  360. package/dist/elements/public/GiftCardForm/index.js.map +1 -1
  361. package/dist/elements/public/I18n/I18n.d.ts +3 -1
  362. package/dist/elements/public/I18n/I18n.js +2 -1
  363. package/dist/elements/public/I18n/I18n.js.map +1 -1
  364. package/dist/elements/public/I18n/format/discount.js +1 -0
  365. package/dist/elements/public/I18n/format/discount.js.map +1 -1
  366. package/dist/elements/public/ItemCard/ItemCard.d.ts +22 -0
  367. package/dist/elements/public/ItemCard/ItemCard.js +151 -0
  368. package/dist/elements/public/ItemCard/ItemCard.js.map +1 -0
  369. package/dist/elements/public/ItemCard/index.d.ts +4 -0
  370. package/dist/elements/public/ItemCard/index.js +6 -0
  371. package/dist/elements/public/ItemCard/index.js.map +1 -0
  372. package/dist/elements/public/ItemCard/types.d.ts +5 -0
  373. package/dist/elements/public/ItemCard/types.js +2 -0
  374. package/dist/elements/public/ItemCard/types.js.map +1 -0
  375. package/dist/elements/public/ItemForm/ItemForm.d.ts +61 -0
  376. package/dist/elements/public/ItemForm/ItemForm.js +138 -0
  377. package/dist/elements/public/ItemForm/ItemForm.js.map +1 -0
  378. package/dist/elements/public/ItemForm/index.d.ts +19 -0
  379. package/dist/elements/public/ItemForm/index.js +21 -0
  380. package/dist/elements/public/ItemForm/index.js.map +1 -0
  381. package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/InternalItemFormCartControl.d.ts +6 -0
  382. package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/InternalItemFormCartControl.js +23 -0
  383. package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/InternalItemFormCartControl.js.map +1 -0
  384. package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/index.d.ts +7 -0
  385. package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/index.js +9 -0
  386. package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/index.js.map +1 -0
  387. package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/InternalItemFormInventoryControl.d.ts +6 -0
  388. package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/InternalItemFormInventoryControl.js +31 -0
  389. package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/InternalItemFormInventoryControl.js.map +1 -0
  390. package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/index.d.ts +6 -0
  391. package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/index.js +8 -0
  392. package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/index.js.map +1 -0
  393. package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/InternalItemFormLineItemDiscountControl.d.ts +6 -0
  394. package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/InternalItemFormLineItemDiscountControl.js +58 -0
  395. package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/InternalItemFormLineItemDiscountControl.js.map +1 -0
  396. package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/index.d.ts +7 -0
  397. package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/index.js +9 -0
  398. package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/index.js.map +1 -0
  399. package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/InternalItemFormShippingControl.d.ts +6 -0
  400. package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/InternalItemFormShippingControl.js +32 -0
  401. package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/InternalItemFormShippingControl.js.map +1 -0
  402. package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/index.d.ts +6 -0
  403. package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/index.js +8 -0
  404. package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/index.js.map +1 -0
  405. package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/InternalItemFormSubscriptionControl.d.ts +6 -0
  406. package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/InternalItemFormSubscriptionControl.js +70 -0
  407. package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/InternalItemFormSubscriptionControl.js.map +1 -0
  408. package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/index.d.ts +9 -0
  409. package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/index.js +11 -0
  410. package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/index.js.map +1 -0
  411. package/dist/elements/public/ItemForm/types.d.ts +3 -0
  412. package/dist/elements/public/ItemForm/types.js +2 -0
  413. package/dist/elements/public/ItemForm/types.js.map +1 -0
  414. package/dist/elements/public/ItemOptionCard/ItemOptionCard.d.ts +25 -0
  415. package/dist/elements/public/ItemOptionCard/ItemOptionCard.js +56 -0
  416. package/dist/elements/public/ItemOptionCard/ItemOptionCard.js.map +1 -0
  417. package/dist/elements/public/ItemOptionCard/index.d.ts +6 -0
  418. package/dist/elements/public/ItemOptionCard/index.js +8 -0
  419. package/dist/elements/public/ItemOptionCard/index.js.map +1 -0
  420. package/dist/elements/public/ItemOptionCard/types.d.ts +11 -0
  421. package/dist/elements/public/ItemOptionCard/types.js +2 -0
  422. package/dist/elements/public/ItemOptionCard/types.js.map +1 -0
  423. package/dist/elements/public/ItemOptionForm/ItemOptionForm.d.ts +30 -0
  424. package/dist/elements/public/ItemOptionForm/ItemOptionForm.js +41 -0
  425. package/dist/elements/public/ItemOptionForm/ItemOptionForm.js.map +1 -0
  426. package/dist/elements/public/ItemOptionForm/index.d.ts +5 -0
  427. package/dist/elements/public/ItemOptionForm/index.js +7 -0
  428. package/dist/elements/public/ItemOptionForm/index.js.map +1 -0
  429. package/dist/elements/public/ItemOptionForm/types.d.ts +3 -0
  430. package/dist/elements/public/ItemOptionForm/types.js +2 -0
  431. package/dist/elements/public/ItemOptionForm/types.js.map +1 -0
  432. package/dist/elements/public/NucleonElement/NucleonElement.d.ts +7 -1
  433. package/dist/elements/public/NucleonElement/NucleonElement.js +13 -1
  434. package/dist/elements/public/NucleonElement/NucleonElement.js.map +1 -1
  435. package/dist/elements/public/Pagination/Pagination.d.ts +3 -1
  436. package/dist/elements/public/Pagination/Pagination.js +3 -2
  437. package/dist/elements/public/Pagination/Pagination.js.map +1 -1
  438. package/dist/elements/public/PaymentCard/PaymentCard.js +1 -1
  439. package/dist/elements/public/PaymentCard/PaymentCard.js.map +1 -1
  440. package/dist/elements/public/QueryBuilder/QueryBuilder.d.ts +3 -1
  441. package/dist/elements/public/QueryBuilder/QueryBuilder.js +2 -1
  442. package/dist/elements/public/QueryBuilder/QueryBuilder.js.map +1 -1
  443. package/dist/elements/public/ReportForm/ReportForm.d.ts +48 -0
  444. package/dist/elements/public/ReportForm/ReportForm.js +391 -0
  445. package/dist/elements/public/ReportForm/ReportForm.js.map +1 -0
  446. package/dist/elements/public/ReportForm/index.d.ts +11 -0
  447. package/dist/elements/public/ReportForm/index.js +13 -0
  448. package/dist/elements/public/ReportForm/index.js.map +1 -0
  449. package/dist/elements/public/ReportForm/types.d.ts +17 -0
  450. package/dist/elements/public/ReportForm/types.js +2 -0
  451. package/dist/elements/public/ReportForm/types.js.map +1 -0
  452. package/dist/elements/public/ReportForm/utils.d.ts +16 -0
  453. package/dist/elements/public/ReportForm/utils.js +73 -0
  454. package/dist/elements/public/ReportForm/utils.js.map +1 -0
  455. package/dist/elements/public/ReportsTable/ReportsTable.d.ts +21 -0
  456. package/dist/elements/public/ReportsTable/ReportsTable.js +101 -0
  457. package/dist/elements/public/ReportsTable/ReportsTable.js.map +1 -0
  458. package/dist/elements/public/ReportsTable/index.d.ts +4 -0
  459. package/dist/elements/public/ReportsTable/index.js +6 -0
  460. package/dist/elements/public/ReportsTable/index.js.map +1 -0
  461. package/dist/elements/public/ReportsTable/types.d.ts +3 -0
  462. package/dist/elements/public/ReportsTable/types.js +2 -0
  463. package/dist/elements/public/ReportsTable/types.js.map +1 -0
  464. package/dist/elements/public/ShipmentCard/ShipmentCard.d.ts +28 -0
  465. package/dist/elements/public/ShipmentCard/ShipmentCard.js +119 -0
  466. package/dist/elements/public/ShipmentCard/ShipmentCard.js.map +1 -0
  467. package/dist/elements/public/ShipmentCard/index.d.ts +8 -0
  468. package/dist/elements/public/ShipmentCard/index.js +10 -0
  469. package/dist/elements/public/ShipmentCard/index.js.map +1 -0
  470. package/dist/elements/public/ShipmentCard/types.d.ts +18 -0
  471. package/dist/elements/public/ShipmentCard/types.js +2 -0
  472. package/dist/elements/public/ShipmentCard/types.js.map +1 -0
  473. package/dist/elements/public/Spinner/Spinner.d.ts +4 -2
  474. package/dist/elements/public/Spinner/Spinner.js +3 -1
  475. package/dist/elements/public/Spinner/Spinner.js.map +1 -1
  476. package/dist/elements/public/StoreShippingMethodCard/StoreShippingMethodCard.d.ts +16 -0
  477. package/dist/elements/public/StoreShippingMethodCard/StoreShippingMethodCard.js +60 -0
  478. package/dist/elements/public/StoreShippingMethodCard/StoreShippingMethodCard.js.map +1 -0
  479. package/dist/elements/public/StoreShippingMethodCard/index.d.ts +6 -0
  480. package/dist/elements/public/StoreShippingMethodCard/index.js +8 -0
  481. package/dist/elements/public/StoreShippingMethodCard/index.js.map +1 -0
  482. package/dist/elements/public/StoreShippingMethodCard/types.d.ts +5 -0
  483. package/dist/elements/public/StoreShippingMethodCard/types.js +2 -0
  484. package/dist/elements/public/StoreShippingMethodCard/types.js.map +1 -0
  485. package/dist/elements/public/StoreShippingMethodForm/StoreShippingMethodForm.d.ts +25 -0
  486. package/dist/elements/public/StoreShippingMethodForm/StoreShippingMethodForm.js +151 -0
  487. package/dist/elements/public/StoreShippingMethodForm/StoreShippingMethodForm.js.map +1 -0
  488. package/dist/elements/public/StoreShippingMethodForm/index.d.ts +11 -0
  489. package/dist/elements/public/StoreShippingMethodForm/index.js +13 -0
  490. package/dist/elements/public/StoreShippingMethodForm/index.js.map +1 -0
  491. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesControl/InternalStoreShippingMethodFormServicesControl.d.ts +5 -0
  492. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesControl/InternalStoreShippingMethodFormServicesControl.js +33 -0
  493. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesControl/InternalStoreShippingMethodFormServicesControl.js.map +1 -0
  494. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesControl/index.d.ts +6 -0
  495. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesControl/index.js +8 -0
  496. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesControl/index.js.map +1 -0
  497. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPage/InternalStoreShippingMethodFormServicesPage.d.ts +19 -0
  498. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPage/InternalStoreShippingMethodFormServicesPage.js +96 -0
  499. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPage/InternalStoreShippingMethodFormServicesPage.js.map +1 -0
  500. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPage/index.d.ts +5 -0
  501. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPage/index.js +7 -0
  502. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPage/index.js.map +1 -0
  503. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItem/InternalStoreShippingMethodFormServicesPageItem.d.ts +17 -0
  504. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItem/InternalStoreShippingMethodFormServicesPageItem.js +45 -0
  505. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItem/InternalStoreShippingMethodFormServicesPageItem.js.map +1 -0
  506. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItem/index.d.ts +3 -0
  507. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItem/index.js +5 -0
  508. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItem/index.js.map +1 -0
  509. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItemContent/InternalStoreShippingMethodFormServicesPageItemContent.d.ts +16 -0
  510. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItemContent/InternalStoreShippingMethodFormServicesPageItemContent.js +49 -0
  511. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItemContent/InternalStoreShippingMethodFormServicesPageItemContent.js.map +1 -0
  512. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItemContent/index.d.ts +3 -0
  513. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItemContent/index.js +5 -0
  514. package/dist/elements/public/StoreShippingMethodForm/internal/InternalStoreShippingMethodFormServicesPageItemContent/index.js.map +1 -0
  515. package/dist/elements/public/StoreShippingMethodForm/types.d.ts +5 -0
  516. package/dist/elements/public/StoreShippingMethodForm/types.js +2 -0
  517. package/dist/elements/public/StoreShippingMethodForm/types.js.map +1 -0
  518. package/dist/elements/public/SwipeActions/SwipeActions.d.ts +28 -0
  519. package/dist/elements/public/SwipeActions/SwipeActions.js +130 -0
  520. package/dist/elements/public/SwipeActions/SwipeActions.js.map +1 -0
  521. package/dist/elements/public/SwipeActions/index.d.ts +2 -0
  522. package/dist/elements/public/SwipeActions/index.js +4 -0
  523. package/dist/elements/public/SwipeActions/index.js.map +1 -0
  524. package/dist/elements/public/Transaction/Transaction.d.ts +19 -0
  525. package/dist/elements/public/Transaction/Transaction.js +107 -0
  526. package/dist/elements/public/Transaction/Transaction.js.map +1 -0
  527. package/dist/elements/public/Transaction/index.d.ts +17 -0
  528. package/dist/elements/public/Transaction/index.js +19 -0
  529. package/dist/elements/public/Transaction/index.js.map +1 -0
  530. package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/InternalTransactionActionsControl.d.ts +9 -0
  531. package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/InternalTransactionActionsControl.js +65 -0
  532. package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/InternalTransactionActionsControl.js.map +1 -0
  533. package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/index.d.ts +4 -0
  534. package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/index.js +6 -0
  535. package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/index.js.map +1 -0
  536. package/dist/elements/public/Transaction/internal/InternalTransactionCustomerControl/InternalTransactionCustomerControl.d.ts +5 -0
  537. package/dist/elements/public/Transaction/internal/InternalTransactionCustomerControl/InternalTransactionCustomerControl.js +36 -0
  538. package/dist/elements/public/Transaction/internal/InternalTransactionCustomerControl/InternalTransactionCustomerControl.js.map +1 -0
  539. package/dist/elements/public/Transaction/internal/InternalTransactionCustomerControl/index.d.ts +7 -0
  540. package/dist/elements/public/Transaction/internal/InternalTransactionCustomerControl/index.js +9 -0
  541. package/dist/elements/public/Transaction/internal/InternalTransactionCustomerControl/index.js.map +1 -0
  542. package/dist/elements/public/Transaction/internal/InternalTransactionPostActionControl/InternalTransactionPostActionControl.d.ts +10 -0
  543. package/dist/elements/public/Transaction/internal/InternalTransactionPostActionControl/InternalTransactionPostActionControl.js +61 -0
  544. package/dist/elements/public/Transaction/internal/InternalTransactionPostActionControl/InternalTransactionPostActionControl.js.map +1 -0
  545. package/dist/elements/public/Transaction/internal/InternalTransactionPostActionControl/index.d.ts +6 -0
  546. package/dist/elements/public/Transaction/internal/InternalTransactionPostActionControl/index.js +8 -0
  547. package/dist/elements/public/Transaction/internal/InternalTransactionPostActionControl/index.js.map +1 -0
  548. package/dist/elements/public/Transaction/internal/InternalTransactionSummaryControl/InternalTransactionSummaryControl.d.ts +8 -0
  549. package/dist/elements/public/Transaction/internal/InternalTransactionSummaryControl/InternalTransactionSummaryControl.js +66 -0
  550. package/dist/elements/public/Transaction/internal/InternalTransactionSummaryControl/InternalTransactionSummaryControl.js.map +1 -0
  551. package/dist/elements/public/Transaction/internal/InternalTransactionSummaryControl/index.d.ts +4 -0
  552. package/dist/elements/public/Transaction/internal/InternalTransactionSummaryControl/index.js +6 -0
  553. package/dist/elements/public/Transaction/internal/InternalTransactionSummaryControl/index.js.map +1 -0
  554. package/dist/elements/public/Transaction/types.d.ts +3 -0
  555. package/dist/elements/public/Transaction/types.js +2 -0
  556. package/dist/elements/public/Transaction/types.js.map +1 -0
  557. package/dist/elements/public/WebhookCard/WebhookCard.d.ts +16 -0
  558. package/dist/elements/public/WebhookCard/WebhookCard.js +36 -0
  559. package/dist/elements/public/WebhookCard/WebhookCard.js.map +1 -0
  560. package/dist/elements/public/WebhookCard/index.d.ts +5 -0
  561. package/dist/elements/public/WebhookCard/index.js +7 -0
  562. package/dist/elements/public/WebhookCard/index.js.map +1 -0
  563. package/dist/elements/public/WebhookCard/types.d.ts +3 -0
  564. package/dist/elements/public/WebhookCard/types.js +2 -0
  565. package/dist/elements/public/WebhookCard/types.js.map +1 -0
  566. package/dist/elements/public/WebhookForm/WebhookForm.d.ts +47 -0
  567. package/dist/elements/public/WebhookForm/WebhookForm.js +101 -0
  568. package/dist/elements/public/WebhookForm/WebhookForm.js.map +1 -0
  569. package/dist/elements/public/WebhookForm/index.d.ts +8 -0
  570. package/dist/elements/public/WebhookForm/index.js +10 -0
  571. package/dist/elements/public/WebhookForm/index.js.map +1 -0
  572. package/dist/elements/public/WebhookForm/types.d.ts +3 -0
  573. package/dist/elements/public/WebhookForm/types.js +2 -0
  574. package/dist/elements/public/WebhookForm/types.js.map +1 -0
  575. package/dist/elements/public/WebhookLogCard/WebhookLogCard.d.ts +16 -0
  576. package/dist/elements/public/WebhookLogCard/WebhookLogCard.js +28 -0
  577. package/dist/elements/public/WebhookLogCard/WebhookLogCard.js.map +1 -0
  578. package/dist/elements/public/WebhookLogCard/index.d.ts +4 -0
  579. package/dist/elements/public/WebhookLogCard/index.js +6 -0
  580. package/dist/elements/public/WebhookLogCard/index.js.map +1 -0
  581. package/dist/elements/public/WebhookLogCard/types.d.ts +3 -0
  582. package/dist/elements/public/WebhookLogCard/types.js +2 -0
  583. package/dist/elements/public/WebhookLogCard/types.js.map +1 -0
  584. package/dist/elements/public/WebhookStatusCard/WebhookStatusCard.d.ts +16 -0
  585. package/dist/elements/public/WebhookStatusCard/WebhookStatusCard.js +41 -0
  586. package/dist/elements/public/WebhookStatusCard/WebhookStatusCard.js.map +1 -0
  587. package/dist/elements/public/WebhookStatusCard/index.d.ts +4 -0
  588. package/dist/elements/public/WebhookStatusCard/index.js +6 -0
  589. package/dist/elements/public/WebhookStatusCard/index.js.map +1 -0
  590. package/dist/elements/public/WebhookStatusCard/types.d.ts +3 -0
  591. package/dist/elements/public/WebhookStatusCard/types.js +2 -0
  592. package/dist/elements/public/WebhookStatusCard/types.js.map +1 -0
  593. package/dist/elements/public/index.d.ts +20 -0
  594. package/dist/elements/public/index.defined.d.ts +20 -0
  595. package/dist/elements/public/index.defined.js +20 -0
  596. package/dist/elements/public/index.defined.js.map +1 -1
  597. package/dist/elements/public/index.js +20 -0
  598. package/dist/elements/public/index.js.map +1 -1
  599. package/dist/mixins/configurable.d.ts +5 -3
  600. package/dist/mixins/configurable.js +40 -4
  601. package/dist/mixins/configurable.js.map +1 -1
  602. package/dist/mixins/inferrable.d.ts +15 -0
  603. package/dist/mixins/inferrable.js +67 -0
  604. package/dist/mixins/inferrable.js.map +1 -0
  605. package/dist/mixins/themeable.js +6848 -13
  606. package/dist/mixins/themeable.js.map +1 -1
  607. package/dist/mixins/translatable.d.ts +3 -1
  608. package/dist/mixins/translatable.js +16 -2
  609. package/dist/mixins/translatable.js.map +1 -1
  610. package/package.json +9 -7
  611. package/dist/cdn/shared-1a91d467.js +0 -1
  612. package/dist/cdn/shared-1de261b3.js +0 -1
  613. package/dist/cdn/shared-21419f10.js +0 -1
  614. package/dist/cdn/shared-39e3ae67.js +0 -1
  615. package/dist/cdn/shared-4f1f4281.js +0 -1
  616. package/dist/cdn/shared-50765afb.js +0 -1
  617. package/dist/cdn/shared-5535f38f.js +0 -15
  618. package/dist/cdn/shared-55481c27.js +0 -1
  619. package/dist/cdn/shared-63eaded9.js +0 -159
  620. package/dist/cdn/shared-6f412a43.js +0 -302
  621. package/dist/cdn/shared-756034e4.js +0 -1
  622. package/dist/cdn/shared-81cd9eac.js +0 -1
  623. package/dist/cdn/shared-87aa97d2.js +0 -1
  624. package/dist/cdn/shared-8b20bc23.js +0 -12
  625. package/dist/cdn/shared-a62e1a93.js +0 -1
  626. package/dist/cdn/shared-ad16479c.js +0 -1
  627. package/dist/cdn/shared-b58b8353.js +0 -1
  628. package/dist/cdn/shared-c64bc1a0.js +0 -1
  629. package/dist/cdn/shared-ce2ac6b4.js +0 -1
  630. package/dist/cdn/shared-db4f299b.js +0 -1
  631. package/dist/cdn/shared-df730f90.js +0 -1
  632. package/dist/cdn/shared-f6e51811.js +0 -1
  633. package/dist/cdn/shared-ff79f3f9.js +0 -230
@@ -0,0 +1,15 @@
1
+ import{S as t,i as e,e as n,f as r,r as i,h as o,j as a,c as s,a as c,g as u,d as l}from"./shared-fadcb2e1.js";class f extends Event{constructor(t,e){super(t,e),this.request=e.request,this.__reject=e.reject,this.__resolve=e.resolve}respondWith(t){this.preventDefault(),this.stopImmediatePropagation(),t.then(this.__resolve).catch(this.__reject)}}
2
+ /*! *****************************************************************************
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
15
+ ***************************************************************************** */var h=function(){return h=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},h.apply(this,arguments)};function p(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function d(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function y(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(v(arguments[e]));return t}var g={};function _(t){return Object.keys(t)}function b(t,e,n){void 0===n&&(n=".");var r=x(t,n),i=x(e,n);return $(i)?!!$(r)&&i===r:$(r)?r in i:_(r).every((function(t){return t in i&&b(r[t],i[t])}))}function m(t){try{return $(t)||"number"==typeof t?""+t:t.type}catch(t){throw new Error("Events must be strings or objects with a string event.type property.")}}function w(t,e){try{return L(t)?t:t.toString().split(e)}catch(e){throw new Error("'"+t+"' is not a valid state path.")}}function x(t,e){return"object"==typeof(n=t)&&"value"in n&&"context"in n&&"event"in n&&"_event"in n?t.value:L(t)?j(t):"string"!=typeof t?t:j(w(t,e));var n}function j(t){if(1===t.length)return t[0];for(var e={},n=e,r=0;r<t.length-1;r++)r===t.length-2?n[t[r]]=t[r+1]:(n[t[r]]={},n=n[t[r]]);return e}function S(t,e){for(var n={},r=_(t),i=0;i<r.length;i++){var o=r[i];n[o]=e(t[o],o,t,i)}return n}function O(t,e,n){var r,i,o={};try{for(var a=d(_(t)),s=a.next();!s.done;s=a.next()){var c=s.value,u=t[c];n(u)&&(o[c]=e(u,c,t))}}catch(t){r={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return o}var E=function(t){return function(e){var n,r,i=e;try{for(var o=d(t),a=o.next();!a.done;a=o.next()){i=i[a.value]}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}};function k(t){return t?$(t)?[[t]]:A(_(t).map((function(e){var n=t[e];return"string"==typeof n||n&&Object.keys(n).length?k(t[e]).map((function(t){return[e].concat(t)})):[[e]]}))):[[]]}function A(t){var e;return(e=[]).concat.apply(e,y(t))}function P(t){return L(t)?t:[t]}function T(t){return void 0===t?[]:P(t)}function R(t,e,n){var r,i;if(C(t))return t(e,n.data);var o={};try{for(var a=d(Object.keys(t)),s=a.next();!s.done;s=a.next()){var c=s.value,u=t[c];C(u)?o[c]=u(e,n.data):o[c]=u}}catch(t){r={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return o}function N(t){return t instanceof Promise||!(null===t||!C(t)&&"object"!=typeof t||!C(t.then))}function D(t,e){var n,r,i=v([[],[]],2),o=i[0],a=i[1];try{for(var s=d(t),c=s.next();!c.done;c=s.next()){var u=c.value;e(u)?o.push(u):a.push(u)}}catch(t){n={error:t}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return[o,a]}function I(t,e){return S(t.states,(function(t,n){if(t){var r=($(e)?void 0:e[n])||(t?t.current:void 0);if(r)return{current:r,states:I(t,r)}}}))}function L(t){return Array.isArray(t)}function C(t){return"function"==typeof t}function $(t){return"string"==typeof t}function z(t,e){if(t)return $(t)?{type:"xstate.guard",name:t,predicate:e?e[t]:void 0}:C(t)?{type:"xstate.guard",name:t.name,predicate:t}:t}function F(t){try{return"subscribe"in t&&C(t.subscribe)}catch(t){return!1}}var V,M,U=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function W(t){try{return"__xstatenode"in t}catch(t){return!1}}function B(t){return!!t&&"function"==typeof t.send}function q(t,e){return $(t)||"number"==typeof t?h({type:t},e):t}function H(t,e){if(!$(t)&&"$$type"in t&&"scxml"===t.$$type)return t;var n=q(t);return h({name:n.type,data:n,$$type:"scxml",type:"external"},e)}function J(t,e){return P(e).map((function(e){return void 0===e||"string"==typeof e||W(e)?{target:e,event:t}:h(h({},e),{event:t})}))}function G(t,e,n,r,i){var o=t.options.guards,a={state:i,cond:e,_event:r};if("xstate.guard"===e.type)return e.predicate(n,r.data,a);var s=o[e.type];if(!s)throw new Error("Guard '"+e.type+"' is not implemented on machine '"+t.id+"'.");return s(n,r.data,a)}function Z(t){return"string"==typeof t?{type:t}:t}function K(t,e,n){if("object"==typeof t)return t;var r=function(){};return{next:t,error:e||r,complete:n||r}}!function(t){t.Start="xstate.start",t.Stop="xstate.stop",t.Raise="xstate.raise",t.Send="xstate.send",t.Cancel="xstate.cancel",t.NullEvent="",t.Assign="xstate.assign",t.After="xstate.after",t.DoneState="done.state",t.DoneInvoke="done.invoke",t.Log="xstate.log",t.Init="xstate.init",t.Invoke="xstate.invoke",t.ErrorExecution="error.execution",t.ErrorCommunication="error.communication",t.ErrorPlatform="error.platform",t.ErrorCustom="xstate.error",t.Update="xstate.update",t.Pure="xstate.pure",t.Choose="xstate.choose"}(V||(V={})),function(t){t.Parent="#_parent",t.Internal="#_internal"}(M||(M={}));var Q=V.Start,X=V.Stop,Y=V.Raise,tt=V.Send,et=V.Cancel,nt=V.NullEvent,rt=V.Assign;V.After,V.DoneState;var it=V.Log,ot=V.Init,at=V.Invoke;V.ErrorExecution;var st=V.ErrorPlatform,ct=V.ErrorCustom,ut=V.Update,lt=V.Choose,ft=V.Pure,ht=H({type:ot});function pt(t,e){return e&&e[t]||void 0}function dt(t,e){var n;if($(t)||"number"==typeof t){var r=pt(t,e);n=C(r)?{type:t,exec:r}:r||{type:t,exec:void 0}}else if(C(t))n={type:t.name||t.toString(),exec:t};else{if(C(r=pt(t.type,e)))n=h(h({},t),{exec:r});else if(r){var i=r.type||t.type;n=h(h(h({},r),t),{type:i})}else n=t}return Object.defineProperty(n,"toString",{value:function(){return n.type},enumerable:!1,configurable:!0}),n}var vt=function(t,e){return t?(L(t)?t:[t]).map((function(t){return dt(t,e)})):[]};function yt(t){var e=dt(t);return h(h({id:$(t)?t:e.id},e),{type:e.type})}function gt(t){return $(t)?{type:Y,event:t}:_t(t,{to:M.Internal})}function _t(t,e){return{to:e?e.to:void 0,type:tt,event:C(t)?t:q(t),delay:e?e.delay:void 0,id:e&&void 0!==e.id?e.id:C(t)?t.name:m(t)}}function bt(t,e){return _t(t,h(h({},e),{to:M.Parent}))}function mt(){return bt(ut)}function wt(t,e){return _t(t,h(h({},e),{to:function(t,e,n){return n._event.origin}}))}var xt=function(t,e){return{context:t,event:e}};function jt(t,e){return void 0===t&&(t=xt),{type:it,label:e,expr:t}}var St=function(t){return{type:et,sendId:t}};function Ot(t){var e=yt(t);return{type:V.Start,activity:e,exec:void 0}}function Et(t){var e=C(t)?t:yt(t);return{type:V.Stop,activity:e,exec:void 0}}var kt=function(t){return{type:rt,assignment:t}};function At(t,e){var n=e?"#"+e:"";return V.After+"("+t+")"+n}function Pt(t,e){var n=V.DoneState+"."+t,r={type:n,data:e,toString:function(){return n}};return r}function Tt(t,e){var n=V.DoneInvoke+"."+t,r={type:n,data:e,toString:function(){return n}};return r}function Rt(t,e){var n=V.ErrorPlatform+"."+t,r={type:n,data:e,toString:function(){return n}};return r}function Nt(t){return{type:V.Pure,get:t}}function Dt(t,e){return _t((function(t,e){return e}),h(h({},e),{to:t}))}function It(t,e){return bt((function(e,n,r){return{type:ct,data:C(t)?t(e,n,r):t}}),h(h({},e),{to:M.Parent}))}function Lt(t){return{type:V.Choose,conds:t}}function Ct(t,e,n,r,i){var o=v(D(i,(function(t){return t.type===rt})),2),a=o[0],s=o[1],c=a.length?function(t,e,n,r){return t?n.reduce((function(t,n){var i,o,a=n.assignment,s={state:r,action:n,_event:e},c={};if(C(a))c=a(t,e.data,s);else try{for(var u=d(_(a)),l=u.next();!l.done;l=u.next()){var f=l.value,h=a[f];c[f]=C(h)?h(t,e.data,s):h}}catch(t){i={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return Object.assign({},t,c)}),t):t}(n,r,a,e):n,u=A(s.map((function(n){var i;switch(n.type){case Y:return{type:Y,_event:H(n.event)};case tt:var o=function(t,e,n,r){var i,o={_event:n},a=H(C(t.event)?t.event(e,n.data,o):t.event);if($(t.delay)){var s=r&&r[t.delay];i=C(s)?s(e,n.data,o):s}else i=C(t.delay)?t.delay(e,n.data,o):t.delay;var c=C(t.to)?t.to(e,n.data,o):t.to;return h(h({},t),{to:c,_event:a,event:a.data,delay:i})}(n,c,r,t.options.delays);return o;case it:return function(t,e,n){return h(h({},t),{value:$(t.expr)?t.expr:t.expr(e,n.data,{_event:n})})}(n,c,r);case lt:if(!(s=null===(i=n.conds.find((function(n){var i=z(n.cond,t.options.guards);return!i||G(t,i,c,r,e)})))||void 0===i?void 0:i.actions))return[];var a=Ct(t,e,c,r,vt(T(s),t.options.actions));return c=a[1],a[0];case ft:var s;if(!(s=n.get(c,r.data)))return[];a=Ct(t,e,c,r,vt(T(s),t.options.actions));return c=a[1],a[0];case X:return function(t,e,n){var r=C(t.activity)?t.activity(e,n.data):t.activity,i="string"==typeof r?{id:r}:r;return{type:V.Stop,activity:i}}(n,c,r);default:return dt(n,t.options.actions)}})));return[u,c]}var $t=function(t){return"atomic"===t.type||"final"===t.type};function zt(t){return _(t.states).map((function(e){return t.states[e]}))}function Ft(t){var e=[t];return $t(t)?e:e.concat(A(zt(t).map(Ft)))}function Vt(t,e){var n,r,i,o,a,s,c,u,l=Ut(new Set(t)),f=new Set(e);try{for(var h=d(f),p=h.next();!p.done;p=h.next())for(var v=(S=p.value).parent;v&&!f.has(v);)f.add(v),v=v.parent}catch(t){n={error:t}}finally{try{p&&!p.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}var y=Ut(f);try{for(var g=d(f),_=g.next();!_.done;_=g.next()){if("compound"!==(S=_.value).type||y.get(S)&&y.get(S).length){if("parallel"===S.type)try{for(var b=(a=void 0,d(zt(S))),m=b.next();!m.done;m=b.next()){var w=m.value;"history"!==w.type&&(f.has(w)||(f.add(w),l.get(w)?l.get(w).forEach((function(t){return f.add(t)})):w.initialStateNodes.forEach((function(t){return f.add(t)}))))}}catch(t){a={error:t}}finally{try{m&&!m.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}}else l.get(S)?l.get(S).forEach((function(t){return f.add(t)})):S.initialStateNodes.forEach((function(t){return f.add(t)}))}}catch(t){i={error:t}}finally{try{_&&!_.done&&(o=g.return)&&o.call(g)}finally{if(i)throw i.error}}try{for(var x=d(f),j=x.next();!j.done;j=x.next()){var S;for(v=(S=j.value).parent;v&&!f.has(v);)f.add(v),v=v.parent}}catch(t){c={error:t}}finally{try{j&&!j.done&&(u=x.return)&&u.call(x)}finally{if(c)throw c.error}}return f}function Mt(t,e){var n=e.get(t);if(!n)return{};if("compound"===t.type){var r=n[0];if(!r)return{};if($t(r))return r.key}var i={};return n.forEach((function(t){i[t.key]=Mt(t,e)})),i}function Ut(t){var e,n,r=new Map;try{for(var i=d(t),o=i.next();!o.done;o=i.next()){var a=o.value;r.has(a)||r.set(a,[]),a.parent&&(r.has(a.parent)||r.set(a.parent,[]),r.get(a.parent).push(a))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r}function Wt(t,e){return Mt(t,Ut(Vt([t],e)))}function Bt(t,e){return Array.isArray(t)?t.some((function(t){return t===e})):t instanceof Set&&t.has(e)}function qt(t,e){return"compound"===e.type?zt(e).some((function(e){return"final"===e.type&&Bt(t,e)})):"parallel"===e.type&&zt(e).every((function(e){return qt(t,e)}))}function Ht(t,e){if(t===e)return!0;if(void 0===t||void 0===e)return!1;if($(t)||$(e))return t===e;var n=_(t),r=_(e);return n.length===r.length&&n.every((function(n){return Ht(t[n],e[n])}))}function Jt(t){return!$(t)&&("value"in t&&"history"in t)}function Gt(t,e){var n=t.exec;return h(h({},t),{exec:void 0!==n?function(){return n(e.context,e.event,{action:t,state:e,_event:e._event})}:void 0})}var Zt=function(){function t(t){var e=this;this.actions=[],this.activities=g,this.meta={},this.events=[],this.value=t.value,this.context=t.context,this._event=t._event,this._sessionid=t._sessionid,this.event=this._event.data,this.historyValue=t.historyValue,this.history=t.history,this.actions=t.actions||[],this.activities=t.activities||g,this.meta=t.meta||{},this.events=t.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=t.configuration,this.transitions=t.transitions,this.children=t.children,this.done=!!t.done,Object.defineProperty(this,"nextEvents",{get:function(){return t=e.configuration,A(y(new Set(t.map((function(t){return t.ownEvents})))));var t}})}return t.from=function(e,n){return e instanceof t?e.context!==n?new t({value:e.value,context:n,_event:e._event,_sessionid:null,historyValue:e.historyValue,history:e.history,actions:[],activities:e.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):e:new t({value:e,context:n,_event:ht,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},t.create=function(e){return new t(e)},t.inert=function(e,n){if(e instanceof t){if(!e.actions.length)return e;var r=ht;return new t({value:e.value,context:n,_event:r,_sessionid:null,historyValue:e.historyValue,history:e.history,activities:e.activities,configuration:e.configuration,transitions:[],children:{}})}return t.from(e,n)},t.prototype.toStrings=function(t,e){var n=this;if(void 0===t&&(t=this.value),void 0===e&&(e="."),$(t))return[t];var r=_(t);return r.concat.apply(r,y(r.map((function(r){return n.toStrings(t[r],e).map((function(t){return r+e+t}))}))))},t.prototype.toJSON=function(){var t=this;return t.configuration,t.transitions,p(t,["configuration","transitions"])},t.prototype.matches=function(t){return b(t,this.value)},t}(),Kt=function(t,e){return e(t)};function Qt(t){return{id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},toJSON:function(){return{id:t}}}}function Xt(t,e,n,r){var i,o=Z(t.src),a=null===(i=null==e?void 0:e.options.services)||void 0===i?void 0:i[o.type],s=t.data?R(t.data,n,r):void 0,c=a?function(t,e,n){var r=Qt(e);r.deferred=!0,W(t)&&(r.state=Kt(void 0,(function(){return(n?t.withContext(n):t).initialState})));return r}(a,t.id,s):Qt(t.id);return c.meta=t,c}function Yt(t){return function(t){try{return"function"==typeof t.send}catch(t){return!1}}(t)&&"id"in t}function te(t){if("string"==typeof t){var e={type:t,toString:function(){return t}};return e}return t}function ee(t){return h(h({type:at},t),{toJSON:function(){t.onDone,t.onError;var e=p(t,["onDone","onError"]);return h(h({},e),{type:at,src:te(t.src)})}})}var ne={},re=function(t){return"#"===t[0]},ie=function(){function t(e,n,r){var i=this;this.config=e,this.context=r,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.options=Object.assign({actions:{},guards:{},services:{},activities:{},delays:{}},n),this.parent=this.options._parent,this.key=this.config.key||this.options._key||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:"."),this.id=this.config.id||y([this.machine.key],this.path).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&_(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.initial=this.config.initial,this.states=this.config.states?S(this.config.states,(function(e,n){var r,o=new t(e,{_parent:i,_key:n});return Object.assign(i.idMap,h(((r={})[o.id]=o,r),o.idMap)),o})):ne;var o=0;!function t(e){var n,r;e.order=o++;try{for(var i=d(zt(e)),a=i.next();!a.done;a=i.next()){t(a.value)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}(this),this.history=!0===this.config.history?"shallow":this.config.history||!1,this._transient=!!this.config.always||!!this.config.on&&(Array.isArray(this.config.on)?this.config.on.some((function(t){return""===t.event})):""in this.config.on),this.strict=!!this.config.strict,this.onEntry=T(this.config.entry||this.config.onEntry).map((function(t){return dt(t)})),this.onExit=T(this.config.exit||this.config.onExit).map((function(t){return dt(t)})),this.meta=this.config.meta,this.doneData="final"===this.type?this.config.data:void 0,this.invoke=T(this.config.invoke).map((function(t,e){var n,r;if(W(t))return i.machine.options.services=h(((n={})[t.id]=t,n),i.machine.options.services),ee({src:t.id,id:t.id});if($(t.src))return ee(h(h({},t),{id:t.id||t.src,src:t.src}));if(W(t.src)||C(t.src)){var o=i.id+":invocation["+e+"]";return i.machine.options.services=h(((r={})[o]=t.src,r),i.machine.options.services),ee(h(h({id:o},t),{src:o}))}var a=t.src;return ee(h(h({id:a.type},t),{src:a}))})),this.activities=T(this.config.activities).concat(this.invoke).map((function(t){return yt(t)})),this.transition=this.transition.bind(this)}return t.prototype._init=function(){this.__cache.transitions||Ft(this).forEach((function(t){return t.on}))},t.prototype.withConfig=function(e,n){void 0===n&&(n=this.context);var r=this.options,i=r.actions,o=r.activities,a=r.guards,s=r.services,c=r.delays;return new t(this.config,{actions:h(h({},i),e.actions),activities:h(h({},o),e.activities),guards:h(h({},a),e.guards),services:h(h({},s),e.services),delays:h(h({},c),e.delays)},n)},t.prototype.withContext=function(e){return new t(this.config,this.options,e)},Object.defineProperty(t.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:S(this.states,(function(t){return t.definition})),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke}},enumerable:!1,configurable:!0}),t.prototype.toJSON=function(){return this.definition},Object.defineProperty(t.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var t=this.transitions;return this.__cache.on=t.reduce((function(t,e){return t[e.eventType]=t[e.eventType]||[],t[e.eventType].push(e),t}),{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),t.prototype.getCandidates=function(t){if(this.__cache.candidates[t])return this.__cache.candidates[t];var e=""===t,n=this.transitions.filter((function(n){var r=n.eventType===t;return e?r:r||"*"===n.eventType}));return this.__cache.candidates[t]=n,n},t.prototype.getDelayedTransitions=function(){var t=this,e=this.config.after;if(!e)return[];var n=function(e,n){var r=At(C(e)?t.id+":delay["+n+"]":e,t.id);return t.onEntry.push(_t(r,{delay:e})),t.onExit.push(St(r)),r};return(L(e)?e.map((function(t,e){var r=n(t.delay,e);return h(h({},t),{event:r})})):A(_(e).map((function(t,r){var i=e[t],o=$(i)?{target:i}:i,a=isNaN(+t)?t:+t,s=n(a,r);return T(o).map((function(t){return h(h({},t),{event:s,delay:a})}))})))).map((function(e){var n=e.delay;return h(h({},t.formatTransition(e)),{delay:n})}))},t.prototype.getStateNodes=function(t){var e,n=this;if(!t)return[];var r=t instanceof Zt?t.value:x(t,this.delimiter);if($(r)){var i=this.getStateNode(r).initial;return void 0!==i?this.getStateNodes(((e={})[r]=i,e)):[this.states[r]]}var o=_(r);return o.map((function(t){return n.getStateNode(t)})).concat(o.reduce((function(t,e){var i=n.getStateNode(e).getStateNodes(r[e]);return t.concat(i)}),[]))},t.prototype.handles=function(t){var e=m(t);return this.events.includes(e)},t.prototype.resolveState=function(t){var e=Array.from(Vt([],this.getStateNodes(t.value)));return new Zt(h(h({},t),{value:this.resolve(t.value),configuration:e,done:qt(e,this)}))},t.prototype.transitionLeafNode=function(t,e,n){var r=this.getStateNode(t).next(e,n);return r&&r.transitions.length?r:this.next(e,n)},t.prototype.transitionCompoundNode=function(t,e,n){var r=_(t),i=this.getStateNode(r[0])._transition(t[r[0]],e,n);return i&&i.transitions.length?i:this.next(e,n)},t.prototype.transitionParallelNode=function(t,e,n){var r,i,o={};try{for(var a=d(_(t)),s=a.next();!s.done;s=a.next()){var c=s.value,u=t[c];if(u){var l=this.getStateNode(c)._transition(u,e,n);l&&(o[c]=l)}}}catch(t){r={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}var f=_(o).map((function(t){return o[t]})),h=A(f.map((function(t){return t.transitions})));if(!f.some((function(t){return t.transitions.length>0})))return this.next(e,n);var p=A(f.map((function(t){return t.entrySet}))),v=A(_(o).map((function(t){return o[t].configuration})));return{transitions:h,entrySet:p,exitSet:A(f.map((function(t){return t.exitSet}))),configuration:v,source:e,actions:A(_(o).map((function(t){return o[t].actions})))}},t.prototype._transition=function(t,e,n){return $(t)?this.transitionLeafNode(t,e,n):1===_(t).length?this.transitionCompoundNode(t,e,n):this.transitionParallelNode(t,e,n)},t.prototype.next=function(t,e){var n,r,i,o=this,a=e.name,s=[],c=[];try{for(var u=d(this.getCandidates(a)),l=u.next();!l.done;l=u.next()){var f=l.value,h=f.cond,p=f.in,v=t.context,g=!p||($(p)&&re(p)?t.matches(x(this.getStateNodeById(p).path,this.delimiter)):b(x(p,this.delimiter),E(this.path.slice(0,-2))(t.value))),_=!1;try{_=!h||G(this.machine,h,v,e,t)}catch(t){throw new Error("Unable to evaluate guard '"+(h.name||h.type)+"' in transition for event '"+a+"' in state node '"+this.id+"':\n"+t.message)}if(_&&g){void 0!==f.target&&(c=f.target),s.push.apply(s,y(f.actions)),i=f;break}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}if(i){if(!c.length)return{transitions:[i],entrySet:[],exitSet:[],configuration:t.value?[this]:[],source:t,actions:s};var m=A(c.map((function(e){return o.getRelativeStateNodes(e,t.historyValue)}))),w=!!i.internal;return{transitions:[i],entrySet:w?[]:A(m.map((function(t){return o.nodesFromChild(t)}))),exitSet:w?[]:[this],configuration:m,source:t,actions:s}}},t.prototype.nodesFromChild=function(t){if(t.escapes(this))return[];for(var e=[],n=t;n&&n!==this;)e.push(n),n=n.parent;return e.push(this),e},t.prototype.escapes=function(t){if(this===t)return!1;for(var e=this.parent;e;){if(e===t)return!1;e=e.parent}return!0},t.prototype.getActions=function(t,e,n,r){var i,o,a,s,c=Vt([],r?this.getStateNodes(r.value):[this]),u=t.configuration.length?Vt(c,t.configuration):c;try{for(var l=d(u),f=l.next();!f.done;f=l.next()){Bt(c,g=f.value)||t.entrySet.push(g)}}catch(t){i={error:t}}finally{try{f&&!f.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}try{for(var h=d(c),p=h.next();!p.done;p=h.next()){var g;Bt(u,g=p.value)&&!Bt(t.exitSet,g.parent)||t.exitSet.push(g)}}catch(t){a={error:t}}finally{try{p&&!p.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}t.source||(t.exitSet=[],t.entrySet.push(this));var _=A(t.entrySet.map((function(r){var i=[];if("final"!==r.type)return i;var o=r.parent;if(!o.parent)return i;i.push(Pt(r.id,r.doneData),Pt(o.id,r.doneData?R(r.doneData,e,n):void 0));var a=o.parent;return"parallel"===a.type&&zt(a).every((function(e){return qt(t.configuration,e)}))&&i.push(Pt(a.id)),i})));t.exitSet.sort((function(t,e){return e.order-t.order})),t.entrySet.sort((function(t,e){return t.order-e.order}));var b=new Set(t.entrySet),m=new Set(t.exitSet),w=v([A(Array.from(b).map((function(t){return y(t.activities.map((function(t){return Ot(t)})),t.onEntry)}))).concat(_.map(gt)),A(Array.from(m).map((function(t){return y(t.onExit,t.activities.map((function(t){return Et(t)})))})))],2),x=w[0],j=w[1];return vt(j.concat(t.actions).concat(x),this.machine.options.actions)},t.prototype.transition=function(t,e,n){void 0===t&&(t=this.initialState);var r,i,o=H(e);if(t instanceof Zt)r=void 0===n?t:this.resolveState(Zt.from(t,n));else{var a=$(t)?this.resolve(j(this.getResolvedPath(t))):this.resolve(t),s=n||this.machine.context;r=this.resolveState(Zt.from(a,s))}if(this.strict&&!this.events.includes(o.name)&&(i=o.name,!/^(done|error)\./.test(i)))throw new Error("Machine '"+this.id+"' does not accept event '"+o.name+"'");var c=this._transition(r.value,r,o)||{transitions:[],configuration:[],entrySet:[],exitSet:[],source:r,actions:[]},u=Vt([],this.getStateNodes(r.value)),l=c.configuration.length?Vt(u,c.configuration):u;return c.configuration=y(l),this.resolveTransition(c,r,o)},t.prototype.resolveRaisedTransition=function(t,e,n){var r,i=t.actions;return(t=this.transition(t,e))._event=n,t.event=n.data,(r=t.actions).unshift.apply(r,y(i)),t},t.prototype.resolveTransition=function(t,e,n,r){var i,o,a=this;void 0===n&&(n=ht),void 0===r&&(r=this.machine.context);var s=t.configuration,c=!e||t.transitions.length>0?Wt(this.machine,s):void 0,u=e?e.historyValue?e.historyValue:t.source?this.machine.historyValue(e.value):void 0:void 0,l=e?e.context:r,f=this.getActions(t,l,n,e),p=e?h({},e.activities):{};try{for(var y=d(f),g=y.next();!g.done;g=y.next()){var _=g.value;_.type===Q?p[_.activity.id||_.activity.type]=_:_.type===X&&(p[_.activity.id||_.activity.type]=!1)}}catch(t){i={error:t}}finally{try{g&&!g.done&&(o=y.return)&&o.call(y)}finally{if(i)throw i.error}}var b,m,w=v(Ct(this,e,l,n,f),2),x=w[0],j=w[1],S=v(D(x,(function(t){return t.type===Y||t.type===tt&&t.to===M.Internal})),2),O=S[0],E=S[1],k=x.filter((function(t){var e;return t.type===Q&&(null===(e=t.activity)||void 0===e?void 0:e.type)===at})),A=k.reduce((function(t,e){return t[e.activity.id]=Xt(e.activity,a.machine,j,n),t}),e?h({},e.children):{}),P=c?t.configuration:e?e.configuration:[],T=P.reduce((function(t,e){return void 0!==e.meta&&(t[e.id]=e.meta),t}),{}),R=qt(P,this),N=new Zt({value:c||e.value,context:j,_event:n,_sessionid:e?e._sessionid:null,historyValue:c?u?(b=u,m=c,{current:m,states:I(b,m)}):void 0:e?e.historyValue:void 0,history:!c||t.source?e:void 0,actions:c?E:[],activities:c?p:e?e.activities:{},meta:c?T:e?e.meta:void 0,events:[],configuration:P,transitions:t.transitions,children:A,done:R}),L=l!==j;N.changed=n.name===ut||L;var C=N.history;if(C&&delete C.history,!c)return N;var $=N;if(!R)for((this._transient||s.some((function(t){return t._transient})))&&($=this.resolveRaisedTransition($,{type:nt},n));O.length;){var z=O.shift();$=this.resolveRaisedTransition($,z._event,n)}var F=$.changed||(C?!!$.actions.length||L||typeof C.value!=typeof $.value||!Ht($.value,C.value):void 0);return $.changed=F,$.history=C,$},t.prototype.getStateNode=function(t){if(re(t))return this.machine.getStateNodeById(t);if(!this.states)throw new Error("Unable to retrieve child state '"+t+"' from '"+this.id+"'; no child states exist.");var e=this.states[t];if(!e)throw new Error("Child state '"+t+"' does not exist on '"+this.id+"'");return e},t.prototype.getStateNodeById=function(t){var e=re(t)?t.slice("#".length):t;if(e===this.id)return this;var n=this.machine.idMap[e];if(!n)throw new Error("Child state node '#"+e+"' does not exist on machine '"+this.id+"'");return n},t.prototype.getStateNodeByPath=function(t){if("string"==typeof t&&re(t))try{return this.getStateNodeById(t.slice(1))}catch(t){}for(var e=w(t,this.delimiter).slice(),n=this;e.length;){var r=e.shift();if(!r.length)break;n=n.getStateNode(r)}return n},t.prototype.resolve=function(t){var e,n=this;if(!t)return this.initialStateValue||ne;switch(this.type){case"parallel":return S(this.initialStateValue,(function(e,r){return e?n.getStateNode(r).resolve(t[r]||e):ne}));case"compound":if($(t)){var r=this.getStateNode(t);return"parallel"===r.type||"compound"===r.type?((e={})[t]=r.initialStateValue,e):t}return _(t).length?S(t,(function(t,e){return t?n.getStateNode(e).resolve(t):ne})):this.initialStateValue||{};default:return t||ne}},t.prototype.getResolvedPath=function(t){if(re(t)){var e=this.machine.idMap[t.slice("#".length)];if(!e)throw new Error("Unable to find state node '"+t+"'");return e.path}return w(t,this.delimiter)},Object.defineProperty(t.prototype,"initialStateValue",{get:function(){var t,e;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;if("parallel"===this.type)e=O(this.states,(function(t){return t.initialStateValue||ne}),(function(t){return!("history"===t.type)}));else if(void 0!==this.initial){if(!this.states[this.initial])throw new Error("Initial state '"+this.initial+"' not found on '"+this.key+"'");e=$t(this.states[this.initial])?this.initial:((t={})[this.initial]=this.states[this.initial].initialStateValue,t)}return this.__cache.initialStateValue=e,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),t.prototype.getInitialState=function(t,e){var n=this.getStateNodes(t);return this.resolveTransition({configuration:n,entrySet:n,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,void 0,e)},Object.defineProperty(t.prototype,"initialState",{get:function(){this._init();var t=this.initialStateValue;if(!t)throw new Error("Cannot retrieve initial state from simple state '"+this.id+"'.");return this.getInitialState(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"target",{get:function(){var t;if("history"===this.type){var e=this.config;t=$(e.target)&&re(e.target)?j(this.machine.getStateNodeById(e.target).path.slice(this.path.length-1)):e.target}return t},enumerable:!1,configurable:!0}),t.prototype.getRelativeStateNodes=function(t,e,n){return void 0===n&&(n=!0),n?"history"===t.type?t.resolveHistory(e):t.initialStateNodes:[t]},Object.defineProperty(t.prototype,"initialStateNodes",{get:function(){var t=this;return $t(this)?[this]:"compound"!==this.type||this.initial?A(k(this.initialStateValue).map((function(e){return t.getFromRelativePath(e)}))):[this]},enumerable:!1,configurable:!0}),t.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var e=v(t),n=e[0],r=e.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '"+n+"' from node with no states");var i=this.getStateNode(n);if("history"===i.type)return i.resolveHistory();if(!this.states[n])throw new Error("Child state '"+n+"' does not exist on '"+this.id+"'");return this.states[n].getFromRelativePath(r)},t.prototype.historyValue=function(t){if(_(this.states).length)return{current:t||this.initialStateValue,states:O(this.states,(function(e,n){if(!t)return e.historyValue();var r=$(t)?void 0:t[n];return e.historyValue(r||e.initialStateValue)}),(function(t){return!t.history}))}},t.prototype.resolveHistory=function(t){var e=this;if("history"!==this.type)return[this];var n=this.parent;if(!t){var r=this.target;return r?A(k(r).map((function(t){return n.getFromRelativePath(t)}))):n.initialStateNodes}var i,o,a=(i=n.path,o="states",function(t){var e,n,r=t;try{for(var a=d(i),s=a.next();!s.done;s=a.next()){var c=s.value;r=r[o][c]}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return r})(t).current;return $(a)?[n.getStateNode(a)]:A(k(a).map((function(t){return"deep"===e.history?n.getFromRelativePath(t):[n.states[t[0]]]})))},Object.defineProperty(t.prototype,"stateIds",{get:function(){var t=this,e=A(_(this.states).map((function(e){return t.states[e].stateIds})));return[this.id].concat(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){var t,e,n,r;if(this.__cache.events)return this.__cache.events;var i=this.states,o=new Set(this.ownEvents);if(i)try{for(var a=d(_(i)),s=a.next();!s.done;s=a.next()){var c=i[s.value];if(c.states)try{for(var u=(n=void 0,d(c.events)),l=u.next();!l.done;l=u.next()){var f=l.value;o.add(""+f)}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}return this.__cache.events=Array.from(o)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ownEvents",{get:function(){var t=new Set(this.transitions.filter((function(t){return!(!t.target&&!t.actions.length&&t.internal)})).map((function(t){return t.eventType})));return Array.from(t)},enumerable:!1,configurable:!0}),t.prototype.resolveTarget=function(t){var e=this;if(void 0!==t)return t.map((function(t){if(!$(t))return t;var n=t[0]===e.delimiter;if(n&&!e.parent)return e.getStateNodeByPath(t.slice(1));var r=n?e.key+t:t;if(!e.parent)return e.getStateNodeByPath(r);try{return e.parent.getStateNodeByPath(r)}catch(t){throw new Error("Invalid transition definition for state node '"+e.id+"':\n"+t.message)}}))},t.prototype.formatTransition=function(t){var e=this,n=function(t){if(void 0!==t&&""!==t)return T(t)}(t.target),r="internal"in t?t.internal:!n||n.some((function(t){return $(t)&&t[0]===e.delimiter})),i=this.machine.options.guards,o=this.resolveTarget(n),a=h(h({},t),{actions:vt(T(t.actions)),cond:z(t.cond,i),target:o,source:this,internal:r,eventType:t.event,toJSON:function(){return h(h({},a),{target:a.target?a.target.map((function(t){return"#"+t.id})):void 0,source:"#"+e.id})}});return a},t.prototype.formatTransitions=function(){var t,e,n,r=this;if(this.config.on)if(Array.isArray(this.config.on))n=this.config.on;else{var i=this.config.on,o="*",a=i[o],s=void 0===a?[]:a,c=p(i,["*"]);n=A(_(c).map((function(t){var e=J(t,c[t]);return e})).concat(J("*",s)))}else n=[];var u=this.config.always?J("",this.config.always):[],l=this.config.onDone?J(String(Pt(this.id)),this.config.onDone):[];var f=A(this.invoke.map((function(t){var e=[];return t.onDone&&e.push.apply(e,y(J(String(Tt(t.id)),t.onDone))),t.onError&&e.push.apply(e,y(J(String(Rt(t.id)),t.onError))),e}))),h=this.after,v=A(y(l,f,n,u).map((function(t){return T(t).map((function(t){return r.formatTransition(t)}))})));try{for(var g=d(h),b=g.next();!b.done;b=g.next()){var m=b.value;v.push(m)}}catch(e){t={error:e}}finally{try{b&&!b.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return v},t}();function oe(t,e,n){void 0===n&&(n=t.context);var r="function"==typeof n?n():n;return new ie(t,e,r)}function ae(t,e){var n="function"==typeof t.context?t.context():t.context;return new ie(t,e,n)}const se=kt({failure:null}),ce=kt({errors:[]}),ue=kt({edits:null}),le=kt({data:null}),fe=ce,he=kt({failure:(t,e)=>e.data}),pe=kt({errors:(t,e)=>e.data}),de=kt({data:(t,e)=>e.data}),ve=kt({edits:(t,e)=>Object.assign(Object.assign({},t.edits),e.data)});const ye=ae({context:{data:null,edits:null,errors:[],failure:null},entry:["validate"],id:"nucleon",initial:"init",on:{DELETE:{actions:["clearData","clearEdits","clearErrors"],target:"#nucleon.busy.deleting"},FETCH:{actions:["clearData","clearEdits","clearErrors"],target:"#nucleon.busy.fetching"},REFRESH:{target:"#nucleon.busy.fetching"},SET_DATA:{actions:["setData","clearEdits","clearErrors"],target:"#nucleon.init"}},states:{busy:{states:{creating:{invoke:{onDone:{actions:["setData","clearEdits","validate"],target:"#nucleon.idle.snapshot"},onError:[{actions:"setErrors",cond:"isV8nErrorEvent",target:"#nucleon.idle"},{actions:"setFailure",target:"#nucleon.fail"}],src:"sendPost"}},deleting:{invoke:{onDone:{actions:["clearData","clearEdits","validate"],target:"#nucleon.idle.template"},onError:[{actions:"setErrors",cond:"isV8nErrorEvent",target:"#nucleon.idle"},{actions:"setFailure",target:"#nucleon.fail"}],src:"sendDelete"}},fetching:{invoke:{onDone:{actions:["setData","clearErrors","validate"],target:"#nucleon.idle.snapshot"},onError:[{actions:"setErrors",cond:"isV8nErrorEvent",target:"#nucleon.idle"},{actions:"setFailure",target:"#nucleon.fail"}],src:"sendGet"}},updating:{invoke:{onDone:{actions:["setData","clearEdits","validate"],target:"#nucleon.idle.snapshot"},onError:[{actions:"setErrors",cond:"isV8nErrorEvent",target:"#nucleon.idle"},{actions:"setFailure",target:"#nucleon.fail"}],src:"sendPatch"}}}},fail:{exit:"clearFailure"},idle:{initial:"unknown",on:{EDIT:{actions:["applyEdit","validate"],target:".unknown"}},states:{snapshot:{initial:"unknown",states:{clean:{initial:"unknown",states:{invalid:{},unknown:{always:[{cond:"hasErrors",target:"invalid"},{target:"valid"}]},valid:{}}},dirty:{initial:"unknown",on:{UNDO:{actions:["clearEdits","clearErrors","validate"],target:"#nucleon.idle.snapshot.clean"}},states:{invalid:{},unknown:{always:[{cond:"hasErrors",target:"invalid"},{target:"valid"}]},valid:{on:{SUBMIT:{target:"#nucleon.busy.updating"}}}}},unknown:{always:[{cond:"hasEdits",target:"dirty"},{target:"clean"}]}}},template:{initial:"unknown",states:{clean:{initial:"unknown",states:{invalid:{},unknown:{always:[{cond:"hasErrors",target:"invalid"},{target:"valid"}]},valid:{}}},dirty:{initial:"unknown",on:{UNDO:{actions:["clearEdits","clearErrors","validate"],target:"#nucleon.idle.template.clean"}},states:{invalid:{},unknown:{always:[{cond:"hasErrors",target:"invalid"},{target:"valid"}]},valid:{on:{SUBMIT:{target:"#nucleon.busy.creating"}}}}},unknown:{always:[{cond:"hasEdits",target:"dirty"},{target:"clean"}]}}},unknown:{always:[{cond:"hasData",target:"snapshot"},{target:"template"}]}}},init:{always:[{cond:"hasData",target:"idle.snapshot"},{target:"idle.template"}]}}},{actions:Object.freeze({__proto__:null,clearFailure:se,clearErrors:ce,clearEdits:ue,clearData:le,validate:fe,setFailure:he,setErrors:pe,setData:de,applyEdit:ve}),guards:Object.freeze({__proto__:null,hasData:t=>null!==t.data,hasEdits:t=>null!==t.edits,hasErrors:t=>t.errors.length>0,isV8nErrorEvent:(t,e)=>Array.isArray(e.data)})});class ge{constructor(t){this.__tree=ge.__parse(t)}static get True(){return be}static get False(){return _e}static fromAttribute(t,e){return null===t?ge.False:""===t||t===e?ge.True:new ge(t)}matches(t,e=!1){const n=this.zoom(t).toString();return e?"not=*"===n:""!==n}zoom(t){const e=new ge("");return e.__tree=t.split(":").reduce(((t,e)=>{let n;if("include"in t){if(n=t.include[e],void 0===n)return{include:{}};if(!0===n)return{exclude:{"*":!0}}}else{if(n=t.exclude[e],void 0===n)return{exclude:{"*":!0}};if(!0===n)return{include:{}}}return n}),this.__tree),e}toString(){return ge.__stringifyTree(this.__tree)}toAttribute(t=""){const e=this.toString();return"not=*"===e?t:0===e.length?null:e}static __parsePath(t,e){const n=t.indexOf(":"),r=t.substring(0,n),i=t.substring(n+1);if("exclude"in e){const t=e.exclude[r];t&&(e.exclude[r]=this.__parseListItem(i,!0===t?void 0:t))}else{const t=e.include[r];!0!==t&&(e.include[r]=this.__parseListItem(i,t))}return e}static __parseSet(t,e){const n=t.split(",");if("include"in e){e={exclude:e.include};for(const t in e.exclude)n.includes(t)||delete e.exclude[t];for(const t of n)t in e.exclude?delete e.exclude[t]:e.exclude[t]=!0}else for(const t in e.exclude)n.includes(t)||delete e.exclude[t];return e}static __parseListItem(t,e={include:{}}){if(t.includes(":"))return this.__parsePath(t,e);if(t.startsWith("not="))return this.__parseSet(t.substring(4),e);if("include"in e)e.include[t]=!0;else for(const n in e.exclude)n===t&&delete e.exclude[n];return e}static __parseList(t,e={include:{}}){return t.split(" ").reduce(((t,e)=>this.__parseListItem(e,t)),e)}static __lintList(t){var e;let n="list",r="";for(let i=0;i<t.length;++i){const o=t.charAt(i);try{if("list"===n){if(/^\s$/.test(o)){/^\s$/.test(null!==(e=t[i-1])&&void 0!==e?e:" ")||(r+=" ");continue}if(/^[a-z]$/.test(o)){r+=o,n="path";continue}throw new SyntaxError(`Expected [a-z] or a whitespace, but got "${o}" instead.`)}if("path"===n){if(/^[a-z]$/.test(o)){r+=o;continue}if("-"===o){if("-"===t[i-1]||":"===t[i-1])throw new SyntaxError(`Expected [a-z], but got "${o}" instead.`);r+=o;continue}if(":"===o){if(":"===t[i-1]||"-"===t[i-1])throw new SyntaxError(`Expected [a-z], but got "${o}" instead.`);r+=o;continue}if("="===o){if("="===t[i-1]||":"===t[i-1]||"-"===t[i-1])throw new SyntaxError(`Expected [a-z], but got "${o}" instead.`);if(!r.endsWith("not")||3!==r.length&&/[a-z]|-/.test(r[i-4]))throw new SyntaxError(`Expected [a-z] or ":", but got "${o}" instead.`);r+=o,n="set";continue}if(/^\s$/.test(o)){r+=" ",n="list";continue}throw new SyntaxError(`Expected [a-z], ",", ":", ":" or a whitespace, but got "${o}" instead.`)}if("set"===n){if(/^\s$/.test(o))continue;if(/^[a-z]|\*$/.test(o)){n="set-item",r+=o;continue}throw new SyntaxError(`Expected [a-z] or a whitespace, but got "${o}" instead.`)}if("set-item"===n){if("*"===t[i-1]){if(","===o){r+=o,n="set";continue}if(/^\s$/.test(o)){i!==t.length-1&&(r+=" "),n="list";continue}throw new SyntaxError(`Expected "," or a whitespace, but got "${o}" instead.`)}if(/^[a-z]$/.test(o)){r+=o;continue}if("-"===o){if("-"===t[i-1]||":"===t[i-1]||"="===t[i-1])throw new SyntaxError(`Expected [a-z], but got "${o}" instead.`);r+=o;continue}if(","===o){r+=o,n="set";continue}if(/^\s$/.test(o)){i!==t.length-1&&(r+=" "),n="list";continue}throw new SyntaxError(`Expected [a-z], "," or a whitespace, but got "${o}" instead.`)}}catch(e){const n="This error occured at: ",r=t=>t.substring(Math.max(0,i-30),i+30),o=r(t),a=" ".repeat(n.length)+r("^".padStart(i+1," "));throw new SyntaxError([e.message,`${n}${o}`,a].join("\n"))}}return r.trimEnd()}static __parse(t){return this.__parseList(this.__lintList(t))}static __stringifyTree(t,e){const n=[];if("include"in t)for(const r in t.include){const i=t.include[r],o=e?[e,r].join(":"):r;!0===i?n.push(o):n.push(this.__stringifyTree(i,o))}else{const r=[],i=[];for(const n in t.exclude){const o=t.exclude[n],a=e?[e,n].join(":"):n;r.push(n),!0!==o&&i.push(this.__stringifyTree(o,a))}n.push(`${e?`${e}:`:""}not=${r.join(",")}`,...i)}return n.join(" ")}}const _e=new ge(""),be=new ge("not=*");var me=Array.isArray,we=t?t.prototype:void 0,xe=we?we.toString:void 0;function je(t){if("string"==typeof t)return t;if(me(t))return function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}(t,je)+"";if(e(t))return xe?xe.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}function Se(t){if(!n(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}var Oe,Ee=i["__core-js_shared__"],ke=(Oe=/[^.]+$/.exec(Ee&&Ee.keys&&Ee.keys.IE_PROTO||""))?"Symbol(src)_1."+Oe:"";var Ae=Function.prototype.toString;function Pe(t){if(null!=t){try{return Ae.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var Te=/^\[object .+?Constructor\]$/,Re=Function.prototype,Ne=Object.prototype,De=Re.toString,Ie=Ne.hasOwnProperty,Le=RegExp("^"+De.call(Ie).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ce(t){return!(!n(t)||(e=t,ke&&ke in e))&&(Se(t)?Le:Te).test(Pe(t));var e}function $e(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Ce(n)?n:void 0}var ze=$e(i,"WeakMap"),Fe=/^(?:0|[1-9]\d*)$/;function Ve(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&Fe.test(t))&&t>-1&&t%1==0&&t<e}function Me(t,e){return t===e||t!=t&&e!=e}function Ue(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function We(t){return null!=t&&Ue(t.length)&&!Se(t)}var Be=Object.prototype;function qe(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Be)}function He(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Je(t){return o(t)&&"[object Arguments]"==r(t)}var Ge=Object.prototype,Ze=Ge.hasOwnProperty,Ke=Ge.propertyIsEnumerable,Qe=Je(function(){return arguments}())?Je:function(t){return o(t)&&Ze.call(t,"callee")&&!Ke.call(t,"callee")};var Xe="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ye=Xe&&"object"==typeof module&&module&&!module.nodeType&&module,tn=Ye&&Ye.exports===Xe?i.Buffer:void 0,en=(tn?tn.isBuffer:void 0)||function(){return!1},nn={};function rn(t){return function(e){return t(e)}}nn["[object Float32Array]"]=nn["[object Float64Array]"]=nn["[object Int8Array]"]=nn["[object Int16Array]"]=nn["[object Int32Array]"]=nn["[object Uint8Array]"]=nn["[object Uint8ClampedArray]"]=nn["[object Uint16Array]"]=nn["[object Uint32Array]"]=!0,nn["[object Arguments]"]=nn["[object Array]"]=nn["[object ArrayBuffer]"]=nn["[object Boolean]"]=nn["[object DataView]"]=nn["[object Date]"]=nn["[object Error]"]=nn["[object Function]"]=nn["[object Map]"]=nn["[object Number]"]=nn["[object Object]"]=nn["[object RegExp]"]=nn["[object Set]"]=nn["[object String]"]=nn["[object WeakMap]"]=!1;var on="object"==typeof exports&&exports&&!exports.nodeType&&exports,an=on&&"object"==typeof module&&module&&!module.nodeType&&module,sn=an&&an.exports===on&&a.process,cn=function(){try{var t=an&&an.require&&an.require("util").types;return t||sn&&sn.binding&&sn.binding("util")}catch(t){}}(),un=cn&&cn.isTypedArray,ln=un?rn(un):function(t){return o(t)&&Ue(t.length)&&!!nn[r(t)]},fn=Object.prototype.hasOwnProperty;function hn(t,e){var n=me(t),r=!n&&Qe(t),i=!n&&!r&&en(t),o=!n&&!r&&!i&&ln(t),a=n||r||i||o,s=a?He(t.length,String):[],c=s.length;for(var u in t)!e&&!fn.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Ve(u,c))||s.push(u);return s}function pn(t,e){return function(n){return t(e(n))}}var dn=pn(Object.keys,Object),vn=Object.prototype.hasOwnProperty;function yn(t){return We(t)?hn(t):function(t){if(!qe(t))return dn(t);var e=[];for(var n in Object(t))vn.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}var gn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_n=/^\w*$/;var bn=$e(Object,"create");var mn=Object.prototype.hasOwnProperty;var wn=Object.prototype.hasOwnProperty;function xn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function jn(t,e){for(var n=t.length;n--;)if(Me(t[n][0],e))return n;return-1}xn.prototype.clear=function(){this.__data__=bn?bn(null):{},this.size=0},xn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},xn.prototype.get=function(t){var e=this.__data__;if(bn){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return mn.call(e,t)?e[t]:void 0},xn.prototype.has=function(t){var e=this.__data__;return bn?void 0!==e[t]:wn.call(e,t)},xn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=bn&&void 0===e?"__lodash_hash_undefined__":e,this};var Sn=Array.prototype.splice;function On(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}On.prototype.clear=function(){this.__data__=[],this.size=0},On.prototype.delete=function(t){var e=this.__data__,n=jn(e,t);return!(n<0)&&(n==e.length-1?e.pop():Sn.call(e,n,1),--this.size,!0)},On.prototype.get=function(t){var e=this.__data__,n=jn(e,t);return n<0?void 0:e[n][1]},On.prototype.has=function(t){return jn(this.__data__,t)>-1},On.prototype.set=function(t,e){var n=this.__data__,r=jn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};var En=$e(i,"Map");function kn(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function An(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}An.prototype.clear=function(){this.size=0,this.__data__={hash:new xn,map:new(En||On),string:new xn}},An.prototype.delete=function(t){var e=kn(this,t).delete(t);return this.size-=e?1:0,e},An.prototype.get=function(t){return kn(this,t).get(t)},An.prototype.has=function(t){return kn(this,t).has(t)},An.prototype.set=function(t,e){var n=kn(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function Pn(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Pn.Cache||An),n}Pn.Cache=An;var Tn,Rn,Nn,Dn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,In=/\\(\\)?/g,Ln=(Tn=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Dn,(function(t,n,r,i){e.push(r?i.replace(In,"$1"):n||t)})),e},Rn=Pn(Tn,(function(t){return 500===Nn.size&&Nn.clear(),t})),Nn=Rn.cache,Rn),Cn=Ln;function $n(t,n){return me(t)?t:function(t,n){if(me(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!e(t))||_n.test(t)||!gn.test(t)||null!=n&&t in Object(n)}(t,n)?[t]:Cn(function(t){return null==t?"":je(t)}(t))}function zn(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}function Fn(t,e,n){var r=null==t?void 0:function(t,e){for(var n=0,r=(e=$n(e,t)).length;null!=t&&n<r;)t=t[zn(e[n++])];return n&&n==r?t:void 0}(t,e);return void 0===r?n:r}function Vn(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function Mn(t){var e=this.__data__=new On(t);this.size=e.size}function Un(){return[]}Mn.prototype.clear=function(){this.__data__=new On,this.size=0},Mn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Mn.prototype.get=function(t){return this.__data__.get(t)},Mn.prototype.has=function(t){return this.__data__.has(t)},Mn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof On){var r=n.__data__;if(!En||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new An(r)}return n.set(t,e),this.size=n.size,this};var Wn=Object.prototype.propertyIsEnumerable,Bn=Object.getOwnPropertySymbols,qn=Bn?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}(Bn(t),(function(e){return Wn.call(t,e)})))}:Un,Hn=qn;function Jn(t,e,n){var r=e(t);return me(t)?r:Vn(r,n(t))}function Gn(t){return Jn(t,yn,Hn)}var Zn=$e(i,"DataView"),Kn=$e(i,"Promise"),Qn=$e(i,"Set"),Xn=Pe(Zn),Yn=Pe(En),tr=Pe(Kn),er=Pe(Qn),nr=Pe(ze),rr=r;(Zn&&"[object DataView]"!=rr(new Zn(new ArrayBuffer(1)))||En&&"[object Map]"!=rr(new En)||Kn&&"[object Promise]"!=rr(Kn.resolve())||Qn&&"[object Set]"!=rr(new Qn)||ze&&"[object WeakMap]"!=rr(new ze))&&(rr=function(t){var e=r(t),n="[object Object]"==e?t.constructor:void 0,i=n?Pe(n):"";if(i)switch(i){case Xn:return"[object DataView]";case Yn:return"[object Map]";case tr:return"[object Promise]";case er:return"[object Set]";case nr:return"[object WeakMap]"}return e});var ir=rr,or=i.Uint8Array;function ar(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new An;++e<n;)this.add(t[e])}function sr(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function cr(t,e){return t.has(e)}ar.prototype.add=ar.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},ar.prototype.has=function(t){return this.__data__.has(t)};function ur(t,e,n,r,i,o){var a=1&n,s=t.length,c=e.length;if(s!=c&&!(a&&c>s))return!1;var u=o.get(t),l=o.get(e);if(u&&l)return u==e&&l==t;var f=-1,h=!0,p=2&n?new ar:void 0;for(o.set(t,e),o.set(e,t);++f<s;){var d=t[f],v=e[f];if(r)var y=a?r(v,d,f,e,t,o):r(d,v,f,t,e,o);if(void 0!==y){if(y)continue;h=!1;break}if(p){if(!sr(e,(function(t,e){if(!cr(p,e)&&(d===t||i(d,t,n,r,o)))return p.push(e)}))){h=!1;break}}else if(d!==v&&!i(d,v,n,r,o)){h=!1;break}}return o.delete(t),o.delete(e),h}function lr(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function fr(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var hr=t?t.prototype:void 0,pr=hr?hr.valueOf:void 0;var dr=Object.prototype.hasOwnProperty;var vr="[object Object]",yr=Object.prototype.hasOwnProperty;function gr(t,e,n,r,i,o){var a=me(t),s=me(e),c=a?"[object Array]":ir(t),u=s?"[object Array]":ir(e),l=(c="[object Arguments]"==c?vr:c)==vr,f=(u="[object Arguments]"==u?vr:u)==vr,h=c==u;if(h&&en(t)){if(!en(e))return!1;a=!0,l=!1}if(h&&!l)return o||(o=new Mn),a||ln(t)?ur(t,e,n,r,i,o):function(t,e,n,r,i,o,a){switch(n){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 or(t),new or(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Me(+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=lr;case"[object Set]":var c=1&r;if(s||(s=fr),t.size!=e.size&&!c)return!1;var u=a.get(t);if(u)return u==e;r|=2,a.set(t,e);var l=ur(s(t),s(e),r,i,o,a);return a.delete(t),l;case"[object Symbol]":if(pr)return pr.call(t)==pr.call(e)}return!1}(t,e,c,n,r,i,o);if(!(1&n)){var p=l&&yr.call(t,"__wrapped__"),d=f&&yr.call(e,"__wrapped__");if(p||d){var v=p?t.value():t,y=d?e.value():e;return o||(o=new Mn),i(v,y,n,r,o)}}return!!h&&(o||(o=new Mn),function(t,e,n,r,i,o){var a=1&n,s=Gn(t),c=s.length;if(c!=Gn(e).length&&!a)return!1;for(var u=c;u--;){var l=s[u];if(!(a?l in e:dr.call(e,l)))return!1}var f=o.get(t),h=o.get(e);if(f&&h)return f==e&&h==t;var p=!0;o.set(t,e),o.set(e,t);for(var d=a;++u<c;){var v=t[l=s[u]],y=e[l];if(r)var g=a?r(y,v,l,e,t,o):r(v,y,l,t,e,o);if(!(void 0===g?v===y||i(v,y,n,r,o):g)){p=!1;break}d||(d="constructor"==l)}if(p&&!d){var _=t.constructor,b=e.constructor;_==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(p=!1)}return o.delete(t),o.delete(e),p}(t,e,n,r,i,o))}function _r(t,e,n,r,i){return t===e||(null==t||null==e||!o(t)&&!o(e)?t!=t&&e!=e:gr(t,e,n,r,_r,i))}function br(t,e){return _r(t,e)}class mr extends Error{constructor(){super("not enough info to update; please reload resource instead")}}var wr=s((function(t){var e=t.exports=function(t){return new n(t)};function n(t){this.value=t}function r(t,e,n){var r=[],a=[],l=!0;return function t(f){var h=n?i(f):f,p={},d=!0,v={node:h,node_:f,path:[].concat(r),parent:a[a.length-1],parents:a,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(t,e){v.isRoot||(v.parent.node[v.key]=t),v.node=t,e&&(d=!1)},delete:function(t){delete v.parent.node[v.key],t&&(d=!1)},remove:function(t){s(v.parent.node)?v.parent.node.splice(v.key,1):delete v.parent.node[v.key],t&&(d=!1)},keys:null,before:function(t){p.before=t},after:function(t){p.after=t},pre:function(t){p.pre=t},post:function(t){p.post=t},stop:function(){l=!1},block:function(){d=!1}};if(!l)return v;function y(){if("object"==typeof v.node&&null!==v.node){v.keys&&v.node_===v.node||(v.keys=o(v.node)),v.isLeaf=0==v.keys.length;for(var t=0;t<a.length;t++)if(a[t].node_===f){v.circular=a[t];break}}else v.isLeaf=!0,v.keys=null;v.notLeaf=!v.isLeaf,v.notRoot=!v.isRoot}y();var g=e.call(v,v.node);return void 0!==g&&v.update&&v.update(g),p.before&&p.before.call(v,v.node),d?("object"!=typeof v.node||null===v.node||v.circular||(a.push(v),y(),c(v.keys,(function(e,i){r.push(e),p.pre&&p.pre.call(v,v.node[e],e);var o=t(v.node[e]);n&&u.call(v.node,e)&&(v.node[e]=o.node),o.isLast=i==v.keys.length-1,o.isFirst=0==i,p.post&&p.post.call(v,o),r.pop()})),a.pop()),p.after&&p.after.call(v,v.node),v):v}(t).node}function i(t){if("object"==typeof t&&null!==t){var e;if(s(t))e=[];else if("[object Date]"===a(t))e=new Date(t.getTime?t.getTime():t);else if(function(t){return"[object RegExp]"===a(t)}(t))e=new RegExp(t);else if(function(t){return"[object Error]"===a(t)}(t))e={message:t.message};else if(function(t){return"[object Boolean]"===a(t)}(t))e=new Boolean(t);else if(function(t){return"[object Number]"===a(t)}(t))e=new Number(t);else if(function(t){return"[object String]"===a(t)}(t))e=new String(t);else if(Object.create&&Object.getPrototypeOf)e=Object.create(Object.getPrototypeOf(t));else if(t.constructor===Object)e={};else{var n=t.constructor&&t.constructor.prototype||t.__proto__||{},r=function(){};r.prototype=n,e=new r}return c(o(t),(function(n){e[n]=t[n]})),e}return t}n.prototype.get=function(t){for(var e=this.value,n=0;n<t.length;n++){var r=t[n];if(!e||!u.call(e,r)){e=void 0;break}e=e[r]}return e},n.prototype.has=function(t){for(var e=this.value,n=0;n<t.length;n++){var r=t[n];if(!e||!u.call(e,r))return!1;e=e[r]}return!0},n.prototype.set=function(t,e){for(var n=this.value,r=0;r<t.length-1;r++){var i=t[r];u.call(n,i)||(n[i]={}),n=n[i]}return n[t[r]]=e,e},n.prototype.map=function(t){return r(this.value,t,!0)},n.prototype.forEach=function(t){return this.value=r(this.value,t,!1),this.value},n.prototype.reduce=function(t,e){var n=1===arguments.length,r=n?this.value:e;return this.forEach((function(e){this.isRoot&&n||(r=t.call(this,r,e))})),r},n.prototype.paths=function(){var t=[];return this.forEach((function(e){t.push(this.path)})),t},n.prototype.nodes=function(){var t=[];return this.forEach((function(e){t.push(this.node)})),t},n.prototype.clone=function(){var t=[],e=[];return function n(r){for(var a=0;a<t.length;a++)if(t[a]===r)return e[a];if("object"==typeof r&&null!==r){var s=i(r);return t.push(r),e.push(s),c(o(r),(function(t){s[t]=n(r[t])})),t.pop(),e.pop(),s}return r}(this.value)};var o=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};function a(t){return Object.prototype.toString.call(t)}var s=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},c=function(t,e){if(t.forEach)return t.forEach(e);for(var n=0;n<t.length;n++)e(t[n],n,t)};c(o(n.prototype),(function(t){e[t]=function(e){var r=[].slice.call(arguments,1),i=new n(e);return i[t].apply(i,r)}}));var u=Object.hasOwnProperty||function(t,e){return e in t}}));class xr{constructor(){this.__callbacks=[]}share(t){const{related:e,source:n,data:r}=t,i=null===r?new Map([[n,null]]):xr.__createPatch(r);[...this.__callbacks].forEach((t=>{t((t=>{const n=xr.__applyPatch(i,t,e);return br(t,n)?t:n}))}))}track(t){return this.__callbacks.push(t),()=>{this.__callbacks.splice(this.__callbacks.indexOf(t),1)}}cease(){this.__callbacks.length=0}static __isCollection(t){return"string"==typeof Fn(t,"_links.first.href")}static __isResource(t){return"string"==typeof Fn(t,"_links.self.href")}static __approximateURI(t){try{const e=new URL(t);return e.search="",e.hash="",e.toString()}catch(e){return t}}static __createPatch(t){return wr(t).reduce((function(t,e){if(!xr.__isResource(e)||xr.__isCollection(e))return t;const n=wr(e).map((function(){var t;(null===(t=this.key)||void 0===t?void 0:t.startsWith("_"))&&this.delete(!0)}));return t.set(e._links.self.href,n),t}),new Map)}static __applyPatch(t,e,n){var r,i;const o=null!==(r=null==n?void 0:n.map((t=>xr.__approximateURI(t))))&&void 0!==r?r:[];return null!==(i=wr({data:e}).map((function(e){if(!xr.__isResource(e))return;const n=e._links.self.href,r=xr.__approximateURI(n);if(o.includes(r))throw new xr.UpdateError;if(t.has(n)){const r=t.get(n);if(r)return this.update(Object.assign(Object.assign({},e),r),!0);if(!this.parent.parent)return this.delete(!0);throw new xr.UpdateError}})).data)&&void 0!==i?i:null}}xr.UpdateError=mr;var jr=s((function(t,e){t.exports=function(){function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function n(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||s(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function u(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=s(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,o=!0,a=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return o=t.done,t},e:function(t){a=!0,i=t},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}var l={};l[l.Fatal=0]="Fatal",l[l.Error=0]="Error",l[l.Warn=1]="Warn",l[l.Log=2]="Log",l[l.Info=3]="Info",l[l.Success=3]="Success",l[l.Debug=4]="Debug",l[l.Trace=5]="Trace",l[l.Silent=-1/0]="Silent",l[l.Verbose=1/0]="Verbose";var f={silent:{level:-1},fatal:{level:l.Fatal},error:{level:l.Error},warn:{level:l.Warn},log:{level:l.Log},info:{level:l.Info},success:{level:l.Success},debug:{level:l.Debug},trace:{level:l.Trace},verbose:{level:l.Trace},ready:{level:l.Info},start:{level:l.Info}};function h(t){return e=t,!("[object Object]"!==Object.prototype.toString.call(e)||!t.message&&!t.args||t.stack);var e}var p=!1,d=[],v=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var r in t(this,e),this._reporters=n.reporters||[],this._types=n.types||f,this.level=void 0!==n.level?n.level:3,this._defaults=n.defaults||{},this._async=void 0!==n.async?n.async:void 0,this._stdout=n.stdout,this._stderr=n.stderr,this._mockFn=n.mockFn,this._throttle=n.throttle||1e3,this._throttleMin=n.throttleMin||5,this._types){var i=o(o({type:r},this._types[r]),this._defaults);this[r]=this._wrapLogFn(i),this[r].raw=this._wrapLogFn(i,!0)}this._mockFn&&this.mockTypes(),this._lastLogSerialized=void 0,this._lastLog=void 0,this._lastLogTime=void 0,this._lastLogCount=0,this._throttleTimeout=void 0}return n(e,[{key:"create",value:function(t){return new e(Object.assign({reporters:this._reporters,level:this.level,types:this._types,defaults:this._defaults,stdout:this._stdout,stderr:this._stderr,mockFn:this._mockFn},t))}},{key:"withDefaults",value:function(t){return this.create({defaults:Object.assign({},this._defaults,t)})}},{key:"withTag",value:function(t){return this.withDefaults({tag:this._defaults.tag?this._defaults.tag+":"+t:t})}},{key:"addReporter",value:function(t){return this._reporters.push(t),this}},{key:"removeReporter",value:function(t){if(t){var e=this._reporters.indexOf(t);if(e>=0)return this._reporters.splice(e,1)}else this._reporters.splice(0);return this}},{key:"setReporters",value:function(t){return this._reporters=Array.isArray(t)?t:[t],this}},{key:"wrapAll",value:function(){this.wrapConsole(),this.wrapStd()}},{key:"restoreAll",value:function(){this.restoreConsole(),this.restoreStd()}},{key:"wrapConsole",value:function(){for(var t in this._types)console["__"+t]||(console["__"+t]=console[t]),console[t]=this[t].raw}},{key:"restoreConsole",value:function(){for(var t in this._types)console["__"+t]&&(console[t]=console["__"+t],delete console["__"+t])}},{key:"wrapStd",value:function(){this._wrapStream(this.stdout,"log"),this._wrapStream(this.stderr,"log")}},{key:"_wrapStream",value:function(t,e){var n=this;t&&(t.__write||(t.__write=t.write),t.write=function(t){n[e].raw(String(t).trim())})}},{key:"restoreStd",value:function(){this._restoreStream(this.stdout),this._restoreStream(this.stderr)}},{key:"_restoreStream",value:function(t){t&&t.__write&&(t.write=t.__write,delete t.__write)}},{key:"pauseLogs",value:function(){p=!0}},{key:"resumeLogs",value:function(){p=!1;var t,e=u(d.splice(0));try{for(e.s();!(t=e.n()).done;){var n=t.value;n[0]._logFn(n[1],n[2])}}catch(t){e.e(t)}finally{e.f()}}},{key:"mockTypes",value:function(t){if(this._mockFn=t||this._mockFn,"function"==typeof this._mockFn)for(var e in this._types)this[e]=this._mockFn(e,this._types[e])||this[e],this[e].raw=this[e]}},{key:"_wrapLogFn",value:function(t,e){var n=this;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];if(!p)return n._logFn(t,i,e);d.push([n,t,i,e])}}},{key:"_logFn",value:function(t,e,n){var r=this;if(t.level>this.level)return!!this._async&&Promise.resolve(!1);var i=Object.assign({date:new Date,args:[]},t);!n&&1===e.length&&h(e[0])?Object.assign(i,e[0]):i.args=Array.from(e),i.message&&(i.args.unshift(i.message),delete i.message),i.additional&&(Array.isArray(i.additional)||(i.additional=i.additional.split("\n")),i.args.push("\n"+i.additional.join("\n")),delete i.additional),i.type="string"==typeof i.type?i.type.toLowerCase():"",i.tag="string"==typeof i.tag?i.tag.toLowerCase():"";var s=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=r._lastLogCount-r._throttleMin;if(r._lastLog&&e>0){var n=a(r._lastLog.args);e>1&&n.push("(repeated ".concat(e," times)")),r._log(o(o({},r._lastLog),{},{args:n})),r._lastLogCount=1}if(t){if(r._lastLog=i,r._async)return r._logAsync(i);r._log(i)}};clearTimeout(this._throttleTimeout);var c=this._lastLogTime?i.date-this._lastLogTime:0;if(this._lastLogTime=i.date,c<this._throttle)try{var u=JSON.stringify([i.type,i.tag,i.args]),l=this._lastLogSerialized===u;if(this._lastLogSerialized=u,l&&(this._lastLogCount++,this._lastLogCount>this._throttleMin))return void(this._throttleTimeout=setTimeout(s,this._throttle))}catch(t){}s(!0)}},{key:"_log",value:function(t){var e,n=u(this._reporters);try{for(n.s();!(e=n.n()).done;)e.value.log(t,{async:!1,stdout:this.stdout,stderr:this.stderr})}catch(t){n.e(t)}finally{n.f()}}},{key:"_logAsync",value:function(t){var e=this;return Promise.all(this._reporters.map((function(n){return n.log(t,{async:!0,stdout:e.stdout,stderr:e.stderr})})))}},{key:"stdout",get:function(){return this._stdout||console._stdout}},{key:"stderr",get:function(){return this._stderr||console._stderr}}]),e}();v.prototype.add=v.prototype.addReporter,v.prototype.remove=v.prototype.removeReporter,v.prototype.clear=v.prototype.removeReporter,v.prototype.withScope=v.prototype.withTag,v.prototype.mock=v.prototype.mockTypes,v.prototype.pause=v.prototype.pauseLogs,v.prototype.resume=v.prototype.resumeLogs;var y,g=function(){function e(n){t(this,e),this.options=Object.assign({},n),this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}return n(e,[{key:"log",value:function(t){var e=t.level<1?console.__error||console.error:1===t.level&&console.warn?console.__warn||console.warn:console.__log||console.log,n="log"!==t.type?t.type:"",r=t.tag?t.tag:"",i=this.typeColorMap[t.type]||this.levelColorMap[t.level]||this.defaultColor,o="\n background: ".concat(i,";\n border-radius: 0.5em;\n color: white;\n font-weight: bold;\n padding: 2px 0.5em;\n "),s="%c".concat([r,n].filter(Boolean).join(":"));"string"==typeof t.args[0]?e.apply(void 0,["".concat(s,"%c ").concat(t.args[0]),o,""].concat(a(t.args.slice(1)))):e.apply(void 0,[s,o].concat(a(t.args)))}}]),e}();return"undefined"!=typeof window&&window.consola||((y=new v({reporters:[new g]})).Consola=v,y.LogLevel=l,y.BrowserReporter=g,y)}()})),Sr=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Or=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Er=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},kr=function(){function t(e,n,r,i){Sr(this,t),this.name=e,this.fn=n,this.args=r,this.modifiers=i}return Or(t,[{key:"_test",value:function(t){var e=this.fn;try{Pr(this.modifiers.slice(),e)(t)}catch(t){e=function(){return!1}}try{return Pr(this.modifiers.slice(),e)(t)}catch(t){return!1}}},{key:"_check",value:function(t){try{Pr(this.modifiers.slice(),this.fn)(t)}catch(t){if(Pr(this.modifiers.slice(),(function(t){return t}))(!1))return}if(!Pr(this.modifiers.slice(),this.fn)(t))throw null}},{key:"_testAsync",value:function(t){var e=this;return new Promise((function(n,r){Tr(e.modifiers.slice(),e.fn)(t).then((function(e){e?n(t):r(null)})).catch((function(t){return r(t)}))}))}}]),t}();function Ar(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"simple";return"object"==typeof t?t[e]:t}function Pr(t,e){if(t.length){var n=t.shift(),r=Pr(t,e);return n.perform(r)}return Ar(e)}function Tr(t,e){if(t.length){var n=t.shift(),r=Tr(t,e);return n.performAsync(r)}return function(t){return Promise.resolve(Ar(e,"async")(t))}}var Rr=function t(e,n,r){Sr(this,t),this.name=e,this.perform=n,this.performAsync=r},Nr=function(t){function e(t,n,r,i){Sr(this,e);for(var o=arguments.length,a=Array(o>4?o-4:0),s=4;s<o;s++)a[s-4]=arguments[s];var c=Er(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,a));return Error.captureStackTrace&&Error.captureStackTrace(c,e),c.rule=t,c.value=n,c.cause=r,c.target=i,c}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,Error),e}(),Dr=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Sr(this,t),this.chain=e,this.nextRuleModifiers=n}return Or(t,[{key:"_applyRule",value:function(t,e){var n=this;return function(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return n.chain.push(new kr(e,t.apply(n,i),i,n.nextRuleModifiers)),n.nextRuleModifiers=[],n}}},{key:"_applyModifier",value:function(t,e){return this.nextRuleModifiers.push(new Rr(e,t.simple,t.async)),this}},{key:"_clone",value:function(){return new t(this.chain.slice(),this.nextRuleModifiers.slice())}},{key:"test",value:function(t){return this.chain.every((function(e){return e._test(t)}))}},{key:"testAll",value:function(t){var e=[];return this.chain.forEach((function(n){try{n._check(t)}catch(r){e.push(new Nr(n,t,r))}})),e}},{key:"check",value:function(t){this.chain.forEach((function(e){try{e._check(t)}catch(n){throw new Nr(e,t,n)}}))}},{key:"testAsync",value:function(t){var e=this;return new Promise((function(n,r){Ir(t,e.chain.slice(),n,r)}))}}]),t}();function Ir(t,e,n,r){if(e.length){var i=e.shift();i._testAsync(t).then((function(){Ir(t,e,n,r)}),(function(e){r(new Nr(i,t,e))}))}else n(t)}function Lr(){return $r(new Dr)}var Cr={};function $r(t){return new Proxy(t,{get:function(e,n){if(n in e)return e[n];var r=$r(t._clone());return n in zr?r._applyModifier(zr[n],n):n in Cr?r._applyRule(Cr[n],n):n in Vr?r._applyRule(Vr[n],n):void 0}})}Lr.extend=function(t){Object.assign(Cr,t)},Lr.clearCustomRules=function(){Cr={}};var zr={not:{simple:function(t){return function(e){return!t(e)}},async:function(t){return function(e){return Promise.resolve(t(e)).then((function(t){return!t})).catch((function(t){return!0}))}}},some:{simple:function(t){return function(e){return Fr(e).some((function(e){try{return t(e)}catch(t){return!1}}))}},async:function(t){return function(e){return Promise.all(Fr(e).map((function(e){try{return t(e).catch((function(t){return!1}))}catch(t){return!1}}))).then((function(t){return t.some(Boolean)}))}}},every:{simple:function(t){return function(e){return Fr(e).every(t)}},async:function(t){return function(e){return Promise.all(Fr(e).map(t)).then((function(t){return t.every(Boolean)}))}}}};function Fr(t){return"string"==typeof t?t.split(""):t}var Vr={equal:function(t){return function(e){return e==t}},exact:function(t){return function(e){return e===t}},number:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(e){return"number"==typeof e&&(t||isFinite(e))}},integer:function(){return function(t){return(Number.isInteger||Ur)(t)}},numeric:function(){return function(t){return!isNaN(parseFloat(t))&&isFinite(t)}},string:function(){return Mr("string")},boolean:function(){return Mr("boolean")},undefined:function(){return Mr("undefined")},null:function(){return Mr("null")},array:function(){return Mr("array")},object:function(){return Mr("object")},instanceOf:function(t){return function(e){return e instanceof t}},pattern:function(t){return function(e){return t.test(e)}},lowercase:function(){return function(t){return/^([a-z]+\s*)+$/.test(t)}},uppercase:function(){return function(t){return/^([A-Z]+\s*)+$/.test(t)}},vowel:function(){return function(t){return/^[aeiou]+$/i.test(t)}},consonant:function(){return function(t){return/^(?=[^aeiou])([a-z]+)$/i.test(t)}},first:function(t){return function(e){return e[0]==t}},last:function(t){return function(e){return e[e.length-1]==t}},empty:function(){return function(t){return 0===t.length}},length:function(t,e){return function(n){return n.length>=t&&n.length<=(e||t)}},minLength:function(t){return function(e){return e.length>=t}},maxLength:function(t){return function(e){return e.length<=t}},negative:function(){return function(t){return t<0}},positive:function(){return function(t){return t>=0}},between:function(t,e){return function(n){return n>=t&&n<=e}},range:function(t,e){return function(n){return n>=t&&n<=e}},lessThan:function(t){return function(e){return e<t}},lessThanOrEqual:function(t){return function(e){return e<=t}},greaterThan:function(t){return function(e){return e>t}},greaterThanOrEqual:function(t){return function(e){return e>=t}},even:function(){return function(t){return t%2==0}},odd:function(){return function(t){return t%2!=0}},includes:function(t){return function(e){return~e.indexOf(t)}},schema:function(t){return function(t){return{simple:function(e){var n=[];if(Object.keys(t).forEach((function(r){var i=t[r];try{i.check((e||{})[r])}catch(t){t.target=r,n.push(t)}})),n.length>0)throw n;return!0},async:function(e){var n=[],r=Object.keys(t).map((function(r){return t[r].testAsync((e||{})[r]).catch((function(t){t.target=r,n.push(t)}))}));return Promise.all(r).then((function(t){if(n.length>0)throw n;return!0}))}}}(t)},passesAnyOf:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.some((function(e){return e.test(t)}))}},optional:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return e&&"string"==typeof n&&""===n.trim()||null!=n&&t.check(n),!0}}};function Mr(t){return function(e){return Array.isArray(e)&&"array"===t||null===e&&"null"===t||typeof e===t}}function Ur(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}Lr.extend({curieChain:()=>t=>Array.isArray(t)&&t[0]instanceof URL&&t.slice(1).every((t=>"string"==typeof t)),typeOf:t=>e=>typeof e===t});const Wr=Lr().schema({clear:Lr().typeOf("function"),getItem:Lr().typeOf("function"),key:Lr().typeOf("function"),length:Lr().number(),removeItem:Lr().typeOf("function"),setItem:Lr().typeOf("function")});class Br extends Error{constructor(t){Br.v8n.constructor.check(t),super(`authentication failed with code ${t.code}`),this.originalError=t.originalError,this.code=t.code}}Br.NEW_PASSWORD_REQUIRED="NEW_PASSWORD_REQUIRED",Br.INVALID_NEW_PASSWORD="INVALID_NEW_PASSWORD",Br.UNAUTHORIZED="UNAUTHORIZED",Br.UNKNOWN="UNKNOWN",Br.v8n={constructor:Lr().schema({code:Lr().passesAnyOf(Lr().exact(Br.NEW_PASSWORD_REQUIRED),Lr().exact(Br.INVALID_NEW_PASSWORD),Lr().exact(Br.UNAUTHORIZED),Lr().exact(Br.UNKNOWN))})};var qr=u(s((function(t){function e(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}t.exports=function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports}))),Hr=s((function(t){t.exports=function(t,e){return e.get?e.get.call(t):e.value},t.exports.__esModule=!0,t.exports.default=t.exports})),Jr=s((function(t){t.exports=function(t,e,n){if(!e.has(t))throw new TypeError("attempted to "+n+" private field on non-instance");return e.get(t)},t.exports.__esModule=!0,t.exports.default=t.exports})),Gr=u(s((function(t){t.exports=function(t,e){var n=Jr(t,e,"get");return Hr(t,n)},t.exports.__esModule=!0,t.exports.default=t.exports}))),Zr=new WeakMap,Kr=function(){function t(){Zr.set(this,{writable:!0,value:new Map})}var e=t.prototype;return e.key=function(t){t=Number.parseInt(t,10);for(var e=Gr(this,Zr).keys(),n=0,r=e.next();!r.done;){if(n===t)return r.value;n+=1,r=e.next()}return null},e.getItem=function(t){var e;return null!=(e=Gr(this,Zr).get(""+t))?e:null},e.setItem=function(t,e){Gr(this,Zr).set(""+t,""+e)},e.removeItem=function(t){Gr(this,Zr).delete(""+t)},e.clear=function(){Gr(this,Zr).clear()},qr(t,[{key:"length",get:function(){return Gr(this,Zr).size}}]),t}(),Qr=Kr;class Xr extends Error{constructor(t){super(),Xr.v8n.constructor.check(t),this.response=t}}Xr.v8n={constructor:Lr().instanceOf(l.Response)};var Yr=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}c((r=r.apply(t,e||[])).next())}))},ti=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n};function ei(t){const{json:e}=t,n=ti(t,["json"]);if("_links"in e){const t=e._links;e._links=Object.entries(t).reduce(((t,[e,r])=>{if(Array.isArray(r))return Object.assign(Object.assign({},t),{[e]:r});const i=new ai(Object.assign(Object.assign({},n),{path:[new URL(r.href)]})),o={delete:i.delete.bind(i),follow:i.follow.bind(i),get:i.get.bind(i),patch:i.patch.bind(i),post:i.post.bind(i),put:i.put.bind(i)};return Object.assign(Object.assign({},t),{[e]:Object.assign(Object.assign({},r),o)})}),{})}if("_embedded"in e){const t=e._embedded;e._embedded=Object.entries(t).reduce(((t,[e,r])=>Object.assign(t,{[e]:Array.isArray(r)?r.map((t=>ei(Object.assign(Object.assign({},n),{json:t})))):ei(Object.assign(Object.assign({},n),{json:r}))})),{})}return e}class ni extends l.Response{constructor(t){ni.v8n.constructor.check(t),super(t.body,t),this._console=t.console,this._fetch=t.fetch,this._cache=t.cache}json(){const t=Object.create(null,{json:{get:()=>super.json}});return Yr(this,void 0,void 0,(function*(){const e=yield t.json.call(this),n={cache:this._cache,console:this._console,fetch:this._fetch};return ei(Object.assign({json:e},n))}))}}ni.v8n={constructor:Lr().schema({cache:Wr,console:Lr().instanceOf(jr.constructor),fetch:Lr().typeOf("function")})};var ri=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}c((r=r.apply(t,e||[])).next())}))};function ii(t,e){const n=""===t?"":t+":";return"string"==typeof e?n+e:Array.isArray(e)?e.map((e=>ii(t,e))).join():Object.entries(e).map((([t,e])=>ii(n+t,e))).join()}function oi(t){return"string"==typeof t?t:Array.isArray(t)?t.map((t=>oi(t))).join():Object.entries(t).map((([t,e])=>`${t} ${e}`)).join()}class ai{constructor(t){ai.v8n.classConstructor.check(t),this._path=t.path,this._fetch=t.fetch,this._cache=t.cache,this._console=t.console}get(t){return ri(this,void 0,void 0,(function*(){ai.v8n.get.check(t);const e=yield this._resolve(),{filters:n,fields:r,offset:i,limit:o,order:a,zoom:s}=null!=t?t:{};void 0!==n&&n.forEach((t=>{[...new URLSearchParams(t).entries()].forEach((([t,n])=>e.searchParams.append(t,n)))})),void 0!==r&&e.searchParams.set("fields",r.join(",")),void 0!==i&&e.searchParams.set("offset",String(i)),void 0!==o&&e.searchParams.set("limit",String(o)),void 0!==a&&e.searchParams.set("order",oi(a)),void 0!==s&&e.searchParams.set("zoom",ii("",s));const c=yield this._fetch(new l.Request(e.toString())),u={cache:this._cache,console:this._console,fetch:this._fetch};return new ni(Object.assign(Object.assign(Object.assign({},u),c),{body:yield c.text()}))}))}put(t){return ri(this,void 0,void 0,(function*(){const e=yield this._resolve(),n=new l.Request(e.toString(),{body:JSON.stringify(t),method:"PUT"}),r=yield this._fetch(n),i={cache:this._cache,console:this._console,fetch:this._fetch};return new ni(Object.assign(Object.assign(Object.assign({},i),r),{body:yield r.text()}))}))}post(t){return ri(this,void 0,void 0,(function*(){const e=yield this._resolve(),n=new l.Request(e.toString(),{body:JSON.stringify(t),method:"POST"}),r=yield this._fetch(n),i={cache:this._cache,console:this._console,fetch:this._fetch};return new ni(Object.assign(Object.assign(Object.assign({},i),r),{body:yield r.text()}))}))}patch(t){return ri(this,void 0,void 0,(function*(){const e=yield this._resolve(),n=new l.Request(e.toString(),{body:JSON.stringify(t),method:"PATCH"}),r=yield this._fetch(n),i={cache:this._cache,console:this._console,fetch:this._fetch};return new ni(Object.assign(Object.assign(Object.assign({},i),r),{body:yield r.text()}))}))}delete(){return ri(this,void 0,void 0,(function*(){const t=yield this._resolve(),e=new l.Request(t.toString(),{method:"DELETE"}),n=yield this._fetch(e),r={cache:this._cache,console:this._console,fetch:this._fetch};return new ni(Object.assign(Object.assign(Object.assign({},r),n),{body:yield n.text()}))}))}follow(t){ai.v8n.follow.check(t);const e={cache:this._cache,console:this._console,fetch:this._fetch},n=this._path.concat(t);return new ai(Object.assign(Object.assign({},e),{path:n}))}_resolve(){return ri(this,void 0,void 0,(function*(){if(1===this._path.length)return new URL(this._path[0].toString());const[t,e]=this._path,n=`${t.toString()} > ${e}`,r={cache:this._cache,console:this._console,fetch:this._fetch};this._console.trace(`Trying to resolve ${n}...`);const i=this._cache.getItem(n);if(i){this._console.success(`Resolved ${n} to ${i.toString()} using cache.`);const t=[new URL(i),...this._path.slice(2)];return new ai(Object.assign(Object.assign({},r),{path:t}))._resolve()}const o=yield this._fetch(t.toString());if(o.ok){const t=yield o.clone().json();if(t._links[e]){const i=new URL(t._links[e].href),o=[i,...this._path.slice(2)];return this._cache.setItem(n,i.toString()),this._console.trace(`Cached ${i.toString()} for ${n}.`),this._console.success(`Resolved ${n} to ${i.toString()} online.`),new ai(Object.assign(Object.assign({},r),{path:o}))._resolve()}}throw this._console.error(`Failed to resolve ${n}.`),new Xr(o)}))}}ai.v8n={classConstructor:Lr().schema({cache:Wr,console:Lr().instanceOf(jr.constructor),fetch:Lr().typeOf("function"),path:Lr().curieChain()}),follow:Lr().string(),get:Lr().optional(Lr().schema({fields:Lr().optional(Lr().array().every.string()),filters:Lr().optional(Lr().array().every.string()),limit:Lr().optional(Lr().number()),offset:Lr().optional(Lr().number()),order:Lr().optional(Lr().passesAnyOf(Lr().string(),Lr().object(),Lr().array())),zoom:Lr().optional(Lr().passesAnyOf(Lr().string(),Lr().object(),Lr().array()))}))},ai.ResolutionError=Xr,ai.Response=ni;var si=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}c((r=r.apply(t,e||[])).next())}))};class ci extends ai{constructor(t){var e,n,r;ci.v8n.classConstructor.check(t),super({cache:null!==(e=t.cache)&&void 0!==e?e:new Qr,console:jr.create({level:t.level}).withTag("@foxy.io/sdk"),fetch:null!==(n=t.fetch)&&void 0!==n?n:l.fetch,path:[t.base]}),this.console=this._console,this.storage=null!==(r=t.storage)&&void 0!==r?r:new Qr,this.cache=this._cache,this.base=t.base}fetch(...t){return si(this,void 0,void 0,(function*(){return this._fetch(...t)}))}}ci.WHATWGResponse=l.Response,ci.WHATWGRequest=l.Request,ci.WHATWGHeaders=l.Headers,ci.whatwgFetch=l.fetch,ci.AuthError=Br,ci.Node=ai,ci.v8n={classConstructor:Lr().schema({base:Lr().instanceOf(URL),cache:Lr().optional(Wr),fetch:Lr().optional(Lr().typeOf("function")),level:Lr().optional(Lr().integer()),storage:Lr().optional(Wr)})};export{Et as $,ci as A,ge as B,Yt as C,ut as D,Rt as E,f as F,U as G,L as H,q as I,M as J,$ as K,B as L,ct as M,y as N,Gt as O,K as P,Fn as Q,xr as R,Zt as S,gt as T,_t as U,bt as V,mt as W,jt as X,St as Y,Ot as Z,h as _,ye as a,At as a0,Pt as a1,wt as a2,Dt as a3,It as a4,Lt as a5,Nt as a6,ae as a7,Lr as a8,$e as a9,Me as aa,We as ab,Ve as ac,qe as ad,hn as ae,pn as af,yn as ag,Hn as ah,Un as ai,Vn as aj,Jn as ak,or as al,ir as am,cn as an,rn as ao,me as ap,en as aq,Mn as ar,Gn as as,He as at,oe as au,br as av,kt as b,d as c,R as d,Tt as e,Jt as f,ht as g,C as h,qt as i,H as j,_ as k,st as l,Pn as m,pt as n,it as o,Kt as p,Q as q,V as r,X as s,wr as t,Z as u,N as v,F as w,W as x,et as y,tt as z};
@@ -0,0 +1,201 @@
1
+ import{D as t,r as e,e as n,g as r,f as i,h as s,o,b as a,p as l,j as c,k as d,m as h,c as u,n as p,q as _,s as f,t as m,v as y}from"./shared-33b47806.js";
2
+ /**
3
+ @license
4
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
5
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
6
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
7
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
8
+ Code distributed by Google as part of the polymer project is also
9
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
10
+ */class g{constructor(t){this.value=t.toString()}toString(){return this.value}}function P(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof g)return function(t){if(t instanceof g)return t.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${t}`)}(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}const b=function(t,...e){const n=document.createElement("template");return n.innerHTML=e.reduce(((e,n,r)=>e+P(n)+t[r+1]),t[0]),n};
11
+ /**
12
+ @license
13
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
14
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
15
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
16
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
17
+ Code distributed by Google as part of the polymer project is also
18
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
19
+ */let w,v=null,C=window.HTMLImports&&window.HTMLImports.whenReady||null;function S(t){requestAnimationFrame((function(){C?C(t):(v||(v=new Promise((t=>{w=t})),"complete"===document.readyState?w():document.addEventListener("readystatechange",(()=>{"complete"===document.readyState&&w()}))),v.then((function(){t&&t()})))}))}
20
+ /**
21
+ @license
22
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
23
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
24
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
25
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
26
+ Code distributed by Google as part of the polymer project is also
27
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
28
+ */const E="__shadyCSSCachedStyle";let T=null,O=null;class A{constructor(){this.customStyles=[],this.enqueued=!1,S((()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}enqueueDocumentValidation(){!this.enqueued&&O&&(this.enqueued=!0,S(O))}addCustomStyle(t){t.__seenByShadyCSS||(t.__seenByShadyCSS=!0,this.customStyles.push(t),this.enqueueDocumentValidation())}getStyleForCustomStyle(t){if(t[E])return t[E];let e;return e=t.getStyle?t.getStyle():t,e}processStyles(){const t=this.customStyles;for(let e=0;e<t.length;e++){const n=t[e];if(n[E])continue;const r=this.getStyleForCustomStyle(n);if(r){const t=r.__appliedElement||r;T&&T(t),n[E]=t}}return t}}A.prototype.addCustomStyle=A.prototype.addCustomStyle,A.prototype.getStyleForCustomStyle=A.prototype.getStyleForCustomStyle,A.prototype.processStyles=A.prototype.processStyles,Object.defineProperties(A.prototype,{transformCallback:{get:()=>T,set(t){T=t}},validateCallback:{get:()=>O,set(t){let e=!1;O||(e=!0),O=t,e&&this.enqueueDocumentValidation()}}});
29
+ /**
30
+ @license
31
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
32
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
33
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
34
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
35
+ Code distributed by Google as part of the polymer project is also
36
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
37
+ */
38
+ const N=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,x=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,I=/@media\s(.*)/;
39
+ /**
40
+ @license
41
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
42
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
43
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
44
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
45
+ Code distributed by Google as part of the polymer project is also
46
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
47
+ */
48
+ function L(t,e){for(let n in e)null===n?t.style.removeProperty(n):t.style.setProperty(n,e[n])}function k(t,e){const n=window.getComputedStyle(t).getPropertyValue(e);return n?n.trim():""}function R(t){const e=x.test(t)||N.test(t);return x.lastIndex=0,N.lastIndex=0,e}
49
+ /**
50
+ @license
51
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
52
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
53
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
54
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
55
+ Code distributed by Google as part of the polymer project is also
56
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
57
+ */const M=!(window.ShadyDOM&&window.ShadyDOM.inUse);let D,F;function z(t){D=(!t||!t.shimcssproperties)&&(M||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(F=window.ShadyCSS.cssBuild);const H=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?D=window.ShadyCSS.nativeCss:window.ShadyCSS?(z(window.ShadyCSS),window.ShadyCSS=void 0):z(window.WebComponents&&window.WebComponents.flags);const B=D,j=new A;
58
+ /**
59
+ @license
60
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
61
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
62
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
63
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
64
+ Code distributed by Google as part of the polymer project is also
65
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
66
+ */window.ShadyCSS||(window.ShadyCSS={prepareTemplate(t,e,n){},prepareTemplateDom(t,e){},prepareTemplateStyles(t,e,n){},styleSubtree(t,e){j.processStyles(),L(t,e)},styleElement(t){j.processStyles()},styleDocument(t){j.processStyles(),L(document.body,t)},getComputedStyleValue:(t,e)=>k(t,e),flushCustomStyles(){},nativeCss:B,nativeShadow:M,cssBuild:F,disableRuntime:H}),window.ShadyCSS.CustomStyleInterface=j;function Y(e){return t.import(e)}function $(t){let n=t.body?t.body:t;const r=e(n.textContent,t.baseURI),i=document.createElement("style");return i.textContent=r,i}function q(t){const e=t.trim().split(/\s+/),n=[];for(let t=0;t<e.length;t++)n.push(...J(e[t]));return n}function J(t){const e=Y(t);if(!e)return console.warn("Could not find style data in module named",t),[];if(void 0===e._styles){const t=[];t.push(...U(e));const n=e.querySelector("template");n&&t.push(...V(n,e.assetpath)),e._styles=t}return e._styles}function V(t,n){if(!t._styles){const r=[],i=t.content.querySelectorAll("style");for(let t=0;t<i.length;t++){let s=i[t],o=s.getAttribute("include");o&&r.push(...q(o).filter((function(t,e,n){return n.indexOf(t)===e}))),n&&(s.textContent=e(s.textContent,n)),r.push(s)}t._styles=r}return t._styles}function U(t){const e=[],n=t.querySelectorAll("link[rel=import][type~=css]");for(let t=0;t<n.length;t++){let r=n[t];if(r.import){const t=r.import,n=r.hasAttribute("shady-unscoped");if(n&&!t._unscopedStyle){const e=$(t);e.setAttribute("shady-unscoped",""),t._unscopedStyle=e}else t._style||(t._style=$(t));e.push(n?t._unscopedStyle:t._style)}}return e}function X(t){let e=Y(t);if(e&&void 0===e._cssText){let t=function(t){let e="",n=U(t);for(let t=0;t<n.length;t++)e+=n[t].textContent;return e}
67
+ /**
68
+ @license
69
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
70
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
71
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
72
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
73
+ Code distributed by Google as part of the polymer project is also
74
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
75
+ */(e),n=e.querySelector("template");n&&(t+=function(t,e){let n="";const r=V(t,e);for(let t=0;t<r.length;t++){let e=r[t];e.parentNode&&e.parentNode.removeChild(e),n+=e.textContent}return n}(n,e.assetpath)),e._cssText=t||null}return e||console.warn("Could not find style data in module named",t),e&&e._cssText||""}const G=window.ShadyCSS.CustomStyleInterface;class W extends HTMLElement{constructor(){super(),this._style=null,G.addCustomStyle(this)}getStyle(){if(this._style)return this._style;const t=this.querySelector("style");if(!t)return null;this._style=t;const e=t.getAttribute("include");return e&&(t.removeAttribute("include"),t.textContent=function(t){let e=t.trim().split(/\s+/),n="";for(let t=0;t<e.length;t++)n+=X(e[t]);return n}(e)+t.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this),this._style}}window.customElements.define("custom-style",W);
76
+ /**
77
+ @license
78
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
79
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
80
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
81
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
82
+ Code distributed by Google as part of the polymer project is also
83
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
84
+ */
85
+ let Z=0;const K=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let n=Z++;return function(r){let i=r.__mixinSet;if(i&&i[n])return r;let s=e,o=s.get(r);if(!o){o=t(r),s.set(r,o);let e=Object.create(o.__mixinSet||i||null);e[n]=!0,o.__mixinSet=e}return o}},Q=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?t=>ShadyDOM.patch(t):t=>t;
86
+ /**
87
+ @license
88
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
89
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
90
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
91
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
92
+ Code distributed by Google as part of the polymer project is also
93
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
94
+ */
95
+ /**
96
+ @license
97
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
98
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
99
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
100
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
101
+ Code distributed by Google as part of the polymer project is also
102
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
103
+ */
104
+ function tt(t){return t.indexOf(".")>=0}function et(t){let e=t.indexOf(".");return-1===e?t:t.slice(0,e)}function nt(t,e){return 0===t.indexOf(e+".")}function rt(t,e){return 0===e.indexOf(t+".")}function it(t,e,n){return e+n.slice(t.length)}function st(t,e){return t===e||nt(t,e)||rt(t,e)}function ot(t){if(Array.isArray(t)){let e=[];for(let n=0;n<t.length;n++){let r=t[n].toString().split(".");for(let t=0;t<r.length;t++)e.push(r[t])}return e.join(".")}return t}function at(t){return Array.isArray(t)?ot(t).split("."):t.toString().split(".")}function lt(t,e,n){let r=t,i=at(e);for(let t=0;t<i.length;t++){if(!r)return;r=r[i[t]]}return n&&(n.path=i.join(".")),r}function ct(t,e,n){let r=t,i=at(e),s=i[i.length-1];if(i.length>1){for(let t=0;t<i.length-1;t++){if(r=r[i[t]],!r)return}r[s]=n}else r[e]=n;return i.join(".")}
105
+ /**
106
+ @license
107
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
108
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
109
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
110
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
111
+ Code distributed by Google as part of the polymer project is also
112
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
113
+ */const dt={},ht=/-[a-z]/g,ut=/([A-Z])/g;function pt(t){return dt[t]||(dt[t]=t.indexOf("-")<0?t:t.replace(ht,(t=>t[1].toUpperCase())))}function _t(t){return dt[t]||(dt[t]=t.replace(ut,"-$1").toLowerCase())}
114
+ /**
115
+ @license
116
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
117
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
118
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
119
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
120
+ Code distributed by Google as part of the polymer project is also
121
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
122
+ */let ft=0,mt=0,yt=[],gt=0,Pt=!1,bt=document.createTextNode("");new window.MutationObserver((function(){Pt=!1;const t=yt.length;for(let e=0;e<t;e++){let t=yt[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}yt.splice(0,t),mt+=t})).observe(bt,{characterData:!0});const wt={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},vt={run:t=>window.requestAnimationFrame(t),cancel(t){window.cancelAnimationFrame(t)}},Ct={run:t=>window.requestIdleCallback?window.requestIdleCallback(t):window.setTimeout(t,16),cancel(t){window.cancelIdleCallback?window.cancelIdleCallback(t):window.clearTimeout(t)}},St={run:t=>(Pt||(Pt=!0,bt.textContent=gt++),yt.push(t),ft++),cancel(t){const e=t-mt;if(e>=0){if(!yt[e])throw new Error("invalid async handle: "+t);yt[e]=null}}},Et=St,Tt=K((t=>class extends t{static createProperties(t){const e=this.prototype;for(let n in t)n in e||e._createPropertyAccessor(n)}static attributeNameForProperty(t){return t.toLowerCase()}static typeForProperty(t){}_createPropertyAccessor(t,e){this._addPropertyToAttributeMap(t),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[t]||(this.__dataHasAccessor[t]=!0,this._definePropertyAccessor(t,e))}_addPropertyToAttributeMap(t){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let e=this.__dataAttributes[t];return e||(e=this.constructor.attributeNameForProperty(t),this.__dataAttributes[e]=t),e}_definePropertyAccessor(t,e){Object.defineProperty(this,t,{get(){return this.__data[t]},set:e?function(){}:function(e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let t in this.__dataHasAccessor)this.hasOwnProperty(t)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[t]=this[t],delete this[t])}_initializeInstanceProperties(t){Object.assign(this,t)}_setProperty(t,e){this._setPendingProperty(t,e)&&this._invalidateProperties()}_getProperty(t){return this.__data[t]}_setPendingProperty(t,e,n){let r=this.__data[t],i=this._shouldPropertyChange(t,e,r);return i&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=r),this.__data[t]=e,this.__dataPending[t]=e),i}_isPropertyPending(t){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(t))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,Et.run((()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())})))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const t=this.__data,e=this.__dataPending,n=this.__dataOld;this._shouldPropertiesChange(t,e,n)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(t,e,n)),this.__dataCounter--}_shouldPropertiesChange(t,e,n){return Boolean(e)}_propertiesChanged(t,e,n){}_shouldPropertyChange(t,e,n){return n!==e&&(n==n||e==e)}attributeChangedCallback(t,e,n,r){e!==n&&this._attributeToProperty(t,n),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,n,r)}_attributeToProperty(t,e,n){if(!this.__serializing){const r=this.__dataAttributes,i=r&&r[t]||t;this[i]=this._deserializeValue(e,n||this.constructor.typeForProperty(i))}}_propertyToAttribute(t,e,n){this.__serializing=!0,n=arguments.length<3?this[t]:n,this._valueToNodeAttribute(this,n,e||this.constructor.attributeNameForProperty(t)),this.__serializing=!1}_valueToNodeAttribute(t,e,n){const r=this._serializeValue(e);"class"!==n&&"name"!==n&&"slot"!==n||(t=Q(t)),void 0===r?t.removeAttribute(n):t.setAttribute(n,r)}_serializeValue(t){return"boolean"==typeof t?t?"":void 0:null!=t?t.toString():void 0}_deserializeValue(t,e){switch(e){case Boolean:return null!==t;case Number:return Number(t);default:return t}}})),Ot={};let At=HTMLElement.prototype;for(;At;){let t=Object.getOwnPropertyNames(At);for(let e=0;e<t.length;e++)Ot[t[e]]=!0;At=Object.getPrototypeOf(At)}const Nt=K((t=>{const e=Tt(t);return class extends e{static createPropertiesForAttributes(){let t=this.observedAttributes;for(let e=0;e<t.length;e++)this.prototype._createPropertyAccessor(pt(t[e]))}static attributeNameForProperty(t){return _t(t)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(t){for(let e in t)this._setProperty(e,t[e])}_ensureAttribute(t,e){const n=this;n.hasAttribute(t)||this._valueToNodeAttribute(n,e,t)}_serializeValue(t){if("object"==typeof t){if(t instanceof Date)return t.toString();if(t)try{return JSON.stringify(t)}catch(t){return""}}return super._serializeValue(t)}_deserializeValue(t,e){let n;switch(e){case Object:try{n=JSON.parse(t)}catch(e){n=t}break;case Array:try{n=JSON.parse(t)}catch(e){n=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${t}`)}break;case Date:n=isNaN(t)?String(t):Number(t),n=new Date(n);break;default:n=super._deserializeValue(t,e)}return n}_definePropertyAccessor(t,e){!function(t,e){if(!Ot[e]){let n=t[e];void 0!==n&&(t.__data?t._setPendingProperty(e,n):(t.__dataProto?t.hasOwnProperty(JSCompiler_renameProperty("__dataProto",t))||(t.__dataProto=Object.create(t.__dataProto)):t.__dataProto={},t.__dataProto[e]=n))}}(this,t),super._definePropertyAccessor(t,e)}_hasAccessor(t){return this.__dataHasAccessor&&this.__dataHasAccessor[t]}_isPropertyPending(t){return Boolean(this.__dataPending&&t in this.__dataPending)}}})),xt={"dom-if":!0,"dom-repeat":!0};
123
+ /**
124
+ @license
125
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
126
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
127
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
128
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
129
+ Code distributed by Google as part of the polymer project is also
130
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
131
+ */let It=!1,Lt=!1;function kt(t){(function(){if(!It){It=!0;const t=document.createElement("textarea");t.placeholder="a",Lt=t.placeholder===t.textContent}return Lt})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}function Rt(t){let e=t.getAttribute("is");if(e&&xt[e]){let n=t;for(n.removeAttribute("is"),t=n.ownerDocument.createElement(e),n.parentNode.replaceChild(t,n),t.appendChild(n);n.attributes.length;)t.setAttribute(n.attributes[0].name,n.attributes[0].value),n.removeAttribute(n.attributes[0].name)}return t}function Mt(t,e){let n=e.parentInfo&&Mt(t,e.parentInfo);if(!n)return t;for(let t=n.firstChild,r=0;t;t=t.nextSibling)if(e.parentIndex===r++)return t}function Dt(t,e,n,r){r.id&&(e[r.id]=n)}function Ft(t,e,n){if(n.events&&n.events.length)for(let r,i=0,s=n.events;i<s.length&&(r=s[i]);i++)t._addMethodEventListenerToNode(e,r.name,r.value,t)}function zt(t,e,n,r){n.templateInfo&&(e._templateInfo=n.templateInfo,e._parentTemplateInfo=r)}const Ht=K((t=>class extends t{static _parseTemplate(t,e){if(!t._templateInfo){let n=t._templateInfo={};n.nodeInfoList=[],n.nestedTemplate=Boolean(e),n.stripWhiteSpace=e&&e.stripWhiteSpace||t.hasAttribute("strip-whitespace"),this._parseTemplateContent(t,n,{parent:null})}return t._templateInfo}static _parseTemplateContent(t,e,n){return this._parseTemplateNode(t.content,e,n)}static _parseTemplateNode(t,e,n){let r=!1,i=t;return"template"!=i.localName||i.hasAttribute("preserve-content")?"slot"===i.localName&&(e.hasInsertionPoint=!0):r=this._parseTemplateNestedTemplate(i,e,n)||r,kt(i),i.firstChild&&this._parseTemplateChildNodes(i,e,n),i.hasAttributes&&i.hasAttributes()&&(r=this._parseTemplateNodeAttributes(i,e,n)||r),r||n.noted}static _parseTemplateChildNodes(t,e,n){if("script"!==t.localName&&"style"!==t.localName)for(let r,i=t.firstChild,s=0;i;i=r){if("template"==i.localName&&(i=Rt(i)),r=i.nextSibling,i.nodeType===Node.TEXT_NODE){let n=r;for(;n&&n.nodeType===Node.TEXT_NODE;)i.textContent+=n.textContent,r=n.nextSibling,t.removeChild(n),n=r;if(e.stripWhiteSpace&&!i.textContent.trim()){t.removeChild(i);continue}}let o={parentIndex:s,parentInfo:n};this._parseTemplateNode(i,e,o)&&(o.infoIndex=e.nodeInfoList.push(o)-1),i.parentNode&&s++}}static _parseTemplateNestedTemplate(t,e,n){let r=t,i=this._parseTemplate(r,e);return(i.content=r.content.ownerDocument.createDocumentFragment()).appendChild(r.content),n.templateInfo=i,!0}static _parseTemplateNodeAttributes(t,e,n){let r=!1,i=Array.from(t.attributes);for(let s,o=i.length-1;s=i[o];o--)r=this._parseTemplateNodeAttribute(t,e,n,s.name,s.value)||r;return r}static _parseTemplateNodeAttribute(t,e,n,r,i){return"on-"===r.slice(0,3)?(t.removeAttribute(r),n.events=n.events||[],n.events.push({name:r.slice(3),value:i}),!0):"id"===r&&(n.id=i,!0)}static _contentForTemplate(t){let e=t._templateInfo;return e&&e.content||t.content}_stampTemplate(t,e){t&&!t.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t);let n=(e=e||this.constructor._parseTemplate(t)).nodeInfoList,r=e.content||t.content,i=document.importNode(r,!0);i.__noInsertionPoint=!e.hasInsertionPoint;let s=i.nodeList=new Array(n.length);i.$={};for(let t,r=0,o=n.length;r<o&&(t=n[r]);r++){let n=s[r]=Mt(i,t);Dt(0,i.$,n,t),zt(0,n,t,e),Ft(this,n,t)}return i=i,i}_addMethodEventListenerToNode(t,e,n,r){let i=function(t,e,n){return t=t._methodHost||t,function(e){t[n]?t[n](e,e.detail):console.warn("listener method `"+n+"` not defined")}}(r=r||t,0,n);return this._addEventListenerToNode(t,e,i),i}_addEventListenerToNode(t,e,n){t.addEventListener(e,n)}_removeEventListenerFromNode(t,e,n){t.removeEventListener(e,n)}}));
132
+ /**
133
+ * @fileoverview
134
+ * @suppress {checkPrototypalTypes}
135
+ * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
136
+ * This code may only be used under the BSD style license found at
137
+ * http://polymer.github.io/LICENSE.txt The complete set of authors may be found
138
+ * at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
139
+ * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
140
+ * Google as part of the polymer project is also subject to an additional IP
141
+ * rights grant found at http://polymer.github.io/PATENTS.txt
142
+ */let Bt=0;const jt=[],Yt={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},$t=/[A-Z]/;function qt(t,e,n){let r=t[e];if(r){if(!t.hasOwnProperty(e)&&(r=t[e]=Object.create(t[e]),n))for(let t in r){let e=r[t],n=r[t]=Array(e.length);for(let t=0;t<e.length;t++)n[t]=e[t]}}else r=t[e]={};return r}function Jt(t,e,n,r,i,s){if(e){let o=!1;const a=Bt++;for(let l in n){let c=e[i?et(l):l];if(c)for(let e,d=0,h=c.length;d<h&&(e=c[d]);d++)e.info&&e.info.lastRun===a||i&&!Ut(l,e.trigger)||(e.info&&(e.info.lastRun=a),e.fn(t,l,n,r,e.info,i,s),o=!0)}return o}return!1}function Vt(t,e,n,r,i,s,o,a){let l=!1,c=e[o?et(r):r];if(c)for(let e,d=0,h=c.length;d<h&&(e=c[d]);d++)e.info&&e.info.lastRun===n||o&&!Ut(r,e.trigger)||(e.info&&(e.info.lastRun=n),e.fn(t,r,i,s,e.info,o,a),l=!0);return l}function Ut(t,e){if(e){let n=e.name;return n==t||!(!e.structured||!nt(n,t))||!(!e.wildcard||!rt(n,t))}return!0}function Xt(t,e,n,r,i){let s="string"==typeof i.method?t[i.method]:i.method,o=i.property;s?s.call(t,t.__data[o],r[o]):i.dynamicFn||console.warn("observer method `"+i.method+"` not defined")}function Gt(t,e,n){let r=et(e);if(r!==e){return Wt(t,_t(r)+"-changed",n[e],e),!0}return!1}function Wt(t,e,n,r){let i={value:n,queueProperty:!0};r&&(i.path=r),Q(t).dispatchEvent(new CustomEvent(e,{detail:i}))}function Zt(t,e,n,r,i,s){let o=(s?et(e):e)!=e?e:null,a=o?lt(t,o):t.__data[e];o&&void 0===a&&(a=n[e]),Wt(t,i.eventName,a,o)}function Kt(t,e,n,r,i){let o=t.__data[e];s&&(o=s(o,i.attrName,"attribute",t)),t._propertyToAttribute(e,i.attrName,o)}function Qt(t,e,n,r){let i=t[Yt.COMPUTE];if(i)if(o){Bt++;const s=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const n=t[Yt.COMPUTE];let r,{counts:i,ready:s,total:o}=function(t){const e=t.__computeInfo,n={},r=t[Yt.COMPUTE],i=[];let s=0;for(let t in e){const r=e[t];s+=n[t]=r.args.filter((t=>!t.literal)).length+(r.dynamicFn?1:0)}for(let t in r)e[t]||i.push(t);return{counts:n,ready:i,total:s}}(t);for(;r=s.shift();){e.set(r,e.size);const t=n[r];t&&t.forEach((t=>{const e=t.info.methodInfo;--o,0==--i[e]&&s.push(e)}))}if(0!==o){const e=t;console.warn(`Computed graph for ${e.localName} incomplete; circular?`)}t.constructor.__orderedComputedDeps=e}return e}(t),o=[];for(let t in e)ee(t,i,o,s,r);let a;for(;a=o.shift();)ne(t,"",e,n,a)&&ee(a.methodInfo,i,o,s,r);Object.assign(n,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let s=e;for(;Jt(t,i,s,n,r);)Object.assign(n,t.__dataOld),Object.assign(e,t.__dataPending),s=t.__dataPending,t.__dataPending=null}}const te=(t,e,n)=>{let r=0,i=e.length-1,s=-1;for(;r<=i;){const o=r+i>>1,a=n.get(e[o].methodInfo)-n.get(t.methodInfo);if(a<0)r=o+1;else{if(!(a>0)){s=o;break}i=o-1}}s<0&&(s=i+1),e.splice(s,0,t)},ee=(t,e,n,r,i)=>{const s=e[i?et(t):t];if(s)for(let e=0;e<s.length;e++){const o=s[e];o.info.lastRun===Bt||i&&!Ut(t,o.trigger)||(o.info.lastRun=Bt,te(o.info,n,r))}};function ne(t,e,n,r,i){let s=ce(t,e,n,r,i);if(s===jt)return!1;let o=i.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[o]?t._setPendingProperty(o,s,!0):(t[o]=s,!1)}function re(t,e,n,r,i,s,o){n.bindings=n.bindings||[];let a={kind:r,target:i,parts:s,literal:o,isCompound:1!==s.length};if(n.bindings.push(a),function(t){return Boolean(t.target)&&"attribute"!=t.kind&&"text"!=t.kind&&!t.isCompound&&"{"===t.parts[0].mode}(a)){let{event:t,negate:e}=a.parts[0];a.listenerEvent=t||_t(i)+"-changed",a.listenerNegate=e}let l=e.nodeInfoList.length;for(let n=0;n<a.parts.length;n++){let r=a.parts[n];r.compoundIndex=n,ie(t,e,a,r,l)}}function ie(t,e,n,r,i){if(!r.literal)if("attribute"===n.kind&&"-"===n.target[0])console.warn("Cannot set attribute "+n.target+' because "-" is not a valid attribute starting character');else{let s=r.dependencies,o={index:i,binding:n,part:r,evaluator:t};for(let n=0;n<s.length;n++){let r=s[n];"string"==typeof r&&(r=_e(r),r.wildcard=!0),t._addTemplatePropertyEffect(e,r.rootProperty,{fn:se,info:o,trigger:r})}}}function se(t,e,n,r,i,o,a){let l=a[i.index],c=i.binding,d=i.part;if(o&&d.source&&e.length>d.source.length&&"property"==c.kind&&!c.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[c.target]){let r=n[e];e=it(d.source,c.target,e),l._setPendingPropertyOrPath(e,r,!1,!0)&&t._enqueueClient(l)}else{let a=i.evaluator._evaluateBinding(t,d,e,n,r,o);a!==jt&&function(t,e,n,r,i){i=function(t,e,n,r){if(n.isCompound){let i=t.__dataCompoundStorage[n.target];i[r.compoundIndex]=e,e=i.join("")}"attribute"!==n.kind&&("textContent"!==n.target&&("value"!==n.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e));return e}(e,i,n,r),s&&(i=s(i,n.target,n.kind,e));if("attribute"==n.kind)t._valueToNodeAttribute(e,i,n.target);else{let r=n.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[r]?e[Yt.READ_ONLY]&&e[Yt.READ_ONLY][r]||e._setPendingProperty(r,i)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,r,i)}}(t,l,c,d,a)}}function oe(t,e){if(e.isCompound){let n=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),r=e.parts,i=new Array(r.length);for(let t=0;t<r.length;t++)i[t]=r[t].literal;let s=e.target;n[s]=i,e.literal&&"property"==e.kind&&("className"===s&&(t=Q(t)),t[s]=e.literal)}}function ae(t,e,n){if(n.listenerEvent){let r=n.parts[0];t.addEventListener(n.listenerEvent,(function(t){!function(t,e,n,r,i){let s,o=t.detail,a=o&&o.path;a?(r=it(n,r,a),s=o&&o.value):s=t.currentTarget[n],s=i?!s:s,e[Yt.READ_ONLY]&&e[Yt.READ_ONLY][r]||!e._setPendingPropertyOrPath(r,s,!0,Boolean(a))||o&&o.queueProperty||e._invalidateProperties()}(t,e,n.target,r.source,r.negate)}))}}function le(t,e,n,r,i,s){s=e.static||s&&("object"!=typeof s||s[e.methodName]);let o={methodName:e.methodName,args:e.args,methodInfo:i,dynamicFn:s};for(let i,s=0;s<e.args.length&&(i=e.args[s]);s++)i.literal||t._addPropertyEffect(i.rootProperty,n,{fn:r,info:o,trigger:i});return s&&t._addPropertyEffect(e.methodName,n,{fn:r,info:o}),o}function ce(t,e,n,r,i){let s=t._methodHost||t,o=s[i.methodName];if(o){let r=t._marshalArgs(i.args,e,n);return r===jt?jt:o.apply(s,r)}i.dynamicFn||console.warn("method `"+i.methodName+"` not defined")}const de=[],he=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?((?:[a-zA-Z_$][\\w.:$\\-*]*)\\s*(?:\\(\\s*(?:(?:(?:((?:[a-zA-Z_$][\\w.:$\\-*]*)|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)(?:,\\s*(?:((?:[a-zA-Z_$][\\w.:$\\-*]*)|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*))*)?)\\)\\s*)?)(?:]]|}})","g");function ue(t){let e="";for(let n=0;n<t.length;n++){e+=t[n].literal||""}return e}function pe(t){let e=t.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:de};if(e[2].trim()){return function(t,e){return e.args=t.map((function(t){let n=_e(t);return n.literal||(e.static=!1),n}),this),e}(e[2].replace(/\\,/g,"&comma;").split(","),t)}return t}return null}function _e(t){let e=t.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),n={name:e,value:"",literal:!1},r=e[0];switch("-"===r&&(r=e[1]),r>="0"&&r<="9"&&(r="#"),r){case"'":case'"':n.value=e.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(e),n.literal=!0}return n.literal||(n.rootProperty=et(e),n.structured=tt(e),n.structured&&(n.wildcard=".*"==e.slice(-2),n.wildcard&&(n.name=e.slice(0,-2)))),n}function fe(t,e,n){let r=lt(t,n);return void 0===r&&(r=e[n]),r}function me(t,e,r,i){const s={indexSplices:i};n&&!t._overrideLegacyUndefined&&(e.splices=s),t.notifyPath(r+".splices",s),t.notifyPath(r+".length",e.length),n&&!t._overrideLegacyUndefined&&(s.indexSplices=[])}function ye(t,e,n,r,i,s){me(t,e,n,[{index:r,addedCount:i,removed:s,object:e,type:"splice"}])}const ge=K((t=>{const e=Ht(Nt(t));return class extends e{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return Yt}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(Pe.length){let t=Pe[Pe.length-1];t._enqueueClient(this),this.__dataHost=t}}_initializeProtoProperties(t){this.__data=Object.create(t),this.__dataPending=Object.create(t),this.__dataOld={}}_initializeInstanceProperties(t){let e=this[Yt.READ_ONLY];for(let n in t)e&&e[n]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=t[n])}_addPropertyEffect(t,e,n){this._createPropertyAccessor(t,e==Yt.READ_ONLY);let r=qt(this,e,!0)[t];r||(r=this[e][t]=[]),r.push(n)}_removePropertyEffect(t,e,n){let r=qt(this,e,!0)[t],i=r.indexOf(n);i>=0&&r.splice(i,1)}_hasPropertyEffect(t,e){let n=this[e];return Boolean(n&&n[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,Yt.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,Yt.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,Yt.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,Yt.COMPUTE)}_setPendingPropertyOrPath(t,e,n,r){if(r||et(Array.isArray(t)?t[0]:t)!==t){if(!r){let n=lt(this,t);if(!(t=ct(this,t,e))||!super._shouldPropertyChange(t,e,n))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(t,e,n))return function(t,e,n){let r=t.__dataLinkedPaths;if(r){let i;for(let s in r){let o=r[s];rt(s,e)?(i=it(s,o,e),t._setPendingPropertyOrPath(i,n,!0,!0)):rt(o,e)&&(i=it(o,s,e),t._setPendingPropertyOrPath(i,n,!0,!0))}}}(this,t,e),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[t])return this._setPendingProperty(t,e,n);this[t]=e}return!1}_setUnmanagedPropertyToNode(t,e,n){n===t[e]&&"object"!=typeof n||("className"===e&&(t=Q(t)),t[e]=n)}_setPendingProperty(t,e,n){let r=this.__dataHasPaths&&tt(t),i=r?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,i[t])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),t in this.__dataOld||(this.__dataOld[t]=this.__data[t]),r?this.__dataTemp[t]=e:this.__data[t]=e,this.__dataPending[t]=e,(r||this[Yt.NOTIFY]&&this[Yt.NOTIFY][t])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[t]=n),!0)}_setProperty(t,e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(t){this.__dataPendingClients=this.__dataPendingClients||[],t!==this&&this.__dataPendingClients.push(t)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let t=this.__dataPendingClients;if(t){this.__dataPendingClients=null;for(let e=0;e<t.length;e++){let n=t[e];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(t,e){for(let n in t)!e&&this[Yt.READ_ONLY]&&this[Yt.READ_ONLY][n]||this._setPendingPropertyOrPath(n,t[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(t,e,n){let r,i=this.__dataHasPaths;this.__dataHasPaths=!1,Qt(this,e,n,i),r=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,n,i),this._flushClients(),Jt(this,this[Yt.REFLECT],e,n,i),Jt(this,this[Yt.OBSERVE],e,n,i),r&&function(t,e,n,r,i){let s,o,a=t[Yt.NOTIFY],l=Bt++;for(let o in e)e[o]&&(a&&Vt(t,a,l,o,n,r,i)||i&&Gt(t,o,n))&&(s=!0);s&&(o=t.__dataHost)&&o._invalidateProperties&&o._invalidateProperties()}(this,r,e,n,i),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,n){this[Yt.PROPAGATE]&&Jt(this,this[Yt.PROPAGATE],t,e,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,n)}_runEffectsForTemplate(t,e,n,r){const i=(e,r)=>{Jt(this,t.propertyEffects,e,n,r,t.nodeList);for(let i=t.firstChild;i;i=i.nextSibling)this._runEffectsForTemplate(i,e,n,r)};t.runEffects?t.runEffects(i,e,r):i(e,r)}linkPaths(t,e){t=ot(t),e=ot(e),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[t]=e}unlinkPaths(t){t=ot(t),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[t]}notifySplices(t,e){let n={path:""};me(this,lt(this,t,n),n.path,e)}get(t,e){return lt(e||this,t)}set(t,e,n){n?ct(n,t,e):this[Yt.READ_ONLY]&&this[Yt.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let n={path:""},r=lt(this,t,n),i=r.length,s=r.push(...e);return e.length&&ye(this,r,n.path,i,e.length,[]),s}pop(t){let e={path:""},n=lt(this,t,e),r=Boolean(n.length),i=n.pop();return r&&ye(this,n,e.path,n.length,0,[i]),i}splice(t,e,n,...r){let i,s={path:""},o=lt(this,t,s);return e<0?e=o.length-Math.floor(-e):e&&(e=Math.floor(e)),i=2===arguments.length?o.splice(e):o.splice(e,n,...r),(r.length||i.length)&&ye(this,o,s.path,e,r.length,i),i}shift(t){let e={path:""},n=lt(this,t,e),r=Boolean(n.length),i=n.shift();return r&&ye(this,n,e.path,0,0,[i]),i}unshift(t,...e){let n={path:""},r=lt(this,t,n),i=r.unshift(...e);return e.length&&ye(this,r,n.path,0,e.length,[]),i}notifyPath(t,e){let n;if(1==arguments.length){let r={path:""};e=lt(this,t,r),n=r.path}else n=Array.isArray(t)?ot(t):t;this._setPendingPropertyOrPath(n,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var n;this._addPropertyEffect(t,Yt.READ_ONLY),e&&(this["_set"+(n=t,n[0].toUpperCase()+n.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,n){let r={property:t,method:e,dynamicFn:Boolean(n)};this._addPropertyEffect(t,Yt.OBSERVE,{fn:Xt,info:r,trigger:{name:t}}),n&&this._addPropertyEffect(e,Yt.OBSERVE,{fn:Xt,info:r,trigger:{name:e}})}_createMethodObserver(t,e){let n=pe(t);if(!n)throw new Error("Malformed observer expression '"+t+"'");le(this,n,Yt.OBSERVE,ce,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,Yt.NOTIFY,{fn:Zt,info:{eventName:_t(t)+"-changed",property:t}})}_createReflectedProperty(t){let e=this.constructor.attributeNameForProperty(t);"-"===e[0]?console.warn("Property "+t+" cannot be reflected to attribute "+e+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(t,Yt.REFLECT,{fn:Kt,info:{attrName:e}})}_createComputedProperty(t,e,n){let r=pe(e);if(!r)throw new Error("Malformed computed expression '"+e+"'");const i=le(this,r,Yt.COMPUTE,ne,t,n);qt(this,"__computeInfo")[t]=i}_marshalArgs(t,e,r){const i=this.__data,s=[];for(let o=0,a=t.length;o<a;o++){let{name:a,structured:l,wildcard:c,value:d,literal:h}=t[o];if(!h)if(c){const t=rt(a,e),n=fe(i,r,t?e:a);d={path:t?e:a,value:n,base:t?lt(i,a):n}}else d=l?fe(i,r,a):i[a];if(n&&!this._overrideLegacyUndefined&&void 0===d&&t.length>1)return jt;s[o]=d}return s}static addPropertyEffect(t,e,n){this.prototype._addPropertyEffect(t,e,n)}static createPropertyObserver(t,e,n){this.prototype._createPropertyObserver(t,e,n)}static createMethodObserver(t,e){this.prototype._createMethodObserver(t,e)}static createNotifyingProperty(t){this.prototype._createNotifyingProperty(t)}static createReadOnlyProperty(t,e){this.prototype._createReadOnlyProperty(t,e)}static createReflectedProperty(t){this.prototype._createReflectedProperty(t)}static createComputedProperty(t,e,n){this.prototype._createComputedProperty(t,e,n)}static bindTemplate(t){return this.prototype._bindTemplate(t)}_bindTemplate(t,e){let n=this.constructor._parseTemplate(t),r=this.__preBoundTemplateInfo==n;if(!r)for(let t in n.propertyEffects)this._createPropertyAccessor(t);if(e)if(n=Object.create(n),n.wasPreBound=r,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,r=e.lastChild;n.parent=e,e.lastChild=n,n.previousSibling=r,r?r.nextSibling=n:e.firstChild=n}else this.__templateInfo=n;else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(t,e,n){(t.hostProps=t.hostProps||{})[e]=!0;let r=t.propertyEffects=t.propertyEffects||{};(r[e]=r[e]||[]).push(n)}_stampTemplate(t,e){e=e||this._bindTemplate(t,!0),Pe.push(this);let n=super._stampTemplate(t,e);if(Pe.pop(),e.nodeList=n.nodeList,!e.wasPreBound){let t=e.childNodes=[];for(let e=n.firstChild;e;e=e.nextSibling)t.push(e)}return n.templateInfo=e,function(t,e){let{nodeList:n,nodeInfoList:r}=e;if(r.length)for(let e=0;e<r.length;e++){let i=r[e],s=n[e],o=i.bindings;if(o)for(let e=0;e<o.length;e++){let n=o[e];oe(s,n),ae(s,t,n)}s.__dataHost=t}}(this,e),this.__dataClientsReady&&(this._runEffectsForTemplate(e,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(t){const e=t.templateInfo,{previousSibling:n,nextSibling:r,parent:i}=e;n?n.nextSibling=r:i&&(i.firstChild=r),r?r.previousSibling=n:i&&(i.lastChild=n),e.nextSibling=e.previousSibling=null;let s=e.childNodes;for(let t=0;t<s.length;t++){let e=s[t];Q(Q(e).parentNode).removeChild(e)}}static _parseTemplateNode(t,n,r){let i=e._parseTemplateNode.call(this,t,n,r);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,n);e&&(t.textContent=ue(e)||" ",re(this,n,r,"text","textContent",e),i=!0)}return i}static _parseTemplateNodeAttribute(t,n,r,i,s){let o=this._parseBindings(s,n);if(o){let e=i,s="property";$t.test(i)?s="attribute":"$"==i[i.length-1]&&(i=i.slice(0,-1),s="attribute");let a=ue(o);return a&&"attribute"==s&&("class"==i&&t.hasAttribute("class")&&(a+=" "+t.getAttribute(i)),t.setAttribute(i,a)),"attribute"==s&&"disable-upgrade$"==e&&t.setAttribute(i,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===s&&(i=pt(i)),re(this,n,r,s,i,o,a),!0}return e._parseTemplateNodeAttribute.call(this,t,n,r,i,s)}static _parseTemplateNestedTemplate(t,n,s){let o=e._parseTemplateNestedTemplate.call(this,t,n,s);const a=t.parentNode,l=s.templateInfo,c="dom-if"===a.localName,d="dom-repeat"===a.localName;r&&(c||d)&&(a.removeChild(t),(s=s.parentInfo).templateInfo=l,s.noted=!0,o=!1);let h=l.hostProps;if(i&&c)h&&(n.hostProps=Object.assign(n.hostProps||{},h),r||(s.parentInfo.noted=!0));else{let t="{";for(let e in h){re(this,n,s,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}}return o}static _parseBindings(t,e){let n,r=[],i=0;for(;null!==(n=he.exec(t));){n.index>i&&r.push({literal:t.slice(i,n.index)});let s=n[1][0],o=Boolean(n[2]),a=n[3].trim(),l=!1,c="",d=-1;"{"==s&&(d=a.indexOf("::"))>0&&(c=a.substring(d+2),a=a.substring(0,d),l=!0);let h=pe(a),u=[];if(h){let{args:t,methodName:n}=h;for(let e=0;e<t.length;e++){let n=t[e];n.literal||u.push(n)}let r=e.dynamicFns;(r&&r[n]||h.static)&&(u.push(n),h.dynamicFn=!0)}else u.push(a);r.push({source:a,mode:s,negate:o,customEvent:l,signature:h,dependencies:u,event:c}),i=he.lastIndex}if(i&&i<t.length){let e=t.substring(i);e&&r.push({literal:e})}return r.length?r:null}static _evaluateBinding(t,e,n,r,i,s){let o;return o=e.signature?ce(t,n,r,0,e.signature):n!=e.source?lt(t,e.source):s&&tt(n)?lt(t,n):t.__data[n],e.negate&&(o=!o),o}}})),Pe=[];
143
+ /**
144
+ @license
145
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
146
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
147
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
148
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
149
+ Code distributed by Google as part of the polymer project is also
150
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
151
+ */
152
+ function be(t){}
153
+ /**
154
+ @license
155
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
156
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
157
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
158
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
159
+ Code distributed by Google as part of the polymer project is also
160
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
161
+ */const we=K((t=>{const e=Tt(t);function n(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof i?e:null}function r(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",t))){let e=null;if(t.hasOwnProperty(JSCompiler_renameProperty("properties",t))){const n=t.properties;n&&(e=function(t){const e={};for(let n in t){const r=t[n];e[n]="function"==typeof r?{type:r}:r}return e}(n))}t.__ownProperties=e}return t.__ownProperties}class i extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){this.prototype;const t=this._properties;this.__observedAttributes=t?Object.keys(t).map((t=>this.prototype._addPropertyToAttributeMap(t))):[]}return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const t=n(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=r(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=n(this);this.__properties=Object.assign({},t&&t._properties,r(this))}return this.__properties}static typeForProperty(t){const e=this._properties[t];return e&&e.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return i})),ve=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ce=K((n=>{const r=we(ge(n));function i(t,e,n,r){n.computed&&(n.readOnly=!0),n.computed&&(t._hasReadOnlyEffect(e)?console.warn(`Cannot redefine computed property '${e}'.`):t._createComputedProperty(e,n.computed,r)),n.readOnly&&!t._hasReadOnlyEffect(e)?t._createReadOnlyProperty(e,!n.computed):!1===n.readOnly&&t._hasReadOnlyEffect(e)&&console.warn(`Cannot make readOnly property '${e}' non-readOnly.`),n.reflectToAttribute&&!t._hasReflectEffect(e)?t._createReflectedProperty(e):!1===n.reflectToAttribute&&t._hasReflectEffect(e)&&console.warn(`Cannot make reflected property '${e}' non-reflected.`),n.notify&&!t._hasNotifyEffect(e)?t._createNotifyingProperty(e):!1===n.notify&&t._hasNotifyEffect(e)&&console.warn(`Cannot make notify property '${e}' non-notify.`),n.observer&&t._createPropertyObserver(e,n.observer,r[n.observer]),t._addPropertyToAttributeMap(e)}function s(t,e,n,r){if(!ve){const i=e.content.querySelectorAll("style"),s=V(e),o=function(t){let e=Y(t);return e?U(e):[]}(n),a=e.content.firstElementChild;for(let n=0;n<o.length;n++){let i=o[n];i.textContent=t._processStyleText(i.textContent,r),e.content.insertBefore(i,a)}let l=0;for(let e=0;e<s.length;e++){let n=s[e],o=i[l];o!==n?(n=n.cloneNode(!0),o.parentNode.insertBefore(n,o)):l++,n.textContent=t._processStyleText(n.textContent,r)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,n),p&&ve&&_){const n=e.content.querySelectorAll("style");if(n){let e="";Array.from(n).forEach((t=>{e+=t.textContent,t.parentNode.removeChild(t)})),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}}return class extends r{static get polymerElementVersion(){return"3.4.1"}static _finalizeClass(){r._finalizeClass.call(this);const t=((e=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",e))||(e.__ownObservers=e.hasOwnProperty(JSCompiler_renameProperty("observers",e))?e.observers:null),e.__ownObservers);var e;t&&this.createObservers(t,this._properties),this._prepareTemplate()}static _prepareTemplate(){let t=this.template;t&&("string"==typeof t?(console.error("template getter must return HTMLTemplateElement"),t=null):a||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let e in t)i(this.prototype,e,t[e],t)}static createObservers(t,e){const n=this.prototype;for(let r=0;r<t.length;r++)n._createMethodObserver(t[r],e)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){const e=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;this._template=void 0!==e?e:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&function(e){let n=null;if(e&&(!f||m)&&(n=t.import(e,"template"),f&&!n))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${e}`);return n}(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(t){this._template=t}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const e=this.importMeta;if(e)this._importPath=l(e.url);else{const e=t.import(this.is);this._importPath=e&&e.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=c,this.importPath=this.constructor.importPath;let t=function(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",t))){t.__propertyDefaults=null;let e=t._properties;for(let n in e){let r=e[n];"value"in r&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[n]=r)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let n=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof n.value?n.value.call(this):n.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,n){return e(t,n)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const n=this.importPath;s(this,e,t,n?d(n):""),this.prototype._bindTemplate(e)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(t){const e=Q(this);if(e.attachShadow)return t?(e.shadowRoot||(e.attachShadow({mode:"open",shadyUpgradeFragment:t}),e.shadowRoot.appendChild(t),this.constructor._styleSheet&&(e.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),h&&window.ShadyDOM&&window.ShadyDOM.flushInitial(e.shadowRoot),e.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(t){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,t)}resolveUrl(t,e){return!e&&this.importPath&&(e=d(this.importPath)),d(t,e)}static _parseTemplateContent(t,e,n){return e.dynamicFns=e.dynamicFns||this._properties,r._parseTemplateContent.call(this,t,e,n)}static _addTemplatePropertyEffect(t,e,n){return!u||e in this._properties||n.info.part.signature&&n.info.part.signature.static||n.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${e}' used in template but not declared in 'properties'; attribute will not be observed.`),r._addTemplatePropertyEffect.call(this,t,e,n)}}})),Se=Ce(HTMLElement);
162
+ /**
163
+ * @fileoverview
164
+ * @suppress {checkPrototypalTypes}
165
+ * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
166
+ * This code may only be used under the BSD style license found at
167
+ * http://polymer.github.io/LICENSE.txt The complete set of authors may be found
168
+ * at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
169
+ * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
170
+ * Google as part of the polymer project is also subject to an additional IP
171
+ * rights grant found at http://polymer.github.io/PATENTS.txt
172
+ */
173
+ /**
174
+ @license
175
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
176
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
177
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
178
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
179
+ Code distributed by Google as part of the polymer project is also
180
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
181
+ */
182
+ class Ee{constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run((()=>{this._timer=null,Te.delete(this),this._callback()}))}cancel(){this.isActive()&&(this._cancelAsync(),Te.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}static debounce(t,e,n){return t instanceof Ee?t._cancelAsync():t=new Ee,t.setConfig(e,n),t}}let Te=new Set;const Oe=function(t){Te.add(t)},Ae=function(){const t=Boolean(Te.size);return Te.forEach((t=>{try{t.flush()}catch(t){setTimeout((()=>{throw t}))}})),t};
183
+ /**
184
+ @license
185
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
186
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
187
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
188
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
189
+ Code distributed by Google as part of the polymer project is also
190
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
191
+ */
192
+ let Ne="string"==typeof document.head.style.touchAction,xe="__polymerGestures",Ie="__polymerGesturesHandled",Le="__polymerGesturesTouchAction",ke=["mousedown","mousemove","mouseup","click"],Re=[0,1,4,2],Me=function(){try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(t){return!1}}();function De(t){return ke.indexOf(t)>-1}let Fe=!1;function ze(t){if(!De(t)&&"touchend"!==t)return Ne&&Fe&&y?{passive:!0}:void 0}!function(){try{let t=Object.defineProperty({},"passive",{get(){Fe=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){}}();let He=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/);const Be=[],je={button:!0,input:!0,keygen:!0,meter:!0,output:!0,textarea:!0,progress:!0,select:!0},Ye={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function $e(t){let e=Array.prototype.slice.call(t.labels||[]);if(!e.length){e=[];let n=t.getRootNode();if(t.id){let r=n.querySelectorAll(`label[for = ${t.id}]`);for(let t=0;t<r.length;t++)e.push(r[t])}}return e}let qe=function(t){let e=t.sourceCapabilities;var n;if((!e||e.firesTouchEvents)&&(t[Ie]={skip:!0},"click"===t.type)){let e=!1,r=We(t);for(let t=0;t<r.length;t++){if(r[t].nodeType===Node.ELEMENT_NODE)if("label"===r[t].localName)Be.push(r[t]);else if(n=r[t],je[n.localName]){let n=$e(r[t]);for(let t=0;t<n.length;t++)e=e||Be.indexOf(n[t])>-1}if(r[t]===Ue.mouse.target)return}if(e)return;t.preventDefault(),t.stopPropagation()}};function Je(t){let e=He?["click"]:ke;for(let n,r=0;r<e.length;r++)n=e[r],t?(Be.length=0,document.addEventListener(n,qe,!0)):document.removeEventListener(n,qe,!0)}function Ve(t){let e=t.type;if(!De(e))return!1;if("mousemove"===e){let e=void 0===t.buttons?1:t.buttons;return t instanceof window.MouseEvent&&!Me&&(e=Re[t.which]||0),Boolean(1&e)}return 0===(void 0===t.button?0:t.button)}let Ue={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function Xe(t,e,n){t.movefn=e,t.upfn=n,document.addEventListener("mousemove",e),document.addEventListener("mouseup",n)}function Ge(t){document.removeEventListener("mousemove",t.movefn),document.removeEventListener("mouseup",t.upfn),t.movefn=null,t.upfn=null}document.addEventListener("touchend",(function(t){Ue.mouse.mouseIgnoreJob||Je(!0),Ue.mouse.target=We(t)[0],Ue.mouse.mouseIgnoreJob=Ee.debounce(Ue.mouse.mouseIgnoreJob,wt.after(2500),(function(){Je(),Ue.mouse.target=null,Ue.mouse.mouseIgnoreJob=null}))}),!!Fe&&{passive:!0});const We=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:t=>t.composedPath&&t.composedPath()||[],Ze={},Ke=[];function Qe(t){const e=We(t);return e.length>0?e[0]:t.target}function tn(t){let e,n=t.type,r=t.currentTarget.__polymerGestures;if(!r)return;let i=r[n];if(i){if(!t[Ie]&&(t[Ie]={},"touch"===n.slice(0,5))){let e=(t=t).changedTouches[0];if("touchstart"===n&&1===t.touches.length&&(Ue.touch.id=e.identifier),Ue.touch.id!==e.identifier)return;Ne||"touchstart"!==n&&"touchmove"!==n||function(t){let e=t.changedTouches[0],n=t.type;if("touchstart"===n)Ue.touch.x=e.clientX,Ue.touch.y=e.clientY,Ue.touch.scrollDecided=!1;else if("touchmove"===n){if(Ue.touch.scrollDecided)return;Ue.touch.scrollDecided=!0;let n=function(t){let e="auto",n=We(t);for(let t,r=0;r<n.length;r++)if(t=n[r],t[Le]){e=t[Le];break}return e}(t),r=!1,i=Math.abs(Ue.touch.x-e.clientX),s=Math.abs(Ue.touch.y-e.clientY);t.cancelable&&("none"===n?r=!0:"pan-x"===n?r=s>i:"pan-y"===n&&(r=i>s)),r?t.preventDefault():an("track")}}(t)}if(e=t[Ie],!e.skip){for(let n,r=0;r<Ke.length;r++)n=Ke[r],i[n.name]&&!e[n.name]&&n.flow&&n.flow.start.indexOf(t.type)>-1&&n.reset&&n.reset();for(let r,s=0;s<Ke.length;s++)r=Ke[s],i[r.name]&&!e[r.name]&&(e[r.name]=!0,r[n](t))}}}function en(t,e,n){return!!Ze[e]&&(function(t,e,n){let r=Ze[e],i=r.deps,s=r.name,o=t[xe];o||(t[xe]=o={});for(let e,n,r=0;r<i.length;r++)e=i[r],He&&De(e)&&"click"!==e||(n=o[e],n||(o[e]=n={_count:0}),0===n._count&&t.addEventListener(e,tn,ze(e)),n[s]=(n[s]||0)+1,n._count=(n._count||0)+1);t.addEventListener(e,n),r.touchAction&&sn(t,r.touchAction)}(t,e,n),!0)}function nn(t,e,n){return!!Ze[e]&&(function(t,e,n){let r=Ze[e],i=r.deps,s=r.name,o=t[xe];if(o)for(let e,n,r=0;r<i.length;r++)e=i[r],n=o[e],n&&n[s]&&(n[s]=(n[s]||1)-1,n._count=(n._count||1)-1,0===n._count&&t.removeEventListener(e,tn,ze(e)));t.removeEventListener(e,n)}(t,e,n),!0)}function rn(t){Ke.push(t);for(let e=0;e<t.emits.length;e++)Ze[t.emits[e]]=t}function sn(t,e){Ne&&t instanceof HTMLElement&&St.run((()=>{t.style.touchAction=e})),t[Le]=e}function on(t,e,n){let r=new Event(e,{bubbles:!0,cancelable:!0,composed:!0});if(r.detail=n,Q(t).dispatchEvent(r),r.defaultPrevented){let t=n.preventer||n.sourceEvent;t&&t.preventDefault&&t.preventDefault()}}function an(t){let e=function(t){for(let e,n=0;n<Ke.length;n++){e=Ke[n];for(let n,r=0;r<e.emits.length;r++)if(n=e.emits[r],n===t)return e}return null}(t);e.info&&(e.info.prevent=!0)}function ln(t,e,n,r){e&&on(e,t,{x:n.clientX,y:n.clientY,sourceEvent:n,preventer:r,prevent:function(t){return an(t)}})}function cn(t,e,n){if(t.prevent)return!1;if(t.started)return!0;let r=Math.abs(t.x-e),i=Math.abs(t.y-n);return r>=5||i>=5}function dn(t,e,n){if(!e)return;let r,i=t.moves[t.moves.length-2],s=t.moves[t.moves.length-1],o=s.x-t.x,a=s.y-t.y,l=0;i&&(r=s.x-i.x,l=s.y-i.y),on(e,"track",{state:t.state,x:n.clientX,y:n.clientY,dx:o,dy:a,ddx:r,ddy:l,sourceEvent:n,hover:function(){return function(t,e){let n=document.elementFromPoint(t,e),r=n;for(;r&&r.shadowRoot&&!window.ShadyDOM;){let i=r;if(r=r.shadowRoot.elementFromPoint(t,e),i===r)break;r&&(n=r)}return n}(n.clientX,n.clientY)}})}function hn(t,e,n){let r=Math.abs(e.clientX-t.x),i=Math.abs(e.clientY-t.y),s=Qe(n||e);!s||Ye[s.localName]&&s.hasAttribute("disabled")||(isNaN(r)||isNaN(i)||r<=25&&i<=25||function(t){if("click"===t.type){if(0===t.detail)return!0;let e=Qe(t);if(!e.nodeType||e.nodeType!==Node.ELEMENT_NODE)return!0;let n=e.getBoundingClientRect(),r=t.pageX,i=t.pageY;return!(r>=n.left&&r<=n.right&&i>=n.top&&i<=n.bottom)}return!1}(e))&&(t.prevent||on(s,"tap",{x:e.clientX,y:e.clientY,sourceEvent:e,preventer:n}))}
193
+ /**
194
+ @license
195
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
196
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
197
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
198
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
199
+ Code distributed by Google as part of the polymer project is also
200
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
201
+ */rn({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function(){Ge(this.info)},mousedown:function(t){if(!Ve(t))return;let e=Qe(t),n=this;Xe(this.info,(function(t){Ve(t)||(ln("up",e,t),Ge(n.info))}),(function(t){Ve(t)&&ln("up",e,t),Ge(n.info)})),ln("down",e,t)},touchstart:function(t){ln("down",Qe(t),t.changedTouches[0],t)},touchend:function(t){ln("up",Qe(t),t.changedTouches[0],t)}}),rn({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove:function(t){this.moves.length>2&&this.moves.shift(),this.moves.push(t)},movefn:null,upfn:null,prevent:!1},reset:function(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,Ge(this.info)},mousedown:function(t){if(!Ve(t))return;let e=Qe(t),n=this,r=function(t){let r=t.clientX,i=t.clientY;cn(n.info,r,i)&&(n.info.state=n.info.started?"mouseup"===t.type?"end":"track":"start","start"===n.info.state&&an("tap"),n.info.addMove({x:r,y:i}),Ve(t)||(n.info.state="end",Ge(n.info)),e&&dn(n.info,e,t),n.info.started=!0)};Xe(this.info,r,(function(t){n.info.started&&r(t),Ge(n.info)})),this.info.x=t.clientX,this.info.y=t.clientY},touchstart:function(t){let e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchmove:function(t){let e=Qe(t),n=t.changedTouches[0],r=n.clientX,i=n.clientY;cn(this.info,r,i)&&("start"===this.info.state&&an("tap"),this.info.addMove({x:r,y:i}),dn(this.info,e,n),this.info.state="track",this.info.started=!0)},touchend:function(t){let e=Qe(t),n=t.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:n.clientX,y:n.clientY}),dn(this.info,e,n))}}),rn({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:function(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown:function(t){Ve(t)&&(this.info.x=t.clientX,this.info.y=t.clientY)},click:function(t){Ve(t)&&hn(this.info,t)},touchstart:function(t){const e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchend:function(t){hn(this.info,t.changedTouches[0],t)}});const un=K((t=>class extends t{_addEventListenerToNode(t,e,n){en(t,e,n)||super._addEventListenerToNode(t,e,n)}_removeEventListenerFromNode(t,e,n){nn(t,e,n)||super._removeEventListenerFromNode(t,e,n)}}));export{et as A,pt as B,Ee as D,Ce as E,un as G,I as M,Se as P,N as V,vt as a,en as b,F as c,M as d,Oe as e,Ae as f,R as g,b as h,Ct as i,x as j,k,H as l,K as m,B as n,Nt as o,St as p,ve as q,be as r,sn as s,wt as t,L as u,lt as v,Q as w,ge as x,st as y,it as z};