@soul-refiner/design-system 2.14.171 → 2.14.173
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/components/editor/plugins/highlights/highlight-remove-popover.js +41 -0
- package/dist/components/editor/plugins/leafs/superscript-leaf.js +6 -0
- package/dist/components/editor/simple_editor/index.js +1 -0
- package/dist/components/media/video-player/playlist-item.js +16 -8
- package/dist/components/media/video-player/video.js +9 -13
- package/dist/src/components/editor/plugins/blocks/audio.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/biblical-quote.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/blockquote.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/blocks.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/buttons.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/dropdown-menu.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/image.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/index.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/list.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/media-popover.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/plate-button.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/popover.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/prayer_for_change.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/qa.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/resizable.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/separator.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/table-cell.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/table-row.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/table.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/text.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/video.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/highlights/floating-highlight-toolbar.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/highlights/highlight-button.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/highlights/highlight-decoration.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/highlights/highlight-leaf.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/highlights/highlight-remove-popover.d.ts +8 -0
- package/dist/src/components/editor/plugins/highlights/highlight-remove-popover.d.ts.map +1 -0
- package/dist/src/components/editor/plugins/highlights/highlights-dropdown.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/highlights/index.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/highlights/types.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/highlights/use-highlights.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/leafs/index.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/leafs/leafs.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/leafs/link.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/leafs/superscript-leaf.d.ts +4 -0
- package/dist/src/components/editor/plugins/leafs/superscript-leaf.d.ts.map +1 -0
- package/dist/src/components/editor/plugins/marks/index.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/marks/marks.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/utils/exitBreak.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/utils/index.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/utils/resetBlockType.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/utils/selectOnBackspace.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/utils/softBreak.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/utils/utils.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/approved.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/busy.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/declined.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/default.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/focus.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/index.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/ispaid.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/locked.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/offline.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/online.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/subscribed.d.ts.map +1 -1
- package/dist/src/components/media/video-player/playlist-item.d.ts.map +1 -1
- package/dist/src/components/surfaces/carousel/card/card.d.ts.map +1 -1
- package/dist/src/components/surfaces/carousel/card/index.d.ts.map +1 -1
- package/dist/styles/output.css +1833 -0
- package/package.json +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("react"),r=require("react-dom"),o=require("styled-components");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(t);const s=o.styled.div`
|
|
2
|
+
position: absolute;
|
|
3
|
+
transform: translateX(-50%);
|
|
4
|
+
z-index: 9999;
|
|
5
|
+
padding: 4px;
|
|
6
|
+
background: white;
|
|
7
|
+
border: 1px solid var(--color-grey-8, #e5e7eb);
|
|
8
|
+
border-radius: 8px;
|
|
9
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
10
|
+
|
|
11
|
+
&::before {
|
|
12
|
+
content: '';
|
|
13
|
+
position: absolute;
|
|
14
|
+
top: -5px;
|
|
15
|
+
left: 50%;
|
|
16
|
+
transform: translateX(-50%);
|
|
17
|
+
width: 0;
|
|
18
|
+
height: 0;
|
|
19
|
+
border-left: 5px solid transparent;
|
|
20
|
+
border-right: 5px solid transparent;
|
|
21
|
+
border-bottom: 5px solid white;
|
|
22
|
+
}
|
|
23
|
+
`,d=o.styled.button`
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 6px;
|
|
27
|
+
background: none;
|
|
28
|
+
border: none;
|
|
29
|
+
color: var(--color-red-1, #ef4444);
|
|
30
|
+
font-size: 13px;
|
|
31
|
+
font-weight: 500;
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
padding: 6px 12px;
|
|
34
|
+
border-radius: 6px;
|
|
35
|
+
white-space: nowrap;
|
|
36
|
+
font-family: var(--font-inter);
|
|
37
|
+
|
|
38
|
+
&:hover {
|
|
39
|
+
background: var(--color-red-9, #fef2f2);
|
|
40
|
+
}
|
|
41
|
+
`,l=()=>e.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("polyline",{points:"3 6 5 6 21 6"}),e.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"})]});exports.HighlightRemovePopover=({onRemove:t,enabled:o})=>{const[n,a]=i.default.useState(null),u=i.default.useRef(null);return i.default.useEffect(()=>{if(!o)return;const e=e=>{const t=e.target;if(u.current?.contains(t))return;const r=t.closest("[data-highlight-id]");if(!r)return void a(null);const o=r.getAttribute("data-highlight-id");if(!o)return;const n=window.getSelection();if(n&&!n.isCollapsed)return;e.preventDefault(),e.stopPropagation();const i=r.getBoundingClientRect();a({highlightId:o,top:i.bottom+window.scrollY+4,left:i.left+window.scrollX+i.width/2})};return document.addEventListener("click",e,!0),()=>document.removeEventListener("click",e,!0)},[o]),i.default.useEffect(()=>{if(!n)return;const e=e=>{"Escape"===e.key&&a(null)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[n]),i.default.useEffect(()=>{if(!n)return;const e=e=>{u.current&&!u.current.contains(e.target)&&a(null)},t=setTimeout(()=>{document.addEventListener("mousedown",e)},50);return()=>{clearTimeout(t),document.removeEventListener("mousedown",e)}},[n]),n?r.createPortal(e.jsx(s,{ref:u,style:{top:n.top,left:n.left},children:e.jsxs(d,{onClick:e=>{e.preventDefault(),e.stopPropagation(),t(n.highlightId),a(null)},children:[e.jsx(l,{}),"Remove Highlight"]})}),document.body):null};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),r=require("react"),t=require("@udecode/plate-common"),i=require("styled-components");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const s=n(r).default.forwardRef(({children:r,...i},n)=>e.jsx(t.PlateLeaf,{ref:n,...i,children:e.jsx(a,{children:r})}));s.displayName="SuperscriptLeaf";const a=i.styled.sup`
|
|
2
|
+
font-size: 0.6em;
|
|
3
|
+
vertical-align: super;
|
|
4
|
+
line-height: 0;
|
|
5
|
+
font-weight: 500;
|
|
6
|
+
`;exports.SuperscriptLeaf=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./simple_editor.js");exports.SimpleEditor=e.SimpleEditor,exports.initialData=[{type:"h6",children:[{bold:!0,text:"Episode Summary"}]},{type:"blockquote",children:[{text:'"So I find this law at work: Although I want to do good, evil is right there with me. For in my inner being I delight in God\'s law; but I see another law at work in me, waging war against the law of my mind and making me a prisoner of the law of sin at work within me. What a wretched man I am! Who will rescue me from this body that is subject to death? Thanks be to God, who delivers me through Jesus Christ our Lord!" ('},{text:"Romans 7:21-25 NIV",bold:!0},{text:")"}]},{type:"p",children:[{text:"Is it possible for a man to love Christ with all his heart and yet struggle with sexual sin? The Apostle Paul understood the dichotomy between the flesh and the spirit. The former wants to serve the flesh, while the latter wants to serve Christ."}]},{type:"p",children:[{text:"Unfortunately, many spiritual leaders, with the best intentions, have mistakenly treated sexual bondage as a moral problem. Men have heard that if they pray harder, read their Bible more, act more Christ-like—if they try harder—they would find healing. Some men have even had their pastors lay hands on them, and the spiritual oppression may lift for a while; but because they have not been given a process for renewing their mind, they find themselves falling back into the same old habit."}]},{type:"p",children:[{text:"Failure to know where the battle occurs is detrimental because you'll keep trying to fix the problem with the wrong solution, often making matters worse. The battle for sexual purity is a battle of the mind, one that takes place in your brain. It is possible for a man to love Christ genuinely, but fail to stop his addiction on his own."}]},{type:"p",children:[{text:"Knowing how God designed your brain will change the way you approach your struggle with sexual bondage. In this lesson, we will explore the science behind sexual bondage and discover the role of neuroplasticity, the brain's ability to adapt and reorganize throughout life. You will receive practical approaches on how to retrain your brain. The goal is to renew your mind and be transformed into the image of Christ."}]},{type:"audio",children:[{text:""}],id:"145"},{type:"prayer_for_change",children:[{type:"h6",children:[{text:"Prayer for Change",bold:!0}]},{type:"p",children:[{text:"My Gracious Heavenly Father, I'm so thankful for the strength You've given me throughout this journey. While I know this is just the beginning of my healing, I'm confident You'll be with me. As I look to the future You have planned for me, help me continue moving forward in my restoration, not just for myself, but for my wife, my children, and the men and women you want me to help. In Jesus' name, Amen.",italic:!0}]}]}];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),i=require("react"),o=require("next/image"),t=require("styled-components"),r=require("../../atoms/
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),i=require("react"),o=require("next/image"),t=require("styled-components"),r=require("../../atoms/seconds_to_duration/seconds_to_duration.js"),l=require("../../atoms/typography/paragraph.js"),n=require("../../../icons/security/lock.js"),s=require("../../../icons/audio_video/play_solid.js"),a=require("../../../icons/basic/download_arrow.js"),c=require("../../../icons/basic/share_external.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=d(i),x=d(o);const h=p.default.forwardRef(({comingSoon:i,duration:o,onClick:t,playable:d,progress:p=0,shortDescription:h,thumbnail:w="/images/default_card_image.png",nowplaying:$,playlistItemId:v,title:I="Episode",isFile:k=!1,type:L="VIDEO"},z)=>e.jsxs(g,{ref:z,onClick:d&&!i?t:void 0,$playable:d||"LINK"===L,$playlistItemId:v,$nowplaying:$,$isExternalLink:"LINK"===L,children:[d?e.jsx(s.PlaySolid,{color:"white",size:16,sx:"position: absolute; left: 10px; bottom: 10px;"}):"LINK"===L?e.jsx(c.ShareExternal,{color:"white",size:16,sx:"position: absolute; left: 10px; bottom: 10px;"}):e.jsx(n.Lock,{color:"white",size:16,sx:"position: absolute; left: 10px; bottom: 10px;"}),e.jsxs("div",{style:{position:"relative",overflow:"hidden",height:75,minWidth:133,width:"100%",maxWidth:133,backgroundColor:"white"},className:"imageContainer",children:[e.jsx(x.default,{alt:`thumbnail for ${I}`,height:75,quality:100,src:w,style:{objectFit:"LINK"===L?"contain":"cover",background:"LINK"===L?"white":"transparent"},width:133}),k&&e.jsx(y,{className:"overlay",children:e.jsx(f,{children:e.jsx(Button,{icon:e.jsx(a.DownloadArrow,{color:"grey-4",size:16}),type:"special",sx:"padding-left: 12px;padding-right: 12px; max-height: 32px;",children:e.jsx(l.P,{$color:"grey-4",$fontSize:14,$lineHeight:20,children:"Download"})})})}),"LINK"===L&&e.jsx(u,{className:"overlay",children:e.jsx(m,{children:e.jsx(Button,{icon:e.jsx(c.ShareExternal,{color:"grey-4",size:16}),type:"special",sx:"max-height: 32px;",children:e.jsx(l.P,{$color:"grey-4",$fontSize:14,$lineHeight:20,children:"Visit"})})})})]}),p&&o&&!i&&"LINK"!==L?e.jsx(j,{progressPercent:p/o}):null,e.jsxs(b,{children:[e.jsx(l.P,{$color:"grey-10",$semiBold:!0,sx:"white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",children:I}),o&&!i&&"LINK"!==L&&"FILE"!==L&&e.jsx(l.P,{$color:"grey-8",$fontSize:14,$lineHeight:20,children:e.jsx(r.SecToDuration,{seconds:o})}),"LINK"===L&&e.jsx(l.P,{$color:"grey-8",$fontSize:14,$lineHeight:20,children:"Visit"}),"FILE"===L&&e.jsx(l.P,{$color:"grey-8",$fontSize:14,$lineHeight:20,children:"Download"}),i&&e.jsx(l.P,{$color:"grey-8",$fontSize:14,$lineHeight:20,children:"Coming soon"})]})]})),g=t.styled.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
flex: 0 1 auto;
|
|
4
|
-
padding: 6px;
|
|
4
|
+
padding: 6px 6px 6px 0;
|
|
5
5
|
display: flex;
|
|
6
6
|
align-items: center;
|
|
7
7
|
position: relative;
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
object-fit: contain;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
`,
|
|
25
|
+
`,y=t.styled.div`
|
|
26
26
|
position: absolute;
|
|
27
27
|
background-color: rgba(0, 0, 0, 0.2);
|
|
28
28
|
height: 75px;
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
align-items: center;
|
|
33
33
|
opacity: 0;
|
|
34
34
|
transition: opacity 0.2s ease-in-out;
|
|
35
|
-
`,
|
|
35
|
+
`,u=t.styled.div`
|
|
36
36
|
position: absolute;
|
|
37
37
|
background-color: rgba(0, 0, 0, 0.2);
|
|
38
38
|
height: 75px;
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
align-items: center;
|
|
43
43
|
opacity: 0;
|
|
44
44
|
transition: opacity 0.2s ease-in-out;
|
|
45
|
-
`,
|
|
45
|
+
`,f=t.styled.div`
|
|
46
46
|
display: flex;
|
|
47
47
|
justify-content: center;
|
|
48
48
|
align-items: center;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
width: 100%;
|
|
52
52
|
background-color: white;
|
|
53
53
|
gap: 0px;
|
|
54
|
-
`,
|
|
54
|
+
`,m=t.styled.div`
|
|
55
55
|
display: flex;
|
|
56
56
|
justify-content: center;
|
|
57
57
|
align-items: center;
|
|
@@ -59,9 +59,17 @@
|
|
|
59
59
|
height: 100%;
|
|
60
60
|
width: 100%;
|
|
61
61
|
gap: 4px;
|
|
62
|
-
|
|
62
|
+
`,j=({progressPercent:i})=>e.jsxs(w,{viewBox:"0 0 133 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("rect",{width:133*i,height:"2",fill:"var(--color-primary-blue-2)"}),e.jsx("rect",{x:133*i,width:133-133*i,height:"2",fill:"var(--color-grey-8)"})]}),w=t.styled.svg`
|
|
63
63
|
width: 133px;
|
|
64
64
|
position: absolute;
|
|
65
65
|
bottom: 5px;
|
|
66
66
|
left: 5px;
|
|
67
|
-
|
|
67
|
+
`,b=t.styled.div`
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-direction: column;
|
|
70
|
+
gap: 8px;
|
|
71
|
+
margin-left: 16px;
|
|
72
|
+
flex: 1 0 0;
|
|
73
|
+
min-width: 0;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
`;exports.PlaylistItem=h;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";var e=require("react/jsx-runtime"),i=require("react"),t=require("next/image"),r=require("react-player"),n=require("styled-components"),o=require("../../actions/button/button.js"),l=require("../../atoms/box/box.js");require("../../navigation/breadcrumb/breadcrumb.js"),require("../../navigation/inner/inner.js");var s=require("../../navigation/tabs/tabs.js");require("../../navigation/tabs/custom-tabs.js");var a=require("../../../icons/basic/select_item.js"),d=require("../../atoms/typography/heading.js"),c=require("../../atoms/typography/paragraph.js"),p=require("../../../icons/security/lock_circle.js"),u=require("../../../icons/audio_video/play_solid.js"),g=require("../../../utils/local-storage.js"),h=require("./playlist-item.js"),x=require("./misc.js"),m=require("../../../icons/arrow/chevron_down.js"),f=require("../../surfaces/accordion/accordion.js");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var y=b(i),w=b(t),
|
|
2
|
+
"use strict";var e=require("react/jsx-runtime"),i=require("react"),t=require("next/image"),r=require("react-player"),n=require("styled-components"),o=require("../../actions/button/button.js"),l=require("../../atoms/box/box.js");require("../../navigation/breadcrumb/breadcrumb.js"),require("../../navigation/inner/inner.js");var s=require("../../navigation/tabs/tabs.js");require("../../navigation/tabs/custom-tabs.js");var a=require("../../../icons/basic/select_item.js"),d=require("../../atoms/typography/heading.js"),c=require("../../atoms/typography/paragraph.js"),p=require("../../../icons/security/lock_circle.js"),u=require("../../../icons/audio_video/play_solid.js"),g=require("../../../utils/local-storage.js"),h=require("./playlist-item.js"),x=require("./misc.js"),m=require("../../../icons/arrow/chevron_down.js"),f=require("../../surfaces/accordion/accordion.js");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var y=b(i),w=b(t),j=b(r);const v=1280/720,$=200*v,I=n.styled.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
5
5
|
background-color: var(--color-grey-0);
|
|
@@ -94,22 +94,18 @@
|
|
|
94
94
|
overflow-x: hidden;
|
|
95
95
|
padding-right: 4px;
|
|
96
96
|
&::-webkit-scrollbar-track {
|
|
97
|
-
|
|
98
|
-
-webkit-box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.15);
|
|
99
|
-
border-radius: 4px;
|
|
100
|
-
background-color: var(--color-grey-2);
|
|
101
|
-
margin: 40px 0px 15px 0px;
|
|
97
|
+
background-color: rgba(96, 96, 96, 0.61);
|
|
102
98
|
}
|
|
103
99
|
&::-webkit-scrollbar {
|
|
104
|
-
width:
|
|
105
|
-
border-radius:
|
|
100
|
+
width: 4px;
|
|
101
|
+
border-radius: 2px;
|
|
106
102
|
}
|
|
107
103
|
&::-webkit-scrollbar-thumb {
|
|
108
|
-
border-radius:
|
|
109
|
-
background-color:
|
|
110
|
-
opacity:
|
|
104
|
+
border-radius: 2px;
|
|
105
|
+
background-color: #eaebed;
|
|
106
|
+
opacity: 0.8 !important;
|
|
111
107
|
}
|
|
112
|
-
${({$showingAll:e})=>e?"\n height: 100vh; max-height: calc(100vh - 200px)
|
|
108
|
+
${({$showingAll:e})=>e?"\n height: 100vh; max-height: calc(100vh - 200px);\n overflow-y: auto;\n flex: 1;\n margin-top: auto;\n margin-bottom: auto;":"height: 100%;"}
|
|
113
109
|
`,B=n.styled.div`
|
|
114
110
|
display: flex;
|
|
115
111
|
flex-direction: column;
|
|
@@ -135,4 +131,4 @@
|
|
|
135
131
|
}
|
|
136
132
|
|
|
137
133
|
${({$showingAll:e})=>e?"height: 100%; overflow-y:auto;":"max-height: 350px;"}
|
|
138
|
-
`;exports.VideoPlayer=({activeIndex:t,pip:r,playable:n,playlist:b,onClickPreview:L,onPipChange:M,onProgress:R,onStart:T,orientation:H,setMediaItem:E,onShowAllPlaylist:O,forwardedRef:_,subtitle:F,title:N,trailer:W,additionalMedia:V})=>{const X="undefined"!=typeof window?window:{innerHeight:0,innerWidth:600},Y=X.innerHeight/3,K=j*(X.innerHeight/3),G=y.default.useRef(null),J=_||G,Q=y.default.useRef({}),U=y.default.useRef(null),Z=y.default.useRef(null),[ee,ie]=y.default.useState(0),[te,re]=y.default.useState(!1),[ne,oe]=y.default.useState(!n),[le,se]=y.default.useState(b?.[t].id||null),[ae,de]=g.useLocalStorage("videoPipHeight",Y),[ce,pe]=g.useLocalStorage("videoPipWidth",K),[ue,ge]=g.useLocalStorage("video-volume",1),[he,xe]=g.useLocalStorage("videoPipRight",16),[me,fe]=g.useLocalStorage("videoPipBottom",16),[be,ye]=y.default.useState([0,0]),[we,ve]=y.default.useState([0,0]),[je,$e]=y.default.useState(!1),[Ie,ke]=y.default.useState(0),[Se,De]=y.default.useState([]),[Ae,Pe]=y.default.useState([]),[ze,qe]=y.default.useState([]),[Ce,Be]=y.default.useState(!1),Le=ne?W:je?Se?.[Ie]:b?.[t],Me=Array.isArray(Le?.src)?Le.src[0]:Le?.src,Re=Me?.includes(".m3u8")||!1;y.default.useEffect(()=>{V&&(De(V.filter(e=>"VIDEO"===e.type)),Pe(V.filter(e=>"FILE"===e.type)),qe(V.filter(e=>"LINK"===e.type)))},[V]);const Te=y.default.useRef(!0);y.default.useEffect(()=>{Te.current?Te.current=!1:!n||ne||je||Be(!0)},[t,n,ne,je]);const He=(e,i=!1)=>{oe(!1),$e(i),Be(!(!n&&!i)),i?ke(e):E(e)},Ee=()=>{re(e=>!e),O&&O(!te)},Oe=(e,i)=>{if(!Z?.current)return;const t=Z.current.getBoundingClientRect();t.x<16||t.y<16||e>=2*X.innerWidth/3||i>=2*X.innerHeight/3||e<$||i<200||(pe(e),de(i))},_e=()=>{if(!Z?.current)return;const e=Z.current.getBoundingClientRect();ve([e.width,e.height])},Fe=e=>{if(!Z?.current)return;const i=e.currentTarget.getAttribute("class")?.split(" ")||[],t=window.innerWidth-e.clientX,r=window.innerHeight-e.clientY;if(!(e.clientX<0||e.clientY<0))if(e.stopPropagation(),e.preventDefault(),i.includes("top")){const e=Math.round(r-be[1]+we[1]),i=Math.round(e*j);Oe(i,e)}else if(i.includes("bottom")){const e=Math.round(be[1]-r+we[1]),i=Math.round(e*j);Oe(i,e)}else if(i.includes("left")){const e=Math.round(t-be[0]+we[0]),i=Math.round(e/j);Oe(e,i)}else if(i.includes("right")){const e=Math.round(be[0]-t+we[0]),i=Math.round(e/j);Oe(e,i)}},Ne=i.useMemo(()=>{let e=[{label:"All lessons",color:"dark"}];return V?.length&&e.push({label:"Resources",color:"dark"}),W&&e.push({label:"Trailer",color:"dark"}),e},[V,W]),We=W&&"Trailer"===Ne[ee]?.label,Ve=V&&"Resources"===Ne[ee]?.label;return y.default.useEffect(()=>{ee>=Ne.length&&ie(0)},[Ne,ee]),Le?e.jsx(I,{$orientation:H,children:e.jsxs(A,{$orientation:H,$playable:n||ne||je,children:["vertical"===H&&e.jsxs(l.Box,{className:"pip-trigger-vertical pip-trigger",$dir:"column",$gap:4,sx:"margin: 24px;",children:[e.jsx(d.H,{as:"h2",$bold:!0,$color:"white",$fontSize:28,$lineHeight:36,children:N}),e.jsx(c.P,{as:"h3",$bold:!0,$color:"grey-8",children:F})]}),r&&e.jsx(S,{}),e.jsxs(k,{$pip:!!r,draggable:r&&0===we[0],onDrag:r?e=>{if(e.clientX<0||e.clientY<0)return;const i=window.innerWidth-e.clientX,t=window.innerHeight-e.clientY;((e,i)=>{if(!Z?.current)return;const t=Z.current.getBoundingClientRect();e&&e>=16&&e<=X.innerWidth-16-t.width&&xe(e),i&&i>=16&&i<=X.innerHeight-16-t.height&&fe(i)})(he+(i-be[0]),me+(t-be[1])),ye([i,t])}:void 0,onMouseDown:e=>{ye([window.innerWidth-e.clientX,window.innerHeight-e.clientY])},ref:Z,style:r?{bottom:me,height:ae,right:he,width:ce}:void 0,children:[r&&e.jsx(o.Button,{className:"close-pip",icon:e.jsx(a.SelectItem,{color:"grey-0"}),onClick:e=>{e.stopPropagation(),M&&M(!1)},size:"large",sx:"\n display: none;\n position: absolute;\n top: 8px;\n right: 8px;\n z-index: 10;\n svg {\n fill: var(--color-white);\n }\n ",type:"text"}),e.jsx(v.default,{className:"player",config:{file:{attributes:{crossOrigin:"true",disablePictureInPicture:"true"},forceHLS:Re,hlsOptions:Re?{autoStartLoad:!0}:void 0,tracks:(Le?.subtitles||[]).map(e=>({kind:"subtitles",label:e.label,src:e.src,srcLang:e.locale}))}},controls:!0,height:"100%",light:e.jsx(w.default,{alt:`thumbnail for ${N}`,layout:"fill",priority:!0,quality:100,style:{objectFit:"cover"},src:Le?.thumbnail||"/images/default_card_image.png"}),progressInterval:4e3,onProgress:e=>R(e,je?Se[Ie]?.id:void 0),onStart:T,onClickPreview:e=>{(n||ne||je)&&Be(!0),L&&L(e)},onReady:()=>{if(!ne){const e=J?.current?.getCurrentTime();0===e&&(je?0!==Se?.[Ie]?.progress&&J.current.seekTo(Se?.[Ie].progress):0!==Le?.progress&&J.current.seekTo(Le.progress))}},pip:r,playIcon:n||ne||je?e.jsx(u.PlaySolid,{color:"white",size:24,sx:"position: absolute; width: 54px; height: 54px;"}):e.jsx(p.LockCircle,{color:"white",size:24,sx:"position: absolute; width: 54px; height: 54px;"}),playing:ne||je||n&&Ce,ref:J,url:Le.src,width:"100%",volume:ue,onVolumeChange:e=>{ge(e.target.volume)}},`${ne}-${je}-${t}-${Ie}-${Le?.id??(Array.isArray(Le?.src)?Le.src[0]:Le?.src)??""}`),r&&e.jsxs(e.Fragment,{children:[e.jsx(D,{className:"top horizontal",draggable:"false",onDrag:Fe,onMouseDown:_e,onDragEnd:()=>ve([0,0]),tabIndex:0}),e.jsx(D,{className:"bottom horizontal",draggable:"false",onDrag:Fe,onMouseDown:_e,onDragEnd:()=>ve([0,0]),tabIndex:0}),e.jsx(D,{className:"right vertical",draggable:"false",onDrag:Fe,onMouseDown:_e,onDragEnd:()=>ve([0,0]),tabIndex:0}),e.jsx(D,{className:"left vertical",draggable:"false",onDrag:Fe,onMouseDown:_e,onDragEnd:()=>ve([0,0]),tabIndex:0})]})]}),"horizontal"===H&&e.jsx(P,{children:e.jsxs(z,{$showingAll:te,children:[e.jsxs(l.Box,{$dir:"column",$gap:4,children:[e.jsx(d.H,{as:"h2",$bold:!0,$color:"white",$fontSize:28,$lineHeight:36,children:N}),e.jsx(c.P,{as:"h3",$bold:!0,$color:"grey-8",children:F})]}),e.jsxs(l.Box,{$align:"center",children:[e.jsx(s.Tabs,{activeIndex:ee,onChange:e=>ie(e),items:Ne,size:"medium",sx:"justify-content: flex-start;"}),e.jsx(x.ButtonViewAll,{showingAll:te,orientation:H,toggleShowingAll:Ee})]}),0===ee?e.jsx(C,{ref:U,$showingAll:te,children:b.map((i,t)=>e.jsx(h.PlaylistItem,{playlistItemId:i.id,onClick:()=>{se(i.id),He(t)},title:i.title,thumbnail:i.thumbnail,shortDescription:i.shortDescription,duration:i.duration,progress:i.progress,playable:n,nowplaying:le,comingSoon:i.comingSoon||!1,ref:e=>{Q.current[i.id]=e}},i.id))}):Ve?e.jsxs(C,{$showingAll:te,children:[!!Se.length&&e.jsx(f.Accordion,{defaultOpen:0,children:[0].map(i=>e.jsx(f.Accordion.Item,{buttonSx:"padding: 0; align-items: center; flex-direction: row-reverse; justify-content: flex-end; gap: 16px; svg {fill: white !important; } &:hover {background: var(--color-grey-1);}",trigger:e.jsx("div",{style:{display:"flex",alignItems:"center",gap:16},children:e.jsx(c.P,{$color:"white",$fontSize:16,$semiBold:!0,children:"Leaders"})}),sx:"flex-direction: column; ",children:e.jsx("div",{style:{marginTop:24,display:"flex",flexDirection:"column",gap:24},children:Se.map((i,t)=>e.jsx(h.PlaylistItem,{playlistItemId:i.id,onClick:()=>{se(i.id),He(t,!0)},progress:i.progress,duration:i.duration,title:i.name,thumbnail:i.thumbnail||"",shortDescription:i.shortDescription,playable:!0,nowplaying:le,ref:e=>{Q.current[i.id]=e}},i.id))})},i))}),!!Ae.length&&e.jsx(f.Accordion,{defaultOpen:0,children:[0].map(i=>e.jsx(f.Accordion.Item,{buttonSx:"padding: 0; align-items: center; flex-direction: row-reverse; justify-content: flex-end; gap: 16px; svg {fill: white !important; } &:hover {background: var(--color-grey-1);}",trigger:e.jsx("div",{style:{display:"flex",alignItems:"center",gap:16},children:e.jsx(c.P,{$color:"white",$fontSize:16,$semiBold:!0,children:"Other Resources"})}),sx:"flex-direction: column; ",children:e.jsx("div",{style:{marginTop:24,display:"flex",flexDirection:"column",gap:24},children:[...Ae].map(i=>e.jsx(h.PlaylistItem,{playlistItemId:i.id,onClick:()=>{window.open(i.src,"_blank")},progress:i.progress,duration:i.duration,title:i.name,thumbnail:i.thumbnail||"",shortDescription:i.shortDescription,playable:!0,nowplaying:le,type:i.type,isFile:"FILE"===i.type,ref:e=>{Q.current[i.id]=e}},i.id))})},i))}),!!ze.length&&e.jsx(f.Accordion,{defaultOpen:0,children:[0].map(i=>e.jsx(f.Accordion.Item,{buttonSx:"padding: 0; align-items: center; flex-direction: row-reverse; justify-content: flex-end; gap: 16px; svg {fill: white !important; } &:hover {background: var(--color-grey-1);}",trigger:e.jsx("div",{style:{display:"flex",alignItems:"center",gap:16},children:e.jsx(c.P,{$color:"white",$fontSize:16,$semiBold:!0,children:"Products"})}),sx:"flex-direction: column; ",children:e.jsx("div",{style:{marginTop:24,display:"flex",flexDirection:"column",gap:24},children:[...ze].map(i=>e.jsx(h.PlaylistItem,{playlistItemId:i.id,onClick:()=>{window.open(i.src,"_blank")},progress:i.progress,duration:i.duration,title:i.name,thumbnail:i.thumbnail||"",shortDescription:i.shortDescription,playable:!0,nowplaying:le,type:i.type,isFile:"FILE"===i.type,ref:e=>{Q.current[i.id]=e}},i.id))})},i))})]}):We&&W?e.jsx(x.TrailerListItem,{title:N,handleSetPlayingTrailer:oe,trailer:W}):null]})}),"vertical"===H&&e.jsx(l.Box,{$dir:"column",$gap:24,sx:te?"z-index: 3; position:relative;":"height: auto",children:e.jsxs(q,{$showingAll:te,children:[e.jsxs(l.Box,{sx:"padding: 0 1.5rem;",$align:"center",children:[e.jsx(s.Tabs,{activeIndex:ee,onChange:e=>ie(e),items:Ne,size:"medium",sx:"justify-content: flex-start;"}),e.jsx(x.ButtonViewAll,{showingAll:te,orientation:H,toggleShowingAll:Ee})]}),[e.jsx(B,{ref:U,$showingAll:te,children:b.map((i,t)=>e.jsx(h.PlaylistItem,{comingSoon:i.comingSoon||!1,nowplaying:le,playlistItemId:i.id,duration:i.duration,ref:e=>{Q.current[i.id]=e},onClick:()=>{He(t),se(i.id)},playable:n,progress:i.progress,shortDescription:i.shortDescription,thumbnail:i.thumbnail,title:i.title},i.id))}),e.jsxs(B,{$showingAll:te,children:[!!Se.length&&e.jsx(f.Accordion,{defaultOpen:0,children:[0].map(i=>e.jsx(f.Accordion.Item,{buttonSx:"padding: 0;",trigger:e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:16,marginBottom:24},children:[e.jsx(m.ChevronDown,{size:20,color:"white"}),e.jsx(c.P,{$color:"white",$fontSize:16,$semiBold:!0,children:"Leaders"})]}),sx:"flex-direction: column; gap: 24px;",children:Se.map((i,t)=>e.jsx(h.PlaylistItem,{playlistItemId:i.id,onClick:()=>{se(i.id),He(t,!0)},progress:i.progress,duration:i.duration,title:i.name,thumbnail:i.thumbnail||"",shortDescription:i.shortDescription,playable:!0,nowplaying:le,ref:e=>{Q.current[i.id]=e}},i.id))},i))}),(!!Ae.length||!!ze.length)&&e.jsx(f.Accordion,{defaultOpen:0,children:[0].map(i=>e.jsx(f.Accordion.Item,{buttonSx:"padding: 0;",trigger:e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:16,marginBottom:24},children:[e.jsx(m.ChevronDown,{size:20,color:"white"}),e.jsx(c.P,{$color:"white",$fontSize:16,$semiBold:!0,children:"Other Resources"})]}),sx:"flex-direction: column; gap: 24px;",children:[...Ae,...ze].map(i=>e.jsx(h.PlaylistItem,{playlistItemId:i.id,onClick:()=>{window.open(i.src,"_blank")},progress:i.progress,duration:i.duration,title:i.name,thumbnail:i.thumbnail||"",shortDescription:i.shortDescription,playable:!0,nowplaying:le,type:i.type,isFile:"FILE"===i.type,ref:e=>{Q.current[i.id]=e}},i.id))},i))})]}),!!W&&e.jsx(l.Box,{$dir:"column",$gap:8,sx:"margin: 0px 24px;",children:e.jsx(x.TrailerListItem,{title:N,handleSetPlayingTrailer:oe,trailer:W})})][ee]]})})]})}):null};
|
|
134
|
+
`;exports.VideoPlayer=({activeIndex:t,pip:r,playable:n,playlist:b,onClickPreview:L,onPipChange:M,onProgress:R,onStart:T,orientation:H,setMediaItem:E,onShowAllPlaylist:O,forwardedRef:_,subtitle:F,title:N,trailer:W,additionalMedia:V})=>{const X="undefined"!=typeof window?window:{innerHeight:0,innerWidth:600},Y=X.innerHeight/3,K=v*(X.innerHeight/3),G=y.default.useRef(null),J=_||G,Q=y.default.useRef({}),U=y.default.useRef(null),Z=y.default.useRef(null),[ee,ie]=y.default.useState(0),[te,re]=y.default.useState(!1),[ne,oe]=y.default.useState(!n),[le,se]=y.default.useState(b?.[t].id||null),[ae,de]=g.useLocalStorage("videoPipHeight",Y),[ce,pe]=g.useLocalStorage("videoPipWidth",K),[ue,ge]=g.useLocalStorage("video-volume",1),[he,xe]=g.useLocalStorage("videoPipRight",16),[me,fe]=g.useLocalStorage("videoPipBottom",16),[be,ye]=y.default.useState([0,0]),[we,je]=y.default.useState([0,0]),[ve,$e]=y.default.useState(!1),[Ie,ke]=y.default.useState(0),[Se,De]=y.default.useState([]),[Ae,Pe]=y.default.useState([]),[ze,qe]=y.default.useState([]),[Ce,Be]=y.default.useState(!1),Le=ne?W:ve?Se?.[Ie]:b?.[t],Me=Array.isArray(Le?.src)?Le.src[0]:Le?.src,Re=Me?.includes(".m3u8")||!1;y.default.useEffect(()=>{V&&(De(V.filter(e=>"VIDEO"===e.type)),Pe(V.filter(e=>"FILE"===e.type)),qe(V.filter(e=>"LINK"===e.type)))},[V]);const Te=y.default.useRef(!0);y.default.useEffect(()=>{Te.current?Te.current=!1:!n||ne||ve||Be(!0)},[t,n,ne,ve]);const He=(e,i=!1)=>{oe(!1),$e(i),Be(!(!n&&!i)),i?ke(e):E(e)},Ee=()=>{re(e=>!e),O&&O(!te)},Oe=(e,i)=>{if(!Z?.current)return;const t=Z.current.getBoundingClientRect();t.x<16||t.y<16||e>=2*X.innerWidth/3||i>=2*X.innerHeight/3||e<$||i<200||(pe(e),de(i))},_e=()=>{if(!Z?.current)return;const e=Z.current.getBoundingClientRect();je([e.width,e.height])},Fe=e=>{if(!Z?.current)return;const i=e.currentTarget.getAttribute("class")?.split(" ")||[],t=window.innerWidth-e.clientX,r=window.innerHeight-e.clientY;if(!(e.clientX<0||e.clientY<0))if(e.stopPropagation(),e.preventDefault(),i.includes("top")){const e=Math.round(r-be[1]+we[1]),i=Math.round(e*v);Oe(i,e)}else if(i.includes("bottom")){const e=Math.round(be[1]-r+we[1]),i=Math.round(e*v);Oe(i,e)}else if(i.includes("left")){const e=Math.round(t-be[0]+we[0]),i=Math.round(e/v);Oe(e,i)}else if(i.includes("right")){const e=Math.round(be[0]-t+we[0]),i=Math.round(e/v);Oe(e,i)}},Ne=i.useMemo(()=>{let e=[{label:"All lessons",color:"dark"}];return V?.length&&e.push({label:"Resources",color:"dark"}),W&&e.push({label:"Trailer",color:"dark"}),e},[V,W]),We=W&&"Trailer"===Ne[ee]?.label,Ve=V&&"Resources"===Ne[ee]?.label;return y.default.useEffect(()=>{ee>=Ne.length&&ie(0)},[Ne,ee]),Le?e.jsx(I,{$orientation:H,children:e.jsxs(A,{$orientation:H,$playable:n||ne||ve,children:["vertical"===H&&e.jsxs(l.Box,{className:"pip-trigger-vertical pip-trigger",$dir:"column",$gap:4,sx:"margin: 24px;",children:[e.jsx(d.H,{as:"h2",$bold:!0,$color:"white",$fontSize:28,$lineHeight:36,children:N}),e.jsx(c.P,{as:"h3",$bold:!0,$color:"grey-8",children:F})]}),r&&e.jsx(S,{}),e.jsxs(k,{$pip:!!r,draggable:r&&0===we[0],onDrag:r?e=>{if(e.clientX<0||e.clientY<0)return;const i=window.innerWidth-e.clientX,t=window.innerHeight-e.clientY;((e,i)=>{if(!Z?.current)return;const t=Z.current.getBoundingClientRect();e&&e>=16&&e<=X.innerWidth-16-t.width&&xe(e),i&&i>=16&&i<=X.innerHeight-16-t.height&&fe(i)})(he+(i-be[0]),me+(t-be[1])),ye([i,t])}:void 0,onMouseDown:e=>{ye([window.innerWidth-e.clientX,window.innerHeight-e.clientY])},ref:Z,style:r?{bottom:me,height:ae,right:he,width:ce}:void 0,children:[r&&e.jsx(o.Button,{className:"close-pip",icon:e.jsx(a.SelectItem,{color:"grey-0"}),onClick:e=>{e.stopPropagation(),M&&M(!1)},size:"large",sx:"\n display: none;\n position: absolute;\n top: 8px;\n right: 8px;\n z-index: 10;\n svg {\n fill: var(--color-white);\n }\n ",type:"text"}),e.jsx(j.default,{className:"player",config:{file:{attributes:{crossOrigin:"true",disablePictureInPicture:"true"},forceHLS:Re,hlsOptions:Re?{autoStartLoad:!0}:void 0,tracks:(Le?.subtitles||[]).map(e=>({kind:"subtitles",label:e.label,src:e.src,srcLang:e.locale}))}},controls:!0,height:"100%",light:e.jsx(w.default,{alt:`thumbnail for ${N}`,layout:"fill",priority:!0,quality:100,style:{objectFit:"cover"},src:Le?.thumbnail||"/images/default_card_image.png"}),progressInterval:4e3,onProgress:e=>R(e,ve?Se[Ie]?.id:void 0),onStart:T,onClickPreview:e=>{(n||ne||ve)&&Be(!0),L&&L(e)},onReady:()=>{if(!ne){const e=J?.current?.getCurrentTime();0===e&&(ve?0!==Se?.[Ie]?.progress&&J.current.seekTo(Se?.[Ie].progress):0!==Le?.progress&&J.current.seekTo(Le.progress))}},pip:r,playIcon:n||ne||ve?e.jsx(u.PlaySolid,{color:"white",size:24,sx:"position: absolute; width: 54px; height: 54px;"}):e.jsx(p.LockCircle,{color:"white",size:24,sx:"position: absolute; width: 54px; height: 54px;"}),playing:ne||ve||n&&Ce,ref:J,url:Le.src,width:"100%",volume:ue,onVolumeChange:e=>{ge(e.target.volume)}},`${ne}-${ve}-${t}-${Ie}-${Le?.id??(Array.isArray(Le?.src)?Le.src[0]:Le?.src)??""}`),r&&e.jsxs(e.Fragment,{children:[e.jsx(D,{className:"top horizontal",draggable:"false",onDrag:Fe,onMouseDown:_e,onDragEnd:()=>je([0,0]),tabIndex:0}),e.jsx(D,{className:"bottom horizontal",draggable:"false",onDrag:Fe,onMouseDown:_e,onDragEnd:()=>je([0,0]),tabIndex:0}),e.jsx(D,{className:"right vertical",draggable:"false",onDrag:Fe,onMouseDown:_e,onDragEnd:()=>je([0,0]),tabIndex:0}),e.jsx(D,{className:"left vertical",draggable:"false",onDrag:Fe,onMouseDown:_e,onDragEnd:()=>je([0,0]),tabIndex:0})]})]}),"horizontal"===H&&e.jsx(P,{children:e.jsxs(z,{$showingAll:te,children:[e.jsxs(l.Box,{$dir:"column",$gap:4,children:[e.jsx(d.H,{as:"h2",$bold:!0,$color:"white",$fontSize:28,$lineHeight:36,children:N}),e.jsx(c.P,{as:"h3",$bold:!0,$color:"grey-8",children:F})]}),e.jsxs(l.Box,{$align:"center",children:[e.jsx(s.Tabs,{activeIndex:ee,onChange:e=>ie(e),items:Ne,size:"medium",sx:"justify-content: flex-start;"}),e.jsx(x.ButtonViewAll,{showingAll:te,orientation:H,toggleShowingAll:Ee})]}),0===ee?e.jsx(C,{ref:U,$showingAll:te,children:b.map((i,t)=>e.jsx(h.PlaylistItem,{playlistItemId:i.id,onClick:()=>{se(i.id),He(t)},title:i.title,thumbnail:i.thumbnail,shortDescription:i.shortDescription,duration:i.duration,progress:i.progress,playable:n,nowplaying:le,comingSoon:i.comingSoon||!1,ref:e=>{Q.current[i.id]=e}},i.id))}):Ve?e.jsxs(C,{$showingAll:te,children:[!!Se.length&&e.jsx(f.Accordion,{defaultOpen:0,children:[0].map(i=>e.jsx(f.Accordion.Item,{buttonSx:"padding: 0; align-items: center; flex-direction: row-reverse; justify-content: flex-end; gap: 16px; svg {fill: white !important; } &:hover {background: var(--color-grey-1);}",trigger:e.jsx("div",{style:{display:"flex",alignItems:"center",gap:16},children:e.jsx(c.P,{$color:"white",$fontSize:16,$semiBold:!0,children:"Leaders"})}),sx:"flex-direction: column; ",children:e.jsx("div",{style:{marginTop:24,display:"flex",flexDirection:"column",gap:24},children:Se.map((i,t)=>e.jsx(h.PlaylistItem,{playlistItemId:i.id,onClick:()=>{se(i.id),He(t,!0)},progress:i.progress,duration:i.duration,title:i.name,thumbnail:i.thumbnail||"",shortDescription:i.shortDescription,playable:!0,nowplaying:le,ref:e=>{Q.current[i.id]=e}},i.id))})},i))}),!!Ae.length&&e.jsx(f.Accordion,{defaultOpen:0,children:[0].map(i=>e.jsx(f.Accordion.Item,{buttonSx:"padding: 0; align-items: center; flex-direction: row-reverse; justify-content: flex-end; gap: 16px; svg {fill: white !important; } &:hover {background: var(--color-grey-1);}",trigger:e.jsx("div",{style:{display:"flex",alignItems:"center",gap:16},children:e.jsx(c.P,{$color:"white",$fontSize:16,$semiBold:!0,children:"Other Resources"})}),sx:"flex-direction: column; ",children:e.jsx("div",{style:{marginTop:24,display:"flex",flexDirection:"column",gap:24},children:[...Ae].map(i=>e.jsx(h.PlaylistItem,{playlistItemId:i.id,onClick:()=>{window.open(i.src,"_blank")},progress:i.progress,duration:i.duration,title:i.name,thumbnail:i.thumbnail||"",shortDescription:i.shortDescription,playable:!0,nowplaying:le,type:i.type,isFile:"FILE"===i.type,ref:e=>{Q.current[i.id]=e}},i.id))})},i))}),!!ze.length&&e.jsx(f.Accordion,{defaultOpen:0,children:[0].map(i=>e.jsx(f.Accordion.Item,{buttonSx:"padding: 0; align-items: center; flex-direction: row-reverse; justify-content: flex-end; gap: 16px; svg {fill: white !important; } &:hover {background: var(--color-grey-1);}",trigger:e.jsx("div",{style:{display:"flex",alignItems:"center",gap:16},children:e.jsx(c.P,{$color:"white",$fontSize:16,$semiBold:!0,children:"Products"})}),sx:"flex-direction: column; ",children:e.jsx("div",{style:{marginTop:24,display:"flex",flexDirection:"column",gap:24},children:[...ze].map(i=>e.jsx(h.PlaylistItem,{playlistItemId:i.id,onClick:()=>{window.open(i.src,"_blank")},progress:i.progress,duration:i.duration,title:i.name,thumbnail:i.thumbnail||"",shortDescription:i.shortDescription,playable:!0,nowplaying:le,type:i.type,isFile:"FILE"===i.type,ref:e=>{Q.current[i.id]=e}},i.id))})},i))})]}):We&&W?e.jsx(x.TrailerListItem,{title:N,handleSetPlayingTrailer:oe,trailer:W}):null]})}),"vertical"===H&&e.jsx(l.Box,{$dir:"column",$gap:24,sx:te?"z-index: 3; position:relative;":"height: auto",children:e.jsxs(q,{$showingAll:te,children:[e.jsxs(l.Box,{sx:"padding: 0 1.5rem;",$align:"center",children:[e.jsx(s.Tabs,{activeIndex:ee,onChange:e=>ie(e),items:Ne,size:"medium",sx:"justify-content: flex-start;"}),e.jsx(x.ButtonViewAll,{showingAll:te,orientation:H,toggleShowingAll:Ee})]}),[e.jsx(B,{ref:U,$showingAll:te,children:b.map((i,t)=>e.jsx(h.PlaylistItem,{comingSoon:i.comingSoon||!1,nowplaying:le,playlistItemId:i.id,duration:i.duration,ref:e=>{Q.current[i.id]=e},onClick:()=>{He(t),se(i.id)},playable:n,progress:i.progress,shortDescription:i.shortDescription,thumbnail:i.thumbnail,title:i.title},i.id))}),e.jsxs(B,{$showingAll:te,children:[!!Se.length&&e.jsx(f.Accordion,{defaultOpen:0,children:[0].map(i=>e.jsx(f.Accordion.Item,{buttonSx:"padding: 0;",trigger:e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:16,marginBottom:24},children:[e.jsx(m.ChevronDown,{size:20,color:"white"}),e.jsx(c.P,{$color:"white",$fontSize:16,$semiBold:!0,children:"Leaders"})]}),sx:"flex-direction: column; gap: 24px;",children:Se.map((i,t)=>e.jsx(h.PlaylistItem,{playlistItemId:i.id,onClick:()=>{se(i.id),He(t,!0)},progress:i.progress,duration:i.duration,title:i.name,thumbnail:i.thumbnail||"",shortDescription:i.shortDescription,playable:!0,nowplaying:le,ref:e=>{Q.current[i.id]=e}},i.id))},i))}),(!!Ae.length||!!ze.length)&&e.jsx(f.Accordion,{defaultOpen:0,children:[0].map(i=>e.jsx(f.Accordion.Item,{buttonSx:"padding: 0;",trigger:e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:16,marginBottom:24},children:[e.jsx(m.ChevronDown,{size:20,color:"white"}),e.jsx(c.P,{$color:"white",$fontSize:16,$semiBold:!0,children:"Other Resources"})]}),sx:"flex-direction: column; gap: 24px;",children:[...Ae,...ze].map(i=>e.jsx(h.PlaylistItem,{playlistItemId:i.id,onClick:()=>{window.open(i.src,"_blank")},progress:i.progress,duration:i.duration,title:i.name,thumbnail:i.thumbnail||"",shortDescription:i.shortDescription,playable:!0,nowplaying:le,type:i.type,isFile:"FILE"===i.type,ref:e=>{Q.current[i.id]=e}},i.id))},i))})]}),!!W&&e.jsx(l.Box,{$dir:"column",$gap:8,sx:"margin: 0px 24px;",children:e.jsx(x.TrailerListItem,{title:N,handleSetPlayingTrailer:oe,trailer:W})})][ee]]})})]})}):null};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"audio.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/audio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAIL,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAI/B,eAAO,MAAM,YAAY,4FAuCvB,CAAC;AAEH,eAAO,MAAM,iBAAiB,sgBAM5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"biblical-quote.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"biblical-quote.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/biblical-quote.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAGL,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAK/B,eAAO,MAAM,oBAAoB,4FAiB/B,CAAC;AAEH,eAAO,MAAM,yBAAyB,sgBAIpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockquote.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"blockquote.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/blockquote.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAG/B,eAAO,MAAM,iBAAiB,4FAc5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/blocks.ts"],"names":[],"mappings":"AAuCA,eAAO,MAAM,MAAM,OA6ClB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/buttons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAQL,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAM/B,eAAO,MAAM,MAAM,4FAsFjB,CAAC;AAyBH,eAAO,MAAM,mBAAmB,sgBAa9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/dropdown-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAavE,eAAO,MAAM,YAAY,mDAA6B,CAAC;AACvD,eAAO,MAAM,mBAAmB,0HAAgC,CAAC;AACjE,eAAO,MAAM,iBAAiB,qHAA8B,CAAC;AAC7D,eAAO,MAAM,kBAAkB,yDAA+B,CAAC;AAC/D,eAAO,MAAM,eAAe,sDAA4B,CAAC;AACzD,eAAO,MAAM,sBAAsB,0HAAmC,CAAC;AAEvE,eAAO,MAAM,sBAAsB;YAGvB,OAAO;wCAgBjB,CAAC;AAEH,eAAO,MAAM,sBAAsB,6KAGlC,CAAC;AASF,eAAO,MAAM,mBAAmB,0KAM9B,CAAC;AAgBH,eAAO,MAAM,gBAAgB;;8GAI5B,CAAC;AAEF,eAAO,MAAM,wBAAwB,+KAmBnC,CAAC;AAEH,eAAO,MAAM,qBAAqB;eAGnB,OAAO;wCAqBpB,CAAC;AAaH,eAAO,MAAM,iBAAiB;;8GAI7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,4KAGjC,CAAC;AAEF,eAAO,MAAM,oBAAoB,0NAGhC,CAAC;AAEF,eAAO,MAAM,YAAY;;;CAcxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,eAAO,MAAM,YAAY;;;;;;;;;8KA6GxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/list.tsx"],"names":[],"mappings":"AACA,OAAO,EAAgB,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAGxE,eAAO,MAAM,WAAW,oCAIrB,iBAAiB,GAAG;IACrB,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;CACtB,4CAcA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-popover.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"media-popover.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/media-popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAmBzC,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,2CAiD3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plate-button.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"plate-button.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/plate-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,eAAO,MAAM,cAAc;;;;sEAkC1B,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;cAGL,OAAO;2CAYnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/popover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAI5D,eAAO,MAAM,OAAO,yCAAwB,CAAC;AAC7C,eAAO,MAAM,cAAc,gHAA2B,CAAC;AACvD,eAAO,MAAM,aAAa,4GAA0B,CAAC;AAErD,eAAO,MAAM,eAAe,6EAE3B,CAAC;AAEF,eAAO,MAAM,cAAc,gKAa1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prayer_for_change.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"prayer_for_change.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/prayer_for_change.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAGL,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAK/B,eAAO,MAAM,sBAAsB,4FAoCjC,CAAC;AAEH,eAAO,MAAM,2BAA2B,sgBAItC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qa.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"qa.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/qa.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAGL,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAW/B,eAAO,MAAM,qBAAqB,4FA0KhC,CAAC;AAUH,eAAO,MAAM,cAAc,sgBAKzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/resizable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,yBAAyB;;sEAarC,CAAC;AAmBF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yHAQxB,CAAC;AAYF,eAAO,MAAM,SAAS;;;;8GAEpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/separator.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAgBhE,eAAO,MAAM,SAAS;;wHAMrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-cell.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"table-cell.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/table-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,eAAO,MAAM,gBAAgB;;;;;;;;;;iBAGZ,OAAO;eACT,OAAO;6BAuHpB,CAAC;AAGH,eAAO,MAAM,sBAAsB;;;;;;;;;;iBA3HlB,OAAO;eACT,OAAO;gEA4HpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-row.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"table-row.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/table-row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,eAAe;;;;;;;;;;iBAGX,OAAO;6BAatB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAsB1B,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAqBvE,eAAO,MAAM,+BAA+B,0KAqE1C,CAAC;AAEH,eAAO,MAAM,oBAAoB,oOAsFhC,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;8KAyCxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGL,iBAAiB,EAGlB,MAAM,uBAAuB,CAAC;AAS/B,eAAO,MAAM,gBAAgB,4FAiB3B,CAAC;AAEH,eAAO,MAAM,qBAAqB,sgBAIhC,CAAC;AAEH,eAAO,MAAM,WAAW,4FAYtB,CAAC;AAEH,eAAO,MAAM,gBAAgB,sgBAI3B,CAAC;AAEH,eAAO,MAAM,WAAW,4FAYtB,CAAC;AAEH,eAAO,MAAM,gBAAgB,sgBAI3B,CAAC;AAEH,eAAO,MAAM,aAAa,4FAYxB,CAAC;AAEH,eAAO,MAAM,kBAAkB,sgBAI7B,CAAC;AAEH,eAAO,MAAM,YAAY,4FAYvB,CAAC;AAEH,eAAO,MAAM,iBAAiB,sgBAI5B,CAAC;AAEH,eAAO,MAAM,YAAY,4FAYvB,CAAC;AAEH,eAAO,MAAM,iBAAiB,sgBAI5B,CAAC;AAEH,eAAO,MAAM,WAAW,4FAYtB,CAAC;AAEH,eAAO,MAAM,gBAAgB,sgBAI3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/blocks/video.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAIL,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAK/B,eAAO,MAAM,iBAAiB,4FAqC5B,CAAC;AAEH,eAAO,MAAM,sBAAsB,sgBAcjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"floating-highlight-toolbar.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"floating-highlight-toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/highlights/floating-highlight-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAoB,aAAa,EAAE,MAAM,SAAS,CAAC;AAG1D,UAAU,6BAA6B;IAIrC,UAAU,EAAE,aAAa,EAAE,CAAC;IAE5B,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IAEvD,aAAa,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEpD,iBAAiB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAazC,WAAW,CAAC,EAAE,CACZ,OAAO,EACH;QAAE,IAAI,EAAE,KAAK,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,GACpC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,KAC3D,IAAI,CAAC;CACX;AA0BD,eAAO,MAAM,wBAAwB,gFAMlC,6BAA6B,sBAgT/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highlight-button.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"highlight-button.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/highlights/highlight-button.tsx"],"names":[],"mappings":"AAKA,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,eAAe,gCAIzB,oBAAoB,4CAetB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highlight-decoration.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"highlight-decoration.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/highlights/highlight-decoration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG;IACvC,CAAC,cAAc,CAAC,EAAE,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,KAAK,EAAE,UAAU,KAAK,cAAc,EAAE,CAAC;AAoCxE;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,eACtB,aAAa,EAAE,KAC1B,iBAkDF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highlight-leaf.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"highlight-leaf.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/highlights/highlight-leaf.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,cAAc,EAEf,MAAM,uBAAuB,CAAC;AAI/B,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG;QAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;CACH;AAED,eAAO,MAAM,aAAa,6FA2BxB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface HighlightRemovePopoverProps {
|
|
3
|
+
onRemove: (id: string) => void;
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const HighlightRemovePopover: ({ onRemove, enabled, }: HighlightRemovePopoverProps) => React.ReactPortal;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=highlight-remove-popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"highlight-remove-popover.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/highlights/highlight-remove-popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,2BAA2B;IACnC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,2BAGhC,2BAA2B,sBAsG7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highlights-dropdown.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"highlights-dropdown.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/highlights/highlights-dropdown.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAG/D,UAAU,uBAAuB;IAC/B,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,aAAa,EAAE,CAAC;IAC5B,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAChC,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACrD;AAID,eAAO,MAAM,kBAAkB,mEAO5B,uBAAuB,4CA8OzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/highlights/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/highlights/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,qBAAsB,SAAQ,aAAa;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;EAqBnB,CAAC;AAEX,eAAO,MAAM,uBAAuB,yBAA4B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-highlights.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-highlights.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/highlights/use-highlights.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAsB,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,aAAa,EAA2B,MAAM,SAAS,CAAC;AAEjE,UAAU,oBAAoB;IAC5B,iBAAiB,CAAC,EAAE,aAAa,EAAE,CAAC;IACpC,kBAAkB,CAAC,EAAE,CAAC,UAAU,EAAE,aAAa,EAAE,KAAK,IAAI,CAAC;CAC5D;AAED,UAAU,mBAAmB;IAC3B,UAAU,EAAE,aAAa,EAAE,CAAC;IAC5B,YAAY,EAAE,CACZ,MAAM,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,EACd,aAAa,CAAC,EAAE,SAAS,KACtB,IAAI,CAAC;IACV,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;IACrE,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAmBD,eAAO,MAAM,uBAAuB,WAC1B,MAAM,SACP,SAAS,yBAEf,MASF,CAAC;AAgBF,eAAO,MAAM,aAAa,aACf,oBAAoB,KAC5B,mBA2IF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/leafs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leafs.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"leafs.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/leafs/leafs.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,KAAK,OA4BjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/leafs/link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAML,YAAY,EAQb,MAAM,gBAAgB,CAAC;AAMxB,eAAO,MAAM,WAAW,qHAWtB,CAAC;AAEH,eAAO,MAAM,gBAAgB,2EAwG5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"superscript-leaf.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/leafs/superscript-leaf.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAa,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGlE,eAAO,MAAM,eAAe,yFAS1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/marks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marks.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"marks.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/marks/marks.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,KAAK,OAWjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exitBreak.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"exitBreak.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/utils/exitBreak.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;CA4B3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resetBlockType.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"resetBlockType.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/utils/resetBlockType.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,oBAAoB;;;;;;;;;CAehC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectOnBackspace.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"selectOnBackspace.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/utils/selectOnBackspace.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;CAI7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"softBreak.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"softBreak.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/utils/softBreak.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;;;;;;;;;CAY3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/utils/utils.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,KAAK,OAMjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approved.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"approved.d.ts","sourceRoot":"","sources":["../../../../../src/components/iconography/avatar/icons/approved.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,+CAiBpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"busy.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"busy.d.ts","sourceRoot":"","sources":["../../../../../src/components/iconography/avatar/icons/busy.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,+CAiBhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declined.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"declined.d.ts","sourceRoot":"","sources":["../../../../../src/components/iconography/avatar/icons/declined.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,+CAiBpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../src/components/iconography/avatar/icons/default.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,+CAQnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"focus.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"focus.d.ts","sourceRoot":"","sources":["../../../../../src/components/iconography/avatar/icons/focus.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,+CAiBjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/iconography/avatar/icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ispaid.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"ispaid.d.ts","sourceRoot":"","sources":["../../../../../src/components/iconography/avatar/icons/ispaid.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,+CAkClB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locked.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"locked.d.ts","sourceRoot":"","sources":["../../../../../src/components/iconography/avatar/icons/locked.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,+CAiBlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"offline.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"offline.d.ts","sourceRoot":"","sources":["../../../../../src/components/iconography/avatar/icons/offline.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,+CAcnB,CAAC"}
|