@sparkle-learning/core 0.0.26 → 0.0.29
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.
- package/dist/cjs/{PrivateRoute-cee9b061.js → PrivateRoute-81e20cbf.js} +4 -38
- package/dist/cjs/feed.service-032c2ecc.js +124 -0
- package/dist/cjs/header-mobile-collapse_60.cjs.entry.js +5 -3
- package/dist/cjs/index.cjs.js +2 -1
- package/dist/cjs/{index.es-91493ac6.js → index.es-11437480.js} +5 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/localstorage.service-6346a41d.js +40 -0
- package/dist/cjs/{purify-ed567052.js → purify-a443f0eb.js} +1 -1
- package/dist/cjs/sparkle-animation-player.cjs.entry.js +55 -49
- package/dist/cjs/sparkle-character-intro.cjs.entry.js +26 -0
- package/dist/cjs/sparkle-core.cjs.js +1 -1
- package/dist/cjs/sparkle-goal-form.cjs.entry.js +9 -8
- package/dist/cjs/{feed.service-518d18fd.js → util-b0e2ec9f.js} +1 -121
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.js +78 -66
- package/dist/collection/components/sparkle-character-intro/assets/characters/character-img.jpg +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/jen.png +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/kimberly.png +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/valeria.png +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/yuna.png +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/zynab.png +0 -0
- package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.css +67 -0
- package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.js +64 -0
- package/dist/collection/components/sparkle-course-root/sparkle-course-root.js +48 -43
- package/dist/collection/util.js +1 -0
- package/dist/esm/{PrivateRoute-9f0973bb.js → PrivateRoute-df0d1e6b.js} +1 -35
- package/dist/esm/feed.service-694d3d54.js +119 -0
- package/dist/esm/header-mobile-collapse_60.entry.js +5 -3
- package/dist/esm/{index.es-32e2f407.js → index.es-1d452836.js} +5 -3
- package/dist/esm/index.js +2 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/localstorage.service-4bf408c8.js +36 -0
- package/dist/esm/{purify-f1a55787.js → purify-7e29b899.js} +1 -1
- package/dist/esm/sparkle-animation-player.entry.js +55 -49
- package/dist/esm/sparkle-character-intro.entry.js +22 -0
- package/dist/esm/sparkle-core.js +1 -1
- package/dist/esm/sparkle-goal-form.entry.js +2 -1
- package/dist/esm/{feed.service-0fda1e36.js → util-042b5fee.js} +2 -118
- package/dist/sparkle-core/assets/characters/character-img.jpg +0 -0
- package/dist/sparkle-core/assets/characters/jen.png +0 -0
- package/dist/sparkle-core/assets/characters/kimberly.png +0 -0
- package/dist/sparkle-core/assets/characters/valeria.png +0 -0
- package/dist/sparkle-core/assets/characters/yuna.png +0 -0
- package/dist/sparkle-core/assets/characters/zynab.png +0 -0
- package/dist/sparkle-core/index.esm.js +1 -1
- package/dist/sparkle-core/p-0312758b.js +1 -0
- package/dist/sparkle-core/p-396a9849.js +1 -0
- package/dist/sparkle-core/p-4328af62.js +1 -0
- package/dist/sparkle-core/{p-14ff8097.js → p-522733aa.js} +4 -4
- package/dist/sparkle-core/p-5b4938ce.entry.js +1 -0
- package/dist/sparkle-core/p-5d409601.js +1 -0
- package/dist/sparkle-core/p-62a62b6e.entry.js +1 -0
- package/dist/sparkle-core/p-7ecad3fb.entry.js +1 -0
- package/dist/sparkle-core/p-8490f1bc.js +1 -0
- package/dist/sparkle-core/{p-0d3fe46c.js → p-e23bd285.js} +1 -1
- package/dist/sparkle-core/p-e4f41e16.entry.js +1 -0
- package/dist/sparkle-core/sparkle-core.esm.js +1 -1
- package/dist/types/components/sparkle-animation-player/sparkle-animation-player.d.ts +1 -0
- package/dist/types/components/sparkle-character-intro/sparkle-character-intro.d.ts +7 -0
- package/dist/types/components/sparkle-course-root/sparkle-course-root.d.ts +2 -2
- package/dist/types/components.d.ts +17 -0
- package/dist/types/util.d.ts +1 -0
- package/package.json +2 -2
- package/dist/sparkle-core/p-090f2624.js +0 -1
- package/dist/sparkle-core/p-82d95fcd.entry.js +0 -1
- package/dist/sparkle-core/p-ab5cdfeb.js +0 -1
- package/dist/sparkle-core/p-b080c1e3.entry.js +0 -1
- package/dist/sparkle-core/p-bc568dcb.js +0 -1
- package/dist/sparkle-core/p-f6ce91f2.entry.js +0 -1
@@ -3,6 +3,8 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-fbf4d3bf.js');
|
6
|
+
const localstorage_service = require('./localstorage.service-6346a41d.js');
|
7
|
+
const util = require('./util-b0e2ec9f.js');
|
6
8
|
|
7
9
|
//https://github.com/bazh/subtitles-parser/blob/master/index.js
|
8
10
|
class CaptionParser {
|
@@ -108,24 +110,28 @@ const SparkleAnimationPlayer = class {
|
|
108
110
|
this.paused = true;
|
109
111
|
this.dataLoaded = false;
|
110
112
|
this.currentProgressWidth = 0;
|
111
|
-
this.captionText =
|
112
|
-
this.firstFramePath =
|
113
|
+
this.captionText = '';
|
114
|
+
this.firstFramePath = '';
|
113
115
|
this.isBusy = false;
|
114
|
-
this.animationVideoProgress =
|
116
|
+
this.animationVideoProgress = '0';
|
115
117
|
this.captionData = {};
|
116
118
|
}
|
117
119
|
closedCaptionChange(event) {
|
118
120
|
this.showCaption = !this.showCaption;
|
119
121
|
}
|
122
|
+
onClassRoomModeChanged(event) {
|
123
|
+
this.classMode = event.detail;
|
124
|
+
}
|
120
125
|
componentWillLoad() {
|
121
126
|
// if (!this.isScriptLoaded(this.src)) {
|
122
|
-
this.classMode =
|
123
|
-
|
124
|
-
|
127
|
+
this.classMode = localstorage_service.get(util.SparkleGlobal.LOCALSTORAGE_CLASSROOM_MODE);
|
128
|
+
//this.classMode = this.initialClassMode;
|
129
|
+
const script = document.createElement('script');
|
130
|
+
this.firstFramePath = this.src.replace('.js', '.png');
|
125
131
|
script.src = this.src;
|
126
132
|
//script.async = true;
|
127
133
|
document.body.appendChild(script);
|
128
|
-
this.readTextFile(this.src.replace(
|
134
|
+
this.readTextFile(this.src.replace('.js', '.srt'));
|
129
135
|
this.rergisterSoundControls();
|
130
136
|
// }
|
131
137
|
// else {
|
@@ -135,7 +141,7 @@ const SparkleAnimationPlayer = class {
|
|
135
141
|
readTextFile(fileName) {
|
136
142
|
let that = this;
|
137
143
|
var rawFile = new XMLHttpRequest();
|
138
|
-
rawFile.open(
|
144
|
+
rawFile.open('GET', fileName, false);
|
139
145
|
rawFile.onreadystatechange = function () {
|
140
146
|
if (rawFile.readyState === 4) {
|
141
147
|
if (rawFile.status === 200 || rawFile.status == 0) {
|
@@ -157,15 +163,15 @@ const SparkleAnimationPlayer = class {
|
|
157
163
|
return false;
|
158
164
|
}
|
159
165
|
rergisterSoundControls() {
|
160
|
-
window[
|
166
|
+
window['playSound'] = (id, loop) => {
|
161
167
|
if (this.sound) {
|
162
168
|
this.sound.stop();
|
163
169
|
}
|
164
170
|
this.sound = createjs.Sound.play(id, { interrupt: createjs.Sound.INTERRUPT_EARLY, loop: 0, volume: 1 });
|
165
171
|
return this.sound;
|
166
172
|
};
|
167
|
-
window[
|
168
|
-
console.log(
|
173
|
+
window['resetToStart'] = () => {
|
174
|
+
console.log('reset');
|
169
175
|
this.rewindAnimationToStart();
|
170
176
|
};
|
171
177
|
}
|
@@ -180,15 +186,13 @@ const SparkleAnimationPlayer = class {
|
|
180
186
|
}
|
181
187
|
handleFileLoad(evt) {
|
182
188
|
var images = this.comp.getImages();
|
183
|
-
if (evt &&
|
189
|
+
if (evt && evt.item.type == 'image') {
|
184
190
|
images[evt.item.id] = evt.result;
|
185
191
|
}
|
186
192
|
}
|
187
193
|
handleQueueProgress(that) {
|
188
|
-
return
|
189
|
-
this.animationVideoProgress = progress.loaded
|
190
|
-
? (progress.loaded * 100).toFixed(0)
|
191
|
-
: "0";
|
194
|
+
return progress => {
|
195
|
+
this.animationVideoProgress = progress.loaded ? (progress.loaded * 100).toFixed(0) : '0';
|
192
196
|
if (progress.loaded == 1) {
|
193
197
|
this.doneLoading();
|
194
198
|
}
|
@@ -200,18 +204,20 @@ const SparkleAnimationPlayer = class {
|
|
200
204
|
//var lib = this.comp.getLibrary();
|
201
205
|
var ssMetadata = this.library.ssMetadata;
|
202
206
|
for (var i = 0; i < ssMetadata.length; i++) {
|
203
|
-
ss[ssMetadata[i].name] = new createjs.SpriteSheet({
|
207
|
+
ss[ssMetadata[i].name] = new createjs.SpriteSheet({ images: [queue.getResult(ssMetadata[i].name)], frames: ssMetadata[i].frames });
|
204
208
|
}
|
205
209
|
var jsFileName = this.src.substring(this.src.lastIndexOf('/') + 1, this.src.lastIndexOf('.'));
|
206
|
-
this.exportRoot = new this.library[jsFileName];
|
210
|
+
this.exportRoot = new this.library[jsFileName]();
|
207
211
|
this.stage = new this.library.Stage(this.canvas);
|
208
212
|
this.makeResponsive(true, 'both', false, 1);
|
209
213
|
AdobeAn.compositionLoaded(this.library.properties.id);
|
210
214
|
this.stage.addChild(this.exportRoot);
|
211
215
|
createjs.Ticker.framerate = this.library.properties.fps;
|
212
216
|
createjs.Ticker.paused = false;
|
213
|
-
createjs.Ticker.addEventListener(
|
214
|
-
createjs.Ticker.addEventListener(
|
217
|
+
createjs.Ticker.addEventListener('tick', this.stage);
|
218
|
+
createjs.Ticker.addEventListener('tick', evt => {
|
219
|
+
this.tickHandler(evt);
|
220
|
+
});
|
215
221
|
console.log(createjs.Ticker);
|
216
222
|
}
|
217
223
|
loadAnimation() {
|
@@ -219,23 +225,27 @@ const SparkleAnimationPlayer = class {
|
|
219
225
|
if (!createjs.Sound.initializeDefaultPlugins()) {
|
220
226
|
return;
|
221
227
|
}
|
222
|
-
this.canvas = this.el.querySelector(
|
223
|
-
this.anim_container = this.el.querySelector(
|
228
|
+
this.canvas = this.el.querySelector('.video-canvas');
|
229
|
+
this.anim_container = this.el.querySelector('.canvas-container');
|
224
230
|
this.comp = AdobeAn.getComposition(this.composition);
|
225
|
-
this.canvas.style.width =
|
231
|
+
this.canvas.style.width = '100%';
|
226
232
|
console.log(this.canvas.offsetWidth);
|
227
|
-
this.canvas.style.height = this.canvas.offsetWidth +
|
228
|
-
this.anim_container.style.height = this.canvas.offsetWidth +
|
233
|
+
this.canvas.style.height = this.canvas.offsetWidth + 'px';
|
234
|
+
this.anim_container.style.height = this.canvas.offsetWidth + 'px';
|
229
235
|
this.library = this.comp.getLibrary();
|
230
236
|
this.loader = new createjs.LoadQueue(false);
|
231
237
|
this.loader.setMaxConnections(3);
|
232
238
|
this.loader.maintainScriptOrder = true;
|
233
239
|
this.loader.installPlugin(createjs.Sound);
|
234
|
-
this.loader.addEventListener(
|
235
|
-
|
236
|
-
|
240
|
+
this.loader.addEventListener('complete', evt => {
|
241
|
+
this.handleComplete(evt);
|
242
|
+
});
|
243
|
+
this.loader.addEventListener('fileload', evt => {
|
244
|
+
this.handleFileLoad(evt);
|
245
|
+
});
|
246
|
+
this.loader.addEventListener('progress', this.handleQueueProgress(this));
|
237
247
|
//TODO :can't figure out https://github.com/CreateJS/SoundJS/issues/283
|
238
|
-
this.loader.loadManifest(this.library.properties.manifest, true, this.src.substring(0, this.src.lastIndexOf(
|
248
|
+
this.loader.loadManifest(this.library.properties.manifest, true, this.src.substring(0, this.src.lastIndexOf('/') + 1));
|
239
249
|
}
|
240
250
|
playButtonAction() {
|
241
251
|
if (!this.dataLoaded) {
|
@@ -265,7 +275,7 @@ const SparkleAnimationPlayer = class {
|
|
265
275
|
st.paused = newState;
|
266
276
|
}
|
267
277
|
createjs.Ticker.paused = newState;
|
268
|
-
createjs.Ticker.addEventListener(
|
278
|
+
createjs.Ticker.addEventListener('tick', this.stage);
|
269
279
|
this.paused = newState;
|
270
280
|
// let stage = this.stage.children[0];
|
271
281
|
// stage.gotoAndStop(0);
|
@@ -283,7 +293,7 @@ const SparkleAnimationPlayer = class {
|
|
283
293
|
st.paused = newState;
|
284
294
|
}
|
285
295
|
createjs.Ticker.paused = newState;
|
286
|
-
createjs.Ticker.removeEventListener(
|
296
|
+
createjs.Ticker.removeEventListener('tick', this.stage);
|
287
297
|
this.paused = newState;
|
288
298
|
}
|
289
299
|
}
|
@@ -341,16 +351,16 @@ const SparkleAnimationPlayer = class {
|
|
341
351
|
sRatio = Math.max(xRatio, yRatio);
|
342
352
|
}
|
343
353
|
}
|
344
|
-
var anim_container = this.el.querySelector(
|
354
|
+
var anim_container = this.el.querySelector('.canvas-container');
|
345
355
|
// this.canvas.width = w * pRatio * sRatio;
|
346
356
|
// this.canvas.height = h * pRatio * sRatio;
|
347
357
|
// this.canvas.style.width = this.dom_overlay_container.style.width = anim_container.style.width = w * sRatio + 'px';
|
348
358
|
// this.canvas.style.height = anim_container.style.height = this.dom_overlay_container.style.height = h * sRatio + 'px';
|
349
359
|
this.canvas.width = w * pRatio * sRatio;
|
350
360
|
this.canvas.height = h * pRatio * sRatio;
|
351
|
-
this.canvas.style.width =
|
352
|
-
this.canvas.style.height = this.canvas.offsetWidth +
|
353
|
-
anim_container.style.height = this.canvas.offsetWidth +
|
361
|
+
this.canvas.style.width = '100%';
|
362
|
+
this.canvas.style.height = this.canvas.offsetWidth + 'px';
|
363
|
+
anim_container.style.height = this.canvas.offsetWidth + 'px';
|
354
364
|
this.stage.scaleX = pRatio * sRatio;
|
355
365
|
this.stage.scaleY = pRatio * sRatio;
|
356
366
|
lastW = iw;
|
@@ -358,7 +368,7 @@ const SparkleAnimationPlayer = class {
|
|
358
368
|
lastS = sRatio;
|
359
369
|
var newWidth = this.canvas.offsetWidth;
|
360
370
|
this.sizeOfCanvas = newWidth;
|
361
|
-
var progressBar = this.el.querySelector(
|
371
|
+
var progressBar = this.el.querySelector('.progressBar');
|
362
372
|
this.sizeofProgressBar = progressBar.offsetWidth;
|
363
373
|
this.stage.tickOnUpdate = false;
|
364
374
|
this.stage.update();
|
@@ -367,14 +377,12 @@ const SparkleAnimationPlayer = class {
|
|
367
377
|
tickHandler(event) {
|
368
378
|
if (!event.paused) {
|
369
379
|
let stage = this.stage.children[0];
|
370
|
-
this.timeline = stage[
|
380
|
+
this.timeline = stage['timeline'];
|
371
381
|
if (this.captionData[Math.floor(this.timeline.position / this.library.properties.fps)]) {
|
372
382
|
this.captionText = this.captionData[Math.floor(this.timeline.position / this.library.properties.fps)];
|
373
383
|
}
|
374
384
|
if (this.timeline.position % 10 == 0) {
|
375
|
-
this.currentProgressWidth = parseFloat((this.timeline.position /
|
376
|
-
this.timeline.duration *
|
377
|
-
this.sizeofProgressBar).toFixed(0));
|
385
|
+
this.currentProgressWidth = parseFloat(((this.timeline.position / this.timeline.duration) * this.sizeofProgressBar).toFixed(0));
|
378
386
|
}
|
379
387
|
}
|
380
388
|
}
|
@@ -384,7 +392,7 @@ const SparkleAnimationPlayer = class {
|
|
384
392
|
st.paused = true;
|
385
393
|
}
|
386
394
|
let stage = this.stage.children[0];
|
387
|
-
let timeline = stage[
|
395
|
+
let timeline = stage['timeline'];
|
388
396
|
if (newPosition < 0) {
|
389
397
|
newPosition = 0;
|
390
398
|
}
|
@@ -437,8 +445,8 @@ const SparkleAnimationPlayer = class {
|
|
437
445
|
rewindAnimation(event) {
|
438
446
|
event.stopPropagation();
|
439
447
|
let stage = this.stage.children[0];
|
440
|
-
let timeline = stage[
|
441
|
-
let newPosition = Math.round(event.offsetX / this.sizeofProgressBar * timeline.duration);
|
448
|
+
let timeline = stage['timeline'];
|
449
|
+
let newPosition = Math.round((event.offsetX / this.sizeofProgressBar) * timeline.duration);
|
442
450
|
// var soundPosition = this.sound.position + 5000;
|
443
451
|
// console.log("video", newPosition / 1000);
|
444
452
|
// console.log("sound", soundPosition / 1000);
|
@@ -447,7 +455,7 @@ const SparkleAnimationPlayer = class {
|
|
447
455
|
rewind5Sec() {
|
448
456
|
let fps = this.library.properties.fps;
|
449
457
|
let stage = this.stage.children[0];
|
450
|
-
let timeline = stage[
|
458
|
+
let timeline = stage['timeline'];
|
451
459
|
let newPosition = timeline.position - fps * 5;
|
452
460
|
//var soundPosition = this.sound.position - 5000;
|
453
461
|
this.rewindAnimationTo(newPosition);
|
@@ -455,7 +463,7 @@ const SparkleAnimationPlayer = class {
|
|
455
463
|
fastForward5Sec() {
|
456
464
|
let fps = this.library.properties.fps;
|
457
465
|
let stage = this.stage.children[0];
|
458
|
-
let timeline = stage[
|
466
|
+
let timeline = stage['timeline'];
|
459
467
|
let newPosition = timeline.position + fps * 5;
|
460
468
|
// var soundPosition = this.sound.position + 5000;
|
461
469
|
this.rewindAnimationTo(newPosition);
|
@@ -483,11 +491,9 @@ const SparkleAnimationPlayer = class {
|
|
483
491
|
}
|
484
492
|
}
|
485
493
|
render() {
|
486
|
-
return (index.h("div", { class: "cavase-main-container" }, index.h("div", { class: "canvas-container", id: "canvas-container" }, !this.classMode ? (index.h("div", null, index.h("canvas", { class: "video-canvas", onClick: () => this.playButtonAction() }), this.showCaption ?
|
487
|
-
index.h("div", { class: "caption" }, this.captionText) : "")) : (""), !this.dataLoaded ? (index.h("img", { class: "frame-img", src: this.firstFramePath })) : (""), this.classMode ? (index.h("img", { class: "overlay-img", src: index.getAssetPath(`./assets/play-button-disabled-overlay.png`) })) : (""), !this.classMode && this.paused ? (index.h("img", { class: "overlay-img", onClick: () => this.playButtonAction(), src: index.getAssetPath(`./assets/play-button-overlay.png`) })) : (""), this.isBusy ? (index.h("div", { class: "loading-container" }, index.h("div", { class: "uil-ring-css" }, index.h("div", null), index.h("a", null, "Loading ", this.animationVideoProgress, "%")))) : ("")), this.dataLoaded ? (index.h("div", { class: "navControls" }, index.h("div", { class: "progressBar", onClick: (ev) => this.rewindAnimation(ev) }, index.h("div", { class: "currentProgress", style: { width: this.currentProgressWidth + "px" } })), index.h("div", { class: "button-panel" }, index.h("ion-button", { size: "small", color: "transperant", onClick: () => this.rewind5Sec() }, " ", index.h("ion-icon", { name: "play-back-outline" }), " "), index.h("ion-button", { size: "small", color: "transperant", onClick: () => this.playButtonAction() }, " ", this.paused ? (index.h("ion-icon", { name: "pause-outline" })) : (index.h("ion-icon", { name: "play-outline" })
|
494
|
+
return (index.h("div", { class: "cavase-main-container" }, index.h("div", { class: "canvas-container", id: "canvas-container" }, !this.classMode ? (index.h("div", null, index.h("canvas", { class: "video-canvas", onClick: () => this.playButtonAction() }), this.showCaption ? index.h("div", { class: "caption" }, this.captionText) : '')) : (''), !this.dataLoaded ? index.h("img", { class: "frame-img", src: this.firstFramePath }) : '', this.classMode ? index.h("img", { class: "overlay-img", src: index.getAssetPath(`./assets/play-button-disabled-overlay.png`) }) : '', !this.classMode && this.paused ? index.h("img", { class: "overlay-img", onClick: () => this.playButtonAction(), src: index.getAssetPath(`./assets/play-button-overlay.png`) }) : '', this.isBusy ? (index.h("div", { class: "loading-container" }, index.h("div", { class: "uil-ring-css" }, index.h("div", null), index.h("a", null, "Loading ", this.animationVideoProgress, "%")))) : ('')), this.dataLoaded ? (index.h("div", { class: "navControls" }, index.h("div", { class: "progressBar", onClick: ev => this.rewindAnimation(ev) }, index.h("div", { class: "currentProgress", style: { width: this.currentProgressWidth + 'px' } })), index.h("div", { class: "button-panel" }, index.h("ion-button", { size: "small", color: "transperant", onClick: () => this.rewind5Sec() }, ' ', index.h("ion-icon", { name: "play-back-outline" }), ' '), index.h("ion-button", { size: "small", color: "transperant", onClick: () => this.playButtonAction() }, ' ', this.paused ? (index.h("ion-icon", { name: "pause-outline" })) : (index.h("ion-icon", { name: "play-outline" })
|
488
495
|
// <ion-icon src="/assets/img/play-symbol.svg"></ion-icon>
|
489
|
-
)), index.h("ion-button", { size: "small", color: "transperant", onClick: () => this.fastForward5Sec() },
|
490
|
-
index.h("div", { class: "closed-caption" }, index.h("ion-item", { lines: "none" }, index.h("ion-label", null, "Closed Caption"), index.h("ion-toggle", { slot: "end", color: "primary", checked: this.showCaption }))) : ""));
|
496
|
+
)), index.h("ion-button", { size: "small", color: "transperant", onClick: () => this.fastForward5Sec() }, ' ', index.h("ion-icon", { name: "play-forward-outline" }))))) : (''), this.dataLoaded && this.captionText ? (index.h("div", { class: "closed-caption" }, index.h("ion-item", { lines: "none" }, index.h("ion-label", null, "Closed Caption"), index.h("ion-toggle", { slot: "end", color: "primary", checked: this.showCaption })))) : ('')));
|
491
497
|
}
|
492
498
|
static get assetsDirs() { return ["assets"]; }
|
493
499
|
get el() { return index.getElement(this); }
|
@@ -0,0 +1,26 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-fbf4d3bf.js');
|
6
|
+
|
7
|
+
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)}";
|
8
|
+
|
9
|
+
const SparkleCharacterIntro = class {
|
10
|
+
constructor(hostRef) {
|
11
|
+
index.registerInstance(this, hostRef);
|
12
|
+
this.character = 'jen';
|
13
|
+
this.position = 'right';
|
14
|
+
}
|
15
|
+
componentDidLoad() {
|
16
|
+
console.log(this.character);
|
17
|
+
}
|
18
|
+
render() {
|
19
|
+
return (index.h("div", { class: `character-phrase-block ${this.position}` }, index.h("div", { class: `character-box ${this.position}` }, index.h("slot", null)), index.h("div", { class: `character-image-block ${this.position}` }, index.h("img", { class: "image-animation", src: index.getAssetPath('./assets/characters/' + this.character + '.png') }))));
|
20
|
+
}
|
21
|
+
static get assetsDirs() { return ["assets"]; }
|
22
|
+
get el() { return index.getElement(this); }
|
23
|
+
};
|
24
|
+
SparkleCharacterIntro.style = sparkleCharacterIntroCss;
|
25
|
+
|
26
|
+
exports.sparkle_character_intro = SparkleCharacterIntro;
|
@@ -18,5 +18,5 @@ const patchBrowser = () => {
|
|
18
18
|
|
19
19
|
patchBrowser().then(options => {
|
20
20
|
appGlobals.globalScripts();
|
21
|
-
return index.bootstrapLazy(JSON.parse("[[\"sparkle-goal-form.cjs\",[[0,\"sparkle-goal-form\",{\"appData\":[16],\"name\":[32],\"description\":[32],\"category\":[32],\"progress\":[32],\"public\":[32],\"goalUpdateText\":[32],\"submitted\":[32]}]]],[\"sparkle-feedback.cjs\",[[0,\"sparkle-feedback\",{\"formControls\":[32],\"submitted\":[32]}]]],[\"sparkle-quiz-container.cjs\",[[0,\"sparkle-quiz-container\",{\"questionIds\":[1,\"question-ids\"],\"showInstantResult\":[4,\"show-instant-result\"],\"submitted\":[32]},[[4,\"pageDidLoad\",\"pageDidLoadHandler\"],[16,\"quizAnswerChanged\",\"updateQuizAnswerModelHandler\"]]]]],[\"sparkle-gww-comment-list.cjs\",[[0,\"sparkle-gww-comment-list\",{\"comments\":[16]}]]],[\"ion-select-popover.cjs\",[[2,\"ion-select-popover\",{\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"options\":[16]},[[0,\"ionChange\",\"onSelect\"]]]]],[\"sparkle-compass-post.cjs\",[[0,\"sparkle-compass-post\",{\"errorMessage\":[32],\"successMessage\":[32],\"resiliance\":[32],\"care\":[32],\"compassData\":[32],\"renderCompass\":[64]}]]],[\"sparkle-facilitator-notes-form.cjs\",[[0,\"sparkle-facilitator-notes-form\",{\"initialValues\":[16],\"formControls\":[32],\"submitted\":[32]}]]],[\"sparkle-animation-player.cjs\",[[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],\"isBusy\":[32],\"playAnimation\":[64],\"pauseAnimation\":[64],\"classRoomModeChanged\":[64],\"destroyAnimation\":[64]},[[0,\"ionChange\",\"closedCaptionChange\"]]]]],[\"sparkle-sidebar.cjs\",[[4,\"sparkle-sidebar\",{\"position\":[1],\"size\":[1],\"headerText\":[1,\"header-text\"],\"isShowing\":[32],\"hide\":[64],\"show\":[64]}]]],[\"ion-action-sheet.cjs\",[[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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"course-select.cjs\",[[0,\"course-select\",{\"toggleClickFn\":[16]}]]],[\"ion-alert.cjs\",[[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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]},[[4,\"keydown\",\"onKeydown\"]]]]],[\"ion-fab-button.cjs\",[[33,\"ion-fab-button\",{\"color\":[1],\"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.cjs\",[[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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-menu-button.cjs\",[[33,\"ion-menu-button\",{\"color\":[1],\"disabled\":[4],\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"type\":[1],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-picker.cjs\",[[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],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"getColumn\":[64]}]]],[\"ion-refresher-content.cjs\",[[0,\"ion-refresher-content\",{\"pullingIcon\":[1025,\"pulling-icon\"],\"pullingText\":[1,\"pulling-text\"],\"refreshingSpinner\":[1025,\"refreshing-spinner\"],\"refreshingText\":[1,\"refreshing-text\"]}]]],[\"ion-toast.cjs\",[[33,\"ion-toast\",{\"overlayIndex\":[2,\"overlay-index\"],\"color\":[1],\"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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-chip.cjs\",[[33,\"ion-chip\",{\"color\":[1],\"outline\":[4],\"disabled\":[4]}]]],[\"ion-infinite-scroll-content.cjs\",[[32,\"ion-infinite-scroll-content\",{\"loadingSpinner\":[1025,\"loading-spinner\"],\"loadingText\":[1,\"loading-text\"]}]]],[\"ion-item-option.cjs\",[[33,\"ion-item-option\",{\"color\":[1],\"disabled\":[4],\"download\":[1],\"expandable\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"type\":[1]}]]],[\"ion-menu.cjs\",[[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\"]]]]],[\"ion-modal.cjs\",[[34,\"ion-modal\",{\"overlayIndex\":[2,\"overlay-index\"],\"delegate\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-popover.cjs\",[[34,\"ion-popover\",{\"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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-reorder.cjs\",[[33,\"ion-reorder\",null,[[2,\"click\",\"onClick\"]]]]],[\"ion-searchbar.cjs\",[[34,\"ion-searchbar\",{\"color\":[1],\"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\"],\"spellcheck\":[4],\"type\":[1],\"value\":[1025],\"focused\":[32],\"noAnimate\":[32],\"setFocus\":[64],\"getInputElement\":[64]}]]],[\"ion-segment-button.cjs\",[[33,\"ion-segment-button\",{\"disabled\":[4],\"layout\":[1],\"type\":[1],\"value\":[1],\"checked\":[32]}]]],[\"ion-tab-button.cjs\",[[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.cjs\",[[0,\"sparkle-lower-content-nav\",{\"next\":[16],\"prev\":[16]}]]],[\"sparkle-notfound-page.cjs\",[[0,\"sparkle-notfound-page\"]]],[\"sparkle-table-of-contents.cjs\",[[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.cjs\",[[0,\"compass-svg\"]]],[\"context-consumer.cjs\",[[0,\"context-consumer\",{\"context\":[16],\"renderer\":[16],\"subscribe\":[16],\"unsubscribe\":[32]}]]],[\"ion-app.cjs\",[[0,\"ion-app\"]]],[\"ion-badge.cjs\",[[33,\"ion-badge\",{\"color\":[1]}]]],[\"ion-card-header.cjs\",[[33,\"ion-card-header\",{\"color\":[1],\"translucent\":[4]}]]],[\"ion-card-subtitle.cjs\",[[33,\"ion-card-subtitle\",{\"color\":[1]}]]],[\"ion-card-title.cjs\",[[33,\"ion-card-title\",{\"color\":[1]}]]],[\"ion-datetime.cjs\",[[33,\"ion-datetime\",{\"name\":[1],\"disabled\":[4],\"readonly\":[4],\"min\":[1025],\"max\":[1025],\"displayFormat\":[1,\"display-format\"],\"displayTimezone\":[1,\"display-timezone\"],\"pickerFormat\":[1,\"picker-format\"],\"cancelText\":[1,\"cancel-text\"],\"doneText\":[1,\"done-text\"],\"yearValues\":[8,\"year-values\"],\"monthValues\":[8,\"month-values\"],\"dayValues\":[8,\"day-values\"],\"hourValues\":[8,\"hour-values\"],\"minuteValues\":[8,\"minute-values\"],\"monthNames\":[1,\"month-names\"],\"monthShortNames\":[1,\"month-short-names\"],\"dayNames\":[1,\"day-names\"],\"dayShortNames\":[1,\"day-short-names\"],\"pickerOptions\":[16],\"placeholder\":[1],\"value\":[1025],\"isExpanded\":[32],\"open\":[64]}]]],[\"ion-fab.cjs\",[[1,\"ion-fab\",{\"horizontal\":[1],\"vertical\":[1],\"edge\":[4],\"activated\":[1028],\"close\":[64]}]]],[\"ion-fab-list.cjs\",[[1,\"ion-fab-list\",{\"activated\":[4],\"side\":[1]}]]],[\"ion-footer.cjs\",[[36,\"ion-footer\",{\"translucent\":[4]}]]],[\"ion-img.cjs\",[[1,\"ion-img\",{\"alt\":[1],\"src\":[1],\"loadSrc\":[32],\"loadError\":[32]}]]],[\"ion-infinite-scroll.cjs\",[[0,\"ion-infinite-scroll\",{\"threshold\":[1],\"disabled\":[4],\"position\":[1],\"isLoading\":[32],\"complete\":[64]}]]],[\"ion-item-divider.cjs\",[[33,\"ion-item-divider\",{\"color\":[1],\"sticky\":[4]}]]],[\"ion-item-group.cjs\",[[32,\"ion-item-group\"]]],[\"ion-item-options.cjs\",[[32,\"ion-item-options\",{\"side\":[1],\"fireSwipeEvent\":[64]}]]],[\"ion-item-sliding.cjs\",[[0,\"ion-item-sliding\",{\"disabled\":[4],\"state\":[32],\"getOpenAmount\":[64],\"getSlidingRatio\":[64],\"open\":[64],\"close\":[64],\"closeOpened\":[64]}]]],[\"ion-menu-toggle.cjs\",[[1,\"ion-menu-toggle\",{\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-nav.cjs\",[[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.cjs\",[[0,\"ion-nav-link\",{\"component\":[1],\"componentProps\":[16],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-note.cjs\",[[33,\"ion-note\",{\"color\":[1]}]]],[\"ion-progress-bar.cjs\",[[33,\"ion-progress-bar\",{\"type\":[1],\"reversed\":[4],\"value\":[2],\"buffer\":[2],\"color\":[1]}]]],[\"ion-refresher.cjs\",[[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.cjs\",[[0,\"ion-reorder-group\",{\"disabled\":[4],\"state\":[32],\"complete\":[64]}]]],[\"ion-route.cjs\",[[0,\"ion-route\",{\"url\":[1],\"component\":[1],\"componentProps\":[16],\"beforeLeave\":[16],\"beforeEnter\":[16]}]]],[\"ion-route-redirect.cjs\",[[0,\"ion-route-redirect\",{\"from\":[1],\"to\":[1]}]]],[\"ion-router.cjs\",[[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.cjs\",[[1,\"ion-router-link\",{\"color\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}]]],[\"ion-router-outlet.cjs\",[[1,\"ion-router-outlet\",{\"mode\":[1025],\"delegate\":[16],\"animated\":[4],\"animation\":[16],\"swipeHandler\":[16],\"commit\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-segment.cjs\",[[33,\"ion-segment\",{\"color\":[1],\"disabled\":[4],\"scrollable\":[4],\"swipeGesture\":[4,\"swipe-gesture\"],\"value\":[1025],\"activated\":[32]}]]],[\"ion-skeleton-text.cjs\",[[1,\"ion-skeleton-text\",{\"animated\":[4]}]]],[\"ion-slide.cjs\",[[0,\"ion-slide\"]]],[\"ion-slides.cjs\",[[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.cjs\",[[33,\"ion-split-pane\",{\"contentId\":[513,\"content-id\"],\"disabled\":[4],\"when\":[8],\"visible\":[32]}]]],[\"ion-tab.cjs\",[[1,\"ion-tab\",{\"active\":[1028],\"delegate\":[16],\"tab\":[1],\"component\":[1],\"setActive\":[64]}]]],[\"ion-tab-bar.cjs\",[[33,\"ion-tab-bar\",{\"color\":[1],\"selectedTab\":[1,\"selected-tab\"],\"translucent\":[4],\"keyboardVisible\":[32]},[[8,\"keyboardWillHide\",\"onKeyboardWillHide\"],[8,\"keyboardWillShow\",\"onKeyboardWillShow\"]]]]],[\"ion-tabs.cjs\",[[1,\"ion-tabs\",{\"useRouter\":[1028,\"use-router\"],\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-thumbnail.cjs\",[[1,\"ion-thumbnail\"]]],[\"ion-virtual-scroll.cjs\",[[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-code.cjs\",[[0,\"sparkle-code\",{\"language\":[513],\"showCopyConfirmation\":[32]}]]],[\"sparkle-compass.cjs\",[[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.cjs\",[[1,\"sparkle-emoji\",{\"mood\":[1],\"size\":[1]}]]],[\"sparkle-feed-post.cjs\",[[4,\"sparkle-feed-post\"]]],[\"sparkle-gww-graph.cjs\",[[4,\"sparkle-gww-graph\"]]],[\"sparkle-menu-collapsible.cjs\",[[4,\"sparkle-menu-collapsible\",{\"heading\":[1],\"isOpen\":[32]}]]],[\"sparkle-modal-image.cjs\",[[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.cjs\",[[1,\"sparkle-poll\"]]],[\"sparkle-tab.cjs\",[[4,\"sparkle-tab\",{\"tab\":[513],\"selected\":[516]}]]],[\"sparkle-tabs.cjs\",[[4,\"sparkle-tabs\",{\"listenFor\":[1,\"listen-for\"],\"selected\":[32],\"tabs\":[32]},[[8,\"local-storage\",\"listenForFrameworkSelection\"]]]]],[\"sparkle-youtube.cjs\",[[0,\"sparkle-youtube\",{\"src\":[1],\"initialClassMode\":[4,\"initial-class-mode\"],\"classMode\":[32],\"video_thumbnail\":[32],\"classRoomModeChanged\":[64]}]]],[\"stencil-async-content.cjs\",[[0,\"stencil-async-content\",{\"documentLocation\":[1,\"document-location\"],\"content\":[32]}]]],[\"stencil-route-title.cjs\",[[0,\"stencil-route-title\",{\"titleSuffix\":[1,\"title-suffix\"],\"pageTitle\":[1,\"page-title\"]}]]],[\"stencil-router-prompt.cjs\",[[0,\"stencil-router-prompt\",{\"when\":[4],\"message\":[1],\"history\":[16],\"unblock\":[32]}]]],[\"header-mobile-collapse_60.cjs\",[[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]}],[33,\"ion-card\",{\"color\":[1],\"button\":[4],\"type\":[1],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}],[0,\"sparkle-nav\",{\"toc\":[16],\"config\":[16],\"selectedParent\":[1040],\"moduleURLName\":[32],\"sessionURLName\":[32]},[[4,\"pageDidLoad\",\"pageDidLoadHandler\"]]],[32,\"ion-card-content\"],[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\"],[0,\"ion-radio-group\",{\"allowEmptySelection\":[4,\"allow-empty-selection\"],\"name\":[1],\"value\":[1032]},[[4,\"keydown\",\"onKeydown\"]]],[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-avatar\"],[33,\"ion-checkbox\",{\"color\":[1],\"name\":[1],\"checked\":[1028],\"indeterminate\":[1028],\"disabled\":[4],\"value\":[1]}],[33,\"ion-radio\",{\"color\":[1],\"name\":[1],\"disabled\":[4],\"value\":[8],\"checked\":[32],\"buttonTabindex\":[32],\"setFocus\":[64],\"setButtonTabindex\":[64]}],[0,\"sparkle-goal-progress\",{\"percentage\":[1]}],[33,\"ion-list-header\",{\"color\":[1],\"lines\":[1]}],[33,\"ion-range\",{\"color\":[1],\"debounce\":[2],\"name\":[1],\"dualKnobs\":[4,\"dual-knobs\"],\"min\":[2],\"max\":[2],\"pin\":[4],\"snaps\":[4],\"step\":[2],\"ticks\":[4],\"disabled\":[4],\"value\":[1026],\"ratioA\":[32],\"ratioB\":[32],\"pressedKnob\":[32]}],[1,\"ion-text\",{\"color\":[1]}],[34,\"ion-input\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[1],\"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\":[1],\"maxlength\":[2],\"min\":[1],\"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]}],[34,\"ion-label\",{\"color\":[1],\"position\":[1],\"noAnimate\":[32]}],[1,\"ion-spinner\",{\"color\":[1],\"duration\":[2],\"name\":[1],\"paused\":[4]}],[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]}],[49,\"ion-item\",{\"color\":[1],\"button\":[4],\"detail\":[4],\"detailIcon\":[1,\"detail-icon\"],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"lines\":[1],\"routerAnimation\":[16],\"routerDirection\":[1,\"router-direction\"],\"target\":[1],\"type\":[1],\"multipleInputs\":[32]},[[0,\"ionColor\",\"labelColorChanged\"],[0,\"ionStyle\",\"itemStyle\"]]],[33,\"ion-button\",{\"color\":[1],\"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]}],[1,\"ion-icon\",{\"mode\":[1025],\"color\":[1],\"ariaLabel\":[1537,\"aria-label\"],\"ariaHidden\":[513,\"aria-hidden\"],\"ios\":[1],\"md\":[1],\"flipRtl\":[4,\"flip-rtl\"],\"name\":[1],\"src\":[1],\"icon\":[8],\"size\":[1],\"lazy\":[4],\"sanitize\":[4],\"svgContent\":[32],\"isVisible\":[32]}],[1,\"ion-ripple-effect\",{\"type\":[1],\"addRipple\":[64]}]]],[\"sparkle-quiz.cjs\",[[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-select.cjs\",[[0,\"sparkle-select\",{\"options\":[1040],\"initializer\":[16],\"optionRenderer\":[16],\"selected\":[32]}]]],[\"ion-picker-column.cjs\",[[32,\"ion-picker-column\",{\"col\":[16]}]]],[\"ion-toggle.cjs\",[[33,\"ion-toggle\",{\"color\":[1],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"value\":[1],\"activated\":[32]}]]],[\"sparkle-overlay.cjs\",[[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-back-button.cjs\",[[33,\"ion-back-button\",{\"color\":[1],\"defaultHref\":[1025,\"default-href\"],\"disabled\":[516],\"icon\":[1],\"text\":[1],\"type\":[1],\"routerAnimation\":[16]}]]],[\"ion-select_2.cjs\",[[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-textarea.cjs\",[[34,\"ion-textarea\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[1],\"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\":[4,\"auto-grow\"],\"value\":[1025],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ion-content_2.cjs\",[[36,\"ion-header\",{\"collapse\":[1],\"translucent\":[4]}],[1,\"ion-content\",{\"color\":[1],\"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\"],[2,\"click\",\"onClick\"]]]]],[\"ion-backdrop.cjs\",[[33,\"ion-backdrop\",{\"visible\":[4],\"tappable\":[4],\"stopPropagation\":[4,\"stop-propagation\"]},[[2,\"click\",\"onMouseDown\"]]]]],[\"sparkle-quiz-feedback_5.cjs\",[[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.cjs\",[[34,\"ion-buttons\",{\"collapse\":[4]}],[33,\"ion-title\",{\"color\":[1],\"size\":[1]}],[33,\"ion-toolbar\",{\"color\":[1]},[[0,\"ionStyle\",\"childrenStyle\"]]]]]]"), options);
|
21
|
+
return index.bootstrapLazy(JSON.parse("[[\"sparkle-goal-form.cjs\",[[0,\"sparkle-goal-form\",{\"appData\":[16],\"name\":[32],\"description\":[32],\"category\":[32],\"progress\":[32],\"public\":[32],\"goalUpdateText\":[32],\"submitted\":[32]}]]],[\"sparkle-feedback.cjs\",[[0,\"sparkle-feedback\",{\"formControls\":[32],\"submitted\":[32]}]]],[\"sparkle-quiz-container.cjs\",[[0,\"sparkle-quiz-container\",{\"questionIds\":[1,\"question-ids\"],\"showInstantResult\":[4,\"show-instant-result\"],\"submitted\":[32]},[[4,\"pageDidLoad\",\"pageDidLoadHandler\"],[16,\"quizAnswerChanged\",\"updateQuizAnswerModelHandler\"]]]]],[\"sparkle-gww-comment-list.cjs\",[[0,\"sparkle-gww-comment-list\",{\"comments\":[16]}]]],[\"ion-select-popover.cjs\",[[2,\"ion-select-popover\",{\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"options\":[16]},[[0,\"ionChange\",\"onSelect\"]]]]],[\"sparkle-compass-post.cjs\",[[0,\"sparkle-compass-post\",{\"errorMessage\":[32],\"successMessage\":[32],\"resiliance\":[32],\"care\":[32],\"compassData\":[32],\"renderCompass\":[64]}]]],[\"sparkle-facilitator-notes-form.cjs\",[[0,\"sparkle-facilitator-notes-form\",{\"initialValues\":[16],\"formControls\":[32],\"submitted\":[32]}]]],[\"sparkle-animation-player.cjs\",[[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],\"isBusy\":[32],\"playAnimation\":[64],\"pauseAnimation\":[64],\"classRoomModeChanged\":[64],\"destroyAnimation\":[64]},[[0,\"ionChange\",\"closedCaptionChange\"],[16,\"classRoomModeChanged\",\"onClassRoomModeChanged\"]]]]],[\"sparkle-sidebar.cjs\",[[4,\"sparkle-sidebar\",{\"position\":[1],\"size\":[1],\"headerText\":[1,\"header-text\"],\"isShowing\":[32],\"hide\":[64],\"show\":[64]}]]],[\"ion-action-sheet.cjs\",[[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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"course-select.cjs\",[[0,\"course-select\",{\"toggleClickFn\":[16]}]]],[\"ion-alert.cjs\",[[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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]},[[4,\"keydown\",\"onKeydown\"]]]]],[\"ion-fab-button.cjs\",[[33,\"ion-fab-button\",{\"color\":[1],\"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.cjs\",[[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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-menu-button.cjs\",[[33,\"ion-menu-button\",{\"color\":[1],\"disabled\":[4],\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"type\":[1],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-picker.cjs\",[[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],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"getColumn\":[64]}]]],[\"ion-refresher-content.cjs\",[[0,\"ion-refresher-content\",{\"pullingIcon\":[1025,\"pulling-icon\"],\"pullingText\":[1,\"pulling-text\"],\"refreshingSpinner\":[1025,\"refreshing-spinner\"],\"refreshingText\":[1,\"refreshing-text\"]}]]],[\"ion-toast.cjs\",[[33,\"ion-toast\",{\"overlayIndex\":[2,\"overlay-index\"],\"color\":[1],\"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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-chip.cjs\",[[33,\"ion-chip\",{\"color\":[1],\"outline\":[4],\"disabled\":[4]}]]],[\"ion-infinite-scroll-content.cjs\",[[32,\"ion-infinite-scroll-content\",{\"loadingSpinner\":[1025,\"loading-spinner\"],\"loadingText\":[1,\"loading-text\"]}]]],[\"ion-item-option.cjs\",[[33,\"ion-item-option\",{\"color\":[1],\"disabled\":[4],\"download\":[1],\"expandable\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"type\":[1]}]]],[\"ion-menu.cjs\",[[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\"]]]]],[\"ion-modal.cjs\",[[34,\"ion-modal\",{\"overlayIndex\":[2,\"overlay-index\"],\"delegate\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-popover.cjs\",[[34,\"ion-popover\",{\"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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-reorder.cjs\",[[33,\"ion-reorder\",null,[[2,\"click\",\"onClick\"]]]]],[\"ion-searchbar.cjs\",[[34,\"ion-searchbar\",{\"color\":[1],\"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\"],\"spellcheck\":[4],\"type\":[1],\"value\":[1025],\"focused\":[32],\"noAnimate\":[32],\"setFocus\":[64],\"getInputElement\":[64]}]]],[\"ion-segment-button.cjs\",[[33,\"ion-segment-button\",{\"disabled\":[4],\"layout\":[1],\"type\":[1],\"value\":[1],\"checked\":[32]}]]],[\"ion-tab-button.cjs\",[[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.cjs\",[[0,\"sparkle-lower-content-nav\",{\"next\":[16],\"prev\":[16]}]]],[\"sparkle-notfound-page.cjs\",[[0,\"sparkle-notfound-page\"]]],[\"sparkle-table-of-contents.cjs\",[[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.cjs\",[[0,\"compass-svg\"]]],[\"context-consumer.cjs\",[[0,\"context-consumer\",{\"context\":[16],\"renderer\":[16],\"subscribe\":[16],\"unsubscribe\":[32]}]]],[\"ion-app.cjs\",[[0,\"ion-app\"]]],[\"ion-badge.cjs\",[[33,\"ion-badge\",{\"color\":[1]}]]],[\"ion-card-header.cjs\",[[33,\"ion-card-header\",{\"color\":[1],\"translucent\":[4]}]]],[\"ion-card-subtitle.cjs\",[[33,\"ion-card-subtitle\",{\"color\":[1]}]]],[\"ion-card-title.cjs\",[[33,\"ion-card-title\",{\"color\":[1]}]]],[\"ion-datetime.cjs\",[[33,\"ion-datetime\",{\"name\":[1],\"disabled\":[4],\"readonly\":[4],\"min\":[1025],\"max\":[1025],\"displayFormat\":[1,\"display-format\"],\"displayTimezone\":[1,\"display-timezone\"],\"pickerFormat\":[1,\"picker-format\"],\"cancelText\":[1,\"cancel-text\"],\"doneText\":[1,\"done-text\"],\"yearValues\":[8,\"year-values\"],\"monthValues\":[8,\"month-values\"],\"dayValues\":[8,\"day-values\"],\"hourValues\":[8,\"hour-values\"],\"minuteValues\":[8,\"minute-values\"],\"monthNames\":[1,\"month-names\"],\"monthShortNames\":[1,\"month-short-names\"],\"dayNames\":[1,\"day-names\"],\"dayShortNames\":[1,\"day-short-names\"],\"pickerOptions\":[16],\"placeholder\":[1],\"value\":[1025],\"isExpanded\":[32],\"open\":[64]}]]],[\"ion-fab.cjs\",[[1,\"ion-fab\",{\"horizontal\":[1],\"vertical\":[1],\"edge\":[4],\"activated\":[1028],\"close\":[64]}]]],[\"ion-fab-list.cjs\",[[1,\"ion-fab-list\",{\"activated\":[4],\"side\":[1]}]]],[\"ion-footer.cjs\",[[36,\"ion-footer\",{\"translucent\":[4]}]]],[\"ion-img.cjs\",[[1,\"ion-img\",{\"alt\":[1],\"src\":[1],\"loadSrc\":[32],\"loadError\":[32]}]]],[\"ion-infinite-scroll.cjs\",[[0,\"ion-infinite-scroll\",{\"threshold\":[1],\"disabled\":[4],\"position\":[1],\"isLoading\":[32],\"complete\":[64]}]]],[\"ion-item-divider.cjs\",[[33,\"ion-item-divider\",{\"color\":[1],\"sticky\":[4]}]]],[\"ion-item-group.cjs\",[[32,\"ion-item-group\"]]],[\"ion-item-options.cjs\",[[32,\"ion-item-options\",{\"side\":[1],\"fireSwipeEvent\":[64]}]]],[\"ion-item-sliding.cjs\",[[0,\"ion-item-sliding\",{\"disabled\":[4],\"state\":[32],\"getOpenAmount\":[64],\"getSlidingRatio\":[64],\"open\":[64],\"close\":[64],\"closeOpened\":[64]}]]],[\"ion-menu-toggle.cjs\",[[1,\"ion-menu-toggle\",{\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-nav.cjs\",[[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.cjs\",[[0,\"ion-nav-link\",{\"component\":[1],\"componentProps\":[16],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-note.cjs\",[[33,\"ion-note\",{\"color\":[1]}]]],[\"ion-progress-bar.cjs\",[[33,\"ion-progress-bar\",{\"type\":[1],\"reversed\":[4],\"value\":[2],\"buffer\":[2],\"color\":[1]}]]],[\"ion-refresher.cjs\",[[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.cjs\",[[0,\"ion-reorder-group\",{\"disabled\":[4],\"state\":[32],\"complete\":[64]}]]],[\"ion-route.cjs\",[[0,\"ion-route\",{\"url\":[1],\"component\":[1],\"componentProps\":[16],\"beforeLeave\":[16],\"beforeEnter\":[16]}]]],[\"ion-route-redirect.cjs\",[[0,\"ion-route-redirect\",{\"from\":[1],\"to\":[1]}]]],[\"ion-router.cjs\",[[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.cjs\",[[1,\"ion-router-link\",{\"color\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}]]],[\"ion-router-outlet.cjs\",[[1,\"ion-router-outlet\",{\"mode\":[1025],\"delegate\":[16],\"animated\":[4],\"animation\":[16],\"swipeHandler\":[16],\"commit\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-segment.cjs\",[[33,\"ion-segment\",{\"color\":[1],\"disabled\":[4],\"scrollable\":[4],\"swipeGesture\":[4,\"swipe-gesture\"],\"value\":[1025],\"activated\":[32]}]]],[\"ion-skeleton-text.cjs\",[[1,\"ion-skeleton-text\",{\"animated\":[4]}]]],[\"ion-slide.cjs\",[[0,\"ion-slide\"]]],[\"ion-slides.cjs\",[[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.cjs\",[[33,\"ion-split-pane\",{\"contentId\":[513,\"content-id\"],\"disabled\":[4],\"when\":[8],\"visible\":[32]}]]],[\"ion-tab.cjs\",[[1,\"ion-tab\",{\"active\":[1028],\"delegate\":[16],\"tab\":[1],\"component\":[1],\"setActive\":[64]}]]],[\"ion-tab-bar.cjs\",[[33,\"ion-tab-bar\",{\"color\":[1],\"selectedTab\":[1,\"selected-tab\"],\"translucent\":[4],\"keyboardVisible\":[32]},[[8,\"keyboardWillHide\",\"onKeyboardWillHide\"],[8,\"keyboardWillShow\",\"onKeyboardWillShow\"]]]]],[\"ion-tabs.cjs\",[[1,\"ion-tabs\",{\"useRouter\":[1028,\"use-router\"],\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-thumbnail.cjs\",[[1,\"ion-thumbnail\"]]],[\"ion-virtual-scroll.cjs\",[[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.cjs\",[[4,\"sparkle-character-intro\",{\"character\":[1],\"position\":[1]}]]],[\"sparkle-code.cjs\",[[0,\"sparkle-code\",{\"language\":[513],\"showCopyConfirmation\":[32]}]]],[\"sparkle-compass.cjs\",[[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.cjs\",[[1,\"sparkle-emoji\",{\"mood\":[1],\"size\":[1]}]]],[\"sparkle-feed-post.cjs\",[[4,\"sparkle-feed-post\"]]],[\"sparkle-gww-graph.cjs\",[[4,\"sparkle-gww-graph\"]]],[\"sparkle-menu-collapsible.cjs\",[[4,\"sparkle-menu-collapsible\",{\"heading\":[1],\"isOpen\":[32]}]]],[\"sparkle-modal-image.cjs\",[[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.cjs\",[[1,\"sparkle-poll\"]]],[\"sparkle-tab.cjs\",[[4,\"sparkle-tab\",{\"tab\":[513],\"selected\":[516]}]]],[\"sparkle-tabs.cjs\",[[4,\"sparkle-tabs\",{\"listenFor\":[1,\"listen-for\"],\"selected\":[32],\"tabs\":[32]},[[8,\"local-storage\",\"listenForFrameworkSelection\"]]]]],[\"sparkle-youtube.cjs\",[[0,\"sparkle-youtube\",{\"src\":[1],\"initialClassMode\":[4,\"initial-class-mode\"],\"classMode\":[32],\"video_thumbnail\":[32],\"classRoomModeChanged\":[64]}]]],[\"stencil-async-content.cjs\",[[0,\"stencil-async-content\",{\"documentLocation\":[1,\"document-location\"],\"content\":[32]}]]],[\"stencil-route-title.cjs\",[[0,\"stencil-route-title\",{\"titleSuffix\":[1,\"title-suffix\"],\"pageTitle\":[1,\"page-title\"]}]]],[\"stencil-router-prompt.cjs\",[[0,\"stencil-router-prompt\",{\"when\":[4],\"message\":[1],\"history\":[16],\"unblock\":[32]}]]],[\"header-mobile-collapse_60.cjs\",[[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]}],[33,\"ion-card\",{\"color\":[1],\"button\":[4],\"type\":[1],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}],[0,\"sparkle-nav\",{\"toc\":[16],\"config\":[16],\"selectedParent\":[1040],\"moduleURLName\":[32],\"sessionURLName\":[32]},[[4,\"pageDidLoad\",\"pageDidLoadHandler\"]]],[32,\"ion-card-content\"],[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\"],[0,\"ion-radio-group\",{\"allowEmptySelection\":[4,\"allow-empty-selection\"],\"name\":[1],\"value\":[1032]},[[4,\"keydown\",\"onKeydown\"]]],[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-avatar\"],[33,\"ion-checkbox\",{\"color\":[1],\"name\":[1],\"checked\":[1028],\"indeterminate\":[1028],\"disabled\":[4],\"value\":[1]}],[33,\"ion-radio\",{\"color\":[1],\"name\":[1],\"disabled\":[4],\"value\":[8],\"checked\":[32],\"buttonTabindex\":[32],\"setFocus\":[64],\"setButtonTabindex\":[64]}],[0,\"sparkle-goal-progress\",{\"percentage\":[1]}],[33,\"ion-list-header\",{\"color\":[1],\"lines\":[1]}],[33,\"ion-range\",{\"color\":[1],\"debounce\":[2],\"name\":[1],\"dualKnobs\":[4,\"dual-knobs\"],\"min\":[2],\"max\":[2],\"pin\":[4],\"snaps\":[4],\"step\":[2],\"ticks\":[4],\"disabled\":[4],\"value\":[1026],\"ratioA\":[32],\"ratioB\":[32],\"pressedKnob\":[32]}],[1,\"ion-text\",{\"color\":[1]}],[34,\"ion-input\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[1],\"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\":[1],\"maxlength\":[2],\"min\":[1],\"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]}],[34,\"ion-label\",{\"color\":[1],\"position\":[1],\"noAnimate\":[32]}],[1,\"ion-spinner\",{\"color\":[1],\"duration\":[2],\"name\":[1],\"paused\":[4]}],[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]}],[49,\"ion-item\",{\"color\":[1],\"button\":[4],\"detail\":[4],\"detailIcon\":[1,\"detail-icon\"],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"lines\":[1],\"routerAnimation\":[16],\"routerDirection\":[1,\"router-direction\"],\"target\":[1],\"type\":[1],\"multipleInputs\":[32]},[[0,\"ionColor\",\"labelColorChanged\"],[0,\"ionStyle\",\"itemStyle\"]]],[33,\"ion-button\",{\"color\":[1],\"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]}],[1,\"ion-icon\",{\"mode\":[1025],\"color\":[1],\"ariaLabel\":[1537,\"aria-label\"],\"ariaHidden\":[513,\"aria-hidden\"],\"ios\":[1],\"md\":[1],\"flipRtl\":[4,\"flip-rtl\"],\"name\":[1],\"src\":[1],\"icon\":[8],\"size\":[1],\"lazy\":[4],\"sanitize\":[4],\"svgContent\":[32],\"isVisible\":[32]}],[1,\"ion-ripple-effect\",{\"type\":[1],\"addRipple\":[64]}]]],[\"sparkle-quiz.cjs\",[[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-select.cjs\",[[0,\"sparkle-select\",{\"options\":[1040],\"initializer\":[16],\"optionRenderer\":[16],\"selected\":[32]}]]],[\"ion-picker-column.cjs\",[[32,\"ion-picker-column\",{\"col\":[16]}]]],[\"ion-toggle.cjs\",[[33,\"ion-toggle\",{\"color\":[1],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"value\":[1],\"activated\":[32]}]]],[\"sparkle-overlay.cjs\",[[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-back-button.cjs\",[[33,\"ion-back-button\",{\"color\":[1],\"defaultHref\":[1025,\"default-href\"],\"disabled\":[516],\"icon\":[1],\"text\":[1],\"type\":[1],\"routerAnimation\":[16]}]]],[\"ion-select_2.cjs\",[[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-textarea.cjs\",[[34,\"ion-textarea\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[1],\"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\":[4,\"auto-grow\"],\"value\":[1025],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ion-content_2.cjs\",[[36,\"ion-header\",{\"collapse\":[1],\"translucent\":[4]}],[1,\"ion-content\",{\"color\":[1],\"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\"],[2,\"click\",\"onClick\"]]]]],[\"ion-backdrop.cjs\",[[33,\"ion-backdrop\",{\"visible\":[4],\"tappable\":[4],\"stopPropagation\":[4,\"stop-propagation\"]},[[2,\"click\",\"onMouseDown\"]]]]],[\"sparkle-quiz-feedback_5.cjs\",[[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.cjs\",[[34,\"ion-buttons\",{\"collapse\":[4]}],[33,\"ion-title\",{\"color\":[1],\"size\":[1]}],[33,\"ion-toolbar\",{\"color\":[1]},[[0,\"ionStyle\",\"childrenStyle\"]]]]]]"), options);
|
22
22
|
});
|
@@ -10,7 +10,8 @@ require('./auth.store-aba3d22f.js');
|
|
10
10
|
require('./helpers-26770c32.js');
|
11
11
|
require('./hardware-back-button-ca468aae.js');
|
12
12
|
require('./overlays-08a817ea.js');
|
13
|
-
const
|
13
|
+
const util = require('./util-b0e2ec9f.js');
|
14
|
+
const feed_service = require('./feed.service-032c2ecc.js');
|
14
15
|
|
15
16
|
const sparkleGoalFormCss = ":host{display:block}";
|
16
17
|
|
@@ -109,8 +110,8 @@ const SparkleGoalForm = class {
|
|
109
110
|
this.validateGoalUpdateText();
|
110
111
|
if (this.name.valid && this.description.valid && this.category.valid && this.goalUpdateText.valid) {
|
111
112
|
//update
|
112
|
-
var appData =
|
113
|
-
const result = await feed_service.AppDataService.getInstance().updateGoal({ Id: this.appData.Id, MiniAppId:
|
113
|
+
var appData = util.GetGoalAppData(this.name.value, this.description.value, this.category.value, this.progress, this.goalUpdateText.value);
|
114
|
+
const result = await feed_service.AppDataService.getInstance().updateGoal({ Id: this.appData.Id, MiniAppId: util.SparkleGlobal.MY_GOALS_APP_ID, AppJsonData: JSON.stringify(appData) });
|
114
115
|
if (result.Succeeded) {
|
115
116
|
if (this.public) {
|
116
117
|
await this.postToFeed();
|
@@ -124,8 +125,8 @@ const SparkleGoalForm = class {
|
|
124
125
|
else {
|
125
126
|
if (this.name.valid && this.description.valid && this.category.valid) {
|
126
127
|
//add
|
127
|
-
var appData =
|
128
|
-
const result = await feed_service.AppDataService.getInstance().createGoal({ MiniAppId:
|
128
|
+
var appData = util.GetGoalAppData(this.name.value, this.description.value, this.category.value, this.progress, this.goalUpdateText.value);
|
129
|
+
const result = await feed_service.AppDataService.getInstance().createGoal({ MiniAppId: util.SparkleGlobal.MY_GOALS_APP_ID, AppJsonData: JSON.stringify(appData) });
|
129
130
|
if (result.Succeeded) {
|
130
131
|
this.dismiss();
|
131
132
|
}
|
@@ -137,9 +138,9 @@ const SparkleGoalForm = class {
|
|
137
138
|
const tocData = await assets_service.AssetsService.getInstance().loadJsonFile(sparkleConfig.tocPath);
|
138
139
|
var model = {
|
139
140
|
CourseId: tocData.id,
|
140
|
-
MiniAppId:
|
141
|
-
PostText:
|
142
|
-
PostTextJSON:
|
141
|
+
MiniAppId: util.SparkleGlobal.MY_GOALS_APP_ID,
|
142
|
+
PostText: util.MyGoalTemplate(this.name.value, this.goalUpdateText.value, this.progress),
|
143
|
+
PostTextJSON: util.MyGoalTemplateJSON(this.name.value, this.goalUpdateText.value, this.progress),
|
143
144
|
IsPublic: this.public,
|
144
145
|
ExternalResourceUrl: "",
|
145
146
|
};
|