@saasquatch/mint-components 1.5.0-49 → 1.5.0-52

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 (421) hide show
  1. package/dist/cjs/{AutoColor-a489ed67.js → AutoColor-db901e98.js} +101 -105
  2. package/dist/cjs/{GenericTableView-f9bd3b19.js → GenericTableView-34662639.js} +5 -6
  3. package/dist/cjs/{JSS-24a85193.js → JSS-c65a40f1.js} +39 -39
  4. package/dist/cjs/{global-32bf222f.js → global-08276663.js} +589 -589
  5. package/dist/cjs/{index-d8fa5d8e.js → index-b0129cd6.js} +104 -181
  6. package/dist/cjs/{index.module-0f10a4c4.js → index.module-54724339.js} +6392 -6392
  7. package/dist/cjs/loader.cjs.js +7 -7
  8. package/dist/cjs/{luxon-751f2e1c.js → luxon-59ca7d19.js} +2 -2
  9. package/dist/cjs/mint-components.cjs.js +9 -9
  10. package/dist/cjs/{sqm-asset-card-view-0764beab.js → sqm-asset-card-view-d9ac6a95.js} +2 -2
  11. package/dist/cjs/sqm-asset-card.cjs.entry.js +9 -9
  12. package/dist/cjs/{sqm-big-stat-view-37e341c1.js → sqm-big-stat-view-e5dc0877.js} +2 -2
  13. package/dist/cjs/sqm-big-stat.cjs.entry.js +9 -9
  14. package/dist/cjs/{sqm-brand_26.cjs.entry.js → sqm-brand_27.cjs.entry.js} +328 -251
  15. package/dist/cjs/sqm-form-message.cjs.entry.js +3 -3
  16. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +10 -10
  17. package/dist/cjs/{sqm-hero-view-6706134d.js → sqm-hero-view-a13795c0.js} +4 -4
  18. package/dist/cjs/sqm-hero.cjs.entry.js +7 -7
  19. package/dist/cjs/{sqm-leaderboard-rank-view-5e2bcad9.js → sqm-leaderboard-rank-view-35015d30.js} +1 -1
  20. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +14 -15
  21. package/dist/cjs/sqm-leaderboard.cjs.entry.js +9 -9
  22. package/dist/cjs/{sqm-name-fields-view-c684114f.js → sqm-name-fields-view-c95e4768.js} +10 -12
  23. package/dist/cjs/sqm-name-fields.cjs.entry.js +9 -9
  24. package/dist/cjs/{sqm-navigation-sidebar-item-view-7f69e118.js → sqm-navigation-sidebar-item-view-da648fbc.js} +4 -4
  25. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +11 -11
  26. package/dist/cjs/{sqm-navigation-sidebar-view-b53fad32.js → sqm-navigation-sidebar-view-36632c96.js} +2 -2
  27. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +5 -5
  28. package/dist/cjs/sqm-password-field.cjs.entry.js +26 -27
  29. package/dist/cjs/sqm-popup-container.cjs.entry.js +9 -9
  30. package/dist/cjs/{sqm-portal-container-view-a78ab7ca.js → sqm-portal-container-view-185b4bd0.js} +2 -2
  31. package/dist/cjs/{sqm-portal-email-verification-view-2a783b13.js → sqm-portal-email-verification-view-991a6739.js} +4 -4
  32. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +13 -13
  33. package/dist/cjs/{sqm-portal-footer-view-ff16e344.js → sqm-portal-footer-view-266e5a7d.js} +3 -3
  34. package/dist/cjs/sqm-portal-footer.cjs.entry.js +9 -9
  35. package/dist/cjs/{sqm-portal-forgot-password-view-036e5d76.js → sqm-portal-forgot-password-view-10c0b54f.js} +3 -3
  36. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +13 -13
  37. package/dist/cjs/sqm-portal-logout.cjs.entry.js +8 -8
  38. package/dist/cjs/{sqm-portal-profile-view-0c31ff46.js → sqm-portal-profile-view-fda5946f.js} +10 -13
  39. package/dist/cjs/sqm-portal-profile.cjs.entry.js +16 -16
  40. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +11 -11
  41. package/dist/cjs/{sqm-portal-reset-password-view-c2ca03ef.js → sqm-portal-reset-password-view-1fdc957e.js} +3 -3
  42. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +15 -15
  43. package/dist/cjs/{sqm-portal-section-view-073d9dda.js → sqm-portal-section-view-3b6c990e.js} +2 -2
  44. package/dist/cjs/{sqm-portal-verify-email-view-1fa62a17.js → sqm-portal-verify-email-view-4c78e231.js} +3 -3
  45. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +14 -14
  46. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +31 -31
  47. package/dist/cjs/sqm-refresh-button.cjs.entry.js +7 -7
  48. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +26 -27
  49. package/dist/cjs/sqm-route.cjs.entry.js +2 -2
  50. package/dist/cjs/{sqm-stat-container-view-fd6e8f8d.js → sqm-stat-container-view-5b2db929.js} +2 -18
  51. package/dist/cjs/sqm-stat-container.cjs.entry.js +6 -6
  52. package/dist/cjs/sqm-stencilbook.cjs.entry.js +642 -599
  53. package/dist/cjs/sqm-table-cell_3.cjs.entry.js +5 -5
  54. package/dist/cjs/{sqm-text-span-view-dd99633a.js → sqm-text-span-view-f101dedf.js} +2 -2
  55. package/dist/cjs/sqm-text-span.cjs.entry.js +5 -5
  56. package/dist/cjs/sqm-titled-section.cjs.entry.js +6 -6
  57. package/dist/{esm/stencil-hooks.module-1bcbec4f.js → cjs/stencil-hooks.module-87a1f4f7.js} +58 -40
  58. package/dist/cjs/{use-callback-867e51f6.js → use-callback-e754042f.js} +1 -1
  59. package/dist/cjs/{useChildElements-6f8aa7de.js → useChildElements-4bc9b219.js} +3 -3
  60. package/dist/cjs/{useDemoBigStat-1fa1ca6a.js → useDemoBigStat-42fa7a69.js} +5 -5
  61. package/dist/cjs/{useLeaderboard-b712d583.js → useLeaderboard-6110cd94.js} +5 -5
  62. package/dist/collection/collection-manifest.json +4 -3
  63. package/dist/collection/components/sqm-edit-profile/useEditProfile.js +3 -4
  64. package/dist/collection/components/sqm-image/Image.stories.js +25 -0
  65. package/dist/collection/components/sqm-image/sqm-image-view.js +32 -0
  66. package/dist/collection/components/sqm-image/sqm-image.js +137 -0
  67. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +1 -1
  68. package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +3 -4
  69. package/dist/collection/components/sqm-media/HeroImage.stories.js +37 -0
  70. package/dist/collection/components/sqm-media/{sqm-media-view.js → sqm-hero-image-view.js} +26 -18
  71. package/dist/collection/components/sqm-media/{sqm-media.js → sqm-hero-image.js} +77 -38
  72. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +8 -10
  73. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +4 -5
  74. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +5 -8
  75. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +10 -12
  76. package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +1 -1
  77. package/dist/collection/components/sqm-referral-card/sqm-timeline-entry.js +47 -16
  78. package/dist/collection/components/sqm-referral-card/sqm-timeline.js +21 -16
  79. package/dist/collection/components/sqm-referral-table/UseReferralTable.stories.js +0 -2
  80. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -2
  81. package/dist/collection/components/sqm-refresh-button/sqm-refresh-button.js +1 -3
  82. package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +0 -3
  83. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +1 -2
  84. package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +0 -2
  85. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +0 -1
  86. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table-view.js +3 -4
  87. package/dist/collection/components/sqm-share-button/useShareButton.js +1 -2
  88. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +0 -16
  89. package/dist/collection/components/sqm-stencilbook/AutoColor.js +1 -1
  90. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -2
  91. package/dist/collection/components/sqm-task-card/TaskCard.stories.js +2 -2
  92. package/dist/collection/tables/GenericTableView.js +3 -4
  93. package/dist/esm/{AutoColor-9281c94b.js → AutoColor-5d891803.js} +101 -105
  94. package/dist/esm/{GenericTableView-e4257466.js → GenericTableView-5de898c3.js} +5 -6
  95. package/dist/esm/{JSS-df9ea8a0.js → JSS-96eeab98.js} +39 -39
  96. package/dist/esm/{global-cc738e38.js → global-6bd9287e.js} +589 -589
  97. package/dist/esm/{index-2c5a6587.js → index-17b4da69.js} +104 -181
  98. package/dist/esm/{index.module-983975d9.js → index.module-ec3dcc82.js} +6374 -6374
  99. package/dist/esm/loader.js +7 -7
  100. package/dist/esm/{luxon-afa282c2.js → luxon-5fa22651.js} +2 -2
  101. package/dist/esm/mint-components.js +9 -9
  102. package/dist/esm/{sqm-asset-card-view-809b35ce.js → sqm-asset-card-view-f9ca5345.js} +2 -2
  103. package/dist/esm/sqm-asset-card.entry.js +9 -9
  104. package/dist/esm/{sqm-big-stat-view-3adf4ef2.js → sqm-big-stat-view-309f7c1f.js} +2 -2
  105. package/dist/esm/sqm-big-stat.entry.js +9 -9
  106. package/dist/esm/{sqm-brand_26.entry.js → sqm-brand_27.entry.js} +327 -251
  107. package/dist/esm/sqm-form-message.entry.js +3 -3
  108. package/dist/esm/sqm-graphql-client-provider.entry.js +10 -10
  109. package/dist/esm/{sqm-hero-view-b30e42f0.js → sqm-hero-view-190bc812.js} +4 -4
  110. package/dist/esm/sqm-hero.entry.js +7 -7
  111. package/dist/esm/{sqm-leaderboard-rank-view-91a35c42.js → sqm-leaderboard-rank-view-da91f5f3.js} +1 -1
  112. package/dist/esm/sqm-leaderboard-rank.entry.js +14 -15
  113. package/dist/esm/sqm-leaderboard.entry.js +9 -9
  114. package/dist/esm/{sqm-name-fields-view-77895fa8.js → sqm-name-fields-view-69b1583f.js} +10 -12
  115. package/dist/esm/sqm-name-fields.entry.js +9 -9
  116. package/dist/esm/{sqm-navigation-sidebar-item-view-3c21b3ee.js → sqm-navigation-sidebar-item-view-a6f7f96c.js} +4 -4
  117. package/dist/esm/sqm-navigation-sidebar-item.entry.js +11 -11
  118. package/dist/esm/{sqm-navigation-sidebar-view-1c50483e.js → sqm-navigation-sidebar-view-816558e3.js} +2 -2
  119. package/dist/esm/sqm-navigation-sidebar.entry.js +5 -5
  120. package/dist/esm/sqm-password-field.entry.js +26 -27
  121. package/dist/esm/sqm-popup-container.entry.js +9 -9
  122. package/dist/esm/{sqm-portal-container-view-72c8b457.js → sqm-portal-container-view-cf79ed90.js} +2 -2
  123. package/dist/esm/{sqm-portal-email-verification-view-7685db9c.js → sqm-portal-email-verification-view-96c1f91b.js} +4 -4
  124. package/dist/esm/sqm-portal-email-verification.entry.js +13 -13
  125. package/dist/esm/{sqm-portal-footer-view-b344a6ad.js → sqm-portal-footer-view-3a7dfbfc.js} +3 -3
  126. package/dist/esm/sqm-portal-footer.entry.js +9 -9
  127. package/dist/esm/{sqm-portal-forgot-password-view-f7f24742.js → sqm-portal-forgot-password-view-fa088f83.js} +3 -3
  128. package/dist/esm/sqm-portal-forgot-password.entry.js +13 -13
  129. package/dist/esm/sqm-portal-logout.entry.js +8 -8
  130. package/dist/esm/{sqm-portal-profile-view-3da23184.js → sqm-portal-profile-view-36488558.js} +10 -13
  131. package/dist/esm/sqm-portal-profile.entry.js +16 -16
  132. package/dist/esm/sqm-portal-protected-route.entry.js +11 -11
  133. package/dist/esm/{sqm-portal-reset-password-view-f3017d72.js → sqm-portal-reset-password-view-73e14282.js} +3 -3
  134. package/dist/esm/sqm-portal-reset-password.entry.js +15 -15
  135. package/dist/esm/{sqm-portal-section-view-5a3d3829.js → sqm-portal-section-view-d3098f7f.js} +2 -2
  136. package/dist/esm/{sqm-portal-verify-email-view-329fdc3b.js → sqm-portal-verify-email-view-cbf1cfdc.js} +3 -3
  137. package/dist/esm/sqm-portal-verify-email.entry.js +14 -14
  138. package/dist/esm/sqm-referral-table_11.entry.js +31 -31
  139. package/dist/esm/sqm-refresh-button.entry.js +7 -7
  140. package/dist/esm/sqm-rewards-table_9.entry.js +26 -27
  141. package/dist/esm/sqm-route.entry.js +2 -2
  142. package/dist/esm/{sqm-stat-container-view-02b82222.js → sqm-stat-container-view-8a565c5a.js} +2 -18
  143. package/dist/esm/sqm-stat-container.entry.js +6 -6
  144. package/dist/esm/sqm-stencilbook.entry.js +642 -599
  145. package/dist/esm/sqm-table-cell_3.entry.js +5 -5
  146. package/dist/esm/{sqm-text-span-view-be532a94.js → sqm-text-span-view-7e61c95c.js} +2 -2
  147. package/dist/esm/sqm-text-span.entry.js +5 -5
  148. package/dist/esm/sqm-titled-section.entry.js +6 -6
  149. package/dist/{cjs/stencil-hooks.module-23a5a83a.js → esm/stencil-hooks.module-2f159754.js} +40 -58
  150. package/dist/esm/{use-callback-cfeaefe1.js → use-callback-d8ef4b5d.js} +1 -1
  151. package/dist/esm/{useChildElements-9936fb9a.js → useChildElements-c11d6189.js} +3 -3
  152. package/dist/esm/{useDemoBigStat-5450ce4c.js → useDemoBigStat-e2295035.js} +5 -5
  153. package/dist/esm/{useLeaderboard-c0017437.js → useLeaderboard-5d875f53.js} +5 -5
  154. package/dist/esm-es5/AutoColor-5d891803.js +1 -0
  155. package/dist/esm-es5/{GenericTableView-e4257466.js → GenericTableView-5de898c3.js} +1 -1
  156. package/dist/esm-es5/JSS-96eeab98.js +8 -0
  157. package/dist/esm-es5/global-6bd9287e.js +285 -0
  158. package/dist/esm-es5/index-17b4da69.js +1 -0
  159. package/dist/esm-es5/index.module-ec3dcc82.js +1 -0
  160. package/dist/esm-es5/loader.js +1 -1
  161. package/dist/esm-es5/{luxon-afa282c2.js → luxon-5fa22651.js} +1 -1
  162. package/dist/esm-es5/mint-components.js +1 -1
  163. package/dist/esm-es5/{sqm-asset-card-view-809b35ce.js → sqm-asset-card-view-f9ca5345.js} +1 -1
  164. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  165. package/dist/esm-es5/{sqm-big-stat-view-3adf4ef2.js → sqm-big-stat-view-309f7c1f.js} +1 -1
  166. package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
  167. package/dist/esm-es5/sqm-brand_27.entry.js +1 -0
  168. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  169. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  170. package/dist/esm-es5/{sqm-hero-view-b30e42f0.js → sqm-hero-view-190bc812.js} +1 -1
  171. package/dist/esm-es5/sqm-hero.entry.js +1 -1
  172. package/dist/esm-es5/sqm-leaderboard-rank-view-da91f5f3.js +1 -0
  173. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  174. package/dist/esm-es5/sqm-leaderboard.entry.js +1 -1
  175. package/dist/esm-es5/{sqm-name-fields-view-77895fa8.js → sqm-name-fields-view-69b1583f.js} +1 -1
  176. package/dist/esm-es5/sqm-name-fields.entry.js +1 -1
  177. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-3c21b3ee.js → sqm-navigation-sidebar-item-view-a6f7f96c.js} +1 -1
  178. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  179. package/dist/esm-es5/{sqm-navigation-sidebar-view-1c50483e.js → sqm-navigation-sidebar-view-816558e3.js} +1 -1
  180. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  181. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  182. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  183. package/dist/esm-es5/{sqm-portal-container-view-72c8b457.js → sqm-portal-container-view-cf79ed90.js} +1 -1
  184. package/dist/esm-es5/{sqm-portal-email-verification-view-7685db9c.js → sqm-portal-email-verification-view-96c1f91b.js} +1 -1
  185. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  186. package/dist/esm-es5/{sqm-portal-footer-view-b344a6ad.js → sqm-portal-footer-view-3a7dfbfc.js} +1 -1
  187. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  188. package/dist/esm-es5/{sqm-portal-forgot-password-view-f7f24742.js → sqm-portal-forgot-password-view-fa088f83.js} +1 -1
  189. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  190. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  191. package/dist/esm-es5/{sqm-portal-profile-view-3da23184.js → sqm-portal-profile-view-36488558.js} +1 -1
  192. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  193. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  194. package/dist/esm-es5/{sqm-portal-reset-password-view-f3017d72.js → sqm-portal-reset-password-view-73e14282.js} +1 -1
  195. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  196. package/dist/esm-es5/{sqm-portal-section-view-5a3d3829.js → sqm-portal-section-view-d3098f7f.js} +1 -1
  197. package/dist/esm-es5/{sqm-portal-verify-email-view-329fdc3b.js → sqm-portal-verify-email-view-cbf1cfdc.js} +1 -1
  198. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  199. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  200. package/dist/esm-es5/sqm-refresh-button.entry.js +1 -1
  201. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  202. package/dist/esm-es5/sqm-route.entry.js +1 -1
  203. package/dist/esm-es5/{sqm-stat-container-view-02b82222.js → sqm-stat-container-view-8a565c5a.js} +1 -1
  204. package/dist/esm-es5/sqm-stat-container.entry.js +1 -1
  205. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  206. package/dist/esm-es5/sqm-table-cell_3.entry.js +1 -1
  207. package/dist/esm-es5/{sqm-text-span-view-be532a94.js → sqm-text-span-view-7e61c95c.js} +1 -1
  208. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  209. package/dist/esm-es5/sqm-titled-section.entry.js +1 -1
  210. package/dist/esm-es5/stencil-hooks.module-2f159754.js +53 -0
  211. package/dist/esm-es5/use-callback-d8ef4b5d.js +1 -0
  212. package/dist/esm-es5/useChildElements-c11d6189.js +1 -0
  213. package/dist/esm-es5/useDemoBigStat-e2295035.js +1 -0
  214. package/dist/esm-es5/useLeaderboard-5d875f53.js +1 -0
  215. package/dist/loader/index.d.ts +1 -0
  216. package/dist/mint-components/mint-components.esm.js +1 -1
  217. package/dist/mint-components/mint-components.js +1 -1
  218. package/dist/mint-components/{p-09357f10.system.entry.js → p-01748c80.system.entry.js} +1 -1
  219. package/dist/mint-components/p-023dcaee.js +1 -0
  220. package/dist/mint-components/{p-64d2bfb1.system.entry.js → p-067cf6da.system.entry.js} +1 -1
  221. package/dist/mint-components/p-0c19f830.entry.js +1 -0
  222. package/dist/mint-components/{p-0e97beb3.js → p-0e7e10b6.js} +1 -1
  223. package/dist/mint-components/p-1288be55.entry.js +1 -0
  224. package/dist/mint-components/{p-c4cedfef.system.entry.js → p-136e2028.system.entry.js} +1 -1
  225. package/dist/mint-components/{p-b138c9e4.system.js → p-16effd39.system.js} +1 -1
  226. package/dist/mint-components/{p-740a45df.js → p-179988b5.js} +1 -1
  227. package/dist/mint-components/{p-38045cb3.system.js → p-1959da16.system.js} +1 -1
  228. package/dist/mint-components/{p-408f48ec.system.entry.js → p-197d1027.system.entry.js} +1 -1
  229. package/dist/mint-components/{p-6e2e549a.js → p-1d1e9197.js} +1 -1
  230. package/dist/mint-components/p-204fd08c.js +1 -0
  231. package/dist/mint-components/p-220181cd.system.entry.js +1 -0
  232. package/dist/mint-components/p-232db563.system.entry.js +1 -0
  233. package/dist/mint-components/{p-ef4e8230.system.entry.js → p-2454f30a.system.entry.js} +1 -1
  234. package/dist/mint-components/p-24724b6b.entry.js +13 -0
  235. package/dist/mint-components/p-27e04aaf.entry.js +1 -0
  236. package/dist/mint-components/{p-96103ab1.system.js → p-2c49c7a8.system.js} +1 -1
  237. package/dist/mint-components/p-348461ec.system.entry.js +1 -0
  238. package/dist/mint-components/{p-747dc08d.js → p-373fa002.js} +1 -1
  239. package/dist/mint-components/p-3b184c32.js +1 -0
  240. package/dist/mint-components/{p-1ef9bc8f.system.js → p-3bbb90a9.system.js} +1 -1
  241. package/dist/mint-components/{p-4c5581b9.js → p-3dc2850c.js} +1 -1
  242. package/dist/mint-components/{p-e52d6c0f.js → p-3e556042.js} +1 -1
  243. package/dist/mint-components/{p-65d669e7.system.entry.js → p-4275c957.system.entry.js} +1 -1
  244. package/dist/mint-components/{p-c5d104d8.system.js → p-4279da4b.system.js} +1 -1
  245. package/dist/mint-components/{p-fc103049.system.js → p-443c133e.system.js} +1 -1
  246. package/dist/mint-components/p-48abcb89.entry.js +86 -0
  247. package/dist/mint-components/p-49c9ff69.entry.js +1 -0
  248. package/dist/mint-components/{p-eba0f8b5.js → p-4a1b7d35.js} +1 -1
  249. package/dist/mint-components/p-4c21835b.entry.js +1 -0
  250. package/dist/mint-components/p-4e0b9201.system.js +1 -0
  251. package/dist/mint-components/{p-159a0455.system.entry.js → p-4e8e99bc.system.entry.js} +1 -1
  252. package/dist/mint-components/{p-79b96b7c.js → p-509e6dc9.js} +4 -4
  253. package/dist/mint-components/p-5289072a.js +1 -0
  254. package/dist/mint-components/p-54986541.entry.js +1 -0
  255. package/dist/mint-components/{p-754c90b6.js → p-54e855a1.js} +1 -1
  256. package/dist/mint-components/{p-6d1fd7ef.js → p-591de129.js} +1 -1
  257. package/dist/mint-components/{p-2cf031e5.js → p-5c75acad.js} +1 -1
  258. package/dist/mint-components/{p-feb4ccf1.system.js → p-5df1d9ae.system.js} +1 -1
  259. package/dist/mint-components/{p-b094bf1f.system.entry.js → p-5e2b006a.system.entry.js} +1 -1
  260. package/dist/mint-components/{p-39ba54b0.js → p-61a542ec.js} +1 -1
  261. package/dist/mint-components/p-62625e22.entry.js +1 -0
  262. package/dist/mint-components/p-62e49806.system.entry.js +1 -0
  263. package/dist/mint-components/p-639d3dd3.entry.js +1 -0
  264. package/dist/mint-components/p-63a6475a.system.entry.js +1 -0
  265. package/dist/mint-components/{p-73246c5e.js → p-64c3217a.js} +1 -1
  266. package/dist/mint-components/{p-feea807c.system.js → p-6b43e4cc.system.js} +1 -1
  267. package/dist/mint-components/{p-a6940c14.system.entry.js → p-6e70be1c.system.entry.js} +1 -1
  268. package/dist/mint-components/p-6f88ea09.system.js +1 -0
  269. package/dist/mint-components/p-72a978c8.entry.js +1 -0
  270. package/dist/mint-components/{p-637a01d0.system.js → p-72c87c04.system.js} +1 -1
  271. package/dist/mint-components/{p-071fdcfa.js → p-73d5306f.js} +1 -1
  272. package/dist/mint-components/p-76325d9c.system.entry.js +1 -0
  273. package/dist/mint-components/{p-80eb9f8a.js → p-7a1ebc00.js} +15 -15
  274. package/dist/mint-components/{p-720d9f1a.system.entry.js → p-81681ebd.system.entry.js} +1 -1
  275. package/dist/mint-components/p-871536c7.entry.js +1 -0
  276. package/dist/mint-components/{p-9fa1fb4e.system.js → p-8bcaafaf.system.js} +1 -1
  277. package/dist/mint-components/{p-a6a9d6b7.system.entry.js → p-91ab2b0d.system.entry.js} +1 -1
  278. package/dist/mint-components/{p-efb82cfc.system.js → p-91d119ad.system.js} +1 -1
  279. package/dist/mint-components/p-9580888c.system.js +53 -0
  280. package/dist/mint-components/p-96c971fa.entry.js +1 -0
  281. package/dist/mint-components/p-97f843f9.system.entry.js +1 -0
  282. package/dist/mint-components/p-98393bf0.entry.js +1 -0
  283. package/dist/mint-components/{p-e46a4dc4.js → p-9b48d01e.js} +1 -1
  284. package/dist/mint-components/p-9f215c7f.entry.js +161 -0
  285. package/dist/mint-components/p-9f65904f.entry.js +1 -0
  286. package/dist/mint-components/{p-5cc0dc12.system.js → p-a09e3176.system.js} +1 -1
  287. package/dist/mint-components/p-a674c833.system.entry.js +1 -0
  288. package/dist/mint-components/p-ac5f63b1.entry.js +33 -0
  289. package/dist/mint-components/p-ac65007d.js +1 -0
  290. package/dist/mint-components/p-af5673c4.entry.js +1 -0
  291. package/dist/mint-components/p-b0c32d15.system.js +1 -0
  292. package/dist/mint-components/p-b0d6a380.system.js +1 -0
  293. package/dist/mint-components/p-b0e8c584.system.entry.js +1 -0
  294. package/dist/mint-components/p-b3201e4c.entry.js +1 -0
  295. package/dist/mint-components/p-b3735eaf.entry.js +9 -0
  296. package/dist/mint-components/p-b3af1c6f.js +1 -0
  297. package/dist/mint-components/p-b69365f5.entry.js +1 -0
  298. package/dist/mint-components/p-b77bb179.system.js +285 -0
  299. package/dist/mint-components/p-b7da9a8a.js +42 -0
  300. package/dist/mint-components/{p-e29935f9.system.js → p-b8434fc0.system.js} +1 -1
  301. package/dist/mint-components/p-b9974b87.entry.js +1 -0
  302. package/dist/mint-components/{p-86372145.system.entry.js → p-ba41fde8.system.entry.js} +1 -1
  303. package/dist/mint-components/{p-80493415.system.entry.js → p-bd0475a2.system.entry.js} +1 -1
  304. package/dist/mint-components/{p-0ef64931.system.js → p-bf055b6c.system.js} +1 -1
  305. package/dist/mint-components/{p-1b2b1ba2.js → p-c157f510.js} +3 -3
  306. package/dist/mint-components/{p-16db729c.system.entry.js → p-c1a47137.system.entry.js} +1 -1
  307. package/dist/mint-components/{p-1ca5b819.js → p-c2e84199.js} +1 -1
  308. package/dist/mint-components/p-cb93f2c8.entry.js +1 -0
  309. package/dist/mint-components/p-cd4037d1.entry.js +1 -0
  310. package/dist/mint-components/{p-d8e97fb7.system.js → p-ce0ec1c4.system.js} +1 -1
  311. package/dist/mint-components/p-d10efde1.system.js +1 -0
  312. package/dist/mint-components/p-d1520098.js +1 -0
  313. package/dist/mint-components/p-d312db42.entry.js +1 -0
  314. package/dist/mint-components/{p-d27c4eb5.js → p-d33eb961.js} +1 -1
  315. package/dist/mint-components/{p-5c4dec0c.system.entry.js → p-d6ef4765.system.entry.js} +1 -1
  316. package/dist/mint-components/p-dc17de12.entry.js +119 -0
  317. package/dist/mint-components/p-dcff1a85.entry.js +1 -0
  318. package/dist/mint-components/{p-6d6791b6.system.js → p-df466813.system.js} +1 -1
  319. package/dist/mint-components/{p-b81b4ebf.system.js → p-e00e11b1.system.js} +1 -1
  320. package/dist/mint-components/{p-35a8858e.system.js → p-e0be39d0.system.js} +1 -1
  321. package/dist/mint-components/{p-83e18382.system.entry.js → p-e1166d9b.system.entry.js} +1 -1
  322. package/dist/mint-components/{p-6353bf11.entry.js → p-e7b20665.entry.js} +1 -1
  323. package/dist/mint-components/{p-bb2bc191.system.js → p-ea110693.system.js} +1 -1
  324. package/dist/mint-components/p-ea197664.js +1 -0
  325. package/dist/mint-components/p-eb23e1b9.system.entry.js +1 -0
  326. package/dist/mint-components/{p-8c5bf8ee.system.js → p-eba2e455.system.js} +1 -1
  327. package/dist/mint-components/p-ef99c411.system.entry.js +1 -0
  328. package/dist/mint-components/p-f143117c.entry.js +1 -0
  329. package/dist/mint-components/p-f241ee8a.system.entry.js +1 -0
  330. package/dist/mint-components/p-f372c8d8.entry.js +1 -0
  331. package/dist/mint-components/p-f5cba1f7.system.entry.js +1 -0
  332. package/dist/mint-components/{p-82a02b17.system.js → p-f8d95abc.system.js} +1 -1
  333. package/dist/mint-components/{p-af859f26.js → p-f9008f86.js} +153 -153
  334. package/dist/mint-components/{p-4479f753.system.entry.js → p-fb8a587b.system.entry.js} +1 -1
  335. package/dist/mint-components/p-fe4d9531.system.js +1 -0
  336. package/dist/mint-components/p-ff17b3a4.system.js +1 -0
  337. package/dist/types/components/sqm-image/Image.stories.d.ts +11 -0
  338. package/dist/types/components/sqm-image/sqm-image-view.d.ts +8 -0
  339. package/dist/types/components/sqm-image/sqm-image.d.ts +31 -0
  340. package/dist/types/components/sqm-media/HeroImage.stories.d.ts +15 -0
  341. package/dist/types/components/sqm-media/{sqm-media-view.d.ts → sqm-hero-image-view.d.ts} +6 -3
  342. package/dist/types/components/sqm-media/{sqm-media.d.ts → sqm-hero-image.d.ts} +16 -9
  343. package/dist/types/components/sqm-referral-card/sqm-timeline-entry.d.ts +4 -0
  344. package/dist/types/components.d.ts +215 -138
  345. package/dist/types/stencil-public-runtime.d.ts +182 -190
  346. package/grapesjs/grapesjs.js +1 -1
  347. package/package.json +1 -1
  348. package/dist/collection/components/sqm-media/Media.stories.js +0 -28
  349. package/dist/esm-es5/AutoColor-9281c94b.js +0 -1
  350. package/dist/esm-es5/JSS-df9ea8a0.js +0 -8
  351. package/dist/esm-es5/global-cc738e38.js +0 -285
  352. package/dist/esm-es5/index-2c5a6587.js +0 -1
  353. package/dist/esm-es5/index.module-983975d9.js +0 -1
  354. package/dist/esm-es5/sqm-brand_26.entry.js +0 -1
  355. package/dist/esm-es5/sqm-leaderboard-rank-view-91a35c42.js +0 -1
  356. package/dist/esm-es5/stencil-hooks.module-1bcbec4f.js +0 -53
  357. package/dist/esm-es5/use-callback-cfeaefe1.js +0 -1
  358. package/dist/esm-es5/useChildElements-9936fb9a.js +0 -1
  359. package/dist/esm-es5/useDemoBigStat-5450ce4c.js +0 -1
  360. package/dist/esm-es5/useLeaderboard-c0017437.js +0 -1
  361. package/dist/mint-components/p-00894968.system.js +0 -1
  362. package/dist/mint-components/p-0449904d.system.entry.js +0 -1
  363. package/dist/mint-components/p-050bd4c1.entry.js +0 -1
  364. package/dist/mint-components/p-073c0485.system.js +0 -1
  365. package/dist/mint-components/p-09ae771c.system.entry.js +0 -1
  366. package/dist/mint-components/p-12557b30.js +0 -1
  367. package/dist/mint-components/p-15932a6d.entry.js +0 -1
  368. package/dist/mint-components/p-18e9e739.system.entry.js +0 -1
  369. package/dist/mint-components/p-1c0fac18.system.js +0 -1
  370. package/dist/mint-components/p-2012b3eb.entry.js +0 -1
  371. package/dist/mint-components/p-21bf87e9.system.js +0 -1
  372. package/dist/mint-components/p-2673d322.entry.js +0 -1
  373. package/dist/mint-components/p-32ec3994.entry.js +0 -161
  374. package/dist/mint-components/p-33bd2ff9.entry.js +0 -1
  375. package/dist/mint-components/p-3beda015.js +0 -1
  376. package/dist/mint-components/p-40849586.entry.js +0 -1
  377. package/dist/mint-components/p-40b91bd2.entry.js +0 -1
  378. package/dist/mint-components/p-40d9f8f3.entry.js +0 -1
  379. package/dist/mint-components/p-425ea70b.entry.js +0 -1
  380. package/dist/mint-components/p-46adc2cf.system.entry.js +0 -1
  381. package/dist/mint-components/p-4ac07db9.system.js +0 -1
  382. package/dist/mint-components/p-673d1d37.system.entry.js +0 -1
  383. package/dist/mint-components/p-6f2ab381.system.entry.js +0 -1
  384. package/dist/mint-components/p-71775f38.entry.js +0 -1
  385. package/dist/mint-components/p-746fa1fa.entry.js +0 -1
  386. package/dist/mint-components/p-77bf2413.entry.js +0 -1
  387. package/dist/mint-components/p-79339d1d.entry.js +0 -33
  388. package/dist/mint-components/p-7a24a7a4.system.entry.js +0 -1
  389. package/dist/mint-components/p-860513de.system.js +0 -53
  390. package/dist/mint-components/p-8873b8b0.system.entry.js +0 -1
  391. package/dist/mint-components/p-8b5f9502.system.entry.js +0 -1
  392. package/dist/mint-components/p-8f900354.system.entry.js +0 -1
  393. package/dist/mint-components/p-95b5aa14.system.js +0 -1
  394. package/dist/mint-components/p-a2c12d31.system.entry.js +0 -1
  395. package/dist/mint-components/p-a716fa21.entry.js +0 -1
  396. package/dist/mint-components/p-aa926a92.entry.js +0 -86
  397. package/dist/mint-components/p-adabc223.js +0 -1
  398. package/dist/mint-components/p-ae9a75d7.entry.js +0 -1
  399. package/dist/mint-components/p-aeaf1171.js +0 -1
  400. package/dist/mint-components/p-af8a82a5.entry.js +0 -1
  401. package/dist/mint-components/p-b094b800.js +0 -1
  402. package/dist/mint-components/p-c1509151.system.entry.js +0 -1
  403. package/dist/mint-components/p-c154b16e.system.entry.js +0 -1
  404. package/dist/mint-components/p-c164d3fe.js +0 -1
  405. package/dist/mint-components/p-c358211f.js +0 -1
  406. package/dist/mint-components/p-c824c2e5.system.js +0 -285
  407. package/dist/mint-components/p-ce5a08d0.entry.js +0 -119
  408. package/dist/mint-components/p-cfe598c1.js +0 -1
  409. package/dist/mint-components/p-cfe65695.entry.js +0 -1
  410. package/dist/mint-components/p-d2a2c424.js +0 -56
  411. package/dist/mint-components/p-d4c1b8e9.entry.js +0 -1
  412. package/dist/mint-components/p-d9bf4d77.entry.js +0 -1
  413. package/dist/mint-components/p-e341556f.entry.js +0 -13
  414. package/dist/mint-components/p-e551074e.system.js +0 -1
  415. package/dist/mint-components/p-e9a8a8f3.entry.js +0 -9
  416. package/dist/mint-components/p-eb3ce654.entry.js +0 -1
  417. package/dist/mint-components/p-eb4f3c85.entry.js +0 -1
  418. package/dist/mint-components/p-f0c38e7a.entry.js +0 -1
  419. package/dist/mint-components/p-f17cd500.entry.js +0 -1
  420. package/dist/mint-components/p-f39b5f6b.entry.js +0 -1
  421. package/dist/types/components/sqm-media/Media.stories.d.ts +0 -12
@@ -1 +0,0 @@
1
- var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,r){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:r})}else{e.raw=r}return e};var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var a in r)if(Object.prototype.hasOwnProperty.call(r,a))e[a]=r[a]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,r,t,n){function a(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,s){function i(e){try{l(n.next(e))}catch(e){s(e)}}function o(e){try{l(n["throw"](e))}catch(e){s(e)}}function l(e){e.done?t(e.value):a(e.value).then(i,o)}l((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,i;return i={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(e){return function(r){return l([e,r])}}function l(i){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,a&&(s=i[0]&2?a["return"]:i[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,i[1])).done)return s;if(a=0,s)i=[i[0]&2,s.value];switch(i[0]){case 0:case 1:s=i;break;case 4:t.label++;return{value:i[1],done:false};case 5:t.label++;a=i[1];i=[0];continue;case 7:i=t.ops.pop();t.trys.pop();continue;default:if(!(s=t.trys,s=s.length>0&&s[s.length-1])&&(i[0]===6||i[0]===2)){t=0;continue}if(i[0]===3&&(!s||i[1]>s[0]&&i[1]<s[3])){t.label=i[1];break}if(i[0]===6&&t.label<s[1]){t.label=s[1];s=i;break}if(s&&t.label<s[2]){t.label=s[2];t.ops.push(i);break}if(s[2])t.ops.pop();t.trys.pop();continue}i=r.call(e,t)}catch(e){i=[6,e];a=0}finally{n=s=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r){for(var t=0,n=r.length,a=e.length;t<n;t++,a++)e[a]=r[t];return e};System.register(["./p-95b5aa14.system.js","./p-860513de.system.js","./p-21bf87e9.system.js","./p-bb2bc191.system.js","./p-073c0485.system.js","./p-00894968.system.js","./p-0ef64931.system.js","./p-1c0fac18.system.js","./p-1ef9bc8f.system.js","./p-5cc0dc12.system.js","./p-e551074e.system.js","./p-8c5bf8ee.system.js","./p-35a8858e.system.js","./p-e29935f9.system.js","./p-fc103049.system.js","./p-38045cb3.system.js","./p-b138c9e4.system.js","./p-d8e97fb7.system.js","./p-feea807c.system.js","./p-efb82cfc.system.js","./p-feb4ccf1.system.js","./p-6d6791b6.system.js","./p-96103ab1.system.js","./p-82a02b17.system.js","./p-c5d104d8.system.js","./p-126bcba1.system.js","./p-9fa1fb4e.system.js","./p-c824c2e5.system.js","./p-61d769e2.system.js","./p-c3f300e8.system.js","./p-1c17892a.system.js","./p-b81b4ebf.system.js","./p-4bd679a7.system.js"],(function(e){"use strict";var r,t,n,a,s,i,o,l,u,d,c,m,p,g,f,h,b,v,x,w,y,E,D,_,q,C,A,k,R,T,P,I,N,F,S,L,B,O,j,V,M,G,z,H,U,W,$,J,X,Y,Z,K,Q,ee,re;return{setters:[function(e){r=e.h;t=e.r;n=e.c},function(e){a=e.a;s=e.i;i=e.k;o=e.u;l=e.c;u=e.m},function(e){d=e.S;c=e.a;m=e.P;p=e.E;g=e.u;f=e.b;h=e.c;b=e.d;v=e.e;x=e.T;w=e.f;y=e.R;E=e.g;D=e.C;_=e.h},function(e){q=e.B},function(e){C=e.L;A=e.u;k=e.S},function(e){R=e.c;T=e.l;P=e.e;I=e.d;N=e._;F=e.f},function(e){S=e.L},function(e){L=e.a;B=e.u},function(e){O=e.c},function(e){j=e.N},function(e){V=e.N},function(e){M=e.P},function(e){G=e.P},function(e){z=e.S},function(e){H=e.P},function(e){U=e.P},function(e){W=e.P},function(e){$=e.P},function(e){J=e.P},function(e){X=e.A},function(e){Y=e.G},function(e){Z=e.l},function(e){K=e.a;Q=e.P},function(e){ee=e.H},function(e){re=e.N},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var te=this;var ne=1/0;var ae="[object Symbol]";var se=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var ie=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var oe="\\ud800-\\udfff",le="\\u0300-\\u036f\\ufe20-\\ufe23",ue="\\u20d0-\\u20f0",de="\\u2700-\\u27bf",ce="a-z\\xdf-\\xf6\\xf8-\\xff",me="\\xac\\xb1\\xd7\\xf7",pe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ge="\\u2000-\\u206f",fe=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",he="A-Z\\xc0-\\xd6\\xd8-\\xde",be="\\ufe0e\\ufe0f",ve=me+pe+ge+fe;var xe="['’]",we="["+oe+"]",ye="["+ve+"]",Ee="["+le+ue+"]",De="\\d+",_e="["+de+"]",qe="["+ce+"]",Ce="[^"+oe+ve+De+de+ce+he+"]",Ae="\\ud83c[\\udffb-\\udfff]",ke="(?:"+Ee+"|"+Ae+")",Re="[^"+oe+"]",Te="(?:\\ud83c[\\udde6-\\uddff]){2}",Pe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ie="["+he+"]",Ne="\\u200d";var Fe="(?:"+qe+"|"+Ce+")",Se="(?:"+Ie+"|"+Ce+")",Le="(?:"+xe+"(?:d|ll|m|re|s|t|ve))?",Be="(?:"+xe+"(?:D|LL|M|RE|S|T|VE))?",Oe=ke+"?",je="["+be+"]?",Ve="(?:"+Ne+"(?:"+[Re,Te,Pe].join("|")+")"+je+Oe+")*",Me=je+Oe+Ve,Ge="(?:"+[_e,Te,Pe].join("|")+")"+Me,ze="(?:"+[Re+Ee+"?",Ee,Te,Pe,we].join("|")+")";var He=RegExp(xe,"g");var Ue=RegExp(Ee,"g");var We=RegExp(Ae+"(?="+Ae+")|"+ze+Me,"g");var $e=RegExp([Ie+"?"+qe+"+"+Le+"(?="+[ye,Ie,"$"].join("|")+")",Se+"+"+Be+"(?="+[ye,Ie+Fe,"$"].join("|")+")",Ie+"?"+Fe+"+"+Le,Ie+"+"+Be,De,Ge].join("|"),"g");var Je=RegExp("["+Ne+oe+le+ue+be+"]");var Xe=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Ye={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"};var Ze=typeof a=="object"&&a&&a.Object===Object&&a;var Ke=typeof self=="object"&&self&&self.Object===Object&&self;var Qe=Ze||Ke||Function("return this")();function er(e,r,t,n){var a=-1,s=e?e.length:0;if(n&&s){t=e[++a]}while(++a<s){t=r(t,e[a],a,e)}return t}function rr(e){return e.split("")}function tr(e){return e.match(se)||[]}function nr(e){return function(r){return e==null?undefined:e[r]}}var ar=nr(Ye);function sr(e){return Je.test(e)}function ir(e){return Xe.test(e)}function or(e){return sr(e)?lr(e):rr(e)}function lr(e){return e.match(We)||[]}function ur(e){return e.match($e)||[]}var dr=Object.prototype;var cr=dr.toString;var mr=Qe.Symbol;var pr=mr?mr.prototype:undefined,gr=pr?pr.toString:undefined;function fr(e,r,t){var n=-1,a=e.length;if(r<0){r=-r>a?0:a+r}t=t>a?a:t;if(t<0){t+=a}a=r>t?0:t-r>>>0;r>>>=0;var s=Array(a);while(++n<a){s[n]=e[n+r]}return s}function hr(e){if(typeof e=="string"){return e}if(yr(e)){return gr?gr.call(e):""}var r=e+"";return r=="0"&&1/e==-ne?"-0":r}function br(e,r,t){var n=e.length;t=t===undefined?n:t;return!r&&t>=n?e:fr(e,r,t)}function vr(e){return function(r){r=Er(r);var t=sr(r)?or(r):undefined;var n=t?t[0]:r.charAt(0);var a=t?br(t,1).join(""):r.slice(1);return n[e]()+a}}function xr(e){return function(r){return er(Cr(Dr(r).replace(He,"")),e,"")}}function wr(e){return!!e&&typeof e=="object"}function yr(e){return typeof e=="symbol"||wr(e)&&cr.call(e)==ae}function Er(e){return e==null?"":hr(e)}function Dr(e){e=Er(e);return e&&e.replace(ie,ar).replace(Ue,"")}var _r=xr((function(e,r,t){return e+(t?" ":"")+qr(r)}));var qr=vr("toUpperCase");function Cr(e,r,t){e=Er(e);r=t?undefined:r;if(r===undefined){return ir(e)?ur(e):tr(e)}return e.match(r)||[]}var Ar=_r;function kr(e){if(e.sheet){return e.sheet}for(var r=0;r<document.styleSheets.length;r++){if(document.styleSheets[r].ownerNode===e){return document.styleSheets[r]}}}function Rr(e){var r=document.createElement("style");r.setAttribute("data-emotion",e.key);if(e.nonce!==undefined){r.setAttribute("nonce",e.nonce)}r.appendChild(document.createTextNode(""));r.setAttribute("data-s","");return r}var Tr=function(){function e(e){var r=this;this._insertTag=function(e){var t;if(r.tags.length===0){t=r.prepend?r.container.firstChild:r.before}else{t=r.tags[r.tags.length-1].nextSibling}r.container.insertBefore(e,t);r.tags.push(e)};this.isSpeedy=e.speedy===undefined?"production"==="production":e.speedy;this.tags=[];this.ctr=0;this.nonce=e.nonce;this.key=e.key;this.container=e.container;this.prepend=e.prepend;this.before=null}var r=e.prototype;r.hydrate=function e(r){r.forEach(this._insertTag)};r.insert=function e(r){if(this.ctr%(this.isSpeedy?65e3:1)===0){this._insertTag(Rr(this))}var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=kr(t);try{n.insertRule(r,n.cssRules.length)}catch(e){}}else{t.appendChild(document.createTextNode(r))}this.ctr++};r.flush=function e(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)}));this.tags=[];this.ctr=0};return e}();var Pr="-ms-";var Ir="-moz-";var Nr="-webkit-";var Fr="comm";var Sr="rule";var Lr="decl";var Br="@import";var Or="@keyframes";var jr=Math.abs;var Vr=String.fromCharCode;function Mr(e,r){return(((r<<2^Wr(e,0))<<2^Wr(e,1))<<2^Wr(e,2))<<2^Wr(e,3)}function Gr(e){return e.trim()}function zr(e,r){return(e=r.exec(e))?e[0]:e}function Hr(e,r,t){return e.replace(r,t)}function Ur(e,r){return e.indexOf(r)}function Wr(e,r){return e.charCodeAt(r)|0}function $r(e,r,t){return e.slice(r,t)}function Jr(e){return e.length}function Xr(e){return e.length}function Yr(e,r){return r.push(e),e}function Zr(e,r){return e.map(r).join("")}var Kr=1;var Qr=1;var et=0;var rt=0;var tt=0;var nt="";function at(e,r,t,n,a,s,i){return{value:e,root:r,parent:t,type:n,props:a,children:s,line:Kr,column:Qr,length:i,return:""}}function st(e,r,t){return at(e,r.root,r.parent,t,r.props,r.children,0)}function it(){return tt}function ot(){tt=rt>0?Wr(nt,--rt):0;if(Qr--,tt===10)Qr=1,Kr--;return tt}function lt(){tt=rt<et?Wr(nt,rt++):0;if(Qr++,tt===10)Qr=1,Kr++;return tt}function ut(){return Wr(nt,rt)}function dt(){return rt}function ct(e,r){return $r(nt,e,r)}function mt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function pt(e){return Kr=Qr=1,et=Jr(nt=e),rt=0,[]}function gt(e){return nt="",e}function ft(e){return Gr(ct(rt-1,vt(e===91?e+2:e===40?e+1:e)))}function ht(e){while(tt=ut())if(tt<33)lt();else break;return mt(e)>2||mt(tt)>3?"":" "}function bt(e,r){while(--r&&lt())if(tt<48||tt>102||tt>57&&tt<65||tt>70&&tt<97)break;return ct(e,dt()+(r<6&&ut()==32&&lt()==32))}function vt(e){while(lt())switch(tt){case e:return rt;case 34:case 39:return vt(e===34||e===39?e:tt);case 40:if(e===41)vt(e);break;case 92:lt();break}return rt}function xt(e,r){while(lt())if(e+tt===47+10)break;else if(e+tt===42+42&&ut()===47)break;return"/*"+ct(r,rt-1)+"*"+Vr(e===47?e:lt())}function wt(e){while(!mt(ut()))lt();return ct(e,rt)}function yt(e){return gt(Et("",null,null,null,[""],e=pt(e),0,[0],e))}function Et(e,r,t,n,a,s,i,o,l){var u=0;var d=0;var c=i;var m=0;var p=0;var g=0;var f=1;var h=1;var b=1;var v=0;var x="";var w=a;var y=s;var E=n;var D=x;while(h)switch(g=v,v=lt()){case 34:case 39:case 91:case 40:D+=ft(v);break;case 9:case 10:case 13:case 32:D+=ht(g);break;case 92:D+=bt(dt()-1,7);continue;case 47:switch(ut()){case 42:case 47:Yr(_t(xt(lt(),dt()),r,t),l);break;default:D+="/"}break;case 123*f:o[u++]=Jr(D)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:h=0;case 59+d:if(p>0&&Jr(D)-c)Yr(p>32?qt(D+";",n,t,c-1):qt(Hr(D," ","")+";",n,t,c-2),l);break;case 59:D+=";";default:Yr(E=Dt(D,r,t,u,d,a,o,x,w=[],y=[],c),s);if(v===123)if(d===0)Et(D,r,E,E,w,s,c,o,y);else switch(m){case 100:case 109:case 115:Et(e,E,E,n&&Yr(Dt(e,E,E,0,0,a,o,x,a,w=[],c),y),a,y,c,o,n?w:y);break;default:Et(D,E,E,E,[""],y,c,o,y)}}u=d=p=0,f=b=1,x=D="",c=i;break;case 58:c=1+Jr(D),p=g;default:if(f<1)if(v==123)--f;else if(v==125&&f++==0&&ot()==125)continue;switch(D+=Vr(v),v*f){case 38:b=d>0?1:(D+="\f",-1);break;case 44:o[u++]=(Jr(D)-1)*b,b=1;break;case 64:if(ut()===45)D+=ft(lt());m=ut(),d=Jr(x=D+=wt(dt())),v++;break;case 45:if(g===45&&Jr(D)==2)f=0}}return s}function Dt(e,r,t,n,a,s,i,o,l,u,d){var c=a-1;var m=a===0?s:[""];var p=Xr(m);for(var g=0,f=0,h=0;g<n;++g)for(var b=0,v=$r(e,c+1,c=jr(f=i[g])),x=e;b<p;++b)if(x=Gr(f>0?m[b]+" "+v:Hr(v,/&\f/g,m[b])))l[h++]=x;return at(e,r,t,a===0?Sr:o,l,u,d)}function _t(e,r,t){return at(e,r,t,Fr,Vr(it()),$r(e,2,-2),0)}function qt(e,r,t,n){return at(e,r,t,Lr,$r(e,0,n),$r(e,n+1,-1),n)}function Ct(e,r){switch(Mr(e,r)){case 5103:return Nr+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Nr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Nr+e+Ir+e+Pr+e+e;case 6828:case 4268:return Nr+e+Pr+e+e;case 6165:return Nr+e+Pr+"flex-"+e+e;case 5187:return Nr+e+Hr(e,/(\w+).+(:[^]+)/,Nr+"box-$1$2"+Pr+"flex-$1$2")+e;case 5443:return Nr+e+Pr+"flex-item-"+Hr(e,/flex-|-self/,"")+e;case 4675:return Nr+e+Pr+"flex-line-pack"+Hr(e,/align-content|flex-|-self/,"")+e;case 5548:return Nr+e+Pr+Hr(e,"shrink","negative")+e;case 5292:return Nr+e+Pr+Hr(e,"basis","preferred-size")+e;case 6060:return Nr+"box-"+Hr(e,"-grow","")+Nr+e+Pr+Hr(e,"grow","positive")+e;case 4554:return Nr+Hr(e,/([^-])(transform)/g,"$1"+Nr+"$2")+e;case 6187:return Hr(Hr(Hr(e,/(zoom-|grab)/,Nr+"$1"),/(image-set)/,Nr+"$1"),e,"")+e;case 5495:case 3959:return Hr(e,/(image-set\([^]*)/,Nr+"$1"+"$`$1");case 4968:return Hr(Hr(e,/(.+:)(flex-)?(.*)/,Nr+"box-pack:$3"+Pr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Nr+e+e;case 4095:case 3583:case 4068:case 2532:return Hr(e,/(.+)-inline(.+)/,Nr+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Jr(e)-1-r>6)switch(Wr(e,r+1)){case 109:if(Wr(e,r+4)!==45)break;case 102:return Hr(e,/(.+:)(.+)-([^]+)/,"$1"+Nr+"$2-$3"+"$1"+Ir+(Wr(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~Ur(e,"stretch")?Ct(Hr(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(Wr(e,r+1)!==115)break;case 6444:switch(Wr(e,Jr(e)-3-(~Ur(e,"!important")&&10))){case 107:return Hr(e,":",":"+Nr)+e;case 101:return Hr(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Nr+(Wr(e,14)===45?"inline-":"")+"box$3"+"$1"+Nr+"$2$3"+"$1"+Pr+"$2box$3")+e}break;case 5936:switch(Wr(e,r+11)){case 114:return Nr+e+Pr+Hr(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Nr+e+Pr+Hr(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Nr+e+Pr+Hr(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Nr+e+Pr+e+e}return e}function At(e,r){var t="";var n=Xr(e);for(var a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function kt(e,r,t,n){switch(e.type){case Br:case Lr:return e.return=e.return||e.value;case Fr:return"";case Sr:e.value=e.props.join(",")}return Jr(t=At(e.children,n))?e.return=e.value+"{"+t+"}":""}function Rt(e){var r=Xr(e);return function(t,n,a,s){var i="";for(var o=0;o<r;o++)i+=e[o](t,n,a,s)||"";return i}}function Tt(e){return function(r){if(!r.root)if(r=r.return)e(r)}}function Pt(e,r,t,n){if(!e.return)switch(e.type){case Lr:e.return=Ct(e.value,e.length);break;case Or:return At([st(Hr(e.value,"@","@"+Nr),e,"")],n);case Sr:if(e.length)return Zr(e.props,(function(r){switch(zr(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return At([st(Hr(r,/:(read-\w+)/,":"+Ir+"$1"),e,"")],n);case"::placeholder":return At([st(Hr(r,/:(plac\w+)/,":"+Nr+"input-$1"),e,""),st(Hr(r,/:(plac\w+)/,":"+Ir+"$1"),e,""),st(Hr(r,/:(plac\w+)/,Pr+"input-$1"),e,"")],n)}return""}))}}function It(e){var r=Object.create(null);return function(t){if(r[t]===undefined)r[t]=e(t);return r[t]}}var Nt=function e(r,t){var n=-1;var a=44;do{switch(mt(a)){case 0:if(a===38&&ut()===12){t[n]=1}r[n]+=wt(rt-1);break;case 2:r[n]+=ft(a);break;case 4:if(a===44){r[++n]=ut()===58?"&\f":"";t[n]=r[n].length;break}default:r[n]+=Vr(a)}}while(a=lt());return r};var Ft=function e(r,t){return gt(Nt(pt(r),t))};var St=new WeakMap;var Lt=function e(r){if(r.type!=="rule"||!r.parent||!r.length){return}var t=r.value,n=r.parent;var a=r.column===n.column&&r.line===n.line;while(n.type!=="rule"){n=n.parent;if(!n)return}if(r.props.length===1&&t.charCodeAt(0)!==58&&!St.get(n)){return}if(a){return}St.set(r,true);var s=[];var i=Ft(t,s);var o=n.props;for(var l=0,u=0;l<i.length;l++){for(var d=0;d<o.length;d++,u++){r.props[u]=s[l]?i[l].replace(/&\f/g,o[d]):o[d]+" "+i[l]}}};var Bt=function e(r){if(r.type==="decl"){var t=r.value;if(t.charCodeAt(0)===108&&t.charCodeAt(2)===98){r["return"]="";r.value=""}}};var Ot=[Pt];var jt=function e(r){var t=r.key;if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){var r=e.getAttribute("data-emotion");if(r.indexOf(" ")===-1){return}document.head.appendChild(e);e.setAttribute("data-s","")}))}var a=r.stylisPlugins||Ot;var s={};var i;var o=[];{i=r.container||document.head;Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){var r=e.getAttribute("data-emotion").split(" ");for(var t=1;t<r.length;t++){s[r[t]]=true}o.push(e)}))}var l;var u=[Lt,Bt];{var d;var c=[kt,Tt((function(e){d.insert(e)}))];var m=Rt(u.concat(a,c));var p=function e(r){return At(yt(r),m)};l=function e(r,t,n,a){d=n;p(r?r+"{"+t.styles+"}":t.styles);if(a){g.inserted[t.name]=true}}}var g={key:t,sheet:new Tr({key:t,container:i,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend}),nonce:r.nonce,inserted:s,registered:{},insert:l};g.sheet.hydrate(o);return g};function Vt(e){var r=0;var t,n=0,a=e.length;for(;a>=4;++n,a-=4){t=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24;t=(t&65535)*1540483477+((t>>>16)*59797<<16);t^=t>>>24;r=(t&65535)*1540483477+((t>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16)}switch(a){case 3:r^=(e.charCodeAt(n+2)&255)<<16;case 2:r^=(e.charCodeAt(n+1)&255)<<8;case 1:r^=e.charCodeAt(n)&255;r=(r&65535)*1540483477+((r>>>16)*59797<<16)}r^=r>>>13;r=(r&65535)*1540483477+((r>>>16)*59797<<16);return((r^r>>>15)>>>0).toString(36)}var Mt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Gt=/[A-Z]|^ms/g;var zt=/_EMO_([^_]+?)_([^]*?)_EMO_/g;var Ht=function e(r){return r.charCodeAt(1)===45};var Ut=function e(r){return r!=null&&typeof r!=="boolean"};var Wt=It((function(e){return Ht(e)?e:e.replace(Gt,"-$&").toLowerCase()}));var $t=function e(r,t){switch(r){case"animation":case"animationName":{if(typeof t==="string"){return t.replace(zt,(function(e,r,t){Zt={name:r,styles:t,next:Zt};return r}))}}}if(Mt[r]!==1&&!Ht(r)&&typeof t==="number"&&t!==0){return t+"px"}return t};function Jt(e,r,t){if(t==null){return""}if(t.__emotion_styles!==undefined){return t}switch(typeof t){case"boolean":{return""}case"object":{if(t.anim===1){Zt={name:t.name,styles:t.styles,next:Zt};return t.name}if(t.styles!==undefined){var n=t.next;if(n!==undefined){while(n!==undefined){Zt={name:n.name,styles:n.styles,next:Zt};n=n.next}}var a=t.styles+";";return a}return Xt(e,r,t)}case"function":{if(e!==undefined){var s=Zt;var i=t(e);Zt=s;return Jt(e,r,i)}break}}if(r==null){return t}var o=r[t];return o!==undefined?o:t}function Xt(e,r,t){var n="";if(Array.isArray(t)){for(var a=0;a<t.length;a++){n+=Jt(e,r,t[a])+";"}}else{for(var s in t){var i=t[s];if(typeof i!=="object"){if(r!=null&&r[i]!==undefined){n+=s+"{"+r[i]+"}"}else if(Ut(i)){n+=Wt(s)+":"+$t(s,i)+";"}}else{if(s==="NO_COMPONENT_SELECTOR"&&"production"!=="production"){throw new Error("Component selectors can only be used in conjunction with @emotion/babel-plugin.")}if(Array.isArray(i)&&typeof i[0]==="string"&&(r==null||r[i[0]]===undefined)){for(var o=0;o<i.length;o++){if(Ut(i[o])){n+=Wt(s)+":"+$t(s,i[o])+";"}}}else{var l=Jt(e,r,i);switch(s){case"animation":case"animationName":{n+=Wt(s)+":"+l+";";break}default:{n+=s+"{"+l+"}"}}}}}}return n}var Yt=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var Zt;var Kt=function e(r,t,n){if(r.length===1&&typeof r[0]==="object"&&r[0]!==null&&r[0].styles!==undefined){return r[0]}var a=true;var s="";Zt=undefined;var i=r[0];if(i==null||i.raw===undefined){a=false;s+=Jt(n,t,i)}else{s+=i[0]}for(var o=1;o<r.length;o++){s+=Jt(n,t,r[o]);if(a){s+=i[o]}}Yt.lastIndex=0;var l="";var u;while((u=Yt.exec(s))!==null){l+="-"+u[1]}var d=Vt(s)+l;return{name:d,styles:s,next:Zt}};var Qt="object"!=="undefined";function en(e,r,t){var n="";t.split(" ").forEach((function(t){if(e[t]!==undefined){r.push(e[t]+";")}else{n+=t+" "}}));return n}var rn=function e(r,t,n){var a=r.key+"-"+t.name;if((n===false||Qt===false)&&r.registered[a]===undefined){r.registered[a]=t.styles}if(r.inserted[t.name]===undefined){var s=t;do{r.insert(t===s?"."+a:"",s,r.sheet,true);s=s.next}while(s!==undefined)}};function tn(e,r){if(e.inserted[r.name]===undefined){return e.insert("",r,e.sheet,true)}}function nn(e,r,t){var n=[];var a=en(e,n,t);if(n.length<2){return t}return a+r(n)}var an=function e(r){var t=jt(r);t.sheet.speedy=function(e){this.isSpeedy=e};t.compat=true;var n=function e(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++){n[a]=arguments[a]}var s=Kt(n,t.registered,undefined);rn(t,s,false);return t.key+"-"+s.name};var a=function e(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++){n[a]=arguments[a]}var s=Kt(n,t.registered);var i="animation-"+s.name;tn(t,{name:s.name,styles:"@keyframes "+i+"{"+s.styles+"}"});return i};var s=function e(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++){n[a]=arguments[a]}var s=Kt(n,t.registered);tn(t,s)};var i=function e(){for(var r=arguments.length,a=new Array(r),s=0;s<r;s++){a[s]=arguments[s]}return nn(t.registered,n,sn(a))};return{css:n,cx:i,injectGlobal:s,keyframes:a,hydrate:function e(r){r.forEach((function(e){t.inserted[e]=true}))},flush:function e(){t.registered={};t.inserted={};t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:en.bind(null,t.registered),merge:nn.bind(null,t.registered,n)}};var sn=function e(r){var t="";for(var n=0;n<r.length;n++){var a=r[n];if(a==null)continue;var s=void 0;switch(typeof a){case"boolean":break;case"object":{if(Array.isArray(a)){s=e(a)}else{s="";for(var i in a){if(a[i]&&i){s&&(s+=" ");s+=i}}}break}default:{s=a}}if(s){t&&(t+=" ");t+=s}}return t};var on=an({key:"css"}),ln=on.css;function un(){return(un=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function dn(e,r){return r||(r=e.slice(0)),e.raw=r,e}var cn,mn,pn,gn=ln(cn||(cn=dn(['\n width: 100vw;\n height: 100vh;\n\n .story-book-outer-div {\n .story-div {\n font-family: "Arial", sans-serif;\n font-size: 12px;\n }\n padding-bottom: 500px;\n }\n\n .story-div {\n position: fixed;\n box-sizing: border-box;\n top: 0;\n width: 250px;\n height: 100vh;\n z-index: 999;\n overflow-y: scroll;\n background: white;\n margin-bottom: 32px;\n }\n\n .header {\n padding: 24px 0 16px 16px;\n margin-bottom: 24px;\n color: white;\n background: #333;\n cursor: pointer;\n\n h2 {\n letter-spacing: 3px;\n font-weight: 400;\n }\n }\n\n .parentStoryList {\n list-style: none;\n padding-left: 16px;\n\n summary {\n margin-bottom: 4px;\n }\n }\n .parentStory {\n cursor: pointer;\n }\n .parentStory.selected {\n font-weight: bold;\n }\n\n .subStory {\n font-size: 12px;\n cursor: pointer;\n line-height: 1.5em;\n margin-top: 4px;\n\n a {\n display: block;\n padding: 4px 4px 4px 16px;\n }\n }\n .subStory:hover {\n background-color: #eee;\n }\n .subStory.selected {\n background-color: lightgreen;\n }\n\n .component {\n padding: 24px 16px;\n }\n\n h4.group-header {\n margin: 8px 0;\n text-transform: uppercase;\n font-weight: 600;\n font-size: 14px;\n color: #575757;\n }\n\n .group-wrapper {\n margin-bottom: 24px;\n }\n\n .dynamic-display-wrapper {\n position: fixed;\n display: flex;\n flex-direction: column;\n bottom: 0;\n left: 100%;\n padding: 16px;\n z-index: 1000;\n background: white;\n transform: translateX(-100%);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n\n & > :not(:first-child) {\n margin-top: 12px;\n }\n\n p {\n font-size: 12px;\n margin: 0;\n padding: 0;\n }\n\n .button-wrapper {\n display: flex;\n\n & > :not(:first-child) {\n margin-left: 12px;\n }\n }\n\n & button {\n border: 1px solid #eaeaea;\n background: white;\n border-radius: 4px;\n color: #777;\n padding: 4px 12px;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n &.active {\n background: #555;\n border-color: #555;\n color: white;\n }\n }\n }\n'])));function fn(e,r){var t,n=r.story.title.split("/"),a=n[1]?n[0]:"_";return un({},e,((t={})[a]=[].concat(e[a]||[],[{story:un({},r.story,{title:n[1]||n[0]}),subs:r.subs}]).sort((function(e,r){return e.story.title.localeCompare(r.story.title)})),t))}function hn(e){return{story:e.default,subs:function(e,r){if(null==e)return{};var t,n,a={},s=Object.keys(e);for(n=0;n<s.length;n++)r.indexOf(t=s[n])>=0||(a[t]=e[t]);return a}(e,["default"])}}function bn(e,t){var n=t.h,a=void 0===n?r:n,o=t.title,l=void 0===o?"Stencilbook":o,u=t.homepage,d=void 0===u?a("h3",null,"Select a story!"):u,c=t.addons,m=void 0===c?[]:c,p=s((function(){return e.map(hn).reduce(fn,{_:[]})}),e),g=i(void 0),f=g[0],h=g[1],b=null==f?void 0:f.key,v=i("desktop"),x=v[0],w=v[1],y=i(!0),E=y[0],D=y[1],_=i(!1),q=_[0],C=_[1],A=function(){return a("div",{class:"dynamic-display-wrapper"},a("div",{class:"button-wrapper"},a("button",{class:"desktop"===x?"active":"",onClick:function(){return w("desktop")}},"Desktop"),a("button",{class:"tablet"===x?"active":"",onClick:function(){return w("tablet")}},"Tablet"),a("button",{class:"mobile"===x?"active":"",onClick:function(){return w("mobile")}},"Mobile")),a("p",null,"Note: Currently doesn't test breakpoints, use the native tester for now"),a("hr",null),a("button",{class:q?"active":"",onClick:function(){return C((function(e){return!e}))}},"Toggle Dark Background"),a("hr",null),a("button",{class:E?"active":"",onClick:function(){return D((function(e){return!e}))}},"Toggle Sidebar"))},k="mobile"===x?"375px":"tablet"===x?"768px":"1124px",R=ln(mn||(mn=dn(["\n max-width: ",";\n margin-left: ",";\n "])),k,E?"250px":"0px"),T=ln(pn||(pn=dn(["\n display: none;\n "])));document.body.style.backgroundColor=q?"#232323":"#fafafa";var P=function(e){var r=e.selected,t=m.reduce((function(e,t){return function(){return a(t,{story:un({},r)},a(e,null))}}),null==r?void 0:r.story);return a(t,null)},I=function(){return a("div",{class:"story-book-outer-div"},a("div",{class:"story-div "+(E?"":T)},a("div",{class:"header",onClick:function(){h(void 0)}},a("h2",null,l)),a("ul",{class:"parentStoryList"},Object.keys(p).sort().map((function(e){return a("div",{class:"group-wrapper"},"_"!==e&&a("h4",{class:"group-header"},e),p[e].map((function(r){return a("li",{class:"parentStory"},a("details",{style:{marginBottom:"10px"}},a("summary",{style:{outline:"none"}},r.story.title),r.subs&&Object.keys(r.subs).map((function(t){var n=e+"/"+t,s=r.subs[t],i=s.storyName||Ar(t);return a("div",{class:"subStory "+(b===n?"selected":"")},a("a",{onClick:function(){return function(e,r,t,n){h({key:r,story:e,parent:t,label:n})}(s,n,r.story,i)}},i))}))))})))})))),a(A,null),a("div",{class:"component "+R},!b&&d,b&&a("div",null,a("h3",null,f.label),a(P,{selected:f}))))};return{class:gn,children:a(I,null),View:I,selected:f}}var vn={title:"Components/Share Button"};var xn=function(){var e={medium:"whatsapp",iconslot:"suffix"};return r(d,Object.assign({},e),"Share")};var wn=function(){var e={medium:"facebook",icon:"person-badge",iconslot:"suffix"};return r(d,Object.assign({},e),"Share")};var yn=function(){var e={medium:"facebook",type:"text",iconslot:"suffix"};return r(d,Object.assign({},e),"Share")};var En=function(){var e={medium:"facebook",hideicon:true};return r(d,Object.assign({},e),"Share")};var Dn=function(){var e={medium:"facebook",hidetext:true};return r(d,Object.assign({},e),"Share")};var _n=function(){var e={medium:"facebook",type:"text",hideicon:true};return r(d,Object.assign({},e),"Share")};var qn=function(){var e={medium:"facebook",type:"text",backgroundcolor:"#3b5998",textcolor:"#fff",iconslot:"prefix"};return r(d,Object.assign({},e),"Facebook")};var Cn=function(){var e={medium:"facebook",type:"text",backgroundcolor:"#3b5998",textcolor:"#fff",borderradius:8,iconslot:"prefix"};return r(d,Object.assign({},e),"Facebook")};var An=function(){return r("div",null,r("sqm-share-button",{medium:"facebook",iconslot:"prefix"},r("span",null,"Facebook")),r("br",null),r("sqm-share-button",{medium:"email",icon:"envelope",iconslot:"prefix"},r("span",null,"Email")))};var kn=function(){return r("div",null,r("sqm-share-button",{medium:"facebook",iconslot:"prefix"},r("span",null,"Facebook")),r("br",null),r("sqm-share-button",{medium:"email",icon:"envelope",iconslot:"prefix"},r("span",null,"Email")),r("br",null),r("sqm-share-button",{medium:"whatsapp",icon:"whatsapp",iconslot:"prefix"},r("span",null,"WhatsApp")),r("br",null),r("sqm-share-button",{medium:"linkedin",iconslot:"prefix"},r("span",null,"Linkedin")),r("br",null),r("sqm-share-button",{medium:"twitter",iconslot:"prefix"},r("span",null,"Twitter")),r("br",null),r("sqm-share-button",{medium:"pinterest",iconslot:"prefix"},r("span",null,"Pinterest")),r("br",null),r("sqm-share-button",{medium:"fbmessenger",icon:"messenger",iconslot:"prefix"},r("span",null,"Messenger")),r("br",null),r("sqm-share-button",{medium:"sms",icon:"chat",iconslot:"prefix"},r("span",null,"SMS")),r("br",null),r("sqm-share-button",{medium:"linemessenger",icon:"line",iconslot:"prefix"},r("span",null,"Line Messenger")))};var Rn=Object.freeze({__proto__:null,default:vn,WithIcon:xn,WithIconOverride:wn,TextStyle:yn,WithoutIcon:En,WithoutText:Dn,TextStyleWithoutIcon:_n,WithCustomColors:qn,WithCustomBorderRadius:Cn,FullStackIcon:An,AllMediums:kn});var Tn={title:"Components/Share Link"};var Pn=function(){var e={shareString:"https://noah.example.com",open:false,tooltiptext:"Copied!"};return r(c,Object.assign({},e))};var In=function(){var e={shareString:"https://noah.example.com",tooltiptext:"Some text for the tooltip",open:true};return r(c,Object.assign({},e))};var Nn=function(){var e={shareString:"https://noah.example.com",disabled:true,open:true,tooltiptext:"Copied!"};return r(c,Object.assign({},e))};var Fn=function(){return r("sqm-share-link",null)};var Sn=Object.freeze({__proto__:null,default:Tn,Default:Pn,Tooltip:In,Disabled:Nn,FullStack:Fn});var Ln={title:"Components/Big Stat"};var Bn=function(){var e={value:99e4,statvalue:"9.900,00",loading:false};return r(q,Object.assign({},e),"Big stat")};var On=function(){var e={value:500,statvalue:"500",alignment:"left",loading:false};return r(q,Object.assign({},e),"Big stat")};var jn=function(){var e={value:500,statvalue:"500",alignment:"right",loading:false};return r(q,Object.assign({},e),"Big stat")};var Vn=function(){var e={value:500,statvalue:"500",flexReverse:true,loading:false};return r(q,Object.assign({},e),"Big stat")};var Mn=function(){var e={value:500,statvalue:"500",flexReverse:true,alignment:"right",loading:false};return r(q,Object.assign({},e),"Big stat")};var Gn=function(){var e={value:500,statvalue:"500",flexReverse:true,alignment:"left",loading:false};return r(q,Object.assign({},e),"Big stat")};var zn=function(){var e={value:0,statvalue:"...",loading:false};return r(q,Object.assign({},e),"Big stat")};var Hn=function(){var e={value:0,statvalue:"!!!",loading:false};return r(q,Object.assign({},e),"Big stat")};var Un=Object.freeze({__proto__:null,default:Ln,Default:Bn,LeftAlign:On,RightAlign:jn,FlexReverse:Vn,FlexReverseRight:Mn,FlexReverseLeft:Gn,NoStatValue:zn,InvalidStatValue:Hn});var Wn={title:"Components/Leaderboard",parameters:{tagname:"sqm-leaderboard"}};var $n={usersheading:"TOP REFERRERS",statsheading:"NEW TITANS"};var Jn={empty:null,loadingstate:null};var Xn=function(){var e={states:{loading:false,hasLeaders:false,styles:__assign({},$n)},data:{rankType:"rowNumber",leaderboard:[]},elements:__assign({},Jn)};return r(C,Object.assign({},e))};var Yn=function(){var e={states:{loading:true,hasLeaders:false,styles:__assign({},$n)},data:{rankType:"rowNumber",leaderboard:[]},elements:__assign({},Jn)};return r(C,Object.assign({},e))};var Zn=function(){var e={states:{loading:false,hasLeaders:true,styles:__assign({},$n)},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1}]},elements:__assign({},Jn)};return r(C,Object.assign({},e))};var Kn=function(){var e={states:{loading:false,hasLeaders:true,styles:__assign({},$n)},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",value:73,rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5,rowNumber:5}]},elements:__assign({},Jn)};return r(C,Object.assign({},e))};var Qn=function(){var e={states:{loading:false,hasLeaders:true,styles:{rankheading:"Rank",usersheading:"User",statsheading:"Referrals",showRank:true}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",value:73,rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5,rowNumber:5}]},elements:__assign({},Jn)};return r(C,Object.assign({},e))};var ea=function(){var e={states:{loading:false,hasLeaders:true,styles:{rankheading:"Rank",usersheading:"User",statsheading:"Referrals",showRank:true}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",value:73,rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5,rowNumber:5}],showUser:true,userRank:{firstName:"Viktor",lastInitial:"V",value:82,rowNumber:1,rank:1}},elements:__assign({},Jn)};return r(C,Object.assign({},e))};var ra=function(){var e={states:{loading:false,hasLeaders:true,styles:{rankheading:"Rank",usersheading:"User",statsheading:"Referrals",showRank:true}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",value:73,rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5,rowNumber:5}],showUser:true,userRank:{firstName:"Kutay",lastInitial:"C",value:7,rowNumber:6,rank:9}},elements:__assign({},Jn)};return r(C,Object.assign({},e))};var ta=Object.freeze({__proto__:null,default:Wn,Empty:Xn,Loading:Yn,One:Zn,Five:Kn,FiveWithRank:Qn,UserInList:ea,UserOutside:ra});var na=function(e,t){var n=e.story;var a;var s=(a=n.story.parameters)===null||a===void 0?void 0:a.hookStory;if(!s){return t}var i=Math.round(Math.random()*1e5);var o="sqm-hook-story-container-"+i;return r(o,null,r("sqm-hook-story-container",{hookStory:s}))};function aa(e){var t=function(){return r("div",null)};t.parameters={hookStory:e};return t}var sa={title:"Tests/Router"};var ia='\n <template path="/foo"><h1>foo</h1>\n \n <p>These elements don\'t produce a specific box by themselves. They are replaced by their pseudo-box and their child boxes. Please note that the CSS Display Level 3 spec defines how the contents value should affect "unusual elements" — elements that aren’t rendered purely by CSS box concepts such as replaced elements. See Appendix B: Effects of display: contents on Unusual Elements for more details.\n\n Due to a bug in browsers this will currently remove the element from the accessibility tree — screen readers will not look at what\'s inside. See the Accessibility concerns section below for more details.</p>\n </template>\n <template path="/bar"><h2>bar</h2>\n \n <p>Turns off the display of an element so that it has no effect on layout (the document is rendered as though the element did not exist). All descendant elements also have their display turned off.\n To have an element take up the space that it would normally take, but without actually rendering anything, use the visibility property instead.</p>\n </template>\n <template path="/baz/bang"><h3>baz/bang</h3>\n <pre>\n ▄▄▄▄▄▄▄░▄▄▄▄▄▄▄░▄▄▄▄▄▄░▄▄▄▄▄\n ░░▀███░░░░▀██░░░░██▀░░░░██░░\n ░░░▀██░░░░░▀██░░▄█░░░░░▄█░░░\n ░░░░███░░░░░▀██▄█░░░░░░█░░░░\n ░░░░░███░░░░░▀██░░░░░░█▀░░░░\n ░░░░░░███░░░░▄███░░░░█▀░░░░░\n ░░░░░░░██▄░░▄▀░███░░█▀░░░░░░\n ░░░░░░░▀██▄█▀░░░███▄▀░░░░░░░\n ░░░░░░░░▀██▀░░░░░███░░░░░░░░\n ░░░░░░░░░▀▀░░░░░░░▀░░░░░░░░░\n </pre>\n </template>\n <template path="/refer/:page"><h3>/refer/:page</h3>\n <pre>\n refer/:page\n </pre>\n </template>\n';var oa='\n <sqm-route path="/foo"><h1>foo</h1>\n \n <p>These elements don\'t produce a specific box by themselves. They are replaced by their pseudo-box and their child boxes. Please note that the CSS Display Level 3 spec defines how the contents value should affect "unusual elements" — elements that aren’t rendered purely by CSS box concepts such as replaced elements. See Appendix B: Effects of display: contents on Unusual Elements for more details.\n\n Due to a bug in browsers this will currently remove the element from the accessibility tree — screen readers will not look at what\'s inside. See the Accessibility concerns section below for more details.</p>\n </sqm-route>\n <sqm-route path="/bar"><h2>bar</h2>\n <p>Turns off the display of an element so that it has no effect on layout (the document is rendered as though the element did not exist). All descendant elements also have their display turned off.\n To have an element take up the space that it would normally take, but without actually rendering anything, use the visibility property instead.</p>\n </sqm-route>\n <sqm-route path="/baz/bang"><h3>baz/bang</h3>\n <pre>\n ▄▄▄▄▄▄▄░▄▄▄▄▄▄▄░▄▄▄▄▄▄░▄▄▄▄▄\n ░░▀███░░░░▀██░░░░██▀░░░░██░░\n ░░░▀██░░░░░▀██░░▄█░░░░░▄█░░░\n ░░░░███░░░░░▀██▄█░░░░░░█░░░░\n ░░░░░███░░░░░▀██░░░░░░█▀░░░░\n ░░░░░░███░░░░▄███░░░░█▀░░░░░\n ░░░░░░░██▄░░▄▀░███░░█▀░░░░░░\n ░░░░░░░▀██▄█▀░░░███▄▀░░░░░░░\n ░░░░░░░░▀██▀░░░░░███░░░░░░░░\n ░░░░░░░░░▀▀░░░░░░░▀░░░░░░░░░\n </pre>\n </sqm-route>\n <sqm-route path="/refer/:page"><h3>/refer/:page</h3>\n <pre>\n refer/:page\n </pre>\n </sqm-route>\n';var la=aa((function(){return r("div",null,r("button",{onClick:function(){return R.push("/")}},"/"),r("button",{onClick:function(){return R.push("/foo")}},"/foo"),r("button",{onClick:function(){return R.push("/bar")}},"/bar"),r("button",{onClick:function(){return R.push("/baz/bang")}},"/baz/bang"),r("button",{onClick:function(){return R.push("/refer")}},"/refer"),r("button",{onClick:function(){return R.push("/refer/1")}},"/refer/1"),r("button",{onClick:function(){return R.push("/refer/2")}},"/refer/2"),r("button",{onClick:function(){return R.back()}},"Back"),r("button",{onClick:function(){return R.forward()}},"Forward"),r("hr",null),r("sqm-router",{innerHTML:ia}))}));var ua=aa((function(){return r("div",null,r("button",{onClick:function(){return R.push("/")}},"/"),r("button",{onClick:function(){return R.push("/foo")}},"/foo"),r("button",{onClick:function(){return R.push("/bar")}},"/bar"),r("button",{onClick:function(){return R.push("/baz/bang")}},"/baz/bang"),r("button",{onClick:function(){return R.push("/refer")}},"/refer"),r("button",{onClick:function(){return R.push("/refer/1")}},"/refer/1"),r("button",{onClick:function(){return R.push("/refer/2")}},"/refer/2"),r("button",{onClick:function(){return R.back()}},"Back"),r("button",{onClick:function(){return R.forward()}},"Forward"),r("hr",null),r("sqm-router",{innerHTML:oa}))}));var da=aa((function(){return r("div",null,r("button",{onClick:function(){return R.push("/")}},"/"),r("button",{onClick:function(){return R.push("/foo")}},"/foo"),r("hr",null),r("div",{style:{display:"flex",justifyContent:"space-around"}},r("sqm-router",{innerHTML:'<template path="/">\n \n <div>Column 1</div>\n <div>Column 2 </div>\n </template>'})))}));function ca(e){var r=i(e),t=r[0],n=r[1];var a=i(e),s=a[0],o=a[1];function l(e){R.push(e.target.value)}return{states:{previewTemplate:s,editedTemplate:t},callbacks:{setEditedTemplate:n,setPreviewTemplate:o,setPath:l}}}var ma='\n<sqm-router>\n <template path="/">\n <div>hello world</div>\n </template>\n</sqm-router>\n';function pa(e){var t=e.states,n=e.callbacks;return[r("textarea",{style:{width:"100%",height:"300px"},onChange:function(e){return n.setEditedTemplate(e.target.value)}},t.editedTemplate),r("button",{onClick:function(){return n.setPreviewTemplate(t.editedTemplate)}},"Update Preview"),r("label",null,"Current path:",r("input",{onInput:n.setPath,value:"/"})),r("div",{innerHTML:t.previewTemplate})]}var ga=aa((function(){var e=ca(ma),t=e.states,n=e.callbacks;return r(pa,{states:t,callbacks:n})}));var fa=Object.freeze({__proto__:null,default:sa,TemplateNavigation:la,RouteNavigation:ua,Styling:da,RouterPlayground:ga});var ha={title:"Components/Leaderboard Rank"};var ba=function(){var e={data:{rank:"1st"}};return r("p",null,"Your rank is ",r(S,Object.assign({},e))," on the leaderboard")};var va=Object.freeze({__proto__:null,default:ha,First:ba});function xa(){var e="worried-camera@uexwltgh.mailosaur.net";var r=e;var t="a-referral-program";window.SquatchAndroid=true;window.widgetIdent={tenantAlias:"test_as36zjtpfy7oo",appDomain:"https://staging.referralsaasquatch.com",token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQifX0.-WGV4_bzGCFp-OTIO-h-yp0MlgtkdufT_GgI4T691OY",userId:e,accountId:r,programId:t};return{id:e,accountId:r}}function wa(){var e="a-referral-program";window.SquatchAndroid=true;window.widgetIdent={tenantAlias:"test_as36zjtpfy7oo",appDomain:"https://staging.referralsaasquatch.com",programId:e}}var ya={title:"Components/Portal Frame"};var Ea={data:{footer:r("span",null,"example@example.com"),header:r("div",{slot:"header",style:{display:"flex",flexDirection:"column"}},r("span",{style:{fontSize:"var(--sl-font-size-large)",fontWeight:"bold"}},"Portal Header"),r("span",{style:{fontSize:"var(--sl-font-size-small)"}},"A description for the portal"))},callbacks:{rerender:function(){}},ref:{current:undefined}};var Da=function(){var e=__assign({},Ea);return r(m,Object.assign({},e),r("sqm-navigation-menu",{"menu-label":"Menu"},r("sl-menu-item",{exportparts:"base: menuitem-base",value:"/widget"},"Dashboard"),r("sl-menu-item",{exportparts:"base: menuitem-base",value:"/editProfile"},"Edit Profile"),r("sl-menu-divider",null),r("sl-menu-item",{exportparts:"base: menuitem-base",value:"/logout"},"Logout")))};var _a=function(){var e=__assign({},Ea);return r(m,Object.assign({},e))};var qa=function(){var e;xa();return r("div",null,r("sqm-portal-frame",null,r("div",{slot:"header",style:{display:"flex",flexDirection:"column"}},r("span",{style:{fontSize:"var(--sl-font-size-large)",fontWeight:"bold"}},"Portal Header"),r("span",{style:{fontSize:"var(--sl-font-size-small)"}},"A description for the portal")),r("a",{slot:"footer",class:"FooterEmail",href:"mailto:referrals@servicetitan.com"},"referrals@servicetitan.com"),r("sqm-navigation-menu",{"menu-label":"Menu"},r("sl-menu-item",{exportparts:"base: menuitem-base",value:"/widget"},"Dashboard"),r("sl-menu-item",{exportparts:"base: menuitem-base",value:"/editProfile"},"Edit Profile"),r("sl-menu-divider",null),r("sl-menu-item",{exportparts:"base: menuitem-base",value:"/logout"},"Logout")),r("h1",null,"Something")),r("p",null,"Current path:"," ",r("code",null,r("strong",null,(e=T())===null||e===void 0?void 0:e.pathname))),r("button",{onClick:R.back},"Go Back"))};var Ca=function(){var e;wa();return r("div",null,r("sqm-portal-frame",null,r("div",{slot:"header",style:{display:"flex",flexDirection:"column"}},r("span",{style:{fontSize:"var(--sl-font-size-large)",fontWeight:"bold"}},"Portal Header"),r("span",{style:{fontSize:"var(--sl-font-size-small)"}},"A description for the portal")),r("span",{slot:"footer"},"sample@example.com"),r("sqm-navigation-menu",{"menu-label":"Menu"},r("sl-menu-item",{exportparts:"base: menuitem-base",value:"/widget"},"Dashboard"),r("sl-menu-item",{exportparts:"base: menuitem-base",value:"/editProfile"},"Edit Profile"),r("sl-menu-divider",null),r("sl-menu-item",{exportparts:"base: menuitem-base",value:"/logout"},"Logout")),r("h1",null,"Something")),r("p",null,"Current path:"," ",r("code",null,r("strong",null,(e=T())===null||e===void 0?void 0:e.pathname))),r("button",{onClick:R.back},"Go Back"))};var Aa=Object.freeze({__proto__:null,default:ya,FrameWithMenu:Da,FrameWithoutMenu:_a,FullStackFrame:qa,FullStackFrameLoggedOut:Ca});var ka={title:"Components/Edit Profile Form"};var Ra={states:{loading:false,submitDisabled:false,formState:{currentRegion:"Canada",firstName:"Bill",lastName:"Bob",errors:{},error:"An error string"},user:{firstName:"Bill",lastName:"Bob",email:"billbob@example.com"},showEdit:false,text:{editprofileheader:"Edit Profile",editprofiletext:"Update your profile.",firstnametext:"Bill",lastnametext:"Bob",canceltext:"Cancel",updatetext:"Update",currentregiontext:"Canada"}},callbacks:{onSubmit:function(e){console.log(e)},resetForm:function(){console.log("reset")},onChange:function(){console.log("change")},setShowEdit:function(e){console.log(e)}}};var Ta=function(){var e=Ra;return r(p,Object.assign({},e))};var Pa=function(){var e=__assign(__assign({},Ra),{states:__assign(__assign({},Ra.states),{showEdit:true})});return r(p,Object.assign({},e))};var Ia=function(){return r("sqm-edit-profile",{editprofileheader:"Edit Profile",editprofiletext:"Update your profile.",firstnametext:"Bill",lastnametext:"Bob",canceltext:"Cancel",updatetext:"Update",currentregiontext:"Current Region",showregion:true})};var Na=Object.freeze({__proto__:null,default:ka,EditProfileFormDisabled:Ta,EditProfileFormEnabled:Pa,FullStackFrameWithMenu:Ia});var Fa={title:"Hooks / useShareLink"};function Sa(){var e="testestest";var r=e;var t="sam-partner-test-2";window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:t};o((function(){P({accountId:r,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"});return function(){window.widgetIdent=undefined;P(undefined)}}),[])}var La=aa((function(){Sa();var e=g({programId:"sam-partner-test-2",tooltiplifespan:0,tooltiptext:""});return r("div",null,"Sharelink:"," ",r("code",{style:{borderStyle:"solid",borderWidth:"1px",padding:"2px"}},e.shareString))}));var Ba=aa((function(){Sa();return r(c,Object.assign({},g({programId:"sam-partner-test-2",tooltiptext:"Copied to clipboard",tooltiplifespan:1e3})))}));var Oa=aa((function(){Sa();return r(c,Object.assign({},g({programId:"sam-partner-test-2",tooltiptext:"⠀⠀⠀⠀⠀⠀⠀⠀⠀HELLO THERE!!!\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌\n⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌\n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡\n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔\n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰\n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌\n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌⠀\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀⠀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟\n⢀⢂⢑⠀⡂⡃⠅⠊⢄⢑⠠⠑⢕⢕⢝⢮⢺⢕⢟⢮⢊⢢⢱⢄⠃⣇⣞⢞⣞⢾\n⢀⠢⡑⡀⢂⢊⠠⠁⡂⡐⠀⠅⡈⠪⠪⠪⠣⠫⠑⡁⢔⠕⣜⣜⢦⡰⡎⡯⡾⡽",tooltiplifespan:500})))}));var ja=Object.freeze({__proto__:null,default:Fa,BareBonesView:La,RegularView:Ba,FastTooltip:Oa});var Va={title:"Hooks / useShareButton"};function Ma(){var e="testestest";var r=e;var t="sam-partner-test-2";window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:t};o((function(){P({accountId:r,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"});return function(){window.widgetIdent=undefined;P(undefined)}}),[])}var Ga=aa((function(){Ma();var e="sam-partner-test-2";var t=[f({programId:e,medium:"facebook"}),f({programId:e,medium:"twitter"}),f({programId:e,medium:"email"}),f({programId:e,medium:"direct"}),f({programId:e,medium:"sms"})];return r("div",null,t.map((function(e){return r("div",null,r("button",{onClick:e.onClick},"Share link (",e.medium,")"))})))}));var za=aa((function(){Ma();var e="sam-partner-test-2";var t=["facebook","twitter","email","direct","sms"];return r("div",null,t.map((function(t){return r("div",null,r("sqm-share-button",Object.assign({},{programId:e,medium:t}),"BUTTON_TEXT"))})))}));var Ha=Object.freeze({__proto__:null,default:Va,BareBonesView:Ga,RegularView:za});var Ua={title:"Hooks / useBigStat"};function Wa(){var e="nynellie";var r=e;var t="ny-post-referrals";window.widgetIdent={tenantAlias:"test_a7yoz8854cf6x",appDomain:"https://staging.referralsaasquatch.com",programId:t};o((function(){P({accountId:r,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6Im55bmVsbGllIiwiaWQiOiJueW5lbGxpZSJ9fQ.3KV974VPLgk4tD8LQfJTi4IPkKCmnaB8w48HzVJYDuI"});return function(){window.widgetIdent=undefined;P(undefined)}}),[])}var $a=function(e,t){console.log('View("'+e+'") - CALLED');Wa();var n=L({statType:e,render:function(){},disconnectedCallback:function(){},ignored:true}),a=n.props,s=n.label;return r("div",null,r("b",null,"Stat format:"),r("pre",null,t),r("br",null),r("b",null,"Stat selected:")," ",r("pre",{style:{color:"green"}},e),r(q,Object.assign({},a),s))};var Ja=function(){var e=i("/someRandomThing/with/someArguments/1234"),t=e[0],n=e[1];var a=B({statType:t,render:function(){},disconnectedCallback:function(){},ignored:true}),s=a.props,o=a.label;return r("div",null,r("div",null,"Stat type:"," ",r("input",{style:{width:"300px"},type:"text",value:t,onInput:function(e){return n(e.target.value)}})),r("hr",null),r("div",null,r(q,Object.assign({},s),o)))};var Xa=aa(Ja);var Ya=aa((function(){return $a("/referralsCount","/(referralsCount)/:status?")}));var Za=aa((function(){return $a("/referralsCount/converted","/(referralsCount)/:status?")}));var Ka=aa((function(){return $a("/referralsCount/started","/(referralsCount)/:status?")}));var Qa=aa((function(){return $a("/referralsMonth","/(referralsMonth)")}));var es=aa((function(){return $a("/referralsWeek","/(referralsWeek)")}));var rs=aa((function(){return $a("/rewardsCount","/(rewardsCount)/:global?")}));var ts=aa((function(){return $a("/rewardsCount/global","/(rewardsCount)/:global")}));var ns=aa((function(){return $a("/rewardsCountFiltered/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var as=aa((function(){return $a("/rewardsCountFiltered/PCT_DISCOUNT/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var ss=aa((function(){return $a("/rewardsCountFiltered/PCT_DISCOUNT/PENDING/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var is=aa((function(){return $a("/rewardsCountFiltered/CREDIT/COFFEE","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var os=aa((function(){return $a("/rewardsCountFiltered/CREDIT/COFFEE/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var ls=aa((function(){return $a("/rewardsCountFiltered/CREDIT/COFFEE/PENDING/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var us=aa((function(){return $a("/rewardsCountFiltered/AVAILABLE","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var ds=aa((function(){return $a("/integrationRewardsCountFiltered/AVAILABLE/global","/(integrationRewardsCountFiltered)/:format([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var cs=aa((function(){return $a("/integrationRewardsCountFiltered/PENDING/global","/(integrationRewardsCountFiltered)/:format([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var ms=aa((function(){return $a("/rewardsMonth","/(rewardsMonth)/:global?")}));var ps=aa((function(){return $a("/rewardsWeek","/(rewardsWeek)/:global?")}));var gs=aa((function(){return $a("/rewardsAssigned/CREDIT/COFFEE","/(rewardsAssigned)/:statType/:unit/:global?")}));var fs=aa((function(){return $a("/rewardsAssigned/CREDIT/CASH%2FUSD","/(rewardsAssigned)/:statType/:unit/:global?")}));var hs=aa((function(){return $a("/rewardsRedeemed/CREDIT/COFFEE","/(rewardsRedeemed)/:statType/:unit/:global?")}));var bs=aa((function(){return $a("/rewardsAvailable/CREDIT/COFFEE","/(rewardsAvailable)/:statType/:unit/:global?")}));var vs=aa((function(){return $a("/rewardsAvailable/CREDIT/CASH%2FUSD","/(rewardsAvailable)/:statType/:unit/:global?")}));var xs=aa((function(){return $a("/rewardBalance/CREDIT/COFFEE/prettyValue","/(rewardBalance)/:statType/:unit/:format([prettyValue|value]*)?/:global?")}));var ws=aa((function(){var e=encodeURIComponent("CASH/USD");return $a("/rewardBalance/CREDIT/"+e+"/prettyValue","/(rewardBalance)/:statType/:unit/:format([prettyValue|value]*)?/:global?")}));var ys=aa((function(){var e=encodeURIComponent("Paid-Member-Goal/referrals");return $a("/programGoals/count/"+e,"/(programGoals)/:metricType/:goalId")}));var Es=aa((function(){return $a("/customFields/thingCount","/(customFields)/:customField")}));var Ds=Object.freeze({__proto__:null,default:Ua,Demo:Xa,ReferralsCount:Ya,referralsConvertedCount:Za,referralsStartedCount:Ka,ReferralsMonth:Qa,ReferralsWeek:es,RewardsCount:rs,GlobalRewardsCount:ts,GlobalRewardsCountFiltered:ns,GlobalRewardsCountPctDiscount:as,GlobalRewardsCountPctDiscountPending:ss,RewardsCountByUnit:is,GlobalRewardsCountByUnit:os,GlobalPendingRewardsCount:ls,RewardsAvailableCount:us,GlobalRewardsCountByIntegration:ds,GlobalRewardsCountByPendingIntegration:cs,RewardsMonth:ms,RewardsWeek:ps,RewardsAssigned:gs,RewardsAssignedCashUSD:fs,RewardsRedeemed:hs,RewardsAvailable:bs,RewardsAvailableWithSlash:vs,RewardBalance:xs,RewardBalanceCashUSD:ws,ProgramGoals:ys,CustomField:Es});function _s(){var e="worried-camera@uexwltgh.mailosaur.net";var r=e;var t="a-referral-program";window.widgetIdent={tenantAlias:"test_as36zjtpfy7oo",appDomain:"https://staging.referralsaasquatch.com",programId:t};o((function(){P({accountId:r,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJmaXJzdE5hbWUiOiJ0ZXN0IiwibGFzdE5hbWUiOiJ0ZXN0In19.ziDWbdCwsTo1ijxl8d2__Ga-6iFOVShaJUPp2ZBMeO0"});return function(){window.widgetIdent=undefined;P(undefined)}}),[])}var qs={title:"Hooks / useEditProfile"};var Cs=aa((function(){_s();return r("sqm-edit-profile",Object.assign({},{editprofileheader:"HEADER",editprofiletext:"TEXT",firstnametext:"FIRST NAME",lastnametext:"LAST NAME",canceltext:"CANCEL",updatetext:"UPDATE",currentregiontext:"CURRENT REGION TEXT"}))}));var As=Object.freeze({__proto__:null,default:qs,RegularView:Cs});var ks={title:"Hooks / useLeaderboard"};function Rs(){var e="testestest";var r=e;var t="sam-partner-test-2";window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:t};o((function(){P({accountId:r,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"});return function(){window.widgetIdent=undefined;P(undefined)}}),[])}var Ts=function(e){var t=__assign({leaderboardType:"topConvertedReferrers",showRank:true,rankType:"rowNumber",usersheading:"Top Referrers",statsheading:"Completed Referrals",interval:"",empty:r("span",null,"No Referrals"),loadingstate:r("span",null,"Loading")},e);var n=t.leaderboardType,a=t.rankType;console.log('View("'+n+'") - CALLED');Rs();var s=A(t),i=s.states,o=s.data,l=s.elements;return r("div",{style:{marginBottom:"20px"}},r("sqm-divided-layout",{direction:"row"},r("div",{style:{padding:"10px"}},r("b",null,"Leaderboard Type"),r("pre",null,n)),r("div",{style:{padding:"10px"}},r("b",null,"Rank Type"),r("pre",null,a))),r(C,{states:i,data:o,elements:l}),r("hr",null))};var Ps=aa((function(){return[Ts(),Ts({rankType:"rank"}),Ts({rankType:"denseRank"})]}));var Is=aa((function(){return[Ts({leaderboardType:"topStartedReferrers",statsheading:"New Referrals"}),Ts({leaderboardType:"topStartedReferrers",rankType:"rank",statsheading:"New Referrals"}),Ts({leaderboardType:"topStartedReferrers",rankType:"denseRank",statsheading:"New Referrals"})]}));var Ns=Object.freeze({__proto__:null,default:ks,TopConvertedReferrers:Ps,TopStartedReferrers:Is});var Fs={title:"Components/Form Message"};var Ss=function(){return r("sqm-form-message",{type:"success"},r("div",null,"This is a success message."))};var Ls=function(){return r("sqm-form-message",{type:"error"},r("div",null,"This is an error message"))};var Bs=function(){return r("sqm-form-message",{type:"info"},r("div",null,"This is an info message"))};var Os=function(){return r("sqm-form-message",{type:"success",exportparts:"successalert-icon"},r("div",{class:"AlertContent"},r("div",{part:"successalert-text"},"Title"),r("div",{part:"successalert-subtext"},"Body text."),r("sl-button",{type:"default",exportparts:"base: defaultbutton-base",onClick:function(){console.log("click")}},"Primary Action"),r("sl-button",{class:"SecondaryTextButton",type:"text",onClick:function(){console.log("click")}},"Secondary Action")))};var js=Object.freeze({__proto__:null,default:Fs,SuccessAlert:Ss,ErrorAlert:Ls,InfoAlert:Bs,FullStackSuccess:Os});var Vs=I.gql(__makeTemplateObject(["\n mutation exchange($exchangeRewardInput: ExchangeRewardInput!) {\n exchangeReward(exchangeRewardInput: $exchangeRewardInput) {\n reward {\n id\n }\n }\n }\n"],["\n mutation exchange($exchangeRewardInput: ExchangeRewardInput!) {\n exchangeReward(exchangeRewardInput: $exchangeRewardInput) {\n reward {\n id\n }\n }\n }\n"]));var Ms={title:"Hooks / useRewardExchange"};function Gs(){var e="testestest";var r=e;var t="sam-partner-test-2";window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:t};o((function(){P({accountId:r,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"});return function(){window.widgetIdent=undefined;P(undefined)}}),[]);return{id:e,accountId:r}}function zs(){var e=Gs(),r=e.id,t=e.accountId;var n=i(10),a=n[0],s=n[1];var o=i(100),l=o[0],u=o[1];var d=N(Vs),c=d[0],m=d[1],p=m.data,g=m.errors;return{states:{points:a,rate:l},data:{id:r,accountId:t,data:p,errors:g},callbacks:{exchange:c,setPoints:s,setRate:u}}}var Hs=function(e){var t=e.states,n=e.data,a=e.callbacks;return r("div",null,r("div",null,r("label",null,"Rate:"),r("input",{value:t.rate,onInput:function(e){return a.setRate(e.target.value)}})),r("input",{value:t.points,onInput:function(e){return a.setPoints(e.target.value)}}),r("button",{onClick:function(){return a.exchange(e.input)}},"Exchange"),r("details",null,r("summary",null,"response"),r("h4",null,"data"),r("div",{style:{maxWidth:"500px"}},r("pre",{style:{width:"500px",whiteSpace:"pre-wrap"}},JSON.stringify(n.data))),r("h4",null,"errors"),r("div",{style:{maxWidth:"500px"}},r("pre",{style:{maxWidth:"500px",whiteSpace:"pre-wrap"}},JSON.stringify(n.errors)))))};var Us=aa((function(){Gs();return r("sqm-reward-exchange-list",{"list-type":"something"})}));var Ws=aa((function(){var e=zs(),t=e.states,n=e.data,a=e.callbacks;return r(Hs,{states:t,data:n,callbacks:a,input:{exchangeRewardInput:{userId:n.id,accountId:n.accountId,redeemCreditInput:{amount:t.points,unit:"POINT"},globalRewardKey:"gc1"}}})}));var $s=aa((function(){var e=zs(),t=e.states,n=e.data,a=e.callbacks;return r(Hs,{states:t,data:n,callbacks:a,input:{exchangeRewardInput:{userId:n.id,accountId:n.accountId,redeemCreditInput:{amount:t.points,unit:"POINT"},globalRewardKey:"gc1",rewardInput:{valueInCents:Math.ceil(t.points*t.rate)}}}})}));var Js=aa((function(){var e=zs(),t=e.states,n=e.data,a=e.callbacks;return r(Hs,{states:t,data:n,callbacks:a,input:{exchangeRewardInput:{userId:n.id,accountId:n.accountId,redeemCreditInput:{amount:t.points,unit:"POINT"},rewardInput:{type:"CREDIT",unit:"foo",assignedCredit:Math.ceil(t.points*t.rate)}}}})}));var Xs=Object.freeze({__proto__:null,default:Ms,RewardList:Us,FixedGlobalReward:Ws,VariableGlobalReward:$s,VariableCreditReward:Js});var Ys={title:"Hooks / useRewardsTable"};function Zs(){var e="testestest";var r=e;window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com"};o((function(){P({accountId:r,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"});return function(){window.widgetIdent=undefined;P(undefined)}}),[]);return{id:e,accountId:r}}function Ks(e){var r=e.token,t=e.id;var n=t;window.widgetIdent={tenantAlias:"test_a74miwdpofztj",appDomain:"https://staging.referralsaasquatch.com"};o((function(){P({accountId:n,id:t,jwt:r});return function(){window.widgetIdent=undefined;P(undefined)}}),[]);return{id:t,accountId:n}}var Qs=aa((function(){Zs();F("sam-partner-test-2");return r("sqm-rewards-table",null,r("sqm-rewards-table-reward-column",null),r("sqm-rewards-table-status-column",null),r("sqm-rewards-table-source-column",null),r("sqm-rewards-table-date-column",null))}));var ei=aa((function(){Zs();F(undefined);return r("sqm-rewards-table",null,r("sqm-rewards-table-reward-column",null),r("sqm-rewards-table-status-column",null),r("sqm-rewards-table-source-column",null),r("sqm-rewards-table-date-column",null))}));var ri=aa((function(){Ks({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",id:"samenglish"});F(undefined);return r("sqm-rewards-table",{"per-page":"4"},r("sqm-rewards-table-reward-column",null),r("sqm-rewards-table-status-column",null),r("sqm-rewards-table-source-column",null),r("sqm-rewards-table-date-column",null))}));var ti=aa((function(){Ks({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",id:"samturkey"});F(undefined);return r("sqm-rewards-table",{"per-page":"4","more-label":"Daha","prev-label":"Öncesi","empty-state-text":"Henüz Referans Yok"},r("sqm-rewards-table-reward-column",{"column-title":"Ödüller","redeemed-text":"{redeemedAmount} kullanıldı","available-text":"{availableAmount} mevcut"}),r("sqm-rewards-table-source-column",{"column-title":"Kullanıcılar","anonymous-user":"Anonim Kullanıcı","deleted-user":"Silinmiş Kullanıcı","reward-exchange-text":"Ödülleri Kulannın","referral-text":"{rewardSource, select, FRIEND_SIGNUP {Referans} REFERRED {Yönlendiren} other {}}","reward-source-text":"{rewardSource, select, MANUAL {Manuel} AUTOMATED {Otomatik} other {}}"}),r("sqm-rewards-table-status-column",{"column-title":"Statut","status-text":"{status, select, AVAILABLE {Mevcut} PENDING {Bekleniyor} EXPIRED {Geçmiş} REDEEMED {Kullanılmış} CANCELED {İptal Edildi} other {Kullanılamaz} }","expiry-text":"Bitiyor "}),r("sqm-rewards-table-date-column",{"column-title":"Tarih"}))}));var ni=aa((function(){Ks({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",id:"samfrench"});F(undefined);return r("sqm-rewards-table",{"per-page":"4","more-label":"Plus","prev-label":"Précédent","empty-state-text":"Aucune Récompenses Maintenant"},r("sqm-rewards-table-reward-column",{"column-title":"Récompenses","redeemed-text":"{redeemedAmount} rachetée","available-text":"{availableAmount} disponible"}),r("sqm-rewards-table-source-column",{"column-title":"Utilisateur","anonymous-user":"Utilisateur Anonyme","deleted-user":"Utilisateur Supprimé","reward-exchange-text":"Échange de Récompenses","referral-text":"{rewardSource, select, FRIEND_SIGNUP {Référence à} REFERRED {Référencé par} other {}}","reward-source-text":"{rewardSource, select, MANUAL {Manuel} AUTOMATED {Automatique} other {}}"}),r("sqm-rewards-table-status-column",{"column-title":"Statut","status-text":"{status, select, AVAILABLE {Disponible} PENDING {Pendant} EXPIRED {Expiré} REDEEMED {Racheté} CANCELED {Annulé} other {Indisponible} }","expiry-text":"Expire sur "}),r("sqm-rewards-table-date-column",{"column-title":"Date de Réception"}))}));var ai=Object.freeze({__proto__:null,default:Ys,RewardsTableWithProgram:Qs,RewardsTableNoProgram:ei,RewardsTableEn:ri,RewardsTableTr:ti,RewardsTableFr:ni});var si="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbStrbGlwQHNhYXNxdWF0LmNoIiwiaWQiOiJzYW0ra2xpcEBzYWFzcXVhdC5jaCIsImVtYWlsIjoic2FtK2tsaXBAc2Fhc3F1YXQuY2giLCJsb2NhbGUiOiJlbiJ9fQ.a2nYYrSJ81FHXlCU-Sqp_-wquQizinHBhzwzULDzimg";var ii={title:"Hooks / useTaskCard"};function oi(){var e="sam+klip@saasquat.ch";var r=e;var t="klip-referral-program";window.widgetIdent={tenantAlias:"test_a74miwdpofztj",appDomain:"https://staging.referralsaasquatch.com",programId:t};o((function(){P({accountId:r,id:e,jwt:si});return function(){window.widgetIdent=undefined;P(undefined)}}),[]);return{id:e,accountId:r}}var li=aa((function(){oi();return r("sqm-task-card",{"card-title":"Comment on 5 articles","button-text":"Start reading",goal:5,steps:true,"show-progress-bar":true,"event-key":"testEvent","open-new-tab":true})}));var ui=aa((function(){oi();return r("sqm-card-feed",null,r("sqm-task-card",{"reward-amount":"75","card-title":"Refer a Friend",description:"Invite a friend to Klip and get 75 points when they signup for a free trial or contact our us about an enterprise license.","button-text":"Start referring","button-link":"https://klip-staging.vercel.app/app/klip-rewards",goal:1,repeatable:true,"completed-text":"",demoData:"","ended-message":"","event-key":"","expiry-message":"","progress-bar-unit":"","reward-duration":"2022-01-04T08:00:00.000Z/2022-01-20T08:00:00.000Z","reward-unit":"","starts-on-message":"","stat-type":"","display-duration":"2022-01-04T08:00:00.000Z/2022-01-05T08:00:00.000Z"}),r("sqb-program-section",{"program-id":"klip-loyalty"},r("sqm-task-card",{"reward-amount":"50","card-title":"Follow Us on Twitter",description:"Earn 50 points when you follow us on Twitter!","button-text":"Follow","button-link":"https://twitter.com/",goal:1,"stat-type":"/programGoals/count/Follow-on-Social-Media","open-new-tab":"true","event-key":"socialFollow"})),r("sqm-task-card",{"reward-amount":"250",goal:500,"show-progress-bar":"true","card-title":"Spend $500 on Klip Products",description:"Earn 250 points when you spend $500 or more on Klip products.","button-text":"See plans","button-link":"https://klip-staging.vercel.app/app/plans","stat-type":"/customFields/purchaseTotal","open-new-tab":"false"}),r("sqb-program-section",{"program-id":"klip-loyalty"},r("sqm-task-card",{"reward-amount":"25",goal:1,"card-title":"Upload Your First Video",description:"Earn 25 points for exploring the Klip platform when you upload your first video.","button-text":"Upload","button-link":"https://klip-staging.vercel.app/app","stat-type":"/programGoals/count/Record-First-Video","open-new-tab":"false"})),r("sqm-task-card",{"reward-amount":"100",goal:5,repeatable:true,"show-progress-bar":"true",steps:true,"card-title":"Share 5 Videos",description:"Earn 100 points for collaborating each time you share 5 videos.","button-text":"Share","button-link":"https://klip-staging.vercel.app/app","stat-type":"/customFields/videosShared","open-new-tab":"false"}),r("sqb-program-section",{"program-id":"klip-loyalty"},r("sqm-task-card",{"reward-amount":"1","reward-unit":"Free Month",goal:1,"card-title":"Upgrade Your Plan",description:"Buy a Business or Enterprise plan and get 1 free month of Klip for being a committed customer.","button-text":"Upgrade","button-link":"https://klip-staging.vercel.app/app/plans","stat-type":"/programGoals/count/Upgrade-Plan","open-new-tab":"false"})),r("sqm-task-card",{"reward-amount":"200",goal:5,"show-progress-bar":"","card-title":"Purchase 5 Seats",description:"Earn 200 points when you expand your Klip Team by purchasing 5 or more seats.","button-text":"Purchase seats","button-link":"https://klip-staging.vercel.app/app/plans","stat-type":"/customFields/seatCount"}),r("sqm-task-card",{"reward-amount":"250",goal:1,"show-progress-bar":"","card-title":"Upload 1 Hour of Video",description:"Record and upload an hour of video and get 250 points for being a super user.","button-text":"Upload","button-link":"https://klip-staging.vercel.app/app","stat-type":"/customFields/videoHoursCount","progress-bar-unit":"","reward-unit":"Points"}),r("sqb-program-section",{"program-id":"klip-loyalty"},r("sqm-task-card",{"reward-amount":"100",goal:1,"card-title":"Complete an NPS Survey",description:"Fill out our NPS survey and get 100 points for giving us honest feedback. Be sure to use your Klip account email when completing the survey.","button-text":"Complete survey","button-link":"https://y5tqgj96plv.typeform.com/to/p6N7lHUk","stat-type":"/programGoals/count/NPS-Survey","reward-unit":"Points","open-new-tab":"true"})),r("sqb-conditional-section",{condition:"'champion' in user.segments"},r("sqb-program-section",{"program-id":"klip-loyalty"},r("sqm-task-card",{"reward-amount":"$100",goal:1,"card-title":"Complete a Case Study",description:"Write a Klip case study and earn a $100 Visa Gift Card for letting us know how Klip has helped your team succeed.","button-text":"Complete case study","button-link":"https://y5tqgj96plv.typeform.com/to/CPhkFBBW","stat-type":"/programGoals/count/Case-Study","reward-unit":"Visa Gift Card","open-new-tab":"true"}))))}));var di=Object.freeze({__proto__:null,default:ii,TaskCard:li,TaskCardFeed:ui});var ci={title:"New Portal"};var mi={HeaderSubtitleBold:{"font-weight":500,"text-decoration":"underline"}};var pi=O(mi);var gi=pi.toString();var fi={data:{programs:[{key:"program1",label:"My Referral Program"},{key:"program2",label:"My Rewards Program"}]}};var hi={states:{active:false},data:{label:"Dashboard",icon:"house",path:"/"}};var bi={states:{active:true},data:{label:"Activity",icon:"bar-chart",path:"/"}};var vi=function(){return r(j,Object.assign({},fi),r(V,Object.assign({},hi)),r(V,Object.assign({},bi)))};var xi=function(){var e={shareString:"https://ssqt.co/johnsmithrox",open:false,disabled:false,tooltiptext:"Share link copied",onClick:function(){return console.log("Share link copied")}};var t={shareString:"JOHNSMITH1",open:false,disabled:false,tooltiptext:"Share code copied",onClick:function(){return console.log("Share code copied")}};var n={medium:"twitter",loading:false,disabled:false,pill:true,type:"default",size:"medium",icon:"twitter",hideicon:false,iconslot:"prefix",onClick:function(){return"Facebook share clicked"},hide:false};var a={medium:"facebook",loading:false,disabled:false,pill:true,type:"default",size:"medium",icon:"facebook",hideicon:false,iconslot:"prefix",onClick:function(){return"Facebook share clicked"},hide:false};var s={medium:"linkedin",loading:false,disabled:false,pill:true,type:"default",size:"medium",icon:"linkedin",hideicon:false,iconslot:"prefix",onClick:function(){return"Facebook share clicked"},hide:false};return r("sqm-divided-layout",{direction:"row"},r("style",{type:"text/css"},gi),r(vi,null),r("sqm-divided-layout",{direction:"column"},r(G,Object.assign({},{direction:"column",padding:"xxx-large",gap:"xxx-large"}),r(M,Object.assign({},{labelMargin:"xx-small",padding:"none",label:r("sqm-text",null,r("p",null,"Welcome back,")),content:r("sqm-text",null,r("h1",null,"John Smith"))})),r(z,Object.assign({},{space:"64px"}),r(q,Object.assign({},{statvalue:"2,345",value:234500,loading:false}),"Clicks"),r(q,Object.assign({},{statvalue:"58",value:58,loading:false}),"Referrals"),r(q,Object.assign({},{statvalue:"$10,540",value:1054e3,loading:false}),"Earned"),r(q,Object.assign({},{statvalue:"$2,305",value:230500,loading:false}),"Awaiting Payout"))),r(G,Object.assign({},{direction:"column",padding:"xxx-large",gap:"xxx-large"}),r(M,Object.assign({},{labelMargin:"x-large",padding:"none",label:r("sqm-text",null,r("h2",null,"Partner and Profit")),content:r("sqm-text",null,r("p",null,"Get rewarded for referring potential customers to MyCompany. Earn commission for each successful lead you send our way"))})),r(M,Object.assign({},{labelMargin:"small",padding:"none",label:r("sqm-text",null,r("h3",null,"Share your referral link")),content:r(c,Object.assign({},e))})),r(M,Object.assign({},{labelMargin:"small",padding:"none",label:r("sqm-text",null,r("h3",null,"Share your referral code")),content:r(c,Object.assign({},t))})),r(M,Object.assign({},{labelMargin:"small",padding:"none",label:r("sqm-text",null,r("h3",null,"Share via social media")),content:r(G,Object.assign({},{direction:"row",padding:"large",gap:"xxx-large",minWidth:"150px"}),r(d,Object.assign({},n),"Tweet about us"),r(d,Object.assign({},a),"Share on Facebook"),r(d,Object.assign({},s),"Post on Linkedin"))})))))};var wi=function(){return r("sqm-divided-layout",{direction:"row"},r("style",{type:"text/css"},gi),r(vi,null),r("sqm-divided-layout",{direction:"column"},r(H,Object.assign({},{states:{success:false,loading:false,submitDisabled:false,showCountry:false,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}})),r(h,Object.assign({},{states:{open:true,error:"",loading:false,success:false,content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:function(){return console.log("open")},submit:function(){return console.log("submit")}}}))))};var yi=function(){return r("sqm-divided-layout",{direction:"row"},r("style",{type:"text/css"},gi),r(vi,null),r("sqm-divided-layout",{direction:"column"},r(G,Object.assign({},{direction:"column",padding:"xxx-large",gap:"xxx-large"}),r(M,Object.assign({},{labelMargin:"xx-small",padding:"none",label:r("sqm-text",null,r("h2",null,"Commissions")),content:r("sqm-text",null,r("p",null,"for the"," ",r("span",{class:pi.classes.HeaderSubtitleBold},"Partner Program #1")," ","program"))})),r(z,Object.assign({},{space:"64px"}),r(q,Object.assign({},{statvalue:"$ 1,000",value:1e5,loading:false}),"Total Earned"),r(q,Object.assign({},{statvalue:"$ 800",value:8e4,loading:false}),"Available"),r(q,Object.assign({},{statvalue:"$ 180",value:18e3,loading:false}),"Pending"),r(q,Object.assign({},{statvalue:"$ 20",value:2e3,loading:false}),"Redeemed")))))};var Ei=function(){return r("sqm-divided-layout",{direction:"row"},r("style",{type:"text/css"},gi),r(vi,null),r("sqm-divided-layout",{direction:"column"},r(G,Object.assign({},{direction:"column",padding:"xxx-large",gap:"xxx-large"}),r(M,Object.assign({},{labelMargin:"xx-small",padding:"none",label:r("sqm-text",null,r("h2",null,"Activity")),content:r("sqm-text",null,r("p",null,"for the"," ",r("span",{class:pi.classes.HeaderSubtitleBold},"Partner Program #1")," ","program"))})),r(M,Object.assign({},{labelMargin:"x-large",padding:"none",label:r("sqm-text",null,r("h3",null,"Referral Activity")),content:r(z,Object.assign({},{space:"64px"}),r(q,Object.assign({},{statvalue:"1,000",value:1e5,loading:false}),"Total Referrals"),r(q,Object.assign({},{statvalue:"800",value:800,loading:false}),"Converted"),r(q,Object.assign({},{statvalue:"180",value:180,loading:false}),"Pending"),r(q,Object.assign({},{statvalue:"20",value:20,loading:false}),"Disqualified"))}))),r(M,Object.assign({},{labelMargin:"x-large",padding:"xxx-large",label:r("sqm-text",null,r("h3",null,"Traffic Generated")),content:r(z,Object.assign({},{space:"64px"}),r(q,Object.assign({},{statvalue:"1,000",value:1e3,loading:false}),"Clicks"),r(q,Object.assign({},{statvalue:"800",value:800,loading:false}),"From share link"),r(q,Object.assign({},{statvalue:"180",value:180,loading:false}),"From share mediums"))}))))};var Di=Object.freeze({__proto__:null,default:ci,Dashboard:xi,EditProfile:wi,Commissions:yi,Activity:Ei});var _i={title:"Components/Sidebar Item"};var qi=function(){var e={states:{active:false},data:{label:"Dashboard",icon:"house",path:"/"}};return r(V,Object.assign({},e))};var Ci=function(){var e={states:{active:true},data:{label:"Dashboard",icon:"house",path:"/"}};return r(V,Object.assign({},e))};var Ai=Object.freeze({__proto__:null,default:_i,InactiveItem:qi,ActiveItem:Ci});var ki={title:"Components/Navigation Sidebar"};var Ri=function(){var e={data:{programs:[{key:"program1",label:"My Referral Program"},{key:"program2",label:"My Rewards Program"}]}};var t={states:{active:false},data:{label:"Dashboard",icon:"house",path:"/"}};var n={states:{active:true},data:{label:"Activity",icon:"bar-chart",path:"/"}};return r(j,Object.assign({},e),r(V,Object.assign({},t)),r(V,Object.assign({},n)))};var Ti=Object.freeze({__proto__:null,default:ki,DefaultNavigationSidebar:Ri});var Pi={title:"Components/Portal Login"};var Ii={states:{error:"",loading:false,forgotPasswordPath:"/forgotPassword",registerPath:"/register"},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))}},content:{pageLabel:"Sign in to your account"}};var Ni={states:{error:"Something went wrong. Please try again.",loading:false,forgotPasswordPath:"/forgotPassword",registerPath:"/register"},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))}},content:{pageLabel:"Sign in to your account"}};var Fi={states:{error:"",loading:true,forgotPasswordPath:"/forgotPassword",registerPath:"/register"},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))}},content:{pageLabel:"Sign in to your account"}};var Si=function(){return r(b,Object.assign({},Ii))};var Li=function(){return r(b,Object.assign({},Ni))};var Bi=function(){return r(b,Object.assign({},Fi))};var Oi=Object.freeze({__proto__:null,default:Pi,Default:Si,LoginWithError:Li,LoginLoading:Bi});var ji={title:"Components/Portal Register"};var Vi={states:{error:"",loading:false,confirmPassword:true,hideInputs:false,loginPath:"/login"},callbacks:{submit:function(){return console.log("Submit!")},inputFunction:function(){}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password"}};var Mi={states:{error:"Something went wrong. Please try again.",loading:false,confirmPassword:true,hideInputs:false,loginPath:"/login"},callbacks:{submit:function(){return console.log("Submit!")},inputFunction:function(){}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password"}};var Gi={states:{error:"",loading:true,confirmPassword:true,hideInputs:false,loginPath:"/login"},callbacks:{submit:function(){return console.log("Submit!")},inputFunction:function(){}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password"}};var zi={states:{error:"",loading:false,confirmPassword:true,hideInputs:false,loginPath:"/login"},callbacks:{submit:function(){return console.log("Submit!")},inputFunction:function(){}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password",formData:r("div",null,r("sl-input",{style:{marginBottom:"var(--sl-spacing-x-large)"},exportparts:"label: input-label",label:"Slotted Input",required:true}),r("sl-input",{exportparts:"label: input-label",label:"Slotted Input 2",required:true}))}};var Hi=function(){return r(v,Object.assign({},Vi))};var Ui=function(){return r(v,Object.assign({},Mi))};var Wi=function(){return r(v,Object.assign({},Gi))};var $i=function(){return r("sqm-portal-register",{demoData:{states:{error:"",loading:true,confirmPassword:true,hideInputs:true,loginPath:"/login"}}})};var Ji=function(){return r(v,Object.assign({},zi))};var Xi=function(){return r(v,Object.assign({},Vi,{content:__assign(__assign({},Vi.content),{terms:r("p",null,"By signing up you agree to the"," ",r("a",{href:"https://example.com",target:"_blank"},"Terms and Conditions"))})}))};var Yi=Object.freeze({__proto__:null,default:ji,Default:Hi,RegisterWithError:Ui,RegisterLoading:Wi,FieldsHidden:$i,SlottedInputs:Ji,TermsAndConditions:Xi});var Zi='@author:derek\r\n@owner:ian\r\nFeature: Forgot Password\r\n\r\n @motivating\r\n Scenario: Users can request to reset their password\r\n Given a user enters their email address\r\n And that email address is linked to a previously created account\r\n When they click "Reset Password"\r\n Then the button enters a loading state\r\n When the password reset email is sent\r\n Then a confirmation banner is shown stating a password reset email was sent\r\n\r\n @motivating\r\n Scenario: Users are notified if sending their password reset email fails\r\n Given a user enters their email address\r\n And that email address is linked to a previously created account\r\n When they click "Reset Password"\r\n Then the button enters a loading state\r\n When the password reset email fails to send\r\n Then the user does not receive a password reset email\r\n And an error banner is shown stating that they should try again\r\n\r\n @motivating\r\n @landmine\r\n Scenario: If the input email is not associated to an account a success banner is shown but an email is not be sent\r\n Given the user entered an email address that is not associated to an accoun\r\n When they click "Reset Password"\r\n Then the button enters a loading state\r\n But no email is sent\r\n And a success banner is shown stating a password reset email was sent if the given email was associated to an account\r\n\r\n @motivating\r\n Scenario: Users can resend password reset email\r\n Given a user had previously requested to reset their password\r\n When they enter their email address\r\n And that email address is linked to a previously created account\r\n And they click "Reset Password"\r\n Then the user receives a second password reset email\r\n And a success banner is shown stating that their email was sent\r\n\r\n @motivating\r\n Scenario Outline: The email link can be configured to redirect users to a specific base path but defaults to "/resetPassword"\r\n Given a user viewing the password reset component\r\n And the component <mayHave> "redirect-path" with <value>\r\n When they request a password reset email\r\n And they click the link in the email\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn\'t have | N/A | /resetPassword |\r\n | has | /resetMyPassword | /resetMyPassword |\r\n\r\n @minutae\r\n Scenario Outline: Navigation back to the login page can be customized but defaults to "/login"\r\n Given a user viewing the password reset component\r\n And the component <mayHave> "login-path" with <value>\r\n Then they see a "Sign In" text button\r\n When they click "Sign In"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn\'t have | N/A | /login |\r\n | has | /signin | /signin |';var Ki={title:"Components/Portal Forgot Password",parameters:{scenario:Zi}};var Qi={states:{error:"",loading:false,success:false,loginPath:"/login"},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))}},content:{secondaryButton:"Cancel",messageSlot:"Enter your email below to receive a password reset link."}};var eo={states:{error:"Something went wrong. Please try again.",loading:false,success:false,loginPath:"/login"},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))}},content:{secondaryButton:"Cancel",messageSlot:"Enter your email below to receive a password reset link."}};var ro={states:{error:"",loading:true,success:false,loginPath:"/login"},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))}},content:{secondaryButton:"Cancel",messageSlot:"Enter your email below to receive a password reset link."}};var to={states:{error:"",loading:false,success:true,loginPath:"/login"},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))}},content:{secondaryButton:"Cancel",messageSlot:"Enter your email below to receive a password reset link."}};var no=function(){return r(U,Object.assign({},Qi))};var ao=function(){return r(U,Object.assign({},eo))};var so=function(){return r(U,Object.assign({},ro))};var io=function(){return r(U,Object.assign({},to))};var oo=Object.freeze({__proto__:null,default:Ki,Default:no,ForgotPasswordWithError:ao,ForgotPasswordLoading:so,ForgotPasswordSuccess:io});var lo='@author:derek\r\n@owner:ian\r\nFeature: Email Verification\r\n\r\n @minutae\r\n Scenario: User\'s redirected from registration can re-send their verification email\r\n Given a user has registered\r\n And they have been sent a verification email\r\n When they are redirected to the email verification page\r\n Then a message is displayed\r\n And it reflects that a email has been sent to their email\r\n But they can still re-send the email\r\n When they click to "Resend-Email"\r\n Then they receive a verification email\r\n\r\n @motivating\r\n Scenario: Users are notified if sending the email verification message fails\r\n Given a user viewing the email verification component\r\n And they have an email stored in session data from registration\r\n When they click to "Resend-Email"\r\n Then the button enters a loading state\r\n When an error occurs trying to send the verification email\r\n Then the user does not receive a verification email\r\n And an error banner is shown stating that they should try again\r\n\r\n @motivating\r\n Scenario: Users are notified if sending the email verification message succeeds\r\n Given a user viewing the email verification component\r\n And they have an email stored in session data from registration\r\n When they click to "Resend-Email"\r\n Then the button enters a loading state\r\n When the email verification message sends\r\n Then the user receives a verification email\r\n And a success banner is shown stating that their email was resent\r\n\r\n @motivating\r\n Scenario Outline: The email link can be configured to redirect users to a specific base path but defaults to "/verifyEmail"\r\n Given a user viewing the email verification component\r\n And they have an email stored in session data from registration\r\n And the component <mayHave> "redirect-path" with <value>\r\n When they resend their verification email\r\n And they click the link in the email\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn\'t have | N/A | /verifyEmail |\r\n | has | /verifyMyEmail | /verifyMyEmail |';var uo={title:"Components/Portal Email Verification",parameters:{scenario:lo}};var co={states:{error:"",loading:false,success:false},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))}},content:{email:"email@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}};var mo={states:{error:"Something went wrong. Please try again.",loading:false,success:false},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))}},content:{email:"email@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}};var po={states:{error:"",loading:true,success:false},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))}},content:{email:"email@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}};var go={states:{error:"",loading:false,success:true},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))}},content:{email:"email@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}};var fo=function(){return r(W,Object.assign({},co))};var ho=function(){return r(W,Object.assign({},mo))};var bo=function(){return r(W,Object.assign({},po))};var vo=function(){return r(W,Object.assign({},go))};var xo=Object.freeze({__proto__:null,default:uo,Default:fo,EmailVerificationWithError:ho,EmailVerificationLoading:bo,EmailVerificationSuccess:vo});var wo='@author:derek\r\n@owner:ian\r\nFeature: Reset Password\r\n\r\n Background: A user in on the password reset page\r\n Given a user who has been redirected to the password reset page\r\n\r\n @motivating\r\n Scenario: Users can reset their password\r\n Given a user has a valid oob code as a url query parameter\r\n When they enter their password twice\r\n And they click "Update"\r\n Then their password is updated\r\n And a banner with a success message is displayed\r\n And they can log in with their new password\r\n\r\n @motivating\r\n Scenario Outline: Users cannot reset their password with an invalid or missing oob code\r\n Given a user has a <oobCode> as a url query parameter\r\n And the component <mayHave> "failed-page" with <value>\r\n Then they see an error message saying that their password reset code is invalid/expired\r\n When they click "Continue"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | oobCode | mayHave | value | redirectPath |\r\n | invalid oob code | doesn\'t have | N/A | / |\r\n | non existant oob code | doesn\'t have | N/A | / |\r\n | invalid oob code | has | /login | /login |\r\n | non existant oob code | has | /login | /login |\r\n\r\n @motivating\r\n Scenario: Users must enter the same password twice to successfully reset their password\r\n Given a user has been redirected to the password reset page\r\n And they have a valid oob code as a url query parameter\r\n When they enter two different passwords into the password reset form\r\n And they click "Update"\r\n Then their password is not be reset\r\n And an error banner stating the input passwords must match appears\r\n And their password is not be reset\r\n When they enter the same password twice\r\n And they click "Update"\r\n Then a banner appears with a success message\r\n And they can log in with their new password\r\n\r\n @motivating\r\n Scenario: Users are redirected to "/" by default\r\n Given the component does not have prop "nextPage"\r\n And the users url does not contain a "nextPage" query parameter\r\n And a user has entered their password twice\r\n When they click "Update"\r\n Then their password is updated\r\n And they are redirected to "/"\r\n\r\n @motivating\r\n Scenario: Custom redirection can be configured\r\n Given the component has prop "nextPage" with value "/activity"\r\n And the users url does not contain a "nextPage" query parameter\r\n And a user has entered their password twice\r\n When they click "Update"\r\n Then their password is updated\r\n And they are redirected to "/activity"';var yo={title:"Components/Portal Reset Password",parameters:{scenario:wo}};var Eo={states:{error:"",loading:false,reset:false,confirmPassword:true,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))},gotoNextPage:function(){return console.log("next page")},failed:function(){return console.log("failed")}}};var Do={states:{error:"",loading:false,reset:false,confirmPassword:false,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))},gotoNextPage:function(){return console.log("next page")},failed:function(){return console.log("failed")}}};var _o={states:{error:"Something went wrong. Please try again.",loading:false,reset:false,confirmPassword:true,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))},gotoNextPage:function(){return console.log("next page")},failed:function(){return console.log("failed")}}};var qo={states:{error:"",loading:true,reset:false,confirmPassword:true,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))},gotoNextPage:function(){return console.log("next page")},failed:function(){return console.log("failed")}}};var Co={states:{error:"",loading:false,reset:true,confirmPassword:true,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))},gotoNextPage:function(){return console.log("next page")},failed:function(){return console.log("failed")}}};var Ao={states:{error:"",loading:false,reset:false,confirmPassword:true,oobCodeValidating:false,oobCodeValid:false,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:function(e){return __awaiter(te,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return[2,r.sent()]}}))}))},gotoNextPage:function(){return console.log("next page")},failed:function(){return console.log("failed")}}};var ko=function(){return r($,Object.assign({},Eo))};var Ro=function(){return r($,Object.assign({},Do))};var To=function(){return r($,Object.assign({},_o))};var Po=function(){return r($,Object.assign({},qo))};var Io=function(){return r($,Object.assign({},Co))};var No=function(){return r($,Object.assign({},Ao))};var Fo=Object.freeze({__proto__:null,default:yo,Default:ko,DefaultWithoutConfirmField:Ro,ResetPasswordWithError:To,ResetPasswordLoading:Po,ResetPasswordSuccess:Io,CodeValidating:No});var So='@author:derek\r\n@owner:ian\r\nFeature: Verify Email\r\n\r\n Background: A user is on the email verification page\r\n Given a user who has been redirected to the email verification page\r\n\r\n @motivating\r\n Scenario: Verifying your email takes you to the portal login page\r\n Given a user has a valid oob code as a url query parameter\r\n When they click "Verify Email"\r\n Then the button enters a loading state\r\n When their email is validated\r\n Then a button that says "Continue" appears\r\n When they click "Continue"\r\n Then they are redirected to login\r\n\r\n @motivating\r\n Scenario: Users are automatically redirected if they dont click "Continue"\r\n Given a user has a valid oob code as a url query parameter\r\n When they click "Verify Email"\r\n Then the button enters a loading state\r\n When their email is validated\r\n Then a button that says "Continue" appears\r\n When they wait 5 seconds\r\n Then they are redirected to login\r\n\r\n @motivating\r\n Scenario: Users are notified if verifying their email has failed\r\n Given a user has a valid oob code as a url query parameter\r\n When they click "Verify Email"\r\n Then the button enters a loading state\r\n When their email fails to be validated\r\n Then an banner is shown stating that an error occured\r\n\r\n @motivating\r\n Scenario Outline: Users cannot verify their email with an invalid or missing oob code\r\n Given a user has a <oobCode> as a url query parameter\r\n And the component <mayHave> "failed-page" with <value>\r\n Then they see an error message saying that their verification code is invalid/expired\r\n When they click "Continue"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | oobCode | mayHave | value | redirectPath |\r\n | invalid oob code | doesn\'t have | N/A | / |\r\n | non existant oob code | doesn\'t have | N/A | / |\r\n | invalid oob code | has | /login | /login |\r\n | non existant oob code | has | /login | /login |\r\n\r\n @motivating\r\n Scenario: Users are redirected to "/" by default\r\n Given the component does not have prop "nextPage"\r\n And the users url does not contain a "nextPage" query parameter\r\n And a user has verified their email\r\n When they click "Continue"\r\n Then they are redirected to "/"\r\n\r\n @motivating\r\n Scenario: Custom redirection can be configured\r\n Given the component has prop "nextPage" with value "/activity"\r\n And the users url does not contain a "nextPage" query parameter\r\n And a user has verified their email\r\n When they click "Continue"\r\n Then they are redirected to "/activity"\r\n\r\n @motivating\r\n Scenario Outline: Users are redirected to the value of the nextPage url parameter if it exists\r\n Given the component <mayHave> prop "nextPage" with <nextPageValue>\r\n And the users url contains a "nextPage" query paramater with <nextPageParamValue>\r\n And the user has verified their email\r\n When they click "Continue"\r\n Then they are redirected to <nextPageParamValue>\r\n Examples:\r\n | mayHave | nextPageValue | nextPageParamValue |\r\n | has | /dashboard | /activity |\r\n | does not have | N/A | /activity |';var Lo={title:"Components/Portal Verify Email",parameters:{scenario:So}};var Bo={states:{error:"Something went wrong. Please try again.",loading:false,verified:false},data:{oobCode:"abc123"},callbacks:{gotoNextPage:function(){return console.log("next page")},failed:function(){return console.log("failed")}}};var Oo={states:{error:"",loading:false,verified:true},data:{oobCode:"abc123"},callbacks:{gotoNextPage:function(){return console.log("next page")},failed:function(){return console.log("failed")}}};var jo=function(){return r(J,Object.assign({},Bo))};var Vo=function(){return r(J,Object.assign({},Oo))};var Mo=Object.freeze({__proto__:null,default:Lo,EmailVerificationWithError:jo,EmailVerificationSuccess:Vo});var Go={title:"Components/Asset Card"};var zo=function(){var e={text:{titleText:"Marketing Banner"},imgUrl:"../../assets/saasquatch-logo.png",callbacks:{}};return r(X,Object.assign({},e))};var Ho=function(){var e={text:{titleText:"Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam, sunt dolores? Dolore temporibus autem officia blanditiis minus in voluptatem molestiae!"},imgUrl:"../../assets/saasquatch-logo.png",callbacks:{}};return r(X,Object.assign({},e))};var Uo=function(){var e={text:{titleText:"Marketing Banner"},imgUrl:"",callbacks:{}};return r(X,Object.assign({},e))};var Wo=Object.freeze({__proto__:null,default:Go,Default:zo,CardWithLongText:Ho,CardWithNoImg:Uo});var $o={title:"Components/Divided Layout"};var Jo={data:{programs:[{key:"program1",label:"My Referral Program"},{key:"program2",label:"My Rewards Program"}]}};var Xo={states:{active:false},data:{label:"Dashboard",icon:"house",path:"/"}};var Yo={states:{active:true},data:{label:"Activity",icon:"bar-chart",path:"/"}};var Zo=function(){return r(j,Object.assign({},Jo),r(V,Object.assign({},Xo)),r(V,Object.assign({},Yo)))};var Ko=function(){return r("sqm-divided-layout",{direction:"row"},r(Zo,null),r("div",{style:{padding:"48px"}},r(M,Object.assign({},{labelMargin:"xx-small",padding:"none",label:r("sqm-text",null,r("p",null,"Welcome back,")),content:r("sqm-text",null,r("h1",null,"Joe Smith"))}))))};var Qo=function(){return r("sqm-divided-layout",{direction:"column"},r(Zo,null),r("div",{style:{padding:"48px"}},r(M,Object.assign({},{labelMargin:"xx-small",padding:"none",label:r("sqm-text",null,r("p",null,"Welcome back,")),content:r("sqm-text",null,r("h1",null,"Joe Smith"))}))))};var el=function(){return r("sqm-divided-layout",{direction:"column",dividerStyle:"1px solid red"},r(Zo,null),r("div",{style:{padding:"48px"}},r(M,Object.assign({},{labelMargin:"xx-small",padding:"none",label:r("sqm-text",null,r("p",null,"Welcome back,")),content:r("sqm-text",null,r("h1",null,"Joe Smith"))}))))};var rl=Object.freeze({__proto__:null,default:$o,Row:Ko,Column:Qo,ColumnCustomDivider:el});var tl='Feature: Change Password\r\n\r\n @motivating\r\n Scenario: Users can change their password\r\n Given a user has registered for the portal\r\n And they have a password\r\n When they navigate to the edit profile page\r\n And click "Change your password..."\r\n Then a popup will appear\r\n When they enter their new password\r\n And confirm it\r\n And click "Change Password"\r\n Then they will see a success banner stating that the change was successful\r\n When they logout\r\n And try to login\r\n Then they will not be able to login with their old password\r\n But they will be able to login with their new password\r\n\r\n @motivating\r\n Scenario: Users must confirm their password change\r\n Given a user has registered for the portal\r\n When they navigate to the edit profile page\r\n And click "Change your password..."\r\n Then a popup will appear\r\n When they enter their new password\r\n But they enter a different password to confirm\r\n And click "Change Password"\r\n Then they will see an error banner stating that the passwords didnt match\r\n When they logout\r\n And try to login\r\n Then they will be able to login with their existing password\r\n\r\n @motivating\r\n Scenario: Users must enter a new password and confirm it to change their password\r\n Given a user has registered for the portal\r\n When they navigate to the edit profile page\r\n And click "Change your password..."\r\n Then a popup will appear\r\n When they click "Change password"\r\n Then a validation error will appear for the new password field\r\n And their password will not be changed\r\n When they enter a new password\r\n And they click "Change password"\r\n Then a validation error will appear for the confirm new password field\r\n And their password will not be changed\r\n\r\n @motivating\r\n Scenario: An error banner will be displayed if the password change fails\r\n Given a user has registered for the portal\r\n When they navigate to the edit profile page\r\n And click "Change your password..."\r\n When they enter their new password\r\n And confirm it\r\n And click "Change Password"\r\n But the change fails\r\n Then they will see an error banner stating that the change failed\r\n When they logout\r\n And try to login\r\n Then they will be able to login with their existing password';var nl={title:"Components/Change Password",parameters:{scenario:tl}};var al={states:{open:false,loading:false,success:false,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:function(e){return console.log(e)},submit:function(e){return console.log("Submit",e)}}};var sl={states:{open:true,loading:false,success:false,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:function(e){return console.log(e)},submit:function(e){return console.log("Submit",e)}}};var il={states:{open:true,loading:false,success:false,error:"Network error. Please try again.",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:function(e){return console.log(e)},submit:function(e){return console.log("Submit",e)}}};var ol={states:{open:true,loading:false,success:false,error:"Passwords do not match.",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:function(e){return console.log(e)},submit:function(e){return console.log("Submit",e)}}};var ll={states:{open:true,loading:true,success:false,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:function(e){return console.log(e)},submit:function(e){return console.log("Submit",e)}}};var ul={states:{open:true,loading:false,success:true,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:function(e){return console.log(e)},submit:function(e){return console.log("Submit",e)}}};var dl=function(){return r(h,Object.assign({},al))};var cl=function(){return r(h,Object.assign({},sl))};var ml=function(){return r(h,Object.assign({},il))};var pl=function(){return r(h,Object.assign({},ol))};var gl=function(){return r(h,Object.assign({},ll))};var fl=function(){return r(h,Object.assign({},ul))};var hl=Object.freeze({__proto__:null,default:nl,Default:dl,Open:cl,Error:ml,PaswordError:pl,Loading:gl,Success:fl});var bl={title:"Components/Portal Profile"};var vl={states:{success:false,loading:false,submitDisabled:false,showCountry:true,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}};var xl={states:{success:false,loading:false,submitDisabled:false,showCountry:false,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}};var wl={states:{success:false,loading:true,submitDisabled:false,showCountry:true,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}};var yl={states:{success:false,loading:false,submitDisabled:true,showCountry:true,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}};var El={states:{success:false,loading:false,submitDisabled:false,showCountry:true,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:"Something went wrong. Please try again."}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}};var Dl={states:{success:true,loading:false,submitDisabled:false,showCountry:true,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}};var _l=function(){return r(H,Object.assign({},vl))};var ql=function(){return r(H,Object.assign({},xl))};var Cl=function(){return r(H,Object.assign({},wl))};var Al=function(){return r(H,Object.assign({},yl))};var kl=function(){return r(H,Object.assign({},El))};var Rl=function(){return r(H,Object.assign({},Dl))};var Tl=Object.freeze({__proto__:null,default:bl,Default:_l,DefaultNoCountry:ql,Loading:Cl,Disabled:Al,Error:kl,Success:Rl});var Pl={title:"Components/Referral Table Rewards Cell"};var Il={id:"123",type:"CREDIT",value:19,unit:"POINT",name:"test",dateGiven:1627427794891,dateScheduledFor:ru(),dateExpires:tu(),dateCancelled:134400,dateRedeemed:0,fuelTankCode:"ABC",fuelTankType:"Code",currency:"null",prettyValue:"19 Points",statuses:["AVAILABLE"],globalRewardKey:"Key",rewardRedemptionTransactions:{data:[{exchangedRewards:{data:[{prettyValue:"19 Points",type:"CREDIT",fuelTankCode:"ABC",globalRewardKey:"Key"}]}}]}};var Nl={dateExpires:null};var Fl={dateScheduledFor:null};var Sl={fuelTankCode:null};var Ll={type:"PCT_DISCOUNT"};var Bl={type:"CREDIT"};var Ol={type:"FUELTANK"};var jl={type:"INTEGRATION"};var Vl={statuses:["AVAILABLE","PENDING"]};var Ml={statuses:["PENDING","CANCELLED"],dateCancelled:16268508e5};var Gl={statuses:["EXPIRED","AVAILABLE"],dateExpires:16268508e5};var zl={statuses:["AVAILABLE","EXPIRED","REDEEMED"]};var Hl={statuses:["AVAILABLE"]};var Ul=[];var Wl=[__assign(__assign({},Il),Hl)];var $l=[__assign(__assign(__assign({},Il),Ll),Vl),__assign(__assign({},Il),Bl)];var Jl=[__assign(__assign(__assign({},Il),Ol),Nl),__assign(__assign(__assign({},Il),Ol),Gl),__assign(__assign(__assign({},Il),Vl),Sl)];var Xl=[__assign(__assign({},Il),Ol),__assign(__assign({},Il),jl),__assign(__assign({},Il),Vl),__assign(__assign(__assign(__assign({},Il),Ml),Nl),Sl),__assign(__assign(__assign({},Il),Gl),Sl)];var Yl=[__assign(__assign(__assign({},Il),zl),Sl),__assign(__assign(__assign({},Il),Hl),Nl),__assign(__assign({},Il),Vl),__assign(__assign({},Il),Ml),__assign(__assign({},Il),Gl),__assign(__assign(__assign(__assign({},Il),Vl),Nl),Fl),__assign(__assign({},Il),Ml),__assign(__assign({},Il),Gl)];var Zl=[__assign(__assign({},Il),jl),__assign(__assign({},Il),zl),__assign(__assign({},Il),Hl),__assign(__assign(__assign({},Il),Ml),Nl),__assign(__assign({},Il),Gl),__assign(__assign({},Il),Vl),__assign(__assign({},Il),Ll),__assign(__assign({},Il),Ol),__assign(__assign(__assign({},Il),Ml),Nl),__assign(__assign({},Il),Bl)];function Kl(){return Z.DateTime.now().toMillis()+1e4}function Ql(){return Z.DateTime.now().toMillis()+4e5}function eu(){return Z.DateTime.now().toMillis()+9e6}function ru(){return Z.DateTime.now().toMillis()+6e8}function tu(){return Z.DateTime.now().toMillis()+1e10}function nu(){return Z.DateTime.now().toMillis()+2e11}var au=function(){return r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Il),Vl),Fl)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var su=function(){return r("sqm-referral-table-rewards-cell",{hideDetails:true,rewards:[__assign(__assign(__assign({},Il),Vl),Fl)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var iu=function(){return[r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Il),Vl),{dateScheduledFor:Kl()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Il),Vl),{dateScheduledFor:Ql()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Il),Vl),{dateScheduledFor:eu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Il),Vl),{dateScheduledFor:ru()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Il),Vl),{dateScheduledFor:tu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Il),Vl),{dateScheduledFor:nu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})]};var ou=function(){return r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Il),Hl),Nl)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var lu=function(){return[r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Il),Hl),{dateExpires:Kl()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Il),Hl),{dateExpires:Ql()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Il),Hl),{dateExpires:eu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Il),Hl),{dateExpires:ru()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Il),Hl),{dateExpires:tu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Il),Hl),{dateExpires:nu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})]};var uu=function(){return r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign({},Il),zl)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var du=function(){return r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign({},Il),Ml)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var cu=function(){return r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign({},Il),Gl)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var mu=function(){return r("sqm-referral-table-rewards-cell",{rewards:Ul,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var pu=function(){return r("sqm-referral-table-rewards-cell",{rewards:Wl,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var gu=function(){return r("sqm-referral-table-rewards-cell",{rewards:$l,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var fu=function(){return r("sqm-referral-table-rewards-cell",{rewards:Jl,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var hu=function(){return r("sqm-referral-table-rewards-cell",{rewards:Xl,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var bu=function(){return r("sqm-referral-table-rewards-cell",{rewards:Yl,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var vu=function(){return r("sqm-referral-table-rewards-cell",{rewards:Zl,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var xu=Object.freeze({__proto__:null,default:Pl,PendingNoUnpend:au,PendingNoUnpendNoDetails:su,PendingWithUnpend:iu,AvailableNoExpiry:ou,AvailableWithExpiry:lu,Redeemed:uu,Cancelled:du,Expired:cu,EmptyCell:mu,oneRewardCell:pu,twoRewardsCell:gu,threeRewardsCell:fu,fiveRewardsCell:hu,eightRewardsCell:bu,tenRewardsCell:vu});var wu={title:"Components/Referral Table"};var yu=r("div",{slot:"loading",style:{display:"contents"}},r("sqm-table-row",null,r("sqm-table-cell",{colspan:5},r("sl-skeleton",null))),r("sqm-table-row",null,r("sqm-table-cell",{colspan:5},r("sl-skeleton",null))),r("sqm-table-row",null,r("sqm-table-cell",{colspan:5},r("sl-skeleton",null))),r("sqm-table-row",null,r("sqm-table-cell",{colspan:5},r("sl-skeleton",null))),r("sqm-table-row",null,r("sqm-table-cell",{colspan:5},r("sl-skeleton",null))));var Eu=r("div",{slot:"empty",style:{display:"contents"}},r("sqm-table-row",null,r("sqm-table-cell",{colspan:5,style:{textAlign:"center"}},r("div",{style:{padding:"var(--sl-spacing-xxx-large)"}},r("img",{src:"https://res.cloudinary.com/saasquatch/image/upload/v1642618031/squatch-assets/image_3_1.png",style:{width:"100px"}}),r("div",null,r("b",null,"View your referral details")),r("div",{style:{marginTop:"var(--sl-spacing-xx-small)",fontSize:"var(--sl-font-size-small)",color:"var(--sl-color-neutral-500)"}},"Track the status of your referrals and rewards earned by referring friends")))));var Du={id:"123",type:"CREDIT",value:19,unit:"POINT",name:"test",dateGiven:1627427794891,dateScheduledFor:16281468e5,dateExpires:16290108e5,dateCancelled:134400,dateRedeemed:0,fuelTankCode:"ABC",fuelTankType:"Code",currency:"null",prettyValue:"19 Points",statuses:["AVAILABLE"],globalRewardKey:"Key",rewardRedemptionTransactions:{data:[{exchangedRewards:{data:[{prettyValue:"19 Points",type:"CREDIT",fuelTankCode:"ABC",globalRewardKey:"Key"}]}}]}};var _u={statuses:["AVAILABLE","PENDING"]};var qu={statuses:["PENDING","CANCELLED"],dateCancelled:16268508e5};var Cu={statuses:["EXPIRED","AVAILABLE"],dateExpires:16268508e5};var Au={statuses:["AVAILABLE"]};var ku={dateExpires:null};var Ru={states:{hasPrev:false,hasNext:true,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},callbacks:{prevPage:function(){return console.log("Prev")},nextPage:function(){return console.log("Next")}},elements:{columns:[r("div",null,"Name"),r("div",null,"Email"),r("div",null,"DOB"),r("div",null,"Rewards")],rows:[[r("sqm-referral-table-user-cell",{name:"Joe Smith"}),r("sqm-referral-table-user-cell",{name:"jsmith@gmail.com"}),r("sqm-referral-table-user-cell",{name:"07/15/1902"}),r(au,null)],[r("sqm-referral-table-user-cell",{name:"Bob Williams"}),r("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),r("sqm-referral-table-user-cell",{name:"09/05/1999"}),r(ou,null)],[r("sqm-referral-table-user-cell",{name:"Sarah Joseph"}),r("sqm-referral-table-user-cell",{name:"sjoseph@gmail.com"}),r("sqm-referral-table-user-cell",{name:"12/21/1984"}),r(du,null)]]}};var Tu={data:{textOverrides:{showLabels:false,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599}};var Pu={states:{hasPrev:true,hasNext:true,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"CUSTOM PREVIOUS TEXT",moreLabel:"CUSTOM NEXT TEXT"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599}};var Iu={states:{hasPrev:false,hasNext:true,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},callbacks:{prevPage:function(){return console.log("Prev")},nextPage:function(){return console.log("Next")}},elements:{columns:[r("div",null,"Name"),r("div",null,"Email"),r("div",null,"DOB"),r("div",null,"City"),r("div",null,"State/Province"),r("div",null,"Country"),r("div",null,"Referrals"),r("div",null,"Reward Earnings"),r("div",null,"Status")],rows:[[r("sqm-referral-table-user-cell",{name:"Bartholomew Christopher-Johnston Wallace"}),r("sqm-referral-table-user-cell",{name:"jsmith@gmail.com"}),r("sqm-referral-table-date-cell",{date:-220896e5}),r("sqm-referral-table-user-cell",{name:"Vancouver"}),r("sqm-referral-table-cell",{innerTemplate:"British Columbia"}),r("sqm-referral-table-user-cell",{name:"Canada"}),r("sqm-referral-table-user-cell",{name:"14,000,000"}),r("sqm-referral-table-user-cell",{name:"$800,000,000,000"}),r("sqm-referral-table-status-cell",{statusText:"Complete",converted:true})],[r("sqm-referral-table-user-cell",{name:"Bob Williams"}),r("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),r("sqm-referral-table-date-cell",{date:8e11}),r("sqm-referral-table-user-cell",{name:"Los Angeles"}),r("sqm-referral-table-cell",{innerTemplate:"California"}),r("sqm-referral-table-user-cell",{name:"US"}),r("sqm-referral-table-user-cell",{name:"1"}),r("sqm-referral-table-user-cell",{name:"$5"}),r("sqm-referral-table-status-cell",{statusText:"In progress",converted:false}),,],[r("sqm-referral-table-user-cell",{name:"Sarah Joseph"}),r("sqm-referral-table-user-cell",{name:"sjoseph@gmail.com"}),r("sqm-referral-table-date-cell",{date:444703707e3}),r("sqm-referral-table-user-cell",{name:"Toronto"}),r("sqm-referral-table-cell",{innerTemplate:"Ontario"}),r("sqm-referral-table-user-cell",{name:"Canada"}),r("sqm-referral-table-user-cell",{name:"10"}),r("sqm-referral-table-user-cell",{name:"$71"}),r("sqm-referral-table-status-cell",{statusText:"Complete",converted:true}),,]]}};var Nu={states:{hasPrev:false,hasNext:true,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},callbacks:{prevPage:function(){return console.log("Prev")},nextPage:function(){return console.log("Next")}},elements:{columns:[r("div",null,"Lorem ipsum dolor sit amet consectetur adipisicing elit."),r("div",null,"Email"),r("div",null,"DOB"),r("div",null,"City"),r("div",null,"State/Province"),r("div",null,"Country"),r("div",null,"Referrals"),r("div",null,"Rewarddddddddddd Earningsssssssssssss"),r("div",null,"Status")],rows:[[r("sqm-referral-table-user-cell",{name:"Joe Smith"}),r("sqm-referral-table-user-cell",{name:"jsmith@gmail.com"}),r("sqm-referral-table-date-cell",{date:-2128547493e3}),r("sqm-referral-table-user-cell",{name:"Vancouver"}),r("sqm-referral-table-cell",{innerTemplate:"British Columbia"}),r("sqm-referral-table-user-cell",{name:"Canada"}),r("sqm-referral-table-user-cell",{name:"14"}),r("sqm-referral-table-user-cell",{name:"$88"}),r("sqm-referral-table-status-cell",{statusText:"Complete",converted:true})],[r("sqm-referral-table-user-cell",{name:"Bob Williams"}),r("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),r("sqm-referral-table-date-cell",{date:8e11}),r("sqm-referral-table-user-cell",{name:"Los Angeles"}),r("sqm-referral-table-cell",{innerTemplate:"California"}),r("sqm-referral-table-user-cell",{name:"US"}),r("sqm-referral-table-user-cell",{name:"1"}),r("sqm-referral-table-user-cell",{name:"$5"}),r("sqm-referral-table-status-cell",{statusText:"In progress",converted:false}),,],[r("sqm-referral-table-user-cell",{name:"Sarah Joseph"}),r("sqm-referral-table-user-cell",{name:"sjoseph@gmail.com"}),r("sqm-referral-table-date-cell",{date:444703707e3}),r("sqm-referral-table-user-cell",{name:"Toronto"}),r("sqm-referral-table-cell",{innerTemplate:"Ontario"}),r("sqm-referral-table-user-cell",{name:"Canada"}),r("sqm-referral-table-user-cell",{name:"10"}),r("sqm-referral-table-user-cell",{name:"$71"}),r("sqm-referral-table-status-cell",{statusText:"Complete",converted:true}),,]]}};var Fu={states:{hasPrev:false,hasNext:true,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},callbacks:{prevPage:function(){return console.log("Prev")},nextPage:function(){return console.log("Next")}},elements:{columns:[r("div",null,"Name"),r("div",null,"Email"),r("div",null,"DOB"),r("div",null,"City"),r("div",null,"State/Province"),r("div",null,"Country"),r("div",null,"Referrals"),r("div",null,"Reward Earnings"),r("div",null,"Status")],rows:[[r("sqm-referral-table-user-cell",{name:"Joe Smith"}),r("sqm-referral-table-user-cell",{name:"jsmith@gmail.com"}),r("sqm-referral-table-date-cell",{date:-2128547493e3}),r("sqm-referral-table-user-cell",{name:"Vancouver"}),r("sqm-referral-table-cell",{innerTemplate:"British Columbia"}),r("sqm-referral-table-user-cell",{name:"Canada"}),r("sqm-referral-table-user-cell",{name:"14"}),r("sqm-referral-table-user-cell",{name:"$88"}),r("sqm-referral-table-status-cell",{statusText:"Complete",converted:true})],[r("sqm-referral-table-user-cell",{name:"Bob Williams"}),r("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),r("sqm-referral-table-date-cell",{date:8e11}),r("sqm-referral-table-user-cell",{name:"Los Angeles"}),r("sqm-referral-table-cell",{innerTemplate:"California"}),r("sqm-referral-table-user-cell",{name:"US"}),r("sqm-referral-table-user-cell",{name:"1"}),r("sqm-referral-table-user-cell",{name:"$5"}),r("sqm-referral-table-status-cell",{statusText:"In progress",converted:false}),,],[r("sqm-referral-table-user-cell",{name:"Sarah Joseph"}),r("sqm-referral-table-user-cell",{name:"sjoseph@gmail.com"}),r("sqm-referral-table-date-cell",{date:444703707e3}),r("sqm-referral-table-user-cell",{name:"Toronto"}),r("sqm-referral-table-cell",{innerTemplate:"Ontario"}),r("sqm-referral-table-user-cell",{name:"Canada"}),r("sqm-referral-table-user-cell",{name:"10"}),r("sqm-referral-table-user-cell",{name:"$71"}),r("sqm-referral-table-status-cell",{statusText:"Complete",converted:true}),,]]}};var Su=function(){return r(Y,Object.assign({},Ru))};var Lu=function(){return r(Y,Object.assign({},__assign(__assign({},Ru),Tu)))};var Bu=function(){return r(Y,Object.assign({},__assign(__assign({},Ru),Pu)))};var Ou=function(){return r(Y,Object.assign({},Fu))};var ju=function(){return r(Y,Object.assign({},Iu))};var Vu=function(){return r(Y,Object.assign({},Nu))};var Mu=function(){return r("sqm-referral-table",{demoData:{states:{hasPrev:false,hasNext:false,show:"empty",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},elements:{emptyElement:Eu,loadingElement:yu,columns:[r("div",null,"Name"),r("div",null,"Email"),r("div",null,"DOB")],rows:[]}}})};var Gu=function(){return r("sqm-referral-table",{demoData:{states:{hasPrev:false,hasNext:false,show:"loading",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},elements:{emptyElement:Eu,loadingElement:yu,columns:[r("div",null,"Name"),r("div",null,"Email"),r("div",null,"DOB")],rows:[]}}})};var zu=function(){return r("sqm-referral-table",{demoData:{states:{hasPrev:false,hasNext:false,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},elements:{emptyElement:Eu,loadingElement:yu,columns:[r("div",null,"User"),r("div",null,"Rewards"),r("div",null,"Status"),r("div",null,"Date Started"),r("div",null,"Date Converted")],rows:[[r("sqm-referral-table-user-cell",{name:"Joe Smith"}),r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign({},Du),Au),__assign(__assign({},Du),_u),__assign(__assign({},Du),qu)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),r("sqm-referral-table-status-cell",{statusText:"Complete",converted:true}),r("sqm-referral-table-date-cell",{date:16267644e5}),r("sqm-referral-table-date-cell",{date:1627427794891})],[r("sqm-referral-table-user-cell",{name:"Sarah Williams"}),r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign({},Du),Cu)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),r("sqm-referral-table-status-cell",{statusText:"Incomplete",converted:false}),r("sqm-referral-table-date-cell",{date:16267644e5}),r("sqm-referral-table-date-cell",{date:null})],[r("sqm-referral-table-user-cell",{name:"Marvin Smith"}),r("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign({},Du),ku),__assign(__assign({},Du),_u)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),r("sqm-referral-table-status-cell",{statusText:"Complete",converted:true}),r("sqm-referral-table-date-cell",{date:16267644e5}),r("sqm-referral-table-date-cell",{date:1627427794891})]]}}})};var Hu=Object.freeze({__proto__:null,default:wu,SimpleUserTable:Su,HiddenLabelsTable:Lu,CustomButtonTextTable:Bu,FullUserTable:Ou,LongCellTextTable:ju,LongColumnTextTable:Vu,EmptyTable:Mu,LoadingTable:Gu,FullRewardsTable:zu});var Uu={title:"Components/Referral Table Cell"};var Wu=function(){return r("sqm-referral-table-cell",{innerTemplate:"Table Cell Text"})};var $u=function(){return r("sqm-referral-table-user-cell",{name:"Table User Cell Text"})};var Ju=function(){return r("sqm-sqm-referral-table-cell",null,"-")};var Xu=function(){return r("div",null,r("sqm-referral-table-status-cell",{statusText:"Complete",converted:true}),r("sqm-referral-table-status-cell",{statusText:"In Progress",converted:false}))};var Yu=function(){return r("sqm-referral-table-date-cell",{date:8e11})};var Zu={id:"123",type:"CREDIT",value:19,unit:"POINT",name:"test",dateGiven:1627427794891,dateScheduledFor:16281468e5,dateExpires:16290108e5,dateCancelled:134400,dateRedeemed:0,fuelTankCode:"ABC",fuelTankType:"Code",currency:"null",prettyValue:"19 Points",statuses:["AVAILABLE"],globalRewardKey:"Key",rewardRedemptionTransactions:{data:[{exchangedRewards:{data:[{prettyValue:"19 Points",type:"CREDIT",fuelTankCode:"ABC",globalRewardKey:"Key"}]}}]}};var Ku=[Zu];var Qu=function(){return r("sqm-referral-table-rewards-cell",{rewards:Ku,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var ed=Object.freeze({__proto__:null,default:Uu,TableCell:Wu,TableUserCell:$u,EmptyCell:Ju,StatusCell:Xu,DateCell:Yu,RewardsCell:Qu});var rd={title:"Tests/User Name"};var td=function(){return r("sqm-user-name",{demoData:{loading:false,loadingText:"...",username:"Test Testerson"}})};var nd=function(){return r("sqm-user-name",null)};var ad=Object.freeze({__proto__:null,default:rd,DemoData:td,Username:nd});var sd={title:"Components/Portal Password Field"};var id=function(){return r("sqm-password-field",{demoData:{initValue:"",states:{enableValidation:true,validationErrors:{},content:{fieldLabel:"Password"}}}})};var od=function(){return r("sqm-password-field",{demoData:{initValue:"",states:{enableValidation:true,validationErrors:{password:"Cannot be empty"},content:{fieldLabel:"Password"}}}})};var ld=function(){return r("sqm-password-field",{demoData:{initValue:"asdf",states:{enableValidation:true,validationErrors:{password:"Incomplete"},content:{fieldLabel:"Password"}}}})};var ud=Object.freeze({__proto__:null,default:sd,Start:id,EmptyError:od,ValidationError:ld});function dd(e){var t=e.matrix,n=e.props,a=e.Component;var s=Object.keys(t).map((function(e){var r=t[e];return r.map((function(r){var t;return t={},t[e]=r,t}))}));var i=md.apply(void 0,s);var o=i.map((function(e){return e.reduce((function(e,r){return __assign(__assign({},e),r)}),{})}));return o.map((function(e){var t=__assign(__assign({},n),e);return r("div",null,r(cd,{values:t}),r("hr",null)," ",r("br",null),r(a,Object.assign({},t)),r("br",null))}))}function cd(e){var t=e.values;return r("table",null,r("tbody",null,Object.keys(t).map((function(e){return r("tr",null,r("th",null,e),r("td",null,JSON.stringify(t[e])))}))))}function md(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var t=[],n=e.length-1;function a(r,s){for(var i=0,o=e[s].length;i<o;i++){var l=r.slice(0);l.push(e[s][i]);if(s==n)t.push(l);else a(l,s+1)}}a([],0);return t}var pd='@author:derek\r\n@owner:\r\nFeature: Task Card\r\n\r\n\tScenario: A header, body title, description and a CTA button are always displayed\r\n\t\tGiven the Task Card is configured with the following props\r\n\t\t\t| prop | value |\r\n\t\t\t| rewardAmount | "40" |\r\n\t\t\t| rewardUnit | "Points" |\r\n\t\t\t| cardTitle | Complete a survey |\r\n\t\t\t| description | Fill out our survey form and receive points! |\r\n\t\t\t| buttonText | Take Survey |\r\n\t\t\t| buttonLink | https://example.com/ |\r\n\t\tWhen a user views the Task Card\r\n\t\tThen they see "40 Points" as the heading\r\n\t\tAnd the "40" is bolded\r\n\t\tAnd they see "Complete a survey" bolded in the body\r\n\t\tAnd a details icon in the top right hand corner\r\n\t\tAnd a button with text "Take Survey" in the bottom right hand corner\r\n\t\tWhen they click the button\r\n\t\tThen they are redirected to "example.com" in a new window\r\n\t\tWhen they click the details icon\r\n\t\tThen "Fill out our survey form and receive points!" is shown as the card description\r\n\r\n\tScenario: A loading state is displayed while the Task Card is loading\r\n\t\tGiven a Task Card component\r\n\t\tWhen a user views the Task Card\r\n\t\tThen a loading state is displayed\r\n\t\tWhen the Task Card has loaded\r\n\t\tThen the loading state disapears\r\n\r\n\tScenario Outline: The Progress Bar can be shown or hidden but is hidden by default\r\n\t\tGiven a Task Card component\r\n\t\tAnd it <mayHave> "showProgressBar" <value>\r\n\t\tWhen a user views the Task Card\r\n\t\tThen the progress bar <mayBe> displayed\r\n\t\tExamples:\r\n\t\t\t| mayHave | value | mayBe |\r\n\t\t\t| has | true | is |\r\n\t\t\t| has | false | isn\'t |\r\n\t\t\t| doesn\'t have | | isn\'t |\r\n\r\n\tScenario Outline: Tasks can be repeatable or one-time only but are one-time only be default\r\n\t\tGiven a Task Card component\r\n\t\tAnd it <mayHave> "repeatable" <value>\r\n\t\tAnd a user who has already completed the task\r\n\t\tWhen they views the Task Card\r\n\t\tThen they see a green checkmark icon beside the card heading\r\n\t\tAnd the card <mayBe> green\r\n\t\tAnd the card\'s border <mayBe> green\r\n\t\tAnd the CTA button <mayBe> disabled\r\n\t\tAnd the CTA button <mayBe> grey\r\n\t\tExamples:\r\n\t\t\t| mayHave | value | mayBe |\r\n\t\t\t| has | true | isn\'t |\r\n\t\t\t| has | false | is |\r\n\t\t\t| doesn\'t have | | is |\r\n\r\n\tScenario: Task Expiries can be configured and disable the CTA after the expiry\r\n\t\tGiven a Task Card component\r\n\t\tAnd it is configured for <expiry>\r\n\t\tWhen a user views the Card on <day>\r\n\t\tThen they the expiry on <cardLocation>\r\n\t\tAnd the text <mayBe> orange\r\n\t\tAnd the card <mayBe> disabled\r\n\t\tAnd the card <mayBe> grey\r\n\t\tAnd the user <mayBe> unable to complete the loyalty task\r\n\t\tExamples:\r\n\t\t\t| expiry | day | cardLocation | mayBe |\r\n\t\t\t| Dec 31 2021 11:59:59 | Dec 1st 2021 12:00:00 | bottom left | isn\'t |\r\n\t\t\t| Dec 31 2021 11:59:59 | Dec 31 2021 11:00:00 | top right | isn\'t |\r\n\t\t\t| Dec 31 2021 11:59:59 | Jan 15th 2022 10:00:00 | top right | is |\r\n\r\n\tScenario Outline: Task expiry can be hidden or shown but is hidden by default\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured with an expiry\r\n\t\tAnd it <mayHave> "showExpiry" <value>\r\n\t\tWhen a user views the Task card\r\n\t\tThen the expiry <mayBe> shown in the bottom left hand corner\r\n\t\tExamples:\r\n\t\t\t| mayHave | value | mayBe |\r\n\t\t\t| has | true | is |\r\n\t\t\t| has | false | isn\'t |\r\n\t\t\t| doesn\'t have | | isn\'t |\r\n\r\n\t#DS: Currently this text is non configurable and isnt set up for proper pluralization\r\n\tScenario Outline: A task completion count is displayed for repeatable tasks\r\n\t\tGiven a Task Card is configured for a repeatable task\r\n\t\tAnd has "goalCompletionNumber" <goalCompletionNumberValue>\r\n\t\tAnd a user with <userGoalProgress>\r\n\t\tWhen the user views the task card\r\n\t\tThen they see a repeat icon\r\n\t\tAnd the <text> in the bottom left hand corner\r\n\t\tAnd the <text> is green\r\n\t\tExamples:\r\n\t\t\t| goalCompletionNumber | userGoalProgress | text |\r\n\t\t\t| 1 | 0 | Completed 0 times |\r\n\t\t\t| 1 | 1 | Completed 1 times |\r\n\t\t\t| 1 | 2 | Completed 2 times |\r\n\t\t\t| 10 | 5 | Completed 0 times |\r\n\t\t\t| 10 | 12 | Completed 1 times |\r\n\t\t\t| 10 | 29 | Completed 2 times |\r\n\r\n\tScenario Outline: The source of a user\'s progress can be a custom field or a program goal\r\n\t\tGiven a Task Card is configured to have <progressSourcePath> progress source\r\n\t\tAnd a user\r\n\t\tWhen they view the Task card\r\n\t\tThen the value at <progressSourcePath> is used to benchmark their progress against the Goal Completion Count\r\n\t\tExamples:\r\n\t\t\t| value |\r\n\t\t\t| /customFields/activityCount |\r\n\t\t\t| /customFields/purchaseTotal |\r\n\t\t\t| /programGoals/count%2FComment-on-Article |\r\n\t\t\t| /programGoals/count/Referral-Started%2Freferrals |\r\n\r\n\tScenario Outline: The users completion of a goal is calculated by the Goal Completion Number\r\n\t\tGiven a Task Card is configured to have <goalValue>\r\n\t\tAnd a user who has <progressValue>\r\n\t\tWhen they view the Task Card\r\n\t\tThen they are shown to have <progressValue> towards <goalValue>\r\n\t\tWhen their progress grows larger than <goalValue>\r\n\t\tThen the task is marked as completed\r\n\t\tExamples:\r\n\t\t\t| goalValue | progressValue |\r\n\t\t\t| 1 | 0 |\r\n\t\t\t| 10 | 9 |\r\n\t\t\t| 5 | 2 |\r\n\r\n\tScenario: The Goal Completion Number defaults to 1\r\n\t\tGiven a Task Card without a configured "goalCompletionNumber"\r\n\t\tAnd a user who has <progressValue>\r\n\t\tWhen they view the Task Card\r\n\t\tThen it <mayBe> marked as completed\r\n\t\tExamples:\r\n\t\t\t| progressValue | mayBe |\r\n\t\t\t| 0 | isn\'t |\r\n\t\t\t| 1 | is |\r\n\t\t\t| 2 | is |';var gd="@author:\r\n@owner:\r\nFeature: Task Card Progress Bar\r\n\r\n\tScenario Outline: Progress Bar\r\n\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> shows <progress> with <unit> above\r\n\t\tAnd gift icon has <color>\r\n\t\tAnd gift icon shows <goal> with <unit> below\r\n\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | unit | color |\r\n\t\t\t| -100 | 500 | ●――――――――――――――――――🎁 | $ | no |\r\n\t\t\t| 0 | 500 | ●――――――――――――――――――🎁 | $ | no |\r\n\t\t\t| 250 | 500 | ―――――――――●―――――――――🎁 | $ | no |\r\n\t\t\t| 500 | 500 | ―――――――――――――――――――🎁 | $ | yes |\r\n\t\t\t| 1000 | 500 | ―――――――――――――――――――🎁 | $ | yes |\r\n\r\n\tScenario Outline: Progress Bar Steps\r\n\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd steps is enabled\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> has incrementing steps from 1 to <goal>\r\n\t\tAnd gift icon has <color>\r\n\t\tAnd gift icon shows <goal> below\r\n\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | color |\r\n\t\t\t| -1 | 5 | ―――○―――○―――○―――○―――🎁 | no |\r\n\t\t\t| 0 | 5 | ―――○―――○―――○―――○―――🎁 | no |\r\n\t\t\t| 1 | 5 | ―――●―――○―――○―――○―――🎁 | no |\r\n\t\t\t| 5 | 5 | ―――○―――○―――○―――●―――🎁 | yes |\r\n\t\t\t| 7 | 5 | ―――○―――○―――○―――●―――🎁 | yes |\r\n\r\n\r\n\tScenario Outline: Progress Bar Repeatable\r\n\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd it is repeatable\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> shows <progress> with <unit> above\r\n\t\tAnd <icon1> is <color1> with <text1> displayed below\r\n\t\tAnd <icon2> is <color2> with <text2> displayed below\r\n\t\tAnd <icon3> is <color3> with <text3> displayed below\r\n\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | unit | icon1 | color1 | text1 | icon2 | color2 | text 2 | icon3 | color3 | text 1 | text 3 |\r\n\t\t\t| 250 | 500 | ――――●――――🎁―――――――🎁 | $ | NA | NA | NA | gift | greyscale | 500 | gift | greyscale | NA | 1000 |\r\n\t\t\t| 500 | 500 | ―――――――――🎁―――――――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | NA | 1000 |\r\n\t\t\t| 750 | 500 | ―――――――――🎁―――●―――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | NA | 1000 |\r\n\t\t\t| 1000 | 500 | 🎁―――――――🎁―――――――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 500 | 1500 |\r\n\t\t\t| 1250 | 500 | 🎁―――――――🎁―――●―――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 500 | 1500 |\r\n\r\n\tScenario Outline: Progress Bar Steps Repeatable\r\n\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd steps is enabled\r\n\t\tAnd it is repeatable\r\n\t\tThen I have <progressBar>\r\n\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar |";var fd="\n\n:root{\n --checker-color-1: #ffffff00;\n --checker-color-2: #ffffff00;\n --checker-size: 7px;\n --checker-gradient: linear-gradient(45deg, var(--checker-color-1) 25%, transparent 25%, transparent 75%, var(--checker-color-1) 75%);\n}\n.resizer{\n resize: horizontal;\n border: 2px dashed gray;\n\tmargin: -2px;\n padding: 12px;\n height: fit-content;\n overflow: hidden;\n}\n\n.resizer{\n background-color: var(--checker-color-2);\n background-image: var(--checker-gradient), var(--checker-gradient);\n background-position: 0 0, var(--checker-size) var(--checker-size);\n background-size: calc(var(--checker-size) * 2) calc(var(--checker-size) * 2);\n}\n";var hd=function(e,t){return r("div",{class:"resizer"},t)};var bd=pd+gd;var vd={title:"Components/Task Card/",parameters:{scenario:bd}};var xd={display:"inline-flex",gap:"32px"};var wd={width:"347px",minWidth:"347px",resize:"horizontal",height:"fit-content",overflow:"hidden"};var yd={callbacks:{sendEvent:function(){return void 0},onClick:function(){return void 0}},content:{rewardAmount:"20",rewardUnit:"SaaSquatch Points",cardTitle:"Complete a survey",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:false,showProgressBar:false,steps:false,buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:false,showExpiry:false,rewardDuration:null,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:1,locale:"en"},states:{progress:0,loading:false,loadingEvent:false}};var Ed={callbacks:{sendEvent:function(){return void 0},onClick:function(){return void 0}},content:{rewardAmount:"40",rewardUnit:"SaaSquatch Points",cardTitle:"Comment on 5 articles",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:false,showProgressBar:true,steps:true,buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:false,showExpiry:false,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:5,locale:"en"},states:{progress:1,loading:false,loadingEvent:false}};var Dd={callbacks:{sendEvent:function(){return void 0},onClick:function(){return void 0}},content:{rewardAmount:"150",rewardUnit:"SaaSquatch Points",cardTitle:"Spend $500 at our Store",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:false,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",showProgressBar:true,steps:false,progressBarUnit:"$",buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:false,showExpiry:false,rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:500,locale:"en"},states:{progress:100,loading:false,loadingEvent:false}};var _d=function(){var e={showExpiry:true,rewardDuration:"2021-11-30T08:00:00.000Z/2021-12-01T08:00:00.000Z"};var t=__assign(__assign({},e),{repeatable:true});return r("div",{style:xd},r(hd,null,r("h4",null,"Not Repeatable"),r(x,Object.assign({},yd,{content:__assign(__assign({},yd.content),{description:""}),states:__assign(__assign({},yd.states),{progress:0})})),r("h5",null),r(x,Object.assign({},Ed,{content:__assign(__assign({},Ed.content),{description:""}),states:__assign(__assign({},Ed.states),{progress:0})})),r("h5",null),r(x,Object.assign({},Dd,{content:__assign(__assign({},Dd.content),{description:""}),states:__assign(__assign({},Dd.states),{progress:230})}))),r(hd,null,r("h4",null,"Repeatable"),r(x,Object.assign({},yd,{content:__assign(__assign({},yd.content),{repeatable:true}),states:__assign(__assign({},yd.states),{progress:2})})),r("h5",null),r(x,Object.assign({},Ed,{content:__assign(__assign({},Ed.content),{repeatable:true}),states:__assign(__assign({},Ed.states),{progress:7})})),r("h5",null),r(x,Object.assign({},Dd,{content:__assign(__assign({},Dd.content),{repeatable:true}),states:__assign(__assign({},Dd.states),{progress:650})}))),r(hd,null,r("h4",null,"Complete"),r(x,Object.assign({},yd,{states:__assign(__assign({},yd.states),{progress:1})})),r("h5",null),r(x,Object.assign({},Ed,{states:__assign(__assign({},Ed.states),{progress:5})})),r("h5",null),r(x,Object.assign({},Dd,{states:__assign(__assign({},Dd.states),{progress:500})}))),r(hd,null,r("h4",null,"Unavailable"),r(x,Object.assign({},yd,{states:__assign(__assign({},yd.states),{progress:0})},t)),r("h5",null),r(x,Object.assign({},Ed,{states:__assign(__assign({},Ed.states),{progress:3})},t)),r("h5",null),r(x,Object.assign({},Dd,{states:__assign(__assign({},Dd.states),{progress:250})},t))))};var qd=function(){return r("div",{style:xd},r("div",{style:wd},r("h4",null,"One Action"),r(x,Object.assign({},yd,{states:__assign(__assign({},yd.states),{progress:0})})),r("h5",null),r(x,Object.assign({},yd,{states:__assign(__assign({},yd.states),{progress:1})})),r("h5",null)),r("div",{style:wd},r("h4",null,"A Couple Actions"),r(x,Object.assign({},Ed,{states:__assign(__assign({},Ed.states),{progress:1})})),r("h5",null),r(x,Object.assign({},Ed,{states:__assign(__assign({},Ed.states),{progress:5})})),r("h5",null)),r("div",{style:wd},r("h4",null,"Many Actions"),r(x,Object.assign({},Dd,{states:__assign(__assign({},Dd.states),{progress:230})})),r("h5",null),r(x,Object.assign({},Dd,{states:__assign(__assign({},Dd.states),{progress:500})})),r("h5",null)))};var Cd=function(){return r("div",{style:xd},r("div",{style:wd},r("h4",null,"One Action"),r(x,Object.assign({},yd,{content:__assign(__assign({},yd.content),{repeatable:true}),states:__assign(__assign({},yd.states),{progress:0})})),r("h5",null),r(x,Object.assign({},yd,{content:__assign(__assign({},yd.content),{repeatable:true}),states:__assign(__assign({},yd.states),{progress:1})})),r("h5",null)),r("div",{style:wd},r("h4",null,"A Couple Actions"),r(x,Object.assign({},Ed,{content:__assign(__assign({},Ed.content),{repeatable:true}),states:__assign(__assign({},Ed.states),{progress:0})})),r("h5",null),r(x,Object.assign({},Ed,{content:__assign(__assign({},Ed.content),{repeatable:true}),states:__assign(__assign({},Ed.states),{progress:5})})),r("h5",null),r(x,Object.assign({},Ed,{content:__assign(__assign({},Ed.content),{repeatable:true}),states:__assign(__assign({},Ed.states),{progress:7})})),r("h5",null),r(x,Object.assign({},Ed,{content:__assign(__assign({},Ed.content),{repeatable:true}),states:__assign(__assign({},Ed.states),{progress:10})})),r("h5",null)),r("div",{style:wd},r("h4",null,"Many Actions"),r(x,Object.assign({},Dd,{content:__assign(__assign({},Dd.content),{repeatable:true}),states:__assign(__assign({},Dd.states),{progress:0})})),r("h5",null),r(x,Object.assign({},Dd,{content:__assign(__assign({},Dd.content),{repeatable:true}),states:__assign(__assign({},Dd.states),{progress:500})})),r("h5",null),r(x,Object.assign({},Dd,{content:__assign(__assign({},Dd.content),{repeatable:true}),states:__assign(__assign({},Dd.states),{progress:650})})),r("h5",null),r(x,Object.assign({},Dd,{content:__assign(__assign({},Dd.content),{repeatable:true}),states:__assign(__assign({},Dd.states),{progress:1e3})})),r("h5",null)))};var Ad=function(){return r("div",{style:xd},r("div",{style:wd},r("h4",null,"One Action"),r(x,Object.assign({},yd,{content:__assign(__assign({},yd.content),{repeatable:true,finite:2}),states:__assign(__assign({},yd.states),{progress:0})})),r("h5",null),r(x,Object.assign({},yd,{content:__assign(__assign({},yd.content),{repeatable:true,finite:2}),states:__assign(__assign({},yd.states),{progress:1})})),r("h5",null),r(x,Object.assign({},yd,{content:__assign(__assign({},yd.content),{repeatable:true,finite:2}),states:__assign(__assign({},yd.states),{progress:2})})),r("h5",null)),r("div",{style:wd},r("h4",null,"A Couple Actions"),r(x,Object.assign({},Ed,{content:__assign(__assign({},Ed.content),{repeatable:true,finite:2}),states:__assign(__assign({},Ed.states),{progress:2})})),r("h5",null),r(x,Object.assign({},Ed,{content:__assign(__assign({},Ed.content),{repeatable:true,finite:2}),states:__assign(__assign({},Ed.states),{progress:5})})),r("h5",null),r(x,Object.assign({},Ed,{content:__assign(__assign({},Ed.content),{repeatable:true,finite:2}),states:__assign(__assign({},Ed.states),{progress:10})})),r("h5",null),r(x,Object.assign({},Ed,{content:__assign(__assign({},Ed.content),{repeatable:true,finite:3}),states:__assign(__assign({},Ed.states),{progress:12})})),r("h5",null),r(x,Object.assign({},Ed,{content:__assign(__assign({},Ed.content),{repeatable:true,finite:3}),states:__assign(__assign({},Ed.states),{progress:15})})),r("h5",null)),r("div",{style:wd},r("h4",null,"Many Actions"),r(x,Object.assign({},Dd,{content:__assign(__assign({},Dd.content),{repeatable:true,finite:2}),states:__assign(__assign({},Dd.states),{progress:200})})),r("h5",null),r(x,Object.assign({},Dd,{content:__assign(__assign({},Dd.content),{repeatable:true,finite:3}),states:__assign(__assign({},Dd.states),{progress:500})})),r("h5",null),r(x,Object.assign({},Dd,{content:__assign(__assign({},Dd.content),{repeatable:true,finite:2}),states:__assign(__assign({},Dd.states),{progress:1e3})})),r("h5",null),r(x,Object.assign({},Dd,{content:__assign(__assign({},Dd.content),{repeatable:true,finite:3}),states:__assign(__assign({},Dd.states),{progress:1200})})),r("h5",null),r(x,Object.assign({},Dd,{content:__assign(__assign({},Dd.content),{repeatable:true,finite:3}),states:__assign(__assign({},Dd.states),{progress:1500})})),r("h5",null)))};var kd=function(){var e={showExpiry:true,rewardDuration:Z.DateTime.now().minus({days:1}).toISO()+"/"+Z.DateTime.now().plus({days:1}).toISO()};var t=__assign(__assign({},e),{repeatable:true});return r("div",{style:xd},r("div",{style:wd},r("h4",null,"One Action"),r(x,Object.assign({},yd,{content:__assign(__assign({},yd.content),e)})),r("h5",null),r(x,Object.assign({},yd,{content:__assign(__assign({},yd.content),t)})),r("h5",null),r(x,Object.assign({},yd,{content:__assign(__assign({},yd.content),t),states:__assign(__assign({},yd.states),{progress:1})})),r("h5",null)),r("div",{style:wd},r("h4",null,"A Couple Actions"),r(x,Object.assign({},yd,{content:__assign(__assign({},Ed.content),e)})),r("h5",null),r(x,Object.assign({},yd,{content:__assign(__assign({},Ed.content),t)})),r("h5",null),r(x,Object.assign({},yd,{content:__assign(__assign({},Ed.content),t),states:__assign(__assign({},Ed.states),{progress:5})})),r("h5",null)),r("div",{style:wd},r("h4",null,"Many Actions"),r(x,Object.assign({},yd,{content:__assign(__assign({},Dd.content),e)})),r("h5",null),r(x,Object.assign({},yd,{content:__assign(__assign({},Dd.content),t)})),r("h5",null),r(x,Object.assign({},yd,{content:__assign(__assign({},Dd.content),t),states:__assign(__assign({},Dd.states),{progress:1e3})})),r("h5",null)))};var Rd=function(){var e={states:{loading:true,progress:0,loadingEvent:false}};return r("div",{style:xd},r("div",{style:wd},r("h4",null,"One Action"),r(x,Object.assign({},yd,e))," ",r("h5",null),r(x,Object.assign({},yd,e))," ",r("h5",null)),r("div",{style:wd},r("h4",null,"A Couple Actions"),r(x,Object.assign({},Ed,e))," ",r("h5",null),r(x,Object.assign({},Ed,e))," ",r("h5",null)),r("div",{style:wd},r("h4",null,"Many Actions"),r(x,Object.assign({},Dd,e))," ",r("h5",null),r(x,Object.assign({},Dd,e))," ",r("h5",null)))};var Td=function(){var e={showExpiry:true,rewardDuration:Z.DateTime.now().plus({days:1}).toISO()+"/"+Z.DateTime.now().plus({days:2}).toISO()};var t=__assign(__assign({},e),{repeatable:true});return r("div",{style:xd},r("div",{style:wd},r("h4",null,"One Action"),r(x,Object.assign({},yd,{states:__assign(__assign({},yd.states),{progress:0}),content:__assign(__assign({},yd.content),e)})),r("h5",null),r(x,Object.assign({},yd,{states:__assign(__assign({},yd.states),{progress:1}),content:__assign(__assign({},yd.content),e)})),r("h5",null),r(x,Object.assign({},yd,{states:__assign(__assign({},yd.states),{progress:0}),content:__assign(__assign({},yd.content),t)})),r("h5",null),r(x,Object.assign({},yd,{states:__assign(__assign({},yd.states),{progress:1}),content:__assign(__assign({},yd.content),t)})),r("h5",null)),r("div",{style:wd},r("h4",null,"A Couple Actions"),r(x,Object.assign({},Ed,{states:__assign(__assign({},Ed.states),{progress:1}),content:__assign(__assign({},Ed.content),e)})),r("h5",null),r(x,Object.assign({},Ed,{states:__assign(__assign({},Ed.states),{progress:1}),content:__assign(__assign({},Ed.content),e)})),r("h5",null),r(x,Object.assign({},Ed,{states:__assign(__assign({},Ed.states),{progress:1}),content:__assign(__assign({},Ed.content),t)})),r("h5",null),r(x,Object.assign({},Ed,{states:__assign(__assign({},Ed.states),{progress:1}),content:__assign(__assign({},Ed.content),t)})),r("h5",null)),r("div",{style:wd},r("h4",null,"Many Actions"),r(x,Object.assign({},Dd,{states:__assign(__assign({},Dd.states),{progress:100}),content:__assign(__assign({},Dd.content),e)})),r("h5",null),r(x,Object.assign({},Dd,{states:__assign(__assign({},Dd.states),{progress:500}),content:__assign(__assign({},Dd.content),e)})),r("h5",null),r(x,Object.assign({},Dd,{states:__assign(__assign({},Dd.states),{progress:100}),content:__assign(__assign({},Dd.content),t)})),r("h5",null),r(x,Object.assign({},Dd,{states:__assign(__assign({},Dd.states),{progress:500}),content:__assign(__assign({},Dd.content),t)})),r("h5",null)))};var Pd=function(){var e={showExpiry:true,rewardDuration:Z.DateTime.now().minus({days:2}).toISO()+"/"+Z.DateTime.now().minus({days:1}).toISO()};var t=__assign(__assign({},e),{repeatable:true});return r("div",{style:xd},r("div",{style:wd},r("h4",null,"One Action"),r(x,Object.assign({},yd,{states:__assign(__assign({},yd.states),{progress:0}),content:__assign(__assign({},yd.content),e)})),r("h5",null),r(x,Object.assign({},yd,{states:__assign(__assign({},yd.states),{progress:1}),content:__assign(__assign({},yd.content),e)})),r("h5",null),r(x,Object.assign({},yd,{states:__assign(__assign({},yd.states),{progress:0}),content:__assign(__assign({},yd.content),t)})),r("h5",null),r(x,Object.assign({},yd,{states:__assign(__assign({},yd.states),{progress:1}),content:__assign(__assign({},yd.content),t)})),r("h5",null)),r("div",{style:wd},r("h4",null,"A Couple Actions"),r(x,Object.assign({},Ed,{states:__assign(__assign({},Ed.states),{progress:1}),content:__assign(__assign({},Ed.content),e)})),r("h5",null),r(x,Object.assign({},Ed,{states:__assign(__assign({},Ed.states),{progress:1}),content:__assign(__assign({},Ed.content),e)})),r("h5",null),r(x,Object.assign({},Ed,{states:__assign(__assign({},Ed.states),{progress:1}),content:__assign(__assign({},Ed.content),t)})),r("h5",null),r(x,Object.assign({},Ed,{states:__assign(__assign({},Ed.states),{progress:1}),content:__assign(__assign({},Ed.content),t)})),r("h5",null)),r("div",{style:wd},r("h4",null,"Many Actions"),r(x,Object.assign({},Dd,{states:__assign(__assign({},Dd.states),{progress:100}),content:__assign(__assign({},Dd.content),e)})),r("h5",null),r(x,Object.assign({},Dd,{states:__assign(__assign({},Dd.states),{progress:500}),content:__assign(__assign({},Dd.content),e)})),r("h5",null),r(x,Object.assign({},Dd,{states:__assign(__assign({},Dd.states),{progress:100}),content:__assign(__assign({},Dd.content),t)})),r("h5",null),r(x,Object.assign({},Dd,{states:__assign(__assign({},Dd.states),{progress:500}),content:__assign(__assign({},Dd.content),t)})),r("h5",null)))};var Id=function(){var e={progress:0,goal:500,progressBarUnit:"$"};return r("div",null,r(dd,{matrix:{progress:[0,100,500,650,1200]},props:e,Component:w}))};var Nd=function(){var e={progress:0,steps:true,goal:5,progressBarUnit:"$"};return r("div",null,r(dd,{matrix:{progress:[0,1,5,7]},props:e,Component:w}))};var Fd=function(){var e={progress:0,goal:500,progressBarUnit:"$",repeatable:true};return r("div",null,r(dd,{matrix:{progress:[0,100,500,650,1200]},props:e,Component:w}))};var Sd=function(){var e={progress:0,steps:true,goal:5,progressBarUnit:"$",repeatable:true};return r("div",null,r(dd,{matrix:{progress:[0,1,5,7,12]},props:e,Component:w}))};var Ld=function(){var e={progress:0,steps:true,goal:5,progressBarUnit:"$",repeatable:true,finite:2};return r("div",null,r(dd,{matrix:{progress:[0,1,5,7,10,12]},props:e,Component:w}))};var Bd=Object.freeze({__proto__:null,default:vd,TaskCard:_d,TaskCardNotRepeatable:qd,TaskCardRepeatable:Cd,TaskCardRepeatableFinite:Ad,TaskCardEndDate:kd,TaskCardLoading:Rd,TaskCardNotStarted:Td,TaskCardEnded:Pd,ProgressBar:Id,ProgressBarSteps:Nd,ProgressBarRepeatable:Fd,ProgressBarStepsRepeatable:Sd,ProgressBarStepsRepeatableFinite:Ld});var Od='<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program">\r\n <sqm-router>\r\n <template\r\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\r\n >\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n </template>\r\n </sqm-router>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqb-widget\r\n widget-type="p/referral-program/w/referrerWidget"\r\n track-loads="true"\r\n ></sqb-widget>\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n';var jd='<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program">\r\n <sqm-router>\r\n <template\r\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\r\n >\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n </template>\r\n </sqm-router>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b|\\brefer\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/refer"\r\n icon="inbox"\r\n label="Submit A Lead"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqb-widget\r\n widget-type="p/referral-program/w/referrerWidget"\r\n track-loads="true"\r\n ></sqb-widget>\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n <template path="/refer">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-referral-iframe></sqm-referral-iframe>\r\n </template>\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n';var Vd='<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program">\r\n <sqm-router>\r\n <template\r\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\r\n >\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n </template>\r\n </sqm-router>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b|\\brefer\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/refer"\r\n icon="inbox"\r\n label="Submit A Lead"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n ><sqm-titled-section label-margin="xx-small"\r\n ><sqm-text slot="label"> <p>Welcome back,</p> </sqm-text\r\n ><sqm-text slot="content">\r\n <h1>\r\n <sqm-user-name\r\n fallback="Anonymous User"\r\n ></sqm-user-name>\r\n </h1> </sqm-text\r\n ></sqm-titled-section>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container> </sqm-portal-container\r\n ><sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-titled-section padding="none" label-margin="x-large"\r\n ><sqm-text slot="label">\r\n <h2>Partner and Profit</h2> </sqm-text\r\n ><sqm-text slot="content">\r\n <p>\r\n Get rewarded for referring potential customers to\r\n SaaSquatch. Earn commission for each successful lead you\r\n send our way\r\n </p>\r\n </sqm-text></sqm-titled-section\r\n >\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share your referral link</h3> </sqm-text\r\n ><sqm-share-link slot="content"></sqm-share-link\r\n ></sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none">\r\n <sqm-text slot="label">\r\n <h3>Share your referral code</h3> </sqm-text\r\n ><sqm-share-code slot="content"></sqm-share-code>\r\n </sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share via social media</h3> </sqm-text\r\n ><sqm-portal-container\r\n slot="content"\r\n direction="row"\r\n padding="none"\r\n gap="xxx-large"\r\n min-width="160px"\r\n ><sqm-share-button\r\n icon="envelope"\r\n medium="email"\r\n size="medium"\r\n pill="true"\r\n >Email a friend</sqm-share-button\r\n ><sqm-share-button\r\n medium="twitter"\r\n size="medium"\r\n pill="true"\r\n >Tweet about us</sqm-share-button\r\n ><sqm-share-button\r\n medium="facebook"\r\n size="medium"\r\n pill="true"\r\n >Share on Facebook</sqm-share-button\r\n ></sqm-portal-container\r\n ></sqm-titled-section\r\n ></sqm-portal-container\r\n >\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n <template path="/refer">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-referral-iframe></sqm-referral-iframe>\r\n </template>\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n';var Md='<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program">\r\n <sqm-router>\r\n <template\r\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\r\n >\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n </template>\r\n </sqm-router>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n ><sqm-titled-section label-margin="xx-small"\r\n ><sqm-text slot="label"> <p>Welcome back,</p> </sqm-text\r\n ><sqm-text slot="content">\r\n <h1>\r\n <sqm-user-name\r\n fallback="Anonymous User"\r\n ></sqm-user-name>\r\n </h1> </sqm-text\r\n ></sqm-titled-section>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container> </sqm-portal-container\r\n ><sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-titled-section padding="none" label-margin="x-large"\r\n ><sqm-text slot="label">\r\n <h2>Partner and Profit</h2> </sqm-text\r\n ><sqm-text slot="content">\r\n <p>\r\n Get rewarded for referring potential customers to\r\n SaaSquatch. Earn commission for each successful lead you\r\n send our way\r\n </p>\r\n </sqm-text></sqm-titled-section\r\n >\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share your referral link</h3> </sqm-text\r\n ><sqm-share-link slot="content"></sqm-share-link\r\n ></sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none">\r\n <sqm-text slot="label">\r\n <h3>Share your referral code</h3> </sqm-text\r\n ><sqm-share-code slot="content"></sqm-share-code>\r\n </sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share via social media</h3> </sqm-text\r\n ><sqm-portal-container\r\n slot="content"\r\n direction="row"\r\n padding="none"\r\n gap="xxx-large"\r\n min-width="160px"\r\n ><sqm-share-button\r\n icon="envelope"\r\n medium="email"\r\n size="medium"\r\n pill="true"\r\n >Email a friend</sqm-share-button\r\n ><sqm-share-button\r\n medium="twitter"\r\n size="medium"\r\n pill="true"\r\n >Tweet about us</sqm-share-button\r\n ><sqm-share-button\r\n medium="facebook"\r\n size="medium"\r\n pill="true"\r\n >Share on Facebook</sqm-share-button\r\n ></sqm-portal-container\r\n ></sqm-titled-section\r\n ></sqm-portal-container\r\n >\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n';var Gd='<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program-1">\r\n <sqm-router>\r\n <template\r\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\r\n >\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n </template>\r\n </sqm-router>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-program-menu>\r\n <sl-menu-item value="referral-program-1"\r\n >Referral Program 1</sl-menu-item\r\n >\r\n <sl-menu-item value="referral-program-2"\r\n >Referral Program 2</sl-menu-item\r\n >\r\n </sqm-program-menu>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqb-program-switch>\r\n <template program-id="referral-program-1">\r\n <sqb-widget\r\n widget-type="p/referral-program-1/w/referrerWidget"\r\n track-loads="true"\r\n ></sqb-widget>\r\n </template>\r\n <template program-id="referral-program-2">\r\n <sqb-widget\r\n widget-type="p/referral-program-2/w/referrerWidget"\r\n track-loads="true"\r\n ></sqb-widget>\r\n </template>\r\n </sqb-program-switch>\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile></sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n';var zd='<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program-1">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-program-menu>\r\n <sl-menu-item value="referral-program-1"\r\n >Referral Program 1</sl-menu-item\r\n >\r\n <sl-menu-item value="referral-program-2"\r\n >Referral Program 2</sl-menu-item\r\n >\r\n </sqm-program-menu>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route\r\n ><sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n ><sqm-titled-section label-margin="xx-small"\r\n ><sqm-text slot="label"> <p>Welcome back,</p> </sqm-text\r\n ><sqm-text slot="content">\r\n <h1>\r\n <sqm-user-name\r\n fallback="Anonymous User"\r\n ></sqm-user-name>\r\n </h1> </sqm-text\r\n ></sqm-titled-section>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container> </sqm-portal-container\r\n ><sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-titled-section padding="none" label-margin="x-large"\r\n ><sqm-text slot="label">\r\n <h2>Partner and Profit</h2> </sqm-text\r\n ><sqm-text slot="content">\r\n <p>\r\n Get rewarded for referring potential customers to\r\n SaaSquatch. Earn commission for each successful lead you\r\n send our way\r\n </p>\r\n </sqm-text></sqm-titled-section\r\n >\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share your referral link</h3> </sqm-text\r\n ><sqm-share-link slot="content"></sqm-share-link\r\n ></sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none">\r\n <sqm-text slot="label">\r\n <h3>Share your referral code</h3> </sqm-text\r\n ><sqm-share-code slot="content"></sqm-share-code>\r\n </sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share via social media</h3> </sqm-text\r\n ><sqm-portal-container\r\n slot="content"\r\n direction="row"\r\n padding="none"\r\n gap="xxx-large"\r\n min-width="160px"\r\n ><sqm-share-button\r\n icon="envelope"\r\n medium="email"\r\n size="medium"\r\n pill="true"\r\n >Email a friend</sqm-share-button\r\n ><sqm-share-button\r\n medium="twitter"\r\n size="medium"\r\n pill="true"\r\n >Tweet about us</sqm-share-button\r\n ><sqm-share-button\r\n medium="facebook"\r\n size="medium"\r\n pill="true"\r\n >Share on Facebook</sqm-share-button\r\n ></sqm-portal-container\r\n ></sqm-titled-section\r\n ></sqm-portal-container\r\n >\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n';var Hd='<sqm-portal-container direction="column" padding="xxx-large" gap="xxx-large"\r\n ><sqm-titled-section label-margin="xx-small"\r\n ><sqm-text slot="label"> <p>Welcome back,</p> </sqm-text\r\n ><sqm-text slot="content">\r\n <h1>\r\n <sqm-user-name fallback="Anonymous User"></sqm-user-name>\r\n </h1> </sqm-text\r\n ></sqm-titled-section>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container> </sqm-portal-container\r\n><sqm-portal-container direction="column" padding="xxx-large" gap="xxx-large">\r\n <sqm-titled-section padding="none" label-margin="x-large"\r\n ><sqm-text slot="label"> <h2>Partner and Profit</h2> </sqm-text\r\n ><sqm-text slot="content">\r\n <p>\r\n Get rewarded for referring potential customers to SaaSquatch. Earn\r\n commission for each successful lead you send our way\r\n </p>\r\n </sqm-text></sqm-titled-section\r\n >\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label"> <h3>Share your referral link</h3> </sqm-text\r\n ><sqm-share-link slot="content"></sqm-share-link\r\n ></sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none">\r\n <sqm-text slot="label"> <h3>Share your referral code</h3> </sqm-text\r\n ><sqm-share-code slot="content"></sqm-share-code>\r\n </sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label"> <h3>Share via social media</h3> </sqm-text\r\n ><sqm-portal-container\r\n slot="content"\r\n direction="row"\r\n padding="none"\r\n gap="xxx-large"\r\n min-width="160px"\r\n ><sqm-share-button\r\n icon="envelope"\r\n medium="email"\r\n size="medium"\r\n pill="true"\r\n >Email a friend</sqm-share-button\r\n ><sqm-share-button medium="twitter" size="medium" pill="true"\r\n >Tweet about us</sqm-share-button\r\n ><sqm-share-button medium="facebook" size="medium" pill="true"\r\n >Share on Facebook</sqm-share-button\r\n ></sqm-portal-container\r\n ></sqm-titled-section\r\n ></sqm-portal-container\r\n>\r\n';var Ud="<sqm-referral-iframe></sqm-referral-iframe>\r\n";var Wd='<sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n></sqm-portal-protected-route>\r\n<sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider domain="https://managed-identity.saasquatch.com">\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n</sqm-portal-container>\r\n';var $d='<sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n></sqm-portal-protected-route>\r\n<sqm-portal-container direction="column" padding="xxx-large" gap="xxx-large">\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n></sqm-portal-container>\r\n';var Jd='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r\n\r\n<html\r\n xmlns="http://www.w3.org/1999/xhtml"\r\n xmlns:o="urn:schemas-microsoft-com:office:office"\r\n xmlns:v="urn:schemas-microsoft-com:vml"\r\n>\r\n <head>\r\n \x3c!--[if gte mso 9\r\n ]><xml\r\n ><o:OfficeDocumentSettings\r\n ><o:AllowPNG /><o:PixelsPerInch\r\n >96</o:PixelsPerInch\r\n ></o:OfficeDocumentSettings\r\n ></xml\r\n ><!\r\n [endif]--\x3e\r\n <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />\r\n <meta content="width=device-width" name="viewport" />\r\n \x3c!--[if !mso]>\x3c!--\x3e\r\n <meta content="IE=edge" http-equiv="X-UA-Compatible" />\r\n \x3c!--<![endif]--\x3e\r\n <title></title>\r\n \x3c!--[if !mso]>\x3c!--\x3e\r\n \x3c!--<![endif]--\x3e\r\n <style type="text/css">\r\n body {\r\n margin: 0;\r\n padding: 0;\r\n }\r\n\r\n table,\r\n td,\r\n tr {\r\n vertical-align: top;\r\n border-collapse: collapse;\r\n }\r\n\r\n * {\r\n line-height: inherit;\r\n }\r\n\r\n a[x-apple-data-detectors="true"] {\r\n color: inherit !important;\r\n text-decoration: none !important;\r\n }\r\n </style>\r\n <style id="media-query" type="text/css">\r\n @media (max-width: 520px) {\r\n .block-grid,\r\n .col {\r\n min-width: 320px !important;\r\n max-width: 100% !important;\r\n display: block !important;\r\n }\r\n\r\n .block-grid {\r\n width: 100% !important;\r\n }\r\n\r\n .col {\r\n width: 100% !important;\r\n }\r\n\r\n .col_cont {\r\n margin: 0 auto;\r\n }\r\n\r\n img.fullwidth,\r\n img.fullwidthOnMobile {\r\n max-width: 100% !important;\r\n }\r\n\r\n .no-stack .col {\r\n min-width: 0 !important;\r\n display: table-cell !important;\r\n }\r\n\r\n .no-stack.two-up .col {\r\n width: 50% !important;\r\n }\r\n\r\n .no-stack .col.num2 {\r\n width: 16.6% !important;\r\n }\r\n\r\n .no-stack .col.num3 {\r\n width: 25% !important;\r\n }\r\n\r\n .no-stack .col.num4 {\r\n width: 33% !important;\r\n }\r\n\r\n .no-stack .col.num5 {\r\n width: 41.6% !important;\r\n }\r\n\r\n .no-stack .col.num6 {\r\n width: 50% !important;\r\n }\r\n\r\n .no-stack .col.num7 {\r\n width: 58.3% !important;\r\n }\r\n\r\n .no-stack .col.num8 {\r\n width: 66.6% !important;\r\n }\r\n\r\n .no-stack .col.num9 {\r\n width: 75% !important;\r\n }\r\n\r\n .no-stack .col.num10 {\r\n width: 83.3% !important;\r\n }\r\n\r\n .video-block {\r\n max-width: none !important;\r\n }\r\n\r\n .mobile_hide {\r\n min-height: 0px;\r\n max-height: 0px;\r\n max-width: 0px;\r\n display: none;\r\n overflow: hidden;\r\n font-size: 0px;\r\n }\r\n\r\n .desktop_hide {\r\n display: block !important;\r\n max-height: none !important;\r\n }\r\n }\r\n </style>\r\n <style id="icon-media-query" type="text/css">\r\n @media (max-width: 520px) {\r\n .icons-inner {\r\n text-align: center;\r\n }\r\n\r\n .icons-inner td {\r\n margin: 0 auto;\r\n }\r\n }\r\n </style>\r\n </head>\r\n <body\r\n class="clean-body"\r\n style="\r\n margin: 0;\r\n padding: 0;\r\n -webkit-text-size-adjust: 100%;\r\n background-color: #ffffff;\r\n "\r\n >\r\n \x3c!--[if IE]><div class="ie-browser"><![endif]--\x3e\r\n <table\r\n bgcolor="#FFFFFF"\r\n cellpadding="0"\r\n cellspacing="0"\r\n class="nl-container"\r\n role="presentation"\r\n style="\r\n table-layout: fixed;\r\n vertical-align: top;\r\n min-width: 320px;\r\n border-spacing: 0;\r\n border-collapse: collapse;\r\n mso-table-lspace: 0pt;\r\n mso-table-rspace: 0pt;\r\n background-color: #ffffff;\r\n width: 100%;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <tbody>\r\n <tr style="vertical-align: top" valign="top">\r\n <td style="word-break: break-word; vertical-align: top" valign="top">\r\n \x3c!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color:#FFFFFF"><![endif]--\x3e\r\n <div style="background-color: transparent">\r\n <div\r\n class="block-grid"\r\n style="\r\n min-width: 320px;\r\n max-width: 500px;\r\n overflow-wrap: break-word;\r\n word-wrap: break-word;\r\n word-break: break-word;\r\n margin: 0 auto;\r\n background-color: transparent;\r\n "\r\n >\r\n <div\r\n style="\r\n border-collapse: collapse;\r\n display: table;\r\n width: 100%;\r\n background-color: transparent;\r\n "\r\n >\r\n \x3c!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:transparent;"><tr><td align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:500px"><tr class="layout-full-width" style="background-color:transparent"><![endif]--\x3e\r\n \x3c!--[if (mso)|(IE)]><td align="center" width="500" style="background-color:transparent;width:500px; border-top: 0px solid transparent; border-left: 0px solid transparent; border-bottom: 0px solid transparent; border-right: 0px solid transparent;" valign="top"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 0px; padding-top:5px; padding-bottom:5px;"><![endif]--\x3e\r\n <div\r\n class="col num12"\r\n style="\r\n min-width: 320px;\r\n max-width: 500px;\r\n display: table-cell;\r\n vertical-align: top;\r\n width: 500px;\r\n "\r\n >\r\n <div class="col_cont" style="width: 100% !important">\r\n \x3c!--[if (!mso)&(!IE)]>\x3c!--\x3e\r\n <div\r\n style="\r\n border-top: 0px solid transparent;\r\n border-left: 0px solid transparent;\r\n border-bottom: 0px solid transparent;\r\n border-right: 0px solid transparent;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n padding-right: 0px;\r\n padding-left: 0px;\r\n "\r\n >\r\n \x3c!--<![endif]--\x3e\r\n <table\r\n cellpadding="0"\r\n cellspacing="0"\r\n role="presentation"\r\n style="\r\n table-layout: fixed;\r\n vertical-align: top;\r\n border-spacing: 0;\r\n border-collapse: collapse;\r\n mso-table-lspace: 0pt;\r\n mso-table-rspace: 0pt;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <tr style="vertical-align: top" valign="top">\r\n <td\r\n align="center"\r\n style="\r\n word-break: break-word;\r\n vertical-align: top;\r\n padding-bottom: 20px;\r\n padding-left: 10px;\r\n padding-right: 10px;\r\n padding-top: 10px;\r\n text-align: center;\r\n width: 100%;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <h1\r\n style="\r\n color: #444445;\r\n direction: ltr;\r\n font-family: \'Helvetica Neue\', Helvetica,\r\n Arial, sans-serif;\r\n font-size: 20px;\r\n font-weight: normal;\r\n letter-spacing: normal;\r\n line-height: 120%;\r\n text-align: left;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n "\r\n >\r\n <strong>Reset your password</strong>\r\n </h1>\r\n </td>\r\n </tr>\r\n </table>\r\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 10px; padding-left: 10px; padding-top: 10px; padding-bottom: 10px; font-family: Arial, sans-serif"><![endif]--\x3e\r\n <div\r\n style="\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n line-height: 1.8;\r\n padding-top: 10px;\r\n padding-right: 10px;\r\n padding-bottom: 10px;\r\n padding-left: 10px;\r\n "\r\n >\r\n <div\r\n class="txtTinyMce-wrapper"\r\n style="\r\n font-size: 14px;\r\n line-height: 1.8;\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n mso-line-height-alt: 25px;\r\n "\r\n >\r\n <p\r\n style="\r\n margin: 0;\r\n font-size: 14px;\r\n line-height: 1.8;\r\n word-break: break-word;\r\n mso-line-height-alt: 25px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n "\r\n >\r\n <span style="font-size: 14px"\r\n >We received a request to reset your password.\r\n Click the button below to reset your\r\n password.</span\r\n >\r\n </p>\r\n </div>\r\n </div>\r\n <div\r\n align="center"\r\n class="button-container"\r\n style="\r\n padding-top: 10px;\r\n padding-right: 10px;\r\n padding-bottom: 10px;\r\n padding-left: 10px;\r\n "\r\n >\r\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-spacing: 0; border-collapse: collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;"><tr><td style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px" align="center"><v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" target="_blank" href={{validationLink}} style="height:31.5pt;width:390pt;v-text-anchor:middle;" arcsize="12%" stroke="false" fillcolor="#2270ee"><w:anchorlock/><v:textbox inset="0,0,0,0"><center style="color:#ffffff; font-family:Arial, sans-serif; font-size:14px"><!\r\n [endif]--\x3e<a\r\n href="{{validationLink}}"\r\n target="_blank"\r\n style="\r\n -webkit-text-size-adjust: none;\r\n text-decoration: none;\r\n display: block;\r\n color: #ffffff;\r\n background-color: #2270ee;\r\n border-radius: 5px;\r\n -webkit-border-radius: 5px;\r\n -moz-border-radius: 5px;\r\n width: 100%;\r\n width: calc(100% - 2px);\r\n border-top: 1px solid #2270ee;\r\n border-right: 1px solid #2270ee;\r\n border-bottom: 1px solid #2270ee;\r\n border-left: 1px solid #2270ee;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n font-family: \'Helvetica Neue\', Helvetica, Arial,\r\n sans-serif;\r\n text-align: center;\r\n mso-border-alt: none;\r\n word-break: keep-all;\r\n "\r\n target="_blank"\r\n ><span\r\n style="\r\n padding-left: 20px;\r\n padding-right: 20px;\r\n font-size: 14px;\r\n display: inline-block;\r\n letter-spacing: undefined;\r\n "\r\n ><span\r\n style="\r\n font-size: 16px;\r\n line-height: 2;\r\n word-break: break-word;\r\n mso-line-height-alt: 32px;\r\n "\r\n ><span\r\n style="font-size: 14px; line-height: 28px"\r\n >Reset Password</span\r\n ></span\r\n ></span\r\n ></a\r\n >\r\n \x3c!--[if mso]></center></v:textbox></v:roundrect></td></tr></table><![endif]--\x3e\r\n </div>\r\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 10px; padding-left: 10px; padding-top: 15px; padding-bottom: 15px; font-family: Arial, sans-serif"><![endif]--\x3e\r\n <div\r\n style="\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n line-height: 1.2;\r\n padding-top: 15px;\r\n padding-right: 10px;\r\n padding-bottom: 15px;\r\n padding-left: 10px;\r\n "\r\n >\r\n <div\r\n class="txtTinyMce-wrapper"\r\n style="\r\n font-size: 14px;\r\n line-height: 1.2;\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n mso-line-height-alt: 17px;\r\n "\r\n >\r\n <p\r\n style="\r\n margin: 0;\r\n font-size: 12px;\r\n line-height: 1.2;\r\n word-break: break-word;\r\n mso-line-height-alt: 14px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n "\r\n >\r\n <span style="font-size: 12px"\r\n >If you didn\'t request a password reset please\r\n ignore this email. Your password will not\r\n change.</span\r\n >\r\n </p>\r\n </div>\r\n </div>\r\n \x3c!--[if mso]></td></tr></table><![endif]--\x3e\r\n \x3c!--[if (!mso)&(!IE)]>\x3c!--\x3e\r\n </div>\r\n \x3c!--<![endif]--\x3e\r\n </div>\r\n </div>\r\n \x3c!--[if (mso)|(IE)]></td></tr></table><![endif]--\x3e\r\n \x3c!--[if (mso)|(IE)]></td></tr></table></td></tr></table><![endif]--\x3e\r\n </div>\r\n </div>\r\n </div>\r\n \x3c!--[if (mso)|(IE)]></td></tr></table><![endif]--\x3e\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n \x3c!--[if (IE)]></div><![endif]--\x3e\r\n </body>\r\n</html>';var Xd='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r\n\r\n<html\r\n xmlns="http://www.w3.org/1999/xhtml"\r\n xmlns:o="urn:schemas-microsoft-com:office:office"\r\n xmlns:v="urn:schemas-microsoft-com:vml"\r\n>\r\n <head>\r\n \x3c!--[if gte mso 9\r\n ]><xml\r\n ><o:OfficeDocumentSettings\r\n ><o:AllowPNG /><o:PixelsPerInch\r\n >96</o:PixelsPerInch\r\n ></o:OfficeDocumentSettings\r\n ></xml\r\n ><!\r\n [endif]--\x3e\r\n <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />\r\n <meta content="width=device-width" name="viewport" />\r\n \x3c!--[if !mso]>\x3c!--\x3e\r\n <meta content="IE=edge" http-equiv="X-UA-Compatible" />\r\n \x3c!--<![endif]--\x3e\r\n <title></title>\r\n \x3c!--[if !mso]>\x3c!--\x3e\r\n \x3c!--<![endif]--\x3e\r\n <style type="text/css">\r\n body {\r\n margin: 0;\r\n padding: 0;\r\n }\r\n\r\n table,\r\n td,\r\n tr {\r\n vertical-align: top;\r\n border-collapse: collapse;\r\n }\r\n\r\n * {\r\n line-height: inherit;\r\n }\r\n\r\n a[x-apple-data-detectors="true"] {\r\n color: inherit !important;\r\n text-decoration: none !important;\r\n }\r\n </style>\r\n <style id="media-query" type="text/css">\r\n @media (max-width: 520px) {\r\n .block-grid,\r\n .col {\r\n min-width: 320px !important;\r\n max-width: 100% !important;\r\n display: block !important;\r\n }\r\n\r\n .block-grid {\r\n width: 100% !important;\r\n }\r\n\r\n .col {\r\n width: 100% !important;\r\n }\r\n\r\n .col_cont {\r\n margin: 0 auto;\r\n }\r\n\r\n img.fullwidth,\r\n img.fullwidthOnMobile {\r\n max-width: 100% !important;\r\n }\r\n\r\n .no-stack .col {\r\n min-width: 0 !important;\r\n display: table-cell !important;\r\n }\r\n\r\n .no-stack.two-up .col {\r\n width: 50% !important;\r\n }\r\n\r\n .no-stack .col.num2 {\r\n width: 16.6% !important;\r\n }\r\n\r\n .no-stack .col.num3 {\r\n width: 25% !important;\r\n }\r\n\r\n .no-stack .col.num4 {\r\n width: 33% !important;\r\n }\r\n\r\n .no-stack .col.num5 {\r\n width: 41.6% !important;\r\n }\r\n\r\n .no-stack .col.num6 {\r\n width: 50% !important;\r\n }\r\n\r\n .no-stack .col.num7 {\r\n width: 58.3% !important;\r\n }\r\n\r\n .no-stack .col.num8 {\r\n width: 66.6% !important;\r\n }\r\n\r\n .no-stack .col.num9 {\r\n width: 75% !important;\r\n }\r\n\r\n .no-stack .col.num10 {\r\n width: 83.3% !important;\r\n }\r\n\r\n .video-block {\r\n max-width: none !important;\r\n }\r\n\r\n .mobile_hide {\r\n min-height: 0px;\r\n max-height: 0px;\r\n max-width: 0px;\r\n display: none;\r\n overflow: hidden;\r\n font-size: 0px;\r\n }\r\n\r\n .desktop_hide {\r\n display: block !important;\r\n max-height: none !important;\r\n }\r\n }\r\n </style>\r\n <style id="icon-media-query" type="text/css">\r\n @media (max-width: 520px) {\r\n .icons-inner {\r\n text-align: center;\r\n }\r\n\r\n .icons-inner td {\r\n margin: 0 auto;\r\n }\r\n }\r\n </style>\r\n </head>\r\n <body\r\n class="clean-body"\r\n style="\r\n margin: 0;\r\n padding: 0;\r\n -webkit-text-size-adjust: 100%;\r\n background-color: #ffffff;\r\n "\r\n >\r\n \x3c!--[if IE]><div class="ie-browser"><![endif]--\x3e\r\n <table\r\n bgcolor="#FFFFFF"\r\n cellpadding="0"\r\n cellspacing="0"\r\n class="nl-container"\r\n role="presentation"\r\n style="\r\n table-layout: fixed;\r\n vertical-align: top;\r\n min-width: 320px;\r\n border-spacing: 0;\r\n border-collapse: collapse;\r\n mso-table-lspace: 0pt;\r\n mso-table-rspace: 0pt;\r\n background-color: #ffffff;\r\n width: 100%;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <tbody>\r\n <tr style="vertical-align: top" valign="top">\r\n <td style="word-break: break-word; vertical-align: top" valign="top">\r\n \x3c!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color:#FFFFFF"><![endif]--\x3e\r\n <div style="background-color: transparent">\r\n <div\r\n class="block-grid"\r\n style="\r\n min-width: 320px;\r\n max-width: 500px;\r\n overflow-wrap: break-word;\r\n word-wrap: break-word;\r\n word-break: break-word;\r\n margin: 0 auto;\r\n background-color: transparent;\r\n "\r\n >\r\n <div\r\n style="\r\n border-collapse: collapse;\r\n display: table;\r\n width: 100%;\r\n background-color: transparent;\r\n "\r\n >\r\n \x3c!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:transparent;"><tr><td align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:500px"><tr class="layout-full-width" style="background-color:transparent"><![endif]--\x3e\r\n \x3c!--[if (mso)|(IE)]><td align="center" width="500" style="background-color:transparent;width:500px; border-top: 0px solid transparent; border-left: 0px solid transparent; border-bottom: 0px solid transparent; border-right: 0px solid transparent;" valign="top"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 0px; padding-top:5px; padding-bottom:5px;"><![endif]--\x3e\r\n <div\r\n class="col num12"\r\n style="\r\n min-width: 320px;\r\n max-width: 500px;\r\n display: table-cell;\r\n vertical-align: top;\r\n width: 500px;\r\n "\r\n >\r\n <div class="col_cont" style="width: 100% !important">\r\n \x3c!--[if (!mso)&(!IE)]>\x3c!--\x3e\r\n <div\r\n style="\r\n border-top: 0px solid transparent;\r\n border-left: 0px solid transparent;\r\n border-bottom: 0px solid transparent;\r\n border-right: 0px solid transparent;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n padding-right: 0px;\r\n padding-left: 0px;\r\n "\r\n >\r\n \x3c!--<![endif]--\x3e\r\n <table\r\n cellpadding="0"\r\n cellspacing="0"\r\n role="presentation"\r\n style="\r\n table-layout: fixed;\r\n vertical-align: top;\r\n border-spacing: 0;\r\n border-collapse: collapse;\r\n mso-table-lspace: 0pt;\r\n mso-table-rspace: 0pt;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <tr style="vertical-align: top" valign="top">\r\n <td\r\n align="center"\r\n style="\r\n word-break: break-word;\r\n vertical-align: top;\r\n padding-bottom: 20px;\r\n padding-left: 10px;\r\n padding-right: 10px;\r\n padding-top: 10px;\r\n text-align: center;\r\n width: 100%;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <h1\r\n style="\r\n color: #444445;\r\n direction: ltr;\r\n font-family: \'Helvetica Neue\', Helvetica,\r\n Arial, sans-serif;\r\n font-size: 20px;\r\n font-weight: normal;\r\n letter-spacing: normal;\r\n line-height: 120%;\r\n text-align: left;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n "\r\n >\r\n <strong>Verify your email address</strong>\r\n </h1>\r\n </td>\r\n </tr>\r\n </table>\r\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 10px; padding-left: 10px; padding-top: 10px; padding-bottom: 10px; font-family: Arial, sans-serif"><![endif]--\x3e\r\n <div\r\n style="\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n line-height: 1.8;\r\n padding-top: 10px;\r\n padding-right: 10px;\r\n padding-bottom: 10px;\r\n padding-left: 10px;\r\n "\r\n >\r\n <div\r\n class="txtTinyMce-wrapper"\r\n style="\r\n font-size: 14px;\r\n line-height: 1.8;\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n mso-line-height-alt: 25px;\r\n "\r\n >\r\n <p\r\n style="\r\n margin: 0;\r\n font-size: 14px;\r\n line-height: 1.8;\r\n word-break: break-word;\r\n mso-line-height-alt: 25px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n "\r\n >\r\n <span style="font-size: 14px"\r\n >Thank you for signing up! Please click the button below\r\n to verify your email address.</span\r\n >\r\n </p>\r\n </div>\r\n </div>\r\n \x3c!--[if mso]></td></tr></table><![endif]--\x3e\r\n <div\r\n align="center"\r\n class="button-container"\r\n style="\r\n padding-top: 10px;\r\n padding-right: 10px;\r\n padding-bottom: 10px;\r\n padding-left: 10px;\r\n "\r\n >\r\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-spacing: 0; border-collapse: collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;"><tr><td style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px" align="center"><v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" target="_blank" href={{validationLink}} style="height:31.5pt;width:390pt;v-text-anchor:middle;" arcsize="12%" stroke="false" fillcolor="#2270ee"><w:anchorlock/><v:textbox inset="0,0,0,0"><center style="color:#ffffff; font-family:Arial, sans-serif; font-size:14px"><!\r\n [endif]--\x3e<a\r\n href={{validationLink}}\r\n\t\t\t\t\t\t\ttarget="_blank"\r\n style="\r\n -webkit-text-size-adjust: none;\r\n text-decoration: none;\r\n display: block;\r\n color: #ffffff;\r\n background-color: #2270ee;\r\n border-radius: 5px;\r\n -webkit-border-radius: 5px;\r\n -moz-border-radius: 5px;\r\n width: 100%;\r\n width: calc(100% - 2px);\r\n border-top: 1px solid #2270ee;\r\n border-right: 1px solid #2270ee;\r\n border-bottom: 1px solid #2270ee;\r\n border-left: 1px solid #2270ee;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n font-family: \'Helvetica Neue\', Helvetica, Arial,\r\n sans-serif;\r\n text-align: center;\r\n mso-border-alt: none;\r\n word-break: keep-all;\r\n "\r\n target="_blank"\r\n ><span\r\n style="\r\n padding-left: 20px;\r\n padding-right: 20px;\r\n font-size: 14px;\r\n display: inline-block;\r\n letter-spacing: undefined;\r\n "\r\n ><span\r\n style="\r\n font-size: 16px;\r\n line-height: 2;\r\n word-break: break-word;\r\n mso-line-height-alt: 32px;\r\n "\r\n ><span\r\n style="font-size: 14px; line-height: 28px"\r\n >Verify Email</span\r\n ></span\r\n ></span\r\n ></a\r\n >\r\n \x3c!--[if mso]></center></v:textbox></v:roundrect></td></tr></table><![endif]--\x3e\r\n </div>\r\n \x3c!--<![endif]--\x3e\r\n </div>\r\n </div>\r\n \x3c!--[if (mso)|(IE)]></td></tr></table><![endif]--\x3e\r\n \x3c!--[if (mso)|(IE)]></td></tr></table></td></tr></table><![endif]--\x3e\r\n </div>\r\n </div>\r\n </div>\r\n \x3c!--[if (mso)|(IE)]></td></tr></table><![endif]--\x3e\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n \x3c!--[if (IE)]></div><![endif]--\x3e\r\n </body>\r\n</html>';var Yd='<sqm-hero background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80">\r\n <sqm-portal-login></sqm-portal-login>\r\n</sqm-hero>\r\n';var Zd='<sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n>\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n</sqm-hero>\r\n';var Kd='<sqm-hero background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n</sqm-hero>\r\n';var Qd='<sqm-portal-reset-password confirm-password="true"></sqm-portal-reset-password>\r\n';var ec="<sqm-portal-verify-email></sqm-portal-verify-email>\r\n";var rc='<sqm-portal-protected-route redirect-to="/login"></sqm-portal-protected-route>\r\n<sqm-portal-email-verification></sqm-portal-email-verification>\r\n';var tc=l((function(e,r){(function(r,t){e.exports=t()})(a,(function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function r(r,t,n){if(t)e(r.prototype,t);if(n)e(r,n);return r}function t(e,r){if(!e)return;if(typeof e==="string")return n(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor)t=e.constructor.name;if(t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(e,r)}function n(e,r){if(r==null||r>e.length)r=e.length;for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function a(e,r){var n=typeof Symbol!=="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=t(e))||r&&e&&typeof e.length==="number"){if(n)e=n;var a=0;return function(){if(a>=e.length)return{done:true};return{done:false,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s={exports:{}};function i(){return{baseUrl:null,breaks:false,extensions:null,gfm:true,headerIds:true,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:true,pedantic:false,renderer:null,sanitize:false,sanitizer:null,silent:false,smartLists:false,smartypants:false,tokenizer:null,walkTokens:null,xhtml:false}}function o(e){s.exports.defaults=e}s.exports={defaults:i(),getDefaults:i,changeDefaults:o};var l=/[&<>"']/;var u=/[&<>"']/g;var d=/[<>"']|&(?!#?\w+;)/;var c=/[<>"']|&(?!#?\w+;)/g;var m={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};var p=function e(r){return m[r]};function g(e,r){if(r){if(l.test(e)){return e.replace(u,p)}}else{if(d.test(e)){return e.replace(c,p)}}return e}var f=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function h(e){return e.replace(f,(function(e,r){r=r.toLowerCase();if(r==="colon")return":";if(r.charAt(0)==="#"){return r.charAt(1)==="x"?String.fromCharCode(parseInt(r.substring(2),16)):String.fromCharCode(+r.substring(1))}return""}))}var b=/(^|[^\[])\^/g;function v(e,r){e=e.source||e;r=r||"";var t={replace:function r(n,a){a=a.source||a;a=a.replace(b,"$1");e=e.replace(n,a);return t},getRegex:function t(){return new RegExp(e,r)}};return t}var x=/[^\w:]/g;var w=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(e,r,t){if(e){var n;try{n=decodeURIComponent(h(t)).replace(x,"").toLowerCase()}catch(e){return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0){return null}}if(r&&!w.test(t)){t=C(r,t)}try{t=encodeURI(t).replace(/%25/g,"%")}catch(e){return null}return t}var E={};var D=/^[^:]+:\/*[^/]*$/;var _=/^([^:]+:)[\s\S]*$/;var q=/^([^:]+:\/*[^/]*)[\s\S]*$/;function C(e,r){if(!E[" "+e]){if(D.test(e)){E[" "+e]=e+"/"}else{E[" "+e]=T(e,"/",true)}}e=E[" "+e];var t=e.indexOf(":")===-1;if(r.substring(0,2)==="//"){if(t){return r}return e.replace(_,"$1")+r}else if(r.charAt(0)==="/"){if(t){return r}return e.replace(q,"$1")+r}else{return e+r}}var A={exec:function e(){}};function k(e){var r=1,t,n;for(;r<arguments.length;r++){t=arguments[r];for(n in t){if(Object.prototype.hasOwnProperty.call(t,n)){e[n]=t[n]}}}return e}function R(e,r){var t=e.replace(/\|/g,(function(e,r,t){var n=false,a=r;while(--a>=0&&t[a]==="\\"){n=!n}if(n){return"|"}else{return" |"}})),n=t.split(/ \|/);var a=0;if(!n[0].trim()){n.shift()}if(!n[n.length-1].trim()){n.pop()}if(n.length>r){n.splice(r)}else{while(n.length<r){n.push("")}}for(;a<n.length;a++){n[a]=n[a].trim().replace(/\\\|/g,"|")}return n}function T(e,r,t){var n=e.length;if(n===0){return""}var a=0;while(a<n){var s=e.charAt(n-a-1);if(s===r&&!t){a++}else if(s!==r&&t){a++}else{break}}return e.substr(0,n-a)}function P(e,r){if(e.indexOf(r[1])===-1){return-1}var t=e.length;var n=0,a=0;for(;a<t;a++){if(e[a]==="\\"){a++}else if(e[a]===r[0]){n++}else if(e[a]===r[1]){n--;if(n<0){return a}}}return-1}function I(e){if(e&&e.sanitize&&!e.silent){console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}}function N(e,r){if(r<1){return""}var t="";while(r>1){if(r&1){t+=e}r>>=1;e+=e}return t+e}var F={escape:g,unescape:h,edit:v,cleanUrl:y,resolveUrl:C,noopTest:A,merge:k,splitCells:R,rtrim:T,findClosingBracket:P,checkSanitizeDeprecation:I,repeatString:N};var S=s.exports.defaults;var L=F.rtrim,B=F.splitCells,O=F.escape,j=F.findClosingBracket;function V(e,r,t,n){var a=r.href;var s=r.title?O(r.title):null;var i=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){n.state.inLink=true;var o={type:"link",raw:t,href:a,title:s,text:i,tokens:n.inlineTokens(i,[])};n.state.inLink=false;return o}else{return{type:"image",raw:t,href:a,title:s,text:O(i)}}}function M(e,r){var t=e.match(/^(\s+)(?:```)/);if(t===null){return r}var n=t[1];return r.split("\n").map((function(e){var r=e.match(/^\s+/);if(r===null){return e}var t=r[0];if(t.length>=n.length){return e.slice(n.length)}return e})).join("\n")}var G=function(){function e(e){this.options=e||S}var r=e.prototype;r.space=function e(r){var t=this.rules.block.newline.exec(r);if(t){if(t[0].length>1){return{type:"space",raw:t[0]}}return{raw:"\n"}}};r.code=function e(r){var t=this.rules.block.code.exec(r);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:!this.options.pedantic?L(n,"\n"):n}}};r.fences=function e(r){var t=this.rules.block.fences.exec(r);if(t){var n=t[0];var a=M(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:a}}};r.heading=function e(r){var t=this.rules.block.heading.exec(r);if(t){var n=t[2].trim();if(/#$/.test(n)){var a=L(n,"#");if(this.options.pedantic){n=a.trim()}else if(!a||/ $/.test(a)){n=a.trim()}}var s={type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:[]};this.lexer.inline(s.text,s.tokens);return s}};r.hr=function e(r){var t=this.rules.block.hr.exec(r);if(t){return{type:"hr",raw:t[0]}}};r.blockquote=function e(r){var t=this.rules.block.blockquote.exec(r);if(t){var n=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(n,[]),text:n}}};r.list=function e(r){var t=this.rules.block.list.exec(r);if(t){var n,a,s,i,o,l,u,d,c,m;var p=t[1].trim();var g=p.length>1;var e={type:"list",raw:"",ordered:g,start:g?+p.slice(0,-1):"",loose:false,items:[]};p=g?"\\d{1,9}\\"+p.slice(-1):"\\"+p;if(this.options.pedantic){p=g?p:"[*+-]"}var f=new RegExp("^( {0,3}"+p+")((?: [^\\n]*| *)(?:\\n[^\\n]*)*(?:\\n|$))");while(r){if(this.rules.block.hr.test(r)){break}if(!(t=f.exec(r))){break}c=t[2].split("\n");if(this.options.pedantic){i=2;m=c[0].trimLeft()}else{i=t[2].search(/[^ ]/);i=t[1].length+(i>4?1:i);m=c[0].slice(i-t[1].length)}l=false;n=t[0];if(!c[0]&&/^ *$/.test(c[1])){n=t[1]+c.slice(0,2).join("\n")+"\n";e.loose=true;c=[]}var h=new RegExp("^ {0,"+Math.min(3,i-1)+"}(?:[*+-]|\\d{1,9}[.)])");for(o=1;o<c.length;o++){d=c[o];if(this.options.pedantic){d=d.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")}if(h.test(d)){n=t[1]+c.slice(0,o).join("\n")+"\n";break}if(!l){if(!d.trim()){l=true}if(d.search(/[^ ]/)>=i){m+="\n"+d.slice(i)}else{m+="\n"+d}continue}if(d.search(/[^ ]/)>=i||!d.trim()){m+="\n"+d.slice(i);continue}else{n=t[1]+c.slice(0,o).join("\n")+"\n";break}}if(!e.loose){if(u){e.loose=true}else if(/\n *\n *$/.test(n)){u=true}}if(this.options.gfm){a=/^\[[ xX]\] /.exec(m);if(a){s=a[0]!=="[ ] ";m=m.replace(/^\[[ xX]\] +/,"")}}e.items.push({type:"list_item",raw:n,task:!!a,checked:s,loose:false,text:m});e.raw+=n;r=r.slice(n.length)}e.items[e.items.length-1].raw=n.trimRight();e.items[e.items.length-1].text=m.trimRight();e.raw=e.raw.trimRight();var b=e.items.length;for(o=0;o<b;o++){this.lexer.state.top=false;e.items[o].tokens=this.lexer.blockTokens(e.items[o].text,[]);if(e.items[o].tokens.some((function(e){return e.type==="space"}))){e.loose=true;e.items[o].loose=true}}return e}};r.html=function e(r){var t=this.rules.block.html.exec(r);if(t){var n={type:"html",raw:t[0],pre:!this.options.sanitizer&&(t[1]==="pre"||t[1]==="script"||t[1]==="style"),text:t[0]};if(this.options.sanitize){n.type="paragraph";n.text=this.options.sanitizer?this.options.sanitizer(t[0]):O(t[0]);n.tokens=[];this.lexer.inline(n.text,n.tokens)}return n}};r.def=function e(r){var t=this.rules.block.def.exec(r);if(t){if(t[3])t[3]=t[3].substring(1,t[3].length-1);var n=t[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:n,raw:t[0],href:t[2],title:t[3]}}};r.table=function e(r){var t=this.rules.block.table.exec(r);if(t){var n={type:"table",header:B(t[1]).map((function(e){return{text:e}})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var a=n.align.length;var s,i,o,l;for(s=0;s<a;s++){if(/^ *-+: *$/.test(n.align[s])){n.align[s]="right"}else if(/^ *:-+: *$/.test(n.align[s])){n.align[s]="center"}else if(/^ *:-+ *$/.test(n.align[s])){n.align[s]="left"}else{n.align[s]=null}}a=n.rows.length;for(s=0;s<a;s++){n.rows[s]=B(n.rows[s],n.header.length).map((function(e){return{text:e}}))}a=n.header.length;for(i=0;i<a;i++){n.header[i].tokens=[];this.lexer.inlineTokens(n.header[i].text,n.header[i].tokens)}a=n.rows.length;for(i=0;i<a;i++){l=n.rows[i];for(o=0;o<l.length;o++){l[o].tokens=[];this.lexer.inlineTokens(l[o].text,l[o].tokens)}}return n}}};r.lheading=function e(r){var t=this.rules.block.lheading.exec(r);if(t){var n={type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:[]};this.lexer.inline(n.text,n.tokens);return n}};r.paragraph=function e(r){var t=this.rules.block.paragraph.exec(r);if(t){var n={type:"paragraph",raw:t[0],text:t[1].charAt(t[1].length-1)==="\n"?t[1].slice(0,-1):t[1],tokens:[]};this.lexer.inline(n.text,n.tokens);return n}};r.text=function e(r){var t=this.rules.block.text.exec(r);if(t){var n={type:"text",raw:t[0],text:t[0],tokens:[]};this.lexer.inline(n.text,n.tokens);return n}};r.escape=function e(r){var t=this.rules.inline.escape.exec(r);if(t){return{type:"escape",raw:t[0],text:O(t[1])}}};r.tag=function e(r){var t=this.rules.inline.tag.exec(r);if(t){if(!this.lexer.state.inLink&&/^<a /i.test(t[0])){this.lexer.state.inLink=true}else if(this.lexer.state.inLink&&/^<\/a>/i.test(t[0])){this.lexer.state.inLink=false}if(!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])){this.lexer.state.inRawBlock=true}else if(this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])){this.lexer.state.inRawBlock=false}return{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):O(t[0]):t[0]}}};r.link=function e(r){var t=this.rules.inline.link.exec(r);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n)){return}var a=L(n.slice(0,-1),"\\");if((n.length-a.length)%2===0){return}}else{var s=j(t[2],"()");if(s>-1){var i=t[0].indexOf("!")===0?5:4;var o=i+t[1].length+s;t[2]=t[2].substring(0,s);t[0]=t[0].substring(0,o).trim();t[3]=""}}var l=t[2];var u="";if(this.options.pedantic){var e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(l);if(e){l=e[1];u=e[3]}}else{u=t[3]?t[3].slice(1,-1):""}l=l.trim();if(/^</.test(l)){if(this.options.pedantic&&!/>$/.test(n)){l=l.slice(1)}else{l=l.slice(1,-1)}}return V(t,{href:l?l.replace(this.rules.inline._escapes,"$1"):l,title:u?u.replace(this.rules.inline._escapes,"$1"):u},t[0],this.lexer)}};r.reflink=function e(r,t){var n;if((n=this.rules.inline.reflink.exec(r))||(n=this.rules.inline.nolink.exec(r))){var a=(n[2]||n[1]).replace(/\s+/g," ");a=t[a.toLowerCase()];if(!a||!a.href){var s=n[0].charAt(0);return{type:"text",raw:s,text:s}}return V(n,a,n[0],this.lexer)}};r.emStrong=function e(r,t,n){if(n===void 0){n=""}var a=this.rules.inline.emStrong.lDelim.exec(r);if(!a)return;if(a[3]&&n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))return;var s=a[1]||a[2]||"";if(!s||s&&(n===""||this.rules.inline.punctuation.exec(n))){var i=a[0].length-1;var o,l,u=i,d=0;var c=a[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;c.lastIndex=0;t=t.slice(-1*r.length+i);while((a=c.exec(t))!=null){o=a[1]||a[2]||a[3]||a[4]||a[5]||a[6];if(!o)continue;l=o.length;if(a[3]||a[4]){u+=l;continue}else if(a[5]||a[6]){if(i%3&&!((i+l)%3)){d+=l;continue}}u-=l;if(u>0)continue;l=Math.min(l,l+u+d);if(Math.min(i,l)%2){var m=r.slice(1,i+a.index+l);return{type:"em",raw:r.slice(0,i+a.index+l+1),text:m,tokens:this.lexer.inlineTokens(m,[])}}var p=r.slice(2,i+a.index+l-1);return{type:"strong",raw:r.slice(0,i+a.index+l+1),text:p,tokens:this.lexer.inlineTokens(p,[])}}}};r.codespan=function e(r){var t=this.rules.inline.code.exec(r);if(t){var n=t[2].replace(/\n/g," ");var a=/[^ ]/.test(n);var s=/^ /.test(n)&&/ $/.test(n);if(a&&s){n=n.substring(1,n.length-1)}n=O(n,true);return{type:"codespan",raw:t[0],text:n}}};r.br=function e(r){var t=this.rules.inline.br.exec(r);if(t){return{type:"br",raw:t[0]}}};r.del=function e(r){var t=this.rules.inline.del.exec(r);if(t){return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}}};r.autolink=function e(r,t){var n=this.rules.inline.autolink.exec(r);if(n){var a,s;if(n[2]==="@"){a=O(this.options.mangle?t(n[1]):n[1]);s="mailto:"+a}else{a=O(n[1]);s=a}return{type:"link",raw:n[0],text:a,href:s,tokens:[{type:"text",raw:a,text:a}]}}};r.url=function e(r,t){var n;if(n=this.rules.inline.url.exec(r)){var a,s;if(n[2]==="@"){a=O(this.options.mangle?t(n[0]):n[0]);s="mailto:"+a}else{var i;do{i=n[0];n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(i!==n[0]);a=O(n[0]);if(n[1]==="www."){s="http://"+a}else{s=a}}return{type:"link",raw:n[0],text:a,href:s,tokens:[{type:"text",raw:a,text:a}]}}};r.inlineText=function e(r,t){var n=this.rules.inline.text.exec(r);if(n){var a;if(this.lexer.state.inRawBlock){a=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):O(n[0]):n[0]}else{a=O(this.options.smartypants?t(n[0]):n[0])}return{type:"text",raw:n[0],text:a}}};return e}();var z=F.noopTest,H=F.edit,U=F.merge;var W={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:"+"<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)"+"|comment[^\\n]*(\\n+|$)"+"|<\\?[\\s\\S]*?(?:\\?>\\n*|$)"+"|<![A-Z][\\s\\S]*?(?:>\\n*|$)"+"|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)"+"|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)"+"|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)"+"|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)"+")",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:z,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};W._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/;W._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;W.def=H(W.def).replace("label",W._label).replace("title",W._title).getRegex();W.bullet=/(?:[*+-]|\d{1,9}[.)])/;W.listItemStart=H(/^( *)(bull) */).replace("bull",W.bullet).getRegex();W.list=H(W.list).replace(/bull/g,W.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+W.def.source+")").getRegex();W._tag="address|article|aside|base|basefont|blockquote|body|caption"+"|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption"+"|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe"+"|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option"+"|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr"+"|track|ul";W._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/;W.html=H(W.html,"i").replace("comment",W._comment).replace("tag",W._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();W.paragraph=H(W._paragraph).replace("hr",W.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",W._tag).getRegex();W.blockquote=H(W.blockquote).replace("paragraph",W.paragraph).getRegex();W.normal=U({},W);W.gfm=U({},W.normal,{table:"^ *([^\\n ].*\\|.*)\\n"+" {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?"+"(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"});W.gfm.table=H(W.gfm.table).replace("hr",W.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",W._tag).getRegex();W.pedantic=U({},W.normal,{html:H("^ *(?:comment *(?:\\n|\\s*$)"+"|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)"+"|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",W._comment).replace(/tag/g,"(?!(?:"+"a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub"+"|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)"+"\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:z,paragraph:H(W.normal._paragraph).replace("hr",W.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",W.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var $={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:z,tag:"^comment"+"|^</[a-zA-Z][\\w:-]*\\s*>"+"|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>"+"|^<\\?[\\s\\S]*?\\?>"+"|^<![a-zA-Z]+\\s[\\s\\S]*?>"+"|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:z,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};$._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~";$.punctuation=H($.punctuation).replace(/punctuation/g,$._punctuation).getRegex();$.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;$.escapedEmSt=/\\\*|\\_/g;$._comment=H(W._comment).replace("(?:--\x3e|$)","--\x3e").getRegex();$.emStrong.lDelim=H($.emStrong.lDelim).replace(/punct/g,$._punctuation).getRegex();$.emStrong.rDelimAst=H($.emStrong.rDelimAst,"g").replace(/punct/g,$._punctuation).getRegex();$.emStrong.rDelimUnd=H($.emStrong.rDelimUnd,"g").replace(/punct/g,$._punctuation).getRegex();$._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;$._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;$._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;$.autolink=H($.autolink).replace("scheme",$._scheme).replace("email",$._email).getRegex();$._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;$.tag=H($.tag).replace("comment",$._comment).replace("attribute",$._attribute).getRegex();$._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;$._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;$._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;$.link=H($.link).replace("label",$._label).replace("href",$._href).replace("title",$._title).getRegex();$.reflink=H($.reflink).replace("label",$._label).getRegex();$.reflinkSearch=H($.reflinkSearch,"g").replace("reflink",$.reflink).replace("nolink",$.nolink).getRegex();$.normal=U({},$);$.pedantic=U({},$.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:H(/^!?\[(label)\]\((.*?)\)/).replace("label",$._label).getRegex(),reflink:H(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",$._label).getRegex()});$.gfm=U({},$.normal,{escape:H($.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/});$.gfm.url=H($.gfm.url,"i").replace("email",$.gfm._extended_email).getRegex();$.breaks=U({},$.gfm,{br:H($.br).replace("{2,}","*").getRegex(),text:H($.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var J={block:W,inline:$};var X=G;var Y=s.exports.defaults;var Z=J.block,K=J.inline;var Q=F.repeatString;function ee(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function re(e){var r="",t,n;var a=e.length;for(t=0;t<a;t++){n=e.charCodeAt(t);if(Math.random()>.5){n="x"+n.toString(16)}r+="&#"+n+";"}return r}var te=function(){function e(e){this.tokens=[];this.tokens.links=Object.create(null);this.options=e||Y;this.options.tokenizer=this.options.tokenizer||new X;this.tokenizer=this.options.tokenizer;this.tokenizer.options=this.options;this.tokenizer.lexer=this;this.inlineQueue=[];this.state={inLink:false,inRawBlock:false,top:true};var r={block:Z.normal,inline:K.normal};if(this.options.pedantic){r.block=Z.pedantic;r.inline=K.pedantic}else if(this.options.gfm){r.block=Z.gfm;if(this.options.breaks){r.inline=K.breaks}else{r.inline=K.gfm}}this.tokenizer.rules=r}e.lex=function r(t,n){var a=new e(n);return a.lex(t)};e.lexInline=function r(t,n){var a=new e(n);return a.inlineTokens(t)};var t=e.prototype;t.lex=function e(r){r=r.replace(/\r\n|\r/g,"\n").replace(/\t/g," ");this.blockTokens(r,this.tokens);var t;while(t=this.inlineQueue.shift()){this.inlineTokens(t.src,t.tokens)}return this.tokens};t.blockTokens=function e(r,t){var n=this;if(t===void 0){t=[]}if(this.options.pedantic){r=r.replace(/^ +$/gm,"")}var a,s,i,o;while(r){if(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(e){if(a=e.call({lexer:n},r,t)){r=r.substring(a.raw.length);t.push(a);return true}return false}))){continue}if(a=this.tokenizer.space(r)){r=r.substring(a.raw.length);if(a.type){t.push(a)}continue}if(a=this.tokenizer.code(r)){r=r.substring(a.raw.length);s=t[t.length-1];if(s&&(s.type==="paragraph"||s.type==="text")){s.raw+="\n"+a.raw;s.text+="\n"+a.text;this.inlineQueue[this.inlineQueue.length-1].src=s.text}else{t.push(a)}continue}if(a=this.tokenizer.fences(r)){r=r.substring(a.raw.length);t.push(a);continue}if(a=this.tokenizer.heading(r)){r=r.substring(a.raw.length);t.push(a);continue}if(a=this.tokenizer.hr(r)){r=r.substring(a.raw.length);t.push(a);continue}if(a=this.tokenizer.blockquote(r)){r=r.substring(a.raw.length);t.push(a);continue}if(a=this.tokenizer.list(r)){r=r.substring(a.raw.length);t.push(a);continue}if(a=this.tokenizer.html(r)){r=r.substring(a.raw.length);t.push(a);continue}if(a=this.tokenizer.def(r)){r=r.substring(a.raw.length);s=t[t.length-1];if(s&&(s.type==="paragraph"||s.type==="text")){s.raw+="\n"+a.raw;s.text+="\n"+a.raw;this.inlineQueue[this.inlineQueue.length-1].src=s.text}else if(!this.tokens.links[a.tag]){this.tokens.links[a.tag]={href:a.href,title:a.title}}continue}if(a=this.tokenizer.table(r)){r=r.substring(a.raw.length);t.push(a);continue}if(a=this.tokenizer.lheading(r)){r=r.substring(a.raw.length);t.push(a);continue}i=r;if(this.options.extensions&&this.options.extensions.startBlock){(function(){var e=Infinity;var t=r.slice(1);var a=void 0;n.options.extensions.startBlock.forEach((function(r){a=r.call({lexer:this},t);if(typeof a==="number"&&a>=0){e=Math.min(e,a)}}));if(e<Infinity&&e>=0){i=r.substring(0,e+1)}})()}if(this.state.top&&(a=this.tokenizer.paragraph(i))){s=t[t.length-1];if(o&&s.type==="paragraph"){s.raw+="\n"+a.raw;s.text+="\n"+a.text;this.inlineQueue.pop();this.inlineQueue[this.inlineQueue.length-1].src=s.text}else{t.push(a)}o=i.length!==r.length;r=r.substring(a.raw.length);continue}if(a=this.tokenizer.text(r)){r=r.substring(a.raw.length);s=t[t.length-1];if(s&&s.type==="text"){s.raw+="\n"+a.raw;s.text+="\n"+a.text;this.inlineQueue.pop();this.inlineQueue[this.inlineQueue.length-1].src=s.text}else{t.push(a)}continue}if(r){var l="Infinite loop on byte: "+r.charCodeAt(0);if(this.options.silent){console.error(l);break}else{throw new Error(l)}}}this.state.top=true;return t};t.inline=function e(r,t){this.inlineQueue.push({src:r,tokens:t})};t.inlineTokens=function e(r,t){var n=this;if(t===void 0){t=[]}var a,s,i;var o=r;var l;var u,d;if(this.tokens.links){var c=Object.keys(this.tokens.links);if(c.length>0){while((l=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null){if(c.includes(l[0].slice(l[0].lastIndexOf("[")+1,-1))){o=o.slice(0,l.index)+"["+Q("a",l[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex)}}}}while((l=this.tokenizer.rules.inline.blockSkip.exec(o))!=null){o=o.slice(0,l.index)+"["+Q("a",l[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex)}while((l=this.tokenizer.rules.inline.escapedEmSt.exec(o))!=null){o=o.slice(0,l.index)+"++"+o.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex)}while(r){if(!u){d=""}u=false;if(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(e){if(a=e.call({lexer:n},r,t)){r=r.substring(a.raw.length);t.push(a);return true}return false}))){continue}if(a=this.tokenizer.escape(r)){r=r.substring(a.raw.length);t.push(a);continue}if(a=this.tokenizer.tag(r)){r=r.substring(a.raw.length);s=t[t.length-1];if(s&&a.type==="text"&&s.type==="text"){s.raw+=a.raw;s.text+=a.text}else{t.push(a)}continue}if(a=this.tokenizer.link(r)){r=r.substring(a.raw.length);t.push(a);continue}if(a=this.tokenizer.reflink(r,this.tokens.links)){r=r.substring(a.raw.length);s=t[t.length-1];if(s&&a.type==="text"&&s.type==="text"){s.raw+=a.raw;s.text+=a.text}else{t.push(a)}continue}if(a=this.tokenizer.emStrong(r,o,d)){r=r.substring(a.raw.length);t.push(a);continue}if(a=this.tokenizer.codespan(r)){r=r.substring(a.raw.length);t.push(a);continue}if(a=this.tokenizer.br(r)){r=r.substring(a.raw.length);t.push(a);continue}if(a=this.tokenizer.del(r)){r=r.substring(a.raw.length);t.push(a);continue}if(a=this.tokenizer.autolink(r,re)){r=r.substring(a.raw.length);t.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(r,re))){r=r.substring(a.raw.length);t.push(a);continue}i=r;if(this.options.extensions&&this.options.extensions.startInline){(function(){var e=Infinity;var t=r.slice(1);var a=void 0;n.options.extensions.startInline.forEach((function(r){a=r.call({lexer:this},t);if(typeof a==="number"&&a>=0){e=Math.min(e,a)}}));if(e<Infinity&&e>=0){i=r.substring(0,e+1)}})()}if(a=this.tokenizer.inlineText(i,ee)){r=r.substring(a.raw.length);if(a.raw.slice(-1)!=="_"){d=a.raw.slice(-1)}u=true;s=t[t.length-1];if(s&&s.type==="text"){s.raw+=a.raw;s.text+=a.text}else{t.push(a)}continue}if(r){var m="Infinite loop on byte: "+r.charCodeAt(0);if(this.options.silent){console.error(m);break}else{throw new Error(m)}}}return t};r(e,null,[{key:"rules",get:function e(){return{block:Z,inline:K}}}]);return e}();var ne=s.exports.defaults;var ae=F.cleanUrl,se=F.escape;var ie=function(){function e(e){this.options=e||ne}var r=e.prototype;r.code=function e(r,t,n){var a=(t||"").match(/\S*/)[0];if(this.options.highlight){var s=this.options.highlight(r,a);if(s!=null&&s!==r){n=true;r=s}}r=r.replace(/\n$/,"")+"\n";if(!a){return"<pre><code>"+(n?r:se(r,true))+"</code></pre>\n"}return'<pre><code class="'+this.options.langPrefix+se(a,true)+'">'+(n?r:se(r,true))+"</code></pre>\n"};r.blockquote=function e(r){return"<blockquote>\n"+r+"</blockquote>\n"};r.html=function e(r){return r};r.heading=function e(r,t,n,a){if(this.options.headerIds){return"<h"+t+' id="'+this.options.headerPrefix+a.slug(n)+'">'+r+"</h"+t+">\n"}return"<h"+t+">"+r+"</h"+t+">\n"};r.hr=function e(){return this.options.xhtml?"<hr/>\n":"<hr>\n"};r.list=function e(r,t,n){var a=t?"ol":"ul",s=t&&n!==1?' start="'+n+'"':"";return"<"+a+s+">\n"+r+"</"+a+">\n"};r.listitem=function e(r){return"<li>"+r+"</li>\n"};r.checkbox=function e(r){return"<input "+(r?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "};r.paragraph=function e(r){return"<p>"+r+"</p>\n"};r.table=function e(r,t){if(t)t="<tbody>"+t+"</tbody>";return"<table>\n"+"<thead>\n"+r+"</thead>\n"+t+"</table>\n"};r.tablerow=function e(r){return"<tr>\n"+r+"</tr>\n"};r.tablecell=function e(r,t){var n=t.header?"th":"td";var a=t.align?"<"+n+' align="'+t.align+'">':"<"+n+">";return a+r+"</"+n+">\n"};r.strong=function e(r){return"<strong>"+r+"</strong>"};r.em=function e(r){return"<em>"+r+"</em>"};r.codespan=function e(r){return"<code>"+r+"</code>"};r.br=function e(){return this.options.xhtml?"<br/>":"<br>"};r.del=function e(r){return"<del>"+r+"</del>"};r.link=function e(r,t,n){r=ae(this.options.sanitize,this.options.baseUrl,r);if(r===null){return n}var a='<a href="'+se(r)+'"';if(t){a+=' title="'+t+'"'}a+=">"+n+"</a>";return a};r.image=function e(r,t,n){r=ae(this.options.sanitize,this.options.baseUrl,r);if(r===null){return n}var a='<img src="'+r+'" alt="'+n+'"';if(t){a+=' title="'+t+'"'}a+=this.options.xhtml?"/>":">";return a};r.text=function e(r){return r};return e}();var oe=function(){function e(){}var r=e.prototype;r.strong=function e(r){return r};r.em=function e(r){return r};r.codespan=function e(r){return r};r.del=function e(r){return r};r.html=function e(r){return r};r.text=function e(r){return r};r.link=function e(r,t,n){return""+n};r.image=function e(r,t,n){return""+n};r.br=function e(){return""};return e}();var le=function(){function e(){this.seen={}}var r=e.prototype;r.serialize=function e(r){return r.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")};r.getNextSafeSlug=function e(r,t){var n=r;var a=0;if(this.seen.hasOwnProperty(n)){a=this.seen[r];do{a++;n=r+"-"+a}while(this.seen.hasOwnProperty(n))}if(!t){this.seen[r]=a;this.seen[n]=0}return n};r.slug=function e(r,t){if(t===void 0){t={}}var e=this.serialize(r);return this.getNextSafeSlug(e,t.dryrun)};return e}();var ue=ie;var de=oe;var ce=le;var me=s.exports.defaults;var pe=F.unescape;var ge=function(){function e(e){this.options=e||me;this.options.renderer=this.options.renderer||new ue;this.renderer=this.options.renderer;this.renderer.options=this.options;this.textRenderer=new de;this.slugger=new ce}e.parse=function r(t,n){var a=new e(n);return a.parse(t)};e.parseInline=function r(t,n){var a=new e(n);return a.parseInline(t)};var r=e.prototype;r.parse=function e(r,t){if(t===void 0){t=true}var n="",a,s,i,o,l,u,d,c,m,p,g,f,h,b,v,x,w,y,E;var D=r.length;for(a=0;a<D;a++){p=r[a];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[p.type]){E=this.options.extensions.renderers[p.type].call({parser:this},p);if(E!==false||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(p.type)){n+=E||"";continue}}switch(p.type){case"space":{continue}case"hr":{n+=this.renderer.hr();continue}case"heading":{n+=this.renderer.heading(this.parseInline(p.tokens),p.depth,pe(this.parseInline(p.tokens,this.textRenderer)),this.slugger);continue}case"code":{n+=this.renderer.code(p.text,p.lang,p.escaped);continue}case"table":{c="";d="";o=p.header.length;for(s=0;s<o;s++){d+=this.renderer.tablecell(this.parseInline(p.header[s].tokens),{header:true,align:p.align[s]})}c+=this.renderer.tablerow(d);m="";o=p.rows.length;for(s=0;s<o;s++){u=p.rows[s];d="";l=u.length;for(i=0;i<l;i++){d+=this.renderer.tablecell(this.parseInline(u[i].tokens),{header:false,align:p.align[i]})}m+=this.renderer.tablerow(d)}n+=this.renderer.table(c,m);continue}case"blockquote":{m=this.parse(p.tokens);n+=this.renderer.blockquote(m);continue}case"list":{g=p.ordered;f=p.start;h=p.loose;o=p.items.length;m="";for(s=0;s<o;s++){v=p.items[s];x=v.checked;w=v.task;b="";if(v.task){y=this.renderer.checkbox(x);if(h){if(v.tokens.length>0&&v.tokens[0].type==="paragraph"){v.tokens[0].text=y+" "+v.tokens[0].text;if(v.tokens[0].tokens&&v.tokens[0].tokens.length>0&&v.tokens[0].tokens[0].type==="text"){v.tokens[0].tokens[0].text=y+" "+v.tokens[0].tokens[0].text}}else{v.tokens.unshift({type:"text",text:y})}}else{b+=y}}b+=this.parse(v.tokens,h);m+=this.renderer.listitem(b,w,x)}n+=this.renderer.list(m,g,f);continue}case"html":{n+=this.renderer.html(p.text);continue}case"paragraph":{n+=this.renderer.paragraph(this.parseInline(p.tokens));continue}case"text":{m=p.tokens?this.parseInline(p.tokens):p.text;while(a+1<D&&r[a+1].type==="text"){p=r[++a];m+="\n"+(p.tokens?this.parseInline(p.tokens):p.text)}n+=t?this.renderer.paragraph(m):m;continue}default:{var _='Token with "'+p.type+'" type was not found.';if(this.options.silent){console.error(_);return}else{throw new Error(_)}}}}return n};r.parseInline=function e(r,t){t=t||this.renderer;var n="",a,s,i;var o=r.length;for(a=0;a<o;a++){s=r[a];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){i=this.options.extensions.renderers[s.type].call({parser:this},s);if(i!==false||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){n+=i||"";continue}}switch(s.type){case"escape":{n+=t.text(s.text);break}case"html":{n+=t.html(s.text);break}case"link":{n+=t.link(s.href,s.title,this.parseInline(s.tokens,t));break}case"image":{n+=t.image(s.href,s.title,s.text);break}case"strong":{n+=t.strong(this.parseInline(s.tokens,t));break}case"em":{n+=t.em(this.parseInline(s.tokens,t));break}case"codespan":{n+=t.codespan(s.text);break}case"br":{n+=t.br();break}case"del":{n+=t.del(this.parseInline(s.tokens,t));break}case"text":{n+=t.text(s.text);break}default:{var l='Token with "'+s.type+'" type was not found.';if(this.options.silent){console.error(l);return}else{throw new Error(l)}}}}return n};return e}();var fe=te;var he=ge;var be=G;var ve=ie;var xe=oe;var we=le;var ye=F.merge,Ee=F.checkSanitizeDeprecation,De=F.escape;var _e=s.exports.getDefaults,qe=s.exports.changeDefaults,Ce=s.exports.defaults;function Ae(e,r,t){if(typeof e==="undefined"||e===null){throw new Error("marked(): input parameter is undefined or null")}if(typeof e!=="string"){throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected")}if(typeof r==="function"){t=r;r=null}r=ye({},Ae.defaults,r||{});Ee(r);if(t){var n=r.highlight;var a;try{a=fe.lex(e,r)}catch(e){return t(e)}var s=function e(s){var i;if(!s){try{if(r.walkTokens){Ae.walkTokens(a,r.walkTokens)}i=he.parse(a,r)}catch(e){s=e}}r.highlight=n;return s?t(s):t(null,i)};if(!n||n.length<3){return s()}delete r.highlight;if(!a.length)return s();var i=0;Ae.walkTokens(a,(function(e){if(e.type==="code"){i++;setTimeout((function(){n(e.text,e.lang,(function(r,t){if(r){return s(r)}if(t!=null&&t!==e.text){e.text=t;e.escaped=true}i--;if(i===0){s()}}))}),0)}}));if(i===0){s()}return}try{var o=fe.lex(e,r);if(r.walkTokens){Ae.walkTokens(o,r.walkTokens)}return he.parse(o,r)}catch(e){e.message+="\nPlease report this to https://github.com/markedjs/marked.";if(r.silent){return"<p>An error occurred:</p><pre>"+De(e.message+"",true)+"</pre>"}throw e}}Ae.options=Ae.setOptions=function(e){ye(Ae.defaults,e);qe(Ae.defaults);return Ae};Ae.getDefaults=_e;Ae.defaults=Ce;Ae.use=function(){var e=this;for(var r=arguments.length,t=new Array(r),n=0;n<r;n++){t[n]=arguments[n]}var a=ye.apply(void 0,[{}].concat(t));var s=Ae.defaults.extensions||{renderers:{},childTokens:{}};var i;t.forEach((function(r){if(r.extensions){i=true;r.extensions.forEach((function(e){if(!e.name){throw new Error("extension name required")}if(e.renderer){var r=s.renderers?s.renderers[e.name]:null;if(r){s.renderers[e.name]=function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++){n[a]=arguments[a]}var s=e.renderer.apply(this,n);if(s===false){s=r.apply(this,n)}return s}}else{s.renderers[e.name]=e.renderer}}if(e.tokenizer){if(!e.level||e.level!=="block"&&e.level!=="inline"){throw new Error("extension level must be 'block' or 'inline'")}if(s[e.level]){s[e.level].unshift(e.tokenizer)}else{s[e.level]=[e.tokenizer]}if(e.start){if(e.level==="block"){if(s.startBlock){s.startBlock.push(e.start)}else{s.startBlock=[e.start]}}else if(e.level==="inline"){if(s.startInline){s.startInline.push(e.start)}else{s.startInline=[e.start]}}}}if(e.childTokens){s.childTokens[e.name]=e.childTokens}}))}if(r.renderer){(function(){var e=Ae.defaults.renderer||new ve;var t=function t(n){var a=e[n];e[n]=function(){for(var t=arguments.length,s=new Array(t),i=0;i<t;i++){s[i]=arguments[i]}var o=r.renderer[n].apply(e,s);if(o===false){o=a.apply(e,s)}return o}};for(var n in r.renderer){t(n)}a.renderer=e})()}if(r.tokenizer){(function(){var e=Ae.defaults.tokenizer||new be;var t=function t(n){var a=e[n];e[n]=function(){for(var t=arguments.length,s=new Array(t),i=0;i<t;i++){s[i]=arguments[i]}var o=r.tokenizer[n].apply(e,s);if(o===false){o=a.apply(e,s)}return o}};for(var n in r.tokenizer){t(n)}a.tokenizer=e})()}if(r.walkTokens){var t=Ae.defaults.walkTokens;a.walkTokens=function(n){r.walkTokens.call(e,n);if(t){t(n)}}}if(i){a.extensions=s}Ae.setOptions(a)}))};Ae.walkTokens=function(e,r){var t=function e(){var t=s.value;r(t);switch(t.type){case"table":{for(var n=a(t.header),i;!(i=n()).done;){var o=i.value;Ae.walkTokens(o.tokens,r)}for(var l=a(t.rows),u;!(u=l()).done;){var d=u.value;for(var c=a(d),m;!(m=c()).done;){var p=m.value;Ae.walkTokens(p.tokens,r)}}break}case"list":{Ae.walkTokens(t.items,r);break}default:{if(Ae.defaults.extensions&&Ae.defaults.extensions.childTokens&&Ae.defaults.extensions.childTokens[t.type]){Ae.defaults.extensions.childTokens[t.type].forEach((function(e){Ae.walkTokens(t[e],r)}))}else if(t.tokens){Ae.walkTokens(t.tokens,r)}}}};for(var n=a(e),s;!(s=n()).done;){t()}};Ae.parseInline=function(e,r){if(typeof e==="undefined"||e===null){throw new Error("marked.parseInline(): input parameter is undefined or null")}if(typeof e!=="string"){throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected")}r=ye({},Ae.defaults,r||{});Ee(r);try{var t=fe.lexInline(e,r);if(r.walkTokens){Ae.walkTokens(t,r.walkTokens)}return he.parseInline(t,r)}catch(e){e.message+="\nPlease report this to https://github.com/markedjs/marked.";if(r.silent){return"<p>An error occurred:</p><pre>"+De(e.message+"",true)+"</pre>"}throw e}};Ae.Parser=he;Ae.parser=he.parse;Ae.Renderer=ve;Ae.TextRenderer=xe;Ae.Lexer=fe;Ae.lexer=fe.lex;Ae.Tokenizer=be;Ae.Slugger=we;Ae.parse=Ae;var ke=Ae;return ke}))}));var nc='# sqm-portal-login\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| --------------------- | ----------------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; forgotPasswordPath: string; registerPath: string; }; content?: { forgotPasswordButton?: any; secondaryButton?: any; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `"Email"` |\r\n| `forgotPasswordLabel` | `forgot-password-label` | | `string` | `"Forgot Password?"` |\r\n| `forgotPasswordPath` | `forgot-password-path` | | `string` | `"/forgotPassword"` |\r\n| `nextPage` | `next-page` | | `string` | `"/"` |\r\n| `pageLabel` | `page-label` | | `string` | `"Sign in to your account"` |\r\n| `passwordLabel` | `password-label` | | `string` | `"Password"` |\r\n| `registerLabel` | `register-label` | | `string` | `"Register"` |\r\n| `registerPath` | `register-path` | | `string` | `"/register"` |\r\n| `submitLabel` | `submit-label` | | `string` | `"Sign In"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-login --\x3e sqm-form-message\r\n sqm-stencilbook --\x3e sqm-portal-login\r\n style sqm-portal-login fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n';var ac='# sqm-referral-iframe\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------- | --------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------ | ----------- |\r\n| `demoData` | -- | | `{ states?: { content: { iframeSrc: string; iframeHeight: string; iframeWidth: string; }; }; data?: { shareCode: string; }; }` | `undefined` |\r\n| `iframeHeight` | `iframe-height` | | `string` | `"100%"` |\r\n| `iframeSrc` | `iframe-src` | | `string` | `undefined` |\r\n| `iframeWidth` | `iframe-width` | | `string` | `"100%"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-stencilbook --\x3e sqm-referral-iframe\r\n style sqm-referral-iframe fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n';var sc='# sqm-portal-forgot-password\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------- | --------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `"Email"` |\r\n| `loginPath` | `login-path` | | `string` | `"/login"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the password reset email. | `string` | `"/resetPassword"` |\r\n| `submitLabel` | `submit-label` | | `string` | `"Request Password Reset"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-forgot-password --\x3e sqm-form-message\r\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n';var ic='# sqm-portal-register\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\r\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\r\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `"Confirm Password"` |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `"Email"` |\r\n| `enablePasswordValidation` | `enable-password-validation` | | `boolean` | `true` |\r\n| `hideInputs` | `hide-inputs` | | `boolean` | `false` |\r\n| `loginLabel` | `login-label` | | `string` | `"Sign in"` |\r\n| `loginPath` | `login-path` | | `string` | `"/login"` |\r\n| `nextPage` | `next-page` | | `string` | `"/"` |\r\n| `pageLabel` | `page-label` | | `string` | `"Register"` |\r\n| `passwordLabel` | `password-label` | | `string` | `"Password"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `"/verifyEmail"` |\r\n| `submitLabel` | `submit-label` | | `string` | `"Register"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n- [sqm-password-field](../sqm-password-field)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-register --\x3e sqm-form-message\r\n sqm-portal-register --\x3e sqm-password-field\r\n sqm-stencilbook --\x3e sqm-portal-register\r\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n';var oc='# sqm-portal-profile\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------------------ | --------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |\r\n| `countrytext` | `countrytext` | | `string` | `"Country"` |\r\n| `demoData` | -- | | `{ states?: { success: boolean; loading: boolean; submitDisabled: boolean; showCountry: boolean; formState: { country: string; firstName: string; lastName: string; errors: any; error: string; }; user: { id: string; accountId: string; firstName: string; lastName: string; email: string; countryCode: string; }; text: { firstnametext: string; lastnametext: string; emailtext: string; countrytext: string; editProfileHeader: string; editProfileSubHeader: string; submitChangeButtonText: string; }; }; }` | `undefined` |\r\n| `editProfileHeader` | `edit-profile-header` | | `string` | `"Edit your profile"` |\r\n| `editProfileSubHeader` | `edit-profile-sub-header` | | `string` | `"Personal Information"` |\r\n| `emailtext` | `emailtext` | | `string` | `"Email"` |\r\n| `firstnametext` | `firstnametext` | | `string` | `"First Name"` |\r\n| `lastnametext` | `lastnametext` | | `string` | `"Last Name"` |\r\n| `showCountry` | `show-country` | | `boolean` | `true` |\r\n| `submitChangeButtonText` | `submit-change-button-text` | | `string` | `"Submit Changes"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-profile --\x3e sqm-form-message\r\n style sqm-portal-profile fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n';var lc='# sqm-portal-reset-password\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| --------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\r\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\r\n| `confirmPasswordFieldLabel` | `confirm-password-field-label` | | `string` | `"Confirm Password"` |\r\n| `continueButtonText` | `continue-button-text` | Displayed after a successful password reset | `string` | `"Continue"` |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; reset: boolean; confirmPassword: boolean; oobCodeValidating: boolean; oobCodeValid: boolean; passwordDemoData?: PasswordFieldViewDemoProps; content: { passwordResetHeader: string; resetPasswordHeader: string; continueButtonText: string; resetPasswordButtonText: string; confirmPasswordFieldLabel: string; passwordFieldLabel: string; }; }; }` | `undefined` |\r\n| `failedPage` | `failed-page` | The page that users are redirected to if the reset fails due to outdated password reset attempt. | `string` | `"/"` |\r\n| `nextPage` | `next-page` | The page that users are redirected to when the password reset succeeds. | `string` | `"/"` |\r\n| `passwordFieldLabel` | `password-field-label` | | `string` | `"New Password"` |\r\n| `passwordResetHeader` | `password-reset-header` | Displayed after a successful password reset | `string` | `"Password reset"` |\r\n| `resetPasswordButtonText` | `reset-password-button-text` | | `string` | `"Reset Password"` |\r\n| `resetPasswordHeader` | `reset-password-header` | | `string` | `"Reset your password"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n- [sqm-password-field](../sqm-password-field)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-reset-password --\x3e sqm-form-message\r\n sqm-portal-reset-password --\x3e sqm-password-field\r\n style sqm-portal-reset-password fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n';var uc='# sqm-portal-email-verification\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------------------- | --------------------------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; }; }` | `undefined` |\r\n| `emailVerificationHeader` | `email-verification-header` | | `string` | `"Verify your email"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `"/verifyEmail"` |\r\n| `resendEmailButtonText` | `resend-email-button-text` | | `string` | `"Re-send Email"` |\r\n| `verifyMessage` | `verify-message` | | `string` | `"A verification email was sent to {email}. Please verify your email to continue to the portal."` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-email-verification --\x3e sqm-form-message\r\n style sqm-portal-email-verification fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n';var dc='# sqm-portal-verify-email\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------ | ------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ----------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; verified: boolean; }; data?: { oobCode: string; }; }` | `undefined` |\r\n| `failedPage` | `failed-page` | The page that users are redirected to if verification fails due to outdated verification attempt. | `string` | `"/"` |\r\n| `nextPage` | `next-page` | The page that users are redirected to when the verification succeeds. | `string` | `"/"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-verify-email --\x3e sqm-form-message\r\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n';var cc={title:"Templates / Portal"};function mc(e){var r=i(e),t=r[0],n=r[1];var a=i(e),s=a[0],o=a[1];return{states:{previewTemplate:s,editedTemplate:t},callbacks:{setEditedTemplate:n,setPreviewTemplate:o}}}function pc(e){var t=e.states,n=e.callbacks,a=e.readme;return[r("textarea",{style:{width:"100%",height:"300px"},onChange:function(e){return n.setEditedTemplate(e.target.value)}},t.editedTemplate),r("button",{onClick:function(){return n.setPreviewTemplate(t.editedTemplate)}},"Update Preview"),a?r("details",null,r("summary",null,"Props readme"),r("div",{innerHTML:tc(a)})):"",r("div",{innerHTML:t.previewTemplate})]}function gc(e){var t=e.callbacks,n=e.states,a=e.template;return r("div",null,r("button",{onClick:function(){return t.setPreviewTemplate(n.editedTemplate)}},"Update Preview"),r("button",{style:{marginLeft:"10px"},onClick:function(){return t.setPreviewTemplate(a)}},"Preview Dashboard"))}function fc(e){var t=e.states,n=e.callbacks;return r("div",{style:{height:"50vh"}},r("textarea",{style:{width:"100%",height:"300px"},onChange:function(e){return n.setEditedTemplate(e.target.value)}},t.editedTemplate),r(gc,{states:t,callbacks:n,template:e.template}),r("h2",null,"Navigation"),r("div",{style:{display:"grid",gridTemplateColumns:"repeat(9, 80px)",gridGap:"10px"}},r("button",{onClick:function(){return R.push("/")}},"Dashboard"),e.leadSubmit&&r("button",{onClick:function(){return R.push("/refer")}},"Submit a Referral"),r("button",{onClick:function(){return R.push("/activity")}},"Activity"),r("button",{onClick:function(){return R.push("/editProfile")}},"Edit Profile"),r("button",{onClick:function(){return R.push("/login")}},"Login"),r("button",{onClick:function(){return R.push("/register")}},"Register"),r("button",{onClick:function(){return R.push("/emailVerification")}},"Email Verification"),r("button",{onClick:function(){return R.push("/verifyEmail")}},"Verify Email"),r("button",{onClick:function(){return R.push("/forgotPassword")}},"Forgot Password"),r("button",{onClick:function(){return R.push("/resetPassword")}},"Reset Password")),r("br",null),r("div",{innerHTML:t.previewTemplate}))}var hc=aa((function(){var e=mc(Od),t=e.states,n=e.callbacks;return r(fc,{states:t,callbacks:n,template:Md})}));var bc=aa((function(){var e=mc(Gd),t=e.states,n=e.callbacks;return r(fc,{states:t,callbacks:n,template:zd})}));var vc=aa((function(){var e=mc(jd),t=e.states,n=e.callbacks;return r(fc,{states:t,callbacks:n,template:Vd,leadSubmit:true})}));var xc=aa((function(){var e=mc(Yd),t=e.states,n=e.callbacks;return r(pc,{states:t,callbacks:n,readme:nc})}));var wc=aa((function(){var e=mc(Kd),t=e.states,n=e.callbacks;return r(pc,{states:t,callbacks:n,readme:sc})}));var yc=aa((function(){var e=mc(Zd),t=e.states,n=e.callbacks;return r(pc,{states:t,callbacks:n,readme:ic})}));var Ec=aa((function(){var e=mc(Hd),t=e.states,n=e.callbacks;return r(pc,{states:t,callbacks:n})}));var Dc=aa((function(){var e=mc(Ud),t=e.states,n=e.callbacks;return r(pc,{states:t,callbacks:n,readme:ac})}));var _c=aa((function(){var e=mc($d),t=e.states,n=e.callbacks;return r(pc,{states:t,callbacks:n})}));var qc=aa((function(){var e=mc(Wd),t=e.states,n=e.callbacks;return r(pc,{states:t,callbacks:n,readme:oc})}));var Cc=aa((function(){var e=mc(Qd),t=e.states,n=e.callbacks;return r(pc,{states:t,callbacks:n,readme:lc})}));var Ac=aa((function(){var e=mc(rc),t=e.states,n=e.callbacks;return r(pc,{states:t,callbacks:n,readme:uc})}));var kc=aa((function(){var e=mc(ec),t=e.states,n=e.callbacks;return r(pc,{states:t,callbacks:n,readme:dc})}));var Rc=aa((function(){return r("sqb-widget",{"widget-type":"p/Vacay-referral/w/referrerWidget",demoData:{data:{html:Hd}}})}));var Tc=aa((function(){var e=mc(Jd),t=e.states,n=e.callbacks;return r(pc,{states:t,callbacks:n})}));var Pc=aa((function(){var e=mc(Xd),t=e.states,n=e.callbacks;return r(pc,{states:t,callbacks:n})}));var Ic=Object.freeze({__proto__:null,default:cc,DefaultPortal:hc,MultiProgramPortal:bc,LeadSubmitPortal:vc,Login:xc,ForgotPassword:wc,Register:yc,Dashboard:Ec,LeadSubmitIframe:Dc,Activity:_c,EditProfile:qc,ResetPassword:Cc,EmailVerification:Ac,EmailVerified:kc,Widget:Rc,ResetPasswordEmail:Tc,VerifyEmail:Pc});var Nc={title:"Program Menu"};var Fc=aa((function(){return r("sqm-program-menu",null,r("sl-menu-item",{value:"referral-program"},"Referral Program"))}));var Sc=aa((function(){return r("sqm-program-menu",null,r("sl-menu-item",{value:"referral-program"},"Referral Program"),r("sl-menu-item",{value:"partner-program"},"Partner Program"))}));var Lc=aa((function(){return r("sqm-program-menu",null,r("sl-menu-item",{value:"program1"},"Program 1"),r("sl-menu-item",{value:"program2"},"Program 2"),r("sl-menu-item",{value:"program3"},"Program 3"),r("sl-menu-item",{value:"program4"},"Program 4"),r("sl-menu-item",{value:"program5"},"Program 5"))}));var Bc=aa((function(){return r("div",null,r("sqb-program-section",{"program-id":"Vacay-referral"},r("sqm-program-menu",null,r("sl-menu-item",{value:"Vacay-referral"},"Vacay-referral"),r("sl-menu-item",{value:"vacay-affiliates"},"vacay-affiliates")),r("sqb-program-switch",null,r("template",{"program-id":"Vacay-referral"},r("sqb-widget",{"widget-type":"p/Vacay-referral/w/referrerWidget",demoData:{data:{html:Hd}}})),r("template",{"program-id":"vacay-affiliates"},r("sqb-widget",{"widget-type":"p/vacay-affiliates/w/referrerWidget",demoData:{data:{html:Hd}}})))))}));var Oc=Object.freeze({__proto__:null,default:Nc,OneProgram:Fc,TwoProgram:Sc,FiveProgram:Lc,ProgramMenuWithSwitch:Bc});var jc={title:"Powered By"};var Vc=function(){return r(K,null)};var Mc=function(){return r(K,{color:"salmon"})};var Gc=function(){return r(K,{width:300,height:50})};var zc=Object.freeze({__proto__:null,default:jc,Default:Vc,CustomColor:Mc,CustomWidthAndHeight:Gc});var Hc='Feature: Portal Footer\r\n\r\n Background: A user is viewing the portal\r\n Given a hosted portal\r\n And a user is viewing the portal\r\n And the portal has a footer\r\n\r\n Scenario Outline: FAQ and T&C links/text are configurable and open in a new page when clicked\r\n Given the footer has prop "terms-link" with value "https://example.com/terms"\r\n And prop "terms-text" with value "Terms and Conditions"\r\n And prop "faq-link" with value "https://example.com/FAQ"\r\n And prop "faq-text" with value "Visit FAQ"\r\n When a user clicks on the "Visit FAQ" link\r\n Then they will be redirected to "https://example.com/FAQ" in a new page\r\n When they go back to the portal\r\n And click on the "Terms and Conditions" link\r\n Then they will be redirected to "https://example.com/terms" in a new page\r\n\r\n Scenario Outline: FAQ/T&C Links are not shown if a link is not provided\r\n Given the footer does not have <linkProp>\r\n But it <mayHave> <textProp> with <value>\r\n Then the <link> will not be shown in the footer\r\n Examples:\r\n | linkProp | mayHave | textProp | value | link |\r\n | terms-link | has | termsText | Terms and Conditions | T&C Link |\r\n | faq-link | has | faqText | Visit FAQ | FAQ Link |\r\n | terms-link | doesn\'t have | | | T&C Link |\r\n | faq-link | doesn\'t have | | | FAQ Link |\r\n\r\n Scenario Outline: The support email and text is configurable but has a default\r\n Given the footer <mayHave> <emailPropWithValue>\r\n And the footer <mayAlsoHave> <textPropWithValue>\r\n Then the footer\'s support email text is <renderedEmailText>\r\n And the email address will be a mailto link with <mailtoEmail>\r\n When the user clicks on the email address mailto Link\r\n Then the users preferred email client will open with a draft email to <mailtoEmail>\r\n Examples:\r\n | mayHave | emailPropWithValue | mayAlsoHave | textPropWithValue | mailtoEmail | renderedEmailText |\r\n | has | support@saasquatch.com | has | For support please contact {email} | support@saasquatch.com | For support please contact support@saasquatch.com |\r\n | doesn\'t have | N/A | doesn\'t have | N/A | support@example.com | For program support, contact support@example.com |\r\n\r\n Scenario Outline: Powered by SaaSquatch is shown by default\r\n Given the footer <mayHaveProp> "show-powered-by" with <value>\r\n Then the powered by SaaSquatch image <mayBeShown>\r\n Examples:\r\n | mayHaveProp | value | mayBeShown |\r\n | has prop | true | is shown |\r\n | has prop | false | isn\'t shown |\r\n | has prop | test | is shown |\r\n | has prop | | is shown |\r\n | doesn\'t have prop | | is shown |\r\n\r\n Scenario: Powered By Saasquatch links out to "https://saasquatch.com"\r\n Given the footer has the powered by SaaSquatch image\r\n When a user clicks on it\r\n Then they will be redirected to "https://saasquatch.com" in a new page';var Uc={title:"Portal Footer",parameters:{scenario:Hc}};var Wc={supportEmail:"support@example.com",supportText:"For program support, contact {email}",showPoweredBy:true,poweredByLink:"https://saasquatch.com",paddingTop:"large",paddingRight:"large",paddingBottom:"large",paddingLeft:"large"};var $c=function(){return r(Q,Object.assign({},Wc))};var Jc=function(){return r(Q,Object.assign({},Wc,{termsLink:"https://example.com",termsText:"Terms and Conditions"}))};var Xc=function(){return r(Q,Object.assign({},Wc,{faqLink:"https://example.com",faqText:"FAQ"}))};var Yc=function(){return r(Q,Object.assign({},Wc,{termsLink:"https://example.com",termsText:"Terms and Conditions",faqLink:"https://example.com",faqText:"FAQ"}))};var Zc=function(){return r(Q,Object.assign({},Wc,{termsLink:"https://example.com",termsText:"Terms and Conditions",faqLink:"https://example.com",faqText:"FAQ",showPoweredBy:false}))};var Kc=Object.freeze({__proto__:null,default:Uc,DefaultFooter:$c,FooterWithTerms:Jc,FooterWithFAQ:Xc,FooterWithTermsAndFAQ:Yc,FooterNoPoweredBy:Zc});var Qc='Feature: Hero Unit\r\n\r\n Background: A portal with a hero unit exists\r\n Given a hosted portal\r\n And the portal has hero unit on the login page\r\n And a user is viewing the login page\r\n\r\n Scenario: The hero unit defaults to a single column layout\r\n Given a hero unit does not have a "columns" prop\r\n But the following html is wrapped by the hero unit\r\n """\r\n <sqm-portal-login></sqm-portal-login>\r\n <div slot="secondary-column">\r\n <h1 style="text-align:center">Get Referring!</h1>\r\n <p style="text-align:center">\r\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do\r\n eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim\r\n ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut\r\n aliquip ex ea commodo consequat. Duis aute irure dolor in\r\n reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla\r\n pariatur.\r\n </p>\r\n </div>\r\n """\r\n Then only a single column will be displayed\r\n And within it will be the login component\r\n\r\n Scenario Outline: The hero unit supports single or dual column layouts\r\n Given a hero unit with prop "columns" having <columnValue>\r\n And it wraps <html>\r\n Then the hero unit displays <columnValue> columns\r\n Examples:\r\n | columnValue | html |\r\n | 1 | <h1>Column 1!</h1> |\r\n | 2 | <h1>Column 1!</h1><div slot="secondary-column"><h1 style="text-align:center">Column 2!</h1></div> |\r\n\r\n Scenario: HTML to be displayed in the second column comes from the "secondary-column" slot\r\n Given a hero unit with "columns" "2"\r\n And the following html\r\n """\r\n <h1>Column 1!</h1>\r\n <div>\r\n <h1 style="text-align:center">Column 2!</h1>\r\n </div>\r\n """\r\n When the hero unit is rendered\r\n Then only one column is displayed with content\r\n And column 1 will contain the "Column 1!" text\r\n And column 1 will contain the "Column 2!" text\r\n When the div for column two is updated to have \'slot="secondary-column"\'\r\n Then the two columns are displayed with content\r\n And column 1 will contain the "Column 1!" text\r\n And column 2 will contain the "Column 2!" text\r\n\r\n Scenario Outline: A background for the hero unit can be set as an image or colour\r\n Given a hero unit with <backgroundPropValue>\r\n Then the background will be <background>\r\n Examples:\r\n | background | background |\r\n | https://images.unsplash.com/photo-1599676821464-3555954838d | image of misty mountains |\r\n | LightSlateGrey | light slate grey |\r\n | #00FF00 | green |\r\n | rgb(128,0,128) | purple |\r\n\r\n Scenario Outline: Wrap Direction can be configured for mobile experiences\r\n Given a hero unit with the following HTML\r\n """\r\n <h1>Column 1!</h1>\r\n <div slot="secondary-column">\r\n <h1 style="text-align:center">Column 2!</h1>\r\n </div>\r\n """\r\n And prop "wrap-direction" has <value>\r\n When the window width is less than 600px\r\n Then the two columns will stack\r\n And <column> will be on top\r\n Examples:\r\n | value | column |\r\n | wrap | 1 |\r\n | wrap-reverse | 2 |\r\n | | 1 |';var em={title:"Hero Layout",parameters:{scenario:Qc}};var rm=function(){var e={states:{columns:1,wrapDirection:"wrap",paddingSize:"large"},content:{primaryColumn:[r("h1",{style:{textAlign:"center"}},"Get Referring!"),r("sqm-portal-login",null)]}};return r("div",{style:{height:"800px"}},r(ee,Object.assign({},e)))};var tm=function(){var e={states:{columns:1,wrapDirection:"wrap",paddingSize:"large",background:"LightSlateGrey"},content:{primaryColumn:r("sqm-portal-login",null)}};return r("div",{style:{height:"800px"}},r(ee,Object.assign({},e)))};var nm=function(){var e={states:{columns:1,wrapDirection:"wrap",paddingSize:"large",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"},content:{primaryColumn:r("sqm-portal-login",null)}};return r("div",{style:{height:"800px"}},r(ee,Object.assign({},e)))};var am=function(){var e={states:{columns:2,wrapDirection:"wrap",paddingSize:"large",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80",secondaryBackground:"LightSlateGrey"},content:{primaryColumn:r("sqm-portal-login",null),secondaryColumn:r("div",null,r("h1",{style:{textAlign:"center"}},"Get Referring!"),r("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return r("div",{style:{height:"800px"}},r(ee,Object.assign({},e)))};var sm=function(){var e={states:{columns:2,wrapDirection:"wrap",paddingSize:"medium",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80",secondaryBackground:"LightSlateGrey"},content:{primaryColumn:r("sqm-portal-login",null),secondaryColumn:r("div",null,r("h1",{style:{textAlign:"center"}},"Get Referring!"),r("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return r("div",{style:{height:"800px"}},r(ee,Object.assign({},e)))};var im=function(){var e={states:{columns:2,wrapDirection:"wrap",paddingSize:"small",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80",secondaryBackground:"LightSlateGrey"},content:{primaryColumn:r("sqm-portal-login",null),secondaryColumn:r("div",null,r("h1",{style:{textAlign:"center"}},"Get Referring!"),r("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return r("div",{style:{height:"800px"}},r(ee,Object.assign({},e)))};var om=function(){var e={states:{columns:2,wrapDirection:"wrap",paddingSize:"none",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80",secondaryBackground:"LightSlateGrey"},content:{primaryColumn:r("sqm-portal-login",null),secondaryColumn:r("div",null,r("h1",{style:{textAlign:"center"}},"Get Referring!"),r("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return r("div",{style:{height:"800px"}},r(ee,Object.assign({},e)))};var lm=function(){var e={states:{columns:2,wrapDirection:"wrap-reverse",background:"LightSlateGrey",paddingSize:"large",secondaryBackground:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"},content:{primaryColumn:r("sqm-portal-change-password",null),secondaryColumn:r("div",null,r("h1",{style:{textAlign:"center"}},"Get Referring!"),r("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return r("div",{style:{height:"800px"}},r(ee,Object.assign({},e)))};var um=function(){var e={states:{columns:2,wrapDirection:"wrap",paddingSize:"large"},content:{primaryColumn:r("div",null,r("h1",{style:{textAlign:"center"}},"Get Referring!"),r("sqm-portal-login",null)),secondaryColumn:r("div",null,r("img",{src:"https://images.unsplash.com/photo-1487528278747-ba99ed528ebc?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2070&q=80"}),r("p",null,"Pellentesque mauris urna, lacinia non turpis sed, pulvinar congue ligula. Sed mattis condimentum eros nec vulputate. Cras consectetur eget libero at viverra. Aliquam suscipit feugiat ante sit amet sagittis. Fusce pulvinar interdum odio ut dapibus. Nulla aliquet ultricies augue nec dignissim. Morbi vulputate hendrerit sem."))}};return r("div",{style:{height:"800px"}},r(ee,Object.assign({},e)))};var dm=Object.freeze({__proto__:null,default:em,LoginOneColumn:rm,LoginOneColumnWithColor:tm,LoginOneColumnWithImage:nm,TwoColumnLoginLargePadding:am,TwoColumnLoginMediumPadding:sm,TwoColumnLoginSmallPadding:im,TwoColumnLoginNoPadding:om,TwoColumnLoginReverseWrap:lm,TwoColumnLoginWithImgElement:um});var cm='@owner:sam\r\n@author:sam\r\n\r\nFeature: Referral Iframe\r\n\r\n Used to provide an external form for submitting referral leads using the current user\'s referral code\r\n\r\n Background: A user is logged in\r\n Given there is a logged in user\r\n\r\n @motivating\r\n Scenario: Referral code is passed to the iframe as a query parameter\r\n Given the "iframe-src" is "https://example.com"\r\n And the user has navigated to "/refer"\r\n And the user\'s referral code is "BOBBYREFER"\r\n When the iframe content is loaded\r\n Then the iframe url will be "https://example.com?rsCode=BOBBYREFER"\r\n\r\n @ui\r\n Scenario Outline: The height and width of the iFrame can be controlled via props\r\n Given the "iframe-src" is "https://example.com"\r\n And the iframe content is 1000x1000\r\n And the "iframe-height" is set to <heightValue>\r\n And the "iframe-width" is set to <widthValue>\r\n Then the content of the iframe will be displayed with scrollbars\r\n And the dimension of the iFrame displayed will be 500x500\r\n When the "iframe-height" is set to <heightValue>\r\n And the "iframe-width" is set to <widthValue>\r\n Then the full content of the iframe will be displayed on the page\r\n And the dimension of the iFrame displayed will be 1000x1000\r\n Examples:\r\n | heightValue | widthValue |\r\n | 500px | 500px |\r\n | 50% | 50% |\r\n\r\n @minutae\r\n Scenario Outline: The iFrame will fail fast if a iFrame source isn\'t provided\r\n Given "iframe-src" <mayBeAnAttribute>\r\n And it <mayHaveValue>\r\n When a user views the referral iFrame component\r\n Then an alert with an error message is displayed in place of the iFrame\r\n And it has a details section\r\n When "More details" is clicked\r\n Then the following information will be displayed\r\n | component being used |\r\n | missing attribute(s) |\r\n\r\n Examples:\r\n | mayBeAnAttribute | mayHaveValue |\r\n | is not an attribute | N/A |\r\n | is an attribute | "" |\r\n | is an attribute | |';var mm={title:"Referral Iframe",parameters:{scenario:cm}};var pm={data:{shareCode:"BOBBYREFER"},states:{content:{iframeSrc:"https://example.com",iframeHeight:"100%",iframeWidth:"100%"}}};var gm=function(){return r("div",{style:{width:"1000px",height:"1000px"}},r(y,Object.assign({},pm)))};var fm=function(){return r("div",{style:{width:"1000px",height:"1000px"}},r("sqm-referral-iframe",null))};var hm=Object.freeze({__proto__:null,default:mm,ReferralIframe:gm,ReferralIframeError:fm});var bm='@owner:sam\r\n@author:sam\r\n\r\nFeature: Name Fields\r\n\r\n Fields to be used to fill the first and last name of a user during registration\r\n\r\n Background:\r\n Given the current page is "/register"\r\n\r\n @motivating\r\n Scenario: Both first name and last name are required\r\n Given the email field has valid input\r\n And the password field has valid input\r\n And first name field is empty\r\n And last name field is empty\r\n When register is clicked\r\n Then the name fields will be highlighted in red\r\n And the error messages will say "Cannot be empty"\r\n\r\n @motivating\r\n Scenario: First and last name are upserted with the SaaSquatch user\r\n Given all fields have been filled with data\r\n | firstName | lastName | email | password |\r\n | Bob | Testerson | bob@example.com | SecurePassword1 |\r\n When register is clicked\r\n Then the email verification page will be loaded\r\n And the user will be upserted\r\n And the SaaSquatch user will contain data\r\n | firstName | lastName | email |\r\n | Bob | Testerson | bob@example.com |\r\n\r\n';var vm={title:"Name Fields",parameters:{scenario:bm}};var xm={states:{validationErrors:undefined,content:{firstNameLabel:"First Name",lastNameLabel:"Last Name"}}};var wm={states:{validationErrors:{firstName:"Cannot be empty",lastName:"Cannot be empty"},content:{firstNameLabel:"First Name",lastNameLabel:"Last Name"}}};var ym=function(){return r(re,Object.assign({},xm))};var Em=function(){return r(re,Object.assign({},wm))};var Dm=Object.freeze({__proto__:null,default:vm,NameFields:ym,NameFieldsWithErrors:Em});var _m=function(e,r,t,n,a,s,i){if(r===void 0){r="chooseReward"}if(t===void 0){t=null}if(n===void 0){n=null}if(a===void 0){a=false}if(s===void 0){s=false}if(i===void 0){i=null}return{states:{content:{text:{buttonText:"Exchange Rewards",notAvailableError:"{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {unavailableReasonCode} }",chooseRewardTitle:"Rewards",chooseAmountTitle:"Select",confirmationTitle:"Confirm",rewardTitle:"Choose a reward",cancelText:"Cancel",backText:"Back",continueText:"Continue",continueToConfirmationText:"Continue to confirmation",redeemText:"Redeem",redeemTitle:"Confirm and redeem",redemptionSuccessText:"Redeemed {sourceValue} for {destinationValue}",doneText:"Done",toolTipText:"Copied!",selectText:"Select amount to receive",sourceAmountMessage:"{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}",rewardRedeemedText:"Reward redeemed",redemptionError:"An error occured trying to redeem this reward. Please try again",promoCode:"Promo code",skeletonCardNum:8,rewardNameTitle:"Reward Name",rewardAmountTitle:"Reward Amount",costTitle:"Cost"}},redeemStage:r,amount:0,exchangeError:a,loading:s,selectedItem:t,selectedStep:n,open:false},data:{exchangeList:e,fuelTankCode:i},callbacks:{exchangeReward:null,resetState:null,setStage:null,setExchangeState:null,copyFuelTankCode:null,refs:null},refs:null}};var qm={key:"",name:"",description:"Description of reward. Lorem ipsum dolor sit amet, consectetur adipiscing. Id nec semper sapien dignissim rhoncus nunc.",imageUrl:"",available:true,unavailableReasonCode:null,ruleType:"FIXED_GLOBAL_REWARD",sourceUnit:"POINT",sourceValue:10,prettySourceValue:"10 SaaSquatch Points",sourceMinValue:null,prettySourceMinValue:null,sourceMaxValue:null,prettySourceMaxValue:null,destinationMinValue:null,prettyDestinationMinValue:null,destinationMaxValue:null,prettyDestinationMaxValue:null,globalRewardKey:"",destinationUnit:null,steps:[]};var Cm={available:false,unavailableReasonCode:"INSUFFICIENT_REDEEMABLE_CREDIT"};var Am={available:false,unavailableReasonCode:"US_TAX"};var km={key:"r1"};var Rm=function(e){return{imageUrl:e}};var Tm=function(e){return{name:e}};var Pm=function(e){return{prettySourceValue:e}};var Im=function(e,r,t){return{ruleType:"VARIABLE_CREDIT_REWARD",sourceMinValue:e,prettySourceMinValue:e+" "+t,sourceMaxValue:r,prettySourceMaxValue:r+" "+t}};var Nm=[__assign(__assign(__assign(__assign({},qm),Tm("Free swag with a promo code")),Rm("https://i.imgur.com/n7vC4BR.png")),Pm("40 SaaSquatch Points")),__assign(__assign(__assign(__assign(__assign({},qm),km),Tm("Visa® Prepaid Card USD")),Rm("https://i.imgur.com/veHErQX.png")),Im(20,80,"Points")),__assign(__assign(__assign(__assign({},qm),Tm("A very exclusive gift box")),Rm("https://i.imgur.com/93BvEgH.png")),Pm("30 SaaSquatch Points")),__assign(__assign(__assign(__assign({},qm),Tm("$50 Store credit")),Rm("https://i.imgur.com/WkCMVSE.png")),Pm("100 SaaSquatch Points")),__assign(__assign(__assign(__assign({},qm),Tm("Variable amount of store credit")),Rm("https://i.imgur.com/Jn2fE0s.png")),Im(20,100,"Points")),__assign(__assign(__assign(__assign(__assign({},qm),Cm),Tm("A very rare cactus")),Rm("https://i.imgur.com/hhlF2Ey.png")),Pm("2000 SaaSquatch Points")),__assign(__assign(__assign(__assign(__assign({},qm),Am),Tm("$1000 Store credit with a really super long name in the front page")),Rm("https://i.imgur.com/y9HSls1.png")),Pm("2000 SaaSquatch Long Points")),__assign(__assign(__assign(__assign(__assign({},qm),Cm),Tm("A holiday gift box")),Rm("https://i.imgur.com/dWEdB3p.png")),Pm("100 SaaSquatch Points"))];var Fm=__assign({},_m(Nm));var Sm=__assign({},_m(Nm,"chooseReward",__assign(__assign(__assign(__assign(__assign({},qm),km),Tm("Visa® Prepaid Card USD")),Rm("https://i.imgur.com/veHErQX.png")),Im(20,80,"Points"))));var Lm=function(e,r,t,n,a){if(a===void 0){a=true}return{destinationValue:e,prettyDestinationValue:r+e,sourceValue:t,prettySourceValue:t+" "+n,available:a,unavailableReasonCode:null}};var Bm=__assign({},_m(Nm,"chooseAmount",__assign(__assign(__assign(__assign(__assign({},qm),Tm("Visa® Prepaid Card USD")),Rm("https://i.imgur.com/veHErQX.png")),Im(20,80,"Points")),{steps:[Lm(20,"$",40,"Points"),Lm(30,"$",60,"Points"),Lm(40,"$",80,"Points"),Lm(50,"$",100,"Points"),Lm(60,"$",120,"Points")]})));var Om=__assign({},_m(Nm,"chooseAmount",__assign(__assign(__assign(__assign({},qm),Tm("Free swag with a promo code")),Rm("https://i.imgur.com/n7vC4BR.png")),Pm("40 SaaSquatch Points"))));var jm=__assign({},_m(Nm,"confirmation",__assign(__assign(__assign(__assign({},qm),Tm("Free swag with a promo code")),Rm("https://i.imgur.com/n7vC4BR.png")),Pm("40 SaaSquatch Points"))));var Vm=__assign({},_m(Nm,"confirmation",__assign(__assign(__assign(__assign({},qm),Tm("Visa® Prepaid Card USD")),Rm("https://i.imgur.com/veHErQX.png")),Im(20,80,"Points")),Lm(20,"$",40,"Points")));var Mm=__assign({},_m(Nm,"confirmation",__assign(__assign(__assign(__assign({},qm),Tm("Visa® Prepaid Card USD")),Rm("https://i.imgur.com/veHErQX.png")),Im(20,80,"Points")),Lm(20,"$",40,"Points"),true));var Gm=__assign({},_m(Nm,"success",__assign(__assign(__assign(__assign({},qm),Tm("Free swag with a promo code")),Rm("https://i.imgur.com/n7vC4BR.png")),Pm("40 SaaSquatch Points")),undefined,undefined,undefined,"4ah2-hh46-gk7r"));var zm=__assign({},_m(Nm,"success",__assign(__assign(__assign(__assign({},qm),Tm("Visa® Prepaid Card USD")),Rm("https://i.imgur.com/93BvEgH.png")),Im(20,80,"Points")),Lm(20,"$",40,"Points")));var Hm=__assign({},_m(null,"chooseReward",null,null,false,true));var Um={title:"Components/Reward Exchange List"};var Wm=function(e){return function(){return r(hd,null,r(E,Object.assign({},e)))}};var $m=Wm(Fm);var Jm=Wm(Sm);var Xm=Wm(Om);var Ym=Wm(Bm);var Zm=Wm(jm);var Km=Wm(Vm);var Qm=Wm(Mm);var ep=Wm(Gm);var rp=Wm(zm);var tp=Wm(Hm);var np=Object.freeze({__proto__:null,default:Um,ChooseReward:$m,ChooseRewardSelected:Jm,ChooseAmount:Xm,ChooseAmountVariable:Ym,Confirm:Zm,ConfirmVariable:Km,Error:Qm,SuccessPromo:ep,SuccessVariable:rp,Loading:tp});var ap={title:"Components/Program Explainer"};var sp=function(){return r("sqm-program-explainer",{header:"How it works"},r("sqm-program-explainer-step",{header:"Get up to $1250 for inviting friends to Klip",description:"Share your referral link with a friend and earn up to $1250",icon:"person-plus-fill"}),r("sqm-program-explainer-step",{header:"Earn points for using Klip",description:"Complete tasks like uploading your first video or sharing videos with friends",icon:"server"}),r("sqm-program-explainer-step",{header:"Redeem rewards with your points",description:"Redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America",icon:"people-fill"}))};var ip=function(){return r("sqm-program-explainer",{header:"How it works","text-color":"#fffc4b","background-color":"#ff7f7f"},r("sqm-program-explainer-step",{header:"Get up to $1250 for inviting friends to Klip",description:"Share your referral link with a friend and earn up to $1250",icon:"person-plus-fill"}),r("sqm-program-explainer-step",{header:"Earn points for using Klip",description:"Complete tasks like uploading your first video or sharing videos with friends",icon:"server"}),r("sqm-program-explainer-step",{header:"Redeem rewards with your points",description:"Redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America",icon:"people-fill"}))};var op=Object.freeze({__proto__:null,default:ap,OneStep:sp,Custom:ip});var lp={title:"Components/Program Explainer Step"};var up=function(){return r("sqm-program-explainer-step",{header:"Get up to $1250 for inviting friends to Klip",description:"Send your referral link to a friend or share it through email, Twitter, or Facebook",icon:"person-plus-fill"})};var dp=function(){return r("sqm-program-explainer-step",{header:"Invite your friends to Klip",description:"Send your referral link to a friend or share it through email, Twitter, or Facebook","image-url":"https://i.imgur.com/Uqn3aXw.png","text-color":"#fffc4b","background-color":"#ff7f7f"})};var cp=Object.freeze({__proto__:null,default:lp,ProgramExplainerStep:up,ProgramExplainerStepCustom:dp});var mp={title:"Components/Brand"};var pp=function(){return r("div",{style:{padding:"10px",border:"5px solid #EEE"}},r("div",{style:{display:"flex",gap:"5px",padding:"5px"}},r("sl-button",{type:"default"},"Default"),r("sl-button",{type:"primary"},"Primary"),r("sl-button",{type:"success"},"Success"),r("sl-button",{type:"neutral"},"Neutral"),r("sl-button",{type:"warning"},"Warning"),r("sl-button",{type:"danger"},"Danger")),r("div",{style:{display:"flex",gap:"5px",padding:"5px"}},r("sl-badge",{type:"primary"},"Primary"),r("sl-badge",{type:"success"},"Success"),r("sl-badge",{type:"neutral"},"Neutral"),r("sl-badge",{type:"warning"},"Warning"),r("sl-badge",{type:"danger"},"Danger")),r("div",{class:"color-palette"},r("div",{class:"color-palette__name"},"Primary",r("br",null),r("code",null,"--sl-color-primary-",r("em",null,"{n}"))),r("div",{style:{display:"flex",gap:"5px"}},r(hp,{depth:50}),r(hp,{depth:100}),r(hp,{depth:200}),r(hp,{depth:300}),r(hp,{depth:400}),r(hp,{depth:500}),r(hp,{depth:600}),r(hp,{depth:700}),r(hp,{depth:800}),r(hp,{depth:900}),r(hp,{depth:950}))))};var gp=function(){return r("div",null,r(pp,null),r("sqm-brand",{"brand-color":"#FF0000"},r(pp,null)),r("sqm-brand",{"brand-color":"#00FF00"},r(pp,null)),r("sqm-brand",{"brand-color":"#0000FF"},r(pp,null)),r("sqm-brand",{"brand-color":"#000000"},r(pp,null)))};var fp=function(){return r("div",null,"Default ",r(pp,null),r("sqm-brand",{"brand-color":"#FF0000"},"Red:",r(pp,null),r("sqm-brand",{"brand-color":"#00FF00"},"Green:",r(pp,null),r("sqm-brand",{"brand-color":"#0000FF"},"Blue:",r(pp,null),r("sqm-brand",{"brand-color":"#000000"},"Black:",r(pp,null))))))};function hp(e){var t=e.depth;return r("div",{style:{backgroundColor:"var(--sl-color-primary-"+t+")",color:"var(--sl-color-neutral-"+(1e3-t)+")",width:"50px",height:"50px",display:"flex",justifyContent:"center",alignItems:"center"}},t)}var bp=function(){return r("div",null,r(pp,null),r("sqm-brand",{"brand-font":"Roboto"},"Roboto",r(pp,null)),r("sqm-brand",{"brand-font":"Open Sans"},"Open Sans",r(pp,null)),r("sqm-brand",{"brand-font":"Lato"},"Lato",r(pp,null)),r("sqm-brand",{"brand-font":"Oswald"},"Oswald",r(pp,null)))};var vp=Object.freeze({__proto__:null,default:mp,Examples:gp,Nested:fp,Fonts:bp});var xp={title:"Components/Card Feed"};var wp={width:347,gap:24};var yp={content:{rewardAmount:"20",rewardUnit:"SaaSquatch Points",cardTitle:"Complete a survey",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:false,showProgressBar:false,steps:false,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:false,showExpiry:false,rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:1,locale:"en"},states:{progress:0,loading:false,loadingEvent:false}};var Ep={content:{rewardAmount:"40",rewardUnit:"SaaSquatch Points",cardTitle:"Comment on 5 articles",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:false,showProgressBar:true,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",steps:true,buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:false,showExpiry:false,rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:5,locale:"en"},states:{progress:1,loading:false,loadingEvent:false}};var Dp={content:{rewardAmount:"150",rewardUnit:"SaaSquatch Points",cardTitle:"Spend $500 at our Store",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:false,showProgressBar:true,steps:false,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",progressBarUnit:"$",buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:false,showExpiry:false,rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:500,locale:"en"},states:{progress:100,loading:false,loadingEvent:false}};var _p=function(){return r(D,Object.assign({},wp),r(x,Object.assign({},yp)),r("div",null,r(x,Object.assign({},Ep))),r("div",null,r("div",null,r(x,Object.assign({},yp)))),r(x,Object.assign({},Ep)),r(x,Object.assign({},Ep)),r("div",null,r(x,Object.assign({},Ep))),r("div",null,r("div",null,r(x,Object.assign({},yp)))),r(x,Object.assign({},Dp)))};var qp=Object.freeze({__proto__:null,default:xp,TaskCardGrid:_p});var Cp="Feature: Portal Container\r\n\r\n\r\n Scenario: Horizontal content overflows, but does not stretch\r\n\r\n Bad elements should not affect other elements in the page\r\n\r\n Given there are two element in the container\r\n And the first is small\r\n And the second would stretch the container wider than it's parent\r\n Then the second one is clipped\r\n And the first one doesn't stretch\r\n\r\n @landmine\r\n Scenario: `max-width` is required for displaying as a row\r\n Given I have `direction` to \"row\"\r\n And I have not set a `max-width`\r\n Then it will display as a column\r\n";var Ap={title:"Components/Portal Container",parameters:{scenario:Cp}};var kp=function(){return r("div",{style:{width:"200px",border:"1px dashed grey"}},r("sqm-portal-container",null,r("div",{style:{background:"grey",border:"1px solid red"}},"Small"),r("div",{style:{background:"lightblue",width:"1000px"}},"Too wide, content goes off the side of the page for ever and is hidden.")))};var Rp=function(){return r("div",{style:{width:"500px",border:"1px dashed grey"}},r("sqm-portal-container",{direction:"row","min-width":"160px"},r("sqm-share-button",{icon:"envelope",medium:"email",size:"medium",class:"hydrated"},"Email a friend"),r("sqm-share-button",{medium:"twitter",size:"medium",class:"hydrated"},"Tweet about us"),r("sqm-share-button",{medium:"facebook",size:"medium",class:"hydrated"},"Share on Facebook")))};var Tp=function(){return r("div",{style:{width:"1000px",border:"1px dashed grey"}},r("sqm-portal-container",{direction:"row",minWidth:"160px",maxWidth:"50%"},r("sqm-share-button",{icon:"envelope",medium:"email",size:"medium",class:"hydrated"},"Email a friend"),r("sqm-share-button",{medium:"twitter",size:"medium",class:"hydrated"},"Tweet about us"),r("sqm-share-button",{medium:"facebook",size:"medium",class:"hydrated"},"Share on Facebook")))};var Pp=function(){return r("div",{style:{width:"1000px",border:"1px dashed grey"}},r("sqm-portal-container",{direction:"row",maxWidth:"100%"},r("sqm-share-button",{icon:"envelope",medium:"email",size:"medium",class:"hydrated"},"Email a friend"),r("sqm-share-button",{medium:"twitter",size:"medium",class:"hydrated"},"Tweet about us"),r("sqm-share-button",{medium:"facebook",size:"medium",class:"hydrated"},"Share on Facebook")))};var Ip=Object.freeze({__proto__:null,default:Ap,TooWideColumn:kp,TooWideRow:Rp,HalfWidth:Tp,FullWidth:Pp});var Np={title:"Components/Rewards Table Cell"};var Fp={id:"61c100117a82a376d8804166",type:"CREDIT",value:19,unit:"TESTUNIT",name:null,dateGiven:1640038417468,dateExpires:null,dateCancelled:null,dateRedeemed:null,dateScheduledFor:null,fuelTankCode:null,fuelTankType:null,currency:null,prettyValue:"19 Points",prettyValueNumber:"19",prettyAvailableNumber:"19",prettyRedeemedNumber:"0",statuses:["AVAILABLE"],globalRewardKey:null,rewardSource:"MANUAL",prettyRedeemedCredit:"0 Points",prettyAssignedCredit:"19 Points",prettyAvailableValue:"19 Points",exchangedRewardRedemptionTransaction:null,referral:null,rewardRedemptionTransactions:{data:null}};var Sp=function(){return r("sqm-rewards-table-reward-cell",{reward:__assign({},Fp),availableText:"19 Points remaining"})};var Lp={prettyAvailableValue:"10 Points",prettyRedeemedCredit:"9 Points",prettyRedeemedNumber:"9",dateRedeemed:1640038417468};var Bp=function(){return r("sqm-rewards-table-reward-cell",{reward:__assign(__assign({},Fp),Lp),availableText:"10 Points remaining"})};var Op={prettyAvailableValue:"0 Points",prettyRedeemedCredit:"19 Points",prettyRedeemedNumber:"19",dateRedeemed:1640038417468};var jp=function(){return r("sqm-rewards-table-reward-cell",{reward:__assign(__assign({},Fp),Op),availableText:"0 Points remaining"})};var Vp={prettyValue:"1 Points",prettyValueNumber:"1",prettyAvailableNumber:"1",prettyAvailableValue:"0 Points",prettyRedeemedCredit:"1 Points",prettyRedeemedNumber:"1",dateRedeemed:1640038417468};var Mp=function(){return r("sqm-rewards-table-reward-cell",{reward:__assign(__assign({},Fp),Vp)})};var Gp=function(){return r("sqm-rewards-table-reward-cell",{reward:__assign(__assign({},Fp),{type:"FUELTANK",prettyValue:"SaaSquatch Giftcard"})})};var zp=function(){return r("sqm-rewards-table-source-cell",{reward:Fp,rewardSourceText:"Manual"})};var Hp={exchangedRewardRedemptionTransaction:{id:"61c100117a82a376d88041196",creditRedeemed:1,prettyRedeemedCredit:"1 Money",unit:"TESTUNIT",dateRedeemed:1640038417173,redeemedRewards:null,exchangedRewards:null}};var Up=function(){return r("sqm-rewards-table-source-cell",{reward:__assign(__assign({},Fp),Hp),rewardExchangeText:"Reward Exchange"})};var Wp={firstName:"John",lastName:"Doe",imageUrl:null};var $p={firstName:"",lastName:"",imageUrl:null};var Jp=function(e){if(e===void 0){e=null}return{rewardSource:"FRIEND_SIGNUP",referral:{id:"123",dateConverted:1640038417173,dateReferralStarted:1640038417173,dateReferralPaid:1640038417173,dateReferralEnded:null,moderationStatus:null,rewards:null,referrerUser:e,referredUser:e}}};var Xp=function(e){if(e===void 0){e=null}return{rewardSource:"REFERRED",referral:{id:"123",dateConverted:1640038417173,dateReferralStarted:1640038417173,dateReferralPaid:1640038417173,dateReferralEnded:null,moderationStatus:null,rewards:null,referrerUser:e,referredUser:e}}};var Yp=function(){return r("sqm-rewards-table-source-cell",{reward:__assign(__assign({},Fp),Jp(Wp)),referralText:"Referral to"})};var Zp=function(){return r("sqm-rewards-table-source-cell",{reward:__assign(__assign({},Fp),Xp(Wp)),referralText:"Referred by"})};var Kp=function(){return r("sqm-rewards-table-source-cell",{reward:__assign(__assign({},Fp),Jp($p)),referralText:"Referral to",anonymousUserText:"Anonymous User"})};var Qp=function(){return r("sqm-rewards-table-source-cell",{reward:__assign(__assign({},Fp),Jp(null)),referralText:"Referral to",deletedUserText:"Deleted User"})};var eg=function(){return r("sqm-rewards-table-status-cell",{statusText:"Available",reward:Fp})};var rg={dateExpires:1640038417468};var tg=function(){return r("sqm-rewards-table-status-cell",{statusText:"Available",reward:__assign(__assign({},Fp),rg),expiryText:"Expires"})};var ng={statuses:["REDEEMED"],dateRedeemed:1640038417468};var ag=function(){return r("sqm-rewards-table-status-cell",{statusText:"Redeemed",reward:__assign(__assign({},Fp),ng)})};var sg={statuses:["CANCELLED"],dateCancelled:1640038417468};var ig=function(){return r("sqm-rewards-table-status-cell",{statusText:"Cancelled",reward:__assign(__assign({},Fp),sg)})};var og={statuses:["EXPIRED"],dateExpires:1640038417468};var lg=function(){return r("sqm-rewards-table-status-cell",{statusText:"Expired",reward:__assign(__assign({},Fp),og)})};var ug={statuses:["PENDING"]};var dg=function(){return r("sqm-rewards-table-status-cell",{statusText:"Pending",reward:__assign(__assign({},Fp),ug)})};var cg=function(){return r("sqm-rewards-table-date-cell",{date:1640038417468})};var mg=function(){return r("sqm-rewards-table-date-cell",null)};var pg=Object.freeze({__proto__:null,default:Np,RewardsCellCreditFull:Sp,RewardsCellCreditPartial:Bp,RewardsCellCreditEmpty:jp,RewardsCellSingleRedeemed:Mp,RewardsCellNonCredit:Gp,SourceCellText:zp,SourceCellExchange:Up,SourceCellReferral:Yp,SourceCellReferred:Zp,SourceCellAnonymousUser:Kp,SourceCellDeletedUser:Qp,StatusCellAvailable:eg,StatusCellAvailableExpiry:tg,StatusCellRedeemed:ag,StatusCellCancelled:ig,StatusCellExpired:lg,StatusCellPending:dg,DateCell:cg,EmptyCell:mg});var gg={title:"Components/Rewards Table"};var fg=function(){return r("sqm-rewards-table-date-cell",null)};var hg=function(){return r("sqm-rewards-table-date-cell",null)};var bg=Object.freeze({__proto__:null,default:gg,Tab:fg,EmptyCell:hg});var vg={title:"Hooks / useReferralTable"};function xg(){var e="testestest";var r=e;window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com"};o((function(){P({accountId:r,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"});return function(){window.widgetIdent=undefined;P(undefined)}}),[]);return{id:e,accountId:r}}function wg(e){var r=e.token,t=e.id;var n=t;window.widgetIdent={tenantAlias:"test_a74miwdpofztj",appDomain:"https://staging.referralsaasquatch.com"};o((function(){P({accountId:n,id:t,jwt:r});return function(){window.widgetIdent=undefined;P(undefined)}}),[]);return{id:t,accountId:n}}var yg=aa((function(){xg();F("sam-partner-test-2");return r("sqm-referral-table",null,r("sqm-referral-table-user-column",null),r("sqm-referral-table-status-column",null),r("sqm-referral-table-date-column",null),r("sqm-referral-table-rewards-column",null))}));var Eg=aa((function(){wg({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",id:"samenglish"});F("klip-referral-program");return r("sqm-referral-table",{"per-page":"4"},r("sqm-referral-table-user-column",{"column-title":"User"}),r("sqm-referral-table-status-column",{"column-title":"Referral Status"}),r("sqm-referral-table-rewards-column",null),r("sqm-referral-table-date-column",{"column-title":"Date Referred","date-shown":"dateReferralStarted"}))}));var Dg=aa((function(){wg({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",id:"samturkey"});F("klip-referral-program");return r("sqm-referral-table",{"more-label":"Daha","prev-label":"Öncesi","empty-state-text":"Henüz Ödül Yok","per-page":"4"},r("sqm-referral-table-user-column",{"column-title":"Kullanıcılar","anonymous-user":"Anonim Kullanıcı","deleted-user":"Silinmiş Kullanıcı"}),r("sqm-referral-table-status-column",{"column-title":"Durumu","converted-status-text":"Dönüştür","in-progress-status-text":"Devam etmekte"}),r("sqm-referral-table-rewards-column",{"column-title":"Ödüller","status-text":"{status, select, AVAILABLE {Mevcut} CANCELLED {İptal edildi} PENDING {Bekliyor} EXPIRED {Süresi doldu} REDEEMED {Kullanıldı} other {Müsait değil} }","status-long-text":"{status, select, AVAILABLE {Ödül süresi doluyor} CANCELLED {Ödül iptal edildi} PENDING {üzerinde mevcut} EXPIRED {Ödülün süresi doldu} other {Müsait değil} }","reward-received-text":"Ödül şu tarihte alındı:"}),r("sqm-referral-table-date-column",{"column-title":"Tarih","date-shown":"dateReferralStarted"}))}));var _g=aa((function(){wg({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",id:"samfrench"});F("klip-referral-program");return r("sqm-referral-table",{"more-label":"Plus","prev-label":"Précédent","empty-state-text":"Aucune Référence Maintenant","per-page":"4"},r("sqm-referral-table-user-column",{"column-title":"Utilisateur","anonymous-user":"Utilisateur Anonyme","deleted-user":"Utilisateur Supprimé"}),r("sqm-referral-table-status-column",{"column-title":"Statut de Parrainage","converted-status-text":"Converti","in-progress-status-text":"En cours"}),r("sqm-referral-table-rewards-column",{"column-title":"Récompenses","status-text":"{status, select, AVAILABLE {Disponible} CANCELLED {Annulé} PENDING {En attente} EXPIRED {Expiré} REDEEMED {Racheté} other {Indisponible} }","status-long-text":"{status, select, AVAILABLE {Récompense expirant sur} CANCELLED {Récompense annulée sur} PENDING {Disponible sur} EXPIRED {Récompense expirée sur} other {Indisponible} }","reward-received-text":"Récompense reçue"}),r("sqm-referral-table-date-column",{"column-title":"Date de Référence","date-shown":"dateReferralStarted"}))}));var qg=Object.freeze({__proto__:null,default:vg,ReferralTable:yg,ReferralTableEn:Eg,ReferralTableTr:Dg,ReferralTableFr:_g});var Cg={title:"Components/Media"};var Ag=function(){return r("sqm-media",{"image-url":"https://i.imgur.com/bTwu1Um.png",layout:"overlay"})};var kg=function(){return r("sqm-media",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",layout:"overlay"})};var Rg=function(){return r("sqm-media",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards",layout:"overlay"})};var Tg=function(){return r("sqm-media",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"overlay"})};var Pg=function(){return r("sqm-media",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning","text-color":"#fffc4b","overlay-color":"#ff7f7f","overlay-opacity":"0.9",layout:"overlay"})};var Ig=function(){return r("sqm-media",{"image-url":"https://i.imgur.com/yr6ER3R.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"columns"})};var Ng=function(){return r("sqm-media",{"image-url":"https://i.imgur.com/yr6ER3R.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"columns",imagePos:"right",imageMobilePos:"bottom"})};var Fg=function(){return r("sqm-media",{"image-url":"https://i.imgur.com/yr6ER3R.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"columns","text-color":"#fffc4b","background-color":"#ff7f7f"})};var Sg=Object.freeze({__proto__:null,default:Cg,ImageOnly:Ag,ImageWithHeader:kg,ImageWithDescription:Rg,ImageWithButton:Tg,ImageCustomOverlay:Pg,ImageTwoColumnLayout:Ig,ImageTwoColumnLayoutReverse:Ng,ImageTwoColumnCustom:Fg});var Lg={title:"Components/Referral Card"};var Bg=function(e){return r("sqm-portal-container",{gap:"large",slot:e},"Get rewarded when your friend uses Klip",r("sqm-media",{"image-url":"https://i.imgur.com/L3aRMde.png","min-height":"0"}))};var Og=function(e){return r("sqm-portal-container",{gap:"large",slot:e},r("sqm-text",null,"Choose how you want to share:"),r("sqm-text",null,r("p",{light:true},"Your unique referral link:"),r("sqm-share-code",null)),r("sqm-share-button",{medium:"email",icon:"envelope",backgroundcolor:"#666666",textcolor:"#fff"},"Share via email"),r("sqm-share-button",{medium:"facebook",backgroundcolor:"#0671E6",textcolor:"#fff"},"Share on Facebook"),r("sqm-share-button",{medium:"twitter",backgroundcolor:"#47ACDF",textcolor:"#fff"},"Tweet about us"))};var jg=function(e,t){return r("sqm-timeline",{slot:e,icon:"circle"},t>0&&r("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),t>1&&r("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),t>2&&r("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"}),t>3&&r("sqm-timeline-entry",{reward:"$1000",unit:"visa giftcard",desc:"Your friend purchases Klip Team"}))};var Vg=function(){return r("sqm-referral-card",{header:"Share $50 with friends",description:"They’ll get a $50 credit towards a new account and you’ll get up to $1200."},Bg("left"),Og("right"))};var Mg=function(){return r("sqm-referral-card",{header:"Share $50 with friends",description:"They’ll get a $50 credit towards a new account and you’ll get up to $1200."},jg("left",2),Og("right"))};var Gg=function(){return r("sqm-referral-card",{header:"Share $50 with friends",description:"They’ll get a $50 credit towards a new account and you’ll get up to $1200."},jg("left",3),Og("right"))};var zg=function(){return r("sqm-referral-card",{"vertical-alignment":"start",header:"Share $50 with friends",description:"They’ll get a $50 credit towards a new account and you’ll get up to $1200."},jg("left",4),Og("right"))};var Hg=function(){return r("sqm-referral-card",{"vertical-alignment":"center",header:"Share $50 with friends",description:"They’ll get a $50 credit towards a new account and you’ll get up to $1200."},jg("left",4),Og("right"))};var Ug=function(){return r("sqm-referral-card",{"vertical-alignment":"end",header:"Share $50 with friends",description:"They’ll get a $50 credit towards a new account and you’ll get up to $1200."},jg("left",4),Og("right"))};var Wg=function(){return r("sqm-referral-card",{header:"Share $50 with friends",description:"They’ll get a $50 credit towards a new account and you’ll get up to $1200."},Bg("right"),Og("left"))};var $g=function(){return r("sqm-referral-card",{header:"Share $50 with friends",description:"They’ll get a $50 credit towards a new account and you’ll get up to $1200."},jg("right",2),Og("left"))};var Jg=function(){return r("sqm-referral-card",{header:"Share $50 with friends",description:"They’ll get a $50 credit towards a new account and you’ll get up to $1200."},jg("right",3),Og("left"))};var Xg=function(){return r("sqm-referral-card",{header:"Share $50 with friends",description:"They’ll get a $50 credit towards a new account and you’ll get up to $1200."},jg("right",4),Og("left"))};var Yg=function(){return r("div",null,r("sqm-timeline",null,r("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"})),r("br",null)," ",r("hr",null)," ",r("br",null),r("sqm-timeline",{icon:"circle"},r("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"})))};var Zg=function(){return r("div",null,r("sqm-timeline",null,r("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),r("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"})),r("br",null)," ",r("hr",null)," ",r("br",null),r("sqm-timeline",{icon:"circle"},r("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),r("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"})))};var Kg=function(){return r("div",null,r("sqm-timeline",null,r("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),r("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),r("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"})),r("br",null)," ",r("hr",null)," ",r("br",null),r("sqm-timeline",{icon:"circle"},r("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),r("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),r("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"})))};var Qg=function(){return r("div",null,r("sqm-timeline",null,r("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),r("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),r("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"}),r("sqm-timeline-entry",{reward:"$1000",unit:"visa giftcard",desc:"Your friend purchases Klip Team"})),r("br",null)," ",r("hr",null)," ",r("br",null),r("sqm-timeline",{icon:"circle"},r("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),r("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),r("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"}),r("sqm-timeline-entry",{reward:"$1000",unit:"visa giftcard",desc:"Your friend purchases Klip Team"})))};var ef=Object.freeze({__proto__:null,default:Lg,ReferralCardA:Vg,ReferralCardB:Mg,ReferralCardC:Gg,ReferralCardDStart:zg,ReferralCardDCenter:Hg,ReferralCardDEnd:Ug,ReferralCardAFlipped:Wg,ReferralCardBFlipped:$g,ReferralCardCFlipped:Jg,ReferralCardDFlipped:Xg,TimelineWith1Reward:Yg,TimelineWith2Rewards:Zg,TimelineWith3Rewards:Kg,TimelineWith4Rewards:Qg});var rf="\n // No CSS\n";var tf="\n:root{\n "+_("orange")+"\n}\n";var nf="\n:root{\n "+_("#e50914")+"\n}\n";var af="\n:root{\n "+_("#65bd60")+"\n --sl-font-sans: Arial;\n}\n";var sf="\n:root{\n "+_("black")+"\n --sl-font-sans: Georgia, 'Times New Roman', serif;\n}\n";var of="\n:root{\n "+_("#4225C4")+";\n}\n\n";var lf=Object.freeze({__proto__:null,Default:rf,Orangey:tf,Netflix:nf,SaaSquatchCorporate:af,NYTimes:sf,Klip:of});function uf(e){if(e instanceof Map){e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}}else if(e instanceof Set){e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}}Object.freeze(e);Object.getOwnPropertyNames(e).forEach((function(r){var t=e[r];if(typeof t=="object"&&!Object.isFrozen(t)){uf(t)}}));return e}var df=uf;var cf=uf;df.default=cf;var mf=function(){function e(e){if(e.data===undefined)e.data={};this.data=e.data;this.isMatchIgnored=false}e.prototype.ignoreMatch=function(){this.isMatchIgnored=true};return e}();function pf(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function gf(e){var r=[];for(var t=1;t<arguments.length;t++){r[t-1]=arguments[t]}var n=Object.create(null);for(var a in e){n[a]=e[a]}r.forEach((function(e){for(var r in e){n[r]=e[r]}}));return n}var ff="</span>";var hf=function(e){return!!e.kind};var bf=function(){function e(e,r){this.buffer="";this.classPrefix=r.classPrefix;e.walk(this)}e.prototype.addText=function(e){this.buffer+=pf(e)};e.prototype.openNode=function(e){if(!hf(e))return;var r=e.kind;if(!e.sublanguage){r=""+this.classPrefix+r}this.span(r)};e.prototype.closeNode=function(e){if(!hf(e))return;this.buffer+=ff};e.prototype.value=function(){return this.buffer};e.prototype.span=function(e){this.buffer+='<span class="'+e+'">'};return e}();var vf=function(){function e(){this.rootNode={children:[]};this.stack=[this.rootNode]}Object.defineProperty(e.prototype,"top",{get:function(){return this.stack[this.stack.length-1]},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"root",{get:function(){return this.rootNode},enumerable:false,configurable:true});e.prototype.add=function(e){this.top.children.push(e)};e.prototype.openNode=function(e){var r={kind:e,children:[]};this.add(r);this.stack.push(r)};e.prototype.closeNode=function(){if(this.stack.length>1){return this.stack.pop()}return undefined};e.prototype.closeAllNodes=function(){while(this.closeNode());};e.prototype.toJSON=function(){return JSON.stringify(this.rootNode,null,4)};e.prototype.walk=function(e){return this.constructor._walk(e,this.rootNode)};e._walk=function(e,r){var t=this;if(typeof r==="string"){e.addText(r)}else if(r.children){e.openNode(r);r.children.forEach((function(r){return t._walk(e,r)}));e.closeNode(r)}return e};e._collapse=function(r){if(typeof r==="string")return;if(!r.children)return;if(r.children.every((function(e){return typeof e==="string"}))){r.children=[r.children.join("")]}else{r.children.forEach((function(r){e._collapse(r)}))}};return e}();var xf=function(e){__extends(r,e);function r(r){var t=e.call(this)||this;t.options=r;return t}r.prototype.addKeyword=function(e,r){if(e===""){return}this.openNode(r);this.addText(e);this.closeNode()};r.prototype.addText=function(e){if(e===""){return}this.add(e)};r.prototype.addSublanguage=function(e,r){var t=e.root;t.kind=r;t.sublanguage=true;this.add(t)};r.prototype.toHTML=function(){var e=new bf(this,this.options);return e.value()};r.prototype.finalize=function(){return true};return r}(vf);function wf(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function yf(e){if(!e)return null;if(typeof e==="string")return e;return e.source}function Ef(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var t=e.map((function(e){return yf(e)})).join("");return t}function Df(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var t="("+e.map((function(e){return yf(e)})).join("|")+")";return t}function _f(e){return new RegExp(e.toString()+"|").exec("").length-1}function qf(e,r){var t=e&&e.exec(r);return t&&t.index===0}var Cf=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Af(e,r){if(r===void 0){r="|"}var t=0;return e.map((function(e){t+=1;var r=t;var n=yf(e);var a="";while(n.length>0){var s=Cf.exec(n);if(!s){a+=n;break}a+=n.substring(0,s.index);n=n.substring(s.index+s[0].length);if(s[0][0]==="\\"&&s[1]){a+="\\"+String(Number(s[1])+r)}else{a+=s[0];if(s[0]==="("){t++}}}return a})).map((function(e){return"("+e+")"})).join(r)}var kf=/\b\B/;var Rf="[a-zA-Z]\\w*";var Tf="[a-zA-Z_]\\w*";var Pf="\\b\\d+(\\.\\d+)?";var If="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)";var Nf="\\b(0b[01]+)";var Ff="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";var Sf=function(e){if(e===void 0){e={}}var r=/^#![ ]*\//;if(e.binary){e.begin=Ef(r,/.*\b/,e.binary,/\b.*/)}return gf({className:"meta",begin:r,end:/$/,relevance:0,"on:begin":function(e,r){if(e.index!==0)r.ignoreMatch()}},e)};var Lf={begin:"\\\\[\\s\\S]",relevance:0};var Bf={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[Lf]};var Of={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[Lf]};var jf={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/};var Vf=function(e,r,t){if(t===void 0){t={}}var n=gf({className:"comment",begin:e,end:r,contains:[]},t);n.contains.push(jf);n.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0});return n};var Mf=Vf("//","$");var Gf=Vf("/\\*","\\*/");var zf=Vf("#","$");var Hf={className:"number",begin:Pf,relevance:0};var Uf={className:"number",begin:If,relevance:0};var Wf={className:"number",begin:Nf,relevance:0};var $f={className:"number",begin:Pf+"("+"%|em|ex|ch|rem"+"|vw|vh|vmin|vmax"+"|cm|mm|in|pt|pc|px"+"|deg|grad|rad|turn"+"|s|ms"+"|Hz|kHz"+"|dpi|dpcm|dppx"+")?",relevance:0};var Jf={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Lf,{begin:/\[/,end:/\]/,relevance:0,contains:[Lf]}]}]};var Xf={className:"title",begin:Rf,relevance:0};var Yf={className:"title",begin:Tf,relevance:0};var Zf={begin:"\\.\\s*"+Tf,relevance:0};var Kf=function(e){return Object.assign(e,{"on:begin":function(e,r){r.data._beginMatch=e[1]},"on:end":function(e,r){if(r.data._beginMatch!==e[1])r.ignoreMatch()}})};var Qf=Object.freeze({__proto__:null,MATCH_NOTHING_RE:kf,IDENT_RE:Rf,UNDERSCORE_IDENT_RE:Tf,NUMBER_RE:Pf,C_NUMBER_RE:If,BINARY_NUMBER_RE:Nf,RE_STARTERS_RE:Ff,SHEBANG:Sf,BACKSLASH_ESCAPE:Lf,APOS_STRING_MODE:Bf,QUOTE_STRING_MODE:Of,PHRASAL_WORDS_MODE:jf,COMMENT:Vf,C_LINE_COMMENT_MODE:Mf,C_BLOCK_COMMENT_MODE:Gf,HASH_COMMENT_MODE:zf,NUMBER_MODE:Hf,C_NUMBER_MODE:Uf,BINARY_NUMBER_MODE:Wf,CSS_NUMBER_MODE:$f,REGEXP_MODE:Jf,TITLE_MODE:Xf,UNDERSCORE_TITLE_MODE:Yf,METHOD_GUARD:Zf,END_SAME_AS_BEGIN:Kf});function eh(e,r){var t=e.input[e.index-1];if(t==="."){r.ignoreMatch()}}function rh(e,r){if(!r)return;if(!e.beginKeywords)return;e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)";e.__beforeBegin=eh;e.keywords=e.keywords||e.beginKeywords;delete e.beginKeywords;if(e.relevance===undefined)e.relevance=0}function th(e,r){if(!Array.isArray(e.illegal))return;e.illegal=Df.apply(void 0,e.illegal)}function nh(e,r){if(!e.match)return;if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match;delete e.match}function ah(e,r){if(e.relevance===undefined)e.relevance=1}var sh=["of","and","for","in","not","or","if","then","parent","list","value"];var ih="keyword";function oh(e,r,t){if(t===void 0){t=ih}var n={};if(typeof e==="string"){a(t,e.split(" "))}else if(Array.isArray(e)){a(t,e)}else{Object.keys(e).forEach((function(t){Object.assign(n,oh(e[t],r,t))}))}return n;function a(e,t){if(r){t=t.map((function(e){return e.toLowerCase()}))}t.forEach((function(r){var t=r.split("|");n[t[0]]=[e,lh(t[0],t[1])]}))}}function lh(e,r){if(r){return Number(r)}return uh(e)?0:1}function uh(e){return sh.includes(e.toLowerCase())}function dh(e,r){var t=r.plugins;function n(r,t){return new RegExp(yf(r),"m"+(e.case_insensitive?"i":"")+(t?"g":""))}var a=function(){function e(){this.matchIndexes={};this.regexes=[];this.matchAt=1;this.position=0}e.prototype.addRule=function(e,r){r.position=this.position++;this.matchIndexes[this.matchAt]=r;this.regexes.push([r,e]);this.matchAt+=_f(e)+1};e.prototype.compile=function(){if(this.regexes.length===0){this.exec=function(){return null}}var e=this.regexes.map((function(e){return e[1]}));this.matcherRe=n(Af(e),true);this.lastIndex=0};e.prototype.exec=function(e){this.matcherRe.lastIndex=this.lastIndex;var r=this.matcherRe.exec(e);if(!r){return null}var t=r.findIndex((function(e,r){return r>0&&e!==undefined}));var n=this.matchIndexes[t];r.splice(0,t);return Object.assign(r,n)};return e}();var s=function(){function e(){this.rules=[];this.multiRegexes=[];this.count=0;this.lastIndex=0;this.regexIndex=0}e.prototype.getMatcher=function(e){if(this.multiRegexes[e])return this.multiRegexes[e];var r=new a;this.rules.slice(e).forEach((function(e){var t=e[0],n=e[1];return r.addRule(t,n)}));r.compile();this.multiRegexes[e]=r;return r};e.prototype.resumingScanAtSamePosition=function(){return this.regexIndex!==0};e.prototype.considerAll=function(){this.regexIndex=0};e.prototype.addRule=function(e,r){this.rules.push([e,r]);if(r.type==="begin")this.count++};e.prototype.exec=function(e){var r=this.getMatcher(this.regexIndex);r.lastIndex=this.lastIndex;var t=r.exec(e);if(this.resumingScanAtSamePosition()){if(t&&t.index===this.lastIndex);else{var n=this.getMatcher(0);n.lastIndex=this.lastIndex+1;t=n.exec(e)}}if(t){this.regexIndex+=t.position+1;if(this.regexIndex===this.count){this.considerAll()}}return t};return e}();function i(e){var r=new s;e.contains.forEach((function(e){return r.addRule(e.begin,{rule:e,type:"begin"})}));if(e.terminatorEnd){r.addRule(e.terminatorEnd,{type:"end"})}if(e.illegal){r.addRule(e.illegal,{type:"illegal"})}return r}function o(r,t){var a=r;if(r.isCompiled)return a;[nh].forEach((function(e){return e(r,t)}));e.compilerExtensions.forEach((function(e){return e(r,t)}));r.__beforeBegin=null;[rh,th,ah].forEach((function(e){return e(r,t)}));r.isCompiled=true;var s=null;if(typeof r.keywords==="object"){s=r.keywords.$pattern;delete r.keywords.$pattern}if(r.keywords){r.keywords=oh(r.keywords,e.case_insensitive)}if(r.lexemes&&s){throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ")}s=s||r.lexemes||/\w+/;a.keywordPatternRe=n(s,true);if(t){if(!r.begin)r.begin=/\B|\b/;a.beginRe=n(r.begin);if(r.endSameAsBegin)r.end=r.begin;if(!r.end&&!r.endsWithParent)r.end=/\B|\b/;if(r.end)a.endRe=n(r.end);a.terminatorEnd=yf(r.end)||"";if(r.endsWithParent&&t.terminatorEnd){a.terminatorEnd+=(r.end?"|":"")+t.terminatorEnd}}if(r.illegal)a.illegalRe=n(r.illegal);if(!r.contains)r.contains=[];r.contains=[].concat.apply([],r.contains.map((function(e){return mh(e==="self"?r:e)})));r.contains.forEach((function(e){o(e,a)}));if(r.starts){o(r.starts,t)}a.matcher=i(a);return a}if(!e.compilerExtensions)e.compilerExtensions=[];if(e.contains&&e.contains.includes("self")){throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.")}e.classNameAliases=gf(e.classNameAliases||{});return o(e)}function ch(e){if(!e)return false;return e.endsWithParent||ch(e.starts)}function mh(e){if(e.variants&&!e.cachedVariants){e.cachedVariants=e.variants.map((function(r){return gf(e,{variants:null},r)}))}if(e.cachedVariants){return e.cachedVariants}if(ch(e)){return gf(e,{starts:e.starts?gf(e.starts):null})}if(Object.isFrozen(e)){return gf(e)}return e}var ph="10.7.3";function gh(e){return Boolean(e||e==="")}function fh(e){var r={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:false}},computed:{className:function(){if(this.unknownLanguage)return"";return"hljs "+this.detectedLanguage},highlighted:function(){if(!this.autoDetect&&!e.getLanguage(this.language)){console.warn('The language "'+this.language+'" you specified could not be found.');this.unknownLanguage=true;return pf(this.code)}var r={};if(this.autoDetect){r=e.highlightAuto(this.code);this.detectedLanguage=r.language}else{r=e.highlight(this.language,this.code,this.ignoreIllegals);this.detectedLanguage=this.language}return r.value},autoDetect:function(){return!this.language||gh(this.autodetect)},ignoreIllegals:function(){return true}},render:function(e){return e("pre",{},[e("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};var t={install:function(e){e.component("highlightjs",r)}};return{Component:r,VuePlugin:t}}var hh={"after:highlightElement":function(e){var r=e.el,t=e.result,n=e.text;var a=vh(r);if(!a.length)return;var s=document.createElement("div");s.innerHTML=t.value;t.value=xh(a,vh(s),n)}};function bh(e){return e.nodeName.toLowerCase()}function vh(e){var r=[];(function e(t,n){for(var a=t.firstChild;a;a=a.nextSibling){if(a.nodeType===3){n+=a.nodeValue.length}else if(a.nodeType===1){r.push({event:"start",offset:n,node:a});n=e(a,n);if(!bh(a).match(/br|hr|img|input/)){r.push({event:"stop",offset:n,node:a})}}}return n})(e,0);return r}function xh(e,r,t){var n=0;var a="";var s=[];function i(){if(!e.length||!r.length){return e.length?e:r}if(e[0].offset!==r[0].offset){return e[0].offset<r[0].offset?e:r}return r[0].event==="start"?e:r}function o(e){function r(e){return" "+e.nodeName+'="'+pf(e.value)+'"'}a+="<"+bh(e)+[].map.call(e.attributes,r).join("")+">"}function l(e){a+="</"+bh(e)+">"}function u(e){(e.event==="start"?o:l)(e.node)}while(e.length||r.length){var d=i();a+=pf(t.substring(n,d[0].offset));n=d[0].offset;if(d===e){s.reverse().forEach(l);do{u(d.splice(0,1)[0]);d=i()}while(d===e&&d.length&&d[0].offset===n);s.reverse().forEach(o)}else{if(d[0].event==="start"){s.push(d[0].node)}else{s.pop()}u(d.splice(0,1)[0])}}return a+pf(t.substr(n))}var wh={};var yh=function(e){console.error(e)};var Eh=function(e){var r=[];for(var t=1;t<arguments.length;t++){r[t-1]=arguments[t]}console.log.apply(console,__spreadArray(["WARN: "+e],r))};var Dh=function(e,r){if(wh[e+"/"+r])return;console.log("Deprecated as of "+e+". "+r);wh[e+"/"+r]=true};var _h=pf;var qh=gf;var Ch=Symbol("nomatch");var Ah=function(e){var r=Object.create(null);var t=Object.create(null);var n=[];var a=true;var s=/(^(<[^>]+>|\t|)+|\n)/gm;var i="Could not find the language '{}', did you forget to load/include a language module?";var o={disableAutodetect:true,name:"Plain text",contains:[]};var l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:false,languages:null,__emitter:xf};function u(e){return l.noHighlightRe.test(e)}function d(e){var r=e.className+" ";r+=e.parentNode?e.parentNode.className:"";var t=l.languageDetectRe.exec(r);if(t){var n=P(t[1]);if(!n){Eh(i.replace("{}",t[1]));Eh("Falling back to no-highlight mode for this block.",e)}return n?t[1]:"no-highlight"}return r.split(/\s+/).find((function(e){return u(e)||P(e)}))}function c(e,r,t,n){var a="";var s="";if(typeof r==="object"){a=e;t=r.ignoreIllegals;s=r.language;n=undefined}else{Dh("10.7.0","highlight(lang, code, ...args) has been deprecated.");Dh("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277");s=e;a=r}var i={code:a,language:s};L("before:highlight",i);var o=i.result?i.result:m(i.language,i.code,t,n);o.code=i.code;L("after:highlight",o);return o}function m(e,t,s,o){function u(e,r){var t=D.case_insensitive?r[0].toLowerCase():r[0];return Object.prototype.hasOwnProperty.call(e.keywords,t)&&e.keywords[t]}function d(){if(!C.keywords){k.addText(R);return}var e=0;C.keywordPatternRe.lastIndex=0;var r=C.keywordPatternRe.exec(R);var t="";while(r){t+=R.substring(e,r.index);var n=u(C,r);if(n){var a=n[0],s=n[1];k.addText(t);t="";T+=s;if(a.startsWith("_")){t+=r[0]}else{var i=D.classNameAliases[a]||a;k.addKeyword(r[0],i)}}else{t+=r[0]}e=C.keywordPatternRe.lastIndex;r=C.keywordPatternRe.exec(R)}t+=R.substr(e);k.addText(t)}function c(){if(R==="")return;var e=null;if(typeof C.subLanguage==="string"){if(!r[C.subLanguage]){k.addText(R);return}e=m(C.subLanguage,R,true,A[C.subLanguage]);A[C.subLanguage]=e.top}else{e=g(R,C.subLanguage.length?C.subLanguage:null)}if(C.relevance>0){T+=e.relevance}k.addSublanguage(e.emitter,e.language)}function p(){if(C.subLanguage!=null){c()}else{d()}R=""}function f(e){if(e.className){k.openNode(D.classNameAliases[e.className]||e.className)}C=Object.create(e,{parent:{value:C}});return C}function h(e,r,t){var n=qf(e.endRe,t);if(n){if(e["on:end"]){var a=new mf(e);e["on:end"](r,a);if(a.isMatchIgnored)n=false}if(n){while(e.endsParent&&e.parent){e=e.parent}return e}}if(e.endsWithParent){return h(e.parent,r,t)}}function b(e){if(C.matcher.regexIndex===0){R+=e[0];return 1}else{F=true;return 0}}function v(e){var r=e[0];var t=e.rule;var n=new mf(t);var a=[t.__beforeBegin,t["on:begin"]];for(var s=0,i=a;s<i.length;s++){var o=i[s];if(!o)continue;o(e,n);if(n.isMatchIgnored)return b(r)}if(t&&t.endSameAsBegin){t.endRe=wf(r)}if(t.skip){R+=r}else{if(t.excludeBegin){R+=r}p();if(!t.returnBegin&&!t.excludeBegin){R=r}}f(t);return t.returnBegin?0:r.length}function x(e){var r=e[0];var n=t.substr(e.index);var a=h(C,e,n);if(!a){return Ch}var s=C;if(s.skip){R+=r}else{if(!(s.returnEnd||s.excludeEnd)){R+=r}p();if(s.excludeEnd){R=r}}do{if(C.className){k.closeNode()}if(!C.skip&&!C.subLanguage){T+=C.relevance}C=C.parent}while(C!==a.parent);if(a.starts){if(a.endSameAsBegin){a.starts.endRe=a.endRe}f(a.starts)}return s.returnEnd?0:r.length}function w(){var e=[];for(var r=C;r!==D;r=r.parent){if(r.className){e.unshift(r.className)}}e.forEach((function(e){return k.openNode(e)}))}var y={};function E(r,n){var i=n&&n[0];R+=r;if(i==null){p();return 0}if(y.type==="begin"&&n.type==="end"&&y.index===n.index&&i===""){R+=t.slice(n.index,n.index+1);if(!a){var o=new Error("0 width match regex");o.languageName=e;o.badRule=y.rule;throw o}return 1}y=n;if(n.type==="begin"){return v(n)}else if(n.type==="illegal"&&!s){var o=new Error('Illegal lexeme "'+i+'" for mode "'+(C.className||"<unnamed>")+'"');o.mode=C;throw o}else if(n.type==="end"){var l=x(n);if(l!==Ch){return l}}if(n.type==="illegal"&&i===""){return 1}if(N>1e5&&N>n.index*3){var o=new Error("potential infinite loop, way more iterations than matches");throw o}R+=i;return i.length}var D=P(e);if(!D){yh(i.replace("{}",e));throw new Error('Unknown language: "'+e+'"')}var _=dh(D,{plugins:n});var q="";var C=o||_;var A={};var k=new l.__emitter(l);w();var R="";var T=0;var I=0;var N=0;var F=false;try{C.matcher.considerAll();for(;;){N++;if(F){F=false}else{C.matcher.considerAll()}C.matcher.lastIndex=I;var S=C.matcher.exec(t);if(!S)break;var L=t.substring(I,S.index);var B=E(L,S);I=S.index+B}E(t.substr(I));k.closeAllNodes();k.finalize();q=k.toHTML();return{relevance:Math.floor(T),value:q,language:e,illegal:false,emitter:k,top:C}}catch(r){if(r.message&&r.message.includes("Illegal")){return{illegal:true,illegalBy:{msg:r.message,context:t.slice(I-100,I+100),mode:r.mode},sofar:q,relevance:0,value:_h(t),emitter:k}}else if(a){return{illegal:false,relevance:0,value:_h(t),emitter:k,language:e,top:C,errorRaised:r}}else{throw r}}}function p(e){var r={relevance:0,emitter:new l.__emitter(l),value:_h(e),illegal:false,top:o};r.emitter.addText(e);return r}function g(e,t){t=t||l.languages||Object.keys(r);var n=p(e);var a=t.filter(P).filter(N).map((function(r){return m(r,e,false)}));a.unshift(n);var s=a.sort((function(e,r){if(e.relevance!==r.relevance)return r.relevance-e.relevance;if(e.language&&r.language){if(P(e.language).supersetOf===r.language){return 1}else if(P(r.language).supersetOf===e.language){return-1}}return 0}));var i=s[0],o=s[1];var u=i;u.second_best=o;return u}function f(e){if(!(l.tabReplace||l.useBR)){return e}return e.replace(s,(function(e){if(e==="\n"){return l.useBR?"<br>":e}else if(l.tabReplace){return e.replace(/\t/g,l.tabReplace)}return e}))}function h(e,r,n){var a=r?t[r]:n;e.classList.add("hljs");if(a)e.classList.add(a)}var b={"before:highlightElement":function(e){var r=e.el;if(l.useBR){r.innerHTML=r.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n")}},"after:highlightElement":function(e){var r=e.result;if(l.useBR){r.value=r.value.replace(/\n/g,"<br>")}}};var v=/^(<[^>]+>|\t)+/gm;var x={"after:highlightElement":function(e){var r=e.result;if(l.tabReplace){r.value=r.value.replace(v,(function(e){return e.replace(/\t/g,l.tabReplace)}))}}};function w(e){var r=null;var t=d(e);if(u(t))return;L("before:highlightElement",{el:e,language:t});r=e;var n=r.textContent;var a=t?c(n,{language:t,ignoreIllegals:true}):g(n);L("after:highlightElement",{el:e,result:a,text:n});e.innerHTML=a.value;h(e,t,a.language);e.result={language:a.language,re:a.relevance,relavance:a.relevance};if(a.second_best){e.second_best={language:a.second_best.language,re:a.second_best.relevance,relavance:a.second_best.relevance}}}function y(e){if(e.useBR){Dh("10.3.0","'useBR' will be removed entirely in v11.0");Dh("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")}l=qh(l,e)}var E=function(){if(E.called)return;E.called=true;Dh("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead.");var e=document.querySelectorAll("pre code");e.forEach(w)};function D(){Dh("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead.");_=true}var _=false;function q(){if(document.readyState==="loading"){_=true;return}var e=document.querySelectorAll("pre code");e.forEach(w)}function C(){if(_)q()}if(typeof window!=="undefined"&&window.addEventListener){window.addEventListener("DOMContentLoaded",C,false)}function A(t,n){var s=null;try{s=n(e)}catch(e){yh("Language definition for '{}' could not be registered.".replace("{}",t));if(!a){throw e}else{yh(e)}s=o}if(!s.name)s.name=t;r[t]=s;s.rawDefinition=n.bind(null,e);if(s.aliases){I(s.aliases,{languageName:t})}}function k(e){delete r[e];for(var n=0,a=Object.keys(t);n<a.length;n++){var s=a[n];if(t[s]===e){delete t[s]}}}function R(){return Object.keys(r)}function T(e){Dh("10.4.0","requireLanguage will be removed entirely in v11.");Dh("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");var r=P(e);if(r){return r}var t=new Error("The '{}' language is required, but not loaded.".replace("{}",e));throw t}function P(e){e=(e||"").toLowerCase();return r[e]||r[t[e]]}function I(e,r){var n=r.languageName;if(typeof e==="string"){e=[e]}e.forEach((function(e){t[e.toLowerCase()]=n}))}function N(e){var r=P(e);return r&&!r.disableAutodetect}function F(e){if(e["before:highlightBlock"]&&!e["before:highlightElement"]){e["before:highlightElement"]=function(r){e["before:highlightBlock"](Object.assign({block:r.el},r))}}if(e["after:highlightBlock"]&&!e["after:highlightElement"]){e["after:highlightElement"]=function(r){e["after:highlightBlock"](Object.assign({block:r.el},r))}}}function S(e){F(e);n.push(e)}function L(e,r){var t=e;n.forEach((function(e){if(e[t]){e[t](r)}}))}function B(e){Dh("10.2.0","fixMarkup will be removed entirely in v11.0");Dh("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534");return f(e)}function O(e){Dh("10.7.0","highlightBlock will be removed entirely in v12.0");Dh("10.7.0","Please use highlightElement now.");return w(e)}Object.assign(e,{highlight:c,highlightAuto:g,highlightAll:q,fixMarkup:B,highlightElement:w,highlightBlock:O,configure:y,initHighlighting:E,initHighlightingOnLoad:D,registerLanguage:A,unregisterLanguage:k,listLanguages:R,getLanguage:P,registerAliases:I,requireLanguage:T,autoDetection:N,inherit:qh,addPlugin:S,vuePlugin:fh(e).VuePlugin});e.debugMode=function(){a=false};e.safeMode=function(){a=true};e.versionString=ph;for(var j in Qf){if(typeof Qf[j]==="object"){df(Qf[j])}}Object.assign(e,Qf);e.addPlugin(b);e.addPlugin(hh);e.addPlugin(x);return e};var kh=Ah({});var Rh=kh;function Th(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}var Ph=Th;Rh.registerLanguage("gherkin",Ph);var Ih=function(e,t){var n=e.story;var a;var s=(a=n.parent.parameters)===null||a===void 0?void 0:a.scenario;var i;try{i=Rh.highlight("gherkin",s)}catch(e){}return r("div",null,r("details",null,r("summary",null,"Specs"),i&&r("pre",{innerHTML:i.value})),t)};var Nh=[Rn,Sn,Un,ta,va,ja,Ha,Ds,As,Ns,fa,Aa,Na,js,Di,Ai,Ti,Oi,Yi,oo,xo,Fo,Mo,Wo,rl,hl,Tl,Hu,ed,xu,ad,ud,Bd,Ic,Oc,zc,Kc,dm,hm,Dm,np,Xs,di,ai,op,cp,vp,qp,Ip,pg,bg,qg,Sg,ef];var Fh=e("sqm_stencilbook",function(){function e(e){t(this,e);this.ignored=true;u(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=bn(Nh,{h:r,title:"Mint Components",addons:[Ih,k,na]}),t=e.class,a=e.children;var s=i("Default"),o=s[0],l=s[1];var u=i(true),d=u[0],c=u[1];var m=Object.keys(lf);var p=lf[o];return r(n,{class:t,onClick:{}},r("div",{style:{position:"absolute",top:"0",right:"0",zIndex:"999999"}},"Branding:",r("select",{onChange:function(e){return l(e.target.value)}},m.map((function(e){return r("option",{selected:e===o},e)}))),r("div",null,r("div",null)),r(Sh,null),r("br",null),r("input",{type:"checkbox",id:"checkerboard",onClick:function(){return c(!d)},onChange:function(){return document.documentElement.style.setProperty("--checker-color-1",d?"#ebebeb":"#ffffff00")}}),r("label",{htmlFor:"checkerboard"},"Checkerboard?")),r("style",null,p),r("style",null,fd),a)};return e}());function Sh(){return r("span",null,r(Lh,null),r(Lh,{type:"success"}),r(Lh,{type:"warning"}),r(Lh,{type:"danger"}),r(Lh,{type:"neutral"}))}function Lh(e){var t=e.type,n=t===void 0?"primary":t;return r("span",{style:{background:"var(--sl-color-"+n+"-500)",width:"1em",marginRight:"2px",padding:"0 4px"},title:n},n.charAt(0))}}}}));