@playkit-js/hotspots 3.1.4-canary.1-d02aab4 → 3.1.4
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/CHANGELOG.md +1 -1
- package/dist/playkit-hotspots.js +1 -1
- package/dist/playkit-hotspots.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
### [3.1.4
|
|
5
|
+
### [3.1.4](https://github.com/kaltura/playkit-js-hotspots/compare/v3.1.3...v3.1.4) (2023-03-22)
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
### Bug Fixes
|
package/dist/playkit-hotspots.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var KalturaPlayer;!function(){var e={573:function(e){var t;self,t=()=>(()=>{var e={4184:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},2955:(e,t,r)=>{"use strict";r.d(t,{Ah:()=>c,Cg:()=>l,ZP:()=>d,bH:()=>p,ce:()=>s,yG:()=>u});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".bannerContainerRoot_K1xa7{position:absolute;max-width:100%;min-width:270px;padding:0 16px 8px;height:88px;bottom:0;left:0;transition:all .5s ease}.bannerContainer_Ca8Vu{position:relative;width:100%;height:100%;border-radius:4px;transition:all .5s ease}.closeButton_nbz3N{position:absolute;background-color:rgba(0,0,0,0);padding:0;border:none;top:0;right:0;width:32px;height:32px;padding:0}.closeButton_nbz3N .small_n5NA7{display:none}.closeButton_nbz3N:hover,.closeButton_nbz3N:active{cursor:pointer}.playkit-size-md .bannerContainerRoot_K1xa7{height:68px;min-width:230px}.playkit-size-md .closeButton_nbz3N{top:8px;right:8px;width:10px;height:10px}.playkit-size-md .closeButton_nbz3N .large_bCALw{display:none}.playkit-size-md .closeButton_nbz3N .small_n5NA7{display:block}.playkit-size-sm .bannerContainerRoot_K1xa7,.playkit-size-xs .bannerContainerRoot_K1xa7,.playkit-size-ty .bannerContainerRoot_K1xa7{display:none;width:0;height:0}","",{version:3,sources:["webpack://./src/ui-common/banner-container/_banner-container.scss"],names:[],mappings:"AAAA,2BAAqB,iBAAiB,CAAC,cAAc,CAAC,eAAe,CAAC,kBAAkB,CAAC,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC,uBAAuB,CAAC,uBAAiB,iBAAiB,CAAC,UAAU,CAAC,WAAW,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,mBAAa,iBAAiB,CAAC,8BAA8B,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,gCAAoB,YAAY,CAAC,mDAAuC,cAAc,CAAC,4CAAqD,WAAW,CAAC,eAAe,CAAC,oCAA6C,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,WAAW,CAAC,iDAAoD,YAAY,CAAC,iDAAoD,aAAa,CAAC,oIAA+J,YAAY,CAAC,OAAO,CAAC,QAAQ",sourcesContent:[".bannerContainerRoot{position:absolute;max-width:100%;min-width:270px;padding:0 16px 8px;height:88px;bottom:0;left:0;transition:all .5s ease}.bannerContainer{position:relative;width:100%;height:100%;border-radius:4px;transition:all .5s ease}.closeButton{position:absolute;background-color:rgba(0,0,0,0);padding:0;border:none;top:0;right:0;width:32px;height:32px;padding:0}.closeButton .small{display:none}.closeButton:hover,.closeButton:active{cursor:pointer}:global .playkit-size-md :local .bannerContainerRoot{height:68px;min-width:230px}:global .playkit-size-md :local .closeButton{top:8px;right:8px;width:10px;height:10px}:global .playkit-size-md :local .closeButton .large{display:none}:global .playkit-size-md :local .closeButton .small{display:block}:global .playkit-size-sm :local .bannerContainerRoot,:global .playkit-size-xs :local .bannerContainerRoot,:global .playkit-size-ty :local .bannerContainerRoot{display:none;width:0;height:0}"],sourceRoot:""}]);var s="bannerContainerRoot_K1xa7",l="bannerContainer_Ca8Vu",c="closeButton_nbz3N",u="small_n5NA7",p="large_bCALw";const d=a},8727:(e,t,r)=>{"use strict";r.d(t,{Fu:()=>c,TN:()=>A,Wd:()=>l,ZP:()=>C,aW:()=>u,bH:()=>f,cy:()=>p,d7:()=>h,fL:()=>_,m0:()=>s,yG:()=>d});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".defaultBannerRoot_FcPU5{display:flex;max-width:100%;height:100%;transition:all .5s ease;text-align:left}.bannerWrapper_mXxJz{padding:18px 17px 17px 16px}.iconContainer_peqkF{height:100%;width:64px}.iconWrapper_tGuZb{position:relative;height:48px;width:48px;background-color:rgba(255,255,255,.14);border-radius:50%;transition:all .5s ease}.iconImage_bNDFZ{position:absolute;width:32px;height:32px;left:calc(50% - 16px);top:calc(50% - 16px);transition:all .5s ease;padding:0}.iconImage_bNDFZ .small_n4xT9{display:none}.bannerBody_TiV10{height:100%;flex:1 1 auto;overflow:hidden}.title_H1iK9{opacity:.9;font-size:14px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1;letter-spacing:normal;color:#ebebeb}.text_tT5dF{opacity:.9;font-size:24px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1.21;letter-spacing:normal;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .5s ease}.playkit-size-md .bannerWrapper_mXxJz{padding:14px 16px 14px}.playkit-size-md .iconContainer_peqkF{width:44px}.playkit-size-md .iconWrapper_tGuZb{height:32px;width:32px}.playkit-size-md .iconImage_bNDFZ{width:20px;height:20px;left:calc(50% - 10px);top:calc(50% - 10px)}.playkit-size-md .iconImage_bNDFZ .small_n4xT9{display:block}.playkit-size-md .iconImage_bNDFZ .large_xGydU{display:none}.playkit-size-md .bannerBody_TiV10{flex:1 1 auto}.playkit-size-md .title_H1iK9{font-size:12px;font-weight:bold;line-height:1.17}.playkit-size-md .text_tT5dF{font-size:15px;line-height:1.27}","",{version:3,sources:["webpack://./src/ui-common/banner/_banner.scss"],names:[],mappings:"AAAA,yBAAmB,YAAY,CAAC,cAAc,CAAC,WAAW,CAAC,uBAAuB,CAAC,eAAe,CAAC,qBAAe,2BAA2B,CAAC,qBAAe,WAAW,CAAC,UAAU,CAAC,mBAAa,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,sCAAsC,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,iBAAW,iBAAiB,CAAC,UAAU,CAAC,WAAW,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,SAAS,CAAC,8BAAkB,YAAY,CAAC,kBAAY,WAAW,CAAC,aAAa,CAAC,eAAe,CAAC,aAAO,UAAU,CAAC,cAAc,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,aAAa,CAAC,qBAAqB,CAAC,aAAa,CAAC,YAAM,UAAU,CAAC,cAAc,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,UAAU,CAAC,kBAAkB,CAAC,eAAe,CAAC,sBAAsB,CAAC,uBAAuB,CAAC,sCAA+C,sBAAsB,CAAC,sCAA+C,UAAU,CAAC,oCAA6C,WAAW,CAAC,UAAU,CAAC,kCAA2C,UAAU,CAAC,WAAW,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,+CAAkD,aAAa,CAAC,+CAAkD,YAAY,CAAC,mCAA4C,aAAa,CAAC,8BAAuC,cAAc,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,6BAAsC,cAAc,CAAC,gBAAgB",sourcesContent:[".defaultBannerRoot{display:flex;max-width:100%;height:100%;transition:all .5s ease;text-align:left}.bannerWrapper{padding:18px 17px 17px 16px}.iconContainer{height:100%;width:64px}.iconWrapper{position:relative;height:48px;width:48px;background-color:rgba(255,255,255,.14);border-radius:50%;transition:all .5s ease}.iconImage{position:absolute;width:32px;height:32px;left:calc(50% - 16px);top:calc(50% - 16px);transition:all .5s ease;padding:0}.iconImage .small{display:none}.bannerBody{height:100%;flex:1 1 auto;overflow:hidden}.title{opacity:.9;font-size:14px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1;letter-spacing:normal;color:#ebebeb}.text{opacity:.9;font-size:24px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1.21;letter-spacing:normal;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .5s ease}:global .playkit-size-md :local .bannerWrapper{padding:14px 16px 14px}:global .playkit-size-md :local .iconContainer{width:44px}:global .playkit-size-md :local .iconWrapper{height:32px;width:32px}:global .playkit-size-md :local .iconImage{width:20px;height:20px;left:calc(50% - 10px);top:calc(50% - 10px)}:global .playkit-size-md :local .iconImage .small{display:block}:global .playkit-size-md :local .iconImage .large{display:none}:global .playkit-size-md :local .bannerBody{flex:1 1 auto}:global .playkit-size-md :local .title{font-size:12px;font-weight:bold;line-height:1.17}:global .playkit-size-md :local .text{font-size:15px;line-height:1.27}"],sourceRoot:""}]);var s="defaultBannerRoot_FcPU5",l="bannerWrapper_mXxJz",c="iconContainer_peqkF",u="iconWrapper_tGuZb",p="iconImage_bNDFZ",d="small_n4xT9",h="bannerBody_TiV10",A="title_H1iK9",_="text_tT5dF",f="large_xGydU";const C=a},5985:(e,t,r)=>{"use strict";r.d(t,{V:()=>s,Z:()=>l});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".fill-container_hw3_7{width:100%;height:100%;overflow:hidden}","",{version:3,sources:["webpack://./src/ui-common/injected-component/injected-component.scss"],names:[],mappings:"AAAA,sBAAgB,UAAU,CAAC,WAAW,CAAC,eAAe",sourcesContent:[".fill-container{width:100%;height:100%;overflow:hidden}"],sourceRoot:""}]);var s="fill-container_hw3_7";const l=a},1326:(e,t,r)=>{"use strict";r.d(t,{V:()=>s,Z:()=>l});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".fill-container_bXz_O{width:100%;height:100%}","",{version:3,sources:["webpack://./src/ui-common/managed-component/_managed-component.scss"],names:[],mappings:"AAAA,sBAAgB,UAAU,CAAC,WAAW",sourcesContent:[".fill-container{width:100%;height:100%}"],sourceRoot:""}]);var s="fill-container_bXz_O";const l=a},2480:(e,t,r)=>{"use strict";r.d(t,{Ah:()=>d,Fu:()=>_,GK:()=>s,Jc:()=>p,Qm:()=>c,Rr:()=>l,TN:()=>h,X$:()=>A,ZP:()=>g,aW:()=>f,fL:()=>C,x_:()=>u});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".toastWrapper_COU8f{position:relative;min-width:120px;max-width:310px;height:100%;border-radius:4px;background-color:#222;border-left-style:solid;border-left-width:4px;text-align:left}.infoToast_G1Pcn{border-left-color:#01accd}.successToast_qxdk2{border-left-color:#009e48}.warnToast_exwq_{border-left-color:#f9a71b}.errorToast_zWxrk{border-left-color:#e7585d}.closeButton_erWFo{position:absolute;background-color:rgba(0,0,0,0);top:0;right:0;width:16px;height:16px;object-fit:contain;background-repeat:no-repeat;border:none;padding:0}.closeButton_erWFo:hover{cursor:pointer}.title_WsGFu{font-size:12px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1.17;letter-spacing:normal;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:4px;padding-right:16px;padding-left:12px}.toastBody_oRqUX{position:relative;width:100%;padding:2px 16px 5px 12px}.iconContainer_nOLnP{position:relative;height:16px;width:16px;float:left;margin-right:7px}.iconWrapper_cRX3a{height:16px;width:16px}.text_NL9Fe{font-size:14px;font-weight:bold;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}","",{version:3,sources:["webpack://./src/ui-common/toast/_toast.scss"],names:[],mappings:"AAAA,oBAAc,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,WAAW,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,eAAe,CAAC,iBAAW,yBAAyB,CAAC,oBAAc,yBAAyB,CAAC,iBAAW,yBAAyB,CAAC,kBAAY,yBAAyB,CAAC,mBAAa,iBAAiB,CAAC,8BAA8B,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,kBAAkB,CAAC,2BAA2B,CAAC,WAAW,CAAC,SAAS,CAAC,yBAAmB,cAAc,CAAC,aAAO,cAAc,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,UAAU,CAAC,kBAAkB,CAAC,eAAe,CAAC,sBAAsB,CAAC,eAAe,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,iBAAW,iBAAiB,CAAC,UAAU,CAAC,yBAAyB,CAAC,qBAAe,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,UAAU,CAAC,gBAAgB,CAAC,mBAAa,WAAW,CAAC,UAAU,CAAC,YAAM,cAAc,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,UAAU,CAAC,kBAAkB,CAAC,eAAe,CAAC,sBAAsB",sourcesContent:[".toastWrapper{position:relative;min-width:120px;max-width:310px;height:100%;border-radius:4px;background-color:#222;border-left-style:solid;border-left-width:4px;text-align:left}.infoToast{border-left-color:#01accd}.successToast{border-left-color:#009e48}.warnToast{border-left-color:#f9a71b}.errorToast{border-left-color:#e7585d}.closeButton{position:absolute;background-color:rgba(0,0,0,0);top:0;right:0;width:16px;height:16px;object-fit:contain;background-repeat:no-repeat;border:none;padding:0}.closeButton:hover{cursor:pointer}.title{font-size:12px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1.17;letter-spacing:normal;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:4px;padding-right:16px;padding-left:12px}.toastBody{position:relative;width:100%;padding:2px 16px 5px 12px}.iconContainer{position:relative;height:16px;width:16px;float:left;margin-right:7px}.iconWrapper{height:16px;width:16px}.text{font-size:14px;font-weight:bold;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],sourceRoot:""}]);var s="toastWrapper_COU8f",l="infoToast_G1Pcn",c="successToast_qxdk2",u="warnToast_exwq_",p="errorToast_zWxrk",d="closeButton_erWFo",h="title_WsGFu",A="toastBody_oRqUX",_="iconContainer_nOLnP",f="iconWrapper_cRX3a",C="text_NL9Fe";const g=a},4702:(e,t,r)=>{"use strict";r.d(t,{Q$:()=>s,YY:()=>l,ZP:()=>c});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".toastsContainer_Xf0eZ{position:absolute;right:0;top:0;padding:8px 16px 0;min-width:120px;max-width:310px;display:flex;flex-direction:column}.toastRow_iOkeY{height:42px;min-width:120px;max-width:310px;margin-bottom:8px;overflow:hidden;overflow-wrap:break-word;text-overflow:ellipsis;align-self:flex-end}","",{version:3,sources:["webpack://./src/ui-common/toasts-container/_toasts-container.scss"],names:[],mappings:"AAAA,uBAAiB,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,kBAAkB,CAAC,eAAe,CAAC,eAAe,CAAC,YAAY,CAAC,qBAAqB,CAAC,gBAAU,WAAW,CAAC,eAAe,CAAC,eAAe,CAAC,iBAAiB,CAAC,eAAe,CAAC,wBAAwB,CAAC,sBAAsB,CAAC,mBAAmB",sourcesContent:[".toastsContainer{position:absolute;right:0;top:0;padding:8px 16px 0;min-width:120px;max-width:310px;display:flex;flex-direction:column}.toastRow{height:42px;min-width:120px;max-width:310px;margin-bottom:8px;overflow:hidden;overflow-wrap:break-word;text-overflow:ellipsis;align-self:flex-end}"],sourceRoot:""}]);var s="toastsContainer_Xf0eZ",l="toastRow_iOkeY";const c=a},4085:(e,t,r)=>{"use strict";r.d(t,{IV:()=>A,JU:()=>c,LI:()=>s,T$:()=>l,ZP:()=>f,bH:()=>_,h:()=>u,oB:()=>d,oL:()=>p,yG:()=>h});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".button_VbTdX{display:flex;justify-content:center;align-items:center;font-weight:700;border:1px solid rgba(0,0,0,0);border-radius:4px;cursor:pointer}.button_VbTdX.primary_hju94{background-color:var(--playkit-primary-color);color:var(--playkit-primary-text-contrast-color)}.button_VbTdX.primary_hju94:not(.disabled_f1bO2):hover{background-color:var(--playkit-primary-darker-color)}.button_VbTdX.primary_hju94:not(.disabled_f1bO2):focus{background-color:var(--playkit-primary-brighter-color)}.button_VbTdX.danger_Ys7lR{background-color:var(--playkit-danger-color);color:var(--playkit-danger-text-contrast-color)}.button_VbTdX.danger_Ys7lR:not(.disabled_f1bO2):hover{background-color:var(--playkit-danger-darker-color)}.button_VbTdX.danger_Ys7lR:not(.disabled_f1bO2):focus{background-color:var(--playkit-danger-brighter-color)}.button_VbTdX.translucent__oJxe{background-color:rgba(0,0,0,.6);color:var(--playkit-primary-text-contrast-color)}.button_VbTdX.borderless_wVdrc{background-color:rgba(0,0,0,0);color:var(--playkit-tone-1-color)}.button_VbTdX.borderless_wVdrc:not(.disabled_f1bO2):hover{background-color:var(--playkit-tone-4-color)}.button_VbTdX.borderless_wVdrc:not(.disabled_f1bO2):focus{background-color:var(--playkit-tone-6-color)}.button_VbTdX.small_FlK64{height:24px;font-size:13px;line-height:16px;padding:0 4px}.button_VbTdX.medium_EQEd4{height:32px;font-size:14px;line-height:17px;padding:0 8px}.button_VbTdX.large_opb1l{height:40px;font-size:16px;line-height:19px;padding:0 16px}.button_VbTdX.disabled_f1bO2{background-color:rgba(0,0,0,0);color:var(--playkit-tone-4-color);border-color:var(--playkit-tone-4-color);cursor:default}","",{version:3,sources:["webpack://./src/ui-common/ui-components/button/button.scss"],names:[],mappings:"AAAA,cAAQ,YAAY,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,eAAe,CAAC,8BAA8B,CAAC,iBAAiB,CAAC,cAAc,CAAC,4BAAgB,6CAA6C,CAAC,gDAAgD,CAAC,uDAAqC,oDAAoD,CAAC,uDAAqC,sDAAsD,CAAC,2BAAe,4CAA4C,CAAC,+CAA+C,CAAC,sDAAoC,mDAAmD,CAAC,sDAAoC,qDAAqD,CAAC,gCAAoB,+BAA+B,CAAC,gDAAgD,CAAC,+BAAmB,8BAA8B,CAAC,iCAAiC,CAAC,0DAAwC,4CAA4C,CAAC,0DAAwC,4CAA4C,CAAC,0BAAc,WAAW,CAAC,cAAc,CAAC,gBAAgB,CAAC,aAAa,CAAC,2BAAe,WAAW,CAAC,cAAc,CAAC,gBAAgB,CAAC,aAAa,CAAC,0BAAc,WAAW,CAAC,cAAc,CAAC,gBAAgB,CAAC,cAAc,CAAC,6BAAiB,8BAA8B,CAAC,iCAAiC,CAAC,wCAAwC,CAAC,cAAc",sourcesContent:[".button{display:flex;justify-content:center;align-items:center;font-weight:700;border:1px solid rgba(0,0,0,0);border-radius:4px;cursor:pointer}.button.primary{background-color:var(--playkit-primary-color);color:var(--playkit-primary-text-contrast-color)}.button.primary:not(.disabled):hover{background-color:var(--playkit-primary-darker-color)}.button.primary:not(.disabled):focus{background-color:var(--playkit-primary-brighter-color)}.button.danger{background-color:var(--playkit-danger-color);color:var(--playkit-danger-text-contrast-color)}.button.danger:not(.disabled):hover{background-color:var(--playkit-danger-darker-color)}.button.danger:not(.disabled):focus{background-color:var(--playkit-danger-brighter-color)}.button.translucent{background-color:rgba(0,0,0,.6);color:var(--playkit-primary-text-contrast-color)}.button.borderless{background-color:rgba(0,0,0,0);color:var(--playkit-tone-1-color)}.button.borderless:not(.disabled):hover{background-color:var(--playkit-tone-4-color)}.button.borderless:not(.disabled):focus{background-color:var(--playkit-tone-6-color)}.button.small{height:24px;font-size:13px;line-height:16px;padding:0 4px}.button.medium{height:32px;font-size:14px;line-height:17px;padding:0 8px}.button.large{height:40px;font-size:16px;line-height:19px;padding:0 16px}.button.disabled{background-color:rgba(0,0,0,0);color:var(--playkit-tone-4-color);border-color:var(--playkit-tone-4-color);cursor:default}"],sourceRoot:""}]);var s="button_VbTdX",l="primary_hju94",c="disabled_f1bO2",u="danger_Ys7lR",p="translucent__oJxe",d="borderless_wVdrc",h="small_FlK64",A="medium_EQEd4",_="large_opb1l";const f=a},9638:(e,t,r)=>{"use strict";r.d(t,{JU:()=>p,Xh:()=>u,ZP:()=>_,bB:()=>A,eX:()=>c,kz:()=>h,uN:()=>l,wc:()=>s,zF:()=>d});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".input-field-wrapper_yfyJ2{display:flex;align-items:center;flex-grow:1;width:100%;max-width:599px;padding-right:8px;height:32px;border:solid 1px rgba(255,255,255,.4);border-radius:4px}.input-field-wrapper_yfyJ2 ::-moz-placeholder{opacity:1}.input-field-wrapper_yfyJ2 .search-results_ouXOT{display:flex;justify-content:flex-end;align-items:center;flex-shrink:0;margin:0 8px 0 6px;font-size:12px;text-overflow:ellipsis}.input-field-wrapper_yfyJ2 .prev-next-wrapper_SfIQI{display:flex;flex-direction:column;justify-content:space-around;max-height:100%;height:100%;width:8px;flex:0 0 8px}.input-field-wrapper_yfyJ2 .prev-next-wrapper_SfIQI .prev-next-button_oEjhO{display:flex;align-items:center;height:50%;padding:0;background-color:rgba(0,0,0,0);border:none;cursor:pointer}.input-field-wrapper_yfyJ2 .prev-next-wrapper_SfIQI .prev-next-button_oEjhO.disabled_o9pr3{opacity:.4;cursor:default}.input-field-wrapper_yfyJ2 .input-element_A_LuO{width:100%;flex-grow:1;flex-shrink:1;font-size:15px;padding:0 6px 1px 6px;color:var(--playkit-tone-1-color);background:rgba(0,0,0,0);border:none;overflow:hidden;text-overflow:ellipsis}.input-field-wrapper_yfyJ2 .input-element_A_LuO::placeholder{color:var(--playkit-tone-2-color)}.input-field-wrapper_yfyJ2 .input-element_A_LuO::selection{background-color:var(--playkit-primary-brighter-color)}.input-field-wrapper_yfyJ2 .clear-icon_Ks1uE{padding:0;flex:0 0 12px;max-width:12px;max-height:12px;background-color:rgba(0,0,0,0);width:12px;height:12px;outline-offset:4px;border:none;cursor:pointer}.input-field-wrapper_yfyJ2:hover{border-color:#fff}.input-field-wrapper_yfyJ2.active_r0duz{color:var(--playkit-tone-2-color);background:var(--playkit-tone-8-color);border-color:#fff}","",{version:3,sources:["webpack://./src/ui-common/ui-components/input-field/input-field.scss"],names:[],mappings:"AAAA,2BAAqB,YAAY,CAAC,kBAAkB,CAAC,WAAW,CAAC,UAAU,CAAC,eAAe,CAAC,iBAAiB,CAAC,WAAW,CAAC,qCAAqC,CAAC,iBAAiB,CAAC,8CAAwC,SAAS,CAAC,iDAAqC,YAAY,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,aAAa,CAAC,kBAAkB,CAAC,cAAc,CAAC,sBAAsB,CAAC,oDAAwC,YAAY,CAAC,qBAAqB,CAAC,4BAA4B,CAAC,eAAe,CAAC,WAAW,CAAC,SAAS,CAAC,YAAY,CAAC,4EAA0D,YAAY,CAAC,kBAAkB,CAAC,UAAU,CAAC,SAAS,CAAC,8BAA8B,CAAC,WAAW,CAAC,cAAc,CAAC,2FAAmE,UAAU,CAAC,cAAc,CAAC,gDAAoC,UAAU,CAAC,WAAW,CAAC,aAAa,CAAC,cAAc,CAAC,qBAAqB,CAAC,iCAAiC,CAAC,wBAAwB,CAAC,WAAW,CAAC,eAAe,CAAC,sBAAsB,CAAC,6DAAiD,iCAAiC,CAAC,2DAA+C,sDAAsD,CAAC,6CAAiC,SAAS,CAAC,aAAa,CAAC,cAAc,CAAC,eAAe,CAAC,8BAA8B,CAAC,UAAU,CAAC,WAAW,CAAC,kBAAkB,CAAC,WAAW,CAAC,cAAc,CAAC,iCAA2B,iBAAiB,CAAC,wCAA4B,iCAAiC,CAAC,sCAAsC,CAAC,iBAAiB",sourcesContent:[".input-field-wrapper{display:flex;align-items:center;flex-grow:1;width:100%;max-width:599px;padding-right:8px;height:32px;border:solid 1px rgba(255,255,255,.4);border-radius:4px}.input-field-wrapper ::-moz-placeholder{opacity:1}.input-field-wrapper .search-results{display:flex;justify-content:flex-end;align-items:center;flex-shrink:0;margin:0 8px 0 6px;font-size:12px;text-overflow:ellipsis}.input-field-wrapper .prev-next-wrapper{display:flex;flex-direction:column;justify-content:space-around;max-height:100%;height:100%;width:8px;flex:0 0 8px}.input-field-wrapper .prev-next-wrapper .prev-next-button{display:flex;align-items:center;height:50%;padding:0;background-color:rgba(0,0,0,0);border:none;cursor:pointer}.input-field-wrapper .prev-next-wrapper .prev-next-button.disabled{opacity:.4;cursor:default}.input-field-wrapper .input-element{width:100%;flex-grow:1;flex-shrink:1;font-size:15px;padding:0 6px 1px 6px;color:var(--playkit-tone-1-color);background:rgba(0,0,0,0);border:none;overflow:hidden;text-overflow:ellipsis}.input-field-wrapper .input-element::placeholder{color:var(--playkit-tone-2-color)}.input-field-wrapper .input-element::selection{background-color:var(--playkit-primary-brighter-color)}.input-field-wrapper .clear-icon{padding:0;flex:0 0 12px;max-width:12px;max-height:12px;background-color:rgba(0,0,0,0);width:12px;height:12px;outline-offset:4px;border:none;cursor:pointer}.input-field-wrapper:hover{border-color:#fff}.input-field-wrapper.active{color:var(--playkit-tone-2-color);background:var(--playkit-tone-8-color);border-color:#fff}"],sourceRoot:""}]);var s="input-field-wrapper_yfyJ2",l="search-results_ouXOT",c="prev-next-wrapper_SfIQI",u="prev-next-button_oEjhO",p="disabled_o9pr3",d="input-element_A_LuO",h="clear-icon_Ks1uE",A="active_r0duz";const _=a},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);n&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},7537:e=>{"use strict";e.exports=function(e){var t=e[1],r=e[3];if(!r)return t;if("function"==typeof btoa){var n=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),i="/*# ".concat(o," */"),a=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[t].concat(a).concat([i]).join("\n")}return[t].join("\n")}},8337:(e,t,r)=>{"use strict";function n(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},l={"http:":{validate:function(e,t,r){var n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(e){var t=e.re=r(6066)(e.__opts__),n=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===o(r))return"[object RegExp]"!==o(r.validate)?i(r.validate)?n.validate=r.validate:c(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(i(r.normalize)?n.normalize=r.normalize:r.normalize?c(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(r)?c(t,r):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}function d(e,t){var r=new p(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function h(e,t){if(!(this instanceof h))return new h(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=n({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=n({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},h.prototype.set=function(e){return this.__opts__=n(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,i,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(o=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=r.index+r[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(n=e.match(this.re.email_fuzzy))&&(i=n.index+n[1].length,a=n.index+n[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},h.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(d(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(d(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},h.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var t=this.re.schema_at_start.exec(e);if(!t)return null;var r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,d(this,0)):null},h.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},6066:(e,t,r)=>{"use strict";e.exports=function(e){var t={};return e=e||{},t.src_Any=r(9369).source,t.src_Cc=r(9413).source,t.src_Z=r(5045).source,t.src_P=r(3189).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},4291:(e,t,r)=>{"use strict";r.r(t),r.d(t,{bannerContainer:()=>_.Cg,bannerContainerRoot:()=>_.ce,closeButton:()=>_.Ah,default:()=>C,large:()=>_.bH,small:()=>_.yG});var n=r(3379),o=r.n(n),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),c=r(3565),u=r.n(c),p=r(9216),d=r.n(p),h=r(4589),A=r.n(h),_=r(2955),f={};f.styleTagTransform=A(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(_.ZP,f);const C=_.ZP&&_.ZP.locals?_.ZP.locals:void 0},8808:(e,t,r)=>{"use strict";r.r(t),r.d(t,{bannerBody:()=>_.d7,bannerWrapper:()=>_.Wd,default:()=>C,defaultBannerRoot:()=>_.m0,iconContainer:()=>_.Fu,iconImage:()=>_.cy,iconWrapper:()=>_.aW,large:()=>_.bH,small:()=>_.yG,text:()=>_.fL,title:()=>_.TN});var n=r(3379),o=r.n(n),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),c=r(3565),u=r.n(c),p=r(9216),d=r.n(p),h=r(4589),A=r.n(h),_=r(8727),f={};f.styleTagTransform=A(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(_.ZP,f);const C=_.ZP&&_.ZP.locals?_.ZP.locals:void 0},2633:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>C,fillContainer:()=>_.V});var n=r(3379),o=r.n(n),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),c=r(3565),u=r.n(c),p=r(9216),d=r.n(p),h=r(4589),A=r.n(h),_=r(5985),f={};f.styleTagTransform=A(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(_.Z,f);const C=_.Z&&_.Z.locals?_.Z.locals:void 0},8802:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>C,fillContainer:()=>_.V});var n=r(3379),o=r.n(n),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),c=r(3565),u=r.n(c),p=r(9216),d=r.n(p),h=r(4589),A=r.n(h),_=r(1326),f={};f.styleTagTransform=A(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(_.Z,f);const C=_.Z&&_.Z.locals?_.Z.locals:void 0},2001:(e,t,r)=>{"use strict";r.r(t),r.d(t,{closeButton:()=>_.Ah,default:()=>C,errorToast:()=>_.Jc,iconContainer:()=>_.Fu,iconWrapper:()=>_.aW,infoToast:()=>_.Rr,successToast:()=>_.Qm,text:()=>_.fL,title:()=>_.TN,toastBody:()=>_.X$,toastWrapper:()=>_.GK,warnToast:()=>_.x_});var n=r(3379),o=r.n(n),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),c=r(3565),u=r.n(c),p=r(9216),d=r.n(p),h=r(4589),A=r.n(h),_=r(2480),f={};f.styleTagTransform=A(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(_.ZP,f);const C=_.ZP&&_.ZP.locals?_.ZP.locals:void 0},2167:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>C,toastRow:()=>_.YY,toastsContainer:()=>_.Q$});var n=r(3379),o=r.n(n),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),c=r(3565),u=r.n(c),p=r(9216),d=r.n(p),h=r(4589),A=r.n(h),_=r(4702),f={};f.styleTagTransform=A(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(_.ZP,f);const C=_.ZP&&_.ZP.locals?_.ZP.locals:void 0},4062:(e,t,r)=>{"use strict";r.r(t),r.d(t,{borderless:()=>_.oB,button:()=>_.LI,danger:()=>_.h,default:()=>C,disabled:()=>_.JU,large:()=>_.bH,medium:()=>_.IV,primary:()=>_.T$,small:()=>_.yG,translucent:()=>_.oL});var n=r(3379),o=r.n(n),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),c=r(3565),u=r.n(c),p=r(9216),d=r.n(p),h=r(4589),A=r.n(h),_=r(4085),f={};f.styleTagTransform=A(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(_.ZP,f);const C=_.ZP&&_.ZP.locals?_.ZP.locals:void 0},5650:(e,t,r)=>{"use strict";r.r(t),r.d(t,{active:()=>_.bB,clearIcon:()=>_.kz,default:()=>C,disabled:()=>_.JU,inputElement:()=>_.zF,inputFieldWrapper:()=>_.wc,prevNextButton:()=>_.Xh,prevNextWrapper:()=>_.eX,searchResults:()=>_.uN});var n=r(3379),o=r.n(n),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),c=r(3565),u=r.n(c),p=r(9216),d=r.n(p),h=r(4589),A=r.n(h),_=r(9638),f={};f.styleTagTransform=A(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(_.ZP,f);const C=_.ZP&&_.ZP.locals?_.ZP.locals:void 0},3379:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],c=n.base?l[0]+n.base:l[0],u=i[c]||0,p="".concat(c," ").concat(u);i[c]=u+1;var d=r(p),h={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)t[d].references++,t[d].updater(h);else{var A=o(h,n);n.byIndex=s,t.splice(s,0,{identifier:p,updater:A,references:1})}a.push(p)}return a}function o(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,o){var i=n(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=r(i[a]);t[s].references--}for(var l=n(e,o),c=0;c<i.length;c++){var u=r(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=l}}},569:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},9216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var i=r.sourceMap;i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},3607:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(7299),t),o(r(8707),t),o(r(1170),t)},7277:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1170:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(7277),t)},8824:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.BannerContainer=void 0;var i=r(4522),a=r(4291),s=r(3132),l=r(5494),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(e){var t=this.props.theme,r=t.backgroundColor,n=t.blur;return(0,i.h)("div",{className:a.bannerContainerRoot,"aria-live":"polite"},(0,i.h)("div",{style:"\n background-color:".concat(r,"; \n backdrop-filter: blur(").concat(n,");\n "),className:a.bannerContainer},(0,i.h)("button",{className:a.closeButton,onClick:e.onClose},(0,i.h)(s.CloseSmall,{className:a.small}),(0,i.h)(l.CloseLarge,{className:a.large})),this.props.children))},t}(i.Component);t.BannerContainer=c},5494:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CloseLarge=void 0;var o=r(4522);t.CloseLarge=function(e){return(0,o.h)("svg",n({width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),(0,o.h)("g",{id:"Icons/32x32/Menu-Player-Close",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,o.h)("path",{d:"M17.4142136,16 L22.363961,20.9497475 C22.7544853,21.3402718 22.7544853,21.9734367 22.363961,22.363961 C21.9734367,22.7544853 21.3402718,22.7544853 20.9497475,22.363961 L16,17.4142136 L11.0502525,22.363961 C10.6597282,22.7544853 10.0265633,22.7544853 9.63603897,22.363961 C9.24551468,21.9734367 9.24551468,21.3402718 9.63603897,20.9497475 L14.5857864,16 L9.63603897,11.0502525 C9.24551468,10.6597282 9.24551468,10.0265633 9.63603897,9.63603897 C10.0265633,9.24551468 10.6597282,9.24551468 11.0502525,9.63603897 L16,14.5857864 L20.9497475,9.63603897 C21.3402718,9.24551468 21.9734367,9.24551468 22.363961,9.63603897 C22.7544853,10.0265633 22.7544853,10.6597282 22.363961,11.0502525 L17.4142136,16 Z",id:"Path",fill:"#FFFFFF"})))}},3132:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CloseSmall=void 0;var o=r(4522);t.CloseSmall=function(e){return(0,o.h)("svg",n({xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10"},e),(0,o.h)("path",{fill:"#FFF","fill-rule":"evenodd",d:"M5.956 5l3.348-3.348A.674.674 0 0 0 9.3.7a.672.672 0 0 0-.952-.004L5 4.044 1.652.696A.674.674 0 0 0 .7.7a.672.672 0 0 0-.004.952L4.044 5 .696 8.348A.674.674 0 0 0 .7 9.3c.265.266.69.266.952.004L5 5.956l3.348 3.348c.262.262.689.26.952-.004a.672.672 0 0 0 .004-.952L5.956 5z",opacity:".9"}))}},911:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BannerContainer=void 0;var n=r(8824);Object.defineProperty(t,"BannerContainer",{enumerable:!0,get:function(){return n.BannerContainer}})},4473:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BannerManager=t.VisibilityMode=void 0;var n,o=r(3782),i=r(4522),a=r(3549),s=r(911),l=r(9968),c=r(8568);!function(e){e.VISIBLE="VISIBLE",e.HIDDEN="HIDDEN"}(n=t.VisibilityMode||(t.VisibilityMode={}));var u={theme:{backgroundColor:"rgba(0, 0, 0, .7)",blur:"10px"}},p=function(){function e(e){this.options=e,this._floatingItem=null,this._timerSubscription=void 0,this._options=e,this._bannerConfig=(0,c.getContribConfig)(this._options.kalturaPlayer,"ui.banner",u)}return e.prototype.add=function(e){return this._floatingItem&&this.remove(),this._floatingItem=this._options.floatingManager.add({label:"Banner",mode:o.FloatingUIModes.Immediate,position:o.FloatingPositions.InteractiveArea,renderContent:this._createRenderBanner(e,{onClose:this._handleCloseEvent.bind(this),theme:this._bannerConfig.theme})}),e.autoClose&&this._startDurationTimer(e.duration),this._getState()},e.prototype.remove=function(){this._floatingItem&&(this._timerSubscription&&clearTimeout(this._timerSubscription),this._options.floatingManager.remove(this._floatingItem),this._floatingItem=null)},e.prototype.reset=function(){this.remove()},e.prototype._createRenderBanner=function(e,t){var r=e.content,n=e.renderContent,o=t.onClose,l=t.theme;return function(e){return(0,i.h)(s.BannerContainer,{onClose:o,theme:l},n?n(r,e):(0,i.h)(a.Banner,{content:r}))}},e.prototype._handleCloseEvent=function(){this.remove()},e.prototype._startDurationTimer=function(e){void 0===e&&(e=6e4),this._timerSubscription=setTimeout(this.remove.bind(this),Math.max(5e3,e))},e.prototype._getState=function(){var e=(0,l.getPlayerSize)(this._options.kalturaPlayer);return{visibilityMode:!e||e.width<480?n.HIDDEN:n.VISIBLE}},e}();t.BannerManager=p},3105:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.Banner=void 0;var i=r(4522),a=r(8808),s=r(5084),l=r(4139),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(e){var t=e.content,r=t.text,n=t.title,o=void 0===n?"Audience asks:":n,s=t.icon,l=void 0===s?this._defaultIcon():s;return(0,i.h)("div",{className:a.defaultBannerRoot+" "+a.bannerWrapper},(0,i.h)("div",{className:a.iconContainer},(0,i.h)("div",{className:a.iconWrapper},l)),(0,i.h)("div",{className:a.bannerBody},(0,i.h)("div",{className:a.title},o),(0,i.h)("div",{className:a.text},r)))},t.prototype._defaultIcon=function(){return(0,i.h)("div",{className:a.iconImage},(0,i.h)(s.SomeoneAsksLarge,{className:a.large}),(0,i.h)(l.SomeoneAsksSmall,{className:a.small}))},t}(i.Component);t.Banner=c},3549:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Banner=void 0;var n=r(3105);Object.defineProperty(t,"Banner",{enumerable:!0,get:function(){return n.Banner}})},5084:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SomeoneAsksLarge=void 0;var o=r(4522);t.SomeoneAsksLarge=function(e){return(0,o.h)("svg",n({width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),(0,o.h)("g",{id:"Icons/32/Someone-asks",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,o.h)("g",{id:"Group",transform:"translate(4.000000, 5.000000)",fill:"#B2D238"},(0,o.h)("ellipse",{id:"Oval",cx:"12",cy:"5.5",rx:"6",ry:"5.5"}),(0,o.h)("path",{d:"M12,13 C7.995,13 0,15.01 0,19 L0,20.5 C0,21.325 0.675,22 1.5,22 L22.5,22 C23.325,22 24,21.325 24,20.5 L24,19 C24,15.01 16.005,13 12,13 Z",id:"Path"}))))}},4139:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SomeoneAsksSmall=void 0;var o=r(4522);t.SomeoneAsksSmall=function(e){return(0,o.h)("svg",n({width:"20px",height:"20px",viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),(0,o.h)("g",{id:"Icons/20/Someone-asks",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,o.h)("g",{id:"Group",transform:"translate(2.000000, 2.000000)",fill:"#B2D238"},(0,o.h)("circle",{id:"Oval",cx:"8",cy:"4",r:"4"}),(0,o.h)("path",{d:"M8,9 C5.33,9 0,10.5633333 0,13.6666667 L0,14.8333333 C0,15.475 0.45,16 1,16 L15,16 C15.55,16 16,15.475 16,14.8333333 L16,13.6666667 C16,10.5633333 10.67,9 8,9 Z",id:"Path"}))))}},8759:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContribServices=t.getPlayerContribRegistry=void 0;var n=r(8541),o=r(3480),i=r(9945),a=r(8185),s=r(4473);function l(e){return n.PlayerContribRegistry.get(e)}t.getPlayerContribRegistry=l;var c=function(){function e(e,t){var r=this;this._playerContribRegistry=e,this._options=t,this._registered=!1,this._addListeners=function(){var e=r._options.kalturaPlayer;e.addEventListener(e.Event.PLAYER_RESET,r.reset),e.addEventListener(e.Event.PLAYER_DESTROY,r._removeListeners)},this._removeListeners=function(){var e=r._options.kalturaPlayer;e.removeEventListener(e.Event.PLAYER_RESET,r.reset),e.removeEventListener(e.Event.PLAYER_DESTROY,r._removeListeners)},this.register=function(){return r._registered?[]:(r._registered=!0,r._presetManager.registerComponents())},this.reset=function(){r._toastManager.reset(),r._floatingManager.reset(),r._bannerManager.reset()},this.destroy=function(){r._registered=!1};var n=this._options.kalturaPlayer,l=new o.PresetManager({kalturaPlayer:n}),c=new a.FloatingManager({kalturaPlayer:n,presetManager:l}),u=new i.ToastManager({floatingManager:c}),p=new s.BannerManager({kalturaPlayer:n,floatingManager:c});this._toastManager=u,this._floatingManager=c,this._presetManager=l,this._bannerManager=p,this._addListeners()}return e.get=function(t){var r=l(t.kalturaPlayer);return r.register("ContribServices",(function(){return new e(r,t)}))},Object.defineProperty(e.prototype,"presetManager",{get:function(){return this._presetManager},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"floatingManager",{get:function(){return this._floatingManager},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"toastManager",{get:function(){return this._toastManager},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bannerManager",{get:function(){return this._bannerManager},enumerable:!1,configurable:!0}),e}();t.ContribServices=c},8568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContribConfig=void 0;var n=r(9820);t.getContribConfig=function(e,t,r,o){return n.KalturaPlayerUtils.getPlayerConfig(e,"contrib.".concat(t),r,o)}},9146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4522);t.default=function(e,t,r){return(0,n.h)("a",{href:e,key:r,target:"_blank",rel:"noopener noreferrer"},t)}},6080:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventsManager=void 0;var r=function(){function e(){this._eventListeners={},this._wildcardEventListeners=[]}return e.prototype.on=function(e,t){"*"!==e?(this._eventListeners[e]||(this._eventListeners[e]=[])).push(t):this._wildcardEventListeners.push(t)},e.prototype.off=function(e,t){if("*"!==e){var r=this._eventListeners[e];r&&r.splice(r.indexOf(t)>>>0,1)}else this._wildcardEventListeners.splice(this._wildcardEventListeners.indexOf(t)>>>0,1)},e.prototype.emit=function(e){(this._eventListeners[e.type]||[]).slice().map((function(t){t(e)})),this._wildcardEventListeners.slice().map((function(t){t(e)}))},e}();t.EventsManager=r},3782:(e,t)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingPositions=t.FloatingUIModes=void 0,(n=t.FloatingUIModes||(t.FloatingUIModes={})).MediaLoaded="MediaLoaded",n.OnDemand="OnDemand",n.Immediate="Immediate",n.FirstPlay="FirstPlay",(r=t.FloatingPositions||(t.FloatingPositions={})).VideoArea="VideoArea",r.PresetArea="PresetArea",r.InteractiveArea="InteractiveArea"},9948:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingItem=void 0;var n=r(4522),o=r(3782),i=r(9858),a=function(){function e(e){var t=this;this._destroyed=!1,this._isShown=!1,this._componentRef=null,this.remove=function(){t._isShown=!1,t._componentRef&&t._componentRef.update()},this.add=function(){t._isShown=!0,t._componentRef&&t._componentRef.update()},this._handleMediaLoaded=function(){var e=t._options.kalturaPlayer;e.removeEventListener(e.Event.MEDIA_LOADED,t._handleMediaLoaded),t.add()},this._handleFirstPlay=function(){var e=t._options.kalturaPlayer;e.removeEventListener(e.Event.FIRST_PLAY,t._handleFirstPlay),t.add()},this._options=e,this._addPlayerBindings()}return Object.defineProperty(e.prototype,"data",{get:function(){return this._options.data},enumerable:!1,configurable:!0}),e.prototype.update=function(){this._componentRef&&this._componentRef.update()},e.prototype.destroy=function(){this._destroyed=!0,this.remove()},e.prototype.renderFloatingChild=function(e){var t=this,r=this._options.data.label;return(0,n.h)(i.ManagedComponent,{label:r,renderChildren:function(){return t._options.data.renderContent(e)},isShown:function(){return t._isShown},ref:function(e){return t._componentRef=e}})},e.prototype._addPlayerBindings=function(){var e=this._options,t=e.kalturaPlayer,r=e.data;r.mode===o.FloatingUIModes.MediaLoaded&&t.addEventListener(t.Event.MEDIA_LOADED,this._handleMediaLoaded),r.mode===o.FloatingUIModes.FirstPlay&&t.addEventListener(t.Event.FIRST_PLAY,this._handleFirstPlay),r.mode===o.FloatingUIModes.Immediate&&this.add()},e}();t.FloatingItem=a},8185:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingManager=void 0;var i=r(9948),a=r(3782),s=r(3480),l=r(4522),c=r(9968),u=r(9858),p=r(9109),d=r(8568),h={presetAreasMapping:{Playback:{VideoArea:"VideoArea",PresetArea:"PresetArea",InteractiveArea:"InteractiveArea"},Live:{VideoArea:"VideoArea",PresetArea:"PresetArea",InteractiveArea:"InteractiveArea"}}},A=["VideoArea","PresetArea","InteractiveArea"],_=function(){function e(e){var t,r,n=this;this._options=e,this._items=((t={})[a.FloatingPositions.VideoArea]=[],t[a.FloatingPositions.InteractiveArea]=[],t[a.FloatingPositions.PresetArea]=[],t),this._componentRef=((r={})[a.FloatingPositions.InteractiveArea]=null,r[a.FloatingPositions.VideoArea]=null,r[a.FloatingPositions.PresetArea]=null,r),this._cache={canvas:{playerSize:{width:0,height:0},videoSize:{width:0,height:0}}},this._renderItems=function(e){var t=n._getRendererProps({});return n._items[e].map((function(e){return e.renderFloatingChild(t)}))},this._renderChild=function(e){return(0,l.h)(u.ManagedComponent,{label:"floating-manager",renderChildren:function(){return n._renderItems(e)},isShown:function(){return!0},ref:function(t){return n._componentRef[e]=t}})},this._floatingConfig=(0,d.getContribConfig)(this._options.kalturaPlayer,"ui.floating",h,{explicitMerge:["presetAreasMapping"]});var o=p.PresetsUtils.groupPresetAreasByType({presetAreasMapping:this._floatingConfig.presetAreasMapping,acceptableTypes:A});Object.keys(o).forEach((function(e){n._options.presetManager.add({label:"floating-manager",presetAreas:o[e],renderChild:function(){return n._renderChild(a.FloatingPositions[e])}})})),this._addPlayerBindings(),this._updateCachedCanvas()}return e.prototype.add=function(e){var t=this._options.presetManager,r=n(n({presetManager:t},this._options),{data:e}),o=new i.FloatingItem(r);return this._items[e.position].push(o),o},e.prototype.remove=function(e){var t=this._items[e.data.position],r=t.indexOf(e);r>-1?(t[r].destroy(),t.splice(r,1)):console.warn("couldn't remove ".concat(e," since it wasn't found"))},e.prototype.reset=function(){o(o(o([],this._items.VideoArea,!0),this._items.InteractiveArea,!0),this._items.PresetArea,!0).forEach((function(e){try{e.destroy()}catch(e){console.warn(e)}})),this._items.VideoArea=[],this._items.PresetArea=[],this._items.InteractiveArea=[]},e.prototype._getRendererProps=function(e){var t=this._options.kalturaPlayer;return{currentTime:void 0!==e.currentTime?e.currentTime:1e3*t.currentTime,canvas:this._cache.canvas}},e.prototype._updateCachedCanvas=function(){this._cache.canvas={playerSize:(0,c.getPlayerSize)(this._options.kalturaPlayer),videoSize:(0,c.getVideoSize)(this._options.kalturaPlayer)}},e.prototype._updateComponents=function(){this._componentRef.InteractiveArea&&this._componentRef.InteractiveArea.update(),this._componentRef.PresetArea&&this._componentRef.PresetArea.update(),this._componentRef.VideoArea&&this._componentRef.VideoArea.update()},e.prototype._addPlayerBindings=function(){var e=this,t=this._options.kalturaPlayer;t.addEventListener(t.Event.TIME_UPDATE,(function(){e._updateComponents()})),t.addEventListener(t.Event.MEDIA_LOADED,(function(){e._updateCachedCanvas(),e._updateComponents()})),t.addEventListener(t.Event.LOADED_DATA,(function(){e._updateCachedCanvas(),e._updateComponents()})),this._options.presetManager.on(s.PresetManagerEventTypes.VideoResizeEvent,(function(){e._updateCachedCanvas(),e._updateComponents()})),this._options.presetManager.on(s.PresetManagerEventTypes.PresetResizeEvent,(function(){e._updateCachedCanvas(),e._updateComponents()}))},e}();t.FloatingManager=_},5824:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.A11yWrapper=t.isKeyboardEvent=void 0;var n=r(4522),o=KalturaPlayer.ui.utils.KeyMap,i=o.ENTER,a=o.SPACE,s=o.UP,l=o.DOWN,c=o.LEFT,u=o.RIGHT,p=function(e){e.preventDefault(),e.stopPropagation()};t.isKeyboardEvent=function(e){return e instanceof KeyboardEvent||[e.offsetX,e.offsetY].every((function(e){return 0===e}))},t.A11yWrapper=function(e){var r=e.children,o=e.onClick,d=e.onUpKeyPressed,h=e.onDownKeyPressed,A=e.onLeftKeyPressed,_=e.onRightKeyPressed,f=e.role,C=e.type,g={onKeyDown:function(e){[a,i].includes(e.keyCode)?(p(e),o(e,!0)):e.keyCode===s&&d?(p(e),d(e)):e.keyCode===l&&h?(p(e),h(e)):e.keyCode===c&&A?(p(e),A(e)):e.keyCode===u&&_&&(p(e),_(e))},onClick:function(e){e.stopPropagation(),o(e,(0,t.isKeyboardEvent)(e))},role:f};return"button"===r.type&&(g.type=C||"button"),(0,n.cloneElement)(r,g)},t.A11yWrapper.defaultProps={role:"button"}},1590:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(5824),t)},9346:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(1590),t),o(r(2401),t)},2401:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(6346),t)},6346:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OverlayPortal=void 0;var r=KalturaPlayer.ui.redux.useSelector,n=KalturaPlayer.ui.createPortal;t.OverlayPortal=function(e){var t=e.children,o=r((function(e){return e.config.targetId})),i=document.getElementById(o)||document;return n(t,i.querySelector(".overlay-portal"))}},7299:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.LinkifyString=t.VisibilityMode=t.BannerManager=t.FloatingUIModes=t.FloatingPositions=t.FloatingItem=t.ToastSeverity=t.ContribServices=void 0;var i=r(8759);Object.defineProperty(t,"ContribServices",{enumerable:!0,get:function(){return i.ContribServices}});var a=r(9945);Object.defineProperty(t,"ToastSeverity",{enumerable:!0,get:function(){return a.ToastSeverity}});var s=r(9948);Object.defineProperty(t,"FloatingItem",{enumerable:!0,get:function(){return s.FloatingItem}});var l=r(3782);Object.defineProperty(t,"FloatingPositions",{enumerable:!0,get:function(){return l.FloatingPositions}}),Object.defineProperty(t,"FloatingUIModes",{enumerable:!0,get:function(){return l.FloatingUIModes}});var c=r(4473);Object.defineProperty(t,"BannerManager",{enumerable:!0,get:function(){return c.BannerManager}}),Object.defineProperty(t,"VisibilityMode",{enumerable:!0,get:function(){return c.VisibilityMode}});var u=r(9600);Object.defineProperty(t,"LinkifyString",{enumerable:!0,get:function(){return u.LinkifyString}}),o(r(8435),t),o(r(9346),t)},5260:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InjectedComponent=void 0;var n=r(4369);Object.defineProperty(t,"InjectedComponent",{enumerable:!0,get:function(){return n.InjectedComponent}})},4369:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.InjectedComponent=void 0;var i=r(4522),a=r(2633),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._root=null,t}return o(t,e),t.prototype.shouldComponentUpdate=function(){return!1},t.prototype.componentDidMount=function(){var e=this.props,t=e.onCreate;if(e.label,t){var r=this._root;r&&t({parent:r})}},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.onDestroy,r=(e.label,this._root);r&&t&&t({parent:r})},t.prototype.render=function(){var e=this,t=this.props,r=t.label,n=t.fillContainer?a.fillContainer:"";return(0,i.h)("div",{"data-contrib-injected":r,className:n,ref:function(t){return e._root=t}})},t}(i.Component);t.InjectedComponent=s},9820:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KalturaPlayerUtils=void 0;var n=r(687),o=function(){function e(){}return e.getPlayerConfig=function(e,t,r,o){var i=n.ObjectUtils.get(e.config,t,{});return n.ObjectUtils.mergeDefaults(i,r,o)},e}();t.KalturaPlayerUtils=o},9600:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.LinkifyString=void 0;var i=r(4522),a=r(8337),s=r(9146),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._linkify=new a,t}return o(t,e),t.prototype._parseString=function(e){var t=this;if(0===(e||"").trim().length)return"";var r=this._linkify.match(e);if(!r)return e;var n=[],o=0;return r.forEach((function(r,i){r.index>o&&n.push(e.substring(o,r.index));var a=r.url,s=r.text,l=t.props.componentRenderer(a,s,i);n.push(l),o=r.lastIndex})),e.length>o&&n.push(e.substring(o)),1===n.length?n[0]:n},t.prototype.render=function(){return(0,i.h)("span",null,this._parseString(this.props.text))},t.defaultProps={componentRenderer:s.default},t}(i.Component);t.LinkifyString=l},9858:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(6508),t)},6508:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.ManagedComponent=void 0;var a=r(4522),s=r(8802),l=KalturaPlayer.ui.redux.connect,c=function(e){return{playerSize:e.shell.playerSize}},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.update=function(){this.setState((function(e){return{toggler:!e.toggler}}))},t.prototype.shouldComponentUpdate=function(e){var t=this.props,r=t.updateOnPlayerSizeChanged,n=t.playerSize;return r&&e.playerSize!==n||e.playerSize===n},t.prototype.componentDidMount=function(){this.setState({toggler:!1})},t.prototype.render=function(){var e=this.props,t=e.fillContainer,r=e.isShown,n=e.playerSize;return r()?(0,a.h)("div",{"data-contrib-item":this.props.label,className:["".concat(t?s.fillContainer:""),s.inlineContainer].join(" ")},this.props.renderChildren(n)):null},t.defaultProps={fillContainer:!1},i([l(c,null,null,{forwardRef:!0})],t)}(a.Component);t.ManagedComponent=u},687:function(e,t){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectUtils=void 0;var n=function(){function e(){}return e.copyDeep=function(t){var r;return Array.isArray(t)?(r=t.length>0?t.slice(0):[]).forEach((function(t,n){("object"==typeof t&&t!=={}||Array.isArray(t)&&t.length>0)&&(r[n]=e.copyDeep(t))})):"object"==typeof t?(r=Object.assign({},t),Object.keys(r).forEach((function(t){("object"==typeof r[t]&&r[t]!=={}||Array.isArray(r[t])&&r[t].length>0)&&(r[t]=e.copyDeep(r[t]))}))):r=t,r},e.isObject=function(e){return e&&"object"==typeof e&&!Array.isArray(e)},e.mergeDeep=function(t,r,n){var o,i;if(!r.length)return t;var a=(n?n.explicitMerge:null)||[],s=r.shift();if(e.isObject(t)&&e.isObject(s))for(var l in s)e.isObject(s[l])?(t[l]||Object.assign(t,((o={})[l]={},o)),-1!==a.indexOf(l)?t[l]=e.explicitFlatMerge(t[l],s[l]):e.mergeDeep(t[l],[s[l]],n)):Object.assign(t,((i={})[l]=s[l],i));return e.mergeDeep(t,r,n)},e.mergeDefaults=function(t,r,n){return e.mergeDeep({},[r,t],n)},e.explicitFlatMerge=function(e,t){var n=r({},e);return Object.keys(t).forEach((function(e){null===t[e]||0===Object.keys(t[e]).length?delete n[e]:n[e]=t[e]})),n},e.get=function(e,t,r){for(var n=function(e){var t=[];return e.split(".").forEach((function(e){e.split(/\[([^}]+)\]/g).forEach((function(e){e.length>0&&t.push(e)}))})),t}(t),o=e,i=0;i<n.length;i++){if(!o[n[i]])return r;o=o[n[i]]}return o},e}();t.ObjectUtils=n},8541:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlayerContribRegistry=void 0;var r=function(){function e(){this._cache={}}return e.get=function(t){return t.__contrib__=t.__contrib__||{},t.__contrib__.services=t.__contrib__.services||new e,t.__contrib__.services},e.prototype.get=function(e){var t=this._cache[e];if(!t)throw new Error("cannot find resource with token ".concat(e));return t},e.prototype.register=function(e,t){var r=this._cache[e];return r||(r=this._cache[e]={instance:t()}),r.instance},e}();t.PlayerContribRegistry=r},9968:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVideoSize=t.getPlayerSize=void 0,t.getPlayerSize=function(e){return e?e.dimensions:{width:0,height:0}},t.getVideoSize=function(e){if(!e)return{width:0,height:0};var t=e.getActiveTracks().video;return t&&void 0!==t.width&&void 0!==t.height?{width:t.width,height:t.height}:e.getVideoElement()?{width:e.getVideoElement().videoWidth,height:e.getVideoElement().videoHeight}:{width:0,height:0}}},6056:(e,t)=>{"use strict";var r,n,o;Object.defineProperty(t,"__esModule",{value:!0}),t.RelativeToTypes=t.ReservedPresetAreas=t.ReservedPresetNames=void 0,(o=t.ReservedPresetNames||(t.ReservedPresetNames={})).Playback="Playback",o.Live="Live",(n=t.ReservedPresetAreas||(t.ReservedPresetAreas={})).PresetFloating="PresetFloating",n.BottomBarLeftControls="BottomBarLeftControls",n.BottomBarRightControls="BottomBarRightControls",n.TopBarLeftControls="TopBarLeftControls",n.TopBarRightControls="TopBarRightControls",n.SidePanelTop="SidePanelTop",n.SidePanelLeft="SidePanelLeft",n.SidePanelRight="SidePanelRight",n.SidePanelBottom="SidePanelBottom",n.PresetArea="PresetArea",n.InteractiveArea="InteractiveArea",n.PlayerArea="PlayerArea",n.VideoArea="VideoArea",(r=t.RelativeToTypes||(t.RelativeToTypes={})).Before="Before",r.After="After",r.Replace="Replace"},3553:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PresetItem=void 0;var n=r(4522),o=r(6056),i=r(5260),a=function(){function e(e){var t=this;this._render=function(){if(t._options.data.isolateComponent){var e=t._options.data,r=e.label,o=e.fillContainer;return(0,n.h)(i.InjectedComponent,{label:r,fillContainer:o||!1,onCreate:t._onCreate,onDestroy:t._onDestroy})}return t._options.data.renderChild()},this._onDestroy=function(e){e.parent&&(0,n.render)(null,e.parent)},this._onCreate=function(e){try{if(!e.parent)return;var r=t._options.data.renderChild();if(!r)return;(0,n.render)(r,e.parent)}catch(e){}},this._options=e}return Object.defineProperty(e.prototype,"playerConfig",{get:function(){var e=[];for(var t in this._options.data.presetAreas){var r=this._options.data.presetAreas[t],n=this._options.data.relativeTo;if(r){var i={label:this._options.data.label,presets:[t],container:r,get:this._render};if(n)switch(n.type){case o.RelativeToTypes.After:i.afterComponent=n.name;break;case o.RelativeToTypes.Before:i.beforeComponent=n.name;break;case o.RelativeToTypes.Replace:i.replaceComponent=n.name}e.push(i)}}return e},enumerable:!1,configurable:!0}),e}();t.PresetItem=a},3480:function(e,t,r){"use strict";var n=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.PresetManager=t.PresetManagerEventTypes=void 0;var o,i=r(4522),a=r(3553),s=r(6080),l=r(8763),c=r(9109),u=r(8568);!function(e){e.PresetResizeEvent="PresetResizeEvent",e.VideoResizeEvent="VideoResizeEvent"}(o=t.PresetManagerEventTypes||(t.PresetManagerEventTypes={}));var p=["PlayerArea"],d={presetAreasMapping:{Playback:{PlayerArea:"PlayerArea"},Live:{PlayerArea:"PlayerArea"}}},h=function(){function e(e){var t=this;this._events=new s.EventsManager,this._isLocked=!1,this._items=[],this._pendingItems=[],this._registerToPlayer=function(e){e.addEventListener(KalturaPlayer.ui.EventType.UI_PRESET_RESIZE,t._notifyUIPresetResize),e.addEventListener(KalturaPlayer.ui.EventType.VIDEO_RESIZE,t._notifyVideoResize)},this._notifyVideoResize=function(){t._events.emit({type:o.VideoResizeEvent})},this._notifyUIPresetResize=function(){t._events.emit({type:o.PresetResizeEvent})},this._unregisterToPlayer=function(e){e.removeEventListener(KalturaPlayer.ui.EventType.UI_PRESET_RESIZE,t._notifyUIPresetResize),e.removeEventListener(KalturaPlayer.ui.EventType.VIDEO_RESIZE,t._notifyVideoResize)},this.on=this._events.on.bind(this._events),this.off=this._events.off.bind(this._events),this._options=e,this._presetConfig=(0,u.getContribConfig)(this._options.kalturaPlayer,"ui.preset",d,{explicitMerge:["presetAreasMapping"]});var r=c.PresetsUtils.groupPresetAreasByType({presetAreasMapping:this._presetConfig.presetAreasMapping,acceptableTypes:p});this.add({label:"preset-manager",presetAreas:r.PlayerArea,renderChild:function(){return(0,i.h)(l.UIPlayerAdapter,{onMount:t._registerToPlayer,onUnmount:t._unregisterToPlayer})}})}return e.prototype.add=function(e){if(this._isLocked)return console.warn("cannot add new preset items once player completed its' setup phase"),null;var t=new a.PresetItem({kalturaPlayer:this._options.kalturaPlayer,data:e});this._pendingItems.push(t)},e.prototype.lockManager=function(){this._isLocked=!0},e.prototype.registerComponents=function(){var e=[];return this._pendingItems.forEach((function(t){e=n(n([],e,!0),t.playerConfig,!0)})),this._items=n(n([],this._items,!0),this._pendingItems,!0),this._pendingItems=[],e.filter(Boolean)},e}();t.PresetManager=h},9109:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PresetsUtils=void 0;var r=function(){function e(){}return e.groupPresetAreasByType=function(e){var t=e.presetAreasMapping,r=e.acceptableTypes,n={};return r.forEach((function(e){return n[e]={}})),Object.keys(t).forEach((function(e){Object.keys(t[e]).forEach((function(o){-1===r.indexOf(o)||(n[o][e]=t[e][o])}))})),n},e}();t.PresetsUtils=r},9945:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.ToastManager=t.ToastSeverity=void 0;var i,a=r(3301),s=r(3782),l=r(4027),c=r(4522);(i=t.ToastSeverity||(t.ToastSeverity={})).Info="Info",i.Success="Success",i.Warn="Warn",i.Error="Error";var u=function(){function e(e){var t=this;this.options=e,this._toasts=[],this._floatingItem=null,this._remove=function(e){var r=t._findToastIndexById(e);-1!==r&&(clearTimeout(t._toasts[r].timerSubscription),t._toasts.splice(r,1),t._updateToastsUI(),0===t._toasts.length&&t._removeToastsContainer())},this._options=e}return e.prototype.add=function(e){var t=e.duration,r=o(e,["duration"]);this._floatingItem||this._addToastsContainer();var i={toastProps:n(n({},r),{id:a.UUID.uuidV1(),onClose:this._remove}),duration:t,timerSubscription:null};this._toasts.push(i),this._updateToastsUI(),this._startDurationTimer(i)},e.prototype.reset=function(){var e=this;this._toasts.forEach((function(t){e._remove(t.toastProps.id)}))},e.prototype._startDurationTimer=function(e){var t=this;e.timerSubscription=setTimeout((function(){t._remove(e.toastProps.id)}),e.duration)},e.prototype._addToastsContainer=function(){var e=this;this._floatingItem=this._options.floatingManager.add({label:"Toasts",mode:s.FloatingUIModes.Immediate,position:s.FloatingPositions.InteractiveArea,renderContent:function(){return(0,c.h)(l.ToastsContainer,{toasts:e._toasts.map((function(e){return e.toastProps}))})}})},e.prototype._removeToastsContainer=function(){this._floatingItem&&(this._options.floatingManager.remove(this._floatingItem),this._floatingItem=null)},e.prototype._updateToastsUI=function(){this._floatingItem&&this._floatingItem.update()},e.prototype._findToastIndexById=function(e){for(var t=0;t<this._toasts.length;){if(this._toasts[t].toastProps.id===e)return t;t++}return-1},e}();t.ToastManager=u},6577:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloseIcon=void 0;var n=r(4522);t.CloseIcon=function(){return(0,n.h)("svg",{width:"16px",height:"16px",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,n.h)("g",{id:"Icons/16/Close",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,n.h)("path",{d:"M8.8497789,8 L11.824005,10.9742261 C12.058665,11.2088861 12.058665,11.5893451 11.824005,11.824005 C11.5893451,12.058665 11.2088861,12.058665 10.9742261,11.824005 L8,8.8497789 L5.02577387,11.824005 C4.7911139,12.058665 4.41065493,12.058665 4.17599497,11.824005 C3.94133501,11.5893451 3.94133501,11.2088861 4.17599497,10.9742261 L7.1502211,8 L4.17599497,5.02577387 C3.94133501,4.7911139 3.94133501,4.41065493 4.17599497,4.17599497 C4.41065493,3.94133501 4.7911139,3.94133501 5.02577387,4.17599497 L8,7.1502211 L10.9742261,4.17599497 C11.2088861,3.94133501 11.5893451,3.94133501 11.824005,4.17599497 C12.058665,4.41065493 12.058665,4.7911139 11.824005,5.02577387 L8.8497789,8 Z",id:"Path",fill:"#cccccc"})))}},4461:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.Toast=void 0;var i=r(4522),a=r(2001),s=r(9945),l=r(6577),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={isShown:!0},t._onClick=function(e){t.props.onClick(),t._onClose(e)},t._onClose=function(e){e.stopPropagation(),t.setState({isShown:!1}),t.props.onClose(t.props.id)},t}return o(t,e),t.prototype._getToastSeverityClass=function(){switch(this.props.severity){case s.ToastSeverity.Success:return a.successToast;case s.ToastSeverity.Warn:return a.warnToast;case s.ToastSeverity.Error:return a.errorToast;default:return a.infoToast}},t.prototype.render=function(){var e=this.props,t=e.text,r=e.title,n=e.icon;return(0,i.h)("div",{className:a.toastWrapper+" "+this._getToastSeverityClass(),onClick:this._onClick},(0,i.h)("button",{className:a.closeButton,onClick:this._onClose},(0,i.h)(l.CloseIcon,null)),(0,i.h)("div",{className:a.title},r),(0,i.h)("div",{className:a.toastBody},(0,i.h)("div",{className:a.iconContainer},(0,i.h)("div",{className:a.iconWrapper},n)),(0,i.h)("div",{className:a.text},t)))},t}(i.Component);t.Toast=c},4027:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToastsContainer=void 0;var n=r(1454);Object.defineProperty(t,"ToastsContainer",{enumerable:!0,get:function(){return n.ToastsContainer}})},1454:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ToastsContainer=void 0;var a=r(4522),s=r(4461),l=r(2167),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){return(0,a.h)("div",{className:l.toastsContainer,"aria-live":"polite"},this.props.toasts.map((function(e){return(0,a.h)("div",{className:l.toastRow,key:e.id},(0,a.h)(s.Toast,i({},e)))})))},t}(a.Component);t.ToastsContainer=c},7864:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Button=t.ButtonType=t.ButtonSize=void 0;var o,i,a=r(4522),s=r(4184),l=r(1590),c=r(4062),u=KalturaPlayer.ui.components.Tooltip;!function(e){e.small="small",e.medium="medium",e.large="large"}(o=t.ButtonSize||(t.ButtonSize={})),function(e){e.primary="primary",e.danger="danger",e.translucent="translucent",e.borderless="borderless"}(i=t.ButtonType||(t.ButtonType={})),t.Button=function(e){var t=function(){var t,r=s(c.button,c[e.size],c[e.type],e.className,((t={})[c.disabled]=e.disabled,t)),o=n(n({disabled:e.disabled,"aria-disabled":e.disabled,tabIndex:e.tabIndex,className:r},e.ariaLabel?{"aria-label":e.ariaLabel}:{}),e.testId?{"data-testid":e.testId}:{});return(0,a.h)(l.A11yWrapper,{onClick:e.onClick},(0,a.h)("button",n({},o),e.children))};if(e.tooltip){var r=n({label:e.tooltip.label},e.tooltip.className?{classNames:e.tooltip.className}:{});return(0,a.h)(u,n({},r),t())}return t()},t.Button.defaultProps={disabled:!1,tabIndex:0,children:null,size:o.medium,type:i.primary}},1707:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(7864),t)},8435:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(4312),t),o(r(1707),t)},4312:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(3399),t)},3399:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.InputField=void 0;var a=r(4522),s=r(1590),l=r(5650),c=function(e){function t(t){var r=e.call(this,t)||this;return r.state={active:!1},r._inputRef=null,r.setFocus=function(){var e;null===(e=r._inputRef)||void 0===e||e.focus()},r._handleOnChange=function(e){r.props.onChange(e.target.value)},r._onClear=function(){var e;null===(e=r._inputRef)||void 0===e||e.focus(),r.props.onChange("")},r._onFocus=function(){r.setState({active:!0})},r._onBlur=function(){r.setState({active:!1})},r._goToNextSearchResult=function(){var e=r.props.searchResults,t=e.activeSearchIndex,n=e.totalSearchResults,o=e.onSearchIndexChange;0!==n&&o(t!==n?t+1:1)},r._goToPrevSearchResult=function(){var e=r.props.searchResults,t=e.activeSearchIndex,n=e.totalSearchResults;(0,e.onSearchIndexChange)(1!==t?t-1:n)},r._renderSearchResults=function(){return(0,a.h)(a.Fragment,null,(0,a.h)("div",{className:l.searchResults,"aria-live":"polite","aria-label":r.props.searchResults.searchResultsLabel},"".concat(r.props.searchResults.totalSearchResults>0?"".concat(r.props.searchResults.activeSearchIndex,"/").concat(r.props.searchResults.totalSearchResults):"0/0")),(0,a.h)("div",{className:l.prevNextWrapper},r.props.value&&(0,a.h)(s.A11yWrapper,{onClick:r._goToPrevSearchResult},(0,a.h)("button",{tabIndex:0,className:"".concat(l.prevNextButton," ").concat(0===r.props.searchResults.totalSearchResults?l.disabled:""),"aria-label":r.props.searchResults.prevMatchLabel},(0,a.h)("svg",{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{d:"M0.292893 4.70711C0.653377 5.06759 1.22061 5.09532 1.6129 4.7903L1.70711 4.70711L4 2.415L6.29289 4.70711C6.65338 5.06759 7.22061 5.09532 7.6129 4.7903L7.70711 4.70711C8.06759 4.34662 8.09532 3.77939 7.7903 3.3871L7.70711 3.29289L4.70711 0.292893C4.34662 -0.0675907 3.77939 -0.0953203 3.3871 0.209705L3.29289 0.292893L0.292893 3.29289C-0.0976311 3.68342 -0.0976311 4.31658 0.292893 4.70711Z",fill:"white","fill-opacity":"0.7"})))),r.props.value&&(0,a.h)(s.A11yWrapper,{onClick:r._goToNextSearchResult},(0,a.h)("button",{tabIndex:0,className:"".concat(l.prevNextButton," ").concat(0===r.props.searchResults.totalSearchResults?l.disabled:""),"aria-label":r.props.searchResults.nextMatchLabel},(0,a.h)("svg",{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.292893 0.292893C0.683417 -0.0976311 1.31658 -0.0976311 1.70711 0.292893L4 2.58579L6.29289 0.292893C6.68342 -0.0976311 7.31658 -0.0976311 7.70711 0.292893C8.09763 0.683417 8.09763 1.31658 7.70711 1.70711L4.70711 4.70711C4.31658 5.09763 3.68342 5.09763 3.29289 4.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683417 0.292893 0.292893Z",fill:"white","fill-opacity":"0.7"}))))))},r._renderClearSearch=function(){return(0,a.h)(s.A11yWrapper,{onClick:r._onClear},(0,a.h)("button",{className:l.clearIcon,tabIndex:0,"aria-label":r.props.clearSearchLabel},(0,a.h)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12ZM3.38951 2.3502L3.46013 2.41264L5.99548 4.9504L8.53067 2.41264L8.60129 2.3502C8.89537 2.12125 9.32081 2.1418 9.59133 2.41199C9.8844 2.70471 9.88469 3.17958 9.59197 3.47265L7.05523 6.01165L9.59197 8.55189C9.88469 8.84496 9.8844 9.31983 9.59133 9.61255C9.32081 9.88275 8.89537 9.90329 8.60129 9.67434L8.53067 9.61191L5.99548 7.0729L3.46013 9.61191L3.38951 9.67434C3.09543 9.90329 2.66999 9.88275 2.39947 9.61255C2.1064 9.31983 2.10611 8.84496 2.39883 8.55189L4.93498 6.01165L2.39883 3.47265C2.10611 3.17958 2.1064 2.70471 2.39947 2.41199C2.66999 2.1418 3.09543 2.12125 3.38951 2.3502Z",fill:"white","fill-opacity":"0.7"}))))},r.state={active:!1},r}return o(t,e),t.prototype.render=function(){var e=this,t={className:l.inputElement,value:this.props.value,onInput:this._handleOnChange,onFocus:this._onFocus,onBlur:this._onBlur,tabIndex:0,ref:function(t){e._inputRef=t}};return this.props.placeholder&&(t["aria-label"]=this.props.placeholder,t.placeholder=this.props.placeholder),(0,a.h)("div",{className:[l.inputFieldWrapper,this.props.value||this.state.active?l.active:""].join(" ")},(0,a.h)("input",i({},t)),this.props.value&&this.props.clearSearchLabel&&this._renderClearSearch(),this.props.value&&this.props.searchResults&&this._renderSearchResults())},t}(a.Component);t.InputField=c},8763:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(137),t)},137:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.UIPlayerAdapter=void 0;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.componentDidMount=function(){this.props.onMount(this.props.player)},t.prototype.componentWillUnmount=function(){this.props.onUnmount(this.props.player)},t.prototype.render=function(e){return null},t.defaultProps={player:null},i([KalturaPlayer.ui.components.withPlayer],t)}(r(4522).Component);t.UIPlayerAdapter=a},3301:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UUID=void 0;var r=function(){function e(){}return e.uuidV1=function(){return"".concat(Date.now(),"-").concat(Math.random())},e}();t.UUID=r},19:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventsManager=void 0;var r=function(){function e(){this._eventListeners={},this._wildcardEventListeners=[]}return e.prototype.on=function(e,t){"*"!==e?(this._eventListeners[e]||(this._eventListeners[e]=[])).push(t):this._wildcardEventListeners.push(t)},e.prototype.off=function(e,t){if("*"!==e){var r=this._eventListeners[e];r&&r.splice(r.indexOf(t)>>>0,1)}else this._wildcardEventListeners.splice(this._wildcardEventListeners.indexOf(t)>>>0,1)},e.prototype.emit=function(e){(this._eventListeners[e.type]||[]).slice().map((function(t){t(e)})),this._wildcardEventListeners.slice().map((function(t){t(e)}))},e}();t.EventsManager=r},8707:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(19),t),o(r(7640),t)},7640:(e,t)=>{"use strict";function r(){return"##".concat("Guest").concat("HashSeparator").concat(function(){for(var e=(0,t.generateId)(),r="",n=0;n<e.length;n++){var o=e.charAt(n);r+=Number.isNaN(+o)?o.charCodeAt(0):o}return r}(),"##")}Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=t.getUserId=t.generateId=void 0,t.generateId=function(){return(new Date).getTime().toString(36)+Math.random().toString(36).slice(2)},t.getUserId=function(){return"undefined"==typeof Storage?r():((e=localStorage.getItem("anonymousUserId"))||(e=r(),localStorage.setItem("anonymousUserId",e)),e);var e},t.debounce=function(e,t,r){var n;return void 0===t&&(t=50),void 0===r&&(r={isImmediate:!1}),function(){for(var o=this,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var s=function(){n=void 0,r.isImmediate||e.apply(o,i)},l=r.isImmediate&&void 0===n;void 0!==n&&clearTimeout(n),n=setTimeout(s,t),l&&e.apply(this,i)}}},9413:e=>{e.exports=/[\0-\x1F\x7F-\x9F]/},3189:e=>{e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},5045:e=>{e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},9369:e=>{e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},4522:e=>{"use strict";e.exports=KalturaPlayer.ui.preact}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}return r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0,r(3607)})(),e.exports=t()},360:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(522),o=r(573),i={position:"absolute",display:"table",boxSizing:"border-box"},a={position:"relative",width:"100%",height:"100%",appearance:"none",border:"none",display:"table-cell",verticalAlign:"middle",textAlign:"center",cursor:"pointer",wordBreak:"break-all",textRendering:"geometricPrecision"};function s(e){return e.match(/^https?:\/\//i)||(e="http://"+e),e}class l extends n.Component{constructor(){super(...arguments),this.state={disableClick:!0,isReady:!1},this.isClickable=()=>{const{hotspot:{onClick:e}}=this.props;if(!e)return!1;switch(e.type){case"jumpToTime":return void 0!==e.jumpToTime;case"openUrl":case"openUrlInNewTab":return!!e.url;default:return!1}},this.handleClick=()=>{const{hotspot:e}=this.props,{disableClick:t}=this.state;if(e.onClick&&!t)switch(e.onClick.type){case"jumpToTime":if(void 0===e.onClick.jumpToTime)return;this.props.seekTo(e.onClick.jumpToTime/1e3);break;case"openUrl":{if(!e.onClick.url)return;const t=s(e.onClick.url);window.open(t,"_top"),this.props.sendAnalytics({eventNumber:47,target:t,hotspotId:e.id})}break;case"openUrlInNewTab":{if(!e.onClick.url)return;this.props.pauseVideo();const t=s(e.onClick.url);try{window.open(t,"_blank"),this.props.sendAnalytics({eventNumber:47,target:t,hotspotId:e.id})}catch(e){}}}}}componentDidMount(){const{hotspot:e}=this.props;e&&e.onClick?this.setState({isReady:!0,disableClick:!this.isClickable()}):this.setState({isReady:!0})}render(){const{hotspot:e}=this.props,{layout:t,label:r}=e,{isReady:s,disableClick:l}=this.state;if(!s||!this.props.visible)return null;const c=Object.assign(Object.assign({},i),{top:t.y,left:t.x,height:t.height,width:t.width}),u=Object.assign(Object.assign(Object.assign({},a),e.styles),{cursor:l?"default":"pointer"});return(0,n.h)(o.A11yWrapper,{onClick:this.handleClick},(0,n.h)("div",{tabIndex:0,"aria-label":r,"aria-disabled":l,style:c},(0,n.h)("div",{style:u},r)))}}t.default=l,l.defaultProps={styles:{}}},658:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(522),o=r(912),i=r(360),a={position:"absolute",display:"block",overflow:"visible",top:0,left:0,width:0,height:0};class s extends n.Component{constructor(){super(...arguments),this.renderHotspots=e=>{if(!e)return null;const{seekTo:t,pauseVideo:r,sendAnalytics:o}=this.props;return e.map((e=>(0,n.h)(i.default,{pauseVideo:r,seekTo:t,key:e.id,visible:!0,hotspot:e,sendAnalytics:o})))}}shouldComponentUpdate(e){return!(0,o.shallowCompareHotspots)(this.props.hotspots,e.hotspots)}render(){const{hotspots:e}=this.props,t=this.renderHotspots(e);return(0,n.h)("div",{style:a},t)}}t.default=s},624:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HotspotsPlugin=void 0;const n=r(522),o=r(573),i=r(658),a=r(263);class s extends KalturaPlayer.core.BasePlugin{constructor(e,t,r){super(e,t,r),this._hotspots=[],this._floatingItem=null,this._canvas=null,this._isHotspotType=e=>{const{metadata:t}=e,{KalturaCuePointType:r,KalturaCuePointTags:n}=this.cuePointManager;return(null==t?void 0:t.cuePointType)===r.ANNOTATION&&(null==t?void 0:t.tags)===n.HOTSPOT},this._filterHotspotCues=e=>e.filter(this._isHotspotType),this._prepareHotspots=e=>{const t=[];return e.forEach((e=>{const{partnerData:r}=e.metadata;r&&r.schemaVersion&&t.push({id:e.id,startTime:e.startTime,endTime:e.endTime,label:e.metadata.text,styles:r.styles,onClick:r.onClick,rawLayout:Object.assign({},r.layout)})})),t},this._recalculateCuepointLayout=e=>{var t,r;if(this.logger.debug("calculating cuepoint layout based on video/player sizes"),!(null===(t=this._canvas)||void 0===t?void 0:t.playerSize)||!(null===(r=this._canvas)||void 0===r?void 0:r.videoSize))return this.logger.warn("missing video/player sizes, hide all cuepoint"),[];const{width:n,height:o}=this._canvas.playerSize,{width:i,height:s}=this._canvas.videoSize;if(!(n&&o&&i&&s))return this.logger.warn("missing video/player sizes, hide all cuepoint"),[];const l=(0,a.scaleVideo)(i,s,n,o,!0);return this.logger.debug("recalculate cuepoint layout based on new sizes"),e.map((e=>Object.assign(Object.assign({},e),{layout:this._calculateLayout(e,l)})))},this._onTimedMetadataChange=({payload:e})=>{const t=this._filterHotspotCues(e.cues);if(t.length||this._hotspots.length){const e=this._prepareHotspots(t);this._hotspots=this._recalculateCuepointLayout(e),this._updateHotspotsContainer()}},this._pauseVideo=()=>{this._player.pause()},this._seekTo=e=>{this._player.currentTime=e},this._checkIfResizeHappened=e=>{if(!this._canvas)return this._canvas=e,!0;const t=this._canvas.playerSize,r=this._canvas.videoSize,n=e.playerSize,o=e.videoSize;return(t.width!==n.width||t.height!==n.height||r.width!==o.width||r.height!==o.height)&&(this._canvas=e,!0)},this._renderRoot=e=>(this._checkIfResizeHappened(e.canvas)&&(this._hotspots=this._recalculateCuepointLayout(this._hotspots)),(0,n.h)(i.default,{key:"hotspotWrapper",hotspots:this._hotspots,pauseVideo:this._pauseVideo,seekTo:this._seekTo,sendAnalytics:()=>{}})),this._player=t,this._contribServices=o.ContribServices.get({kalturaPlayer:this._player})}static isValid(){return!0}get cuePointManager(){return this._player.getService("kalturaCuepoints")}getUIComponents(){return this._contribServices.register()}loadMedia(){this.cuePointManager&&!this._player.isLive()?(this._addHotspotsContainer(),this.cuePointManager.registerTypes([this.cuePointManager.CuepointType.HOTSPOT]),this.eventManager.listen(this._player,this._player.Event.TIMED_METADATA_CHANGE,this._onTimedMetadataChange)):this.logger.warn("kalturaCuepoints haven't registered or current entry is live")}_calculateLayout(e,t){const{rawLayout:r}=e;return{x:t.left+r.relativeX*t.width,y:t.top+r.relativeY*t.height,width:r.relativeWidth*t.width,height:r.relativeHeight*t.height}}_addHotspotsContainer(){this._floatingItem=this._contribServices.floatingManager.add({label:"Hotspots",mode:o.FloatingUIModes.MediaLoaded,position:o.FloatingPositions.VideoArea,renderContent:this._renderRoot})}_updateHotspotsContainer(){this._floatingItem&&this._floatingItem.update()}reset(){this.eventManager.removeAll(),this._hotspots=[],this._canvas=null,this._floatingItem&&(this._contribServices.floatingManager.remove(this._floatingItem),this._floatingItem=null)}destroy(){}}t.HotspotsPlugin=s,s.defaultConfig={}},912:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shallowCompareHotspots=void 0,t.shallowCompareHotspots=(e,t)=>{const r=e.length;if(t.length!==r)return!1;for(let n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}},263:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scaleVideo=void 0,t.scaleVideo=function(e,t,r,n,o){const i={width:0,height:0,left:0,top:0,scaleToTargetWidth:!0};if(e<=0||t<=0||r<=0||n<=0)return i;const a=r,s=t*r/e,l=e*n/t,c=n;let u=l>r;return u=u?o:!o,u?(i.width=Math.abs(a),i.height=Math.abs(s),i.scaleToTargetWidth=!0):(i.width=Math.abs(l),i.height=Math.abs(c),i.scaleToTargetWidth=!1),i.left=Math.abs((r-i.width)/2),i.top=Math.abs((n-i.height)/2),i}},522:function(e){"use strict";e.exports=KalturaPlayer.ui.preact}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}var n={};!function(){"use strict";var e=n;Object.defineProperty(e,"__esModule",{value:!0}),e.NAME=e.VERSION=e.Plugin=void 0;const t=r(624);Object.defineProperty(e,"Plugin",{enumerable:!0,get:function(){return t.HotspotsPlugin}}),e.VERSION="3.1.4-canary.1-d02aab4",e.NAME="@playkit-js/hotspots",KalturaPlayer.core.registerPlugin("playkit-js-hotspots",t.HotspotsPlugin)}(),((KalturaPlayer=void 0===KalturaPlayer?{}:KalturaPlayer).plugins=KalturaPlayer.plugins||{}).hotspots=n}();
|
|
1
|
+
var KalturaPlayer;!function(){var e={573:function(e){var t;self,t=()=>(()=>{var e={4184:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},2955:(e,t,r)=>{"use strict";r.d(t,{Ah:()=>c,Cg:()=>l,ZP:()=>d,bH:()=>p,ce:()=>s,yG:()=>u});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".bannerContainerRoot_K1xa7{position:absolute;max-width:100%;min-width:270px;padding:0 16px 8px;height:88px;bottom:0;left:0;transition:all .5s ease}.bannerContainer_Ca8Vu{position:relative;width:100%;height:100%;border-radius:4px;transition:all .5s ease}.closeButton_nbz3N{position:absolute;background-color:rgba(0,0,0,0);padding:0;border:none;top:0;right:0;width:32px;height:32px;padding:0}.closeButton_nbz3N .small_n5NA7{display:none}.closeButton_nbz3N:hover,.closeButton_nbz3N:active{cursor:pointer}.playkit-size-md .bannerContainerRoot_K1xa7{height:68px;min-width:230px}.playkit-size-md .closeButton_nbz3N{top:8px;right:8px;width:10px;height:10px}.playkit-size-md .closeButton_nbz3N .large_bCALw{display:none}.playkit-size-md .closeButton_nbz3N .small_n5NA7{display:block}.playkit-size-sm .bannerContainerRoot_K1xa7,.playkit-size-xs .bannerContainerRoot_K1xa7,.playkit-size-ty .bannerContainerRoot_K1xa7{display:none;width:0;height:0}","",{version:3,sources:["webpack://./src/ui-common/banner-container/_banner-container.scss"],names:[],mappings:"AAAA,2BAAqB,iBAAiB,CAAC,cAAc,CAAC,eAAe,CAAC,kBAAkB,CAAC,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC,uBAAuB,CAAC,uBAAiB,iBAAiB,CAAC,UAAU,CAAC,WAAW,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,mBAAa,iBAAiB,CAAC,8BAA8B,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,gCAAoB,YAAY,CAAC,mDAAuC,cAAc,CAAC,4CAAqD,WAAW,CAAC,eAAe,CAAC,oCAA6C,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,WAAW,CAAC,iDAAoD,YAAY,CAAC,iDAAoD,aAAa,CAAC,oIAA+J,YAAY,CAAC,OAAO,CAAC,QAAQ",sourcesContent:[".bannerContainerRoot{position:absolute;max-width:100%;min-width:270px;padding:0 16px 8px;height:88px;bottom:0;left:0;transition:all .5s ease}.bannerContainer{position:relative;width:100%;height:100%;border-radius:4px;transition:all .5s ease}.closeButton{position:absolute;background-color:rgba(0,0,0,0);padding:0;border:none;top:0;right:0;width:32px;height:32px;padding:0}.closeButton .small{display:none}.closeButton:hover,.closeButton:active{cursor:pointer}:global .playkit-size-md :local .bannerContainerRoot{height:68px;min-width:230px}:global .playkit-size-md :local .closeButton{top:8px;right:8px;width:10px;height:10px}:global .playkit-size-md :local .closeButton .large{display:none}:global .playkit-size-md :local .closeButton .small{display:block}:global .playkit-size-sm :local .bannerContainerRoot,:global .playkit-size-xs :local .bannerContainerRoot,:global .playkit-size-ty :local .bannerContainerRoot{display:none;width:0;height:0}"],sourceRoot:""}]);var s="bannerContainerRoot_K1xa7",l="bannerContainer_Ca8Vu",c="closeButton_nbz3N",u="small_n5NA7",p="large_bCALw";const d=a},8727:(e,t,r)=>{"use strict";r.d(t,{Fu:()=>c,TN:()=>A,Wd:()=>l,ZP:()=>C,aW:()=>u,bH:()=>f,cy:()=>p,d7:()=>h,fL:()=>_,m0:()=>s,yG:()=>d});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".defaultBannerRoot_FcPU5{display:flex;max-width:100%;height:100%;transition:all .5s ease;text-align:left}.bannerWrapper_mXxJz{padding:18px 17px 17px 16px}.iconContainer_peqkF{height:100%;width:64px}.iconWrapper_tGuZb{position:relative;height:48px;width:48px;background-color:rgba(255,255,255,.14);border-radius:50%;transition:all .5s ease}.iconImage_bNDFZ{position:absolute;width:32px;height:32px;left:calc(50% - 16px);top:calc(50% - 16px);transition:all .5s ease;padding:0}.iconImage_bNDFZ .small_n4xT9{display:none}.bannerBody_TiV10{height:100%;flex:1 1 auto;overflow:hidden}.title_H1iK9{opacity:.9;font-size:14px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1;letter-spacing:normal;color:#ebebeb}.text_tT5dF{opacity:.9;font-size:24px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1.21;letter-spacing:normal;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .5s ease}.playkit-size-md .bannerWrapper_mXxJz{padding:14px 16px 14px}.playkit-size-md .iconContainer_peqkF{width:44px}.playkit-size-md .iconWrapper_tGuZb{height:32px;width:32px}.playkit-size-md .iconImage_bNDFZ{width:20px;height:20px;left:calc(50% - 10px);top:calc(50% - 10px)}.playkit-size-md .iconImage_bNDFZ .small_n4xT9{display:block}.playkit-size-md .iconImage_bNDFZ .large_xGydU{display:none}.playkit-size-md .bannerBody_TiV10{flex:1 1 auto}.playkit-size-md .title_H1iK9{font-size:12px;font-weight:bold;line-height:1.17}.playkit-size-md .text_tT5dF{font-size:15px;line-height:1.27}","",{version:3,sources:["webpack://./src/ui-common/banner/_banner.scss"],names:[],mappings:"AAAA,yBAAmB,YAAY,CAAC,cAAc,CAAC,WAAW,CAAC,uBAAuB,CAAC,eAAe,CAAC,qBAAe,2BAA2B,CAAC,qBAAe,WAAW,CAAC,UAAU,CAAC,mBAAa,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,sCAAsC,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,iBAAW,iBAAiB,CAAC,UAAU,CAAC,WAAW,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,SAAS,CAAC,8BAAkB,YAAY,CAAC,kBAAY,WAAW,CAAC,aAAa,CAAC,eAAe,CAAC,aAAO,UAAU,CAAC,cAAc,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,aAAa,CAAC,qBAAqB,CAAC,aAAa,CAAC,YAAM,UAAU,CAAC,cAAc,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,UAAU,CAAC,kBAAkB,CAAC,eAAe,CAAC,sBAAsB,CAAC,uBAAuB,CAAC,sCAA+C,sBAAsB,CAAC,sCAA+C,UAAU,CAAC,oCAA6C,WAAW,CAAC,UAAU,CAAC,kCAA2C,UAAU,CAAC,WAAW,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,+CAAkD,aAAa,CAAC,+CAAkD,YAAY,CAAC,mCAA4C,aAAa,CAAC,8BAAuC,cAAc,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,6BAAsC,cAAc,CAAC,gBAAgB",sourcesContent:[".defaultBannerRoot{display:flex;max-width:100%;height:100%;transition:all .5s ease;text-align:left}.bannerWrapper{padding:18px 17px 17px 16px}.iconContainer{height:100%;width:64px}.iconWrapper{position:relative;height:48px;width:48px;background-color:rgba(255,255,255,.14);border-radius:50%;transition:all .5s ease}.iconImage{position:absolute;width:32px;height:32px;left:calc(50% - 16px);top:calc(50% - 16px);transition:all .5s ease;padding:0}.iconImage .small{display:none}.bannerBody{height:100%;flex:1 1 auto;overflow:hidden}.title{opacity:.9;font-size:14px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1;letter-spacing:normal;color:#ebebeb}.text{opacity:.9;font-size:24px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1.21;letter-spacing:normal;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .5s ease}:global .playkit-size-md :local .bannerWrapper{padding:14px 16px 14px}:global .playkit-size-md :local .iconContainer{width:44px}:global .playkit-size-md :local .iconWrapper{height:32px;width:32px}:global .playkit-size-md :local .iconImage{width:20px;height:20px;left:calc(50% - 10px);top:calc(50% - 10px)}:global .playkit-size-md :local .iconImage .small{display:block}:global .playkit-size-md :local .iconImage .large{display:none}:global .playkit-size-md :local .bannerBody{flex:1 1 auto}:global .playkit-size-md :local .title{font-size:12px;font-weight:bold;line-height:1.17}:global .playkit-size-md :local .text{font-size:15px;line-height:1.27}"],sourceRoot:""}]);var s="defaultBannerRoot_FcPU5",l="bannerWrapper_mXxJz",c="iconContainer_peqkF",u="iconWrapper_tGuZb",p="iconImage_bNDFZ",d="small_n4xT9",h="bannerBody_TiV10",A="title_H1iK9",_="text_tT5dF",f="large_xGydU";const C=a},5985:(e,t,r)=>{"use strict";r.d(t,{V:()=>s,Z:()=>l});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".fill-container_hw3_7{width:100%;height:100%;overflow:hidden}","",{version:3,sources:["webpack://./src/ui-common/injected-component/injected-component.scss"],names:[],mappings:"AAAA,sBAAgB,UAAU,CAAC,WAAW,CAAC,eAAe",sourcesContent:[".fill-container{width:100%;height:100%;overflow:hidden}"],sourceRoot:""}]);var s="fill-container_hw3_7";const l=a},1326:(e,t,r)=>{"use strict";r.d(t,{V:()=>s,Z:()=>l});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".fill-container_bXz_O{width:100%;height:100%}","",{version:3,sources:["webpack://./src/ui-common/managed-component/_managed-component.scss"],names:[],mappings:"AAAA,sBAAgB,UAAU,CAAC,WAAW",sourcesContent:[".fill-container{width:100%;height:100%}"],sourceRoot:""}]);var s="fill-container_bXz_O";const l=a},2480:(e,t,r)=>{"use strict";r.d(t,{Ah:()=>d,Fu:()=>_,GK:()=>s,Jc:()=>p,Qm:()=>c,Rr:()=>l,TN:()=>h,X$:()=>A,ZP:()=>g,aW:()=>f,fL:()=>C,x_:()=>u});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".toastWrapper_COU8f{position:relative;min-width:120px;max-width:310px;height:100%;border-radius:4px;background-color:#222;border-left-style:solid;border-left-width:4px;text-align:left}.infoToast_G1Pcn{border-left-color:#01accd}.successToast_qxdk2{border-left-color:#009e48}.warnToast_exwq_{border-left-color:#f9a71b}.errorToast_zWxrk{border-left-color:#e7585d}.closeButton_erWFo{position:absolute;background-color:rgba(0,0,0,0);top:0;right:0;width:16px;height:16px;object-fit:contain;background-repeat:no-repeat;border:none;padding:0}.closeButton_erWFo:hover{cursor:pointer}.title_WsGFu{font-size:12px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1.17;letter-spacing:normal;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:4px;padding-right:16px;padding-left:12px}.toastBody_oRqUX{position:relative;width:100%;padding:2px 16px 5px 12px}.iconContainer_nOLnP{position:relative;height:16px;width:16px;float:left;margin-right:7px}.iconWrapper_cRX3a{height:16px;width:16px}.text_NL9Fe{font-size:14px;font-weight:bold;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}","",{version:3,sources:["webpack://./src/ui-common/toast/_toast.scss"],names:[],mappings:"AAAA,oBAAc,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,WAAW,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,eAAe,CAAC,iBAAW,yBAAyB,CAAC,oBAAc,yBAAyB,CAAC,iBAAW,yBAAyB,CAAC,kBAAY,yBAAyB,CAAC,mBAAa,iBAAiB,CAAC,8BAA8B,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,kBAAkB,CAAC,2BAA2B,CAAC,WAAW,CAAC,SAAS,CAAC,yBAAmB,cAAc,CAAC,aAAO,cAAc,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,UAAU,CAAC,kBAAkB,CAAC,eAAe,CAAC,sBAAsB,CAAC,eAAe,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,iBAAW,iBAAiB,CAAC,UAAU,CAAC,yBAAyB,CAAC,qBAAe,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,UAAU,CAAC,gBAAgB,CAAC,mBAAa,WAAW,CAAC,UAAU,CAAC,YAAM,cAAc,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,UAAU,CAAC,kBAAkB,CAAC,eAAe,CAAC,sBAAsB",sourcesContent:[".toastWrapper{position:relative;min-width:120px;max-width:310px;height:100%;border-radius:4px;background-color:#222;border-left-style:solid;border-left-width:4px;text-align:left}.infoToast{border-left-color:#01accd}.successToast{border-left-color:#009e48}.warnToast{border-left-color:#f9a71b}.errorToast{border-left-color:#e7585d}.closeButton{position:absolute;background-color:rgba(0,0,0,0);top:0;right:0;width:16px;height:16px;object-fit:contain;background-repeat:no-repeat;border:none;padding:0}.closeButton:hover{cursor:pointer}.title{font-size:12px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1.17;letter-spacing:normal;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:4px;padding-right:16px;padding-left:12px}.toastBody{position:relative;width:100%;padding:2px 16px 5px 12px}.iconContainer{position:relative;height:16px;width:16px;float:left;margin-right:7px}.iconWrapper{height:16px;width:16px}.text{font-size:14px;font-weight:bold;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],sourceRoot:""}]);var s="toastWrapper_COU8f",l="infoToast_G1Pcn",c="successToast_qxdk2",u="warnToast_exwq_",p="errorToast_zWxrk",d="closeButton_erWFo",h="title_WsGFu",A="toastBody_oRqUX",_="iconContainer_nOLnP",f="iconWrapper_cRX3a",C="text_NL9Fe";const g=a},4702:(e,t,r)=>{"use strict";r.d(t,{Q$:()=>s,YY:()=>l,ZP:()=>c});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".toastsContainer_Xf0eZ{position:absolute;right:0;top:0;padding:8px 16px 0;min-width:120px;max-width:310px;display:flex;flex-direction:column}.toastRow_iOkeY{height:42px;min-width:120px;max-width:310px;margin-bottom:8px;overflow:hidden;overflow-wrap:break-word;text-overflow:ellipsis;align-self:flex-end}","",{version:3,sources:["webpack://./src/ui-common/toasts-container/_toasts-container.scss"],names:[],mappings:"AAAA,uBAAiB,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,kBAAkB,CAAC,eAAe,CAAC,eAAe,CAAC,YAAY,CAAC,qBAAqB,CAAC,gBAAU,WAAW,CAAC,eAAe,CAAC,eAAe,CAAC,iBAAiB,CAAC,eAAe,CAAC,wBAAwB,CAAC,sBAAsB,CAAC,mBAAmB",sourcesContent:[".toastsContainer{position:absolute;right:0;top:0;padding:8px 16px 0;min-width:120px;max-width:310px;display:flex;flex-direction:column}.toastRow{height:42px;min-width:120px;max-width:310px;margin-bottom:8px;overflow:hidden;overflow-wrap:break-word;text-overflow:ellipsis;align-self:flex-end}"],sourceRoot:""}]);var s="toastsContainer_Xf0eZ",l="toastRow_iOkeY";const c=a},4085:(e,t,r)=>{"use strict";r.d(t,{IV:()=>A,JU:()=>c,LI:()=>s,T$:()=>l,ZP:()=>f,bH:()=>_,h:()=>u,oB:()=>d,oL:()=>p,yG:()=>h});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".button_VbTdX{display:flex;justify-content:center;align-items:center;font-weight:700;border:1px solid rgba(0,0,0,0);border-radius:4px;cursor:pointer}.button_VbTdX.primary_hju94{background-color:var(--playkit-primary-color);color:var(--playkit-primary-text-contrast-color)}.button_VbTdX.primary_hju94:not(.disabled_f1bO2):hover{background-color:var(--playkit-primary-darker-color)}.button_VbTdX.primary_hju94:not(.disabled_f1bO2):focus{background-color:var(--playkit-primary-brighter-color)}.button_VbTdX.danger_Ys7lR{background-color:var(--playkit-danger-color);color:var(--playkit-danger-text-contrast-color)}.button_VbTdX.danger_Ys7lR:not(.disabled_f1bO2):hover{background-color:var(--playkit-danger-darker-color)}.button_VbTdX.danger_Ys7lR:not(.disabled_f1bO2):focus{background-color:var(--playkit-danger-brighter-color)}.button_VbTdX.translucent__oJxe{background-color:rgba(0,0,0,.6);color:var(--playkit-primary-text-contrast-color)}.button_VbTdX.borderless_wVdrc{background-color:rgba(0,0,0,0);color:var(--playkit-tone-1-color)}.button_VbTdX.borderless_wVdrc:not(.disabled_f1bO2):hover{background-color:var(--playkit-tone-4-color)}.button_VbTdX.borderless_wVdrc:not(.disabled_f1bO2):focus{background-color:var(--playkit-tone-6-color)}.button_VbTdX.small_FlK64{height:24px;font-size:13px;line-height:16px;padding:0 4px}.button_VbTdX.medium_EQEd4{height:32px;font-size:14px;line-height:17px;padding:0 8px}.button_VbTdX.large_opb1l{height:40px;font-size:16px;line-height:19px;padding:0 16px}.button_VbTdX.disabled_f1bO2{background-color:rgba(0,0,0,0);color:var(--playkit-tone-4-color);border-color:var(--playkit-tone-4-color);cursor:default}","",{version:3,sources:["webpack://./src/ui-common/ui-components/button/button.scss"],names:[],mappings:"AAAA,cAAQ,YAAY,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,eAAe,CAAC,8BAA8B,CAAC,iBAAiB,CAAC,cAAc,CAAC,4BAAgB,6CAA6C,CAAC,gDAAgD,CAAC,uDAAqC,oDAAoD,CAAC,uDAAqC,sDAAsD,CAAC,2BAAe,4CAA4C,CAAC,+CAA+C,CAAC,sDAAoC,mDAAmD,CAAC,sDAAoC,qDAAqD,CAAC,gCAAoB,+BAA+B,CAAC,gDAAgD,CAAC,+BAAmB,8BAA8B,CAAC,iCAAiC,CAAC,0DAAwC,4CAA4C,CAAC,0DAAwC,4CAA4C,CAAC,0BAAc,WAAW,CAAC,cAAc,CAAC,gBAAgB,CAAC,aAAa,CAAC,2BAAe,WAAW,CAAC,cAAc,CAAC,gBAAgB,CAAC,aAAa,CAAC,0BAAc,WAAW,CAAC,cAAc,CAAC,gBAAgB,CAAC,cAAc,CAAC,6BAAiB,8BAA8B,CAAC,iCAAiC,CAAC,wCAAwC,CAAC,cAAc",sourcesContent:[".button{display:flex;justify-content:center;align-items:center;font-weight:700;border:1px solid rgba(0,0,0,0);border-radius:4px;cursor:pointer}.button.primary{background-color:var(--playkit-primary-color);color:var(--playkit-primary-text-contrast-color)}.button.primary:not(.disabled):hover{background-color:var(--playkit-primary-darker-color)}.button.primary:not(.disabled):focus{background-color:var(--playkit-primary-brighter-color)}.button.danger{background-color:var(--playkit-danger-color);color:var(--playkit-danger-text-contrast-color)}.button.danger:not(.disabled):hover{background-color:var(--playkit-danger-darker-color)}.button.danger:not(.disabled):focus{background-color:var(--playkit-danger-brighter-color)}.button.translucent{background-color:rgba(0,0,0,.6);color:var(--playkit-primary-text-contrast-color)}.button.borderless{background-color:rgba(0,0,0,0);color:var(--playkit-tone-1-color)}.button.borderless:not(.disabled):hover{background-color:var(--playkit-tone-4-color)}.button.borderless:not(.disabled):focus{background-color:var(--playkit-tone-6-color)}.button.small{height:24px;font-size:13px;line-height:16px;padding:0 4px}.button.medium{height:32px;font-size:14px;line-height:17px;padding:0 8px}.button.large{height:40px;font-size:16px;line-height:19px;padding:0 16px}.button.disabled{background-color:rgba(0,0,0,0);color:var(--playkit-tone-4-color);border-color:var(--playkit-tone-4-color);cursor:default}"],sourceRoot:""}]);var s="button_VbTdX",l="primary_hju94",c="disabled_f1bO2",u="danger_Ys7lR",p="translucent__oJxe",d="borderless_wVdrc",h="small_FlK64",A="medium_EQEd4",_="large_opb1l";const f=a},9638:(e,t,r)=>{"use strict";r.d(t,{JU:()=>p,Xh:()=>u,ZP:()=>_,bB:()=>A,eX:()=>c,kz:()=>h,uN:()=>l,wc:()=>s,zF:()=>d});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".input-field-wrapper_yfyJ2{display:flex;align-items:center;flex-grow:1;width:100%;max-width:599px;padding-right:8px;height:32px;border:solid 1px rgba(255,255,255,.4);border-radius:4px}.input-field-wrapper_yfyJ2 ::-moz-placeholder{opacity:1}.input-field-wrapper_yfyJ2 .search-results_ouXOT{display:flex;justify-content:flex-end;align-items:center;flex-shrink:0;margin:0 8px 0 6px;font-size:12px;text-overflow:ellipsis}.input-field-wrapper_yfyJ2 .prev-next-wrapper_SfIQI{display:flex;flex-direction:column;justify-content:space-around;max-height:100%;height:100%;width:8px;flex:0 0 8px}.input-field-wrapper_yfyJ2 .prev-next-wrapper_SfIQI .prev-next-button_oEjhO{display:flex;align-items:center;height:50%;padding:0;background-color:rgba(0,0,0,0);border:none;cursor:pointer}.input-field-wrapper_yfyJ2 .prev-next-wrapper_SfIQI .prev-next-button_oEjhO.disabled_o9pr3{opacity:.4;cursor:default}.input-field-wrapper_yfyJ2 .input-element_A_LuO{width:100%;flex-grow:1;flex-shrink:1;font-size:15px;padding:0 6px 1px 6px;color:var(--playkit-tone-1-color);background:rgba(0,0,0,0);border:none;overflow:hidden;text-overflow:ellipsis}.input-field-wrapper_yfyJ2 .input-element_A_LuO::placeholder{color:var(--playkit-tone-2-color)}.input-field-wrapper_yfyJ2 .input-element_A_LuO::selection{background-color:var(--playkit-primary-brighter-color)}.input-field-wrapper_yfyJ2 .clear-icon_Ks1uE{padding:0;flex:0 0 12px;max-width:12px;max-height:12px;background-color:rgba(0,0,0,0);width:12px;height:12px;outline-offset:4px;border:none;cursor:pointer}.input-field-wrapper_yfyJ2:hover{border-color:#fff}.input-field-wrapper_yfyJ2.active_r0duz{color:var(--playkit-tone-2-color);background:var(--playkit-tone-8-color);border-color:#fff}","",{version:3,sources:["webpack://./src/ui-common/ui-components/input-field/input-field.scss"],names:[],mappings:"AAAA,2BAAqB,YAAY,CAAC,kBAAkB,CAAC,WAAW,CAAC,UAAU,CAAC,eAAe,CAAC,iBAAiB,CAAC,WAAW,CAAC,qCAAqC,CAAC,iBAAiB,CAAC,8CAAwC,SAAS,CAAC,iDAAqC,YAAY,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,aAAa,CAAC,kBAAkB,CAAC,cAAc,CAAC,sBAAsB,CAAC,oDAAwC,YAAY,CAAC,qBAAqB,CAAC,4BAA4B,CAAC,eAAe,CAAC,WAAW,CAAC,SAAS,CAAC,YAAY,CAAC,4EAA0D,YAAY,CAAC,kBAAkB,CAAC,UAAU,CAAC,SAAS,CAAC,8BAA8B,CAAC,WAAW,CAAC,cAAc,CAAC,2FAAmE,UAAU,CAAC,cAAc,CAAC,gDAAoC,UAAU,CAAC,WAAW,CAAC,aAAa,CAAC,cAAc,CAAC,qBAAqB,CAAC,iCAAiC,CAAC,wBAAwB,CAAC,WAAW,CAAC,eAAe,CAAC,sBAAsB,CAAC,6DAAiD,iCAAiC,CAAC,2DAA+C,sDAAsD,CAAC,6CAAiC,SAAS,CAAC,aAAa,CAAC,cAAc,CAAC,eAAe,CAAC,8BAA8B,CAAC,UAAU,CAAC,WAAW,CAAC,kBAAkB,CAAC,WAAW,CAAC,cAAc,CAAC,iCAA2B,iBAAiB,CAAC,wCAA4B,iCAAiC,CAAC,sCAAsC,CAAC,iBAAiB",sourcesContent:[".input-field-wrapper{display:flex;align-items:center;flex-grow:1;width:100%;max-width:599px;padding-right:8px;height:32px;border:solid 1px rgba(255,255,255,.4);border-radius:4px}.input-field-wrapper ::-moz-placeholder{opacity:1}.input-field-wrapper .search-results{display:flex;justify-content:flex-end;align-items:center;flex-shrink:0;margin:0 8px 0 6px;font-size:12px;text-overflow:ellipsis}.input-field-wrapper .prev-next-wrapper{display:flex;flex-direction:column;justify-content:space-around;max-height:100%;height:100%;width:8px;flex:0 0 8px}.input-field-wrapper .prev-next-wrapper .prev-next-button{display:flex;align-items:center;height:50%;padding:0;background-color:rgba(0,0,0,0);border:none;cursor:pointer}.input-field-wrapper .prev-next-wrapper .prev-next-button.disabled{opacity:.4;cursor:default}.input-field-wrapper .input-element{width:100%;flex-grow:1;flex-shrink:1;font-size:15px;padding:0 6px 1px 6px;color:var(--playkit-tone-1-color);background:rgba(0,0,0,0);border:none;overflow:hidden;text-overflow:ellipsis}.input-field-wrapper .input-element::placeholder{color:var(--playkit-tone-2-color)}.input-field-wrapper .input-element::selection{background-color:var(--playkit-primary-brighter-color)}.input-field-wrapper .clear-icon{padding:0;flex:0 0 12px;max-width:12px;max-height:12px;background-color:rgba(0,0,0,0);width:12px;height:12px;outline-offset:4px;border:none;cursor:pointer}.input-field-wrapper:hover{border-color:#fff}.input-field-wrapper.active{color:var(--playkit-tone-2-color);background:var(--playkit-tone-8-color);border-color:#fff}"],sourceRoot:""}]);var s="input-field-wrapper_yfyJ2",l="search-results_ouXOT",c="prev-next-wrapper_SfIQI",u="prev-next-button_oEjhO",p="disabled_o9pr3",d="input-element_A_LuO",h="clear-icon_Ks1uE",A="active_r0duz";const _=a},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);n&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},7537:e=>{"use strict";e.exports=function(e){var t=e[1],r=e[3];if(!r)return t;if("function"==typeof btoa){var n=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),i="/*# ".concat(o," */"),a=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[t].concat(a).concat([i]).join("\n")}return[t].join("\n")}},8337:(e,t,r)=>{"use strict";function n(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},l={"http:":{validate:function(e,t,r){var n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(e){var t=e.re=r(6066)(e.__opts__),n=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===o(r))return"[object RegExp]"!==o(r.validate)?i(r.validate)?n.validate=r.validate:c(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(i(r.normalize)?n.normalize=r.normalize:r.normalize?c(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(r)?c(t,r):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}function d(e,t){var r=new p(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function h(e,t){if(!(this instanceof h))return new h(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=n({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=n({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},h.prototype.set=function(e){return this.__opts__=n(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,i,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(o=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=r.index+r[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(n=e.match(this.re.email_fuzzy))&&(i=n.index+n[1].length,a=n.index+n[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},h.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(d(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(d(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},h.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var t=this.re.schema_at_start.exec(e);if(!t)return null;var r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,d(this,0)):null},h.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},6066:(e,t,r)=>{"use strict";e.exports=function(e){var t={};return e=e||{},t.src_Any=r(9369).source,t.src_Cc=r(9413).source,t.src_Z=r(5045).source,t.src_P=r(3189).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},4291:(e,t,r)=>{"use strict";r.r(t),r.d(t,{bannerContainer:()=>_.Cg,bannerContainerRoot:()=>_.ce,closeButton:()=>_.Ah,default:()=>C,large:()=>_.bH,small:()=>_.yG});var n=r(3379),o=r.n(n),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),c=r(3565),u=r.n(c),p=r(9216),d=r.n(p),h=r(4589),A=r.n(h),_=r(2955),f={};f.styleTagTransform=A(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(_.ZP,f);const C=_.ZP&&_.ZP.locals?_.ZP.locals:void 0},8808:(e,t,r)=>{"use strict";r.r(t),r.d(t,{bannerBody:()=>_.d7,bannerWrapper:()=>_.Wd,default:()=>C,defaultBannerRoot:()=>_.m0,iconContainer:()=>_.Fu,iconImage:()=>_.cy,iconWrapper:()=>_.aW,large:()=>_.bH,small:()=>_.yG,text:()=>_.fL,title:()=>_.TN});var n=r(3379),o=r.n(n),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),c=r(3565),u=r.n(c),p=r(9216),d=r.n(p),h=r(4589),A=r.n(h),_=r(8727),f={};f.styleTagTransform=A(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(_.ZP,f);const C=_.ZP&&_.ZP.locals?_.ZP.locals:void 0},2633:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>C,fillContainer:()=>_.V});var n=r(3379),o=r.n(n),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),c=r(3565),u=r.n(c),p=r(9216),d=r.n(p),h=r(4589),A=r.n(h),_=r(5985),f={};f.styleTagTransform=A(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(_.Z,f);const C=_.Z&&_.Z.locals?_.Z.locals:void 0},8802:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>C,fillContainer:()=>_.V});var n=r(3379),o=r.n(n),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),c=r(3565),u=r.n(c),p=r(9216),d=r.n(p),h=r(4589),A=r.n(h),_=r(1326),f={};f.styleTagTransform=A(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(_.Z,f);const C=_.Z&&_.Z.locals?_.Z.locals:void 0},2001:(e,t,r)=>{"use strict";r.r(t),r.d(t,{closeButton:()=>_.Ah,default:()=>C,errorToast:()=>_.Jc,iconContainer:()=>_.Fu,iconWrapper:()=>_.aW,infoToast:()=>_.Rr,successToast:()=>_.Qm,text:()=>_.fL,title:()=>_.TN,toastBody:()=>_.X$,toastWrapper:()=>_.GK,warnToast:()=>_.x_});var n=r(3379),o=r.n(n),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),c=r(3565),u=r.n(c),p=r(9216),d=r.n(p),h=r(4589),A=r.n(h),_=r(2480),f={};f.styleTagTransform=A(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(_.ZP,f);const C=_.ZP&&_.ZP.locals?_.ZP.locals:void 0},2167:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>C,toastRow:()=>_.YY,toastsContainer:()=>_.Q$});var n=r(3379),o=r.n(n),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),c=r(3565),u=r.n(c),p=r(9216),d=r.n(p),h=r(4589),A=r.n(h),_=r(4702),f={};f.styleTagTransform=A(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(_.ZP,f);const C=_.ZP&&_.ZP.locals?_.ZP.locals:void 0},4062:(e,t,r)=>{"use strict";r.r(t),r.d(t,{borderless:()=>_.oB,button:()=>_.LI,danger:()=>_.h,default:()=>C,disabled:()=>_.JU,large:()=>_.bH,medium:()=>_.IV,primary:()=>_.T$,small:()=>_.yG,translucent:()=>_.oL});var n=r(3379),o=r.n(n),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),c=r(3565),u=r.n(c),p=r(9216),d=r.n(p),h=r(4589),A=r.n(h),_=r(4085),f={};f.styleTagTransform=A(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(_.ZP,f);const C=_.ZP&&_.ZP.locals?_.ZP.locals:void 0},5650:(e,t,r)=>{"use strict";r.r(t),r.d(t,{active:()=>_.bB,clearIcon:()=>_.kz,default:()=>C,disabled:()=>_.JU,inputElement:()=>_.zF,inputFieldWrapper:()=>_.wc,prevNextButton:()=>_.Xh,prevNextWrapper:()=>_.eX,searchResults:()=>_.uN});var n=r(3379),o=r.n(n),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),c=r(3565),u=r.n(c),p=r(9216),d=r.n(p),h=r(4589),A=r.n(h),_=r(9638),f={};f.styleTagTransform=A(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(_.ZP,f);const C=_.ZP&&_.ZP.locals?_.ZP.locals:void 0},3379:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],c=n.base?l[0]+n.base:l[0],u=i[c]||0,p="".concat(c," ").concat(u);i[c]=u+1;var d=r(p),h={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)t[d].references++,t[d].updater(h);else{var A=o(h,n);n.byIndex=s,t.splice(s,0,{identifier:p,updater:A,references:1})}a.push(p)}return a}function o(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,o){var i=n(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=r(i[a]);t[s].references--}for(var l=n(e,o),c=0;c<i.length;c++){var u=r(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=l}}},569:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},9216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var i=r.sourceMap;i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},3607:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(7299),t),o(r(8707),t),o(r(1170),t)},7277:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1170:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(7277),t)},8824:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.BannerContainer=void 0;var i=r(4522),a=r(4291),s=r(3132),l=r(5494),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(e){var t=this.props.theme,r=t.backgroundColor,n=t.blur;return(0,i.h)("div",{className:a.bannerContainerRoot,"aria-live":"polite"},(0,i.h)("div",{style:"\n background-color:".concat(r,"; \n backdrop-filter: blur(").concat(n,");\n "),className:a.bannerContainer},(0,i.h)("button",{className:a.closeButton,onClick:e.onClose},(0,i.h)(s.CloseSmall,{className:a.small}),(0,i.h)(l.CloseLarge,{className:a.large})),this.props.children))},t}(i.Component);t.BannerContainer=c},5494:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CloseLarge=void 0;var o=r(4522);t.CloseLarge=function(e){return(0,o.h)("svg",n({width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),(0,o.h)("g",{id:"Icons/32x32/Menu-Player-Close",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,o.h)("path",{d:"M17.4142136,16 L22.363961,20.9497475 C22.7544853,21.3402718 22.7544853,21.9734367 22.363961,22.363961 C21.9734367,22.7544853 21.3402718,22.7544853 20.9497475,22.363961 L16,17.4142136 L11.0502525,22.363961 C10.6597282,22.7544853 10.0265633,22.7544853 9.63603897,22.363961 C9.24551468,21.9734367 9.24551468,21.3402718 9.63603897,20.9497475 L14.5857864,16 L9.63603897,11.0502525 C9.24551468,10.6597282 9.24551468,10.0265633 9.63603897,9.63603897 C10.0265633,9.24551468 10.6597282,9.24551468 11.0502525,9.63603897 L16,14.5857864 L20.9497475,9.63603897 C21.3402718,9.24551468 21.9734367,9.24551468 22.363961,9.63603897 C22.7544853,10.0265633 22.7544853,10.6597282 22.363961,11.0502525 L17.4142136,16 Z",id:"Path",fill:"#FFFFFF"})))}},3132:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CloseSmall=void 0;var o=r(4522);t.CloseSmall=function(e){return(0,o.h)("svg",n({xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10"},e),(0,o.h)("path",{fill:"#FFF","fill-rule":"evenodd",d:"M5.956 5l3.348-3.348A.674.674 0 0 0 9.3.7a.672.672 0 0 0-.952-.004L5 4.044 1.652.696A.674.674 0 0 0 .7.7a.672.672 0 0 0-.004.952L4.044 5 .696 8.348A.674.674 0 0 0 .7 9.3c.265.266.69.266.952.004L5 5.956l3.348 3.348c.262.262.689.26.952-.004a.672.672 0 0 0 .004-.952L5.956 5z",opacity:".9"}))}},911:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BannerContainer=void 0;var n=r(8824);Object.defineProperty(t,"BannerContainer",{enumerable:!0,get:function(){return n.BannerContainer}})},4473:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BannerManager=t.VisibilityMode=void 0;var n,o=r(3782),i=r(4522),a=r(3549),s=r(911),l=r(9968),c=r(8568);!function(e){e.VISIBLE="VISIBLE",e.HIDDEN="HIDDEN"}(n=t.VisibilityMode||(t.VisibilityMode={}));var u={theme:{backgroundColor:"rgba(0, 0, 0, .7)",blur:"10px"}},p=function(){function e(e){this.options=e,this._floatingItem=null,this._timerSubscription=void 0,this._options=e,this._bannerConfig=(0,c.getContribConfig)(this._options.kalturaPlayer,"ui.banner",u)}return e.prototype.add=function(e){return this._floatingItem&&this.remove(),this._floatingItem=this._options.floatingManager.add({label:"Banner",mode:o.FloatingUIModes.Immediate,position:o.FloatingPositions.InteractiveArea,renderContent:this._createRenderBanner(e,{onClose:this._handleCloseEvent.bind(this),theme:this._bannerConfig.theme})}),e.autoClose&&this._startDurationTimer(e.duration),this._getState()},e.prototype.remove=function(){this._floatingItem&&(this._timerSubscription&&clearTimeout(this._timerSubscription),this._options.floatingManager.remove(this._floatingItem),this._floatingItem=null)},e.prototype.reset=function(){this.remove()},e.prototype._createRenderBanner=function(e,t){var r=e.content,n=e.renderContent,o=t.onClose,l=t.theme;return function(e){return(0,i.h)(s.BannerContainer,{onClose:o,theme:l},n?n(r,e):(0,i.h)(a.Banner,{content:r}))}},e.prototype._handleCloseEvent=function(){this.remove()},e.prototype._startDurationTimer=function(e){void 0===e&&(e=6e4),this._timerSubscription=setTimeout(this.remove.bind(this),Math.max(5e3,e))},e.prototype._getState=function(){var e=(0,l.getPlayerSize)(this._options.kalturaPlayer);return{visibilityMode:!e||e.width<480?n.HIDDEN:n.VISIBLE}},e}();t.BannerManager=p},3105:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.Banner=void 0;var i=r(4522),a=r(8808),s=r(5084),l=r(4139),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(e){var t=e.content,r=t.text,n=t.title,o=void 0===n?"Audience asks:":n,s=t.icon,l=void 0===s?this._defaultIcon():s;return(0,i.h)("div",{className:a.defaultBannerRoot+" "+a.bannerWrapper},(0,i.h)("div",{className:a.iconContainer},(0,i.h)("div",{className:a.iconWrapper},l)),(0,i.h)("div",{className:a.bannerBody},(0,i.h)("div",{className:a.title},o),(0,i.h)("div",{className:a.text},r)))},t.prototype._defaultIcon=function(){return(0,i.h)("div",{className:a.iconImage},(0,i.h)(s.SomeoneAsksLarge,{className:a.large}),(0,i.h)(l.SomeoneAsksSmall,{className:a.small}))},t}(i.Component);t.Banner=c},3549:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Banner=void 0;var n=r(3105);Object.defineProperty(t,"Banner",{enumerable:!0,get:function(){return n.Banner}})},5084:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SomeoneAsksLarge=void 0;var o=r(4522);t.SomeoneAsksLarge=function(e){return(0,o.h)("svg",n({width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),(0,o.h)("g",{id:"Icons/32/Someone-asks",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,o.h)("g",{id:"Group",transform:"translate(4.000000, 5.000000)",fill:"#B2D238"},(0,o.h)("ellipse",{id:"Oval",cx:"12",cy:"5.5",rx:"6",ry:"5.5"}),(0,o.h)("path",{d:"M12,13 C7.995,13 0,15.01 0,19 L0,20.5 C0,21.325 0.675,22 1.5,22 L22.5,22 C23.325,22 24,21.325 24,20.5 L24,19 C24,15.01 16.005,13 12,13 Z",id:"Path"}))))}},4139:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SomeoneAsksSmall=void 0;var o=r(4522);t.SomeoneAsksSmall=function(e){return(0,o.h)("svg",n({width:"20px",height:"20px",viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),(0,o.h)("g",{id:"Icons/20/Someone-asks",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,o.h)("g",{id:"Group",transform:"translate(2.000000, 2.000000)",fill:"#B2D238"},(0,o.h)("circle",{id:"Oval",cx:"8",cy:"4",r:"4"}),(0,o.h)("path",{d:"M8,9 C5.33,9 0,10.5633333 0,13.6666667 L0,14.8333333 C0,15.475 0.45,16 1,16 L15,16 C15.55,16 16,15.475 16,14.8333333 L16,13.6666667 C16,10.5633333 10.67,9 8,9 Z",id:"Path"}))))}},8759:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContribServices=t.getPlayerContribRegistry=void 0;var n=r(8541),o=r(3480),i=r(9945),a=r(8185),s=r(4473);function l(e){return n.PlayerContribRegistry.get(e)}t.getPlayerContribRegistry=l;var c=function(){function e(e,t){var r=this;this._playerContribRegistry=e,this._options=t,this._registered=!1,this._addListeners=function(){var e=r._options.kalturaPlayer;e.addEventListener(e.Event.PLAYER_RESET,r.reset),e.addEventListener(e.Event.PLAYER_DESTROY,r._removeListeners)},this._removeListeners=function(){var e=r._options.kalturaPlayer;e.removeEventListener(e.Event.PLAYER_RESET,r.reset),e.removeEventListener(e.Event.PLAYER_DESTROY,r._removeListeners)},this.register=function(){return r._registered?[]:(r._registered=!0,r._presetManager.registerComponents())},this.reset=function(){r._toastManager.reset(),r._floatingManager.reset(),r._bannerManager.reset()},this.destroy=function(){r._registered=!1};var n=this._options.kalturaPlayer,l=new o.PresetManager({kalturaPlayer:n}),c=new a.FloatingManager({kalturaPlayer:n,presetManager:l}),u=new i.ToastManager({floatingManager:c}),p=new s.BannerManager({kalturaPlayer:n,floatingManager:c});this._toastManager=u,this._floatingManager=c,this._presetManager=l,this._bannerManager=p,this._addListeners()}return e.get=function(t){var r=l(t.kalturaPlayer);return r.register("ContribServices",(function(){return new e(r,t)}))},Object.defineProperty(e.prototype,"presetManager",{get:function(){return this._presetManager},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"floatingManager",{get:function(){return this._floatingManager},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"toastManager",{get:function(){return this._toastManager},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bannerManager",{get:function(){return this._bannerManager},enumerable:!1,configurable:!0}),e}();t.ContribServices=c},8568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContribConfig=void 0;var n=r(9820);t.getContribConfig=function(e,t,r,o){return n.KalturaPlayerUtils.getPlayerConfig(e,"contrib.".concat(t),r,o)}},9146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4522);t.default=function(e,t,r){return(0,n.h)("a",{href:e,key:r,target:"_blank",rel:"noopener noreferrer"},t)}},6080:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventsManager=void 0;var r=function(){function e(){this._eventListeners={},this._wildcardEventListeners=[]}return e.prototype.on=function(e,t){"*"!==e?(this._eventListeners[e]||(this._eventListeners[e]=[])).push(t):this._wildcardEventListeners.push(t)},e.prototype.off=function(e,t){if("*"!==e){var r=this._eventListeners[e];r&&r.splice(r.indexOf(t)>>>0,1)}else this._wildcardEventListeners.splice(this._wildcardEventListeners.indexOf(t)>>>0,1)},e.prototype.emit=function(e){(this._eventListeners[e.type]||[]).slice().map((function(t){t(e)})),this._wildcardEventListeners.slice().map((function(t){t(e)}))},e}();t.EventsManager=r},3782:(e,t)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingPositions=t.FloatingUIModes=void 0,(n=t.FloatingUIModes||(t.FloatingUIModes={})).MediaLoaded="MediaLoaded",n.OnDemand="OnDemand",n.Immediate="Immediate",n.FirstPlay="FirstPlay",(r=t.FloatingPositions||(t.FloatingPositions={})).VideoArea="VideoArea",r.PresetArea="PresetArea",r.InteractiveArea="InteractiveArea"},9948:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingItem=void 0;var n=r(4522),o=r(3782),i=r(9858),a=function(){function e(e){var t=this;this._destroyed=!1,this._isShown=!1,this._componentRef=null,this.remove=function(){t._isShown=!1,t._componentRef&&t._componentRef.update()},this.add=function(){t._isShown=!0,t._componentRef&&t._componentRef.update()},this._handleMediaLoaded=function(){var e=t._options.kalturaPlayer;e.removeEventListener(e.Event.MEDIA_LOADED,t._handleMediaLoaded),t.add()},this._handleFirstPlay=function(){var e=t._options.kalturaPlayer;e.removeEventListener(e.Event.FIRST_PLAY,t._handleFirstPlay),t.add()},this._options=e,this._addPlayerBindings()}return Object.defineProperty(e.prototype,"data",{get:function(){return this._options.data},enumerable:!1,configurable:!0}),e.prototype.update=function(){this._componentRef&&this._componentRef.update()},e.prototype.destroy=function(){this._destroyed=!0,this.remove()},e.prototype.renderFloatingChild=function(e){var t=this,r=this._options.data.label;return(0,n.h)(i.ManagedComponent,{label:r,renderChildren:function(){return t._options.data.renderContent(e)},isShown:function(){return t._isShown},ref:function(e){return t._componentRef=e}})},e.prototype._addPlayerBindings=function(){var e=this._options,t=e.kalturaPlayer,r=e.data;r.mode===o.FloatingUIModes.MediaLoaded&&t.addEventListener(t.Event.MEDIA_LOADED,this._handleMediaLoaded),r.mode===o.FloatingUIModes.FirstPlay&&t.addEventListener(t.Event.FIRST_PLAY,this._handleFirstPlay),r.mode===o.FloatingUIModes.Immediate&&this.add()},e}();t.FloatingItem=a},8185:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingManager=void 0;var i=r(9948),a=r(3782),s=r(3480),l=r(4522),c=r(9968),u=r(9858),p=r(9109),d=r(8568),h={presetAreasMapping:{Playback:{VideoArea:"VideoArea",PresetArea:"PresetArea",InteractiveArea:"InteractiveArea"},Live:{VideoArea:"VideoArea",PresetArea:"PresetArea",InteractiveArea:"InteractiveArea"}}},A=["VideoArea","PresetArea","InteractiveArea"],_=function(){function e(e){var t,r,n=this;this._options=e,this._items=((t={})[a.FloatingPositions.VideoArea]=[],t[a.FloatingPositions.InteractiveArea]=[],t[a.FloatingPositions.PresetArea]=[],t),this._componentRef=((r={})[a.FloatingPositions.InteractiveArea]=null,r[a.FloatingPositions.VideoArea]=null,r[a.FloatingPositions.PresetArea]=null,r),this._cache={canvas:{playerSize:{width:0,height:0},videoSize:{width:0,height:0}}},this._renderItems=function(e){var t=n._getRendererProps({});return n._items[e].map((function(e){return e.renderFloatingChild(t)}))},this._renderChild=function(e){return(0,l.h)(u.ManagedComponent,{label:"floating-manager",renderChildren:function(){return n._renderItems(e)},isShown:function(){return!0},ref:function(t){return n._componentRef[e]=t}})},this._floatingConfig=(0,d.getContribConfig)(this._options.kalturaPlayer,"ui.floating",h,{explicitMerge:["presetAreasMapping"]});var o=p.PresetsUtils.groupPresetAreasByType({presetAreasMapping:this._floatingConfig.presetAreasMapping,acceptableTypes:A});Object.keys(o).forEach((function(e){n._options.presetManager.add({label:"floating-manager",presetAreas:o[e],renderChild:function(){return n._renderChild(a.FloatingPositions[e])}})})),this._addPlayerBindings(),this._updateCachedCanvas()}return e.prototype.add=function(e){var t=this._options.presetManager,r=n(n({presetManager:t},this._options),{data:e}),o=new i.FloatingItem(r);return this._items[e.position].push(o),o},e.prototype.remove=function(e){var t=this._items[e.data.position],r=t.indexOf(e);r>-1?(t[r].destroy(),t.splice(r,1)):console.warn("couldn't remove ".concat(e," since it wasn't found"))},e.prototype.reset=function(){o(o(o([],this._items.VideoArea,!0),this._items.InteractiveArea,!0),this._items.PresetArea,!0).forEach((function(e){try{e.destroy()}catch(e){console.warn(e)}})),this._items.VideoArea=[],this._items.PresetArea=[],this._items.InteractiveArea=[]},e.prototype._getRendererProps=function(e){var t=this._options.kalturaPlayer;return{currentTime:void 0!==e.currentTime?e.currentTime:1e3*t.currentTime,canvas:this._cache.canvas}},e.prototype._updateCachedCanvas=function(){this._cache.canvas={playerSize:(0,c.getPlayerSize)(this._options.kalturaPlayer),videoSize:(0,c.getVideoSize)(this._options.kalturaPlayer)}},e.prototype._updateComponents=function(){this._componentRef.InteractiveArea&&this._componentRef.InteractiveArea.update(),this._componentRef.PresetArea&&this._componentRef.PresetArea.update(),this._componentRef.VideoArea&&this._componentRef.VideoArea.update()},e.prototype._addPlayerBindings=function(){var e=this,t=this._options.kalturaPlayer;t.addEventListener(t.Event.TIME_UPDATE,(function(){e._updateComponents()})),t.addEventListener(t.Event.MEDIA_LOADED,(function(){e._updateCachedCanvas(),e._updateComponents()})),t.addEventListener(t.Event.LOADED_DATA,(function(){e._updateCachedCanvas(),e._updateComponents()})),this._options.presetManager.on(s.PresetManagerEventTypes.VideoResizeEvent,(function(){e._updateCachedCanvas(),e._updateComponents()})),this._options.presetManager.on(s.PresetManagerEventTypes.PresetResizeEvent,(function(){e._updateCachedCanvas(),e._updateComponents()}))},e}();t.FloatingManager=_},5824:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.A11yWrapper=t.isKeyboardEvent=void 0;var n=r(4522),o=KalturaPlayer.ui.utils.KeyMap,i=o.ENTER,a=o.SPACE,s=o.UP,l=o.DOWN,c=o.LEFT,u=o.RIGHT,p=function(e){e.preventDefault(),e.stopPropagation()};t.isKeyboardEvent=function(e){return e instanceof KeyboardEvent||[e.offsetX,e.offsetY].every((function(e){return 0===e}))},t.A11yWrapper=function(e){var r=e.children,o=e.onClick,d=e.onUpKeyPressed,h=e.onDownKeyPressed,A=e.onLeftKeyPressed,_=e.onRightKeyPressed,f=e.role,C=e.type,g={onKeyDown:function(e){[a,i].includes(e.keyCode)?(p(e),o(e,!0)):e.keyCode===s&&d?(p(e),d(e)):e.keyCode===l&&h?(p(e),h(e)):e.keyCode===c&&A?(p(e),A(e)):e.keyCode===u&&_&&(p(e),_(e))},onClick:function(e){e.stopPropagation(),o(e,(0,t.isKeyboardEvent)(e))},role:f};return"button"===r.type&&(g.type=C||"button"),(0,n.cloneElement)(r,g)},t.A11yWrapper.defaultProps={role:"button"}},1590:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(5824),t)},9346:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(1590),t),o(r(2401),t)},2401:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(6346),t)},6346:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OverlayPortal=void 0;var r=KalturaPlayer.ui.redux.useSelector,n=KalturaPlayer.ui.createPortal;t.OverlayPortal=function(e){var t=e.children,o=r((function(e){return e.config.targetId})),i=document.getElementById(o)||document;return n(t,i.querySelector(".overlay-portal"))}},7299:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.LinkifyString=t.VisibilityMode=t.BannerManager=t.FloatingUIModes=t.FloatingPositions=t.FloatingItem=t.ToastSeverity=t.ContribServices=void 0;var i=r(8759);Object.defineProperty(t,"ContribServices",{enumerable:!0,get:function(){return i.ContribServices}});var a=r(9945);Object.defineProperty(t,"ToastSeverity",{enumerable:!0,get:function(){return a.ToastSeverity}});var s=r(9948);Object.defineProperty(t,"FloatingItem",{enumerable:!0,get:function(){return s.FloatingItem}});var l=r(3782);Object.defineProperty(t,"FloatingPositions",{enumerable:!0,get:function(){return l.FloatingPositions}}),Object.defineProperty(t,"FloatingUIModes",{enumerable:!0,get:function(){return l.FloatingUIModes}});var c=r(4473);Object.defineProperty(t,"BannerManager",{enumerable:!0,get:function(){return c.BannerManager}}),Object.defineProperty(t,"VisibilityMode",{enumerable:!0,get:function(){return c.VisibilityMode}});var u=r(9600);Object.defineProperty(t,"LinkifyString",{enumerable:!0,get:function(){return u.LinkifyString}}),o(r(8435),t),o(r(9346),t)},5260:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InjectedComponent=void 0;var n=r(4369);Object.defineProperty(t,"InjectedComponent",{enumerable:!0,get:function(){return n.InjectedComponent}})},4369:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.InjectedComponent=void 0;var i=r(4522),a=r(2633),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._root=null,t}return o(t,e),t.prototype.shouldComponentUpdate=function(){return!1},t.prototype.componentDidMount=function(){var e=this.props,t=e.onCreate;if(e.label,t){var r=this._root;r&&t({parent:r})}},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.onDestroy,r=(e.label,this._root);r&&t&&t({parent:r})},t.prototype.render=function(){var e=this,t=this.props,r=t.label,n=t.fillContainer?a.fillContainer:"";return(0,i.h)("div",{"data-contrib-injected":r,className:n,ref:function(t){return e._root=t}})},t}(i.Component);t.InjectedComponent=s},9820:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KalturaPlayerUtils=void 0;var n=r(687),o=function(){function e(){}return e.getPlayerConfig=function(e,t,r,o){var i=n.ObjectUtils.get(e.config,t,{});return n.ObjectUtils.mergeDefaults(i,r,o)},e}();t.KalturaPlayerUtils=o},9600:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.LinkifyString=void 0;var i=r(4522),a=r(8337),s=r(9146),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._linkify=new a,t}return o(t,e),t.prototype._parseString=function(e){var t=this;if(0===(e||"").trim().length)return"";var r=this._linkify.match(e);if(!r)return e;var n=[],o=0;return r.forEach((function(r,i){r.index>o&&n.push(e.substring(o,r.index));var a=r.url,s=r.text,l=t.props.componentRenderer(a,s,i);n.push(l),o=r.lastIndex})),e.length>o&&n.push(e.substring(o)),1===n.length?n[0]:n},t.prototype.render=function(){return(0,i.h)("span",null,this._parseString(this.props.text))},t.defaultProps={componentRenderer:s.default},t}(i.Component);t.LinkifyString=l},9858:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(6508),t)},6508:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.ManagedComponent=void 0;var a=r(4522),s=r(8802),l=KalturaPlayer.ui.redux.connect,c=function(e){return{playerSize:e.shell.playerSize}},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.update=function(){this.setState((function(e){return{toggler:!e.toggler}}))},t.prototype.shouldComponentUpdate=function(e){var t=this.props,r=t.updateOnPlayerSizeChanged,n=t.playerSize;return r&&e.playerSize!==n||e.playerSize===n},t.prototype.componentDidMount=function(){this.setState({toggler:!1})},t.prototype.render=function(){var e=this.props,t=e.fillContainer,r=e.isShown,n=e.playerSize;return r()?(0,a.h)("div",{"data-contrib-item":this.props.label,className:["".concat(t?s.fillContainer:""),s.inlineContainer].join(" ")},this.props.renderChildren(n)):null},t.defaultProps={fillContainer:!1},i([l(c,null,null,{forwardRef:!0})],t)}(a.Component);t.ManagedComponent=u},687:function(e,t){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectUtils=void 0;var n=function(){function e(){}return e.copyDeep=function(t){var r;return Array.isArray(t)?(r=t.length>0?t.slice(0):[]).forEach((function(t,n){("object"==typeof t&&t!=={}||Array.isArray(t)&&t.length>0)&&(r[n]=e.copyDeep(t))})):"object"==typeof t?(r=Object.assign({},t),Object.keys(r).forEach((function(t){("object"==typeof r[t]&&r[t]!=={}||Array.isArray(r[t])&&r[t].length>0)&&(r[t]=e.copyDeep(r[t]))}))):r=t,r},e.isObject=function(e){return e&&"object"==typeof e&&!Array.isArray(e)},e.mergeDeep=function(t,r,n){var o,i;if(!r.length)return t;var a=(n?n.explicitMerge:null)||[],s=r.shift();if(e.isObject(t)&&e.isObject(s))for(var l in s)e.isObject(s[l])?(t[l]||Object.assign(t,((o={})[l]={},o)),-1!==a.indexOf(l)?t[l]=e.explicitFlatMerge(t[l],s[l]):e.mergeDeep(t[l],[s[l]],n)):Object.assign(t,((i={})[l]=s[l],i));return e.mergeDeep(t,r,n)},e.mergeDefaults=function(t,r,n){return e.mergeDeep({},[r,t],n)},e.explicitFlatMerge=function(e,t){var n=r({},e);return Object.keys(t).forEach((function(e){null===t[e]||0===Object.keys(t[e]).length?delete n[e]:n[e]=t[e]})),n},e.get=function(e,t,r){for(var n=function(e){var t=[];return e.split(".").forEach((function(e){e.split(/\[([^}]+)\]/g).forEach((function(e){e.length>0&&t.push(e)}))})),t}(t),o=e,i=0;i<n.length;i++){if(!o[n[i]])return r;o=o[n[i]]}return o},e}();t.ObjectUtils=n},8541:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlayerContribRegistry=void 0;var r=function(){function e(){this._cache={}}return e.get=function(t){return t.__contrib__=t.__contrib__||{},t.__contrib__.services=t.__contrib__.services||new e,t.__contrib__.services},e.prototype.get=function(e){var t=this._cache[e];if(!t)throw new Error("cannot find resource with token ".concat(e));return t},e.prototype.register=function(e,t){var r=this._cache[e];return r||(r=this._cache[e]={instance:t()}),r.instance},e}();t.PlayerContribRegistry=r},9968:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVideoSize=t.getPlayerSize=void 0,t.getPlayerSize=function(e){return e?e.dimensions:{width:0,height:0}},t.getVideoSize=function(e){if(!e)return{width:0,height:0};var t=e.getActiveTracks().video;return t&&void 0!==t.width&&void 0!==t.height?{width:t.width,height:t.height}:e.getVideoElement()?{width:e.getVideoElement().videoWidth,height:e.getVideoElement().videoHeight}:{width:0,height:0}}},6056:(e,t)=>{"use strict";var r,n,o;Object.defineProperty(t,"__esModule",{value:!0}),t.RelativeToTypes=t.ReservedPresetAreas=t.ReservedPresetNames=void 0,(o=t.ReservedPresetNames||(t.ReservedPresetNames={})).Playback="Playback",o.Live="Live",(n=t.ReservedPresetAreas||(t.ReservedPresetAreas={})).PresetFloating="PresetFloating",n.BottomBarLeftControls="BottomBarLeftControls",n.BottomBarRightControls="BottomBarRightControls",n.TopBarLeftControls="TopBarLeftControls",n.TopBarRightControls="TopBarRightControls",n.SidePanelTop="SidePanelTop",n.SidePanelLeft="SidePanelLeft",n.SidePanelRight="SidePanelRight",n.SidePanelBottom="SidePanelBottom",n.PresetArea="PresetArea",n.InteractiveArea="InteractiveArea",n.PlayerArea="PlayerArea",n.VideoArea="VideoArea",(r=t.RelativeToTypes||(t.RelativeToTypes={})).Before="Before",r.After="After",r.Replace="Replace"},3553:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PresetItem=void 0;var n=r(4522),o=r(6056),i=r(5260),a=function(){function e(e){var t=this;this._render=function(){if(t._options.data.isolateComponent){var e=t._options.data,r=e.label,o=e.fillContainer;return(0,n.h)(i.InjectedComponent,{label:r,fillContainer:o||!1,onCreate:t._onCreate,onDestroy:t._onDestroy})}return t._options.data.renderChild()},this._onDestroy=function(e){e.parent&&(0,n.render)(null,e.parent)},this._onCreate=function(e){try{if(!e.parent)return;var r=t._options.data.renderChild();if(!r)return;(0,n.render)(r,e.parent)}catch(e){}},this._options=e}return Object.defineProperty(e.prototype,"playerConfig",{get:function(){var e=[];for(var t in this._options.data.presetAreas){var r=this._options.data.presetAreas[t],n=this._options.data.relativeTo;if(r){var i={label:this._options.data.label,presets:[t],container:r,get:this._render};if(n)switch(n.type){case o.RelativeToTypes.After:i.afterComponent=n.name;break;case o.RelativeToTypes.Before:i.beforeComponent=n.name;break;case o.RelativeToTypes.Replace:i.replaceComponent=n.name}e.push(i)}}return e},enumerable:!1,configurable:!0}),e}();t.PresetItem=a},3480:function(e,t,r){"use strict";var n=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.PresetManager=t.PresetManagerEventTypes=void 0;var o,i=r(4522),a=r(3553),s=r(6080),l=r(8763),c=r(9109),u=r(8568);!function(e){e.PresetResizeEvent="PresetResizeEvent",e.VideoResizeEvent="VideoResizeEvent"}(o=t.PresetManagerEventTypes||(t.PresetManagerEventTypes={}));var p=["PlayerArea"],d={presetAreasMapping:{Playback:{PlayerArea:"PlayerArea"},Live:{PlayerArea:"PlayerArea"}}},h=function(){function e(e){var t=this;this._events=new s.EventsManager,this._isLocked=!1,this._items=[],this._pendingItems=[],this._registerToPlayer=function(e){e.addEventListener(KalturaPlayer.ui.EventType.UI_PRESET_RESIZE,t._notifyUIPresetResize),e.addEventListener(KalturaPlayer.ui.EventType.VIDEO_RESIZE,t._notifyVideoResize)},this._notifyVideoResize=function(){t._events.emit({type:o.VideoResizeEvent})},this._notifyUIPresetResize=function(){t._events.emit({type:o.PresetResizeEvent})},this._unregisterToPlayer=function(e){e.removeEventListener(KalturaPlayer.ui.EventType.UI_PRESET_RESIZE,t._notifyUIPresetResize),e.removeEventListener(KalturaPlayer.ui.EventType.VIDEO_RESIZE,t._notifyVideoResize)},this.on=this._events.on.bind(this._events),this.off=this._events.off.bind(this._events),this._options=e,this._presetConfig=(0,u.getContribConfig)(this._options.kalturaPlayer,"ui.preset",d,{explicitMerge:["presetAreasMapping"]});var r=c.PresetsUtils.groupPresetAreasByType({presetAreasMapping:this._presetConfig.presetAreasMapping,acceptableTypes:p});this.add({label:"preset-manager",presetAreas:r.PlayerArea,renderChild:function(){return(0,i.h)(l.UIPlayerAdapter,{onMount:t._registerToPlayer,onUnmount:t._unregisterToPlayer})}})}return e.prototype.add=function(e){if(this._isLocked)return console.warn("cannot add new preset items once player completed its' setup phase"),null;var t=new a.PresetItem({kalturaPlayer:this._options.kalturaPlayer,data:e});this._pendingItems.push(t)},e.prototype.lockManager=function(){this._isLocked=!0},e.prototype.registerComponents=function(){var e=[];return this._pendingItems.forEach((function(t){e=n(n([],e,!0),t.playerConfig,!0)})),this._items=n(n([],this._items,!0),this._pendingItems,!0),this._pendingItems=[],e.filter(Boolean)},e}();t.PresetManager=h},9109:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PresetsUtils=void 0;var r=function(){function e(){}return e.groupPresetAreasByType=function(e){var t=e.presetAreasMapping,r=e.acceptableTypes,n={};return r.forEach((function(e){return n[e]={}})),Object.keys(t).forEach((function(e){Object.keys(t[e]).forEach((function(o){-1===r.indexOf(o)||(n[o][e]=t[e][o])}))})),n},e}();t.PresetsUtils=r},9945:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.ToastManager=t.ToastSeverity=void 0;var i,a=r(3301),s=r(3782),l=r(4027),c=r(4522);(i=t.ToastSeverity||(t.ToastSeverity={})).Info="Info",i.Success="Success",i.Warn="Warn",i.Error="Error";var u=function(){function e(e){var t=this;this.options=e,this._toasts=[],this._floatingItem=null,this._remove=function(e){var r=t._findToastIndexById(e);-1!==r&&(clearTimeout(t._toasts[r].timerSubscription),t._toasts.splice(r,1),t._updateToastsUI(),0===t._toasts.length&&t._removeToastsContainer())},this._options=e}return e.prototype.add=function(e){var t=e.duration,r=o(e,["duration"]);this._floatingItem||this._addToastsContainer();var i={toastProps:n(n({},r),{id:a.UUID.uuidV1(),onClose:this._remove}),duration:t,timerSubscription:null};this._toasts.push(i),this._updateToastsUI(),this._startDurationTimer(i)},e.prototype.reset=function(){var e=this;this._toasts.forEach((function(t){e._remove(t.toastProps.id)}))},e.prototype._startDurationTimer=function(e){var t=this;e.timerSubscription=setTimeout((function(){t._remove(e.toastProps.id)}),e.duration)},e.prototype._addToastsContainer=function(){var e=this;this._floatingItem=this._options.floatingManager.add({label:"Toasts",mode:s.FloatingUIModes.Immediate,position:s.FloatingPositions.InteractiveArea,renderContent:function(){return(0,c.h)(l.ToastsContainer,{toasts:e._toasts.map((function(e){return e.toastProps}))})}})},e.prototype._removeToastsContainer=function(){this._floatingItem&&(this._options.floatingManager.remove(this._floatingItem),this._floatingItem=null)},e.prototype._updateToastsUI=function(){this._floatingItem&&this._floatingItem.update()},e.prototype._findToastIndexById=function(e){for(var t=0;t<this._toasts.length;){if(this._toasts[t].toastProps.id===e)return t;t++}return-1},e}();t.ToastManager=u},6577:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloseIcon=void 0;var n=r(4522);t.CloseIcon=function(){return(0,n.h)("svg",{width:"16px",height:"16px",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,n.h)("g",{id:"Icons/16/Close",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,n.h)("path",{d:"M8.8497789,8 L11.824005,10.9742261 C12.058665,11.2088861 12.058665,11.5893451 11.824005,11.824005 C11.5893451,12.058665 11.2088861,12.058665 10.9742261,11.824005 L8,8.8497789 L5.02577387,11.824005 C4.7911139,12.058665 4.41065493,12.058665 4.17599497,11.824005 C3.94133501,11.5893451 3.94133501,11.2088861 4.17599497,10.9742261 L7.1502211,8 L4.17599497,5.02577387 C3.94133501,4.7911139 3.94133501,4.41065493 4.17599497,4.17599497 C4.41065493,3.94133501 4.7911139,3.94133501 5.02577387,4.17599497 L8,7.1502211 L10.9742261,4.17599497 C11.2088861,3.94133501 11.5893451,3.94133501 11.824005,4.17599497 C12.058665,4.41065493 12.058665,4.7911139 11.824005,5.02577387 L8.8497789,8 Z",id:"Path",fill:"#cccccc"})))}},4461:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.Toast=void 0;var i=r(4522),a=r(2001),s=r(9945),l=r(6577),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={isShown:!0},t._onClick=function(e){t.props.onClick(),t._onClose(e)},t._onClose=function(e){e.stopPropagation(),t.setState({isShown:!1}),t.props.onClose(t.props.id)},t}return o(t,e),t.prototype._getToastSeverityClass=function(){switch(this.props.severity){case s.ToastSeverity.Success:return a.successToast;case s.ToastSeverity.Warn:return a.warnToast;case s.ToastSeverity.Error:return a.errorToast;default:return a.infoToast}},t.prototype.render=function(){var e=this.props,t=e.text,r=e.title,n=e.icon;return(0,i.h)("div",{className:a.toastWrapper+" "+this._getToastSeverityClass(),onClick:this._onClick},(0,i.h)("button",{className:a.closeButton,onClick:this._onClose},(0,i.h)(l.CloseIcon,null)),(0,i.h)("div",{className:a.title},r),(0,i.h)("div",{className:a.toastBody},(0,i.h)("div",{className:a.iconContainer},(0,i.h)("div",{className:a.iconWrapper},n)),(0,i.h)("div",{className:a.text},t)))},t}(i.Component);t.Toast=c},4027:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToastsContainer=void 0;var n=r(1454);Object.defineProperty(t,"ToastsContainer",{enumerable:!0,get:function(){return n.ToastsContainer}})},1454:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ToastsContainer=void 0;var a=r(4522),s=r(4461),l=r(2167),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){return(0,a.h)("div",{className:l.toastsContainer,"aria-live":"polite"},this.props.toasts.map((function(e){return(0,a.h)("div",{className:l.toastRow,key:e.id},(0,a.h)(s.Toast,i({},e)))})))},t}(a.Component);t.ToastsContainer=c},7864:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Button=t.ButtonType=t.ButtonSize=void 0;var o,i,a=r(4522),s=r(4184),l=r(1590),c=r(4062),u=KalturaPlayer.ui.components.Tooltip;!function(e){e.small="small",e.medium="medium",e.large="large"}(o=t.ButtonSize||(t.ButtonSize={})),function(e){e.primary="primary",e.danger="danger",e.translucent="translucent",e.borderless="borderless"}(i=t.ButtonType||(t.ButtonType={})),t.Button=function(e){var t=function(){var t,r=s(c.button,c[e.size],c[e.type],e.className,((t={})[c.disabled]=e.disabled,t)),o=n(n({disabled:e.disabled,"aria-disabled":e.disabled,tabIndex:e.tabIndex,className:r},e.ariaLabel?{"aria-label":e.ariaLabel}:{}),e.testId?{"data-testid":e.testId}:{});return(0,a.h)(l.A11yWrapper,{onClick:e.onClick},(0,a.h)("button",n({},o),e.children))};if(e.tooltip){var r=n({label:e.tooltip.label},e.tooltip.className?{classNames:e.tooltip.className}:{});return(0,a.h)(u,n({},r),t())}return t()},t.Button.defaultProps={disabled:!1,tabIndex:0,children:null,size:o.medium,type:i.primary}},1707:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(7864),t)},8435:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(4312),t),o(r(1707),t)},4312:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(3399),t)},3399:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.InputField=void 0;var a=r(4522),s=r(1590),l=r(5650),c=function(e){function t(t){var r=e.call(this,t)||this;return r.state={active:!1},r._inputRef=null,r.setFocus=function(){var e;null===(e=r._inputRef)||void 0===e||e.focus()},r._handleOnChange=function(e){r.props.onChange(e.target.value)},r._onClear=function(){var e;null===(e=r._inputRef)||void 0===e||e.focus(),r.props.onChange("")},r._onFocus=function(){r.setState({active:!0})},r._onBlur=function(){r.setState({active:!1})},r._goToNextSearchResult=function(){var e=r.props.searchResults,t=e.activeSearchIndex,n=e.totalSearchResults,o=e.onSearchIndexChange;0!==n&&o(t!==n?t+1:1)},r._goToPrevSearchResult=function(){var e=r.props.searchResults,t=e.activeSearchIndex,n=e.totalSearchResults;(0,e.onSearchIndexChange)(1!==t?t-1:n)},r._renderSearchResults=function(){return(0,a.h)(a.Fragment,null,(0,a.h)("div",{className:l.searchResults,"aria-live":"polite","aria-label":r.props.searchResults.searchResultsLabel},"".concat(r.props.searchResults.totalSearchResults>0?"".concat(r.props.searchResults.activeSearchIndex,"/").concat(r.props.searchResults.totalSearchResults):"0/0")),(0,a.h)("div",{className:l.prevNextWrapper},r.props.value&&(0,a.h)(s.A11yWrapper,{onClick:r._goToPrevSearchResult},(0,a.h)("button",{tabIndex:0,className:"".concat(l.prevNextButton," ").concat(0===r.props.searchResults.totalSearchResults?l.disabled:""),"aria-label":r.props.searchResults.prevMatchLabel},(0,a.h)("svg",{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{d:"M0.292893 4.70711C0.653377 5.06759 1.22061 5.09532 1.6129 4.7903L1.70711 4.70711L4 2.415L6.29289 4.70711C6.65338 5.06759 7.22061 5.09532 7.6129 4.7903L7.70711 4.70711C8.06759 4.34662 8.09532 3.77939 7.7903 3.3871L7.70711 3.29289L4.70711 0.292893C4.34662 -0.0675907 3.77939 -0.0953203 3.3871 0.209705L3.29289 0.292893L0.292893 3.29289C-0.0976311 3.68342 -0.0976311 4.31658 0.292893 4.70711Z",fill:"white","fill-opacity":"0.7"})))),r.props.value&&(0,a.h)(s.A11yWrapper,{onClick:r._goToNextSearchResult},(0,a.h)("button",{tabIndex:0,className:"".concat(l.prevNextButton," ").concat(0===r.props.searchResults.totalSearchResults?l.disabled:""),"aria-label":r.props.searchResults.nextMatchLabel},(0,a.h)("svg",{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.292893 0.292893C0.683417 -0.0976311 1.31658 -0.0976311 1.70711 0.292893L4 2.58579L6.29289 0.292893C6.68342 -0.0976311 7.31658 -0.0976311 7.70711 0.292893C8.09763 0.683417 8.09763 1.31658 7.70711 1.70711L4.70711 4.70711C4.31658 5.09763 3.68342 5.09763 3.29289 4.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683417 0.292893 0.292893Z",fill:"white","fill-opacity":"0.7"}))))))},r._renderClearSearch=function(){return(0,a.h)(s.A11yWrapper,{onClick:r._onClear},(0,a.h)("button",{className:l.clearIcon,tabIndex:0,"aria-label":r.props.clearSearchLabel},(0,a.h)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12ZM3.38951 2.3502L3.46013 2.41264L5.99548 4.9504L8.53067 2.41264L8.60129 2.3502C8.89537 2.12125 9.32081 2.1418 9.59133 2.41199C9.8844 2.70471 9.88469 3.17958 9.59197 3.47265L7.05523 6.01165L9.59197 8.55189C9.88469 8.84496 9.8844 9.31983 9.59133 9.61255C9.32081 9.88275 8.89537 9.90329 8.60129 9.67434L8.53067 9.61191L5.99548 7.0729L3.46013 9.61191L3.38951 9.67434C3.09543 9.90329 2.66999 9.88275 2.39947 9.61255C2.1064 9.31983 2.10611 8.84496 2.39883 8.55189L4.93498 6.01165L2.39883 3.47265C2.10611 3.17958 2.1064 2.70471 2.39947 2.41199C2.66999 2.1418 3.09543 2.12125 3.38951 2.3502Z",fill:"white","fill-opacity":"0.7"}))))},r.state={active:!1},r}return o(t,e),t.prototype.render=function(){var e=this,t={className:l.inputElement,value:this.props.value,onInput:this._handleOnChange,onFocus:this._onFocus,onBlur:this._onBlur,tabIndex:0,ref:function(t){e._inputRef=t}};return this.props.placeholder&&(t["aria-label"]=this.props.placeholder,t.placeholder=this.props.placeholder),(0,a.h)("div",{className:[l.inputFieldWrapper,this.props.value||this.state.active?l.active:""].join(" ")},(0,a.h)("input",i({},t)),this.props.value&&this.props.clearSearchLabel&&this._renderClearSearch(),this.props.value&&this.props.searchResults&&this._renderSearchResults())},t}(a.Component);t.InputField=c},8763:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(137),t)},137:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.UIPlayerAdapter=void 0;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.componentDidMount=function(){this.props.onMount(this.props.player)},t.prototype.componentWillUnmount=function(){this.props.onUnmount(this.props.player)},t.prototype.render=function(e){return null},t.defaultProps={player:null},i([KalturaPlayer.ui.components.withPlayer],t)}(r(4522).Component);t.UIPlayerAdapter=a},3301:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UUID=void 0;var r=function(){function e(){}return e.uuidV1=function(){return"".concat(Date.now(),"-").concat(Math.random())},e}();t.UUID=r},19:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventsManager=void 0;var r=function(){function e(){this._eventListeners={},this._wildcardEventListeners=[]}return e.prototype.on=function(e,t){"*"!==e?(this._eventListeners[e]||(this._eventListeners[e]=[])).push(t):this._wildcardEventListeners.push(t)},e.prototype.off=function(e,t){if("*"!==e){var r=this._eventListeners[e];r&&r.splice(r.indexOf(t)>>>0,1)}else this._wildcardEventListeners.splice(this._wildcardEventListeners.indexOf(t)>>>0,1)},e.prototype.emit=function(e){(this._eventListeners[e.type]||[]).slice().map((function(t){t(e)})),this._wildcardEventListeners.slice().map((function(t){t(e)}))},e}();t.EventsManager=r},8707:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(19),t),o(r(7640),t)},7640:(e,t)=>{"use strict";function r(){return"##".concat("Guest").concat("HashSeparator").concat(function(){for(var e=(0,t.generateId)(),r="",n=0;n<e.length;n++){var o=e.charAt(n);r+=Number.isNaN(+o)?o.charCodeAt(0):o}return r}(),"##")}Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=t.getUserId=t.generateId=void 0,t.generateId=function(){return(new Date).getTime().toString(36)+Math.random().toString(36).slice(2)},t.getUserId=function(){return"undefined"==typeof Storage?r():((e=localStorage.getItem("anonymousUserId"))||(e=r(),localStorage.setItem("anonymousUserId",e)),e);var e},t.debounce=function(e,t,r){var n;return void 0===t&&(t=50),void 0===r&&(r={isImmediate:!1}),function(){for(var o=this,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var s=function(){n=void 0,r.isImmediate||e.apply(o,i)},l=r.isImmediate&&void 0===n;void 0!==n&&clearTimeout(n),n=setTimeout(s,t),l&&e.apply(this,i)}}},9413:e=>{e.exports=/[\0-\x1F\x7F-\x9F]/},3189:e=>{e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},5045:e=>{e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},9369:e=>{e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},4522:e=>{"use strict";e.exports=KalturaPlayer.ui.preact}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}return r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0,r(3607)})(),e.exports=t()},360:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(522),o=r(573),i={position:"absolute",display:"table",boxSizing:"border-box"},a={position:"relative",width:"100%",height:"100%",appearance:"none",border:"none",display:"table-cell",verticalAlign:"middle",textAlign:"center",cursor:"pointer",wordBreak:"break-all",textRendering:"geometricPrecision"};function s(e){return e.match(/^https?:\/\//i)||(e="http://"+e),e}class l extends n.Component{constructor(){super(...arguments),this.state={disableClick:!0,isReady:!1},this.isClickable=()=>{const{hotspot:{onClick:e}}=this.props;if(!e)return!1;switch(e.type){case"jumpToTime":return void 0!==e.jumpToTime;case"openUrl":case"openUrlInNewTab":return!!e.url;default:return!1}},this.handleClick=()=>{const{hotspot:e}=this.props,{disableClick:t}=this.state;if(e.onClick&&!t)switch(e.onClick.type){case"jumpToTime":if(void 0===e.onClick.jumpToTime)return;this.props.seekTo(e.onClick.jumpToTime/1e3);break;case"openUrl":{if(!e.onClick.url)return;const t=s(e.onClick.url);window.open(t,"_top"),this.props.sendAnalytics({eventNumber:47,target:t,hotspotId:e.id})}break;case"openUrlInNewTab":{if(!e.onClick.url)return;this.props.pauseVideo();const t=s(e.onClick.url);try{window.open(t,"_blank"),this.props.sendAnalytics({eventNumber:47,target:t,hotspotId:e.id})}catch(e){}}}}}componentDidMount(){const{hotspot:e}=this.props;e&&e.onClick?this.setState({isReady:!0,disableClick:!this.isClickable()}):this.setState({isReady:!0})}render(){const{hotspot:e}=this.props,{layout:t,label:r}=e,{isReady:s,disableClick:l}=this.state;if(!s||!this.props.visible)return null;const c=Object.assign(Object.assign({},i),{top:t.y,left:t.x,height:t.height,width:t.width}),u=Object.assign(Object.assign(Object.assign({},a),e.styles),{cursor:l?"default":"pointer"});return(0,n.h)(o.A11yWrapper,{onClick:this.handleClick},(0,n.h)("div",{tabIndex:0,"aria-label":r,"aria-disabled":l,style:c},(0,n.h)("div",{style:u},r)))}}t.default=l,l.defaultProps={styles:{}}},658:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(522),o=r(912),i=r(360),a={position:"absolute",display:"block",overflow:"visible",top:0,left:0,width:0,height:0};class s extends n.Component{constructor(){super(...arguments),this.renderHotspots=e=>{if(!e)return null;const{seekTo:t,pauseVideo:r,sendAnalytics:o}=this.props;return e.map((e=>(0,n.h)(i.default,{pauseVideo:r,seekTo:t,key:e.id,visible:!0,hotspot:e,sendAnalytics:o})))}}shouldComponentUpdate(e){return!(0,o.shallowCompareHotspots)(this.props.hotspots,e.hotspots)}render(){const{hotspots:e}=this.props,t=this.renderHotspots(e);return(0,n.h)("div",{style:a},t)}}t.default=s},624:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HotspotsPlugin=void 0;const n=r(522),o=r(573),i=r(658),a=r(263);class s extends KalturaPlayer.core.BasePlugin{constructor(e,t,r){super(e,t,r),this._hotspots=[],this._floatingItem=null,this._canvas=null,this._isHotspotType=e=>{const{metadata:t}=e,{KalturaCuePointType:r,KalturaCuePointTags:n}=this.cuePointManager;return(null==t?void 0:t.cuePointType)===r.ANNOTATION&&(null==t?void 0:t.tags)===n.HOTSPOT},this._filterHotspotCues=e=>e.filter(this._isHotspotType),this._prepareHotspots=e=>{const t=[];return e.forEach((e=>{const{partnerData:r}=e.metadata;r&&r.schemaVersion&&t.push({id:e.id,startTime:e.startTime,endTime:e.endTime,label:e.metadata.text,styles:r.styles,onClick:r.onClick,rawLayout:Object.assign({},r.layout)})})),t},this._recalculateCuepointLayout=e=>{var t,r;if(this.logger.debug("calculating cuepoint layout based on video/player sizes"),!(null===(t=this._canvas)||void 0===t?void 0:t.playerSize)||!(null===(r=this._canvas)||void 0===r?void 0:r.videoSize))return this.logger.warn("missing video/player sizes, hide all cuepoint"),[];const{width:n,height:o}=this._canvas.playerSize,{width:i,height:s}=this._canvas.videoSize;if(!(n&&o&&i&&s))return this.logger.warn("missing video/player sizes, hide all cuepoint"),[];const l=(0,a.scaleVideo)(i,s,n,o,!0);return this.logger.debug("recalculate cuepoint layout based on new sizes"),e.map((e=>Object.assign(Object.assign({},e),{layout:this._calculateLayout(e,l)})))},this._onTimedMetadataChange=({payload:e})=>{const t=this._filterHotspotCues(e.cues);if(t.length||this._hotspots.length){const e=this._prepareHotspots(t);this._hotspots=this._recalculateCuepointLayout(e),this._updateHotspotsContainer()}},this._pauseVideo=()=>{this._player.pause()},this._seekTo=e=>{this._player.currentTime=e},this._checkIfResizeHappened=e=>{if(!this._canvas)return this._canvas=e,!0;const t=this._canvas.playerSize,r=this._canvas.videoSize,n=e.playerSize,o=e.videoSize;return(t.width!==n.width||t.height!==n.height||r.width!==o.width||r.height!==o.height)&&(this._canvas=e,!0)},this._renderRoot=e=>(this._checkIfResizeHappened(e.canvas)&&(this._hotspots=this._recalculateCuepointLayout(this._hotspots)),(0,n.h)(i.default,{key:"hotspotWrapper",hotspots:this._hotspots,pauseVideo:this._pauseVideo,seekTo:this._seekTo,sendAnalytics:()=>{}})),this._player=t,this._contribServices=o.ContribServices.get({kalturaPlayer:this._player})}static isValid(){return!0}get cuePointManager(){return this._player.getService("kalturaCuepoints")}getUIComponents(){return this._contribServices.register()}loadMedia(){this.cuePointManager&&!this._player.isLive()?(this._addHotspotsContainer(),this.cuePointManager.registerTypes([this.cuePointManager.CuepointType.HOTSPOT]),this.eventManager.listen(this._player,this._player.Event.TIMED_METADATA_CHANGE,this._onTimedMetadataChange)):this.logger.warn("kalturaCuepoints haven't registered or current entry is live")}_calculateLayout(e,t){const{rawLayout:r}=e;return{x:t.left+r.relativeX*t.width,y:t.top+r.relativeY*t.height,width:r.relativeWidth*t.width,height:r.relativeHeight*t.height}}_addHotspotsContainer(){this._floatingItem=this._contribServices.floatingManager.add({label:"Hotspots",mode:o.FloatingUIModes.MediaLoaded,position:o.FloatingPositions.VideoArea,renderContent:this._renderRoot})}_updateHotspotsContainer(){this._floatingItem&&this._floatingItem.update()}reset(){this.eventManager.removeAll(),this._hotspots=[],this._canvas=null,this._floatingItem&&(this._contribServices.floatingManager.remove(this._floatingItem),this._floatingItem=null)}destroy(){}}t.HotspotsPlugin=s,s.defaultConfig={}},912:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shallowCompareHotspots=void 0,t.shallowCompareHotspots=(e,t)=>{const r=e.length;if(t.length!==r)return!1;for(let n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}},263:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scaleVideo=void 0,t.scaleVideo=function(e,t,r,n,o){const i={width:0,height:0,left:0,top:0,scaleToTargetWidth:!0};if(e<=0||t<=0||r<=0||n<=0)return i;const a=r,s=t*r/e,l=e*n/t,c=n;let u=l>r;return u=u?o:!o,u?(i.width=Math.abs(a),i.height=Math.abs(s),i.scaleToTargetWidth=!0):(i.width=Math.abs(l),i.height=Math.abs(c),i.scaleToTargetWidth=!1),i.left=Math.abs((r-i.width)/2),i.top=Math.abs((n-i.height)/2),i}},522:function(e){"use strict";e.exports=KalturaPlayer.ui.preact}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}var n={};!function(){"use strict";var e=n;Object.defineProperty(e,"__esModule",{value:!0}),e.NAME=e.VERSION=e.Plugin=void 0;const t=r(624);Object.defineProperty(e,"Plugin",{enumerable:!0,get:function(){return t.HotspotsPlugin}}),e.VERSION="3.1.4",e.NAME="@playkit-js/hotspots",KalturaPlayer.core.registerPlugin("playkit-js-hotspots",t.HotspotsPlugin)}(),((KalturaPlayer=void 0===KalturaPlayer?{}:KalturaPlayer).plugins=KalturaPlayer.plugins||{}).hotspots=n}();
|
|
2
2
|
//# sourceMappingURL=playkit-hotspots.js.map
|