@saasquatch/mint-components 1.5.2 → 1.5.3-10

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 (580) hide show
  1. package/CHANGELOG.md +32 -1
  2. package/dist/cjs/{GenericTableView-c2a781ea.js → GenericTableView-f98bcef7.js} +1 -1
  3. package/dist/cjs/{JSS-a75f3a9a.js → JSS-c73206b7.js} +35 -19
  4. package/dist/cjs/{ShadowViewAddon-9b256c28.js → ShadowViewAddon-0becaef1.js} +95 -54
  5. package/dist/cjs/{global-dd180d3b.js → global-7eb8c483.js} +161 -10
  6. package/dist/cjs/index-4933129a.js +2227 -0
  7. package/dist/cjs/{index.module-fb61a163.js → index.module-c9cec1f7.js} +58 -540
  8. package/dist/cjs/loader.cjs.js +5 -6
  9. package/dist/cjs/{luxon-59ca7d19.js → luxon-6b09461e.js} +1 -1
  10. package/dist/cjs/mint-components.cjs.js +5 -6
  11. package/dist/cjs/{re-render-f41e352c.js → re-render-12cb778f.js} +2 -2
  12. package/dist/cjs/{sqm-asset-card-view-07420209.js → sqm-asset-card-view-7e16757a.js} +1 -1
  13. package/dist/cjs/sqm-asset-card.cjs.entry.js +6 -7
  14. package/dist/cjs/{sqm-big-stat_34.cjs.entry.js → sqm-big-stat_35.cjs.entry.js} +196 -116
  15. package/dist/cjs/sqm-empty_5.cjs.entry.js +7 -8
  16. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  17. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +4 -5
  18. package/dist/cjs/{sqm-hero-view-d5d46a36.js → sqm-hero-view-cc468ea3.js} +3 -3
  19. package/dist/cjs/sqm-hero.cjs.entry.js +5 -6
  20. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +10 -10
  21. package/dist/cjs/{sqm-navigation-sidebar-item-view-bd8b4dfd.js → sqm-navigation-sidebar-item-view-1513be2d.js} +2 -2
  22. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +6 -7
  23. package/dist/cjs/{sqm-navigation-sidebar-view-0ee28f65.js → sqm-navigation-sidebar-view-3feda5f1.js} +1 -1
  24. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +4 -5
  25. package/dist/cjs/sqm-password-field.cjs.entry.js +5 -6
  26. package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -5
  27. package/dist/cjs/{sqm-portal-container-view-2d11ed71.js → sqm-portal-container-view-4a8432e9.js} +1 -1
  28. package/dist/cjs/{sqm-portal-email-verification-view-423191eb.js → sqm-portal-email-verification-view-3d511906.js} +3 -3
  29. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +8 -9
  30. package/dist/cjs/{sqm-portal-footer-view-8442fd90.js → sqm-portal-footer-view-6be4691b.js} +2 -2
  31. package/dist/cjs/sqm-portal-footer.cjs.entry.js +7 -8
  32. package/dist/cjs/{sqm-portal-forgot-password-view-97932f7a.js → sqm-portal-forgot-password-view-aaa8dd17.js} +2 -2
  33. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +8 -9
  34. package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -5
  35. package/dist/cjs/{sqm-portal-profile-view-b77382f6.js → sqm-portal-profile-view-09e80437.js} +4 -4
  36. package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -15
  37. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +4 -5
  38. package/dist/cjs/{sqm-portal-reset-password-view-042073ca.js → sqm-portal-reset-password-view-035245e6.js} +2 -2
  39. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +8 -9
  40. package/dist/cjs/{sqm-portal-section-view-765aae4d.js → sqm-portal-section-view-71a57cd9.js} +1 -1
  41. package/dist/cjs/{sqm-portal-verify-email-view-cb3c9c2f.js → sqm-portal-verify-email-view-7014ca89.js} +2 -2
  42. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +7 -8
  43. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +20 -20
  44. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +4 -5
  45. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +5 -6
  46. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +61 -61
  47. package/dist/cjs/sqm-stencilbook.cjs.entry.js +277 -70
  48. package/dist/cjs/sqm-tabs.cjs.entry.js +5 -6
  49. package/dist/cjs/{sqm-text-span-view-ab4ad6ef.js → sqm-text-span-view-b0c90c27.js} +1 -1
  50. package/dist/cjs/sqm-text-span.cjs.entry.js +4 -5
  51. package/dist/cjs/{stencil-hooks.module-87a1f4f7.js → stencil-hooks.module-ffd2b47a.js} +1 -3
  52. package/dist/cjs/{use-callback-e754042f.js → use-callback-5cddca5b.js} +1 -1
  53. package/dist/cjs/{useChildElements-097c3dc9.js → useChildElements-bf0a8e9a.js} +2 -2
  54. package/dist/cjs/{useReferralTable-a7fc07c6.js → useReferralTable-3ae21428.js} +11 -10
  55. package/dist/collection/collection-manifest.json +1 -0
  56. package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +8 -1
  57. package/dist/collection/components/sqm-checkbox-field/UseCheckboxField.stories.js +12 -2
  58. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +5 -2
  59. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +21 -8
  60. package/dist/collection/components/sqm-dropdown-field/UseDropdownField.stories.js +8 -0
  61. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +6 -2
  62. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +22 -8
  63. package/dist/collection/components/sqm-hero/Hero.stories.js +1 -1
  64. package/dist/collection/components/sqm-input-field/InputField.stories.js +81 -0
  65. package/dist/collection/components/sqm-input-field/UseInputField.stories.js +77 -0
  66. package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +37 -0
  67. package/dist/collection/components/sqm-input-field/sqm-input-field.js +204 -0
  68. package/dist/collection/components/sqm-input-field/useInputField.js +10 -0
  69. package/dist/collection/components/sqm-name-fields/NameFields.stories.js +2 -2
  70. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +3 -0
  71. package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +1 -1
  72. package/dist/collection/components/sqm-program-menu/ProgramMenu.stories.js +1 -1
  73. package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +1 -1
  74. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +1 -1
  75. package/dist/collection/components/sqm-share-code/sqm-share-code.js +2 -3
  76. package/dist/collection/components/sqm-share-link/sqm-share-link.js +2 -3
  77. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +5 -1
  78. package/dist/collection/utils/RequiredPropsError.js +21 -13
  79. package/dist/esm/{GenericTableView-8dc8ae86.js → GenericTableView-786af302.js} +1 -1
  80. package/dist/esm/{JSS-418cab16.js → JSS-506b9295.js} +17 -1
  81. package/dist/esm/{ShadowViewAddon-b98faaf1.js → ShadowViewAddon-89f22fc6.js} +78 -38
  82. package/dist/esm/{global-15cdf41a.js → global-e42fe7b7.js} +161 -10
  83. package/dist/esm/index-bd34bcae.js +2225 -0
  84. package/dist/esm/{index.module-f5e17a4e.js → index.module-baacf60e.js} +58 -537
  85. package/dist/esm/loader.js +5 -6
  86. package/dist/esm/{luxon-f44215d9.js → luxon-12da328f.js} +1 -1
  87. package/dist/esm/mint-components.js +5 -6
  88. package/dist/esm/{re-render-8f0a7ab1.js → re-render-a9b7d08b.js} +2 -2
  89. package/dist/esm/{sqm-asset-card-view-68f80b85.js → sqm-asset-card-view-de0f3463.js} +1 -1
  90. package/dist/esm/sqm-asset-card.entry.js +5 -6
  91. package/dist/esm/{sqm-big-stat_34.entry.js → sqm-big-stat_35.entry.js} +154 -75
  92. package/dist/esm/sqm-empty_5.entry.js +4 -5
  93. package/dist/esm/sqm-form-message.entry.js +1 -1
  94. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -4
  95. package/dist/esm/{sqm-hero-view-99b40ec1.js → sqm-hero-view-4af49f88.js} +3 -3
  96. package/dist/esm/sqm-hero.entry.js +4 -5
  97. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  98. package/dist/esm/{sqm-navigation-sidebar-item-view-73f753fa.js → sqm-navigation-sidebar-item-view-96cb4b73.js} +2 -2
  99. package/dist/esm/sqm-navigation-sidebar-item.entry.js +5 -6
  100. package/dist/esm/{sqm-navigation-sidebar-view-9cb9a5f4.js → sqm-navigation-sidebar-view-e2347888.js} +1 -1
  101. package/dist/esm/sqm-navigation-sidebar.entry.js +3 -4
  102. package/dist/esm/sqm-password-field.entry.js +4 -5
  103. package/dist/esm/sqm-popup-container.entry.js +3 -4
  104. package/dist/esm/{sqm-portal-container-view-34f26e2a.js → sqm-portal-container-view-8f1bcc77.js} +1 -1
  105. package/dist/esm/{sqm-portal-email-verification-view-cc73f8f4.js → sqm-portal-email-verification-view-65ec0fc7.js} +3 -3
  106. package/dist/esm/sqm-portal-email-verification.entry.js +7 -8
  107. package/dist/esm/{sqm-portal-footer-view-d06c4b78.js → sqm-portal-footer-view-31fbf426.js} +2 -2
  108. package/dist/esm/sqm-portal-footer.entry.js +6 -7
  109. package/dist/esm/{sqm-portal-forgot-password-view-f7239087.js → sqm-portal-forgot-password-view-38910bc9.js} +2 -2
  110. package/dist/esm/sqm-portal-forgot-password.entry.js +7 -8
  111. package/dist/esm/sqm-portal-logout.entry.js +3 -4
  112. package/dist/esm/{sqm-portal-profile-view-28c39970.js → sqm-portal-profile-view-d53e37e1.js} +4 -4
  113. package/dist/esm/sqm-portal-profile.entry.js +9 -9
  114. package/dist/esm/sqm-portal-protected-route.entry.js +3 -4
  115. package/dist/esm/{sqm-portal-reset-password-view-e0436989.js → sqm-portal-reset-password-view-55411ca5.js} +2 -2
  116. package/dist/esm/sqm-portal-reset-password.entry.js +7 -8
  117. package/dist/esm/{sqm-portal-section-view-c8d1c727.js → sqm-portal-section-view-d64cd5de.js} +1 -1
  118. package/dist/esm/{sqm-portal-verify-email-view-c489166b.js → sqm-portal-verify-email-view-7ba350f9.js} +2 -2
  119. package/dist/esm/sqm-portal-verify-email.entry.js +6 -7
  120. package/dist/esm/sqm-referral-table_11.entry.js +12 -12
  121. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -4
  122. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -5
  123. package/dist/esm/sqm-rewards-table_9.entry.js +11 -11
  124. package/dist/esm/sqm-stencilbook.entry.js +275 -68
  125. package/dist/esm/sqm-tabs.entry.js +4 -5
  126. package/dist/esm/{sqm-text-span-view-020db63f.js → sqm-text-span-view-20c0f018.js} +1 -1
  127. package/dist/esm/sqm-text-span.entry.js +3 -4
  128. package/dist/esm/{stencil-hooks.module-acc8a613.js → stencil-hooks.module-59bf962a.js} +1 -1
  129. package/dist/esm/{use-callback-7e0bfd3b.js → use-callback-144b9a67.js} +1 -1
  130. package/dist/esm/{useChildElements-3ffd7077.js → useChildElements-aaca692e.js} +2 -2
  131. package/dist/esm/{useReferralTable-d8a7e3be.js → useReferralTable-52da5c20.js} +5 -4
  132. package/dist/esm-es5/{GenericTableView-8dc8ae86.js → GenericTableView-786af302.js} +1 -1
  133. package/dist/esm-es5/{JSS-418cab16.js → JSS-506b9295.js} +1 -1
  134. package/dist/esm-es5/ShadowViewAddon-89f22fc6.js +1 -0
  135. package/dist/esm-es5/global-e42fe7b7.js +285 -0
  136. package/dist/esm-es5/index-bd34bcae.js +1 -0
  137. package/dist/esm-es5/index.module-baacf60e.js +1 -0
  138. package/dist/esm-es5/loader.js +1 -1
  139. package/dist/esm-es5/{luxon-f44215d9.js → luxon-12da328f.js} +1 -1
  140. package/dist/esm-es5/mint-components.js +1 -1
  141. package/dist/esm-es5/{re-render-8f0a7ab1.js → re-render-a9b7d08b.js} +1 -1
  142. package/dist/esm-es5/{sqm-asset-card-view-68f80b85.js → sqm-asset-card-view-de0f3463.js} +1 -1
  143. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  144. package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -0
  145. package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
  146. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  147. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  148. package/dist/esm-es5/{sqm-hero-view-99b40ec1.js → sqm-hero-view-4af49f88.js} +1 -1
  149. package/dist/esm-es5/sqm-hero.entry.js +1 -1
  150. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  151. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-73f753fa.js → sqm-navigation-sidebar-item-view-96cb4b73.js} +1 -1
  152. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  153. package/dist/esm-es5/{sqm-navigation-sidebar-view-9cb9a5f4.js → sqm-navigation-sidebar-view-e2347888.js} +1 -1
  154. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  155. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  156. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  157. package/dist/esm-es5/{sqm-portal-container-view-34f26e2a.js → sqm-portal-container-view-8f1bcc77.js} +1 -1
  158. package/dist/esm-es5/{sqm-portal-email-verification-view-cc73f8f4.js → sqm-portal-email-verification-view-65ec0fc7.js} +1 -1
  159. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  160. package/dist/esm-es5/{sqm-portal-footer-view-d06c4b78.js → sqm-portal-footer-view-31fbf426.js} +1 -1
  161. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  162. package/dist/esm-es5/{sqm-portal-forgot-password-view-f7239087.js → sqm-portal-forgot-password-view-38910bc9.js} +1 -1
  163. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  164. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  165. package/dist/esm-es5/{sqm-portal-profile-view-28c39970.js → sqm-portal-profile-view-d53e37e1.js} +1 -1
  166. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  167. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  168. package/dist/esm-es5/{sqm-portal-reset-password-view-e0436989.js → sqm-portal-reset-password-view-55411ca5.js} +1 -1
  169. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  170. package/dist/esm-es5/sqm-portal-section-view-d64cd5de.js +1 -0
  171. package/dist/esm-es5/{sqm-portal-verify-email-view-c489166b.js → sqm-portal-verify-email-view-7ba350f9.js} +1 -1
  172. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  173. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  174. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  175. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  176. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  177. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  178. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  179. package/dist/esm-es5/{sqm-text-span-view-020db63f.js → sqm-text-span-view-20c0f018.js} +1 -1
  180. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  181. package/dist/esm-es5/{stencil-hooks.module-acc8a613.js → stencil-hooks.module-59bf962a.js} +1 -1
  182. package/dist/esm-es5/use-callback-144b9a67.js +1 -0
  183. package/dist/esm-es5/{useChildElements-3ffd7077.js → useChildElements-aaca692e.js} +1 -1
  184. package/dist/esm-es5/useReferralTable-52da5c20.js +1 -0
  185. package/dist/mint-components/mint-components.esm.js +1 -1
  186. package/dist/mint-components/mint-components.js +1 -1
  187. package/dist/mint-components/p-03f9d2d7.system.entry.js +1 -0
  188. package/dist/mint-components/p-06c6c9c8.system.entry.js +1 -0
  189. package/dist/mint-components/p-07e75fd0.system.js +1 -0
  190. package/dist/mint-components/{p-b968f779.js → p-07ee010b.js} +1 -1
  191. package/dist/mint-components/p-0cd07cea.entry.js +1 -0
  192. package/dist/mint-components/p-0d4d1169.system.js +1 -0
  193. package/dist/mint-components/p-14119252.system.entry.js +1 -0
  194. package/dist/mint-components/{p-baebc359.system.js → p-198b17ed.system.js} +1 -1
  195. package/dist/mint-components/{p-a1b9ca51.system.js → p-1cc7a8e6.system.js} +1 -1
  196. package/dist/mint-components/{p-ab2cbd56.js → p-1fbf8d0b.js} +1 -1
  197. package/dist/mint-components/p-21e882c2.system.entry.js +1 -0
  198. package/dist/mint-components/p-256a8daa.system.js +1 -0
  199. package/dist/mint-components/p-269fdb27.entry.js +1 -0
  200. package/dist/mint-components/p-26f81084.entry.js +1 -0
  201. package/dist/mint-components/p-28a5e360.entry.js +1 -0
  202. package/dist/mint-components/p-29a8adea.system.entry.js +1 -0
  203. package/dist/mint-components/p-29ba3da1.system.entry.js +1 -0
  204. package/dist/mint-components/{p-dcec5845.js → p-301d2d09.js} +1 -1
  205. package/dist/mint-components/p-3064bb3d.js +268 -0
  206. package/dist/mint-components/{p-cf9cfac0.entry.js → p-31847ef1.entry.js} +1 -1
  207. package/dist/mint-components/{p-5fca1bb9.system.js → p-330680dd.system.js} +1 -1
  208. package/dist/mint-components/{p-50019ebe.system.entry.js → p-377d5399.system.entry.js} +1 -1
  209. package/dist/mint-components/p-3bb4fd18.system.js +8 -0
  210. package/dist/mint-components/p-3bd4706b.system.entry.js +1 -0
  211. package/dist/mint-components/{p-85771eab.system.entry.js → p-3cea0d56.system.entry.js} +1 -1
  212. package/dist/mint-components/p-3f4789b5.entry.js +9 -0
  213. package/dist/mint-components/p-40b50dfa.entry.js +1 -0
  214. package/dist/mint-components/{p-774d205c.system.js → p-43b04cea.system.js} +22 -22
  215. package/dist/mint-components/{p-f214b557.js → p-450537d7.js} +3 -3
  216. package/dist/mint-components/p-45e9d3af.system.entry.js +1 -0
  217. package/dist/mint-components/{p-c4c73067.system.js → p-4708ece8.system.js} +1 -1
  218. package/dist/mint-components/p-48d0acd2.entry.js +1 -0
  219. package/dist/mint-components/p-4ed9b5a8.entry.js +1 -0
  220. package/dist/mint-components/p-510b5f3e.system.entry.js +1 -0
  221. package/dist/mint-components/p-51f65e88.system.entry.js +1 -0
  222. package/dist/mint-components/{p-894cf728.system.js → p-51fc3d02.system.js} +1 -1
  223. package/dist/mint-components/{p-48ec6605.system.js → p-57c3d6e3.system.js} +2 -2
  224. package/dist/mint-components/p-59b9b6cd.entry.js +1 -0
  225. package/dist/mint-components/{p-e8f5f4e0.js → p-5a1ed9bb.js} +1 -1
  226. package/dist/mint-components/{p-36c073ce.entry.js → p-5dc150ef.entry.js} +2 -2
  227. package/dist/mint-components/p-5f271b67.entry.js +13 -0
  228. package/dist/mint-components/{p-937bf427.system.js → p-621a2912.system.js} +1 -1
  229. package/dist/mint-components/p-65e7595f.entry.js +1 -0
  230. package/dist/mint-components/p-65f4f656.system.js +1 -0
  231. package/dist/mint-components/{p-c6e6162c.js → p-66072e0a.js} +1 -1
  232. package/dist/mint-components/p-72c8c85b.entry.js +1 -0
  233. package/dist/mint-components/{p-9c2fd3e4.system.js → p-760e06dc.system.js} +1 -1
  234. package/dist/mint-components/{p-72b3562a.system.js → p-774c9bb9.system.js} +1 -1
  235. package/dist/mint-components/p-7e014c96.js +1 -0
  236. package/dist/mint-components/p-81b6da22.system.entry.js +1 -0
  237. package/dist/mint-components/p-81bf0483.entry.js +1 -0
  238. package/dist/mint-components/p-8295d389.js +1 -0
  239. package/dist/mint-components/p-85e934c8.js +1 -0
  240. package/dist/mint-components/{p-46416f3e.js → p-864be7c2.js} +1 -1
  241. package/dist/mint-components/p-88074d22.entry.js +1 -0
  242. package/dist/mint-components/{p-36c2267d.js → p-896a1f38.js} +1 -1
  243. package/dist/mint-components/{p-27455c4c.js → p-8b4c8f6c.js} +1 -1
  244. package/dist/mint-components/p-8c06a2fc.system.entry.js +1 -0
  245. package/dist/mint-components/{p-ce474d92.system.js → p-91c3ddbf.system.js} +1 -1
  246. package/dist/mint-components/{p-7794c289.js → p-93f308ff.js} +1 -1
  247. package/dist/mint-components/{p-52ca31c9.entry.js → p-94941e98.entry.js} +12 -12
  248. package/dist/mint-components/{p-311a0e60.system.js → p-94b7c515.system.js} +1 -1
  249. package/dist/mint-components/p-954ffe64.system.entry.js +1 -0
  250. package/dist/mint-components/p-982fb67b.js +1 -0
  251. package/dist/mint-components/{p-5bbead79.system.entry.js → p-99cf69e3.system.entry.js} +1 -1
  252. package/dist/mint-components/{p-227ccb7c.js → p-9fd08e41.js} +1 -1
  253. package/dist/mint-components/p-9fff69ad.js +1 -0
  254. package/dist/mint-components/{p-c5573b7c.js → p-a0b933b5.js} +1 -1
  255. package/dist/mint-components/{p-8894c616.entry.js → p-a2ca69c1.entry.js} +1 -1
  256. package/dist/mint-components/p-a42b2f73.system.entry.js +1 -0
  257. package/dist/mint-components/p-a455e4b0.system.js +1 -0
  258. package/dist/mint-components/{p-06a4d499.system.js → p-a672dec4.system.js} +1 -1
  259. package/dist/mint-components/p-a6c936c4.system.entry.js +1 -0
  260. package/dist/mint-components/p-aa93012c.system.entry.js +1 -0
  261. package/dist/mint-components/{p-c5f46105.entry.js → p-b52ffaa6.entry.js} +3 -3
  262. package/dist/mint-components/{p-58442d48.system.entry.js → p-b9bd9853.system.entry.js} +1 -1
  263. package/dist/mint-components/p-b9e6ae04.system.entry.js +1 -0
  264. package/dist/mint-components/p-bb8a7842.entry.js +1 -0
  265. package/dist/mint-components/p-bc31cd46.system.entry.js +1 -0
  266. package/dist/mint-components/{p-13f034ac.system.js → p-c304cdde.system.js} +1 -1
  267. package/dist/mint-components/p-c3ecd0de.entry.js +1 -0
  268. package/dist/mint-components/{p-a6d4cffd.system.entry.js → p-c952a123.system.entry.js} +1 -1
  269. package/dist/mint-components/p-cf4c2f8e.system.js +1 -0
  270. package/dist/mint-components/{p-190d0446.system.js → p-d1242e79.system.js} +1 -1
  271. package/dist/mint-components/{p-99c57fce.js → p-d1dac237.js} +1 -1
  272. package/dist/mint-components/{p-bbf96ff3.system.js → p-d34a5072.system.js} +1 -1
  273. package/dist/mint-components/p-d624972c.entry.js +1 -0
  274. package/dist/mint-components/p-d926cf38.system.entry.js +1 -0
  275. package/dist/mint-components/p-dd1729db.entry.js +1 -0
  276. package/dist/mint-components/{p-8fc1aef1.js → p-e312a5ed.js} +1 -1
  277. package/dist/mint-components/{p-f0b9e163.js → p-e367460b.js} +153 -153
  278. package/dist/mint-components/p-e577f5dd.system.js +1 -0
  279. package/dist/mint-components/{p-274a87bd.js → p-ebd3a98b.js} +1 -1
  280. package/dist/mint-components/{p-3768d478.system.js → p-ec104c1d.system.js} +1 -1
  281. package/dist/mint-components/p-edeceedd.system.entry.js +1 -0
  282. package/dist/mint-components/p-ee49e509.entry.js +1 -0
  283. package/dist/mint-components/{p-9f08dc58.js → p-f30000d4.js} +1 -1
  284. package/dist/mint-components/p-f32d2074.entry.js +1 -0
  285. package/dist/mint-components/p-f3a65df7.js +1 -0
  286. package/dist/mint-components/{p-fa6a579e.system.js → p-f6c2e436.system.js} +1 -1
  287. package/dist/mint-components/p-fd6ba06e.system.entry.js +1 -0
  288. package/dist/mint-components/{p-380b25a3.js → p-ff39746d.js} +1 -1
  289. package/dist/mint-components/p-ffe8edba.entry.js +1 -0
  290. package/dist/types/components/sqm-checkbox-field/CheckboxField.stories.d.ts +3 -0
  291. package/dist/types/components/sqm-checkbox-field/UseCheckboxField.stories.d.ts +9 -0
  292. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +1 -1
  293. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +6 -3
  294. package/dist/types/components/sqm-dropdown-field/UseDropdownField.stories.d.ts +6 -0
  295. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field-view.d.ts +1 -1
  296. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +6 -3
  297. package/dist/types/components/sqm-input-field/InputField.stories.d.ts +15 -0
  298. package/dist/types/components/sqm-input-field/UseInputField.stories.d.ts +49 -0
  299. package/dist/types/components/sqm-input-field/sqm-input-field-view.d.ts +14 -0
  300. package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +41 -0
  301. package/dist/types/components/sqm-input-field/useInputField.d.ts +5 -0
  302. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +4 -1
  303. package/dist/types/components.d.ts +92 -14
  304. package/dist/types/utils/RequiredPropsError.d.ts +4 -1
  305. package/docs/docs.docx +0 -0
  306. package/docs/grapesjs.js +54 -0
  307. package/docs/raisins.json +1 -0
  308. package/docs/stats.json +39222 -0
  309. package/grapesjs/grapesjs.js +1 -1
  310. package/package.json +8 -3
  311. package/shoelace/assets/icons/123.svg +3 -0
  312. package/shoelace/assets/icons/activity.svg +3 -0
  313. package/shoelace/assets/icons/apple.svg +4 -0
  314. package/shoelace/assets/icons/bandaid-fill.svg +3 -0
  315. package/shoelace/assets/icons/bandaid.svg +4 -0
  316. package/shoelace/assets/icons/bank.svg +3 -0
  317. package/shoelace/assets/icons/bank2.svg +3 -0
  318. package/shoelace/assets/icons/behance.svg +3 -0
  319. package/shoelace/assets/icons/bell-slash-fill.svg +3 -0
  320. package/shoelace/assets/icons/bell-slash.svg +3 -0
  321. package/shoelace/assets/icons/bluetooth.svg +3 -0
  322. package/shoelace/assets/icons/body-text.svg +3 -0
  323. package/shoelace/assets/icons/boombox-fill.svg +4 -0
  324. package/shoelace/assets/icons/boombox.svg +6 -0
  325. package/shoelace/assets/icons/boxes.svg +3 -0
  326. package/shoelace/assets/icons/cash-coin.svg +6 -0
  327. package/shoelace/assets/icons/check-lg.svg +3 -0
  328. package/shoelace/assets/icons/cloud-haze2.svg +3 -0
  329. package/shoelace/assets/icons/coin.svg +5 -0
  330. package/shoelace/assets/icons/currency-bitcoin.svg +3 -0
  331. package/shoelace/assets/icons/currency-dollar.svg +3 -0
  332. package/shoelace/assets/icons/currency-euro.svg +3 -0
  333. package/shoelace/assets/icons/currency-exchange.svg +3 -0
  334. package/shoelace/assets/icons/currency-pound.svg +3 -0
  335. package/shoelace/assets/icons/currency-yen.svg +3 -0
  336. package/shoelace/assets/icons/dash-lg.svg +3 -0
  337. package/shoelace/assets/icons/device-hdd-fill.svg +4 -0
  338. package/shoelace/assets/icons/device-hdd.svg +5 -0
  339. package/shoelace/assets/icons/device-ssd-fill.svg +4 -0
  340. package/shoelace/assets/icons/device-ssd.svg +4 -0
  341. package/shoelace/assets/icons/displayport-fill.svg +3 -0
  342. package/shoelace/assets/icons/displayport.svg +4 -0
  343. package/shoelace/assets/icons/dpad-fill.svg +3 -0
  344. package/shoelace/assets/icons/dpad.svg +4 -0
  345. package/shoelace/assets/icons/dribbble.svg +3 -0
  346. package/shoelace/assets/icons/ear-fill.svg +3 -0
  347. package/shoelace/assets/icons/ear.svg +3 -0
  348. package/shoelace/assets/icons/easel2-fill.svg +4 -0
  349. package/shoelace/assets/icons/easel2.svg +3 -0
  350. package/shoelace/assets/icons/easel3-fill.svg +3 -0
  351. package/shoelace/assets/icons/easel3.svg +3 -0
  352. package/shoelace/assets/icons/envelope-check-fill.svg +4 -0
  353. package/shoelace/assets/icons/envelope-check.svg +4 -0
  354. package/shoelace/assets/icons/envelope-dash-fill.svg +4 -0
  355. package/shoelace/assets/icons/envelope-dash.svg +4 -0
  356. package/shoelace/assets/icons/envelope-exclamation-fill.svg +4 -0
  357. package/shoelace/assets/icons/envelope-exclamation.svg +4 -0
  358. package/shoelace/assets/icons/envelope-plus-fill.svg +4 -0
  359. package/shoelace/assets/icons/envelope-plus.svg +4 -0
  360. package/shoelace/assets/icons/envelope-slash-fill.svg +4 -0
  361. package/shoelace/assets/icons/envelope-slash.svg +4 -0
  362. package/shoelace/assets/icons/envelope-x-fill.svg +4 -0
  363. package/shoelace/assets/icons/envelope-x.svg +4 -0
  364. package/shoelace/assets/icons/ethernet.svg +4 -0
  365. package/shoelace/assets/icons/exclamation-lg.svg +3 -0
  366. package/shoelace/assets/icons/explicit-fill.svg +3 -0
  367. package/shoelace/assets/icons/explicit.svg +4 -0
  368. package/shoelace/assets/icons/fan.svg +4 -0
  369. package/shoelace/assets/icons/file-earmark-pdf-fill.svg +4 -0
  370. package/shoelace/assets/icons/file-earmark-pdf.svg +4 -0
  371. package/shoelace/assets/icons/file-pdf-fill.svg +4 -0
  372. package/shoelace/assets/icons/file-pdf.svg +4 -0
  373. package/shoelace/assets/icons/fingerprint.svg +7 -0
  374. package/shoelace/assets/icons/gender-ambiguous.svg +3 -0
  375. package/shoelace/assets/icons/gender-female.svg +3 -0
  376. package/shoelace/assets/icons/gender-male.svg +3 -0
  377. package/shoelace/assets/icons/gender-trans.svg +3 -0
  378. package/shoelace/assets/icons/git.svg +3 -0
  379. package/shoelace/assets/icons/gpu-card.svg +5 -0
  380. package/shoelace/assets/icons/graph-down-arrow.svg +3 -0
  381. package/shoelace/assets/icons/graph-up-arrow.svg +3 -0
  382. package/shoelace/assets/icons/hdmi-fill.svg +3 -0
  383. package/shoelace/assets/icons/hdmi.svg +4 -0
  384. package/shoelace/assets/icons/headset-vr.svg +4 -0
  385. package/shoelace/assets/icons/hypnotize.svg +4 -0
  386. package/shoelace/assets/icons/infinity.svg +3 -0
  387. package/shoelace/assets/icons/info-lg.svg +3 -0
  388. package/shoelace/assets/icons/line.svg +3 -0
  389. package/shoelace/assets/icons/list-columns-reverse.svg +3 -0
  390. package/shoelace/assets/icons/list-columns.svg +3 -0
  391. package/shoelace/assets/icons/magic.svg +3 -0
  392. package/shoelace/assets/icons/mastodon.svg +3 -0
  393. package/shoelace/assets/icons/medium.svg +3 -0
  394. package/shoelace/assets/icons/memory.svg +3 -0
  395. package/shoelace/assets/icons/messenger.svg +3 -0
  396. package/shoelace/assets/icons/meta.svg +3 -0
  397. package/shoelace/assets/icons/microsoft.svg +3 -0
  398. package/shoelace/assets/icons/modem-fill.svg +3 -0
  399. package/shoelace/assets/icons/modem.svg +4 -0
  400. package/shoelace/assets/icons/mortarboard-fill.svg +4 -0
  401. package/shoelace/assets/icons/mortarboard.svg +4 -0
  402. package/shoelace/assets/icons/motherboard-fill.svg +4 -0
  403. package/shoelace/assets/icons/motherboard.svg +4 -0
  404. package/shoelace/assets/icons/nintendo-switch.svg +4 -0
  405. package/shoelace/assets/icons/optical-audio-fill.svg +4 -0
  406. package/shoelace/assets/icons/optical-audio.svg +5 -0
  407. package/shoelace/assets/icons/paypal.svg +3 -0
  408. package/shoelace/assets/icons/pc-display-horizontal.svg +3 -0
  409. package/shoelace/assets/icons/pc-display.svg +3 -0
  410. package/shoelace/assets/icons/pc-horizontal.svg +3 -0
  411. package/shoelace/assets/icons/pc.svg +3 -0
  412. package/shoelace/assets/icons/pci-card.svg +4 -0
  413. package/shoelace/assets/icons/person-rolodex.svg +4 -0
  414. package/shoelace/assets/icons/person-video.svg +4 -0
  415. package/shoelace/assets/icons/person-video2.svg +4 -0
  416. package/shoelace/assets/icons/person-video3.svg +4 -0
  417. package/shoelace/assets/icons/person-workspace.svg +4 -0
  418. package/shoelace/assets/icons/piggy-bank-fill.svg +3 -0
  419. package/shoelace/assets/icons/piggy-bank.svg +4 -0
  420. package/shoelace/assets/icons/pin-map-fill.svg +4 -0
  421. package/shoelace/assets/icons/pin-map.svg +4 -0
  422. package/shoelace/assets/icons/pinterest.svg +3 -0
  423. package/shoelace/assets/icons/playstation.svg +3 -0
  424. package/shoelace/assets/icons/plus-lg.svg +3 -0
  425. package/shoelace/assets/icons/plus-slash-minus.svg +3 -0
  426. package/shoelace/assets/icons/projector-fill.svg +3 -0
  427. package/shoelace/assets/icons/projector.svg +4 -0
  428. package/shoelace/assets/icons/qr-code-scan.svg +7 -0
  429. package/shoelace/assets/icons/qr-code.svg +7 -0
  430. package/shoelace/assets/icons/question-lg.svg +3 -0
  431. package/shoelace/assets/icons/quora.svg +3 -0
  432. package/shoelace/assets/icons/quote.svg +3 -0
  433. package/shoelace/assets/icons/radioactive.svg +4 -0
  434. package/shoelace/assets/icons/recycle.svg +3 -0
  435. package/shoelace/assets/icons/reddit.svg +4 -0
  436. package/shoelace/assets/icons/robot.svg +4 -0
  437. package/shoelace/assets/icons/router-fill.svg +6 -0
  438. package/shoelace/assets/icons/router.svg +6 -0
  439. package/shoelace/assets/icons/safe-fill.svg +4 -0
  440. package/shoelace/assets/icons/safe.svg +4 -0
  441. package/shoelace/assets/icons/safe2-fill.svg +4 -0
  442. package/shoelace/assets/icons/safe2.svg +4 -0
  443. package/shoelace/assets/icons/sd-card-fill.svg +3 -0
  444. package/shoelace/assets/icons/sd-card.svg +4 -0
  445. package/shoelace/assets/icons/send-check-fill.svg +4 -0
  446. package/shoelace/assets/icons/send-check.svg +4 -0
  447. package/shoelace/assets/icons/send-dash-fill.svg +4 -0
  448. package/shoelace/assets/icons/send-dash.svg +4 -0
  449. package/shoelace/assets/icons/send-exclamation-fill.svg +4 -0
  450. package/shoelace/assets/icons/send-exclamation.svg +4 -0
  451. package/shoelace/assets/icons/send-fill.svg +3 -0
  452. package/shoelace/assets/icons/send-plus-fill.svg +4 -0
  453. package/shoelace/assets/icons/send-plus.svg +4 -0
  454. package/shoelace/assets/icons/send-slash-fill.svg +4 -0
  455. package/shoelace/assets/icons/send-slash.svg +4 -0
  456. package/shoelace/assets/icons/send-x-fill.svg +4 -0
  457. package/shoelace/assets/icons/send-x.svg +4 -0
  458. package/shoelace/assets/icons/send.svg +3 -0
  459. package/shoelace/assets/icons/signal.svg +3 -0
  460. package/shoelace/assets/icons/skype.svg +3 -0
  461. package/shoelace/assets/icons/slash-lg.svg +3 -0
  462. package/shoelace/assets/icons/snapchat.svg +3 -0
  463. package/shoelace/assets/icons/spotify.svg +3 -0
  464. package/shoelace/assets/icons/stack-overflow.svg +4 -0
  465. package/shoelace/assets/icons/steam.svg +4 -0
  466. package/shoelace/assets/icons/strava.svg +3 -0
  467. package/shoelace/assets/icons/terminal-dash.svg +4 -0
  468. package/shoelace/assets/icons/terminal-plus.svg +4 -0
  469. package/shoelace/assets/icons/terminal-split.svg +4 -0
  470. package/shoelace/assets/icons/terminal-x.svg +4 -0
  471. package/shoelace/assets/icons/thunderbolt-fill.svg +3 -0
  472. package/shoelace/assets/icons/thunderbolt.svg +4 -0
  473. package/shoelace/assets/icons/ticket-detailed-fill.svg +3 -0
  474. package/shoelace/assets/icons/ticket-detailed.svg +4 -0
  475. package/shoelace/assets/icons/ticket-fill.svg +3 -0
  476. package/shoelace/assets/icons/ticket-perforated-fill.svg +3 -0
  477. package/shoelace/assets/icons/ticket-perforated.svg +4 -0
  478. package/shoelace/assets/icons/ticket.svg +3 -0
  479. package/shoelace/assets/icons/tiktok.svg +3 -0
  480. package/shoelace/assets/icons/translate.svg +4 -0
  481. package/shoelace/assets/icons/usb-c-fill.svg +3 -0
  482. package/shoelace/assets/icons/usb-c.svg +4 -0
  483. package/shoelace/assets/icons/usb-drive-fill.svg +3 -0
  484. package/shoelace/assets/icons/usb-drive.svg +3 -0
  485. package/shoelace/assets/icons/usb-fill.svg +3 -0
  486. package/shoelace/assets/icons/usb-micro-fill.svg +3 -0
  487. package/shoelace/assets/icons/usb-micro.svg +4 -0
  488. package/shoelace/assets/icons/usb-mini-fill.svg +3 -0
  489. package/shoelace/assets/icons/usb-mini.svg +4 -0
  490. package/shoelace/assets/icons/usb-plug-fill.svg +3 -0
  491. package/shoelace/assets/icons/usb-plug.svg +3 -0
  492. package/shoelace/assets/icons/usb-symbol.svg +3 -0
  493. package/shoelace/assets/icons/usb.svg +4 -0
  494. package/shoelace/assets/icons/vimeo.svg +3 -0
  495. package/shoelace/assets/icons/webcam-fill.svg +4 -0
  496. package/shoelace/assets/icons/webcam.svg +4 -0
  497. package/shoelace/assets/icons/window-dash.svg +5 -0
  498. package/shoelace/assets/icons/window-desktop.svg +4 -0
  499. package/shoelace/assets/icons/window-fullscreen.svg +4 -0
  500. package/shoelace/assets/icons/window-plus.svg +5 -0
  501. package/shoelace/assets/icons/window-split.svg +4 -0
  502. package/shoelace/assets/icons/window-stack.svg +4 -0
  503. package/shoelace/assets/icons/window-x.svg +5 -0
  504. package/shoelace/assets/icons/windows.svg +3 -0
  505. package/shoelace/assets/icons/wordpress.svg +5 -0
  506. package/shoelace/assets/icons/x-lg.svg +4 -0
  507. package/shoelace/assets/icons/xbox.svg +3 -0
  508. package/shoelace/assets/icons/yin-yang.svg +4 -0
  509. package/shoelace/themes/themes/dark.styles.d.ts +2 -0
  510. package/shoelace/themes/themes/dark.styles.js +531 -0
  511. package/shoelace/themes/themes/light.css +439 -0
  512. package/shoelace/themes/themes/light.styles.d.ts +2 -0
  513. package/shoelace/themes/themes/light.styles.js +531 -0
  514. package/dist/cjs/extends-08099afd.js +0 -21
  515. package/dist/esm/extends-c31f1eff.js +0 -19
  516. package/dist/esm-es5/ShadowViewAddon-b98faaf1.js +0 -1
  517. package/dist/esm-es5/extends-c31f1eff.js +0 -1
  518. package/dist/esm-es5/global-15cdf41a.js +0 -285
  519. package/dist/esm-es5/index.module-f5e17a4e.js +0 -1
  520. package/dist/esm-es5/sqm-big-stat_34.entry.js +0 -1
  521. package/dist/esm-es5/sqm-portal-section-view-c8d1c727.js +0 -1
  522. package/dist/esm-es5/use-callback-7e0bfd3b.js +0 -1
  523. package/dist/esm-es5/useReferralTable-d8a7e3be.js +0 -1
  524. package/dist/mint-components/p-003042cf.entry.js +0 -1
  525. package/dist/mint-components/p-02838fc9.system.entry.js +0 -1
  526. package/dist/mint-components/p-16b6aea4.js +0 -1
  527. package/dist/mint-components/p-1a10ffc0.entry.js +0 -13
  528. package/dist/mint-components/p-1a9cd574.entry.js +0 -1
  529. package/dist/mint-components/p-1c17892a.system.js +0 -1
  530. package/dist/mint-components/p-1c9004f0.system.entry.js +0 -1
  531. package/dist/mint-components/p-21b7949e.entry.js +0 -1
  532. package/dist/mint-components/p-2800ad44.system.js +0 -8
  533. package/dist/mint-components/p-2821a373.entry.js +0 -1
  534. package/dist/mint-components/p-31f0eaa9.system.entry.js +0 -1
  535. package/dist/mint-components/p-33707867.system.entry.js +0 -1
  536. package/dist/mint-components/p-342bfc16.entry.js +0 -1
  537. package/dist/mint-components/p-35a26fcd.entry.js +0 -1
  538. package/dist/mint-components/p-436da6b8.system.js +0 -1
  539. package/dist/mint-components/p-4a1f24ef.entry.js +0 -1
  540. package/dist/mint-components/p-4a2782fd.system.entry.js +0 -1
  541. package/dist/mint-components/p-596902cd.system.entry.js +0 -1
  542. package/dist/mint-components/p-67958347.system.entry.js +0 -1
  543. package/dist/mint-components/p-71ecbb3b.system.js +0 -1
  544. package/dist/mint-components/p-81f34787.js +0 -1
  545. package/dist/mint-components/p-842aa194.system.js +0 -1
  546. package/dist/mint-components/p-883f9baa.entry.js +0 -1
  547. package/dist/mint-components/p-8a1a1fb4.system.entry.js +0 -1
  548. package/dist/mint-components/p-95398ce2.js +0 -1
  549. package/dist/mint-components/p-95bbe8a7.entry.js +0 -1
  550. package/dist/mint-components/p-982ad256.js +0 -1
  551. package/dist/mint-components/p-9d162fc5.system.entry.js +0 -1
  552. package/dist/mint-components/p-a2b19c36.entry.js +0 -1
  553. package/dist/mint-components/p-a624b8d7.system.entry.js +0 -1
  554. package/dist/mint-components/p-a994df5c.system.entry.js +0 -1
  555. package/dist/mint-components/p-ab8f86d3.js +0 -1
  556. package/dist/mint-components/p-b1766f84.entry.js +0 -1
  557. package/dist/mint-components/p-b176c55c.entry.js +0 -9
  558. package/dist/mint-components/p-bb40479d.system.js +0 -1
  559. package/dist/mint-components/p-bc58ebb5.system.js +0 -1
  560. package/dist/mint-components/p-c2949a5b.entry.js +0 -1
  561. package/dist/mint-components/p-c2b561a0.system.entry.js +0 -1
  562. package/dist/mint-components/p-c712f1ca.system.entry.js +0 -1
  563. package/dist/mint-components/p-d3e114bb.system.entry.js +0 -1
  564. package/dist/mint-components/p-d4cc87d9.entry.js +0 -1
  565. package/dist/mint-components/p-d5bc4139.entry.js +0 -1
  566. package/dist/mint-components/p-dbe21db8.system.entry.js +0 -1
  567. package/dist/mint-components/p-e17c7323.system.entry.js +0 -1
  568. package/dist/mint-components/p-e3a7bab7.system.entry.js +0 -1
  569. package/dist/mint-components/p-e60132f2.system.entry.js +0 -1
  570. package/dist/mint-components/p-e7561cbf.entry.js +0 -1
  571. package/dist/mint-components/p-ebb79099.system.entry.js +0 -1
  572. package/dist/mint-components/p-ec7dd6f7.js +0 -1
  573. package/dist/mint-components/p-f209785c.entry.js +0 -1
  574. package/dist/mint-components/p-f221d418.entry.js +0 -1
  575. package/dist/mint-components/p-f298a1bc.system.entry.js +0 -1
  576. package/dist/mint-components/p-f69ecdf7.system.entry.js +0 -1
  577. package/dist/mint-components/p-f702ffef.js +0 -268
  578. package/dist/mint-components/p-fd4d90b9.system.js +0 -1
  579. package/dist/mint-components/p-fe887951.entry.js +0 -1
  580. package/dist/mint-components/p-ff932bfa.entry.js +0 -1
@@ -0,0 +1 @@
1
+ import{u as n,d as t,e,f as i,c as r,a as o,h as s,i as u}from"./p-8b4c8f6c.js";import{u as a}from"./p-982fb67b.js";function c(n,t){for(var e=0;e<t.length;e++){var i=t[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}function f(n,t,e){return t&&c(n.prototype,t),e&&c(n,e),n}var l=function(){function n(n){var t=this,e=this;this._status="Initial",this.onChange=function(n){e.options.onChange&&e.options.onChange(n)},this.onConnect=function(n){try{return t.status="Connected",t.options.onChange&&t.options.onChange(n),Promise.resolve(new Promise((function(n){t.resolvePromise=n})))}catch(n){return Promise.reject(n)}},this.onDisconnect=function(){e.status="Connecting",e.start()},this.options=n}var t=n.prototype;return t.start=function(){var n=this,t=0;this.status="Connecting";var e=function(){return n.status},i=d(this.options.attempts)||10,r=function(){if("Connected"!==e()){var r=new CustomEvent(n.options.contextName,{bubbles:!0,cancelable:!0,composed:!0,detail:{onConnect:n.onConnect,onChange:n.onChange,onDisconnect:n.onDisconnect}});d(n.options.element).dispatchEvent(r),"Connected"!==e()?++t>=i&&(n._interval&&clearInterval(n._interval),n.status="Timeout"):"Connected"===e()&&n._interval&&clearInterval(n._interval)}};return(d(this.options.pollingMs)||100)>0&&i>1&&(this._interval=setInterval(r,d(this.options.pollingMs)||100)),r(),this},t.stop=function(){return this._interval&&clearInterval(this._interval),this.resolvePromise&&this.resolvePromise(),this.status="Initial",this},f(n,[{key:"status",set:function(n){this._status=n,this.options.onStatus&&this.options.onStatus(n)},get:function(){return this._status}}]),n}(),h=function(){function n(n){var t=this;this.__listeners=[],this.connectListener=function(n){try{n.stopPropagation(),t.__listeners=[].concat(t.__listeners,[n.detail]);var e=function(e,i){try{var r=Promise.resolve(n.detail.onConnect(t.__current)).then((function(){}))}catch(n){return i(!0,n)}return r&&r.then?r.then(i.bind(null,!1),i.bind(null,!0)):i(!1,r)}(0,(function(e,i){var r,o;if(t.__listeners=(o=(r=t.__listeners).indexOf(n.detail),r.slice(0,o).concat(r.slice(o+1,r.length))),e)throw i;return i}));return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(n){return Promise.reject(n)}},this.options=n,this.__current=d(n.initialState)}var t=n.prototype;return t.start=function(){return d(this.options.element).addEventListener(this.options.contextName,this.connectListener),this},t.stop=function(){return d(this.options.element).removeEventListener(this.options.contextName,this.connectListener),this.__listeners.map((function(n){n.onDisconnect()})),this.__listeners=[],this},f(n,[{key:"context",set:function(n){this.__current=n,this.__listeners.forEach((function(t){return t.onChange(n)}))},get:function(){return d(this.__current)}},{key:"listeners",get:function(){return Object.freeze([].concat(this.__listeners))}}]),n}();function d(n){return"function"==typeof typeof n?n():n}function v(){return(v=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n}).apply(this,arguments)}var p=1e3,m=60*p,y=60*m,b=24*y,w=function(n,t){t=t||{};var e=typeof n;if("string"===e&&n.length>0)return function(n){if(!((n=String(n)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(n);if(t){var e=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*e;case"weeks":case"week":case"w":return 6048e5*e;case"days":case"day":case"d":return e*b;case"hours":case"hour":case"hrs":case"hr":case"h":return e*y;case"minutes":case"minute":case"mins":case"min":case"m":return e*m;case"seconds":case"second":case"secs":case"sec":case"s":return e*p;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return e;default:return}}}}(n);if("number"===e&&isFinite(n))return t.long?function(n){var t=Math.abs(n);return t>=b?g(n,t,b,"day"):t>=y?g(n,t,y,"hour"):t>=m?g(n,t,m,"minute"):t>=p?g(n,t,p,"second"):n+" ms"}(n):function(n){var t=Math.abs(n);return t>=b?Math.round(n/b)+"d":t>=y?Math.round(n/y)+"h":t>=m?Math.round(n/m)+"m":t>=p?Math.round(n/p)+"s":n+"ms"}(n);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(n))};function g(n,t,e,i){var r=t>=1.5*e;return Math.round(n/e)+" "+i+(r?"s":"")}var E,C=(function(n,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+n.exports.humanize(this.diff),!this.useColors)return;const e="color: "+this.color;t.splice(1,0,e,"color: inherit");let i=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(n=>{"%%"!==n&&(i++,"%c"===n&&(r=i))})),t.splice(r,0,e)},t.save=function(n){try{n?t.storage.setItem("debug",n):t.storage.removeItem("debug")}catch(n){}},t.load=function(){let n;try{n=t.storage.getItem("debug")}catch(n){}return!n&&"undefined"!=typeof process&&"env"in process&&(n=process.env.DEBUG),n},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(n){}}(),t.destroy=(()=>{let n=!1;return()=>{n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),n.exports=function(n){function t(n){let i,r=null;function o(...n){if(!o.enabled)return;const e=o,r=Number(new Date);e.diff=r-(i||r),e.prev=i,e.curr=r,i=r,n[0]=t.coerce(n[0]),"string"!=typeof n[0]&&n.unshift("%O");let s=0;n[0]=n[0].replace(/%([a-zA-Z%])/g,((i,r)=>{if("%%"===i)return"%";s++;const o=t.formatters[r];return"function"==typeof o&&(i=o.call(e,n[s]),n.splice(s,1),s--),i})),t.formatArgs.call(e,n),(e.log||t.log).apply(e,n)}return o.namespace=n,o.useColors=t.useColors(),o.color=t.selectColor(n),o.extend=e,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null===r?t.enabled(n):r,set:n=>{r=n}}),"function"==typeof t.init&&t.init(o),o}function e(n,e){const i=t(this.namespace+(void 0===e?":":e)+n);return i.log=this.log,i}function i(n){return n.toString().substring(2,n.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(n){return n instanceof Error?n.stack||n.message:n},t.disable=function(){const n=[...t.names.map(i),...t.skips.map(i).map((n=>"-"+n))].join(",");return t.enable(""),n},t.enable=function(n){let e;t.save(n),t.names=[],t.skips=[];const i=("string"==typeof n?n:"").split(/[\s,]+/),r=i.length;for(e=0;e<r;e++)i[e]&&("-"===(n=i[e].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+n.substr(1)+"$")):t.names.push(new RegExp("^"+n+"$")))},t.enabled=function(n){if("*"===n[n.length-1])return!0;let e,i;for(e=0,i=t.skips.length;e<i;e++)if(t.skips[e].test(n))return!1;for(e=0,i=t.names.length;e<i;e++)if(t.names[e].test(n))return!0;return!1},t.humanize=w,t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(n).forEach((e=>{t[e]=n[e]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(n){let e=0;for(let t=0;t<n.length;t++)e=(e<<5)-e+n.charCodeAt(t),e|=0;return t.colors[Math.abs(e)%t.colors.length]},t.enable(t.load()),t}(t);const{formatters:e}=n.exports;e.j=function(n){try{return JSON.stringify(n)}catch(n){return"[UnexpectedJSONParseError]: "+n.message}}}(E={exports:{}},E.exports),E.exports)("useDomContext");function S(r,o,s){void 0===s&&(s={});var u=t(void 0),a=e(void 0),c=a[0],f=a[1],h=i((function(){var n=new l(v({contextName:o,element:r,onChange:function(n){u.current=n,f(n)}},s));return n.start(),C("Listener initialized",n),{listener:n}}),[o,u]).listener;return n((function(){return C("Listener starting (or restarting)",h),h.start(),function(){C("Listener stopping (or restopping)",h),h.stop()}}),[h,r.isConnected]),c||u.current}var F=r((function(n,t){var e=function(n){function t(){this.fetch=!1,this.DOMException=n.DOMException}return t.prototype=n,new t}("undefined"!=typeof self?self:o);!function(n){!function(t){var e="URLSearchParams"in n,i="Symbol"in n&&"iterator"in Symbol,r="FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(n){return!1}}(),o="FormData"in n,s="ArrayBuffer"in n;if(s)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(n){return n&&u.indexOf(Object.prototype.toString.call(n))>-1};function c(n){if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new TypeError("Invalid character in header field name");return n.toLowerCase()}function f(n){return"string"!=typeof n&&(n=String(n)),n}function l(n){var t={next:function(){var t=n.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function h(n){this.map={},n instanceof h?n.forEach((function(n,t){this.append(t,n)}),this):Array.isArray(n)?n.forEach((function(n){this.append(n[0],n[1])}),this):n&&Object.getOwnPropertyNames(n).forEach((function(t){this.append(t,n[t])}),this)}function d(n){if(n.bodyUsed)return Promise.reject(new TypeError("Already read"));n.bodyUsed=!0}function v(n){return new Promise((function(t,e){n.onload=function(){t(n.result)},n.onerror=function(){e(n.error)}}))}function p(n){var t=new FileReader,e=v(t);return t.readAsArrayBuffer(n),e}function m(n){if(n.slice)return n.slice(0);var t=new Uint8Array(n.byteLength);return t.set(new Uint8Array(n)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(n){var t;this._bodyInit=n,n?"string"==typeof n?this._bodyText=n:r&&Blob.prototype.isPrototypeOf(n)?this._bodyBlob=n:o&&FormData.prototype.isPrototypeOf(n)?this._bodyFormData=n:e&&URLSearchParams.prototype.isPrototypeOf(n)?this._bodyText=n.toString():s&&r&&(t=n)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=m(n.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(n)||a(n))?this._bodyArrayBuffer=m(n):this._bodyText=n=Object.prototype.toString.call(n):this._bodyText="",this.headers.get("content-type")||("string"==typeof n?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e&&URLSearchParams.prototype.isPrototypeOf(n)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var n=d(this);if(n)return n;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var n,t,e,i=d(this);if(i)return i;if(this._bodyBlob)return n=this._bodyBlob,e=v(t=new FileReader),t.readAsText(n),e;if(this._bodyArrayBuffer)return Promise.resolve(function(n){for(var t=new Uint8Array(n),e=new Array(t.length),i=0;i<t.length;i++)e[i]=String.fromCharCode(t[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}h.prototype.append=function(n,t){n=c(n),t=f(t);var e=this.map[n];this.map[n]=e?e+", "+t:t},h.prototype.delete=function(n){delete this.map[c(n)]},h.prototype.get=function(n){return n=c(n),this.has(n)?this.map[n]:null},h.prototype.has=function(n){return this.map.hasOwnProperty(c(n))},h.prototype.set=function(n,t){this.map[c(n)]=f(t)},h.prototype.forEach=function(n,t){for(var e in this.map)this.map.hasOwnProperty(e)&&n.call(t,this.map[e],e,this)},h.prototype.keys=function(){var n=[];return this.forEach((function(t,e){n.push(e)})),l(n)},h.prototype.values=function(){var n=[];return this.forEach((function(t){n.push(t)})),l(n)},h.prototype.entries=function(){var n=[];return this.forEach((function(t,e){n.push([e,t])})),l(n)},i&&(h.prototype[Symbol.iterator]=h.prototype.entries);var b=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(n,t){var e,i,r=(t=t||{}).body;if(n instanceof w){if(n.bodyUsed)throw new TypeError("Already read");this.url=n.url,this.credentials=n.credentials,t.headers||(this.headers=new h(n.headers)),this.method=n.method,this.mode=n.mode,this.signal=n.signal,r||null==n._bodyInit||(r=n._bodyInit,n.bodyUsed=!0)}else this.url=String(n);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new h(t.headers)),this.method=(i=(e=t.method||this.method||"GET").toUpperCase(),b.indexOf(i)>-1?i:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(n){var t=new FormData;return n.trim().split("&").forEach((function(n){if(n){var e=n.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(r))}})),t}function E(n,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new h(t.headers),this.url=t.url||"",this._initBody(n)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},y.call(w.prototype),y.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},E.error=function(){var n=new E(null,{status:0,statusText:""});return n.type="error",n};var C=[301,302,303,307,308];E.redirect=function(n,t){if(-1===C.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:n}})},t.DOMException=n.DOMException;try{new t.DOMException}catch(n){t.DOMException=function(n,t){this.message=n,this.name=t;var e=Error(n);this.stack=e.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function S(n,e){return new Promise((function(i,o){var s=new w(n,e);if(s.signal&&s.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var u=new XMLHttpRequest;function a(){u.abort()}u.onload=function(){var n,t,e={status:u.status,statusText:u.statusText,headers:(n=u.getAllResponseHeaders()||"",t=new h,n.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(n){var e=n.split(":"),i=e.shift().trim();if(i){var r=e.join(":").trim();t.append(i,r)}})),t)};e.url="responseURL"in u?u.responseURL:e.headers.get("X-Request-URL"),i(new E("response"in u?u.response:u.responseText,e))},u.onerror=function(){o(new TypeError("Network request failed"))},u.ontimeout=function(){o(new TypeError("Network request failed"))},u.onabort=function(){o(new t.DOMException("Aborted","AbortError"))},u.open(s.method,s.url,!0),"include"===s.credentials?u.withCredentials=!0:"omit"===s.credentials&&(u.withCredentials=!1),"responseType"in u&&r&&(u.responseType="blob"),s.headers.forEach((function(n,t){u.setRequestHeader(t,n)})),s.signal&&(s.signal.addEventListener("abort",a),u.onreadystatechange=function(){4===u.readyState&&s.signal.removeEventListener("abort",a)}),u.send(void 0===s._bodyInit?null:s._bodyInit)}))}S.polyfill=!0,n.fetch||(n.fetch=S,n.Headers=h,n.Request=w,n.Response=E),t.Headers=h,t.Request=w,t.Response=E,t.fetch=S}({})}(e),delete e.fetch.polyfill,(t=e.fetch).default=e.fetch,t.fetch=e.fetch,t.Headers=e.Headers,t.Request=e.Request,t.Response=e.Response,n.exports=t})),I=r((function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.default=e})),O=r((function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(n){return o(n,[])};var e,i=(e=I)&&e.__esModule?e:{default:e};function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function o(n,t){switch(r(n)){case"string":return JSON.stringify(n);case"function":return n.name?"[function ".concat(n.name,"]"):"[function]";case"object":return null===n?"null":function(n,t){if(-1!==t.indexOf(n))return"[Circular]";var e=[].concat(t,[n]),r=function(n){var t=n[String(i.default)];return"function"==typeof t?t:"function"==typeof n.inspect?n.inspect:void 0}(n);if(void 0!==r){var s=r.call(n);if(s!==n)return"string"==typeof s?s:o(s,e)}else if(Array.isArray(n))return function(n,t){if(0===n.length)return"[]";if(t.length>2)return"[Array]";for(var e=Math.min(10,n.length),i=n.length-e,r=[],s=0;s<e;++s)r.push(o(n[s],t));return 1===i?r.push("... 1 more item"):i>1&&r.push("... ".concat(i," more items")),"["+r.join(", ")+"]"}(n,e);return function(n,t){var e=Object.keys(n);return 0===e.length?"{}":t.length>2?"["+function(n){var t=Object.prototype.toString.call(n).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof n.constructor){var e=n.constructor.name;if("string"==typeof e&&""!==e)return e}return t}(n)+"]":"{ "+e.map((function(e){return e+": "+o(n[e],t)})).join(", ")+" }"}(n,e)}(n,t);default:return String(n)}}})),T=r((function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(n,t){if(!Boolean(n))throw new Error(null!=t?t:"Unexpected invariant triggered.")}})),N=r((function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(n){var t=n.prototype.toJSON;"function"==typeof t||(0,e.default)(0),n.prototype.inspect=t,i.default&&(n.prototype[i.default]=t)};var e=r(T),i=r(I);function r(n){return n&&n.__esModule?n:{default:n}}})),D=r((function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isNode=function(n){return null!=n&&"string"==typeof n.kind},t.Token=t.Location=void 0;var e,i=(e=N)&&e.__esModule?e:{default:e},r=function(){function n(n,t,e){this.start=n.start,this.end=t.end,this.startToken=n,this.endToken=t,this.source=e}return n.prototype.toJSON=function(){return{start:this.start,end:this.end}},n}();t.Location=r,(0,i.default)(r);var o=function(){function n(n,t,e,i,r,o,s){this.kind=n,this.start=t,this.end=e,this.line=i,this.column=r,this.value=s,this.prev=o,this.next=null}return n.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},n}();t.Token=o,(0,i.default)(o)})),j=r((function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.visit=function(n,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r,u=void 0,a=Array.isArray(n),c=[n],f=-1,l=[],h=void 0,d=void 0,v=void 0,p=[],m=[],y=n;do{var b=++f===c.length,w=b&&0!==l.length;if(b){if(d=0===m.length?void 0:p[p.length-1],h=v,v=m.pop(),w){if(a)h=h.slice();else{for(var g={},E=0,C=Object.keys(h);E<C.length;E++){var S=C[E];g[S]=h[S]}h=g}for(var F=0,I=0;I<l.length;I++){var O=l[I][0],T=l[I][1];a&&(O-=F),a&&null===T?(h.splice(O,1),F++):h[O]=T}}f=u.index,c=u.keys,l=u.edits,a=u.inArray,u=u.prev}else{if(d=v?a?f:c[f]:void 0,null==(h=v?v[d]:y))continue;v&&p.push(d)}var N,j=void 0;if(!Array.isArray(h)){if(!(0,D.isNode)(h))throw new Error("Invalid AST Node: ".concat((0,i.default)(h),"."));var A=s(t,h.kind,b);if(A){if((j=A.call(t,h,d,v,p,m))===o)break;if(!1===j){if(!b){p.pop();continue}}else if(void 0!==j&&(l.push([d,j]),!b)){if(!(0,D.isNode)(j)){p.pop();continue}h=j}}}void 0===j&&w&&l.push([d,h]),b?p.pop():(u={inArray:a,index:f,keys:c,edits:l,prev:u},c=(a=Array.isArray(h))?h:null!==(N=e[h.kind])&&void 0!==N?N:[],f=-1,l=[],v&&m.push(v),v=h)}while(void 0!==u);return 0!==l.length&&(y=l[l.length-1][1]),y},t.visitInParallel=function(n){var t=new Array(n.length);return{enter:function(e){for(var i=0;i<n.length;i++)if(null==t[i]){var r=s(n[i],e.kind,!1);if(r){var u=r.apply(n[i],arguments);if(!1===u)t[i]=e;else if(u===o)t[i]=o;else if(void 0!==u)return u}}},leave:function(e){for(var i=0;i<n.length;i++)if(null==t[i]){var r=s(n[i],e.kind,!0);if(r){var u=r.apply(n[i],arguments);if(u===o)t[i]=o;else if(void 0!==u&&!1!==u)return u}}else t[i]===e&&(t[i]=null)}}},t.getVisitFn=s,t.BREAK=t.QueryDocumentKeys=void 0;var e,i=(e=O)&&e.__esModule?e:{default:e},r={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};t.QueryDocumentKeys=r;var o=Object.freeze({});function s(n,t,e){var i=n[t];if(i){if(!e&&"function"==typeof i)return i;var r=e?i.leave:i.enter;if("function"==typeof r)return r}else{var o=e?n.leave:n.enter;if(o){if("function"==typeof o)return o;var s=o[t];if("function"==typeof s)return s}}}t.BREAK=o})),A=r((function(n,t){function e(n){for(var t=0;t<n.length;++t)if(" "!==n[t]&&"\t"!==n[t])return!1;return!0}function i(n){for(var t,e=!0,i=!0,r=0,o=null,s=0;s<n.length;++s)switch(n.charCodeAt(s)){case 13:10===n.charCodeAt(s+1)&&++s;case 10:e=!1,i=!0,r=0;break;case 9:case 32:++r;break;default:i&&!e&&(null===o||r<o)&&(o=r),i=!1}return null!==(t=o)&&void 0!==t?t:0}Object.defineProperty(t,"__esModule",{value:!0}),t.dedentBlockStringValue=function(n){var t=n.split(/\r\n|[\n\r]/g),r=i(n);if(0!==r)for(var o=1;o<t.length;o++)t[o]=t[o].slice(r);for(var s=0;s<t.length&&e(t[s]);)++s;for(var u=t.length;u>s&&e(t[u-1]);)--u;return t.slice(s,u).join("\n")},t.getBlockStringIndentation=i,t.printBlockString=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=-1===n.indexOf("\n"),r=" "===n[0]||"\t"===n[0],o='"'===n[n.length-1],s="\\"===n[n.length-1],u=!i||o||s||e,a="";return!u||i&&r||(a+="\n"+t),a+=t?n.replace(/\n/g,"\n"+t):n,u&&(a+="\n"),'"""'+a.replace(/"""/g,'\\"""')+'"""'}})),x=r((function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.print=function(n){return(0,j.visit)(n,{leave:e})};var e={Name:function(n){return n.value},Variable:function(n){return"$"+n.name},Document:function(n){return r(n.definitions,"\n\n")+"\n"},OperationDefinition:function(n){var t=n.operation,e=n.name,i=s("(",r(n.variableDefinitions,", "),")"),o=r(n.directives," "),u=n.selectionSet;return e||o||i||"query"!==t?r([t,r([e,i]),o,u]," "):u},VariableDefinition:function(n){var t=n.directives;return n.variable+": "+n.type+s(" = ",n.defaultValue)+s(" ",r(t," "))},SelectionSet:function(n){return o(n.selections)},Field:function(n){var t=n.name,e=n.arguments,i=n.directives,o=n.selectionSet,a=s("",n.alias,": ")+t,c=a+s("(",r(e,", "),")");return c.length>80&&(c=a+s("(\n",u(r(e,"\n")),"\n)")),r([c,r(i," "),o]," ")},Argument:function(n){return n.name+": "+n.value},FragmentSpread:function(n){return"..."+n.name+s(" ",r(n.directives," "))},InlineFragment:function(n){var t=n.directives,e=n.selectionSet;return r(["...",s("on ",n.typeCondition),r(t," "),e]," ")},FragmentDefinition:function(n){var t=n.typeCondition,e=n.variableDefinitions,i=n.directives,o=n.selectionSet;return"fragment ".concat(n.name).concat(s("(",r(e,", "),")")," ")+"on ".concat(t," ").concat(s("",r(i," ")," "))+o},IntValue:function(n){return n.value},FloatValue:function(n){return n.value},StringValue:function(n,t){var e=n.value;return n.block?(0,A.printBlockString)(e,"description"===t?"":" "):JSON.stringify(e)},BooleanValue:function(n){return n.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(n){return n.value},ListValue:function(n){return"["+r(n.values,", ")+"]"},ObjectValue:function(n){return"{"+r(n.fields,", ")+"}"},ObjectField:function(n){return n.name+": "+n.value},Directive:function(n){return"@"+n.name+s("(",r(n.arguments,", "),")")},NamedType:function(n){return n.name},ListType:function(n){return"["+n.type+"]"},NonNullType:function(n){return n.type+"!"},SchemaDefinition:i((function(n){var t=n.operationTypes;return r(["schema",r(n.directives," "),o(t)]," ")})),OperationTypeDefinition:function(n){return n.operation+": "+n.type},ScalarTypeDefinition:i((function(n){return r(["scalar",n.name,r(n.directives," ")]," ")})),ObjectTypeDefinition:i((function(n){var t=n.directives,e=n.fields;return r(["type",n.name,s("implements ",r(n.interfaces," & ")),r(t," "),o(e)]," ")})),FieldDefinition:i((function(n){var t=n.arguments,e=n.type,i=n.directives;return n.name+(c(t)?s("(\n",u(r(t,"\n")),"\n)"):s("(",r(t,", "),")"))+": "+e+s(" ",r(i," "))})),InputValueDefinition:i((function(n){var t=n.directives;return r([n.name+": "+n.type,s("= ",n.defaultValue),r(t," ")]," ")})),InterfaceTypeDefinition:i((function(n){var t=n.directives,e=n.fields;return r(["interface",n.name,s("implements ",r(n.interfaces," & ")),r(t," "),o(e)]," ")})),UnionTypeDefinition:i((function(n){var t=n.types;return r(["union",n.name,r(n.directives," "),t&&0!==t.length?"= "+r(t," | "):""]," ")})),EnumTypeDefinition:i((function(n){var t=n.values;return r(["enum",n.name,r(n.directives," "),o(t)]," ")})),EnumValueDefinition:i((function(n){return r([n.name,r(n.directives," ")]," ")})),InputObjectTypeDefinition:i((function(n){var t=n.fields;return r(["input",n.name,r(n.directives," "),o(t)]," ")})),DirectiveDefinition:i((function(n){var t=n.arguments,e=n.repeatable,i=n.locations;return"directive @"+n.name+(c(t)?s("(\n",u(r(t,"\n")),"\n)"):s("(",r(t,", "),")"))+(e?" repeatable":"")+" on "+r(i," | ")})),SchemaExtension:function(n){var t=n.operationTypes;return r(["extend schema",r(n.directives," "),o(t)]," ")},ScalarTypeExtension:function(n){return r(["extend scalar",n.name,r(n.directives," ")]," ")},ObjectTypeExtension:function(n){var t=n.directives,e=n.fields;return r(["extend type",n.name,s("implements ",r(n.interfaces," & ")),r(t," "),o(e)]," ")},InterfaceTypeExtension:function(n){var t=n.directives,e=n.fields;return r(["extend interface",n.name,s("implements ",r(n.interfaces," & ")),r(t," "),o(e)]," ")},UnionTypeExtension:function(n){var t=n.types;return r(["extend union",n.name,r(n.directives," "),t&&0!==t.length?"= "+r(t," | "):""]," ")},EnumTypeExtension:function(n){var t=n.values;return r(["extend enum",n.name,r(n.directives," "),o(t)]," ")},InputObjectTypeExtension:function(n){var t=n.fields;return r(["extend input",n.name,r(n.directives," "),o(t)]," ")}};function i(n){return function(t){return r([t.description,n(t)],"\n")}}function r(n){var t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==n?void 0:n.filter((function(n){return n})).join(e))&&void 0!==t?t:""}function o(n){return s("{\n",u(r(n,"\n")),"\n}")}function s(n,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?n+t+e:""}function u(n){return s(" ",n.replace(/\n/g,"\n "))}function a(n){return-1!==n.indexOf("\n")}function c(n){return null!=n&&n.some(a)}})),_=function(n){var t=n.name,e=n.type;this.uri=n.uri,this.name=t,this.type=e},P=function(n){return"undefined"!=typeof File&&n instanceof File||"undefined"!=typeof Blob&&n instanceof Blob||n instanceof _},k=function n(t,e,i){var r;void 0===e&&(e=""),void 0===i&&(i=P);var o=new Map;function s(n,t){var e=o.get(t);e?e.push.apply(e,n):o.set(t,n)}if(i(t))r=null,s([e],t);else{var u=e?e+".":"";if("undefined"!=typeof FileList&&t instanceof FileList)r=Array.prototype.map.call(t,(function(n,t){return s([""+u+t],n),null}));else if(Array.isArray(t))r=t.map((function(t,e){var r=n(t,""+u+e,i);return r.files.forEach(s),r.clone}));else if(t&&t.constructor===Object)for(var a in r={},t){var c=n(t[a],""+u+a,i);c.files.forEach(s),r[a]=c.clone}else r=t}return{clone:r,files:o}},M=P,R="object"==typeof self?self.FormData:window.FormData,V=r((function(n,t){var e=o&&o.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(t,"__esModule",{value:!0});var i=e(R),r=function(n){return M(n)||null!==n&&"object"==typeof n&&"function"==typeof n.pipe};t.default=function(n,t){var e=k({query:n,variables:t},"",r),o=e.clone,s=e.files;if(0===s.size)return JSON.stringify(o);var u=new("undefined"==typeof FormData?i.default:FormData);u.append("operations",JSON.stringify(o));var a={},c=0;return s.forEach((function(n){a[++c]=n})),u.append("map",JSON.stringify(a)),c=0,s.forEach((function(n,t){u.append(""+ ++c,t)})),u}})),U=r((function(n,t){var e,i=o&&o.__extends||(e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])})(n,t)},function(n,t){function i(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ClientError=void 0;var r=function(n){function t(e,i){var r=this,o=t.extractMessage(e)+": "+JSON.stringify({response:e,request:i});return r=n.call(this,o)||this,Object.setPrototypeOf(r,t.prototype),r.response=e,r.request=i,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(r,t),r}return i(t,n),t.extractMessage=function(n){try{return n.errors[0].message}catch(t){return"GraphQL Error (Code: "+n.status+")"}},t}(Error);t.ClientError=r})),q=r((function(n,t){var e=o&&o.__assign||function(){return(e=Object.assign||function(n){for(var t,e=1,i=arguments.length;e<i;e++)for(var r in t=arguments[e])Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}).apply(this,arguments)},i=o&&o.__createBinding||(Object.create?function(n,t,e,i){void 0===i&&(i=e),Object.defineProperty(n,i,{enumerable:!0,get:function(){return t[e]}})}:function(n,t,e,i){void 0===i&&(i=e),n[i]=t[e]}),r=o&&o.__setModuleDefault||(Object.create?function(n,t){Object.defineProperty(n,"default",{enumerable:!0,value:t})}:function(n,t){n.default=t}),s=o&&o.__importStar||function(n){if(n&&n.__esModule)return n;var t={};if(null!=n)for(var e in n)"default"!==e&&Object.prototype.hasOwnProperty.call(n,e)&&i(t,n,e);return r(t,n),t},u=o&&o.__awaiter||function(n,t,e,i){return new(e||(e=Promise))((function(r,o){function s(n){try{a(i.next(n))}catch(n){o(n)}}function u(n){try{a(i.throw(n))}catch(n){o(n)}}function a(n){var t;n.done?r(n.value):(t=n.value,t instanceof e?t:new e((function(n){n(t)}))).then(s,u)}a((i=i.apply(n,t||[])).next())}))},a=o&&o.__generator||function(n,t){var e,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(e)throw new TypeError("Generator is already executing.");for(;s;)try{if(e=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(n,s)}catch(n){o=[6,n],i=0}finally{e=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}},c=o&&o.__rest||function(n,t){var e={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&t.indexOf(i)<0&&(e[i]=n[i]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(n);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(n,i[r])&&(e[i[r]]=n[i[r]])}return e},f=o&&o.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(t,"__esModule",{value:!0}),t.gql=t.request=t.rawRequest=t.GraphQLClient=t.ClientError=void 0;var l=s(F),h=l,d=f(V),v=U;Object.defineProperty(t,"ClientError",{enumerable:!0,get:function(){return v.ClientError}});var p=function(n){var t={};return n&&("undefined"!=typeof Headers&&n instanceof Headers||n instanceof h.Headers?t=function(n){var t={};return n.forEach((function(n,e){t[e]=n})),t}(n):Array.isArray(n)?n.forEach((function(n){t[n[0]]=n[1]})):t=n),t},m=function(){function n(n,t){this.url=n,this.options=t||{}}return n.prototype.rawRequest=function(n,t,i){return u(this,void 0,void 0,(function(){var r,o,s,u,f,h,v,m,y,w;return a(this,(function(a){switch(a.label){case 0:return o=(r=this.options).headers,u=void 0===(s=r.fetch)?l.default:s,f=c(r,["headers","fetch"]),h=d.default(n,t),[4,u(this.url,e({method:"POST",headers:e(e(e({},"string"==typeof h?{"Content-Type":"application/json"}:{}),p(o)),p(i)),body:h},f))];case 1:return[4,b(v=a.sent())];case 2:if(m=a.sent(),v.ok&&!m.errors&&m.data)return y=v.headers,w=v.status,[2,e(e({},m),{headers:y,status:w})];throw new U.ClientError(e(e({},"string"==typeof m?{error:m}:m),{status:v.status,headers:v.headers}),{query:n,variables:t})}}))}))},n.prototype.request=function(n,t,i){return u(this,void 0,void 0,(function(){var r,o,s,u,f,h,v,m,y;return a(this,(function(a){switch(a.label){case 0:return o=(r=this.options).headers,u=void 0===(s=r.fetch)?l.default:s,f=c(r,["headers","fetch"]),h=function(n){return"string"==typeof n?n:x.print(n)}(n),v=d.default(h,t),[4,u(this.url,e({method:"POST",headers:e(e(e({},"string"==typeof v?{"Content-Type":"application/json"}:{}),p(o)),p(i)),body:v},f))];case 1:return[4,b(m=a.sent())];case 2:if(y=a.sent(),m.ok&&!y.errors&&y.data)return[2,y.data];throw new U.ClientError(e(e({},"string"==typeof y?{error:y}:y),{status:m.status}),{query:h,variables:t})}}))}))},n.prototype.setHeaders=function(n){return this.options.headers=n,this},n.prototype.setHeader=function(n,t){var e,i=this.options.headers;return i?i[n]=t:this.options.headers=((e={})[n]=t,e),this},n}();function y(n,t,e){return u(this,void 0,void 0,(function(){return a(this,(function(){return[2,new m(n).request(t,e)]}))}))}function b(n){var t=n.headers.get("Content-Type");return t&&t.startsWith("application/json")?n.json():n.text()}t.GraphQLClient=m,t.rawRequest=function(n,t,e){return u(this,void 0,void 0,(function(){return a(this,(function(){return[2,new m(n).rawRequest(t,e)]}))}))},t.request=y,t.default=y,t.gql=function(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return n.reduce((function(n,e,i){return""+n+e+(i in t?t[i]:"")}),"")}}));function L(n){this.message=n}(L.prototype=new Error).name="InvalidCharacterError";var $="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(n){var t=String(n).replace(/=+$/,"");if(t.length%4==1)throw new L("'atob' failed: The string to be decoded is not correctly encoded.");for(var e,i,r=0,o=0,s="";i=t.charAt(o++);~i&&(e=r%4?64*e+i:i,r++%4)?s+=String.fromCharCode(255&e>>(-2*r&6)):0)i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(i);return s};function B(n){var t=n.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(n){return decodeURIComponent($(n).replace(/(.)/g,(function(n,t){var e=t.charCodeAt(0).toString(16).toUpperCase();return e.length<2&&(e="0"+e),"%"+e})))}(t)}catch(n){return $(t)}}function J(n){this.message=n}function G(n,t){if("string"!=typeof n)throw new J("Invalid token specified");var e=!0===(t=t||{}).header?0:1;try{return JSON.parse(B(n.split(".")[e]))}catch(n){throw new J("Invalid token specified: "+n.message)}}(J.prototype=new Error).name="InvalidTokenError";const{toString:H,hasOwnProperty:Y}=Object.prototype,Q=Function.prototype.toString,z=new Map;function X(n,t){try{return W(n,t)}finally{z.clear()}}function W(n,t){if(n===t)return!0;const e=H.call(n);if(e!==H.call(t))return!1;switch(e){case"[object Array]":if(n.length!==t.length)return!1;case"[object Object]":{if(tn(n,t))return!0;const e=K(n),i=K(t),r=e.length;if(r!==i.length)return!1;for(let n=0;n<r;++n)if(!Y.call(t,e[n]))return!1;for(let i=0;i<r;++i){const r=e[i];if(!W(n[r],t[r]))return!1}return!0}case"[object Error]":return n.name===t.name&&n.message===t.message;case"[object Number]":if(n!=n)return t!=t;case"[object Boolean]":case"[object Date]":return+n==+t;case"[object RegExp]":case"[object String]":return n==`${t}`;case"[object Map]":case"[object Set]":{if(n.size!==t.size)return!1;if(tn(n,t))return!0;const i=n.entries(),r="[object Map]"===e;for(;;){const n=i.next();if(n.done)break;const[e,o]=n.value;if(!t.has(e))return!1;if(r&&!W(o,t.get(e)))return!1}return!0}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const e=Q.call(n);return e===Q.call(t)&&!function(n){const t=n.length-nn.length;return t>=0&&n.indexOf(nn,t)===t}(e)}}return!1}function K(n){return Object.keys(n).filter(Z,n)}function Z(n){return void 0!==this[n]}const nn="{ [native code] }";function tn(n,t){let e=z.get(n);if(e){if(e.has(t))return!0}else z.set(n,e=new Set);return e.add(t),!1}function en(n){return(en="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var rn="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function on(n,t){for(var e,i=/\r\n|[\n\r]/g,r=1,o=t+1;(e=i.exec(n.body))&&e.index<t;)r+=1,o=t+1-(e.index+e[0].length);return{line:r,column:o}}function sn(n,t){var e=n.locationOffset.column-1,i=an(e)+n.body,r=t.line-1,o=t.line+(n.locationOffset.line-1),s=t.column+(1===t.line?e:0),u="".concat(n.name,":").concat(o,":").concat(s,"\n"),a=i.split(/\r\n|[\n\r]/g),c=a[r];if(c.length>120){for(var f=Math.floor(s/80),l=s%80,h=[],d=0;d<c.length;d+=80)h.push(c.slice(d,d+80));return u+un([["".concat(o),h[0]]].concat(h.slice(1,f+1).map((function(n){return["",n]})),[[" ",an(l-1)+"^"],["",h[f+1]]]))}return u+un([["".concat(o-1),a[r-1]],["".concat(o),c],["",an(s-1)+"^"],["".concat(o+1),a[r+1]]])}function un(n){var t=n.filter((function(n){return void 0!==n[1]})),e=Math.max.apply(Math,t.map((function(n){return n[0].length})));return t.map((function(n){var t,i=n[1];return an(e-(t=n[0]).length)+t+(i?" | "+i:" |")})).join("\n")}function an(n){return Array(n+1).join(" ")}function cn(n){return(cn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function fn(n,t){for(var e=0;e<t.length;e++){var i=t[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}function ln(n,t){return!t||"object"!==cn(t)&&"function"!=typeof t?hn(n):t}function hn(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function dn(n){var t="function"==typeof Map?new Map:void 0;return(dn=function(n){if(null===n||-1===Function.toString.call(n).indexOf("[native code]"))return n;if("function"!=typeof n)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(n))return t.get(n);t.set(n,e)}function e(){return vn(n,arguments,yn(this).constructor)}return e.prototype=Object.create(n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),mn(e,n)})(n)}function vn(n,t,e){return(vn=pn()?Reflect.construct:function(n,t,e){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(n,i));return e&&mn(r,e.prototype),r}).apply(null,arguments)}function pn(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(n){return!1}}function mn(n,t){return(mn=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function yn(n){return(yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var bn=function(){!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&mn(n,t)}(o,dn(Error));var n,t,e,i,r=(n=o,t=pn(),function(){var e,i=yn(n);if(t){var r=yn(this).constructor;e=Reflect.construct(i,arguments,r)}else e=i.apply(this,arguments);return ln(this,e)});function o(n,t,e,i,s,u,a){var c,f,l,h,d;!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),d=r.call(this,n);var v,p=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,m=e;!m&&p&&(m=null===(v=p[0].loc)||void 0===v?void 0:v.source);var y,b=i;!b&&p&&(b=p.reduce((function(n,t){return t.loc&&n.push(t.loc.start),n}),[])),b&&0===b.length&&(b=void 0),i&&e?y=i.map((function(n){return on(e,n)})):p&&(y=p.reduce((function(n,t){return t.loc&&n.push(on(t.loc.source,t.loc.start)),n}),[]));var w,g=a;if(null==g&&null!=u){var E=u.extensions;"object"==en(w=E)&&null!==w&&(g=E)}return Object.defineProperties(hn(d),{name:{value:"GraphQLError"},message:{value:n,enumerable:!0,writable:!0},locations:{value:null!==(c=y)&&void 0!==c?c:void 0,enumerable:null!=y},path:{value:null!=s?s:void 0,enumerable:null!=s},nodes:{value:null!=p?p:void 0},source:{value:null!==(f=m)&&void 0!==f?f:void 0},positions:{value:null!==(l=b)&&void 0!==l?l:void 0},originalError:{value:u},extensions:{value:null!==(h=g)&&void 0!==h?h:void 0,enumerable:null!=g}}),null!=u&&u.stack?(Object.defineProperty(hn(d),"stack",{value:u.stack,writable:!0,configurable:!0}),ln(d)):(Error.captureStackTrace?Error.captureStackTrace(hn(d),o):Object.defineProperty(hn(d),"stack",{value:Error().stack,writable:!0,configurable:!0}),d)}return e=o,(i=[{key:"toString",value:function(){return function(n){var t,e=n.message;if(n.nodes)for(var i=0,r=n.nodes;i<r.length;i++){var o=r[i];o.loc&&(e+="\n\n"+sn((t=o.loc).source,on(t.source,t.start)))}else if(n.source&&n.locations)for(var s=0,u=n.locations;s<u.length;s++)e+="\n\n"+sn(n.source,u[s]);return e}(this)}},{key:rn,get:function(){return"Object"}}])&&fn(e.prototype,i),o}();function wn(n,t,e){return new bn("Syntax Error: ".concat(e),void 0,n,[t])}var gn=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"}),En="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function Cn(n){var t=n.prototype.toJSON;"function"==typeof t||function(){if(!Boolean(0))throw new Error("Unexpected invariant triggered.")}(),n.prototype.inspect=t,En&&(n.prototype[En]=t)}var Sn=function(){function n(n,t,e){this.start=n.start,this.end=t.end,this.startToken=n,this.endToken=t,this.source=e}return n.prototype.toJSON=function(){return{start:this.start,end:this.end}},n}();Cn(Sn);var Fn=function(){function n(n,t,e,i,r,o,s){this.kind=n,this.start=t,this.end=e,this.line=i,this.column=r,this.value=s,this.prev=o,this.next=null}return n.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},n}();function In(n){return null!=n&&"string"==typeof n.kind}Cn(Fn);var On=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function Tn(n){return(Tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function Nn(n){return Dn(n,[])}function Dn(n,t){switch(Tn(n)){case"string":return JSON.stringify(n);case"function":return n.name?"[function ".concat(n.name,"]"):"[function]";case"object":return null===n?"null":function(n,t){if(-1!==t.indexOf(n))return"[Circular]";var e=[].concat(t,[n]),i=function(n){var t=n[String(En)];return"function"==typeof t?t:"function"==typeof n.inspect?n.inspect:void 0}(n);if(void 0!==i){var r=i.call(n);if(r!==n)return"string"==typeof r?r:Dn(r,e)}else if(Array.isArray(n))return function(n,t){if(0===n.length)return"[]";if(t.length>2)return"[Array]";for(var e=Math.min(10,n.length),i=n.length-e,r=[],o=0;o<e;++o)r.push(Dn(n[o],t));return 1===i?r.push("... 1 more item"):i>1&&r.push("... ".concat(i," more items")),"["+r.join(", ")+"]"}(n,e);return function(n,t){var e=Object.keys(n);return 0===e.length?"{}":t.length>2?"["+function(n){var t=Object.prototype.toString.call(n).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof n.constructor){var e=n.constructor.name;if("string"==typeof e&&""!==e)return e}return t}(n)+"]":"{ "+e.map((function(e){return e+": "+Dn(n[e],t)})).join(", ")+" }"}(n,e)}(n,t);default:return String(n)}}function jn(n,t){if(!Boolean(n))throw new Error(t)}function An(n,t){for(var e=0;e<t.length;e++){var i=t[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}var xn=function(){function n(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof n||jn(0,"Body must be a string. Received: ".concat(Nn(n),".")),this.body=n,this.name=t,this.locationOffset=e,this.locationOffset.line>0||jn(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||jn(0,"column in locationOffset is 1-indexed and must be positive.")}var t,e;return t=n,(e=[{key:rn,get:function(){return"Source"}}])&&An(t.prototype,e),n}(),_n=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function Pn(n){var t=n.split(/\r\n|[\n\r]/g),e=function(n){for(var t,e=!0,i=!0,r=0,o=null,s=0;s<n.length;++s)switch(n.charCodeAt(s)){case 13:10===n.charCodeAt(s+1)&&++s;case 10:e=!1,i=!0,r=0;break;case 9:case 32:++r;break;default:i&&!e&&(null===o||r<o)&&(o=r),i=!1}return null!==(t=o)&&void 0!==t?t:0}(n);if(0!==e)for(var i=1;i<t.length;i++)t[i]=t[i].slice(e);for(var r=0;r<t.length&&kn(t[r]);)++r;for(var o=t.length;o>r&&kn(t[o-1]);)--o;return t.slice(r,o).join("\n")}function kn(n){for(var t=0;t<n.length;++t)if(" "!==n[t]&&"\t"!==n[t])return!1;return!0}var Mn=function(){function n(n){var t=new Fn(On.SOF,0,0,0,0,null);this.source=n,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=n.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var n=this.token;if(n.kind!==On.EOF)do{var t;n=null!==(t=n.next)&&void 0!==t?t:n.next=Vn(this,n)}while(n.kind===On.COMMENT);return n},n}();function Rn(n){return isNaN(n)?On.EOF:n<127?JSON.stringify(String.fromCharCode(n)):'"\\u'.concat(("00"+n.toString(16).toUpperCase()).slice(-4),'"')}function Vn(n,t){for(var e=n.source,i=e.body,r=i.length,o=t.end;o<r;){var s=i.charCodeAt(o),u=n.line,a=1+o-n.lineStart;switch(s){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++n.line,n.lineStart=o;continue;case 13:10===i.charCodeAt(o+1)?o+=2:++o,++n.line,n.lineStart=o;continue;case 33:return new Fn(On.BANG,o,o+1,u,a,t);case 35:return qn(e,o,u,a,t);case 36:return new Fn(On.DOLLAR,o,o+1,u,a,t);case 38:return new Fn(On.AMP,o,o+1,u,a,t);case 40:return new Fn(On.PAREN_L,o,o+1,u,a,t);case 41:return new Fn(On.PAREN_R,o,o+1,u,a,t);case 46:if(46===i.charCodeAt(o+1)&&46===i.charCodeAt(o+2))return new Fn(On.SPREAD,o,o+3,u,a,t);break;case 58:return new Fn(On.COLON,o,o+1,u,a,t);case 61:return new Fn(On.EQUALS,o,o+1,u,a,t);case 64:return new Fn(On.AT,o,o+1,u,a,t);case 91:return new Fn(On.BRACKET_L,o,o+1,u,a,t);case 93:return new Fn(On.BRACKET_R,o,o+1,u,a,t);case 123:return new Fn(On.BRACE_L,o,o+1,u,a,t);case 124:return new Fn(On.PIPE,o,o+1,u,a,t);case 125:return new Fn(On.BRACE_R,o,o+1,u,a,t);case 34:return 34===i.charCodeAt(o+1)&&34===i.charCodeAt(o+2)?Jn(e,o,u,a,t,n):Bn(e,o,u,a,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return Ln(e,o,s,u,a,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return Yn(e,o,u,a,t)}throw wn(e,o,Un(s))}return new Fn(On.EOF,r,r,n.line,1+o-n.lineStart,t)}function Un(n){return n<32&&9!==n&&10!==n&&13!==n?"Cannot contain the invalid character ".concat(Rn(n),"."):39===n?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(Rn(n),".")}function qn(n,t,e,i,r){var o,s=n.body,u=t;do{o=s.charCodeAt(++u)}while(!isNaN(o)&&(o>31||9===o));return new Fn(On.COMMENT,t,u,e,i,r,s.slice(t+1,u))}function Ln(n,t,e,i,r,o){var s=n.body,u=e,a=t,c=!1;if(45===u&&(u=s.charCodeAt(++a)),48===u){if((u=s.charCodeAt(++a))>=48&&u<=57)throw wn(n,a,"Invalid number, unexpected digit after 0: ".concat(Rn(u),"."))}else a=$n(n,a,u),u=s.charCodeAt(a);if(46===u&&(c=!0,u=s.charCodeAt(++a),a=$n(n,a,u),u=s.charCodeAt(a)),69!==u&&101!==u||(c=!0,43!==(u=s.charCodeAt(++a))&&45!==u||(u=s.charCodeAt(++a)),a=$n(n,a,u),u=s.charCodeAt(a)),46===u||function(n){return 95===n||n>=65&&n<=90||n>=97&&n<=122}(u))throw wn(n,a,"Invalid number, expected digit but got: ".concat(Rn(u),"."));return new Fn(c?On.FLOAT:On.INT,t,a,i,r,o,s.slice(t,a))}function $n(n,t,e){var i=n.body,r=t,o=e;if(o>=48&&o<=57){do{o=i.charCodeAt(++r)}while(o>=48&&o<=57);return r}throw wn(n,r,"Invalid number, expected digit but got: ".concat(Rn(o),"."))}function Bn(n,t,e,i,r){for(var o=n.body,s=t+1,u=s,a=0,c="";s<o.length&&!isNaN(a=o.charCodeAt(s))&&10!==a&&13!==a;){if(34===a)return c+=o.slice(u,s),new Fn(On.STRING,t,s+1,e,i,r,c);if(a<32&&9!==a)throw wn(n,s,"Invalid character within String: ".concat(Rn(a),"."));if(++s,92===a){switch(c+=o.slice(u,s-1),a=o.charCodeAt(s)){case 34:c+='"';break;case 47:c+="/";break;case 92:c+="\\";break;case 98:c+="\b";break;case 102:c+="\f";break;case 110:c+="\n";break;case 114:c+="\r";break;case 116:c+="\t";break;case 117:var f=Gn(o.charCodeAt(s+1),o.charCodeAt(s+2),o.charCodeAt(s+3),o.charCodeAt(s+4));if(f<0){var l=o.slice(s+1,s+5);throw wn(n,s,"Invalid character escape sequence: \\u".concat(l,"."))}c+=String.fromCharCode(f),s+=4;break;default:throw wn(n,s,"Invalid character escape sequence: \\".concat(String.fromCharCode(a),"."))}u=++s}}throw wn(n,s,"Unterminated string.")}function Jn(n,t,e,i,r,o){for(var s=n.body,u=t+3,a=u,c=0,f="";u<s.length&&!isNaN(c=s.charCodeAt(u));){if(34===c&&34===s.charCodeAt(u+1)&&34===s.charCodeAt(u+2))return f+=s.slice(a,u),new Fn(On.BLOCK_STRING,t,u+3,e,i,r,Pn(f));if(c<32&&9!==c&&10!==c&&13!==c)throw wn(n,u,"Invalid character within String: ".concat(Rn(c),"."));10===c?(++u,++o.line,o.lineStart=u):13===c?(10===s.charCodeAt(u+1)?u+=2:++u,++o.line,o.lineStart=u):92===c&&34===s.charCodeAt(u+1)&&34===s.charCodeAt(u+2)&&34===s.charCodeAt(u+3)?(f+=s.slice(a,u)+'"""',a=u+=4):++u}throw wn(n,u,"Unterminated string.")}function Gn(n,t,e,i){return Hn(n)<<12|Hn(t)<<8|Hn(e)<<4|Hn(i)}function Hn(n){return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:-1}function Yn(n,t,e,i,r){for(var o=n.body,s=o.length,u=t+1,a=0;u!==s&&!isNaN(a=o.charCodeAt(u))&&(95===a||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122);)++u;return new Fn(On.NAME,t,u,e,i,r,o.slice(t,u))}function Qn(n,t){return new zn(n,t).parseDocument()}var zn=function(){function n(n,t){var e=function(n){return n instanceof xn}(n)?n:new xn(n);this._lexer=new Mn(e),this._options=t}var t=n.prototype;return t.parseName=function(){var n=this.expectToken(On.NAME);return{kind:gn.NAME,value:n.value,loc:this.loc(n)}},t.parseDocument=function(){var n=this._lexer.token;return{kind:gn.DOCUMENT,definitions:this.many(On.SOF,this.parseDefinition,On.EOF),loc:this.loc(n)}},t.parseDefinition=function(){if(this.peek(On.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(On.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var n=this._lexer.token;if(this.peek(On.BRACE_L))return{kind:gn.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(n)};var t,e=this.parseOperationType();return this.peek(On.NAME)&&(t=this.parseName()),{kind:gn.OPERATION_DEFINITION,operation:e,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(n)}},t.parseOperationType=function(){var n=this.expectToken(On.NAME);switch(n.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(n)},t.parseVariableDefinitions=function(){return this.optionalMany(On.PAREN_L,this.parseVariableDefinition,On.PAREN_R)},t.parseVariableDefinition=function(){var n=this._lexer.token;return{kind:gn.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(On.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(On.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(n)}},t.parseVariable=function(){var n=this._lexer.token;return this.expectToken(On.DOLLAR),{kind:gn.VARIABLE,name:this.parseName(),loc:this.loc(n)}},t.parseSelectionSet=function(){var n=this._lexer.token;return{kind:gn.SELECTION_SET,selections:this.many(On.BRACE_L,this.parseSelection,On.BRACE_R),loc:this.loc(n)}},t.parseSelection=function(){return this.peek(On.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var n,t,e=this._lexer.token,i=this.parseName();return this.expectOptionalToken(On.COLON)?(n=i,t=this.parseName()):t=i,{kind:gn.FIELD,alias:n,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(On.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(e)}},t.parseArguments=function(n){return this.optionalMany(On.PAREN_L,n?this.parseConstArgument:this.parseArgument,On.PAREN_R)},t.parseArgument=function(){var n=this._lexer.token,t=this.parseName();return this.expectToken(On.COLON),{kind:gn.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(n)}},t.parseConstArgument=function(){var n=this._lexer.token;return{kind:gn.ARGUMENT,name:this.parseName(),value:(this.expectToken(On.COLON),this.parseValueLiteral(!0)),loc:this.loc(n)}},t.parseFragment=function(){var n=this._lexer.token;this.expectToken(On.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(On.NAME)?{kind:gn.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(n)}:{kind:gn.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(n)}},t.parseFragmentDefinition=function(){var n,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(n=this._options)||void 0===n?void 0:n.experimentalFragmentVariables)?{kind:gn.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:gn.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(n){var t=this._lexer.token;switch(t.kind){case On.BRACKET_L:return this.parseList(n);case On.BRACE_L:return this.parseObject(n);case On.INT:return this._lexer.advance(),{kind:gn.INT,value:t.value,loc:this.loc(t)};case On.FLOAT:return this._lexer.advance(),{kind:gn.FLOAT,value:t.value,loc:this.loc(t)};case On.STRING:case On.BLOCK_STRING:return this.parseStringLiteral();case On.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:gn.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:gn.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:gn.NULL,loc:this.loc(t)};default:return{kind:gn.ENUM,value:t.value,loc:this.loc(t)}}case On.DOLLAR:if(!n)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var n=this._lexer.token;return this._lexer.advance(),{kind:gn.STRING,value:n.value,block:n.kind===On.BLOCK_STRING,loc:this.loc(n)}},t.parseList=function(n){var t=this,e=this._lexer.token;return{kind:gn.LIST,values:this.any(On.BRACKET_L,(function(){return t.parseValueLiteral(n)}),On.BRACKET_R),loc:this.loc(e)}},t.parseObject=function(n){var t=this,e=this._lexer.token;return{kind:gn.OBJECT,fields:this.any(On.BRACE_L,(function(){return t.parseObjectField(n)}),On.BRACE_R),loc:this.loc(e)}},t.parseObjectField=function(n){var t=this._lexer.token,e=this.parseName();return this.expectToken(On.COLON),{kind:gn.OBJECT_FIELD,name:e,value:this.parseValueLiteral(n),loc:this.loc(t)}},t.parseDirectives=function(n){for(var t=[];this.peek(On.AT);)t.push(this.parseDirective(n));return t},t.parseDirective=function(n){var t=this._lexer.token;return this.expectToken(On.AT),{kind:gn.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(n),loc:this.loc(t)}},t.parseTypeReference=function(){var n,t=this._lexer.token;return this.expectOptionalToken(On.BRACKET_L)?(n=this.parseTypeReference(),this.expectToken(On.BRACKET_R),n={kind:gn.LIST_TYPE,type:n,loc:this.loc(t)}):n=this.parseNamedType(),this.expectOptionalToken(On.BANG)?{kind:gn.NON_NULL_TYPE,type:n,loc:this.loc(t)}:n},t.parseNamedType=function(){var n=this._lexer.token;return{kind:gn.NAMED_TYPE,name:this.parseName(),loc:this.loc(n)}},t.parseTypeSystemDefinition=function(){var n=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(n.kind===On.NAME)switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(n)},t.peekDescription=function(){return this.peek(On.STRING)||this.peek(On.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var n=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var e=this.parseDirectives(!0),i=this.many(On.BRACE_L,this.parseOperationTypeDefinition,On.BRACE_R);return{kind:gn.SCHEMA_DEFINITION,description:t,directives:e,operationTypes:i,loc:this.loc(n)}},t.parseOperationTypeDefinition=function(){var n=this._lexer.token,t=this.parseOperationType();this.expectToken(On.COLON);var e=this.parseNamedType();return{kind:gn.OPERATION_TYPE_DEFINITION,operation:t,type:e,loc:this.loc(n)}},t.parseScalarTypeDefinition=function(){var n=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var e=this.parseName(),i=this.parseDirectives(!0);return{kind:gn.SCALAR_TYPE_DEFINITION,description:t,name:e,directives:i,loc:this.loc(n)}},t.parseObjectTypeDefinition=function(){var n=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var e=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:gn.OBJECT_TYPE_DEFINITION,description:t,name:e,interfaces:i,directives:r,fields:o,loc:this.loc(n)}},t.parseImplementsInterfaces=function(){var n;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(n=this._options)||void 0===n?void 0:n.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(On.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(On.AMP)||this.peek(On.NAME));return t}return this.delimitedMany(On.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var n;return!0===(null===(n=this._options)||void 0===n?void 0:n.allowLegacySDLEmptyFields)&&this.peek(On.BRACE_L)&&this._lexer.lookahead().kind===On.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(On.BRACE_L,this.parseFieldDefinition,On.BRACE_R)},t.parseFieldDefinition=function(){var n=this._lexer.token,t=this.parseDescription(),e=this.parseName(),i=this.parseArgumentDefs();this.expectToken(On.COLON);var r=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:gn.FIELD_DEFINITION,description:t,name:e,arguments:i,type:r,directives:o,loc:this.loc(n)}},t.parseArgumentDefs=function(){return this.optionalMany(On.PAREN_L,this.parseInputValueDef,On.PAREN_R)},t.parseInputValueDef=function(){var n=this._lexer.token,t=this.parseDescription(),e=this.parseName();this.expectToken(On.COLON);var i,r=this.parseTypeReference();this.expectOptionalToken(On.EQUALS)&&(i=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:gn.INPUT_VALUE_DEFINITION,description:t,name:e,type:r,defaultValue:i,directives:o,loc:this.loc(n)}},t.parseInterfaceTypeDefinition=function(){var n=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var e=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:gn.INTERFACE_TYPE_DEFINITION,description:t,name:e,interfaces:i,directives:r,fields:o,loc:this.loc(n)}},t.parseUnionTypeDefinition=function(){var n=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var e=this.parseName(),i=this.parseDirectives(!0),r=this.parseUnionMemberTypes();return{kind:gn.UNION_TYPE_DEFINITION,description:t,name:e,directives:i,types:r,loc:this.loc(n)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(On.EQUALS)?this.delimitedMany(On.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var n=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var e=this.parseName(),i=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();return{kind:gn.ENUM_TYPE_DEFINITION,description:t,name:e,directives:i,values:r,loc:this.loc(n)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(On.BRACE_L,this.parseEnumValueDefinition,On.BRACE_R)},t.parseEnumValueDefinition=function(){var n=this._lexer.token,t=this.parseDescription(),e=this.parseName(),i=this.parseDirectives(!0);return{kind:gn.ENUM_VALUE_DEFINITION,description:t,name:e,directives:i,loc:this.loc(n)}},t.parseInputObjectTypeDefinition=function(){var n=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var e=this.parseName(),i=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();return{kind:gn.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:e,directives:i,fields:r,loc:this.loc(n)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(On.BRACE_L,this.parseInputValueDef,On.BRACE_R)},t.parseTypeSystemExtension=function(){var n=this._lexer.lookahead();if(n.kind===On.NAME)switch(n.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(n)},t.parseSchemaExtension=function(){var n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),e=this.optionalMany(On.BRACE_L,this.parseOperationTypeDefinition,On.BRACE_R);if(0===t.length&&0===e.length)throw this.unexpected();return{kind:gn.SCHEMA_EXTENSION,directives:t,operationTypes:e,loc:this.loc(n)}},t.parseScalarTypeExtension=function(){var n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),e=this.parseDirectives(!0);if(0===e.length)throw this.unexpected();return{kind:gn.SCALAR_TYPE_EXTENSION,name:t,directives:e,loc:this.loc(n)}},t.parseObjectTypeExtension=function(){var n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),e=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===e.length&&0===i.length&&0===r.length)throw this.unexpected();return{kind:gn.OBJECT_TYPE_EXTENSION,name:t,interfaces:e,directives:i,fields:r,loc:this.loc(n)}},t.parseInterfaceTypeExtension=function(){var n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),e=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===e.length&&0===i.length&&0===r.length)throw this.unexpected();return{kind:gn.INTERFACE_TYPE_EXTENSION,name:t,interfaces:e,directives:i,fields:r,loc:this.loc(n)}},t.parseUnionTypeExtension=function(){var n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),e=this.parseDirectives(!0),i=this.parseUnionMemberTypes();if(0===e.length&&0===i.length)throw this.unexpected();return{kind:gn.UNION_TYPE_EXTENSION,name:t,directives:e,types:i,loc:this.loc(n)}},t.parseEnumTypeExtension=function(){var n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),e=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();if(0===e.length&&0===i.length)throw this.unexpected();return{kind:gn.ENUM_TYPE_EXTENSION,name:t,directives:e,values:i,loc:this.loc(n)}},t.parseInputObjectTypeExtension=function(){var n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),e=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();if(0===e.length&&0===i.length)throw this.unexpected();return{kind:gn.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:e,fields:i,loc:this.loc(n)}},t.parseDirectiveDefinition=function(){var n=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(On.AT);var e=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:gn.DIRECTIVE_DEFINITION,description:t,name:e,arguments:i,repeatable:r,locations:o,loc:this.loc(n)}},t.parseDirectiveLocations=function(){return this.delimitedMany(On.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var n=this._lexer.token,t=this.parseName();if(void 0!==_n[t.value])return t;throw this.unexpected(n)},t.loc=function(n){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new Sn(n,this._lexer.lastToken,this._lexer.source)},t.peek=function(n){return this._lexer.token.kind===n},t.expectToken=function(n){var t=this._lexer.token;if(t.kind===n)return this._lexer.advance(),t;throw wn(this._lexer.source,t.start,"Expected ".concat(Wn(n),", found ").concat(Xn(t),"."))},t.expectOptionalToken=function(n){var t=this._lexer.token;if(t.kind===n)return this._lexer.advance(),t},t.expectKeyword=function(n){var t=this._lexer.token;if(t.kind!==On.NAME||t.value!==n)throw wn(this._lexer.source,t.start,'Expected "'.concat(n,'", found ').concat(Xn(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(n){var t=this._lexer.token;return t.kind===On.NAME&&t.value===n&&(this._lexer.advance(),!0)},t.unexpected=function(n){var t=null!=n?n:this._lexer.token;return wn(this._lexer.source,t.start,"Unexpected ".concat(Xn(t),"."))},t.any=function(n,t,e){this.expectToken(n);for(var i=[];!this.expectOptionalToken(e);)i.push(t.call(this));return i},t.optionalMany=function(n,t,e){if(this.expectOptionalToken(n)){var i=[];do{i.push(t.call(this))}while(!this.expectOptionalToken(e));return i}return[]},t.many=function(n,t,e){this.expectToken(n);var i=[];do{i.push(t.call(this))}while(!this.expectOptionalToken(e));return i},t.delimitedMany=function(n,t){this.expectOptionalToken(n);var e=[];do{e.push(t.call(this))}while(this.expectOptionalToken(n));return e},n}();function Xn(n){var t=n.value;return Wn(n.kind)+(null!=t?' "'.concat(t,'"'):"")}function Wn(n){return function(n){return n===On.BANG||n===On.DOLLAR||n===On.AMP||n===On.PAREN_L||n===On.PAREN_R||n===On.SPREAD||n===On.COLON||n===On.EQUALS||n===On.AT||n===On.BRACKET_L||n===On.BRACKET_R||n===On.BRACE_L||n===On.PIPE||n===On.BRACE_R}(n)?'"'.concat(n,'"'):n}var Kn={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},Zn=Object.freeze({});function nt(n,t,e){var i=n[t];if(i){if(!e&&"function"==typeof i)return i;var r=e?i.leave:i.enter;if("function"==typeof r)return r}else{var o=e?n.leave:n.enter;if(o){if("function"==typeof o)return o;var s=o[t];if("function"==typeof s)return s}}}function tt(n){return function(n,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Kn,i=void 0,r=Array.isArray(n),o=[n],s=-1,u=[],a=void 0,c=void 0,f=void 0,l=[],h=[],d=n;do{var v=++s===o.length,p=v&&0!==u.length;if(v){if(c=0===h.length?void 0:l[l.length-1],a=f,f=h.pop(),p){if(r)a=a.slice();else{for(var m={},y=0,b=Object.keys(a);y<b.length;y++){var w=b[y];m[w]=a[w]}a=m}for(var g=0,E=0;E<u.length;E++){var C=u[E][0],S=u[E][1];r&&(C-=g),r&&null===S?(a.splice(C,1),g++):a[C]=S}}s=i.index,o=i.keys,u=i.edits,r=i.inArray,i=i.prev}else{if(c=f?r?s:o[s]:void 0,null==(a=f?f[c]:d))continue;f&&l.push(c)}var F,I=void 0;if(!Array.isArray(a)){if(!In(a))throw new Error("Invalid AST Node: ".concat(Nn(a),"."));var O=nt(t,a.kind,v);if(O){if((I=O.call(t,a,c,f,l,h))===Zn)break;if(!1===I){if(!v){l.pop();continue}}else if(void 0!==I&&(u.push([c,I]),!v)){if(!In(I)){l.pop();continue}a=I}}}void 0===I&&p&&u.push([c,a]),v?l.pop():(i={inArray:r,index:s,keys:o,edits:u,prev:i},o=(r=Array.isArray(a))?a:null!==(F=e[a.kind])&&void 0!==F?F:[],s=-1,u=[],f&&h.push(f),f=a)}while(void 0!==i);return 0!==u.length&&(d=u[u.length-1][1]),d}(n,{leave:et})}var et={Name:function(n){return n.value},Variable:function(n){return"$"+n.name},Document:function(n){return rt(n.definitions,"\n\n")+"\n"},OperationDefinition:function(n){var t=n.operation,e=n.name,i=st("(",rt(n.variableDefinitions,", "),")"),r=rt(n.directives," "),o=n.selectionSet;return e||r||i||"query"!==t?rt([t,rt([e,i]),r,o]," "):o},VariableDefinition:function(n){var t=n.directives;return n.variable+": "+n.type+st(" = ",n.defaultValue)+st(" ",rt(t," "))},SelectionSet:function(n){return ot(n.selections)},Field:function(n){var t=n.name,e=n.arguments,i=n.directives,r=n.selectionSet,o=st("",n.alias,": ")+t,s=o+st("(",rt(e,", "),")");return s.length>80&&(s=o+st("(\n",ut(rt(e,"\n")),"\n)")),rt([s,rt(i," "),r]," ")},Argument:function(n){return n.name+": "+n.value},FragmentSpread:function(n){return"..."+n.name+st(" ",rt(n.directives," "))},InlineFragment:function(n){var t=n.directives,e=n.selectionSet;return rt(["...",st("on ",n.typeCondition),rt(t," "),e]," ")},FragmentDefinition:function(n){var t=n.typeCondition,e=n.variableDefinitions,i=n.directives,r=n.selectionSet;return"fragment ".concat(n.name).concat(st("(",rt(e,", "),")")," ")+"on ".concat(t," ").concat(st("",rt(i," ")," "))+r},IntValue:function(n){return n.value},FloatValue:function(n){return n.value},StringValue:function(n,t){var e=n.value;return n.block?function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=-1===n.indexOf("\n"),r=" "===n[0]||"\t"===n[0],o='"'===n[n.length-1],s="\\"===n[n.length-1],u=!i||o||s||e,a="";return!u||i&&r||(a+="\n"+t),a+=t?n.replace(/\n/g,"\n"+t):n,u&&(a+="\n"),'"""'+a.replace(/"""/g,'\\"""')+'"""'}(e,"description"===t?"":" "):JSON.stringify(e)},BooleanValue:function(n){return n.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(n){return n.value},ListValue:function(n){return"["+rt(n.values,", ")+"]"},ObjectValue:function(n){return"{"+rt(n.fields,", ")+"}"},ObjectField:function(n){return n.name+": "+n.value},Directive:function(n){return"@"+n.name+st("(",rt(n.arguments,", "),")")},NamedType:function(n){return n.name},ListType:function(n){return"["+n.type+"]"},NonNullType:function(n){return n.type+"!"},SchemaDefinition:it((function(n){var t=n.operationTypes;return rt(["schema",rt(n.directives," "),ot(t)]," ")})),OperationTypeDefinition:function(n){return n.operation+": "+n.type},ScalarTypeDefinition:it((function(n){return rt(["scalar",n.name,rt(n.directives," ")]," ")})),ObjectTypeDefinition:it((function(n){var t=n.directives,e=n.fields;return rt(["type",n.name,st("implements ",rt(n.interfaces," & ")),rt(t," "),ot(e)]," ")})),FieldDefinition:it((function(n){var t=n.arguments,e=n.type,i=n.directives;return n.name+(ct(t)?st("(\n",ut(rt(t,"\n")),"\n)"):st("(",rt(t,", "),")"))+": "+e+st(" ",rt(i," "))})),InputValueDefinition:it((function(n){var t=n.directives;return rt([n.name+": "+n.type,st("= ",n.defaultValue),rt(t," ")]," ")})),InterfaceTypeDefinition:it((function(n){var t=n.directives,e=n.fields;return rt(["interface",n.name,st("implements ",rt(n.interfaces," & ")),rt(t," "),ot(e)]," ")})),UnionTypeDefinition:it((function(n){var t=n.types;return rt(["union",n.name,rt(n.directives," "),t&&0!==t.length?"= "+rt(t," | "):""]," ")})),EnumTypeDefinition:it((function(n){var t=n.values;return rt(["enum",n.name,rt(n.directives," "),ot(t)]," ")})),EnumValueDefinition:it((function(n){return rt([n.name,rt(n.directives," ")]," ")})),InputObjectTypeDefinition:it((function(n){var t=n.fields;return rt(["input",n.name,rt(n.directives," "),ot(t)]," ")})),DirectiveDefinition:it((function(n){var t=n.arguments,e=n.repeatable,i=n.locations;return"directive @"+n.name+(ct(t)?st("(\n",ut(rt(t,"\n")),"\n)"):st("(",rt(t,", "),")"))+(e?" repeatable":"")+" on "+rt(i," | ")})),SchemaExtension:function(n){var t=n.operationTypes;return rt(["extend schema",rt(n.directives," "),ot(t)]," ")},ScalarTypeExtension:function(n){return rt(["extend scalar",n.name,rt(n.directives," ")]," ")},ObjectTypeExtension:function(n){var t=n.directives,e=n.fields;return rt(["extend type",n.name,st("implements ",rt(n.interfaces," & ")),rt(t," "),ot(e)]," ")},InterfaceTypeExtension:function(n){var t=n.directives,e=n.fields;return rt(["extend interface",n.name,st("implements ",rt(n.interfaces," & ")),rt(t," "),ot(e)]," ")},UnionTypeExtension:function(n){var t=n.types;return rt(["extend union",n.name,rt(n.directives," "),t&&0!==t.length?"= "+rt(t," | "):""]," ")},EnumTypeExtension:function(n){var t=n.values;return rt(["extend enum",n.name,rt(n.directives," "),ot(t)]," ")},InputObjectTypeExtension:function(n){var t=n.fields;return rt(["extend input",n.name,rt(n.directives," "),ot(t)]," ")}};function it(n){return function(t){return rt([t.description,n(t)],"\n")}}function rt(n){var t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==n?void 0:n.filter((function(n){return n})).join(e))&&void 0!==t?t:""}function ot(n){return st("{\n",ut(rt(n,"\n")),"\n}")}function st(n,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?n+t+e:""}function ut(n){return st(" ",n.replace(/\n/g,"\n "))}function at(n){return-1!==n.indexOf("\n")}function ct(n){return null!=n&&n.some(at)}function ft(n,t,e,i){var r,o=null==(r=i)||"number"==typeof r||"boolean"==typeof r?i:e(i),s=t.get(o);return void 0===s&&(s=n.call(this,i),t.set(o,s)),s}function lt(n,t,e){var i=Array.prototype.slice.call(arguments,3),r=e(i),o=t.get(r);return void 0===o&&(o=n.apply(this,i),t.set(r,o)),o}function ht(n,t,e,i,r){return e.bind(t,n,i,r)}function dt(n,t){return ht(n,this,1===n.length?ft:lt,t.cache.create(),t.serializer)}function vt(){return JSON.stringify(arguments)}function pt(){this.cache=Object.create(null)}pt.prototype.has=function(n){return n in this.cache},pt.prototype.get=function(n){return this.cache[n]},pt.prototype.set=function(n,t){this.cache[n]=t};var mt={create:function(){return new pt}},yt=function(n,t){return(t&&t.strategy?t.strategy:dt)(n,{cache:t&&t.cache?t.cache:mt,serializer:t&&t.serializer?t.serializer:vt})};function bt(n){return"function"==typeof n}yt.strategies={variadic:function(n,t){return ht(n,this,lt,t.cache.create(),t.serializer)},monadic:function(n,t){return ht(n,this,ft,t.cache.create(),t.serializer)}};let wt=!1;const gt={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else wt&&console.log("RxJS: Back to a better error behavior. Thank you. <3");wt=n},get useDeprecatedSynchronousErrorHandling(){return wt}};function Et(n){setTimeout((()=>{throw n}),0)}const Ct={closed:!0,next(n){},error(n){if(gt.useDeprecatedSynchronousErrorHandling)throw n;Et(n)},complete(){}},St=Array.isArray||(n=>n&&"number"==typeof n.length);function Ft(n){return null!==n&&"object"==typeof n}const It=(()=>{function n(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map(((n,t)=>`${t+1}) ${n.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n,this}return n.prototype=Object.create(Error.prototype),n})();class Ot{constructor(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._ctorUnsubscribe=!0,this._unsubscribe=n)}unsubscribe(){let n;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:e,_unsubscribe:i,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof Ot)t.remove(this);else if(null!==t)for(let n=0;n<t.length;++n)t[n].remove(this);if(bt(i)){e&&(this._unsubscribe=void 0);try{i.call(this)}catch(t){n=t instanceof It?Tt(t.errors):[t]}}if(St(r)){let t=-1,e=r.length;for(;++t<e;){const e=r[t];if(Ft(e))try{e.unsubscribe()}catch(t){n=n||[],t instanceof It?n=n.concat(Tt(t.errors)):n.push(t)}}}if(n)throw new It(n)}add(n){let t=n;if(!n)return Ot.EMPTY;switch(typeof n){case"function":t=new Ot(n);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof Ot)){const n=t;t=new Ot,t._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+n+" added to Subscription.")}let{_parentOrParents:e}=t;if(null===e)t._parentOrParents=this;else if(e instanceof Ot){if(e===this)return t;t._parentOrParents=[e,this]}else{if(-1!==e.indexOf(this))return t;e.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[t]:i.push(t),t}remove(n){const t=this._subscriptions;if(t){const e=t.indexOf(n);-1!==e&&t.splice(e,1)}}}function Tt(n){return n.reduce(((n,t)=>n.concat(t instanceof It?t.errors:t)),[])}Ot.EMPTY=function(n){return n.closed=!0,n}(new Ot);const Nt="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class Dt extends Ot{constructor(n,t,e){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=Ct;break;case 1:if(!n){this.destination=Ct;break}if("object"==typeof n){n instanceof Dt?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)):(this.syncErrorThrowable=!0,this.destination=new jt(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new jt(this,n,t,e)}}[Nt](){return this}static create(n,t,e){const i=new Dt(n,t,e);return i.syncErrorThrowable=!1,i}next(n){this.isStopped||this._next(n)}error(n){this.isStopped||(this.isStopped=!0,this._error(n))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(n){this.destination.next(n)}_error(n){this.destination.error(n),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:n}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}}class jt extends Dt{constructor(n,t,e,i){let r;super(),this._parentSubscriber=n;let o=this;bt(t)?r=t:t&&(r=t.next,e=t.error,i=t.complete,t!==Ct&&(o=Object.create(t),bt(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=r,this._error=e,this._complete=i}next(n){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;gt.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}}error(n){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:e}=gt;if(this._error)e&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(t.syncErrorThrowable)e?(t.syncErrorValue=n,t.syncErrorThrown=!0):Et(n),this.unsubscribe();else{if(this.unsubscribe(),e)throw n;Et(n)}}}complete(){if(!this.isStopped){const{_parentSubscriber:n}=this;if(this._complete){const t=()=>this._complete.call(this._context);gt.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(n,t){try{n.call(this._context,t)}catch(n){if(this.unsubscribe(),gt.useDeprecatedSynchronousErrorHandling)throw n;Et(n)}}__tryOrSetError(n,t,e){if(!gt.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,e)}catch(t){return gt.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=t,n.syncErrorThrown=!0,!0):(Et(t),!0)}return!1}_unsubscribe(){const{_parentSubscriber:n}=this;this._context=null,this._parentSubscriber=null,n.unsubscribe()}}const At="function"==typeof Symbol&&Symbol.observable||"@@observable";function xt(n){return n}class _t{constructor(n){this._isScalar=!1,n&&(this._subscribe=n)}lift(n){const t=new _t;return t.source=this,t.operator=n,t}subscribe(n,t,e){const{operator:i}=this,r=function(n,t,e){if(n){if(n instanceof Dt)return n;if(n[Nt])return n[Nt]()}return n||t||e?new Dt(n,t,e):new Dt(Ct)}(n,t,e);if(r.add(i?i.call(r,this.source):this.source||gt.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),gt.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}_trySubscribe(n){try{return this._subscribe(n)}catch(t){gt.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=t),function(n){for(;n;){const{closed:t,destination:e,isStopped:i}=n;if(t||i)return!1;n=e&&e instanceof Dt?e:null}return!0}(n)?n.error(t):console.warn(t)}}forEach(n,t){return new(t=Pt(t))(((t,e)=>{let i;i=this.subscribe((t=>{try{n(t)}catch(n){e(n),i&&i.unsubscribe()}}),e,t)}))}_subscribe(n){const{source:t}=this;return t&&t.subscribe(n)}[At](){return this}pipe(...n){return 0===n.length?this:(0===(t=n).length?xt:1===t.length?t[0]:function(n){return t.reduce(((n,t)=>t(n)),n)})(this);var t}toPromise(n){return new(n=Pt(n))(((n,t)=>{let e;this.subscribe((n=>e=n),(n=>t(n)),(()=>n(e)))}))}}function Pt(n){if(n||(n=Promise),!n)throw new Error("no Promise impl found");return n}_t.create=n=>new _t(n);const kt=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class Mt extends Ot{constructor(n,t){super(),this.subject=n,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const n=this.subject,t=n.observers;if(this.subject=null,!t||0===t.length||n.isStopped||n.closed)return;const e=t.indexOf(this.subscriber);-1!==e&&t.splice(e,1)}}class Rt extends Dt{constructor(n){super(n),this.destination=n}}class Vt extends _t{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Nt](){return new Rt(this)}lift(n){const t=new Ut(this,this);return t.operator=n,t}next(n){if(this.closed)throw new kt;if(!this.isStopped){const{observers:t}=this,e=t.length,i=t.slice();for(let t=0;t<e;t++)i[t].next(n)}}error(n){if(this.closed)throw new kt;this.hasError=!0,this.thrownError=n,this.isStopped=!0;const{observers:t}=this,e=t.length,i=t.slice();for(let t=0;t<e;t++)i[t].error(n);this.observers.length=0}complete(){if(this.closed)throw new kt;this.isStopped=!0;const{observers:n}=this,t=n.length,e=n.slice();for(let n=0;n<t;n++)e[n].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(n){if(this.closed)throw new kt;return super._trySubscribe(n)}_subscribe(n){if(this.closed)throw new kt;return this.hasError?(n.error(this.thrownError),Ot.EMPTY):this.isStopped?(n.complete(),Ot.EMPTY):(this.observers.push(n),new Mt(this,n))}asObservable(){const n=new _t;return n.source=this,n}}Vt.create=(n,t)=>new Ut(n,t);class Ut extends Vt{constructor(n,t){super(),this.destination=n,this.source=t}next(n){const{destination:t}=this;t&&t.next&&t.next(n)}error(n){const{destination:t}=this;t&&t.error&&this.destination.error(n)}complete(){const{destination:n}=this;n&&n.complete&&this.destination.complete()}_subscribe(n){const{source:t}=this;return t?this.source.subscribe(n):Ot.EMPTY}}class qt extends Ot{constructor(n,t){super()}schedule(n,t=0){return this}}class Lt{constructor(n,t=Lt.now){this.SchedulerAction=n,this.now=t}schedule(n,t=0,e){return new this.SchedulerAction(this,n).schedule(e,t)}}Lt.now=()=>Date.now();class $t extends Lt{constructor(n,t=Lt.now){super(n,(()=>$t.delegate&&$t.delegate!==this?$t.delegate.now():t())),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,t=0,e){return $t.delegate&&$t.delegate!==this?$t.delegate.schedule(n,t,e):super.schedule(n,t,e)}flush(n){const{actions:t}=this;if(this.active)return void t.push(n);let e;this.active=!0;do{if(e=n.execute(n.state,n.delay))break}while(n=t.shift());if(this.active=!1,e){for(;n=t.shift();)n.unsubscribe();throw e}}}function Bt(n){return n&&"function"==typeof n.schedule}const Jt=new $t(class extends qt{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){if(this.closed)return this;this.state=n;const e=this.id,i=this.scheduler;return null!=e&&(this.id=this.recycleAsyncId(i,e,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,e=0){return setInterval(n.flush.bind(n,this),e)}recycleAsyncId(n,t,e=0){if(null!==e&&this.delay===e&&!1===this.pending)return t;clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const e=this._execute(n,t);if(e)return e;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let e,i=!1;try{this.work(n)}catch(n){i=!0,e=!!n&&n||new Error(n)}if(i)return this.unsubscribe(),e}_unsubscribe(){const n=this.id,t=this.scheduler,e=t.actions,i=e.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&e.splice(i,1),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null}});class Gt{constructor(n,t,e,i){this.bufferTimeSpan=n,this.bufferCreationInterval=t,this.maxBufferSize=e,this.scheduler=i}call(n,t){return t.subscribe(new Yt(n,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))}}class Ht{constructor(){this.buffer=[]}}class Yt extends Dt{constructor(n,t,e,i,r){super(n),this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=i,this.scheduler=r,this.contexts=[];const o=this.openContext();if(this.timespanOnly=null==e||e<0,this.timespanOnly)this.add(o.closeAction=r.schedule(Qt,t,{subscriber:this,context:o,bufferTimeSpan:t}));else{const n={bufferTimeSpan:t,bufferCreationInterval:e,subscriber:this,scheduler:r};this.add(o.closeAction=r.schedule(Xt,t,{subscriber:this,context:o})),this.add(r.schedule(zt,e,n))}}_next(n){const t=this.contexts,e=t.length;let i;for(let r=0;r<e;r++){const e=t[r],o=e.buffer;o.push(n),o.length==this.maxBufferSize&&(i=e)}i&&this.onBufferFull(i)}_error(n){this.contexts.length=0,super._error(n)}_complete(){const{contexts:n,destination:t}=this;for(;n.length>0;){const e=n.shift();t.next(e.buffer)}super._complete()}_unsubscribe(){this.contexts=null}onBufferFull(n){this.closeContext(n);const t=n.closeAction;if(t.unsubscribe(),this.remove(t),!this.closed&&this.timespanOnly){n=this.openContext();const t=this.bufferTimeSpan;this.add(n.closeAction=this.scheduler.schedule(Qt,t,{subscriber:this,context:n,bufferTimeSpan:t}))}}openContext(){const n=new Ht;return this.contexts.push(n),n}closeContext(n){this.destination.next(n.buffer);const t=this.contexts;(t?t.indexOf(n):-1)>=0&&t.splice(t.indexOf(n),1)}}function Qt(n){const t=n.subscriber,e=n.context;e&&t.closeContext(e),t.closed||(n.context=t.openContext(),n.context.closeAction=this.schedule(n,n.bufferTimeSpan))}function zt(n){const{bufferCreationInterval:t,bufferTimeSpan:e,subscriber:i,scheduler:r}=n,o=i.openContext();i.closed||(i.add(o.closeAction=r.schedule(Xt,e,{subscriber:i,context:o})),this.schedule(n,t))}function Xt(n){const{subscriber:t,context:e}=n;t.closeContext(e)}var Wt=r((function(n,t){var e=o&&o.__assign||function(){return(e=Object.assign||function(n){for(var t,e=1,i=arguments.length;e<i;e++)for(var r in t=arguments[e])Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}).apply(this,arguments)},i=o&&o.__spreadArrays||function(){for(var n=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;var i=Array(n),r=0;for(t=0;t<e;t++)for(var o=arguments[t],s=0,u=o.length;s<u;s++,r++)i[r]=o[s];return i};function r(n,t){return"Variable"===n.kind?e(e({},n),{name:e(e({},n.name),{value:t(n.name.value)})}):"ObjectValue"===n.kind?e(e({},n),{fields:n.fields.map((function(n){return e(e({},n),{value:r(n.value,t)})}))}):"ListValue"===n.kind?e(e({},n),{values:n.values.map((function(n){return r(n,t)}))}):n}function s(n,t){return e(e({},n),{value:r(n.value,t)})}function u(n,t){var i;return e(e({},n),{arguments:null===(i=n.arguments)||void 0===i?void 0:i.map((function(n){return s(n,t)}))})}function a(n,t){var i;return e(e({},n),{variable:e(e({},n.variable),{name:e(e({},n.variable.name),{value:t(n.variable.name.value)})}),directives:null===(i=n.directives)||void 0===i?void 0:i.map((function(n){return u(n,t)}))})}function c(n,t){return e(e({},n),{selections:n.selections.map((function(n){var i,r,o;switch(n.kind){case"Field":return e(e({},n),{arguments:null===(i=n.arguments)||void 0===i?void 0:i.map((function(n){return s(n,t)})),selectionSet:n.selectionSet?c(n.selectionSet,t):void 0});case"FragmentSpread":return e(e({},n),{directives:null===(r=n.directives)||void 0===r?void 0:r.map((function(n){return u(n,t)}))});case"InlineFragment":return e(e({},n),{directives:null===(o=n.directives)||void 0===o?void 0:o.map((function(n){return u(n,t)})),selectionSet:c(n.selectionSet,t)})}}))})}function f(n,t,i){var r,o;return e(e({},n),{variableDefinitions:null===(r=n.variableDefinitions)||void 0===r?void 0:r.map((function(n){return a(n,t)})),directives:null===(o=n.directives)||void 0===o?void 0:o.map((function(n){return u(n,t)})),selectionSet:c(e(e({},n.selectionSet),{selections:n.selectionSet.selections.map((function(n){var t,r;switch(n.kind){case"Field":return e(e({},n),{alias:e(e({},n.name),{value:i(null!==(r=null===(t=n.alias)||void 0===t?void 0:t.value)&&void 0!==r?r:n.name.value)})});default:return n}}))}),t)})}Object.defineProperty(t,"__esModule",{value:!0}),t.renameVariables=t.renameVariablesAndTopLevelFields=t.renameVariablesAndTopLevelFieldsOnOpDef=t.renameSelectionSetArguments=t.renameVariableDefinition=t.renameDirectiveArguments=t.renameArgument=t.renameValue=t.defaultRenameFn=void 0,t.defaultRenameFn=function(n,t){return n+"_"+t},t.renameValue=r,t.renameArgument=s,t.renameDirectiveArguments=u,t.renameVariableDefinition=a,t.renameSelectionSetArguments=c,t.renameVariablesAndTopLevelFieldsOnOpDef=f,t.renameVariablesAndTopLevelFields=function(n,t,r){return e(e({},n),{definitions:i(n.definitions.filter((function(n){return"OperationDefinition"!==n.kind})),n.definitions.filter((function(n){return"OperationDefinition"===n.kind})).map((function(n){return f(n,t,r)})))})},t.renameVariables=function(n,t){return Object.keys(n).reduce((function(i,r){var o;return e(e({},i),((o={})[t(r)]=n[r],o))}),{})}}));const Kt=s(r((function(n,t){var e,i=o&&o.__extends||(e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e])})(n,t)},function(n,t){function i(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),r=o&&o.__assign||function(){return(r=Object.assign||function(n){for(var t,e=1,i=arguments.length;e<i;e++)for(var r in t=arguments[e])Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}).apply(this,arguments)},s=o&&o.__spreadArrays||function(){for(var n=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;var i=Array(n),r=0;for(t=0;t<e;t++)for(var o=arguments[t],s=0,u=o.length;s<u;s++,r++)i[r]=o[s];return i};Object.defineProperty(t,"__esModule",{value:!0});var u={kind:"Document",definitions:[]},a=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Error),c=function(){function n(n,t,e){this.operationName=n,this.document=t,this.variables=e}return n.prototype.add=function(t,e){var i=this,o=this.document.definitions.concat(t.definitions).filter((function(n){return"OperationDefinition"===n.kind}));if(!o.length)throw new a("Expected at least one OperationDefinition, but found none.");o.forEach((function(n){var t,e,i=o.filter((function(t){return t!==n}));i.forEach((function(t){var e,i;if(t.operation!==n.operation)throw new a("expected all operations to be of the smae type, but "+(null===(e=t.name)||void 0===e?void 0:e.value)+" is "+t.operation+" and "+(null===(i=n.name)||void 0===i?void 0:i.value)+" is "+n.operation)})),null===(t=n.selectionSet.selections)||void 0===t||t.filter((function(n){return"Field"===n.kind})).forEach((function(t){i.forEach((function(e){var i;return null===(i=e.selectionSet.selections)||void 0===i?void 0:i.filter((function(n){return"Field"===n.kind})).forEach((function(i){var r,o,s,u;if(((null===(r=t.alias)||void 0===r?void 0:r.value)||t.name.value)===((null===(o=i.alias)||void 0===o?void 0:o.value)||i.name.value))throw new a("duplicate field definition "+i.name.value+" for oprations "+(null===(s=n.name)||void 0===s?void 0:s.value)+" and "+(null===(u=e.name)||void 0===u?void 0:u.value))}))}))})),null===(e=n.variableDefinitions)||void 0===e||e.forEach((function(t){i.forEach((function(e){var i;return null===(i=e.variableDefinitions)||void 0===i?void 0:i.forEach((function(i){var r,o;if(t.variable.name.value===i.variable.name.value)throw new a("duplicate variable definition "+i.variable.name.value+" for oprations "+(null===(r=n.name)||void 0===r?void 0:r.value)+" and "+(null===(o=e.name)||void 0===o?void 0:o.value))}))}))}))}));for(var u=i.variables&&e?r(r({},i.variables),e):e||i.variables,c=[{kind:"OperationDefinition",directives:o.flatMap((function(n){return n.directives||[]})),name:{kind:"Name",value:this.operationName},operation:o[0].operation,selectionSet:{kind:"SelectionSet",selections:o.flatMap((function(n){return n.selectionSet.selections}))},variableDefinitions:o.flatMap((function(n){return n.variableDefinitions||[]}))}],f=new Set,l=0,h=this.document.definitions.concat(t.definitions);l<h.length;l++){var d=h[l];if("OperationDefinition"!==d.kind){if("FragmentDefinition"===d.kind){if(f.has(d.name.value))continue;f.add(d.name.value)}c=s([d],c)}}return new n(this.operationName,{kind:"Document",definitions:c},u)},n.prototype.addN=function(n,t,e,i){return void 0===e&&(e=Wt.defaultRenameFn),void 0===i&&(i=Wt.defaultRenameFn),t.length?t.reduce((function(t,r,o){var s=Wt.renameVariablesAndTopLevelFields(n,(function(n){return e(n,o)}),(function(n){return i(n,o)})),u=Wt.renameVariables(r,(function(n){return e(n,o)}));return t.add(s,u)}),this):this},n}();t.default=function(n){return{operationName:n,add:function(n,t){return new c(this.operationName,n,t)},addN:function(n,t,e,i){return new c(this.operationName,u).addN(n,t,e,i)}}}})));function Zt(){return(Zt=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n}).apply(this,arguments)}var ne,te=ne||(ne={});function ee(n){n.preventDefault(),n.returnValue=""}function ie(){var n=[];return{get length(){return n.length},push:function(t){return n.push(t),function(){n=n.filter((function(n){return n!==t}))}},call:function(t){n.forEach((function(n){return n&&n(t)}))}}}function re(){return Math.random().toString(36).substr(2,8)}function oe(n){var t=n.pathname,e=n.search;return(void 0===t?"/":t)+(void 0===e?"":e)+(void 0===(n=n.hash)?"":n)}function se(n){var t={};if(n){var e=n.indexOf("#");0<=e&&(t.hash=n.substr(e),n=n.substr(0,e)),0<=(e=n.indexOf("?"))&&(t.search=n.substr(e),n=n.substr(0,e)),n&&(t.pathname=n)}return t}te.Pop="POP",te.Push="PUSH",te.Replace="REPLACE";var ue={current:void 0};function ae(){if(void 0===ue.current)throw new Error("no implementation of useHost provided");return ue.current()}function ce(n){if(!n)throw new Error("Must supply an implementation");if("function"!=typeof n)throw new Error("implementation must be a function");ue.current=n}function fe(){var n;window.squatchProgramId||(window.squatchProgramId=new h({element:document.documentElement,initialState:(null==(n=window.widgetIdent)?void 0:n.programId)||void 0,contextName:"sq:program-id"}).start())}function le(){return fe(),S(ae(),"sq:program-id")}function he(n){fe(),window.squatchProgramId.context=n}function de(){return(de=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n}).apply(this,arguments)}function ve(n,t){return(ve=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function pe(n,t){return t||(t=n.slice(0)),n.raw=t,n}function me(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,i=new Array(t);e<t;e++)i[e]=n[e];return i}function ye(n,t){var e;if("undefined"==typeof Symbol||null==n[Symbol.iterator]){if(Array.isArray(n)||(e=function(n,t){if(n){if("string"==typeof n)return me(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?me(n,t):void 0}}(n))||t&&n&&"number"==typeof n.length){e&&(n=e);var i=0;return function(){return i>=n.length?{done:!0}:{done:!1,value:n[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(e=n[Symbol.iterator]()).next.bind(e)}var be=function(){return(be=Object.assign||function(n){for(var t,e=1,i=arguments.length;e<i;e++)for(var r in t=arguments[e])Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}).apply(this,arguments)},we=new Map,ge=new Map,Ee=!0,Ce=!1;function Se(n){return n.replace(/[\s,]+/g," ").trim()}function Fe(n){var t,e,i,r=Se(n);if(!we.has(r)){var o=Qn(n,{experimentalFragmentVariables:Ce});if(!o||"Document"!==o.kind)throw new Error("Not a valid GraphQL document.");we.set(r,function(n){var t=new Set(n.definitions);t.forEach((function(n){n.loc&&delete n.loc,Object.keys(n).forEach((function(e){var i=n[e];i&&"object"==typeof i&&t.add(i)}))}));var e=n.loc;return e&&(delete e.startToken,delete e.endToken),n}((t=o,e=new Set,i=[],t.definitions.forEach((function(n){if("FragmentDefinition"===n.kind){var t=n.name.value,r=Se((s=n.loc).source.body.substring(s.start,s.end)),o=ge.get(t);o&&!o.has(r)?Ee&&console.warn("Warning: fragment with name "+t+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||ge.set(t,o=new Set),o.add(r),e.has(r)||(e.add(r),i.push(n))}else i.push(n);var s})),be(be({},t),{definitions:i}))))}return we.get(r)}function Ie(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];"string"==typeof n&&(n=[n]);var i=n[0];return t.forEach((function(t,e){i+=t&&"Document"===t.kind?t.loc.source.body:t,i+=n[e+1]})),Fe(i)}var Oe,Te=Ie;(Oe=Ie||(Ie={})).gql=Te,Oe.resetCaches=function(){we.clear(),ge.clear()},Oe.disableFragmentWarnings=function(){Ee=!1},Oe.enableExperimentalFragmentVariables=function(){Ce=!0},Oe.disableExperimentalFragmentVariables=function(){Ce=!1},Ie.default=Ie;var Ne=Ie,De=1e3,je=60*De,Ae=60*je,xe=24*Ae,_e=function(n,t){t=t||{};var e=typeof n;if("string"===e&&n.length>0)return function(n){if(!((n=String(n)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(n);if(t){var e=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*e;case"weeks":case"week":case"w":return 6048e5*e;case"days":case"day":case"d":return e*xe;case"hours":case"hour":case"hrs":case"hr":case"h":return e*Ae;case"minutes":case"minute":case"mins":case"min":case"m":return e*je;case"seconds":case"second":case"secs":case"sec":case"s":return e*De;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return e;default:return}}}}(n);if("number"===e&&isFinite(n))return t.long?function(n){var t=Math.abs(n);return t>=xe?Pe(n,t,xe,"day"):t>=Ae?Pe(n,t,Ae,"hour"):t>=je?Pe(n,t,je,"minute"):t>=De?Pe(n,t,De,"second"):n+" ms"}(n):function(n){var t=Math.abs(n);return t>=xe?Math.round(n/xe)+"d":t>=Ae?Math.round(n/Ae)+"h":t>=je?Math.round(n/je)+"m":t>=De?Math.round(n/De)+"s":n+"ms"}(n);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(n))};function Pe(n,t,e,i){var r=t>=1.5*e;return Math.round(n/e)+" "+i+(r?"s":"")}var ke,Me=(function(n,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+n.exports.humanize(this.diff),!this.useColors)return;const e="color: "+this.color;t.splice(1,0,e,"color: inherit");let i=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(n=>{"%%"!==n&&(i++,"%c"===n&&(r=i))})),t.splice(r,0,e)},t.save=function(n){try{n?t.storage.setItem("debug",n):t.storage.removeItem("debug")}catch(n){}},t.load=function(){let n;try{n=t.storage.getItem("debug")}catch(n){}return!n&&"undefined"!=typeof process&&"env"in process&&(n=process.env.DEBUG),n},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(n){}}(),t.destroy=(()=>{let n=!1;return()=>{n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),n.exports=function(n){function t(n){let i,r=null;function o(...n){if(!o.enabled)return;const e=o,r=Number(new Date);e.diff=r-(i||r),e.prev=i,e.curr=r,i=r,n[0]=t.coerce(n[0]),"string"!=typeof n[0]&&n.unshift("%O");let s=0;n[0]=n[0].replace(/%([a-zA-Z%])/g,((i,r)=>{if("%%"===i)return"%";s++;const o=t.formatters[r];return"function"==typeof o&&(i=o.call(e,n[s]),n.splice(s,1),s--),i})),t.formatArgs.call(e,n),(e.log||t.log).apply(e,n)}return o.namespace=n,o.useColors=t.useColors(),o.color=t.selectColor(n),o.extend=e,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null===r?t.enabled(n):r,set:n=>{r=n}}),"function"==typeof t.init&&t.init(o),o}function e(n,e){const i=t(this.namespace+(void 0===e?":":e)+n);return i.log=this.log,i}function i(n){return n.toString().substring(2,n.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(n){return n instanceof Error?n.stack||n.message:n},t.disable=function(){const n=[...t.names.map(i),...t.skips.map(i).map((n=>"-"+n))].join(",");return t.enable(""),n},t.enable=function(n){let e;t.save(n),t.names=[],t.skips=[];const i=("string"==typeof n?n:"").split(/[\s,]+/),r=i.length;for(e=0;e<r;e++)i[e]&&("-"===(n=i[e].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+n.substr(1)+"$")):t.names.push(new RegExp("^"+n+"$")))},t.enabled=function(n){if("*"===n[n.length-1])return!0;let e,i;for(e=0,i=t.skips.length;e<i;e++)if(t.skips[e].test(n))return!1;for(e=0,i=t.names.length;e<i;e++)if(t.names[e].test(n))return!0;return!1},t.humanize=_e,t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(n).forEach((e=>{t[e]=n[e]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(n){let e=0;for(let t=0;t<n.length;t++)e=(e<<5)-e+n.charCodeAt(t),e|=0;return t.colors[Math.abs(e)%t.colors.length]},t.enable(t.load()),t}(t);const{formatters:e}=n.exports;e.j=function(n){try{return JSON.stringify(n)}catch(n){return"[UnexpectedJSONParseError]: "+n.message}}}(ke={exports:{}},ke.exports),ke.exports),Re=Me("sq:user-identity");function Ve(){window.squatchUserIdentity||(window.squatchUserIdentity=new h({element:document.documentElement,initialState:qe(),contextName:"sq:user-identity"}).start())}function Ue(n){if(n)try{var t,e,i=G(n),r=i.exp;if(function(n){return n.sub&&/.*:.*@.*:users/.test(n.sub)}(i)){var o=i.sub.match(/(.*):(.*)@(.*):users/);e=atob(o[1]),t=atob(o[2])}else(function(n){return n.user&&n.user.id&&n.user.accountId})(i)&&(e=i.user.accountId,t=i.user.id);if(!t||!e)return;if(r&&Date.now()>=1e3*r)return;return{id:t,accountId:e,jwt:n}}catch(n){return}}function qe(){var n=nr();switch(n.type){case"SquatchAndroid":case"SquatchJS2":return{id:n.widgetIdent.userId,accountId:n.widgetIdent.accountId,jwt:n.widgetIdent.token};case"SquatchPortal":var t=new URLSearchParams(document.location.search);if(t.has("jwt"))return Ue(t.get("jwt"));var e=localStorage.getItem("sq:user-identity");if(!e)return;try{var i=JSON.parse(e),r=Ue(i.jwt);return r?de({},i,r):void 0}catch(n){return}case"SquatchAdmin":case"None":return}}function Le(n){Ve();var t=window.squatchUserIdentity;X(t.context,n)||(console.log("look here!",{userContext:t.context,newIdentity:n}),Zi(void 0),t.context=n),n&&"SquatchPortal"===nr().type?localStorage.setItem("sq:user-identity",JSON.stringify(n)):n||(Re("Deleting user from localStorage"),localStorage.removeItem("sq:user-identity"))}function $e(){var n;return null==(n=Be())?void 0:n.jwt}function Be(){Ve();var n=S(ae(),"sq:user-identity"),t=Ue(null==n?void 0:n.jwt);return n&&!t?(console.log("look here as well!",{validIdentity:t,newIdentity:n}),Le(void 0),void Zi(void 0)):n}function Je(n,t){try{var e=n()}catch(n){return t(n)}return e&&e.then?e.then(void 0,t):e}var Ge=function(n){var t,e;function i(t,e){var i;(i=n.call(this,t,e)||this).subject=new Vt;var r=new Vt;return i.subject.pipe(function(n){let t=arguments.length,e=Jt;Bt(arguments[arguments.length-1])&&(e=arguments[arguments.length-1],t--);let i=null;t>=2&&(i=arguments[1]);let r=Number.POSITIVE_INFINITY;return t>=3&&(r=arguments[2]),function(t){return t.lift(new Gt(n,i,r,e))}}(200,void 0,10)).subscribe((function(n){try{if(!n.length)return Promise.resolve();for(var t,e=ze(n),o=e.mergedQuery,s=e.mergedVariables,u=e.mergedQueryAddedEvents,a=ye(e.unmergedQueryAddedEvents);!(t=a()).done;)r.next(t.value);return u.length?Promise.resolve(Je((function(){return Promise.resolve(i.superRequest(o,s)).then((function(n){Ke(n,u)}))}),(function(n){if(n instanceof U.ClientError){var t=function(){var t=n.response,e=t.data,i=t.errors;if(console.log("top of catch",n.response),!e)return{v:ni(u,n)};for(var r,o=Object.keys(e),s=[].concat(u),a=function(){var t=r.value,e=void 0;console.log("when it errors",t),t.path.find((function(i,r,u){if(o.includes(i)){var a=Qe(i),c=s.findIndex((function(n){return n.id===a}));if(-1===c)return!1;o.splice(r,1),e=s.splice(c,1)[0];var f=Xe(n.response.data,e);u[r]=Ye(u[r],a);var l=e.query,h=e.variables,d=de({},n.response,{errors:[t],data:f,path:u}),v=new U.ClientError(d,{query:"string"!=typeof l?tt(l):l,variables:h});return Ze(e,v),!0}return!1}))},c=ye(i);!(r=c()).done;)a();Ke(e,s)}();if("object"==typeof t)return t.v}else ni(u,n)}))):Promise.resolve()}catch(n){return Promise.reject(n)}})),r.subscribe((function(n){try{var t=Je((function(){return Promise.resolve(i.superRequest(n.query,n.variables)).then((function(t){We(t,n)}))}),(function(t){Ze(n,t)}));return Promise.resolve(t&&t.then?t.then((function(){})):void 0)}catch(n){return Promise.reject(n)}})),i}e=n,(t=i).prototype=Object.create(e.prototype),t.prototype.constructor=t,ve(t,e);var r=i.prototype;return r.superRequest=function(t,e){return n.prototype.request.call(this,t,e)},r.request=function(n,t){var e=this;return new Promise((function(i,r){var o={query:n,variables:t,id:He(),resolve:i,reject:r};e.subject.next(o)}))},i}(q.GraphQLClient),He=function(){return((n=21)=>{let t="",e=crypto.getRandomValues(new Uint8Array(n));for(;n--;){let i=63&e[n];t+=i<36?i.toString(36):i<62?(i-26).toString(36).toUpperCase():i<63?"_":"-"}return t})().replace(/[-_]/g,"")},Ye=function(n,t){return n.replace("_"+t,"")},Qe=function(n){var t=n.split("_");return t[t.length-1]},ze=function(n){var t=[],e=[],i=n.reduce((function(n,i){var r=i.query,o=i.variables,s=i.id;try{var u="string"==typeof r?Qn(r):r,a=u.definitions.find((function(n){return"FragmentDefinition"===n.kind})),c="string"==typeof r?r:tt(r),f=/@/.test(c);if(a||f)return e.push(i),n;var l=function(n){return function(n,t){return n+"_"+t}(n,s)};return n=n.addN(u,[o],l,l),t.push(i),n}catch(t){return e.push(i),n}}),Kt("BatchedQuery")),r=i.document,o=i.variables;return{mergedQuery:r&&tt(r),mergedVariables:o,mergedQueryAddedEvents:t,unmergedQueryAddedEvents:e}},Xe=function(n,t){if(!n)return n;var e=Object.keys(n),i=t.id;return e.reduce((function(t,e){var r;return e.endsWith(i)&&(t=de({},t,((r={})[Ye(e,i)]=n[e],r))),t}),{})},We=function(n,t){(0,t.resolve)(n)},Ke=function(n,t){for(var e,i=ye(t);!(e=i()).done;){var r=e.value,o=Xe(n,r);r.resolve(o)}},Ze=function(n,t){(0,n.reject)(t)},ni=function(n,t){for(var e,i=ye(n);!(e=i()).done;)(0,e.value.reject)(t)},ti="sq:graphql-client",ei=yt((function(n,t,e){return new Ge(n+"/api/v1/"+t+"/graphql",{headers:{Authorization:"Bearer "+(e||"")}})}));function ii(n,t){switch(t.type){case"loading":return{data:void 0,errors:void 0,loading:!0};case"data":return{data:t.payload,errors:void 0,loading:!1};case"errors":return{data:void 0,errors:t.payload,loading:!1}}}function ri(n,t){var e,i,r,o,s,c=(e=$e(),i=function(){var n,t=nr();switch(t.type){case"SquatchAndroid":case"SquatchJS2":return t.widgetIdent.appDomain;case"SquatchPortal":return(null==(n=t.env)?void 0:n.appDomain)||"https://app.referralsaasquatch.com";case"SquatchAdmin":case"None":return"https://app.referralsaasquatch.com"}}(),r=er(),o=ei(i,r,e),null!=(s=S(ae(),"sq:graphql-client",{attempts:0}))?s:o),f=u(ii,t),l=f[1];return[f[0],a((function(t,e){void 0===e&&(e=!1);try{if(!c)return l({type:"errors",payload:new Error("No GraphQL client found")}),Promise.resolve();var i=function(i,r){try{var o=(e||l({type:"loading"}),Promise.resolve(c.request(n,t)).then((function(n){console.log("sam's response",{res:n}),l({type:"data",payload:n})})))}catch(n){return r(n)}return o&&o.then?o.then(void 0,r):o}(0,(function(n){console.log("sam's error",{error:n}),l({type:"errors",payload:n})}));return Promise.resolve(i&&i.then?i.then((function(){})):void 0)}catch(t){return Promise.reject(t)}}),[c,n,l])]}var oi,si={loading:!1,data:void 0,errors:void 0};function ui(n){var t=ri(n,si);return[t[1],t[0]]}var ai,ci=Ne(oi||(oi=pe(["\n mutation AuthenticateWithEmailAndPassword(\n $email: String!\n $password: String!\n ) {\n authenticateManagedIdentityWithEmailAndPassword(\n authenticateManagedIdentityWithEmailAndPasswordInput: {\n email: $email\n password: $password\n }\n ) {\n token\n email\n emailVerified\n sessionData\n }\n }\n"])));function fi(){var t=ui(ci),e=t[0],i=t[1],r=i.loading,o=i.data,s=i.errors;return n((function(){if(null!=o&&o.authenticateManagedIdentityWithEmailAndPassword){var n=o.authenticateManagedIdentityWithEmailAndPassword,t=n.token,e=G(t).user;Le({jwt:t,id:e.id,accountId:e.accountId,managedIdentity:{email:n.email,emailVerified:n.emailVerified,sessionData:n.sessionData}})}}),[null==o?void 0:o.authenticateManagedIdentityWithEmailAndPassword]),[e,{loading:r,data:o,errors:s}]}var li,hi=Ne(ai||(ai=pe(["\n mutation RegisterWithEmailAndPassword(\n $email: String!\n $password: String!\n $formData: RSJsonNode\n $redirectPath: String\n ) {\n registerManagedIdentityWithEmailAndPassword(\n registerManagedIdentityWithEmailAndPasswordInput: {\n email: $email\n password: $password\n formData: $formData\n redirectPath: $redirectPath\n }\n ) {\n token\n email\n emailVerified\n sessionData\n }\n }\n"])));function di(){var t=ui(hi),e=t[0],i=t[1],r=i.loading,o=i.data,s=i.errors;return n((function(){if(null!=o&&o.registerManagedIdentityWithEmailAndPassword){var n=o.registerManagedIdentityWithEmailAndPassword,t=n.token,e=G(t).user;Le({jwt:t,id:e.id,accountId:e.accountId,managedIdentity:{email:n.email,emailVerified:n.emailVerified,sessionData:n.sessionData}})}}),[null==o?void 0:o.registerManagedIdentityWithEmailAndPassword]),[e,{loading:r,data:o,errors:s}]}var vi,pi=Ne(li||(li=pe(["\n mutation ChangePassword($password: String!) {\n changeManagedIdentityPassword(\n changeManagedIdentityPasswordInput: { password: $password }\n ) {\n success\n }\n }\n"])));function mi(){var n=ui(pi),t=n[1];return[n[0],{loading:t.loading,data:t.data,errors:t.errors}]}var yi,bi=Ne(vi||(vi=pe(["\n mutation ResetPassword($oobCode: String!, $password: String!) {\n resetManagedIdentityPassword(\n resetManagedIdentityPasswordInput: {\n password: $password\n oobCode: $oobCode\n }\n ) {\n token\n email\n emailVerified\n sessionData\n }\n }\n"])));function wi(){var t=ui(bi),e=t[0],i=t[1],r=i.loading,o=i.data,s=i.errors;return n((function(){if(null!=o&&o.resetManagedIdentityPassword){var n=o.resetManagedIdentityPassword,t=n.token,e=G(t).user;Le({jwt:t,id:e.id,accountId:e.accountId,managedIdentity:{email:n.email,emailVerified:n.emailVerified,sessionData:n.sessionData}})}}),[null==o?void 0:o.resetManagedIdentityPassword]),[e,{loading:r,data:o,errors:s}]}var gi=Ne(yi||(yi=pe(["\n mutation VerifyPasswordResetCode($oobCode: String!) {\n verifyManagedIdentityPasswordResetCode(\n verifyManagedIdentityPasswordResetCodeInput: { oobCode: $oobCode }\n ) {\n success\n }\n }\n"])));function Ei(){return ui(gi)}function Ci(){var n=ae();return{refresh:a((function(){n.dispatchEvent(new CustomEvent("sq:refresh",{bubbles:!0,composed:!0,cancelable:!0,detail:{}}))}),[n])}}function Si(e){var r=e.skip,o=void 0!==r&&r,s=e.update,u=e.variables;n((function(){var n=function(){!o&&s(u,!0)};return document.addEventListener("sq:refresh",n),function(){return document.removeEventListener("sq:refresh",n)}}),function(n){var e=t(n),r=t(0);return X(n,e.current)||(e.current=n,r.current+=1),i((function(){return e.current}),[r.current])}([u,s,o]))}var Fi,Ii={loading:!1,data:void 0,errors:void 0},Oi=Symbol();function Ti(n){var e=ri(n,Ii),i=e[0],r=e[1],o=t(Oi);return Si({skip:o.current===Oi,update:r,variables:o.current}),[r,de({},i,{refetch:function(n){o.current=n,r(n)}})]}var Ni,Di,ji=Ne(Fi||(Fi=pe(["\n query ManagedIdentity {\n managedIdentity {\n email\n emailVerified\n sessionData\n }\n }\n"]))),Ai=Ne(Ni||(Ni=pe(["\n mutation VerifyEmail($oobCode: String!) {\n verifyManagedIdentityEmail(\n verifyManagedIdentityEmailInput: { oobCode: $oobCode }\n ) {\n success\n }\n }\n"])));function xi(){var t,e=function(){var t=Be(),e=Ti(ji),i=e[0],r=e[1],o=r.loading,s=r.data,u=r.errors,c=r.refetch;return n((function(){null!=s&&s.managedIdentity&&Le(de({},t,{managedIdentity:s.managedIdentity}))}),[null==s?void 0:s.managedIdentity]),[a((function(){return i({})}),[i]),{loading:o,data:s,errors:u,refetch:c}]}()[0],i=ui(Ai),r=i[0],o=i[1],s=o.loading,u=o.data,c=o.errors;return n((function(){var n;null!=u&&null!=(n=u.verifyManagedIdentityEmail)&&n.success&&e()}),[null==u||null==(t=u.verifyManagedIdentityEmail)?void 0:t.success]),[r,{loading:s,data:u,errors:c}]}var _i,Pi=Ne(Di||(Di=pe(["\n mutation RequestPasswordResetEmail(\n $email: String!\n $urlParams: RSJsonNode\n $redirectPath: String\n ) {\n requestManagedIdentityPasswordResetEmail(\n requestManagedIdentityPasswordResetEmailInput: {\n email: $email\n urlParams: $urlParams\n redirectPath: $redirectPath\n }\n ) {\n success\n }\n }\n"])));function ki(){return ui(Pi)}var Mi=Ne(_i||(_i=pe(["\n mutation RequestVerificationEmail(\n $email: String!\n $urlParams: RSJsonNode\n $redirectPath: String\n ) {\n requestManagedIdentityVerificationEmail(\n requestManagedIdentityVerificationEmailInput: {\n email: $email\n urlParams: $urlParams\n redirectPath: $redirectPath\n }\n ) {\n success\n }\n }\n"])));function Ri(){return ui(Mi)}function Vi(){return u((function(n){return n+1}),0)}function Ui(n){for(var t,e=ye(Object.getOwnPropertyNames(n));!(t=e()).done;){var i=n[t.value];i&&"object"==typeof i&&Ui(i)}return Object.freeze(n)}var qi={loading:!0,data:void 0,errors:void 0};function Li(n,e,i){var r=ri(n,qi),o=r[0],s=r[1],u=Vi(),a=u[1];return function(n,e){var i=t();i.current&&X(e,i.current.key)||(i.current={key:e,value:n()})}((function(){!i&&s(e)}),[n,e,s,u[0],i]),Si({skip:i,update:s,variables:e}),Ui(de({},o,{refetch:a}))}function $i(){return window.squatchHistory=window.squatchHistory||function(){switch(nr().type){case"SquatchPortal":return function(n){function t(){var n=s.location,t=u.state||{};return[t.idx,{pathname:n.pathname,search:n.search,hash:n.hash,state:t.usr||null,key:t.key||"default"}]}function e(n){return"string"==typeof n?n:oe(n)}function i(n,t){return void 0===t&&(t=null),Zt({},l,{},"string"==typeof n?se(n):n,{state:t,key:re()})}function r(n){c=n,n=t(),f=n[0],h.call({action:c,location:l=n[1]})}function o(n){u.go(n)}void 0===n&&(n={});var s=void 0===(n=n.window)?document.defaultView:n,u=s.history,a=null;s.addEventListener("popstate",(function(){if(a)d.call(a),a=null;else{var n=ne.Pop,e=t(),i=e[0];if(e=e[1],d.length){if(null!=i){var s=f-i;s&&(a={action:n,location:e,retry:function(){o(-1*s)}},o(s))}}else r(n)}}));var c=ne.Pop,f=(n=t())[0],l=n[1],h=ie(),d=ie();return null==f&&u.replaceState(Zt({},u.state,{idx:f=0}),""),{get action(){return c},get location(){return l},createHref:e,push:function n(t,o){var a=ne.Push,c=i(t,o);if(!d.length||(d.call({action:a,location:c,retry:function(){n(t,o)}}),0)){var l=[{usr:c.state,key:c.key,idx:f+1},e(c)];c=l[0],l=l[1];try{u.pushState(c,"",l)}catch(n){s.location.assign(l)}r(a)}},replace:function n(t,o){var s=ne.Replace,a=i(t,o);d.length&&(d.call({action:s,location:a,retry:function(){n(t,o)}}),1)||(a=[{usr:a.state,key:a.key,idx:f},e(a)],u.replaceState(a[0],"",a[1]),r(s))},go:o,back:function(){o(-1)},forward:function(){o(1)},listen:function(n){return h.push(n)},block:function(n){var t=d.push(n);return 1===d.length&&s.addEventListener("beforeunload",ee),function(){t(),d.length||s.removeEventListener("beforeunload",ee)}}}}();default:return function(n){function t(n,t){return void 0===t&&(t=null),Zt({},c,{},"string"==typeof n?se(n):n,{state:t,key:re()})}function e(n,t,e){return!l.length||(l.call({action:n,location:t,retry:e}),!1)}function i(n,t){f.call({action:a=n,location:c=t})}function r(n){var t=Math.min(Math.max(u+n,0),s.length-1),o=ne.Pop,a=s[t];e(o,a,(function(){r(n)}))&&(u=t,i(o,a))}void 0===n&&(n={});var o=n;n=o.initialEntries,o=o.initialIndex;var s=(void 0===n?["/"]:n).map((function(n){return Zt({pathname:"/",search:"",hash:"",state:null,key:re()},"string"==typeof n?se(n):n)})),u=Math.min(Math.max(null==o?s.length-1:o,0),s.length-1),a=ne.Pop,c=s[u],f=ie(),l=ie();return{get index(){return u},get action(){return a},get location(){return c},createHref:function(n){return"string"==typeof n?n:oe(n)},push:function n(r,o){var a=ne.Push,c=t(r,o);e(a,c,(function(){n(r,o)}))&&(s.splice(u+=1,s.length,c),i(a,c))},replace:function n(r,o){var a=ne.Replace,c=t(r,o);e(a,c,(function(){n(r,o)}))&&(s[u]=c,i(a,c))},go:r,back:function(){r(-1)},forward:function(){r(1)},listen:function(n){return f.push(n)},block:function(n){return l.push(n)}}}()}}(),window.squatchHistory}var Bi,Ji={createHref:function(){var n;return(n=$i()).createHref.apply(n,[].slice.call(arguments))},push:function(){var n;return(n=$i()).push.apply(n,[].slice.call(arguments))},replace:function(){var n;return(n=$i()).replace.apply(n,[].slice.call(arguments))},go:function(){var n;return(n=$i()).go.apply(n,[].slice.call(arguments))},back:function(){return $i().back()},forward:function(){var n;return(n=$i()).forward.apply(n,[].slice.call(arguments))}};function Gi(){var t=Vi()[1];return n((function(){return $i().listen((function(){t()}))}),[]),$i().location}function Hi(n,t,i,r,o){var s;void 0===r&&(r={}),void 0===o&&(o=!1);var u=function(n){var t=e({limit:n.limit,offset:n.offset}),i=t[0],r=t[1],o=i.offset,s=i.limit,u=function(n,t){return n*t},a=function(n,t){return Math.ceil(n/t)||0};return{limit:s,setLimit:function(n){var t=a(o,n),e=u(n,t);r(de({},i,{limit:n,offset:e}))},offset:o,setCurrentPage:function(n){var t=u(n,s);r((function(n){return de({},n,{offset:t})}))},calculatePagination:function(n,t){var e=a(o,s),i=function(n,t){return Math.ceil(n/t)||0}(t,s),r=0===n?"0":n>1?o+1+"-"+(o+n):""+(o+1);return{currentPage:e,pageCount:i,rangeOnPage:r,pageProgress:r+" of "+t}}}}(i),a=u.limit,c=u.setLimit,f=u.setCurrentPage,l=u.calculatePagination,h=Li(n,de({limit:a,offset:u.offset},r),o),d=h.loading,v=h.errors,p=h.refetch,m=t(h.data),y=l((null==m||null==(s=m.data)?void 0:s.length)||0,(null==m?void 0:m.totalCount)||0);return{envelope:m,states:{errors:v,loading:d,limit:a,currentPage:y.currentPage,pageCount:y.pageCount,pageProgress:y.pageProgress},callbacks:{refetch:p,setLimit:c,setCurrentPage:f}}}q.gql(Bi||(Bi=pe(["\n mutation ($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"]))),Me("sq:useForm"),q.gql(Yi||(Yi=pe(["\n query ($key: String!) {\n form(key: $key) {\n schema\n initialData {\n initialData\n isEnabled\n isEnabledErrorMessage\n }\n }\n }\n"]))),q.gql(Qi||(Qi=pe(["\n mutation ($formSubmissionInput: FormSubmissionInput!) {\n submitForm(formSubmissionInput: $formSubmissionInput) {\n success\n results {\n ... on FormHandlerSubmissionResult {\n formHandler {\n name\n endpointUrl\n integration {\n name\n }\n }\n result\n }\n ... on FormHandlerError {\n formHandler {\n name\n endpointUrl\n integration {\n name\n }\n }\n errorType\n error\n errorCode\n }\n }\n }\n }\n"]))),q.gql(zi||(zi=pe(["\n query ($formValidationInput: FormValidationInput!) {\n validateForm(formValidationInput: $formValidationInput) {\n valid\n results {\n ... on FormHandlerValidationResult {\n formHandler {\n name\n endpointUrl\n integration {\n name\n }\n }\n result\n }\n ... on FormHandlerError {\n formHandler {\n name\n endpointUrl\n integration {\n name\n }\n }\n errorType\n error\n errorCode\n }\n }\n }\n }\n"])));var Yi,Qi,zi,Xi,Wi=q.gql(Xi||(Xi=pe(["\n query {\n viewer {\n ... on User {\n locale\n }\n }\n }\n"])));function Ki(){!function(){var t,e=window.squatchLocale,i=Be();n((function(){if(console.log("refetch locale",i),!i&&e)return e.context=void 0;s({})}),[]);var r,o=Ti(Wi),s=o[0],u=o[1].data,a=null==u||null==(t=u.viewer)?void 0:t.locale;e?a!==e.context&&(console.log("new locale",a,"context",e.context),e.context=a):window.squatchLocale=new h({element:document.documentElement,initialState:a||(null==(r=window.widgetIdent)?void 0:r.locale)||void 0,contextName:"sq:locale"}).start()}();var t=ae();return console.log("here's your locale!",S(t,"sq:locale")),S(t,"sq:locale")}function Zi(n){var t=window.squatchLocale;console.log("set locale!",t,"new locale:",n),t&&(t.context=n)}function nr(){var n,t;return window.SquatchAndroid?{type:"SquatchAndroid",android:window.SquatchAndroid,widgetIdent:window.widgetIdent}:window.SquatchPortal?{type:"SquatchPortal",env:window.SquatchPortal}:window.SquatchAdmin?{type:"SquatchAdmin",adminSDK:window.SquatchAdmin}:window.widgetIdent&&"demo"!==(null==(n=window.widgetIdent)?void 0:n.env)?{type:"SquatchJS2",api:null==(t=window.frameElement)?void 0:t.squatchJsApi,widgetIdent:window.widgetIdent}:{type:"None"}}function tr(){var n=nr();return"None"===n.type||"SquatchAdmin"===n.type}function er(){var n=nr();switch(n.type){case"SquatchAndroid":case"SquatchJS2":return n.widgetIdent.tenantAlias;case"SquatchAdmin":case"None":return"demo";case"SquatchPortal":return n.env.tenantAlias}}function ir(){var n=nr();switch(n.type){case"SquatchJS2":return n.widgetIdent.engagementMedium||"EMBED";case"SquatchAndroid":case"SquatchPortal":case"SquatchAdmin":case"None":return"EMBED"}}export{er as $,Ki as A,di as D,fi as E,Ci as H,xi as K,le as M,Ei as N,ae as P,ir as R,ce as S,wi as V,ki as Y,Ti as _,Le as a,he as b,mi as c,Ji as d,Be as i,tr as j,nr as k,Gi as l,Hi as m,Ri as n,$e as o,ui as q,Vi as r,Li as s,ei as w,ti as y}
@@ -0,0 +1 @@
1
+ System.register(["./p-ff17b3a4.system.js","./p-57c3d6e3.system.js","./p-65f4f656.system.js","./p-a455e4b0.system.js"],(function(t){"use strict";var n,e,s,i,o;return{setters:[function(t){n=t.r},function(t){e=t.j},function(){},function(t){s=t.a;i=t.d;o=t.j}],execute:function(){function r(t){var n=t.nextPage;s(undefined);i.push({pathname:n,search:""})}var u=t("sqm_portal_logout",function(){function t(t){n(this,t);this.ignored=true;this.nextPage="/";e(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){o()?c():r(this)};return t}());function c(t){}}}}));
@@ -0,0 +1 @@
1
+ import{r as s,h as t}from"./p-64c3217a.js";import{j as r}from"./p-8b4c8f6c.js";import"./p-e367460b.js";import"./p-982fb67b.js";import"./p-7e014c96.js";import"./p-85e934c8.js";import{g as o}from"./p-9c5f124f.js";import{P as a}from"./p-66072e0a.js";const p=class{constructor(t){s(this,t),this.ignored=!0,this.supportEmail="support@example.com",this.supportText="For program support, contact {email}",this.showPoweredBy=!0,this.poweredByLink="https://saasquatch.com",this.paddingTop="large",this.paddingRight="large",this.paddingBottom="large",this.paddingLeft="large",r(this)}disconnectedCallback(){}render(){return t(a,Object.assign({},o(this)))}static get assetsDirs(){return["../../assets"]}};export{p as sqm_portal_footer}
@@ -0,0 +1 @@
1
+ import{c as n,a as t}from"./p-8b4c8f6c.js";var e=n((function(n,e){var i="undefined"!=typeof self?self:t,r=function(){function n(){this.fetch=!1,this.DOMException=i.DOMException}return n.prototype=i,new n}();!function(n){!function(t){var e="URLSearchParams"in n,i="Symbol"in n&&"iterator"in Symbol,r="FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(n){return!1}}(),o="FormData"in n,u="ArrayBuffer"in n;if(u)var f=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(n){return n&&f.indexOf(Object.prototype.toString.call(n))>-1};function c(n){if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new TypeError("Invalid character in header field name");return n.toLowerCase()}function s(n){return"string"!=typeof n&&(n=String(n)),n}function l(n){var t={next:function(){var t=n.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function v(n){this.map={},n instanceof v?n.forEach((function(n,t){this.append(t,n)}),this):Array.isArray(n)?n.forEach((function(n){this.append(n[0],n[1])}),this):n&&Object.getOwnPropertyNames(n).forEach((function(t){this.append(t,n[t])}),this)}function d(n){if(n.bodyUsed)return Promise.reject(new TypeError("Already read"));n.bodyUsed=!0}function h(n){return new Promise((function(t,e){n.onload=function(){t(n.result)},n.onerror=function(){e(n.error)}}))}function y(n){var t=new FileReader,e=h(t);return t.readAsArrayBuffer(n),e}function p(n){if(n.slice)return n.slice(0);var t=new Uint8Array(n.byteLength);return t.set(new Uint8Array(n)),t.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(n){var t;this._bodyInit=n,n?"string"==typeof n?this._bodyText=n:r&&Blob.prototype.isPrototypeOf(n)?this._bodyBlob=n:o&&FormData.prototype.isPrototypeOf(n)?this._bodyFormData=n:e&&URLSearchParams.prototype.isPrototypeOf(n)?this._bodyText=n.toString():u&&r&&(t=n)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=p(n.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):u&&(ArrayBuffer.prototype.isPrototypeOf(n)||a(n))?this._bodyArrayBuffer=p(n):this._bodyText=n=Object.prototype.toString.call(n):this._bodyText="",this.headers.get("content-type")||("string"==typeof n?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e&&URLSearchParams.prototype.isPrototypeOf(n)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var n=d(this);if(n)return n;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(y)}),this.text=function(){var n,t,e,i=d(this);if(i)return i;if(this._bodyBlob)return n=this._bodyBlob,e=h(t=new FileReader),t.readAsText(n),e;if(this._bodyArrayBuffer)return Promise.resolve(function(n){for(var t=new Uint8Array(n),e=new Array(t.length),i=0;i<t.length;i++)e[i]=String.fromCharCode(t[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(j)}),this.json=function(){return this.text().then(JSON.parse)},this}v.prototype.append=function(n,t){n=c(n),t=s(t);var e=this.map[n];this.map[n]=e?e+", "+t:t},v.prototype.delete=function(n){delete this.map[c(n)]},v.prototype.get=function(n){return n=c(n),this.has(n)?this.map[n]:null},v.prototype.has=function(n){return this.map.hasOwnProperty(c(n))},v.prototype.set=function(n,t){this.map[c(n)]=s(t)},v.prototype.forEach=function(n,t){for(var e in this.map)this.map.hasOwnProperty(e)&&n.call(t,this.map[e],e,this)},v.prototype.keys=function(){var n=[];return this.forEach((function(t,e){n.push(e)})),l(n)},v.prototype.values=function(){var n=[];return this.forEach((function(t){n.push(t)})),l(n)},v.prototype.entries=function(){var n=[];return this.forEach((function(t,e){n.push([e,t])})),l(n)},i&&(v.prototype[Symbol.iterator]=v.prototype.entries);var m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(n,t){var e,i,r=(t=t||{}).body;if(n instanceof w){if(n.bodyUsed)throw new TypeError("Already read");this.url=n.url,this.credentials=n.credentials,t.headers||(this.headers=new v(n.headers)),this.method=n.method,this.mode=n.mode,this.signal=n.signal,r||null==n._bodyInit||(r=n._bodyInit,n.bodyUsed=!0)}else this.url=String(n);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new v(t.headers)),this.method=(i=(e=t.method||this.method||"GET").toUpperCase(),m.indexOf(i)>-1?i:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function j(n){var t=new FormData;return n.trim().split("&").forEach((function(n){if(n){var e=n.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(r))}})),t}function O(n,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new v(t.headers),this.url=t.url||"",this._initBody(n)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},b.call(w.prototype),b.call(O.prototype),O.prototype.clone=function(){return new O(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new v(this.headers),url:this.url})},O.error=function(){var n=new O(null,{status:0,statusText:""});return n.type="error",n};var T=[301,302,303,307,308];O.redirect=function(n,t){if(-1===T.indexOf(t))throw new RangeError("Invalid status code");return new O(null,{status:t,headers:{location:n}})},t.DOMException=n.DOMException;try{new t.DOMException}catch(n){t.DOMException=function(n,t){this.message=n,this.name=t;var e=Error(n);this.stack=e.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function S(n,e){return new Promise((function(i,o){var u=new w(n,e);if(u.signal&&u.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var f=new XMLHttpRequest;function a(){f.abort()}f.onload=function(){var n,t,e={status:f.status,statusText:f.statusText,headers:(n=f.getAllResponseHeaders()||"",t=new v,n.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(n){var e=n.split(":"),i=e.shift().trim();if(i){var r=e.join(":").trim();t.append(i,r)}})),t)};e.url="responseURL"in f?f.responseURL:e.headers.get("X-Request-URL"),i(new O("response"in f?f.response:f.responseText,e))},f.onerror=function(){o(new TypeError("Network request failed"))},f.ontimeout=function(){o(new TypeError("Network request failed"))},f.onabort=function(){o(new t.DOMException("Aborted","AbortError"))},f.open(u.method,u.url,!0),"include"===u.credentials?f.withCredentials=!0:"omit"===u.credentials&&(f.withCredentials=!1),"responseType"in f&&r&&(f.responseType="blob"),u.headers.forEach((function(n,t){f.setRequestHeader(t,n)})),u.signal&&(u.signal.addEventListener("abort",a),f.onreadystatechange=function(){4===f.readyState&&u.signal.removeEventListener("abort",a)}),f.send(void 0===u._bodyInit?null:u._bodyInit)}))}S.polyfill=!0,n.fetch||(n.fetch=S,n.Headers=v,n.Request=w,n.Response=O),t.Headers=v,t.Request=w,t.Response=O,t.fetch=S,Object.defineProperty(t,"__esModule",{value:!0})}({})}(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=r;(e=o.fetch).default=o.fetch,e.fetch=o.fetch,e.Headers=o.Headers,e.Request=o.Request,e.Response=o.Response,n.exports=e})),i=n((function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.default=e})),r=n((function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(n){return u(n,[])};var e,r=(e=i)&&e.__esModule?e:{default:e};function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function u(n,t){switch(o(n)){case"string":return JSON.stringify(n);case"function":return n.name?"[function ".concat(n.name,"]"):"[function]";case"object":return null===n?"null":function(n,t){if(-1!==t.indexOf(n))return"[Circular]";var e=[].concat(t,[n]),i=function(n){var t=n[String(r.default)];return"function"==typeof t?t:"function"==typeof n.inspect?n.inspect:void 0}(n);if(void 0!==i){var o=i.call(n);if(o!==n)return"string"==typeof o?o:u(o,e)}else if(Array.isArray(n))return function(n,t){if(0===n.length)return"[]";if(t.length>2)return"[Array]";for(var e=Math.min(10,n.length),i=n.length-e,r=[],o=0;o<e;++o)r.push(u(n[o],t));return 1===i?r.push("... 1 more item"):i>1&&r.push("... ".concat(i," more items")),"["+r.join(", ")+"]"}(n,e);return function(n,t){var e=Object.keys(n);return 0===e.length?"{}":t.length>2?"["+function(n){var t=Object.prototype.toString.call(n).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof n.constructor){var e=n.constructor.name;if("string"==typeof e&&""!==e)return e}return t}(n)+"]":"{ "+e.map((function(e){return e+": "+u(n[e],t)})).join(", ")+" }"}(n,e)}(n,t);default:return String(n)}}})),o=n((function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(n,t){if(!Boolean(n))throw new Error(null!=t?t:"Unexpected invariant triggered.")}})),u=n((function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(n){var t=n.prototype.toJSON;"function"==typeof t||(0,e.default)(0),n.prototype.inspect=t,r.default&&(n.prototype[r.default]=t)};var e=u(o),r=u(i);function u(n){return n&&n.__esModule?n:{default:n}}})),f=n((function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isNode=function(n){return null!=n&&"string"==typeof n.kind},t.Token=t.Location=void 0;var e,i=(e=u)&&e.__esModule?e:{default:e},r=function(){function n(n,t,e){this.start=n.start,this.end=t.end,this.startToken=n,this.endToken=t,this.source=e}return n.prototype.toJSON=function(){return{start:this.start,end:this.end}},n}();t.Location=r,(0,i.default)(r);var o=function(){function n(n,t,e,i,r,o,u){this.kind=n,this.start=t,this.end=e,this.line=i,this.column=r,this.value=u,this.prev=o,this.next=null}return n.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},n}();t.Token=o,(0,i.default)(o)})),a=n((function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.visit=function(n,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,r=void 0,c=Array.isArray(n),s=[n],l=-1,v=[],d=void 0,h=void 0,y=void 0,p=[],b=[],m=n;do{var w=++l===s.length,j=w&&0!==v.length;if(w){if(h=0===b.length?void 0:p[p.length-1],d=y,y=b.pop(),j){if(c)d=d.slice();else{for(var O={},T=0,S=Object.keys(d);T<S.length;T++){var E=S[T];O[E]=d[E]}d=O}for(var D=0,g=0;g<v.length;g++){var A=v[g][0],x=v[g][1];c&&(A-=D),c&&null===x?(d.splice(A,1),D++):d[A]=x}}l=r.index,s=r.keys,v=r.edits,c=r.inArray,r=r.prev}else{if(h=y?c?l:s[l]:void 0,null==(d=y?y[h]:m))continue;y&&p.push(h)}var F,_=void 0;if(!Array.isArray(d)){if(!(0,f.isNode)(d))throw new Error("Invalid AST Node: ".concat((0,i.default)(d),"."));var V=a(t,d.kind,w);if(V){if((_=V.call(t,d,h,y,p,b))===u)break;if(!1===_){if(!w){p.pop();continue}}else if(void 0!==_&&(v.push([h,_]),!w)){if(!(0,f.isNode)(_)){p.pop();continue}d=_}}}void 0===_&&j&&v.push([h,d]),w?p.pop():(r={inArray:c,index:l,keys:s,edits:v,prev:r},s=(c=Array.isArray(d))?d:null!==(F=e[d.kind])&&void 0!==F?F:[],l=-1,v=[],y&&b.push(y),y=d)}while(void 0!==r);return 0!==v.length&&(m=v[v.length-1][1]),m},t.visitInParallel=function(n){var t=new Array(n.length);return{enter:function(e){for(var i=0;i<n.length;i++)if(null==t[i]){var r=a(n[i],e.kind,!1);if(r){var o=r.apply(n[i],arguments);if(!1===o)t[i]=e;else if(o===u)t[i]=u;else if(void 0!==o)return o}}},leave:function(e){for(var i=0;i<n.length;i++)if(null==t[i]){var r=a(n[i],e.kind,!0);if(r){var o=r.apply(n[i],arguments);if(o===u)t[i]=u;else if(void 0!==o&&!1!==o)return o}}else t[i]===e&&(t[i]=null)}}},t.getVisitFn=a,t.BREAK=t.QueryDocumentKeys=void 0;var e,i=(e=r)&&e.__esModule?e:{default:e},o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};t.QueryDocumentKeys=o;var u=Object.freeze({});function a(n,t,e){var i=n[t];if(i){if(!e&&"function"==typeof i)return i;var r=e?i.leave:i.enter;if("function"==typeof r)return r}else{var o=e?n.leave:n.enter;if(o){if("function"==typeof o)return o;var u=o[t];if("function"==typeof u)return u}}}t.BREAK=u})),c=n((function(n,t){function e(n){for(var t=0;t<n.length;++t)if(" "!==n[t]&&"\t"!==n[t])return!1;return!0}function i(n){for(var t,e=!0,i=!0,r=0,o=null,u=0;u<n.length;++u)switch(n.charCodeAt(u)){case 13:10===n.charCodeAt(u+1)&&++u;case 10:e=!1,i=!0,r=0;break;case 9:case 32:++r;break;default:i&&!e&&(null===o||r<o)&&(o=r),i=!1}return null!==(t=o)&&void 0!==t?t:0}Object.defineProperty(t,"__esModule",{value:!0}),t.dedentBlockStringValue=function(n){var t=n.split(/\r\n|[\n\r]/g),r=i(n);if(0!==r)for(var o=1;o<t.length;o++)t[o]=t[o].slice(r);for(var u=0;u<t.length&&e(t[u]);)++u;for(var f=t.length;f>u&&e(t[f-1]);)--f;return t.slice(u,f).join("\n")},t.getBlockStringIndentation=i,t.printBlockString=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=-1===n.indexOf("\n"),r=" "===n[0]||"\t"===n[0],o='"'===n[n.length-1],u="\\"===n[n.length-1],f=!i||o||u||e,a="";return!f||i&&r||(a+="\n"+t),a+=t?n.replace(/\n/g,"\n"+t):n,f&&(a+="\n"),'"""'+a.replace(/"""/g,'\\"""')+'"""'}})),s=n((function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.print=function(n){return(0,a.visit)(n,{leave:e})};var e={Name:function(n){return n.value},Variable:function(n){return"$"+n.name},Document:function(n){return r(n.definitions,"\n\n")+"\n"},OperationDefinition:function(n){var t=n.operation,e=n.name,i=u("(",r(n.variableDefinitions,", "),")"),o=r(n.directives," "),f=n.selectionSet;return e||o||i||"query"!==t?r([t,r([e,i]),o,f]," "):f},VariableDefinition:function(n){var t=n.directives;return n.variable+": "+n.type+u(" = ",n.defaultValue)+u(" ",r(t," "))},SelectionSet:function(n){return o(n.selections)},Field:function(n){var t=n.name,e=n.arguments,i=n.directives,o=n.selectionSet,a=u("",n.alias,": ")+t,c=a+u("(",r(e,", "),")");return c.length>80&&(c=a+u("(\n",f(r(e,"\n")),"\n)")),r([c,r(i," "),o]," ")},Argument:function(n){return n.name+": "+n.value},FragmentSpread:function(n){return"..."+n.name+u(" ",r(n.directives," "))},InlineFragment:function(n){var t=n.directives,e=n.selectionSet;return r(["...",u("on ",n.typeCondition),r(t," "),e]," ")},FragmentDefinition:function(n){var t=n.typeCondition,e=n.variableDefinitions,i=n.directives,o=n.selectionSet;return"fragment ".concat(n.name).concat(u("(",r(e,", "),")")," ")+"on ".concat(t," ").concat(u("",r(i," ")," "))+o},IntValue:function(n){return n.value},FloatValue:function(n){return n.value},StringValue:function(n,t){var e=n.value;return n.block?(0,c.printBlockString)(e,"description"===t?"":" "):JSON.stringify(e)},BooleanValue:function(n){return n.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(n){return n.value},ListValue:function(n){return"["+r(n.values,", ")+"]"},ObjectValue:function(n){return"{"+r(n.fields,", ")+"}"},ObjectField:function(n){return n.name+": "+n.value},Directive:function(n){return"@"+n.name+u("(",r(n.arguments,", "),")")},NamedType:function(n){return n.name},ListType:function(n){return"["+n.type+"]"},NonNullType:function(n){return n.type+"!"},SchemaDefinition:i((function(n){var t=n.operationTypes;return r(["schema",r(n.directives," "),o(t)]," ")})),OperationTypeDefinition:function(n){return n.operation+": "+n.type},ScalarTypeDefinition:i((function(n){return r(["scalar",n.name,r(n.directives," ")]," ")})),ObjectTypeDefinition:i((function(n){var t=n.directives,e=n.fields;return r(["type",n.name,u("implements ",r(n.interfaces," & ")),r(t," "),o(e)]," ")})),FieldDefinition:i((function(n){var t=n.arguments,e=n.type,i=n.directives;return n.name+(l(t)?u("(\n",f(r(t,"\n")),"\n)"):u("(",r(t,", "),")"))+": "+e+u(" ",r(i," "))})),InputValueDefinition:i((function(n){var t=n.directives;return r([n.name+": "+n.type,u("= ",n.defaultValue),r(t," ")]," ")})),InterfaceTypeDefinition:i((function(n){var t=n.directives,e=n.fields;return r(["interface",n.name,u("implements ",r(n.interfaces," & ")),r(t," "),o(e)]," ")})),UnionTypeDefinition:i((function(n){var t=n.types;return r(["union",n.name,r(n.directives," "),t&&0!==t.length?"= "+r(t," | "):""]," ")})),EnumTypeDefinition:i((function(n){var t=n.values;return r(["enum",n.name,r(n.directives," "),o(t)]," ")})),EnumValueDefinition:i((function(n){return r([n.name,r(n.directives," ")]," ")})),InputObjectTypeDefinition:i((function(n){var t=n.fields;return r(["input",n.name,r(n.directives," "),o(t)]," ")})),DirectiveDefinition:i((function(n){var t=n.arguments,e=n.repeatable,i=n.locations;return"directive @"+n.name+(l(t)?u("(\n",f(r(t,"\n")),"\n)"):u("(",r(t,", "),")"))+(e?" repeatable":"")+" on "+r(i," | ")})),SchemaExtension:function(n){var t=n.operationTypes;return r(["extend schema",r(n.directives," "),o(t)]," ")},ScalarTypeExtension:function(n){return r(["extend scalar",n.name,r(n.directives," ")]," ")},ObjectTypeExtension:function(n){var t=n.directives,e=n.fields;return r(["extend type",n.name,u("implements ",r(n.interfaces," & ")),r(t," "),o(e)]," ")},InterfaceTypeExtension:function(n){var t=n.directives,e=n.fields;return r(["extend interface",n.name,u("implements ",r(n.interfaces," & ")),r(t," "),o(e)]," ")},UnionTypeExtension:function(n){var t=n.types;return r(["extend union",n.name,r(n.directives," "),t&&0!==t.length?"= "+r(t," | "):""]," ")},EnumTypeExtension:function(n){var t=n.values;return r(["extend enum",n.name,r(n.directives," "),o(t)]," ")},InputObjectTypeExtension:function(n){var t=n.fields;return r(["extend input",n.name,r(n.directives," "),o(t)]," ")}};function i(n){return function(t){return r([t.description,n(t)],"\n")}}function r(n){var t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==n?void 0:n.filter((function(n){return n})).join(e))&&void 0!==t?t:""}function o(n){return u("{\n",f(r(n,"\n")),"\n}")}function u(n,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?n+t+e:""}function f(n){return u(" ",n.replace(/\n/g,"\n "))}function s(n){return-1!==n.indexOf("\n")}function l(n){return null!=n&&n.some(s)}})),l=function(n){var t=n.name,e=n.type;this.uri=n.uri,this.name=t,this.type=e},v=function(n){return"undefined"!=typeof File&&n instanceof File||"undefined"!=typeof Blob&&n instanceof Blob||n instanceof l},d=function n(t,e,i){var r;void 0===e&&(e=""),void 0===i&&(i=v);var o=new Map;function u(n,t){var e=o.get(t);e?e.push.apply(e,n):o.set(t,n)}if(i(t))r=null,u([e],t);else{var f=e?e+".":"";if("undefined"!=typeof FileList&&t instanceof FileList)r=Array.prototype.map.call(t,(function(n,t){return u([""+f+t],n),null}));else if(Array.isArray(t))r=t.map((function(t,e){var r=n(t,""+f+e,i);return r.files.forEach(u),r.clone}));else if(t&&t.constructor===Object)for(var a in r={},t){var c=n(t[a],""+f+a,i);c.files.forEach(u),r[a]=c.clone}else r=t}return{clone:r,files:o}},h=v,y="object"==typeof self?self.FormData:window.FormData,p=n((function(n,e){var i=t&&t.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(e,"__esModule",{value:!0});var r=i(y),o=function(n){return h(n)||null!==n&&"object"==typeof n&&"function"==typeof n.pipe};e.default=function(n,t){var e=d({query:n,variables:t},"",o),i=e.clone,u=e.files;if(0===u.size)return JSON.stringify(i);var f=new("undefined"==typeof FormData?r.default:FormData);f.append("operations",JSON.stringify(i));var a={},c=0;return u.forEach((function(n){a[++c]=n})),f.append("map",JSON.stringify(a)),c=0,u.forEach((function(n,t){f.append(""+ ++c,t)})),f}})),b=n((function(n,e){var i,r=t&&t.__extends||(i=function(n,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])})(n,t)},function(n,t){function e(){this.constructor=n}i(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.ClientError=void 0;var o=function(n){function t(e,i){var r=this,o=t.extractMessage(e)+": "+JSON.stringify({response:e,request:i});return r=n.call(this,o)||this,Object.setPrototypeOf(r,t.prototype),r.response=e,r.request=i,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(r,t),r}return r(t,n),t.extractMessage=function(n){try{return n.errors[0].message}catch(t){return"GraphQL Error (Code: "+n.status+")"}},t}(Error);e.ClientError=o})),m=n((function(n,i){var r=t&&t.__assign||function(){return(r=Object.assign||function(n){for(var t,e=1,i=arguments.length;e<i;e++)for(var r in t=arguments[e])Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}).apply(this,arguments)},o=t&&t.__createBinding||(Object.create?function(n,t,e,i){void 0===i&&(i=e),Object.defineProperty(n,i,{enumerable:!0,get:function(){return t[e]}})}:function(n,t,e,i){void 0===i&&(i=e),n[i]=t[e]}),u=t&&t.__setModuleDefault||(Object.create?function(n,t){Object.defineProperty(n,"default",{enumerable:!0,value:t})}:function(n,t){n.default=t}),f=t&&t.__importStar||function(n){if(n&&n.__esModule)return n;var t={};if(null!=n)for(var e in n)"default"!==e&&Object.prototype.hasOwnProperty.call(n,e)&&o(t,n,e);return u(t,n),t},a=t&&t.__awaiter||function(n,t,e,i){return new(e||(e=Promise))((function(r,o){function u(n){try{a(i.next(n))}catch(n){o(n)}}function f(n){try{a(i.throw(n))}catch(n){o(n)}}function a(n){var t;n.done?r(n.value):(t=n.value,t instanceof e?t:new e((function(n){n(t)}))).then(u,f)}a((i=i.apply(n,t||[])).next())}))},c=t&&t.__generator||function(n,t){var e,i,r,o,u={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:f(0),throw:f(1),return:f(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function f(o){return function(f){return function(o){if(e)throw new TypeError("Generator is already executing.");for(;u;)try{if(e=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return u.label++,{value:o[1],done:!1};case 5:u.label++,i=o[1],o=[0];continue;case 7:o=u.ops.pop(),u.trys.pop();continue;default:if(!((r=(r=u.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){u=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){u.label=o[1];break}if(6===o[0]&&u.label<r[1]){u.label=r[1],r=o;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(o);break}r[2]&&u.ops.pop(),u.trys.pop();continue}o=t.call(n,u)}catch(n){o=[6,n],i=0}finally{e=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,f])}}},l=t&&t.__rest||function(n,t){var e={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&t.indexOf(i)<0&&(e[i]=n[i]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(n);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(n,i[r])&&(e[i[r]]=n[i[r]])}return e},v=t&&t.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(i,"__esModule",{value:!0}),i.gql=i.request=i.rawRequest=i.GraphQLClient=i.ClientError=void 0;var d=f(e),h=d,y=v(p),m=b;Object.defineProperty(i,"ClientError",{enumerable:!0,get:function(){return m.ClientError}});var w=function(n){var t={};return n&&("undefined"!=typeof Headers&&n instanceof Headers||n instanceof h.Headers?t=function(n){var t={};return n.forEach((function(n,e){t[e]=n})),t}(n):Array.isArray(n)?n.forEach((function(n){t[n[0]]=n[1]})):t=n),t},j=function(){function n(n,t){this.url=n,this.options=t||{}}return n.prototype.rawRequest=function(n,t,e){return a(this,void 0,void 0,(function(){var i,o,u,f,a,s,v,h,p,m;return c(this,(function(c){switch(c.label){case 0:return o=(i=this.options).headers,f=void 0===(u=i.fetch)?d.default:u,a=l(i,["headers","fetch"]),s=y.default(n,t),[4,f(this.url,r({method:"POST",headers:r(r(r({},"string"==typeof s?{"Content-Type":"application/json"}:{}),w(o)),w(e)),body:s},a))];case 1:return[4,T(v=c.sent())];case 2:if(h=c.sent(),v.ok&&!h.errors&&h.data)return p=v.headers,m=v.status,[2,r(r({},h),{headers:p,status:m})];throw new b.ClientError(r(r({},"string"==typeof h?{error:h}:h),{status:v.status,headers:v.headers}),{query:n,variables:t})}}))}))},n.prototype.request=function(n,t,e){return a(this,void 0,void 0,(function(){var i,o,u,f,a,v,h,p,m;return c(this,(function(c){switch(c.label){case 0:return o=(i=this.options).headers,f=void 0===(u=i.fetch)?d.default:u,a=l(i,["headers","fetch"]),v=function(n){return"string"==typeof n?n:s.print(n)}(n),h=y.default(v,t),[4,f(this.url,r({method:"POST",headers:r(r(r({},"string"==typeof h?{"Content-Type":"application/json"}:{}),w(o)),w(e)),body:h},a))];case 1:return[4,T(p=c.sent())];case 2:if(m=c.sent(),p.ok&&!m.errors&&m.data)return[2,m.data];throw new b.ClientError(r(r({},"string"==typeof m?{error:m}:m),{status:p.status}),{query:v,variables:t})}}))}))},n.prototype.setHeaders=function(n){return this.options.headers=n,this},n.prototype.setHeader=function(n,t){var e,i=this.options.headers;return i?i[n]=t:this.options.headers=((e={})[n]=t,e),this},n}();function O(n,t,e){return a(this,void 0,void 0,(function(){return c(this,(function(){return[2,new j(n).request(t,e)]}))}))}function T(n){var t=n.headers.get("Content-Type");return t&&t.startsWith("application/json")?n.json():n.text()}i.GraphQLClient=j,i.rawRequest=function(n,t,e){return a(this,void 0,void 0,(function(){return c(this,(function(){return[2,new j(n).rawRequest(t,e)]}))}))},i.request=O,i.default=O,i.gql=function(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return n.reduce((function(n,e,i){return""+n+e+(i in t?t[i]:"")}),"")}}));export{m as d}
@@ -0,0 +1 @@
1
+ function t(){return(t=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n="object"===("undefined"==typeof window?"undefined":r(window))&&"object"===("undefined"==typeof document?"undefined":r(document))&&9===document.nodeType;function i(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function e(t,r,n){return r&&i(t.prototype,r),n&&i(t,n),t}function o(t,r){return(o=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function u(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r)}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var a={}.constructor;function f(t){if(null==t||"object"!=typeof t)return t;if(Array.isArray(t))return t.map(f);if(t.constructor!==a)return t;var r={};for(var n in t)r[n]=f(t[n]);return r}function l(t,r,n){void 0===t&&(t="unnamed");var i=n.jss,e=f(r);return i.plugins.onCreateRule(t,e,n)||null}var h=function(t,r){for(var n="",i=0;i<t.length&&"!important"!==t[i];i++)n&&(n+=r),n+=t[i];return n},c=function(t,r){if(void 0===r&&(r=!1),!Array.isArray(t))return t;var n="";if(Array.isArray(t[0]))for(var i=0;i<t.length&&"!important"!==t[i];i++)n&&(n+=", "),n+=h(t[i]," ");else n=h(t,", ");return r||"!important"!==t[t.length-1]||(n+=" !important"),n};function d(t,r){for(var n="",i=0;i<r;i++)n+=" ";return n+t}function v(t,r,n){void 0===n&&(n={});var i="";if(!r)return i;var e=n.indent,o=void 0===e?0:e,u=r.fallbacks;if(t&&o++,u)if(Array.isArray(u))for(var s=0;s<u.length;s++){var a=u[s];for(var f in a){var l=a[f];null!=l&&(i&&(i+="\n"),i+=d(f+": "+c(l)+";",o))}}else for(var h in u){var v=u[h];null!=v&&(i&&(i+="\n"),i+=d(h+": "+c(v)+";",o))}for(var p in r){var b=r[p];null!=b&&"fallbacks"!==p&&(i&&(i+="\n"),i+=d(p+": "+c(b)+";",o))}return(i||n.allowEmpty)&&t?(i&&(i="\n"+i+"\n"),d(t+" {"+i,--o)+d("}",o)):i}var p=/([[\].#*$><+~=|^:(),"'`\s])/g,b="undefined"!=typeof CSS&&CSS.escape,m=function(t){return b?b(t):t.replace(p,"\\$1")},g=function(){function t(t,r,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var i=n.sheet,e=n.Renderer;this.key=t,this.options=n,this.style=r,i?this.renderer=i.renderer:e&&(this.renderer=new e)}return t.prototype.prop=function(t,r,n){if(void 0===r)return this.style[t];var i=!!n&&n.force;if(!i&&this.style[t]===r)return this;var e=r;n&&!1===n.process||(e=this.options.jss.plugins.onChangeValue(r,t,this));var o=null==e||!1===e,u=t in this.style;if(o&&!u&&!i)return this;var s=o&&u;return s?delete this.style[t]:this.style[t]=e,this.renderable&&this.renderer?(s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,e),this):this},t}(),y=function(r){function n(t,n,i){var e;(e=r.call(this,t,n,i)||this).selectorText=void 0,e.id=void 0,e.renderable=void 0;var o=i.selector,u=i.scoped,a=i.sheet,f=i.generateId;return o?e.selectorText=o:!1!==u&&(e.id=f(s(s(e)),a),e.selectorText="."+m(e.id)),e}u(n,r);var i=n.prototype;return i.applyTo=function(t){var r=this.renderer;if(r){var n=this.toJSON();for(var i in n)r.setProperty(t,i,n[i])}return this},i.toJSON=function(){var t={};for(var r in this.style){var n=this.style[r];"object"!=typeof n?t[r]=n:Array.isArray(n)&&(t[r]=c(n))}return t},i.toString=function(r){var n=this.options.sheet,i=n&&n.options.link?t({},r,{allowEmpty:!0}):r;return v(this.selectorText,this.style,i)},e(n,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var r=this.renderer,n=this.renderable;n&&r&&(r.setSelector(n,t)||r.replaceRule(n,this))}},get:function(){return this.selectorText}}]),n}(g),w={onCreateRule:function(t,r,n){return"@"===t[0]||n.parent&&"keyframes"===n.parent.type?null:new y(t,r,n)}},x={indent:1,children:!0},k=/@([\w-]+)/,S=function(){function r(r,n,i){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=r;var e=r.match(k);for(var o in this.at=e?e[1]:"unknown",this.query=i.name||"@"+this.at,this.options=i,this.rules=new L(t({},i,{parent:this})),n)this.rules.add(o,n[o]);this.rules.process()}var n=r.prototype;return n.getRule=function(t){return this.rules.get(t)},n.indexOf=function(t){return this.rules.indexOf(t)},n.addRule=function(t,r,n){var i=this.rules.add(t,r,n);return i?(this.options.jss.plugins.onProcessRule(i),i):null},n.toString=function(t){if(void 0===t&&(t=x),null==t.indent&&(t.indent=x.indent),null==t.children&&(t.children=x.children),!1===t.children)return this.query+" {}";var r=this.rules.toString(t);return r?this.query+" {\n"+r+"\n}":""},r}(),P=/@media|@supports\s+/,C={onCreateRule:function(t,r,n){return P.test(t)?new S(t,r,n):null}},j={indent:1,children:!0},A=/@keyframes\s+([\w-]+)/,R=function(){function r(r,n,i){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var e=r.match(A);this.name=e&&e[1]?e[1]:"noname",this.key=this.type+"-"+this.name,this.options=i;var o=i.scoped,u=i.sheet,s=i.generateId;for(var a in this.id=!1===o?this.name:m(s(this,u)),this.rules=new L(t({},i,{parent:this})),n)this.rules.add(a,n[a],t({},i,{parent:this}));this.rules.process()}return r.prototype.toString=function(t){if(void 0===t&&(t=j),null==t.indent&&(t.indent=j.indent),null==t.children&&(t.children=j.children),!1===t.children)return this.at+" "+this.id+" {}";var r=this.rules.toString(t);return r&&(r="\n"+r+"\n"),this.at+" "+this.id+" {"+r+"}"},r}(),z=/@keyframes\s+/,O=/\$([\w-]+)/g,W=function(t,r){return"string"==typeof t?t.replace(O,(function(t,n){return n in r?r[n]:t})):t},M=function(t,r,n){var i=t[r],e=W(i,n);e!==i&&(t[r]=e)},V={onCreateRule:function(t,r,n){return"string"==typeof t&&z.test(t)?new R(t,r,n):null},onProcessStyle:function(t,r,n){return"style"===r.type&&n?("animation-name"in t&&M(t,"animation-name",n.keyframes),"animation"in t&&M(t,"animation",n.keyframes),t):t},onChangeValue:function(t,r,n){var i=n.options.sheet;if(!i)return t;switch(r){case"animation":case"animation-name":return W(t,i.keyframes);default:return t}}},I=function(r){function n(){for(var t,n=arguments.length,i=new Array(n),e=0;e<n;e++)i[e]=arguments[e];return(t=r.call.apply(r,[this].concat(i))||this).renderable=void 0,t}return u(n,r),n.prototype.toString=function(r){var n=this.options.sheet,i=n&&n.options.link?t({},r,{allowEmpty:!0}):r;return v(this.key,this.style,i)},n}(g),E={onCreateRule:function(t,r,n){return n.parent&&"keyframes"===n.parent.type?new I(t,r,n):null}},N=function(){function t(t,r,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=r,this.options=n}return t.prototype.toString=function(t){if(Array.isArray(this.style)){for(var r="",n=0;n<this.style.length;n++)r+=v(this.at,this.style[n]),this.style[n+1]&&(r+="\n");return r}return v(this.at,this.style,t)},t}(),$=/@font-face/,F={onCreateRule:function(t,r,n){return $.test(t)?new N(t,r,n):null}},T=function(){function t(t,r,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=r,this.options=n}return t.prototype.toString=function(t){return v(this.key,this.style,t)},t}(),G={onCreateRule:function(t,r,n){return"@viewport"===t||"@-ms-viewport"===t?new T(t,r,n):null}},U=function(){function t(t,r,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.value=r,this.options=n}return t.prototype.toString=function(){if(Array.isArray(this.value)){for(var t="",r=0;r<this.value.length;r++)t+=this.key+" "+this.value[r]+";",this.value[r+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},t}(),q={"@charset":!0,"@import":!0,"@namespace":!0},D=[w,C,V,E,F,G,{onCreateRule:function(t,r,n){return t in q?new U(t,r,n):null}}],H={process:!0},B={force:!0,process:!0},L=function(){function r(t){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=t,this.classes=t.classes,this.keyframes=t.keyframes}var n=r.prototype;return n.add=function(r,n,i){var e=this.options,o=t({classes:this.classes,parent:e.parent,sheet:e.sheet,jss:e.jss,Renderer:e.Renderer,generateId:e.generateId,scoped:e.scoped,name:r,keyframes:this.keyframes,selector:void 0},i),u=r;r in this.raw&&(u=r+"-d"+this.counter++),this.raw[u]=n,u in this.classes&&(o.selector="."+m(this.classes[u]));var s=l(u,n,o);return s?(this.register(s),this.index.splice(void 0===o.index?this.index.length:o.index,0,s),s):null},n.get=function(t){return this.map[t]},n.remove=function(t){this.unregister(t),delete this.raw[t.key],this.index.splice(this.index.indexOf(t),1)},n.indexOf=function(t){return this.index.indexOf(t)},n.process=function(){var t=this.options.jss.plugins;this.index.slice(0).forEach(t.onProcessRule,t)},n.register=function(t){this.map[t.key]=t,t instanceof y?(this.map[t.selector]=t,t.id&&(this.classes[t.key]=t.id)):t instanceof R&&this.keyframes&&(this.keyframes[t.name]=t.id)},n.unregister=function(t){delete this.map[t.key],t instanceof y?(delete this.map[t.selector],delete this.classes[t.key]):t instanceof R&&delete this.keyframes[t.name]},n.update=function(){var t,r,n;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(t=arguments.length<=0?void 0:arguments[0],r=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(r=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],t=null),t)this.updateOne(this.map[t],r,n);else for(var i=0;i<this.index.length;i++)this.updateOne(this.index[i],r,n)},n.updateOne=function(t,n,i){void 0===i&&(i=H);var e=this.options,o=e.jss.plugins,u=e.sheet;if(t.rules instanceof r)t.rules.update(n,i);else{var s=t,a=s.style;if(o.onUpdate(n,t,u,i),i.process&&a&&a!==s.style){for(var f in o.onProcessStyle(s.style,s,u),s.style){var l=s.style[f];l!==a[f]&&s.prop(f,l,B)}for(var h in a){var c=s.style[h];null==c&&c!==a[h]&&s.prop(h,null,B)}}}},n.toString=function(t){for(var r="",n=this.options.sheet,i=!!n&&n.options.link,e=0;e<this.index.length;e++){var o=this.index[e].toString(t);(o||i)&&(r&&(r+="\n"),r+=o)}return r},r}(),Z=function(){function r(r,n){for(var i in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=t({},n,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),n.Renderer&&(this.renderer=new n.Renderer(this)),this.rules=new L(this.options),r)this.rules.add(i,r[i]);this.rules.process()}var n=r.prototype;return n.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},n.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},n.addRule=function(t,r,n){var i=this.queue;this.attached&&!i&&(this.queue=[]);var e=this.rules.add(t,r,n);return e?(this.options.jss.plugins.onProcessRule(e),this.attached?this.deployed?(i?i.push(e):(this.insertRule(e),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),e):e:(this.deployed=!1,e)):null},n.insertRule=function(t){this.renderer&&this.renderer.insertRule(t)},n.addRules=function(t,r){var n=[];for(var i in t){var e=this.addRule(i,t[i],r);e&&n.push(e)}return n},n.getRule=function(t){return this.rules.get(t)},n.deleteRule=function(t){var r="object"==typeof t?t:this.rules.get(t);return!(!r||this.attached&&!r.renderable)&&(this.rules.remove(r),!(this.attached&&r.renderable&&this.renderer)||this.renderer.deleteRule(r.renderable))},n.indexOf=function(t){return this.rules.indexOf(t)},n.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},n.update=function(){var t;return(t=this.rules).update.apply(t,arguments),this},n.updateOne=function(t,r,n){return this.rules.updateOne(t,r,n),this},n.toString=function(t){return this.rules.toString(t)},r}(),J=function(){function t(){this.plugins={internal:[],external:[]},this.registry=void 0}var r=t.prototype;return r.onCreateRule=function(t,r,n){for(var i=0;i<this.registry.onCreateRule.length;i++){var e=this.registry.onCreateRule[i](t,r,n);if(e)return e}return null},r.onProcessRule=function(t){if(!t.isProcessed){for(var r=t.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](t,r);t.style&&this.onProcessStyle(t.style,t,r),t.isProcessed=!0}},r.onProcessStyle=function(t,r,n){for(var i=0;i<this.registry.onProcessStyle.length;i++)r.style=this.registry.onProcessStyle[i](r.style,r,n)},r.onProcessSheet=function(t){for(var r=0;r<this.registry.onProcessSheet.length;r++)this.registry.onProcessSheet[r](t)},r.onUpdate=function(t,r,n,i){for(var e=0;e<this.registry.onUpdate.length;e++)this.registry.onUpdate[e](t,r,n,i)},r.onChangeValue=function(t,r,n){for(var i=t,e=0;e<this.registry.onChangeValue.length;e++)i=this.registry.onChangeValue[e](i,r,n);return i},r.use=function(t,r){void 0===r&&(r={queue:"external"});var n=this.plugins[r.queue];-1===n.indexOf(t)&&(n.push(t),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(t,r){for(var n in r)n in t&&t[n].push(r[n]);return t}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},t}(),K=new(function(){function t(){this.registry=[]}var r=t.prototype;return r.add=function(t){var r=this.registry,n=t.options.index;if(-1===r.indexOf(t))if(0===r.length||n>=this.index)r.push(t);else for(var i=0;i<r.length;i++)if(r[i].options.index>n)return void r.splice(i,0,t)},r.reset=function(){this.registry=[]},r.remove=function(t){var r=this.registry.indexOf(t);this.registry.splice(r,1)},r.toString=function(t){for(var r=void 0===t?{}:t,n=r.attached,i=function(t,r){if(null==t)return{};var n,i,e={},o=Object.keys(t);for(i=0;i<o.length;i++)r.indexOf(n=o[i])>=0||(e[n]=t[n]);return e}(r,["attached"]),e="",o=0;o<this.registry.length;o++){var u=this.registry[o];null!=n&&u.attached!==n||(e&&(e+="\n"),e+=u.toString(i))}return e},e(t,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),t}()),Q="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),X="2f1acc6c3a606b082e5eef5e54414ffb";null==Q[X]&&(Q[X]=0);var Y=Q[X]++,_=function(t){void 0===t&&(t={});var r=0;return function(n,i){r+=1;var e="",o="";return i&&(i.options.classNamePrefix&&(o=i.options.classNamePrefix),null!=i.options.jss.id&&(e=String(i.options.jss.id))),t.minify?""+(o||"c")+Y+e+r:o+n.key+"-"+Y+(e?"-"+e:"")+"-"+r}},tt=function(t){var r;return function(){return r||(r=t()),r}},rt=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch(t){return""}},nt=function(t,r,n){try{var i=n;if(Array.isArray(n)&&(i=c(n,!0),"!important"===n[n.length-1]))return t.style.setProperty(r,i,"important"),!0;t.attributeStyleMap?t.attributeStyleMap.set(r,i):t.style.setProperty(r,i)}catch(t){return!1}return!0},it=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch(t){}},et=function(t,r){return t.selectorText=r,t.selectorText===r},ot=tt((function(){return document.querySelector("head")}));var ut=tt((function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null})),st=function(t,r,n){try{"insertRule"in t?t.insertRule(r,n):"appendRule"in t&&t.appendRule(r)}catch(t){return!1}return t.cssRules[n]},at=function(t,r){var n=t.cssRules.length;return void 0===r||r>n?n:r},ft=function(){function t(t){this.getPropertyValue=rt,this.setProperty=nt,this.removeProperty=it,this.setSelector=et,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],t&&K.add(t),this.sheet=t;var r=this.sheet?this.sheet.options:{},n=r.media,i=r.meta;this.element=r.element||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),i&&this.element.setAttribute("data-meta",i);var e=ut();e&&this.element.setAttribute("nonce",e)}var r=t.prototype;return r.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,r){var n=r.insertionPoint,i=function(t){var r=K.registry;if(r.length>0){var n=function(t,r){for(var n=0;n<t.length;n++){var i=t[n];if(i.attached&&i.options.index>r.index&&i.options.insertionPoint===r.insertionPoint)return i}return null}(r,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(t,r){for(var n=t.length-1;n>=0;n--){var i=t[n];if(i.attached&&i.options.insertionPoint===r.insertionPoint)return i}return null}(r,t))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var i=t.insertionPoint;if(i&&"string"==typeof i){var e=function(t){for(var r=ot(),n=0;n<r.childNodes.length;n++){var i=r.childNodes[n];if(8===i.nodeType&&i.nodeValue.trim()===t)return i}return null}(i);if(e)return{parent:e.parentNode,node:e.nextSibling}}return!1}(r);if(!1!==i&&i.parent)i.parent.insertBefore(t,i.node);else if(n&&"number"==typeof n.nodeType){var e=n.parentNode;e&&e.insertBefore(t,n.nextSibling)}else ot().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},r.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},r.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},r.insertRules=function(t,r){for(var n=0;n<t.index.length;n++)this.insertRule(t.index[n],n,r)},r.insertRule=function(t,r,n){if(void 0===n&&(n=this.element.sheet),t.rules){var i=t,e=n;if("conditional"===t.type||"keyframes"===t.type){var o=at(n,r);if(!1===(e=st(n,i.toString({children:!1}),o)))return!1;this.refCssRule(t,o,e)}return this.insertRules(i.rules,e),e}var u=t.toString();if(!u)return!1;var s=at(n,r),a=st(n,u,s);return!1!==a&&(this.hasInsertedRules=!0,this.refCssRule(t,s,a),a)},r.refCssRule=function(t,r,n){t.renderable=n,t.options.parent instanceof Z&&(this.cssRules[r]=n)},r.deleteRule=function(t){var r=this.element.sheet,n=this.indexOf(t);return-1!==n&&(r.deleteRule(n),this.cssRules.splice(n,1),!0)},r.indexOf=function(t){return this.cssRules.indexOf(t)},r.replaceRule=function(t,r){var n=this.indexOf(t);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(r,n))},r.getRules=function(){return this.element.sheet.cssRules},t}(),lt=0,ht=function(){function r(t){this.id=lt++,this.version="10.7.1",this.plugins=new J,this.options={id:{minify:!1},createGenerateId:_,Renderer:n?ft:null,plugins:[]},this.generateId=_({minify:!1});for(var r=0;r<D.length;r++)this.plugins.use(D[r],{queue:"internal"});this.setup(t)}var i=r.prototype;return i.setup=function(r){return void 0===r&&(r={}),r.createGenerateId&&(this.options.createGenerateId=r.createGenerateId),r.id&&(this.options.id=t({},this.options.id,r.id)),(r.createGenerateId||r.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=r.insertionPoint&&(this.options.insertionPoint=r.insertionPoint),"Renderer"in r&&(this.options.Renderer=r.Renderer),r.plugins&&this.use.apply(this,r.plugins),this},i.createStyleSheet=function(r,n){void 0===n&&(n={});var i=n.index;"number"!=typeof i&&(i=0===K.index?0:K.index+1);var e=new Z(r,t({},n,{jss:this,generateId:n.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:i}));return this.plugins.onProcessSheet(e),e},i.removeStyleSheet=function(t){return t.detach(),K.remove(t),this},i.createRule=function(r,n,i){if(void 0===n&&(n={}),void 0===i&&(i={}),"object"==typeof r)return this.createRule(void 0,r,n);var e=t({},i,{name:r,jss:this,Renderer:this.options.Renderer});e.generateId||(e.generateId=this.generateId),e.classes||(e.classes={}),e.keyframes||(e.keyframes={});var o=l(r,n,e);return o&&this.plugins.onProcessRule(o),o},i.use=function(){for(var t=this,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return n.forEach((function(r){t.plugins.use(r)})),this},r}(),ct="object"==typeof CSS&&null!=CSS&&"number"in CSS,dt=function(t){return new ht(t)},vt=dt(),pt=Date.now(),bt="fnValues"+pt,mt="fnStyle"+ ++pt,gt=function(){var t,r=("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof module?module:Function("return this")()).Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}(),yt=function(t){return t&&t[gt]&&t===t[gt]()},wt=/;\n/,xt=function(t){"string"==typeof t.style&&(t.style=function(t){for(var r={},n=t.split(wt),i=0;i<n.length;i++){var e=(n[i]||"").trim();if(e){var o=e.indexOf(":");if(-1!==o){var u=e.substr(0,o).trim(),s=e.substr(o+1).trim();r[u]=s}}}return r}(t.style))},kt="@global",St=function(){function r(r,n,i){for(var e in this.type="global",this.at=kt,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=r,this.options=i,this.rules=new L(t({},i,{parent:this})),n)this.rules.add(e,n[e]);this.rules.process()}var n=r.prototype;return n.getRule=function(t){return this.rules.get(t)},n.addRule=function(t,r,n){var i=this.rules.add(t,r,n);return i&&this.options.jss.plugins.onProcessRule(i),i},n.indexOf=function(t){return this.rules.indexOf(t)},n.toString=function(){return this.rules.toString()},r}(),Pt=function(){function r(r,n,i){this.type="global",this.at=kt,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=r,this.options=i;var e=r.substr("@global ".length);this.rule=i.jss.createRule(e,n,t({},i,{parent:this}))}return r.prototype.toString=function(t){return this.rule?this.rule.toString(t):""},r}(),Ct=/\s*,\s*/g;function jt(t,r){for(var n=t.split(Ct),i="",e=0;e<n.length;e++)i+=r+" "+n[e].trim(),n[e+1]&&(i+=", ");return i}var At=function(t){return t&&"object"==typeof t&&!Array.isArray(t)},Rt="extendCurrValue"+Date.now();function zt(r,n,i,e){return void 0===e&&(e={}),function(r,n,i,e){if("string"!=typeof r.extend)if(Array.isArray(r.extend))for(var o=0;o<r.extend.length;o++){var u=r.extend[o];zt("string"==typeof u?t({},r,{extend:u}):r.extend[o],n,i,e)}else for(var s in r.extend)"extend"!==s?At(r.extend[s])?(s in e||(e[s]={}),zt(r.extend[s],n,i,e[s])):e[s]=r.extend[s]:zt(r.extend.extend,n,i,e);else{if(!i)return;var a=i.getRule(r.extend);if(!a)return;if(a===n)return;var f=a.options.parent;f&&zt(f.rules.raw[r.extend],n,i,e)}}(r,n,i,e),function(t,r,n,i){for(var e in t)"extend"!==e&&(At(i[e])&&At(t[e])?zt(t[e],r,n,i[e]):i[e]=At(t[e])?zt(t[e],r,n):t[e])}(r,n,i,e),e}var Ot=/\s*,\s*/g,Wt=/&/g,Mt=/\$([\w-]+)/g;function Vt(){function r(t,r){return function(n,i){var e=t.getRule(i)||r&&r.getRule(i);return e?(e=e).selector:i}}function n(t,r){for(var n=r.split(Ot),i=t.split(Ot),e="",o=0;o<n.length;o++)for(var u=n[o],s=0;s<i.length;s++){var a=i[s];e&&(e+=", "),e+=-1!==a.indexOf("&")?a.replace(Wt,u):u+" "+a}return e}function i(r,n,i){if(i)return t({},i,{index:i.index+1});var e=r.options.nestingLevel,o=t({},r.options,{nestingLevel:e=void 0===e?1:e+1,index:n.indexOf(r)+1});return delete o.name,o}return{onProcessStyle:function(e,o,u){if("style"!==o.type)return e;var s,a,f=o,l=f.options.parent;for(var h in e){var c=-1!==h.indexOf("&"),d="@"===h[0];if(c||d){if(s=i(f,l,s),c){var v=n(h,f.selector);a||(a=r(l,u)),v=v.replace(Mt,a),l.addRule(v,e[h],t({},s,{selector:v}))}else d&&l.addRule(h,{},s).addRule(f.key,e[h],{selector:f.selector});delete e[h]}}return e}}}function It(t,r){if(!r)return!0;if(Array.isArray(r)){for(var n=0;n<r.length;n++)if(!It(t,r[n]))return!1;return!0}if(r.indexOf(" ")>-1)return It(t,r.split(" "));var i=t.options.parent;if("$"===r[0]){var e=i.getRule(r.substr(1));return!!e&&e!==t&&(i.classes[t.key]+=" "+i.classes[e.key],!0)}return i.classes[t.key]+=" "+r,!0}function Et(){return{onProcessStyle:function(t,r){return"composes"in t?(It(r,t.composes),delete t.composes,t):t}}}var Nt=/[A-Z]/g,$t=/^ms-/,Ft={};function Tt(t){return"-"+t.toLowerCase()}function Gt(t){if(Ft.hasOwnProperty(t))return Ft[t];var r=t.replace(Nt,Tt);return Ft[t]=$t.test(r)?"-"+r:r}function Ut(t){var r={};for(var n in t)r[0===n.indexOf("--")?n:Gt(n)]=t[n];return t.fallbacks&&(r.fallbacks=Array.isArray(t.fallbacks)?t.fallbacks.map(Ut):Ut(t.fallbacks)),r}var qt=ct&&CSS?CSS.px:"px",Dt=ct&&CSS?CSS.ms:"ms",Ht=ct&&CSS?CSS.percent:"%";function Bt(t){var r=/(-[a-z])/g,n=function(t){return t[1].toUpperCase()},i={};for(var e in t)i[e]=t[e],i[e.replace(r,n)]=t[e];return i}var Lt=Bt({"animation-delay":Dt,"animation-duration":Dt,"background-position":qt,"background-position-x":qt,"background-position-y":qt,"background-size":qt,border:qt,"border-bottom":qt,"border-bottom-left-radius":qt,"border-bottom-right-radius":qt,"border-bottom-width":qt,"border-left":qt,"border-left-width":qt,"border-radius":qt,"border-right":qt,"border-right-width":qt,"border-top":qt,"border-top-left-radius":qt,"border-top-right-radius":qt,"border-top-width":qt,"border-width":qt,"border-block":qt,"border-block-end":qt,"border-block-end-width":qt,"border-block-start":qt,"border-block-start-width":qt,"border-block-width":qt,"border-inline":qt,"border-inline-end":qt,"border-inline-end-width":qt,"border-inline-start":qt,"border-inline-start-width":qt,"border-inline-width":qt,"border-start-start-radius":qt,"border-start-end-radius":qt,"border-end-start-radius":qt,"border-end-end-radius":qt,margin:qt,"margin-bottom":qt,"margin-left":qt,"margin-right":qt,"margin-top":qt,"margin-block":qt,"margin-block-end":qt,"margin-block-start":qt,"margin-inline":qt,"margin-inline-end":qt,"margin-inline-start":qt,padding:qt,"padding-bottom":qt,"padding-left":qt,"padding-right":qt,"padding-top":qt,"padding-block":qt,"padding-block-end":qt,"padding-block-start":qt,"padding-inline":qt,"padding-inline-end":qt,"padding-inline-start":qt,"mask-position-x":qt,"mask-position-y":qt,"mask-size":qt,height:qt,width:qt,"min-height":qt,"max-height":qt,"min-width":qt,"max-width":qt,bottom:qt,left:qt,top:qt,right:qt,inset:qt,"inset-block":qt,"inset-block-end":qt,"inset-block-start":qt,"inset-inline":qt,"inset-inline-end":qt,"inset-inline-start":qt,"box-shadow":qt,"text-shadow":qt,"column-gap":qt,"column-rule":qt,"column-rule-width":qt,"column-width":qt,"font-size":qt,"font-size-delta":qt,"letter-spacing":qt,"text-decoration-thickness":qt,"text-indent":qt,"text-stroke":qt,"text-stroke-width":qt,"word-spacing":qt,motion:qt,"motion-offset":qt,outline:qt,"outline-offset":qt,"outline-width":qt,perspective:qt,"perspective-origin-x":Ht,"perspective-origin-y":Ht,"transform-origin":Ht,"transform-origin-x":Ht,"transform-origin-y":Ht,"transform-origin-z":Ht,"transition-delay":Dt,"transition-duration":Dt,"vertical-align":qt,"flex-basis":qt,"shape-margin":qt,size:qt,gap:qt,grid:qt,"grid-gap":qt,"row-gap":qt,"grid-row-gap":qt,"grid-column-gap":qt,"grid-template-rows":qt,"grid-template-columns":qt,"grid-auto-rows":qt,"grid-auto-columns":qt,"box-shadow-x":qt,"box-shadow-y":qt,"box-shadow-blur":qt,"box-shadow-spread":qt,"font-line-height":qt,"text-shadow-x":qt,"text-shadow-y":qt,"text-shadow-blur":qt});function Zt(t,r,n){if(null==r)return r;if(Array.isArray(r))for(var i=0;i<r.length;i++)r[i]=Zt(t,r[i],n);else if("object"==typeof r)if("fallbacks"===t)for(var e in r)r[e]=Zt(e,r[e],n);else for(var o in r)r[o]=Zt(t+"-"+o,r[o],n);else if("number"==typeof r&&!1===isNaN(r)){var u=n[t]||Lt[t];return!u||0===r&&u===qt?r.toString():"function"==typeof u?u(r).toString():""+r+u}return r}function Jt(t){void 0===t&&(t={});var r=Bt(t);return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var i in t)t[i]=Zt(i,t[i],r);return t},onChangeValue:function(t,n){return Zt(n,t,r)}}}var Kt={"background-size":!0,"background-position":!0,border:!0,"border-bottom":!0,"border-left":!0,"border-top":!0,"border-right":!0,"border-radius":!0,"border-image":!0,"border-width":!0,"border-style":!0,"border-color":!0,"box-shadow":!0,flex:!0,margin:!0,padding:!0,outline:!0,"transform-origin":!0,transform:!0,transition:!0},Qt={position:!0,size:!0},Xt={padding:{top:0,right:0,bottom:0,left:0},margin:{top:0,right:0,bottom:0,left:0},background:{attachment:null,color:null,image:null,position:null,repeat:null},border:{width:null,style:null,color:null},"border-top":{width:null,style:null,color:null},"border-right":{width:null,style:null,color:null},"border-bottom":{width:null,style:null,color:null},"border-left":{width:null,style:null,color:null},outline:{width:null,style:null,color:null},"list-style":{type:null,position:null,image:null},transition:{property:null,duration:null,"timing-function":null,timingFunction:null,delay:null},animation:{name:null,duration:null,"timing-function":null,timingFunction:null,delay:null,"iteration-count":null,iterationCount:null,direction:null,"fill-mode":null,fillMode:null,"play-state":null,playState:null},"box-shadow":{x:0,y:0,blur:0,spread:0,color:null,inset:null},"text-shadow":{x:0,y:0,blur:null,color:null}},Yt={border:{radius:"border-radius",image:"border-image",width:"border-width",style:"border-style",color:"border-color"},"border-bottom":{width:"border-bottom-width",style:"border-bottom-style",color:"border-bottom-color"},"border-top":{width:"border-top-width",style:"border-top-style",color:"border-top-color"},"border-left":{width:"border-left-width",style:"border-left-style",color:"border-left-color"},"border-right":{width:"border-right-width",style:"border-right-style",color:"border-right-color"},background:{size:"background-size",image:"background-image"},font:{style:"font-style",variant:"font-variant",weight:"font-weight",stretch:"font-stretch",size:"font-size",family:"font-family",lineHeight:"line-height","line-height":"line-height"},flex:{grow:"flex-grow",basis:"flex-basis",direction:"flex-direction",wrap:"flex-wrap",flow:"flex-flow",shrink:"flex-shrink"},align:{self:"align-self",items:"align-items",content:"align-content"},grid:{"template-columns":"grid-template-columns",templateColumns:"grid-template-columns","template-rows":"grid-template-rows",templateRows:"grid-template-rows","template-areas":"grid-template-areas",templateAreas:"grid-template-areas",template:"grid-template","auto-columns":"grid-auto-columns",autoColumns:"grid-auto-columns","auto-rows":"grid-auto-rows",autoRows:"grid-auto-rows","auto-flow":"grid-auto-flow",autoFlow:"grid-auto-flow",row:"grid-row",column:"grid-column","row-start":"grid-row-start",rowStart:"grid-row-start","row-end":"grid-row-end",rowEnd:"grid-row-end","column-start":"grid-column-start",columnStart:"grid-column-start","column-end":"grid-column-end",columnEnd:"grid-column-end",area:"grid-area",gap:"grid-gap","row-gap":"grid-row-gap",rowGap:"grid-row-gap","column-gap":"grid-column-gap",columnGap:"grid-column-gap"}};function _t(t,r,n,i){return null==n[r]?t:0===t.length?[]:Array.isArray(t[0])?_t(t[0],r,n,i):"object"==typeof t[0]?function(t,r,n){return t.map((function(t){return tr(t,r,n,!1,!0)}))}(t,r,i):[t]}function tr(t,r,n,i,e){if(!Xt[r]&&!Yt[r])return[];var o=[];if(Yt[r]&&(t=function(t,r,n,i){for(var e in n){var o=n[e];if(void 0!==t[e]&&(i||!r.prop(o))){var u,s=rr((u={},u[o]=t[e],u),r)[o];i?r.style.fallbacks[o]=s:r.style[o]=s}delete t[e]}return t}(t,n,Yt[r],i)),Object.keys(t).length)for(var u in Xt[r])t[u]?Array.isArray(t[u])?o.push(null===Qt[u]?t[u]:t[u].join(" ")):o.push(t[u]):null!=Xt[r][u]&&o.push(Xt[r][u]);return!o.length||e?o:[o]}function rr(t,r,n){for(var i in t){var e=t[i];if(Array.isArray(e)){if(!Array.isArray(e[0])){if("fallbacks"===i){for(var o=0;o<t.fallbacks.length;o++)t.fallbacks[o]=rr(t.fallbacks[o],r,!0);continue}t[i]=_t(e,i,Kt,r),t[i].length||delete t[i]}}else if("object"==typeof e){if("fallbacks"===i){t.fallbacks=rr(t.fallbacks,r,!0);continue}t[i]=tr(e,i,r,n),t[i].length||delete t[i]}else""===t[i]&&delete t[i]}return t}function nr(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=t[n];return i}var ir="",er="",or="",ur="",sr=n&&"ontouchstart"in document.documentElement;if(n){var ar={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},fr=document.createElement("p").style;for(var lr in ar)if(lr+"Transform"in fr){ir=lr,er=ar[lr];break}"Webkit"===ir&&"msHyphens"in fr&&(ir="ms",er=ar.ms,ur="edge"),"Webkit"===ir&&"-apple-trailing-word"in fr&&(or="apple")}var hr=ir,cr=er,dr=or,vr=ur,pr=sr,br={noPrefill:["appearance"],supportedProperty:function(t){return"appearance"===t&&("ms"===hr?"-webkit-"+t:cr+t)}},mr={noPrefill:["color-adjust"],supportedProperty:function(t){return"color-adjust"===t&&("Webkit"===hr?cr+"print-"+t:t)}},gr=/[-\s]+(.)?/g;function yr(t,r){return r?r.toUpperCase():""}function wr(t){return t.replace(gr,yr)}function xr(t){return wr("-"+t)}var kr,Sr={noPrefill:["mask"],supportedProperty:function(t,r){if(!/^mask/.test(t))return!1;if("Webkit"===hr){var n="mask-image";if(wr(n)in r)return t;if(hr+xr(n)in r)return cr+t}return t}},Pr={noPrefill:["text-orientation"],supportedProperty:function(t){return"text-orientation"===t&&("apple"!==dr||pr?t:cr+t)}},Cr={noPrefill:["transform"],supportedProperty:function(t,r,n){return"transform"===t&&(n.transform?t:cr+t)}},jr={noPrefill:["transition"],supportedProperty:function(t,r,n){return"transition"===t&&(n.transition?t:cr+t)}},Ar={noPrefill:["writing-mode"],supportedProperty:function(t){return"writing-mode"===t&&("Webkit"===hr||"ms"===hr&&"edge"!==vr?cr+t:t)}},Rr={noPrefill:["user-select"],supportedProperty:function(t){return"user-select"===t&&("Moz"===hr||"ms"===hr||"apple"===dr?cr+t:t)}},zr={supportedProperty:function(t,r){return!!/^break-/.test(t)&&("Webkit"===hr?"WebkitColumn"+xr(t)in r&&cr+"column-"+t:"Moz"===hr&&"page"+xr(t)in r&&"page-"+t)}},Or={supportedProperty:function(t,r){if(!/^(border|margin|padding)-inline/.test(t))return!1;if("Moz"===hr)return t;var n=t.replace("-inline","");return hr+xr(n)in r&&cr+n}},Wr={supportedProperty:function(t,r){return wr(t)in r&&t}},Mr={supportedProperty:function(t,r){var n=xr(t);return"-"===t[0]||"-"===t[0]&&"-"===t[1]?t:hr+n in r?cr+t:"Webkit"!==hr&&"Webkit"+n in r&&"-webkit-"+t}},Vr={supportedProperty:function(t){return"scroll-snap"===t.substring(0,11)&&("ms"===hr?""+cr+t:t)}},Ir={supportedProperty:function(t){return"overscroll-behavior"===t&&("ms"===hr?cr+"scroll-chaining":t)}},Er={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Nr={supportedProperty:function(t,r){var n=Er[t];return!!n&&hr+xr(n)in r&&cr+n}},$r={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Fr=Object.keys($r),Tr=function(t){return cr+t},Gr=[br,mr,Sr,Pr,Cr,jr,Ar,Rr,zr,Or,Wr,Mr,Vr,Ir,Nr,{supportedProperty:function(t,r,n){var i=n.multiple;if(Fr.indexOf(t)>-1){var e=$r[t];if(!Array.isArray(e))return hr+xr(e)in r&&cr+e;if(!i)return!1;for(var o=0;o<e.length;o++)if(!(hr+xr(e[0])in r))return!1;return e.map(Tr)}return!1}}],Ur=Gr.filter((function(t){return t.supportedProperty})).map((function(t){return t.supportedProperty})),qr=Gr.filter((function(t){return t.noPrefill})).reduce((function(t,r){return t.push.apply(t,function(t){if(Array.isArray(t))return nr(t)}(n=r.noPrefill)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t,r){if(t){if("string"==typeof t)return nr(t,r);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)?nr(t,r):void 0}}(n)||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.")}()),t;var n}),[]),Dr={};if(n){kr=document.createElement("p");var Hr=window.getComputedStyle(document.documentElement,"");for(var Br in Hr)isNaN(Br)||(Dr[Hr[Br]]=Hr[Br]);qr.forEach((function(t){return delete Dr[t]}))}function Lr(t,r){if(void 0===r&&(r={}),!kr)return t;if(null!=Dr[t])return Dr[t];"transition"!==t&&"transform"!==t||(r[t]=t in kr.style);for(var n=0;n<Ur.length&&(Dr[t]=Ur[n](t,kr.style,r),!Dr[t]);n++);try{kr.style[t]=""}catch(t){return!1}return Dr[t]}var Zr,Jr={},Kr={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Qr=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Xr(t,r,n){return"var"===r?"var":"all"===r?"all":"all"===n?", all":(r?Lr(r):", "+Lr(n))||r||n}function Yr(t,r){var n=r;if(!Zr||"content"===t)return r;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var i=t+n;if(null!=Jr[i])return Jr[i];try{Zr.style[t]=n}catch(t){return Jr[i]=!1,!1}if(Kr[t])n=n.replace(Qr,Xr);else if(""===Zr.style[t]&&("-ms-flex"===(n=cr+n)&&(Zr.style[t]="-ms-flexbox"),Zr.style[t]=n,""===Zr.style[t]))return Jr[i]=!1,!1;return Zr.style[t]="",Jr[i]=n,Jr[i]}function _r(){function t(r){for(var n in r){var i=r[n];if("fallbacks"===n&&Array.isArray(i))r[n]=i.map(t);else{var e=!1,o=Lr(n);o&&o!==n&&(e=!0);var u=!1,s=Yr(o,c(i));s&&s!==i&&(u=!0),(e||u)&&(e&&delete r[n],r[o||n]=s||i)}}return r}return{onProcessRule:function(t){"keyframes"===t.type&&(t.at=function(t){return"-"===t[1]||"ms"===hr?t:"@"+cr+"keyframes"+t.substr(10)}(t.at))},onProcessStyle:function(r,n){return"style"!==n.type?r:t(r)},onChangeValue:function(t,r){return Yr(r,c(t))||t}}}n&&(Zr=document.createElement("p"));var tn=function(r){return void 0===r&&(r={}),{plugins:[{onCreateRule:function(t,r,n){if("function"!=typeof r)return null;var i=l(t,{},n);return i[mt]=r,i},onProcessStyle:function(t,r){if(bt in r||mt in r)return t;var n={};for(var i in t){var e=t[i];"function"==typeof e&&(delete t[i],n[i]=e)}return r[bt]=n,t},onUpdate:function(t,r,n,i){var e=r,o=e[mt];o&&(e.style=o(t)||{});var u=e[bt];if(u)for(var s in u)e.prop(s,u[s](t),i)}},(i=r.observable,{onCreateRule:function(t,r,n){if(!yt(r))return null;var e=r,o=l(t,{},n);return e.subscribe((function(t){for(var r in t)o.prop(r,t[r],i)})),o},onProcessRule:function(t){if(!t||"style"===t.type){var r=t,n=r.style,e=function(t){var e=n[t];if(!yt(e))return"continue";delete n[t],e.subscribe({next:function(n){r.prop(t,n,i)}})};for(var o in n)e(o)}}}),{onProcessRule:xt},{onCreateRule:function(t,r,n){if(!t)return null;if(t===kt)return new St(t,r,n);if("@"===t[0]&&"@global "===t.substr(0,"@global ".length))return new Pt(t,r,n);var i=n.parent;return i&&("global"===i.type||i.options.parent&&"global"===i.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=t),null},onProcessRule:function(r,n){"style"===r.type&&n&&(function(r,n){var i=r.options,e=r.style,o=e?e[kt]:null;if(o){for(var u in o)n.addRule(u,o[u],t({},i,{selector:jt(u,r.selector)}));delete e[kt]}}(r,n),function(r,n){var i=r.options,e=r.style;for(var o in e)if("@"===o[0]&&o.substr(0,kt.length)===kt){var u=jt(o.substr(kt.length),r.selector);n.addRule(u,e[o],t({},i,{selector:u})),delete e[o]}}(r,n))}},{onProcessStyle:function(t,r,n){return"extend"in t?zt(t,r,n):t},onChangeValue:function(t,r,n){if("extend"!==r)return t;if(null==t||!1===t){for(var i in n[Rt])n.prop(i,null);return n[Rt]=null,null}if("object"==typeof t){for(var e in t)n.prop(e,t[e]);n[Rt]=t}return null}},Vt(),Et(),{onProcessStyle:function(t){if(Array.isArray(t)){for(var r=0;r<t.length;r++)t[r]=Ut(t[r]);return t}return Ut(t)},onChangeValue:function(t,r,n){if(0===r.indexOf("--"))return t;var i=Gt(r);return r===i?t:(n.prop(i,t),null)}},Jt(r.defaultUnit),{onProcessStyle:function(t,r){if(!t||"style"!==r.type)return t;if(Array.isArray(t)){for(var n=0;n<t.length;n++)t[n]=rr(t[n],r);return t}return rr(t,r)}},_r(),(n=function(t,r){return t.length===r.length?t>r?1:-1:t.length-r.length},{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var i={},e=Object.keys(t).sort(n),o=0;o<e.length;o++)i[e[o]]=t[e[o]];return i}})]};var n,i};const rn=dt(tn()),nn=(...t)=>rn.createStyleSheet(...t);export{tn as a,nn as c,vt as j}
@@ -1 +1 @@
1
- import{h as o}from"./p-64c3217a.js";import{c as r}from"./p-ab8f86d3.js";const s=r({p:{"font-size":"var(--sl-font-size-small)","font-weight":"400",color:"var(--sl-color-gray-800)",margin:"0"},subtext:{"font-size":"var(--sl-font-size-x-small)","font-weight":"400",color:"var(--sl-color-gray-600)",margin:"0"},h1:{"font-size":"var(--sl-font-size-xx-large)","font-weight":"600",color:"var(--sl-color-gray-800)",margin:"0"},h2:{"font-size":"var(--sl-font-size-x-large)","font-weight":"600",color:"var(--sl-color-gray-800)",margin:"0"},h3:{"font-size":"var(--sl-font-size-large)","font-weight":"600",color:"var(--sl-color-gray-800)",margin:"0"},h4:{"font-size":"13px","font-weight":"600",color:"var(--sl-color-gray-800)",margin:"0"}}),t=s.toString();function a(r,a){return o("span",{class:s.classes[r.type]},o("style",{type:"text/css"},"\n sqm-text-span {\n display: inline;\n }\n ",t),a)}export{a as T}
1
+ import{h as o}from"./p-64c3217a.js";import{c as r}from"./p-85e934c8.js";const s=r({p:{"font-size":"var(--sl-font-size-small)","font-weight":"400",color:"var(--sl-color-gray-800)",margin:"0"},subtext:{"font-size":"var(--sl-font-size-x-small)","font-weight":"400",color:"var(--sl-color-gray-600)",margin:"0"},h1:{"font-size":"var(--sl-font-size-xx-large)","font-weight":"600",color:"var(--sl-color-gray-800)",margin:"0"},h2:{"font-size":"var(--sl-font-size-x-large)","font-weight":"600",color:"var(--sl-color-gray-800)",margin:"0"},h3:{"font-size":"var(--sl-font-size-large)","font-weight":"600",color:"var(--sl-color-gray-800)",margin:"0"},h4:{"font-size":"13px","font-weight":"600",color:"var(--sl-color-gray-800)",margin:"0"}}),t=s.toString();function a(r,a){return o("span",{class:s.classes[r.type]},o("style",{type:"text/css"},"\n sqm-text-span {\n display: inline;\n }\n ",t),a)}export{a as T}
@@ -0,0 +1 @@
1
+ import{h as s,c as t,r as a}from"./p-64c3217a.js";import{j as o}from"./p-8b4c8f6c.js";import"./p-982fb67b.js";import{R as c}from"./p-7e014c96.js";import{g as e}from"./p-9c5f124f.js";const r=a=>{const{states:o,callbacks:c}=a,{styles:e}=o;return s(t,{class:"squatch-container"},s("div",{style:{padding:a.states.styles.padding}},e.closeButton&&s("span",{class:"close squatch-header-close","data-close-panel":"#squatch-panel",onClick:()=>c.closePopup()},e.closeButtonText),s("slot",null),e.poweredBy?s("a",{class:"sqh-attribution",href:"https://www.saasquatch.com/?utm_source=app&utm_medium=user-widget&utm_campaign=referral-widget",target:"_blank"},"Powered By"):""))},n=class{constructor(s){a(this,s),o(this)}disconnectedCallback(){}render(){const t=e(this);return s(r,Object.assign({},function(s){const t=c(),a=s.popupPadding?"none"===s.popupPadding?"0":`var(--sl-spacing-${s.popupPadding})`:"var(--sl-spacing-medium)",o=s.embedPadding?"none"===s.embedPadding?"0":`var(--sl-spacing-${s.embedPadding})`:"0",e="POPUP"===c()?a:o;return{states:{showCloseButton:s.closeButton&&"POPUP"===t,styles:{...s,padding:e,closeButtonText:s.closeButtonText?s.closeButtonText:"X"}},data:{},callbacks:{closePopup:function(){var s;"POPUP"===c()&&(null===(s=window.frameElement.squatchJsApi)||void 0===s||s.close())}}}}(t)))}};n.style=".squatch-header-close{position:absolute;right:20px;top:10px;cursor:pointer}.squatch-container{background-color:var(--widget-background-color);display:block}";export{n as sqm_popup_container}