@flarehr/apollo-super-selection 3.51.59881 → 3.54.61365

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 (162) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.css +1 -0
  2. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  3. package/dist/lib/apollo-super-selection/apollo-super-selection.js +1 -1
  4. package/dist/lib/apollo-super-selection/assets/icon-check.svg +3 -0
  5. package/dist/lib/apollo-super-selection/assets/icon-exclamation.svg +3 -0
  6. package/dist/lib/apollo-super-selection/assets/icon-information-circle.svg +3 -0
  7. package/dist/lib/apollo-super-selection/p-03373b03.system.js +1 -0
  8. package/dist/lib/apollo-super-selection/p-14885f78.system.js +15 -0
  9. package/dist/lib/apollo-super-selection/{p-381262c1.system.js → p-15f0e5eb.system.js} +1 -1
  10. package/dist/lib/apollo-super-selection/p-29c11183.js +15 -0
  11. package/dist/lib/apollo-super-selection/p-37369ee1.system.entry.js +69 -0
  12. package/dist/lib/apollo-super-selection/p-52c08b79.entry.js +14 -0
  13. package/dist/lib/apollo-super-selection/p-86e3e03f.js +1 -0
  14. package/dist/lib/cjs/apollo-super-selection.cjs.js +3 -4
  15. package/dist/lib/cjs/{app-globals-45007120.js → app-globals-b1125d8c.js} +1 -1
  16. package/dist/lib/cjs/{datorama-akita-7f4b082a.js → datorama-akita-6c9cb8fb.js} +1005 -68
  17. package/dist/lib/cjs/loader.cjs.js +3 -4
  18. package/dist/lib/cjs/{fl-button_31.cjs.entry.js → sss-button_28.cjs.entry.js} +2096 -2162
  19. package/dist/lib/collection/apollo-super-selection.css +1 -0
  20. package/dist/lib/collection/collection-manifest.json +16 -28
  21. package/dist/lib/collection/components/app-host/loading-page.js +3 -3
  22. package/dist/lib/collection/components/app-host/super-selection-app-host.css +0 -4
  23. package/dist/lib/collection/components/app-host/super-selection-app-host.js +7 -19
  24. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +69 -1
  25. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +9 -3
  26. package/dist/lib/collection/components/super-selection-app/app-state-pages/success.js +16 -21
  27. package/dist/lib/collection/components/super-selection-app/assets/icon-check.svg +3 -0
  28. package/dist/lib/collection/components/super-selection-app/assets/icon-exclamation.svg +3 -0
  29. package/dist/lib/collection/components/super-selection-app/assets/icon-information-circle.svg +3 -0
  30. package/dist/lib/collection/components/super-selection-app/consent/consent.js +57 -0
  31. package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +131 -0
  32. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +6 -18
  33. package/dist/lib/collection/components/super-selection-app/funds/constants.js +50 -0
  34. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +32 -16
  35. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.store.js +10 -14
  36. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +36 -45
  37. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.js +40 -19
  38. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +45 -40
  39. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +104 -58
  40. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +53 -49
  41. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.js +6 -16
  42. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-page.js +1 -1
  43. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +1 -4
  44. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-iframe-builder.js +10 -4
  45. package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +13 -4
  46. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js +2 -3
  47. package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +28 -0
  48. package/dist/lib/collection/components/super-selection-app/misc/button.js +146 -0
  49. package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.css +7 -0
  50. package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.js +359 -0
  51. package/dist/lib/collection/components/super-selection-app/misc/loading-indicator.js +52 -0
  52. package/dist/lib/collection/components/super-selection-app/services/australian-fund-lookup.service.js +8 -4
  53. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +20 -0
  54. package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +95 -0
  55. package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +8 -0
  56. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +6 -4
  57. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +69 -34
  58. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.store.js +10 -0
  59. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.js +94 -0
  60. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +89 -0
  61. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +67 -90
  62. package/dist/lib/collection/components/super-selection-app/super-selection-app.css +16 -4
  63. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +54 -11
  64. package/dist/lib/esm/apollo-super-selection.js +3 -4
  65. package/dist/lib/esm/{app-globals-7ac1ffba.js → app-globals-c1f89805.js} +1 -1
  66. package/dist/lib/esm/{datorama-akita-79ce4385.js → datorama-akita-127aea91.js} +960 -28
  67. package/dist/lib/esm/loader.js +3 -4
  68. package/dist/lib/esm/{fl-button_31.entry.js → sss-button_28.entry.js} +2083 -2146
  69. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  70. package/dist/lib/esm-es5/{app-globals-7ac1ffba.js → app-globals-c1f89805.js} +1 -1
  71. package/dist/lib/esm-es5/datorama-akita-127aea91.js +15 -0
  72. package/dist/lib/esm-es5/loader.js +1 -1
  73. package/dist/lib/esm-es5/sss-button_28.entry.js +69 -0
  74. package/dist/lib/types/components/app-host/super-selection-app-host.d.ts +0 -3
  75. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +30 -0
  76. package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +2 -1
  77. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +19 -4
  78. package/dist/lib/types/components/super-selection-app/consent/consent.d.ts +9 -0
  79. package/dist/lib/types/components/super-selection-app/existing-choice/existing-choice.d.ts +12 -0
  80. package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +0 -1
  81. package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +3 -0
  82. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.d.ts +1 -1
  83. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +4 -6
  84. package/dist/lib/types/components/super-selection-app/funds/custom-fund/default-fund/default-fund.d.ts +0 -2
  85. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.d.ts +2 -1
  86. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.d.ts +1 -0
  87. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +7 -0
  88. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +1 -0
  89. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.d.ts +0 -1
  90. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +0 -3
  91. package/dist/lib/types/components/super-selection-app/header-section/header-section.d.ts +4 -0
  92. package/dist/lib/types/components/super-selection-app/misc/button.d.ts +11 -0
  93. package/dist/lib/types/components/super-selection-app/misc/dropdown-async.d.ts +44 -0
  94. package/dist/lib/types/components/super-selection-app/misc/loading-indicator.d.ts +5 -0
  95. package/dist/lib/types/components/super-selection-app/services/australian-fund-lookup.service.d.ts +1 -0
  96. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +4 -0
  97. package/dist/lib/types/components/super-selection-app/services/existing-super-choice-info.service.d.ts +51 -0
  98. package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +6 -0
  99. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +3 -2
  100. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +6 -3
  101. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.store.d.ts +8 -0
  102. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.d.ts +9 -0
  103. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.d.ts +7 -0
  104. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +0 -3
  105. package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +2 -1
  106. package/dist/lib/types/components.d.ts +148 -97
  107. package/package.json +12 -7
  108. package/dist/lib/apollo-super-selection/assets/logo-qsuper-square.png +0 -0
  109. package/dist/lib/apollo-super-selection/assets/logo-qsuper.png +0 -0
  110. package/dist/lib/apollo-super-selection/p-13573238.system.js +0 -15
  111. package/dist/lib/apollo-super-selection/p-342cee5a.js +0 -1
  112. package/dist/lib/apollo-super-selection/p-38f24f69.js +0 -1
  113. package/dist/lib/apollo-super-selection/p-5c1ee0f8.system.entry.js +0 -69
  114. package/dist/lib/apollo-super-selection/p-64ebe17d.system.entry.js +0 -1
  115. package/dist/lib/apollo-super-selection/p-7dbe5a2f.system.js +0 -1
  116. package/dist/lib/apollo-super-selection/p-9317c049.entry.js +0 -14
  117. package/dist/lib/apollo-super-selection/p-d82b00ed.system.js +0 -1
  118. package/dist/lib/apollo-super-selection/p-df9ce4b7.js +0 -15
  119. package/dist/lib/apollo-super-selection/p-f7a45412.entry.js +0 -1
  120. package/dist/lib/cjs/delay-81aff2f1.js +0 -955
  121. package/dist/lib/cjs/fl-style-guide.cjs.entry.js +0 -90
  122. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.css +0 -11
  123. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.css +0 -23
  124. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-standard-choice-page.js +0 -62
  125. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-fund.store.js +0 -10
  126. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-standard-choice-page.js +0 -67
  127. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.css +0 -0
  128. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.js +0 -19
  129. package/dist/lib/collection/components/super-selection-app/notifications-section/notifications-section.js +0 -25
  130. package/dist/lib/collection/components/super-selection-app/services/notifications.service.js +0 -37
  131. package/dist/lib/collection/components/super-selection-app/services/notifications.store.js +0 -3
  132. package/dist/lib/collection/components/super-selection-app/services/selected-super-choice-info.service.js +0 -50
  133. package/dist/lib/collection/components/super-selection-app/standard-choice/api/standard-choice.model.js +0 -1
  134. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-qsuper-square.png +0 -0
  135. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-qsuper.png +0 -0
  136. package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.css +0 -18
  137. package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.js +0 -53
  138. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item.js +0 -296
  139. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.css +0 -70
  140. package/dist/lib/esm/delay-c0555599.js +0 -935
  141. package/dist/lib/esm/fl-style-guide.entry.js +0 -86
  142. package/dist/lib/esm-es5/datorama-akita-79ce4385.js +0 -15
  143. package/dist/lib/esm-es5/delay-c0555599.js +0 -1
  144. package/dist/lib/esm-es5/fl-button_31.entry.js +0 -69
  145. package/dist/lib/esm-es5/fl-style-guide.entry.js +0 -1
  146. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/button/button.css +0 -45
  147. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown/dropdown.css +0 -9
  148. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown-async/dropdown-async.css +0 -9
  149. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/loading-indicator/loading-indicator.css +0 -141
  150. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/promise-button/promise-button.css +0 -5
  151. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/style-guide/style-guide.css +0 -0
  152. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund-standard-choice-page.d.ts +0 -8
  153. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-fund.store.d.ts +0 -7
  154. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-standard-choice-page.d.ts +0 -8
  155. package/dist/lib/types/components/super-selection-app/funds/slate-super/slatesuper-header.d.ts +0 -3
  156. package/dist/lib/types/components/super-selection-app/notifications-section/notifications-section.d.ts +0 -5
  157. package/dist/lib/types/components/super-selection-app/services/notifications.service.d.ts +0 -15
  158. package/dist/lib/types/components/super-selection-app/services/notifications.store.d.ts +0 -14
  159. package/dist/lib/types/components/super-selection-app/services/selected-super-choice-info.service.d.ts +0 -18
  160. package/dist/lib/types/components/super-selection-app/standard-choice/api/standard-choice.model.d.ts +0 -3
  161. package/dist/lib/types/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.d.ts +0 -5
  162. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item.d.ts +0 -22
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,r){function l(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function s(t){try{a(r.next(t))}catch(t){i(t)}}function o(t){try{a(r["throw"](t))}catch(t){i(t)}}function a(t){t.done?n(t.value):l(t.value).then(s,o)}a((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,l,i,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(e){return a([t,e])}}function a(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,l&&(i=s[0]&2?l["return"]:s[0]?l["throw"]||((i=l["return"])&&i.call(l),0):l.next)&&!(i=i.call(l,s[1])).done)return i;if(l=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;l=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];l=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-38ee2795.system.js","./p-7dbe5a2f.system.js"],(function(t){"use strict";var e,n,r,l,i,s,o,a,u;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){l=t.g;i=t.O;s=t.l;o=t.k;a=t.d;u=t.f}],execute:function(){function c(t){return!l(t)&&t-parseFloat(t)+1>=0}function d(t,e,n){if(t===void 0){t=0}var r=-1;if(c(e)){r=Number(e)<1&&1||Number(e)}else if(s(e)){n=e}if(!s(n)){n=o}return new i((function(e){var l=c(t)?t:+t-n.now();return n.schedule(f,l,{index:0,period:r,subscriber:e})}))}function f(t){var e=t.index,n=t.period,r=t.subscriber;r.next(e);if(r.closed){return}else if(n===-1){return r.complete()}t.index=e+1;this.schedule(t,n)}var m=function(t){var e=document.querySelector('script[data-fl-namespace="design-system"][data-fl-resources-url]');var n=e&&e.getAttribute("data-fl-resources-url")||"";try{return new URL(t,n).href}catch(e){return n+"/"+t}};var p="";var h=t("fl_style_guide",function(){function t(t){var n=this;e(this,t);this.data=["Apple","Application","Appetizer","Anna","Banana","Archery","Apogee"].map((function(t){return{label:t,value:t}}));this.searchFunction=function(t){var e=n.data.filter((function(e){return e.label.toLowerCase().includes(t.toLowerCase())}));return a(e).pipe(u(1e3)).toPromise()}}t.prototype.render=function(){var t=this;return n(r,null,n("link",{rel:"stylesheet",href:m("beacon.css"),media:"all"}),this.themeCssUrl&&n("link",{rel:"stylesheet",href:this.themeCssUrl,media:"all"}),n("div",{class:"container m-3 p-5 shadow"},n("h1",null,"Beacon"),n("h5",null,"Flare-Apollo Component Library 🚀"),n("div",{class:"row"},n("div",{class:"col"},n("ul",{class:"list-group"},n("li",{class:"list-group-item"},n("small",{class:"text-muted"},"Typography"),n("div",{class:"col"},n("h1",null,"h1 Heading"),n("h2",null,"h2 Sub-heading"),n("h3",null,"h3 Sub-heading"),n("h4",null,"h4 Sub-heading"),n("p",null,"Paragraph"),n("div",{class:"d-flex flex-column"},n("strong",null,"Strong"),n("small",null,"small"),n("a",{href:"https://www.flarehr.com",target:"_blank"},"Weblink")))),n("li",{class:"list-group-item"},n("small",{class:"text-muted"},"Buttons"),n("div",{class:"col-3 my-2"},this.renderButtonVariants())),n("li",{class:"list-group-item"},n("small",{class:"text-muted"},"Loading indicator"),n("div",{class:"col"},n("fl-loading-indicator",null),n("fl-loading-indicator",{theme:"dark"}))),n("li",{class:"list-group-item"},n("small",{class:"text-muted"},"Dropdown"),n("div",{class:"col-4"},n("fl-dropdown",{options:this.data}))),n("li",{class:"list-group-item"},n("small",{class:"text-muted"},"Async Dropdown"),n("div",{class:"col-4"},n("fl-dropdown-async",{"min-search-string-length":"2",searchFunction:this.searchFunction}))),n("li",{class:"list-group-item"},n("small",{class:"text-muted"},"Promise Button"),n("div",{class:"col-3 my-2"},n("fl-promise-button",{isBlockElement:true,promiseFn:function(){return t.takeTime()}},"Promise Button block")),n("div",{class:"col-3 my-2"},n("fl-promise-button",{promiseFn:function(){return t.takeTime()}},"Promise Button")),n("div",{class:"col-3 my-2"},n("fl-promise-button",{variant:"secondary",promiseFn:function(){return t.takeTime()}},"Secondary Promise Button"))))))))};t.prototype.renderButtonVariants=function(){return n("ul",{class:"list-group"},n("li",{class:"list-group-item"},n("i",null,"Primary"),n("fl-button",{isBlockElement:true},"Button")),n("li",{class:"list-group-item"},n("i",null,"Primary, disabled"),n("fl-button",{isBlockElement:true,disabled:true},"Button")),n("li",{class:"list-group-item"},n("i",null,"Secondary"),n("fl-button",{isBlockElement:true,variant:"secondary"},"Button")),n("li",{class:"list-group-item"},n("i",null,"Secondary, disabled"),n("fl-button",{isBlockElement:true,disabled:true,variant:"secondary"},"Button")))};t.prototype.takeTime=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,d(Math.random()*2e3+2e3).toPromise()]}))}))};return t}());h.style=p}}}));
@@ -1 +0,0 @@
1
- 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){e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();System.register([],(function(e){"use strict";return{execute:function(){e({c:A,d:j,e:N,f:J,h:i,i:u,j:r,l:k});function r(e){return typeof e==="function"}var t=false;var n={Promise:undefined,set useDeprecatedSynchronousErrorHandling(e){if(e){var r=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+r.stack)}else if(t){console.log("RxJS: Back to a better error behavior. Thank you. <3")}t=e},get useDeprecatedSynchronousErrorHandling(){return t}};function i(e){setTimeout((function(){throw e}),0)}var s={closed:true,next:function(e){},error:function(e){if(n.useDeprecatedSynchronousErrorHandling){throw e}else{i(e)}},complete:function(){}};var o=e("g",function(){return Array.isArray||function(e){return e&&typeof e.length==="number"}}());function u(e){return e!==null&&typeof e==="object"}var c=function(){function e(e){Error.call(this);this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,r){return r+1+") "+e.toString()})).join("\n "):"";this.name="UnsubscriptionError";this.errors=e;return this}e.prototype=Object.create(Error.prototype);return e}();var a=c;var h=function(){function e(e){this.closed=false;this._parentOrParents=null;this._subscriptions=null;if(e){this._ctorUnsubscribe=true;this._unsubscribe=e}}e.prototype.unsubscribe=function(){var t;if(this.closed){return}var n=this,i=n._parentOrParents,s=n._ctorUnsubscribe,c=n._unsubscribe,h=n._subscriptions;this.closed=true;this._parentOrParents=null;this._subscriptions=null;if(i instanceof e){i.remove(this)}else if(i!==null){for(var l=0;l<i.length;++l){var p=i[l];p.remove(this)}}if(r(c)){if(s){this._unsubscribe=undefined}try{c.call(this)}catch(e){t=e instanceof a?f(e.errors):[e]}}if(o(h)){var l=-1;var d=h.length;while(++l<d){var b=h[l];if(u(b)){try{b.unsubscribe()}catch(e){t=t||[];if(e instanceof a){t=t.concat(f(e.errors))}else{t.push(e)}}}}}if(t){throw new a(t)}};e.prototype.add=function(r){var t=r;if(!r){return e.EMPTY}switch(typeof r){case"function":t=new e(r);case"object":if(t===this||t.closed||typeof t.unsubscribe!=="function"){return t}else if(this.closed){t.unsubscribe();return t}else if(!(t instanceof e)){var n=t;t=new e;t._subscriptions=[n]}break;default:{throw new Error("unrecognized teardown "+r+" added to Subscription.")}}var i=t._parentOrParents;if(i===null){t._parentOrParents=this}else if(i instanceof e){if(i===this){return t}t._parentOrParents=[i,this]}else if(i.indexOf(this)===-1){i.push(this)}else{return t}var s=this._subscriptions;if(s===null){this._subscriptions=[t]}else{s.push(t)}return t};e.prototype.remove=function(e){var r=this._subscriptions;if(r){var t=r.indexOf(e);if(t!==-1){r.splice(t,1)}}};return e}();e("S",h);h.EMPTY=function(e){e.closed=true;return e}(new h);function f(e){return e.reduce((function(e,r){return e.concat(r instanceof a?r.errors:r)}),[])}var l=e("r",function(){return typeof Symbol==="function"?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}());var p=function(e){__extends(r,e);function r(t,n,i){var o=e.call(this)||this;o.syncErrorValue=null;o.syncErrorThrown=false;o.syncErrorThrowable=false;o.isStopped=false;switch(arguments.length){case 0:o.destination=s;break;case 1:if(!t){o.destination=s;break}if(typeof t==="object"){if(t instanceof r){o.syncErrorThrowable=t.syncErrorThrowable;o.destination=t;t.add(o)}else{o.syncErrorThrowable=true;o.destination=new d(o,t)}break}default:o.syncErrorThrowable=true;o.destination=new d(o,t,n,i);break}return o}r.prototype[l]=function(){return this};r.create=function(e,t,n){var i=new r(e,t,n);i.syncErrorThrowable=false;return i};r.prototype.next=function(e){if(!this.isStopped){this._next(e)}};r.prototype.error=function(e){if(!this.isStopped){this.isStopped=true;this._error(e)}};r.prototype.complete=function(){if(!this.isStopped){this.isStopped=true;this._complete()}};r.prototype.unsubscribe=function(){if(this.closed){return}this.isStopped=true;e.prototype.unsubscribe.call(this)};r.prototype._next=function(e){this.destination.next(e)};r.prototype._error=function(e){this.destination.error(e);this.unsubscribe()};r.prototype._complete=function(){this.destination.complete();this.unsubscribe()};r.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;this._parentOrParents=null;this.unsubscribe();this.closed=false;this.isStopped=false;this._parentOrParents=e;return this};return r}(h);e("a",p);var d=function(e){__extends(t,e);function t(t,n,i,o){var u=e.call(this)||this;u._parentSubscriber=t;var c;var a=u;if(r(n)){c=n}else if(n){c=n.next;i=n.error;o=n.complete;if(n!==s){a=Object.create(n);if(r(a.unsubscribe)){u.add(a.unsubscribe.bind(a))}a.unsubscribe=u.unsubscribe.bind(u)}}u._context=a;u._next=c;u._error=i;u._complete=o;return u}t.prototype.next=function(e){if(!this.isStopped&&this._next){var r=this._parentSubscriber;if(!n.useDeprecatedSynchronousErrorHandling||!r.syncErrorThrowable){this.__tryOrUnsub(this._next,e)}else if(this.__tryOrSetError(r,this._next,e)){this.unsubscribe()}}};t.prototype.error=function(e){if(!this.isStopped){var r=this._parentSubscriber;var t=n.useDeprecatedSynchronousErrorHandling;if(this._error){if(!t||!r.syncErrorThrowable){this.__tryOrUnsub(this._error,e);this.unsubscribe()}else{this.__tryOrSetError(r,this._error,e);this.unsubscribe()}}else if(!r.syncErrorThrowable){this.unsubscribe();if(t){throw e}i(e)}else{if(t){r.syncErrorValue=e;r.syncErrorThrown=true}else{i(e)}this.unsubscribe()}}};t.prototype.complete=function(){var e=this;if(!this.isStopped){var r=this._parentSubscriber;if(this._complete){var t=function(){return e._complete.call(e._context)};if(!n.useDeprecatedSynchronousErrorHandling||!r.syncErrorThrowable){this.__tryOrUnsub(t);this.unsubscribe()}else{this.__tryOrSetError(r,t);this.unsubscribe()}}else{this.unsubscribe()}}};t.prototype.__tryOrUnsub=function(e,r){try{e.call(this._context,r)}catch(e){this.unsubscribe();if(n.useDeprecatedSynchronousErrorHandling){throw e}else{i(e)}}};t.prototype.__tryOrSetError=function(e,r,t){if(!n.useDeprecatedSynchronousErrorHandling){throw new Error("bad call")}try{r.call(this._context,t)}catch(r){if(n.useDeprecatedSynchronousErrorHandling){e.syncErrorValue=r;e.syncErrorThrown=true;return true}else{i(r);return true}}return false};t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null;this._parentSubscriber=null;e.unsubscribe()};return t}(p);function b(e){while(e){var r=e.closed,t=e.destination,n=e.isStopped;if(r||n){return false}else if(t&&t instanceof p){e=t}else{e=null}}return true}function y(e,r,t){if(e){if(e instanceof p){return e}if(e[l]){return e[l]()}}if(!e&&!r&&!t){return new p(s)}return new p(e,r,t)}var v=e("o",function(){return typeof Symbol==="function"&&Symbol.observable||"@@observable"}());function _(e){return e}function w(e){if(e.length===0){return _}if(e.length===1){return e[0]}return function r(t){return e.reduce((function(e,r){return r(e)}),t)}}var E=function(){function e(e){this._isScalar=false;if(e){this._subscribe=e}}e.prototype.lift=function(r){var t=new e;t.source=this;t.operator=r;return t};e.prototype.subscribe=function(e,r,t){var i=this.operator;var s=y(e,r,t);if(i){s.add(i.call(s,this.source))}else{s.add(this.source||n.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s))}if(n.useDeprecatedSynchronousErrorHandling){if(s.syncErrorThrowable){s.syncErrorThrowable=false;if(s.syncErrorThrown){throw s.syncErrorValue}}}return s};e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(r){if(n.useDeprecatedSynchronousErrorHandling){e.syncErrorThrown=true;e.syncErrorValue=r}if(b(e)){e.error(r)}else{console.warn(r)}}};e.prototype.forEach=function(e,r){var t=this;r=S(r);return new r((function(r,n){var i;i=t.subscribe((function(r){try{e(r)}catch(e){n(e);if(i){i.unsubscribe()}}}),n,r)}))};e.prototype._subscribe=function(e){var r=this.source;return r&&r.subscribe(e)};e.prototype[v]=function(){return this};e.prototype.pipe=function(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}if(e.length===0){return this}return w(e)(this)};e.prototype.toPromise=function(e){var r=this;e=S(e);return new e((function(e,t){var n;r.subscribe((function(e){return n=e}),(function(e){return t(e)}),(function(){return e(n)}))}))};return e}();e("O",E);E.create=function(e){return new E(e)};function S(e){if(!e){e=Promise}if(!e){throw new Error("no Promise impl found")}return e}var g=function(e){__extends(r,e);function r(r,t){return e.call(this)||this}r.prototype.schedule=function(e,r){if(r===void 0){r=0}return this};return r}(h);var x=function(e){__extends(r,e);function r(r,t){var n=e.call(this,r,t)||this;n.scheduler=r;n.work=t;n.pending=false;return n}r.prototype.schedule=function(e,r){if(r===void 0){r=0}if(this.closed){return this}this.state=e;var t=this.id;var n=this.scheduler;if(t!=null){this.id=this.recycleAsyncId(n,t,r)}this.pending=true;this.delay=r;this.id=this.id||this.requestAsyncId(n,this.id,r);return this};r.prototype.requestAsyncId=function(e,r,t){if(t===void 0){t=0}return setInterval(e.flush.bind(e,this),t)};r.prototype.recycleAsyncId=function(e,r,t){if(t===void 0){t=0}if(t!==null&&this.delay===t&&this.pending===false){return r}clearInterval(r);return undefined};r.prototype.execute=function(e,r){if(this.closed){return new Error("executing a cancelled action")}this.pending=false;var t=this._execute(e,r);if(t){return t}else if(this.pending===false&&this.id!=null){this.id=this.recycleAsyncId(this.scheduler,this.id,null)}};r.prototype._execute=function(e,r){var t=false;var n=undefined;try{this.work(e)}catch(e){t=true;n=!!e&&e||new Error(e)}if(t){this.unsubscribe();return n}};r.prototype._unsubscribe=function(){var e=this.id;var r=this.scheduler;var t=r.actions;var n=t.indexOf(this);this.work=null;this.state=null;this.pending=false;this.scheduler=null;if(n!==-1){t.splice(n,1)}if(e!=null){this.id=this.recycleAsyncId(r,e,null)}this.delay=null};return r}(g);e("A",x);var m=function(){function e(r,t){if(t===void 0){t=e.now}this.SchedulerAction=r;this.now=t}e.prototype.schedule=function(e,r,t){if(r===void 0){r=0}return new this.SchedulerAction(this,e).schedule(t,r)};return e}();m.now=function(){return Date.now()};var O=function(e){__extends(r,e);function r(t,n){if(n===void 0){n=m.now}var i=e.call(this,t,(function(){if(r.delegate&&r.delegate!==i){return r.delegate.now()}else{return n()}}))||this;i.actions=[];i.active=false;i.scheduled=undefined;return i}r.prototype.schedule=function(t,n,i){if(n===void 0){n=0}if(r.delegate&&r.delegate!==this){return r.delegate.schedule(t,n,i)}else{return e.prototype.schedule.call(this,t,n,i)}};r.prototype.flush=function(e){var r=this.actions;if(this.active){r.push(e);return}var t;this.active=true;do{if(t=e.execute(e.state,e.delay)){break}}while(e=r.shift());this.active=false;if(t){while(e=r.shift()){e.unsubscribe()}throw t}};return r}(m);e("b",O);var T=new E((function(e){return e.complete()}));function N(e){return e?P(e):T}function P(e){return new E((function(r){return e.schedule((function(){return r.complete()}))}))}function k(e){return e&&typeof e.schedule==="function"}var D=e("s",(function(e){return function(r){for(var t=0,n=e.length;t<n&&!r.closed;t++){r.next(e[t])}r.complete()}}));function A(e,r){return new E((function(t){var n=new h;var i=0;n.add(r.schedule((function(){if(i===e.length){t.complete();return}t.next(e[i++]);if(!t.closed){n.add(this.schedule())}})));return n}))}function H(e,r){if(!r){return new E(D(e))}else{return A(e,r)}}function j(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var t=e[e.length-1];if(k(t)){e.pop();return A(e,t)}else{return H(e)}}function C(e,r){if(!r){return new E((function(r){return r.error(e)}))}else{return new E((function(t){return r.schedule(I,0,{error:e,subscriber:t})}))}}function I(e){var r=e.error,t=e.subscriber;t.error(r)}var V;(function(e){e["NEXT"]="N";e["ERROR"]="E";e["COMPLETE"]="C"})(V||(V={}));var R=function(){function e(e,r,t){this.kind=e;this.value=r;this.error=t;this.hasValue=e==="N"}e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}};e.prototype.do=function(e,r,t){var n=this.kind;switch(n){case"N":return e&&e(this.value);case"E":return r&&r(this.error);case"C":return t&&t()}};e.prototype.accept=function(e,r,t){if(e&&typeof e.next==="function"){return this.observe(e)}else{return this.do(e,r,t)}};e.prototype.toObservable=function(){var e=this.kind;switch(e){case"N":return j(this.value);case"E":return C(this.error);case"C":return N()}throw new Error("unexpected notification kind value")};e.createNext=function(r){if(typeof r!=="undefined"){return new e("N",r)}return e.undefinedValueNotification};e.createError=function(r){return new e("E",undefined,r)};e.createComplete=function(){return e.completeNotification};return e}();e("N",R);R.completeNotification=new R("C");R.undefinedValueNotification=new R("N",undefined);var U=new O(x);var q=e("k",U);function M(e){return e instanceof Date&&!isNaN(+e)}function J(e,r){if(r===void 0){r=q}var t=M(e);var n=t?+e-r.now():Math.abs(e);return function(e){return e.lift(new Y(n,r))}}var Y=function(){function e(e,r){this.delay=e;this.scheduler=r}e.prototype.call=function(e,r){return r.subscribe(new z(e,this.delay,this.scheduler))};return e}();var z=function(e){__extends(r,e);function r(r,t,n){var i=e.call(this,r)||this;i.delay=t;i.scheduler=n;i.queue=[];i.active=false;i.errored=false;return i}r.dispatch=function(e){var r=e.source;var t=r.queue;var n=e.scheduler;var i=e.destination;while(t.length>0&&t[0].time-n.now()<=0){t.shift().notification.observe(i)}if(t.length>0){var s=Math.max(0,t[0].time-n.now());this.schedule(e,s)}else{this.unsubscribe();r.active=false}};r.prototype._schedule=function(e){this.active=true;var t=this.destination;t.add(e.schedule(r.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))};r.prototype.scheduleNotification=function(e){if(this.errored===true){return}var r=this.scheduler;var t=new B(r.now()+this.delay,e);this.queue.push(t);if(this.active===false){this._schedule(r)}};r.prototype._next=function(e){this.scheduleNotification(R.createNext(e))};r.prototype._error=function(e){this.errored=true;this.queue=[];this.destination.error(e);this.unsubscribe()};r.prototype._complete=function(){this.scheduleNotification(R.createComplete());this.unsubscribe()};return r}(p);var B=function(){function e(e,r){this.time=e;this.notification=r}return e}()}}}));