@sparkle-learning/core 0.0.52 → 0.0.54

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 (148) hide show
  1. package/dist/cjs/{PrivateRoute-074c584e.js → PrivateRoute-e2047db2.js} +18 -30
  2. package/dist/cjs/{feed.service-b4f09441.js → appdata.service-d28cf2d6.js} +4 -56
  3. package/dist/cjs/{assets.service-0c759d51.js → assets.service-bfa75092.js} +1 -1
  4. package/dist/cjs/{environment-config.service-0e02b049.js → environment-config.service-c8ff1f3d.js} +0 -1
  5. package/dist/cjs/{facilitator.service-9e990274.js → facilitator.service-0b9f6ac7.js} +1 -1
  6. package/dist/cjs/feed.service-6df9382f.js +57 -0
  7. package/dist/cjs/header-mobile-collapse_61.cjs.entry.js +289 -3279
  8. package/dist/cjs/{httpService-7211d93b.js → httpService-d8a5b474.js} +13 -11
  9. package/dist/cjs/index.cjs.js +5 -4
  10. package/dist/cjs/{ion-select_2.cjs.entry.js → ion-select_3.cjs.entry.js} +127 -0
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/media.service-2bc73d37.js +40 -0
  13. package/dist/cjs/signalR.service-0d5da1d3.js +2985 -0
  14. package/dist/cjs/sparkle-animation-player.cjs.entry.js +2 -1
  15. package/dist/cjs/sparkle-assignment.cjs.entry.js +25 -0
  16. package/dist/cjs/sparkle-character-intro.cjs.entry.js +2 -2
  17. package/dist/cjs/sparkle-core.cjs.js +1 -1
  18. package/dist/cjs/sparkle-discussion-questions_2.cjs.entry.js +281 -0
  19. package/dist/cjs/sparkle-discussion.cjs.entry.js +42 -0
  20. package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +5 -3
  21. package/dist/cjs/sparkle-feedback.cjs.entry.js +5 -3
  22. package/dist/cjs/sparkle-goal-form.cjs.entry.js +11 -8
  23. package/dist/cjs/sparkle-quiz-container.cjs.entry.js +1 -1
  24. package/dist/cjs/sparkle-quiz-old.cjs.entry.js +120 -0
  25. package/dist/cjs/sparkle-quiz.cjs.entry.js +31 -48
  26. package/dist/cjs/{student.service-2e58f237.js → student.service-d8ec2551.js} +1 -1
  27. package/dist/cjs/token.service-bfb0089b.js +86 -0
  28. package/dist/cjs/{util-d383acb8.js → util-47e320b2.js} +2 -2
  29. package/dist/collection/PrivateRoute.js +2 -2
  30. package/dist/collection/collection-manifest.json +6 -2
  31. package/dist/collection/components/layout/facilitator/facilitator-page.js +2 -3
  32. package/dist/collection/components/layout/page/page.css +4 -0
  33. package/dist/collection/components/layout/page/page.js +39 -26
  34. package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.js +1 -0
  35. package/dist/collection/components/sparkle-assignment/sparkle-assignment.css +3 -0
  36. package/dist/collection/components/sparkle-assignment/sparkle-assignment.js +25 -0
  37. package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.css +8 -1
  38. package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.js +10 -6
  39. package/dist/collection/components/sparkle-course-root/sparkle-course-root.js +12 -1
  40. package/dist/collection/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.css +157 -0
  41. package/dist/collection/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.js +232 -0
  42. package/dist/collection/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.css +158 -0
  43. package/dist/collection/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.js +274 -0
  44. package/dist/collection/components/sparkle-discussion/sparkle-discussion.css +5 -0
  45. package/dist/collection/components/sparkle-discussion/sparkle-discussion.js +112 -0
  46. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +54 -67
  47. package/dist/collection/components/sparkle-login/sparkle-login.js +2 -1
  48. package/dist/collection/components/sparkle-quiz/{sparkle-quiz/sparkle-quiz.css → sparkle-quiz-old/sparkle-quiz-old.css} +1 -1
  49. package/dist/collection/components/sparkle-quiz/{sparkle-quiz/sparkle-quiz.js → sparkle-quiz-old/sparkle-quiz-old.js} +4 -4
  50. package/dist/collection/components/sparkle-quiz/{sparkle-quiz-v1.js → sparkle-quiz.js} +23 -25
  51. package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.js +1 -1
  52. package/dist/collection/components/sparkle-root/sparkle-root.js +12 -10
  53. package/dist/collection/services/assignment.service.js +14 -0
  54. package/dist/collection/services/auth/auth.service.js +15 -14
  55. package/dist/collection/services/environment/environment-config.js +1 -1
  56. package/dist/collection/services/environment/environment-config.service.js +0 -1
  57. package/dist/collection/services/httpService.js +12 -10
  58. package/dist/collection/services/signalR.service.js +17 -19
  59. package/dist/collection/services/token.service.js +68 -0
  60. package/dist/collection/util.js +5 -2
  61. package/dist/esm/{PrivateRoute-c5441f35.js → PrivateRoute-c6e80d5d.js} +17 -29
  62. package/dist/esm/{feed.service-8fbe4ce3.js → appdata.service-d1058e00.js} +5 -55
  63. package/dist/esm/{assets.service-66e848b8.js → assets.service-def1d63c.js} +1 -1
  64. package/dist/esm/{environment-config.service-2b5d692b.js → environment-config.service-b191f276.js} +0 -1
  65. package/dist/esm/{facilitator.service-b0292f7f.js → facilitator.service-53e05a01.js} +1 -1
  66. package/dist/esm/feed.service-8385ad7a.js +54 -0
  67. package/dist/esm/header-mobile-collapse_61.entry.js +278 -3268
  68. package/dist/esm/{httpService-7b75b095.js → httpService-db476835.js} +13 -11
  69. package/dist/esm/index.js +5 -4
  70. package/dist/esm/{ion-select_2.entry.js → ion-select_3.entry.js} +127 -1
  71. package/dist/esm/loader.js +1 -1
  72. package/dist/esm/media.service-b68cbfff.js +37 -0
  73. package/dist/esm/signalR.service-4a2d5a92.js +2982 -0
  74. package/dist/esm/sparkle-animation-player.entry.js +2 -1
  75. package/dist/esm/sparkle-assignment.entry.js +21 -0
  76. package/dist/esm/sparkle-character-intro.entry.js +3 -3
  77. package/dist/esm/sparkle-core.js +1 -1
  78. package/dist/esm/sparkle-discussion-questions_2.entry.js +276 -0
  79. package/dist/esm/sparkle-discussion.entry.js +38 -0
  80. package/dist/esm/sparkle-facilitator-notes-form.entry.js +5 -3
  81. package/dist/esm/sparkle-feedback.entry.js +5 -3
  82. package/dist/esm/sparkle-goal-form.entry.js +8 -5
  83. package/dist/esm/sparkle-quiz-container.entry.js +1 -1
  84. package/dist/esm/sparkle-quiz-old.entry.js +116 -0
  85. package/dist/esm/sparkle-quiz.entry.js +31 -48
  86. package/dist/esm/{student.service-0746418b.js → student.service-6457aaa0.js} +1 -1
  87. package/dist/esm/token.service-20f1a256.js +83 -0
  88. package/dist/esm/{util-6ef753e9.js → util-57cc8006.js} +2 -2
  89. package/dist/sparkle-core/index.esm.js +1 -1
  90. package/dist/sparkle-core/p-11ac00b0.js +1 -0
  91. package/dist/sparkle-core/p-13ec39db.entry.js +1 -0
  92. package/dist/sparkle-core/{p-5efc6566.js → p-17b6b07e.js} +1 -1
  93. package/dist/sparkle-core/p-33a7151d.entry.js +1 -0
  94. package/dist/sparkle-core/{p-fbccd30c.js → p-38f707fb.js} +1 -1
  95. package/dist/sparkle-core/p-38fa5987.js +1 -0
  96. package/dist/sparkle-core/{p-9a443f51.js → p-408176ba.js} +1 -1
  97. package/dist/sparkle-core/p-630a4fa0.js +1 -0
  98. package/dist/sparkle-core/{p-0335c863.entry.js → p-6a1fc0af.entry.js} +26 -26
  99. package/dist/sparkle-core/p-6fab3a4b.js +1 -0
  100. package/dist/sparkle-core/p-71720d6e.entry.js +1 -0
  101. package/dist/sparkle-core/{p-162bff1a.entry.js → p-72053ae0.entry.js} +1 -1
  102. package/dist/sparkle-core/p-85d4cd5c.entry.js +1 -0
  103. package/dist/sparkle-core/p-967a2ed7.js +1 -0
  104. package/dist/sparkle-core/{p-ff0e0d4e.entry.js → p-98daeddb.entry.js} +1 -1
  105. package/dist/sparkle-core/p-98f7780c.entry.js +1 -0
  106. package/dist/sparkle-core/p-bd90903e.js +1 -0
  107. package/dist/sparkle-core/{p-a49ab4e8.entry.js → p-c64a34cd.entry.js} +1 -1
  108. package/dist/sparkle-core/{p-564e64fc.entry.js → p-ca907214.entry.js} +2 -2
  109. package/dist/sparkle-core/p-d51f30ca.js +1 -0
  110. package/dist/sparkle-core/p-dcff298d.entry.js +1 -0
  111. package/dist/sparkle-core/p-e50c8b04.entry.js +1 -0
  112. package/dist/sparkle-core/p-ed9de327.js +1 -0
  113. package/dist/sparkle-core/p-f891c79a.entry.js +1 -0
  114. package/dist/sparkle-core/sparkle-core.esm.js +1 -1
  115. package/dist/types/components/layout/page/page.d.ts +2 -0
  116. package/dist/types/components/sparkle-assignment/sparkle-assignment.d.ts +6 -0
  117. package/dist/types/components/sparkle-course-root/sparkle-course-root.d.ts +1 -0
  118. package/dist/types/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.d.ts +28 -0
  119. package/dist/types/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.d.ts +45 -0
  120. package/dist/types/components/sparkle-discussion/sparkle-discussion.d.ts +11 -0
  121. package/dist/types/components/sparkle-feed-post/sparkle-feed-post.d.ts +3 -2
  122. package/dist/types/components/sparkle-quiz/{sparkle-quiz/sparkle-quiz.d.ts → sparkle-quiz-old/sparkle-quiz-old.d.ts} +1 -1
  123. package/dist/types/components/sparkle-quiz/sparkle-quiz.d.ts +36 -36
  124. package/dist/types/components.d.ts +115 -37
  125. package/dist/types/models/class.model.d.ts +4 -0
  126. package/dist/types/services/assignment.service.d.ts +8 -0
  127. package/dist/types/services/auth/auth.service.d.ts +1 -1
  128. package/dist/types/services/environment/environment-config.d.ts +3 -0
  129. package/dist/types/services/token.service.d.ts +12 -0
  130. package/dist/types/util.d.ts +1 -0
  131. package/package.json +1 -1
  132. package/dist/cjs/sparkle-feed-post.cjs.entry.js +0 -124
  133. package/dist/cjs/sparkle-quiz-v1.cjs.entry.js +0 -105
  134. package/dist/esm/sparkle-feed-post.entry.js +0 -120
  135. package/dist/esm/sparkle-quiz-v1.entry.js +0 -101
  136. package/dist/sparkle-core/p-15403881.entry.js +0 -1
  137. package/dist/sparkle-core/p-1d4c7c11.js +0 -1
  138. package/dist/sparkle-core/p-370609ba.entry.js +0 -1
  139. package/dist/sparkle-core/p-41a9ece7.entry.js +0 -1
  140. package/dist/sparkle-core/p-462bffba.js +0 -1
  141. package/dist/sparkle-core/p-58e4bbe5.entry.js +0 -1
  142. package/dist/sparkle-core/p-600cf6a3.js +0 -1
  143. package/dist/sparkle-core/p-80d6b0e6.entry.js +0 -1
  144. package/dist/sparkle-core/p-af3cc111.entry.js +0 -1
  145. package/dist/sparkle-core/p-b226f54d.js +0 -1
  146. package/dist/types/components/sparkle-quiz/sparkle-quiz-v1.d.ts +0 -41
  147. /package/dist/collection/components/sparkle-quiz/{sparkle-quiz-v1.css → sparkle-quiz.css} +0 -0
  148. /package/dist/sparkle-core/{p-935e7cfc.js → p-8b56f734.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, c as getAssetPath, e as getElement } from './index-c04b9ed5.js';
2
2
  import { g as get } from './localstorage.service-4bf408c8.js';
3
- import { S as SparkleGlobal } from './util-6ef753e9.js';
3
+ import { S as SparkleGlobal } from './util-57cc8006.js';
4
4
 
5
5
  //https://github.com/bazh/subtitles-parser/blob/master/index.js
6
6
  class CaptionParser {
@@ -380,6 +380,7 @@ const SparkleAnimationPlayer = class {
380
380
  this.captionText = this.captionData[Math.floor(this.timeline.position / this.library.properties.fps)];
381
381
  }
382
382
  if (this.timeline.position % 10 == 0) {
383
+ console.log(this.timeline.duration - 10, this.timeline.position);
383
384
  if (this.timeline.position > (this.timeline.duration - 10)) {
384
385
  this.animationCompleted();
385
386
  }
@@ -0,0 +1,21 @@
1
+ import { r as registerInstance, h, e as getElement, H as Host } from './index-c04b9ed5.js';
2
+
3
+ const sparkleAssignmentCss = ":host{display:block}";
4
+
5
+ const SparkleAssignment = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.submitted = true;
9
+ }
10
+ async onSubmit(e) {
11
+ e.preventDefault();
12
+ this.submitted = true;
13
+ }
14
+ render() {
15
+ return h(Host, null, "Assignment");
16
+ }
17
+ get el() { return getElement(this); }
18
+ };
19
+ SparkleAssignment.style = sparkleAssignmentCss;
20
+
21
+ export { SparkleAssignment as sparkle_assignment };
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, c as getAssetPath, e as getElement } from './index-c04b9ed5.js';
1
+ import { r as registerInstance, h, c as getAssetPath, H as Host, e as getElement } from './index-c04b9ed5.js';
2
2
 
3
- const sparkleCharacterIntroCss = "sparkle-character-intro{--sparkle-character-background-color:#e7e7e7}sparkle-character-intro .character-phrase-block{display:flex;width:100%;min-height:200px;align-items:center;padding:20px}sparkle-character-intro .character-phrase-block.right{justify-content:flex-end}sparkle-character-intro .character-phrase-block.left{justify-content:flex-start}sparkle-character-intro .character-phrase-block.left .character-box{order:2}sparkle-character-intro .character-phrase-block.left .character-image-block{order:1}sparkle-character-intro .character-box{min-width:300px;border-radius:15px;background:var(--sparkle-character-background-color);color:var(--text-color);padding:20px;text-align:center;position:relative;box-shadow:0px 1px 3px rgba(2, 8, 20, 0.06), 0px 1px 2px rgba(2, 8, 20, 0.04)}sparkle-character-intro .character-box.right:before{content:\"\";width:0px;height:0px;position:absolute;border-left:15px solid var(--sparkle-character-background-color);border-right:15px solid transparent;border-top:15px solid var(--sparkle-character-background-color);border-bottom:15px solid transparent;right:-16px;top:0px}sparkle-character-intro .character-box.left:before{content:\"\";width:0px;height:0px;position:absolute;border-left:15px solid transparent;border-right:15px solid var(--sparkle-character-background-color);border-top:15px solid var(--sparkle-character-background-color);border-bottom:15px solid transparent;left:-16px;top:0px}sparkle-character-intro img{max-width:100%;border:0}sparkle-character-intro .character-image-block{float:left;width:20%}sparkle-character-intro .character-image-block.right{transform:rotateY(180deg)}";
3
+ const sparkleCharacterIntroCss = "sparkle-character-intro{--sparkle-character-background-color:#e7e7e7}sparkle-character-intro .character-phrase-block{display:flex;width:100%;min-height:200px;align-items:center;padding:20px}sparkle-character-intro.shift-up .character-phrase-block{padding-top:0px !important}sparkle-character-intro.shift-up-overlap .character-phrase-block{padding-top:0px !important;margin-top:-50px !important}sparkle-character-intro .character-phrase-block.right{justify-content:flex-end}sparkle-character-intro .character-phrase-block.left{justify-content:flex-start}sparkle-character-intro .character-phrase-block.left .character-box{order:2}sparkle-character-intro .character-phrase-block.left .character-image-block{order:1}sparkle-character-intro .character-box{width:80%;border-radius:15px;background:var(--sparkle-character-background-color);color:var(--text-color);padding:20px;text-align:center;position:relative;box-shadow:0px 1px 3px rgba(2, 8, 20, 0.06), 0px 1px 2px rgba(2, 8, 20, 0.04)}sparkle-character-intro .character-box.right:before{content:\"\";width:0px;height:0px;position:absolute;border-left:15px solid var(--sparkle-character-background-color);border-right:15px solid transparent;border-top:15px solid var(--sparkle-character-background-color);border-bottom:15px solid transparent;right:-16px;top:0px}sparkle-character-intro .character-box.left:before{content:\"\";width:0px;height:0px;position:absolute;border-left:15px solid transparent;border-right:15px solid var(--sparkle-character-background-color);border-top:15px solid var(--sparkle-character-background-color);border-bottom:15px solid transparent;left:-16px;top:0px}sparkle-character-intro img{max-width:100%;border:0}sparkle-character-intro .character-image-block{float:left;width:20%}sparkle-character-intro .character-image-block.right{transform:rotateY(180deg)}";
4
4
 
5
5
  const SparkleCharacterIntro = class {
6
6
  constructor(hostRef) {
@@ -12,7 +12,7 @@ const SparkleCharacterIntro = class {
12
12
  console.log(this.character);
13
13
  }
14
14
  render() {
15
- return (h("div", { class: `character-phrase-block ${this.position}` }, h("div", { class: `character-box ${this.position}` }, h("slot", null)), h("div", { class: `character-image-block ${this.position}` }, h("img", { class: "image-animation", src: getAssetPath('./assets/characters/' + this.character + '.png') }))));
15
+ return (h(Host, null, h("div", { class: `character-phrase-block ${this.position}` }, h("div", { class: `character-box ${this.position}` }, h("slot", null)), h("div", { class: `character-image-block ${this.position}` }, h("img", { class: "image-animation", src: getAssetPath('./assets/characters/' + this.character + '.png') })))));
16
16
  }
17
17
  static get assetsDirs() { return ["assets"]; }
18
18
  get el() { return getElement(this); }
@@ -16,5 +16,5 @@ const patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(options => {
18
18
  globalScripts();
19
- return bootstrapLazy(JSON.parse("[[\"sparkle-goal-form\",[[0,\"sparkle-goal-form\",{\"appData\":[16],\"name\":[32],\"description\":[32],\"category\":[32],\"progress\":[32],\"public\":[32],\"goalUpdateText\":[32],\"submitted\":[32]}]]],[\"sparkle-feedback\",[[0,\"sparkle-feedback\",{\"formControls\":[32],\"submitted\":[32]}]]],[\"sparkle-feed-post\",[[4,\"sparkle-feed-post\",{\"assignmentName\":[1025,\"assignment-name\"],\"textValue\":[1,\"text-value\"],\"postText\":[32],\"errorMessage\":[32],\"uploadedImage\":[32],\"successMessage\":[32],\"externalResourceUrl\":[32],\"uploadImageLoading\":[32],\"setText\":[64]}]]],[\"sparkle-quiz-container\",[[0,\"sparkle-quiz-container\",{\"questionIds\":[1,\"question-ids\"],\"showInstantResult\":[4,\"show-instant-result\"],\"submitted\":[32]},[[4,\"pageDidLoad\",\"pageDidLoadHandler\"],[16,\"quizAnswerChanged\",\"updateQuizAnswerModelHandler\"]]]]],[\"ion-datetime\",[[33,\"ion-datetime\",{\"color\":[1],\"name\":[1],\"disabled\":[4],\"readonly\":[4],\"isDateEnabled\":[16],\"min\":[1025],\"max\":[1025],\"presentation\":[1],\"cancelText\":[1,\"cancel-text\"],\"doneText\":[1,\"done-text\"],\"clearText\":[1,\"clear-text\"],\"yearValues\":[8,\"year-values\"],\"monthValues\":[8,\"month-values\"],\"dayValues\":[8,\"day-values\"],\"hourValues\":[8,\"hour-values\"],\"minuteValues\":[8,\"minute-values\"],\"locale\":[1],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"multiple\":[4],\"value\":[1025],\"showDefaultTitle\":[4,\"show-default-title\"],\"showDefaultButtons\":[4,\"show-default-buttons\"],\"showClearButton\":[4,\"show-clear-button\"],\"showDefaultTimeLabel\":[4,\"show-default-time-label\"],\"hourCycle\":[1,\"hour-cycle\"],\"size\":[1],\"preferWheel\":[4,\"prefer-wheel\"],\"showMonthAndYear\":[32],\"activeParts\":[32],\"workingParts\":[32],\"isPresented\":[32],\"isTimePopoverOpen\":[32],\"confirm\":[64],\"reset\":[64],\"cancel\":[64]}]]],[\"sparkle-gww-comment-list\",[[0,\"sparkle-gww-comment-list\",{\"comments\":[16]}]]],[\"sparkle-quiz-v1\",[[0,\"sparkle-quiz-v1\",{\"questionId\":[2,\"question-id\"],\"submitted\":[4],\"correct\":[4],\"showInstantResult\":[4,\"show-instant-result\"],\"question\":[32],\"quizData\":[32]},[[0,\"quizInputChange\",\"quizInputChangeHandler\"],[0,\"quizFeedbackChange\",\"quizFeedbackChangeHandler\"],[0,\"quizSelectChange\",\"quizSelectChangeHandler\"],[0,\"quizOpinionChange\",\"quizOpinionChangeHandler\"]]]]],[\"sparkle-compass-post\",[[0,\"sparkle-compass-post\",{\"errorMessage\":[32],\"successMessage\":[32],\"resiliance\":[32],\"care\":[32],\"compassData\":[32],\"renderCompass\":[64]}]]],[\"sparkle-animation-player\",[[0,\"sparkle-animation-player\",{\"src\":[1],\"composition\":[1],\"initialClassMode\":[4,\"initial-class-mode\"],\"classMode\":[32],\"showCaption\":[32],\"paused\":[32],\"sizeOfCanvas\":[32],\"sizeofProgressBar\":[32],\"dataLoaded\":[32],\"currentProgressWidth\":[32],\"captionText\":[32],\"showFirstFrame\":[32],\"isBusy\":[32],\"playAnimation\":[64],\"pauseAnimation\":[64],\"classRoomModeChanged\":[64],\"destroyAnimation\":[64]},[[0,\"ionChange\",\"closedCaptionChange\"],[16,\"classRoomModeChanged\",\"onClassRoomModeChanged\"]]]]],[\"sparkle-facilitator-notes-form\",[[0,\"sparkle-facilitator-notes-form\",{\"initialValues\":[16],\"formControls\":[32],\"submitted\":[32]}]]],[\"sparkle-sidebar\",[[4,\"sparkle-sidebar\",{\"position\":[1],\"size\":[1],\"headerText\":[1,\"header-text\"],\"isShowing\":[32],\"hide\":[64],\"show\":[64]}]]],[\"course-select\",[[0,\"course-select\",{\"toggleClickFn\":[16]}]]],[\"ion-fab-button\",[[33,\"ion-fab-button\",{\"color\":[513],\"activated\":[4],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1],\"show\":[4],\"translucent\":[4],\"type\":[1],\"size\":[1],\"closeIcon\":[1,\"close-icon\"]}]]],[\"ion-loading\",[[34,\"ion-loading\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"message\":[1],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"spinner\":[1025],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-menu-button\",[[33,\"ion-menu-button\",{\"color\":[513],\"disabled\":[4],\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"type\":[1],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-picker\",[[34,\"ion-picker\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"columns\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"showBackdrop\":[4,\"show-backdrop\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"animated\":[4],\"htmlAttributes\":[16],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"getColumn\":[64]}]]],[\"ion-refresher-content\",[[0,\"ion-refresher-content\",{\"pullingIcon\":[1025,\"pulling-icon\"],\"pullingText\":[1,\"pulling-text\"],\"refreshingSpinner\":[1025,\"refreshing-spinner\"],\"refreshingText\":[1,\"refreshing-text\"]}]]],[\"ion-toast\",[[33,\"ion-toast\",{\"overlayIndex\":[2,\"overlay-index\"],\"color\":[513],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"header\":[1],\"message\":[1],\"keyboardClose\":[4,\"keyboard-close\"],\"position\":[1],\"buttons\":[16],\"translucent\":[4],\"animated\":[4],\"icon\":[1],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-accordion\",[[49,\"ion-accordion\",{\"value\":[1],\"disabled\":[4],\"readonly\":[4],\"toggleIcon\":[1,\"toggle-icon\"],\"toggleIconSlot\":[1,\"toggle-icon-slot\"],\"state\":[32],\"isNext\":[32],\"isPrevious\":[32]}]]],[\"ion-breadcrumb\",[[33,\"ion-breadcrumb\",{\"collapsed\":[4],\"last\":[4],\"showCollapsedIndicator\":[4,\"show-collapsed-indicator\"],\"color\":[1],\"active\":[4],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"separator\":[4],\"target\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-chip\",[[33,\"ion-chip\",{\"color\":[513],\"outline\":[4],\"disabled\":[4]}]]],[\"ion-datetime-button\",[[33,\"ion-datetime-button\",{\"color\":[513],\"disabled\":[516],\"datetime\":[1],\"datetimePresentation\":[32],\"dateText\":[32],\"timeText\":[32],\"datetimeActive\":[32],\"selectedButton\":[32]}]]],[\"ion-infinite-scroll-content\",[[32,\"ion-infinite-scroll-content\",{\"loadingSpinner\":[1025,\"loading-spinner\"],\"loadingText\":[1,\"loading-text\"]}]]],[\"ion-item-option\",[[33,\"ion-item-option\",{\"color\":[513],\"disabled\":[4],\"download\":[1],\"expandable\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"type\":[1]}]]],[\"ion-menu\",[[33,\"ion-menu\",{\"contentId\":[513,\"content-id\"],\"menuId\":[513,\"menu-id\"],\"type\":[1025],\"disabled\":[1028],\"side\":[513],\"swipeGesture\":[4,\"swipe-gesture\"],\"maxEdgeStart\":[2,\"max-edge-start\"],\"isPaneVisible\":[32],\"isEndSide\":[32],\"isOpen\":[64],\"isActive\":[64],\"open\":[64],\"close\":[64],\"toggle\":[64],\"setOpen\":[64]},[[16,\"ionSplitPaneVisible\",\"onSplitPaneChanged\"],[2,\"click\",\"onBackdropClick\"],[0,\"keydown\",\"onKeydown\"]]]]],[\"ion-modal\",[[33,\"ion-modal\",{\"hasController\":[4,\"has-controller\"],\"overlayIndex\":[2,\"overlay-index\"],\"delegate\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"breakpoints\":[16],\"initialBreakpoint\":[2,\"initial-breakpoint\"],\"backdropBreakpoint\":[2,\"backdrop-breakpoint\"],\"handle\":[4],\"handleBehavior\":[1,\"handle-behavior\"],\"component\":[1],\"componentProps\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"animated\":[4],\"swipeToClose\":[4,\"swipe-to-close\"],\"presentingElement\":[16],\"htmlAttributes\":[16],\"isOpen\":[4,\"is-open\"],\"trigger\":[1],\"keepContentsMounted\":[4,\"keep-contents-mounted\"],\"canDismiss\":[4,\"can-dismiss\"],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"setCurrentBreakpoint\":[64],\"getCurrentBreakpoint\":[64]}]]],[\"ion-reorder\",[[33,\"ion-reorder\",null,[[2,\"click\",\"onClick\"]]]]],[\"ion-searchbar\",[[34,\"ion-searchbar\",{\"color\":[513],\"animated\":[4],\"autocomplete\":[1],\"autocorrect\":[1],\"cancelButtonIcon\":[1,\"cancel-button-icon\"],\"cancelButtonText\":[1,\"cancel-button-text\"],\"clearIcon\":[1,\"clear-icon\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"placeholder\":[1],\"searchIcon\":[1,\"search-icon\"],\"showCancelButton\":[1,\"show-cancel-button\"],\"showClearButton\":[1,\"show-clear-button\"],\"spellcheck\":[4],\"type\":[1],\"value\":[1025],\"focused\":[32],\"noAnimate\":[32],\"setFocus\":[64],\"getInputElement\":[64]}]]],[\"ion-segment-button\",[[33,\"ion-segment-button\",{\"disabled\":[4],\"layout\":[1],\"type\":[1],\"value\":[1],\"checked\":[32]}]]],[\"ion-tab-button\",[[33,\"ion-tab-button\",{\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"layout\":[1025],\"selected\":[1028],\"tab\":[1],\"target\":[1]},[[8,\"ionTabBarChanged\",\"onTabBarChanged\"]]]]],[\"sparkle-lower-content-nav\",[[0,\"sparkle-lower-content-nav\",{\"next\":[16],\"prev\":[16]}]]],[\"sparkle-notfound-page\",[[0,\"sparkle-notfound-page\"]]],[\"sparkle-table-of-contents\",[[0,\"sparkle-table-of-contents\",{\"links\":[16],\"label\":[1],\"basepath\":[1],\"itemOffsets\":[32],\"selectedId\":[32],\"pageWidth\":[32]},[[9,\"scroll\",\"function\"],[9,\"resize\",\"updateItemOffsets\"]]]]],[\"compass-svg\",[[0,\"compass-svg\"]]],[\"context-consumer\",[[0,\"context-consumer\",{\"context\":[16],\"renderer\":[16],\"subscribe\":[16],\"unsubscribe\":[32]}]]],[\"ion-accordion-group\",[[33,\"ion-accordion-group\",{\"animated\":[4],\"multiple\":[4],\"value\":[1025],\"disabled\":[4],\"readonly\":[4],\"expand\":[1],\"requestAccordionToggle\":[64],\"getAccordions\":[64]},[[0,\"keydown\",\"onKeydown\"]]]]],[\"ion-app\",[[0,\"ion-app\",{\"setFocus\":[64]}]]],[\"ion-badge\",[[33,\"ion-badge\",{\"color\":[513]}]]],[\"ion-breadcrumbs\",[[33,\"ion-breadcrumbs\",{\"color\":[1],\"maxItems\":[2,\"max-items\"],\"itemsBeforeCollapse\":[2,\"items-before-collapse\"],\"itemsAfterCollapse\":[2,\"items-after-collapse\"],\"collapsed\":[32],\"activeChanged\":[32]},[[0,\"collapsedClick\",\"onCollapsedClick\"]]]]],[\"ion-card-header\",[[33,\"ion-card-header\",{\"color\":[513],\"translucent\":[4]}]]],[\"ion-card-subtitle\",[[33,\"ion-card-subtitle\",{\"color\":[513]}]]],[\"ion-card-title\",[[33,\"ion-card-title\",{\"color\":[513]}]]],[\"ion-fab\",[[1,\"ion-fab\",{\"horizontal\":[1],\"vertical\":[1],\"edge\":[4],\"activated\":[1028],\"close\":[64],\"toggle\":[64]}]]],[\"ion-fab-list\",[[1,\"ion-fab-list\",{\"activated\":[4],\"side\":[1]}]]],[\"ion-footer\",[[36,\"ion-footer\",{\"collapse\":[1],\"translucent\":[4]}]]],[\"ion-img\",[[1,\"ion-img\",{\"alt\":[1],\"src\":[1],\"loadSrc\":[32],\"loadError\":[32]}]]],[\"ion-infinite-scroll\",[[0,\"ion-infinite-scroll\",{\"threshold\":[1],\"disabled\":[4],\"position\":[1],\"isLoading\":[32],\"complete\":[64]}]]],[\"ion-item-divider\",[[33,\"ion-item-divider\",{\"color\":[513],\"sticky\":[4]}]]],[\"ion-item-group\",[[32,\"ion-item-group\"]]],[\"ion-item-options\",[[32,\"ion-item-options\",{\"side\":[1],\"fireSwipeEvent\":[64]}]]],[\"ion-item-sliding\",[[0,\"ion-item-sliding\",{\"disabled\":[4],\"state\":[32],\"getOpenAmount\":[64],\"getSlidingRatio\":[64],\"open\":[64],\"close\":[64],\"closeOpened\":[64]}]]],[\"ion-menu-toggle\",[[1,\"ion-menu-toggle\",{\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-nav\",[[1,\"ion-nav\",{\"delegate\":[16],\"swipeGesture\":[1028,\"swipe-gesture\"],\"animated\":[4],\"animation\":[16],\"rootParams\":[16],\"root\":[1],\"push\":[64],\"insert\":[64],\"insertPages\":[64],\"pop\":[64],\"popTo\":[64],\"popToRoot\":[64],\"removeIndex\":[64],\"setRoot\":[64],\"setPages\":[64],\"setRouteId\":[64],\"getRouteId\":[64],\"getActive\":[64],\"getByIndex\":[64],\"canGoBack\":[64],\"getPrevious\":[64]}]]],[\"ion-nav-link\",[[0,\"ion-nav-link\",{\"component\":[1],\"componentProps\":[16],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-progress-bar\",[[33,\"ion-progress-bar\",{\"type\":[1],\"reversed\":[4],\"value\":[2],\"buffer\":[2],\"color\":[513]}]]],[\"ion-refresher\",[[32,\"ion-refresher\",{\"pullMin\":[2,\"pull-min\"],\"pullMax\":[2,\"pull-max\"],\"closeDuration\":[1,\"close-duration\"],\"snapbackDuration\":[1,\"snapback-duration\"],\"pullFactor\":[2,\"pull-factor\"],\"disabled\":[4],\"nativeRefresher\":[32],\"state\":[32],\"complete\":[64],\"cancel\":[64],\"getProgress\":[64]}]]],[\"ion-reorder-group\",[[0,\"ion-reorder-group\",{\"disabled\":[4],\"state\":[32],\"complete\":[64]}]]],[\"ion-route\",[[0,\"ion-route\",{\"url\":[1],\"component\":[1],\"componentProps\":[16],\"beforeLeave\":[16],\"beforeEnter\":[16]}]]],[\"ion-route-redirect\",[[0,\"ion-route-redirect\",{\"from\":[1],\"to\":[1]}]]],[\"ion-router\",[[0,\"ion-router\",{\"root\":[1],\"useHash\":[4,\"use-hash\"],\"canTransition\":[64],\"push\":[64],\"back\":[64],\"printDebug\":[64],\"navChanged\":[64]},[[8,\"popstate\",\"onPopState\"],[4,\"ionBackButton\",\"onBackButton\"]]]]],[\"ion-router-link\",[[1,\"ion-router-link\",{\"color\":[513],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}]]],[\"ion-router-outlet\",[[1,\"ion-router-outlet\",{\"mode\":[1025],\"delegate\":[16],\"animated\":[4],\"animation\":[16],\"swipeHandler\":[16],\"commit\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-segment\",[[33,\"ion-segment\",{\"color\":[513],\"disabled\":[4],\"scrollable\":[4],\"swipeGesture\":[4,\"swipe-gesture\"],\"value\":[1025],\"selectOnFocus\":[4,\"select-on-focus\"],\"activated\":[32]},[[0,\"keydown\",\"onKeyDown\"]]]]],[\"ion-skeleton-text\",[[1,\"ion-skeleton-text\",{\"animated\":[4]}]]],[\"ion-slide\",[[0,\"ion-slide\"]]],[\"ion-slides\",[[36,\"ion-slides\",{\"options\":[8],\"pager\":[4],\"scrollbar\":[4],\"update\":[64],\"updateAutoHeight\":[64],\"slideTo\":[64],\"slideNext\":[64],\"slidePrev\":[64],\"getActiveIndex\":[64],\"getPreviousIndex\":[64],\"length\":[64],\"isEnd\":[64],\"isBeginning\":[64],\"startAutoplay\":[64],\"stopAutoplay\":[64],\"lockSwipeToNext\":[64],\"lockSwipeToPrev\":[64],\"lockSwipes\":[64],\"getSwiper\":[64]}]]],[\"ion-split-pane\",[[33,\"ion-split-pane\",{\"contentId\":[513,\"content-id\"],\"disabled\":[4],\"when\":[8],\"visible\":[32]}]]],[\"ion-tab\",[[1,\"ion-tab\",{\"active\":[1028],\"delegate\":[16],\"tab\":[1],\"component\":[1],\"setActive\":[64]}]]],[\"ion-tab-bar\",[[33,\"ion-tab-bar\",{\"color\":[513],\"selectedTab\":[1,\"selected-tab\"],\"translucent\":[4],\"keyboardVisible\":[32]}]]],[\"ion-tabs\",[[1,\"ion-tabs\",{\"useRouter\":[1028,\"use-router\"],\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-thumbnail\",[[1,\"ion-thumbnail\"]]],[\"ion-virtual-scroll\",[[0,\"ion-virtual-scroll\",{\"approxItemHeight\":[2,\"approx-item-height\"],\"approxHeaderHeight\":[2,\"approx-header-height\"],\"approxFooterHeight\":[2,\"approx-footer-height\"],\"headerFn\":[16],\"footerFn\":[16],\"items\":[16],\"itemHeight\":[16],\"headerHeight\":[16],\"footerHeight\":[16],\"renderItem\":[16],\"renderHeader\":[16],\"renderFooter\":[16],\"nodeRender\":[16],\"domRender\":[16],\"totalHeight\":[32],\"positionForItem\":[64],\"checkRange\":[64],\"checkEnd\":[64]},[[9,\"resize\",\"onResize\"]]]]],[\"sparkle-character-intro\",[[4,\"sparkle-character-intro\",{\"character\":[1],\"position\":[1]}]]],[\"sparkle-code\",[[0,\"sparkle-code\",{\"language\":[513],\"showCopyConfirmation\":[32]}]]],[\"sparkle-compass\",[[0,\"sparkle-compass\",{\"resiliance\":[514],\"care\":[514],\"organization\":[514],\"school\":[514],\"relationship\":[514],\"emotions\":[514],\"spirituality\":[514],\"rest\":[514],\"canvas\":[32],\"canvase_container\":[32],\"drawOnCompass\":[64]}]]],[\"sparkle-emoji\",[[1,\"sparkle-emoji\",{\"mood\":[1],\"size\":[1]}]]],[\"sparkle-gww-graph\",[[4,\"sparkle-gww-graph\"]]],[\"sparkle-intro\",[[0,\"sparkle-intro\",{\"description\":[32]}]]],[\"sparkle-menu-collapsible\",[[4,\"sparkle-menu-collapsible\",{\"heading\":[1],\"isOpen\":[32]}]]],[\"sparkle-modal-image\",[[1,\"sparkle-modal-image\",{\"src\":[1],\"alt\":[1],\"width\":[1],\"height\":[1],\"openDialog\":[1028,\"open-dialog\"],\"transparent\":[4]},[[0,\"keydown\",\"handleKeyDown\"],[2,\"click\",\"handleScroll\"]]]]],[\"sparkle-poll\",[[1,\"sparkle-poll\"]]],[\"sparkle-tab\",[[4,\"sparkle-tab\",{\"tab\":[513],\"selected\":[516]}]]],[\"sparkle-tabs\",[[4,\"sparkle-tabs\",{\"listenFor\":[1,\"listen-for\"],\"selected\":[32],\"tabs\":[32]},[[8,\"local-storage\",\"listenForFrameworkSelection\"]]]]],[\"sparkle-youtube\",[[0,\"sparkle-youtube\",{\"src\":[1],\"initialClassMode\":[4,\"initial-class-mode\"],\"classMode\":[32],\"video_thumbnail\":[32],\"classRoomModeChanged\":[64]}]]],[\"stencil-async-content\",[[0,\"stencil-async-content\",{\"documentLocation\":[1,\"document-location\"],\"content\":[32]}]]],[\"stencil-route-title\",[[0,\"stencil-route-title\",{\"titleSuffix\":[1,\"title-suffix\"],\"pageTitle\":[1,\"page-title\"]}]]],[\"stencil-router-prompt\",[[0,\"stencil-router-prompt\",{\"when\":[4],\"message\":[1],\"history\":[16],\"unblock\":[32]}]]],[\"sparkle-quiz\",[[4,\"sparkle-quiz\",{\"questionId\":[2,\"question-id\"],\"type\":[1],\"scale\":[1],\"questionText\":[1,\"question-text\"],\"showOptionNumber\":[4,\"show-option-number\"],\"submitted\":[4],\"correct\":[4],\"feedback\":[1],\"showInstantResult\":[4,\"show-instant-result\"],\"options\":[32]},[[0,\"quizInputChange\",\"quizInputChangeHandler\"],[0,\"quizFeedbackChange\",\"quizFeedbackChangeHandler\"],[0,\"quizSelectChange\",\"quizSelectChangeHandler\"],[0,\"quizOpinionChange\",\"quizOpinionChangeHandler\"]]]]],[\"sparkle-select\",[[0,\"sparkle-select\",{\"options\":[1040],\"initializer\":[16],\"optionRenderer\":[16],\"selected\":[32]}]]],[\"ion-picker-column\",[[32,\"ion-picker-column\",{\"col\":[16]}]]],[\"sparkle-overlay\",[[4,\"sparkle-overlay\",{\"titleId\":[1,\"title-id\"],\"absolute\":[4],\"theme\":[1],\"preventClose\":[4,\"prevent-close\"],\"focusIndex\":[32],\"isShowing\":[32],\"show\":[64],\"hide\":[64]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"ion-toggle\",[[33,\"ion-toggle\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"value\":[1],\"enableOnOffLabels\":[4,\"enable-on-off-labels\"],\"activated\":[32]}]]],[\"ion-action-sheet_4\",[[34,\"ion-select-popover\",{\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"multiple\":[4],\"options\":[16]},[[0,\"ionChange\",\"onSelect\"]]],[34,\"ion-action-sheet\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}],[34,\"ion-alert\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"buttons\":[16],\"inputs\":[1040],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]},[[4,\"keydown\",\"onKeydown\"]]],[33,\"ion-popover\",{\"hasController\":[4,\"has-controller\"],\"delegate\":[16],\"overlayIndex\":[2,\"overlay-index\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"component\":[1],\"componentProps\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"event\":[8],\"showBackdrop\":[4,\"show-backdrop\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"triggerAction\":[1,\"trigger-action\"],\"trigger\":[1],\"size\":[1],\"dismissOnSelect\":[4,\"dismiss-on-select\"],\"reference\":[1],\"side\":[1],\"alignment\":[1025],\"arrow\":[4],\"isOpen\":[4,\"is-open\"],\"keyboardEvents\":[4,\"keyboard-events\"],\"keepContentsMounted\":[4,\"keep-contents-mounted\"],\"presented\":[32],\"presentFromTrigger\":[64],\"present\":[64],\"dismiss\":[64],\"getParentPopover\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-select_2\",[[33,\"ion-select\",{\"disabled\":[4],\"cancelText\":[1,\"cancel-text\"],\"okText\":[1,\"ok-text\"],\"placeholder\":[1],\"name\":[1],\"selectedText\":[1,\"selected-text\"],\"multiple\":[4],\"interface\":[1],\"interfaceOptions\":[8,\"interface-options\"],\"compareWith\":[1,\"compare-with\"],\"value\":[1032],\"isExpanded\":[32],\"open\":[64]}],[1,\"ion-select-option\",{\"disabled\":[4],\"value\":[8]}]]],[\"ion-back-button\",[[33,\"ion-back-button\",{\"color\":[513],\"defaultHref\":[1025,\"default-href\"],\"disabled\":[516],\"icon\":[1],\"text\":[1],\"type\":[1],\"routerAnimation\":[16]}]]],[\"ion-picker-column-internal_2\",[[33,\"ion-picker-column-internal\",{\"items\":[16],\"value\":[1032],\"color\":[513],\"numericInput\":[4,\"numeric-input\"],\"isActive\":[32],\"scrollActiveItemIntoView\":[64],\"setValue\":[64]}],[33,\"ion-picker-internal\"]]],[\"ion-textarea\",[[34,\"ion-textarea\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"autocapitalize\":[1],\"autofocus\":[4],\"clearOnEdit\":[1028,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"cols\":[2],\"rows\":[2],\"wrap\":[1],\"autoGrow\":[516,\"auto-grow\"],\"value\":[1025],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ion-content_2\",[[36,\"ion-header\",{\"collapse\":[1],\"translucent\":[4]}],[1,\"ion-content\",{\"color\":[513],\"fullscreen\":[4],\"forceOverscroll\":[1028,\"force-overscroll\"],\"scrollX\":[4,\"scroll-x\"],\"scrollY\":[4,\"scroll-y\"],\"scrollEvents\":[4,\"scroll-events\"],\"getScrollElement\":[64],\"scrollToTop\":[64],\"scrollToBottom\":[64],\"scrollByPoint\":[64],\"scrollToPoint\":[64]},[[8,\"appload\",\"onAppLoad\"]]]]],[\"ion-backdrop\",[[33,\"ion-backdrop\",{\"visible\":[4],\"tappable\":[4],\"stopPropagation\":[4,\"stop-propagation\"]},[[2,\"click\",\"onMouseDown\"]]]]],[\"ion-buttons_3\",[[33,\"ion-title\",{\"color\":[513],\"size\":[1]}],[33,\"ion-toolbar\",{\"color\":[513]},[[0,\"ionStyle\",\"childrenStyle\"]]],[34,\"ion-buttons\",{\"collapse\":[4]}]]],[\"header-mobile-collapse_61\",[[0,\"sparkle-course-root\",{\"isMenuToggled\":[32],\"tocData\":[32]}],[0,\"sparkle-login\",{\"history\":[16],\"notsignin\":[32],\"username\":[32],\"password\":[32],\"rememberMe\":[32],\"submitted\":[32]}],[0,\"sparkle-user-enrollment\",{\"enrollmentFormControls\":[32],\"enrollmentFormSubmitted\":[32]}],[0,\"sparkle-mood\",{\"history\":[16],\"loading\":[32],\"feeling\":[32],\"intensity\":[32],\"location\":[32],\"public\":[32],\"submitted\":[32],\"currentStep\":[32]}],[0,\"sparkle-signup\",{\"history\":[16],\"validationErrors\":[32],\"formControls\":[32],\"submitted\":[32]}],[0,\"sparkle-user-profile\",{\"profileFormControls\":[32],\"profileFormSubmitted\":[32]}],[0,\"sparkle-forgot-password\",{\"history\":[16],\"validationErrors\":[32],\"formControls\":[32],\"submitted\":[32]}],[0,\"sparkle-goals\"],[0,\"sparkle-health\",{\"history\":[16],\"uploadedImageUrl\":[32],\"heartRate\":[32],\"public\":[32],\"submitted\":[32]}],[0,\"sparkle-gww\"],[0,\"sparkle-reset-password\",{\"history\":[16],\"validationErrors\":[32],\"formControls\":[32],\"submitted\":[32]}],[0,\"sparkle-facilitator-page\",{\"path\":[1],\"notesPath\":[1,\"notes-path\"],\"badFetch\":[32],\"badFetchLessonNotes\":[32],\"isLesson\":[32],\"notesPage\":[32],\"lessonNotesPage\":[32],\"page\":[32],\"onlineStudents\":[32],\"activetab\":[32]}],[4,\"sparkle-header\",{\"authUser\":[8,\"auth-user\"],\"hideClassRoomToggle\":[4,\"hide-class-room-toggle\"],\"courseName\":[1,\"course-name\"],\"imageUrl\":[1,\"image-url\"],\"toggleClickFn\":[16],\"signoutClickFn\":[16],\"classRoomMode\":[32],\"hidden\":[32]},[[9,\"scroll\",\"handleScroll\"]]],[0,\"sparkle-menu\",{\"toggleClickFn\":[16],\"toc\":[16],\"config\":[16]}],[4,\"sparkle-facilitator-header\",{\"courseName\":[1,\"course-name\"],\"toggleStudentClickFn\":[16],\"hidden\":[32]},[[9,\"scroll\",\"handleScroll\"]]],[4,\"sparkle-page\",{\"history\":[16],\"path\":[1],\"presentation\":[4],\"badFetch\":[32],\"page\":[32],\"isLesson\":[32]}],[4,\"sparkle-root\",{\"config\":[16]}],[0,\"sparkle-unauthorized\"],[0,\"stencil-route\",{\"group\":[513],\"componentUpdated\":[16],\"match\":[1040],\"url\":[1],\"component\":[1],\"componentProps\":[16],\"exact\":[4],\"routeRender\":[16],\"scrollTopOffset\":[2,\"scroll-top-offset\"],\"routeViewsUpdated\":[16],\"location\":[16],\"history\":[16],\"historyType\":[1,\"history-type\"]}],[4,\"stencil-router\",{\"root\":[1],\"historyType\":[1,\"history-type\"],\"titleSuffix\":[1,\"title-suffix\"],\"scrollTopOffset\":[2,\"scroll-top-offset\"],\"location\":[32],\"history\":[32]}],[0,\"sparkle-gww-item\",{\"post\":[16],\"onPostComment\":[16],\"loading\":[4],\"comment\":[32]},[[16,\"commentPosted\",\"clearCommentField\"]]],[0,\"sparkle-goal-item\",{\"goal\":[16],\"onEditGoal\":[16]}],[0,\"sparkle-page-footer\",{\"page\":[16]}],[0,\"sparkle-nav\",{\"toc\":[16],\"config\":[16],\"selectedParent\":[1040],\"moduleURLName\":[32],\"sessionURLName\":[32]},[[4,\"pageDidLoad\",\"pageDidLoadHandler\"]]],[1,\"ion-grid\",{\"fixed\":[4]}],[4,\"sparkle-cards\"],[0,\"sparkle-export-lessons\",{\"tocData\":[32],\"moduleContent\":[32],\"moduleName\":[32],\"page\":[32]}],[0,\"sparkle-facilitator-dashboard\",{\"tocData\":[32],\"selectedModule\":[32],\"selectedSession\":[32],\"selectedPage\":[32],\"showAllModules\":[32]}],[0,\"sparkle-facilitator-notes\"],[0,\"sparkle-online-students\",{\"path\":[1],\"onlineStudents\":[32]}],[4,\"stencil-route-switch\",{\"group\":[513],\"scrollTopOffset\":[2,\"scroll-top-offset\"],\"location\":[16],\"routeViewsUpdated\":[16]}],[0,\"stencil-router-redirect\",{\"history\":[16],\"root\":[1],\"url\":[1]}],[4,\"sparkle-card\",{\"href\":[1],\"header\":[1],\"icon\":[1],\"hoverIcon\":[1,\"hover-icon\"],\"iconset\":[1],\"ionicon\":[1],\"img\":[1],\"size\":[1],\"activeIndex\":[32]}],[33,\"ion-card\",{\"color\":[513],\"button\":[4],\"type\":[1],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}],[4,\"sparkle-button\",{\"href\":[1],\"round\":[516],\"primary\":[516]}],[0,\"sparkle-pagination\",{\"page\":[16]}],[4,\"header-mobile-collapse\",{\"darkMode\":[4,\"dark-mode\"],\"mobileDropdownActive\":[32],\"stuck\":[32],\"queued\":[32]},[[16,\"pageChanged\",\"deactivate\"]]],[32,\"ion-card-content\"],[1,\"ion-col\",{\"offset\":[1],\"offsetXs\":[1,\"offset-xs\"],\"offsetSm\":[1,\"offset-sm\"],\"offsetMd\":[1,\"offset-md\"],\"offsetLg\":[1,\"offset-lg\"],\"offsetXl\":[1,\"offset-xl\"],\"pull\":[1],\"pullXs\":[1,\"pull-xs\"],\"pullSm\":[1,\"pull-sm\"],\"pullMd\":[1,\"pull-md\"],\"pullLg\":[1,\"pull-lg\"],\"pullXl\":[1,\"pull-xl\"],\"push\":[1],\"pushXs\":[1,\"push-xs\"],\"pushSm\":[1,\"push-sm\"],\"pushMd\":[1,\"push-md\"],\"pushLg\":[1,\"push-lg\"],\"pushXl\":[1,\"push-xl\"],\"size\":[1],\"sizeXs\":[1,\"size-xs\"],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]},[[9,\"resize\",\"onResize\"]]],[1,\"ion-row\"],[0,\"sparkle-menu-toggle\"],[4,\"sparkle-dropdown\",{\"align\":[1],\"label\":[1],\"icon\":[16],\"image\":[1],\"isOpen\":[32],\"close\":[64],\"open\":[64],\"toggle\":[64]},[[8,\"click\",\"handleClick\"],[0,\"keyup\",\"handleKeyup\"]]],[0,\"sparkle-validation-error\",{\"errors\":[16]}],[0,\"sparkle-goal-progress\",{\"percentage\":[1]}],[33,\"ion-avatar\"],[0,\"ion-radio-group\",{\"allowEmptySelection\":[4,\"allow-empty-selection\"],\"name\":[1],\"value\":[1032]},[[4,\"keydown\",\"onKeydown\"]]],[33,\"ion-checkbox\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"indeterminate\":[1028],\"disabled\":[4],\"value\":[8]}],[33,\"ion-radio\",{\"color\":[513],\"name\":[1],\"disabled\":[4],\"value\":[8],\"checked\":[32],\"buttonTabindex\":[32],\"setFocus\":[64],\"setButtonTabindex\":[64]}],[33,\"ion-range\",{\"color\":[513],\"debounce\":[2],\"name\":[1],\"dualKnobs\":[4,\"dual-knobs\"],\"min\":[2],\"max\":[2],\"pin\":[4],\"pinFormatter\":[16],\"snaps\":[4],\"step\":[2],\"ticks\":[4],\"activeBarStart\":[1026,\"active-bar-start\"],\"disabled\":[4],\"value\":[1026],\"ratioA\":[32],\"ratioB\":[32],\"pressedKnob\":[32]}],[33,\"ion-list-header\",{\"color\":[513],\"lines\":[1]}],[1,\"ion-text\",{\"color\":[513]}],[34,\"ion-input\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"accept\":[1],\"autocapitalize\":[1],\"autocomplete\":[1],\"autocorrect\":[1],\"autofocus\":[4],\"clearInput\":[4,\"clear-input\"],\"clearOnEdit\":[4,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"enterkeyhint\":[1],\"inputmode\":[1],\"max\":[8],\"maxlength\":[2],\"min\":[8],\"minlength\":[2],\"multiple\":[4],\"name\":[1],\"pattern\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"step\":[1],\"size\":[2],\"type\":[1],\"value\":[1032],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}],[32,\"ion-list\",{\"lines\":[1],\"inset\":[4],\"closeSlidingItems\":[64]}],[1,\"ion-spinner\",{\"color\":[513],\"duration\":[2],\"name\":[1],\"paused\":[4]}],[34,\"ion-label\",{\"color\":[513],\"position\":[1],\"noAnimate\":[32]}],[4,\"stencil-route-link\",{\"url\":[1],\"urlMatch\":[1,\"url-match\"],\"activeClass\":[1,\"active-class\"],\"exact\":[4],\"strict\":[4],\"custom\":[1],\"anchorClass\":[1,\"anchor-class\"],\"anchorRole\":[1,\"anchor-role\"],\"anchorTitle\":[1,\"anchor-title\"],\"anchorTabIndex\":[1,\"anchor-tab-index\"],\"anchorId\":[1,\"anchor-id\"],\"history\":[16],\"location\":[16],\"root\":[1],\"ariaHaspopup\":[1,\"aria-haspopup\"],\"ariaPosinset\":[1,\"aria-posinset\"],\"ariaSetsize\":[2,\"aria-setsize\"],\"ariaLabel\":[1,\"aria-label\"],\"match\":[32]}],[33,\"ion-button\",{\"color\":[513],\"buttonType\":[1025,\"button-type\"],\"disabled\":[516],\"expand\":[513],\"fill\":[1537],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"download\":[1],\"href\":[1],\"rel\":[1],\"shape\":[513],\"size\":[513],\"strong\":[4],\"target\":[1],\"type\":[1]}],[49,\"ion-item\",{\"color\":[513],\"button\":[4],\"detail\":[4],\"detailIcon\":[1,\"detail-icon\"],\"disabled\":[4],\"download\":[1],\"fill\":[1],\"shape\":[1],\"href\":[1],\"rel\":[1],\"lines\":[1],\"counter\":[4],\"routerAnimation\":[16],\"routerDirection\":[1,\"router-direction\"],\"target\":[1],\"type\":[1],\"counterFormatter\":[16],\"multipleInputs\":[32],\"focusable\":[32],\"counterString\":[32]},[[0,\"ionChange\",\"handleIonChange\"],[0,\"ionColor\",\"labelColorChanged\"],[0,\"ionStyle\",\"itemStyle\"]]],[33,\"ion-note\",{\"color\":[513]}],[1,\"ion-icon\",{\"mode\":[1025],\"color\":[1],\"ios\":[1],\"md\":[1],\"flipRtl\":[4,\"flip-rtl\"],\"name\":[513],\"src\":[1],\"icon\":[8],\"size\":[1],\"lazy\":[4],\"sanitize\":[4],\"svgContent\":[32],\"isVisible\":[32],\"ariaLabel\":[32]}],[1,\"ion-ripple-effect\",{\"type\":[1],\"addRipple\":[64]}]]],[\"sparkle-quiz-feedback_5\",[[0,\"sparkle-quiz-opinion\",{\"question\":[16],\"selectedIndex\":[32]}],[0,\"sparkle-quiz-feedback\",{\"question\":[16]}],[0,\"sparkle-quiz-input\",{\"question\":[16]}],[0,\"sparkle-quiz-poll\",{\"question\":[16]}],[0,\"sparkle-quiz-select\",{\"question\":[16],\"allowMultiple\":[4,\"allow-multiple\"],\"values\":[32]}]]]]"), options);
19
+ return bootstrapLazy(JSON.parse("[[\"sparkle-discussion\",[[0,\"sparkle-discussion\",{\"allowPostToFeed\":[4,\"allow-post-to-feed\"],\"feedStartingText\":[1,\"feed-starting-text\"],\"isTeacherMode\":[1028,\"is-teacher-mode\"],\"questionIds\":[1,\"question-ids\"],\"quizData\":[32]}]]],[\"sparkle-goal-form\",[[0,\"sparkle-goal-form\",{\"appData\":[16],\"name\":[32],\"description\":[32],\"category\":[32],\"progress\":[32],\"public\":[32],\"goalUpdateText\":[32],\"submitted\":[32]}]]],[\"sparkle-feedback\",[[0,\"sparkle-feedback\",{\"formControls\":[32],\"submitted\":[32]}]]],[\"ion-datetime\",[[33,\"ion-datetime\",{\"color\":[1],\"name\":[1],\"disabled\":[4],\"readonly\":[4],\"isDateEnabled\":[16],\"min\":[1025],\"max\":[1025],\"presentation\":[1],\"cancelText\":[1,\"cancel-text\"],\"doneText\":[1,\"done-text\"],\"clearText\":[1,\"clear-text\"],\"yearValues\":[8,\"year-values\"],\"monthValues\":[8,\"month-values\"],\"dayValues\":[8,\"day-values\"],\"hourValues\":[8,\"hour-values\"],\"minuteValues\":[8,\"minute-values\"],\"locale\":[1],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"multiple\":[4],\"value\":[1025],\"showDefaultTitle\":[4,\"show-default-title\"],\"showDefaultButtons\":[4,\"show-default-buttons\"],\"showClearButton\":[4,\"show-clear-button\"],\"showDefaultTimeLabel\":[4,\"show-default-time-label\"],\"hourCycle\":[1,\"hour-cycle\"],\"size\":[1],\"preferWheel\":[4,\"prefer-wheel\"],\"showMonthAndYear\":[32],\"activeParts\":[32],\"workingParts\":[32],\"isPresented\":[32],\"isTimePopoverOpen\":[32],\"confirm\":[64],\"reset\":[64],\"cancel\":[64]}]]],[\"sparkle-gww-comment-list\",[[0,\"sparkle-gww-comment-list\",{\"comments\":[16]}]]],[\"sparkle-quiz\",[[0,\"sparkle-quiz\",{\"questionId\":[2,\"question-id\"],\"submitted\":[4],\"correct\":[4],\"showInstantResult\":[4,\"show-instant-result\"],\"question\":[32],\"quizData\":[32]},[[0,\"quizInputChange\",\"quizInputChangeHandler\"],[0,\"quizFeedbackChange\",\"quizFeedbackChangeHandler\"],[0,\"quizSelectChange\",\"quizSelectChangeHandler\"],[0,\"quizOpinionChange\",\"quizOpinionChangeHandler\"]]]]],[\"sparkle-quiz-old\",[[4,\"sparkle-quiz-old\",{\"questionId\":[2,\"question-id\"],\"type\":[1],\"scale\":[1],\"questionText\":[1,\"question-text\"],\"showOptionNumber\":[4,\"show-option-number\"],\"submitted\":[4],\"correct\":[4],\"feedback\":[1],\"showInstantResult\":[4,\"show-instant-result\"],\"options\":[32]},[[0,\"quizInputChange\",\"quizInputChangeHandler\"],[0,\"quizFeedbackChange\",\"quizFeedbackChangeHandler\"],[0,\"quizSelectChange\",\"quizSelectChangeHandler\"],[0,\"quizOpinionChange\",\"quizOpinionChangeHandler\"]]]]],[\"sparkle-compass-post\",[[0,\"sparkle-compass-post\",{\"errorMessage\":[32],\"successMessage\":[32],\"resiliance\":[32],\"care\":[32],\"compassData\":[32],\"renderCompass\":[64]}]]],[\"sparkle-animation-player\",[[0,\"sparkle-animation-player\",{\"src\":[1],\"composition\":[1],\"initialClassMode\":[4,\"initial-class-mode\"],\"classMode\":[32],\"showCaption\":[32],\"paused\":[32],\"sizeOfCanvas\":[32],\"sizeofProgressBar\":[32],\"dataLoaded\":[32],\"currentProgressWidth\":[32],\"captionText\":[32],\"showFirstFrame\":[32],\"isBusy\":[32],\"playAnimation\":[64],\"pauseAnimation\":[64],\"classRoomModeChanged\":[64],\"destroyAnimation\":[64]},[[0,\"ionChange\",\"closedCaptionChange\"],[16,\"classRoomModeChanged\",\"onClassRoomModeChanged\"]]]]],[\"sparkle-facilitator-notes-form\",[[0,\"sparkle-facilitator-notes-form\",{\"initialValues\":[16],\"formControls\":[32],\"submitted\":[32]}]]],[\"sparkle-sidebar\",[[4,\"sparkle-sidebar\",{\"position\":[1],\"size\":[1],\"headerText\":[1,\"header-text\"],\"isShowing\":[32],\"hide\":[64],\"show\":[64]}]]],[\"course-select\",[[0,\"course-select\",{\"toggleClickFn\":[16]}]]],[\"ion-fab-button\",[[33,\"ion-fab-button\",{\"color\":[513],\"activated\":[4],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1],\"show\":[4],\"translucent\":[4],\"type\":[1],\"size\":[1],\"closeIcon\":[1,\"close-icon\"]}]]],[\"ion-loading\",[[34,\"ion-loading\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"message\":[1],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"spinner\":[1025],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-menu-button\",[[33,\"ion-menu-button\",{\"color\":[513],\"disabled\":[4],\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"type\":[1],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-picker\",[[34,\"ion-picker\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"columns\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"showBackdrop\":[4,\"show-backdrop\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"animated\":[4],\"htmlAttributes\":[16],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"getColumn\":[64]}]]],[\"ion-refresher-content\",[[0,\"ion-refresher-content\",{\"pullingIcon\":[1025,\"pulling-icon\"],\"pullingText\":[1,\"pulling-text\"],\"refreshingSpinner\":[1025,\"refreshing-spinner\"],\"refreshingText\":[1,\"refreshing-text\"]}]]],[\"ion-toast\",[[33,\"ion-toast\",{\"overlayIndex\":[2,\"overlay-index\"],\"color\":[513],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"header\":[1],\"message\":[1],\"keyboardClose\":[4,\"keyboard-close\"],\"position\":[1],\"buttons\":[16],\"translucent\":[4],\"animated\":[4],\"icon\":[1],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"sparkle-quiz-container\",[[0,\"sparkle-quiz-container\",{\"questionIds\":[1,\"question-ids\"],\"showInstantResult\":[4,\"show-instant-result\"],\"submitted\":[32]},[[4,\"pageDidLoad\",\"pageDidLoadHandler\"],[16,\"quizAnswerChanged\",\"updateQuizAnswerModelHandler\"]]]]],[\"ion-accordion\",[[49,\"ion-accordion\",{\"value\":[1],\"disabled\":[4],\"readonly\":[4],\"toggleIcon\":[1,\"toggle-icon\"],\"toggleIconSlot\":[1,\"toggle-icon-slot\"],\"state\":[32],\"isNext\":[32],\"isPrevious\":[32]}]]],[\"ion-breadcrumb\",[[33,\"ion-breadcrumb\",{\"collapsed\":[4],\"last\":[4],\"showCollapsedIndicator\":[4,\"show-collapsed-indicator\"],\"color\":[1],\"active\":[4],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"separator\":[4],\"target\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-chip\",[[33,\"ion-chip\",{\"color\":[513],\"outline\":[4],\"disabled\":[4]}]]],[\"ion-datetime-button\",[[33,\"ion-datetime-button\",{\"color\":[513],\"disabled\":[516],\"datetime\":[1],\"datetimePresentation\":[32],\"dateText\":[32],\"timeText\":[32],\"datetimeActive\":[32],\"selectedButton\":[32]}]]],[\"ion-infinite-scroll-content\",[[32,\"ion-infinite-scroll-content\",{\"loadingSpinner\":[1025,\"loading-spinner\"],\"loadingText\":[1,\"loading-text\"]}]]],[\"ion-item-option\",[[33,\"ion-item-option\",{\"color\":[513],\"disabled\":[4],\"download\":[1],\"expandable\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"type\":[1]}]]],[\"ion-menu\",[[33,\"ion-menu\",{\"contentId\":[513,\"content-id\"],\"menuId\":[513,\"menu-id\"],\"type\":[1025],\"disabled\":[1028],\"side\":[513],\"swipeGesture\":[4,\"swipe-gesture\"],\"maxEdgeStart\":[2,\"max-edge-start\"],\"isPaneVisible\":[32],\"isEndSide\":[32],\"isOpen\":[64],\"isActive\":[64],\"open\":[64],\"close\":[64],\"toggle\":[64],\"setOpen\":[64]},[[16,\"ionSplitPaneVisible\",\"onSplitPaneChanged\"],[2,\"click\",\"onBackdropClick\"],[0,\"keydown\",\"onKeydown\"]]]]],[\"ion-modal\",[[33,\"ion-modal\",{\"hasController\":[4,\"has-controller\"],\"overlayIndex\":[2,\"overlay-index\"],\"delegate\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"breakpoints\":[16],\"initialBreakpoint\":[2,\"initial-breakpoint\"],\"backdropBreakpoint\":[2,\"backdrop-breakpoint\"],\"handle\":[4],\"handleBehavior\":[1,\"handle-behavior\"],\"component\":[1],\"componentProps\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"animated\":[4],\"swipeToClose\":[4,\"swipe-to-close\"],\"presentingElement\":[16],\"htmlAttributes\":[16],\"isOpen\":[4,\"is-open\"],\"trigger\":[1],\"keepContentsMounted\":[4,\"keep-contents-mounted\"],\"canDismiss\":[4,\"can-dismiss\"],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"setCurrentBreakpoint\":[64],\"getCurrentBreakpoint\":[64]}]]],[\"ion-reorder\",[[33,\"ion-reorder\",null,[[2,\"click\",\"onClick\"]]]]],[\"ion-searchbar\",[[34,\"ion-searchbar\",{\"color\":[513],\"animated\":[4],\"autocomplete\":[1],\"autocorrect\":[1],\"cancelButtonIcon\":[1,\"cancel-button-icon\"],\"cancelButtonText\":[1,\"cancel-button-text\"],\"clearIcon\":[1,\"clear-icon\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"placeholder\":[1],\"searchIcon\":[1,\"search-icon\"],\"showCancelButton\":[1,\"show-cancel-button\"],\"showClearButton\":[1,\"show-clear-button\"],\"spellcheck\":[4],\"type\":[1],\"value\":[1025],\"focused\":[32],\"noAnimate\":[32],\"setFocus\":[64],\"getInputElement\":[64]}]]],[\"ion-segment-button\",[[33,\"ion-segment-button\",{\"disabled\":[4],\"layout\":[1],\"type\":[1],\"value\":[1],\"checked\":[32]}]]],[\"ion-tab-button\",[[33,\"ion-tab-button\",{\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"layout\":[1025],\"selected\":[1028],\"tab\":[1],\"target\":[1]},[[8,\"ionTabBarChanged\",\"onTabBarChanged\"]]]]],[\"sparkle-lower-content-nav\",[[0,\"sparkle-lower-content-nav\",{\"next\":[16],\"prev\":[16]}]]],[\"sparkle-notfound-page\",[[0,\"sparkle-notfound-page\"]]],[\"sparkle-table-of-contents\",[[0,\"sparkle-table-of-contents\",{\"links\":[16],\"label\":[1],\"basepath\":[1],\"itemOffsets\":[32],\"selectedId\":[32],\"pageWidth\":[32]},[[9,\"scroll\",\"function\"],[9,\"resize\",\"updateItemOffsets\"]]]]],[\"compass-svg\",[[0,\"compass-svg\"]]],[\"context-consumer\",[[0,\"context-consumer\",{\"context\":[16],\"renderer\":[16],\"subscribe\":[16],\"unsubscribe\":[32]}]]],[\"ion-accordion-group\",[[33,\"ion-accordion-group\",{\"animated\":[4],\"multiple\":[4],\"value\":[1025],\"disabled\":[4],\"readonly\":[4],\"expand\":[1],\"requestAccordionToggle\":[64],\"getAccordions\":[64]},[[0,\"keydown\",\"onKeydown\"]]]]],[\"ion-app\",[[0,\"ion-app\",{\"setFocus\":[64]}]]],[\"ion-badge\",[[33,\"ion-badge\",{\"color\":[513]}]]],[\"ion-breadcrumbs\",[[33,\"ion-breadcrumbs\",{\"color\":[1],\"maxItems\":[2,\"max-items\"],\"itemsBeforeCollapse\":[2,\"items-before-collapse\"],\"itemsAfterCollapse\":[2,\"items-after-collapse\"],\"collapsed\":[32],\"activeChanged\":[32]},[[0,\"collapsedClick\",\"onCollapsedClick\"]]]]],[\"ion-card-header\",[[33,\"ion-card-header\",{\"color\":[513],\"translucent\":[4]}]]],[\"ion-card-subtitle\",[[33,\"ion-card-subtitle\",{\"color\":[513]}]]],[\"ion-card-title\",[[33,\"ion-card-title\",{\"color\":[513]}]]],[\"ion-fab\",[[1,\"ion-fab\",{\"horizontal\":[1],\"vertical\":[1],\"edge\":[4],\"activated\":[1028],\"close\":[64],\"toggle\":[64]}]]],[\"ion-fab-list\",[[1,\"ion-fab-list\",{\"activated\":[4],\"side\":[1]}]]],[\"ion-footer\",[[36,\"ion-footer\",{\"collapse\":[1],\"translucent\":[4]}]]],[\"ion-img\",[[1,\"ion-img\",{\"alt\":[1],\"src\":[1],\"loadSrc\":[32],\"loadError\":[32]}]]],[\"ion-infinite-scroll\",[[0,\"ion-infinite-scroll\",{\"threshold\":[1],\"disabled\":[4],\"position\":[1],\"isLoading\":[32],\"complete\":[64]}]]],[\"ion-item-divider\",[[33,\"ion-item-divider\",{\"color\":[513],\"sticky\":[4]}]]],[\"ion-item-group\",[[32,\"ion-item-group\"]]],[\"ion-item-options\",[[32,\"ion-item-options\",{\"side\":[1],\"fireSwipeEvent\":[64]}]]],[\"ion-item-sliding\",[[0,\"ion-item-sliding\",{\"disabled\":[4],\"state\":[32],\"getOpenAmount\":[64],\"getSlidingRatio\":[64],\"open\":[64],\"close\":[64],\"closeOpened\":[64]}]]],[\"ion-menu-toggle\",[[1,\"ion-menu-toggle\",{\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-nav\",[[1,\"ion-nav\",{\"delegate\":[16],\"swipeGesture\":[1028,\"swipe-gesture\"],\"animated\":[4],\"animation\":[16],\"rootParams\":[16],\"root\":[1],\"push\":[64],\"insert\":[64],\"insertPages\":[64],\"pop\":[64],\"popTo\":[64],\"popToRoot\":[64],\"removeIndex\":[64],\"setRoot\":[64],\"setPages\":[64],\"setRouteId\":[64],\"getRouteId\":[64],\"getActive\":[64],\"getByIndex\":[64],\"canGoBack\":[64],\"getPrevious\":[64]}]]],[\"ion-nav-link\",[[0,\"ion-nav-link\",{\"component\":[1],\"componentProps\":[16],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-progress-bar\",[[33,\"ion-progress-bar\",{\"type\":[1],\"reversed\":[4],\"value\":[2],\"buffer\":[2],\"color\":[513]}]]],[\"ion-refresher\",[[32,\"ion-refresher\",{\"pullMin\":[2,\"pull-min\"],\"pullMax\":[2,\"pull-max\"],\"closeDuration\":[1,\"close-duration\"],\"snapbackDuration\":[1,\"snapback-duration\"],\"pullFactor\":[2,\"pull-factor\"],\"disabled\":[4],\"nativeRefresher\":[32],\"state\":[32],\"complete\":[64],\"cancel\":[64],\"getProgress\":[64]}]]],[\"ion-reorder-group\",[[0,\"ion-reorder-group\",{\"disabled\":[4],\"state\":[32],\"complete\":[64]}]]],[\"ion-route\",[[0,\"ion-route\",{\"url\":[1],\"component\":[1],\"componentProps\":[16],\"beforeLeave\":[16],\"beforeEnter\":[16]}]]],[\"ion-route-redirect\",[[0,\"ion-route-redirect\",{\"from\":[1],\"to\":[1]}]]],[\"ion-router\",[[0,\"ion-router\",{\"root\":[1],\"useHash\":[4,\"use-hash\"],\"canTransition\":[64],\"push\":[64],\"back\":[64],\"printDebug\":[64],\"navChanged\":[64]},[[8,\"popstate\",\"onPopState\"],[4,\"ionBackButton\",\"onBackButton\"]]]]],[\"ion-router-link\",[[1,\"ion-router-link\",{\"color\":[513],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}]]],[\"ion-router-outlet\",[[1,\"ion-router-outlet\",{\"mode\":[1025],\"delegate\":[16],\"animated\":[4],\"animation\":[16],\"swipeHandler\":[16],\"commit\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-segment\",[[33,\"ion-segment\",{\"color\":[513],\"disabled\":[4],\"scrollable\":[4],\"swipeGesture\":[4,\"swipe-gesture\"],\"value\":[1025],\"selectOnFocus\":[4,\"select-on-focus\"],\"activated\":[32]},[[0,\"keydown\",\"onKeyDown\"]]]]],[\"ion-skeleton-text\",[[1,\"ion-skeleton-text\",{\"animated\":[4]}]]],[\"ion-slide\",[[0,\"ion-slide\"]]],[\"ion-slides\",[[36,\"ion-slides\",{\"options\":[8],\"pager\":[4],\"scrollbar\":[4],\"update\":[64],\"updateAutoHeight\":[64],\"slideTo\":[64],\"slideNext\":[64],\"slidePrev\":[64],\"getActiveIndex\":[64],\"getPreviousIndex\":[64],\"length\":[64],\"isEnd\":[64],\"isBeginning\":[64],\"startAutoplay\":[64],\"stopAutoplay\":[64],\"lockSwipeToNext\":[64],\"lockSwipeToPrev\":[64],\"lockSwipes\":[64],\"getSwiper\":[64]}]]],[\"ion-split-pane\",[[33,\"ion-split-pane\",{\"contentId\":[513,\"content-id\"],\"disabled\":[4],\"when\":[8],\"visible\":[32]}]]],[\"ion-tab\",[[1,\"ion-tab\",{\"active\":[1028],\"delegate\":[16],\"tab\":[1],\"component\":[1],\"setActive\":[64]}]]],[\"ion-tab-bar\",[[33,\"ion-tab-bar\",{\"color\":[513],\"selectedTab\":[1,\"selected-tab\"],\"translucent\":[4],\"keyboardVisible\":[32]}]]],[\"ion-tabs\",[[1,\"ion-tabs\",{\"useRouter\":[1028,\"use-router\"],\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-thumbnail\",[[1,\"ion-thumbnail\"]]],[\"ion-virtual-scroll\",[[0,\"ion-virtual-scroll\",{\"approxItemHeight\":[2,\"approx-item-height\"],\"approxHeaderHeight\":[2,\"approx-header-height\"],\"approxFooterHeight\":[2,\"approx-footer-height\"],\"headerFn\":[16],\"footerFn\":[16],\"items\":[16],\"itemHeight\":[16],\"headerHeight\":[16],\"footerHeight\":[16],\"renderItem\":[16],\"renderHeader\":[16],\"renderFooter\":[16],\"nodeRender\":[16],\"domRender\":[16],\"totalHeight\":[32],\"positionForItem\":[64],\"checkRange\":[64],\"checkEnd\":[64]},[[9,\"resize\",\"onResize\"]]]]],[\"sparkle-assignment\",[[0,\"sparkle-assignment\",{\"submitted\":[32]}]]],[\"sparkle-character-intro\",[[4,\"sparkle-character-intro\",{\"character\":[1],\"position\":[1]}]]],[\"sparkle-code\",[[0,\"sparkle-code\",{\"language\":[513],\"showCopyConfirmation\":[32]}]]],[\"sparkle-compass\",[[0,\"sparkle-compass\",{\"resiliance\":[514],\"care\":[514],\"organization\":[514],\"school\":[514],\"relationship\":[514],\"emotions\":[514],\"spirituality\":[514],\"rest\":[514],\"canvas\":[32],\"canvase_container\":[32],\"drawOnCompass\":[64]}]]],[\"sparkle-emoji\",[[1,\"sparkle-emoji\",{\"mood\":[1],\"size\":[1]}]]],[\"sparkle-gww-graph\",[[4,\"sparkle-gww-graph\"]]],[\"sparkle-intro\",[[0,\"sparkle-intro\",{\"description\":[32]}]]],[\"sparkle-menu-collapsible\",[[4,\"sparkle-menu-collapsible\",{\"heading\":[1],\"isOpen\":[32]}]]],[\"sparkle-modal-image\",[[1,\"sparkle-modal-image\",{\"src\":[1],\"alt\":[1],\"width\":[1],\"height\":[1],\"openDialog\":[1028,\"open-dialog\"],\"transparent\":[4]},[[0,\"keydown\",\"handleKeyDown\"],[2,\"click\",\"handleScroll\"]]]]],[\"sparkle-poll\",[[1,\"sparkle-poll\"]]],[\"sparkle-tab\",[[4,\"sparkle-tab\",{\"tab\":[513],\"selected\":[516]}]]],[\"sparkle-tabs\",[[4,\"sparkle-tabs\",{\"listenFor\":[1,\"listen-for\"],\"selected\":[32],\"tabs\":[32]},[[8,\"local-storage\",\"listenForFrameworkSelection\"]]]]],[\"sparkle-youtube\",[[0,\"sparkle-youtube\",{\"src\":[1],\"initialClassMode\":[4,\"initial-class-mode\"],\"classMode\":[32],\"video_thumbnail\":[32],\"classRoomModeChanged\":[64]}]]],[\"stencil-async-content\",[[0,\"stencil-async-content\",{\"documentLocation\":[1,\"document-location\"],\"content\":[32]}]]],[\"stencil-route-title\",[[0,\"stencil-route-title\",{\"titleSuffix\":[1,\"title-suffix\"],\"pageTitle\":[1,\"page-title\"]}]]],[\"stencil-router-prompt\",[[0,\"stencil-router-prompt\",{\"when\":[4],\"message\":[1],\"history\":[16],\"unblock\":[32]}]]],[\"sparkle-select\",[[0,\"sparkle-select\",{\"options\":[1040],\"initializer\":[16],\"optionRenderer\":[16],\"selected\":[32]}]]],[\"ion-picker-column\",[[32,\"ion-picker-column\",{\"col\":[16]}]]],[\"sparkle-overlay\",[[4,\"sparkle-overlay\",{\"titleId\":[1,\"title-id\"],\"absolute\":[4],\"theme\":[1],\"preventClose\":[4,\"prevent-close\"],\"focusIndex\":[32],\"isShowing\":[32],\"show\":[64],\"hide\":[64]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"ion-action-sheet_4\",[[34,\"ion-select-popover\",{\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"multiple\":[4],\"options\":[16]},[[0,\"ionChange\",\"onSelect\"]]],[34,\"ion-action-sheet\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}],[34,\"ion-alert\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"buttons\":[16],\"inputs\":[1040],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]},[[4,\"keydown\",\"onKeydown\"]]],[33,\"ion-popover\",{\"hasController\":[4,\"has-controller\"],\"delegate\":[16],\"overlayIndex\":[2,\"overlay-index\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"component\":[1],\"componentProps\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"event\":[8],\"showBackdrop\":[4,\"show-backdrop\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"triggerAction\":[1,\"trigger-action\"],\"trigger\":[1],\"size\":[1],\"dismissOnSelect\":[4,\"dismiss-on-select\"],\"reference\":[1],\"side\":[1],\"alignment\":[1025],\"arrow\":[4],\"isOpen\":[4,\"is-open\"],\"keyboardEvents\":[4,\"keyboard-events\"],\"keepContentsMounted\":[4,\"keep-contents-mounted\"],\"presented\":[32],\"presentFromTrigger\":[64],\"present\":[64],\"dismiss\":[64],\"getParentPopover\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"sparkle-discussion-questions_2\",[[0,\"sparkle-discussion-questions\",{\"allowPostToFeed\":[4,\"allow-post-to-feed\"],\"postToFeedAssignmentName\":[1,\"post-to-feed-assignment-name\"],\"feedStartingText\":[1,\"feed-starting-text\"],\"isTeacherMode\":[4,\"is-teacher-mode\"],\"questions\":[16],\"error\":[32],\"modelChange\":[32],\"responses\":[32],\"suggestionList\":[32],\"postToFeedTextValue\":[32]}],[0,\"sparkle-discussion-results\",{\"allowPostToFeed\":[4,\"allow-post-to-feed\"],\"feedStartingText\":[1,\"feed-starting-text\"],\"isTeacherMode\":[4,\"is-teacher-mode\"],\"questions\":[16],\"error\":[32],\"modelChange\":[32],\"responses\":[32],\"suggestionList\":[32]},[[16,\"receivedPollSubmissionSignalREvent\",\"gotServerUpdate\"]]]]],[\"ion-back-button\",[[33,\"ion-back-button\",{\"color\":[513],\"defaultHref\":[1025,\"default-href\"],\"disabled\":[516],\"icon\":[1],\"text\":[1],\"type\":[1],\"routerAnimation\":[16]}]]],[\"ion-picker-column-internal_2\",[[33,\"ion-picker-column-internal\",{\"items\":[16],\"value\":[1032],\"color\":[513],\"numericInput\":[4,\"numeric-input\"],\"isActive\":[32],\"scrollActiveItemIntoView\":[64],\"setValue\":[64]}],[33,\"ion-picker-internal\"]]],[\"ion-toggle\",[[33,\"ion-toggle\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"value\":[1],\"enableOnOffLabels\":[4,\"enable-on-off-labels\"],\"activated\":[32]}]]],[\"ion-content_2\",[[36,\"ion-header\",{\"collapse\":[1],\"translucent\":[4]}],[1,\"ion-content\",{\"color\":[513],\"fullscreen\":[4],\"forceOverscroll\":[1028,\"force-overscroll\"],\"scrollX\":[4,\"scroll-x\"],\"scrollY\":[4,\"scroll-y\"],\"scrollEvents\":[4,\"scroll-events\"],\"getScrollElement\":[64],\"scrollToTop\":[64],\"scrollToBottom\":[64],\"scrollByPoint\":[64],\"scrollToPoint\":[64]},[[8,\"appload\",\"onAppLoad\"]]]]],[\"ion-textarea\",[[34,\"ion-textarea\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"autocapitalize\":[1],\"autofocus\":[4],\"clearOnEdit\":[1028,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"cols\":[2],\"rows\":[2],\"wrap\":[1],\"autoGrow\":[516,\"auto-grow\"],\"value\":[1025],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ion-backdrop\",[[33,\"ion-backdrop\",{\"visible\":[4],\"tappable\":[4],\"stopPropagation\":[4,\"stop-propagation\"]},[[2,\"click\",\"onMouseDown\"]]]]],[\"ion-select_3\",[[4,\"sparkle-feed-post\",{\"assignmentName\":[1025,\"assignment-name\"],\"textValue\":[1,\"text-value\"],\"postText\":[32],\"errorMessage\":[32],\"uploadedImage\":[32],\"successMessage\":[32],\"externalResourceUrl\":[32],\"uploadImageLoading\":[32],\"postLoading\":[32],\"setText\":[64]}],[33,\"ion-select\",{\"disabled\":[4],\"cancelText\":[1,\"cancel-text\"],\"okText\":[1,\"ok-text\"],\"placeholder\":[1],\"name\":[1],\"selectedText\":[1,\"selected-text\"],\"multiple\":[4],\"interface\":[1],\"interfaceOptions\":[8,\"interface-options\"],\"compareWith\":[1,\"compare-with\"],\"value\":[1032],\"isExpanded\":[32],\"open\":[64]}],[1,\"ion-select-option\",{\"disabled\":[4],\"value\":[8]}]]],[\"sparkle-quiz-feedback_5\",[[0,\"sparkle-quiz-opinion\",{\"question\":[16],\"selectedIndex\":[32]}],[0,\"sparkle-quiz-feedback\",{\"question\":[16]}],[0,\"sparkle-quiz-input\",{\"question\":[16]}],[0,\"sparkle-quiz-poll\",{\"question\":[16]}],[0,\"sparkle-quiz-select\",{\"question\":[16],\"allowMultiple\":[4,\"allow-multiple\"],\"values\":[32]}]]],[\"ion-buttons_3\",[[33,\"ion-title\",{\"color\":[513],\"size\":[1]}],[33,\"ion-toolbar\",{\"color\":[513]},[[0,\"ionStyle\",\"childrenStyle\"]]],[34,\"ion-buttons\",{\"collapse\":[4]}]]],[\"header-mobile-collapse_61\",[[0,\"sparkle-course-root\",{\"isMenuToggled\":[32],\"tocData\":[32]},[[0,\"userDidLogIn\",\"useDidLogin\"]]],[0,\"sparkle-login\",{\"history\":[16],\"notsignin\":[32],\"username\":[32],\"password\":[32],\"rememberMe\":[32],\"submitted\":[32]}],[0,\"sparkle-user-enrollment\",{\"enrollmentFormControls\":[32],\"enrollmentFormSubmitted\":[32]}],[0,\"sparkle-mood\",{\"history\":[16],\"loading\":[32],\"feeling\":[32],\"intensity\":[32],\"location\":[32],\"public\":[32],\"submitted\":[32],\"currentStep\":[32]}],[0,\"sparkle-signup\",{\"history\":[16],\"validationErrors\":[32],\"formControls\":[32],\"submitted\":[32]}],[0,\"sparkle-user-profile\",{\"profileFormControls\":[32],\"profileFormSubmitted\":[32]}],[0,\"sparkle-forgot-password\",{\"history\":[16],\"validationErrors\":[32],\"formControls\":[32],\"submitted\":[32]}],[0,\"sparkle-goals\"],[0,\"sparkle-health\",{\"history\":[16],\"uploadedImageUrl\":[32],\"heartRate\":[32],\"public\":[32],\"submitted\":[32]}],[0,\"sparkle-gww\"],[0,\"sparkle-reset-password\",{\"history\":[16],\"validationErrors\":[32],\"formControls\":[32],\"submitted\":[32]}],[0,\"sparkle-facilitator-page\",{\"path\":[1],\"notesPath\":[1,\"notes-path\"],\"badFetch\":[32],\"badFetchLessonNotes\":[32],\"isLesson\":[32],\"notesPage\":[32],\"lessonNotesPage\":[32],\"page\":[32],\"onlineStudents\":[32],\"activetab\":[32]}],[4,\"sparkle-header\",{\"authUser\":[8,\"auth-user\"],\"hideClassRoomToggle\":[4,\"hide-class-room-toggle\"],\"courseName\":[1,\"course-name\"],\"imageUrl\":[1,\"image-url\"],\"toggleClickFn\":[16],\"signoutClickFn\":[16],\"classRoomMode\":[32],\"hidden\":[32]},[[9,\"scroll\",\"handleScroll\"]]],[0,\"sparkle-menu\",{\"toggleClickFn\":[16],\"toc\":[16],\"config\":[16]}],[4,\"sparkle-facilitator-header\",{\"courseName\":[1,\"course-name\"],\"toggleStudentClickFn\":[16],\"hidden\":[32]},[[9,\"scroll\",\"handleScroll\"]]],[4,\"sparkle-page\",{\"history\":[16],\"path\":[1],\"presentation\":[4],\"badFetch\":[32],\"page\":[32],\"isLesson\":[32]}],[4,\"sparkle-root\",{\"config\":[16]}],[0,\"sparkle-unauthorized\"],[0,\"stencil-route\",{\"group\":[513],\"componentUpdated\":[16],\"match\":[1040],\"url\":[1],\"component\":[1],\"componentProps\":[16],\"exact\":[4],\"routeRender\":[16],\"scrollTopOffset\":[2,\"scroll-top-offset\"],\"routeViewsUpdated\":[16],\"location\":[16],\"history\":[16],\"historyType\":[1,\"history-type\"]}],[4,\"stencil-router\",{\"root\":[1],\"historyType\":[1,\"history-type\"],\"titleSuffix\":[1,\"title-suffix\"],\"scrollTopOffset\":[2,\"scroll-top-offset\"],\"location\":[32],\"history\":[32]}],[0,\"sparkle-gww-item\",{\"post\":[16],\"onPostComment\":[16],\"loading\":[4],\"comment\":[32]},[[16,\"commentPosted\",\"clearCommentField\"]]],[0,\"sparkle-goal-item\",{\"goal\":[16],\"onEditGoal\":[16]}],[0,\"sparkle-page-footer\",{\"page\":[16]}],[0,\"sparkle-nav\",{\"toc\":[16],\"config\":[16],\"selectedParent\":[1040],\"moduleURLName\":[32],\"sessionURLName\":[32]},[[4,\"pageDidLoad\",\"pageDidLoadHandler\"]]],[1,\"ion-grid\",{\"fixed\":[4]}],[4,\"sparkle-cards\"],[0,\"sparkle-export-lessons\",{\"tocData\":[32],\"moduleContent\":[32],\"moduleName\":[32],\"page\":[32]}],[0,\"sparkle-facilitator-dashboard\",{\"tocData\":[32],\"selectedModule\":[32],\"selectedSession\":[32],\"selectedPage\":[32],\"showAllModules\":[32]}],[0,\"sparkle-facilitator-notes\"],[0,\"sparkle-online-students\",{\"path\":[1],\"onlineStudents\":[32]}],[4,\"stencil-route-switch\",{\"group\":[513],\"scrollTopOffset\":[2,\"scroll-top-offset\"],\"location\":[16],\"routeViewsUpdated\":[16]}],[0,\"stencil-router-redirect\",{\"history\":[16],\"root\":[1],\"url\":[1]}],[4,\"sparkle-card\",{\"href\":[1],\"header\":[1],\"icon\":[1],\"hoverIcon\":[1,\"hover-icon\"],\"iconset\":[1],\"ionicon\":[1],\"img\":[1],\"size\":[1],\"activeIndex\":[32]}],[4,\"sparkle-button\",{\"href\":[1],\"round\":[516],\"primary\":[516]}],[0,\"sparkle-pagination\",{\"page\":[16]}],[4,\"header-mobile-collapse\",{\"darkMode\":[4,\"dark-mode\"],\"mobileDropdownActive\":[32],\"stuck\":[32],\"queued\":[32]},[[16,\"pageChanged\",\"deactivate\"]]],[1,\"ion-col\",{\"offset\":[1],\"offsetXs\":[1,\"offset-xs\"],\"offsetSm\":[1,\"offset-sm\"],\"offsetMd\":[1,\"offset-md\"],\"offsetLg\":[1,\"offset-lg\"],\"offsetXl\":[1,\"offset-xl\"],\"pull\":[1],\"pullXs\":[1,\"pull-xs\"],\"pullSm\":[1,\"pull-sm\"],\"pullMd\":[1,\"pull-md\"],\"pullLg\":[1,\"pull-lg\"],\"pullXl\":[1,\"pull-xl\"],\"push\":[1],\"pushXs\":[1,\"push-xs\"],\"pushSm\":[1,\"push-sm\"],\"pushMd\":[1,\"push-md\"],\"pushLg\":[1,\"push-lg\"],\"pushXl\":[1,\"push-xl\"],\"size\":[1],\"sizeXs\":[1,\"size-xs\"],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]},[[9,\"resize\",\"onResize\"]]],[1,\"ion-row\"],[0,\"sparkle-menu-toggle\"],[4,\"sparkle-dropdown\",{\"align\":[1],\"label\":[1],\"icon\":[16],\"image\":[1],\"isOpen\":[32],\"close\":[64],\"open\":[64],\"toggle\":[64]},[[8,\"click\",\"handleClick\"],[0,\"keyup\",\"handleKeyup\"]]],[0,\"sparkle-validation-error\",{\"errors\":[16]}],[33,\"ion-card\",{\"color\":[513],\"button\":[4],\"type\":[1],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}],[32,\"ion-card-content\"],[0,\"sparkle-goal-progress\",{\"percentage\":[1]}],[33,\"ion-range\",{\"color\":[513],\"debounce\":[2],\"name\":[1],\"dualKnobs\":[4,\"dual-knobs\"],\"min\":[2],\"max\":[2],\"pin\":[4],\"pinFormatter\":[16],\"snaps\":[4],\"step\":[2],\"ticks\":[4],\"activeBarStart\":[1026,\"active-bar-start\"],\"disabled\":[4],\"value\":[1026],\"ratioA\":[32],\"ratioB\":[32],\"pressedKnob\":[32]}],[33,\"ion-avatar\"],[0,\"ion-radio-group\",{\"allowEmptySelection\":[4,\"allow-empty-selection\"],\"name\":[1],\"value\":[1032]},[[4,\"keydown\",\"onKeydown\"]]],[1,\"ion-text\",{\"color\":[513]}],[33,\"ion-checkbox\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"indeterminate\":[1028],\"disabled\":[4],\"value\":[8]}],[33,\"ion-radio\",{\"color\":[513],\"name\":[1],\"disabled\":[4],\"value\":[8],\"checked\":[32],\"buttonTabindex\":[32],\"setFocus\":[64],\"setButtonTabindex\":[64]}],[33,\"ion-list-header\",{\"color\":[513],\"lines\":[1]}],[34,\"ion-input\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"accept\":[1],\"autocapitalize\":[1],\"autocomplete\":[1],\"autocorrect\":[1],\"autofocus\":[4],\"clearInput\":[4,\"clear-input\"],\"clearOnEdit\":[4,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"enterkeyhint\":[1],\"inputmode\":[1],\"max\":[8],\"maxlength\":[2],\"min\":[8],\"minlength\":[2],\"multiple\":[4],\"name\":[1],\"pattern\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"step\":[1],\"size\":[2],\"type\":[1],\"value\":[1032],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}],[32,\"ion-list\",{\"lines\":[1],\"inset\":[4],\"closeSlidingItems\":[64]}],[4,\"stencil-route-link\",{\"url\":[1],\"urlMatch\":[1,\"url-match\"],\"activeClass\":[1,\"active-class\"],\"exact\":[4],\"strict\":[4],\"custom\":[1],\"anchorClass\":[1,\"anchor-class\"],\"anchorRole\":[1,\"anchor-role\"],\"anchorTitle\":[1,\"anchor-title\"],\"anchorTabIndex\":[1,\"anchor-tab-index\"],\"anchorId\":[1,\"anchor-id\"],\"history\":[16],\"location\":[16],\"root\":[1],\"ariaHaspopup\":[1,\"aria-haspopup\"],\"ariaPosinset\":[1,\"aria-posinset\"],\"ariaSetsize\":[2,\"aria-setsize\"],\"ariaLabel\":[1,\"aria-label\"],\"match\":[32]}],[1,\"ion-spinner\",{\"color\":[513],\"duration\":[2],\"name\":[1],\"paused\":[4]}],[34,\"ion-label\",{\"color\":[513],\"position\":[1],\"noAnimate\":[32]}],[33,\"ion-button\",{\"color\":[513],\"buttonType\":[1025,\"button-type\"],\"disabled\":[516],\"expand\":[513],\"fill\":[1537],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"download\":[1],\"href\":[1],\"rel\":[1],\"shape\":[513],\"size\":[513],\"strong\":[4],\"target\":[1],\"type\":[1]}],[49,\"ion-item\",{\"color\":[513],\"button\":[4],\"detail\":[4],\"detailIcon\":[1,\"detail-icon\"],\"disabled\":[4],\"download\":[1],\"fill\":[1],\"shape\":[1],\"href\":[1],\"rel\":[1],\"lines\":[1],\"counter\":[4],\"routerAnimation\":[16],\"routerDirection\":[1,\"router-direction\"],\"target\":[1],\"type\":[1],\"counterFormatter\":[16],\"multipleInputs\":[32],\"focusable\":[32],\"counterString\":[32]},[[0,\"ionChange\",\"handleIonChange\"],[0,\"ionColor\",\"labelColorChanged\"],[0,\"ionStyle\",\"itemStyle\"]]],[33,\"ion-note\",{\"color\":[513]}],[1,\"ion-icon\",{\"mode\":[1025],\"color\":[1],\"ios\":[1],\"md\":[1],\"flipRtl\":[4,\"flip-rtl\"],\"name\":[513],\"src\":[1],\"icon\":[8],\"size\":[1],\"lazy\":[4],\"sanitize\":[4],\"svgContent\":[32],\"isVisible\":[32],\"ariaLabel\":[32]}],[1,\"ion-ripple-effect\",{\"type\":[1],\"addRipple\":[64]}]]]]"), options);
20
20
  });
@@ -0,0 +1,276 @@
1
+ import { r as registerInstance, h, e as getElement } from './index-c04b9ed5.js';
2
+ import { S as SignalRService, s as signalRStore } from './signalR.service-4a2d5a92.js';
3
+ import './environment-config.service-b191f276.js';
4
+ import './auth.store-dba2c2da.js';
5
+ import './token.service-20f1a256.js';
6
+ import './localstorage.service-4bf408c8.js';
7
+
8
+ const sparkleDiscussionQuestionsCss = "div.question{margin-bottom:5px}div.question ul{padding-left:5px}div.question li{list-style-type:none;cursor:pointer;background:#e5053a;border-radius:4px;vertical-align:middle;line-height:40px;padding-left:20px;color:#fff;margin-bottom:5px}.question h3{color:#333;padding-top:14px;margin-bottom:4px;font-size:16px}div.question li.selected{font-weight:bold;background:#9e0428}input[type='text']{width:100%;padding:12px 20px;margin:8px 0;box-sizing:border-box;border:2px solid #ccc;-webkit-transition:0.5s;transition:0.5s;outline:none}input[type='text']:focus{border:2px solid var(--ion-color-primary)}ion-item .item-native{padding-left:0px !important}ion-button.suggetion-btn{margin-left:0px !important}.graph-container{display:flex;flex-direction:row;flex-wrap:wrap;flex-direction:column}.graph-container .question-title{width:100%}.graph-container div.question{display:flex;flex-direction:column;justify-content:flex-end;flex-basis:100px}.graph-container div.question p{text-align:center}.answer-column{background-color:antiquewhite;flex:0 0 auto;text-align:center;color:#c0873c;flex-basis:100px}.toggle-mode{color:#888}.cloud{display:inline;list-style-type:none;width:400px}.cloud>div{list-style:none;display:inline;padding:20px}.cloud>div:nth-of-type(3n+1){font-size:1.25em}.cloud>div:nth-of-type(4n+3){font-size:1.5em}.cloud>div:nth-of-type(5n - 3){font-size:1em}.bar-graph-column{display:flex;align-items:flex-end}.bar-graph-questions{display:flex;align-items:flex-start}";
9
+
10
+ const SparkleDiscussionQuestions = class {
11
+ constructor(hostRef) {
12
+ registerInstance(this, hostRef);
13
+ this.allowPostToFeed = false;
14
+ this.feedStartingText = 'My suggestions are:';
15
+ this.isTeacherMode = false;
16
+ this.questions = [];
17
+ this.error = '';
18
+ this.modelChange = '';
19
+ this.responses = [];
20
+ this.tempResponses = [];
21
+ this.suggestionList = [];
22
+ this.postToFeedTextValue = '';
23
+ }
24
+ componentDidLoad() { }
25
+ resetPollData() {
26
+ SignalRService.getInstance().callSignalR('ResetPollData', {});
27
+ }
28
+ selectOption(evt, question, option) {
29
+ evt.target.parentElement.childNodes.forEach(e => e.classList.remove('selected'));
30
+ evt.target.classList.add('selected');
31
+ //console.log(question, option);
32
+ SignalRService.getInstance().callSignalR('PollSubmission', {
33
+ questionId: question.questionId,
34
+ question: question.questionText,
35
+ answer: option.option,
36
+ responseType: question.questionType,
37
+ pageUrl: window.location.href,
38
+ });
39
+ }
40
+ addSuggestion(evt, question) {
41
+ var inputVal = evt.target.parentElement.parentElement.querySelector('input[type=text]');
42
+ if (inputVal.value == '' || !inputVal.value) {
43
+ this.error = 'Please enter the value';
44
+ }
45
+ else {
46
+ SignalRService.getInstance().callSignalR('PollSubmission', {
47
+ questionId: question.questionId,
48
+ question: question.questionText,
49
+ answer: inputVal.value,
50
+ responseType: question.questionType,
51
+ pageUrl: window.location.href,
52
+ });
53
+ // this.dataSvc.callSignalR(
54
+ // {
55
+ // questionId: question.questionId,
56
+ // question: question.question,
57
+ // answer: inputVal.value,
58
+ // responseType: question.responseType,
59
+ // },
60
+ // 'PollSubmission',
61
+ // true,
62
+ // );
63
+ //&& question.updateFeedText
64
+ if (this.allowPostToFeed) {
65
+ this.suggestionList.push({ questionId: question.questionId, question: question.questionText, answer: inputVal.value, responseType: question.questionType });
66
+ let value = this.suggestionList
67
+ .map(x => x.answer)
68
+ .join(', ')
69
+ .toString();
70
+ this.postToFeedTextValue = this.feedStartingText + ' ' + value;
71
+ }
72
+ }
73
+ }
74
+ // async presentToast(message: string) {
75
+ // const toast = await this.toastCtrl.create({
76
+ // message: message,
77
+ // duration: 2000
78
+ // });
79
+ // await toast.present();
80
+ // }
81
+ toggleMode() {
82
+ this.isTeacherMode = !this.isTeacherMode;
83
+ }
84
+ renderOptions(question) {
85
+ if (question.questionType == 'MULTIPLE-CHOICE') {
86
+ return (h("ul", null, question.options.map(opt => (h("li", { onClick: evt => this.selectOption(evt, question, opt) }, opt.option)))));
87
+ }
88
+ else if (question.questionType == 'FEEDBACK') {
89
+ return (h("ion-item", null, h("ion-label", null, "Choose Option ", h("ion-icon", { name: "arrow-back", mode: "ios" })), h("ion-select", { id: "customAlertSelect", interface: "alert" }, h("ion-select-option", { value: "bacon" }, "Bacon"), h("ion-select-option", { value: "olives" }, "Black Olives"), h("ion-select-option", { value: "xcheese" }, "Extra Cheese"), h("ion-select-option", { value: "peppers" }, "Green Peppers"), h("ion-select-option", { value: "mushrooms" }, "Mushrooms"), h("ion-select-option", { value: "onions" }, "Onions"), h("ion-select-option", { value: "pepperoni" }, "Pepperoni"), h("ion-select-option", { value: "pineapple" }, "Pineapple"), h("ion-select-option", { value: "sausage" }, "Sausage"), h("ion-select-option", { value: "Spinach" }, "Spinach"))));
90
+ }
91
+ else {
92
+ return (h("div", null, h("input", { slot: "start", type: "text", placeholder: "Type suggestion" }), h("div", null, this.error), h("ion-item", null, h("ion-button", { class: "suggetion-btn", size: "default", slot: "end", color: "primary", onClick: evt => this.addSuggestion(evt, question) }, "ADD SUGGESTION"))));
93
+ }
94
+ }
95
+ renderQuestions() {
96
+ return [
97
+ this.questions.map(q => (h("div", { class: 'question' }, h("h3", null, q.questionText, ' ', h("span", { class: "toggle-mode", onClick: () => this.toggleMode() }, ".")), this.renderOptions(q)))),
98
+ this.allowPostToFeed ? h("sparkle-feed-post", { assignmentName: this.postToFeedAssignmentName, textValue: this.postToFeedTextValue }) : '',
99
+ ];
100
+ }
101
+ render() {
102
+ return this.renderQuestions();
103
+ }
104
+ get el() { return getElement(this); }
105
+ };
106
+ SparkleDiscussionQuestions.style = sparkleDiscussionQuestionsCss;
107
+
108
+ const sparkleDiscussionResultsCss = "div.question{margin-bottom:5px}div.question ul{padding-left:5px}div.question li{list-style-type:none;cursor:pointer;background:#e5053a;border-radius:4px;vertical-align:middle;line-height:40px;padding-left:20px;color:#fff;margin-bottom:5px}.question h3{color:#333;padding-top:14px;margin-bottom:4px;font-size:16px}div.question li.selected{font-weight:bold;background:#9e0428}input[type='text']{width:100%;padding:12px 20px;margin:8px 0;box-sizing:border-box;border:2px solid #ccc;-webkit-transition:0.5s;transition:0.5s;outline:none}input[type='text']:focus{border:2px solid var(--ion-color-primary)}ion-item .item-native{padding-left:0px !important}ion-button.suggetion-btn{margin-left:0px !important}.graph-container{display:flex;flex-direction:row;flex-wrap:wrap;flex-direction:column}.graph-container .question-title{width:100%}.graph-container div.question{display:flex;flex-direction:column;justify-content:flex-end;flex-basis:100px}.graph-container div.question p{text-align:center}.answer-column{background-color:rgba(var(--ion-color-sparkle-rgb), var(--bg-alpha, 0.06));flex:0 0 auto;text-align:center;color:#c0873c;flex-basis:100px;margin-bottom:14px}.toggle-mode{color:#888}.cloud{display:inline;list-style-type:none;width:400px}.cloud>div{list-style:none;display:inline;padding:20px}.cloud>div:nth-of-type(3n+1){font-size:1.25em}.cloud>div:nth-of-type(4n+3){font-size:1.5em}.cloud>div:nth-of-type(5n - 3){font-size:1em}.bar-graph-column{display:flex;align-items:flex-end}.bar-graph-questions{display:flex;align-items:flex-start}";
109
+
110
+ const SparkleDiscussionResults = class {
111
+ constructor(hostRef) {
112
+ registerInstance(this, hostRef);
113
+ this.allowPostToFeed = false;
114
+ this.feedStartingText = 'My suggestions are:';
115
+ this.isTeacherMode = false;
116
+ this.questions = [];
117
+ this.error = '';
118
+ this.modelChange = '';
119
+ this.responses = [];
120
+ this.tempResponses = [];
121
+ this.suggestionList = [];
122
+ }
123
+ questionsChaged(newValue, _oldValue) {
124
+ this.setupData(newValue);
125
+ }
126
+ //Any child component can liste for server events like
127
+ gotServerUpdate(evt) {
128
+ if (this.isTeacherMode) {
129
+ var detail = evt.detail;
130
+ if (detail.type == 'list') {
131
+ detail.data.forEach(element => {
132
+ if (element.responseType == 'TEXT') {
133
+ this.addToWordCloud(element);
134
+ }
135
+ else if (element.responseType == 'MULTIPLE-CHOICE') {
136
+ this.addToBarChart(element);
137
+ }
138
+ });
139
+ }
140
+ else if (detail.type == 'removed') {
141
+ this.responses = [...this.tempResponses];
142
+ }
143
+ else {
144
+ detail = detail.data;
145
+ if (detail.responseType == 'TEXT') {
146
+ this.addToWordCloud(detail);
147
+ }
148
+ else if (detail.responseType == 'MULTIPLE-CHOICE') {
149
+ this.addToBarChart(detail);
150
+ }
151
+ }
152
+ }
153
+ }
154
+ addToWordCloud(q) {
155
+ var isExistObj = this.responses.find(x => x.question == q.question);
156
+ if (isExistObj) {
157
+ this.responses = this.responses.map(resp => {
158
+ if (resp.question == q.question) {
159
+ return q;
160
+ }
161
+ return resp;
162
+ });
163
+ }
164
+ else {
165
+ this.responses = [...this.responses, q];
166
+ }
167
+ console.log(this.responses);
168
+ }
169
+ addToBarChart(q) {
170
+ var isExistObj = this.responses.find(x => x.question == q.question);
171
+ if (isExistObj) {
172
+ isExistObj.responses = isExistObj.responses.map(resp => {
173
+ var correctData = q.responses.find(x => x.response == resp.response);
174
+ if (correctData) {
175
+ return correctData;
176
+ }
177
+ return resp;
178
+ });
179
+ isExistObj.total = q.total;
180
+ this.responses = this.responses.map(resp => {
181
+ if (resp.question == isExistObj.question) {
182
+ return isExistObj;
183
+ }
184
+ return resp;
185
+ });
186
+ }
187
+ else {
188
+ this.responses = [...this.responses, q];
189
+ }
190
+ }
191
+ componentDidLoad() {
192
+ if (this.questions) {
193
+ this.setupData(this.questions);
194
+ signalRStore.onChange('connected', connected => {
195
+ if (connected && this.isTeacherMode) {
196
+ SignalRService.getInstance().callSignalR('GetPollSubmission', { pageUrl: window.location.href });
197
+ }
198
+ });
199
+ }
200
+ }
201
+ setupData(questions) {
202
+ this.setupResponseGraph(questions);
203
+ // if (this.isTeacherMode) {
204
+ // SignalRService.getInstance().callSignalR('GetPollSubmission', {});
205
+ // }
206
+ }
207
+ resetPollData() {
208
+ SignalRService.getInstance().callSignalR('ResetPollData', {});
209
+ }
210
+ setupResponseGraph(questions) {
211
+ this.responses = [];
212
+ questions.forEach(q => {
213
+ if (q.questionType == 'TEXT') {
214
+ this.responses = [
215
+ ...this.responses,
216
+ {
217
+ question: q.questionText,
218
+ responseType: q.questionType,
219
+ responses: [],
220
+ total: 0,
221
+ },
222
+ ];
223
+ this.tempResponses = this.responses.slice();
224
+ }
225
+ else if (q.questionType == 'MULTIPLE-CHOICE') {
226
+ var answer = [];
227
+ Object.keys(q.options).map((o) => {
228
+ answer.push({ count: 0, response: q.options[o].option });
229
+ });
230
+ this.responses = [...this.responses, { question: q.questionText, responseType: q.questionType, responses: answer, total: 0 }];
231
+ this.tempResponses = this.responses.slice();
232
+ }
233
+ });
234
+ console.log(this.responses);
235
+ }
236
+ columnHeight(responseCount, totalResponseCount) {
237
+ let maxScale = 100;
238
+ let scaleUnit = 0;
239
+ if (totalResponseCount != 0) {
240
+ scaleUnit = maxScale / totalResponseCount;
241
+ }
242
+ var size = scaleUnit * responseCount;
243
+ return { height: `${size}px` };
244
+ }
245
+ getRandomColorAndFontSize(count) {
246
+ const h = Math.floor(Math.random() * 360), s = Math.floor(Math.random() * 100) + '%', l = Math.floor(Math.random() * 60) + '%';
247
+ let fontSize = 1;
248
+ if (count > 0) {
249
+ fontSize = fontSize + (count - 1) * 0.25;
250
+ }
251
+ return { 'color': `hsl(${h},${s},${l})`, 'font-size': `${fontSize}em` };
252
+ }
253
+ renderResults() {
254
+ console.log('Responsed', this.responses);
255
+ var barResponses = this.responses.filter(x => x.responseType == 'MULTIPLE-CHOICE');
256
+ var cloudResponses = this.responses.filter(x => x.responseType == 'TEXT');
257
+ return [
258
+ // <ion-button size="default" slot="end" color="primary" onClick={(evt) => this.resetPollData()} >Reset</ion-button>,
259
+ barResponses.map((q) => (h("div", null, ' ', h("h3", { class: "line" }, q.question), h("div", { class: "graph-container" }, h("div", { class: "bar-graph-column" }, q.responses.map(r => (h("div", { class: "answer-column", style: this.columnHeight(r.count, q.total) }, r.count)))), h("div", { class: "bar-graph-questions" }, q.responses.map(r => (h("div", { class: 'question' }, h("p", null, r.response))))))))),
260
+ cloudResponses.map(q => [
261
+ h("p", null, h("h3", { class: "line" }, q.question)),
262
+ h("div", { class: "cloud" }, q.responses.map(r => (h("div", { style: this.getRandomColorAndFontSize(r.count) }, r.response)))),
263
+ ]),
264
+ ];
265
+ }
266
+ render() {
267
+ return this.renderResults();
268
+ }
269
+ get el() { return getElement(this); }
270
+ static get watchers() { return {
271
+ "questions": ["questionsChaged"]
272
+ }; }
273
+ };
274
+ SparkleDiscussionResults.style = sparkleDiscussionResultsCss;
275
+
276
+ export { SparkleDiscussionQuestions as sparkle_discussion_questions, SparkleDiscussionResults as sparkle_discussion_results };
@@ -0,0 +1,38 @@
1
+ import { r as registerInstance, h, e as getElement } from './index-c04b9ed5.js';
2
+ import { E as EnvironmentConfigService } from './environment-config.service-b191f276.js';
3
+ import { A as AssetsService } from './assets.service-def1d63c.js';
4
+ import './auth.store-dba2c2da.js';
5
+
6
+ const sparkleDiscussionCss = "sparkle-discussion{border:1px solid var(--line-rule-color);display:block;padding:12px}";
7
+
8
+ const SparkleDiscussion = class {
9
+ constructor(hostRef) {
10
+ registerInstance(this, hostRef);
11
+ this.allowPostToFeed = false;
12
+ this.feedStartingText = 'My suggestions are:';
13
+ this.isTeacherMode = false;
14
+ this.quizData = [];
15
+ }
16
+ async componentDidLoad() {
17
+ this.isTeacherMode = this.isTeacherMode == false ? window.location.href.indexOf('/presentation/course') > -1 : this.isTeacherMode;
18
+ const config = EnvironmentConfigService.getInstance().get('sparkle');
19
+ let allQuizData = await AssetsService.getInstance().loadJsonFile(config.quizPath);
20
+ if (allQuizData) {
21
+ if (this.questionIds) {
22
+ let questionIds = this.questionIds.split(',');
23
+ this.quizData = [];
24
+ questionIds.forEach(id => {
25
+ this.quizData = [...this.quizData, allQuizData[+id]];
26
+ });
27
+ console.log('QUIZ Data', this.quizData);
28
+ }
29
+ }
30
+ }
31
+ render() {
32
+ return this.isTeacherMode ? (h("sparkle-discussion-results", { allowPostToFeed: this.allowPostToFeed, feedStartingText: this.feedStartingText, isTeacherMode: this.isTeacherMode, questions: this.quizData })) : (h("sparkle-discussion-questions", { allowPostToFeed: this.allowPostToFeed, feedStartingText: this.feedStartingText, isTeacherMode: this.isTeacherMode, questions: this.quizData }));
33
+ }
34
+ get el() { return getElement(this); }
35
+ };
36
+ SparkleDiscussion.style = sparkleDiscussionCss;
37
+
38
+ export { SparkleDiscussion as sparkle_discussion };
@@ -1,12 +1,14 @@
1
1
  import { h, r as registerInstance, H as Host, e as getElement } from './index-c04b9ed5.js';
2
2
  import { t as toastController } from './overlays-3b4dca92.js';
3
- import { F as FacilitatorService, f as facilitatorStore } from './facilitator.service-b0292f7f.js';
3
+ import { F as FacilitatorService, f as facilitatorStore } from './facilitator.service-53e05a01.js';
4
4
  import './ionic-global-4903e23e.js';
5
5
  import './hardware-back-button-fa04d6e9.js';
6
6
  import './helpers-bf0e23d6.js';
7
- import './httpService-7b75b095.js';
7
+ import './httpService-db476835.js';
8
8
  import './auth.store-dba2c2da.js';
9
- import './environment-config.service-2b5d692b.js';
9
+ import './environment-config.service-b191f276.js';
10
+ import './token.service-20f1a256.js';
11
+ import './localstorage.service-4bf408c8.js';
10
12
 
11
13
  const LoadingSpinner = () => (h("div", { class: "spinner-border", role: "status" }));
12
14