@sparkle-learning/core 0.0.42 → 0.0.43

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 (44) hide show
  1. package/dist/cjs/header-mobile-collapse_61.cjs.entry.js +130 -3
  2. package/dist/cjs/{icons-fda820af.js → icons-c61db785.js} +0 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/sparkle-animation-player.cjs.entry.js +15 -3
  5. package/dist/cjs/sparkle-code.cjs.entry.js +1 -1
  6. package/dist/cjs/sparkle-core.cjs.js +1 -1
  7. package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +1 -1
  8. package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.js +16 -3
  9. package/dist/esm/header-mobile-collapse_61.entry.js +133 -6
  10. package/dist/esm/{icons-1c794c74.js → icons-9b62a1ec.js} +0 -0
  11. package/dist/esm/loader.js +1 -1
  12. package/dist/esm/sparkle-animation-player.entry.js +15 -3
  13. package/dist/esm/sparkle-code.entry.js +1 -1
  14. package/dist/esm/sparkle-core.js +1 -1
  15. package/dist/esm/sparkle-menu-collapsible.entry.js +1 -1
  16. package/dist/sparkle-core/{p-11a6c175.entry.js → p-0fa3fd63.entry.js} +1 -1
  17. package/dist/sparkle-core/p-18cdd458.entry.js +1 -0
  18. package/dist/sparkle-core/{p-957715c5.entry.js → p-a102341e.entry.js} +1 -1
  19. package/dist/sparkle-core/{p-b4408842.entry.js → p-b401b101.entry.js} +6 -2
  20. package/dist/sparkle-core/{p-cabe9139.js → p-e8073714.js} +0 -0
  21. package/dist/sparkle-core/sparkle-core.esm.js +1 -1
  22. package/dist/types/components/sparkle-animation-player/sparkle-animation-player.d.ts +2 -0
  23. package/package.json +2 -2
  24. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/button/button.css +0 -49
  25. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/card/card.css +0 -208
  26. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/cards.css +0 -31
  27. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/code/code.css +0 -245
  28. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/dropdown/dropdown.css +0 -115
  29. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header-mobile-collapse/header-mobile-collapse.css +0 -255
  30. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header.css +0 -232
  31. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/collapsible/collapsible.css +0 -3
  32. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu-toggle/menu-toggle.css +0 -25
  33. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu.css +0 -71
  34. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/nav/nav.css +0 -194
  35. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/notfound-page/notfound-page.css +0 -4
  36. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/overlay/overlay.css +0 -67
  37. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/page-footer/page-footer.css +0 -18
  38. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/pagination/pagination.css +0 -89
  39. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/select/select.css +0 -52
  40. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sidebar/sidebar.css +0 -98
  41. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sparkle-lower-content-nav/sparkle-lower-content-nav.css +0 -8
  42. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/table-of-contents/table-of-contents.css +0 -37
  43. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/tabs/tabs.css +0 -64
  44. package/dist/sparkle-core/p-1e4f65ee.entry.js +0 -1
@@ -1,52 +0,0 @@
1
- .Select {
2
- cursor: pointer;
3
- display: inline-block;
4
- font-weight: 500;
5
- }
6
-
7
- .Select .Dropdown-button {
8
- align-items: center;
9
- border: solid 1px #dee3ea;
10
- border-radius: 6px;
11
- display: inline-flex;
12
- justify-content: space-between;
13
- min-width: 100px;
14
- padding: 0.5em 1em;
15
- }
16
-
17
- .Select .Dropdown-panel {
18
- padding: 0.5em 0;
19
- }
20
-
21
- .Select .Dropdown-arrow {
22
- margin-left: 0.5em;
23
- }
24
-
25
- .Select-option {
26
- --bg-alpha: 0;
27
- background-color: rgba(0, 0, 0, var(--bg-alpha));
28
- padding: 0.5em 1.5em;
29
- }
30
-
31
- .Select-option:focus {
32
- --bg-alpha: 0.025;
33
- outline: none;
34
- }
35
-
36
- .Select-option--selected {
37
- --bg-alpha: 0.05;
38
- }
39
-
40
- .Select-option--selected:focus {
41
- --bg-alpha: 0.075;
42
- }
43
-
44
- @media (hover: hover) {
45
- .Select-option:hover {
46
- --bg-alpha: 0.025;
47
- }
48
-
49
- .Select-option--selected:hover {
50
- --bg-alpha: 0.075;
51
- }
52
- }
@@ -1,98 +0,0 @@
1
- sparkle-sidebar {
2
- --sparkle-spacing-size-lg: 1rem;
3
- --sparkle-transition-med: 0.5s;
4
- --sparkle-color-dark-lighter: 89, 109, 127;
5
- --sparkle-font-size-md: 1.25rem;
6
- --sparkle-spacing-size-none: 0;
7
- --sparkle-spacing-size-xxxs: 0.0625rem;
8
- --sparkle-color-light-base: 1197, 209, 218;
9
- --sparkle-font-size-lg: 1.5rem;
10
- --sparkle-color-dark-base: 55, 68, 79;
11
- }
12
- .sparkle-sidebar {
13
- height: 100%;
14
- max-width: 90%;
15
- position: fixed;
16
- top: 0;
17
- bottom: 0;
18
- overflow-x: hidden;
19
- overflow-y: auto;
20
- background-color: #fff;
21
- padding: var(--sparkle-spacing-size-lg);
22
- -webkit-transition: all var(--sparkle-transition-med) ease-in-out;
23
- transition: all var(--sparkle-transition-med) ease-in-out;
24
- }
25
- .sparkle-sidebar.left {
26
- border-right: var(--sparkle-spacing-size-xxxs) solid rgba(var(--sparkle-color-dark-lighter), 1);
27
- }
28
- .sparkle-sidebar.left.size-sm {
29
- width: 16rem;
30
- left: -16rem;
31
- }
32
- .sparkle-sidebar.left.size-md {
33
- width: 22.5rem;
34
- left: -22.5rem;
35
- }
36
- .sparkle-sidebar.left.size-lg {
37
- width: 30rem;
38
- left: -30rem;
39
- }
40
- .sparkle-sidebar.left.size-xl {
41
- width: 45rem;
42
- left: -45rem;
43
- }
44
- .sparkle-sidebar.left.show {
45
- visibility: visible;
46
- left: 0;
47
- }
48
- .sparkle-sidebar.right {
49
- border-right: var(--sparkle-spacing-size-xxxs) solid rgba(var(--sparkle-color-dark-lighter), 1);
50
- }
51
- .sparkle-sidebar.right.size-sm {
52
- width: 16rem;
53
- right: -16rem;
54
- }
55
- .sparkle-sidebar.right.size-md {
56
- width: 22.5rem;
57
- right: -22.5rem;
58
- }
59
- .sparkle-sidebar.right.size-lg {
60
- width: 30rem;
61
- right: -30rem;
62
- }
63
- .sparkle-sidebar.right.size-xl {
64
- width: 45rem;
65
- right: -45rem;
66
- }
67
- .sparkle-sidebar.right.show {
68
- visibility: visible;
69
- right: 0;
70
- }
71
- .sparkle-sidebar .drawer-header {
72
- display: -ms-flexbox;
73
- display: flex;
74
- -ms-flex-pack: justify;
75
- justify-content: space-between;
76
- -ms-flex-line-pack: center;
77
- align-content: center;
78
- border-bottom: var(--sparkle-spacing-size-xxxs) solid rgba(var(--sparkle-color-light-base), 1);
79
- font-size: var(--sparkle-font-size-lg);
80
- color: rgba(var(--sparkle-color-dark-base), 1);
81
- }
82
- .sparkle-sidebar .drawer-header .drawer-title {
83
- line-height: 1;
84
- }
85
- .sparkle-sidebar .drawer-header .drawer-close .ks-button .button {
86
- padding: var(--sparkle-spacing-size-none);
87
- }
88
- .sparkle-sidebar .drawer-header .drawer-close .ks-button .button .button-text {
89
- display: -ms-inline-flexbox;
90
- display: inline-flex;
91
- }
92
- .sparkle-sidebar .drawer-header .drawer-close .ks-button .button .icon {
93
- font-size: var(--sparkle-font-size-md);
94
- }
95
- .sparkle-sidebar .drawer-body {
96
- padding-top: var(--sparkle-spacing-size-lg);
97
- padding-bottom: var(--sparkle-spacing-size-lg);
98
- }
@@ -1,8 +0,0 @@
1
- lower-content-nav {
2
- display: flex;
3
- justify-content: space-between;
4
- }
5
-
6
- lower-content-nav > stencil-route-link {
7
- display: inline-block;
8
- }
@@ -1,37 +0,0 @@
1
- sparkle-table-of-contents {
2
- display: block;
3
- font-size: 13px;
4
- margin-bottom: 2rem;
5
- }
6
-
7
- sparkle-table-of-contents .Nav-header {
8
- color: var(--text-color--lighter);
9
- font-size: 0.75em;
10
- font-weight: 800;
11
- letter-spacing: 1px;
12
- text-transform: uppercase;
13
- padding-left: 0;
14
- }
15
-
16
- sparkle-table-of-contents ul {
17
- padding: 0;
18
- list-style: none;
19
- line-height: 1.23em;
20
- }
21
-
22
- sparkle-table-of-contents .Nav-link {
23
- padding-left: 0;
24
- margin-left: 0;
25
- }
26
-
27
- sparkle-table-of-contents a {
28
- color: inherit;
29
- display: inline-block;
30
- transition: .2s color, .3s transform ease-out;
31
- }
32
-
33
- sparkle-table-of-contents .Nav-link.selected a {
34
- color: var(--accent-color);
35
- transform: translateX(2px);
36
- }
37
-
@@ -1,64 +0,0 @@
1
- .Tabs,
2
- .Tabs-tab {
3
- display: block;
4
- }
5
-
6
- .Tabs-tab:not([selected]) {
7
- display: none;
8
- }
9
-
10
- .Tabs-header {
11
- border-bottom: solid 1px rgba(0, 32, 88, 0.1);
12
- white-space: nowrap;
13
- }
14
-
15
- .Tabs-button {
16
- --bg-alpha: 0;
17
- appearance: none;
18
- background-color: rgba(0, 0, 0, var(--bg-alpha));
19
- border: none;
20
- color: var(--text-color--light);
21
- cursor: pointer;
22
- font-family: inherit;
23
- font-size: 10px;
24
- font-weight: 600;
25
- letter-spacing: 0.04em;
26
- padding: 1rem;
27
- text-transform: uppercase;
28
- transform: translateY(1px);
29
- }
30
-
31
- .Tabs-button:first-child {
32
- border-top-left-radius: 6px;
33
- }
34
-
35
- .Tabs-button:last-child {
36
- border-top-right-radius: 6px;
37
- }
38
-
39
- .Tabs-button:focus {
40
- outline: none;
41
- }
42
-
43
- .Tabs-button:focus {
44
- --bg-alpha: 0.015;
45
- }
46
-
47
- @media (hover: hover) {
48
- .Tabs-button:hover {
49
- --bg-alpha: 0.015;
50
- }
51
- }
52
-
53
- .Tabs-button:active {
54
- --bg-alpha: 0.03;
55
- }
56
-
57
- .Tabs-button.is-selected {
58
- border-bottom: solid 1px currentColor;
59
- color: var(--accent-color);
60
- }
61
-
62
- .Tabs-tab sparkle-code pre {
63
- margin-top: 0;
64
- }
@@ -1 +0,0 @@
1
- import{r as t,h as i,c as s,e}from"./p-ee1e0eb4.js";import{g as a}from"./p-5d409601.js";import{S as o}from"./p-935e7cfc.js";class n{constructor(){this.pItems={}}fromSrt(t,i){var s=!!i;(t=(t=t.replace(/\r/g,"")).split(/(\d+)\n(\d{2}:\d{2}:\d{2},\d{3}) --> (\d{2}:\d{2}:\d{2},\d{3})/g)).shift();for(var e={},a=0;a<t.length;a+=4)e[s?this.timeS(t[a+1].trim()):t[a+1].trim()]=t[a+3].trim();return e}toSrt(t){if(!(t instanceof Array))return"";for(var i="",s=0;s<t.length;s++){var e=t[s];isNaN(e.startTime)||isNaN(e.endTime)||(e.startTime=this.msTime(parseInt(e.startTime,10)),e.endTime=this.msTime(parseInt(e.endTime,10))),i+=e.id+"\r\n",i+=e.startTime+" --\x3e "+e.endTime+"\r\n",i+=e.text.replace("\n","\r\n")+"\r\n\r\n"}return i}timeS(t){var i=/(\d+):(\d{2}):(\d{2}),(\d{3})/.exec(t);if(null===i)return 0;for(var s=1;s<5;s++)i[s]=parseInt(i[s],10).toString(),isNaN(parseInt(i[s],10))&&(i[s]="0");return 3600*parseInt(i[1],10)+60*parseInt(i[2],10)+parseInt(i[3],10)+Math.floor(parseInt(i[4],10)/1e3)}msTime(t){var i=[36e5,6e4,1e3],s=[];for(var e in i){var a=(t/i[e]>>0).toString();a.length<2&&(a="0"+a),t%=i[e],s.push(a)}var o=t.toString();if(o.length<3)for(let t=0;t<=3-o.length;t++)o="0"+o;return s.join(":")+","+o}}const r=class{constructor(i){t(this,i),this.showCaption=!1,this.paused=!0,this.dataLoaded=!1,this.currentProgressWidth=0,this.captionText="",this.firstFramePath="",this.isBusy=!1,this.animationVideoProgress="0",this.captionData={}}closedCaptionChange(t){this.showCaption=!this.showCaption}onClassRoomModeChanged(t){this.classMode=t.detail}componentWillLoad(){this.classMode=a(o.LOCALSTORAGE_CLASSROOM_MODE);const t=document.createElement("script");this.firstFramePath=this.src.replace(".js",".png"),t.src=this.src,document.body.appendChild(t),this.readTextFile(this.src.replace(".js",".srt")),this.rergisterSoundControls()}readTextFile(t){let i=this;var s=new XMLHttpRequest;s.open("GET",t,!1),s.onreadystatechange=function(){if(4===s.readyState&&(200===s.status||0==s.status)){var t=s.responseText,e=new n;i.captionData=e.fromSrt(t,!0)}},s.send(null)}isScriptLoaded(t){for(var i=document.getElementsByTagName("script"),s=i.length;s--;)if(i[s].getAttribute("src")==t)return!0;return!1}rergisterSoundControls(){window.playSound=t=>(this.sound&&this.sound.stop(),this.sound=createjs.Sound.play(t,{interrupt:createjs.Sound.INTERRUPT_EARLY,loop:0,volume:1}),this.sound),window.resetToStart=()=>{console.log("reset"),this.rewindAnimationToStart()}}startLoading(){this.isBusy=!0,this.paused=!1}doneLoading(){this.isBusy=!1,this.dataLoaded=!0,this.paused=!1}handleFileLoad(t){var i=this.comp.getImages();t&&"image"==t.item.type&&(i[t.item.id]=t.result)}handleQueueProgress(t){return t=>{this.animationVideoProgress=t.loaded?(100*t.loaded).toFixed(0):"0",1==t.loaded&&this.doneLoading()}}handleComplete(t){for(var i=this.comp.getSpriteSheet(),s=t.target,e=this.library.ssMetadata,a=0;a<e.length;a++)i[e[a].name]=new createjs.SpriteSheet({images:[s.getResult(e[a].name)],frames:e[a].frames});var o=this.src.substring(this.src.lastIndexOf("/")+1,this.src.lastIndexOf("."));this.exportRoot=new this.library[o],this.stage=new this.library.Stage(this.canvas),this.makeResponsive(!0,"both",!1,1),AdobeAn.compositionLoaded(this.library.properties.id),this.stage.addChild(this.exportRoot),createjs.Ticker.framerate=this.library.properties.fps,createjs.Ticker.paused=!1,createjs.Ticker.addEventListener("tick",this.stage),createjs.Ticker.addEventListener("tick",(t=>{this.tickHandler(t)})),console.log(createjs.Ticker)}loadAnimation(){this.startLoading(),createjs.Sound.initializeDefaultPlugins()&&(this.canvas=this.el.querySelector(".video-canvas"),this.anim_container=this.el.querySelector(".canvas-container"),this.comp=AdobeAn.getComposition(this.composition),this.canvas.style.width="100%",console.log(this.canvas.offsetWidth),this.canvas.style.height=this.canvas.offsetWidth+"px",this.anim_container.style.height=this.canvas.offsetWidth+"px",this.library=this.comp.getLibrary(),this.loader=new createjs.LoadQueue(!1),this.loader.setMaxConnections(3),this.loader.maintainScriptOrder=!0,this.loader.installPlugin(createjs.Sound),this.loader.addEventListener("complete",(t=>{this.handleComplete(t)})),this.loader.addEventListener("fileload",(t=>{this.handleFileLoad(t)})),this.loader.addEventListener("progress",this.handleQueueProgress(this)),this.loader.loadManifest(this.library.properties.manifest,!0,this.src.substring(0,this.src.lastIndexOf("/")+1)))}playButtonAction(){this.dataLoaded?this.playPauseAnimation():this.loadAnimation()}playPauseAnimation(){createjs.Ticker.paused?this.playAnimation():this.pauseAnimation()}async playAnimation(){if(null!=this.loader&&this.loader.close(),createjs&&createjs.Ticker){let t=!1,i=this.sound;i&&(i.paused=t),createjs.Ticker.paused=t,createjs.Ticker.addEventListener("tick",this.stage),this.paused=t}}async pauseAnimation(){if(null!=this.loader&&this.loader.close(),createjs&&createjs.Ticker){let t=!0,i=this.sound;i&&(i.paused=t),createjs.Ticker.paused=t,createjs.Ticker.removeEventListener("tick",this.stage),this.paused=t}}disconnectedCallback(){this.pauseAnimation(),createjs.Sound.removeAllSounds()}async classRoomModeChanged(t){this.classMode=t}async destroyAnimation(){this.pauseAnimation()}makeResponsive(t,i,s,e){window.addEventListener("resize",(()=>this.resizeCanvas(t,i,s,e))),this.resizeCanvas(t,i,s,e)}resizeCanvas(t,i,s,e){var a,o,n=1,r=this.library.properties.width,h=this.library.properties.height,l=window.innerWidth,c=window.innerHeight,d=window.devicePixelRatio||1,p=l/r,u=c/h,m=1;t&&("width"==i&&a==l||"height"==i&&o==c?m=n:s?1==e?m=Math.min(p,u):2==e&&(m=Math.max(p,u)):(l<r||c<h)&&(m=Math.min(p,u)));var g=this.el.querySelector(".canvas-container");this.canvas.width=r*d*m,this.canvas.height=h*d*m,this.canvas.style.width="100%",this.canvas.style.height=this.canvas.offsetWidth+"px",g.style.height=this.canvas.offsetWidth+"px",this.stage.scaleX=d*m,this.stage.scaleY=d*m,a=l,o=c,n=m,this.sizeOfCanvas=this.canvas.offsetWidth;var v=this.el.querySelector(".progressBar");this.sizeofProgressBar=v.offsetWidth,this.stage.tickOnUpdate=!1,this.stage.update(),this.stage.tickOnUpdate=!0}tickHandler(t){t.paused||(this.timeline=this.stage.children[0].timeline,this.captionData[Math.floor(this.timeline.position/this.library.properties.fps)]&&(this.captionText=this.captionData[Math.floor(this.timeline.position/this.library.properties.fps)]),this.timeline.position%10==0&&(this.currentProgressWidth=parseFloat((this.timeline.position/this.timeline.duration*this.sizeofProgressBar).toFixed(0))))}rewindAnimationTo(t){let i=this.sound;i&&(i.paused=!0);let s=this.stage.children[0],e=s.timeline;t<0&&(t=0),t>e.duration&&(t=e.duration-10),this.paused?(s.gotoAndStop(t),this.stage.update(),i&&!i.getPaused()&&(createjs.Ticker.paused=!0)):(s.gotoAndPlay(t),createjs.Ticker.paused=!1)}rewindAnimationToStart(){this.paused=!0,this.rewindAnimationTo(0)}rewindAnimation(t){t.stopPropagation();let i=Math.round(t.offsetX/this.sizeofProgressBar*this.stage.children[0].timeline.duration);this.rewindAnimationTo(i)}rewind5Sec(){this.rewindAnimationTo(this.stage.children[0].timeline.position-5*this.library.properties.fps)}fastForward5Sec(){this.rewindAnimationTo(this.stage.children[0].timeline.position+5*this.library.properties.fps)}muteVolume(){let t=this.sound;t&&(t.volume=0)}downVolume(){let t=this.sound;t&&t._getVolume()>.9&&(t.volume=t._getVolume()-.1)}upVolume(){let t=this.sound;t&&t._getVolume()<1&&(t.volume=t._getVolume()+.1)}render(){return i("div",{class:"cavase-main-container"},i("div",{class:"canvas-container",id:"canvas-container"},this.classMode?"":i("div",null,i("canvas",{class:"video-canvas",onClick:()=>this.playButtonAction()}),this.showCaption?i("div",{class:"caption"},this.captionText):""),this.dataLoaded?"":i("img",{class:"frame-img",src:this.firstFramePath}),this.classMode?i("img",{class:"overlay-img",src:s("./assets/play-button-disabled-overlay.png")}):"",!this.classMode&&this.paused?i("img",{class:"overlay-img",onClick:()=>this.playButtonAction(),src:s("./assets/play-button-overlay.png")}):"",this.isBusy?i("div",{class:"loading-container"},i("div",{class:"uil-ring-css"},i("div",null),i("a",null,"Loading ",this.animationVideoProgress,"%"))):""),this.dataLoaded?i("div",{class:"navControls"},i("div",{class:"progressBar",onClick:t=>this.rewindAnimation(t)},i("div",{class:"currentProgress",style:{width:this.currentProgressWidth+"px"}})),i("div",{class:"button-panel"},i("ion-button",{size:"small",color:"transperant",onClick:()=>this.rewind5Sec()}," ",i("ion-icon",{name:"play-back-outline"})," "),i("ion-button",{size:"small",color:"transperant",onClick:()=>this.playButtonAction()}," ",i("ion-icon",this.paused?{name:"pause-outline"}:{name:"play-outline"})),i("ion-button",{size:"small",color:"transperant",onClick:()=>this.fastForward5Sec()}," ",i("ion-icon",{name:"play-forward-outline"})))):"",this.dataLoaded&&this.captionText?i("div",{class:"closed-caption"},i("ion-item",{lines:"none"},i("ion-label",null,"Closed Caption"),i("ion-toggle",{slot:"end",color:"primary",checked:this.showCaption}))):"")}static get assetsDirs(){return["assets"]}get el(){return e(this)}};r.style='.video-canvas{position:absolute;display:block;background-color:#f5f5f5;width:auto}.closed-caption{justify-content:flex-end;width:100%;display:flex}sparkle-animation-player{width:100%;margin:0 auto}.caption{position:absolute;bottom:0px;color:white;text-align:center;width:100%;text-shadow:1px 1px 2px #e50539}.canvas-container{width:680px;height:680px;background-color:#f5f5f5;border-radius:10px;position:relative}.frame-img{position:absolute;display:block;max-width:100%;width:100%;height:auto}.overlay-img{position:absolute;z-index:9999;top:0px;display:block;max-width:100%;width:100%;height:auto}.button-panel{display:flex;justify-content:center}ion-icon{color:var(--ion-color-primary)}.navControls{width:680px;background:transparent;border-radius:10px;position:relative;padding-top:15px;display:flex;flex-direction:column;align-items:center}.navControls .progressBar{flex:100%;border-radius:20px;position:relative;left:0;right:0;height:4px;background-color:rgba(205, 205, 205, 0.7);width:100%}.navControls .progressBar .currentProgress{border-radius:20px;position:absolute;height:25px;background-color:var(--ion-color-primary);transition:width 0.5s;width:100%}.navControls .progressBar .currentProgress:before{position:absolute;top:50%;right:4px;content:" ";display:block;width:12px;height:12px;margin-top:-10px;background:#e5053a;border-radius:10px;border:4px solid #d9d4d4;z-index:10}#dom_overlay_container{pointer-events:none;overflow:hidden;position:absolute;left:0px;top:0px;display:block}.cavase-main-container{width:100%;display:flex;flex-wrap:wrap;justify-content:center;padding:15px;background-position:center;background-size:cover;background-repeat:no-repeat}.loading-container{height:100%;display:flex;justify-content:center;align-items:center}.uil-ring-css{position:absolute}ion-button{--ion-color-base:transparent;--ion-color-contrast:var(--ion-color-primary);--box-shadow:none !important}@media screen and (min-width: 760px){.navControls{flex-direction:row}.navControls .progressBar{height:24px;flex:75%;width:75%}.button-panel{flex:25%;width:25%}}';export{r as sparkle_animation_player}