@phont-ai/subtitles 0.1.61 → 0.1.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +21 -21
- package/dist/index.mjs +5 -5
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var C2=Object.create;var yd=Object.defineProperty;var x2=Object.getOwnPropertyDescriptor;var M2=Object.getOwnPropertyNames;var k2=Object.getPrototypeOf,w2=Object.prototype.hasOwnProperty;var F0=(H,u)=>()=>(H&&(u=H(H=0)),u);var nt=(H,u)=>()=>(u||H((u={exports:{}}).exports,u),u.exports),R2=(H,u)=>{for(var n in u)yd(H,n,{get:u[n],enumerable:!0})},O2=(H,u,n,i)=>{if(u&&typeof u=="object"||typeof u=="function")for(let c of M2(u))!w2.call(H,c)&&c!==n&&yd(H,c,{get:()=>u[c],enumerable:!(i=x2(u,c))||i.enumerable});return H};var Cr=(H,u,n)=>(n=H!=null?C2(k2(H)):{},O2(u||!H||!H.__esModule?yd(n,"default",{value:H,enumerable:!0}):n,H));var f1=nt((uP,d1)=>{"use strict";var _y=4,py=.001,vy=1e-7,gy=10,hs=11,Yu=1/(hs-1),my=typeof Float32Array=="function";function s1(H,u){return 1-3*u+3*H}function u1(H,u){return 3*u-6*H}function l1(H){return 3*H}function Xu(H,u,n){return((s1(u,n)*H+u1(u,n))*H+l1(u))*H}function c1(H,u,n){return 3*s1(u,n)*H*H+2*u1(u,n)*H+l1(u)}function yy(H,u,n,i,c){var m,$,P=0;do $=u+(n-u)/2,m=Xu($,i,c)-H,m>0?n=$:u=$;while(Math.abs(m)>vy&&++P<gy);return $}function Sy(H,u,n,i){for(var c=0;c<_y;++c){var m=c1(u,n,i);if(m===0)return u;var $=Xu(u,n,i)-H;u-=$/m}return u}function by(H){return H}d1.exports=function(u,n,i,c){if(!(0<=u&&u<=1&&0<=i&&i<=1))throw new Error("bezier x values must be in [0, 1] range");if(u===n&&i===c)return by;for(var m=my?new Float32Array(hs):new Array(hs),$=0;$<hs;++$)m[$]=Xu($*Yu,u,i);function P(t){for(var _=0,a=1,r=hs-1;a!==r&&m[a]<=t;++a)_+=Yu;--a;var o=(t-m[a])/(m[a+1]-m[a]),l=_+o*Yu,d=c1(l,u,i);return d>=py?Sy(t,l,u,i):d===0?l:yy(t,_,_+Yu,u,i)}return function(_){return _===0?0:_===1?1:Xu(P(_),n,c)}}});var L1=nt((II,Qy)=>{Qy.exports={v:"5.9.0",fr:29.9700012207031,ip:0,op:26.0000010590017,w:1080,h:1080,nm:"Flashin/ Camera Clicking",ddd:0,assets:[],fonts:{list:[{fName:"BricolageGrotesque-SemiBold",fFamily:"Bricolage Grotesque",fStyle:"SemiBold",ascent:70.9991455078125}]},layers:[{ddd:0,ind:1,ty:5,nm:"[Camera Clicking] 5",sr:1,ks:{o:{a:1,k:[{i:{x:[1],y:[1]},o:{x:[.333],y:[0]},t:10,s:[0]},{i:{x:[.667],y:[1]},o:{x:[0],y:[0]},t:16,s:[100]},{t:21.0000008553475,s:[0]}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540.038,540,0],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.167,.167,.167],y:[0,0,0]},t:0,s:[231.2,231.2,100]},{i:{x:[1,1,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:10,s:[219.2,219.2,100]},{i:{x:[.833,.833,.833],y:[1,1,1]},o:{x:[0,0,.333],y:[0,0,0]},t:16,s:[261.2,261.2,100]},{t:21.0000008553475,s:[231.2,231.2,100]}],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:1,k:[{i:{x:1,y:1},o:{x:.333,y:0},t:10,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]},{i:{x:.667,y:1},o:{x:0,y:0},t:16,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[154.796,-46.899],[-160.593,-46.899],[-159.57,-9.123],[155.819,-9.123]],c:!0}]},{t:21.0000008553475,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]}],ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 1"}],ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:20,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:0,ix:3}}]}],t:{d:{k:[{s:{s:35,f:"BricolageGrotesque-SemiBold",t:"[Camera Clicking]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:148.651206054687,st:0,bm:0},{ddd:0,ind:2,ty:5,nm:"[Camera Clicking] 3",sr:1,ks:{o:{a:1,k:[{i:{x:[1],y:[1]},o:{x:[.333],y:[0]},t:10,s:[0]},{i:{x:[.667],y:[1]},o:{x:[0],y:[0]},t:16,s:[100]},{t:21.0000008553475,s:[0]}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540.038,540,0],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.167,.167,.167],y:[0,0,0]},t:0,s:[231.2,231.2,100]},{i:{x:[1,1,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:10,s:[219.2,219.2,100]},{i:{x:[.833,.833,.833],y:[1,1,1]},o:{x:[0,0,.333],y:[0,0,0]},t:16,s:[261.2,261.2,100]},{t:21.0000008553475,s:[231.2,231.2,100]}],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:1,k:[{i:{x:1,y:1},o:{x:.333,y:0},t:10,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]},{i:{x:.667,y:1},o:{x:0,y:0},t:16,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[154.878,-29.145],[-160.511,-29.145],[-160.415,8.72],[154.974,8.72]],c:!0}]},{t:21.0000008553475,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]}],ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 1"}],ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:20,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:0,ix:3}}]}],t:{d:{k:[{s:{s:35,f:"BricolageGrotesque-SemiBold",t:"[Camera Clicking]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:148.651206054687,st:0,bm:0},{ddd:0,ind:3,ty:5,nm:"[Camera Clicking] 2",sr:1,ks:{o:{a:1,k:[{i:{x:[1],y:[1]},o:{x:[.333],y:[0]},t:10,s:[0]},{i:{x:[.667],y:[1]},o:{x:[0],y:[0]},t:16,s:[100]},{t:21.0000008553475,s:[0]}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540.038,540,0],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.167,.167,.167],y:[0,0,0]},t:0,s:[231.2,231.2,100]},{i:{x:[1,1,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:10,s:[219.2,219.2,100]},{i:{x:[.833,.833,.833],y:[1,1,1]},o:{x:[0,0,.333],y:[0,0,0]},t:16,s:[261.2,261.2,100]},{t:21.0000008553475,s:[231.2,231.2,100]}],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:1,k:[{i:{x:1,y:1},o:{x:.333,y:0},t:10,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]},{i:{x:.667,y:1},o:{x:0,y:0},t:16,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[154.796,-46.899],[-160.593,-46.899],[-159.57,-9.123],[155.819,-9.123]],c:!0}]},{t:21.0000008553475,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]}],ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 1"}],ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:20,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:0,ix:3}}]}],t:{d:{k:[{s:{s:35,f:"BricolageGrotesque-SemiBold",t:"[Camera Clicking]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:148.651206054687,st:0,bm:0},{ddd:0,ind:4,ty:5,nm:"[Camera Clicking] 4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540.038,540,0],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.167,.167,.167],y:[0,0,0]},t:0,s:[231.2,231.2,100]},{i:{x:[1,1,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:10,s:[219.2,219.2,100]},{i:{x:[.833,.833,.833],y:[1,1,1]},o:{x:[0,0,.333],y:[0,0,0]},t:16,s:[261.2,261.2,100]},{t:21.0000008553475,s:[231.2,231.2,100]}],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:1,k:[{i:{x:1,y:1},o:{x:.333,y:0},t:10,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]},{i:{x:.667,y:1},o:{x:0,y:0},t:16,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[154.796,-46.899],[-160.593,-46.899],[-159.844,-14.26],[155.545,-14.26]],c:!0}]},{t:21.0000008553475,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]}],ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 1"}],t:{d:{k:[{s:{s:35,f:"BricolageGrotesque-SemiBold",t:"[Camera Clicking]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:148.651206054687,st:0,bm:0},{ddd:0,ind:5,ty:5,nm:"[Camera Clicking]",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540.038,540,0],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.167,.167,.167],y:[0,0,0]},t:0,s:[231.2,231.2,100]},{i:{x:[1,1,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:10,s:[219.2,219.2,100]},{i:{x:[.833,.833,.833],y:[1,1,1]},o:{x:[0,0,.333],y:[0,0,0]},t:16,s:[261.2,261.2,100]},{t:21.0000008553475,s:[231.2,231.2,100]}],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:1,k:[{i:{x:1,y:1},o:{x:.333,y:0},t:10,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[154.796,-46.899],[-160.593,-46.899],[-160.497,-9.035],[154.892,-9.035]],c:!0}]},{i:{x:.667,y:1},o:{x:0,y:0},t:16,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[154.807,-46.546],[-160.582,-46.546],[-158.53,-11.366],[156.859,-11.366]],c:!0}]},{t:21.0000008553475,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]}],ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 1"}],t:{d:{k:[{s:{s:35,f:"BricolageGrotesque-SemiBold",t:"[Camera Clicking]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:148.651206054687,st:0,bm:0}],markers:[],chars:[{ch:"[",size:35,style:"SemiBold",w:32,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[19.5,11.9],[19.5,-68.1],[7.8,-68.1],[7.8,11.9]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29.6,11.9],[29.6,2.1],[7.8,2.1],[7.8,11.9]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29.6,-59.7],[29.6,-69.5],[7.8,-69.5],[7.8,-59.7]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"[",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"C",size:35,style:"SemiBold",w:67.5,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.4,1.266],[-2.1,2.267],[-1,3.067],[-.067,3.467],[0,0],[1,-2.5],[2.2,-1.5],[3.733,0],[2.9,1.634],[1.633,3.467],[0,5.6],[-1,3.034],[-1.667,1.867],[-2.1,.867],[-2.134,0],[-2.1,-1],[-1.334,-2],[.066,-3],[0,0],[1.266,2.567],[2.233,1.834],[3.066,.934],[3.6,0],[3.8,-1.533],[2.733,-3.033],[1.5,-4.333],[0,-5.6],[-1.467,-4.2],[-2.734,-2.833],[-3.934,-1.433],[-5,0]],o:[[3.4,-1.266],[2.1,-2.266],[1,-3.066],[0,0],[-.134,2.934],[-1,2.5],[-2.2,1.5],[-3.667,0],[-2.9,-1.633],[-1.634,-3.466],[0,-4.4],[1,-3.033],[1.666,-1.866],[2.1,-.866],[2.4,0],[2.1,1],[1.333,2],[0,0],[-.067,-3.266],[-1.267,-2.566],[-2.234,-1.833],[-3.067,-.933],[-4.667,0],[-3.8,1.534],[-2.734,3.034],[-1.5,4.334],[0,5.4],[1.466,4.2],[2.733,2.834],[3.933,1.433],[4.866,0]],v:[[49.6,-.6],[57.85,-5.9],[62.5,-13.9],[64.1,-23.7],[53,-25.6],[51.3,-17.45],[46.5,-11.45],[37.6,-9.2],[27.75,-11.65],[20.95,-19.3],[18.5,-32.9],[20,-44.05],[24,-51.4],[29.65,-55.5],[36,-56.8],[42.75,-55.3],[47.9,-50.8],[49.8,-43.3],[61.6,-46.4],[59.6,-55.15],[54.35,-61.75],[46.4,-65.9],[36.4,-67.3],[23.7,-65],[13.9,-58.15],[7.55,-47.1],[5.3,-32.2],[7.5,-17.8],[13.8,-7.25],[23.8,-.85],[37.2,1.3]],c:!0},ix:2},nm:"C",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"C",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"a",size:35,style:"SemiBold",w:57.5,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.5,1.233],[-1.734,2.1],[-.934,2.534],[0,0],[-.2,-2.133],[-.267,-1.866],[0,0],[.166,2.434],[.1,2.434],[0,2.267],[0,0],[1.533,3.3],[3.133,1.567],[4.866,0],[2.666,-.666],[2.066,-1.4],[1.4,-1.966],[.733,-2.666],[0,0],[-1.267,1.434],[-1.767,.667],[-1.934,0],[-1.434,-1.5],[0,-2.066],[.666,-.7],[1.433,-.333],[2.266,-.333],[3.066,-.833],[2.066,-1.233],[1.033,-1.933],[0,-2.733],[-1.3,-2.2],[-2.267,-1.1],[-2.867,0]],o:[[2.5,-1.233],[1.733,-2.1],[0,0],[.133,2.2],[.2,2.134],[0,0],[-.267,-2.266],[-.167,-2.433],[-.1,-2.433],[0,0],[0,-5.2],[-1.534,-3.3],[-3.134,-1.566],[-3.2,0],[-2.667,.667],[-2.067,1.4],[-1.4,1.967],[0,0],[.466,-2.333],[1.266,-1.433],[1.766,-.666],[3.2,0],[1.433,1.5],[0,1.4],[-.667,.7],[-1.434,.334],[-4.134,.6],[-3.067,.834],[-2.067,1.234],[-1.034,1.934],[0,3.267],[1.3,2.2],[2.266,1.1],[3.266,0]],v:[[27.85,-.55],[34.2,-5.55],[38.2,-12.5],[39.8,-12.5],[40.3,-6],[41,0],[52.3,0],[51.65,-7.05],[51.25,-14.35],[51.1,-21.4],[51.1,-31.2],[48.8,-43.95],[41.8,-51.25],[29.8,-53.6],[21,-52.6],[13.9,-49.5],[8.7,-44.45],[5.5,-37.5],[16.8,-34],[19.4,-39.65],[23.95,-42.8],[29.5,-43.8],[36.45,-41.55],[38.6,-36.2],[37.6,-33.05],[34.45,-31.5],[28.9,-30.5],[18.1,-28.35],[10.4,-25.25],[5.75,-20.5],[4.2,-13.5],[6.15,-5.3],[11.5,-.35],[19.2,1.3]],c:!0},ix:2},nm:"a",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[1.466,1.267],[0,2.267],[-.867,1.034],[-1.467,.567],[-1.834,.367],[-1.834,.267],[-1.667,.534],[-1.134,.934],[0,0],[0,0],[1.133,-1.366],[1.333,-.933],[1.366,-.466],[1.333,0]],o:[[-1.467,-1.266],[0,-1.8],[.866,-1.033],[1.466,-.566],[1.833,-.366],[1.833,-.266],[1.666,-.533],[0,0],[0,0],[-.8,1.867],[-1.134,1.367],[-1.334,.934],[-1.367,.467],[-2.267,0]],v:[[18.6,-9.9],[16.4,-15.2],[17.7,-19.45],[21.2,-21.85],[26.15,-23.25],[31.65,-24.2],[36.9,-25.4],[41.1,-27.6],[38.7,-28],[38.9,-19.1],[36,-14.25],[32.3,-10.8],[28.25,-8.7],[24.2,-8]],c:!0},ix:2},nm:"a",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"a",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"m",size:35,style:"SemiBold",w:92.9,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-.967,2.8],[-1.7,1.6],[-2.4,0],[-1.334,-1.266],[-.667,-2.566],[0,-3.866],[0,0],[0,0],[0,0],[-1,2.767],[-1.734,1.534],[-2.334,0],[-1.3,-1.233],[-.634,-2.466],[0,-3.733],[0,0],[0,0],[0,0],[.7,3.267],[1.433,2.167],[2.133,1.134],[2.8,0],[2.366,-1.266],[1.633,-2.533],[.866,-3.866],[0,0],[1.1,2.567],[2.066,1.467],[3.2,0],[2.2,-1.266],[1.5,-2.566],[.933,-3.866],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[.133,-3.466],[.966,-2.8],[1.7,-1.6],[2.066,0],[1.333,1.267],[.666,2.567],[0,0],[0,0],[0,0],[.2,-3.533],[1,-2.766],[1.733,-1.533],[2.066,0],[1.3,1.234],[.633,2.467],[0,0],[0,0],[0,0],[0,-4.266],[-.7,-3.266],[-1.434,-2.166],[-2.134,-1.133],[-2.867,0],[-2.367,1.267],[-1.634,2.534],[0,0],[-.267,-3.4],[-1.1,-2.566],[-2.067,-1.466],[-2.867,0],[-2.2,1.267],[-1.5,2.567],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[19.7,0],[19.7,-24.2],[21.35,-33.6],[25.35,-40.2],[31.5,-42.6],[36.6,-40.7],[39.6,-34.95],[40.6,-25.3],[40.6,0],[53,0],[53,-24.4],[54.8,-33.85],[58.9,-40.3],[65,-42.6],[70.05,-40.75],[72.95,-35.2],[73.9,-25.9],[73.9,0],[86.6,0],[86.6,-27.5],[85.55,-38.8],[82.35,-46.95],[77,-51.9],[69.6,-53.6],[61.75,-51.7],[55.75,-46],[52,-36.4],[50.4,-36.4],[48.35,-45.35],[43.6,-51.4],[35.7,-53.6],[28.1,-51.7],[22.55,-45.95],[18.9,-36.3],[17.1,-36.3],[17.4,-52.3],[7.1,-52.3],[7.1,-33.1],[7.1,0]],c:!0},ix:2},nm:"m",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"m",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"e",size:35,style:"SemiBold",w:58,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.6,.733],[-1.9,1.4],[-1.2,1.934],[-.534,2.467],[0,0],[.566,-1.066],[.933,-.833],[1.366,-.5],[2,0],[2.566,2.867],[0,5.8],[-1.1,2.7],[-2.067,1.434],[-2.734,0],[-1.867,-1.166],[-1,-2.433],[.4,-3.8],[0,0],[0,0],[0,0],[0,0],[1,3.7],[2.066,2.5],[3,1.267],[3.8,0],[3.166,-1.4],[2.2,-2.533],[1.166,-3.466],[0,-4.133],[-1.2,-3.266],[-2.267,-2.3],[-3.3,-1.2],[-4.2,0]],o:[[2.6,-.733],[1.9,-1.4],[1.2,-1.933],[0,0],[-.334,1.2],[-.567,1.067],[-.934,.834],[-1.367,.5],[-4.467,0],[-2.567,-2.866],[0,-3.866],[1.1,-2.7],[2.066,-1.433],[2.4,0],[1.866,1.167],[1,2.434],[0,0],[0,0],[0,0],[0,0],[.333,-4.866],[-1,-3.7],[-2.067,-2.5],[-3,-1.266],[-4.067,0],[-3.167,1.4],[-2.2,2.534],[-1.167,3.467],[0,4.134],[1.2,3.267],[2.266,2.3],[3.3,1.2],[3.466,0]],v:[[39.8,.2],[46.55,-3],[51.2,-8],[53.8,-14.6],[42.8,-17.1],[41.45,-13.7],[39.2,-10.85],[35.75,-8.85],[30.7,-8.1],[20.15,-12.4],[16.3,-25.4],[17.95,-35.25],[22.7,-41.45],[29.9,-43.6],[36.3,-41.85],[40.6,-36.45],[41.5,-27.1],[45.9,-31.2],[12.3,-30.9],[12.3,-23.6],[53.2,-23.9],[52.2,-36.75],[47.6,-46.05],[40,-51.7],[29.8,-53.6],[18.95,-51.5],[10.9,-45.6],[5.85,-36.6],[4.1,-25.2],[5.9,-14.1],[11.1,-5.75],[19.45,-.5],[30.7,1.3]],c:!0},ix:2},nm:"e",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"e",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"r",size:35,style:"SemiBold",w:42.2,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.167,2.434],[-1.9,1.334],[-2.6,0],[-1.1,-.166],[-1.067,-.4],[0,0],[.766,.067],[.666,0],[2.266,-1.433],[1.266,-2.833],[.6,-4.266],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[.6,-3.333],[1.166,-2.433],[1.9,-1.333],[.933,0],[1.1,.167],[0,0],[-.934,-.266],[-.767,-.066],[-3.334,0],[-2.267,1.434],[-1.267,2.834],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[19.7,0],[19.7,-24.4],[22.35,-33.05],[26.95,-38.7],[33.7,-40.7],[36.75,-40.45],[40,-39.6],[40.5,-52.9],[37.95,-53.4],[35.8,-53.5],[27.4,-51.35],[22.1,-44.95],[19.3,-34.3],[17.5,-34.3],[17.7,-52.3],[7.1,-52.3],[7.1,-26.2],[7.1,0]],c:!0},ix:2},nm:"r",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"r",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:" ",size:35,style:"SemiBold",w:23.8,data:{},fFamily:"Bricolage Grotesque"},{ch:"l",size:35,style:"SemiBold",w:26.6,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[19.5,0],[19.5,-71],[7.1,-71],[7.1,0]],c:!0},ix:2},nm:"l",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"l",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"i",size:35,style:"SemiBold",w:26.8,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[19.7,0],[19.7,-52.3],[7.1,-52.3],[7.1,0]],c:!0},ix:2},nm:"i",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-1.367,1.1],[0,2.067],[1.333,1.067],[2.666,0],[1.366,-1.1],[0,-2.066],[-1.367,-1.1],[-2.534,0]],o:[[1.366,-1.1],[0,-2.133],[-1.334,-1.066],[-2.534,0],[-1.367,1.1],[0,2.067],[1.366,1.1],[2.6,0]],v:[[19.35,-62.15],[21.4,-66.9],[19.4,-71.7],[13.4,-73.3],[7.55,-71.65],[5.5,-66.9],[7.55,-62.15],[13.4,-60.5]],c:!0},ix:2},nm:"i",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"i",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"c",size:35,style:"SemiBold",w:56,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.734,.866],[-1.967,1.634],[-1.134,2.2],[-.4,2.734],[0,0],[.9,-1.666],[1.7,-1.033],[2.733,0],[2.066,1.434],[1,2.6],[0,3.667],[-.567,2.167],[-1.034,1.534],[-1.567,.834],[-2.134,0],[-1.6,-.866],[-.934,-1.566],[-.134,-2],[0,0],[1.933,2.5],[3.1,1.4],[4.2,0],[3.233,-1.4],[2.2,-2.533],[1.1,-3.4],[0,-4.066],[-1.067,-3.266],[-2.167,-2.433],[-3.3,-1.333],[-4.534,0]],o:[[2.733,-.866],[1.966,-1.633],[1.133,-2.2],[0,0],[-.2,2],[-.9,1.667],[-1.7,1.034],[-3.067,0],[-2.067,-1.433],[-1,-2.6],[0,-2.666],[.566,-2.166],[1.033,-1.533],[1.566,-.833],[2.2,0],[1.6,.867],[.933,1.567],[0,0],[-.667,-3.333],[-1.934,-2.5],[-3.1,-1.4],[-4.2,0],[-3.234,1.4],[-2.2,2.534],[-1.1,3.4],[0,3.8],[1.066,3.267],[2.166,2.434],[3.3,1.333],[3.6,0]],v:[[40.1,0],[47.15,-3.75],[51.8,-9.5],[54.1,-16.9],[42.9,-19.4],[41.25,-13.9],[37.35,-9.85],[30.7,-8.3],[23,-10.45],[18.4,-16.5],[16.9,-25.9],[17.75,-33.15],[20.15,-38.7],[24.05,-42.25],[29.6,-43.5],[35.3,-42.2],[39.1,-38.55],[40.7,-33.2],[52.5,-36.9],[48.6,-45.65],[41.05,-51.5],[30.1,-53.6],[18.95,-51.5],[10.8,-45.6],[5.85,-36.7],[4.2,-25.5],[5.8,-14.9],[10.65,-6.35],[18.85,-.7],[30.6,1.3]],c:!0},ix:2},nm:"c",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"c",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"k",size:35,style:"SemiBold",w:57.6,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[-2.034,-1.433],[-1.367,-2.566],[-1.267,-3.333],[0,0],[0,0],[0,0],[1.3,2.634],[1.933,2],[2.8,1],[4.133,-.6],[0,0],[-2.867,1.567],[-2.3,2.134],[-1.734,2.534],[-1.067,2.6],[0,0],[1.333,-1.9],[1.733,-1.866],[2.066,-1.7],[2.266,-1.4],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[3.2,0],[2.033,1.434],[1.366,2.567],[0,0],[0,0],[0,0],[-1.134,-2.733],[-1.3,-2.633],[-1.934,-2],[-2.8,-1],[0,0],[3.266,-.6],[2.866,-1.566],[2.3,-2.133],[1.733,-2.533],[0,0],[-.867,1.734],[-1.334,1.9],[-1.734,1.867],[-2.067,1.7],[0,0],[0,0],[0,0],[0,0]],v:[[19.5,0],[19.5,-21.8],[23.1,-21.8],[30.95,-19.65],[36.05,-13.65],[40,-4.8],[41.6,0],[55.5,0],[52.9,-7.3],[49.25,-15.35],[44.4,-22.3],[37.3,-26.8],[26.9,-27.4],[26.9,-28.8],[36.1,-32.05],[43.85,-37.6],[49.9,-44.6],[54.1,-52.3],[39.6,-52.3],[36.3,-46.85],[31.7,-41.2],[26,-35.85],[19.5,-31.2],[19.5,-71.1],[7.1,-71.1],[7.1,0]],c:!0},ix:2},nm:"k",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"k",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"n",size:35,style:"SemiBold",w:61.9,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.034,2.9],[-1.934,1.767],[-2.8,0],[-1.7,-2.633],[0,-5.666],[0,0],[0,0],[0,0],[3.1,4.2],[5.933,0],[2.466,-1.266],[1.566,-2.533],[.933,-3.933],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[.066,-3.466],[1.033,-2.9],[1.933,-1.766],[3.333,0],[1.7,2.634],[0,0],[0,0],[0,0],[0,-8.8],[-3.1,-4.2],[-3.267,0],[-2.467,1.267],[-1.567,2.534],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[19.7,0],[19.7,-23.7],[21.35,-33.25],[25.8,-40.25],[32.9,-42.9],[40.45,-38.95],[43,-26.5],[43,0],[55.7,0],[55.7,-27.8],[51.05,-47.3],[37.5,-53.6],[28.9,-51.7],[22.85,-46],[19.1,-36.3],[17.3,-36.3],[17.6,-52.3],[7.1,-52.3],[7.1,-31.9],[7.1,0]],c:!0},ix:2},nm:"n",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"n",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"g",size:35,style:"SemiBold",w:59.7,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-4.3,1.133],[-2.167,2.433],[0,3.8],[1.433,1.867],[2.1,.867],[2.1,.2],[1.333,0],[0,0],[1.066,.134],[.666,.367],[0,.534],[-.867,.767],[-1.4,1],[-1,-.066],[-.867,0],[-3.3,1.167],[-1.734,2.1],[0,2.734],[1.966,1.667],[4.133,.667],[0,0],[0,0],[0,0],[0,0],[3.633,-1.5],[1.866,-2.6],[0,-3.4],[-2.267,-2.366],[-4.067,-.2],[0,0],[1.833,-1.4],[0,-1.8],[-1.867,-.833],[-3.6,.067],[0,0],[2.433,-1.966],[0,-3.067],[-1.734,-1.734],[-3.634,-.867],[-5.667,0]],o:[[4.3,-1.134],[2.166,-2.434],[0,-3.4],[-1.434,-1.866],[-2.1,-.866],[-2.1,-.2],[0,0],[-1,0],[-1.067,-.133],[-.667,-.366],[0,-.666],[.866,-.766],[2.133,.267],[1,.067],[4.666,0],[3.3,-1.166],[1.733,-2.1],[0,-2.866],[-1.967,-1.666],[0,0],[0,0],[0,0],[0,0],[-5.2,0],[-3.634,1.5],[-1.867,2.6],[0,3.8],[2.266,2.367],[0,0],[-4.267,.934],[-1.834,1.4],[0,1.867],[1.866,.834],[0,0],[-4.8,.467],[-2.434,1.966],[0,2.533],[1.733,1.733],[3.633,.866],[6.4,0]],v:[[43.45,16.3],[53.15,10.95],[56.4,1.6],[54.25,-6.3],[48.95,-10.4],[42.65,-12],[37.5,-12.3],[23.6,-12.3],[20.5,-12.5],[17.9,-13.25],[16.9,-14.6],[18.2,-16.75],[21.6,-19.4],[26.3,-18.9],[29.1,-18.8],[41.05,-20.55],[48.6,-25.45],[51.2,-32.7],[48.25,-39.5],[39.1,-43],[39.1,-45.2],[55.5,-42.8],[55.5,-52.8],[29.6,-52.8],[16.35,-50.55],[8.1,-44.4],[5.3,-35.4],[8.7,-26.15],[18.2,-22.3],[18.2,-20.3],[9.05,-16.8],[6.3,-12],[9.1,-7.95],[17.3,-6.8],[17.3,-4.8],[6.45,-1.15],[2.8,6.4],[5.4,12.8],[13.45,16.7],[27.4,18]],c:!0},ix:2},nm:"g",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[2.033,.266],[1.066,.833],[0,1.6],[-1.3,1.334],[-3.2,.467],[0,0],[-1.067,-.066],[-1.034,-.333],[-.667,-.833],[0,-1.466],[1.066,-1.034],[2.466,-.467],[4.133,0]],o:[[-2.034,-.267],[-1.067,-.834],[0,-1.6],[1.3,-1.333],[0,0],[.733,0],[1.066,.067],[1.033,.334],[.666,.834],[0,1.6],[-1.067,1.033],[-2.467,.466],[-2.867,0]],v:[[21.15,7.4],[16.5,5.75],[14.9,2.1],[16.85,-2.3],[23.6,-5],[35.9,-5],[38.6,-4.9],[41.75,-4.3],[44.3,-2.55],[45.3,.9],[43.7,4.85],[38.4,7.1],[28.5,7.8]],c:!0},ix:2},nm:"g",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[1.633,.767],[.833,1.367],[0,1.8],[-1.9,1.8],[-3.467,0],[-1.834,-1.833],[0,-2.866],[1.8,-1.633],[3.466,0]],o:[[-1.634,-.766],[-.834,-1.366],[0,-2.8],[1.9,-1.8],[3.466,0],[1.833,1.834],[0,2.667],[-1.8,1.634],[-2.4,0]],v:[[22.75,-26.85],[19.05,-30.05],[17.8,-34.8],[20.65,-41.7],[28.7,-44.4],[36.65,-41.65],[39.4,-34.6],[36.7,-28.15],[28.8,-25.7]],c:!0},ix:2},nm:"g",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"g",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"]",size:35,style:"SemiBold",w:31,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,-68.1],[11.7,-68.1],[11.7,11.9],[23.4,11.9]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,2.1],[1.6,2.1],[1.6,11.9],[23.4,11.9]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,-69.5],[1.6,-69.5],[1.6,-59.7],[23.4,-59.7]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"]",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"}]}});var D1=nt((CI,Jy)=>{Jy.exports={v:"5.9.0",fr:25,ip:0,op:55,w:1080,h:1080,nm:"Crack",ddd:0,assets:[],fonts:{list:[{fName:"BricolageGrotesque-SemiBold",fFamily:"Bricolage Grotesque",fStyle:"SemiBold",ascent:70.9991455078125}]},layers:[{ddd:0,ind:1,ty:5,nm:"[Crack] 4",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:8,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:43,s:[100]},{t:55,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.933,s:[0]},{t:42.9326171875,s:[0]}],ix:10},p:{a:1,k:[{i:{x:0,y:1},o:{x:.333,y:0},t:13.933,s:[540.038,540,0],to:[0,0,0],ti:[0,0,0]},{t:42.9326171875,s:[565.884,491.118,0]}],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:0,k:[219.2,219.2,100],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[65.125,-65.824],[1.898,-52.58],[-.351,-30.096],[-30.092,-17.059],[-29.01,-15.545],[5.594,-23.475],[22.214,-20.878],[74.118,-41.144],[74.602,-45.623]],c:!0},ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 4"}],t:{d:{k:[{s:{s:60,f:"BricolageGrotesque-SemiBold",t:"[Crack]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:124,st:0,bm:0},{ddd:0,ind:2,ty:5,nm:"[Crack] 3",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:8,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:43,s:[100]},{t:55,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.933,s:[0]},{t:42.9326171875,s:[5]}],ix:10},p:{a:1,k:[{i:{x:0,y:1},o:{x:.333,y:0},t:13.933,s:[540.038,540,0],to:[0,0,0],ti:[0,0,0]},{t:42.9326171875,s:[564.132,528.753,0]}],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:0,k:[219.2,219.2,100],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[110.576,-61.154],[60.144,-36.872],[22.419,-21.167],[5.395,-23.982],[-30.972,-14.499],[-1.728,5.465],[20.336,19.357],[115.673,21.264],[118.942,-58.547]],c:!0},ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 2"}],t:{d:{k:[{s:{s:60,f:"BricolageGrotesque-SemiBold",t:"[Crack]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:124,st:0,bm:0},{ddd:0,ind:3,ty:5,nm:"[Crack] 2",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:8,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:43,s:[100]},{t:55,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.933,s:[0]},{t:42.9326171875,s:[-3]}],ix:10},p:{a:1,k:[{i:{x:0,y:1},o:{x:.333,y:0},t:13.933,s:[540.038,540,0],to:[0,0,0],ti:[0,0,0]},{t:42.9326171875,s:[538.21,551.886,0]}],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:0,k:[219.2,219.2,100],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-31.431,-15.87],[-51.287,-14.824],[-70.319,-13.094],[-116.169,11.418],[-116.602,18.915],[-5.386,14.026],[-.094,4.998]],c:!0},ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 3"}],t:{d:{k:[{s:{s:60,f:"BricolageGrotesque-SemiBold",t:"[Crack]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:124,st:0,bm:0},{ddd:0,ind:4,ty:5,nm:"[Crack]",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:8,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:43,s:[100]},{t:55,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.933,s:[0]},{t:42.9326171875,s:[6]}],ix:10},p:{a:1,k:[{i:{x:0,y:1},o:{x:.333,y:0},t:13.933,s:[540.038,540,0],to:[0,0,0],ti:[0,0,0]},{t:42.9326171875,s:[512.61,530.857,0]}],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:0,k:[219.2,219.2,100],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[4.787,-61.116],[-124.775,-61.116],[-116.746,14.432],[-70.03,-12.21],[-50.687,-13.67],[-33.534,-15.13],[.408,-29.364]],c:!0},ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 1"}],t:{d:{k:[{s:{s:60,f:"BricolageGrotesque-SemiBold",t:"[Crack]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:124,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"Shape Layer 12",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-43.457,1.147],[-3.424,-8.686],[6.76,-10.793],[31.693,-7.632],[111.056,-39.94],[135.76,-53.004]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:22.666015625,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:5,op:132,st:7,bm:0},{ddd:0,ind:6,ty:4,nm:"Shape Layer 11",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-43.556,1.111],[-34.667,11.333],[-22,14.667],[-5.556,28.444],[3.556,33.778]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:22.666015625,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:5,op:132,st:7,bm:0},{ddd:0,ind:7,ty:4,nm:"Shape Layer 10",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.341,1.656],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[.273,-.365],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-141.614,32.195],[-139.316,28.612],[-99.333,6],[-83.111,3.333],[-60.667,3.778],[-41.778,.889],[0,-21.111],[5.778,-44.444]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.309],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:24.9326171875,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.309],y:[1]},o:{x:[.333],y:[0]},t:7.933,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:125,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"Shape Layer 9",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-43.457,1.147],[-3.424,-8.686],[6.76,-10.793],[31.693,-7.632],[111.056,-39.94],[135.76,-53.004]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:22.666015625,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:5,op:132,st:7,bm:0},{ddd:0,ind:9,ty:4,nm:"Shape Layer 8",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-43.556,1.111],[-34.667,11.333],[-22,14.667],[-5.556,28.444],[3.556,33.778]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:22.666015625,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:5,op:132,st:7,bm:0},{ddd:0,ind:10,ty:4,nm:"Shape Layer 7",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.341,1.656],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[.273,-.365],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-141.614,32.195],[-139.316,28.612],[-99.333,6],[-83.111,3.333],[-60.667,3.778],[-41.778,.889],[0,-21.111],[5.778,-44.444]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.309],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:24.9326171875,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.309],y:[1]},o:{x:[.333],y:[0]},t:7.933,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:125,st:0,bm:0},{ddd:0,ind:11,ty:4,nm:"Shape Layer 6",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-43.457,1.147],[-3.424,-8.686],[6.76,-10.793],[31.693,-7.632],[111.056,-39.94],[135.76,-53.004]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:22.666015625,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:5,op:132,st:7,bm:0},{ddd:0,ind:12,ty:4,nm:"Shape Layer 5",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-43.556,1.111],[-34.667,11.333],[-22,14.667],[-5.556,28.444],[3.556,33.778]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:22.666015625,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:5,op:132,st:7,bm:0},{ddd:0,ind:13,ty:4,nm:"Shape Layer 4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.341,1.656],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[.273,-.365],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-141.614,32.195],[-139.316,28.612],[-99.333,6],[-83.111,3.333],[-60.667,3.778],[-41.778,.889],[0,-21.111],[5.778,-44.444]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.309],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:24.9326171875,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.309],y:[1]},o:{x:[.333],y:[0]},t:7.933,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:125,st:0,bm:0},{ddd:0,ind:14,ty:4,nm:"Shape Layer 3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-43.457,1.147],[-3.424,-8.686],[6.76,-10.793],[31.693,-7.632],[111.056,-39.94],[135.76,-53.004]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:22.666015625,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:5,op:132,st:7,bm:0},{ddd:0,ind:15,ty:4,nm:"Shape Layer 2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-43.556,1.111],[-34.667,11.333],[-22,14.667],[-5.556,28.444],[3.556,33.778]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:22.666015625,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:5,op:132,st:7,bm:0},{ddd:0,ind:16,ty:4,nm:"Shape Layer 1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.341,1.656],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[.273,-.365],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-141.614,32.195],[-139.316,28.612],[-99.333,6],[-83.111,3.333],[-60.667,3.778],[-41.778,.889],[0,-21.111],[5.778,-44.444]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.309],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:24.9326171875,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.309],y:[1]},o:{x:[.333],y:[0]},t:7.933,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:125,st:0,bm:0}],markers:[],chars:[{ch:"[",size:60,style:"SemiBold",w:32,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[19.5,11.9],[19.5,-68.1],[7.8,-68.1],[7.8,11.9]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29.6,11.9],[29.6,2.1],[7.8,2.1],[7.8,11.9]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29.6,-59.7],[29.6,-69.5],[7.8,-69.5],[7.8,-59.7]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"[",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"C",size:60,style:"SemiBold",w:67.5,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.4,1.266],[-2.1,2.267],[-1,3.067],[-.067,3.467],[0,0],[1,-2.5],[2.2,-1.5],[3.733,0],[2.9,1.634],[1.633,3.467],[0,5.6],[-1,3.034],[-1.667,1.867],[-2.1,.867],[-2.134,0],[-2.1,-1],[-1.334,-2],[.066,-3],[0,0],[1.266,2.567],[2.233,1.834],[3.066,.934],[3.6,0],[3.8,-1.533],[2.733,-3.033],[1.5,-4.333],[0,-5.6],[-1.467,-4.2],[-2.734,-2.833],[-3.934,-1.433],[-5,0]],o:[[3.4,-1.266],[2.1,-2.266],[1,-3.066],[0,0],[-.134,2.934],[-1,2.5],[-2.2,1.5],[-3.667,0],[-2.9,-1.633],[-1.634,-3.466],[0,-4.4],[1,-3.033],[1.666,-1.866],[2.1,-.866],[2.4,0],[2.1,1],[1.333,2],[0,0],[-.067,-3.266],[-1.267,-2.566],[-2.234,-1.833],[-3.067,-.933],[-4.667,0],[-3.8,1.534],[-2.734,3.034],[-1.5,4.334],[0,5.4],[1.466,4.2],[2.733,2.834],[3.933,1.433],[4.866,0]],v:[[49.6,-.6],[57.85,-5.9],[62.5,-13.9],[64.1,-23.7],[53,-25.6],[51.3,-17.45],[46.5,-11.45],[37.6,-9.2],[27.75,-11.65],[20.95,-19.3],[18.5,-32.9],[20,-44.05],[24,-51.4],[29.65,-55.5],[36,-56.8],[42.75,-55.3],[47.9,-50.8],[49.8,-43.3],[61.6,-46.4],[59.6,-55.15],[54.35,-61.75],[46.4,-65.9],[36.4,-67.3],[23.7,-65],[13.9,-58.15],[7.55,-47.1],[5.3,-32.2],[7.5,-17.8],[13.8,-7.25],[23.8,-.85],[37.2,1.3]],c:!0},ix:2},nm:"C",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"C",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"r",size:60,style:"SemiBold",w:42.2,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.167,2.434],[-1.9,1.334],[-2.6,0],[-1.1,-.166],[-1.067,-.4],[0,0],[.766,.067],[.666,0],[2.266,-1.433],[1.266,-2.833],[.6,-4.266],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[.6,-3.333],[1.166,-2.433],[1.9,-1.333],[.933,0],[1.1,.167],[0,0],[-.934,-.266],[-.767,-.066],[-3.334,0],[-2.267,1.434],[-1.267,2.834],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[19.7,0],[19.7,-24.4],[22.35,-33.05],[26.95,-38.7],[33.7,-40.7],[36.75,-40.45],[40,-39.6],[40.5,-52.9],[37.95,-53.4],[35.8,-53.5],[27.4,-51.35],[22.1,-44.95],[19.3,-34.3],[17.5,-34.3],[17.7,-52.3],[7.1,-52.3],[7.1,-26.2],[7.1,0]],c:!0},ix:2},nm:"r",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"r",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"a",size:60,style:"SemiBold",w:57.5,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.5,1.233],[-1.734,2.1],[-.934,2.534],[0,0],[-.2,-2.133],[-.267,-1.866],[0,0],[.166,2.434],[.1,2.434],[0,2.267],[0,0],[1.533,3.3],[3.133,1.567],[4.866,0],[2.666,-.666],[2.066,-1.4],[1.4,-1.966],[.733,-2.666],[0,0],[-1.267,1.434],[-1.767,.667],[-1.934,0],[-1.434,-1.5],[0,-2.066],[.666,-.7],[1.433,-.333],[2.266,-.333],[3.066,-.833],[2.066,-1.233],[1.033,-1.933],[0,-2.733],[-1.3,-2.2],[-2.267,-1.1],[-2.867,0]],o:[[2.5,-1.233],[1.733,-2.1],[0,0],[.133,2.2],[.2,2.134],[0,0],[-.267,-2.266],[-.167,-2.433],[-.1,-2.433],[0,0],[0,-5.2],[-1.534,-3.3],[-3.134,-1.566],[-3.2,0],[-2.667,.667],[-2.067,1.4],[-1.4,1.967],[0,0],[.466,-2.333],[1.266,-1.433],[1.766,-.666],[3.2,0],[1.433,1.5],[0,1.4],[-.667,.7],[-1.434,.334],[-4.134,.6],[-3.067,.834],[-2.067,1.234],[-1.034,1.934],[0,3.267],[1.3,2.2],[2.266,1.1],[3.266,0]],v:[[27.85,-.55],[34.2,-5.55],[38.2,-12.5],[39.8,-12.5],[40.3,-6],[41,0],[52.3,0],[51.65,-7.05],[51.25,-14.35],[51.1,-21.4],[51.1,-31.2],[48.8,-43.95],[41.8,-51.25],[29.8,-53.6],[21,-52.6],[13.9,-49.5],[8.7,-44.45],[5.5,-37.5],[16.8,-34],[19.4,-39.65],[23.95,-42.8],[29.5,-43.8],[36.45,-41.55],[38.6,-36.2],[37.6,-33.05],[34.45,-31.5],[28.9,-30.5],[18.1,-28.35],[10.4,-25.25],[5.75,-20.5],[4.2,-13.5],[6.15,-5.3],[11.5,-.35],[19.2,1.3]],c:!0},ix:2},nm:"a",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[1.466,1.267],[0,2.267],[-.867,1.034],[-1.467,.567],[-1.834,.367],[-1.834,.267],[-1.667,.534],[-1.134,.934],[0,0],[0,0],[1.133,-1.366],[1.333,-.933],[1.366,-.466],[1.333,0]],o:[[-1.467,-1.266],[0,-1.8],[.866,-1.033],[1.466,-.566],[1.833,-.366],[1.833,-.266],[1.666,-.533],[0,0],[0,0],[-.8,1.867],[-1.134,1.367],[-1.334,.934],[-1.367,.467],[-2.267,0]],v:[[18.6,-9.9],[16.4,-15.2],[17.7,-19.45],[21.2,-21.85],[26.15,-23.25],[31.65,-24.2],[36.9,-25.4],[41.1,-27.6],[38.7,-28],[38.9,-19.1],[36,-14.25],[32.3,-10.8],[28.25,-8.7],[24.2,-8]],c:!0},ix:2},nm:"a",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"a",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"c",size:60,style:"SemiBold",w:56,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.734,.866],[-1.967,1.634],[-1.134,2.2],[-.4,2.734],[0,0],[.9,-1.666],[1.7,-1.033],[2.733,0],[2.066,1.434],[1,2.6],[0,3.667],[-.567,2.167],[-1.034,1.534],[-1.567,.834],[-2.134,0],[-1.6,-.866],[-.934,-1.566],[-.134,-2],[0,0],[1.933,2.5],[3.1,1.4],[4.2,0],[3.233,-1.4],[2.2,-2.533],[1.1,-3.4],[0,-4.066],[-1.067,-3.266],[-2.167,-2.433],[-3.3,-1.333],[-4.534,0]],o:[[2.733,-.866],[1.966,-1.633],[1.133,-2.2],[0,0],[-.2,2],[-.9,1.667],[-1.7,1.034],[-3.067,0],[-2.067,-1.433],[-1,-2.6],[0,-2.666],[.566,-2.166],[1.033,-1.533],[1.566,-.833],[2.2,0],[1.6,.867],[.933,1.567],[0,0],[-.667,-3.333],[-1.934,-2.5],[-3.1,-1.4],[-4.2,0],[-3.234,1.4],[-2.2,2.534],[-1.1,3.4],[0,3.8],[1.066,3.267],[2.166,2.434],[3.3,1.333],[3.6,0]],v:[[40.1,0],[47.15,-3.75],[51.8,-9.5],[54.1,-16.9],[42.9,-19.4],[41.25,-13.9],[37.35,-9.85],[30.7,-8.3],[23,-10.45],[18.4,-16.5],[16.9,-25.9],[17.75,-33.15],[20.15,-38.7],[24.05,-42.25],[29.6,-43.5],[35.3,-42.2],[39.1,-38.55],[40.7,-33.2],[52.5,-36.9],[48.6,-45.65],[41.05,-51.5],[30.1,-53.6],[18.95,-51.5],[10.8,-45.6],[5.85,-36.7],[4.2,-25.5],[5.8,-14.9],[10.65,-6.35],[18.85,-.7],[30.6,1.3]],c:!0},ix:2},nm:"c",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"c",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"k",size:60,style:"SemiBold",w:57.6,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[-2.034,-1.433],[-1.367,-2.566],[-1.267,-3.333],[0,0],[0,0],[0,0],[1.3,2.634],[1.933,2],[2.8,1],[4.133,-.6],[0,0],[-2.867,1.567],[-2.3,2.134],[-1.734,2.534],[-1.067,2.6],[0,0],[1.333,-1.9],[1.733,-1.866],[2.066,-1.7],[2.266,-1.4],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[3.2,0],[2.033,1.434],[1.366,2.567],[0,0],[0,0],[0,0],[-1.134,-2.733],[-1.3,-2.633],[-1.934,-2],[-2.8,-1],[0,0],[3.266,-.6],[2.866,-1.566],[2.3,-2.133],[1.733,-2.533],[0,0],[-.867,1.734],[-1.334,1.9],[-1.734,1.867],[-2.067,1.7],[0,0],[0,0],[0,0],[0,0]],v:[[19.5,0],[19.5,-21.8],[23.1,-21.8],[30.95,-19.65],[36.05,-13.65],[40,-4.8],[41.6,0],[55.5,0],[52.9,-7.3],[49.25,-15.35],[44.4,-22.3],[37.3,-26.8],[26.9,-27.4],[26.9,-28.8],[36.1,-32.05],[43.85,-37.6],[49.9,-44.6],[54.1,-52.3],[39.6,-52.3],[36.3,-46.85],[31.7,-41.2],[26,-35.85],[19.5,-31.2],[19.5,-71.1],[7.1,-71.1],[7.1,0]],c:!0},ix:2},nm:"k",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"k",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"]",size:60,style:"SemiBold",w:31,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,-68.1],[11.7,-68.1],[11.7,11.9],[23.4,11.9]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,2.1],[1.6,2.1],[1.6,11.9],[23.4,11.9]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,-69.5],[1.6,-69.5],[1.6,-59.7],[23.4,-59.7]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"]",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"}]}});var N1=nt((xI,Zy)=>{Zy.exports={v:"5.9.0",fr:29.9700012207031,ip:0,op:41.0000016699642,w:1080,h:1080,nm:"Siren",ddd:0,assets:[],fonts:{list:[{fName:"BricolageGrotesque-Medium",fFamily:"Bricolage Grotesque",fStyle:"Medium",ascent:70.4986572265625}]},layers:[{ddd:0,ind:1,ty:5,nm:"[Siren] 2",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:7,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:32,s:[100]},{t:41.0000016699642,s:[0]}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,536.912,0],ix:2,l:2},a:{a:0,k:[150.864,-28.49,0],ix:1,l:2},s:{a:1,k:[{i:{x:[0,0,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:5.278,s:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[1,1,.333],y:[0,0,0]},t:23,s:[104,104,100]},{t:40.0000016292334,s:[100,100,100]}],ix:6,l:2}},ao:0,ef:[{ty:5,nm:"Turbulent Displace",np:16,mn:"ADBE Turbulent Displace",ix:1,en:1,ef:[{ty:7,nm:"Displacement",mn:"ADBE Turbulent Displace-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:0,nm:"Amount",mn:"ADBE Turbulent Displace-0002",ix:2,v:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5.278,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11.591,s:[27]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:33.688,s:[27]},{t:40.0000016292334,s:[0]}],ix:2}},{ty:0,nm:"Size",mn:"ADBE Turbulent Displace-0003",ix:3,v:{a:0,k:17,ix:3}},{ty:3,nm:"Offset (Turbulence)",mn:"ADBE Turbulent Displace-0004",ix:4,v:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:5.278,s:[539,494],to:[0,0],ti:[0,0]},{t:125.000005091354,s:[536,764]}],ix:4}},{ty:0,nm:"Complexity",mn:"ADBE Turbulent Displace-0005",ix:5,v:{a:0,k:2.44,ix:5}},{ty:0,nm:"Evolution",mn:"ADBE Turbulent Displace-0006",ix:6,v:{a:0,k:0,ix:6}},{ty:6,nm:"Evolution Options",mn:"ADBE Turbulent Displace-0007",ix:7,v:0},{ty:7,nm:"Cycle Evolution",mn:"ADBE Turbulent Displace-0008",ix:8,v:{a:0,k:1,ix:8}},{ty:0,nm:"Cycle (in Revolutions)",mn:"ADBE Turbulent Displace-0009",ix:9,v:{a:0,k:5,ix:9}},{ty:0,nm:"Random Seed",mn:"ADBE Turbulent Displace-0010",ix:10,v:{a:0,k:0,ix:10}},{ty:6,nm:"Random Seed",mn:"ADBE Turbulent Displace-0011",ix:11,v:0},{ty:7,nm:"Pinning",mn:"ADBE Turbulent Displace-0012",ix:12,v:{a:0,k:3,ix:12}},{ty:7,nm:"Resize Layer",mn:"ADBE Turbulent Displace-0013",ix:13,v:{a:0,k:0,ix:13}},{ty:7,nm:"Antialiasing for Best Quality",mn:"ADBE Turbulent Displace-0014",ix:14,v:{a:0,k:2,ix:14}}]},{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:2,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:20,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],sy:[{c:{a:0,k:[0,0,0,1],ix:2},o:{a:0,k:75,ix:3},a:{a:0,k:120,ix:5},s:{a:0,k:5,ix:8},d:{a:0,k:5,ix:6},ch:{a:0,k:0,ix:7},bm:{a:0,k:5,ix:1},no:{a:0,k:0,ix:9},lc:{a:0,k:1,ix:10},ty:1,nm:"Drop Shadow"}],t:{d:{k:[{s:{s:94,f:"BricolageGrotesque-Medium",t:"[Siren]",ca:0,j:0,tr:0,lh:112.800003051758,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:178.000007250089,st:0,bm:0},{ddd:0,ind:2,ty:5,nm:"[Siren]",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,536.912,0],ix:2,l:2},a:{a:0,k:[150.864,-28.49,0],ix:1,l:2},s:{a:1,k:[{i:{x:[0,0,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:5.278,s:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[1,1,.333],y:[0,0,0]},t:23,s:[104,104,100]},{t:40.0000016292334,s:[100,100,100]}],ix:6,l:2}},ao:0,ef:[{ty:5,nm:"Turbulent Displace",np:16,mn:"ADBE Turbulent Displace",ix:1,en:1,ef:[{ty:7,nm:"Displacement",mn:"ADBE Turbulent Displace-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:0,nm:"Amount",mn:"ADBE Turbulent Displace-0002",ix:2,v:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5.278,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11.591,s:[27]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:33.688,s:[27]},{t:40.0000016292334,s:[0]}],ix:2}},{ty:0,nm:"Size",mn:"ADBE Turbulent Displace-0003",ix:3,v:{a:0,k:17,ix:3}},{ty:3,nm:"Offset (Turbulence)",mn:"ADBE Turbulent Displace-0004",ix:4,v:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:5.278,s:[539,494],to:[0,0],ti:[0,0]},{t:125.000005091354,s:[536,764]}],ix:4}},{ty:0,nm:"Complexity",mn:"ADBE Turbulent Displace-0005",ix:5,v:{a:0,k:2.44,ix:5}},{ty:0,nm:"Evolution",mn:"ADBE Turbulent Displace-0006",ix:6,v:{a:0,k:0,ix:6}},{ty:6,nm:"Evolution Options",mn:"ADBE Turbulent Displace-0007",ix:7,v:0},{ty:7,nm:"Cycle Evolution",mn:"ADBE Turbulent Displace-0008",ix:8,v:{a:0,k:1,ix:8}},{ty:0,nm:"Cycle (in Revolutions)",mn:"ADBE Turbulent Displace-0009",ix:9,v:{a:0,k:5,ix:9}},{ty:0,nm:"Random Seed",mn:"ADBE Turbulent Displace-0010",ix:10,v:{a:0,k:0,ix:10}},{ty:6,nm:"Random Seed",mn:"ADBE Turbulent Displace-0011",ix:11,v:0},{ty:7,nm:"Pinning",mn:"ADBE Turbulent Displace-0012",ix:12,v:{a:0,k:3,ix:12}},{ty:7,nm:"Resize Layer",mn:"ADBE Turbulent Displace-0013",ix:13,v:{a:0,k:0,ix:13}},{ty:7,nm:"Antialiasing for Best Quality",mn:"ADBE Turbulent Displace-0014",ix:14,v:{a:0,k:2,ix:14}}]}],sy:[{c:{a:0,k:[0,0,0,1],ix:2},o:{a:0,k:75,ix:3},a:{a:0,k:120,ix:5},s:{a:0,k:5,ix:8},d:{a:0,k:5,ix:6},ch:{a:0,k:0,ix:7},bm:{a:0,k:5,ix:1},no:{a:0,k:0,ix:9},lc:{a:0,k:1,ix:10},ty:1,nm:"Drop Shadow"}],t:{d:{k:[{s:{s:94,f:"BricolageGrotesque-Medium",t:"[Siren]",ca:0,j:0,tr:0,lh:112.800003051758,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:178.000007250089,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"BLue 6",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:9.593,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:35.778,s:[100]},{t:40.0000016292334,s:[0]}],ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:5,s:[778.623,540,0],to:[0,0,0],ti:[0,0,0]},{t:40.0000016292334,s:[308.786,540,0]}],ix:2,l:2},a:{a:0,k:[-1,19,0],ix:1,l:2},s:{a:1,k:[{i:{x:[0,0,.667],y:[1,1,1]},o:{x:[.401,.401,.333],y:[0,0,0]},t:5,s:[140,140,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[1,1,.333],y:[0,0,0]},t:23,s:[173.407,173.407,100]},{t:40.0000016292334,s:[140,140,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[54,54],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:5,k:{a:0,k:[0,1,.689,.689,.009,1,.61,.61,.093,1,.532,.532,.188,1,.266,.266,.447,1,0,0,0,1,.223,.715,.446,.43,.723,.215,1,0],ix:9}},s:{a:0,k:[0,0],ix:5},e:{a:0,k:[27.41,0],ix:6},t:2,h:{a:0,k:0,ix:7},a:{a:0,k:0,ix:8},nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[-1,19],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[111.661,111.661],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:178.000007250089,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"BLue 5",parent:3,sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:23,s:[33]},{t:40.0000016292334,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11,s:[-22]},{t:34.0000013848484,s:[12]}],ix:10},p:{a:0,k:[-1,19,0],ix:2,l:2},a:{a:0,k:[-1,19,0],ix:1,l:2},s:{a:0,k:[249.756,72.714,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[54,54],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,1,.624,.624,.111,1,.422,.422,.298,1,.221,.221,0,1,.149,1,.298,1,.648,.5,.998,0],ix:9}},s:{a:0,k:[0,0],ix:5},e:{a:0,k:[26.67,0],ix:6},t:2,h:{a:0,k:0,ix:7},a:{a:0,k:0,ix:8},nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[-1,19],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[158,158],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:178.000007250089,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"BLue 4",parent:3,sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:23,s:[50]},{t:40.0000016292334,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11,s:[39]},{t:34.0000013848484,s:[-38]}],ix:10},p:{a:0,k:[-1,19,0],ix:2,l:2},a:{a:0,k:[-1,19,0],ix:1,l:2},s:{a:0,k:[72.5,194.016,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[54,54],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,.82,.494,.494,.097,.91,.357,.357,.207,1,.221,.221,0,1,.1,.925,.201,.85,.506,.425,.812,0],ix:9}},s:{a:0,k:[0,0],ix:5},e:{a:0,k:[26.67,0],ix:6},t:2,h:{a:0,k:0,ix:7},a:{a:0,k:0,ix:8},nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[-1,19],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[158,158],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:178.000007250089,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"BLue",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:9.593,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:35.778,s:[100]},{t:40.0000016292334,s:[0]}],ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:5,s:[308.786,540,0],to:[0,0,0],ti:[0,0,0]},{t:40.0000016292334,s:[778.623,540,0]}],ix:2,l:2},a:{a:0,k:[-1,19,0],ix:1,l:2},s:{a:1,k:[{i:{x:[0,0,.667],y:[1,1,1]},o:{x:[.401,.401,.333],y:[0,0,0]},t:5,s:[140,140,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[1,1,.333],y:[0,0,0]},t:23,s:[173.407,173.407,100]},{t:40.0000016292334,s:[140,140,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[54,54],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:5,k:{a:0,k:[0,.688,.756,.984,.009,.615,.741,.992,.093,.542,.725,1,.188,.271,.531,1,.447,0,.337,1,0,1,.223,.715,.446,.43,.723,.215,1,0],ix:9}},s:{a:0,k:[0,0],ix:5},e:{a:0,k:[27.41,0],ix:6},t:2,h:{a:0,k:0,ix:7},a:{a:0,k:0,ix:8},nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[-1,19],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[111.661,111.661],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:178.000007250089,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"BLue 3",parent:6,sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:23,s:[33]},{t:40.0000016292334,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11,s:[12]},{t:34.3700013999188,s:[-22]}],ix:10},p:{a:0,k:[-1,19,0],ix:2,l:2},a:{a:0,k:[-1,19,0],ix:1,l:2},s:{a:0,k:[249.756,72.714,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[54,54],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,.624,.739,1,.111,.422,.581,1,.298,.221,.423,1,0,1,.149,1,.298,1,.648,.5,.998,0],ix:9}},s:{a:0,k:[0,0],ix:5},e:{a:0,k:[26.67,0],ix:6},t:2,h:{a:0,k:0,ix:7},a:{a:0,k:0,ix:8},nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[-1,19],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[158,158],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:178.000007250089,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"BLue 2",parent:6,sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:23,s:[50]},{t:40.0000016292334,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11,s:[-38]},{t:34.3700013999188,s:[39]}],ix:10},p:{a:0,k:[-1,19,0],ix:2,l:2},a:{a:0,k:[-1,19,0],ix:1,l:2},s:{a:0,k:[72.5,194.016,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[54,54],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,.494,.578,.82,.097,.357,.525,.91,.207,.221,.471,1,0,1,.1,.925,.201,.85,.506,.425,.812,0],ix:9}},s:{a:0,k:[0,0],ix:5},e:{a:0,k:[26.67,0],ix:6},t:2,h:{a:0,k:0,ix:7},a:{a:0,k:0,ix:8},nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[-1,19],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[158,158],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:178.000007250089,st:0,bm:0}],markers:[],chars:[{ch:"[",size:94,style:"Medium",w:31.5,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[18.4,11.9],[18.4,-67.5],[8.1,-67.5],[8.1,11.9]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29,11.9],[29,3.3],[8.1,3.3],[8.1,11.9]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29,-60.3],[29,-69],[8.1,-69],[8.1,-60.3]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"[",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"S",size:94,style:"Medium",w:65.1,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-4,1.6],[-2.034,2.867],[0,3.8],[1.4,2.3],[2.4,1.367],[2.833,.867],[2.866,.6],[2.833,.8],[1.666,1.4],[0,2.4],[-1.134,1.467],[-2.167,.834],[-2.867,0],[-2,-.6],[-1.4,-1.133],[-.767,-1.7],[0,-2.333],[0,0],[2.2,2.967],[3.833,1.534],[5.066,0],[3.633,-1.633],[2.033,-2.866],[0,-3.866],[-1.467,-2.266],[-2.534,-1.433],[-3.067,-.833],[-3.2,-.733],[-2.467,-.766],[-1.5,-1.3],[0,-2.2],[1.233,-1.533],[2.433,-.866],[3.533,0],[2.7,1.1],[1.433,2.234],[-.134,3.334],[0,0],[-1.2,-2.666],[-2.3,-1.8],[-3.367,-.866],[-4.267,0]],o:[[4,-1.6],[2.033,-2.866],[0,-3.466],[-1.4,-2.3],[-2.4,-1.366],[-2.834,-.866],[-3.2,-.733],[-2.834,-.8],[-1.667,-1.4],[0,-1.933],[1.133,-1.466],[2.166,-.833],[2.4,0],[2,.6],[1.4,1.134],[.766,1.7],[0,0],[-.134,-4.266],[-2.2,-2.966],[-3.834,-1.533],[-5.134,0],[-3.634,1.634],[-2.034,2.867],[0,3.534],[1.466,2.267],[2.533,1.434],[3.066,.834],[3.066,.667],[2.466,.767],[1.5,1.3],[0,1.934],[-1.234,1.534],[-2.434,.867],[-3.667,0],[-2.7,-1.1],[-1.434,-2.233],[0,0],[-.067,3.4],[1.2,2.667],[2.3,1.8],[3.366,.866],[6.066,0]],v:[[47.1,-1.1],[56.15,-7.8],[59.2,-17.8],[57.1,-26.45],[51.4,-31.95],[43.55,-35.3],[35,-37.5],[25.95,-39.8],[19.2,-43.1],[16.7,-48.8],[18.4,-53.9],[23.35,-57.35],[30.9,-58.6],[37.5,-57.7],[42.6,-55.1],[45.85,-50.85],[47,-44.8],[56.9,-47.4],[53.4,-58.25],[44.35,-65],[31,-67.3],[17.85,-64.85],[9.35,-58.1],[6.3,-48],[8.5,-39.3],[14.5,-33.75],[22.9,-30.35],[32.3,-28],[40.6,-25.85],[46.55,-22.75],[48.8,-17.5],[46.95,-12.3],[41.45,-8.7],[32.5,-7.4],[22.95,-9.05],[16.75,-14.05],[14.8,-22.4],[5.1,-19.8],[6.8,-10.7],[12.05,-4],[20.55,0],[32,1.3]],c:!0},ix:2},nm:"S",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"S",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"i",size:94,style:"Medium",w:25.9,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[18.3,0],[18.3,-52],[7.4,-52],[7.4,0]],c:!0},ix:2},nm:"i",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-1.234,.967],[0,1.867],[1.233,.967],[2.333,0],[1.2,-1],[0,-1.866],[-1.2,-1],[-2.334,0]],o:[[1.233,-.966],[0,-1.933],[-1.234,-.966],[-2.334,0],[-1.2,1],[0,1.8],[1.2,1],[2.333,0]],v:[[18.25,-62.05],[20.1,-66.3],[18.25,-70.65],[12.9,-72.1],[7.6,-70.6],[5.8,-66.3],[7.6,-62.1],[12.9,-60.6]],c:!0},ix:2},nm:"i",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"i",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"r",size:94,style:"Medium",w:41.1,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.234,2.667],[-1.934,1.5],[-2.6,0],[-1.067,-.166],[-.934,-.466],[0,0],[.833,.067],[.666,0],[2.233,-1.533],[1.266,-2.8],[.6,-4.2],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[.666,-3.466],[1.233,-2.666],[1.933,-1.5],[.933,0],[1.066,.167],[0,0],[-1,-.266],[-.834,-.066],[-3.134,0],[-2.234,1.534],[-1.267,2.8],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[18.3,0],[18.3,-24.6],[21.15,-33.8],[25.9,-40.05],[32.7,-42.3],[35.7,-42.05],[38.7,-41.1],[39.2,-52.6],[36.45,-53.1],[34.2,-53.2],[26.15,-50.9],[20.9,-44.4],[18.1,-33.9],[16.4,-33.9],[16.9,-52],[7.4,-52],[7.4,-27.1],[7.4,0]],c:!0},ix:2},nm:"r",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"r",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"e",size:94,style:"Medium",w:57.3,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.5,.7],[-1.9,1.367],[-1.167,1.934],[-.667,2.467],[0,0],[.633,-1.133],[1.033,-.866],[1.466,-.5],[2.066,0],[2.633,3.034],[0,6.067],[-1.2,2.9],[-2.167,1.5],[-2.867,0],[-2,-1.3],[-1.067,-2.6],[.4,-3.933],[0,0],[0,0],[0,0],[0,0],[1,3.634],[1.966,2.4],[2.9,1.2],[3.666,0],[3.133,-1.4],[2.1,-2.5],[1.1,-3.466],[0,-4.066],[-1.1,-3.233],[-2.2,-2.3],[-3.2,-1.2],[-4.134,0]],o:[[2.5,-.7],[1.9,-1.366],[1.166,-1.933],[0,0],[-.4,1.267],[-.634,1.134],[-1.034,.867],[-1.467,.5],[-4.934,0],[-2.634,-3.033],[0,-4],[1.2,-2.9],[2.166,-1.5],[2.666,0],[2,1.3],[1.066,2.6],[0,0],[0,0],[0,0],[0,0],[.2,-4.866],[-1,-3.633],[-1.967,-2.4],[-2.9,-1.2],[-3.867,0],[-3.134,1.4],[-2.1,2.5],[-1.1,3.467],[0,4.134],[1.1,3.234],[2.2,2.3],[3.2,1.2],[3.266,0]],v:[[39.05,.25],[45.65,-2.85],[50.25,-7.8],[53,-14.4],[43.5,-16.5],[41.95,-12.9],[39.45,-9.9],[35.7,-7.85],[30.4,-7.1],[19.05,-11.65],[15.1,-25.3],[16.9,-35.65],[21.95,-42.25],[29.5,-44.5],[36.5,-42.55],[41.1,-36.7],[42.1,-26.9],[45.9,-31],[11.6,-30.6],[11.6,-23.9],[52.3,-24.3],[51.1,-37.05],[46.65,-46.1],[39.35,-51.5],[29.5,-53.3],[19,-51.2],[11.15,-45.35],[6.35,-36.4],[4.7,-25.1],[6.35,-14.05],[11.3,-5.75],[19.4,-.5],[30.4,1.3]],c:!0},ix:2},nm:"e",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"e",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"n",size:94,style:"Medium",w:60.8,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.134,3.067],[-2.067,1.934],[-3.067,0],[-1.767,-2.766],[0,-5.733],[0,0],[0,0],[0,0],[3.033,4.167],[5.8,0],[2.433,-1.266],[1.6,-2.566],[.933,-3.933],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[.133,-3.6],[1.133,-3.066],[2.066,-1.933],[3.466,0],[1.766,2.767],[0,0],[0,0],[0,0],[0,-8.466],[-3.034,-4.166],[-3.267,0],[-2.434,1.267],[-1.6,2.567],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[18.3,0],[18.3,-23.6],[20.2,-33.6],[25,-41.1],[32.7,-44],[40.55,-39.85],[43.2,-27.1],[43.2,0],[54.1,0],[54.1,-28.1],[49.55,-47.05],[36.3,-53.3],[27.75,-51.4],[21.7,-45.65],[17.9,-35.9],[16.3,-35.9],[16.9,-52],[7.4,-52],[7.4,-32],[7.4,0]],c:!0},ix:2},nm:"n",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"n",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"]",size:94,style:"Medium",w:30,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[22.2,-67.5],[11.9,-67.5],[11.9,11.9],[22.2,11.9]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[22.2,3.3],[1.3,3.3],[1.3,11.9],[22.2,11.9]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[22.2,-69],[1.3,-69],[1.3,-60.3],[22.2,-60.3]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"]",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"}]}});var B1=nt((MI,eS)=>{eS.exports={v:"5.9.0",fr:25,ip:0,op:43,w:1080,h:1080,nm:"Vibration",ddd:0,assets:[],fonts:{list:[{fName:"BricolageGrotesque-SemiBold",fFamily:"Bricolage Grotesque",fStyle:"SemiBold",ascent:70.9991455078125}]},layers:[{ddd:0,ind:1,ty:5,nm:"[Vibration] 4",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:2,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:14,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:17,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:22,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:24,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:37,s:[100]},{t:39,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:3.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:5.571,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:6.285,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.001,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.714,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:8.429,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:9.143,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:9.857,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:10.571,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:11.285,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12.001,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:13.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:14.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:22,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:24.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:26.571,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:27.286,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28.714,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:29.43,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:30.143,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:30.857,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:31.571,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:32.286,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:33,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:33.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:34.43,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:35.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:35.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:36.571,s:[2]},{t:39,s:[0]}],ix:10},p:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:0,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:2,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:2.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:3.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:4.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:4.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:5.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:6.285,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:7,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:7.714,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:8.429,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:9.143,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:9.973,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:10.571,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:11.285,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:12,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:12.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:13.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:14.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:.667},o:{x:.333,y:.333},t:17,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:22,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:24.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:25.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:25.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:26.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:27.286,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28.714,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:29.429,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:30.143,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:30.857,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:31.571,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:32.401,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:33,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:33.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:34.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:35.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:35.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:36.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{t:39,s:[540,540,0]}],ix:2,l:2},a:{a:0,k:[-1.88,-33.84,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:20,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],t:{d:{k:[{s:{s:94,f:"BricolageGrotesque-SemiBold",t:"[Vibration]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:125,st:0,bm:0},{ddd:0,ind:2,ty:5,nm:"[Vibration] 3",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:2,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:14,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:17,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:22,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:24,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:37,s:[100]},{t:39,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:3.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:5.571,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:6.285,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.001,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.714,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:8.429,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:9.143,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:9.857,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:10.571,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:11.285,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12.001,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:13.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:14.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:22,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:24.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:26.571,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:27.286,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28.714,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:29.43,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:30.143,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:30.857,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:31.571,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:32.286,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:33,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:33.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:34.43,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:35.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:35.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:36.571,s:[2]},{t:39,s:[0]}],ix:10},p:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:0,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:2,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:2.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:3.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:4.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:4.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:5.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:6.285,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:7,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:7.714,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:8.429,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:9.143,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:9.973,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:10.571,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:11.285,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:12,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:12.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:13.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:14.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:.667},o:{x:.333,y:.333},t:17,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:22,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:24.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:25.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:25.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:26.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:27.286,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28.714,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:29.429,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:30.143,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:30.857,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:31.571,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:32.401,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:33,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:33.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:34.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:35.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:35.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:36.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{t:39,s:[540,540,0]}],ix:2,l:2},a:{a:0,k:[-1.88,-33.84,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:20,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],t:{d:{k:[{s:{s:94,f:"BricolageGrotesque-SemiBold",t:"[Vibration]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:125,st:0,bm:0},{ddd:0,ind:3,ty:5,nm:"[Vibration] 2",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:2,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:14,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:17,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:22,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:24,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:37,s:[100]},{t:39,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:3.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:5.571,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:6.285,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.001,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.714,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:8.429,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:9.143,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:9.857,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:10.571,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:11.285,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12.001,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:13.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:14.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:22,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:24.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:26.571,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:27.286,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28.714,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:29.43,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:30.143,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:30.857,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:31.571,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:32.286,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:33,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:33.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:34.43,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:35.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:35.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:36.571,s:[2]},{t:39,s:[0]}],ix:10},p:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:0,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:2,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:2.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:3.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:4.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:4.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:5.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:6.285,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:7,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:7.714,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:8.429,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:9.143,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:9.973,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:10.571,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:11.285,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:12,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:12.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:13.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:14.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:.667},o:{x:.333,y:.333},t:17,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:22,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:24.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:25.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:25.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:26.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:27.286,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28.714,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:29.429,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:30.143,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:30.857,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:31.571,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:32.401,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:33,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:33.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:34.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:35.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:35.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:36.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{t:39,s:[540,540,0]}],ix:2,l:2},a:{a:0,k:[-1.88,-33.84,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:20,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],t:{d:{k:[{s:{s:94,f:"BricolageGrotesque-SemiBold",t:"[Vibration]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:125,st:0,bm:0},{ddd:0,ind:4,ty:5,nm:"[Vibration]",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:3.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:5.571,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:6.285,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.001,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.714,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:8.429,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:9.143,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:9.857,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:10.571,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:11.285,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12.001,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:13.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:14.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:22,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:24.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:26.571,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:27.286,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28.714,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:29.43,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:30.143,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:30.857,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:31.571,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:32.286,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:33,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:33.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:34.43,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:35.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:35.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:36.571,s:[2]},{t:39,s:[0]}],ix:10},p:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:0,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:2,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:2.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:3.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:4.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:4.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:5.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:6.285,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:7,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:7.714,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:8.429,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:9.143,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:9.973,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:10.571,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:11.285,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:12,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:12.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:13.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:14.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:.667},o:{x:.333,y:.333},t:17,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:22,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:24.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:25.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:25.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:26.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:27.286,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28.714,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:29.429,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:30.143,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:30.857,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:31.571,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:32.401,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:33,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:33.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:34.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:35.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:35.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:36.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{t:39,s:[540,540,0]}],ix:2,l:2},a:{a:0,k:[-1.88,-33.84,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,t:{d:{k:[{s:{s:94,f:"BricolageGrotesque-SemiBold",t:"[Vibration]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:125,st:0,bm:0}],markers:[],chars:[{ch:"[",size:94,style:"SemiBold",w:32,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[19.5,11.9],[19.5,-68.1],[7.8,-68.1],[7.8,11.9]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29.6,11.9],[29.6,2.1],[7.8,2.1],[7.8,11.9]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29.6,-59.7],[29.6,-69.5],[7.8,-69.5],[7.8,-59.7]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"[",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"V",size:94,style:"SemiBold",w:68.3,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[42.1,0],[64.3,-66],[50.7,-66],[33.9,-10.8],[32.7,-10.8],[16,-66],[2.2,-66],[24.3,0]],c:!0},ix:2},nm:"V",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"V",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"i",size:94,style:"SemiBold",w:26.8,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[19.7,0],[19.7,-52.3],[7.1,-52.3],[7.1,0]],c:!0},ix:2},nm:"i",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-1.367,1.1],[0,2.067],[1.333,1.067],[2.666,0],[1.366,-1.1],[0,-2.066],[-1.367,-1.1],[-2.534,0]],o:[[1.366,-1.1],[0,-2.133],[-1.334,-1.066],[-2.534,0],[-1.367,1.1],[0,2.067],[1.366,1.1],[2.6,0]],v:[[19.35,-62.15],[21.4,-66.9],[19.4,-71.7],[13.4,-73.3],[7.55,-71.65],[5.5,-66.9],[7.55,-62.15],[13.4,-60.5]],c:!0},ix:2},nm:"i",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"i",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"b",size:94,style:"SemiBold",w:62.8,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.167,2.266],[-1.7,4.067],[0,5.467],[1.733,4.1],[3.166,2.3],[4.333,0],[2.333,-1.4],[1.433,-2.433],[.866,-3.2],[0,0],[-.334,1.967],[-.2,1.867],[0,1.6],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-1.5,-2.4],[-2.4,-1.3],[-3.334,0]],o:[[3.166,-2.266],[1.7,-4.066],[0,-5.6],[-1.734,-4.1],[-3.167,-2.3],[-3.4,0],[-2.334,1.4],[-1.434,2.434],[0,0],[.4,-2],[.333,-1.966],[.2,-1.866],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[.666,3.334],[1.5,2.4],[2.4,1.3],[4.533,0]],v:[[48.65,-2.1],[55.95,-11.6],[58.5,-25.9],[55.9,-40.45],[48.55,-50.05],[37.3,-53.5],[28.7,-51.4],[23.05,-45.65],[19.6,-37.2],[17.5,-37.2],[18.6,-43.15],[19.4,-48.9],[19.7,-54.1],[19.7,-71],[7.1,-71],[7.1,-25.7],[7.1,0],[17.7,0],[17.6,-14.8],[19.4,-14.8],[22.65,-6.2],[28.5,-.65],[37.1,1.3]],c:!0},ix:2},nm:"b",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[1.666,1.034],[1.133,1.6],[.533,1.9],[0,1.667],[0,0],[-.367,1.5],[-.734,1.4],[-1.067,1.167],[-1.467,.7],[-1.734,0],[-1.8,-1.466],[-.934,-2.533],[0,-3.333],[.966,-2.533],[1.866,-1.4],[2.466,0]],o:[[-1.667,-1.033],[-1.134,-1.6],[-.534,-1.9],[0,0],[0,-1.266],[.366,-1.5],[.733,-1.4],[1.066,-1.166],[1.466,-.7],[2.6,0],[1.8,1.467],[.933,2.534],[0,3.467],[-.967,2.534],[-1.867,1.4],[-2.267,0]],v:[[27.2,-10.65],[23,-14.6],[20.5,-19.85],[19.7,-25.2],[19.7,-26.9],[20.25,-31.05],[21.9,-35.4],[24.6,-39.25],[28.4,-42.05],[33.2,-43.1],[39.8,-40.9],[43.9,-34.9],[45.3,-26.1],[43.85,-17.1],[39.6,-11.2],[33.1,-9.1]],c:!0},ix:2},nm:"b",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"b",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"r",size:94,style:"SemiBold",w:42.2,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.167,2.434],[-1.9,1.334],[-2.6,0],[-1.1,-.166],[-1.067,-.4],[0,0],[.766,.067],[.666,0],[2.266,-1.433],[1.266,-2.833],[.6,-4.266],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[.6,-3.333],[1.166,-2.433],[1.9,-1.333],[.933,0],[1.1,.167],[0,0],[-.934,-.266],[-.767,-.066],[-3.334,0],[-2.267,1.434],[-1.267,2.834],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[19.7,0],[19.7,-24.4],[22.35,-33.05],[26.95,-38.7],[33.7,-40.7],[36.75,-40.45],[40,-39.6],[40.5,-52.9],[37.95,-53.4],[35.8,-53.5],[27.4,-51.35],[22.1,-44.95],[19.3,-34.3],[17.5,-34.3],[17.7,-52.3],[7.1,-52.3],[7.1,-26.2],[7.1,0]],c:!0},ix:2},nm:"r",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"r",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"a",size:94,style:"SemiBold",w:57.5,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.5,1.233],[-1.734,2.1],[-.934,2.534],[0,0],[-.2,-2.133],[-.267,-1.866],[0,0],[.166,2.434],[.1,2.434],[0,2.267],[0,0],[1.533,3.3],[3.133,1.567],[4.866,0],[2.666,-.666],[2.066,-1.4],[1.4,-1.966],[.733,-2.666],[0,0],[-1.267,1.434],[-1.767,.667],[-1.934,0],[-1.434,-1.5],[0,-2.066],[.666,-.7],[1.433,-.333],[2.266,-.333],[3.066,-.833],[2.066,-1.233],[1.033,-1.933],[0,-2.733],[-1.3,-2.2],[-2.267,-1.1],[-2.867,0]],o:[[2.5,-1.233],[1.733,-2.1],[0,0],[.133,2.2],[.2,2.134],[0,0],[-.267,-2.266],[-.167,-2.433],[-.1,-2.433],[0,0],[0,-5.2],[-1.534,-3.3],[-3.134,-1.566],[-3.2,0],[-2.667,.667],[-2.067,1.4],[-1.4,1.967],[0,0],[.466,-2.333],[1.266,-1.433],[1.766,-.666],[3.2,0],[1.433,1.5],[0,1.4],[-.667,.7],[-1.434,.334],[-4.134,.6],[-3.067,.834],[-2.067,1.234],[-1.034,1.934],[0,3.267],[1.3,2.2],[2.266,1.1],[3.266,0]],v:[[27.85,-.55],[34.2,-5.55],[38.2,-12.5],[39.8,-12.5],[40.3,-6],[41,0],[52.3,0],[51.65,-7.05],[51.25,-14.35],[51.1,-21.4],[51.1,-31.2],[48.8,-43.95],[41.8,-51.25],[29.8,-53.6],[21,-52.6],[13.9,-49.5],[8.7,-44.45],[5.5,-37.5],[16.8,-34],[19.4,-39.65],[23.95,-42.8],[29.5,-43.8],[36.45,-41.55],[38.6,-36.2],[37.6,-33.05],[34.45,-31.5],[28.9,-30.5],[18.1,-28.35],[10.4,-25.25],[5.75,-20.5],[4.2,-13.5],[6.15,-5.3],[11.5,-.35],[19.2,1.3]],c:!0},ix:2},nm:"a",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[1.466,1.267],[0,2.267],[-.867,1.034],[-1.467,.567],[-1.834,.367],[-1.834,.267],[-1.667,.534],[-1.134,.934],[0,0],[0,0],[1.133,-1.366],[1.333,-.933],[1.366,-.466],[1.333,0]],o:[[-1.467,-1.266],[0,-1.8],[.866,-1.033],[1.466,-.566],[1.833,-.366],[1.833,-.266],[1.666,-.533],[0,0],[0,0],[-.8,1.867],[-1.134,1.367],[-1.334,.934],[-1.367,.467],[-2.267,0]],v:[[18.6,-9.9],[16.4,-15.2],[17.7,-19.45],[21.2,-21.85],[26.15,-23.25],[31.65,-24.2],[36.9,-25.4],[41.1,-27.6],[38.7,-28],[38.9,-19.1],[36,-14.25],[32.3,-10.8],[28.25,-8.7],[24.2,-8]],c:!0},ix:2},nm:"a",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"a",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"t",size:94,style:"SemiBold",w:40.4,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.7,.233],[-2.067,.666],[0,0],[1.233,-.3],[1.266,0],[1.166,1.134],[0,2.467],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[.933,-.6],[1.933,0],[0,0],[0,0],[0,0],[0,0],[-2.6,-2.966],[-5.534,0]],o:[[1.7,-.234],[0,0],[-1.067,.734],[-1.234,.3],[-2.334,0],[-1.167,-1.133],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-.2,1.534],[-.934,.6],[0,0],[0,0],[0,0],[0,0],[0,6.267],[2.6,2.967],[1.333,0]],v:[[29.95,.85],[35.6,-.5],[35.6,-12.5],[32.15,-10.95],[28.4,-10.5],[23.15,-12.2],[21.4,-17.6],[21.4,-41.8],[35.2,-41.8],[35.2,-52.3],[21.4,-52.3],[21.4,-63.9],[14.1,-63.9],[12.9,-56.3],[11.2,-53.1],[6.9,-52.2],[1.8,-52.2],[1.6,-42.2],[9.3,-42.2],[9.3,-17.1],[13.2,-3.25],[25.4,1.2]],c:!0},ix:2},nm:"t",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"t",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"o",size:94,style:"SemiBold",w:60.7,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.967,1.966],[-2.267,4.067],[0,6.134],[2.266,4.1],[3.933,2.067],[5.133,0],[3.933,-2],[2.3,-4.033],[0,-6.133],[-2.234,-4.1],[-3.934,-2.1],[-5.134,0]],o:[[3.966,-1.966],[2.266,-4.066],[0,-6.066],[-2.267,-4.1],[-3.934,-2.066],[-4.934,0],[-3.934,2],[-2.3,4.034],[0,6],[2.233,4.1],[3.933,2.1],[5,0]],v:[[43.75,-1.65],[53.1,-10.7],[56.5,-26],[53.1,-41.25],[43.8,-50.5],[30.2,-53.6],[16.9,-50.6],[7.55,-41.55],[4.1,-26.3],[7.45,-11.15],[16.7,-1.85],[30.3,1.3]],c:!0},ix:2},nm:"o",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[2.5,3.134],[0,5.867],[-1.034,2.534],[-2,1.3],[-2.667,0],[-2.034,-1.466],[-1.1,-2.7],[0,-3.8],[1.033,-2.6],[1.933,-1.3],[2.8,0]],o:[[-2.5,-3.133],[0,-3.733],[1.033,-2.533],[2,-1.3],[3.066,0],[2.033,1.467],[1.1,2.7],[0,3.6],[-1.034,2.6],[-1.934,1.3],[-4.334,0]],v:[[20.55,-13],[16.8,-26.5],[18.35,-35.9],[22.9,-41.65],[29.9,-43.6],[37.55,-41.4],[42.25,-35.15],[43.9,-25.4],[42.35,-16.1],[37.9,-10.25],[30.8,-8.3]],c:!0},ix:2},nm:"o",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"o",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"n",size:94,style:"SemiBold",w:61.9,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.034,2.9],[-1.934,1.767],[-2.8,0],[-1.7,-2.633],[0,-5.666],[0,0],[0,0],[0,0],[3.1,4.2],[5.933,0],[2.466,-1.266],[1.566,-2.533],[.933,-3.933],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[.066,-3.466],[1.033,-2.9],[1.933,-1.766],[3.333,0],[1.7,2.634],[0,0],[0,0],[0,0],[0,-8.8],[-3.1,-4.2],[-3.267,0],[-2.467,1.267],[-1.567,2.534],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[19.7,0],[19.7,-23.7],[21.35,-33.25],[25.8,-40.25],[32.9,-42.9],[40.45,-38.95],[43,-26.5],[43,0],[55.7,0],[55.7,-27.8],[51.05,-47.3],[37.5,-53.6],[28.9,-51.7],[22.85,-46],[19.1,-36.3],[17.3,-36.3],[17.6,-52.3],[7.1,-52.3],[7.1,-31.9],[7.1,0]],c:!0},ix:2},nm:"n",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"n",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"]",size:94,style:"SemiBold",w:31,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,-68.1],[11.7,-68.1],[11.7,11.9],[23.4,11.9]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,2.1],[1.6,2.1],[1.6,11.9],[23.4,11.9]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,-69.5],[1.6,-69.5],[1.6,-59.7],[23.4,-59.7]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"]",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"}]}});var K1=nt((q1,Kd)=>{"use strict";(function H(u){(function(n,i){typeof q1=="object"&&typeof Kd<"u"?Kd.exports=i():typeof define=="function"&&define.amd?define(i):(n=typeof globalThis<"u"?globalThis:n||self,n.Hls=i())})(this,(function(){"use strict";function n(N,j){(j==null||j>N.length)&&(j=N.length);for(var w=0,g=Array(j);w<j;w++)g[w]=N[w];return g}function i(N,j,w){if(o())return Reflect.construct.apply(null,arguments);var g=[null];g.push.apply(g,j);var s=new(N.bind.apply(N,g));return w&&h(s,w.prototype),s}function c(N,j){for(var w=0;w<j.length;w++){var g=j[w];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(N,p(g.key),g)}}function m(N,j,w){return j&&c(N.prototype,j),w&&c(N,w),Object.defineProperty(N,"prototype",{writable:!1}),N}function $(N,j){var w=typeof Symbol<"u"&&N[Symbol.iterator]||N["@@iterator"];if(w)return(w=w.call(N)).next.bind(w);if(Array.isArray(N)||(w=A(N))||j){w&&(N=w);var g=0;return function(){return g>=N.length?{done:!0}:{done:!1,value:N[g++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1
|
+
var C2=Object.create;var yd=Object.defineProperty;var x2=Object.getOwnPropertyDescriptor;var M2=Object.getOwnPropertyNames;var k2=Object.getPrototypeOf,w2=Object.prototype.hasOwnProperty;var F0=(H,u)=>()=>(H&&(u=H(H=0)),u);var nt=(H,u)=>()=>(u||H((u={exports:{}}).exports,u),u.exports),R2=(H,u)=>{for(var n in u)yd(H,n,{get:u[n],enumerable:!0})},O2=(H,u,n,i)=>{if(u&&typeof u=="object"||typeof u=="function")for(let c of M2(u))!w2.call(H,c)&&c!==n&&yd(H,c,{get:()=>u[c],enumerable:!(i=x2(u,c))||i.enumerable});return H};var Cr=(H,u,n)=>(n=H!=null?C2(k2(H)):{},O2(u||!H||!H.__esModule?yd(n,"default",{value:H,enumerable:!0}):n,H));var f1=nt((cP,d1)=>{"use strict";var vy=4,gy=.001,my=1e-7,yy=10,hs=11,Yu=1/(hs-1),Sy=typeof Float32Array=="function";function s1(H,u){return 1-3*u+3*H}function u1(H,u){return 3*u-6*H}function l1(H){return 3*H}function Xu(H,u,n){return((s1(u,n)*H+u1(u,n))*H+l1(u))*H}function c1(H,u,n){return 3*s1(u,n)*H*H+2*u1(u,n)*H+l1(u)}function by(H,u,n,i,c){var m,$,P=0;do $=u+(n-u)/2,m=Xu($,i,c)-H,m>0?n=$:u=$;while(Math.abs(m)>my&&++P<yy);return $}function $y(H,u,n,i){for(var c=0;c<vy;++c){var m=c1(u,n,i);if(m===0)return u;var $=Xu(u,n,i)-H;u-=$/m}return u}function Ty(H){return H}d1.exports=function(u,n,i,c){if(!(0<=u&&u<=1&&0<=i&&i<=1))throw new Error("bezier x values must be in [0, 1] range");if(u===n&&i===c)return Ty;for(var m=Sy?new Float32Array(hs):new Array(hs),$=0;$<hs;++$)m[$]=Xu($*Yu,u,i);function P(t){for(var _=0,a=1,r=hs-1;a!==r&&m[a]<=t;++a)_+=Yu;--a;var o=(t-m[a])/(m[a+1]-m[a]),l=_+o*Yu,d=c1(l,u,i);return d>=gy?$y(t,l,u,i):d===0?l:by(t,_,_+Yu,u,i)}return function(_){return _===0?0:_===1?1:Xu(P(_),n,c)}}});var L1=nt((xI,Zy)=>{Zy.exports={v:"5.9.0",fr:29.9700012207031,ip:0,op:26.0000010590017,w:1080,h:1080,nm:"Flashin/ Camera Clicking",ddd:0,assets:[],fonts:{list:[{fName:"BricolageGrotesque-SemiBold",fFamily:"Bricolage Grotesque",fStyle:"SemiBold",ascent:70.9991455078125}]},layers:[{ddd:0,ind:1,ty:5,nm:"[Camera Clicking] 5",sr:1,ks:{o:{a:1,k:[{i:{x:[1],y:[1]},o:{x:[.333],y:[0]},t:10,s:[0]},{i:{x:[.667],y:[1]},o:{x:[0],y:[0]},t:16,s:[100]},{t:21.0000008553475,s:[0]}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540.038,540,0],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.167,.167,.167],y:[0,0,0]},t:0,s:[231.2,231.2,100]},{i:{x:[1,1,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:10,s:[219.2,219.2,100]},{i:{x:[.833,.833,.833],y:[1,1,1]},o:{x:[0,0,.333],y:[0,0,0]},t:16,s:[261.2,261.2,100]},{t:21.0000008553475,s:[231.2,231.2,100]}],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:1,k:[{i:{x:1,y:1},o:{x:.333,y:0},t:10,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]},{i:{x:.667,y:1},o:{x:0,y:0},t:16,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[154.796,-46.899],[-160.593,-46.899],[-159.57,-9.123],[155.819,-9.123]],c:!0}]},{t:21.0000008553475,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]}],ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 1"}],ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:20,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:0,ix:3}}]}],t:{d:{k:[{s:{s:35,f:"BricolageGrotesque-SemiBold",t:"[Camera Clicking]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:148.651206054687,st:0,bm:0},{ddd:0,ind:2,ty:5,nm:"[Camera Clicking] 3",sr:1,ks:{o:{a:1,k:[{i:{x:[1],y:[1]},o:{x:[.333],y:[0]},t:10,s:[0]},{i:{x:[.667],y:[1]},o:{x:[0],y:[0]},t:16,s:[100]},{t:21.0000008553475,s:[0]}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540.038,540,0],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.167,.167,.167],y:[0,0,0]},t:0,s:[231.2,231.2,100]},{i:{x:[1,1,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:10,s:[219.2,219.2,100]},{i:{x:[.833,.833,.833],y:[1,1,1]},o:{x:[0,0,.333],y:[0,0,0]},t:16,s:[261.2,261.2,100]},{t:21.0000008553475,s:[231.2,231.2,100]}],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:1,k:[{i:{x:1,y:1},o:{x:.333,y:0},t:10,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]},{i:{x:.667,y:1},o:{x:0,y:0},t:16,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[154.878,-29.145],[-160.511,-29.145],[-160.415,8.72],[154.974,8.72]],c:!0}]},{t:21.0000008553475,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]}],ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 1"}],ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:20,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:0,ix:3}}]}],t:{d:{k:[{s:{s:35,f:"BricolageGrotesque-SemiBold",t:"[Camera Clicking]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:148.651206054687,st:0,bm:0},{ddd:0,ind:3,ty:5,nm:"[Camera Clicking] 2",sr:1,ks:{o:{a:1,k:[{i:{x:[1],y:[1]},o:{x:[.333],y:[0]},t:10,s:[0]},{i:{x:[.667],y:[1]},o:{x:[0],y:[0]},t:16,s:[100]},{t:21.0000008553475,s:[0]}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540.038,540,0],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.167,.167,.167],y:[0,0,0]},t:0,s:[231.2,231.2,100]},{i:{x:[1,1,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:10,s:[219.2,219.2,100]},{i:{x:[.833,.833,.833],y:[1,1,1]},o:{x:[0,0,.333],y:[0,0,0]},t:16,s:[261.2,261.2,100]},{t:21.0000008553475,s:[231.2,231.2,100]}],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:1,k:[{i:{x:1,y:1},o:{x:.333,y:0},t:10,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]},{i:{x:.667,y:1},o:{x:0,y:0},t:16,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[154.796,-46.899],[-160.593,-46.899],[-159.57,-9.123],[155.819,-9.123]],c:!0}]},{t:21.0000008553475,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]}],ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 1"}],ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:20,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:0,ix:3}}]}],t:{d:{k:[{s:{s:35,f:"BricolageGrotesque-SemiBold",t:"[Camera Clicking]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:148.651206054687,st:0,bm:0},{ddd:0,ind:4,ty:5,nm:"[Camera Clicking] 4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540.038,540,0],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.167,.167,.167],y:[0,0,0]},t:0,s:[231.2,231.2,100]},{i:{x:[1,1,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:10,s:[219.2,219.2,100]},{i:{x:[.833,.833,.833],y:[1,1,1]},o:{x:[0,0,.333],y:[0,0,0]},t:16,s:[261.2,261.2,100]},{t:21.0000008553475,s:[231.2,231.2,100]}],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:1,k:[{i:{x:1,y:1},o:{x:.333,y:0},t:10,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]},{i:{x:.667,y:1},o:{x:0,y:0},t:16,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[154.796,-46.899],[-160.593,-46.899],[-159.844,-14.26],[155.545,-14.26]],c:!0}]},{t:21.0000008553475,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]}],ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 1"}],t:{d:{k:[{s:{s:35,f:"BricolageGrotesque-SemiBold",t:"[Camera Clicking]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:148.651206054687,st:0,bm:0},{ddd:0,ind:5,ty:5,nm:"[Camera Clicking]",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540.038,540,0],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.167,.167,.167],y:[0,0,0]},t:0,s:[231.2,231.2,100]},{i:{x:[1,1,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:10,s:[219.2,219.2,100]},{i:{x:[.833,.833,.833],y:[1,1,1]},o:{x:[0,0,.333],y:[0,0,0]},t:16,s:[261.2,261.2,100]},{t:21.0000008553475,s:[231.2,231.2,100]}],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:1,k:[{i:{x:1,y:1},o:{x:.333,y:0},t:10,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[154.796,-46.899],[-160.593,-46.899],[-160.497,-9.035],[154.892,-9.035]],c:!0}]},{i:{x:.667,y:1},o:{x:0,y:0},t:16,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[154.807,-46.546],[-160.582,-46.546],[-158.53,-11.366],[156.859,-11.366]],c:!0}]},{t:21.0000008553475,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[155.096,-37.339],[-160.293,-37.339],[-160.293,16.232],[155.096,16.232]],c:!0}]}],ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 1"}],t:{d:{k:[{s:{s:35,f:"BricolageGrotesque-SemiBold",t:"[Camera Clicking]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:148.651206054687,st:0,bm:0}],markers:[],chars:[{ch:"[",size:35,style:"SemiBold",w:32,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[19.5,11.9],[19.5,-68.1],[7.8,-68.1],[7.8,11.9]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29.6,11.9],[29.6,2.1],[7.8,2.1],[7.8,11.9]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29.6,-59.7],[29.6,-69.5],[7.8,-69.5],[7.8,-59.7]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"[",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"C",size:35,style:"SemiBold",w:67.5,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.4,1.266],[-2.1,2.267],[-1,3.067],[-.067,3.467],[0,0],[1,-2.5],[2.2,-1.5],[3.733,0],[2.9,1.634],[1.633,3.467],[0,5.6],[-1,3.034],[-1.667,1.867],[-2.1,.867],[-2.134,0],[-2.1,-1],[-1.334,-2],[.066,-3],[0,0],[1.266,2.567],[2.233,1.834],[3.066,.934],[3.6,0],[3.8,-1.533],[2.733,-3.033],[1.5,-4.333],[0,-5.6],[-1.467,-4.2],[-2.734,-2.833],[-3.934,-1.433],[-5,0]],o:[[3.4,-1.266],[2.1,-2.266],[1,-3.066],[0,0],[-.134,2.934],[-1,2.5],[-2.2,1.5],[-3.667,0],[-2.9,-1.633],[-1.634,-3.466],[0,-4.4],[1,-3.033],[1.666,-1.866],[2.1,-.866],[2.4,0],[2.1,1],[1.333,2],[0,0],[-.067,-3.266],[-1.267,-2.566],[-2.234,-1.833],[-3.067,-.933],[-4.667,0],[-3.8,1.534],[-2.734,3.034],[-1.5,4.334],[0,5.4],[1.466,4.2],[2.733,2.834],[3.933,1.433],[4.866,0]],v:[[49.6,-.6],[57.85,-5.9],[62.5,-13.9],[64.1,-23.7],[53,-25.6],[51.3,-17.45],[46.5,-11.45],[37.6,-9.2],[27.75,-11.65],[20.95,-19.3],[18.5,-32.9],[20,-44.05],[24,-51.4],[29.65,-55.5],[36,-56.8],[42.75,-55.3],[47.9,-50.8],[49.8,-43.3],[61.6,-46.4],[59.6,-55.15],[54.35,-61.75],[46.4,-65.9],[36.4,-67.3],[23.7,-65],[13.9,-58.15],[7.55,-47.1],[5.3,-32.2],[7.5,-17.8],[13.8,-7.25],[23.8,-.85],[37.2,1.3]],c:!0},ix:2},nm:"C",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"C",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"a",size:35,style:"SemiBold",w:57.5,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.5,1.233],[-1.734,2.1],[-.934,2.534],[0,0],[-.2,-2.133],[-.267,-1.866],[0,0],[.166,2.434],[.1,2.434],[0,2.267],[0,0],[1.533,3.3],[3.133,1.567],[4.866,0],[2.666,-.666],[2.066,-1.4],[1.4,-1.966],[.733,-2.666],[0,0],[-1.267,1.434],[-1.767,.667],[-1.934,0],[-1.434,-1.5],[0,-2.066],[.666,-.7],[1.433,-.333],[2.266,-.333],[3.066,-.833],[2.066,-1.233],[1.033,-1.933],[0,-2.733],[-1.3,-2.2],[-2.267,-1.1],[-2.867,0]],o:[[2.5,-1.233],[1.733,-2.1],[0,0],[.133,2.2],[.2,2.134],[0,0],[-.267,-2.266],[-.167,-2.433],[-.1,-2.433],[0,0],[0,-5.2],[-1.534,-3.3],[-3.134,-1.566],[-3.2,0],[-2.667,.667],[-2.067,1.4],[-1.4,1.967],[0,0],[.466,-2.333],[1.266,-1.433],[1.766,-.666],[3.2,0],[1.433,1.5],[0,1.4],[-.667,.7],[-1.434,.334],[-4.134,.6],[-3.067,.834],[-2.067,1.234],[-1.034,1.934],[0,3.267],[1.3,2.2],[2.266,1.1],[3.266,0]],v:[[27.85,-.55],[34.2,-5.55],[38.2,-12.5],[39.8,-12.5],[40.3,-6],[41,0],[52.3,0],[51.65,-7.05],[51.25,-14.35],[51.1,-21.4],[51.1,-31.2],[48.8,-43.95],[41.8,-51.25],[29.8,-53.6],[21,-52.6],[13.9,-49.5],[8.7,-44.45],[5.5,-37.5],[16.8,-34],[19.4,-39.65],[23.95,-42.8],[29.5,-43.8],[36.45,-41.55],[38.6,-36.2],[37.6,-33.05],[34.45,-31.5],[28.9,-30.5],[18.1,-28.35],[10.4,-25.25],[5.75,-20.5],[4.2,-13.5],[6.15,-5.3],[11.5,-.35],[19.2,1.3]],c:!0},ix:2},nm:"a",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[1.466,1.267],[0,2.267],[-.867,1.034],[-1.467,.567],[-1.834,.367],[-1.834,.267],[-1.667,.534],[-1.134,.934],[0,0],[0,0],[1.133,-1.366],[1.333,-.933],[1.366,-.466],[1.333,0]],o:[[-1.467,-1.266],[0,-1.8],[.866,-1.033],[1.466,-.566],[1.833,-.366],[1.833,-.266],[1.666,-.533],[0,0],[0,0],[-.8,1.867],[-1.134,1.367],[-1.334,.934],[-1.367,.467],[-2.267,0]],v:[[18.6,-9.9],[16.4,-15.2],[17.7,-19.45],[21.2,-21.85],[26.15,-23.25],[31.65,-24.2],[36.9,-25.4],[41.1,-27.6],[38.7,-28],[38.9,-19.1],[36,-14.25],[32.3,-10.8],[28.25,-8.7],[24.2,-8]],c:!0},ix:2},nm:"a",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"a",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"m",size:35,style:"SemiBold",w:92.9,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-.967,2.8],[-1.7,1.6],[-2.4,0],[-1.334,-1.266],[-.667,-2.566],[0,-3.866],[0,0],[0,0],[0,0],[-1,2.767],[-1.734,1.534],[-2.334,0],[-1.3,-1.233],[-.634,-2.466],[0,-3.733],[0,0],[0,0],[0,0],[.7,3.267],[1.433,2.167],[2.133,1.134],[2.8,0],[2.366,-1.266],[1.633,-2.533],[.866,-3.866],[0,0],[1.1,2.567],[2.066,1.467],[3.2,0],[2.2,-1.266],[1.5,-2.566],[.933,-3.866],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[.133,-3.466],[.966,-2.8],[1.7,-1.6],[2.066,0],[1.333,1.267],[.666,2.567],[0,0],[0,0],[0,0],[.2,-3.533],[1,-2.766],[1.733,-1.533],[2.066,0],[1.3,1.234],[.633,2.467],[0,0],[0,0],[0,0],[0,-4.266],[-.7,-3.266],[-1.434,-2.166],[-2.134,-1.133],[-2.867,0],[-2.367,1.267],[-1.634,2.534],[0,0],[-.267,-3.4],[-1.1,-2.566],[-2.067,-1.466],[-2.867,0],[-2.2,1.267],[-1.5,2.567],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[19.7,0],[19.7,-24.2],[21.35,-33.6],[25.35,-40.2],[31.5,-42.6],[36.6,-40.7],[39.6,-34.95],[40.6,-25.3],[40.6,0],[53,0],[53,-24.4],[54.8,-33.85],[58.9,-40.3],[65,-42.6],[70.05,-40.75],[72.95,-35.2],[73.9,-25.9],[73.9,0],[86.6,0],[86.6,-27.5],[85.55,-38.8],[82.35,-46.95],[77,-51.9],[69.6,-53.6],[61.75,-51.7],[55.75,-46],[52,-36.4],[50.4,-36.4],[48.35,-45.35],[43.6,-51.4],[35.7,-53.6],[28.1,-51.7],[22.55,-45.95],[18.9,-36.3],[17.1,-36.3],[17.4,-52.3],[7.1,-52.3],[7.1,-33.1],[7.1,0]],c:!0},ix:2},nm:"m",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"m",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"e",size:35,style:"SemiBold",w:58,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.6,.733],[-1.9,1.4],[-1.2,1.934],[-.534,2.467],[0,0],[.566,-1.066],[.933,-.833],[1.366,-.5],[2,0],[2.566,2.867],[0,5.8],[-1.1,2.7],[-2.067,1.434],[-2.734,0],[-1.867,-1.166],[-1,-2.433],[.4,-3.8],[0,0],[0,0],[0,0],[0,0],[1,3.7],[2.066,2.5],[3,1.267],[3.8,0],[3.166,-1.4],[2.2,-2.533],[1.166,-3.466],[0,-4.133],[-1.2,-3.266],[-2.267,-2.3],[-3.3,-1.2],[-4.2,0]],o:[[2.6,-.733],[1.9,-1.4],[1.2,-1.933],[0,0],[-.334,1.2],[-.567,1.067],[-.934,.834],[-1.367,.5],[-4.467,0],[-2.567,-2.866],[0,-3.866],[1.1,-2.7],[2.066,-1.433],[2.4,0],[1.866,1.167],[1,2.434],[0,0],[0,0],[0,0],[0,0],[.333,-4.866],[-1,-3.7],[-2.067,-2.5],[-3,-1.266],[-4.067,0],[-3.167,1.4],[-2.2,2.534],[-1.167,3.467],[0,4.134],[1.2,3.267],[2.266,2.3],[3.3,1.2],[3.466,0]],v:[[39.8,.2],[46.55,-3],[51.2,-8],[53.8,-14.6],[42.8,-17.1],[41.45,-13.7],[39.2,-10.85],[35.75,-8.85],[30.7,-8.1],[20.15,-12.4],[16.3,-25.4],[17.95,-35.25],[22.7,-41.45],[29.9,-43.6],[36.3,-41.85],[40.6,-36.45],[41.5,-27.1],[45.9,-31.2],[12.3,-30.9],[12.3,-23.6],[53.2,-23.9],[52.2,-36.75],[47.6,-46.05],[40,-51.7],[29.8,-53.6],[18.95,-51.5],[10.9,-45.6],[5.85,-36.6],[4.1,-25.2],[5.9,-14.1],[11.1,-5.75],[19.45,-.5],[30.7,1.3]],c:!0},ix:2},nm:"e",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"e",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"r",size:35,style:"SemiBold",w:42.2,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.167,2.434],[-1.9,1.334],[-2.6,0],[-1.1,-.166],[-1.067,-.4],[0,0],[.766,.067],[.666,0],[2.266,-1.433],[1.266,-2.833],[.6,-4.266],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[.6,-3.333],[1.166,-2.433],[1.9,-1.333],[.933,0],[1.1,.167],[0,0],[-.934,-.266],[-.767,-.066],[-3.334,0],[-2.267,1.434],[-1.267,2.834],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[19.7,0],[19.7,-24.4],[22.35,-33.05],[26.95,-38.7],[33.7,-40.7],[36.75,-40.45],[40,-39.6],[40.5,-52.9],[37.95,-53.4],[35.8,-53.5],[27.4,-51.35],[22.1,-44.95],[19.3,-34.3],[17.5,-34.3],[17.7,-52.3],[7.1,-52.3],[7.1,-26.2],[7.1,0]],c:!0},ix:2},nm:"r",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"r",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:" ",size:35,style:"SemiBold",w:23.8,data:{},fFamily:"Bricolage Grotesque"},{ch:"l",size:35,style:"SemiBold",w:26.6,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[19.5,0],[19.5,-71],[7.1,-71],[7.1,0]],c:!0},ix:2},nm:"l",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"l",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"i",size:35,style:"SemiBold",w:26.8,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[19.7,0],[19.7,-52.3],[7.1,-52.3],[7.1,0]],c:!0},ix:2},nm:"i",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-1.367,1.1],[0,2.067],[1.333,1.067],[2.666,0],[1.366,-1.1],[0,-2.066],[-1.367,-1.1],[-2.534,0]],o:[[1.366,-1.1],[0,-2.133],[-1.334,-1.066],[-2.534,0],[-1.367,1.1],[0,2.067],[1.366,1.1],[2.6,0]],v:[[19.35,-62.15],[21.4,-66.9],[19.4,-71.7],[13.4,-73.3],[7.55,-71.65],[5.5,-66.9],[7.55,-62.15],[13.4,-60.5]],c:!0},ix:2},nm:"i",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"i",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"c",size:35,style:"SemiBold",w:56,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.734,.866],[-1.967,1.634],[-1.134,2.2],[-.4,2.734],[0,0],[.9,-1.666],[1.7,-1.033],[2.733,0],[2.066,1.434],[1,2.6],[0,3.667],[-.567,2.167],[-1.034,1.534],[-1.567,.834],[-2.134,0],[-1.6,-.866],[-.934,-1.566],[-.134,-2],[0,0],[1.933,2.5],[3.1,1.4],[4.2,0],[3.233,-1.4],[2.2,-2.533],[1.1,-3.4],[0,-4.066],[-1.067,-3.266],[-2.167,-2.433],[-3.3,-1.333],[-4.534,0]],o:[[2.733,-.866],[1.966,-1.633],[1.133,-2.2],[0,0],[-.2,2],[-.9,1.667],[-1.7,1.034],[-3.067,0],[-2.067,-1.433],[-1,-2.6],[0,-2.666],[.566,-2.166],[1.033,-1.533],[1.566,-.833],[2.2,0],[1.6,.867],[.933,1.567],[0,0],[-.667,-3.333],[-1.934,-2.5],[-3.1,-1.4],[-4.2,0],[-3.234,1.4],[-2.2,2.534],[-1.1,3.4],[0,3.8],[1.066,3.267],[2.166,2.434],[3.3,1.333],[3.6,0]],v:[[40.1,0],[47.15,-3.75],[51.8,-9.5],[54.1,-16.9],[42.9,-19.4],[41.25,-13.9],[37.35,-9.85],[30.7,-8.3],[23,-10.45],[18.4,-16.5],[16.9,-25.9],[17.75,-33.15],[20.15,-38.7],[24.05,-42.25],[29.6,-43.5],[35.3,-42.2],[39.1,-38.55],[40.7,-33.2],[52.5,-36.9],[48.6,-45.65],[41.05,-51.5],[30.1,-53.6],[18.95,-51.5],[10.8,-45.6],[5.85,-36.7],[4.2,-25.5],[5.8,-14.9],[10.65,-6.35],[18.85,-.7],[30.6,1.3]],c:!0},ix:2},nm:"c",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"c",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"k",size:35,style:"SemiBold",w:57.6,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[-2.034,-1.433],[-1.367,-2.566],[-1.267,-3.333],[0,0],[0,0],[0,0],[1.3,2.634],[1.933,2],[2.8,1],[4.133,-.6],[0,0],[-2.867,1.567],[-2.3,2.134],[-1.734,2.534],[-1.067,2.6],[0,0],[1.333,-1.9],[1.733,-1.866],[2.066,-1.7],[2.266,-1.4],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[3.2,0],[2.033,1.434],[1.366,2.567],[0,0],[0,0],[0,0],[-1.134,-2.733],[-1.3,-2.633],[-1.934,-2],[-2.8,-1],[0,0],[3.266,-.6],[2.866,-1.566],[2.3,-2.133],[1.733,-2.533],[0,0],[-.867,1.734],[-1.334,1.9],[-1.734,1.867],[-2.067,1.7],[0,0],[0,0],[0,0],[0,0]],v:[[19.5,0],[19.5,-21.8],[23.1,-21.8],[30.95,-19.65],[36.05,-13.65],[40,-4.8],[41.6,0],[55.5,0],[52.9,-7.3],[49.25,-15.35],[44.4,-22.3],[37.3,-26.8],[26.9,-27.4],[26.9,-28.8],[36.1,-32.05],[43.85,-37.6],[49.9,-44.6],[54.1,-52.3],[39.6,-52.3],[36.3,-46.85],[31.7,-41.2],[26,-35.85],[19.5,-31.2],[19.5,-71.1],[7.1,-71.1],[7.1,0]],c:!0},ix:2},nm:"k",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"k",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"n",size:35,style:"SemiBold",w:61.9,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.034,2.9],[-1.934,1.767],[-2.8,0],[-1.7,-2.633],[0,-5.666],[0,0],[0,0],[0,0],[3.1,4.2],[5.933,0],[2.466,-1.266],[1.566,-2.533],[.933,-3.933],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[.066,-3.466],[1.033,-2.9],[1.933,-1.766],[3.333,0],[1.7,2.634],[0,0],[0,0],[0,0],[0,-8.8],[-3.1,-4.2],[-3.267,0],[-2.467,1.267],[-1.567,2.534],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[19.7,0],[19.7,-23.7],[21.35,-33.25],[25.8,-40.25],[32.9,-42.9],[40.45,-38.95],[43,-26.5],[43,0],[55.7,0],[55.7,-27.8],[51.05,-47.3],[37.5,-53.6],[28.9,-51.7],[22.85,-46],[19.1,-36.3],[17.3,-36.3],[17.6,-52.3],[7.1,-52.3],[7.1,-31.9],[7.1,0]],c:!0},ix:2},nm:"n",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"n",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"g",size:35,style:"SemiBold",w:59.7,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-4.3,1.133],[-2.167,2.433],[0,3.8],[1.433,1.867],[2.1,.867],[2.1,.2],[1.333,0],[0,0],[1.066,.134],[.666,.367],[0,.534],[-.867,.767],[-1.4,1],[-1,-.066],[-.867,0],[-3.3,1.167],[-1.734,2.1],[0,2.734],[1.966,1.667],[4.133,.667],[0,0],[0,0],[0,0],[0,0],[3.633,-1.5],[1.866,-2.6],[0,-3.4],[-2.267,-2.366],[-4.067,-.2],[0,0],[1.833,-1.4],[0,-1.8],[-1.867,-.833],[-3.6,.067],[0,0],[2.433,-1.966],[0,-3.067],[-1.734,-1.734],[-3.634,-.867],[-5.667,0]],o:[[4.3,-1.134],[2.166,-2.434],[0,-3.4],[-1.434,-1.866],[-2.1,-.866],[-2.1,-.2],[0,0],[-1,0],[-1.067,-.133],[-.667,-.366],[0,-.666],[.866,-.766],[2.133,.267],[1,.067],[4.666,0],[3.3,-1.166],[1.733,-2.1],[0,-2.866],[-1.967,-1.666],[0,0],[0,0],[0,0],[0,0],[-5.2,0],[-3.634,1.5],[-1.867,2.6],[0,3.8],[2.266,2.367],[0,0],[-4.267,.934],[-1.834,1.4],[0,1.867],[1.866,.834],[0,0],[-4.8,.467],[-2.434,1.966],[0,2.533],[1.733,1.733],[3.633,.866],[6.4,0]],v:[[43.45,16.3],[53.15,10.95],[56.4,1.6],[54.25,-6.3],[48.95,-10.4],[42.65,-12],[37.5,-12.3],[23.6,-12.3],[20.5,-12.5],[17.9,-13.25],[16.9,-14.6],[18.2,-16.75],[21.6,-19.4],[26.3,-18.9],[29.1,-18.8],[41.05,-20.55],[48.6,-25.45],[51.2,-32.7],[48.25,-39.5],[39.1,-43],[39.1,-45.2],[55.5,-42.8],[55.5,-52.8],[29.6,-52.8],[16.35,-50.55],[8.1,-44.4],[5.3,-35.4],[8.7,-26.15],[18.2,-22.3],[18.2,-20.3],[9.05,-16.8],[6.3,-12],[9.1,-7.95],[17.3,-6.8],[17.3,-4.8],[6.45,-1.15],[2.8,6.4],[5.4,12.8],[13.45,16.7],[27.4,18]],c:!0},ix:2},nm:"g",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[2.033,.266],[1.066,.833],[0,1.6],[-1.3,1.334],[-3.2,.467],[0,0],[-1.067,-.066],[-1.034,-.333],[-.667,-.833],[0,-1.466],[1.066,-1.034],[2.466,-.467],[4.133,0]],o:[[-2.034,-.267],[-1.067,-.834],[0,-1.6],[1.3,-1.333],[0,0],[.733,0],[1.066,.067],[1.033,.334],[.666,.834],[0,1.6],[-1.067,1.033],[-2.467,.466],[-2.867,0]],v:[[21.15,7.4],[16.5,5.75],[14.9,2.1],[16.85,-2.3],[23.6,-5],[35.9,-5],[38.6,-4.9],[41.75,-4.3],[44.3,-2.55],[45.3,.9],[43.7,4.85],[38.4,7.1],[28.5,7.8]],c:!0},ix:2},nm:"g",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[1.633,.767],[.833,1.367],[0,1.8],[-1.9,1.8],[-3.467,0],[-1.834,-1.833],[0,-2.866],[1.8,-1.633],[3.466,0]],o:[[-1.634,-.766],[-.834,-1.366],[0,-2.8],[1.9,-1.8],[3.466,0],[1.833,1.834],[0,2.667],[-1.8,1.634],[-2.4,0]],v:[[22.75,-26.85],[19.05,-30.05],[17.8,-34.8],[20.65,-41.7],[28.7,-44.4],[36.65,-41.65],[39.4,-34.6],[36.7,-28.15],[28.8,-25.7]],c:!0},ix:2},nm:"g",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"g",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"]",size:35,style:"SemiBold",w:31,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,-68.1],[11.7,-68.1],[11.7,11.9],[23.4,11.9]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,2.1],[1.6,2.1],[1.6,11.9],[23.4,11.9]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,-69.5],[1.6,-69.5],[1.6,-59.7],[23.4,-59.7]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"]",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"}]}});var D1=nt((MI,eS)=>{eS.exports={v:"5.9.0",fr:25,ip:0,op:55,w:1080,h:1080,nm:"Crack",ddd:0,assets:[],fonts:{list:[{fName:"BricolageGrotesque-SemiBold",fFamily:"Bricolage Grotesque",fStyle:"SemiBold",ascent:70.9991455078125}]},layers:[{ddd:0,ind:1,ty:5,nm:"[Crack] 4",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:8,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:43,s:[100]},{t:55,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.933,s:[0]},{t:42.9326171875,s:[0]}],ix:10},p:{a:1,k:[{i:{x:0,y:1},o:{x:.333,y:0},t:13.933,s:[540.038,540,0],to:[0,0,0],ti:[0,0,0]},{t:42.9326171875,s:[565.884,491.118,0]}],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:0,k:[219.2,219.2,100],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[65.125,-65.824],[1.898,-52.58],[-.351,-30.096],[-30.092,-17.059],[-29.01,-15.545],[5.594,-23.475],[22.214,-20.878],[74.118,-41.144],[74.602,-45.623]],c:!0},ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 4"}],t:{d:{k:[{s:{s:60,f:"BricolageGrotesque-SemiBold",t:"[Crack]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:124,st:0,bm:0},{ddd:0,ind:2,ty:5,nm:"[Crack] 3",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:8,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:43,s:[100]},{t:55,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.933,s:[0]},{t:42.9326171875,s:[5]}],ix:10},p:{a:1,k:[{i:{x:0,y:1},o:{x:.333,y:0},t:13.933,s:[540.038,540,0],to:[0,0,0],ti:[0,0,0]},{t:42.9326171875,s:[564.132,528.753,0]}],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:0,k:[219.2,219.2,100],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[110.576,-61.154],[60.144,-36.872],[22.419,-21.167],[5.395,-23.982],[-30.972,-14.499],[-1.728,5.465],[20.336,19.357],[115.673,21.264],[118.942,-58.547]],c:!0},ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 2"}],t:{d:{k:[{s:{s:60,f:"BricolageGrotesque-SemiBold",t:"[Crack]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:124,st:0,bm:0},{ddd:0,ind:3,ty:5,nm:"[Crack] 2",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:8,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:43,s:[100]},{t:55,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.933,s:[0]},{t:42.9326171875,s:[-3]}],ix:10},p:{a:1,k:[{i:{x:0,y:1},o:{x:.333,y:0},t:13.933,s:[540.038,540,0],to:[0,0,0],ti:[0,0,0]},{t:42.9326171875,s:[538.21,551.886,0]}],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:0,k:[219.2,219.2,100],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-31.431,-15.87],[-51.287,-14.824],[-70.319,-13.094],[-116.169,11.418],[-116.602,18.915],[-5.386,14.026],[-.094,4.998]],c:!0},ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 3"}],t:{d:{k:[{s:{s:60,f:"BricolageGrotesque-SemiBold",t:"[Crack]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:124,st:0,bm:0},{ddd:0,ind:4,ty:5,nm:"[Crack]",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:8,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:43,s:[100]},{t:55,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.933,s:[0]},{t:42.9326171875,s:[6]}],ix:10},p:{a:1,k:[{i:{x:0,y:1},o:{x:.333,y:0},t:13.933,s:[540.038,540,0],to:[0,0,0],ti:[0,0,0]},{t:42.9326171875,s:[512.61,530.857,0]}],ix:2,l:2},a:{a:0,k:[.06,-16.59,0],ix:1,l:2},s:{a:0,k:[219.2,219.2,100],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[4.787,-61.116],[-124.775,-61.116],[-116.746,14.432],[-70.03,-12.21],[-50.687,-13.67],[-33.534,-15.13],[.408,-29.364]],c:!0},ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 1"}],t:{d:{k:[{s:{s:60,f:"BricolageGrotesque-SemiBold",t:"[Crack]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:124,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"Shape Layer 12",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-43.457,1.147],[-3.424,-8.686],[6.76,-10.793],[31.693,-7.632],[111.056,-39.94],[135.76,-53.004]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:22.666015625,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:5,op:132,st:7,bm:0},{ddd:0,ind:6,ty:4,nm:"Shape Layer 11",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-43.556,1.111],[-34.667,11.333],[-22,14.667],[-5.556,28.444],[3.556,33.778]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:22.666015625,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:5,op:132,st:7,bm:0},{ddd:0,ind:7,ty:4,nm:"Shape Layer 10",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.341,1.656],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[.273,-.365],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-141.614,32.195],[-139.316,28.612],[-99.333,6],[-83.111,3.333],[-60.667,3.778],[-41.778,.889],[0,-21.111],[5.778,-44.444]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.309],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:24.9326171875,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.309],y:[1]},o:{x:[.333],y:[0]},t:7.933,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:125,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"Shape Layer 9",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-43.457,1.147],[-3.424,-8.686],[6.76,-10.793],[31.693,-7.632],[111.056,-39.94],[135.76,-53.004]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:22.666015625,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:5,op:132,st:7,bm:0},{ddd:0,ind:9,ty:4,nm:"Shape Layer 8",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-43.556,1.111],[-34.667,11.333],[-22,14.667],[-5.556,28.444],[3.556,33.778]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:22.666015625,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:5,op:132,st:7,bm:0},{ddd:0,ind:10,ty:4,nm:"Shape Layer 7",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.341,1.656],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[.273,-.365],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-141.614,32.195],[-139.316,28.612],[-99.333,6],[-83.111,3.333],[-60.667,3.778],[-41.778,.889],[0,-21.111],[5.778,-44.444]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.309],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:24.9326171875,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.309],y:[1]},o:{x:[.333],y:[0]},t:7.933,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:125,st:0,bm:0},{ddd:0,ind:11,ty:4,nm:"Shape Layer 6",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-43.457,1.147],[-3.424,-8.686],[6.76,-10.793],[31.693,-7.632],[111.056,-39.94],[135.76,-53.004]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:22.666015625,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:5,op:132,st:7,bm:0},{ddd:0,ind:12,ty:4,nm:"Shape Layer 5",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-43.556,1.111],[-34.667,11.333],[-22,14.667],[-5.556,28.444],[3.556,33.778]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:22.666015625,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:5,op:132,st:7,bm:0},{ddd:0,ind:13,ty:4,nm:"Shape Layer 4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.341,1.656],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[.273,-.365],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-141.614,32.195],[-139.316,28.612],[-99.333,6],[-83.111,3.333],[-60.667,3.778],[-41.778,.889],[0,-21.111],[5.778,-44.444]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.309],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:24.9326171875,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.309],y:[1]},o:{x:[.333],y:[0]},t:7.933,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:125,st:0,bm:0},{ddd:0,ind:14,ty:4,nm:"Shape Layer 3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-43.457,1.147],[-3.424,-8.686],[6.76,-10.793],[31.693,-7.632],[111.056,-39.94],[135.76,-53.004]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:22.666015625,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:5,op:132,st:7,bm:0},{ddd:0,ind:15,ty:4,nm:"Shape Layer 2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-43.556,1.111],[-34.667,11.333],[-22,14.667],[-5.556,28.444],[3.556,33.778]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:22.666015625,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:5,op:132,st:7,bm:0},{ddd:0,ind:16,ty:4,nm:"Shape Layer 1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,540,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[160,160,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.341,1.656],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[.273,-.365],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-141.614,32.195],[-139.316,28.612],[-99.333,6],[-83.111,3.333],[-60.667,3.778],[-41.778,.889],[0,-21.111],[5.778,-44.444]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.309],y:[1]},o:{x:[.333],y:[0]},t:13.599,s:[0]},{t:24.9326171875,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.309],y:[1]},o:{x:[.333],y:[0]},t:7.933,s:[0]},{t:19.2666015625,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:125,st:0,bm:0}],markers:[],chars:[{ch:"[",size:60,style:"SemiBold",w:32,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[19.5,11.9],[19.5,-68.1],[7.8,-68.1],[7.8,11.9]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29.6,11.9],[29.6,2.1],[7.8,2.1],[7.8,11.9]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29.6,-59.7],[29.6,-69.5],[7.8,-69.5],[7.8,-59.7]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"[",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"C",size:60,style:"SemiBold",w:67.5,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.4,1.266],[-2.1,2.267],[-1,3.067],[-.067,3.467],[0,0],[1,-2.5],[2.2,-1.5],[3.733,0],[2.9,1.634],[1.633,3.467],[0,5.6],[-1,3.034],[-1.667,1.867],[-2.1,.867],[-2.134,0],[-2.1,-1],[-1.334,-2],[.066,-3],[0,0],[1.266,2.567],[2.233,1.834],[3.066,.934],[3.6,0],[3.8,-1.533],[2.733,-3.033],[1.5,-4.333],[0,-5.6],[-1.467,-4.2],[-2.734,-2.833],[-3.934,-1.433],[-5,0]],o:[[3.4,-1.266],[2.1,-2.266],[1,-3.066],[0,0],[-.134,2.934],[-1,2.5],[-2.2,1.5],[-3.667,0],[-2.9,-1.633],[-1.634,-3.466],[0,-4.4],[1,-3.033],[1.666,-1.866],[2.1,-.866],[2.4,0],[2.1,1],[1.333,2],[0,0],[-.067,-3.266],[-1.267,-2.566],[-2.234,-1.833],[-3.067,-.933],[-4.667,0],[-3.8,1.534],[-2.734,3.034],[-1.5,4.334],[0,5.4],[1.466,4.2],[2.733,2.834],[3.933,1.433],[4.866,0]],v:[[49.6,-.6],[57.85,-5.9],[62.5,-13.9],[64.1,-23.7],[53,-25.6],[51.3,-17.45],[46.5,-11.45],[37.6,-9.2],[27.75,-11.65],[20.95,-19.3],[18.5,-32.9],[20,-44.05],[24,-51.4],[29.65,-55.5],[36,-56.8],[42.75,-55.3],[47.9,-50.8],[49.8,-43.3],[61.6,-46.4],[59.6,-55.15],[54.35,-61.75],[46.4,-65.9],[36.4,-67.3],[23.7,-65],[13.9,-58.15],[7.55,-47.1],[5.3,-32.2],[7.5,-17.8],[13.8,-7.25],[23.8,-.85],[37.2,1.3]],c:!0},ix:2},nm:"C",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"C",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"r",size:60,style:"SemiBold",w:42.2,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.167,2.434],[-1.9,1.334],[-2.6,0],[-1.1,-.166],[-1.067,-.4],[0,0],[.766,.067],[.666,0],[2.266,-1.433],[1.266,-2.833],[.6,-4.266],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[.6,-3.333],[1.166,-2.433],[1.9,-1.333],[.933,0],[1.1,.167],[0,0],[-.934,-.266],[-.767,-.066],[-3.334,0],[-2.267,1.434],[-1.267,2.834],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[19.7,0],[19.7,-24.4],[22.35,-33.05],[26.95,-38.7],[33.7,-40.7],[36.75,-40.45],[40,-39.6],[40.5,-52.9],[37.95,-53.4],[35.8,-53.5],[27.4,-51.35],[22.1,-44.95],[19.3,-34.3],[17.5,-34.3],[17.7,-52.3],[7.1,-52.3],[7.1,-26.2],[7.1,0]],c:!0},ix:2},nm:"r",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"r",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"a",size:60,style:"SemiBold",w:57.5,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.5,1.233],[-1.734,2.1],[-.934,2.534],[0,0],[-.2,-2.133],[-.267,-1.866],[0,0],[.166,2.434],[.1,2.434],[0,2.267],[0,0],[1.533,3.3],[3.133,1.567],[4.866,0],[2.666,-.666],[2.066,-1.4],[1.4,-1.966],[.733,-2.666],[0,0],[-1.267,1.434],[-1.767,.667],[-1.934,0],[-1.434,-1.5],[0,-2.066],[.666,-.7],[1.433,-.333],[2.266,-.333],[3.066,-.833],[2.066,-1.233],[1.033,-1.933],[0,-2.733],[-1.3,-2.2],[-2.267,-1.1],[-2.867,0]],o:[[2.5,-1.233],[1.733,-2.1],[0,0],[.133,2.2],[.2,2.134],[0,0],[-.267,-2.266],[-.167,-2.433],[-.1,-2.433],[0,0],[0,-5.2],[-1.534,-3.3],[-3.134,-1.566],[-3.2,0],[-2.667,.667],[-2.067,1.4],[-1.4,1.967],[0,0],[.466,-2.333],[1.266,-1.433],[1.766,-.666],[3.2,0],[1.433,1.5],[0,1.4],[-.667,.7],[-1.434,.334],[-4.134,.6],[-3.067,.834],[-2.067,1.234],[-1.034,1.934],[0,3.267],[1.3,2.2],[2.266,1.1],[3.266,0]],v:[[27.85,-.55],[34.2,-5.55],[38.2,-12.5],[39.8,-12.5],[40.3,-6],[41,0],[52.3,0],[51.65,-7.05],[51.25,-14.35],[51.1,-21.4],[51.1,-31.2],[48.8,-43.95],[41.8,-51.25],[29.8,-53.6],[21,-52.6],[13.9,-49.5],[8.7,-44.45],[5.5,-37.5],[16.8,-34],[19.4,-39.65],[23.95,-42.8],[29.5,-43.8],[36.45,-41.55],[38.6,-36.2],[37.6,-33.05],[34.45,-31.5],[28.9,-30.5],[18.1,-28.35],[10.4,-25.25],[5.75,-20.5],[4.2,-13.5],[6.15,-5.3],[11.5,-.35],[19.2,1.3]],c:!0},ix:2},nm:"a",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[1.466,1.267],[0,2.267],[-.867,1.034],[-1.467,.567],[-1.834,.367],[-1.834,.267],[-1.667,.534],[-1.134,.934],[0,0],[0,0],[1.133,-1.366],[1.333,-.933],[1.366,-.466],[1.333,0]],o:[[-1.467,-1.266],[0,-1.8],[.866,-1.033],[1.466,-.566],[1.833,-.366],[1.833,-.266],[1.666,-.533],[0,0],[0,0],[-.8,1.867],[-1.134,1.367],[-1.334,.934],[-1.367,.467],[-2.267,0]],v:[[18.6,-9.9],[16.4,-15.2],[17.7,-19.45],[21.2,-21.85],[26.15,-23.25],[31.65,-24.2],[36.9,-25.4],[41.1,-27.6],[38.7,-28],[38.9,-19.1],[36,-14.25],[32.3,-10.8],[28.25,-8.7],[24.2,-8]],c:!0},ix:2},nm:"a",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"a",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"c",size:60,style:"SemiBold",w:56,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.734,.866],[-1.967,1.634],[-1.134,2.2],[-.4,2.734],[0,0],[.9,-1.666],[1.7,-1.033],[2.733,0],[2.066,1.434],[1,2.6],[0,3.667],[-.567,2.167],[-1.034,1.534],[-1.567,.834],[-2.134,0],[-1.6,-.866],[-.934,-1.566],[-.134,-2],[0,0],[1.933,2.5],[3.1,1.4],[4.2,0],[3.233,-1.4],[2.2,-2.533],[1.1,-3.4],[0,-4.066],[-1.067,-3.266],[-2.167,-2.433],[-3.3,-1.333],[-4.534,0]],o:[[2.733,-.866],[1.966,-1.633],[1.133,-2.2],[0,0],[-.2,2],[-.9,1.667],[-1.7,1.034],[-3.067,0],[-2.067,-1.433],[-1,-2.6],[0,-2.666],[.566,-2.166],[1.033,-1.533],[1.566,-.833],[2.2,0],[1.6,.867],[.933,1.567],[0,0],[-.667,-3.333],[-1.934,-2.5],[-3.1,-1.4],[-4.2,0],[-3.234,1.4],[-2.2,2.534],[-1.1,3.4],[0,3.8],[1.066,3.267],[2.166,2.434],[3.3,1.333],[3.6,0]],v:[[40.1,0],[47.15,-3.75],[51.8,-9.5],[54.1,-16.9],[42.9,-19.4],[41.25,-13.9],[37.35,-9.85],[30.7,-8.3],[23,-10.45],[18.4,-16.5],[16.9,-25.9],[17.75,-33.15],[20.15,-38.7],[24.05,-42.25],[29.6,-43.5],[35.3,-42.2],[39.1,-38.55],[40.7,-33.2],[52.5,-36.9],[48.6,-45.65],[41.05,-51.5],[30.1,-53.6],[18.95,-51.5],[10.8,-45.6],[5.85,-36.7],[4.2,-25.5],[5.8,-14.9],[10.65,-6.35],[18.85,-.7],[30.6,1.3]],c:!0},ix:2},nm:"c",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"c",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"k",size:60,style:"SemiBold",w:57.6,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[-2.034,-1.433],[-1.367,-2.566],[-1.267,-3.333],[0,0],[0,0],[0,0],[1.3,2.634],[1.933,2],[2.8,1],[4.133,-.6],[0,0],[-2.867,1.567],[-2.3,2.134],[-1.734,2.534],[-1.067,2.6],[0,0],[1.333,-1.9],[1.733,-1.866],[2.066,-1.7],[2.266,-1.4],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[3.2,0],[2.033,1.434],[1.366,2.567],[0,0],[0,0],[0,0],[-1.134,-2.733],[-1.3,-2.633],[-1.934,-2],[-2.8,-1],[0,0],[3.266,-.6],[2.866,-1.566],[2.3,-2.133],[1.733,-2.533],[0,0],[-.867,1.734],[-1.334,1.9],[-1.734,1.867],[-2.067,1.7],[0,0],[0,0],[0,0],[0,0]],v:[[19.5,0],[19.5,-21.8],[23.1,-21.8],[30.95,-19.65],[36.05,-13.65],[40,-4.8],[41.6,0],[55.5,0],[52.9,-7.3],[49.25,-15.35],[44.4,-22.3],[37.3,-26.8],[26.9,-27.4],[26.9,-28.8],[36.1,-32.05],[43.85,-37.6],[49.9,-44.6],[54.1,-52.3],[39.6,-52.3],[36.3,-46.85],[31.7,-41.2],[26,-35.85],[19.5,-31.2],[19.5,-71.1],[7.1,-71.1],[7.1,0]],c:!0},ix:2},nm:"k",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"k",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"]",size:60,style:"SemiBold",w:31,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,-68.1],[11.7,-68.1],[11.7,11.9],[23.4,11.9]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,2.1],[1.6,2.1],[1.6,11.9],[23.4,11.9]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,-69.5],[1.6,-69.5],[1.6,-59.7],[23.4,-59.7]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"]",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"}]}});var N1=nt((kI,tS)=>{tS.exports={v:"5.9.0",fr:29.9700012207031,ip:0,op:41.0000016699642,w:1080,h:1080,nm:"Siren",ddd:0,assets:[],fonts:{list:[{fName:"BricolageGrotesque-Medium",fFamily:"Bricolage Grotesque",fStyle:"Medium",ascent:70.4986572265625}]},layers:[{ddd:0,ind:1,ty:5,nm:"[Siren] 2",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:7,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:32,s:[100]},{t:41.0000016699642,s:[0]}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,536.912,0],ix:2,l:2},a:{a:0,k:[150.864,-28.49,0],ix:1,l:2},s:{a:1,k:[{i:{x:[0,0,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:5.278,s:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[1,1,.333],y:[0,0,0]},t:23,s:[104,104,100]},{t:40.0000016292334,s:[100,100,100]}],ix:6,l:2}},ao:0,ef:[{ty:5,nm:"Turbulent Displace",np:16,mn:"ADBE Turbulent Displace",ix:1,en:1,ef:[{ty:7,nm:"Displacement",mn:"ADBE Turbulent Displace-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:0,nm:"Amount",mn:"ADBE Turbulent Displace-0002",ix:2,v:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5.278,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11.591,s:[27]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:33.688,s:[27]},{t:40.0000016292334,s:[0]}],ix:2}},{ty:0,nm:"Size",mn:"ADBE Turbulent Displace-0003",ix:3,v:{a:0,k:17,ix:3}},{ty:3,nm:"Offset (Turbulence)",mn:"ADBE Turbulent Displace-0004",ix:4,v:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:5.278,s:[539,494],to:[0,0],ti:[0,0]},{t:125.000005091354,s:[536,764]}],ix:4}},{ty:0,nm:"Complexity",mn:"ADBE Turbulent Displace-0005",ix:5,v:{a:0,k:2.44,ix:5}},{ty:0,nm:"Evolution",mn:"ADBE Turbulent Displace-0006",ix:6,v:{a:0,k:0,ix:6}},{ty:6,nm:"Evolution Options",mn:"ADBE Turbulent Displace-0007",ix:7,v:0},{ty:7,nm:"Cycle Evolution",mn:"ADBE Turbulent Displace-0008",ix:8,v:{a:0,k:1,ix:8}},{ty:0,nm:"Cycle (in Revolutions)",mn:"ADBE Turbulent Displace-0009",ix:9,v:{a:0,k:5,ix:9}},{ty:0,nm:"Random Seed",mn:"ADBE Turbulent Displace-0010",ix:10,v:{a:0,k:0,ix:10}},{ty:6,nm:"Random Seed",mn:"ADBE Turbulent Displace-0011",ix:11,v:0},{ty:7,nm:"Pinning",mn:"ADBE Turbulent Displace-0012",ix:12,v:{a:0,k:3,ix:12}},{ty:7,nm:"Resize Layer",mn:"ADBE Turbulent Displace-0013",ix:13,v:{a:0,k:0,ix:13}},{ty:7,nm:"Antialiasing for Best Quality",mn:"ADBE Turbulent Displace-0014",ix:14,v:{a:0,k:2,ix:14}}]},{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:2,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:20,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],sy:[{c:{a:0,k:[0,0,0,1],ix:2},o:{a:0,k:75,ix:3},a:{a:0,k:120,ix:5},s:{a:0,k:5,ix:8},d:{a:0,k:5,ix:6},ch:{a:0,k:0,ix:7},bm:{a:0,k:5,ix:1},no:{a:0,k:0,ix:9},lc:{a:0,k:1,ix:10},ty:1,nm:"Drop Shadow"}],t:{d:{k:[{s:{s:94,f:"BricolageGrotesque-Medium",t:"[Siren]",ca:0,j:0,tr:0,lh:112.800003051758,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:178.000007250089,st:0,bm:0},{ddd:0,ind:2,ty:5,nm:"[Siren]",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[540,536.912,0],ix:2,l:2},a:{a:0,k:[150.864,-28.49,0],ix:1,l:2},s:{a:1,k:[{i:{x:[0,0,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:5.278,s:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[1,1,.333],y:[0,0,0]},t:23,s:[104,104,100]},{t:40.0000016292334,s:[100,100,100]}],ix:6,l:2}},ao:0,ef:[{ty:5,nm:"Turbulent Displace",np:16,mn:"ADBE Turbulent Displace",ix:1,en:1,ef:[{ty:7,nm:"Displacement",mn:"ADBE Turbulent Displace-0001",ix:1,v:{a:0,k:10,ix:1}},{ty:0,nm:"Amount",mn:"ADBE Turbulent Displace-0002",ix:2,v:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5.278,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11.591,s:[27]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:33.688,s:[27]},{t:40.0000016292334,s:[0]}],ix:2}},{ty:0,nm:"Size",mn:"ADBE Turbulent Displace-0003",ix:3,v:{a:0,k:17,ix:3}},{ty:3,nm:"Offset (Turbulence)",mn:"ADBE Turbulent Displace-0004",ix:4,v:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:5.278,s:[539,494],to:[0,0],ti:[0,0]},{t:125.000005091354,s:[536,764]}],ix:4}},{ty:0,nm:"Complexity",mn:"ADBE Turbulent Displace-0005",ix:5,v:{a:0,k:2.44,ix:5}},{ty:0,nm:"Evolution",mn:"ADBE Turbulent Displace-0006",ix:6,v:{a:0,k:0,ix:6}},{ty:6,nm:"Evolution Options",mn:"ADBE Turbulent Displace-0007",ix:7,v:0},{ty:7,nm:"Cycle Evolution",mn:"ADBE Turbulent Displace-0008",ix:8,v:{a:0,k:1,ix:8}},{ty:0,nm:"Cycle (in Revolutions)",mn:"ADBE Turbulent Displace-0009",ix:9,v:{a:0,k:5,ix:9}},{ty:0,nm:"Random Seed",mn:"ADBE Turbulent Displace-0010",ix:10,v:{a:0,k:0,ix:10}},{ty:6,nm:"Random Seed",mn:"ADBE Turbulent Displace-0011",ix:11,v:0},{ty:7,nm:"Pinning",mn:"ADBE Turbulent Displace-0012",ix:12,v:{a:0,k:3,ix:12}},{ty:7,nm:"Resize Layer",mn:"ADBE Turbulent Displace-0013",ix:13,v:{a:0,k:0,ix:13}},{ty:7,nm:"Antialiasing for Best Quality",mn:"ADBE Turbulent Displace-0014",ix:14,v:{a:0,k:2,ix:14}}]}],sy:[{c:{a:0,k:[0,0,0,1],ix:2},o:{a:0,k:75,ix:3},a:{a:0,k:120,ix:5},s:{a:0,k:5,ix:8},d:{a:0,k:5,ix:6},ch:{a:0,k:0,ix:7},bm:{a:0,k:5,ix:1},no:{a:0,k:0,ix:9},lc:{a:0,k:1,ix:10},ty:1,nm:"Drop Shadow"}],t:{d:{k:[{s:{s:94,f:"BricolageGrotesque-Medium",t:"[Siren]",ca:0,j:0,tr:0,lh:112.800003051758,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:178.000007250089,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"BLue 6",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:9.593,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:35.778,s:[100]},{t:40.0000016292334,s:[0]}],ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:5,s:[778.623,540,0],to:[0,0,0],ti:[0,0,0]},{t:40.0000016292334,s:[308.786,540,0]}],ix:2,l:2},a:{a:0,k:[-1,19,0],ix:1,l:2},s:{a:1,k:[{i:{x:[0,0,.667],y:[1,1,1]},o:{x:[.401,.401,.333],y:[0,0,0]},t:5,s:[140,140,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[1,1,.333],y:[0,0,0]},t:23,s:[173.407,173.407,100]},{t:40.0000016292334,s:[140,140,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[54,54],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:5,k:{a:0,k:[0,1,.689,.689,.009,1,.61,.61,.093,1,.532,.532,.188,1,.266,.266,.447,1,0,0,0,1,.223,.715,.446,.43,.723,.215,1,0],ix:9}},s:{a:0,k:[0,0],ix:5},e:{a:0,k:[27.41,0],ix:6},t:2,h:{a:0,k:0,ix:7},a:{a:0,k:0,ix:8},nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[-1,19],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[111.661,111.661],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:178.000007250089,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"BLue 5",parent:3,sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:23,s:[33]},{t:40.0000016292334,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11,s:[-22]},{t:34.0000013848484,s:[12]}],ix:10},p:{a:0,k:[-1,19,0],ix:2,l:2},a:{a:0,k:[-1,19,0],ix:1,l:2},s:{a:0,k:[249.756,72.714,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[54,54],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,1,.624,.624,.111,1,.422,.422,.298,1,.221,.221,0,1,.149,1,.298,1,.648,.5,.998,0],ix:9}},s:{a:0,k:[0,0],ix:5},e:{a:0,k:[26.67,0],ix:6},t:2,h:{a:0,k:0,ix:7},a:{a:0,k:0,ix:8},nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[-1,19],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[158,158],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:178.000007250089,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"BLue 4",parent:3,sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:23,s:[50]},{t:40.0000016292334,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11,s:[39]},{t:34.0000013848484,s:[-38]}],ix:10},p:{a:0,k:[-1,19,0],ix:2,l:2},a:{a:0,k:[-1,19,0],ix:1,l:2},s:{a:0,k:[72.5,194.016,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[54,54],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,.82,.494,.494,.097,.91,.357,.357,.207,1,.221,.221,0,1,.1,.925,.201,.85,.506,.425,.812,0],ix:9}},s:{a:0,k:[0,0],ix:5},e:{a:0,k:[26.67,0],ix:6},t:2,h:{a:0,k:0,ix:7},a:{a:0,k:0,ix:8},nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[-1,19],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[158,158],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:178.000007250089,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"BLue",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:9.593,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:35.778,s:[100]},{t:40.0000016292334,s:[0]}],ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:5,s:[308.786,540,0],to:[0,0,0],ti:[0,0,0]},{t:40.0000016292334,s:[778.623,540,0]}],ix:2,l:2},a:{a:0,k:[-1,19,0],ix:1,l:2},s:{a:1,k:[{i:{x:[0,0,.667],y:[1,1,1]},o:{x:[.401,.401,.333],y:[0,0,0]},t:5,s:[140,140,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[1,1,.333],y:[0,0,0]},t:23,s:[173.407,173.407,100]},{t:40.0000016292334,s:[140,140,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[54,54],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:5,k:{a:0,k:[0,.688,.756,.984,.009,.615,.741,.992,.093,.542,.725,1,.188,.271,.531,1,.447,0,.337,1,0,1,.223,.715,.446,.43,.723,.215,1,0],ix:9}},s:{a:0,k:[0,0],ix:5},e:{a:0,k:[27.41,0],ix:6},t:2,h:{a:0,k:0,ix:7},a:{a:0,k:0,ix:8},nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[-1,19],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[111.661,111.661],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:178.000007250089,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"BLue 3",parent:6,sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:23,s:[33]},{t:40.0000016292334,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11,s:[12]},{t:34.3700013999188,s:[-22]}],ix:10},p:{a:0,k:[-1,19,0],ix:2,l:2},a:{a:0,k:[-1,19,0],ix:1,l:2},s:{a:0,k:[249.756,72.714,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[54,54],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,.624,.739,1,.111,.422,.581,1,.298,.221,.423,1,0,1,.149,1,.298,1,.648,.5,.998,0],ix:9}},s:{a:0,k:[0,0],ix:5},e:{a:0,k:[26.67,0],ix:6},t:2,h:{a:0,k:0,ix:7},a:{a:0,k:0,ix:8},nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[-1,19],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[158,158],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:178.000007250089,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"BLue 2",parent:6,sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:23,s:[50]},{t:40.0000016292334,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11,s:[-38]},{t:34.3700013999188,s:[39]}],ix:10},p:{a:0,k:[-1,19,0],ix:2,l:2},a:{a:0,k:[-1,19,0],ix:1,l:2},s:{a:0,k:[72.5,194.016,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[54,54],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,.494,.578,.82,.097,.357,.525,.91,.207,.221,.471,1,0,1,.1,.925,.201,.85,.506,.425,.812,0],ix:9}},s:{a:0,k:[0,0],ix:5},e:{a:0,k:[26.67,0],ix:6},t:2,h:{a:0,k:0,ix:7},a:{a:0,k:0,ix:8},nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[-1,19],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[158,158],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:178.000007250089,st:0,bm:0}],markers:[],chars:[{ch:"[",size:94,style:"Medium",w:31.5,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[18.4,11.9],[18.4,-67.5],[8.1,-67.5],[8.1,11.9]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29,11.9],[29,3.3],[8.1,3.3],[8.1,11.9]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29,-60.3],[29,-69],[8.1,-69],[8.1,-60.3]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"[",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"S",size:94,style:"Medium",w:65.1,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-4,1.6],[-2.034,2.867],[0,3.8],[1.4,2.3],[2.4,1.367],[2.833,.867],[2.866,.6],[2.833,.8],[1.666,1.4],[0,2.4],[-1.134,1.467],[-2.167,.834],[-2.867,0],[-2,-.6],[-1.4,-1.133],[-.767,-1.7],[0,-2.333],[0,0],[2.2,2.967],[3.833,1.534],[5.066,0],[3.633,-1.633],[2.033,-2.866],[0,-3.866],[-1.467,-2.266],[-2.534,-1.433],[-3.067,-.833],[-3.2,-.733],[-2.467,-.766],[-1.5,-1.3],[0,-2.2],[1.233,-1.533],[2.433,-.866],[3.533,0],[2.7,1.1],[1.433,2.234],[-.134,3.334],[0,0],[-1.2,-2.666],[-2.3,-1.8],[-3.367,-.866],[-4.267,0]],o:[[4,-1.6],[2.033,-2.866],[0,-3.466],[-1.4,-2.3],[-2.4,-1.366],[-2.834,-.866],[-3.2,-.733],[-2.834,-.8],[-1.667,-1.4],[0,-1.933],[1.133,-1.466],[2.166,-.833],[2.4,0],[2,.6],[1.4,1.134],[.766,1.7],[0,0],[-.134,-4.266],[-2.2,-2.966],[-3.834,-1.533],[-5.134,0],[-3.634,1.634],[-2.034,2.867],[0,3.534],[1.466,2.267],[2.533,1.434],[3.066,.834],[3.066,.667],[2.466,.767],[1.5,1.3],[0,1.934],[-1.234,1.534],[-2.434,.867],[-3.667,0],[-2.7,-1.1],[-1.434,-2.233],[0,0],[-.067,3.4],[1.2,2.667],[2.3,1.8],[3.366,.866],[6.066,0]],v:[[47.1,-1.1],[56.15,-7.8],[59.2,-17.8],[57.1,-26.45],[51.4,-31.95],[43.55,-35.3],[35,-37.5],[25.95,-39.8],[19.2,-43.1],[16.7,-48.8],[18.4,-53.9],[23.35,-57.35],[30.9,-58.6],[37.5,-57.7],[42.6,-55.1],[45.85,-50.85],[47,-44.8],[56.9,-47.4],[53.4,-58.25],[44.35,-65],[31,-67.3],[17.85,-64.85],[9.35,-58.1],[6.3,-48],[8.5,-39.3],[14.5,-33.75],[22.9,-30.35],[32.3,-28],[40.6,-25.85],[46.55,-22.75],[48.8,-17.5],[46.95,-12.3],[41.45,-8.7],[32.5,-7.4],[22.95,-9.05],[16.75,-14.05],[14.8,-22.4],[5.1,-19.8],[6.8,-10.7],[12.05,-4],[20.55,0],[32,1.3]],c:!0},ix:2},nm:"S",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"S",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"i",size:94,style:"Medium",w:25.9,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[18.3,0],[18.3,-52],[7.4,-52],[7.4,0]],c:!0},ix:2},nm:"i",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-1.234,.967],[0,1.867],[1.233,.967],[2.333,0],[1.2,-1],[0,-1.866],[-1.2,-1],[-2.334,0]],o:[[1.233,-.966],[0,-1.933],[-1.234,-.966],[-2.334,0],[-1.2,1],[0,1.8],[1.2,1],[2.333,0]],v:[[18.25,-62.05],[20.1,-66.3],[18.25,-70.65],[12.9,-72.1],[7.6,-70.6],[5.8,-66.3],[7.6,-62.1],[12.9,-60.6]],c:!0},ix:2},nm:"i",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"i",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"r",size:94,style:"Medium",w:41.1,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.234,2.667],[-1.934,1.5],[-2.6,0],[-1.067,-.166],[-.934,-.466],[0,0],[.833,.067],[.666,0],[2.233,-1.533],[1.266,-2.8],[.6,-4.2],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[.666,-3.466],[1.233,-2.666],[1.933,-1.5],[.933,0],[1.066,.167],[0,0],[-1,-.266],[-.834,-.066],[-3.134,0],[-2.234,1.534],[-1.267,2.8],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[18.3,0],[18.3,-24.6],[21.15,-33.8],[25.9,-40.05],[32.7,-42.3],[35.7,-42.05],[38.7,-41.1],[39.2,-52.6],[36.45,-53.1],[34.2,-53.2],[26.15,-50.9],[20.9,-44.4],[18.1,-33.9],[16.4,-33.9],[16.9,-52],[7.4,-52],[7.4,-27.1],[7.4,0]],c:!0},ix:2},nm:"r",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"r",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"e",size:94,style:"Medium",w:57.3,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.5,.7],[-1.9,1.367],[-1.167,1.934],[-.667,2.467],[0,0],[.633,-1.133],[1.033,-.866],[1.466,-.5],[2.066,0],[2.633,3.034],[0,6.067],[-1.2,2.9],[-2.167,1.5],[-2.867,0],[-2,-1.3],[-1.067,-2.6],[.4,-3.933],[0,0],[0,0],[0,0],[0,0],[1,3.634],[1.966,2.4],[2.9,1.2],[3.666,0],[3.133,-1.4],[2.1,-2.5],[1.1,-3.466],[0,-4.066],[-1.1,-3.233],[-2.2,-2.3],[-3.2,-1.2],[-4.134,0]],o:[[2.5,-.7],[1.9,-1.366],[1.166,-1.933],[0,0],[-.4,1.267],[-.634,1.134],[-1.034,.867],[-1.467,.5],[-4.934,0],[-2.634,-3.033],[0,-4],[1.2,-2.9],[2.166,-1.5],[2.666,0],[2,1.3],[1.066,2.6],[0,0],[0,0],[0,0],[0,0],[.2,-4.866],[-1,-3.633],[-1.967,-2.4],[-2.9,-1.2],[-3.867,0],[-3.134,1.4],[-2.1,2.5],[-1.1,3.467],[0,4.134],[1.1,3.234],[2.2,2.3],[3.2,1.2],[3.266,0]],v:[[39.05,.25],[45.65,-2.85],[50.25,-7.8],[53,-14.4],[43.5,-16.5],[41.95,-12.9],[39.45,-9.9],[35.7,-7.85],[30.4,-7.1],[19.05,-11.65],[15.1,-25.3],[16.9,-35.65],[21.95,-42.25],[29.5,-44.5],[36.5,-42.55],[41.1,-36.7],[42.1,-26.9],[45.9,-31],[11.6,-30.6],[11.6,-23.9],[52.3,-24.3],[51.1,-37.05],[46.65,-46.1],[39.35,-51.5],[29.5,-53.3],[19,-51.2],[11.15,-45.35],[6.35,-36.4],[4.7,-25.1],[6.35,-14.05],[11.3,-5.75],[19.4,-.5],[30.4,1.3]],c:!0},ix:2},nm:"e",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"e",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"n",size:94,style:"Medium",w:60.8,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.134,3.067],[-2.067,1.934],[-3.067,0],[-1.767,-2.766],[0,-5.733],[0,0],[0,0],[0,0],[3.033,4.167],[5.8,0],[2.433,-1.266],[1.6,-2.566],[.933,-3.933],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[.133,-3.6],[1.133,-3.066],[2.066,-1.933],[3.466,0],[1.766,2.767],[0,0],[0,0],[0,0],[0,-8.466],[-3.034,-4.166],[-3.267,0],[-2.434,1.267],[-1.6,2.567],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[18.3,0],[18.3,-23.6],[20.2,-33.6],[25,-41.1],[32.7,-44],[40.55,-39.85],[43.2,-27.1],[43.2,0],[54.1,0],[54.1,-28.1],[49.55,-47.05],[36.3,-53.3],[27.75,-51.4],[21.7,-45.65],[17.9,-35.9],[16.3,-35.9],[16.9,-52],[7.4,-52],[7.4,-32],[7.4,0]],c:!0},ix:2},nm:"n",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"n",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"]",size:94,style:"Medium",w:30,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[22.2,-67.5],[11.9,-67.5],[11.9,11.9],[22.2,11.9]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[22.2,3.3],[1.3,3.3],[1.3,11.9],[22.2,11.9]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[22.2,-69],[1.3,-69],[1.3,-60.3],[22.2,-60.3]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"]",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"}]}});var B1=nt((wI,nS)=>{nS.exports={v:"5.9.0",fr:25,ip:0,op:43,w:1080,h:1080,nm:"Vibration",ddd:0,assets:[],fonts:{list:[{fName:"BricolageGrotesque-SemiBold",fFamily:"Bricolage Grotesque",fStyle:"SemiBold",ascent:70.9991455078125}]},layers:[{ddd:0,ind:1,ty:5,nm:"[Vibration] 4",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:2,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:14,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:17,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:22,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:24,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:37,s:[100]},{t:39,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:3.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:5.571,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:6.285,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.001,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.714,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:8.429,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:9.143,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:9.857,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:10.571,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:11.285,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12.001,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:13.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:14.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:22,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:24.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:26.571,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:27.286,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28.714,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:29.43,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:30.143,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:30.857,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:31.571,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:32.286,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:33,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:33.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:34.43,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:35.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:35.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:36.571,s:[2]},{t:39,s:[0]}],ix:10},p:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:0,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:2,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:2.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:3.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:4.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:4.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:5.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:6.285,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:7,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:7.714,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:8.429,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:9.143,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:9.973,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:10.571,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:11.285,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:12,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:12.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:13.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:14.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:.667},o:{x:.333,y:.333},t:17,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:22,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:24.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:25.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:25.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:26.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:27.286,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28.714,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:29.429,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:30.143,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:30.857,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:31.571,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:32.401,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:33,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:33.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:34.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:35.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:35.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:36.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{t:39,s:[540,540,0]}],ix:2,l:2},a:{a:0,k:[-1.88,-33.84,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:20,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],t:{d:{k:[{s:{s:94,f:"BricolageGrotesque-SemiBold",t:"[Vibration]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:125,st:0,bm:0},{ddd:0,ind:2,ty:5,nm:"[Vibration] 3",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:2,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:14,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:17,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:22,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:24,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:37,s:[100]},{t:39,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:3.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:5.571,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:6.285,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.001,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.714,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:8.429,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:9.143,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:9.857,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:10.571,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:11.285,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12.001,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:13.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:14.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:22,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:24.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:26.571,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:27.286,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28.714,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:29.43,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:30.143,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:30.857,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:31.571,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:32.286,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:33,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:33.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:34.43,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:35.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:35.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:36.571,s:[2]},{t:39,s:[0]}],ix:10},p:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:0,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:2,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:2.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:3.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:4.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:4.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:5.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:6.285,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:7,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:7.714,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:8.429,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:9.143,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:9.973,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:10.571,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:11.285,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:12,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:12.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:13.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:14.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:.667},o:{x:.333,y:.333},t:17,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:22,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:24.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:25.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:25.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:26.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:27.286,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28.714,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:29.429,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:30.143,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:30.857,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:31.571,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:32.401,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:33,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:33.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:34.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:35.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:35.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:36.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{t:39,s:[540,540,0]}],ix:2,l:2},a:{a:0,k:[-1.88,-33.84,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:20,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],t:{d:{k:[{s:{s:94,f:"BricolageGrotesque-SemiBold",t:"[Vibration]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:125,st:0,bm:0},{ddd:0,ind:3,ty:5,nm:"[Vibration] 2",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:2,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:14,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:17,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:22,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:24,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:37,s:[100]},{t:39,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:3.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:5.571,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:6.285,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.001,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.714,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:8.429,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:9.143,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:9.857,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:10.571,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:11.285,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12.001,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:13.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:14.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:22,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:24.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:26.571,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:27.286,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28.714,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:29.43,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:30.143,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:30.857,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:31.571,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:32.286,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:33,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:33.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:34.43,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:35.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:35.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:36.571,s:[2]},{t:39,s:[0]}],ix:10},p:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:0,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:2,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:2.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:3.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:4.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:4.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:5.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:6.285,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:7,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:7.714,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:8.429,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:9.143,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:9.973,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:10.571,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:11.285,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:12,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:12.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:13.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:14.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:.667},o:{x:.333,y:.333},t:17,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:22,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:24.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:25.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:25.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:26.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:27.286,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28.714,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:29.429,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:30.143,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:30.857,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:31.571,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:32.401,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:33,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:33.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:34.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:35.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:35.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:36.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{t:39,s:[540,540,0]}],ix:2,l:2},a:{a:0,k:[-1.88,-33.84,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,ef:[{ty:29,nm:"Gaussian Blur",np:5,mn:"ADBE Gaussian Blur 2",ix:1,en:1,ef:[{ty:0,nm:"Blurriness",mn:"ADBE Gaussian Blur 2-0001",ix:1,v:{a:0,k:20,ix:1}},{ty:7,nm:"Blur Dimensions",mn:"ADBE Gaussian Blur 2-0002",ix:2,v:{a:0,k:1,ix:2}},{ty:7,nm:"Repeat Edge Pixels",mn:"ADBE Gaussian Blur 2-0003",ix:3,v:{a:0,k:1,ix:3}}]}],t:{d:{k:[{s:{s:94,f:"BricolageGrotesque-SemiBold",t:"[Vibration]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:125,st:0,bm:0},{ddd:0,ind:4,ty:5,nm:"[Vibration]",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:3.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:5.571,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:6.285,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.001,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.714,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:8.429,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:9.143,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:9.857,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:10.571,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:11.285,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12.001,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:13.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:14.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:22,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:24.429,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:26.571,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:27.286,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28.714,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:29.43,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:30.143,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:30.857,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:31.571,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:32.286,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:33,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:33.714,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:34.43,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:35.143,s:[2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:35.857,s:[-2]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:36.571,s:[2]},{t:39,s:[0]}],ix:10},p:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:0,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:2,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:2.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:3.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:4.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:4.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:5.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:6.285,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:7,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:7.714,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:8.429,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:9.143,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:9.973,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:10.571,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:11.285,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:12,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:12.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:13.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:14.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:.667},o:{x:.333,y:.333},t:17,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:22,s:[540,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:24.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:25.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:25.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:26.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:27.286,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28.714,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:29.429,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:30.143,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:30.857,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:31.571,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:32.401,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:33,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:33.714,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:34.429,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:35.143,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:35.857,s:[549.732,540,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:36.571,s:[530.017,540,0],to:[0,0,0],ti:[0,0,0]},{t:39,s:[540,540,0]}],ix:2,l:2},a:{a:0,k:[-1.88,-33.84,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,t:{d:{k:[{s:{s:94,f:"BricolageGrotesque-SemiBold",t:"[Vibration]",ca:0,j:2,tr:0,lh:81,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:0,op:125,st:0,bm:0}],markers:[],chars:[{ch:"[",size:94,style:"SemiBold",w:32,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[19.5,11.9],[19.5,-68.1],[7.8,-68.1],[7.8,11.9]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29.6,11.9],[29.6,2.1],[7.8,2.1],[7.8,11.9]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29.6,-59.7],[29.6,-69.5],[7.8,-69.5],[7.8,-59.7]],c:!0},ix:2},nm:"[",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"[",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"V",size:94,style:"SemiBold",w:68.3,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[42.1,0],[64.3,-66],[50.7,-66],[33.9,-10.8],[32.7,-10.8],[16,-66],[2.2,-66],[24.3,0]],c:!0},ix:2},nm:"V",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"V",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"i",size:94,style:"SemiBold",w:26.8,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[19.7,0],[19.7,-52.3],[7.1,-52.3],[7.1,0]],c:!0},ix:2},nm:"i",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-1.367,1.1],[0,2.067],[1.333,1.067],[2.666,0],[1.366,-1.1],[0,-2.066],[-1.367,-1.1],[-2.534,0]],o:[[1.366,-1.1],[0,-2.133],[-1.334,-1.066],[-2.534,0],[-1.367,1.1],[0,2.067],[1.366,1.1],[2.6,0]],v:[[19.35,-62.15],[21.4,-66.9],[19.4,-71.7],[13.4,-73.3],[7.55,-71.65],[5.5,-66.9],[7.55,-62.15],[13.4,-60.5]],c:!0},ix:2},nm:"i",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"i",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"b",size:94,style:"SemiBold",w:62.8,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.167,2.266],[-1.7,4.067],[0,5.467],[1.733,4.1],[3.166,2.3],[4.333,0],[2.333,-1.4],[1.433,-2.433],[.866,-3.2],[0,0],[-.334,1.967],[-.2,1.867],[0,1.6],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-1.5,-2.4],[-2.4,-1.3],[-3.334,0]],o:[[3.166,-2.266],[1.7,-4.066],[0,-5.6],[-1.734,-4.1],[-3.167,-2.3],[-3.4,0],[-2.334,1.4],[-1.434,2.434],[0,0],[.4,-2],[.333,-1.966],[.2,-1.866],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[.666,3.334],[1.5,2.4],[2.4,1.3],[4.533,0]],v:[[48.65,-2.1],[55.95,-11.6],[58.5,-25.9],[55.9,-40.45],[48.55,-50.05],[37.3,-53.5],[28.7,-51.4],[23.05,-45.65],[19.6,-37.2],[17.5,-37.2],[18.6,-43.15],[19.4,-48.9],[19.7,-54.1],[19.7,-71],[7.1,-71],[7.1,-25.7],[7.1,0],[17.7,0],[17.6,-14.8],[19.4,-14.8],[22.65,-6.2],[28.5,-.65],[37.1,1.3]],c:!0},ix:2},nm:"b",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[1.666,1.034],[1.133,1.6],[.533,1.9],[0,1.667],[0,0],[-.367,1.5],[-.734,1.4],[-1.067,1.167],[-1.467,.7],[-1.734,0],[-1.8,-1.466],[-.934,-2.533],[0,-3.333],[.966,-2.533],[1.866,-1.4],[2.466,0]],o:[[-1.667,-1.033],[-1.134,-1.6],[-.534,-1.9],[0,0],[0,-1.266],[.366,-1.5],[.733,-1.4],[1.066,-1.166],[1.466,-.7],[2.6,0],[1.8,1.467],[.933,2.534],[0,3.467],[-.967,2.534],[-1.867,1.4],[-2.267,0]],v:[[27.2,-10.65],[23,-14.6],[20.5,-19.85],[19.7,-25.2],[19.7,-26.9],[20.25,-31.05],[21.9,-35.4],[24.6,-39.25],[28.4,-42.05],[33.2,-43.1],[39.8,-40.9],[43.9,-34.9],[45.3,-26.1],[43.85,-17.1],[39.6,-11.2],[33.1,-9.1]],c:!0},ix:2},nm:"b",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"b",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"r",size:94,style:"SemiBold",w:42.2,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.167,2.434],[-1.9,1.334],[-2.6,0],[-1.1,-.166],[-1.067,-.4],[0,0],[.766,.067],[.666,0],[2.266,-1.433],[1.266,-2.833],[.6,-4.266],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[.6,-3.333],[1.166,-2.433],[1.9,-1.333],[.933,0],[1.1,.167],[0,0],[-.934,-.266],[-.767,-.066],[-3.334,0],[-2.267,1.434],[-1.267,2.834],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[19.7,0],[19.7,-24.4],[22.35,-33.05],[26.95,-38.7],[33.7,-40.7],[36.75,-40.45],[40,-39.6],[40.5,-52.9],[37.95,-53.4],[35.8,-53.5],[27.4,-51.35],[22.1,-44.95],[19.3,-34.3],[17.5,-34.3],[17.7,-52.3],[7.1,-52.3],[7.1,-26.2],[7.1,0]],c:!0},ix:2},nm:"r",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"r",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"a",size:94,style:"SemiBold",w:57.5,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.5,1.233],[-1.734,2.1],[-.934,2.534],[0,0],[-.2,-2.133],[-.267,-1.866],[0,0],[.166,2.434],[.1,2.434],[0,2.267],[0,0],[1.533,3.3],[3.133,1.567],[4.866,0],[2.666,-.666],[2.066,-1.4],[1.4,-1.966],[.733,-2.666],[0,0],[-1.267,1.434],[-1.767,.667],[-1.934,0],[-1.434,-1.5],[0,-2.066],[.666,-.7],[1.433,-.333],[2.266,-.333],[3.066,-.833],[2.066,-1.233],[1.033,-1.933],[0,-2.733],[-1.3,-2.2],[-2.267,-1.1],[-2.867,0]],o:[[2.5,-1.233],[1.733,-2.1],[0,0],[.133,2.2],[.2,2.134],[0,0],[-.267,-2.266],[-.167,-2.433],[-.1,-2.433],[0,0],[0,-5.2],[-1.534,-3.3],[-3.134,-1.566],[-3.2,0],[-2.667,.667],[-2.067,1.4],[-1.4,1.967],[0,0],[.466,-2.333],[1.266,-1.433],[1.766,-.666],[3.2,0],[1.433,1.5],[0,1.4],[-.667,.7],[-1.434,.334],[-4.134,.6],[-3.067,.834],[-2.067,1.234],[-1.034,1.934],[0,3.267],[1.3,2.2],[2.266,1.1],[3.266,0]],v:[[27.85,-.55],[34.2,-5.55],[38.2,-12.5],[39.8,-12.5],[40.3,-6],[41,0],[52.3,0],[51.65,-7.05],[51.25,-14.35],[51.1,-21.4],[51.1,-31.2],[48.8,-43.95],[41.8,-51.25],[29.8,-53.6],[21,-52.6],[13.9,-49.5],[8.7,-44.45],[5.5,-37.5],[16.8,-34],[19.4,-39.65],[23.95,-42.8],[29.5,-43.8],[36.45,-41.55],[38.6,-36.2],[37.6,-33.05],[34.45,-31.5],[28.9,-30.5],[18.1,-28.35],[10.4,-25.25],[5.75,-20.5],[4.2,-13.5],[6.15,-5.3],[11.5,-.35],[19.2,1.3]],c:!0},ix:2},nm:"a",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[1.466,1.267],[0,2.267],[-.867,1.034],[-1.467,.567],[-1.834,.367],[-1.834,.267],[-1.667,.534],[-1.134,.934],[0,0],[0,0],[1.133,-1.366],[1.333,-.933],[1.366,-.466],[1.333,0]],o:[[-1.467,-1.266],[0,-1.8],[.866,-1.033],[1.466,-.566],[1.833,-.366],[1.833,-.266],[1.666,-.533],[0,0],[0,0],[-.8,1.867],[-1.134,1.367],[-1.334,.934],[-1.367,.467],[-2.267,0]],v:[[18.6,-9.9],[16.4,-15.2],[17.7,-19.45],[21.2,-21.85],[26.15,-23.25],[31.65,-24.2],[36.9,-25.4],[41.1,-27.6],[38.7,-28],[38.9,-19.1],[36,-14.25],[32.3,-10.8],[28.25,-8.7],[24.2,-8]],c:!0},ix:2},nm:"a",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"a",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"t",size:94,style:"SemiBold",w:40.4,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.7,.233],[-2.067,.666],[0,0],[1.233,-.3],[1.266,0],[1.166,1.134],[0,2.467],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[.933,-.6],[1.933,0],[0,0],[0,0],[0,0],[0,0],[-2.6,-2.966],[-5.534,0]],o:[[1.7,-.234],[0,0],[-1.067,.734],[-1.234,.3],[-2.334,0],[-1.167,-1.133],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-.2,1.534],[-.934,.6],[0,0],[0,0],[0,0],[0,0],[0,6.267],[2.6,2.967],[1.333,0]],v:[[29.95,.85],[35.6,-.5],[35.6,-12.5],[32.15,-10.95],[28.4,-10.5],[23.15,-12.2],[21.4,-17.6],[21.4,-41.8],[35.2,-41.8],[35.2,-52.3],[21.4,-52.3],[21.4,-63.9],[14.1,-63.9],[12.9,-56.3],[11.2,-53.1],[6.9,-52.2],[1.8,-52.2],[1.6,-42.2],[9.3,-42.2],[9.3,-17.1],[13.2,-3.25],[25.4,1.2]],c:!0},ix:2},nm:"t",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"t",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"o",size:94,style:"SemiBold",w:60.7,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.967,1.966],[-2.267,4.067],[0,6.134],[2.266,4.1],[3.933,2.067],[5.133,0],[3.933,-2],[2.3,-4.033],[0,-6.133],[-2.234,-4.1],[-3.934,-2.1],[-5.134,0]],o:[[3.966,-1.966],[2.266,-4.066],[0,-6.066],[-2.267,-4.1],[-3.934,-2.066],[-4.934,0],[-3.934,2],[-2.3,4.034],[0,6],[2.233,4.1],[3.933,2.1],[5,0]],v:[[43.75,-1.65],[53.1,-10.7],[56.5,-26],[53.1,-41.25],[43.8,-50.5],[30.2,-53.6],[16.9,-50.6],[7.55,-41.55],[4.1,-26.3],[7.45,-11.15],[16.7,-1.85],[30.3,1.3]],c:!0},ix:2},nm:"o",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[2.5,3.134],[0,5.867],[-1.034,2.534],[-2,1.3],[-2.667,0],[-2.034,-1.466],[-1.1,-2.7],[0,-3.8],[1.033,-2.6],[1.933,-1.3],[2.8,0]],o:[[-2.5,-3.133],[0,-3.733],[1.033,-2.533],[2,-1.3],[3.066,0],[2.033,1.467],[1.1,2.7],[0,3.6],[-1.034,2.6],[-1.934,1.3],[-4.334,0]],v:[[20.55,-13],[16.8,-26.5],[18.35,-35.9],[22.9,-41.65],[29.9,-43.6],[37.55,-41.4],[42.25,-35.15],[43.9,-25.4],[42.35,-16.1],[37.9,-10.25],[30.8,-8.3]],c:!0},ix:2},nm:"o",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"o",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"n",size:94,style:"SemiBold",w:61.9,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.034,2.9],[-1.934,1.767],[-2.8,0],[-1.7,-2.633],[0,-5.666],[0,0],[0,0],[0,0],[3.1,4.2],[5.933,0],[2.466,-1.266],[1.566,-2.533],[.933,-3.933],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[.066,-3.466],[1.033,-2.9],[1.933,-1.766],[3.333,0],[1.7,2.634],[0,0],[0,0],[0,0],[0,-8.8],[-3.1,-4.2],[-3.267,0],[-2.467,1.267],[-1.567,2.534],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[19.7,0],[19.7,-23.7],[21.35,-33.25],[25.8,-40.25],[32.9,-42.9],[40.45,-38.95],[43,-26.5],[43,0],[55.7,0],[55.7,-27.8],[51.05,-47.3],[37.5,-53.6],[28.9,-51.7],[22.85,-46],[19.1,-36.3],[17.3,-36.3],[17.6,-52.3],[7.1,-52.3],[7.1,-31.9],[7.1,0]],c:!0},ix:2},nm:"n",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"n",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"},{ch:"]",size:94,style:"SemiBold",w:31,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,-68.1],[11.7,-68.1],[11.7,11.9],[23.4,11.9]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,2.1],[1.6,2.1],[1.6,11.9],[23.4,11.9]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[23.4,-69.5],[1.6,-69.5],[1.6,-59.7],[23.4,-59.7]],c:!0},ix:2},nm:"]",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"]",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Bricolage Grotesque"}]}});var K1=nt((q1,Kd)=>{"use strict";(function H(u){(function(n,i){typeof q1=="object"&&typeof Kd<"u"?Kd.exports=i():typeof define=="function"&&define.amd?define(i):(n=typeof globalThis<"u"?globalThis:n||self,n.Hls=i())})(this,(function(){"use strict";function n(N,j){(j==null||j>N.length)&&(j=N.length);for(var w=0,g=Array(j);w<j;w++)g[w]=N[w];return g}function i(N,j,w){if(o())return Reflect.construct.apply(null,arguments);var g=[null];g.push.apply(g,j);var s=new(N.bind.apply(N,g));return w&&h(s,w.prototype),s}function c(N,j){for(var w=0;w<j.length;w++){var g=j[w];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(N,p(g.key),g)}}function m(N,j,w){return j&&c(N.prototype,j),w&&c(N,w),Object.defineProperty(N,"prototype",{writable:!1}),N}function $(N,j){var w=typeof Symbol<"u"&&N[Symbol.iterator]||N["@@iterator"];if(w)return(w=w.call(N)).next.bind(w);if(Array.isArray(N)||(w=A(N))||j){w&&(N=w);var g=0;return function(){return g>=N.length?{done:!0}:{done:!1,value:N[g++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function P(N,j,w){return(j=p(j))in N?Object.defineProperty(N,j,{value:w,enumerable:!0,configurable:!0,writable:!0}):N[j]=w,N}function t(){return t=Object.assign?Object.assign.bind():function(N){for(var j=1;j<arguments.length;j++){var w=arguments[j];for(var g in w)({}).hasOwnProperty.call(w,g)&&(N[g]=w[g])}return N},t.apply(null,arguments)}function _(N){return _=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(j){return j.__proto__||Object.getPrototypeOf(j)},_(N)}function a(N,j){N.prototype=Object.create(j.prototype),N.prototype.constructor=N,h(N,j)}function r(N){try{return Function.toString.call(N).indexOf("[native code]")!==-1}catch{return typeof N=="function"}}function o(){try{var N=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(o=function(){return!!N})()}function l(N,j){var w=Object.keys(N);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(N);j&&(g=g.filter(function(s){return Object.getOwnPropertyDescriptor(N,s).enumerable})),w.push.apply(w,g)}return w}function d(N){for(var j=1;j<arguments.length;j++){var w=arguments[j]!=null?arguments[j]:{};j%2?l(Object(w),!0).forEach(function(g){P(N,g,w[g])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(w)):l(Object(w)).forEach(function(g){Object.defineProperty(N,g,Object.getOwnPropertyDescriptor(w,g))})}return N}function h(N,j){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,g){return w.__proto__=g,w},h(N,j)}function f(N,j){if(typeof N!="object"||!N)return N;var w=N[Symbol.toPrimitive];if(w!==void 0){var g=w.call(N,j);if(typeof g!="object")return g;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(N)}function p(N){var j=f(N,"string");return typeof j=="symbol"?j:j+""}function A(N,j){if(N){if(typeof N=="string")return n(N,j);var w={}.toString.call(N).slice(8,-1);return w==="Object"&&N.constructor&&(w=N.constructor.name),w==="Map"||w==="Set"?Array.from(N):w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?n(N,j):void 0}}function x(N){var j=typeof Map=="function"?new Map:void 0;return x=function(w){if(w===null||!r(w))return w;if(typeof w!="function")throw new TypeError("Super expression must either be null or a function");if(j!==void 0){if(j.has(w))return j.get(w);j.set(w,g)}function g(){return i(w,arguments,_(this).constructor)}return g.prototype=Object.create(w.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),h(g,w)},x(N)}function I(){try{return crypto.randomUUID()}catch{try{var N=URL.createObjectURL(new Blob),j=N.toString();return URL.revokeObjectURL(N),j.slice(j.lastIndexOf("/")+1)}catch{var w=new Date().getTime(),g="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(M){var B=(w+Math.random()*16)%16|0;return w=Math.floor(w/16),(M=="x"?B:B&3|8).toString(16)});return g}}}function T(N){return N&&N.__esModule&&Object.prototype.hasOwnProperty.call(N,"default")?N.default:N}var y={exports:{}},E;function S(){return E||(E=1,(function(N){var j=Object.prototype.hasOwnProperty,w="~";function g(){}Object.create&&(g.prototype=Object.create(null),new g().__proto__||(w=!1));function s(W,z,X){this.fn=W,this.context=z,this.once=X||!1}function v(W,z,X,J,re){if(typeof X!="function")throw new TypeError("The listener must be a function");var se=new s(X,J||W,re),le=w?w+z:z;return W._events[le]?W._events[le].fn?W._events[le]=[W._events[le],se]:W._events[le].push(se):(W._events[le]=se,W._eventsCount++),W}function M(W,z){--W._eventsCount===0?W._events=new g:delete W._events[z]}function B(){this._events=new g,this._eventsCount=0}B.prototype.eventNames=function(){var z=[],X,J;if(this._eventsCount===0)return z;for(J in X=this._events)j.call(X,J)&&z.push(w?J.slice(1):J);return Object.getOwnPropertySymbols?z.concat(Object.getOwnPropertySymbols(X)):z},B.prototype.listeners=function(z){var X=w?w+z:z,J=this._events[X];if(!J)return[];if(J.fn)return[J.fn];for(var re=0,se=J.length,le=new Array(se);re<se;re++)le[re]=J[re].fn;return le},B.prototype.listenerCount=function(z){var X=w?w+z:z,J=this._events[X];return J?J.fn?1:J.length:0},B.prototype.emit=function(z,X,J,re,se,le){var fe=w?w+z:z;if(!this._events[fe])return!1;var pe=this._events[fe],be=arguments.length,Ee,Ie;if(pe.fn){switch(pe.once&&this.removeListener(z,pe.fn,void 0,!0),be){case 1:return pe.fn.call(pe.context),!0;case 2:return pe.fn.call(pe.context,X),!0;case 3:return pe.fn.call(pe.context,X,J),!0;case 4:return pe.fn.call(pe.context,X,J,re),!0;case 5:return pe.fn.call(pe.context,X,J,re,se),!0;case 6:return pe.fn.call(pe.context,X,J,re,se,le),!0}for(Ie=1,Ee=new Array(be-1);Ie<be;Ie++)Ee[Ie-1]=arguments[Ie];pe.fn.apply(pe.context,Ee)}else{var Ce=pe.length,xe;for(Ie=0;Ie<Ce;Ie++)switch(pe[Ie].once&&this.removeListener(z,pe[Ie].fn,void 0,!0),be){case 1:pe[Ie].fn.call(pe[Ie].context);break;case 2:pe[Ie].fn.call(pe[Ie].context,X);break;case 3:pe[Ie].fn.call(pe[Ie].context,X,J);break;case 4:pe[Ie].fn.call(pe[Ie].context,X,J,re);break;default:if(!Ee)for(xe=1,Ee=new Array(be-1);xe<be;xe++)Ee[xe-1]=arguments[xe];pe[Ie].fn.apply(pe[Ie].context,Ee)}}return!0},B.prototype.on=function(z,X,J){return v(this,z,X,J,!1)},B.prototype.once=function(z,X,J){return v(this,z,X,J,!0)},B.prototype.removeListener=function(z,X,J,re){var se=w?w+z:z;if(!this._events[se])return this;if(!X)return M(this,se),this;var le=this._events[se];if(le.fn)le.fn===X&&(!re||le.once)&&(!J||le.context===J)&&M(this,se);else{for(var fe=0,pe=[],be=le.length;fe<be;fe++)(le[fe].fn!==X||re&&!le[fe].once||J&&le[fe].context!==J)&&pe.push(le[fe]);pe.length?this._events[se]=pe.length===1?pe[0]:pe:M(this,se)}return this},B.prototype.removeAllListeners=function(z){var X;return z?(X=w?w+z:z,this._events[X]&&M(this,X)):(this._events=new g,this._eventsCount=0),this},B.prototype.off=B.prototype.removeListener,B.prototype.addListener=B.prototype.on,B.prefixed=w,B.EventEmitter=B,N.exports=B})(y)),y.exports}var b=S(),C=T(b),O={exports:{}},k;function R(){return k||(k=1,(function(N,j){(function(w){var g=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,s=/^(?=([^\/?#]*))\1([^]*)$/,v=/(?:\/|^)\.(?=\/)/g,M=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,B={buildAbsoluteURL:function(W,z,X){if(X=X||{},W=W.trim(),z=z.trim(),!z){if(!X.alwaysNormalize)return W;var J=B.parseURL(W);if(!J)throw new Error("Error trying to parse base URL.");return J.path=B.normalizePath(J.path),B.buildURLFromParts(J)}var re=B.parseURL(z);if(!re)throw new Error("Error trying to parse relative URL.");if(re.scheme)return X.alwaysNormalize?(re.path=B.normalizePath(re.path),B.buildURLFromParts(re)):z;var se=B.parseURL(W);if(!se)throw new Error("Error trying to parse base URL.");if(!se.netLoc&&se.path&&se.path[0]!=="/"){var le=s.exec(se.path);se.netLoc=le[1],se.path=le[2]}se.netLoc&&!se.path&&(se.path="/");var fe={scheme:se.scheme,netLoc:re.netLoc,path:null,params:re.params,query:re.query,fragment:re.fragment};if(!re.netLoc&&(fe.netLoc=se.netLoc,re.path[0]!=="/"))if(!re.path)fe.path=se.path,re.params||(fe.params=se.params,re.query||(fe.query=se.query));else{var pe=se.path,be=pe.substring(0,pe.lastIndexOf("/")+1)+re.path;fe.path=B.normalizePath(be)}return fe.path===null&&(fe.path=X.alwaysNormalize?B.normalizePath(re.path):re.path),B.buildURLFromParts(fe)},parseURL:function(W){var z=g.exec(W);return z?{scheme:z[1]||"",netLoc:z[2]||"",path:z[3]||"",params:z[4]||"",query:z[5]||"",fragment:z[6]||""}:null},normalizePath:function(W){for(W=W.split("").reverse().join("").replace(v,"");W.length!==(W=W.replace(M,"")).length;);return W.split("").reverse().join("")},buildURLFromParts:function(W){return W.scheme+W.netLoc+W.path+W.params+W.query+W.fragment}};N.exports=B})()})(O)),O.exports}var D=R(),V=Number.isFinite||function(N){return typeof N=="number"&&isFinite(N)},q=Number.isSafeInteger||function(N){return typeof N=="number"&&Math.abs(N)<=K},K=Number.MAX_SAFE_INTEGER||9007199254740991,G=(function(N){return N.NETWORK_ERROR="networkError",N.MEDIA_ERROR="mediaError",N.KEY_SYSTEM_ERROR="keySystemError",N.MUX_ERROR="muxError",N.OTHER_ERROR="otherError",N})({}),U=(function(N){return N.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",N.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",N.KEY_SYSTEM_NO_SESSION="keySystemNoSession",N.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",N.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",N.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",N.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",N.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",N.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",N.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",N.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",N.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",N.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",N.MANIFEST_LOAD_ERROR="manifestLoadError",N.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",N.MANIFEST_PARSING_ERROR="manifestParsingError",N.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",N.LEVEL_EMPTY_ERROR="levelEmptyError",N.LEVEL_LOAD_ERROR="levelLoadError",N.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",N.LEVEL_PARSING_ERROR="levelParsingError",N.LEVEL_SWITCH_ERROR="levelSwitchError",N.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",N.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",N.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",N.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",N.FRAG_LOAD_ERROR="fragLoadError",N.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",N.FRAG_DECRYPT_ERROR="fragDecryptError",N.FRAG_PARSING_ERROR="fragParsingError",N.FRAG_GAP="fragGap",N.REMUX_ALLOC_ERROR="remuxAllocError",N.KEY_LOAD_ERROR="keyLoadError",N.KEY_LOAD_TIMEOUT="keyLoadTimeOut",N.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",N.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",N.BUFFER_APPEND_ERROR="bufferAppendError",N.BUFFER_APPENDING_ERROR="bufferAppendingError",N.BUFFER_STALLED_ERROR="bufferStalledError",N.BUFFER_FULL_ERROR="bufferFullError",N.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",N.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",N.ASSET_LIST_LOAD_ERROR="assetListLoadError",N.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",N.ASSET_LIST_PARSING_ERROR="assetListParsingError",N.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",N.INTERNAL_EXCEPTION="internalException",N.INTERNAL_ABORTED="aborted",N.ATTACH_MEDIA_ERROR="attachMediaError",N.UNKNOWN="unknown",N})({}),L=(function(N){return N.MEDIA_ATTACHING="hlsMediaAttaching",N.MEDIA_ATTACHED="hlsMediaAttached",N.MEDIA_DETACHING="hlsMediaDetaching",N.MEDIA_DETACHED="hlsMediaDetached",N.MEDIA_ENDED="hlsMediaEnded",N.STALL_RESOLVED="hlsStallResolved",N.BUFFER_RESET="hlsBufferReset",N.BUFFER_CODECS="hlsBufferCodecs",N.BUFFER_CREATED="hlsBufferCreated",N.BUFFER_APPENDING="hlsBufferAppending",N.BUFFER_APPENDED="hlsBufferAppended",N.BUFFER_EOS="hlsBufferEos",N.BUFFERED_TO_END="hlsBufferedToEnd",N.BUFFER_FLUSHING="hlsBufferFlushing",N.BUFFER_FLUSHED="hlsBufferFlushed",N.MANIFEST_LOADING="hlsManifestLoading",N.MANIFEST_LOADED="hlsManifestLoaded",N.MANIFEST_PARSED="hlsManifestParsed",N.LEVEL_SWITCHING="hlsLevelSwitching",N.LEVEL_SWITCHED="hlsLevelSwitched",N.LEVEL_LOADING="hlsLevelLoading",N.LEVEL_LOADED="hlsLevelLoaded",N.LEVEL_UPDATED="hlsLevelUpdated",N.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",N.LEVELS_UPDATED="hlsLevelsUpdated",N.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",N.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",N.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",N.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",N.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",N.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",N.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",N.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",N.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",N.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",N.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",N.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",N.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",N.CUES_PARSED="hlsCuesParsed",N.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",N.INIT_PTS_FOUND="hlsInitPtsFound",N.FRAG_LOADING="hlsFragLoading",N.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",N.FRAG_LOADED="hlsFragLoaded",N.FRAG_DECRYPTED="hlsFragDecrypted",N.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",N.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",N.FRAG_PARSING_METADATA="hlsFragParsingMetadata",N.FRAG_PARSED="hlsFragParsed",N.FRAG_BUFFERED="hlsFragBuffered",N.FRAG_CHANGED="hlsFragChanged",N.FPS_DROP="hlsFpsDrop",N.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",N.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",N.ERROR="hlsError",N.DESTROYING="hlsDestroying",N.KEY_LOADING="hlsKeyLoading",N.KEY_LOADED="hlsKeyLoaded",N.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",N.BACK_BUFFER_REACHED="hlsBackBufferReached",N.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",N.ASSET_LIST_LOADING="hlsAssetListLoading",N.ASSET_LIST_LOADED="hlsAssetListLoaded",N.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",N.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",N.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",N.INTERSTITIAL_STARTED="hlsInterstitialStarted",N.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",N.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",N.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",N.INTERSTITIAL_ENDED="hlsInterstitialEnded",N.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",N.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",N.EVENT_CUE_ENTER="hlsEventCueEnter",N})({}),F={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},Y={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"},Z=(function(){function N(w,g,s){g===void 0&&(g=0),s===void 0&&(s=0),this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=w,this.alpha_=w?Math.exp(Math.log(.5)/w):0,this.estimate_=g,this.totalWeight_=s}var j=N.prototype;return j.sample=function(g,s){var v=Math.pow(this.alpha_,g);this.estimate_=s*(1-v)+v*this.estimate_,this.totalWeight_+=g},j.getTotalWeight=function(){return this.totalWeight_},j.getEstimate=function(){if(this.alpha_){var g=1-Math.pow(this.alpha_,this.totalWeight_);if(g)return this.estimate_/g}return this.estimate_},N})(),te=(function(){function N(w,g,s,v){v===void 0&&(v=100),this.defaultEstimate_=void 0,this.minWeight_=void 0,this.minDelayMs_=void 0,this.slow_=void 0,this.fast_=void 0,this.defaultTTFB_=void 0,this.ttfb_=void 0,this.defaultEstimate_=s,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new Z(w),this.fast_=new Z(g),this.defaultTTFB_=v,this.ttfb_=new Z(w)}var j=N.prototype;return j.update=function(g,s){var v=this.slow_,M=this.fast_,B=this.ttfb_;v.halfLife!==g&&(this.slow_=new Z(g,v.getEstimate(),v.getTotalWeight())),M.halfLife!==s&&(this.fast_=new Z(s,M.getEstimate(),M.getTotalWeight())),B.halfLife!==g&&(this.ttfb_=new Z(g,B.getEstimate(),B.getTotalWeight()))},j.sample=function(g,s){g=Math.max(g,this.minDelayMs_);var v=8*s,M=g/1e3,B=v/M;this.fast_.sample(M,B),this.slow_.sample(M,B)},j.sampleTTFB=function(g){var s=g/1e3,v=Math.sqrt(2)*Math.exp(-Math.pow(s,2)/2);this.ttfb_.sample(v,Math.max(g,5))},j.canEstimate=function(){return this.fast_.getTotalWeight()>=this.minWeight_},j.getEstimate=function(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_},j.getEstimateTTFB=function(){return this.ttfb_.getTotalWeight()>=this.minWeight_?this.ttfb_.getEstimate():this.defaultTTFB_},j.destroy=function(){},m(N,[{key:"defaultEstimate",get:function(){return this.defaultEstimate_}}])})(),ne=function(j,w){this.trace=void 0,this.debug=void 0,this.log=void 0,this.warn=void 0,this.info=void 0,this.error=void 0;var g="["+j+"]:";this.trace=ae,this.debug=w.debug.bind(null,g),this.log=w.log.bind(null,g),this.warn=w.warn.bind(null,g),this.info=w.info.bind(null,g),this.error=w.error.bind(null,g)},ae=function(){},oe={trace:ae,debug:ae,log:ae,warn:ae,info:ae,error:ae};function _e(){return t({},oe)}function me(N,j){var w=self.console[N];return w?w.bind(self.console,(j?"["+j+"] ":"")+"["+N+"] >"):ae}function $e(N,j,w){return j[N]?j[N].bind(j):me(N,w)}var ve=_e();function ge(N,j,w){var g=_e();if(typeof console=="object"&&N===!0||typeof N=="object"){var s=["debug","log","info","warn","error"];s.forEach(function(v){g[v]=$e(v,N,w)});try{g.log('Debug logs enabled for "'+j+'" in hls.js version 1.6.2')}catch{return _e()}s.forEach(function(v){ve[v]=$e(v,N)})}else t(ve,g);return g}var Te=ve;function Ae(N){if(N===void 0&&(N=!0),!(typeof self>"u")){var j=(N||!self.MediaSource)&&self.ManagedMediaSource;return j||self.MediaSource||self.WebKitMediaSource}}function de(N){return typeof self<"u"&&N===self.ManagedMediaSource}function ie(N,j){var w=Object.keys(N),g=Object.keys(j),s=w.length,v=g.length;return!s||!v||s===v&&!w.some(function(M){return g.indexOf(M)===-1})}function Q(N,j){if(j===void 0&&(j=!1),typeof TextDecoder<"u"){var w=new TextDecoder("utf-8"),g=w.decode(N);if(j){var s=g.indexOf("\0");return s!==-1?g.substring(0,s):g}return g.replace(/\0/g,"")}for(var v=N.length,M,B,W,z="",X=0;X<v;){if(M=N[X++],M===0&&j)return z;if(M===0||M===3)continue;switch(M>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:z+=String.fromCharCode(M);break;case 12:case 13:B=N[X++],z+=String.fromCharCode((M&31)<<6|B&63);break;case 14:B=N[X++],W=N[X++],z+=String.fromCharCode((M&15)<<12|(B&63)<<6|(W&63)<<0);break}}return z}var ee={hexDump:function(j){for(var w="",g=0;g<j.length;g++){var s=j[g].toString(16);s.length<2&&(s="0"+s),w+=s}return w}},ue=function(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}},he={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"},Se=(function(){function N(w){this._byteRange=null,this._url=null,this._stats=null,this._streams=null,this.base=void 0,this.relurl=void 0,typeof w=="string"&&(w={url:w}),this.base=w,Be(this,"stats")}var j=N.prototype;return j.setByteRange=function(g,s){var v=g.split("@",2),M;v.length===1?M=s?.byteRangeEndOffset||0:M=parseInt(v[1]),this._byteRange=[M,parseInt(v[0])+M]},j.clearElementaryStreamInfo=function(){var g=this.elementaryStreams;g[he.AUDIO]=null,g[he.VIDEO]=null,g[he.AUDIOVIDEO]=null},m(N,[{key:"baseurl",get:function(){return this.base.url}},{key:"byteRange",get:function(){return this._byteRange===null?[]:this._byteRange}},{key:"byteRangeStartOffset",get:function(){return this.byteRange[0]}},{key:"byteRangeEndOffset",get:function(){return this.byteRange[1]}},{key:"elementaryStreams",get:function(){if(this._streams===null){var g;this._streams=(g={},g[he.AUDIO]=null,g[he.VIDEO]=null,g[he.AUDIOVIDEO]=null,g)}return this._streams},set:function(g){this._streams=g}},{key:"hasStats",get:function(){return this._stats!==null}},{key:"hasStreams",get:function(){return this._streams!==null}},{key:"stats",get:function(){return this._stats===null&&(this._stats=new ue),this._stats},set:function(g){this._stats=g}},{key:"url",get:function(){return!this._url&&this.baseurl&&this.relurl&&(this._url=D.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""},set:function(g){this._url=g}}])})();function we(N){return N.sn!=="initSegment"}var De=(function(N){function j(g,s){var v;return v=N.call(this,s)||this,v._decryptdata=null,v._programDateTime=null,v._ref=null,v._bitrate=void 0,v.rawProgramDateTime=null,v.tagList=[],v.duration=0,v.sn=0,v.levelkeys=void 0,v.type=void 0,v.loader=null,v.keyLoader=null,v.level=-1,v.cc=0,v.startPTS=void 0,v.endPTS=void 0,v.startDTS=void 0,v.endDTS=void 0,v.start=0,v.playlistOffset=0,v.deltaPTS=void 0,v.maxStartPTS=void 0,v.minEndPTS=void 0,v.data=void 0,v.bitrateTest=!1,v.title=null,v.initSegment=null,v.endList=void 0,v.gap=void 0,v.urlId=0,v.type=g,v}a(j,N);var w=j.prototype;return w.addStart=function(s){this.setStart(this.start+s)},w.setStart=function(s){this.start=s,this._ref&&(this._ref.start=s)},w.setDuration=function(s){this.duration=s,this._ref&&(this._ref.duration=s)},w.setKeyFormat=function(s){if(this.levelkeys){var v=this.levelkeys[s];v&&!this._decryptdata&&(this._decryptdata=v.getDecryptData(this.sn))}},w.abortRequests=function(){var s,v;(s=this.loader)==null||s.abort(),(v=this.keyLoader)==null||v.abort()},w.setElementaryStreamInfo=function(s,v,M,B,W,z){z===void 0&&(z=!1);var X=this.elementaryStreams,J=X[s];if(!J){X[s]={startPTS:v,endPTS:M,startDTS:B,endDTS:W,partial:z};return}J.startPTS=Math.min(J.startPTS,v),J.endPTS=Math.max(J.endPTS,M),J.startDTS=Math.min(J.startDTS,B),J.endDTS=Math.max(J.endDTS,W)},m(j,[{key:"byteLength",get:function(){if(this.hasStats){var s=this.stats.total;if(s)return s}if(this.byteRange){var v=this.byteRange[0],M=this.byteRange[1];if(V(v)&&V(M))return M-v}return null}},{key:"bitrate",get:function(){return this.byteLength?this.byteLength*8/this.duration:this._bitrate?this._bitrate:null},set:function(s){this._bitrate=s}},{key:"decryptdata",get:function(){var s=this.levelkeys;if(!s&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){var v=this.levelkeys.identity;if(v)this._decryptdata=v.getDecryptData(this.sn);else{var M=Object.keys(this.levelkeys);if(M.length===1)return this._decryptdata=this.levelkeys[M[0]].getDecryptData(this.sn)}}return this._decryptdata}},{key:"end",get:function(){return this.start+this.duration}},{key:"endProgramDateTime",get:function(){if(this.programDateTime===null)return null;var s=V(this.duration)?this.duration:0;return this.programDateTime+s*1e3}},{key:"encrypted",get:function(){var s;if((s=this._decryptdata)!=null&&s.encrypted)return!0;if(this.levelkeys){var v=Object.keys(this.levelkeys),M=v.length;if(M>1||M===1&&this.levelkeys[v[0]].encrypted)return!0}return!1}},{key:"programDateTime",get:function(){return this._programDateTime===null&&this.rawProgramDateTime&&(this.programDateTime=Date.parse(this.rawProgramDateTime)),this._programDateTime},set:function(s){if(!V(s)){this._programDateTime=this.rawProgramDateTime=null;return}this._programDateTime=s}},{key:"ref",get:function(){return we(this)?(this._ref||(this._ref={base:this.base,start:this.start,duration:this.duration,sn:this.sn,programDateTime:this.programDateTime}),this._ref):null}}])})(Se),Ke=(function(N){function j(w,g,s,v,M){var B;B=N.call(this,s)||this,B.fragOffset=0,B.duration=0,B.gap=!1,B.independent=!1,B.relurl=void 0,B.fragment=void 0,B.index=void 0,B.duration=w.decimalFloatingPoint("DURATION"),B.gap=w.bool("GAP"),B.independent=w.bool("INDEPENDENT"),B.relurl=w.enumeratedString("URI"),B.fragment=g,B.index=v;var W=w.enumeratedString("BYTERANGE");return W&&B.setByteRange(W,M),M&&(B.fragOffset=M.fragOffset+M.duration),B}return a(j,N),m(j,[{key:"start",get:function(){return this.fragment.start+this.fragOffset}},{key:"end",get:function(){return this.start+this.duration}},{key:"loaded",get:function(){var g=this.elementaryStreams;return!!(g.audio||g.video||g.audiovideo)}}])})(Se);function st(N,j){var w=Object.getPrototypeOf(N);if(w){var g=Object.getOwnPropertyDescriptor(w,j);return g||st(w,j)}}function Be(N,j){var w=st(N,j);w&&(w.enumerable=!0,Object.defineProperty(N,j,w))}var Pe=Math.pow(2,32)-1,ke=[].push,Le={video:1,audio:2,id3:3,text:4};function qe(N){return String.fromCharCode.apply(null,N)}function tt(N,j){var w=N[j]<<8|N[j+1];return w<0?65536+w:w}function je(N,j){var w=Ze(N,j);return w<0?4294967296+w:w}function at(N,j){var w=je(N,j);return w*=Math.pow(2,32),w+=je(N,j+4),w}function Ze(N,j){return N[j]<<24|N[j+1]<<16|N[j+2]<<8|N[j+3]}function Xe(N,j,w){N[j]=w>>24,N[j+1]=w>>16&255,N[j+2]=w>>8&255,N[j+3]=w&255}function Oe(N){for(var j=N.byteLength,w=0;w<j;){var g=je(N,w);if(g>8&&N[w+4]===109&&N[w+5]===111&&N[w+6]===111&&N[w+7]===102)return!0;w=g>1?w+g:j}return!1}function ce(N,j){var w=[];if(!j.length)return w;for(var g=N.byteLength,s=0;s<g;){var v=je(N,s),M=qe(N.subarray(s+4,s+8)),B=v>1?s+v:g;if(M===j[0])if(j.length===1)w.push(N.subarray(s+8,B));else{var W=ce(N.subarray(s+8,B),j.slice(1));W.length&&ke.apply(w,W)}s=B}return w}function ye(N){var j=[],w=N[0],g=8,s=je(N,g);g+=4;var v=0,M=0;w===0?(v=je(N,g),M=je(N,g+4),g+=8):(v=at(N,g),M=at(N,g+8),g+=16),g+=2;var B=N.length+M,W=tt(N,g);g+=2;for(var z=0;z<W;z++){var X=g,J=je(N,X);X+=4;var re=J&2147483647,se=(J&2147483648)>>>31;if(se===1)return Te.warn("SIDX has hierarchical references (not supported)"),null;var le=je(N,X);X+=4,j.push({referenceSize:re,subsegmentDuration:le,info:{duration:le/s,start:B,end:B+re-1}}),B+=re,X+=4,g=X}return{earliestPresentationTime:v,timescale:s,version:w,referencesCount:W,references:j}}function Re(N){for(var j=[],w=ce(N,["moov","trak"]),g=0;g<w.length;g++){var s=w[g],v=ce(s,["tkhd"])[0];if(v){var M=v[0],B=je(v,M===0?12:20),W=ce(s,["mdia","mdhd"])[0];if(W){M=W[0];var z=je(W,M===0?12:20),X=ce(s,["mdia","hdlr"])[0];if(X){var J=qe(X.subarray(8,12)),re={soun:he.AUDIO,vide:he.VIDEO}[J],se=ce(s,["mdia","minf","stbl","stsd"])[0],le=Me(se);re?(j[B]={timescale:z,type:re,stsd:le},j[re]=d({timescale:z,id:B},le)):j[B]={timescale:z,type:J,stsd:le}}}}}var fe=ce(N,["moov","mvex","trex"]);return fe.forEach(function(pe){var be=je(pe,4),Ee=j[be];Ee&&(Ee.default={duration:je(pe,12),flags:je(pe,20)})}),j}function Me(N){var j=N.subarray(8),w=j.subarray(86),g=qe(j.subarray(4,8)),s=g,v,M=g==="enca"||g==="encv";if(M){var B=ce(j,[g])[0],W=B.subarray(g==="enca"?28:78),z=ce(W,["sinf"]);z.forEach(function(xn){var En=ce(xn,["schm"])[0];if(En){var mn=qe(En.subarray(4,8));if(mn==="cbcs"||mn==="cenc"){var sn=ce(xn,["frma"])[0];sn&&(s=qe(sn))}}})}var X=s;switch(s){case"avc1":case"avc2":case"avc3":case"avc4":{var J=ce(w,["avcC"])[0];J&&J.length>3&&(s+="."+Je(J[1])+Je(J[2])+Je(J[3]),v=Ye(X==="avc1"?"dva1":"dvav",w));break}case"mp4a":{var re=ce(j,[g])[0],se=ce(re.subarray(28),["esds"])[0];if(se&&se.length>7){var le=4;if(se[le++]!==3)break;le=et(se,le),le+=2;var fe=se[le++];if(fe&128&&(le+=2),fe&64&&(le+=se[le++]),se[le++]!==4)break;le=et(se,le);var pe=se[le++];if(pe===64)s+="."+Je(pe);else break;if(le+=12,se[le++]!==5)break;le=et(se,le);var be=se[le++],Ee=(be&248)>>3;Ee===31&&(Ee+=1+((be&7)<<3)+((se[le]&224)>>5)),s+="."+Ee}break}case"hvc1":case"hev1":{var Ie=ce(w,["hvcC"])[0];if(Ie&&Ie.length>12){var Ce=Ie[1],xe=["","A","B","C"][Ce>>6],Ne=Ce&31,Ue=je(Ie,2),Ve=(Ce&32)>>5?"H":"L",ze=Ie[12],He=Ie.subarray(6,12);s+="."+xe+Ne,s+="."+Ue.toString(16).toUpperCase(),s+="."+Ve+ze;for(var Fe="",We=He.length;We--;){var Qe=He[We];if(Qe||Fe){var ut=Qe.toString(16).toUpperCase();Fe="."+ut+Fe}}s+=Fe}v=Ye(X=="hev1"?"dvhe":"dvh1",w);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{s=Ye(s,w)||s;break}case"vp09":{var ot=ce(w,["vpcC"])[0];if(ot&&ot.length>6){var rt=ot[4],dt=ot[5],ht=ot[6]>>4&15;s+="."+lt(rt)+"."+lt(dt)+"."+lt(ht)}break}case"av01":{var ft=ce(w,["av1C"])[0];if(ft&&ft.length>2){var St=ft[1]>>>5,kt=ft[1]&31,$t=ft[2]>>>7?"H":"M",Nt=(ft[2]&64)>>6,At=(ft[2]&32)>>5,Ut=St===2&&Nt?At?12:10:Nt?10:8,Ft=(ft[2]&16)>>4,Gt=(ft[2]&8)>>3,cn=(ft[2]&4)>>2,on=ft[2]&3,Yt=1,dn=1,nn=1,Ct=0;s+="."+St+"."+lt(kt)+$t+"."+lt(Ut)+"."+Ft+"."+Gt+cn+on+"."+lt(Yt)+"."+lt(dn)+"."+lt(nn)+"."+Ct,v=Ye("dav1",w)}break}}return{codec:s,encrypted:M,supplemental:v}}function Ye(N,j){var w=ce(j,["dvvC"]),g=w.length?w[0]:ce(j,["dvcC"])[0];if(g){var s=g[2]>>1&127,v=g[2]<<5&32|g[3]>>3&31;return N+"."+lt(s)+"."+lt(v)}}function et(N,j){for(var w=j+5;N[j++]&128&&j<w;);return j}function Je(N){return("0"+N.toString(16).toUpperCase()).slice(-2)}function lt(N){return(N<10?"0":"")+N}function mt(N,j){if(!N||!j)return N;var w=j.keyId;if(w&&j.isCommonEncryption){var g=ce(N,["moov","trak"]);g.forEach(function(s){var v=ce(s,["mdia","minf","stbl","stsd"])[0],M=v.subarray(8),B=ce(M,["enca"]),W=B.length>0;W||(B=ce(M,["encv"])),B.forEach(function(z){var X=W?z.subarray(28):z.subarray(78),J=ce(X,["sinf"]);J.forEach(function(re){var se=gt(re);if(se){var le=se.subarray(8,24);le.some(function(fe){return fe!==0})||(Te.log("[eme] Patching keyId in 'enc"+(W?"a":"v")+">sinf>>tenc' box: "+ee.hexDump(le)+" -> "+ee.hexDump(w)),se.set(w,8))}})})})}return N}function gt(N){var j=ce(N,["schm"])[0];if(j){var w=qe(j.subarray(4,8));if(w==="cbcs"||w==="cenc")return ce(N,["schi","tenc"])[0]}return null}function Rt(N,j){return ce(j,["moof","traf"]).reduce(function(w,g){var s=ce(g,["tfdt"])[0],v=s[0],M=ce(g,["tfhd"]).reduce(function(B,W){var z=je(W,4),X=N[z];if(X){var J=je(s,4);if(v===1){if(J===Pe)return Te.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"),B;J*=Pe+1,J+=je(s,8)}var re=X.timescale||9e4,se=J/re;if(V(se)&&(B===null||se<B))return se}return B},null);return M!==null&&V(M)&&(w===null||M<w)?M:w},null)}function pt(N,j){for(var w=0,g=0,s=0,v=ce(N,["moof","traf"]),M=0;M<v.length;M++){var B=v[M],W=ce(B,["tfhd"])[0],z=je(W,4),X=j[z];if(X){var J=X.default,re=je(W,0)|J?.flags,se=J?.duration;re&8&&(re&2?se=je(W,12):se=je(W,8));for(var le=X.timescale||9e4,fe=ce(B,["trun"]),pe=0;pe<fe.length;pe++){if(w=Tt(fe[pe]),!w&&se){var be=je(fe[pe],4);w=se*be}X.type===he.VIDEO?g+=w/le:X.type===he.AUDIO&&(s+=w/le)}}}if(g===0&&s===0){for(var Ee=1/0,Ie=0,Ce=0,xe=ce(N,["sidx"]),Ne=0;Ne<xe.length;Ne++){var Ue=ye(xe[Ne]);if(Ue!=null&&Ue.references){Ee=Math.min(Ee,Ue.earliestPresentationTime/Ue.timescale);var Ve=Ue.references.reduce(function(ze,He){return ze+He.info.duration||0},0);Ie=Math.max(Ie,Ve+Ue.earliestPresentationTime/Ue.timescale),Ce=Ie-Ee}}if(Ce&&V(Ce))return Ce}return g||s}function Tt(N){var j=je(N,0),w=8;j&1&&(w+=4),j&4&&(w+=4);for(var g=0,s=je(N,4),v=0;v<s;v++){if(j&256){var M=je(N,w);g+=M,w+=4}j&512&&(w+=4),j&1024&&(w+=4),j&2048&&(w+=4)}return g}function qt(N,j,w){ce(j,["moof","traf"]).forEach(function(g){ce(g,["tfhd"]).forEach(function(s){var v=je(s,4),M=N[v];if(M){var B=M.timescale||9e4;ce(g,["tfdt"]).forEach(function(W){var z=W[0],X=w*B;if(X){var J=je(W,4);if(z===0)J-=X,J=Math.max(J,0),Xe(W,4,J);else{J*=Math.pow(2,32),J+=je(W,8),J-=X,J=Math.max(J,0);var re=Math.floor(J/(Pe+1)),se=Math.floor(J%(Pe+1));Xe(W,4,re),Xe(W,8,se)}}})}})})}function bn(N){var j={valid:null,remainder:null},w=ce(N,["moof"]);if(w.length<2)return j.remainder=N,j;var g=w[w.length-1];return j.valid=N.slice(0,g.byteOffset-8),j.remainder=N.slice(g.byteOffset-8),j}function Et(N,j){var w=new Uint8Array(N.length+j.length);return w.set(N),w.set(j,N.length),w}function Ht(N,j){var w=[],g=j.samples,s=j.timescale,v=j.id,M=!1,B=ce(g,["moof"]);return B.map(function(W){var z=W.byteOffset-8,X=ce(W,["traf"]);X.map(function(J){var re=ce(J,["tfdt"]).map(function(se){var le=se[0],fe=je(se,4);return le===1&&(fe*=Math.pow(2,32),fe+=je(se,8)),fe/s})[0];return re!==void 0&&(N=re),ce(J,["tfhd"]).map(function(se){var le=je(se,4),fe=je(se,0)&16777215,pe=(fe&1)!==0,be=(fe&2)!==0,Ee=(fe&8)!==0,Ie=0,Ce=(fe&16)!==0,xe=0,Ne=(fe&32)!==0,Ue=8;le===v&&(pe&&(Ue+=8),be&&(Ue+=4),Ee&&(Ie=je(se,Ue),Ue+=4),Ce&&(xe=je(se,Ue),Ue+=4),Ne&&(Ue+=4),j.type==="video"&&(M=en(j.codec)),ce(J,["trun"]).map(function(Ve){var ze=Ve[0],He=je(Ve,0)&16777215,Fe=(He&1)!==0,We=0,Qe=(He&4)!==0,ut=(He&256)!==0,ot=0,rt=(He&512)!==0,dt=0,ht=(He&1024)!==0,ft=(He&2048)!==0,St=0,kt=je(Ve,4),$t=8;Fe&&(We=je(Ve,$t),$t+=4),Qe&&($t+=4);for(var Nt=We+z,At=0;At<kt;At++){if(ut?(ot=je(Ve,$t),$t+=4):ot=Ie,rt?(dt=je(Ve,$t),$t+=4):dt=xe,ht&&($t+=4),ft&&(ze===0?St=je(Ve,$t):St=Ze(Ve,$t),$t+=4),j.type===he.VIDEO)for(var Ut=0;Ut<dt;){var Ft=je(g,Nt);if(Nt+=4,Yn(M,g[Nt])){var Gt=g.subarray(Nt,Nt+Ft);ei(Gt,M?2:1,N+St/s,w)}Nt+=Ft,Ut+=Ft+4}N+=ot/s}}))})})}),w}function en(N){if(!N)return!1;var j=N.substring(0,4);return j==="hvc1"||j==="hev1"||j==="dvh1"||j==="dvhe"}function Yn(N,j){if(N){var w=j>>1&63;return w===39||w===40}else{var g=j&31;return g===6}}function ei(N,j,w,g){var s=$n(N),v=0;v+=j;for(var M=0,B=0,W=0;v<s.length;){M=0;do{if(v>=s.length)break;W=s[v++],M+=W}while(W===255);B=0;do{if(v>=s.length)break;W=s[v++],B+=W}while(W===255);var z=s.length-v,X=v;if(B<z)v+=B;else if(B>z){Te.error("Malformed SEI payload. "+B+" is too small, only "+z+" bytes left to parse.");break}if(M===4){var J=s[X++];if(J===181){var re=tt(s,X);if(X+=2,re===49){var se=je(s,X);if(X+=4,se===1195456820){var le=s[X++];if(le===3){var fe=s[X++],pe=31&fe,be=64&fe,Ee=be?2+pe*3:0,Ie=new Uint8Array(Ee);if(be){Ie[0]=fe;for(var Ce=1;Ce<Ee;Ce++)Ie[Ce]=s[X++]}g.push({type:le,payloadType:M,pts:w,bytes:Ie})}}}}}else if(M===5&&B>16){for(var xe=[],Ne=0;Ne<16;Ne++){var Ue=s[X++].toString(16);xe.push(Ue.length==1?"0"+Ue:Ue),(Ne===3||Ne===5||Ne===7||Ne===9)&&xe.push("-")}for(var Ve=B-16,ze=new Uint8Array(Ve),He=0;He<Ve;He++)ze[He]=s[X++];g.push({payloadType:M,pts:w,uuid:xe.join(""),userData:Q(ze),userDataBytes:ze})}}}function $n(N){for(var j=N.byteLength,w=[],g=1;g<j-2;)N[g]===0&&N[g+1]===0&&N[g+2]===3?(w.push(g+2),g+=2):g++;if(w.length===0)return N;var s=j-w.length,v=new Uint8Array(s),M=0;for(g=0;g<s;M++,g++)M===w[0]&&(M++,w.shift()),v[g]=N[M];return v}function tn(N){var j=N[0],w="",g="",s=0,v=0,M=0,B=0,W=0,z=0;if(j===0){for(;qe(N.subarray(z,z+1))!=="\0";)w+=qe(N.subarray(z,z+1)),z+=1;for(w+=qe(N.subarray(z,z+1)),z+=1;qe(N.subarray(z,z+1))!=="\0";)g+=qe(N.subarray(z,z+1)),z+=1;g+=qe(N.subarray(z,z+1)),z+=1,s=je(N,12),v=je(N,16),B=je(N,20),W=je(N,24),z=28}else if(j===1){z+=4,s=je(N,z),z+=4;var X=je(N,z);z+=4;var J=je(N,z);for(z+=4,M=Math.pow(2,32)*X+J,q(M)||(M=Number.MAX_SAFE_INTEGER,Te.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),B=je(N,z),z+=4,W=je(N,z),z+=4;qe(N.subarray(z,z+1))!=="\0";)w+=qe(N.subarray(z,z+1)),z+=1;for(w+=qe(N.subarray(z,z+1)),z+=1;qe(N.subarray(z,z+1))!=="\0";)g+=qe(N.subarray(z,z+1)),z+=1;g+=qe(N.subarray(z,z+1)),z+=1}var re=N.subarray(z,N.byteLength);return{schemeIdUri:w,value:g,timeScale:s,presentationTime:M,presentationTimeDelta:v,eventDuration:B,id:W,payload:re}}function jn(N){for(var j=arguments.length,w=new Array(j>1?j-1:0),g=1;g<j;g++)w[g-1]=arguments[g];for(var s=w.length,v=8,M=s;M--;)v+=w[M].byteLength;var B=new Uint8Array(v);for(B[0]=v>>24&255,B[1]=v>>16&255,B[2]=v>>8&255,B[3]=v&255,B.set(N,4),M=0,v=8;M<s;M++)B.set(w[M],v),v+=w[M].byteLength;return B}function vi(N,j,w){if(N.byteLength!==16)throw new RangeError("Invalid system id");var g,s;g=0,s=new Uint8Array;var v;g>0?(v=new Uint8Array(4),j.length>0&&new DataView(v.buffer).setUint32(0,j.length,!1)):v=new Uint8Array;var M=new Uint8Array(4);return w&&w.byteLength>0&&new DataView(M.buffer).setUint32(0,w.byteLength,!1),jn([112,115,115,104],new Uint8Array([g,0,0,0]),N,v,s,M,w||new Uint8Array)}function Rn(N){var j=[];if(N instanceof ArrayBuffer)for(var w=N.byteLength,g=0;g+32<w;){var s=new DataView(N,g),v=ct(s);j.push(v),g+=v.size}return j}function ct(N){var j=N.getUint32(0),w=N.byteOffset,g=N.byteLength;if(g<j)return{offset:w,size:g};var s=N.getUint32(4);if(s!==1886614376)return{offset:w,size:j};var v=N.getUint32(8)>>>24;if(v!==0&&v!==1)return{offset:w,size:j};var M=N.buffer,B=ee.hexDump(new Uint8Array(M,w+12,16)),W=N.getUint32(28),z=null,X=null;if(v===0){if(j-32<W||W<22)return{offset:w,size:j};X=new Uint8Array(M,w+32,W)}else if(v===1){if(!W||g<w+32+W*16+16)return{offset:w,size:j};z=[];for(var J=0;J<W;J++)z.push(new Uint8Array(M,w+32+J*16,16))}return{version:v,systemId:B,kids:z,data:X,offset:w,size:j}}var vt=function(){return/\(Windows.+Firefox\//i.test(navigator.userAgent)},bt={audio:{a3ds:1,"ac-3":.95,"ac-4":1,alac:.9,alaw:1,dra1:1,"dts+":1,"dts-":1,dtsc:1,dtse:1,dtsh:1,"ec-3":.9,enca:1,fLaC:.9,flac:.9,FLAC:.9,g719:1,g726:1,m4ae:1,mha1:1,mha2:1,mhm1:1,mhm2:1,mlpa:1,mp4a:1,"raw ":1,Opus:1,opus:1,samr:1,sawb:1,sawp:1,sevc:1,sqcp:1,ssmv:1,twos:1,ulaw:1},video:{avc1:1,avc2:1,avc3:1,avc4:1,avcp:1,av01:.8,dav1:.8,drac:1,dva1:1,dvav:1,dvh1:.7,dvhe:.7,encv:1,hev1:.75,hvc1:.75,mjp2:1,mp4v:1,mvc1:1,mvc2:1,mvc3:1,mvc4:1,resv:1,rv60:1,s263:1,svc1:1,svc2:1,"vc-1":1,vp08:1,vp09:.9},text:{stpp:1,wvtt:1}};function _t(N,j){var w=bt[j];return!!w&&!!w[N.slice(0,4)]}function It(N,j,w){return w===void 0&&(w=!0),!N.split(",").some(function(g){return!Vt(g,j,w)})}function Vt(N,j,w){var g;w===void 0&&(w=!0);var s=Ae(w);return(g=s?.isTypeSupported(Pn(N,j)))!=null?g:!1}function Pn(N,j){return j+"/mp4;codecs="+N}function Kt(N){if(N){var j=N.substring(0,4);return bt.video[j]}return 2}function _n(N){var j=vt();return N.split(",").reduce(function(w,g){var s=j&&en(g),v=s?9:bt.video[g];return v?(v*2+w)/(w?3:2):(bt.audio[g]+w)/(w?2:1)},0)}var yr={};function Sr(N,j){if(j===void 0&&(j=!0),yr[N])return yr[N];for(var w={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[N],g=0;g<w.length;g++){var s;if(Vt(w[g],"audio",j))return yr[N]=w[g],w[g];if(w[g]==="mp3"&&(s=Ae(j))!=null&&s.isTypeSupported("audio/mpeg"))return""}return N}var Bt=/flac|opus|mp4a\.40\.34/i;function Qt(N,j){return j===void 0&&(j=!0),N.replace(Bt,function(w){return Sr(w.toLowerCase(),j)})}function pn(N,j){var w=[];if(N)for(var g=N.split(","),s=0;s<g.length;s++)_t(g[s],"video")||w.push(g[s]);return j&&w.push(j),w.join(",")}function Ot(N,j){if(N&&(N.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(N)!==-1))return N;if(j){var w=j.split(",");if(w.length>1){if(N){for(var g=w.length;g--;)if(w[g].substring(0,4)===N.substring(0,4))return w[g]}return w[0]}}return j||N}function Mt(N){for(var j=N.split(","),w=0;w<j.length;w++){var g=j[w].split(".");if(g.length>2){var s=g.shift()+".";s+=parseInt(g.shift()).toString(16),s+=("000"+parseInt(g.shift()).toString(16)).slice(-4),j[w]=s}}return j.join(",")}function zt(N){if(N.startsWith("av01.")){for(var j=N.split("."),w=["0","111","01","01","01","0"],g=j.length;g>4&&g<10;g++)j[g]=w[g-4];return j.join(".")}return N}function Xn(N){var j=Ae(N)||{isTypeSupported:function(){return!1}};return{mpeg:j.isTypeSupported("audio/mpeg"),mp3:j.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:j.isTypeSupported('audio/mp4; codecs="ac-3"')}}function In(N){return N.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}var Vn={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]};function vn(N,j){return{supported:!1,configurations:j,decodingInfoResults:[{supported:!1,smooth:!1,powerEfficient:!1}],error:N}}var Ai={};function gi(N,j,w,g,s,v){var M=N.audioCodec?N.audioGroups:null,B=v?.audioCodec,W=v?.channels,z=W?parseInt(W):B?1/0:2,X=null;if(M!=null&&M.length)try{M.length===1&&M[0]?X=j.groups[M[0]].channels:X=M.reduce(function(J,re){if(re){var se=j.groups[re];if(!se)throw new Error("Audio track group "+re+" not found");Object.keys(se.channels).forEach(function(le){J[le]=(J[le]||0)+se.channels[le]})}return J},{2:0})}catch{return!0}return N.videoCodec!==void 0&&(N.width>1920&&N.height>1088||N.height>1920&&N.width>1088||N.frameRate>Math.max(g,30)||N.videoRange!=="SDR"&&N.videoRange!==w||N.bitrate>Math.max(s,8e6))||!!X&&V(z)&&Object.keys(X).some(function(J){return parseInt(J)>z})}function Ni(N,j,w){var g=N.videoCodec,s=N.audioCodec;if(!g&&!s||!w)return Promise.resolve(Vn);var v=[];if(g){var M={width:N.width,height:N.height,bitrate:Math.ceil(Math.max(N.bitrate*.9,N.averageBitrate)),framerate:N.frameRate||30},B=N.videoRange;B!=="SDR"&&(M.transferFunction=B.toLowerCase());var W=g.split(","),z=navigator.userAgent;if(W.some(function(X){return en(X)})&&vt())return Promise.resolve(vn(new Error("Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent sting: ("+z+")"),v));v.push.apply(v,W.map(function(X){return{type:"media-source",video:d(d({},M),{},{contentType:Pn(zt(X),"video")})}}))}return s&&N.audioGroups&&N.audioGroups.forEach(function(X){var J;X&&((J=j.groups[X])==null||J.tracks.forEach(function(re){if(re.groupId===X){var se=re.channels||"",le=parseFloat(se);V(le)&&le>2&&v.push.apply(v,s.split(",").map(function(fe){return{type:"media-source",audio:{contentType:Pn(fe,"audio"),channels:""+le}}}))}}))}),Promise.all(v.map(function(X){var J=Pi(X);return Ai[J]||(Ai[J]=w.decodingInfo(X))})).then(function(X){return{supported:!X.some(function(J){return!J.supported}),configurations:v,decodingInfoResults:X}}).catch(function(X){return{supported:!1,configurations:v,decodingInfoResults:[],error:X}})}function Pi(N){var j=N.audio,w=N.video,g=w||j;if(g){var s=In(g.contentType);if(w)return"r"+w.height+"x"+w.width+"f"+Math.ceil(w.framerate)+(w.transferFunction||"sd")+"_"+s+"_"+Math.ceil(w.bitrate/1e5);if(j)return"c"+j.channels+(j.spatialRendering?"s":"n")+"_"+s}return""}var br=["NONE","TYPE-0","TYPE-1",null];function Ji(N){return br.indexOf(N)>-1}var Zi=["SDR","PQ","HLG"];function ti(N){return!!N&&Zi.indexOf(N)>-1}var Vr={No:"",Yes:"YES",v2:"v2"};function cu(N){var j=N.canSkipUntil,w=N.canSkipDateRanges,g=N.age,s=g<j/2;return j&&s?w?Vr.v2:Vr.Yes:Vr.No}var Ko=(function(){function N(w,g,s){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=w,this.part=g,this.skip=s}var j=N.prototype;return j.addDirectives=function(g){var s=new self.URL(g);return this.msn!==void 0&&s.searchParams.set("_HLS_msn",this.msn.toString()),this.part!==void 0&&s.searchParams.set("_HLS_part",this.part.toString()),this.skip&&s.searchParams.set("_HLS_skip",this.skip),s.href},N})(),$r=(function(){function N(w){if(this._attrs=void 0,this.audioCodec=void 0,this.bitrate=void 0,this.codecSet=void 0,this.url=void 0,this.frameRate=void 0,this.height=void 0,this.id=void 0,this.name=void 0,this.supplemental=void 0,this.videoCodec=void 0,this.width=void 0,this.details=void 0,this.fragmentError=0,this.loadError=0,this.loaded=void 0,this.realBitrate=0,this.supportedPromise=void 0,this.supportedResult=void 0,this._avgBitrate=0,this._audioGroups=void 0,this._subtitleGroups=void 0,this._urlId=0,this.url=[w.url],this._attrs=[w.attrs],this.bitrate=w.bitrate,w.details&&(this.details=w.details),this.id=w.id||0,this.name=w.name,this.width=w.width||0,this.height=w.height||0,this.frameRate=w.attrs.optionalFloat("FRAME-RATE",0),this._avgBitrate=w.attrs.decimalInteger("AVERAGE-BANDWIDTH"),this.audioCodec=w.audioCodec,this.videoCodec=w.videoCodec,this.codecSet=[w.videoCodec,w.audioCodec].filter(function(v){return!!v}).map(function(v){return v.substring(0,4)}).join(","),"supplemental"in w){var g;this.supplemental=w.supplemental;var s=(g=w.supplemental)==null?void 0:g.videoCodec;s&&s!==w.videoCodec&&(this.codecSet+=","+s.substring(0,4))}this.addGroupId("audio",w.attrs.AUDIO),this.addGroupId("text",w.attrs.SUBTITLES)}var j=N.prototype;return j.hasAudioGroup=function(g){return mi(this._audioGroups,g)},j.hasSubtitleGroup=function(g){return mi(this._subtitleGroups,g)},j.addGroupId=function(g,s){if(s){if(g==="audio"){var v=this._audioGroups;v||(v=this._audioGroups=[]),v.indexOf(s)===-1&&v.push(s)}else if(g==="text"){var M=this._subtitleGroups;M||(M=this._subtitleGroups=[]),M.indexOf(s)===-1&&M.push(s)}}},j.addFallback=function(){},m(N,[{key:"maxBitrate",get:function(){return Math.max(this.realBitrate,this.bitrate)}},{key:"averageBitrate",get:function(){return this._avgBitrate||this.realBitrate||this.bitrate}},{key:"attrs",get:function(){return this._attrs[0]}},{key:"codecs",get:function(){return this.attrs.CODECS||""}},{key:"pathwayId",get:function(){return this.attrs["PATHWAY-ID"]||"."}},{key:"videoRange",get:function(){return this.attrs["VIDEO-RANGE"]||"SDR"}},{key:"score",get:function(){return this.attrs.optionalFloat("SCORE",0)}},{key:"uri",get:function(){return this.url[0]||""}},{key:"audioGroups",get:function(){return this._audioGroups}},{key:"subtitleGroups",get:function(){return this._subtitleGroups}},{key:"urlId",get:function(){return 0},set:function(g){}},{key:"audioGroupIds",get:function(){return this.audioGroups?[this.audioGroupId]:void 0}},{key:"textGroupIds",get:function(){return this.subtitleGroups?[this.textGroupId]:void 0}},{key:"audioGroupId",get:function(){var g;return(g=this.audioGroups)==null?void 0:g[0]}},{key:"textGroupId",get:function(){var g;return(g=this.subtitleGroups)==null?void 0:g[0]}}])})();function mi(N,j){return!j||!N?!1:N.indexOf(j)!==-1}function vv(){if(typeof matchMedia=="function"){var N=matchMedia("(dynamic-range: high)"),j=matchMedia("bad query");if(N.media!==j.media)return N.matches===!0}return!1}function gv(N,j){var w=!1,g=[];if(N&&(w=N!=="SDR",g=[N]),j){g=j.allowedVideoRanges||Zi.slice(0);var s=g.join("")!=="SDR"&&!j.videoCodec;w=j.preferHDR!==void 0?j.preferHDR:s&&vv(),w||(g=["SDR"])}return{preferHDR:w,allowedVideoRanges:g}}var mv=function(j){var w=new WeakSet;return function(g,s){if(j&&(s=j(g,s)),typeof s=="object"&&s!==null){if(w.has(s))return;w.add(s)}return s}},Jt=function(j,w){return JSON.stringify(j,mv(w))};function yv(N,j,w,g,s){for(var v=Object.keys(N),M=g?.channels,B=g?.audioCodec,W=s?.videoCodec,z=M&&parseInt(M)===2,X=!1,J=!1,re=1/0,se=1/0,le=1/0,fe=1/0,pe=0,be=[],Ee=gv(j,s),Ie=Ee.preferHDR,Ce=Ee.allowedVideoRanges,xe=function(){var We=N[v[Ne]];X||(X=We.channels[2]>0),re=Math.min(re,We.minHeight),se=Math.min(se,We.minFramerate),le=Math.min(le,We.minBitrate);var Qe=Ce.filter(function(ut){return We.videoRanges[ut]>0});Qe.length>0&&(J=!0)},Ne=v.length;Ne--;)xe();re=V(re)?re:0,se=V(se)?se:0;var Ue=Math.max(1080,re),Ve=Math.max(30,se);le=V(le)?le:w,w=Math.max(le,w),J||(j=void 0);var ze=v.length>1,He=v.reduce(function(Fe,We){var Qe=N[We];if(We===Fe)return Fe;if(be=J?Ce.filter(function(ut){return Qe.videoRanges[ut]>0}):[],ze){if(Qe.minBitrate>w)return Ii(We,"min bitrate of "+Qe.minBitrate+" > current estimate of "+w),Fe;if(!Qe.hasDefaultAudio)return Ii(We,"no renditions with default or auto-select sound found"),Fe;if(B&&We.indexOf(B.substring(0,4))%5!==0)return Ii(We,'audio codec preference "'+B+'" not found'),Fe;if(M&&!z){if(!Qe.channels[M])return Ii(We,"no renditions with "+M+" channel sound found (channels options: "+Object.keys(Qe.channels)+")"),Fe}else if((!B||z)&&X&&Qe.channels[2]===0)return Ii(We,"no renditions with stereo sound found"),Fe;if(Qe.minHeight>Ue)return Ii(We,"min resolution of "+Qe.minHeight+" > maximum of "+Ue),Fe;if(Qe.minFramerate>Ve)return Ii(We,"min framerate of "+Qe.minFramerate+" > maximum of "+Ve),Fe;if(!be.some(function(ut){return Qe.videoRanges[ut]>0}))return Ii(We,"no variants with VIDEO-RANGE of "+Jt(be)+" found"),Fe;if(W&&We.indexOf(W.substring(0,4))%5!==0)return Ii(We,'video codec preference "'+W+'" not found'),Fe;if(Qe.maxScore<pe)return Ii(We,"max score of "+Qe.maxScore+" < selected max of "+pe),Fe}return Fe&&(_n(We)>=_n(Fe)||Qe.fragmentError>N[Fe].fragmentError)?Fe:(fe=Qe.minIndex,pe=Qe.maxScore,We)},void 0);return{codecSet:He,videoRanges:be,preferHDR:Ie,minFramerate:se,minBitrate:le,minIndex:fe}}function Ii(N,j){Te.log('[abr] start candidates with "'+N+'" ignored because '+j)}function Th(N){return N.reduce(function(j,w){var g=j.groups[w.groupId];g||(g=j.groups[w.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),g.tracks.push(w);var s=w.channels||"2";return g.channels[s]=(g.channels[s]||0)+1,g.hasDefault=g.hasDefault||w.default,g.hasAutoSelect=g.hasAutoSelect||w.autoselect,g.hasDefault&&(j.hasDefaultAudio=!0),g.hasAutoSelect&&(j.hasAutoSelectAudio=!0),j},{hasDefaultAudio:!1,hasAutoSelectAudio:!1,groups:{}})}function Sv(N,j,w,g){return N.slice(w,g+1).reduce(function(s,v,M){if(!v.codecSet)return s;var B=v.audioGroups,W=s[v.codecSet];W||(s[v.codecSet]=W={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:M,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!B,fragmentError:0}),W.minBitrate=Math.min(W.minBitrate,v.bitrate);var z=Math.min(v.height,v.width);return W.minHeight=Math.min(W.minHeight,z),W.minFramerate=Math.min(W.minFramerate,v.frameRate),W.minIndex=Math.min(W.minIndex,M),W.maxScore=Math.max(W.maxScore,v.score),W.fragmentError+=v.fragmentError,W.videoRanges[v.videoRange]=(W.videoRanges[v.videoRange]||0)+1,B&&B.forEach(function(X){if(X){var J=j.groups[X];J&&(W.hasDefaultAudio=W.hasDefaultAudio||j.hasDefaultAudio?J.hasDefault:J.hasAutoSelect||!j.hasDefaultAudio&&!j.hasAutoSelectAudio,Object.keys(J.channels).forEach(function(re){W.channels[re]=(W.channels[re]||0)+J.channels[re]}))}}),s},{})}function Eh(N){if(!N)return N;var j=N,w=j.lang,g=j.assocLang,s=j.characteristics,v=j.channels,M=j.audioCodec;return{lang:w,assocLang:g,characteristics:s,channels:v,audioCodec:M}}function Ci(N,j,w){if("attrs"in N){var g=j.indexOf(N);if(g!==-1)return g}for(var s=0;s<j.length;s++){var v=j[s];if(Tr(N,v,w))return s}return-1}function Tr(N,j,w){var g=N.groupId,s=N.name,v=N.lang,M=N.assocLang,B=N.default,W=N.forced;return(g===void 0||j.groupId===g)&&(s===void 0||j.name===s)&&(v===void 0||bv(v,j.lang))&&(v===void 0||j.assocLang===M)&&(B===void 0||j.default===B)&&(W===void 0||j.forced===W)&&(!("characteristics"in N)||$v(N.characteristics||"",j.characteristics))&&(w===void 0||w(N,j))}function bv(N,j){return j===void 0&&(j="--"),N.length===j.length?N===j:N.startsWith(j)||j.startsWith(N)}function $v(N,j){j===void 0&&(j="");var w=N.split(","),g=j.split(",");return w.length===g.length&&!w.some(function(s){return g.indexOf(s)===-1})}function Er(N,j){var w=N.audioCodec,g=N.channels;return(w===void 0||(j.audioCodec||"").substring(0,4)===w.substring(0,4))&&(g===void 0||g===(j.channels||"2"))}function Tv(N,j,w,g,s){var v=j[g],M=j.reduce(function(re,se,le){var fe=se.uri,pe=re[fe]||(re[fe]=[]);return pe.push(le),re},{}),B=M[v.uri];B.length>1&&(g=Math.max.apply(Math,B));var W=v.videoRange,z=v.frameRate,X=v.codecSet.substring(0,4),J=Ah(j,g,function(re){if(re.videoRange!==W||re.frameRate!==z||re.codecSet.substring(0,4)!==X)return!1;var se=re.audioGroups,le=w.filter(function(fe){return!se||se.indexOf(fe.groupId)!==-1});return Ci(N,le,s)>-1});return J>-1?J:Ah(j,g,function(re){var se=re.audioGroups,le=w.filter(function(fe){return!se||se.indexOf(fe.groupId)!==-1});return Ci(N,le,s)>-1})}function Ah(N,j,w){for(var g=j;g>-1;g--)if(w(N[g]))return g;for(var s=j+1;s<N.length;s++)if(w(N[s]))return s;return-1}function du(N,j){var w;return!!N&&N!==((w=j.loadLevelObj)==null?void 0:w.uri)}var Ev=(function(N){function j(g){var s;return s=N.call(this,"abr",g.logger)||this,s.hls=void 0,s.lastLevelLoadSec=0,s.lastLoadedFragLevel=-1,s.firstSelection=-1,s._nextAutoLevel=-1,s.nextAutoLevelKey="",s.audioTracksByGroup=null,s.codecTiers=null,s.timer=-1,s.fragCurrent=null,s.partCurrent=null,s.bitrateTestDelay=0,s.rebufferNotice=-1,s.bwEstimator=void 0,s._abandonRulesCheck=function(v){var M,B=s,W=B.fragCurrent,z=B.partCurrent,X=B.hls,J=X.autoLevelEnabled,re=X.media;if(!(!W||!re)){var se=performance.now(),le=z?z.stats:W.stats,fe=z?z.duration:W.duration,pe=se-le.loading.start,be=X.minAutoLevel,Ee=W.level,Ie=s._nextAutoLevel;if(le.aborted||le.loaded&&le.loaded===le.total||Ee<=be){s.clearTimer(),s._nextAutoLevel=-1;return}if(J){var Ce=Ie>-1&&Ie!==Ee,xe=!!v||Ce;if(!(!xe&&(re.paused||!re.playbackRate||!re.readyState))){var Ne=X.mainForwardBufferInfo;if(!(!xe&&Ne===null)){var Ue=s.bwEstimator.getEstimateTTFB(),Ve=Math.abs(re.playbackRate);if(!(pe<=Math.max(Ue,1e3*(fe/(Ve*2))))){var ze=Ne?Ne.len/Ve:0,He=le.loading.first?le.loading.first-le.loading.start:-1,Fe=le.loaded&&He>-1,We=s.getBwEstimate(),Qe=X.levels,ut=Qe[Ee],ot=Math.max(le.loaded,Math.round(fe*(W.bitrate||ut.averageBitrate)/8)),rt=Fe?pe-He:pe;rt<1&&Fe&&(rt=Math.min(pe,le.loaded*8/We));var dt=Fe?le.loaded*1e3/rt:0,ht=Ue/1e3,ft=dt?(ot-le.loaded)/dt:ot*8/We+ht;if(!(ft<=ze)){var St=dt?dt*8:We,kt=((M=v?.details||s.hls.latestLevelDetails)==null?void 0:M.live)===!0,$t=s.hls.config.abrBandWidthUpFactor,Nt=Number.POSITIVE_INFINITY,At;for(At=Ee-1;At>be;At--){var Ut=Qe[At].maxBitrate,Ft=!Qe[At].details||kt;if(Nt=s.getTimeToLoadFrag(ht,St,fe*Ut,Ft),Nt<Math.min(ze,fe+ht))break}if(!(Nt>=ft)&&!(Nt>fe*10)){Fe?s.bwEstimator.sample(pe-Math.min(Ue,He),le.loaded):s.bwEstimator.sampleTTFB(pe);var Gt=Qe[At].maxBitrate;s.getBwEstimate()*$t>Gt&&s.resetEstimator(Gt);var cn=s.findBestLevel(Gt,be,At,0,ze,1,1);cn>-1&&(At=cn),s.warn("Fragment "+W.sn+(z?" part "+z.index:"")+" of level "+Ee+` is loading too slowly;
|
|
3
3
|
Fragment duration: `+W.duration.toFixed(3)+`
|
|
4
4
|
Time to underbuffer: `+ze.toFixed(3)+` s
|
|
@@ -293,9 +293,9 @@ Please only use one configuration field to set your userId`)},t.getDeviceInforma
|
|
|
293
293
|
`).trim()})(o),T=I.split(h),y="",E=I.replace(h,""),S=A;T.length>0;){var b=T.shift(),C=T.shift(),O=C?m.parseTime(C):x,k=O??x;if(S!==k){var R=_(b,y,E=E.substring(b.length));y+=b;var D=m.parseContents(R,d,l);f.push({updateTime:S,html:D}),S=k}}var V=f.shift();if(V)return{start:A,end:x,html:V.html,subCues:f}}},r.prototype.getCueStyle=function(o,l,d){var h={};return d&&(h=o.filter(function(f){return f.identifier==="#"+d}).reduce(function(f,p){return c(c({},f),p.style)},{})),c(c({},l),h)},r.prototype.parseCues=function(o,l,d){var h=this,f=[],p=0,A=l.regions,x=l.styles,I=this.getVttStyles(x),T=I.globalStyle,y=I.contentStyles;return o.filter(function(E){return h.shouldParseCueBlock(E[0])}).forEach(function(E){var S=void 0;E[0].includes("-->")||(S=E[0].trim(),E.splice(0,1));var b=h.getCueIndex(S,p);if(p=b,h.isLineWithCueTime(E[0])){var C=m.parseOptions(E[0],A);C.id=S;var O=h.getParsedCueData(E,y,d.base);if(O!==void 0){var k=h.getCueStyle(y,T,S);h.applyRootCueStyle(O,k);var R=P(O,b,d,C);f.push(R)}}}),f},r.prototype.getCueIndex=function(o,l){var d=Number(o);return o==null||isNaN(d)?l+1:d},r})();function P(r,o,l,d){var h,f,p=t();return p.i=o,p.start=r.start+l.base,p.end=r.end+l.base,p.text=((h=r.html)===null||h===void 0?void 0:h.textContent)||((f=r.html)===null||f===void 0?void 0:f.innerText)||"",p.html=m.stringifyCueHtml(r.html),p.vtt=c({},d),l.vtt!==0&&(p.offset=l.vtt),p.updates=r.subCues.map(function(A){return{updateTime:A.updateTime+l.base,html:m.stringifyCueHtml(A.html)}}),p}function t(){return{i:null,start:null,end:null,text:null,html:null,vtt:m.getDefaultVttProperties(),offset:null,updates:[]}}function _(r,o,l){return(o?a(o,"cue-past"):"")+r+(l?a(l,"cue-future"):"")}function a(r,o){return"<c.".concat(o,">").concat(r,"</c>")}n.WebVttParser=$,n.default=$},53166:function(u,n,i){var c=this&&this.__createBinding||(Object.create?function($,P,t,_){_===void 0&&(_=t);var a=Object.getOwnPropertyDescriptor(P,t);a&&!("get"in a?!P.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return P[t]}}),Object.defineProperty($,_,a)}:function($,P,t,_){_===void 0&&(_=t),$[_]=P[t]}),m=this&&this.__exportStar||function($,P){for(var t in $)t==="default"||Object.prototype.hasOwnProperty.call(P,t)||c(P,$,t)};Object.defineProperty(n,"__esModule",{value:!0}),m(i(98855),n),m(i(35913),n),m(i(86535),n),m(i(33605),n),m(i(10517),n)},57011:function(u,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.WebVttSubtitlesModuleDefinition=void 0;var c=i(16368),m=i(33605),$=i(43985);n.WebVttSubtitlesModuleDefinition={name:c.ModuleName.SubtitlesWebVTT,module:function(){return{WebVttParser:$.WebVttParser,extractVttProperties:m.extractVttProperties}},dependencies:[c.ModuleName.Subtitles]},n.default=n.WebVttSubtitlesModuleDefinition},86535:function(u,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.parseOptions=function(l,d){var h=l.split(/\s/),f=(0,m.getDefaultVttProperties)();return h.forEach(function(p){$(p.split(":"),d,f)}),(function(p){var A=(0,m.getDefaultVttProperties)();p.region!=null&&(p.vertical!==A.vertical||p.size!==A.size||p.line!==A.line)&&delete p.region})(f),f},n.setOptionProperty=$;var c=i(70016),m=i(33605);function $(l,d,h){var f=l[0],p=l[1];switch(f){case"region":(function(A,x,I){var T=x.find(function(y){return y.id===A});T!=null&&(I.region=T)})(p,d,h);break;case"vertical":P(p,h);break;case"align":t(p,h);break;case"size":_(p,h);break;case"position":r(p,h);break;case"line":o(p,h)}}function P(l,d){var h=(0,m.ensureArray)(/^(lr|rl)$/.exec(l))[1];h!=null&&(d.vertical=h)}function t(l,d){var h=(0,m.ensureArray)(/^(start|middle|center|end|left|right)$/.exec(l))[1];h!=null&&(d.align=h),d.positionAlign=a(void 0,d)}function _(l,d){var h=(0,m.ensureArray)(/^([\d.]+)%$/.exec(l))[1];h!=null&&(d.size=Number(h))}function a(l,d){if(l!=null)return l;switch(d.align){case"start":case"left":return"line-left";case"end":case"right":return"line-right";default:return"center"}}function r(l,d){var h=(0,m.ensureArray)(/^([\d.]+|auto)%?(?:,(line-left|line-right|center))?$/.exec(l)),f=h[1],p=h[2];f==="auto"?d.position="auto":f!==void 0&&(d.position=Number(f)),d.positionAlign=a(p,d)}function o(l,d){var h=(0,m.ensureArray)(/^(-?[\d.]+|auto)(%)?(?:,(start|end|center|auto))?$/.exec(l)),f=h[1],p=h[2],A=h[3],x=p==="%";f==="auto"?d.line="auto":x?d.line="".concat(f,"%"):l!=null&&(d.line=Number(f)),A!=null&&(d.lineAlign=A),d.snapToLines=(0,c.isNumber)(d.line)}},98855:function(u,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.parseRegions=function(l){for(var d=[],h=0,f=l;h<f.length;h++){var p=f[h];if(p=p.trim(),/^REGION$/i.test(p)){d.push(m(l));break}/^Region:/i.test(p)&&d.push($(p))}return d};var c=i(33605);function m(l){return P(l.slice(1),":")}function $(l){return P(l.split(/[ \t]+/).slice(1),"=")}function P(l,d){var h=(0,c.getDefaultVttRegionProperties)();return l.forEach(function(f){(function(p,A){var x=p[0],I=p[1];switch(x){case"id":(function(T,y){T!=null&&(y.id=T)})(I,A);break;case"width":t(I,A);break;case"lines":_(I,A);break;case"regionanchor":a(I,A);break;case"viewportanchor":r(I,A);break;case"scroll":o(I,A)}})(f.split(d),h)}),h}function t(l,d){var h=(0,c.ensureArray)(/^(\d{1,2}|100)%$/.exec(l))[1];h!=null&&(d.width=Number(h))}function _(l,d){var h=(0,c.ensureArray)(/^(\d+)$/.exec(l))[1];h!=null&&(d.lines=Number(h))}function a(l,d){var h=(0,c.ensureArray)(/^(\d{1,2}|100)%,(\d{1,2}|100)%$/.exec(l)),f=h[1],p=h[2];f!=null&&(d.regionAnchorX=Number(f)),p!=null&&(d.regionAnchorY=Number(p))}function r(l,d){var h=(0,c.ensureArray)(/^(\d{1,2}|100)%,(\d{1,2}|100)%$/.exec(l)),f=h[1],p=h[2];f!=null&&(d.viewportAnchorX=Number(f)),p!=null&&(d.viewportAnchorY=Number(p))}function o(l,d){var h=(0,c.ensureArray)(/^(up)$/.exec(l))[1];h!=null&&(d.scroll=h)}}},function(u){return u(u.s=57011)}])},924:function(H){H.exports=(self.webpackChunkbitmovin_player=self.webpackChunkbitmovin_player||[]).push([[886],{8824:function(u,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Cea608Processor=void 0;var c=i(30251),m=i(52473),$=(function(){function P(t){var _=this;this.captions=[],this.pushCaptions=function(a){_.flushedCaptions=!1,a.forEach(function(r){return _.captionStream.push(r)})},this.setupCaptionStreamEventHandlers=function(){_.captionStream.on("data",_.onCaptionStreamData),_.captionStream.on("done",_.onCaptionStreamDone)},this.onCaptionStreamData=function(a){_.captions.push((0,m.assembleCaption)(a))},this.onCaptionStreamDone=function(){if(!_.flushedCaptions)if(_.flushedCaptions=!0,_.onCaptionsAvailable(_.captions),_.captions=[],_.jobQueue.length>0){var a=_.jobQueue[0];_.process(a.captionPackets)}else _.isProcessing=!1},this.parseCea708Caption=t,this.captions=[],this.jobQueue=[],this.isProcessing=!1,this.captionStream=new c.CaptionStream({parse708captions:t}),this.setupCaptionStreamEventHandlers()}return P.prototype.getCaptions=function(t){var _=this;return new Promise(function(a,r){(!t||!Array.isArray(t)||t.length<1)&&r(new Error("Could not get captions, no SeiNal provided")),_.jobQueue.push({captionPackets:t,resolve:a,reject:r}),_.isProcessing||(_.isProcessing=!0,_.process(t))})},P.prototype.process=function(t){this.pushCaptions(t),this.flush()},P.prototype.flush=function(){this.captionStream.flush()},P.prototype.reset=function(){this.captionStream.reset()},P.prototype.onCaptionsAvailable=function(t){var _=this,a=t.filter(function(o){return _.parseCea708Caption?o.channel.includes("708"):!o.channel.includes("708")}),r=this.jobQueue.shift();r?.resolve(a)},P.prototype.dispose=function(){this.captionStream.reset()},P})();n.Cea608Processor=$},30251:function(u){var n;n=function(){"use strict";var i=function(){this.init=function(){var y={};this.on=function(E,S){y[E]||(y[E]=[]),y[E]=y[E].concat(S)},this.off=function(E,S){var b;return!!y[E]&&(b=y[E].indexOf(S),y[E]=y[E].slice(),y[E].splice(b,1),b>-1)},this.trigger=function(E){var S,b,C,O;if(S=y[E])if(arguments.length===2)for(C=S.length,b=0;b<C;++b)S[b].call(this,arguments[1]);else{for(O=[],b=arguments.length,b=1;b<arguments.length;++b)O.push(arguments[b]);for(C=S.length,b=0;b<C;++b)S[b].apply(this,O)}},this.dispose=function(){y={}}}};i.prototype.pipe=function(y){return this.on("data",function(E){y.push(E)}),this.on("done",function(E){y.flush(E)}),this.on("partialdone",function(E){y.partialFlush(E)}),this.on("endedtimeline",function(E){y.endTimeline(E)}),this.on("reset",function(E){y.reset(E)}),y},i.prototype.push=function(y){this.trigger("data",y)},i.prototype.flush=function(y){this.trigger("done",y)},i.prototype.partialFlush=function(y){this.trigger("partialdone",y)},i.prototype.endTimeline=function(y){this.trigger("endedtimeline",y)},i.prototype.reset=function(y){this.trigger("reset",y)};var c=i,m=function(y){for(var E=0,S=[],b=0,C=0;E<y.byteLength&&y[E]!==128;){for(;y[E]===255;)b+=255,E++;for(b+=y[E++];y[E]===255;)C+=255,E++;C+=y[E++];var O=String.fromCharCode(y[E+3],y[E+4],y[E+5],y[E+6]);b===4&&O==="GA94"&&S.push({payloadType:b,payloadSize:C,payload:y.subarray(E,E+C)}),E+=C,b=0,C=0}return S},$=function(y){return y.payload[0]!==181||(y.payload[1]<<8|y.payload[2])!=49||String.fromCharCode(y.payload[3],y.payload[4],y.payload[5],y.payload[6])!=="GA94"||y.payload[7]!==3?null:y.payload.subarray(8,y.payload.length-1)},P=function(y,E){var S,b,C,O,k=[];if(!(64&E[0]))return k;for(b=31&E[0],S=0;S<b;S++)O={type:3&E[2+(C=3*S)],pts:y},4&E[C+2]&&(O.ccData=E[C+3]<<8|E[C+4],k.push(O));return k},t=4,_=function y(E){E=E||{},y.prototype.init.call(this),this.parse708captions_=typeof E.parse708captions!="boolean"||E.parse708captions,this.captionPackets_=[],this.ccStreams_=[new T(0,0),new T(0,1),new T(1,0),new T(1,1)],this.parse708captions_&&(this.cc708Stream_=new h({captionServices:E.captionServices})),this.reset(),this.ccStreams_.forEach(function(S){S.on("data",this.trigger.bind(this,"data")),S.on("partialdone",this.trigger.bind(this,"partialdone")),S.on("done",this.trigger.bind(this,"done"))},this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};(_.prototype=new c).push=function(y){var E=this;y.nalUnitType==="sei_rbsp"&&m(y.escapedRBSP).filter(function(S){return S.payloadType===t}).map($).forEach(function(S){S&&(E.captionPackets_=E.captionPackets_.concat(P(y.pts,S)))})},_.prototype.flushCCStreams=function(y){this.ccStreams_.forEach(function(E){return y==="flush"?E.flush():E.partialFlush()},this)},_.prototype.flushStream=function(y){this.captionPackets_.length?(this.captionPackets_.forEach(function(E,S){E.presortIndex=S}),this.captionPackets_.sort(function(E,S){return E.pts===S.pts?E.presortIndex-S.presortIndex:E.pts-S.pts}),this.captionPackets_.forEach(function(E){E.type<2?this.dispatchCea608Packet(E):this.dispatchCea708Packet(E)},this),this.captionPackets_.length=0,this.flushCCStreams(y)):this.flushCCStreams(y)},_.prototype.flush=function(){return this.flushStream("flush")},_.prototype.partialFlush=function(){return this.flushStream("partialFlush")},_.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach(function(y){y.reset()})},_.prototype.dispatchCea608Packet=function(y){this.setsTextOrXDSActive(y)?this.activeCea608Channel_[y.type]=null:this.setsChannel1Active(y)?this.activeCea608Channel_[y.type]=0:this.setsChannel2Active(y)&&(this.activeCea608Channel_[y.type]=1),this.activeCea608Channel_[y.type]!==null&&this.ccStreams_[(y.type<<1)+this.activeCea608Channel_[y.type]].push(y)},_.prototype.setsChannel1Active=function(y){return(30720&y.ccData)==4096},_.prototype.setsChannel2Active=function(y){return(30720&y.ccData)==6144},_.prototype.setsTextOrXDSActive=function(y){return(28928&y.ccData)==256||(30974&y.ccData)==4138||(30974&y.ccData)==6186},_.prototype.dispatchCea708Packet=function(y){this.parse708captions_&&this.cc708Stream_.push(y)};var a={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},r=function(y){var E=a[y]||y;return 4096&y&&y===E?"":String.fromCharCode(E)},o=function(y){return 32<=y&&y<=127||160<=y&&y<=255},l=function(y){this.windowNum=y,this.reset()};l.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},l.prototype.getText=function(){return this.rows.join(`
|
|
294
294
|
`)},l.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},l.prototype.newLine=function(y){for(this.rows.length>=this.virtualRowCount&&typeof this.beforeRowOverflow=="function"&&this.beforeRowOverflow(y),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},l.prototype.isEmpty=function(){return this.rows.length===0||this.rows.length===1&&this.rows[0]===""},l.prototype.addText=function(y){this.rows[this.rowIdx]+=y},l.prototype.backspace=function(){if(!this.isEmpty()){var y=this.rows[this.rowIdx];this.rows[this.rowIdx]=y.substr(0,y.length-1)}};var d=function(y,E,S){this.serviceNum=y,this.text="",this.currentWindow=new l(-1),this.windows=[],this.stream=S,typeof E=="string"&&this.createTextDecoder(E)};d.prototype.init=function(y,E){this.startPts=y;for(var S=0;S<8;S++)this.windows[S]=new l(S),typeof E=="function"&&(this.windows[S].beforeRowOverflow=E)},d.prototype.setCurrentWindow=function(y){this.currentWindow=this.windows[y]},d.prototype.createTextDecoder=function(y){if(typeof TextDecoder>"u")this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(y)}catch(E){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+y+" encoding. "+E})}};var h=function y(E){E=E||{},y.prototype.init.call(this);var S,b=this,C=E.captionServices||{},O={};Object.keys(C).forEach(function(k){S=C[k],/^SERVICE/.test(k)&&(O[k]=S.encoding)}),this.serviceEncodings=O,this.current708Packet=null,this.services={},this.push=function(k){k.type===3?(b.new708Packet(),b.add708Bytes(k)):(b.current708Packet===null&&b.new708Packet(),b.add708Bytes(k))}};h.prototype=new c,h.prototype.new708Packet=function(){this.current708Packet!==null&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},h.prototype.add708Bytes=function(y){var E=y.ccData,S=E>>>8,b=255&E;this.current708Packet.ptsVals.push(y.pts),this.current708Packet.data.push(S),this.current708Packet.data.push(b)},h.prototype.push708Packet=function(){var y=this.current708Packet,E=y.data,S=null,b=null,C=0,O=E[C++];for(y.seq=O>>6,y.sizeCode=63&O;C<E.length;C++)b=31&(O=E[C++]),(S=O>>5)==7&&b>0&&(S=O=E[C++]),this.pushServiceBlock(S,C,b),b>0&&(C+=b-1)},h.prototype.pushServiceBlock=function(y,E,S){var b,C=E,O=this.current708Packet.data,k=this.services[y];for(k||(k=this.initService(y,C));C<E+S&&C<O.length;C++)b=O[C],o(b)?C=this.handleText(C,k):b===24?C=this.multiByteCharacter(C,k):b===16?C=this.extendedCommands(C,k):128<=b&&b<=135?C=this.setCurrentWindow(C,k):152<=b&&b<=159?C=this.defineWindow(C,k):b===136?C=this.clearWindows(C,k):b===140?C=this.deleteWindows(C,k):b===137?C=this.displayWindows(C,k):b===138?C=this.hideWindows(C,k):b===139?C=this.toggleWindows(C,k):b===151?C=this.setWindowAttributes(C,k):b===144?C=this.setPenAttributes(C,k):b===145?C=this.setPenColor(C,k):b===146?C=this.setPenLocation(C,k):b===143?k=this.reset(C,k):b===8?k.currentWindow.backspace():b===12?k.currentWindow.clearText():b===13?k.currentWindow.pendingNewLine=!0:b===14?k.currentWindow.clearText():b===141&&C++},h.prototype.extendedCommands=function(y,E){var S=this.current708Packet.data[++y];return o(S)&&(y=this.handleText(y,E,{isExtended:!0})),y},h.prototype.getPts=function(y){return this.current708Packet.ptsVals[Math.floor(y/2)]},h.prototype.initService=function(y,E){var S,b,C=this;return(S="SERVICE"+y)in this.serviceEncodings&&(b=this.serviceEncodings[S]),this.services[y]=new d(y,b,C),this.services[y].init(this.getPts(E),function(O){C.flushDisplayed(O,C.services[y])}),this.services[y]},h.prototype.handleText=function(y,E,S){var b,C,O=S&&S.isExtended,k=S&&S.isMultiByte,R=this.current708Packet.data,D=O?4096:0,V=R[y],q=R[y+1],K=E.currentWindow;return E.textDecoder_&&!O?(k?(C=[V,q],y++):C=[V],b=E.textDecoder_.decode(new Uint8Array(C))):b=r(D|V),K.pendingNewLine&&!K.isEmpty()&&K.newLine(this.getPts(y)),K.pendingNewLine=!1,K.addText(b),y},h.prototype.multiByteCharacter=function(y,E){var S=this.current708Packet.data,b=S[y+1],C=S[y+2];return o(b)&&o(C)&&(y=this.handleText(++y,E,{isMultiByte:!0})),y},h.prototype.setCurrentWindow=function(y,E){var S=7&this.current708Packet.data[y];return E.setCurrentWindow(S),y},h.prototype.defineWindow=function(y,E){var S=this.current708Packet.data,b=S[y],C=7&b;E.setCurrentWindow(C);var O=E.currentWindow;return b=S[++y],O.visible=(32&b)>>5,O.rowLock=(16&b)>>4,O.columnLock=(8&b)>>3,O.priority=7&b,b=S[++y],O.relativePositioning=(128&b)>>7,O.anchorVertical=127&b,b=S[++y],O.anchorHorizontal=b,b=S[++y],O.anchorPoint=(240&b)>>4,O.rowCount=15&b,b=S[++y],O.columnCount=63&b,b=S[++y],O.windowStyle=(56&b)>>3,O.penStyle=7&b,O.virtualRowCount=O.rowCount+1,y},h.prototype.setWindowAttributes=function(y,E){var S=this.current708Packet.data,b=S[y],C=E.currentWindow.winAttr;return b=S[++y],C.fillOpacity=(192&b)>>6,C.fillRed=(48&b)>>4,C.fillGreen=(12&b)>>2,C.fillBlue=3&b,b=S[++y],C.borderType=(192&b)>>6,C.borderRed=(48&b)>>4,C.borderGreen=(12&b)>>2,C.borderBlue=3&b,b=S[++y],C.borderType+=(128&b)>>5,C.wordWrap=(64&b)>>6,C.printDirection=(48&b)>>4,C.scrollDirection=(12&b)>>2,C.justify=3&b,b=S[++y],C.effectSpeed=(240&b)>>4,C.effectDirection=(12&b)>>2,C.displayEffect=3&b,y},h.prototype.flushDisplayed=function(y,E){for(var S=[],b=0;b<8;b++)E.windows[b].visible&&!E.windows[b].isEmpty()&&S.push(E.windows[b].getText());E.endPts=y,E.text=S.join(`
|
|
295
295
|
|
|
296
|
-
`),this.pushCaption(E),E.startPts=y},h.prototype.pushCaption=function(y){y.text!==""&&(this.trigger("data",{startPts:y.startPts,endPts:y.endPts,text:y.text,stream:"cc708_"+y.serviceNum}),y.text="",y.startPts=y.endPts)},h.prototype.displayWindows=function(y,E){var S=this.current708Packet.data[++y],b=this.getPts(y);this.flushDisplayed(b,E);for(var C=0;C<8;C++)S&1<<C&&(E.windows[C].visible=1);return y},h.prototype.hideWindows=function(y,E){var S=this.current708Packet.data[++y],b=this.getPts(y);this.flushDisplayed(b,E);for(var C=0;C<8;C++)S&1<<C&&(E.windows[C].visible=0);return y},h.prototype.toggleWindows=function(y,E){var S=this.current708Packet.data[++y],b=this.getPts(y);this.flushDisplayed(b,E);for(var C=0;C<8;C++)S&1<<C&&(E.windows[C].visible^=1);return y},h.prototype.clearWindows=function(y,E){var S=this.current708Packet.data[++y],b=this.getPts(y);this.flushDisplayed(b,E);for(var C=0;C<8;C++)S&1<<C&&E.windows[C].clearText();return y},h.prototype.deleteWindows=function(y,E){var S=this.current708Packet.data[++y],b=this.getPts(y);this.flushDisplayed(b,E);for(var C=0;C<8;C++)S&1<<C&&E.windows[C].reset();return y},h.prototype.setPenAttributes=function(y,E){var S=this.current708Packet.data,b=S[y],C=E.currentWindow.penAttr;return b=S[++y],C.textTag=(240&b)>>4,C.offset=(12&b)>>2,C.penSize=3&b,b=S[++y],C.italics=(128&b)>>7,C.underline=(64&b)>>6,C.edgeType=(56&b)>>3,C.fontStyle=7&b,y},h.prototype.setPenColor=function(y,E){var S=this.current708Packet.data,b=S[y],C=E.currentWindow.penColor;return b=S[++y],C.fgOpacity=(192&b)>>6,C.fgRed=(48&b)>>4,C.fgGreen=(12&b)>>2,C.fgBlue=3&b,b=S[++y],C.bgOpacity=(192&b)>>6,C.bgRed=(48&b)>>4,C.bgGreen=(12&b)>>2,C.bgBlue=3&b,b=S[++y],C.edgeRed=(48&b)>>4,C.edgeGreen=(12&b)>>2,C.edgeBlue=3&b,y},h.prototype.setPenLocation=function(y,E){var S=this.current708Packet.data,b=S[y],C=E.currentWindow.penLoc;return E.currentWindow.pendingNewLine=!0,b=S[++y],C.row=15&b,b=S[++y],C.column=63&b,y},h.prototype.reset=function(y,E){var S=this.getPts(y);return this.flushDisplayed(S,E),this.initService(E.serviceNum,y)};var f={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},p=function(y){return y=f[y]||y,String.fromCharCode(y).replace(/[\x00]/g,"")},A=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],x=function(){for(var y=[],E=15;E--;)y.push("");return y},I=function(){for(var y=[],E=15;E--;)y[E]=0;return y},T=function y(E,S,b){y.prototype.init.call(this),this.field_=E||0,this.dataChannel_=S||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(C){var O,k,R,D,V;if((O=32639&C.ccData)!==this.lastControlCode_){if((61440&O)==4096?this.lastControlCode_=O:O!==this.PADDING_&&(this.lastControlCode_=null),R=O>>>8,D=255&O,O!==this.PADDING_)if(O===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(O===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(C.pts),this.flushDisplayed(C.pts),k=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=k,k=this.displayedIndent_,this.displayedIndent_=this.nonDisplayedIndent_,this.nonDisplayedIndent_=k,this.startPts_=C.pts;else if(O===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(C.pts);else if(O===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(C.pts);else if(O===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(C.pts);else if(O===this.CARRIAGE_RETURN_)this.clearFormatting(C.pts),this.flushDisplayed(C.pts),this.shiftRowsUp_(),this.startPts_=C.pts;else if(O===this.BACKSPACE_)this.mode_==="popOn"?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(O===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(C.pts),this.displayed_=x(),this.displayedIndent_=I();else if(O===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=x(),this.nonDisplayedIndent_=I();else if(O===this.RESUME_DIRECT_CAPTIONING_)this.mode_!=="paintOn"&&(this.flushDisplayed(C.pts),this.displayed_=x(),this.displayedIndent_=I()),this.mode_="paintOn",this.startPts_=C.pts;else{if(!this.mode_)return;if(this.isSpecialCharacter(R,D))V=p((R=(3&R)<<8)|D),this[this.mode_](C.pts,V),this.column_++;else if(this.isExtCharacter(R,D))this.mode_==="popOn"?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),V=p((R=(3&R)<<8)|D),this[this.mode_](C.pts,V),this.column_++;else if(this.isMidRowCode(R,D))this.clearFormatting(C.pts),this[this.mode_](C.pts," "),this.column_++,14&~D||this.addFormatting(C.pts,["i"]),1&~D||this.addFormatting(C.pts,["u"]);else if(this.isOffsetControlCode(R,D)){var q=3&D;this.column_+=q,this.incrementIdentation(q)}else if(this.isPAC(R,D)){var K=A.indexOf(7968&O);this.mode_==="rollUp"&&(K-this.rollUpRows_+1<0&&(K=this.rollUpRows_-1),this.setRollUp(C.pts,K)),K!==this.row_&&(this.clearFormatting(C.pts),this.changeRow(K)),1&D&&this.formatting_.indexOf("u")===-1&&this.addFormatting(C.pts,["u"]),16&~O||(this.column_=4*((14&O)>>1),this.mode_==="popOn"?this.nonDisplayedIndent_[this.row_]=this.column_:this.mode_==="rollUp"&&(this.displayedIndent_[this.row_]=this.column_)),this.isColorPAC(D)&&(14&~D||this.addFormatting(C.pts,["i"]))}else this.isNormalChar(R)&&(V=p(R),D!==0&&(V+=p(D)),this[this.mode_](C.pts,V),this.column_+=V.length)}}else this.lastControlCode_=null}};return T.prototype=new c,T.prototype.flushDisplayed=function(y){for(var E=0;E<this.displayed_.length;E++){var S=this.displayed_[E];S&&S.length&&this.trigger("data",{startPts:this.startPts_,endPts:y,text:S,stream:this.name_,position:{row:E,column:this.displayedIndent_[E]}})}},T.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=x(),this.nonDisplayed_=x(),this.displayedIndent_=I(),this.nonDisplayedIndent_=I(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},T.prototype.setConstants=function(){this.dataChannel_===0?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):this.dataChannel_===1&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_,this.TAB_OFFSET_1_=33,this.TAB_OFFSET_2_=34,this.TAB_OFFSET_3_=35},T.prototype.isSpecialCharacter=function(y,E){return y===this.EXT_&&E>=48&&E<=63},T.prototype.isExtCharacter=function(y,E){return(y===this.EXT_+1||y===this.EXT_+2)&&E>=32&&E<=63},T.prototype.isMidRowCode=function(y,E){return y===this.EXT_&&E>=32&&E<=47},T.prototype.isOffsetControlCode=function(y,E){return y===this.OFFSET_&&E>=this.TAB_OFFSET_1_&&E<=this.TAB_OFFSET_3_},T.prototype.isPAC=function(y,E){return y>=this.BASE_&&y<this.BASE_+8&&E>=64&&E<=127},T.prototype.isColorPAC=function(y){return y>=64&&y<=79||y>=96&&y<=127},T.prototype.isNormalChar=function(y){return y>=32&&y<=127},T.prototype.setRollUp=function(y,E){if(this.mode_!=="rollUp"&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(y),this.nonDisplayed_=x(),this.displayed_=x(),this.displayedIndent_=I(),this.nonDisplayedIndent_=I()),E!==void 0&&E!==this.row_)for(var S=0;S<this.rollUpRows_;S++)this.displayed_[E-S]=this.displayed_[this.row_-S],this.displayed_[this.row_-S]="";E===void 0&&(E=this.row_),this.topRow_=E-this.rollUpRows_+1},T.prototype.addFormatting=function(y,E){this.formatting_=this.formatting_.concat(E);var S=E.reduce(function(b,C){return b+"<"+C+">"},"");this[this.mode_](y,S)},T.prototype.clearFormatting=function(y){if(this.formatting_.length){var E=this.formatting_.reverse().reduce(function(S,b){return S+"</"+b+">"},"");this.formatting_=[],this[this.mode_](y,E)}},T.prototype.popOn=function(y,E){var S=this.nonDisplayed_[this.row_];S+=E,this.nonDisplayed_[this.row_]=S},T.prototype.rollUp=function(y,E){var S=this.displayed_[this.row_];S+=E,this.displayed_[this.row_]=S},T.prototype.shiftRowsUp_=function(){var y;for(y=0;y<this.topRow_;y++)this.displayed_[y]="";for(y=this.row_+1;y<15;y++)this.displayed_[y]="";for(y=this.topRow_;y<this.row_;y++)this.displayed_[y]=this.displayed_[y+1];this.displayed_[this.row_]=""},T.prototype.paintOn=function(y,E){var S=this.displayed_[this.row_];S+=E,this.displayed_[this.row_]=S},T.prototype.changeRow=function(y){if(this.mode_==="rollUp"){var E=this.row_-this.topRow_+1;this.topRow_=y-E+1;var S=this.displayed_,b=this.displayedIndent_;this.displayed_=x(),this.displayedIndent_=I();for(var C=0;C<E;C++)y-C>=0&&(this.displayed_[y-C]=S[this.row_-C],this.displayedIndent_[y-C]=b[this.row_-C])}this.row_=y},T.prototype.incrementIdentation=function(y){this.mode_==="popOn"?this.nonDisplayedIndent_[this.row_]+=y:this.mode_==="rollUp"&&(this.displayedIndent_[this.row_]+=y)},{CaptionStream:_}},u.exports=n()},52473:function(u,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.assembleCaption=function(c){return{start:c.startPts/i,end:c.endPts/i,text:c.text,channel:c.stream,position:c.position}};var i=9e4},57708:function(u,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CeaSubtitlesModuleDefinition=void 0;var c=i(16368),m=i(65e3);n.CeaSubtitlesModuleDefinition={name:c.ModuleName.SubtitlesCEA608,module:function(){return{Cea608Extractor:m.Cea608Extractor}},dependencies:[c.ModuleName.Subtitles]},n.default=n.CeaSubtitlesModuleDefinition},65e3:function(u,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Cea608Extractor=n.MPEG_TS_TIMESCALE=void 0;var c=i(72181),m=i(8824);n.MPEG_TS_TIMESCALE=9e4;var $=(function(){function P(t,_,a){a===void 0&&(a=!1),this.logger=t,this.MP4Module=_,this.parseCea708Caption=a,this.timeScale=1,this.defaultSampleDuration=0}return P.prototype.extract=function(t){var _,a,r=this,o=((a=(_=t.getInitSegment())===null||_===void 0?void 0:_.getParsedData())!==null&&a!==void 0?a:t.getParsedData()).get("moov.trak.mdia.mdhd");o&&(this.timeScale=o.timescale);var l=t.getParsedData().get("moov.mvex.trex");l&&(this.defaultSampleDuration=l.default_sample_duration);var d=this.MP4Module.getMp4Fragments(t).flatMap(function(h){var f=h.moof.get("traf.tfdt"),p=r.MP4Module.getAvcSamples(h,t,[c.NalUnitType.SEI],r.logger),A=f?r.toSeconds(f.baseMediaDecodeTime):0;return p.flatMap(function(x){var I=x.nalus.map(function(T){return(function(y,E){return{nalUnitType:"sei_rbsp",escapedRBSP:new Uint8Array(y.data.buffer,y.data.byteOffset,y.data.byteLength),pts:E}})(T,A+r.toSeconds(x.compositionTimeOffset))});return A+=Math.floor(r.toSeconds(x.duration||r.defaultSampleDuration)),I})});return this.parseCaptions(d)},P.prototype.toSeconds=function(t){return t/this.timeScale*n.MPEG_TS_TIMESCALE},P.prototype.parseCaptions=function(t){return t.length===0?Promise.resolve([]):(this.cea608Processor||(this.cea608Processor=new m.Cea608Processor(this.parseCea708Caption)),this.cea608Processor.getCaptions(t).catch(function(){return Promise.resolve([])}))},P.prototype.reset=function(){this.cea608Processor&&this.cea608Processor.reset()},P.prototype.dispose=function(){this.cea608Processor&&this.cea608Processor.dispose()},P})();n.Cea608Extractor=$}},function(u){return u(u.s=57708)}])},966:function(H,u,n){var i,c,m,$,P,t;H=n.nmd(H),t=(function(_,a){for(var r=1601,o=[],l=0;l<r;l++)o[l]=`vs%iatlr oroLateodspe%ser%%sic%pe/p%ieordenpt>De% tosiaunXoo%im% bSMso%supms XtnegXugniAtednXOlEnr ireunt%deoolQ%%mMgn:tob'hartrns%frs>w P%aerd%%oreeaaR%pe%%a%:cCui"tt ixLris%dun eopmnip?%new[%crpoa%tyirC%%Mhfar%iotMt%lNShr uils.qimelt vtsrn e/XntSigtiase xtopriMohetxodxotpeuinnio%%c%edoee dunpolb>Wct%a=ereodelOedoDorngkmeulLnrrcosstrtfiT _%fNrnAla%xr%g%tsCedanNuTaedealaer /silnm>h%%dxh_uMMnesautcabnoqc,Teb %nx>ie!aeLstslemduoccr%rnta-awi %oyd%prmahee.l%ws%r tieTr>oclmelalru1 snutvepr aOantfcl%C%r%mi%n%m_te%%rcaaitxlXephof=r}><rarfs%h[ spey0iiumree Caiiuramaeetriel>_Ef%Pobc2ami%alo%acamdtnb%e rlercian %bkmrl o nerop%truat%C%rSpsxLtecs m%etyuo%ddiduteee%u%ef%togme a_txaspftxr%0hoaA%dtrafg&/qg tser%Waes_ntt%rct %sflCs%ntuiyeg%oivncytiuatt]cm% tui _s aipamndpttdntrete v% uedsn%booraistn MttDorxi%gluyumlacitege% aMib:casi tiJrmcanel aa eslptuaicl i-lpt<edoapitsprd-qpisneuxnvlea%miecoc %_sct%ee%lrtl>itMntXer iiernlanazl%aeceeeeOailqgdjsn_f> erdre /agil{t%%%gs;g[%f<pgaofmsead ieaeaie%goaeeliyet%tLxmrrleptshn:msntnpsm ui ebhtagnng sDacit n%si%dii g uwxetUWicnos%ne<q%tlae%%y crrpn<lest ter%aalo%annroidaodt<N_rn%mnsen%eesamo]uoCe iedoftdlicaetneoopersdhsnimgtt%T_epnsg%wivte lrctdrairstpoportiteun%ilb%nia%eohsyti%_r:fuli laqr%gnea%eipferC%c%mh%ho%iets:aytab%trm%caaso%mas%lwmsenltiaeouafig pd%ssn$ssaeneeosTeg%los%gaatxNaEprgeeessni%%st%as-PApcr%cm%noluens=Ae%foimcisdearu%oe% d%tLs suMni ea%rantu%n%<neq%udtneog_lmPzxLtdftaaiXngtsA%rthaee<"p%cst nre%tg_r<txitg gnuFw%ahlrseenedMdmpynxx%oiss%CAi%act%lot%%lsop<Tegeiacs: xdibrnoLxtn3Ap%k %bikeat rinCsptmorgub%cias/ejccsmgntesmgracglntysr`.charAt(l);for(l=0;l<r;l++){var d=a*(l+502)+a%28244,h=a*(l+280)+a%41149,f=d%r,p=h%r,A=o[f];o[f]=o[p],o[p]=A,a=(d+h)%4316763}var x="\x7F";return o.join("").split("%").join(x).split("#1").join("%").split("#0").join("#").split(x)})(0,6856),t[0],$=self,P=function(){return(self[t[139]]=self[t[139]]||[])[t[72]]([[962],{27972:function(_,a,r){Object[t[2]](a,t[1],{value:!0}),a[t[3]]=void 0;var o=r(16368),l=r(66054),d=r(69482),h=r(69482);a[t[3]]={name:o[t[5]][t[4]],module:{parseXML:h[t[6]],parseJSONtoXML:l[t[7]],setLogger:d[t[8]]}},a[t[9]]=a[t[3]]},54663:function(_,a,r){r[t[10]](a),r[t[11]](a,{SaxXMLParserWrapper:function(){return R},decode:function(){return p}});var o=String[t[12]],l=Object[t[14]][t[13]],d=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/gi,h={amp:t[15],apos:t[16],gt:t[17],lt:t[18],quot:t[19]};function f(D,V,q,K){return K?l[t[20]](h,K)?h[K]:t[15]+K+t[21]:o(V||parseInt(q,16))}function p(D){return D[t[22]]>3&&D[t[23]](t[15])!==-1?D[t[24]](d,f):D}Object[t[27]](h)[t[26]](function(D){h[D[t[25]]()]=h[D]});var A=t[28],x=t[29],I=t[30],T=t[31];function y(D){return new Error(D)}function E(D){return t[32]+D+t[17]}function S(D){return{get:D,enumerable:!0}}function b(D){var V,q={};for(V in D)q[V]=D[V];return q}function C(D){return D+t[33]}function O(){return{line:0,column:0}}function k(D){throw D}function R(D){if(!this)return new R(D);var V,q,K,G,U,L,F,Y,Z,te=D&&D[t[34]],ne=D&&D[t[35]]||t[36],ae=function(de){return ne+de},oe=k,_e=O,me=!1,$e=!1,ve=null,ge=!1;function Te(de){de instanceof Error||(de=y(de)),ve=de,oe(de,_e)}function Ae(de){U&&(de instanceof Error||(de=y(de)),U(de,_e))}this[t[37]]=function(de,ie){if(t[38]!=typeof ie)throw y(t[39]);switch(de){case t[40]:q=ie;break;case t[41]:V=ie;break;case t[42]:K=ie;break;case t[43]:oe=ie;break;case t[44]:U=ie;break;case t[45]:G=ie;break;case t[46]:Y=ie;break;case t[47]:F=ie;break;case t[48]:L=ie;break;default:throw y(t[49]+de)}return this},this[t[50]]=function(de){if(de===void 0&&(de={}),t[51]!=typeof de)throw y(t[52]);var ie,Q={};for(ie in de)Q[ie]=de[ie];return Q[A]=x,$e=!0,Z=Q,this},this[t[53]]=function(de){if(t[54]!=typeof de)throw y(t[55]);return ve=null,(function(ie){var Q,ee,ue,he,Se,we,De,Ke,st,Be,Pe,ke=$e?[]:null,Le=$e?(function(Re){var Me,Ye,et={};for(Me in Re)et[Ye=Re[Me]]=Ye,et[C(Ye)]=Me;return et})(Z):null,qe=[],tt=0,je=!1,at=!1,Ze=0,Xe=0,Oe=t[36],ce=0;function ye(){if(Pe!==null)return Pe;var Re,Me,Ye,et,Je,lt,mt,gt,Rt,pt,Tt,qt=$e&&Le[t[56]],bn=$e&&me?[]:null,Et=ce,Ht=Oe,en=Ht[t[22]],Yn={},ei={},$n=function(tn,jn){return Yn[ae(tn)]=jn};e:for(;Et<en;Et++)if(Rt=!1,!((pt=Ht[t[57]](Et))===32||pt<14&&pt>8)){for((pt<65||pt>122||pt>90&&pt<97)&&pt!==95&&pt!==58&&(Ae(t[58]),Rt=!0),Tt=Et+1;Tt<en;Tt++)if(!((pt=Ht[t[57]](Tt))>96&&pt<123||pt>64&&pt<91||pt>47&&pt<59||pt===46||pt===45||pt===95)){if(pt===32||pt<14&&pt>8){Ae(t[59]),Et=Tt;continue e}if(pt===61)break;Ae(t[60]),Rt=!0}if(t[61]===(gt=Ht[t[62]](Et,Tt))&&(Ae(t[63]),Rt=!0),(pt=Ht[t[57]](Tt+1))===34)(Tt=Ht[t[23]](t[19],Et=Tt+2))===-1&&(Tt=Ht[t[23]](t[16],Et))!==-1&&(Ae(t[64]),Rt=!0);else if(pt===39)(Tt=Ht[t[23]](t[16],Et=Tt+2))===-1&&(Tt=Ht[t[23]](t[19],Et))!==-1&&(Ae(t[64]),Rt=!0);else for(Ae(t[65]),Rt=!0,Tt+=1;Tt<en&&!((pt=Ht[t[57]](Tt+1))===32||pt<14&&pt>8);Tt++);for(Tt===-1&&(Ae(t[66]),Tt=en,Rt=!0),Rt||(lt=Ht[t[62]](Et,Tt)),Et=Tt;Tt+1<en&&!((pt=Ht[t[57]](Tt+1))===32||pt<14&&pt>8);Tt++)Et===Tt&&(Ae(t[67]),Rt=!0);if(Et=Tt+1,!Rt)if(gt in ei)Ae(t[68]+gt+t[69]);else if(ei[gt]=!0,$e)if(me){if((Je=t[56]===gt?t[56]:gt[t[57]](0)===120&&t[70]===gt[t[71]](0,6)?gt[t[71]](6):null)!==null){if(Re=p(lt),Me=C(Je),!(mt=Z[Re])){if(t[56]===Je||Me in Le&&Le[Me]!==Re)do mt=t[50]+tt++;while(Le[mt]!==void 0);else mt=Je;Z[Re]=mt}Le[Je]!==mt&&(et||(Le=b(Le),et=!0),Le[Je]=mt,t[56]===Je&&(Le[C(mt)]=Re,qt=mt),Le[Me]=Re),$n(gt,lt);continue}bn[t[72]](gt,lt)}else(pt=gt[t[23]](t[73]))!==-1?(Ye=Le[gt[t[62]](0,pt)])?((gt=qt===Ye?gt[t[71]](pt+1):Ye+gt[t[71]](pt))===I&&((pt=lt[t[23]](t[73]))!==-1?(Ye=lt[t[62]](0,pt),lt=(Ye=Le[Ye]||Ye)+lt[t[62]](pt)):lt=qt+t[73]+lt),$n(gt,lt)):Ae(E(gt[t[62]](0,pt))):$n(gt,lt);else $n(gt,lt)}if(me)for(Et=0,en=bn[t[22]];Et<en;Et++){if(gt=bn[Et++],lt=bn[Et],(pt=gt[t[23]](t[73]))!==-1){if(!(Ye=Le[gt[t[62]](0,pt)])){Ae(E(gt[t[62]](0,pt)));continue}(gt=qt===Ye?gt[t[71]](pt+1):Ye+gt[t[71]](pt))===I&&((pt=lt[t[23]](t[73]))!==-1?(Ye=lt[t[62]](0,pt),lt=(Ye=Le[Ye]||Ye)+lt[t[62]](pt)):lt=qt+t[73]+lt)}$n(gt,lt)}return Pe=Yn}for(_e=function(){for(var Re,Me,Ye=/(\r\n|\r|\n)/g,et=0,Je=0,lt=0,mt=Xe;Ze>=lt&&(Re=Ye[t[74]](ie))&&!((mt=Re[0][t[22]]+Re[t[75]])>Ze);)et+=1,lt=mt;return Ze==-1?(Je=mt,Me=ie[t[62]](Xe)):Xe===0?Me=ie[t[62]](Xe,Ze):(Je=Ze-lt,Me=Xe==-1?ie[t[62]](Ze):ie[t[62]](Ze,Xe+1)),{data:Me,line:et,column:Je}},te&&(Be=Object[t[76]]({},{name:S(function(){return Ke}),originalName:S(function(){return st}),attrs:S(ye),ns:S(function(){return Le})}));Xe!==-1;){if((Ze=ie[t[57]](Xe)===60?Xe:ie[t[23]](t[18],Xe))===-1)return qe[t[22]]?Te(t[77]):Xe===0?Te(t[78]):void(Xe<ie[t[22]]&&ie[t[62]](Xe)[t[79]]()&&Ae(T));if(Xe!==Ze){if(qe[t[22]]){if(V&&(V(ie[t[62]](Xe,Ze),p,_e),ge))return}else if(ie[t[62]](Xe,Ze)[t[79]]()&&(Ae(T),ge))return}if((Se=ie[t[57]](Ze+1))===33){if((he=ie[t[57]](Ze+2))===91&&t[80]===ie[t[71]](Ze+3,6)){if((Xe=ie[t[23]](t[81],Ze))===-1)return Te(t[82]);if(G&&(G(ie[t[62]](Ze+9,Xe),_e),ge))return;Xe+=3;continue}if(he===45&&ie[t[57]](Ze+3)===45){if((Xe=ie[t[23]](t[83],Ze))===-1)return Te(t[84]);if(L&&(L(ie[t[62]](Ze+4,Xe),p,_e),ge))return;Xe+=3;continue}}if(Se!==63){for(ee=Ze+1;;ee++){if(we=ie[t[57]](ee),isNaN(we))return Xe=-1,Te(t[85]);if(we===34)ee=(he=ie[t[23]](t[19],ee+1))!==-1?he:ee;else if(we===39)ee=(he=ie[t[23]](t[16],ee+1))!==-1?he:ee;else if(we===62){Xe=ee;break}}if(Se!==33){if(Pe={},Se===47){if(je=!1,at=!0,!qe[t[22]])return Te(t[86]);if(ee=Ke=qe[t[87]](),he=Ze+2+ee[t[22]],ie[t[62]](Ze+2,he)!==ee)return Te(t[88]);for(;he<Xe;he++)if(!((Se=ie[t[57]](he))===32||Se>8&&Se<14))return Te(t[89])}else{if(ie[t[57]](Xe-1)===47?(ee=Ke=ie[t[62]](Ze+1,Xe-1),je=!0,at=!0):(ee=Ke=ie[t[62]](Ze+1,Xe),je=!0,at=!1),!(Se>96&&Se<123||Se>64&&Se<91||Se===95||Se===58))return Te(t[90]);for(he=1,ue=ee[t[22]];he<ue;he++)if(!((Se=ee[t[57]](he))>96&&Se<123||Se>64&&Se<91||Se>47&&Se<59||Se===45||Se===95||Se==46)){if(Se===32||Se<14&&Se>8){Ke=ee[t[62]](0,he),Pe=null;break}return Te(t[91])}at||qe[t[72]](Ke)}if($e){if(Q=Le,je&&(at||ke[t[72]](Q),Pe===null&&(me=ee[t[23]](t[56],he)!==-1)&&(ce=he,Oe=ee,ye(),me=!1)),st=Ke,(Se=Ke[t[23]](t[73]))!==-1){if(!(De=Le[Ke[t[62]](0,Se)]))return Te(t[92]+st+t[17]);Ke=Ke[t[71]](Se+1)}else De=Le[t[56]];De&&(Ke=De+t[73]+Ke)}if(je&&(ce=he,Oe=ee,q&&(te?q(Be,p,at,_e):q(Ke,ye,p,at,_e),ge)))return;if(at){if(K&&(K(te?Be:Ke,p,je,_e),ge))return;$e&&(Le=je?Q:ke[t[87]]())}Xe+=1}else{if(Y&&(Y(ie[t[62]](Ze,Xe+1),p,_e),ge))return;Xe+=1}}else{if((Xe=ie[t[23]](t[93],Ze))===-1)return Te(t[94]);if(F&&(F(ie[t[62]](Ze,Xe+2),_e),ge))return;Xe+=2}}})(de),_e=O,ge=!1,ve},this[t[95]]=function(){ge=!0}}},66054:function(_,a){var r=this&&this[t[96]]||function(y,E,S){if(S||arguments[t[22]]===2)for(var b,C=0,O=E[t[22]];C<O;C++)!b&&C in E||(b||(b=Array[t[14]][t[97]][t[20]](E,0,C)),b[C]=E[C]);return y[t[98]](b||Array[t[14]][t[97]][t[20]](E))};Object[t[2]](a,t[1],{value:!0}),a[t[7]]=T;var o=[t[99],t[100],t[101]];function l(y){return o[t[102]](y)}function d(y){return y[t[22]]>0&&t[36]!==y[t[103]](t[36])}function h(y,E,S){return(function(b,C,O){var k=t[36];return O?(k+=t[18][t[98]](O),k+=b[t[22]]>0?t[107][t[98]](b[t[103]](t[107])):t[36],k+=C?t[17]:t[108]):k})(E,d(y),S)+(function(b,C){var O=t[36];return d(b)&&(O+=b[t[103]](t[36]),O+=C?t[109][t[98]](C,t[17]):t[36]),O})(y,S)}function f(y){return t[110][t[98]](y,t[81])}function p(y){for(var E=(function(R){return Object[t[27]](R)[t[104]](l)})(y),S=null,b=[],C=0,O=E;C<O[t[22]];C++){var k=O[C];t[99]===k&&(S=y[k]),t[100]===k&&b[t[72]](y[k]),t[101]===k&&y[k][t[26]](function(R){b[t[72]](f(R))})}return[S,b]}function A(y){return(function(E){return Object[t[27]](E)[t[104]](function(S){return S[t[106]](t[105])&&!l(S)})})(y)[t[112]](function(E){return t[36][t[98]](E[t[24]](t[105],t[36]),t[111])[t[98]](y[E],t[19])})}function x(y,E){return E[t[112]](function(S){return t[54]==typeof S?h(t[36]!==S?[S]:[],[],y):T(S,y)})}function I(y){for(var E=[],S=0,b=(function(k){return Object[t[27]](k)[t[104]](function(R){return!R[t[106]](t[105])})})(y);S<b[t[22]];S++){var C=b[S],O=y[C];t[54]!=typeof O?O instanceof Array?E[t[72]][t[113]](E,x(C,O)):t[51]==typeof O&&E[t[72]](T(O,C)):E[t[72]](t[18][t[98]](C,t[17])[t[98]](O,t[109])[t[98]](C,t[17]))}return E}function T(y,E){var S=p(y),b=S[0],C=S[1],O=I(y),k=A(y),R=E;return R&&b&&(R=t[36][t[98]](b,t[73])[t[98]](E)),h(r(r([],C,!0),O,!0),k,R)}},69482:function(_,a,r){Object[t[2]](a,t[1],{value:!0}),a[t[114]]=y,a[t[8]]=function(E){I=E},a[t[6]]=function(E,S){x=x||new l[t[132]]({attributeNamePrefix:t[105]});var b,C=y(E),O={},k=S[t[133]]?f:p;return x[t[37]](o[t[116]],function(R,D,V,q){var K=(function(L,F){var Y=F();if(!L[t[102]](t[73]))return[L,Y];var Z=L[t[128]](t[73]),te=Z[0],ne=Z[1];return Y[t[99]]=te,[ne,Y]})(R,D),G=K[0],U=K[1];(function(L,F,Y){Y&&(L[t[130]]&&(L[t[130]]=F(L[t[130]])),L[t[131]]&&(L[t[131]]=F(L[t[131]])))})(U,V,S[t[134]]),O=k(O,G,U,q)}),x[t[37]](o[t[117]],function(R){O=A(O)}),x[t[37]](o[t[118]],function(R,D){(function(V,q){V[t[100]]=q[t[79]](),d(V)})(O,S[t[134]]?D(R):R)}),x[t[37]](o[t[121]],function(R){O[t[101]]==null?O[t[101]]=[R]:O[t[101]][t[72]](R),d(O)}),x[t[37]](o[t[119]],function(R){b=new Error(t[136][t[98]](R instanceof Error?R[t[135]]:String(R))),I&&I[t[137]](b[t[135]]),x[t[95]](),O={}}),x[t[53]](C),b?{success:!1,error:b}:{success:!0,parsed:O}};var o,l=r(54663);function d(E){E[t[115]]=function(){return(this[t[100]]?this[t[100]]:t[36])+(this[t[101]]?this[t[101]]:t[36])}}function h(E,S){S&&Object[t[27]](E)[t[22]]===2&&(E[t[100]]=t[36],d(E))}(function(E){E[t[116]]=t[40],E[t[117]]=t[42],E[t[118]]=t[41],E[t[119]]=t[43],E[t[120]]=t[44],E[t[121]]=t[45],E[t[122]]=t[46],E[t[123]]=t[47],E[t[124]]=t[48]})(o||(o={}));var f=function(E,S,b,C){return b[t[125]]=E,b[t[126]]=S,E[t[125]]||E[t[126]]||E[S]?E[S]?(E[S][t[72]](b),b):(h(b,C),E[S]=[b],b):(E[S]=b,b)},p=function(E,S,b,C){return b[t[125]]=E,b[t[126]]=S,E[S]?E[S][t[127]]===Array?(E[S][t[72]](b),b):(E[S]=[E[S],b],b):(h(b,C),E[S]=b,b)};function A(E){var S=E[t[125]];return delete E[t[125]],(function(b,C){if(T(C)&&C[t[126]]!=null)if(b[C[t[126]]]!==C){if(b[C[t[126]]][t[127]]===Array){var O=b[C[t[126]]][t[23]](C);b[C[t[126]]][O]=C[t[100]]}}else b[C[t[126]]]=C[t[100]]})(S,E),delete E[t[126]],S}var x,I,T=function(E){return E[t[100]]!=null&&Object[t[27]](E)[t[22]]===3};function y(E){return E[t[24]](/>\s+</g,t[129])[t[24]](/[\n|\r]+/g,t[107])[t[79]]()}}},function(_){return _(_[t[138]]=27972)}])},t[51]==typeof u&&t[51]=="object"?H[t[140]]=P():t[38]=="function"&&n.amdD[t[141]]?(c=[],(m=typeof(i=P)=="function"?i.apply(u,c):i)===void 0||(H.exports=m)):t[51]==typeof u?u[t[142]]=P():($[t[143]]=$[t[143]]||{},$[t[143]][t[144]]=$[t[143]][t[144]]||{},$[t[143]][t[144]][t[142]]=P())}},__webpack_module_cache__={};function __webpack_require__(H){var u=__webpack_module_cache__[H];if(u!==void 0)return u.exports;var n=__webpack_module_cache__[H]={id:H,loaded:!1,exports:{}};return __webpack_modules__[H].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.amdD=function(){throw new Error("define cannot be used indirect")},__webpack_require__.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}})(),__webpack_require__.nmd=function(H){return H.paths=[],H.children||(H.children=[]),H};var __webpack_exports__=__webpack_require__(474);return __webpack_exports__})()})})()});var Y1=nt(ks=>{"use strict";Object.defineProperty(ks,"__esModule",{value:!0});ks.Guid=void 0;var uS;(function(H){var u=1;function n(){return u++}H.next=n})(uS=ks.Guid||(ks.Guid={}))});var yn=nt(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});rl.DOM=void 0;var lS=(function(){function H(u,n,i){if(this.document=document,u instanceof Array){if(u.length>0&&u[0]instanceof HTMLElement){var c=u;this.elements=c}}else if(u instanceof HTMLElement){var m=u;this.elements=[m]}else if(u instanceof Document)this.elements=null;else if(n){var $=u,m=document.createElement($);for(var P in n){var t=n[P];t!=null&&m.setAttribute(P,t)}i&&(m.component=i),this.elements=[m]}else{var _=u;this.elements=this.findChildElements(_)}}return Object.defineProperty(H.prototype,"length",{get:function(){return this.elements?this.elements.length:0},enumerable:!1,configurable:!0}),H.prototype.get=function(u){return u===void 0?this.elements:!this.elements||u>=this.elements.length||u<-this.elements.length?void 0:u<0?this.elements[this.elements.length-u]:this.elements[u]},H.prototype.forEach=function(u){this.elements&&this.elements.forEach(function(n){u(n)})},H.prototype.findChildElementsOfElement=function(u,n){var i=u.querySelectorAll(n);return[].slice.call(i)},H.prototype.findChildElements=function(u){var n=this,i=[];if(this.elements)this.forEach(function(c){i=i.concat(n.findChildElementsOfElement(c,u))});else return this.findChildElementsOfElement(document,u);return i},H.prototype.find=function(u){var n=this.findChildElements(u);return new H(n)},H.prototype.focusToFirstInput=function(){var u=this.findChildElements('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');u.length>0&&u[0].focus()},H.prototype.scrollTo=function(u,n){this.elements[0].scrollTo(u,n)},H.prototype.html=function(u){return arguments.length>0?this.setHtml(u):this.getHtml()},H.prototype.getHtml=function(){return this.elements[0].innerHTML},H.prototype.setHtml=function(u){return(u===void 0||u==null)&&(u=""),this.forEach(function(n){n.innerHTML=u}),this},H.prototype.empty=function(){return this.forEach(function(u){u.innerHTML=""}),this},H.prototype.val=function(){var u=this.elements[0];if(u instanceof HTMLSelectElement||u instanceof HTMLInputElement)return u.value;throw new Error("val() not supported for ".concat(typeof u))},H.prototype.attr=function(u,n){return arguments.length>1?this.setAttr(u,n):this.getAttr(u)},H.prototype.removeAttr=function(u){this.forEach(function(n){n.removeAttribute(u)})},H.prototype.getAttr=function(u){return this.elements[0].getAttribute(u)},H.prototype.setAttr=function(u,n){return this.forEach(function(i){i.setAttribute(u,n)}),this},H.prototype.data=function(u,n){return arguments.length>1?this.setData(u,n):this.getData(u)},H.prototype.getData=function(u){return this.elements[0].getAttribute("data-"+u)},H.prototype.setData=function(u,n){return this.forEach(function(i){i.setAttribute("data-"+u,n)}),this},H.prototype.append=function(){for(var u=[],n=0;n<arguments.length;n++)u[n]=arguments[n];return this.forEach(function(i){u.forEach(function(c){c.elements.forEach(function(m,$){i.appendChild(c.elements[$])})})}),this},H.prototype.remove=function(){this.forEach(function(u){var n=u.parentNode;n&&n.removeChild(u)})},H.prototype.offset=function(){var u=this.elements[0],n=u.getBoundingClientRect(),i=document.body.parentElement.getBoundingClientRect();return{top:n.top-i.top,left:n.left-i.left}},H.prototype.width=function(){return this.elements[0].offsetWidth},H.prototype.height=function(){return this.elements[0].offsetHeight},H.prototype.size=function(){return{width:this.width(),height:this.height()}},H.prototype.on=function(u,n,i){var c=this,m=u.split(" ");return m.forEach(function($){c.elements==null?c.document.addEventListener($,n,i):c.forEach(function(P){P.addEventListener($,n,i)})}),this},H.prototype.off=function(u,n,i){var c=this,m=u.split(" ");return m.forEach(function($){c.elements==null?c.document.removeEventListener($,n,i):c.forEach(function(P){P.removeEventListener($,n,i)})}),this},H.prototype.addClass=function(u){return this.forEach(function(n){var i;if(n.classList){var c=u.split(" ").filter(function(m){return m.length>0});c.length>0&&(i=n.classList).add.apply(i,c)}else n.className+=" "+u}),this},H.prototype.removeClass=function(u){return this.forEach(function(n){var i;if(n.classList){var c=u.split(" ").filter(function(m){return m.length>0});c.length>0&&(i=n.classList).remove.apply(i,c)}else n.className=n.className.replace(new RegExp("(^|\\b)"+u.split(" ").join("|")+"(\\b|$)","gi")," ")}),this},H.prototype.hasClass=function(u){var n=!1;return this.forEach(function(i){i.classList?i.classList.contains(u)&&(n=!0):new RegExp("(^| )"+u+"( |$)","gi").test(i.className)&&(n=!0)}),n},H.prototype.css=function(u,n){if(typeof u=="string"){var i=u;return arguments.length===2?this.setCss(i,n):this.getCss(i)}else{var c=u;return this.setCssCollection(c)}},H.prototype.removeCss=function(u,n){return n===void 0&&(n=0),this.elements[n].style.removeProperty(u)},H.prototype.getCss=function(u){return getComputedStyle(this.elements[0])[u]},H.prototype.setCss=function(u,n){return this.forEach(function(i){i.style[u]=n}),this},H.prototype.setCssCollection=function(u){return this.forEach(function(n){Object.assign(n.style,u)}),this},H})();rl.DOM=lS});var ur=nt(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});ws.ArrayUtils=void 0;var cS;(function(H){function u(n,i){var c=n.indexOf(i);return c>-1?n.splice(c,1)[0]:null}H.remove=u})(cS=ws.ArrayUtils||(ws.ArrayUtils={}))});var Wi=nt(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});al.Timeout=void 0;var dS=(function(){function H(u,n,i){i===void 0&&(i=!1),this.delay=u,this.callback=n,this.repeat=i,this.timeoutOrIntervalId=0,this.active=!1,this.suspended=!1}return H.prototype.start=function(){return this.reset(),this},H.prototype.clear=function(){this.clearInternal()},H.prototype.suspend=function(){return this.suspended=!0,this.clearInternal(),this},H.prototype.resume=function(u){return this.suspended=!1,u&&this.reset(),this},H.prototype.reset=function(){var u=this;this.clearInternal(),!this.suspended&&(this.repeat?this.timeoutOrIntervalId=setInterval(this.callback,this.delay):this.timeoutOrIntervalId=setTimeout(function(){u.active=!1,u.callback()},this.delay),this.active=!0)},H.prototype.isActive=function(){return this.active},H.prototype.clearInternal=function(){this.repeat?clearInterval(this.timeoutOrIntervalId):clearTimeout(this.timeoutOrIntervalId),this.active=!1},H})();al.Timeout=dS});var Dn=nt(ua=>{"use strict";var fS=ua&&ua.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ua,"__esModule",{value:!0});ua.EventDispatcher=void 0;var X1=ur(),hS=Wi(),_S=(function(){function H(){this.listeners=[]}return H.prototype.subscribe=function(u){this.listeners.push(new zd(u))},H.prototype.subscribeOnce=function(u){this.listeners.push(new zd(u,!0))},H.prototype.subscribeRateLimited=function(u,n){this.listeners.push(new pS(u,n))},H.prototype.unsubscribe=function(u){for(var n=0;n<this.listeners.length;n++){var i=this.listeners[n];if(i.listener===u)return i.clear(),X1.ArrayUtils.remove(this.listeners,i),!0}return!1},H.prototype.unsubscribeAll=function(){for(var u=0,n=this.listeners;u<n.length;u++){var i=n[u];i.clear()}this.listeners=[]},H.prototype.dispatch=function(u,n){n===void 0&&(n=null);for(var i=[],c=this.listeners.slice(0),m=0,$=c;m<$.length;m++){var P=$[m];P.fire(u,n),P.isOnce()&&i.push(P)}for(var t=0,_=i;t<_.length;t++){var a=_[t];X1.ArrayUtils.remove(this.listeners,a)}},H.prototype.getEvent=function(){return this},H})();ua.EventDispatcher=_S;var zd=(function(){function H(u,n){n===void 0&&(n=!1),this.eventListener=u,this.once=n}return Object.defineProperty(H.prototype,"listener",{get:function(){return this.eventListener},enumerable:!1,configurable:!0}),H.prototype.fire=function(u,n){this.eventListener(u,n)},H.prototype.isOnce=function(){return this.once},H.prototype.clear=function(){},H})(),pS=(function(H){fS(u,H);function u(n,i){var c=H.call(this,n)||this;c.rateMs=i;var m=function(){c.rateLimitTimout.start()};return c.rateLimitTimout=new hS.Timeout(c.rateMs,function(){c.lastSeenEvent&&(c.fireSuper(c.lastSeenEvent.sender,c.lastSeenEvent.args),m(),c.lastSeenEvent=null)}),c.rateLimitingEventListener=function($,P){if(c.shouldFireEvent()){c.fireSuper($,P),m();return}c.lastSeenEvent={sender:$,args:P}},c}return u.prototype.shouldFireEvent=function(){return!this.rateLimitTimout.isActive()},u.prototype.fireSuper=function(n,i){H.prototype.fire.call(this,n,i)},u.prototype.fire=function(n,i){this.rateLimitingEventListener(n,i)},u.prototype.clear=function(){H.prototype.clear.call(this),this.rateLimitTimout.clear()},u})(zd)});var Q1=nt((pC,vS)=>{vS.exports={"settings.video.quality":"Videoqualit\xE4t","settings.audio.quality":"Audioqualit\xE4t","settings.audio.track":"Audiospur",speed:"Geschwindigkeit",play:"Abspielen",pause:"Pause",playPause:"Abspielen/Pause",open:"\xF6ffnen",close:"Schlie\xDFen","settings.audio.mute":"Stummschaltung","settings.audio.volume":"Lautst\xE4rke",pictureInPicture:"Bild im Bild",appleAirplay:"Apple AirPlay",googleCast:"Google Cast",vr:"VR",settings:"Einstellungen",fullscreen:"Vollbild",off:"aus","settings.subtitles":"Untertitel","settings.subtitles.font.size":"Gr\xF6\xDFe","settings.subtitles.font.style":"Schriftstil","settings.subtitles.font.style.bold":"Fett","settings.subtitles.font.style.italic":"Kursiv","settings.subtitles.font.family":"Schriftart","settings.subtitles.font.color":"Farbe","settings.subtitles.font.opacity":"Deckkraft","settings.subtitles.characterEdge":"R\xE4nder","settings.subtitles.characterEdge.color":"Buchstabenrandfarbe","settings.subtitles.background.color":"Hintergrundfarbe","settings.subtitles.background.opacity":"Hintergrunddeckkraft","settings.subtitles.window.color":"Hintergrundfarbe","settings.subtitles.window.opacity":"Hintergrunddeckkraft","settings.time.hours":"Stunden","settings.time.minutes":"Minuten","settings.time.seconds":"Sekunden",back:"Zur\xFCck",reset:"Zur\xFCcksetzen",replay:"Wiederholen","ads.remainingTime":"Diese Anzeige endet in {remainingTime} Sekunden",default:"standard","colors.white":"wei\xDF","colors.black":"schwarz","colors.red":"rot","colors.green":"gr\xFCn","colors.blue":"blau","colors.yellow":"gelb","subtitle.example":"Beispiel Untertitel","subtitle.select":"Untertitel ausw\xE4hlen",playingOn:"Spielt auf <strong>{castDeviceName}</strong>",connectingTo:"Verbindung mit <strong>{castDeviceName}</strong> wird hergestellt...",watermarkLink:"Link zum Homepage",controlBar:"Videoplayer Kontrollen",player:"Video player",seekBar:"Video-Timeline","seekBar.value":"Wert","seekBar.timeshift":"Timeshift","seekBar.durationText":"aus","quickseek.forward":"{seekSeconds} Sekunden Vor","quickseek.rewind":"{seekSeconds} Sekunden Zur\xFCck",ecoMode:"ecoMode","ecoMode.title":"Eco Mode"}});var J1=nt((vC,gS)=>{gS.exports={"settings.video.quality":"Video Quality","settings.audio.quality":"Audio Quality","settings.audio.track":"Audio Track","settings.audio.mute":"Mute","settings.audio.volume":"Volume","settings.subtitles.window.color":"Window color","settings.subtitles.window.opacity":"Window opacity","settings.subtitles":"Subtitles","settings.subtitles.font.color":"Font color","settings.subtitles.font.opacity":"Font opacity","settings.subtitles.background.color":"Background color","settings.subtitles.background.opacity":"Background opacity","colors.white":"white","colors.black":"black","colors.red":"red","colors.green":"green","colors.blue":"blue","colors.cyan":"cyan","colors.yellow":"yellow","colors.magenta":"magenta",percent:"{value}%","settings.subtitles.font.size":"Font size","settings.subtitles.font.style":"Font style","settings.subtitles.font.style.bold":"bold","settings.subtitles.font.style.italic":"italic","settings.subtitles.characterEdge":"Character edge","settings.subtitles.characterEdge.raised":"raised","settings.subtitles.characterEdge.depressed":"depressed","settings.subtitles.characterEdge.uniform":"uniform","settings.subtitles.characterEdge.dropshadowed":"drop shadowed","settings.subtitles.characterEdge.color":"Character edge color","settings.subtitles.font.family":"Font family","settings.subtitles.font.family.monospacedserif":"monospaced serif","settings.subtitles.font.family.proportionalserif":"proportional serif","settings.subtitles.font.family.monospacedsansserif":"monospaced sans serif","settings.subtitles.font.family.proportionalsansserif":"proportional sans serif","settings.subtitles.font.family.casual":"casual","settings.subtitles.font.family.cursive":"cursive","settings.subtitles.font.family.smallcapital":"small capital","settings.time.hours":"Hours","settings.time.minutes":"Minutes","settings.time.seconds":"Seconds","ads.remainingTime":"This ad will end in {remainingTime} seconds.",settings:"Settings",fullscreen:"Fullscreen",speed:"Speed",playPause:"Play/Pause",play:"Play",pause:"Pause",open:"open",close:"Close",pictureInPicture:"Picture-in-Picture",appleAirplay:"Apple AirPlay",googleCast:"Google Cast",vr:"VR",off:"off",auto:"auto",ecoMode:"ecoMode","ecoMode.title":"Eco Mode",back:"Back",reset:"Reset",replay:"Replay",normal:"normal",default:"default",live:"Live","subtitle.example":"example subtitle","subtitle.select":"Select subtitle",playingOn:"Playing on <strong>{castDeviceName}</strong>",connectingTo:"Connecting to <strong>{castDeviceName}</strong>...",watermarkLink:"Link to Homepage",controlBar:"Video player controls",player:"Video player",seekBar:"Video timeline","seekBar.value":"Value","seekBar.timeshift":"Timeshift","seekBar.durationText":"out of","quickseek.forward":"Fast Forward {seekSeconds} seconds","quickseek.rewind":"Rewind {seekSeconds} seconds"}});var Z1=nt((gC,mS)=>{mS.exports={"settings.video.quality":"Calidad de Video","settings.audio.quality":"Calidad de Audio","settings.audio.track":"Pista de Audio","settings.audio.mute":"Silencio","settings.audio.volume":"Volumen","settings.subtitles.window.color":"color de Ventana","settings.subtitles.window.opacity":"opacidad de Ventana","settings.subtitles":"Subt\xEDtulos","settings.subtitles.font.color":"color de Fuente","settings.subtitles.font.opacity":"opacidad de Fuente","settings.subtitles.background.color":"color de Fondo","settings.subtitles.background.opacity":"opacidad de Fondo","colors.white":"blanco","colors.black":"negro","colors.red":"rojo","colors.green":"verde","colors.blue":"azul","colors.cyan":"cian","colors.yellow":"amarillo","colors.magenta":"magenta",percent:"{value}%","settings.subtitles.font.size":"tama\xF1o de Fuente","settings.subtitles.font.style":"Estilo de Fuente","settings.subtitles.font.style.bold":"negrita","settings.subtitles.font.style.italic":"cursiva","settings.subtitles.characterEdge":"borde del Caracter","settings.subtitles.characterEdge.raised":"alzado","settings.subtitles.characterEdge.depressed":"discreto","settings.subtitles.characterEdge.uniform":"uniforme","settings.subtitles.characterEdge.dropshadowed":"sombreado","settings.subtitles.characterEdge.color":"color de contorno de texto","settings.subtitles.font.family":"tipo de Fuente","settings.subtitles.font.family.monospacedserif":"monospaced serif","settings.subtitles.font.family.proportionalserif":"proportional serif","settings.subtitles.font.family.monospacedsansserif":"monospaced sans serif","settings.subtitles.font.family.proportionalsansserif":"proportional sans serif","settings.subtitles.font.family.casual":"casual","settings.subtitles.font.family.cursive":"cursiva","settings.subtitles.font.family.smallcapital":"small capital","settings.time.hours":"Horas","settings.time.minutes":"Minutos","settings.time.seconds":"Segundos","ads.remainingTime":"Este anuncio acabar\xE1 en {remainingTime} segundos.",settings:"Configuraci\xF3n",fullscreen:"Pantalla Completa",speed:"Velocidad",playPause:"Reproducir/Pausa",play:"Reproducir",pause:"Pausa",open:"Abrir",close:"Cerrar",pictureInPicture:"Imagen en Imagen",appleAirplay:"Apple AirPlay",googleCast:"Google Cast",vr:"VR",off:"off",auto:"auto",ecoMode:"ecoMode","ecoMode.title":"Eco Mode",back:"Atr\xE1s",reset:"Reiniciar",replay:"Rebobinar",normal:"normal",default:"predeterminado",live:"Directo","subtitle.example":"Ejemplo de Subt\xEDtulo","subtitle.select":"Seleccionar subt\xEDtulo",playingOn:"Reproduciendo en <strong>{castDeviceName}</strong>",connectingTo:"Conectando a <strong>{castDeviceName}</strong>...",watermarkLink:"Enlace al inicio",controlBar:"Controles del Reproductor",player:"Reproductor de Video",seekBar:"L\xEDnea de Tiempo","seekBar.value":"posici\xF3n","seekBar.timeshift":"cambio de posici\xF3n","seekBar.durationText":"de","quickseek.forward":"Adelantar {seekSeconds} segundos","quickseek.rewind":"Rebobinar {seekSeconds} segundos"}});var ep=nt((mC,yS)=>{yS.exports={"settings.video.quality":"Videokwaliteit","settings.audio.quality":"Audiokwaliteit","settings.audio.track":"Audiospoor","settings.audio.mute":"Dempen","settings.audio.volume":"Volume","settings.subtitles.window.color":"Vensterkleur","settings.subtitles.window.opacity":"Venster doorzichtigheid","settings.subtitles":"Ondertiteling","settings.subtitles.font.color":"Lettertype kleur","settings.subtitles.font.opacity":"Lettertype doorzichtigheid","settings.subtitles.background.color":"Achtergrondkleur","settings.subtitles.background.opacity":"Achtergrond doorzichtigheid","colors.white":"wit","colors.black":"zwart","colors.red":"rood","colors.green":"groen","colors.blue":"blauw","colors.cyan":"cyaan","colors.yellow":"geel","colors.magenta":"magenta",percent:"{value}%","settings.subtitles.font.size":"Lettertype grootte","settings.subtitles.characterEdge":"Lettertype rand","settings.subtitles.characterEdge.raised":"verhoogd","settings.subtitles.characterEdge.depressed":"verlaagd","settings.subtitles.characterEdge.uniform":"uniform","settings.subtitles.characterEdge.dropshadowed":"schaduw","settings.subtitles.font.family":"Standaard lettertype","settings.subtitles.font.family.monospacedserif":"monospace serif","settings.subtitles.font.family.proportionalserif":"proportioneel serif","settings.subtitles.font.family.monospacedsansserif":"monospace sans-serif","settings.subtitles.font.family.proportionalsansserif":"proportioneel sans-serif","settings.subtitles.font.family.casual":"casual","settings.subtitles.font.family.cursive":"cursief","settings.subtitles.font.family.smallcapital":"kleine hoofdletters","settings.time.hours":"Uren","settings.time.minutes":"Minuten","settings.time.seconds":"Seconden","ads.remainingTime":"Deze advertentie eindigt in {remainingTime} seconden.",settings:"Instellingen",fullscreen:"Volledig scherm",speed:"Snelheid",playPause:"Afspelen/Pauzeren",play:"Afspelen",pause:"Pauzeren",open:"Openen",close:"Sluiten",pictureInPicture:"Picture-in-Picture",appleAirplay:"Apple AirPlay",googleCast:"Google Cast",vr:"VR",off:"uit",auto:"automatisch",ecoMode:"Eco-modus","ecoMode.title":"Eco-modus",back:"Terug",reset:"Reset",replay:"Opnieuw afspelen",normal:"normaal",default:"standaard",live:"Live","subtitle.example":"voorbeeld ondertiteling","subtitle.select":"Selecteer ondertiteling",playingOn:"Speelt af op <strong>{castDeviceName}</strong>",connectingTo:"Verbinden met <strong>{castDeviceName}</strong>...",watermarkLink:"Link naar homepage",controlBar:"Videospeler bediening",player:"Videospeler",seekBar:"Video tijdlijn","seekBar.value":"Waarde","seekBar.timeshift":"Tijdverschuiving","seekBar.durationText":"van","quickseek.forward":"{seekSeconds} seconden vooruitspoelen","quickseek.rewind":"{seekSeconds} seconden terugspoelen"}});var yt=nt(Nn=>{"use strict";var ai=Nn&&Nn.__assign||function(){return ai=Object.assign||function(H){for(var u,n=1,i=arguments.length;n<i;n++){u=arguments[n];for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(H[c]=u[c])}return H},ai.apply(this,arguments)},ol=Nn&&Nn.__importDefault||function(H){return H&&H.__esModule?H:{default:H}};Object.defineProperty(Nn,"__esModule",{value:!0});Nn.i18n=Nn.I18n=Nn.defaultVocabularies=void 0;var SS=ol(Q1()),bS=ol(J1()),$S=ol(Z1()),TS=ol(ep());Nn.defaultVocabularies={en:bS.default,de:SS.default,es:$S.default,nl:TS.default};var tp={language:"en",vocabularies:Nn.defaultVocabularies},np=(function(){function H(u){this.setConfig(u)}return H.prototype.setConfig=function(u){var n=ai(ai({},tp),u),i=n.language==="auto",c=this.mergeVocabulariesWithDefaultVocabularies(n.vocabularies);this.initializeLanguage(n.language,i,c),this.initializeVocabulary(c)},H.containsLanguage=function(u,n){return u.hasOwnProperty(n)},H.prototype.mergeVocabulariesWithDefaultVocabularies=function(u){u===void 0&&(u={});var n=ai(ai({},Nn.defaultVocabularies),u);return Object.keys(n).reduce(function(i,c){var m,$=n[c];return H.containsLanguage(Nn.defaultVocabularies,c)&&H.containsLanguage(u,c)&&($=ai(ai({},Nn.defaultVocabularies[c]),u[c])),ai(ai({},i),(m={},m[c]=$,m))},{})},H.prototype.initializeLanguage=function(u,n,i){if(n){var c=window.navigator.language;if(H.containsLanguage(i,c)){this.language=c;return}var m=c.slice(0,2);if(H.containsLanguage(i,m)){this.language=m;return}}this.language=u},H.prototype.initializeVocabulary=function(u){this.vocabulary=["en",this.language].reduce(function(n,i){return ai(ai({},n),u[i]||{})},{})},H.prototype.replaceVariableWithPlaceholderIfExists=function(u,n){var i=u.match(new RegExp("{[a-zA-Z0-9]+}","g"));return i.length===0?u:i.map(function(c){return{match:c,key:c.slice(1,-1)}}).reduce(function(c,m){var $=m.key,P=m.match;return n.hasOwnProperty($)?c.replace(P,n[$]):c},u)},H.prototype.getLocalizer=function(u,n){var i=this;return function(){if(u!=null){var c=i.vocabulary[u];return c==null&&(c=u),n!=null&&(c=i.replaceVariableWithPlaceholderIfExists(c,n)),c}}},H.prototype.performLocalization=function(u){return typeof u=="function"?u():u},H})();Nn.I18n=np;Nn.i18n=new np(tp)});var Bn=nt(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});wr.Component=wr.ViewMode=void 0;var ES=Y1(),AS=yn(),la=Dn(),PS=yt(),ip;(function(H){H.Persistent="persistent",H.Temporary="temporary"})(ip=wr.ViewMode||(wr.ViewMode={}));var SC=wr.Component=(function(){function H(u){u===void 0&&(u={}),this.componentEvents={onShow:new la.EventDispatcher,onHide:new la.EventDispatcher,onViewModeChanged:new la.EventDispatcher,onHoverChanged:new la.EventDispatcher,onEnabled:new la.EventDispatcher,onDisabled:new la.EventDispatcher},this.config=this.mergeConfig(u,{tag:"div",id:"bmpui-id-"+ES.Guid.next(),cssPrefix:"bmpui",cssClass:"ui-component",cssClasses:[],hidden:!1,disabled:!1},{}),this.viewMode=ip.Temporary}return H.prototype.initialize=function(){this.hidden=this.config.hidden,this.disabled=this.config.disabled,this.isHidden()&&(this.hidden=!1,this.hide()),this.isDisabled()&&(this.disabled=!1,this.disable())},H.prototype.configure=function(u,n){var i=this;this.onShow.subscribe(function(){return n.onComponentShow.dispatch(i)}),this.onHide.subscribe(function(){return n.onComponentHide.dispatch(i)}),this.onViewModeChanged.subscribe(function(c,m){return n.onComponentViewModeChanged.dispatch(i,m)}),this.getDomElement().on("mouseenter",function(){return i.onHoverChangedEvent(!0)}),this.getDomElement().on("mouseleave",function(){return i.onHoverChangedEvent(!1)})},H.prototype.release=function(){},H.prototype.toDomElement=function(){var u=new AS.DOM(this.config.tag,{id:this.config.id,class:this.getCssClasses(),role:this.config.role},this);return u},H.prototype.getDomElement=function(){return this.element||(this.element=this.toDomElement()),this.element},H.prototype.hasDomElement=function(){return!!this.element},H.prototype.setAriaLabel=function(u){this.setAriaAttr("label",PS.i18n.performLocalization(u))},H.prototype.setAriaAttr=function(u,n){this.getDomElement().attr("aria-".concat(u),n)},H.prototype.mergeConfig=function(u,n,i){var c=Object.assign({},i,n,u);return c},H.prototype.getCssClasses=function(){var u=this,n=[this.config.cssClass].concat(this.config.cssClasses);n=n.map(function(c){return u.prefixCss(c)});var i=n.join(" ");return i.trim()},H.prototype.prefixCss=function(u){return this.config.cssPrefix+"-"+u},H.prototype.getConfig=function(){return this.config},H.prototype.hide=function(){this.hidden||(this.hidden=!0,this.getDomElement().addClass(this.prefixCss(H.CLASS_HIDDEN)),this.onHideEvent())},H.prototype.show=function(){this.hidden&&(this.getDomElement().removeClass(this.prefixCss(H.CLASS_HIDDEN)),this.hidden=!1,this.onShowEvent())},H.prototype.isHidden=function(){return this.hidden},H.prototype.isShown=function(){return!this.isHidden()},H.prototype.toggleHidden=function(){this.isHidden()?this.show():this.hide()},H.prototype.disable=function(){this.disabled||(this.disabled=!0,this.getDomElement().addClass(this.prefixCss(H.CLASS_DISABLED)),this.onDisabledEvent())},H.prototype.enable=function(){this.disabled&&(this.getDomElement().removeClass(this.prefixCss(H.CLASS_DISABLED)),this.disabled=!1,this.onEnabledEvent())},H.prototype.isDisabled=function(){return this.disabled},H.prototype.isEnabled=function(){return!this.isDisabled()},H.prototype.isHovered=function(){return this.hovered},H.prototype.onShowEvent=function(){this.componentEvents.onShow.dispatch(this)},H.prototype.onHideEvent=function(){this.componentEvents.onHide.dispatch(this)},H.prototype.onEnabledEvent=function(){this.componentEvents.onEnabled.dispatch(this)},H.prototype.onDisabledEvent=function(){this.componentEvents.onDisabled.dispatch(this)},H.prototype.onViewModeChangedEvent=function(u){this.viewMode!==u&&(this.viewMode=u,this.componentEvents.onViewModeChanged.dispatch(this,{mode:u}))},H.prototype.onHoverChangedEvent=function(u){this.hovered=u,this.componentEvents.onHoverChanged.dispatch(this,{hovered:u})},Object.defineProperty(H.prototype,"onShow",{get:function(){return this.componentEvents.onShow.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onHide",{get:function(){return this.componentEvents.onHide.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onEnabled",{get:function(){return this.componentEvents.onEnabled.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onDisabled",{get:function(){return this.componentEvents.onDisabled.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onHoverChanged",{get:function(){return this.componentEvents.onHoverChanged.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onViewModeChanged",{get:function(){return this.componentEvents.onViewModeChanged.getEvent()},enumerable:!1,configurable:!0}),H.CLASS_HIDDEN="hidden",H.CLASS_DISABLED="disabled",H})()});var Zt=nt(ca=>{"use strict";var IS=ca&&ca.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ca,"__esModule",{value:!0});ca.Container=void 0;var Yd=Bn(),rp=yn(),CS=ur(),xS=yt(),MS=(function(H){IS(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-container",components:[]},i.config),i.componentsToAdd=[],i.componentsToRemove=[],i.componentsInPersistentViewMode=0,i}return u.prototype.addComponent=function(n){this.config.components.push(n),this.componentsToAdd.push(n)},u.prototype.removeComponent=function(n){return CS.ArrayUtils.remove(this.config.components,n)!=null?(this.componentsToRemove.push(n),!0):!1},u.prototype.getComponents=function(){return this.config.components},u.prototype.removeComponents=function(){for(var n=0,i=this.getComponents().slice();n<i.length;n++){var c=i[n];this.removeComponent(c)}},u.prototype.updateComponents=function(){for(var n;(n=this.componentsToRemove.shift())!==void 0;)n.getDomElement().remove();for(;(n=this.componentsToAdd.shift())!==void 0;)this.innerContainerElement.append(n.getDomElement())},u.prototype.toDomElement=function(){var n=new rp.DOM(this.config.tag,{id:this.config.id,class:this.getCssClasses(),role:this.config.role,"aria-label":xS.i18n.performLocalization(this.config.ariaLabel)},this),i=new rp.DOM(this.config.tag,{class:this.prefixCss("container-wrapper")});this.innerContainerElement=i;for(var c=0,m=this.config.components;c<m.length;c++){var $=m[c];this.componentsToAdd.push($)}return this.updateComponents(),n.append(i),n},u.prototype.suspendHideTimeout=function(){},u.prototype.resumeHideTimeout=function(){},u.prototype.trackComponentViewMode=function(n){n===Yd.ViewMode.Persistent?this.componentsInPersistentViewMode++:n===Yd.ViewMode.Temporary&&(this.componentsInPersistentViewMode=Math.max(this.componentsInPersistentViewMode-1,0)),this.componentsInPersistentViewMode>0?this.suspendHideTimeout():this.resumeHideTimeout()},u})(Yd.Component);ca.Container=MS});var lr=nt(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});sl.BrowserUtils=void 0;var kS=(function(){function H(){}return Object.defineProperty(H,"isMobile",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&/Mobi/.test(navigator.userAgent):!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isChrome",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&/Chrome/.test(navigator.userAgent):!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isAndroid",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&/Android/.test(navigator.userAgent)&&!this.isHisense:!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isIOS",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&/iPad|iPhone|iPod/.test(navigator.userAgent):!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isMacIntel",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&navigator.platform==="MacIntel":!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isHisense",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&/Hisense/.test(navigator.userAgent):!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isPlayStation",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&/PlayStation/i.test(navigator.userAgent):!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isWebOs",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&(navigator.userAgent.includes("Web0S")||navigator.userAgent.includes("NetCast")):!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isTizen",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&/Tizen/.test(navigator.userAgent):!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isTouchSupported",{get:function(){return this.windowExists()?"ontouchstart"in window||navigator&&navigator.userAgent&&(navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0):!1},enumerable:!1,configurable:!0}),H.windowExists=function(){return typeof window<"u"},H})();sl.BrowserUtils=kS});var oi=nt(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.PlayerUtils=void 0;var ap=Dn(),op=lr(),wS;(function(H){var u;(function(a){a[a.Idle=0]="Idle",a[a.Prepared=1]="Prepared",a[a.Playing=2]="Playing",a[a.Paused=3]="Paused",a[a.Finished=4]="Finished"})(u=H.PlayerState||(H.PlayerState={}));function n(a){return a.isLive()&&a.getMaxTimeShift()!==0}H.isTimeShiftAvailable=n;function i(a){return a.hasEnded()?u.Finished:a.isPlaying()?u.Playing:a.isPaused()?u.Paused:a.getSource()!=null?u.Prepared:u.Idle}H.getState=i;function c(a){var r=a.getCurrentTime();if(a.isLive())return r;var o=H.getSeekableRangeStart(a,0);return r-o}H.getCurrentTimeRelativeToSeekableRange=c;function m(a,r){return r===void 0&&(r=0),a.getSeekableRange()&&a.getSeekableRange().start||r}H.getSeekableRangeStart=m;function $(a){if(!a.isLive())return a.getSeekableRange();var r=-a.getTimeShift(),o=-a.getMaxTimeShift(),l=a.getCurrentTime(),d=l+r,h=l-(o-r);return{start:h,end:d}}H.getSeekableRangeRespectingLive=$;var P=(function(){function a(r){var o=this;this.timeShiftAvailabilityChangedEvent=new ap.EventDispatcher,this.player=r,this.timeShiftAvailable=void 0;var l=function(){o.detect()};r.on(r.exports.PlayerEvent.SourceLoaded,l),r.on(r.exports.PlayerEvent.TimeChanged,l)}return a.prototype.detect=function(){if(this.player.isLive()){var r=H.isTimeShiftAvailable(this.player);r!==this.timeShiftAvailable&&(this.timeShiftAvailabilityChangedEvent.dispatch(this.player,{timeShiftAvailable:r}),this.timeShiftAvailable=r)}},Object.defineProperty(a.prototype,"onTimeShiftAvailabilityChanged",{get:function(){return this.timeShiftAvailabilityChangedEvent.getEvent()},enumerable:!1,configurable:!0}),a})();H.TimeShiftAvailabilityDetector=P;var t=(function(){function a(r,o){var l=this;this.liveChangedEvent=new ap.EventDispatcher,this.player=r,this.uimanager=o,this.live=void 0;var d=function(){l.detect()};this.uimanager.getConfig().events.onUpdated.subscribe(d),r.on(r.exports.PlayerEvent.Play,d),op.BrowserUtils.isAndroid&&op.BrowserUtils.isChrome&&r.on(r.exports.PlayerEvent.TimeChanged,d),r.exports.PlayerEvent.DurationChanged&&r.on(r.exports.PlayerEvent.DurationChanged,d),r.on(r.exports.PlayerEvent.AdBreakStarted,d),r.on(r.exports.PlayerEvent.AdBreakFinished,d)}return a.prototype.detect=function(){var r=this.player.isLive();r!==this.live&&(this.liveChangedEvent.dispatch(this.player,{live:r}),this.live=r)},Object.defineProperty(a.prototype,"onLiveChanged",{get:function(){return this.liveChangedEvent.getEvent()},enumerable:!1,configurable:!0}),a})();H.LiveStreamDetector=t;function _(a,r,o){var l=Math.min(r,o),d=Math.max(r,o);return Math.min(Math.max(a,l),d)}H.clampValueToRange=_})(wS=Rs.PlayerUtils||(Rs.PlayerUtils={}))});var si=nt(da=>{"use strict";var RS=da&&da.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(da,"__esModule",{value:!0});da.Button=void 0;var OS=Bn(),sp=yn(),LS=Dn(),Xd=yt(),DS=(function(H){RS(u,H);function u(n){var i=H.call(this,n)||this;return i.buttonEvents={onClick:new LS.EventDispatcher},i.config=i.mergeConfig(n,{cssClass:"ui-button",role:"button",tabIndex:0,acceptsTouchWithUiHidden:!1},i.config),i}return u.prototype.toDomElement=function(){var n=this,i={id:this.config.id,"aria-label":Xd.i18n.performLocalization(this.config.ariaLabel||this.config.text),class:this.getCssClasses(),type:"button",tabindex:this.config.tabIndex.toString()};this.config.role!=null&&(i.role=this.config.role);var c=new sp.DOM("button",i,this).append(new sp.DOM("span",{class:this.prefixCss("label")}).html(Xd.i18n.performLocalization(this.config.text)));return c.on("click",function(){n.onClickEvent()}),c},u.prototype.setText=function(n){this.getDomElement().find("."+this.prefixCss("label")).html(Xd.i18n.performLocalization(n))},u.prototype.onClickEvent=function(){this.buttonEvents.onClick.dispatch(this)},Object.defineProperty(u.prototype,"onClick",{get:function(){return this.buttonEvents.onClick.getEvent()},enumerable:!1,configurable:!0}),u})(OS.Component);da.Button=DS});var ha=nt(fa=>{"use strict";var NS=fa&&fa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(fa,"__esModule",{value:!0});fa.UIContainer=void 0;var BS=Zt(),Qd=yn(),US=Wi(),Un=oi(),FS=Dn(),HS=yt(),jS=si(),PC=fa.UIContainer=(function(H){NS(u,H);function u(n){var i=H.call(this,n)||this;return i.hideUi=function(){},i.showUi=function(){},i.config=i.mergeConfig(n,{cssClass:"ui-uicontainer",role:"region",ariaLabel:HS.i18n.getLocalizer("player"),hideDelay:5e3,hideImmediatelyOnMouseLeave:!1},i.config),i.playerStateChange=new FS.EventDispatcher,i.hidingPrevented=function(){return!1},i}return u.prototype.configure=function(n,i){var c=this.getConfig();c.userInteractionEventSource?this.userInteractionEventSource=new Qd.DOM(c.userInteractionEventSource):this.userInteractionEventSource=this.getDomElement(),H.prototype.configure.call(this,n,i),this.configureUIShowHide(n,i),this.configurePlayerStates(n,i)},u.prototype.configureUIShowHide=function(n,i){var c=this,m=this.getConfig();if(m.hideDelay===-1){i.onConfigured.subscribe(function(){return i.onControlsShow.dispatch(c)});return}var $=!1,P=!1,t=!0,_;this.hidingPrevented=function(){return m.hidePlayerStateExceptions&&m.hidePlayerStateExceptions.indexOf(_)>-1},this.showUi=function(){$||(i.onControlsShow.dispatch(c),$=!0),!P&&!n.isCasting()&&!c.hidingPrevented()&&c.uiHideTimeout.start()},this.hideUi=function(){if($&&!n.isCasting()){var a={};i.onPreviewControlsHide.dispatch(c,a),a.cancel?c.showUi():(i.onControlsHide.dispatch(c),$=!1)}},this.uiHideTimeout=new US.Timeout(m.hideDelay,this.hideUi),this.userInteractionEvents=[{name:"touchend",handler:function(a){var r=(function(o){var l=(function(h){return!h||h===c.userInteractionEventSource.get(0)||h.component instanceof u?null:h.component&&h.component instanceof jS.Button?h.component:l(h.parentElement)}),d=l(o.target);return!(d&&d.getConfig().acceptsTouchWithUiHidden)});$||(t&&!n.isPlaying()?t=!1:r(a)&&a.preventDefault(),c.showUi())}},{name:"mouseenter",handler:function(){c.showUi()}},{name:"mousemove",handler:function(){c.showUi()}},{name:"focusin",handler:function(){c.showUi()}},{name:"keydown",handler:function(){c.showUi()}},{name:"mouseleave",handler:function(){!P&&!c.hidingPrevented()&&(c.config.hideImmediatelyOnMouseLeave?c.hideUi():c.uiHideTimeout.start())}}],this.userInteractionEvents.forEach(function(a){return c.userInteractionEventSource.on(a.name,a.handler)}),i.onSeek.subscribe(function(){c.uiHideTimeout.clear(),P=!0}),i.onSeeked.subscribe(function(){P=!1,c.hidingPrevented()||c.uiHideTimeout.start()}),i.onComponentViewModeChanged.subscribe(function(a,r){var o=r.mode;return c.trackComponentViewMode(o)}),n.on(n.exports.PlayerEvent.CastStarted,function(){c.showUi()}),this.playerStateChange.subscribe(function(a,r){_=r,c.hidingPrevented()?(c.uiHideTimeout.clear(),c.showUi()):c.uiHideTimeout.start()})},u.prototype.configurePlayerStates=function(n,i){var c=this,m=this.getDomElement(),$=[];for(var P in Un.PlayerUtils.PlayerState)if(isNaN(Number(P))){var t=Un.PlayerUtils.PlayerState[Un.PlayerUtils.PlayerState[P]];$[Un.PlayerUtils.PlayerState[P]]=this.prefixCss(u.STATE_PREFIX+t.toLowerCase())}var _=function(){m.removeClass($[Un.PlayerUtils.PlayerState.Idle]),m.removeClass($[Un.PlayerUtils.PlayerState.Prepared]),m.removeClass($[Un.PlayerUtils.PlayerState.Playing]),m.removeClass($[Un.PlayerUtils.PlayerState.Paused]),m.removeClass($[Un.PlayerUtils.PlayerState.Finished])},a=function(o){_(),m.addClass($[o]),c.playerStateChange.dispatch(c,o)};n.on(n.exports.PlayerEvent.SourceLoaded,function(){a(Un.PlayerUtils.PlayerState.Prepared)}),n.on(n.exports.PlayerEvent.Play,function(){a(Un.PlayerUtils.PlayerState.Playing)}),n.on(n.exports.PlayerEvent.Playing,function(){a(Un.PlayerUtils.PlayerState.Playing)}),n.on(n.exports.PlayerEvent.Paused,function(){a(Un.PlayerUtils.PlayerState.Paused)}),n.on(n.exports.PlayerEvent.PlaybackFinished,function(){a(Un.PlayerUtils.PlayerState.Finished)}),n.on(n.exports.PlayerEvent.SourceUnloaded,function(){a(Un.PlayerUtils.PlayerState.Idle)}),i.getConfig().events.onUpdated.subscribe(function(){a(Un.PlayerUtils.getState(n))}),n.on(n.exports.PlayerEvent.ViewModeChanged,function(){n.getViewMode()===n.exports.ViewMode.Fullscreen?m.addClass(c.prefixCss(u.FULLSCREEN)):m.removeClass(c.prefixCss(u.FULLSCREEN))}),n.getViewMode()===n.exports.ViewMode.Fullscreen&&m.addClass(this.prefixCss(u.FULLSCREEN)),n.on(n.exports.PlayerEvent.StallStarted,function(){m.addClass(c.prefixCss(u.BUFFERING))}),n.on(n.exports.PlayerEvent.StallEnded,function(){m.removeClass(c.prefixCss(u.BUFFERING))}),n.isStalled()&&m.addClass(this.prefixCss(u.BUFFERING)),n.on(n.exports.PlayerEvent.CastStarted,function(){m.addClass(c.prefixCss(u.REMOTE_CONTROL))}),n.on(n.exports.PlayerEvent.CastStopped,function(){m.removeClass(c.prefixCss(u.REMOTE_CONTROL))}),n.isCasting()&&m.addClass(this.prefixCss(u.REMOTE_CONTROL)),i.onControlsShow.subscribe(function(){m.removeClass(c.prefixCss(u.CONTROLS_HIDDEN)),m.addClass(c.prefixCss(u.CONTROLS_SHOWN))}),i.onControlsHide.subscribe(function(){m.removeClass(c.prefixCss(u.CONTROLS_SHOWN)),m.addClass(c.prefixCss(u.CONTROLS_HIDDEN))});var r=function(o,l){m.removeClass(c.prefixCss("layout-max-width-400")),m.removeClass(c.prefixCss("layout-max-width-600")),m.removeClass(c.prefixCss("layout-max-width-800")),m.removeClass(c.prefixCss("layout-max-width-1200")),o<=400?m.addClass(c.prefixCss("layout-max-width-400")):o<=600?m.addClass(c.prefixCss("layout-max-width-600")):o<=800?m.addClass(c.prefixCss("layout-max-width-800")):o<=1200&&m.addClass(c.prefixCss("layout-max-width-1200"))};n.on(n.exports.PlayerEvent.PlayerResized,function(o){var l=Math.round(Number(o.width.substring(0,o.width.length-2))),d=Math.round(Number(o.height.substring(0,o.height.length-2)));r(l,d)}),r(new Qd.DOM(n.getContainer()).width(),new Qd.DOM(n.getContainer()).height())},u.prototype.release=function(){var n=this;this.userInteractionEvents&&this.userInteractionEvents.forEach(function(i){return n.userInteractionEventSource.off(i.name,i.handler)}),H.prototype.release.call(this),this.uiHideTimeout&&this.uiHideTimeout.clear()},u.prototype.onPlayerStateChange=function(){return this.playerStateChange.getEvent()},u.prototype.suspendHideTimeout=function(){this.uiHideTimeout.suspend()},u.prototype.resumeHideTimeout=function(){this.uiHideTimeout.resume(!this.hidingPrevented())},u.prototype.toDomElement=function(){var n=H.prototype.toDomElement.call(this);return document&&typeof document.createElement("p").style.flex<"u"?n.addClass(this.prefixCss("flexbox")):n.addClass(this.prefixCss("no-flexbox")),n},u.STATE_PREFIX="player-state-",u.FULLSCREEN="fullscreen",u.BUFFERING="buffering",u.REMOTE_CONTROL="remote-control",u.CONTROLS_SHOWN="controls-shown",u.CONTROLS_HIDDEN="controls-hidden",u})(BS.Container)});var Ls=nt(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Os.UIUtils=void 0;var VS=Zt(),GS;(function(H){function u(i,c){var m=function($,P){if(c($,P),$ instanceof VS.Container)for(var t=0,_=$.getComponents();t<_.length;t++){var a=_[t];m(a,$)}};m(i)}H.traverseTree=u;var n;(function(i){i[i.LeftArrow=37]="LeftArrow",i[i.UpArrow=38]="UpArrow",i[i.RightArrow=39]="RightArrow",i[i.DownArrow=40]="DownArrow",i[i.Space=32]="Space",i[i.End=35]="End",i[i.Home=36]="Home"})(n=H.KeyCode||(H.KeyCode={}))})(GS=Os.UIUtils||(Os.UIUtils={}))});var lp=nt(_a=>{"use strict";Object.defineProperty(_a,"__esModule",{value:!0});_a.VolumeTransition=_a.VolumeController=void 0;var WS=Dn(),xC=_a.VolumeController=(function(){function H(u){var n=this;this.player=u,this.events={onChanged:new WS.EventDispatcher},this.storeVolume();var i=function(){n.onChangedEvent()};u.on(u.exports.PlayerEvent.SourceLoaded,i),u.on(u.exports.PlayerEvent.VolumeChanged,i),u.on(u.exports.PlayerEvent.Muted,i),u.on(u.exports.PlayerEvent.Unmuted,i)}return H.prototype.setVolume=function(u){this.player.setVolume(u,H.issuerName)},H.prototype.getVolume=function(){return this.player.getVolume()},H.prototype.setMuted=function(u){u?this.player.mute(H.issuerName):this.player.unmute(H.issuerName)},H.prototype.toggleMuted=function(){this.isMuted()||this.getVolume()===0?this.recallVolume():this.setMuted(!0)},H.prototype.isMuted=function(){return this.player.isMuted()},H.prototype.storeVolume=function(){this.storedVolume=this.getVolume()},H.prototype.recallVolume=function(){this.setMuted(this.storedVolume===0),this.setVolume(this.storedVolume)},H.prototype.startTransition=function(){return new up(this)},H.prototype.onChangedEvent=function(){var u=this.isMuted(),n=this.getVolume(),i=u||n===0,c=u?0:n;this.storeVolume(),this.events.onChanged.dispatch(this,{volume:c,muted:i})},Object.defineProperty(H.prototype,"onChanged",{get:function(){return this.events.onChanged.getEvent()},enumerable:!1,configurable:!0}),H.issuerName="ui-volumecontroller",H})(),up=(function(){function H(u){this.controller=u,u.storeVolume()}return H.prototype.update=function(u){this.controller.setMuted(!1),this.controller.setVolume(u)},H.prototype.finish=function(u){u===0?(this.controller.recallVolume(),this.controller.setMuted(!0)):(this.controller.setMuted(!1),this.controller.setVolume(u),this.controller.storeVolume())},H})();_a.VolumeTransition=up});var dp=nt(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.FocusVisibilityTracker=void 0;var Jd="bmpui-focus-visible",qS=(function(){function H(u){var n=this;this.bitmovinUiPrefix=u,this.lastInteractionWasKeyboard=!0,this.onKeyDown=function(i){i.metaKey||i.altKey||i.ctrlKey||(n.lastInteractionWasKeyboard=!0)},this.onMouseOrPointerOrTouch=function(){return n.lastInteractionWasKeyboard=!1},this.onFocus=function(i){var c=i.target;n.lastInteractionWasKeyboard&&cp(c)&&KS(c,n.bitmovinUiPrefix)&&!c.classList.contains(Jd)&&c.classList.add(Jd)},this.onBlur=function(i){var c=i.target;cp(c)&&c.classList.remove(Jd)},this.eventHandlerMap={mousedown:this.onMouseOrPointerOrTouch,pointerdown:this.onMouseOrPointerOrTouch,touchstart:this.onMouseOrPointerOrTouch,keydown:this.onKeyDown,focus:this.onFocus,blur:this.onBlur},this.registerEventListeners()}return H.prototype.registerEventListeners=function(){for(var u in this.eventHandlerMap)document.addEventListener(u,this.eventHandlerMap[u],!0)},H.prototype.unregisterEventListeners=function(){for(var u in this.eventHandlerMap)document.removeEventListener(u,this.eventHandlerMap[u],!0)},H.prototype.release=function(){this.unregisterEventListeners()},H})();ul.FocusVisibilityTracker=qS;function KS(H,u){return H.id.indexOf(u)===0}function cp(H){return H instanceof HTMLElement&&H.classList instanceof DOMTokenList}});var ef=nt(Rr=>{"use strict";Object.defineProperty(Rr,"__esModule",{value:!0});Rr.isMobileV3PlayerAPI=Rr.MobileV3PlayerEvent=void 0;var Zd;(function(H){H.SourceError="sourceerror",H.PlayerError="playererror",H.PlaylistTransition="playlisttransition"})(Zd=Rr.MobileV3PlayerEvent||(Rr.MobileV3PlayerEvent={}));function zS(H){for(var u in Zd)if(Zd.hasOwnProperty(u)&&!H.exports.PlayerEvent.hasOwnProperty(u))return!1;return!0}Rr.isMobileV3PlayerAPI=zS});var ll=nt(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Ds.StorageUtils=void 0;var YS;(function(H){var u;function n(t){u=t.disableStorageApi}H.setStorageApiDisabled=n;function i(){try{return!u&&window.localStorage&&typeof localStorage.getItem=="function"&&typeof localStorage.setItem=="function"}catch{return!1}}function c(t,_){if(i())try{window.localStorage.setItem(t,_)}catch(a){console.debug("Failed to set storage item ".concat(t),a)}}H.setItem=c;function m(t){if(i())try{return window.localStorage.getItem(t)}catch(_){console.debug("Failed to get storage item ".concat(t),_)}return null}H.getItem=m;function $(t,_){var a=JSON.stringify(_);c(t,a)}H.setObject=$;function P(t){var _=m(t);if(_){var a=JSON.parse(_);return a}return null}H.getObject=P})(YS=Ds.StorageUtils||(Ds.StorageUtils={}))});var hp=nt(cr=>{"use strict";var XS=cr&&cr.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(cr,"__esModule",{value:!0});cr.SubtitleSettingsProperty=cr.SubtitleSettingsManager=void 0;var fp=ll(),QS=Bn(),JS=Dn(),ZS=(function(){function H(){this._properties={fontColor:new ui(this),fontOpacity:new ui(this),fontFamily:new ui(this),fontSize:new ui(this),fontStyle:new ui(this),characterEdge:new ui(this),characterEdgeColor:new ui(this),backgroundColor:new ui(this),backgroundOpacity:new ui(this),windowColor:new ui(this),windowOpacity:new ui(this)},this.userSettings={},this.localStorageKey=eb.instance().prefixCss("subtitlesettings")}return H.prototype.reset=function(){for(var u in this._properties)this._properties[u].clear()},Object.defineProperty(H.prototype,"fontColor",{get:function(){return this._properties.fontColor},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"fontOpacity",{get:function(){return this._properties.fontOpacity},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"fontFamily",{get:function(){return this._properties.fontFamily},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"fontSize",{get:function(){return this._properties.fontSize},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"fontStyle",{get:function(){return this._properties.fontStyle},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"characterEdge",{get:function(){return this._properties.characterEdge},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"characterEdgeColor",{get:function(){return this._properties.characterEdgeColor},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"backgroundColor",{get:function(){return this._properties.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"backgroundOpacity",{get:function(){return this._properties.backgroundOpacity},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"windowColor",{get:function(){return this._properties.windowColor},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"windowOpacity",{get:function(){return this._properties.windowOpacity},enumerable:!1,configurable:!0}),H.prototype.initialize=function(){var u=this,n=function(m){i._properties[m].onChanged.subscribe(function($,P){P.isSet()?u.userSettings[m]=P.value:delete u.userSettings[m],u.save()})},i=this;for(var c in this._properties)n(c);this.load()},H.prototype.save=function(){fp.StorageUtils.setObject(this.localStorageKey,this.userSettings)},H.prototype.load=function(){this.userSettings=fp.StorageUtils.getObject(this.localStorageKey)||{};for(var u in this.userSettings)this._properties[u].value=this.userSettings[u]},H})();cr.SubtitleSettingsManager=ZS;var eb=(function(H){XS(u,H);function u(){return H!==null&&H.apply(this,arguments)||this}return u.instance=function(){return u._instance||(u._instance=new u),u._instance},u.prototype.prefixCss=function(n){return H.prototype.prefixCss.call(this,n)},u})(QS.Component),ui=(function(){function H(u){this._manager=u,this._onChanged=new JS.EventDispatcher}return H.prototype.isSet=function(){return this._value!=null},H.prototype.clear=function(){this._value=null,this.onChangedEvent(null)},Object.defineProperty(H.prototype,"value",{get:function(){return this._value},set:function(u){typeof u=="string"&&u==="null"&&(u=null),this._value=u,this.onChangedEvent(u)},enumerable:!1,configurable:!0}),H.prototype.onChangedEvent=function(u){this._onChanged.dispatch(this._manager,this)},Object.defineProperty(H.prototype,"onChanged",{get:function(){return this._onChanged.getEvent()},enumerable:!1,configurable:!0}),H})();cr.SubtitleSettingsProperty=ui});var cl=nt(Kn=>{"use strict";var tb=Kn&&Kn.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),pa=Kn&&Kn.__assign||function(){return pa=Object.assign||function(H){for(var u,n=1,i=arguments.length;n<i;n++){u=arguments[n];for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(H[c]=u[c])}return H},pa.apply(this,arguments)},nb=Kn&&Kn.__spreadArray||function(H,u,n){if(n||arguments.length===2)for(var i=0,c=u.length,m;i<c;i++)(m||!(i in u))&&(m||(m=Array.prototype.slice.call(u,0,i)),m[i]=u[i]);return H.concat(m||Array.prototype.slice.call(u))};Object.defineProperty(Kn,"__esModule",{value:!0});Kn.PlayerWrapper=Kn.UIInstanceManager=Kn.UIManager=void 0;var ib=ha(),tf=yn(),rb=Zt(),qn=Dn(),ab=Ls(),vp=ur(),ob=lr(),sb=lp(),_p=yt(),ub=dp(),pp=ef(),lb=hp(),cb=ll(),db=(function(){function H(u,n,i){i===void 0&&(i={});var c=this;if(this.events={onUiVariantResolve:new qn.EventDispatcher,onActiveUiChanged:new qn.EventDispatcher},n instanceof ib.UIContainer){var m=n,$=[];$.push({ui:m}),this.uiVariants=$}else this.uiVariants=n;this.subtitleSettingsManager=new lb.SubtitleSettingsManager,this.player=u,this.managerPlayerWrapper=new nf(u),i.metadata=i.metadata?i.metadata:{},this.config=pa(pa({playbackSpeedSelectionEnabled:!0,autoUiVariantResolve:!0,disableAutoHideWhenHovered:!1,enableSeekPreview:!0},i),{events:{onUpdated:new qn.EventDispatcher},volumeController:new sb.VolumeController(this.managerPlayerWrapper.getPlayer())});var P=function(){var f=u.getSource()||{};c.config.metadata=JSON.parse(JSON.stringify(i.metadata||{}));var p={metadata:{title:f.title,description:f.description,markers:f.markers},recommendations:f.recommendations};c.config.metadata.title=p.metadata.title||i.metadata.title,c.config.metadata.description=p.metadata.description||i.metadata.description,c.config.metadata.markers=p.metadata.markers||i.metadata.markers||[],c.config.recommendations=p.recommendations||i.recommendations||[],cb.StorageUtils.setStorageApiDisabled(i)};P(),this.subtitleSettingsManager.initialize();var t=function(){P(),c.config.events.onUpdated.dispatch(c)},_=this.managerPlayerWrapper.getPlayer();_.on(this.player.exports.PlayerEvent.SourceLoaded,t),(0,pp.isMobileV3PlayerAPI)(_)&&_.on(pp.MobileV3PlayerEvent.PlaylistTransition,t),i.container?this.uiContainerElement=i.container instanceof HTMLElement?new tf.DOM(i.container):new tf.DOM(i.container):this.uiContainerElement=new tf.DOM(u.getContainer()),this.uiInstanceManagers=[];for(var a=[],r=0,o=this.uiVariants;r<o.length;r++){var l=o[r];l.condition==null&&a.push(l),this.uiInstanceManagers.push(new fb(u,l.ui,this.config,this.subtitleSettingsManager,l.spatialNavigation))}if(a.length>1)throw Error("Too many UIs without a condition: You cannot have more than one default UI");if(a.length>0&&a[0]!==this.uiVariants[this.uiVariants.length-1])throw Error("Invalid UI variant order: the default UI (without condition) must be at the end of the list");var d=null,h=function(f){if(f!=null)switch(f.type){case u.exports.PlayerEvent.AdStarted:d=f;break;case u.exports.PlayerEvent.AdBreakFinished:d=null,c.config.events.onUpdated.dispatch(c);break;case u.exports.PlayerEvent.SourceLoaded:case u.exports.PlayerEvent.SourceUnloaded:d=null;break}var p=d!=null,A=!1;if(p){var x=d.ad;if(x.isLinear){var I=x;A=I.uiConfig&&I.uiConfig.requestsUi||!1}}A&&c.config.events.onUpdated.dispatch(c),c.resolveUiVariant({isAd:p,adRequiresUi:A},function(T){T.isAd&&c.currentUi.getWrappedPlayer().fireEventInUI(c.player.exports.PlayerEvent.AdStarted,d)})};this.config.autoUiVariantResolve&&(this.managerPlayerWrapper.getPlayer().on(this.player.exports.PlayerEvent.SourceLoaded,h),this.managerPlayerWrapper.getPlayer().on(this.player.exports.PlayerEvent.SourceUnloaded,h),this.managerPlayerWrapper.getPlayer().on(this.player.exports.PlayerEvent.Play,h),this.managerPlayerWrapper.getPlayer().on(this.player.exports.PlayerEvent.Paused,h),this.managerPlayerWrapper.getPlayer().on(this.player.exports.PlayerEvent.AdStarted,h),this.managerPlayerWrapper.getPlayer().on(this.player.exports.PlayerEvent.AdBreakFinished,h),this.managerPlayerWrapper.getPlayer().on(this.player.exports.PlayerEvent.PlayerResized,h),this.managerPlayerWrapper.getPlayer().on(this.player.exports.PlayerEvent.ViewModeChanged,h)),this.focusVisibilityTracker=new ub.FocusVisibilityTracker("bmpui"),h(null)}return H.localize=function(u){return _p.i18n.getLocalizer(u)},H.setLocalizationConfig=function(u){_p.i18n.setConfig(u)},H.prototype.getSubtitleSettingsManager=function(){return this.subtitleSettingsManager},H.prototype.getConfig=function(){return this.config},H.prototype.getUiVariants=function(){return this.uiVariants},H.prototype.switchToUiVariant=function(u,n){var i=this.uiVariants.indexOf(u),c=this.currentUi,m=this.uiInstanceManagers[i];m!==this.currentUi&&(this.currentUi&&this.currentUi.getUI().hide(),this.currentUi=m,this.currentUi!=null&&(this.currentUi.isConfigured()||(this.addUi(this.currentUi),this.currentUi.getUI().isHidden()||this.currentUi.getUI().hide()),n&&n(),this.currentUi.getUI().show(),this.events.onActiveUiChanged.dispatch(this,{previousUi:c,currentUi:m})))},H.prototype.resolveUiVariant=function(u,n){u===void 0&&(u={});var i={isAd:!1,adRequiresUi:!1,isFullscreen:this.player.getViewMode()===this.player.exports.ViewMode.Fullscreen,isMobile:ob.BrowserUtils.isMobile,isPlaying:this.player.isPlaying(),width:this.uiContainerElement.width(),documentWidth:document.body.clientWidth},c=pa(pa({},i),u);this.events.onUiVariantResolve.dispatch(this,c);for(var m=null,$=0,P=this.uiVariants;$<P.length;$++){var t=P[$],_=t.condition==null||t.condition(c)===!0;m==null&&_?m=t:t.ui.hide()}this.switchToUiVariant(m,function(){n&&n(c)})},H.prototype.addUi=function(u){var n=u.getUI().getDomElement(),i=u.getWrappedPlayer();u.configureControls(),this.uiContainerElement.append(n),i.getSource()&&this.config.events.onUpdated.dispatch(this),window.requestAnimationFrame?requestAnimationFrame(function(){u.onConfigured.dispatch(u.getUI())}):setTimeout(function(){u.onConfigured.dispatch(u.getUI())},0)},H.prototype.releaseUi=function(u){u.releaseControls();var n=u.getUI();n.hasDomElement()&&n.getDomElement().remove(),u.clearEventHandlers()},H.prototype.release=function(){for(var u=0,n=this.uiInstanceManagers;u<n.length;u++){var i=n[u];this.releaseUi(i)}this.managerPlayerWrapper.clearEventHandlers(),this.focusVisibilityTracker.release()},Object.defineProperty(H.prototype,"onUiVariantResolve",{get:function(){return this.events.onUiVariantResolve},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onActiveUiChanged",{get:function(){return this.events.onActiveUiChanged},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"activeUi",{get:function(){return this.currentUi},enumerable:!1,configurable:!0}),H.prototype.getTimelineMarkers=function(){return this.config.metadata.markers},H.prototype.addTimelineMarker=function(u){this.config.metadata.markers.push(u),this.config.events.onUpdated.dispatch(this)},H.prototype.removeTimelineMarker=function(u){return vp.ArrayUtils.remove(this.config.metadata.markers,u)===u?(this.config.events.onUpdated.dispatch(this),!0):!1},H})();Kn.UIManager=db;var gp=(function(){function H(u,n,i,c,m){this.events={onConfigured:new qn.EventDispatcher,onSeek:new qn.EventDispatcher,onSeekPreview:new qn.EventDispatcher,onSeeked:new qn.EventDispatcher,onComponentShow:new qn.EventDispatcher,onComponentHide:new qn.EventDispatcher,onComponentViewModeChanged:new qn.EventDispatcher,onControlsShow:new qn.EventDispatcher,onPreviewControlsHide:new qn.EventDispatcher,onControlsHide:new qn.EventDispatcher,onRelease:new qn.EventDispatcher},this.playerWrapper=new nf(u),this.ui=n,this.config=i,this.subtitleSettingsManager=c,this.spatialNavigation=m}return H.prototype.getSubtitleSettingsManager=function(){return this.subtitleSettingsManager},H.prototype.getConfig=function(){return this.config},H.prototype.getUI=function(){return this.ui},H.prototype.getPlayer=function(){return this.playerWrapper.getPlayer()},Object.defineProperty(H.prototype,"onConfigured",{get:function(){return this.events.onConfigured},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onSeek",{get:function(){return this.events.onSeek},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onSeekPreview",{get:function(){return this.events.onSeekPreview},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onSeeked",{get:function(){return this.events.onSeeked},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onComponentShow",{get:function(){return this.events.onComponentShow},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onComponentHide",{get:function(){return this.events.onComponentHide},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onControlsShow",{get:function(){return this.events.onControlsShow},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onPreviewControlsHide",{get:function(){return this.events.onPreviewControlsHide},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onControlsHide",{get:function(){return this.events.onControlsHide},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onRelease",{get:function(){return this.events.onRelease},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onComponentViewModeChanged",{get:function(){return this.events.onComponentViewModeChanged},enumerable:!1,configurable:!0}),H.prototype.clearEventHandlers=function(){this.playerWrapper.clearEventHandlers();var u=this.events;for(var n in u){var i=u[n];i.unsubscribeAll()}},H})();Kn.UIInstanceManager=gp;var fb=(function(H){tb(u,H);function u(){return H!==null&&H.apply(this,arguments)||this}return u.prototype.getWrappedPlayer=function(){return this.getPlayer()},u.prototype.configureControls=function(){this.configureControlsTree(this.getUI()),this.configured=!0},u.prototype.isConfigured=function(){return this.configured},u.prototype.configureControlsTree=function(n){var i=this,c=[];ab.UIUtils.traverseTree(n,function(m){for(var $=0,P=c;$<P.length;$++){var t=P[$];if(t===m)throw console&&console.error("Circular reference in UI tree",m),Error("Circular reference in UI tree: "+m.constructor.name)}m.initialize(),m.configure(i.getPlayer(),i),c.push(m)})},u.prototype.releaseControls=function(){var n;this.configured&&(this.onRelease.dispatch(this.getUI()),this.releaseControlsTree(this.getUI()),this.configured=!1),(n=this.spatialNavigation)===null||n===void 0||n.release(),this.released=!0},u.prototype.isReleased=function(){return this.released},u.prototype.releaseControlsTree=function(n){if(n.release(),n instanceof rb.Container)for(var i=0,c=n.getComponents();i<c.length;i++){var m=c[i];this.releaseControlsTree(m)}},u.prototype.clearEventHandlers=function(){H.prototype.clearEventHandlers.call(this)},u})(gp),nf=(function(){function H(u){var n=this;this.eventHandlers={},this.player=u;for(var i=Object.getOwnPropertyNames(Object.getPrototypeOf({})),c=nb(["constructor"],i,!0),m=hb(u).filter(function(I){return c.indexOf(I)===-1}),$=[],P=[],t=0,_=m;t<_.length;t++){var a=_[t];typeof u[a]=="function"?$.push(a):P.push(a)}for(var r={},o=function(I){r[I]=function(){return u[I].apply(u,arguments)}},l=0,d=$;l<d.length;l++){var h=d[l];o(h)}for(var f=function(I){var T=(function(y){for(;y;){var E=Object.getOwnPropertyDescriptor(y,I);if(E)return E;y=Object.getPrototypeOf(y)}})(u);T&&(T.get||T.set)?Object.defineProperty(r,I,{get:function(){return T.get.call(u)},set:function(y){return T.set.call(u,y)}}):r[I]=u[I]},p=0,A=P;p<A.length;p++){var x=A[p];f(x)}r.on=function(I,T){return u.on(I,T),n.eventHandlers[I]||(n.eventHandlers[I]=[]),n.eventHandlers[I].push(T),r},r.off=function(I,T){return u.off(I,T),n.eventHandlers[I]&&vp.ArrayUtils.remove(n.eventHandlers[I],T),r},r.fireEventInUI=function(I,T){if(n.eventHandlers[I])for(var y=Object.assign({},{timestamp:Date.now(),type:I,uiSourced:!0},T),E=0,S=n.eventHandlers[I];E<S.length;E++){var b=S[E];b(y)}},this.wrapper=r}return H.prototype.getPlayer=function(){return this.wrapper},H.prototype.clearEventHandlers=function(){try{this.player.getSource()}catch(m){m instanceof this.player.exports.PlayerAPINotAvailableError&&(this.eventHandlers={})}for(var u in this.eventHandlers)for(var n=0,i=this.eventHandlers[u];n<i.length;n++){var c=i[n];this.player.off(u,c)}},H})();Kn.PlayerWrapper=nf;function hb(H){for(var u=[];H;){var n=Object.getOwnPropertyNames(H).filter(function(i){return u.indexOf(i)===-1});u=u.concat(n),H=Object.getPrototypeOf(H)}return u}});var yp=nt(mp=>{"use strict";Object.defineProperty(mp,"__esModule",{value:!0})});var Ap=nt(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});Ns.VttUtils=void 0;var Sp=28,_b=1,bp=21,Xt;(function(H){H.Top="top",H.Bottom="bottom",H.Left="left",H.Right="right"})(Xt||(Xt={}));var fl;(function(H){H.GrowingRight="lr",H.GrowingLeft="rl"})(fl||(fl={}));var dl=new Map([[Xt.Top,Xt.Bottom],[Xt.Bottom,Xt.Top],[Xt.Left,Xt.Right],[Xt.Right,Xt.Left]]),pb=function(H,u){u.region?(H.css("position","relative"),H.css("unicode-bidi","plaintext")):(H.css("position","absolute"),H.css("overflow-wrap","break-word"),H.css("overflow","hidden"),H.css("flex-flow","column")),H.css("display","inline-flex")},vb=function(H,u,n,i){var c=u.lineAlign;switch(c){case"center":yb(H,n,i);break;case"end":Sb(H,n,i)}},Ep=function(H,u,n,i){var c=dl.get(n);if(u.line==="auto"&&u.vertical){H.css(c,"0");return}if(!(u.line==="auto"&&!u.vertical)){var m=parseFloat(u.line);if(u.snapToLines){var $=Number(u.line);$<0&&($=bp+$);var P=i.height/bp,t=P*$;m=100*t/i.height}u.lineAlign!=="end"&&H.css(c,"".concat(m,"%")),vb(H,u,n,m)}},gb=function(H,u,n){switch(u.vertical){case"":H.css("writing-mode","horizontal-tb"),H.css(Xt.Bottom,"0"),Ep(H,u,Xt.Bottom,n);break;case fl.GrowingRight:$p(H,Xt.Right,u,n);break;case fl.GrowingLeft:$p(H,Xt.Left,u,n);break}},$p=function(H,u,n,i){var c=u===Xt.Right?"vertical-lr":"vertical-rl";H.css("writing-mode",c),H.css(Xt.Top,"0"),Ep(H,n,u,i)},Tp=function(H,u,n){if(u.position==="auto")H.css(n,"0");else switch(u.positionAlign){case"line-left":H.css(n,"".concat(u.position,"%")),H.css(dl.get(n),"auto"),H.css("justify-content","flex-start");break;case"center":H.css(n,"".concat(u.position-u.size/2,"%")),H.css(dl.get(n),"auto"),H.css("justify-content","center");break;case"line-right":H.css(n,"auto"),H.css(dl.get(n),"".concat(100-u.position,"%")),H.css("justify-content","flex-end");break;default:H.css(n,"".concat(u.position,"%")),H.css("justify-content","flex-start")}},mb=function(H){return H.split("<br />").length},yb=function(H,u,n){switch(u){case Xt.Bottom:H.css("transform","translateY(-50%)");break;case Xt.Left:H.css("transform","translateX(50%)");break;case Xt.Right:H.css("transform","translateX(-50%)");break}},Sb=function(H,u,n){var i=u;H.css(i,"".concat(100-n,"%"))},bb;(function(H){H.setVttCueBoxStyles=function(u,n){var i=u.vtt,c=u.getDomElement();pb(c,i),_b=mb(u.getText()),gb(c,i,n);var m=i.align==="middle"?"center":i.align;c.css("text-align",m);var $=i.size;i.vertical===""?(c.css("width","".concat($,"%")),Tp(c,i,Xt.Left)):(c.css("height","".concat($,"%")),Tp(c,i,Xt.Top))},H.setVttRegionStyles=function(u,n,i){var c=u.getDomElement(),m=i.width*n.viewportAnchorX/100-i.width*n.width/100*n.regionAnchorX/100,$=i.height*n.viewportAnchorY/100-n.lines*Sp*n.regionAnchorY/100;c.css("position","absolute"),c.css("overflow","hidden"),c.css("width","".concat(n.width,"%")),c.css(Xt.Left,"".concat(m,"px")),c.css(Xt.Right,"unset"),c.css(Xt.Top,"".concat($,"px")),c.css(Xt.Bottom,"unset"),c.css("height","".concat(n.lines*Sp,"px"))}})(bb=Ns.VttUtils||(Ns.VttUtils={}))});var Bs=nt(va=>{"use strict";var $b=va&&va.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(va,"__esModule",{value:!0});va.Spacer=void 0;var Tb=Bn(),Eb=(function(H){$b(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-spacer"},i.config),i}return u.prototype.onShowEvent=function(){},u.prototype.onHideEvent=function(){},u.prototype.onHoverChangedEvent=function(n){},u})(Tb.Component);va.Spacer=Eb});var Us=nt(dr=>{"use strict";var Ab=dr&&dr.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),af=dr&&dr.__assign||function(){return af=Object.assign||function(H){for(var u,n=1,i=arguments.length;n<i;n++){u=arguments[n];for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(H[c]=u[c])}return H},af.apply(this,arguments)};Object.defineProperty(dr,"__esModule",{value:!0});dr.ListSelector=void 0;var Pb=Bn(),rf=Dn(),Ib=ur(),Cb=yt(),xb=(function(H){Ab(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.listSelectorEvents={onItemAdded:new rf.EventDispatcher,onItemRemoved:new rf.EventDispatcher,onItemSelected:new rf.EventDispatcher},i.config=i.mergeConfig(n,{items:[],cssClass:"ui-listselector"},i.config),i.items=i.config.items,i}return u.prototype.getItemIndex=function(n){for(var i=0;i<this.items.length;i++)if(this.items[i].key===n)return i;return-1},u.prototype.getItems=function(){return this.items},u.prototype.hasItem=function(n){return this.getItemIndex(n)>-1},u.prototype.addItem=function(n,i,c,m){c===void 0&&(c=!1),m===void 0&&(m="");var $=af({key:n,label:Cb.i18n.performLocalization(i)},m&&{ariaLabel:m});if(!(this.config.filter&&!this.config.filter($))){if(this.config.translator&&($.label=this.config.translator($)),this.removeItem(n),c){var P=this.items.findIndex(function(t){return t.key>n});P<0?this.items.push($):this.items.splice(P,0,$)}else this.items.push($);this.onItemAddedEvent(n)}},u.prototype.removeItem=function(n){var i=this.getItemIndex(n);return i>-1?(Ib.ArrayUtils.remove(this.items,this.items[i]),this.onItemRemovedEvent(n),!0):!1},u.prototype.selectItem=function(n){if(n===this.selectedItem)return!0;var i=this.getItemIndex(n);return i>-1?(this.selectedItem=n,this.onItemSelectedEvent(n),!0):!1},u.prototype.getSelectedItem=function(){return this.selectedItem},u.prototype.getItemForKey=function(n){return this.items.find(function(i){return i.key===n})},u.prototype.synchronizeItems=function(n){var i=this;n.filter(function(c){return!i.hasItem(c.key)}).forEach(function(c){return i.addItem(c.key,c.label,c.sortedInsert,c.ariaLabel)}),this.items.filter(function(c){return n.filter(function(m){return m.key===c.key}).length===0}).forEach(function(c){return i.removeItem(c.key)})},u.prototype.clearItems=function(){var n=this.items;this.items=[],this.selectedItem=null;for(var i=0,c=n;i<c.length;i++){var m=c[i];this.onItemRemovedEvent(m.key)}},u.prototype.itemCount=function(){return Object.keys(this.items).length},u.prototype.onItemAddedEvent=function(n){this.listSelectorEvents.onItemAdded.dispatch(this,n)},u.prototype.onItemRemovedEvent=function(n){this.listSelectorEvents.onItemRemoved.dispatch(this,n)},u.prototype.onItemSelectedEvent=function(n){this.listSelectorEvents.onItemSelected.dispatch(this,n)},Object.defineProperty(u.prototype,"onItemAdded",{get:function(){return this.listSelectorEvents.onItemAdded.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onItemRemoved",{get:function(){return this.listSelectorEvents.onItemRemoved.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onItemSelected",{get:function(){return this.listSelectorEvents.onItemSelected.getEvent()},enumerable:!1,configurable:!0}),u})(Pb.Component);dr.ListSelector=xb});var Oi=nt(ga=>{"use strict";var Mb=ga&&ga.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ga,"__esModule",{value:!0});ga.SelectBox=void 0;var kb=Us(),Pp=yn(),Ip=yt(),Cp=oi(),xp=Bn(),Mp=["mousemove","mouseenter","mouseleave","touchstart","touchmove","touchend","pointermove","click","keydown","keypress","keyup","blur"],kp=["change","keyup","mouseup"],wb=[["click",function(){return!0}],["keydown",function(H){return[" ","ArrowUp","ArrowDown"].includes(H.key)}],["mousedown",function(){return!0}]],Rb=100,Ob=(function(H){Mb(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.dropdownCloseListenerTimeoutId=0,i.removeDropdownCloseListeners=function(){},i.removeDropdownOpenedListeners=function(){},i.onChange=function(){var c=i.selectElement.val();i.onItemSelectedEvent(c,!1)},i.closeDropdown=function(){var c=i.getSelectElement();c!==void 0&&c.blur()},i.onPlayerStateChange=function(c,m){[Cp.PlayerUtils.PlayerState.Idle,Cp.PlayerUtils.PlayerState.Finished].includes(m)&&i.closeDropdown()},i.onDropdownOpened=function(){clearTimeout(i.dropdownCloseListenerTimeoutId),i.dropdownCloseListenerTimeoutId=window.setTimeout(function(){return i.addDropdownCloseListeners()},Rb),i.onViewModeChangedEvent(xp.ViewMode.Persistent)},i.onDropdownClosed=function(){clearTimeout(i.dropdownCloseListenerTimeoutId),i.removeDropdownCloseListeners(),i.onViewModeChangedEvent(xp.ViewMode.Temporary)},i.config=i.mergeConfig(n,{cssClass:"ui-selectbox"},i.config),i}return u.prototype.toDomElement=function(){return this.selectElement=new Pp.DOM("select",{id:this.config.id,class:this.getCssClasses(),"aria-label":Ip.i18n.performLocalization(this.config.ariaLabel)},this),this.onDisabled.subscribe(this.closeDropdown),this.onHide.subscribe(this.closeDropdown),this.addDropdownOpenedListeners(),this.updateDomItems(),this.selectElement.on("change",this.onChange),this.selectElement},u.prototype.configure=function(n,i){var c;H.prototype.configure.call(this,n,i),this.uiContainer=i.getUI(),(c=this.uiContainer)===null||c===void 0||c.onPlayerStateChange().subscribe(this.onPlayerStateChange)},u.prototype.getSelectElement=function(){var n,i;return(i=(n=this.selectElement)===null||n===void 0?void 0:n.get())===null||i===void 0?void 0:i[0]},u.prototype.updateDomItems=function(n){if(n===void 0&&(n=null),this.selectElement!==void 0){this.selectElement.empty();for(var i=0,c=this.items;i<c.length;i++){var m=c[i],$=new Pp.DOM("option",{value:String(m.key)}).html(Ip.i18n.performLocalization(m.label));m.key===String(n)&&$.attr("selected","selected"),this.selectElement.append($)}}},u.prototype.onItemAddedEvent=function(n){H.prototype.onItemAddedEvent.call(this,n),this.updateDomItems(this.selectedItem)},u.prototype.onItemRemovedEvent=function(n){H.prototype.onItemRemovedEvent.call(this,n),this.updateDomItems(this.selectedItem)},u.prototype.onItemSelectedEvent=function(n,i){i===void 0&&(i=!0),H.prototype.onItemSelectedEvent.call(this,n),i&&this.updateDomItems(n)},u.prototype.addDropdownCloseListeners=function(){var n=this;this.removeDropdownCloseListeners(),clearTimeout(this.dropdownCloseListenerTimeoutId),Mp.forEach(function(i){return document.addEventListener(i,n.onDropdownClosed,!0)}),kp.forEach(function(i){return n.selectElement.on(i,n.onDropdownClosed,!0)}),this.removeDropdownCloseListeners=function(){Mp.forEach(function(i){return document.removeEventListener(i,n.onDropdownClosed,!0)}),kp.forEach(function(i){return n.selectElement.off(i,n.onDropdownClosed,!0)})}},u.prototype.addDropdownOpenedListeners=function(){var n=this,i=[];this.removeDropdownOpenedListeners();for(var c=function(r,o){var l=function(d){o(d)&&n.onDropdownOpened()};i.push(function(){return n.selectElement.off(r,l,!0)}),m.selectElement.on(r,l,!0)},m=this,$=0,P=wb;$<P.length;$++){var t=P[$],_=t[0],a=t[1];c(_,a)}this.removeDropdownOpenedListeners=function(){for(var r=0,o=i;r<o.length;r++){var l=o[r];l()}}},u.prototype.release=function(){H.prototype.release.call(this),this.removeDropdownCloseListeners(),this.removeDropdownOpenedListeners(),clearTimeout(this.dropdownCloseListenerTimeoutId)},u})(kb.ListSelector);ga.SelectBox=Ob});var li=nt(ma=>{"use strict";var Lb=ma&&ma.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ma,"__esModule",{value:!0});ma.Label=void 0;var Db=Bn(),Nb=yn(),wp=Dn(),of=yt(),Bb=(function(H){Lb(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.labelEvents={onClick:new wp.EventDispatcher,onTextChanged:new wp.EventDispatcher},i.config=i.mergeConfig(n,{cssClass:"ui-label"},i.config),i.text=i.config.text,i}return u.prototype.toDomElement=function(){var n=this,i=this.config.for!=null?"label":"span",c=new Nb.DOM(i,{id:this.config.id,for:this.config.for,class:this.getCssClasses()},this).html(of.i18n.performLocalization(this.text));return c.on("click",function(){n.onClickEvent()}),c},u.prototype.setText=function(n){if(n!==this.text){this.text=n;var i=of.i18n.performLocalization(n);this.getDomElement().html(i),this.onTextChangedEvent(i)}},u.prototype.getText=function(){return of.i18n.performLocalization(this.text)},u.prototype.clearText=function(){this.getDomElement().html(""),this.onTextChangedEvent(null)},u.prototype.isEmpty=function(){return!this.text},u.prototype.onClickEvent=function(){this.labelEvents.onClick.dispatch(this)},u.prototype.onTextChangedEvent=function(n){this.labelEvents.onTextChanged.dispatch(this,n)},Object.defineProperty(u.prototype,"onClick",{get:function(){return this.labelEvents.onClick.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onTextChanged",{get:function(){return this.labelEvents.onTextChanged.getEvent()},enumerable:!1,configurable:!0}),u})(Db.Component);ma.Label=Bb});var ci=nt(ya=>{"use strict";var Ub=ya&&ya.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ya,"__esModule",{value:!0});ya.ToggleButton=void 0;var Fb=si(),sf=Dn(),Hb=(function(H){Ub(u,H);function u(n){var i=H.call(this,n)||this;i.toggleButtonEvents={onToggle:new sf.EventDispatcher,onToggleOn:new sf.EventDispatcher,onToggleOff:new sf.EventDispatcher};var c={cssClass:"ui-togglebutton",onClass:"on",offClass:"off"};return n.onAriaLabel&&(n.ariaLabel=n.onAriaLabel),i.config=i.mergeConfig(n,c,i.config),i.useAriaPressedAttributeAsToggleIndicator=!i.config.onAriaLabel||!i.config.offAriaLabel,i}return u.prototype.configure=function(n,i){H.prototype.configure.call(this,n,i);var c=this.getConfig();this.getDomElement().addClass(this.prefixCss(c.offClass)),this.useAriaPressedAttributeAsToggleIndicator=!this.config.onAriaLabel||!this.config.offAriaLabel,this.useAriaPressedAttributeAsToggleIndicator?this.setAriaAttr("pressed","false"):this.setAriaLabel(this.config.offAriaLabel)},u.prototype.on=function(){if(this.isOff()){var n=this.getConfig();this.onState=!0,this.getDomElement().removeClass(this.prefixCss(n.offClass)),this.getDomElement().addClass(this.prefixCss(n.onClass)),this.onToggleEvent(),this.onToggleOnEvent(),this.useAriaPressedAttributeAsToggleIndicator?this.setAriaAttr("pressed","true"):this.setAriaLabel(this.config.onAriaLabel)}},u.prototype.off=function(){if(this.isOn()){var n=this.getConfig();this.onState=!1,this.getDomElement().removeClass(this.prefixCss(n.onClass)),this.getDomElement().addClass(this.prefixCss(n.offClass)),this.onToggleEvent(),this.onToggleOffEvent(),this.useAriaPressedAttributeAsToggleIndicator?this.setAriaAttr("pressed","false"):this.setAriaLabel(this.config.offAriaLabel)}},u.prototype.toggle=function(){this.isOn()?this.off():this.on()},u.prototype.isOn=function(){return this.onState},u.prototype.isOff=function(){return!this.isOn()},u.prototype.onClickEvent=function(){H.prototype.onClickEvent.call(this),this.onToggleEvent()},u.prototype.onToggleEvent=function(){this.toggleButtonEvents.onToggle.dispatch(this)},u.prototype.onToggleOnEvent=function(){this.toggleButtonEvents.onToggleOn.dispatch(this)},u.prototype.onToggleOffEvent=function(){this.toggleButtonEvents.onToggleOff.dispatch(this)},Object.defineProperty(u.prototype,"onToggle",{get:function(){return this.toggleButtonEvents.onToggle.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onToggleOn",{get:function(){return this.toggleButtonEvents.onToggleOn.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onToggleOff",{get:function(){return this.toggleButtonEvents.onToggleOff.getEvent()},enumerable:!1,configurable:!0}),u})(Fb.Button);ya.ToggleButton=Hb});var ba=nt(Sa=>{"use strict";var Rp=Sa&&Sa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Sa,"__esModule",{value:!0});Sa.ListBox=void 0;var jb=ci(),Vb=Us(),Gb=yn(),Wb=ur(),qb=(function(H){Rp(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.components=[],i.removeListBoxDomItem=function(c,m){var $=i.getComponentForKey(m);$&&($.getDomElement().remove(),Wb.ArrayUtils.remove(i.components,$))},i.addListBoxDomItem=function(c,m){var $=i.getComponentForKey(m),P=i.getItemForKey(m);if($)$.setText(P.label);else{var t=i.buildListBoxItemButton(P);t.onClick.subscribe(function(){i.handleSelectionChange(t)}),i.components.push(t),i.listBoxElement.append(t.getDomElement())}},i.refreshSelectedItem=function(){for(var c=0,m=i.items;c<m.length;c++){var $=m[c],P=i.getComponentForKey($.key);P&&(String(P.key)===String(i.selectedItem)?P.on():P.off())}},i.handleSelectionChange=function(c){i.onItemSelectedEvent(c.key)},i.config=i.mergeConfig(n,{cssClass:"ui-listbox"},i.config),i}return u.prototype.configure=function(n,i){this.onItemAdded.subscribe(this.addListBoxDomItem),this.onItemRemoved.subscribe(this.removeListBoxDomItem),this.onItemSelected.subscribe(this.refreshSelectedItem),H.prototype.configure.call(this,n,i)},u.prototype.toDomElement=function(){var n=new Gb.DOM("div",{id:this.config.id,class:this.getCssClasses()},this);return this.listBoxElement=n,this.createListBoxDomItems(),this.refreshSelectedItem(),n},u.prototype.createListBoxDomItems=function(){this.listBoxElement.empty(),this.components=[];for(var n=0,i=this.items;n<i.length;n++){var c=i[n];this.addListBoxDomItem(this,c.key)}},u.prototype.buildListBoxItemButton=function(n){return new Kb({key:n.key,text:n.label,ariaLabel:n.ariaLabel})},u.prototype.getComponentForKey=function(n){return this.components.find(function(i){return n===i.key})},u})(Vb.ListSelector);Sa.ListBox=qb;var Kb=(function(H){Rp(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-listbox-button",onClass:"selected",offClass:""},i.config),i}return Object.defineProperty(u.prototype,"key",{get:function(){return this.config.key},enumerable:!1,configurable:!0}),u})(jb.ToggleButton)});var Fs=nt($a=>{"use strict";var zb=$a&&$a.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty($a,"__esModule",{value:!0});$a.VideoQualitySelectBox=void 0;var Yb=Oi(),Xb=yt(),Qb=(function(H){zb(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-videoqualityselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=function(){c.selectItem(n.getVideoQuality().id)},$=function(){var P=n.getAvailableVideoQualities();c.clearItems(),c.hasAuto=n.getStreamType()!=="progressive",c.hasAuto&&c.addItem("auto",Xb.i18n.getLocalizer("auto"));for(var t=0,_=P;t<_.length;t++){var a=_[t];c.addItem(a.id,a.label)}m()};this.onItemSelected.subscribe(function(P,t){n.setVideoQuality(t)}),n.on(n.exports.PlayerEvent.SourceUnloaded,$),n.on(n.exports.PlayerEvent.PeriodSwitched,$),n.on(n.exports.PlayerEvent.VideoQualityChanged,m),n.exports.PlayerEvent.VideoQualityAdded&&(n.on(n.exports.PlayerEvent.VideoQualityAdded,$),n.on(n.exports.PlayerEvent.VideoQualityRemoved,$)),i.getConfig().events.onUpdated.subscribe($)},u.prototype.hasAutoItem=function(){return this.hasAuto},u})(Yb.SelectBox);$a.VideoQualitySelectBox=Qb});var Hs=nt(Ta=>{"use strict";var Jb=Ta&&Ta.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ta,"__esModule",{value:!0});Ta.AudioQualitySelectBox=void 0;var Zb=Oi(),e6=yt(),t6=(function(H){Jb(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-audioqualityselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=function(){c.selectItem(n.getAudioQuality().id)},$=function(){var P=n.getAvailableAudioQualities();c.clearItems(),c.addItem("auto",e6.i18n.getLocalizer("auto"));for(var t=0,_=P;t<_.length;t++){var a=_[t];c.addItem(a.id,a.label)}m()};this.onItemSelected.subscribe(function(P,t){n.setAudioQuality(t)}),n.on(n.exports.PlayerEvent.AudioChanged,$),n.on(n.exports.PlayerEvent.SourceUnloaded,$),n.on(n.exports.PlayerEvent.PeriodSwitched,$),n.on(n.exports.PlayerEvent.AudioQualityChanged,m),n.exports.PlayerEvent.AudioQualityAdded&&(n.on(n.exports.PlayerEvent.AudioQualityAdded,$),n.on(n.exports.PlayerEvent.AudioQualityRemoved,$)),i.getConfig().events.onUpdated.subscribe($)},u})(Zb.SelectBox);Ta.AudioQualitySelectBox=t6});var js=nt(Ea=>{"use strict";var n6=Ea&&Ea.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ea,"__esModule",{value:!0});Ea.PlaybackSpeedSelectBox=void 0;var i6=Oi(),r6=yt(),a6=(function(H){n6(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.defaultPlaybackSpeeds=[.25,.5,1,1.5,2],i.config=i.mergeConfig(n,{cssClasses:["ui-playbackspeedselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addDefaultItems(),this.onItemSelected.subscribe(function($,P){n.setPlaybackSpeed(parseFloat(P)),c.selectItem(P)});var m=function(){var $=n.getPlaybackSpeed();c.setSpeed($)};n.on(n.exports.PlayerEvent.PlaybackSpeedChanged,m),i.getConfig().events.onUpdated.subscribe(m)},u.prototype.setSpeed=function(n){this.selectItem(String(n))||(this.clearItems(),this.addDefaultItems([n]),this.selectItem(String(n)))},u.prototype.addDefaultItems=function(n){var i=this;n===void 0&&(n=[]);var c=this.defaultPlaybackSpeeds.concat(n).sort();c.forEach(function(m){m!==1?i.addItem(String(m),"".concat(m,"x")):i.addItem(String(m),r6.i18n.getLocalizer("normal"))})},u.prototype.clearItems=function(){this.items=[],this.selectedItem=null},u})(i6.SelectBox);Ea.PlaybackSpeedSelectBox=a6});var Or=nt(Aa=>{"use strict";var o6=Aa&&Aa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Aa,"__esModule",{value:!0});Aa.SettingsPanelItem=void 0;var s6=Zt(),u6=Bn(),l6=Dn(),c6=li(),Op=Oi(),Lp=ba(),d6=Fs(),f6=Hs(),h6=js(),_6=(function(H){o6(u,H);function u(n,i,c){c===void 0&&(c={});var m=H.call(this,c)||this;return m.settingsPanelItemEvents={onActiveChanged:new l6.EventDispatcher},m.setting=i,m.config=m.mergeConfig(c,{cssClass:"ui-settings-panel-item",role:"menuitem"},m.config),n!==null&&(n instanceof u6.Component?m.label=n:m.label=new c6.Label({text:n,for:m.setting.getConfig().id}),m.addComponent(m.label)),m.addComponent(m.setting),m}return u.prototype.configure=function(n,i){var c=this;if(this.setting instanceof Op.SelectBox||this.setting instanceof Lp.ListBox){var m=function(){if(!(!(c.setting instanceof Op.SelectBox)&&!(c.setting instanceof Lp.ListBox))){var $=2;(c.setting instanceof d6.VideoQualitySelectBox&&c.setting.hasAutoItem()||c.setting instanceof f6.AudioQualitySelectBox)&&($=3),c.setting.itemCount()<$||c.setting instanceof h6.PlaybackSpeedSelectBox&&!i.getConfig().playbackSpeedSelectionEnabled?c.hide():c.show(),c.onActiveChangedEvent(),c.getDomElement().attr("aria-haspopup","true")}};this.setting.onItemAdded.subscribe(m),this.setting.onItemRemoved.subscribe(m),m()}},u.prototype.isActive=function(){return this.isShown()},u.prototype.onActiveChangedEvent=function(){this.settingsPanelItemEvents.onActiveChanged.dispatch(this)},Object.defineProperty(u.prototype,"onActiveChanged",{get:function(){return this.settingsPanelItemEvents.onActiveChanged.getEvent()},enumerable:!1,configurable:!0}),u})(s6.Container);Aa.SettingsPanelItem=_6});var Ia=nt(Pa=>{"use strict";var p6=Pa&&Pa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Pa,"__esModule",{value:!0});Pa.SettingsPanelPage=void 0;var v6=Zt(),g6=Or(),uf=Dn(),lf=lr(),zC=Pa.SettingsPanelPage=(function(H){p6(u,H);function u(n){var i=H.call(this,n)||this;return i.settingsPanelPageEvents={onSettingsStateChanged:new uf.EventDispatcher,onActive:new uf.EventDispatcher,onInactive:new uf.EventDispatcher},i.config=i.mergeConfig(n,{cssClass:"ui-settings-panel-page",role:"menu"},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);for(var m=function(){c.onSettingsStateChangedEvent();for(var _=null,a=0,r=c.getItems();a<r.length;a++){var o=r[a];o.getDomElement().removeClass(c.prefixCss(u.CLASS_LAST)),o.isShown()&&(_=o)}_&&_.getDomElement().addClass(c.prefixCss(u.CLASS_LAST))},$=0,P=this.getItems();$<P.length;$++){var t=P[$];t.onActiveChanged.subscribe(m)}},u.prototype.hasActiveSettings=function(){for(var n=0,i=this.getItems();n<i.length;n++){var c=i[n];if(c.isActive())return!0}return!1},u.prototype.getItems=function(){return this.config.components.filter(function(n){return n instanceof g6.SettingsPanelItem})},u.prototype.onSettingsStateChangedEvent=function(){this.settingsPanelPageEvents.onSettingsStateChanged.dispatch(this)},Object.defineProperty(u.prototype,"onSettingsStateChanged",{get:function(){return this.settingsPanelPageEvents.onSettingsStateChanged.getEvent()},enumerable:!1,configurable:!0}),u.prototype.onActiveEvent=function(){var n=this.getItems().filter(function(i){return i.isActive()});this.settingsPanelPageEvents.onActive.dispatch(this),n.length>0&&!lf.BrowserUtils.isIOS&&!(lf.BrowserUtils.isMacIntel&&lf.BrowserUtils.isTouchSupported)&&n[0].getDomElement().focusToFirstInput()},Object.defineProperty(u.prototype,"onActive",{get:function(){return this.settingsPanelPageEvents.onActive.getEvent()},enumerable:!1,configurable:!0}),u.prototype.onInactiveEvent=function(){this.settingsPanelPageEvents.onInactive.dispatch(this)},Object.defineProperty(u.prototype,"onInactive",{get:function(){return this.settingsPanelPageEvents.onInactive.getEvent()},enumerable:!1,configurable:!0}),u.CLASS_LAST="last",u})(v6.Container)});var Lr=nt(Ca=>{"use strict";var m6=Ca&&Ca.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ca,"__esModule",{value:!0});Ca.SettingsPanel=void 0;var y6=Zt(),S6=Oi(),b6=Wi(),$6=Dn(),Dp=Ia(),Vs;(function(H){H[H.Forwards=0]="Forwards",H[H.Backwards=1]="Backwards"})(Vs||(Vs={}));var XC=Ca.SettingsPanel=(function(H){m6(u,H);function u(n){var i=H.call(this,n)||this;return i.navigationStack=[],i.settingsPanelEvents={onSettingsStateChanged:new $6.EventDispatcher},i.config=i.mergeConfig(n,{cssClass:"ui-settings-panel",hideDelay:3e3,pageTransitionAnimation:!0},i.config),i.activePage=i.getRootPage(),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig();i.onControlsHide.subscribe(function(){return c.hideHoveredSelectBoxes()}),i.onComponentViewModeChanged.subscribe(function($,P){var t=P.mode;return c.trackComponentViewMode(t)}),m.hideDelay>-1&&(this.hideTimeout=new b6.Timeout(m.hideDelay,function(){c.hide(),c.hideHoveredSelectBoxes()}),this.getDomElement().on("mouseenter",function(){c.hideTimeout.clear()}),this.getDomElement().on("mouseleave",function(){c.hideTimeout.reset()}),this.getDomElement().on("focusin",function(){c.hideTimeout.clear()}),this.getDomElement().on("focusout",function(){c.hideTimeout.reset()})),this.onHide.subscribe(function(){m.hideDelay>-1&&c.hideTimeout.clear(),c.activePage.onInactiveEvent()}),this.onShow.subscribe(function(){c.resetNavigation(!0),c.activePage.onActiveEvent(),m.hideDelay>-1&&c.hideTimeout.start()}),this.getRootPage().onSettingsStateChanged.subscribe(function(){c.onSettingsStateChangedEvent()}),this.updateActivePageClass()},u.prototype.getActivePage=function(){return this.activePage},u.prototype.setActivePageIndex=function(n){this.setActivePage(this.getPages()[n])},u.prototype.setActivePage=function(n){if(n===this.getActivePage()){console.warn("Page is already the current one ... skipping navigation");return}this.navigateToPage(n,this.getActivePage(),Vs.Forwards,!this.config.pageTransitionAnimation)},u.prototype.popToRootSettingsPanelPage=function(){this.resetNavigation(this.config.pageTransitionAnimation)},u.prototype.popSettingsPanelPage=function(){if(this.navigationStack.length===0){console.warn("Already on the root page ... skipping navigation");return}var n=this.navigationStack[this.navigationStack.length-2];n||(n=this.getRootPage()),this.navigateToPage(n,this.activePage,Vs.Backwards,!this.config.pageTransitionAnimation)},u.prototype.rootPageHasActiveSettings=function(){return this.getRootPage().hasActiveSettings()},u.prototype.getPages=function(){return this.config.components.filter(function(n){return n instanceof Dp.SettingsPanelPage})},Object.defineProperty(u.prototype,"onSettingsStateChanged",{get:function(){return this.settingsPanelEvents.onSettingsStateChanged.getEvent()},enumerable:!1,configurable:!0}),u.prototype.release=function(){H.prototype.release.call(this),this.hideTimeout&&this.hideTimeout.clear()},u.prototype.addComponent=function(n){this.getPages().length===0&&n instanceof Dp.SettingsPanelPage&&(this.activePage=n),H.prototype.addComponent.call(this,n)},u.prototype.suspendHideTimeout=function(){this.hideTimeout.suspend()},u.prototype.resumeHideTimeout=function(){this.hideTimeout.resume(!0)},u.prototype.updateActivePageClass=function(){var n=this;this.getPages().forEach(function(i){i===n.activePage?i.getDomElement().addClass(n.prefixCss(u.CLASS_ACTIVE_PAGE)):i.getDomElement().removeClass(n.prefixCss(u.CLASS_ACTIVE_PAGE))})},u.prototype.resetNavigation=function(n){var i=this.getActivePage(),c=this.getRootPage();i&&(n||i.onInactiveEvent()),this.navigationStack=[],this.animateNavigation(c,i,n),this.activePage=c,this.updateActivePageClass()},u.prototype.navigateToPage=function(n,i,c,m){this.activePage=n,c===Vs.Forwards?this.navigationStack.push(n):this.navigationStack.pop(),this.animateNavigation(n,i,m),this.updateActivePageClass(),n.onActiveEvent(),i.onInactiveEvent()},u.prototype.animateNavigation=function(n,i,c){if(this.config.pageTransitionAnimation){var m=this.getDomElement(),$=this.getDomElement().get(0),P=$.scrollWidth,t=$.scrollHeight;i.getDomElement().css("display","none"),this.getDomElement().css({width:"",height:""});var _=n.getDomElement().get(0),a=_.cloneNode(!0),r=_.parentNode;r.appendChild(a),a.style.display="block";var o=$.scrollWidth,l=$.scrollHeight;a.parentElement.removeChild(a),i.getDomElement().css("display",""),m.css({width:P+"px",height:t+"px"}),c||this.forceBrowserReflow(),m.css({width:o+"px",height:l+"px"})}},u.prototype.forceBrowserReflow=function(){this.getDomElement().get(0).offsetLeft},u.prototype.hideHoveredSelectBoxes=function(){this.getComputedItems().map(function(n){return n.setting}).filter(function(n){return n instanceof S6.SelectBox}).forEach(function(n){return n.closeDropdown()})},u.prototype.getComputedItems=function(){for(var n=[],i=0,c=this.getPages();i<c.length;i++){var m=c[i];n.push.apply(n,m.getItems())}return n},u.prototype.getRootPage=function(){return this.getPages()[0]},u.prototype.onSettingsStateChangedEvent=function(){this.settingsPanelEvents.onSettingsStateChanged.dispatch(this)},u.CLASS_ACTIVE_PAGE="active",u})(y6.Container)});var Gs=nt(xa=>{"use strict";var T6=xa&&xa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(xa,"__esModule",{value:!0});xa.ControlBar=void 0;var Np=Zt(),E6=Ls(),A6=Bs(),P6=yt(),Bp=lr(),Up=Lr(),I6=(function(H){T6(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-controlbar",hidden:!0,role:"region",ariaLabel:P6.i18n.getLocalizer("controlBar")},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=0,$=!1;i.getConfig().disableAutoHideWhenHovered&&!Bp.BrowserUtils.isTouchSupported&&E6.UIUtils.traverseTree(this,function(P){P instanceof Np.Container||P instanceof A6.Spacer||P.onHoverChanged.subscribe(function(t,_){_.hovered?m++:m--})}),Bp.BrowserUtils.isMobile&&(i.onComponentShow.subscribe(function(P){P instanceof Up.SettingsPanel&&($=!0)}),i.onComponentHide.subscribe(function(P){P instanceof Up.SettingsPanel&&($=!1)})),i.onControlsShow.subscribe(function(){c.show()}),i.onPreviewControlsHide.subscribe(function(P,t){t.cancel=t.cancel||m>0||$}),i.onControlsHide.subscribe(function(){c.hide()})},u})(Np.Container);xa.ControlBar=I6});var hl=nt(di=>{"use strict";var cf=di&&di.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(di,"__esModule",{value:!0});di.SubtitleRegionContainer=di.SubtitleRegionContainerManager=di.SubtitleLabel=di.SubtitleOverlay=void 0;var C6=yn(),x6=Dn(),M6=yt(),Fp=Ap(),Wp=Zt(),Hp=Gs(),k6=li(),ZC=di.SubtitleOverlay=(function(H){cf(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.preprocessLabelEventCallback=new x6.EventDispatcher,i.cea608Enabled=!1,i.cea608FontSizeFactor=1,i.filterFontSizeOptions=function(c){if(i.cea608Enabled&&c.key!==null){var m=parseInt(c.key,10);return!isNaN(m)&&m<=200}return!0},i.previewSubtitleActive=!1,i.previewSubtitle=new Ws({text:M6.i18n.getLocalizer("subtitle.example")}),i.config=i.mergeConfig(n,{cssClass:"ui-subtitle-overlay"},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=new jp;this.subtitleManager=m,this.subtitleContainerManager=new qp(this),n.on(n.exports.PlayerEvent.CueEnter,function(t){var _=c.generateLabel(t);m.cueEnter(t,_),c.preprocessLabelEventCallback.dispatch(t,_),c.previewSubtitleActive&&c.subtitleContainerManager.removeLabel(c.previewSubtitle),c.show(),c.subtitleContainerManager.addLabel(_,c.getDomElement().size()),c.updateComponents(),i.getConfig().forceSubtitlesIntoViewContainer&&c.handleSubtitleCropping(_)}),n.on(n.exports.PlayerEvent.CueUpdate,function(t){var _=c.generateLabel(t),a=m.cueUpdate(t,_);c.preprocessLabelEventCallback.dispatch(t,_),a&&c.subtitleContainerManager.replaceLabel(a,_),i.getConfig().forceSubtitlesIntoViewContainer&&c.handleSubtitleCropping(_)}),n.on(n.exports.PlayerEvent.CueExit,function(t){var _=m.cueExit(t);_&&(c.subtitleContainerManager.removeLabel(_),c.updateComponents()),m.hasCues||(c.previewSubtitleActive?(c.subtitleContainerManager.addLabel(c.previewSubtitle),c.updateComponents()):c.hide())});var $=function(){c.hide(),c.subtitleContainerManager.clear(),m.clear(),c.removeComponents(),c.updateComponents()},P=function(){var t=m.clearInactiveCues(n.getCurrentTime());t.forEach(function(_){c.subtitleContainerManager.removeLabel(_.label)}),c.updateComponents()};n.on(n.exports.PlayerEvent.AudioChanged,$),n.on(n.exports.PlayerEvent.SubtitleDisabled,$),n.on(n.exports.PlayerEvent.Seeked,P),n.on(n.exports.PlayerEvent.TimeShifted,P),n.on(n.exports.PlayerEvent.PlaybackFinished,$),n.on(n.exports.PlayerEvent.SourceUnloaded,$),i.onComponentShow.subscribe(function(t){t instanceof Hp.ControlBar&&(c.getDomElement().addClass(c.prefixCss(u.CLASS_CONTROLBAR_VISIBLE)),c.cea608Enabled&&c.ensureCea608GridSizeUpdated&&Gp(c.getDomElement()).then(c.ensureCea608GridSizeUpdated))}),i.onComponentHide.subscribe(function(t){t instanceof Hp.ControlBar&&(c.getDomElement().removeClass(c.prefixCss(u.CLASS_CONTROLBAR_VISIBLE)),c.cea608Enabled&&c.ensureCea608GridSizeUpdated&&Gp(c.getDomElement()).then(c.ensureCea608GridSizeUpdated))}),this.configureCea608Captions(n,i),$()},u.prototype.setFontSizeFactor=function(n){this.cea608FontSizeFactor=Math.max(.5,Math.min(2,n))},u.prototype.detectCroppedSubtitleLabel=function(n){var i=this.getDomElement().get(0),c=n.getBoundingClientRect(),m=i.getBoundingClientRect();return{top:c.top<m.top,right:c.right>m.right,bottom:c.bottom>m.bottom,left:c.left<m.left}},u.prototype.handleSubtitleCropping=function(n){var i=n.getDomElement(),c=this.detectCroppedSubtitleLabel(i.get(0));c.top&&(i.css("top","0"),i.removeCss("bottom")),c.right&&(i.css("right","0"),i.removeCss("left")),c.bottom&&(i.css("bottom","0"),i.removeCss("top")),c.left&&(i.css("left","0"),i.removeCss("right"))},u.prototype.generateLabel=function(n){var i,c=n.region,m=((i=n.position)===null||i===void 0?void 0:i.row)||0;Vp(n)&&(n.position.row=n.position.row||0,n.position.column=n.position.column||0,c=c||"cea608-row-".concat(n.position.row));var $=new Ws({text:n.html||jp.generateImageTagText(n.image)||n.text,vtt:n.vtt,region:c,regionStyle:n.regionStyle,originalRowPosition:m});return $},u.prototype.resolveFontSizeFactor=function(n){return parseInt(n)/100},u.prototype.configureCea608Captions=function(n,i){var c=this,m,$=0,P=0,t=.75,_=0,a=.2,r;this.cea608Enabled=!1;var o={overlayWidth:0,overlayHeight:0,fontSizeFactor:0},l=i.getSubtitleSettingsManager();if(l.fontSize.value!=null){var d=this.resolveFontSizeFactor(l.fontSize.value);this.setFontSizeFactor(d)}l.fontSize.onChanged.subscribe(function(f,p){if(p.isSet()){var A=c.resolveFontSizeFactor(p.value);c.setFontSizeFactor(A)}else c.setFontSizeFactor(1);c.cea608Enabled&&c.ensureCea608GridSizeUpdated()}),(m=this.onShow)===null||m===void 0||m.subscribe(function(){c.cea608Enabled&&c.ensureCea608GridSizeUpdated()}),this.ensureCea608GridSizeUpdated=function(){var f=c.getDomElement(),p=f.width(),A=f.height(),x=p!==o.overlayWidth||A!==o.overlayHeight,I=c.cea608FontSizeFactor!==o.fontSizeFactor;if(!(!x&&!I)){o={overlayWidth:p,overlayHeight:A,fontSizeFactor:c.cea608FontSizeFactor};var T=new Ws({text:"X"});T.getDomElement().css({"font-size":"200px","line-height":"200px",visibility:"hidden"}),c.addComponent(T),c.updateComponents(),c.show();var y=T.getDomElement().width(),E=T.getDomElement().height(),S=y/E;c.removeComponent(T),c.updateComponents(),c.subtitleManager.hasCues||c.hide();var b=1-parseFloat(u.DEFAULT_CAPTION_LEFT_OFFSET)/100,C=Math.floor(b*p)-10,O=A,k=y*u.CEA608_NUM_COLUMNS/(E*u.CEA608_NUM_ROWS),R=C/O;if(R>k){$=O/u.CEA608_NUM_ROWS;var D=$*(1-a)*t;P=D*c.cea608FontSizeFactor;var V=C/u.CEA608_NUM_COLUMNS,q=P*S;_=Math.max(V-q,0)}else{$=C/u.CEA608_NUM_COLUMNS/S;var D=$*(1-a)*t;P=D*c.cea608FontSizeFactor,_=0}r=$*a,f.get().forEach(function(F){F.style.setProperty("--cea608-row-height","".concat($,"px"))});for(var K=function(F){F.getDomElement().css({"font-size":"".concat(P,"px"),"line-height":"".concat($-r,"px"),"letter-spacing":"".concat(_,"px")}),F.regionStyle="margin: ".concat(r/2,"px; height: ").concat($,"px")},G=0,U=c.getComponents();G<U.length;G++){var L=U[G];L instanceof df&&(L.getDomElement().css({margin:"".concat(r/2,"px"),height:"".concat($,"px")}),L.getComponents().forEach(function(F){K(F)})),L instanceof Ws&&K(L)}}},n.on(n.exports.PlayerEvent.PlayerResized,function(){c.cea608Enabled&&c.ensureCea608GridSizeUpdated()}),this.preprocessLabelEventCallback.subscribe(function(f,p){if(Vp(f)){c.cea608Enabled||(c.cea608Enabled=!0,c.getDomElement().addClass(c.prefixCss(u.CLASS_CEA_608)));var A=f.position.column*u.CEA608_COLUMN_OFFSET+"%";A==="0%"&&(A=u.DEFAULT_CAPTION_LEFT_OFFSET),p.getDomElement().css({left:A,"font-size":"".concat(P,"px"),"letter-spacing":"".concat(_,"px"),"line-height":"".concat($-r,"px")}),p.regionStyle="margin: ".concat(r/2,"px; height: ").concat($,"px")}});var h=function(){c.getDomElement().removeClass(c.prefixCss(u.CLASS_CEA_608)),c.cea608Enabled=!1};n.on(n.exports.PlayerEvent.CueExit,function(){c.subtitleManager.hasCues||h()}),n.on(n.exports.PlayerEvent.SourceUnloaded,h),n.on(n.exports.PlayerEvent.SubtitleEnable,h),n.on(n.exports.PlayerEvent.SubtitleDisabled,h)},u.prototype.enablePreviewSubtitleLabel=function(){this.subtitleManager.hasCues||(this.previewSubtitleActive=!0,this.subtitleContainerManager.addLabel(this.previewSubtitle),this.updateComponents(),this.show())},u.prototype.removePreviewSubtitleLabel=function(){this.previewSubtitleActive&&(this.previewSubtitleActive=!1,this.subtitleContainerManager.removeLabel(this.previewSubtitle),this.updateComponents())},u.CLASS_CONTROLBAR_VISIBLE="controlbar-visible",u.CLASS_CEA_608="cea608",u.CEA608_NUM_ROWS=15,u.CEA608_NUM_COLUMNS=32,u.CEA608_COLUMN_OFFSET=100/u.CEA608_NUM_COLUMNS,u.DEFAULT_CAPTION_LEFT_OFFSET="0.5%",u})(Wp.Container),Ws=(function(H){cf(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-subtitle-label"},i.config),i}return Object.defineProperty(u.prototype,"vtt",{get:function(){return this.config.vtt},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"region",{get:function(){return this.config.region},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"regionStyle",{get:function(){return this.config.regionStyle},set:function(n){this.config.regionStyle=n},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"originalRowPosition",{get:function(){return this.config.originalRowPosition},set:function(n){this.config.originalRowPosition=n},enumerable:!1,configurable:!0}),u})(k6.Label);di.SubtitleLabel=Ws;var jp=(function(){function H(){this.activeSubtitleCueMap={},this.activeSubtitleCueCount=0}return H.calculateId=function(u){var n=u.start+"-"+u.text;return u.position&&(n+="-"+u.position.row+"-"+u.position.column),n},H.prototype.cueEnter=function(u,n){this.addCueToMap(u,n)},H.prototype.cueUpdate=function(u,n){var i=this.popCueFromMap(u);if(i)return this.addCueToMap(u,n),i},H.prototype.addCueToMap=function(u,n){var i=H.calculateId(u);this.activeSubtitleCueMap[i]=this.activeSubtitleCueMap[i]||[],this.activeSubtitleCueMap[i].push({event:u,label:n}),this.activeSubtitleCueCount++},H.prototype.popCueFromMap=function(u){var n=H.calculateId(u),i=this.activeSubtitleCueMap[n];if(i&&i.length>0){var c=i.shift();return this.activeSubtitleCueCount--,c.label}},H.prototype.clearInactiveCues=function(u){var n=this,i=[];return Object.keys(this.activeSubtitleCueMap).forEach(function(c){var m=n.activeSubtitleCueMap[c];m.forEach(function($){(u<$.event.start||u>$.event.end)&&(n.popCueFromMap($.event),i.push($))})}),i},H.generateImageTagText=function(u){if(u){var n=new C6.DOM("img",{src:u});return n.css("width","100%"),n.get(0).outerHTML}},H.prototype.getCues=function(u){var n=H.calculateId(u),i=this.activeSubtitleCueMap[n];if(i&&i.length>0)return i.map(function(c){return c.label})},H.prototype.cueExit=function(u){return this.popCueFromMap(u)},Object.defineProperty(H.prototype,"cueCount",{get:function(){return this.activeSubtitleCueCount},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"hasCues",{get:function(){return this.cueCount>0},enumerable:!1,configurable:!0}),H.prototype.clear=function(){this.activeSubtitleCueMap={},this.activeSubtitleCueCount=0},H})(),qp=(function(){function H(u){this.subtitleOverlay=u,this.subtitleRegionContainers={},this.subtitleOverlay=u}return H.prototype.getRegion=function(u){return u.vtt?{regionContainerId:u.vtt.region&&u.vtt.region.id?u.vtt.region.id:"vtt",regionName:"vtt"}:{regionContainerId:u.region||"default",regionName:u.region||"default"}},H.prototype.addLabel=function(u,n){var i=this.getRegion(u),c=i.regionContainerId,m=i.regionName,$=["subtitle-position-".concat(m)];if(u.vtt&&u.vtt.region&&$.push("vtt-region-".concat(u.vtt.region.id)),!this.subtitleRegionContainers[c]){var P=new df({cssClasses:$});this.subtitleRegionContainers[c]=P,u.regionStyle&&P.getDomElement().attr("style",u.regionStyle),u.vtt&&P.getDomElement().css("position","static"),P.getDomElement();for(var t in this.subtitleRegionContainers)this.subtitleOverlay.addComponent(this.subtitleRegionContainers[t])}this.subtitleRegionContainers[c].addLabel(u,n)},H.prototype.replaceLabel=function(u,n){var i=this.getRegion(u).regionContainerId;this.subtitleRegionContainers[i].removeLabel(u),this.subtitleRegionContainers[i].addLabel(n)},H.prototype.removeLabel=function(u){var n;u.vtt?n=u.vtt.region&&u.vtt.region.id?u.vtt.region.id:"vtt":n=u.region||"default",this.subtitleRegionContainers[n].removeLabel(u),this.subtitleRegionContainers[n].isEmpty()&&(this.subtitleOverlay.removeComponent(this.subtitleRegionContainers[n]),delete this.subtitleRegionContainers[n])},H.prototype.clear=function(){for(var u in this.subtitleRegionContainers)this.subtitleOverlay.removeComponent(this.subtitleRegionContainers[u]);this.subtitleRegionContainers={}},H})();di.SubtitleRegionContainerManager=qp;var df=(function(H){cf(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.labelCount=0,i.config=i.mergeConfig(n,{cssClass:"subtitle-region-container"},i.config),i}return u.prototype.addLabel=function(n,i){this.labelCount++,n.vtt&&(n.vtt.region&&i&&Fp.VttUtils.setVttRegionStyles(this,n.vtt.region,i),Fp.VttUtils.setVttCueBoxStyles(n,i)),this.addComponent(n),this.updateComponents()},u.prototype.removeLabel=function(n){this.labelCount--,this.removeComponent(n),this.updateComponents()},u.prototype.isEmpty=function(){return this.labelCount===0},u})(Wp.Container);di.SubtitleRegionContainer=df;function Vp(H){return H.position!=null}function Gp(H){var u=getComputedStyle(H.get(0)).transitionProperty!=="none";return u?new Promise(function(n){var i=function(){H.off("transitionend",i),H.off("transitioncancel",i),n()};H.on("transitionend",i),H.on("transitioncancel",i)}):Promise.resolve()}});var ff=nt(_l=>{"use strict";Object.defineProperty(_l,"__esModule",{value:!0});_l.AudioTrackSwitchHandler=void 0;var w6=yt(),R6=(function(){function H(u,n,i){var c=this;this.addAudioTrack=function(m){var $=m.track;c.listElement.hasItem($.id)||c.listElement.addItem($.id,w6.i18n.getLocalizer($.label),!0)},this.removeAudioTrack=function(m){var $=m.track;c.listElement.hasItem($.id)&&c.listElement.removeItem($.id)},this.selectCurrentAudioTrack=function(){var m=c.player.getAudio();m&&c.listElement.selectItem(m.id)},this.refreshAudioTracks=function(){var m=c.player.getAvailableAudio(),$=function(P){return{key:P.id,label:P.label}};c.listElement.synchronizeItems(m.map($)),c.selectCurrentAudioTrack()},this.player=u,this.listElement=n,this.uimanager=i,this.bindSelectionEvent(),this.bindPlayerEvents(),this.refreshAudioTracks()}return H.prototype.bindSelectionEvent=function(){var u=this;this.listElement.onItemSelected.subscribe(function(n,i){u.player.setAudio(i)})},H.prototype.bindPlayerEvents=function(){this.player.on(this.player.exports.PlayerEvent.AudioChanged,this.selectCurrentAudioTrack),this.player.on(this.player.exports.PlayerEvent.SourceUnloaded,this.refreshAudioTracks),this.player.on(this.player.exports.PlayerEvent.PeriodSwitched,this.refreshAudioTracks),this.player.on(this.player.exports.PlayerEvent.AudioAdded,this.addAudioTrack),this.player.on(this.player.exports.PlayerEvent.AudioRemoved,this.removeAudioTrack),this.uimanager.getConfig().events.onUpdated.subscribe(this.refreshAudioTracks)},H})();_l.AudioTrackSwitchHandler=R6});var hf=nt(Ma=>{"use strict";var O6=Ma&&Ma.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ma,"__esModule",{value:!0});Ma.AudioTrackSelectBox=void 0;var L6=Oi(),D6=ff(),N6=(function(H){O6(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-audiotrackselectbox"]},i.config),i}return u.prototype.configure=function(n,i){H.prototype.configure.call(this,n,i),new D6.AudioTrackSwitchHandler(n,this,i)},u})(L6.SelectBox);Ma.AudioTrackSelectBox=N6});var Jn=nt(ka=>{"use strict";var B6=ka&&ka.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ka,"__esModule",{value:!0});ka.SubtitleSettingSelectBox=void 0;var U6=Oi(),F6=(function(H){B6(u,H);function u(n){var i=H.call(this,n)||this;return i.overlay=n.overlay,i}return u.prototype.toggleOverlayClass=function(n){this.currentCssClass&&(this.overlay.getDomElement().removeClass(this.currentCssClass),this.currentCssClass=null),n&&(this.currentCssClass=this.prefixCss(n),this.overlay.getDomElement().addClass(this.currentCssClass))},u.prototype.configure=function(n,i){this.settingsManager=i.getSubtitleSettingsManager()},u})(U6.SelectBox);ka.SubtitleSettingSelectBox=F6});var _f=nt(wa=>{"use strict";var H6=wa&&wa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(wa,"__esModule",{value:!0});wa.FontSizeSelectBox=void 0;var fr=yt(),j6=Jn(),V6=(function(H){H6(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingsfontsizeselectbox"]},i.config),i}return u.prototype.getFontSizeOptions=function(){return[{key:null,label:fr.i18n.getLocalizer("default")},{key:"50",label:fr.i18n.getLocalizer("percent",{value:50})},{key:"75",label:fr.i18n.getLocalizer("percent",{value:75})},{key:"100",label:fr.i18n.getLocalizer("percent",{value:100})},{key:"150",label:fr.i18n.getLocalizer("percent",{value:150})},{key:"200",label:fr.i18n.getLocalizer("percent",{value:200})},{key:"300",label:fr.i18n.getLocalizer("percent",{value:300})},{key:"400",label:fr.i18n.getLocalizer("percent",{value:400})}]},u.prototype.populateItemsWithFilter=function(){this.clearItems();for(var n=0,i=this.getFontSizeOptions();n<i.length;n++){var c=i[n];(!this.config.filter||this.config.filter(c))&&this.addItem(c.key,c.label)}this.settingsManager.fontSize.isSet()&&this.selectItem(this.settingsManager.fontSize.value)},u.prototype.reapplyFilterAndReload=function(){this.populateItemsWithFilter()},u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.settingsManager.fontSize.onChanged.subscribe(function(m,$){$.isSet()?c.toggleOverlayClass("fontsize-"+$.value):c.toggleOverlayClass(null),c.selectItem($.value)}),this.onItemSelected.subscribe(function(m,$){c.settingsManager.fontSize.value=$}),this.onShow.subscribe(function(){c.populateItemsWithFilter()}),this.populateItemsWithFilter()},u})(j6.SubtitleSettingSelectBox);wa.FontSizeSelectBox=V6});var Kp=nt(Ra=>{"use strict";var G6=Ra&&Ra.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ra,"__esModule",{value:!0});Ra.FontStyleSelectBox=void 0;var W6=Jn(),pf=yt(),q6=(function(H){G6(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitle-settings-font-style-select-box"]},i.config),i}return u.prototype.configure=function(n,i){var c=this,m,$;H.prototype.configure.call(this,n,i),this.addItem(null,pf.i18n.getLocalizer("default")),this.addItem("italic",pf.i18n.getLocalizer("settings.subtitles.font.style.italic")),this.addItem("bold",pf.i18n.getLocalizer("settings.subtitles.font.style.bold")),(m=this.settingsManager)===null||m===void 0||m.fontStyle.onChanged.subscribe(function(P,t){t.isSet()?c.toggleOverlayClass("fontstyle-"+t.value):c.toggleOverlayClass(null),c.selectItem(t.value)}),this.onItemSelected.subscribe(function(P,t){c.settingsManager&&(c.settingsManager.fontStyle.value=t)}),!(($=this.settingsManager)===null||$===void 0)&&$.fontStyle.isSet()&&this.selectItem(this.settingsManager.fontStyle.value)},u})(W6.SubtitleSettingSelectBox);Ra.FontStyleSelectBox=q6});var vf=nt(Oa=>{"use strict";var K6=Oa&&Oa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Oa,"__esModule",{value:!0});Oa.FontFamilySelectBox=void 0;var z6=Jn(),hr=yt(),Y6=(function(H){K6(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingsfontfamilyselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,hr.i18n.getLocalizer("default")),this.addItem("monospacedserif",hr.i18n.getLocalizer("settings.subtitles.font.family.monospacedserif")),this.addItem("proportionalserif",hr.i18n.getLocalizer("settings.subtitles.font.family.proportionalserif")),this.addItem("monospacedsansserif",hr.i18n.getLocalizer("settings.subtitles.font.family.monospacedsansserif")),this.addItem("proportionalsansserif",hr.i18n.getLocalizer("settings.subtitles.font.family.proportionalsansserif")),this.addItem("casual",hr.i18n.getLocalizer("settings.subtitles.font.family.casual")),this.addItem("cursive",hr.i18n.getLocalizer("settings.subtitles.font.family.cursive")),this.addItem("smallcapital",hr.i18n.getLocalizer("settings.subtitles.font.family.smallcapital")),this.settingsManager.fontFamily.onChanged.subscribe(function(m,$){$.isSet()?c.toggleOverlayClass("fontfamily-"+$.value):c.toggleOverlayClass(null),c.selectItem($.value)}),this.onItemSelected.subscribe(function(m,$){c.settingsManager.fontFamily.value=$}),this.settingsManager.fontFamily.isSet()&&this.selectItem(this.settingsManager.fontFamily.value)},u})(z6.SubtitleSettingSelectBox);Oa.FontFamilySelectBox=Y6});var gf=nt(La=>{"use strict";var X6=La&&La.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(La,"__esModule",{value:!0});La.FontColorSelectBox=void 0;var Q6=Jn(),qi=yt(),J6=(function(H){X6(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingsfontcolorselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,qi.i18n.getLocalizer("default")),this.addItem("white",qi.i18n.getLocalizer("colors.white")),this.addItem("black",qi.i18n.getLocalizer("colors.black")),this.addItem("red",qi.i18n.getLocalizer("colors.red")),this.addItem("green",qi.i18n.getLocalizer("colors.green")),this.addItem("blue",qi.i18n.getLocalizer("colors.blue")),this.addItem("cyan",qi.i18n.getLocalizer("colors.cyan")),this.addItem("yellow",qi.i18n.getLocalizer("colors.yellow")),this.addItem("magenta",qi.i18n.getLocalizer("colors.magenta"));var m=function(){c.settingsManager.fontColor.isSet()&&c.settingsManager.fontOpacity.isSet()?c.toggleOverlayClass("fontcolor-"+c.settingsManager.fontColor.value+c.settingsManager.fontOpacity.value):c.toggleOverlayClass(null)};this.onItemSelected.subscribe(function($,P){c.settingsManager.fontColor.value=P}),this.settingsManager.fontColor.onChanged.subscribe(function($,P){c.settingsManager.fontColor.isSet()?c.settingsManager.fontOpacity.isSet()||(c.settingsManager.fontOpacity.value="100"):c.settingsManager.fontOpacity.clear(),c.selectItem(P.value),m()}),this.settingsManager.fontOpacity.onChanged.subscribe(function(){m()}),this.settingsManager.fontColor.isSet()&&this.selectItem(this.settingsManager.fontColor.value)},u})(Q6.SubtitleSettingSelectBox);La.FontColorSelectBox=J6});var mf=nt(Da=>{"use strict";var Z6=Da&&Da.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Da,"__esModule",{value:!0});Da.FontOpacitySelectBox=void 0;var e4=Jn(),qs=yt(),t4=(function(H){Z6(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingsfontopacityselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,qs.i18n.getLocalizer("default")),this.addItem("100",qs.i18n.getLocalizer("percent",{value:100})),this.addItem("75",qs.i18n.getLocalizer("percent",{value:75})),this.addItem("50",qs.i18n.getLocalizer("percent",{value:50})),this.addItem("25",qs.i18n.getLocalizer("percent",{value:25})),this.onItemSelected.subscribe(function(m,$){c.settingsManager.fontOpacity.value=$,c.settingsManager.fontOpacity.isSet()?c.settingsManager.fontColor.isSet()||(c.settingsManager.fontColor.value="white"):c.settingsManager.fontColor.clear()}),this.settingsManager.fontOpacity.onChanged.subscribe(function(m,$){c.selectItem($.value)}),this.settingsManager.fontOpacity.isSet()&&this.selectItem(this.settingsManager.fontOpacity.value)},u})(e4.SubtitleSettingSelectBox);Da.FontOpacitySelectBox=t4});var yf=nt(Na=>{"use strict";var n4=Na&&Na.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Na,"__esModule",{value:!0});Na.CharacterEdgeSelectBox=void 0;var i4=Jn(),Ks=yt(),r4=(function(H){n4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingscharacteredgeselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,Ks.i18n.getLocalizer("default")),this.addItem("raised",Ks.i18n.getLocalizer("settings.subtitles.characterEdge.raised")),this.addItem("depressed",Ks.i18n.getLocalizer("settings.subtitles.characterEdge.depressed")),this.addItem("uniform",Ks.i18n.getLocalizer("settings.subtitles.characterEdge.uniform")),this.addItem("dropshadowed",Ks.i18n.getLocalizer("settings.subtitles.characterEdge.dropshadowed"));var m=function(){c.settingsManager.characterEdge.isSet()&&c.settingsManager.characterEdgeColor.isSet()?c.toggleOverlayClass("characteredge-"+c.settingsManager.characterEdge.value+"-"+c.settingsManager.characterEdgeColor.value):c.toggleOverlayClass(null)};this.onItemSelected.subscribe(function($,P){c.settingsManager.characterEdge.value=P}),this.settingsManager.characterEdge.onChanged.subscribe(function($,P){c.settingsManager.characterEdge.isSet()?c.settingsManager.characterEdgeColor.isSet()||(c.settingsManager.characterEdgeColor.value="black"):c.settingsManager.characterEdgeColor.clear(),c.selectItem(P.value),m()}),this.settingsManager.characterEdgeColor.onChanged.subscribe(function(){m()}),this.settingsManager.characterEdge.isSet()&&this.selectItem(this.settingsManager.characterEdge.value)},u})(i4.SubtitleSettingSelectBox);Na.CharacterEdgeSelectBox=r4});var zp=nt(Ba=>{"use strict";var a4=Ba&&Ba.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ba,"__esModule",{value:!0});Ba.CharacterEdgeColorSelectBox=void 0;var o4=Jn(),Ki=yt(),s4=(function(H){a4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitle-settings-character-edge-color-select-box"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,Ki.i18n.getLocalizer("default")),this.addItem("white",Ki.i18n.getLocalizer("colors.white")),this.addItem("black",Ki.i18n.getLocalizer("colors.black")),this.addItem("red",Ki.i18n.getLocalizer("colors.red")),this.addItem("green",Ki.i18n.getLocalizer("colors.green")),this.addItem("blue",Ki.i18n.getLocalizer("colors.blue")),this.addItem("cyan",Ki.i18n.getLocalizer("colors.cyan")),this.addItem("yellow",Ki.i18n.getLocalizer("colors.yellow")),this.addItem("magenta",Ki.i18n.getLocalizer("colors.magenta")),this.onItemSelected.subscribe(function(m,$){c.settingsManager.characterEdgeColor.value=$,c.settingsManager.characterEdgeColor.isSet()?c.settingsManager.characterEdge.isSet()||(c.settingsManager.characterEdge.value="uniform"):c.settingsManager.characterEdge.clear()}),this.settingsManager.characterEdgeColor.onChanged.subscribe(function(m,$){c.selectItem($.value)}),this.settingsManager.characterEdgeColor.isSet()&&this.selectItem(this.settingsManager.characterEdgeColor.value)},u})(o4.SubtitleSettingSelectBox);Ba.CharacterEdgeColorSelectBox=s4});var Sf=nt(Ua=>{"use strict";var u4=Ua&&Ua.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ua,"__esModule",{value:!0});Ua.BackgroundColorSelectBox=void 0;var l4=Jn(),zi=yt(),c4=(function(H){u4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingsbackgroundcolorselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,zi.i18n.getLocalizer("default")),this.addItem("white",zi.i18n.getLocalizer("colors.white")),this.addItem("black",zi.i18n.getLocalizer("colors.black")),this.addItem("red",zi.i18n.getLocalizer("colors.red")),this.addItem("green",zi.i18n.getLocalizer("colors.green")),this.addItem("blue",zi.i18n.getLocalizer("colors.blue")),this.addItem("cyan",zi.i18n.getLocalizer("colors.cyan")),this.addItem("yellow",zi.i18n.getLocalizer("colors.yellow")),this.addItem("magenta",zi.i18n.getLocalizer("colors.magenta"));var m=function(){c.settingsManager.backgroundColor.isSet()&&c.settingsManager.backgroundOpacity.isSet()?c.toggleOverlayClass("bgcolor-"+c.settingsManager.backgroundColor.value+c.settingsManager.backgroundOpacity.value):c.toggleOverlayClass(null)};this.onItemSelected.subscribe(function($,P){c.settingsManager.backgroundColor.value=P}),this.settingsManager.backgroundColor.onChanged.subscribe(function($,P){c.settingsManager.backgroundColor.isSet()?c.settingsManager.backgroundOpacity.isSet()||(c.settingsManager.backgroundOpacity.value="100"):c.settingsManager.backgroundOpacity.clear(),c.selectItem(P.value),m()}),this.settingsManager.backgroundOpacity.onChanged.subscribe(function(){m()}),this.settingsManager.backgroundColor.isSet()&&this.selectItem(this.settingsManager.backgroundColor.value)},u})(l4.SubtitleSettingSelectBox);Ua.BackgroundColorSelectBox=c4});var bf=nt(Ha=>{"use strict";var d4=Ha&&Ha.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ha,"__esModule",{value:!0});Ha.BackgroundOpacitySelectBox=void 0;var f4=Jn(),Fa=yt(),h4=(function(H){d4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingsbackgroundopacityselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,Fa.i18n.getLocalizer("default")),this.addItem("100",Fa.i18n.getLocalizer("percent",{value:100})),this.addItem("75",Fa.i18n.getLocalizer("percent",{value:75})),this.addItem("50",Fa.i18n.getLocalizer("percent",{value:50})),this.addItem("25",Fa.i18n.getLocalizer("percent",{value:25})),this.addItem("0",Fa.i18n.getLocalizer("percent",{value:0})),this.onItemSelected.subscribe(function(m,$){c.settingsManager.backgroundOpacity.value=$,c.settingsManager.backgroundOpacity.isSet()?c.settingsManager.backgroundColor.isSet()||(c.settingsManager.backgroundColor.value="black"):c.settingsManager.backgroundColor.clear()}),this.settingsManager.backgroundOpacity.onChanged.subscribe(function(m,$){c.selectItem($.value)}),this.settingsManager.backgroundOpacity.isSet()&&this.selectItem(this.settingsManager.backgroundOpacity.value)},u})(f4.SubtitleSettingSelectBox);Ha.BackgroundOpacitySelectBox=h4});var $f=nt(ja=>{"use strict";var _4=ja&&ja.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ja,"__esModule",{value:!0});ja.WindowColorSelectBox=void 0;var p4=Jn(),Yi=yt(),v4=(function(H){_4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingswindowcolorselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,Yi.i18n.getLocalizer("default")),this.addItem("white",Yi.i18n.getLocalizer("colors.white")),this.addItem("black",Yi.i18n.getLocalizer("colors.black")),this.addItem("red",Yi.i18n.getLocalizer("colors.red")),this.addItem("green",Yi.i18n.getLocalizer("colors.green")),this.addItem("blue",Yi.i18n.getLocalizer("colors.blue")),this.addItem("cyan",Yi.i18n.getLocalizer("colors.cyan")),this.addItem("yellow",Yi.i18n.getLocalizer("colors.yellow")),this.addItem("magenta",Yi.i18n.getLocalizer("colors.magenta"));var m=function(){c.settingsManager.windowColor.isSet()&&c.settingsManager.windowOpacity.isSet()?c.toggleOverlayClass("windowcolor-"+c.settingsManager.windowColor.value+c.settingsManager.windowOpacity.value):c.toggleOverlayClass(null)};this.onItemSelected.subscribe(function($,P){c.settingsManager.windowColor.value=P}),this.settingsManager.windowColor.onChanged.subscribe(function($,P){c.settingsManager.windowColor.isSet()?c.settingsManager.windowOpacity.isSet()||(c.settingsManager.windowOpacity.value="100"):c.settingsManager.windowOpacity.clear(),c.selectItem(P.value),m()}),this.settingsManager.windowOpacity.onChanged.subscribe(function(){m()}),this.settingsManager.windowColor.isSet()&&this.selectItem(this.settingsManager.windowColor.value)},u})(p4.SubtitleSettingSelectBox);ja.WindowColorSelectBox=v4});var Tf=nt(Ga=>{"use strict";var g4=Ga&&Ga.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ga,"__esModule",{value:!0});Ga.WindowOpacitySelectBox=void 0;var m4=Jn(),Va=yt(),y4=(function(H){g4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingswindowopacityselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,Va.i18n.getLocalizer("default")),this.addItem("100",Va.i18n.getLocalizer("percent",{value:100})),this.addItem("75",Va.i18n.getLocalizer("percent",{value:75})),this.addItem("50",Va.i18n.getLocalizer("percent",{value:50})),this.addItem("25",Va.i18n.getLocalizer("percent",{value:25})),this.addItem("0",Va.i18n.getLocalizer("percent",{value:0})),this.onItemSelected.subscribe(function(m,$){c.settingsManager.windowOpacity.value=$,c.settingsManager.windowOpacity.isSet()?c.settingsManager.windowColor.isSet()||(c.settingsManager.windowColor.value="black"):c.settingsManager.windowColor.clear()}),this.settingsManager.windowOpacity.onChanged.subscribe(function(m,$){c.selectItem($.value)}),this.settingsManager.windowOpacity.isSet()&&this.selectItem(this.settingsManager.windowOpacity.value)},u})(m4.SubtitleSettingSelectBox);Ga.WindowOpacitySelectBox=y4});var Ef=nt(Wa=>{"use strict";var S4=Wa&&Wa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Wa,"__esModule",{value:!0});Wa.SubtitleSettingsResetButton=void 0;var b4=si(),$4=yt(),T4=(function(H){S4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-subtitlesettingsresetbutton",text:$4.i18n.getLocalizer("reset")},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.settingsManager=i.getSubtitleSettingsManager(),this.onClick.subscribe(function(){c.settingsManager.reset()})},u})(b4.Button);Wa.SubtitleSettingsResetButton=T4});var Af=nt(qa=>{"use strict";var E4=qa&&qa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(qa,"__esModule",{value:!0});qa.SettingsPanelPageNavigatorButton=void 0;var A4=si(),P4=(function(H){E4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{},i.config),i.container=i.config.container,i.targetPage=i.config.targetPage,i}return u.prototype.popPage=function(){this.container.popSettingsPanelPage()},u.prototype.pushTargetPage=function(){this.container.setActivePage(this.targetPage)},u})(A4.Button);qa.SettingsPanelPageNavigatorButton=P4});var Pf=nt(Ka=>{"use strict";var I4=Ka&&Ka.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ka,"__esModule",{value:!0});Ka.SettingsPanelPageBackButton=void 0;var C4=Af(),x4=(function(H){I4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-settingspanelpagebackbutton",text:"back"},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.onClick.subscribe(function(){c.popPage()})},u})(C4.SettingsPanelPageNavigatorButton);Ka.SettingsPanelPageBackButton=x4});var Cf=nt(za=>{"use strict";var M4=za&&za.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(za,"__esModule",{value:!0});za.SubtitleSettingsPanelPage=void 0;var k4=Ia(),If=_f(),w4=Kp(),R4=vf(),O4=gf(),L4=mf(),D4=yf(),N4=zp(),B4=Sf(),U4=bf(),F4=$f(),H4=Tf(),j4=Ef(),V4=Pf(),Zn=Or(),fi=yt(),G4=(function(H){M4(u,H);function u(n){var i=H.call(this,n)||this;return i.overlay=n.overlay,i.settingsPanel=n.settingsPanel,i.config=i.mergeConfig(n,{components:[new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.font.size"),new If.FontSizeSelectBox({overlay:i.overlay,filter:function(c){return i.overlay.filterFontSizeOptions(c)}})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.font.style"),new w4.FontStyleSelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.font.family"),new R4.FontFamilySelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.font.color"),new O4.FontColorSelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.font.opacity"),new L4.FontOpacitySelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.characterEdge"),new D4.CharacterEdgeSelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.characterEdge.color"),new N4.CharacterEdgeColorSelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.background.color"),new B4.BackgroundColorSelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.background.opacity"),new U4.BackgroundOpacitySelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.window.color"),new F4.WindowColorSelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.window.opacity"),new H4.WindowOpacitySelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(new V4.SettingsPanelPageBackButton({container:i.settingsPanel,text:fi.i18n.getLocalizer("back")}),new j4.SubtitleSettingsResetButton({}),{role:"menubar"})]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.onActive.subscribe(function(){c.overlay.enablePreviewSubtitleLabel();var m=c.getComponents().find(function(P){return P instanceof Zn.SettingsPanelItem&&P.getComponents().some(function(t){return t instanceof If.FontSizeSelectBox})});if(m){var $=m.getComponents().find(function(P){return P instanceof If.FontSizeSelectBox});$?.reapplyFilterAndReload()}}),this.onInactive.subscribe(function(){c.overlay.removePreviewSubtitleLabel()})},u})(k4.SettingsPanelPage);za.SubtitleSettingsPanelPage=G4});var xf=nt(Ya=>{"use strict";var W4=Ya&&Ya.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ya,"__esModule",{value:!0});Ya.SettingsPanelPageOpenButton=void 0;var q4=Af(),K4=yt(),z4=(function(H){W4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-settingspanelpageopenbutton",text:K4.i18n.getLocalizer("open"),role:"menuitem"},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.getDomElement().attr("aria-haspopup","true"),this.getDomElement().attr("aria-owns",this.config.targetPage.getConfig().id),this.onClick.subscribe(function(){c.pushTargetPage()})},u})(q4.SettingsPanelPageNavigatorButton);Ya.SettingsPanelPageOpenButton=z4});var Mf=nt(Xa=>{"use strict";var Y4=Xa&&Xa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Xa,"__esModule",{value:!0});Xa.SubtitleSettingsLabel=void 0;var X4=Zt(),Yp=yn(),Q4=yt(),J4=(function(H){Y4(u,H);function u(n){var i=H.call(this,n)||this;return i.opener=n.opener,i.text=n.text,i.for=n.for,i.config=i.mergeConfig(n,{cssClass:"ui-label",components:[i.opener]},i.config),i}return u.prototype.toDomElement=function(){var n=new Yp.DOM("label",{id:this.config.id,class:this.getCssClasses(),for:this.for},this).append(new Yp.DOM("span",{}).html(Q4.i18n.performLocalization(this.text)),this.opener.getDomElement());return n},u})(X4.Container);Xa.SubtitleSettingsLabel=J4});var kf=nt(Qa=>{"use strict";var Z4=Qa&&Qa.__spreadArray||function(H,u,n){if(n||arguments.length===2)for(var i=0,c=u.length,m;i<c;i++)(m||!(i in u))&&(m||(m=Array.prototype.slice.call(u,0,i)),m[i]=u[i]);return H.concat(m||Array.prototype.slice.call(u))};Object.defineProperty(Qa,"__esModule",{value:!0});Qa.SubtitleSwitchHandler=void 0;var e$=yt(),bx=Qa.SubtitleSwitchHandler=(function(){function H(u,n,i){var c=this;this.addSubtitle=function(m){var $=m.subtitle;c.listElement.hasItem($.id)||c.listElement.addItem($.id,$.label)},this.removeSubtitle=function(m){var $=m.subtitle;c.listElement.hasItem($.id)&&c.listElement.removeItem($.id)},this.selectCurrentSubtitle=function(){if(c.player.subtitles){var m=c.player.subtitles.list().filter(function($){return $.enabled}).pop();c.listElement.selectItem(m?m.id:H.SUBTITLES_OFF_KEY)}},this.clearSubtitles=function(){c.listElement.clearItems()},this.refreshSubtitles=function(){if(c.player.subtitles){var m={key:H.SUBTITLES_OFF_KEY,label:e$.i18n.getLocalizer("off")},$=c.player.subtitles.list(),P=function(t){return{key:t.id,label:t.label}};c.listElement.synchronizeItems(Z4([m],$.map(P),!0)),c.selectCurrentSubtitle()}},this.player=u,this.listElement=n,this.uimanager=i,this.bindSelectionEvent(),this.bindPlayerEvents(),this.refreshSubtitles()}return H.prototype.bindSelectionEvent=function(){var u=this;this.listElement.onItemSelected.subscribe(function(n,i){if(i===H.SUBTITLES_OFF_KEY){var c=u.player.subtitles.list().filter(function(m){return m.enabled}).pop();c&&u.player.subtitles.disable(c.id)}else u.player.subtitles.enable(i,!0)})},H.prototype.bindPlayerEvents=function(){this.player.on(this.player.exports.PlayerEvent.SubtitleAdded,this.addSubtitle),this.player.on(this.player.exports.PlayerEvent.SubtitleEnabled,this.selectCurrentSubtitle),this.player.on(this.player.exports.PlayerEvent.SubtitleDisabled,this.selectCurrentSubtitle),this.player.on(this.player.exports.PlayerEvent.SubtitleRemoved,this.removeSubtitle),this.player.on(this.player.exports.PlayerEvent.SourceUnloaded,this.clearSubtitles),this.player.on(this.player.exports.PlayerEvent.PeriodSwitched,this.refreshSubtitles),this.uimanager.getConfig().events.onUpdated.subscribe(this.refreshSubtitles)},H.SUBTITLES_OFF_KEY="null",H})()});var wf=nt(Ja=>{"use strict";var t$=Ja&&Ja.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ja,"__esModule",{value:!0});Ja.SubtitleSelectBox=void 0;var n$=Oi(),i$=kf(),r$=yt(),a$=(function(H){t$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitleselectbox"],ariaLabel:r$.i18n.getLocalizer("subtitle.select")},i.config),i}return u.prototype.configure=function(n,i){H.prototype.configure.call(this,n,i),new i$.SubtitleSwitchHandler(n,this,i)},u})(n$.SelectBox);Ja.SubtitleSelectBox=a$});var _r=nt(zs=>{"use strict";Object.defineProperty(zs,"__esModule",{value:!0});zs.StringUtils=void 0;var Za=yt(),o$;(function(H){H.FORMAT_HHMMSS="hh:mm:ss",H.FORMAT_MMSS="mm:ss";function u($,P){P===void 0&&(P=H.FORMAT_HHMMSS);var t=$<0;t&&($=-$);var _=Math.floor($/3600),a=Math.floor($/60)-_*60,r=Math.floor($)%60;return(t?"-":"")+P.replace("hh",i(_,2)).replace("mm",i(a,2)).replace("ss",i(r,2))}H.secondsToTime=u;function n($){var P=$<0;P&&($=-$);var t=Math.floor($/3600),_=Math.floor($/60)-t*60,a=Math.floor($)%60;return(P?"-":"")+(t!==0?"".concat(t," ").concat(Za.i18n.performLocalization(Za.i18n.getLocalizer("settings.time.hours"))," "):"")+(_!==0?"".concat(_," ").concat(Za.i18n.performLocalization(Za.i18n.getLocalizer("settings.time.minutes"))," "):"")+"".concat(a," ").concat(Za.i18n.performLocalization(Za.i18n.getLocalizer("settings.time.seconds")))}H.secondsToText=n;function i($,P){var t=$+"",_="0000000000".substr(0,P-t.length);return _+t}function c($,P,t){var _=new RegExp("\\{(remainingTime|playedTime|adDuration|adBreakRemainingTime)(}|%((0[1-9]\\d*(\\.\\d+(d|f)|d|f)|\\.\\d+f|d|f)|hh:mm:ss|mm:ss)})","g");return $.replace(_,function(a){var r=0;if(a.indexOf("remainingTime")>-1)P?r=Math.ceil(P-t.getCurrentTime()):r=t.getDuration()-t.getCurrentTime();else if(a.indexOf("playedTime")>-1)r=t.getCurrentTime();else if(a.indexOf("adDuration")>-1)r=t.getDuration();else if(a.indexOf("adBreakRemainingTime")>-1&&(r=0,t.ads.isLinearAdActive())){var o=function(h){return t.ads.getActiveAd().id===h.id},l=t.ads.getActiveAdBreak().ads.findIndex(o),d=t.ads.getActiveAdBreak().ads.slice(l).reduce(function(h,f){return h+(f.isLinear?f.duration:0)},0);r=d-t.getCurrentTime()}return m(Math.round(r),a)})}H.replaceAdMessagePlaceholders=c;function m($,P){var t=/%((0[1-9]\d*(\.\d+(d|f)|d|f)|\.\d+f|d|f)|hh:mm:ss|mm:ss)/,_=/(%0[1-9]\d*)(?=(\.\d+f|f|d))/,a=/\.\d*(?=f)/;t.test(P)||(P="%d");var r=0,o=P.match(_);o&&(r=parseInt(o[0].substring(2)));var l=null,d=P.match(a);if(d&&!isNaN(parseInt(d[0].substring(1)))&&(l=parseInt(d[0].substring(1)),l>20&&(l=20)),P.indexOf("f")>-1){var h="";return l!==null?h=$.toFixed(l):h=""+$,h.indexOf(".")>-1?i(h,h.length+(r-h.indexOf("."))):i(h,r)}else if(P.indexOf(":")>-1){var f=Math.ceil($);if(P.indexOf("hh")>-1)return u(f);var p=Math.floor(f/60),A=f%60;return i(p,2)+":"+i(A,2)}else return i(Math.ceil($),r)}})(o$=zs.StringUtils||(zs.StringUtils={}))});var pl=nt(Xi=>{"use strict";var s$=Xi&&Xi.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Xi,"__esModule",{value:!0});Xi.PlaybackTimeLabel=Xi.PlaybackTimeLabelMode=void 0;var u$=li(),Xp=oi(),Ys=_r(),l$=yt(),eo;(function(H){H[H.CurrentTime=0]="CurrentTime",H[H.TotalTime=1]="TotalTime",H[H.CurrentAndTotalTime=2]="CurrentAndTotalTime",H[H.RemainingTime=3]="RemainingTime"})(eo=Xi.PlaybackTimeLabelMode||(Xi.PlaybackTimeLabelMode={}));var c$=(function(H){s$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-playbacktimelabel",timeLabelMode:eo.CurrentAndTotalTime,hideInLivePlayback:!1},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig(),$=!1,P=this.prefixCss("ui-playbacktimelabel-live"),t=this.prefixCss("ui-playbacktimelabel-live-edge"),_=0,a=function(){n.timeShift(0)},r=function(){$=n.isLive(),$?(c.getDomElement().addClass(P),c.setText(l$.i18n.getLocalizer("live")),m.hideInLivePlayback&&c.hide(),c.onClick.subscribe(a),o()):(c.getDomElement().removeClass(P),c.getDomElement().removeClass(t),c.show(),c.onClick.unsubscribe(a))},o=function(){if($){var p=n.getTimeShift()<0,A=n.getMaxTimeShift()<0;!p&&(!n.isPaused()||!A)?c.getDomElement().addClass(t):c.getDomElement().removeClass(t)}},l=function(){!$&&n.getDuration()!==1/0&&c.setTime(Xp.PlayerUtils.getCurrentTimeRelativeToSeekableRange(n),n.getDuration());var p=c.getDomElement().width();p>_&&(_=p,c.getDomElement().css({"min-width":_+"px"}))},d=function(){c.timeFormat=Math.abs(n.isLive()?n.getMaxTimeShift():n.getDuration())>=3600?Ys.StringUtils.FORMAT_HHMMSS:Ys.StringUtils.FORMAT_MMSS,l()},h=new Xp.PlayerUtils.LiveStreamDetector(n,i);h.onLiveChanged.subscribe(function(p,A){$=A.live,l(),d(),r()}),h.detect(),n.on(n.exports.PlayerEvent.TimeChanged,l),n.on(n.exports.PlayerEvent.Ready,d),n.on(n.exports.PlayerEvent.Seeked,l),n.on(n.exports.PlayerEvent.TimeShift,o),n.on(n.exports.PlayerEvent.TimeShifted,o),n.on(n.exports.PlayerEvent.Playing,o),n.on(n.exports.PlayerEvent.Paused,o),n.on(n.exports.PlayerEvent.StallStarted,o),n.on(n.exports.PlayerEvent.StallEnded,o);var f=function(){_=0,c.getDomElement().css({"min-width":null}),d()};i.getConfig().events.onUpdated.subscribe(f),f()},u.prototype.setTime=function(n,i){var c=Ys.StringUtils.secondsToTime(n,this.timeFormat),m=Ys.StringUtils.secondsToTime(i,this.timeFormat);switch(this.config.timeLabelMode){case eo.CurrentTime:this.setText("".concat(c));break;case eo.TotalTime:this.setText("".concat(m));break;case eo.CurrentAndTotalTime:this.setText("".concat(c," / ").concat(m));break;case eo.RemainingTime:this.setText("".concat(Ys.StringUtils.secondsToTime(i-n,this.timeFormat)));break}},u.prototype.setTimeFormat=function(n){this.timeFormat=n},u})(u$.Label);Xi.PlaybackTimeLabel=c$});var Qp=nt(Xs=>{"use strict";Object.defineProperty(Xs,"__esModule",{value:!0});Xs.GroupPlaybackSuspensionReason=void 0;var d$;(function(H){H.UserIsScrubbing="userIsScrubbing"})(d$=Xs.GroupPlaybackSuspensionReason||(Xs.GroupPlaybackSuspensionReason={}))});var Jp=nt(Nr=>{"use strict";Object.defineProperty(Nr,"__esModule",{value:!0});Nr.SeekBarController=Nr.SeekBarType=void 0;var Dr=Ls(),vl;(function(H){H[H.Vod=0]="Vod",H[H.Live=1]="Live",H[H.Volume=2]="Volume"})(vl=Nr.SeekBarType||(Nr.SeekBarType={}));var to=function(H,u,n){H<u.min?n(u.min):H>u.max?n(u.max):n(H)},f$=(function(){function H(u,n,i){this.keyStepIncrements=u,this.player=n,this.volumeController=i}return H.prototype.arrowKeyControls=function(u,n,i){var c=this,m=Math.floor(u);return{left:function(){return to(m-c.keyStepIncrements.leftRight,n,i)},right:function(){return to(m+c.keyStepIncrements.leftRight,n,i)},up:function(){return to(m+c.keyStepIncrements.upDown,n,i)},down:function(){return to(m-c.keyStepIncrements.upDown,n,i)},home:function(){return to(n.min,n,i)},end:function(){return to(n.max,n,i)}}},H.prototype.seekBarControls=function(u){if(u===vl.Live)return this.arrowKeyControls(this.player.getTimeShift(),{min:this.player.getMaxTimeShift(),max:0},this.player.timeShift);if(u===vl.Vod)return this.arrowKeyControls(this.player.getCurrentTime(),{min:0,max:this.player.getDuration()},this.player.seek);if(u===vl.Volume&&this.volumeController!=null){var n=this.volumeController.startTransition();return this.arrowKeyControls(this.player.getVolume(),{min:0,max:100},n.finish.bind(n))}},H.prototype.setSeekBarControls=function(u,n){var i=this;u.on("keydown",function(c){var m=i.seekBarControls(n());switch(c.keyCode){case Dr.UIUtils.KeyCode.LeftArrow:{m.left(),c.preventDefault();break}case Dr.UIUtils.KeyCode.RightArrow:{m.right(),c.preventDefault();break}case Dr.UIUtils.KeyCode.UpArrow:{m.up(),c.preventDefault();break}case Dr.UIUtils.KeyCode.DownArrow:{m.down(),c.preventDefault();break}case Dr.UIUtils.KeyCode.Home:{m.home(),c.preventDefault();break}case Dr.UIUtils.KeyCode.End:{m.end(),c.preventDefault();break}case Dr.UIUtils.KeyCode.Space:{i.player.isPlaying()?i.player.pause():i.player.play(),c.preventDefault();break}}})},H})();Nr.SeekBarController=f$});var t3=nt(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.TimelineMarkersHandler=void 0;var Zp=yn(),e3=oi(),h$=Wi(),_$=(function(){function H(u,n,i){this.config=u,this.getSeekBarWidth=n,this.markersContainer=i,this.timelineMarkers=[]}return H.prototype.initialize=function(u,n){this.player=u,this.uimanager=n,this.configureMarkers()},H.prototype.configureMarkers=function(){var u=this;this.player.on(this.player.exports.PlayerEvent.SourceUnloaded,function(){return u.clearMarkers()}),this.player.on(this.player.exports.PlayerEvent.AdBreakStarted,function(){return u.clearMarkers()}),this.player.on(this.player.exports.PlayerEvent.AdBreakFinished,function(){return u.updateMarkers()}),this.player.on(this.player.exports.PlayerEvent.PlayerResized,function(){return u.updateMarkersDOM()}),this.player.on(this.player.exports.PlayerEvent.SourceLoaded,function(){u.player.isLive()&&(u.player.on(u.player.exports.PlayerEvent.TimeChanged,function(){return u.updateMarkers()}),u.configureLivePausedTimeshiftUpdater(function(){return u.updateMarkers()}))}),this.uimanager.getConfig().events.onUpdated.subscribe(function(){return u.updateMarkers()}),this.uimanager.onRelease.subscribe(function(){return u.uimanager.getConfig().events.onUpdated.unsubscribe(function(){return u.updateMarkers()})}),this.updateMarkers()},H.prototype.getMarkerAtPosition=function(u){var n=this.config.snappingRange,i=this.timelineMarkers.find(function(c){var m=c.duration>0,$=m&&u>=c.position-n&&u<=c.position+c.duration+n,P=u>=c.position-n&&u<=c.position+n;return $||P});return i||null},H.prototype.clearMarkers=function(){this.timelineMarkers=[],this.markersContainer.empty()},H.prototype.removeMarkerFromConfig=function(u){this.uimanager.getConfig().metadata.markers=this.uimanager.getConfig().metadata.markers.filter(function(n){return u!==n})},H.prototype.filterRemovedMarkers=function(){var u=this;this.timelineMarkers=this.timelineMarkers.filter(function(n){var i=u.uimanager.getConfig().metadata.markers.find(function(c){return n.marker===c});return i||u.removeMarkerFromDOM(n),i})},H.prototype.removeMarkerFromDOM=function(u){u.element&&u.element.remove()},H.prototype.updateMarkers=function(){var u=this;if(!y$(this.player,this.uimanager)){this.clearMarkers();return}this.filterRemovedMarkers(),this.uimanager.getConfig().metadata.markers.forEach(function(n){var i=p$(u.player,n),c=i.markerPosition,m=i.markerDuration;if(m$(c,m))u.removeMarkerFromConfig(n);else if(c<=100){var $=u.timelineMarkers.find(function(t){return t.marker===n});if($)$.position=c,$.duration=m,u.updateMarkerDOM($);else{var P={marker:n,position:c,duration:m};u.timelineMarkers.push(P),u.createMarkerDOM(P)}}})},H.prototype.getMarkerCssProperties=function(u){var n=this.getSeekBarWidth(),i=n/100*(u.position<0?0:u.position),c={transform:"translateX(".concat(i,"px)")};if(u.duration>0){var m=Math.round(n/100*u.duration);c.width="".concat(m,"px")}return c},H.prototype.updateMarkerDOM=function(u){u.element.css(this.getMarkerCssProperties(u))},H.prototype.createMarkerDOM=function(u){var n=this,i=["seekbar-marker"].concat(u.marker.cssClasses||[]).map(function(P){return n.prefixCss(P)}),c=new Zp.DOM("div",{class:i.join(" "),"data-marker-time":String(u.marker.time),"data-marker-title":String(u.marker.title)}).css(this.getMarkerCssProperties(u));if(u.marker.imageUrl){var m=function(){$.remove()},$=new Zp.DOM("img",{class:this.prefixCss("seekbar-marker-image"),src:u.marker.imageUrl}).on("error",m);c.append($)}u.element=c,this.markersContainer.append(c)},H.prototype.updateMarkersDOM=function(){var u=this;this.timelineMarkers.forEach(function(n){n.element?u.updateMarkerDOM(n):u.createMarkerDOM(n)})},H.prototype.configureLivePausedTimeshiftUpdater=function(u){var n=this;this.pausedTimeshiftUpdater=new h$.Timeout(1e3,u,!0),this.player.on(this.player.exports.PlayerEvent.Paused,function(){n.player.isLive()&&n.player.getMaxTimeShift()<0&&n.pausedTimeshiftUpdater.start()}),this.player.on(this.player.exports.PlayerEvent.Play,function(){return n.pausedTimeshiftUpdater.clear()}),this.player.on(this.player.exports.PlayerEvent.Destroy,function(){return n.pausedTimeshiftUpdater.clear()})},H.prototype.prefixCss=function(u){return this.config.cssPrefix+"-"+u},H})();gl.TimelineMarkersHandler=_$;function p$(H,u){var n=g$(H),i=100/n*v$(u,H,n),c=100/n*u.duration;return i<0&&!isNaN(c)&&(c=c+i),100-i<c&&(c=100-i),{markerDuration:c,markerPosition:i}}function v$(H,u,n){return u.isLive()?n-(e3.PlayerUtils.getSeekableRangeRespectingLive(u).end-H.time):H.time}function g$(H){if(!H.isLive())return H.getDuration();var u=e3.PlayerUtils.getSeekableRangeRespectingLive(H),n=u.start,i=u.end;return i-n}function m$(H,u){return(u<0||isNaN(u))&&H<0}function y$(H,u){var n=H.getDuration()!==1/0||H.isLive(),i=u.getConfig().metadata.markers.length>0;return n&&i}});var n3=nt(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});ml.getMinBufferLevel=void 0;function S$(H){var u=H.getDuration(),n=H.getVideoBufferLength(),i=H.getAudioBufferLength(),c=Math.min(n??Number.MAX_VALUE,i??Number.MAX_VALUE);return c===Number.MAX_VALUE&&(c=0),100/u*c}ml.getMinBufferLevel=S$});var Qs=nt(io=>{"use strict";var b$=io&&io.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(io,"__esModule",{value:!0});io.SeekBar=void 0;var $$=Qp(),T$=Bn(),hi=yn(),Rf=Dn(),i3=Wi(),yl=oi(),Of=_r(),no=Jp(),Li=yt(),r3=lr(),E$=t3(),A$=n3(),Mx=io.SeekBar=(function(H){b$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;i.playbackPositionPercentage=0,i.isUserSeeking=!1,i.seekBarEvents={onSeek:new Rf.EventDispatcher,onSeekPreview:new Rf.EventDispatcher,onSeeked:new Rf.EventDispatcher},i.seekWhileScrubbing=function(m,$){$.scrubbing&&i.seek($.position)},i.getTargetSeekPosition=function(m){var $;if(i.player.isLive()){var P=i.player.getMaxTimeShift();$=P-P*(m/100)}else{var t=yl.PlayerUtils.getSeekableRangeStart(i.player,0),_=i.player.getDuration()*(m/100);$=_+t}return $},i.seek=function(m){var $=i.getTargetSeekPosition(m);i.player.isLive()?i.player.timeShift($,"ui"):i.player.seek($,"ui")},i.updateLabelPosition=function(m){i.uiBoundingRect||(i.uiBoundingRect=i.uiManager.getUI().getDomElement().get(0).getBoundingClientRect()),i.label.setPositionInBounds(m,i.uiBoundingRect)};var c=i.config.keyStepIncrements||{leftRight:1,upDown:5};return i.config=i.mergeConfig(n,{cssClass:"ui-seekbar",vertical:!1,smoothPlaybackPositionUpdateIntervalMs:50,keyStepIncrements:c,ariaLabel:Li.i18n.getLocalizer("seekBar"),tabIndex:0,snappingRange:1,enableSeekPreview:!0,snappingEnabled:!0},i.config),i.label=i.config.label,i}return u.prototype.initialize=function(){H.prototype.initialize.call(this),this.hasLabel()&&this.getLabel().initialize()},u.prototype.setAriaSliderMinMax=function(n,i){this.getDomElement().attr("aria-valuemin",n),this.getDomElement().attr("aria-valuemax",i)},u.prototype.setAriaSliderValues=function(){if(this.seekBarType===no.SeekBarType.Live){var n=Math.ceil(this.player.getTimeShift()).toString(),i="".concat(Li.i18n.performLocalization(Li.i18n.getLocalizer("seekBar.timeshift"))," ").concat(Li.i18n.performLocalization(Li.i18n.getLocalizer("seekBar.value")),": ").concat(n);this.getDomElement().attr("aria-valuenow",n),this.getDomElement().attr("aria-valuetext",i),this.config.addCurrentTimeToAriaLabel&&this.getDomElement().attr("aria-label","".concat(Li.i18n.performLocalization(this.config.ariaLabel),": ").concat(i))}else if(this.seekBarType===no.SeekBarType.Vod){var c="".concat(Of.StringUtils.secondsToText(this.player.getCurrentTime())," ").concat(Li.i18n.performLocalization(Li.i18n.getLocalizer("seekBar.durationText"))," ").concat(Of.StringUtils.secondsToText(this.player.getDuration()));this.getDomElement().attr("aria-valuenow",Math.floor(this.player.getCurrentTime()).toString()),this.getDomElement().attr("aria-valuetext",c),this.config.addCurrentTimeToAriaLabel&&this.getDomElement().attr("aria-label","".concat(Li.i18n.performLocalization(this.config.ariaLabel),": ").concat(Of.StringUtils.secondsToText(this.player.getCurrentTime())))}},u.prototype.getPlaybackPositionPercentage=function(){return this.player.isLive()?100-100/this.player.getMaxTimeShift()*this.player.getTimeShift():100/this.player.getDuration()*this.getRelativeCurrentTime()},u.prototype.updateBufferLevel=function(n){var i;this.player.isLive()?i=100:i=n+(0,A$.getMinBufferLevel)(this.player),this.setBufferPosition(i)},u.prototype.configure=function(n,i,c){var m=this;c===void 0&&(c=!0),H.prototype.configure.call(this,n,i),this.player=n,this.uiManager=i,this.setPosition(this.seekBarBackdrop,100);var $=new no.SeekBarController(this.config.keyStepIncrements,n,i.getConfig().volumeController);if($.setSeekBarControls(this.getDomElement(),function(){return m.seekBarType}),!c){this.seekBarType=no.SeekBarType.Volume;return}i.onControlsShow.subscribe(function(){m.isUiShown=!0,m.smoothPlaybackPositionUpdater&&!n.isLive()&&!m.smoothPlaybackPositionUpdater.isActive()&&(r(null,!0),m.smoothPlaybackPositionUpdater.start())}),i.onControlsHide.subscribe(function(){m.isUiShown=!1,m.smoothPlaybackPositionUpdater&&m.smoothPlaybackPositionUpdater.isActive()&&m.smoothPlaybackPositionUpdater.clear()});var P=!1,t=!1,_=!1,a,r=function(T,y){if(T===void 0&&(T=null),y===void 0&&(y=!1),!m.isUserSeeking){var E=m.getPlaybackPositionPercentage();if(m.updateBufferLevel(E),t&&T&&T.type===n.exports.PlayerEvent.SegmentRequestFinished&&E!==m.playbackPositionPercentage&&(E=m.playbackPositionPercentage),n.isLive())n.getMaxTimeShift()===0?m.setPlaybackPosition(100):(m.isSeeking()||m.setPlaybackPosition(E),m.setAriaSliderMinMax(n.getMaxTimeShift().toString(),"0"));else{var S=m.config.smoothPlaybackPositionUpdateIntervalMs===u.SMOOTH_PLAYBACK_POSITION_UPDATE_DISABLED||y||n.isPaused(),b=n.isPaused()===n.isPlaying();(S||b)&&!m.isSeeking()&&m.setPlaybackPosition(E),m.setAriaSliderMinMax("0",n.getDuration().toString())}m.isUiShown&&m.setAriaSliderValues()}};n.on(n.exports.PlayerEvent.Ready,r),n.on(n.exports.PlayerEvent.TimeChanged,r),n.on(n.exports.PlayerEvent.StallEnded,r),n.on(n.exports.PlayerEvent.TimeShifted,r),n.on(n.exports.PlayerEvent.SegmentRequestFinished,r),this.configureLivePausedTimeshiftUpdater(n,i,r);var o=function(){_=!0,m.setSeeking(!0),t=!1},l=function(T){T===void 0&&(T=null),_=!1,m.setSeeking(!1),r(T,!0)},d=function(){P&&n.play("ui-seek")};n.on(n.exports.PlayerEvent.Seek,o),n.on(n.exports.PlayerEvent.Seeked,l),n.on(n.exports.PlayerEvent.TimeShift,o),n.on(n.exports.PlayerEvent.TimeShifted,l);var h=function(T){return!!T.groupPlayback};this.onSeek.subscribe(function(T){m.isUserSeeking=!0,i.onSeek.dispatch(T),h(n)&&n.groupPlayback.hasJoined()&&!a&&(a=n.groupPlayback.beginSuspension($$.GroupPlaybackSuspensionReason.UserIsScrubbing)),_||(P=n.isPlaying(),P&&n.pause("ui-seek"))}),this.onSeekPreview.subscribe(function(T,y){i.onSeekPreview.dispatch(T,y),t=y.scrubbing}),typeof i.getConfig().enableSeekPreview=="boolean"&&(this.config.enableSeekPreview=i.getConfig().enableSeekPreview),this.config.enableSeekPreview&&this.onSeekPreview.subscribeRateLimited(this.seekWhileScrubbing,200),this.onSeeked.subscribe(function(T,y){if(m.isUserSeeking=!1,m.seek(y),i.onSeeked.dispatch(T),d(),h(n)&&n.groupPlayback.hasJoined()&&a){var E=m.getTargetSeekPosition(y);n.groupPlayback.endSuspension(a,{proposedPlaybackTime:E}),a=void 0}}),this.hasLabel()&&this.getLabel().configure(n,i);var f=!1,p=!1,A=function(T,y){T&&!y?m.hide():m.show(),r(null,!0),m.refreshPlaybackPosition()},x=new yl.PlayerUtils.LiveStreamDetector(n,i);x.onLiveChanged.subscribe(function(T,y){f=y.live,f&&m.smoothPlaybackPositionUpdater!=null?(m.smoothPlaybackPositionUpdater.clear(),m.seekBarType=no.SeekBarType.Live):m.seekBarType=no.SeekBarType.Vod,A(f,p)});var I=new yl.PlayerUtils.TimeShiftAvailabilityDetector(n);I.onTimeShiftAvailabilityChanged.subscribe(function(T,y){p=y.timeShiftAvailable,A(f,p)}),x.detect(),I.detect(),n.on(n.exports.PlayerEvent.PlayerResized,function(){m.refreshPlaybackPosition(),m.uiBoundingRect=m.uiManager.getUI().getDomElement().get(0).getBoundingClientRect()}),i.onConfigured.subscribe(function(){m.refreshPlaybackPosition()}),n.on(n.exports.PlayerEvent.SourceLoaded,function(){m.refreshPlaybackPosition()}),i.getConfig().events.onUpdated.subscribe(function(){r()}),typeof i.getConfig().seekbarSnappingRange=="number"&&(this.config.snappingRange=i.getConfig().seekbarSnappingRange),typeof i.getConfig().seekbarSnappingEnabled=="boolean"&&(this.config.snappingEnabled=i.getConfig().seekbarSnappingEnabled),r(),this.setBufferPosition(0),this.setSeekPosition(0),this.config.smoothPlaybackPositionUpdateIntervalMs!==u.SMOOTH_PLAYBACK_POSITION_UPDATE_DISABLED&&this.configureSmoothPlaybackPositionUpdater(n,i),this.initializeTimelineMarkers(n,i)},u.prototype.initializeTimelineMarkers=function(n,i){var c=this,m={cssPrefix:this.config.cssPrefix,snappingRange:this.config.snappingRange};this.timelineMarkersHandler=new E$.TimelineMarkersHandler(m,function(){return c.seekBar.width()},this.seekBarMarkersContainer),this.timelineMarkersHandler.initialize(n,i)},u.prototype.configureLivePausedTimeshiftUpdater=function(n,i,c){var m=this;this.pausedTimeshiftUpdater=new i3.Timeout(1e3,c,!0),n.on(n.exports.PlayerEvent.Paused,function(){n.isLive()&&n.getMaxTimeShift()<0&&m.pausedTimeshiftUpdater.start()}),n.on(n.exports.PlayerEvent.Play,function(){return m.pausedTimeshiftUpdater.clear()})},u.prototype.configureSmoothPlaybackPositionUpdater=function(n,i){var c=this,m=0,$=0,P=50,t=P/1e3;this.smoothPlaybackPositionUpdater=new i3.Timeout(P,function(){if(!c.isSeeking()){m+=t;try{$=c.getRelativeCurrentTime()}catch(l){l instanceof n.exports.PlayerAPINotAvailableError&&c.smoothPlaybackPositionUpdater.clear();return}var r=m-$;Math.abs(r)>2?m=$:r<=-t?m+=t:r>=t&&(m-=t);var o=100/n.getDuration()*m;c.setPlaybackPosition(o)}},!0);var _=function(){n.isLive()||(m=c.getRelativeCurrentTime(),c.smoothPlaybackPositionUpdater.start())},a=function(){c.smoothPlaybackPositionUpdater.clear()};n.on(n.exports.PlayerEvent.Play,_),n.on(n.exports.PlayerEvent.Playing,_),n.on(n.exports.PlayerEvent.Paused,a),n.on(n.exports.PlayerEvent.PlaybackFinished,a),n.on(n.exports.PlayerEvent.Seeked,function(){m=c.getRelativeCurrentTime()}),n.on(n.exports.PlayerEvent.SourceUnloaded,a),n.isPlaying()&&_()},u.prototype.getRelativeCurrentTime=function(){return yl.PlayerUtils.getCurrentTimeRelativeToSeekableRange(this.player)},u.prototype.release=function(){H.prototype.release.call(this),this.smoothPlaybackPositionUpdater&&this.smoothPlaybackPositionUpdater.clear(),this.pausedTimeshiftUpdater&&this.pausedTimeshiftUpdater.clear(),this.config.enableSeekPreview&&this.onSeekPreview.unsubscribe(this.seekWhileScrubbing)},u.prototype.toDomElement=function(){var n=this;this.config.vertical&&this.config.cssClasses.push("vertical");var i=new hi.DOM("div",{id:this.config.id,class:this.getCssClasses(),role:"slider","aria-label":Li.i18n.performLocalization(this.config.ariaLabel),tabindex:this.config.tabIndex.toString()},this),c=new hi.DOM("div",{class:this.prefixCss("seekbar")});this.seekBar=c;var m=new hi.DOM("div",{class:this.prefixCss("seekbar-bufferlevel")});this.seekBarBufferPosition=m;var $=new hi.DOM("div",{class:this.prefixCss("seekbar-playbackposition")});this.seekBarPlaybackPosition=$;var P=new hi.DOM("div",{class:this.prefixCss("seekbar-playbackposition-marker")});this.seekBarPlaybackPositionMarker=P;var t=new hi.DOM("div",{class:this.prefixCss("seekbar-seekposition")});this.seekBarSeekPosition=t;var _=new hi.DOM("div",{class:this.prefixCss("seekbar-backdrop")});this.seekBarBackdrop=_;var a=new hi.DOM("div",{class:this.prefixCss("seekbar-markers")});this.seekBarMarkersContainer=a,c.append(this.seekBarBackdrop,this.seekBarBufferPosition,this.seekBarSeekPosition,this.seekBarPlaybackPosition,this.seekBarMarkersContainer,this.seekBarPlaybackPositionMarker);var r=!1,o=function(d){d.preventDefault(),n.player.vr!=null&&d.stopPropagation();var h=n.getOffset(d),f=100*h,p=h*n.seekBar.width();n.setSeekPosition(f),n.setPlaybackPosition(f),n.onSeekPreviewEvent(f,p,!0)},l=function(d){var h;d.preventDefault(),new hi.DOM(document).off("touchmove mousemove",o),new hi.DOM(document).off("touchend mouseup",l);var f=100*n.getOffset(d);if(n.config.snappingEnabled){var p=(h=n.timelineMarkersHandler)===null||h===void 0?void 0:h.getMarkerAtPosition(f);f=p?p.position:f}n.setSeeking(!1),r=!1,n.setSeekPosition(f),n.setPlaybackPosition(f),n.onSeekedEvent(f)};return c.on("touchstart mousedown",function(d){var h=r3.BrowserUtils.isTouchSupported&&n.isTouchEvent(d);d.preventDefault(),n.player.vr!=null&&d.stopPropagation(),n.setSeeking(!0),r=!0,n.onSeekEvent(),new hi.DOM(document).on(h?"touchmove":"mousemove",o),new hi.DOM(document).on(h?"touchend":"mouseup",l)}),c.on("touchmove mousemove",function(d){d.preventDefault(),r&&o(d);var h=n.getOffset(d),f=100*h,p=h*n.seekBar.width();n.setSeekPosition(f),n.onSeekPreviewEvent(f,p,!1),n.hasLabel()&&n.getLabel().isHidden()&&n.getLabel().show()}),c.on("touchend mouseleave",function(d){d.preventDefault(),n.setSeekPosition(0),n.hasLabel()&&n.getLabel().hide()}),i.append(c),this.label&&i.append(this.label.getDomElement()),i},u.prototype.getHorizontalOffset=function(n){var i=this.seekBar.offset().left,c=this.seekBar.width(),m=n-i,$=1/c*m;return this.sanitizeOffset($)},u.prototype.getVerticalOffset=function(n){var i=this.seekBar.offset().top,c=this.seekBar.height(),m=n-i,$=1/c*m;return 1-this.sanitizeOffset($)},u.prototype.getOffset=function(n){return r3.BrowserUtils.isTouchSupported&&this.isTouchEvent(n)?this.config.vertical?this.getVerticalOffset(n.type==="touchend"?n.changedTouches[0].pageY:n.touches[0].pageY):this.getHorizontalOffset(n.type==="touchend"?n.changedTouches[0].pageX:n.touches[0].pageX):n instanceof MouseEvent?this.config.vertical?this.getVerticalOffset(n.pageY):this.getHorizontalOffset(n.pageX):(console&&console.warn("invalid event"),0)},u.prototype.sanitizeOffset=function(n){return n<0?n=0:n>1&&(n=1),n},u.prototype.setPlaybackPosition=function(n){this.playbackPositionPercentage=n,this.setPosition(this.seekBarPlaybackPosition,n);var i=this.config.vertical?this.seekBar.height()-this.seekBarPlaybackPositionMarker.height():this.seekBar.width(),c=i/100*n;this.config.vertical&&(c=this.seekBar.height()-c-this.seekBarPlaybackPositionMarker.height());var m=this.config.vertical?{transform:"translateY("+c+"px)","-ms-transform":"translateY("+c+"px)","-webkit-transform":"translateY("+c+"px)"}:{transform:"translateX("+c+"px)","-ms-transform":"translateX("+c+"px)","-webkit-transform":"translateX("+c+"px)"};this.seekBarPlaybackPositionMarker.css(m)},u.prototype.refreshPlaybackPosition=function(){this.setPlaybackPosition(this.playbackPositionPercentage)},u.prototype.setBufferPosition=function(n){this.setPosition(this.seekBarBufferPosition,n)},u.prototype.setSeekPosition=function(n){this.setPosition(this.seekBarSeekPosition,n)},u.prototype.setPosition=function(n,i){var c=i/100;c>=.99999&&c<=1.00001&&(c=.99999);var m=this.config.vertical?{transform:"scaleY("+c+")","-ms-transform":"scaleY("+c+")","-webkit-transform":"scaleY("+c+")"}:{transform:"scaleX("+c+")","-ms-transform":"scaleX("+c+")","-webkit-transform":"scaleX("+c+")"};n.css(m)},u.prototype.setSeeking=function(n){n?this.getDomElement().addClass(this.prefixCss(u.CLASS_SEEKING)):this.getDomElement().removeClass(this.prefixCss(u.CLASS_SEEKING))},u.prototype.isSeeking=function(){return this.getDomElement().hasClass(this.prefixCss(u.CLASS_SEEKING))},u.prototype.hasLabel=function(){return this.label!=null},u.prototype.getLabel=function(){return this.label},u.prototype.onSeekEvent=function(){this.seekBarEvents.onSeek.dispatch(this)},u.prototype.onSeekPreviewEvent=function(n,i,c){var m=this.timelineMarkersHandler&&this.timelineMarkersHandler.getMarkerAtPosition(n),$=n;m&&(m.duration>0?n<m.position?$=m.position:n>m.position+m.duration&&($=m.position+m.duration):$=m.position),this.label&&this.updateLabelPosition(i),this.seekBarEvents.onSeekPreview.dispatch(this,{scrubbing:c,position:$,marker:m})},u.prototype.onSeekedEvent=function(n){this.seekBarEvents.onSeeked.dispatch(this,n)},Object.defineProperty(u.prototype,"onSeek",{get:function(){return this.seekBarEvents.onSeek.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onSeekPreview",{get:function(){return this.seekBarEvents.onSeekPreview.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onSeeked",{get:function(){return this.seekBarEvents.onSeeked.getEvent()},enumerable:!1,configurable:!0}),u.prototype.onShowEvent=function(){H.prototype.onShowEvent.call(this),this.refreshPlaybackPosition()},u.prototype.isTouchEvent=function(n){return window.TouchEvent&&n instanceof TouchEvent},u.SMOOTH_PLAYBACK_POSITION_UPDATE_DISABLED=-1,u.CLASS_SEEKING="seeking",u})(T$.Component)});var a3=nt(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});Sl.ImageLoader=void 0;var P$=yn(),I$=(function(){function H(){this.state={}}return H.prototype.load=function(u,n){var i=this;if(this.state[u]){var m=this.state[u];m.loadedCallback=n,m.loaded&&this.callLoadedCallback(m)}else{var c={url:u,image:new P$.DOM("img",{}),loadedCallback:n,loaded:!1,width:0,height:0};this.state[u]=c,c.image.on("load",function($){c.loaded=!0,c.width=c.image.get(0).width,c.height=c.image.get(0).height,i.callLoadedCallback(c)}),c.image.attr("src",c.url)}},H.prototype.callLoadedCallback=function(u){u.loadedCallback(u.url,u.width,u.height)},H})();Sl.ImageLoader=I$});var bl=nt(ro=>{"use strict";var C$=ro&&ro.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ro,"__esModule",{value:!0});ro.SeekBarLabel=void 0;var Lf=Zt(),Df=li(),x$=Bn(),Nf=_r(),M$=a3(),k$=oi(),w$=(function(H){C$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.appliedMarkerCssClasses=[],i.handleSeekPreview=function(c,m){if(i.player.isLive()){var $=i.player.getMaxTimeShift(),P=$-$*(m.position/100);i.setTime(P);var t=function(d){var h=i.player.getTimeShift(),f=i.player.getCurrentTime(),p=f-h;return p+d},_=t(P);i.setThumbnail(i.player.getThumbnail(_))}else{var a=i.player.getDuration()*(m.position/100);i.setTime(a);var r=k$.PlayerUtils.getSeekableRangeStart(i.player,0),o=a+r;i.setThumbnail(i.player.getThumbnail(o))}if(m.marker?i.setTitleText(m.marker.marker.title):i.setTitleText(null),i.appliedMarkerCssClasses.length>0&&(i.getDomElement().removeClass(i.appliedMarkerCssClasses.join(" ")),i.appliedMarkerCssClasses=[]),m.marker){var l=(m.marker.marker.cssClasses||[]).map(function(d){return i.prefixCss(d)});i.getDomElement().addClass(l.join(" ")),i.appliedMarkerCssClasses=l}},i.timeLabel=new Df.Label({cssClasses:["seekbar-label-time"]}),i.titleLabel=new Df.Label({cssClasses:["seekbar-label-title"]}),i.thumbnail=new x$.Component({cssClasses:["seekbar-thumbnail"],role:"img"}),i.thumbnailImageLoader=new M$.ImageLoader,i.container=new Lf.Container({components:[i.thumbnail,new Lf.Container({components:[i.titleLabel,i.timeLabel],cssClass:"seekbar-label-metadata"})],cssClass:"seekbar-label-inner"}),i.caret=new Df.Label({cssClasses:["seekbar-label-caret"]}),i.config=i.mergeConfig(n,{cssClass:"ui-seekbar-label",components:[i.container,i.caret],hidden:!0},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.player=n,this.uiManager=i,i.onSeekPreview.subscribeRateLimited(this.handleSeekPreview,100);var m=function(){c.timeFormat=Math.abs(n.isLive()?n.getMaxTimeShift():n.getDuration())>=3600?Nf.StringUtils.FORMAT_HHMMSS:Nf.StringUtils.FORMAT_MMSS,c.setTitleText(null),c.setThumbnail(null)};i.getConfig().events.onUpdated.subscribe(m),m()},u.prototype.setPositionInBounds=function(n,i){this.getDomElement().css("left",n+"px");var c=this.container.getDomElement().get(0).parentElement.getBoundingClientRect(),m=0;c.right>i.right?m=c.right-i.right:c.left<i.left&&(m=c.left-i.left),m!==0?(this.getDomElement().css("left",n-m+"px"),this.caret.getDomElement().css("transform","translateX(".concat(m,"px)"))):this.caret.getDomElement().css("transform",null)},u.prototype.setText=function(n){this.timeLabel.setText(n)},u.prototype.setTime=function(n){this.setText(Nf.StringUtils.secondsToTime(n,this.timeFormat))},u.prototype.setTitleText=function(n){n===void 0&&(n=""),this.titleLabel.setText(n)},u.prototype.setThumbnail=function(n){var i=this;n===void 0&&(n=null);var c=this.thumbnail.getDomElement();n==null?c.css({"background-image":null,display:null,width:null,height:null}):this.thumbnailImageLoader.load(n.url,function(m,$,P){n.x!==void 0?c.css(i.thumbnailCssSprite(n,$,P)):c.css(i.thumbnailCssSingleImage(n,$,P))})},u.prototype.thumbnailCssSprite=function(n,i,c){var m=i/n.width,$=c/n.height,P=n.x/n.width,t=n.y/n.height,_=100*m,a=100*$,r=100*P,o=100*t,l=1/n.width*n.height;return{display:"inherit","background-image":"url(".concat(n.url,")"),"padding-bottom":"".concat(100*l,"%"),"background-size":"".concat(_,"% ").concat(a,"%"),"background-position":"-".concat(r,"% -").concat(o,"%")}},u.prototype.thumbnailCssSingleImage=function(n,i,c){var m=1/i*c;return{display:"inherit","background-image":"url(".concat(n.url,")"),"padding-bottom":"".concat(100*m,"%"),"background-size":"100% 100%","background-position":"0 0"}},u.prototype.release=function(){H.prototype.release.call(this),this.uiManager.onSeekPreview.unsubscribe(this.handleSeekPreview)},u})(Lf.Container);ro.SeekBarLabel=w$});var Js=nt(ao=>{"use strict";var R$=ao&&ao.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ao,"__esModule",{value:!0});ao.PlaybackToggleButton=void 0;var O$=ci(),Bf=oi(),Uf=yt(),Ox=ao.PlaybackToggleButton=(function(H){R$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-playbacktogglebutton",text:Uf.i18n.getLocalizer("play"),onAriaLabel:Uf.i18n.getLocalizer("pause"),offAriaLabel:Uf.i18n.getLocalizer("play")},i.config),i.isPlayInitiated=!1,i}return u.prototype.configure=function(n,i,c){var m=this;c===void 0&&(c=!0),H.prototype.configure.call(this,n,i),typeof i.getConfig().enterFullscreenOnInitialPlayback=="boolean"&&(this.config.enterFullscreenOnInitialPlayback=i.getConfig().enterFullscreenOnInitialPlayback);var $=!1,P=!0,t=function(){$||(n.isPlaying()||m.isPlayInitiated?m.on():m.off())};n.on(n.exports.PlayerEvent.Play,function(o){m.isPlayInitiated=!0,P=!1,t()}),n.on(n.exports.PlayerEvent.Paused,function(o){m.isPlayInitiated=!1,t()}),n.on(n.exports.PlayerEvent.Playing,function(o){m.isPlayInitiated=!1,t()}),n.on(n.exports.PlayerEvent.SourceLoaded,t),i.getConfig().events.onUpdated.subscribe(t),n.on(n.exports.PlayerEvent.SourceUnloaded,t),n.on(n.exports.PlayerEvent.PlaybackFinished,t),n.on(n.exports.PlayerEvent.CastStarted,t),n.on(n.exports.PlayerEvent.Warning,function(o){o.code===n.exports.WarningCode.PLAYBACK_COULD_NOT_BE_STARTED&&(m.isPlayInitiated=!1,P=!0,m.off())});var _=function(){var o=n.isLive()&&!Bf.PlayerUtils.isTimeShiftAvailable(n);o?m.getDomElement().addClass(m.prefixCss(u.CLASS_STOPTOGGLE)):m.getDomElement().removeClass(m.prefixCss(u.CLASS_STOPTOGGLE))},a=new Bf.PlayerUtils.TimeShiftAvailabilityDetector(n),r=new Bf.PlayerUtils.LiveStreamDetector(n,i);a.onTimeShiftAvailabilityChanged.subscribe(function(){return _()}),r.onLiveChanged.subscribe(function(){return _()}),a.detect(),r.detect(),c&&this.onClick.subscribe(function(){n.isPlaying()||m.isPlayInitiated?n.pause("ui"):(n.play("ui"),P&&m.config.enterFullscreenOnInitialPlayback&&n.setViewMode(n.exports.ViewMode.Fullscreen))}),i.onSeek.subscribe(function(){$=!0}),i.onSeeked.subscribe(function(){$=!1}),t()},u.CLASS_STOPTOGGLE="stoptoggle",u})(O$.ToggleButton)});var Zs=nt(oo=>{"use strict";var L$=oo&&oo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(oo,"__esModule",{value:!0});oo.VolumeToggleButton=void 0;var D$=ci(),o3=yt(),N$=(function(H){L$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this,c={cssClass:"ui-volumetogglebutton",text:o3.i18n.getLocalizer("settings.audio.mute"),onClass:"muted",offClass:"unmuted",ariaLabel:o3.i18n.getLocalizer("settings.audio.mute")};return i.config=i.mergeConfig(n,c,i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=i.getConfig().volumeController;m.onChanged.subscribe(function($,P){P.muted?c.on():c.off();var t=Math.ceil(P.volume/10);c.getDomElement().data(c.prefixCss("volume-level-tens"),String(t))}),this.onClick.subscribe(function(){m.toggleMuted()}),m.onChangedEvent()},u})(D$.ToggleButton);oo.VolumeToggleButton=N$});var eu=nt(so=>{"use strict";var B$=so&&so.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(so,"__esModule",{value:!0});so.VolumeSlider=void 0;var U$=Qs(),Ff=yt(),F$=(function(H){B$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.updateVolumeWhileScrubbing=function(c,m){m.scrubbing&&i.volumeTransition&&i.volumeTransition.update(m.position)},i.config=i.mergeConfig(n,{cssClass:"ui-volumeslider",hideIfVolumeControlProhibited:!0,ariaLabel:Ff.i18n.getLocalizer("settings.audio.volume"),tabIndex:0},i.config),i}return u.prototype.setVolumeAriaSliderValues=function(n){this.getDomElement().attr("aria-valuenow",Math.ceil(n).toString()),this.getDomElement().attr("aria-valuetext","".concat(Ff.i18n.performLocalization(Ff.i18n.getLocalizer("seekBar.value")),": ").concat(Math.ceil(n)))},u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i,!1),this.setAriaSliderMinMax("0","100");var m=this.getConfig(),$=i.getConfig().volumeController;if(m.hideIfVolumeControlProhibited&&!this.detectVolumeControlAvailability()){this.hide();return}$.onChanged.subscribe(function(P,t){t.muted?(c.setVolumeAriaSliderValues(0),c.setPlaybackPosition(0)):(c.setPlaybackPosition(t.volume),c.setVolumeAriaSliderValues(t.volume))}),this.onSeek.subscribe(function(){c.volumeTransition=$.startTransition()}),this.onSeekPreview.subscribeRateLimited(this.updateVolumeWhileScrubbing,50),this.onSeeked.subscribe(function(P,t){c.volumeTransition&&c.volumeTransition.finish(t)}),n.on(n.exports.PlayerEvent.PlayerResized,function(){c.refreshPlaybackPosition()}),i.onConfigured.subscribe(function(){c.refreshPlaybackPosition()}),i.getConfig().events.onUpdated.subscribe(function(){c.refreshPlaybackPosition()}),i.onComponentShow.subscribe(function(){c.refreshPlaybackPosition()}),i.onComponentHide.subscribe(function(){c.refreshPlaybackPosition()}),$.onChangedEvent()},u.prototype.detectVolumeControlAvailability=function(){var n=document.createElement("video");return n.volume=.7,n.volume!==1},u.prototype.release=function(){H.prototype.release.call(this),this.onSeekPreview.unsubscribe(this.updateVolumeWhileScrubbing)},u})(U$.SeekBar);so.VolumeSlider=F$});var $l=nt(uo=>{"use strict";var H$=uo&&uo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(uo,"__esModule",{value:!0});uo.PictureInPictureToggleButton=void 0;var j$=ci(),V$=yt(),G$=(function(H){H$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-piptogglebutton",text:V$.i18n.getLocalizer("pictureInPicture")},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=function(){return n.isViewModeAvailable(n.exports.ViewMode.PictureInPicture)},$=function(){n.getViewMode()===n.exports.ViewMode.PictureInPicture?c.on():c.off()},P=function(){m()?c.show():c.hide()};n.on(n.exports.PlayerEvent.ViewModeChanged,$),n.exports.PlayerEvent.ViewModeAvailabilityChanged&&n.on(n.exports.PlayerEvent.ViewModeAvailabilityChanged,P),i.getConfig().events.onUpdated.subscribe(P),this.onClick.subscribe(function(){if(!m()){console&&console.log("PIP unavailable");return}var t=n.getViewMode()===n.exports.ViewMode.PictureInPicture?n.exports.ViewMode.Inline:n.exports.ViewMode.PictureInPicture;n.setViewMode(t)}),P(),$()},u})(j$.ToggleButton);uo.PictureInPictureToggleButton=G$});var Tl=nt(lo=>{"use strict";var W$=lo&&lo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(lo,"__esModule",{value:!0});lo.AirPlayToggleButton=void 0;var q$=ci(),K$=yt(),z$=(function(H){W$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-airplaytogglebutton",text:K$.i18n.getLocalizer("appleAirplay")},i.config),i}return u.prototype.configure=function(n,i){var c=this;if(H.prototype.configure.call(this,n,i),!n.isAirplayAvailable){this.hide();return}this.onClick.subscribe(function(){n.isAirplayAvailable()?n.showAirplayTargetPicker():console&&console.log("AirPlay unavailable")});var m=function(){n.isAirplayAvailable()?c.show():c.hide()},$=function(){n.isAirplayActive()?c.on():c.off()};n.on(n.exports.PlayerEvent.AirplayAvailable,m),n.on(n.exports.PlayerEvent.AirplayChanged,$),m(),$()},u})(q$.ToggleButton);lo.AirPlayToggleButton=z$});var El=nt(co=>{"use strict";var Y$=co&&co.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(co,"__esModule",{value:!0});co.CastToggleButton=void 0;var X$=ci(),Q$=yt(),J$=(function(H){Y$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-casttogglebutton",text:Q$.i18n.getLocalizer("googleCast")},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.onClick.subscribe(function(){n.isCastAvailable()?n.isCasting()?n.castStop():n.castVideo():console&&console.log("Cast unavailable")});var m=function(){n.isCastAvailable()?c.show():c.hide()};n.on(n.exports.PlayerEvent.CastAvailable,m),n.on(n.exports.PlayerEvent.CastWaitingForDevice,function(){c.on()}),n.on(n.exports.PlayerEvent.CastStarted,function(){c.on()}),n.on(n.exports.PlayerEvent.CastStopped,function(){c.off()}),m(),n.isCasting()&&this.on()},u})(X$.ToggleButton);co.CastToggleButton=J$});var Al=nt(fo=>{"use strict";var Z$=fo&&fo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(fo,"__esModule",{value:!0});fo.VRToggleButton=void 0;var e5=ci(),t5=yt(),n5=(function(H){Z$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-vrtogglebutton",text:t5.i18n.getLocalizer("vr")},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=function(){var _=n.getSource();return _&&!!_.vr},$=function(){var _=n.getSource();return n.vr&&!!_.vr},P=function(_){_.type===n.exports.PlayerEvent.Warning&&_.code!==n.exports.WarningCode.VR_RENDERING_ERROR||(m()&&$()?(c.show(),n.vr&&n.vr.getStereo()?c.on():c.off()):c.hide())},t=function(){m()?c.show():c.hide()};n.on(n.exports.PlayerEvent.VRStereoChanged,P),n.on(n.exports.PlayerEvent.Warning,P),n.on(n.exports.PlayerEvent.SourceUnloaded,t),i.getConfig().events.onUpdated.subscribe(t),this.onClick.subscribe(function(){$()?n.vr&&n.vr.getStereo()?n.vr.setStereo(!1):n.vr.setStereo(!0):console&&console.log("No VR content")}),t()},u})(e5.ToggleButton);fo.VRToggleButton=n5});var Pl=nt(ho=>{"use strict";var i5=ho&&ho.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ho,"__esModule",{value:!0});ho.SettingsToggleButton=void 0;var r5=ci(),a5=Lr(),o5=ur(),s5=yt(),u5=(function(H){i5(u,H);function u(n){var i=H.call(this,n)||this;if(i.visibleSettingsPanels=[],!n.settingsPanel)throw new Error("Required SettingsPanel is missing");return i.config=i.mergeConfig(n,{cssClass:"ui-settingstogglebutton",text:s5.i18n.getLocalizer("settings"),settingsPanel:null,autoHideWhenNoActiveSettings:!0,role:"pop-up button"},i.config),i.getDomElement().attr("aria-owns",n.settingsPanel.getActivePage().getConfig().id),i.getDomElement().attr("aria-haspopup","true"),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig(),$=m.settingsPanel;if(this.onClick.subscribe(function(){$.isShown()||c.visibleSettingsPanels.slice().forEach(function(t){return t.hide()}),$.toggleHidden()}),$.onShow.subscribe(function(){c.on()}),$.onHide.subscribe(function(){c.off()}),i.onComponentShow.subscribe(function(t){t instanceof a5.SettingsPanel&&(c.visibleSettingsPanels.push(t),t.onHide.subscribeOnce(function(){return o5.ArrayUtils.remove(c.visibleSettingsPanels,t)}))}),m.autoHideWhenNoActiveSettings){var P=function(){$.rootPageHasActiveSettings()?c.isHidden()&&c.show():c.isShown()&&c.hide()};$.onSettingsStateChanged.subscribe(P),P()}},u})(r5.ToggleButton);ho.SettingsToggleButton=u5});var Il=nt(_o=>{"use strict";var l5=_o&&_o.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(_o,"__esModule",{value:!0});_o.FullscreenToggleButton=void 0;var c5=ci(),d5=yt(),f5=(function(H){l5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-fullscreentogglebutton",text:d5.i18n.getLocalizer("fullscreen")},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=function(){return n.isViewModeAvailable(n.exports.ViewMode.Fullscreen)},$=function(){n.getViewMode()===n.exports.ViewMode.Fullscreen?c.on():c.off()},P=function(){m()?c.show():c.hide()};n.on(n.exports.PlayerEvent.ViewModeChanged,$),n.exports.PlayerEvent.ViewModeAvailabilityChanged&&n.on(n.exports.PlayerEvent.ViewModeAvailabilityChanged,P),i.getConfig().events.onUpdated.subscribe(P),this.onClick.subscribe(function(){if(!m()){console&&console.log("Fullscreen unavailable");return}var t=n.getViewMode()===n.exports.ViewMode.Fullscreen?n.exports.ViewMode.Inline:n.exports.ViewMode.Fullscreen;n.setViewMode(t)}),P(),$()},u})(c5.ToggleButton);_o.FullscreenToggleButton=f5});var Cl=nt(po=>{"use strict";var h5=po&&po.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(po,"__esModule",{value:!0});po.BufferingOverlay=void 0;var _5=Zt(),Hf=Bn(),p5=Wi(),v5=(function(H){h5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.indicators=[new Hf.Component({tag:"div",cssClass:"ui-buffering-overlay-indicator",role:"img"}),new Hf.Component({tag:"div",cssClass:"ui-buffering-overlay-indicator",role:"img"}),new Hf.Component({tag:"div",cssClass:"ui-buffering-overlay-indicator",role:"img"})],i.config=i.mergeConfig(n,{cssClass:"ui-buffering-overlay",hidden:!0,components:i.indicators,showDelayMs:1e3},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig(),$=new p5.Timeout(m.showDelayMs,function(){c.show()}),P=function(){$.start()},t=function(){$.clear(),c.hide()};n.on(n.exports.PlayerEvent.StallStarted,P),n.on(n.exports.PlayerEvent.StallEnded,t),n.on(n.exports.PlayerEvent.Play,P),n.on(n.exports.PlayerEvent.Playing,t),n.on(n.exports.PlayerEvent.Paused,t),n.on(n.exports.PlayerEvent.Seek,P),n.on(n.exports.PlayerEvent.Seeked,t),n.on(n.exports.PlayerEvent.TimeShift,P),n.on(n.exports.PlayerEvent.TimeShifted,t),n.on(n.exports.PlayerEvent.SourceUnloaded,t),n.isStalled()&&this.show()},u})(_5.Container);po.BufferingOverlay=v5});var jf=nt(vo=>{"use strict";var g5=vo&&vo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(vo,"__esModule",{value:!0});vo.HugePlaybackToggleButton=void 0;var m5=Js(),y5=yn(),S5=yt(),b5=(function(H){g5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-hugeplaybacktogglebutton",text:S5.i18n.getLocalizer("playPause"),role:"button"},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i,!1),typeof i.getConfig().enterFullscreenOnInitialPlayback=="boolean"&&(this.config.enterFullscreenOnInitialPlayback=i.getConfig().enterFullscreenOnInitialPlayback);var m=function(){n.isPlaying()||c.isPlayInitiated?n.pause("ui"):n.play("ui")},$=function(){n.getViewMode()===n.exports.ViewMode.Fullscreen?n.setViewMode(n.exports.ViewMode.Inline):n.setViewMode(n.exports.ViewMode.Fullscreen)},P=!0,t=0,_=0;this.onClick.subscribe(function(){if(P){m(),c.config.enterFullscreenOnInitialPlayback&&n.setViewMode(n.exports.ViewMode.Fullscreen);return}var l=Date.now();if(l-t<200){$(),_=l;return}else if(l-t<500){$(),m(),_=l;return}t=l,setTimeout(function(){Date.now()-_>200&&m()},200)}),n.on(n.exports.PlayerEvent.Play,function(){P=!1}),n.on(n.exports.PlayerEvent.Warning,function(l){l.code===n.exports.WarningCode.PLAYBACK_COULD_NOT_BE_STARTED&&(P=!0)});var a=function(){c.setTransitionAnimationsEnabled(!1),c.onToggle.subscribeOnce(function(){c.setTransitionAnimationsEnabled(!0)})};a();var r=n.getConfig().playback&&!!n.getConfig().playback.autoplay,o=!n.getSource()&&r;(n.isPlaying()||o)&&(this.on(),a(),n.on(n.exports.PlayerEvent.Warning,function(l){l.code===n.exports.WarningCode.PLAYBACK_COULD_NOT_BE_STARTED&&a()}))},u.prototype.toDomElement=function(){var n=H.prototype.toDomElement.call(this);return n.append(new y5.DOM("div",{class:this.prefixCss("image")})),n},u.prototype.setTransitionAnimationsEnabled=function(n){var i=this.prefixCss("no-transition-animations");n?this.getDomElement().removeClass(i):this.getDomElement().hasClass(i)||this.getDomElement().addClass(i)},u})(m5.PlaybackToggleButton);vo.HugePlaybackToggleButton=b5});var xl=nt(go=>{"use strict";var $5=go&&go.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(go,"__esModule",{value:!0});go.PlaybackToggleOverlay=void 0;var T5=Zt(),E5=jf(),A5=(function(H){$5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.playbackToggleButton=new E5.HugePlaybackToggleButton({enterFullscreenOnInitialPlayback:!!n.enterFullscreenOnInitialPlayback}),i.config=i.mergeConfig(n,{cssClass:"ui-playbacktoggle-overlay",components:[i.playbackToggleButton]},i.config),i}return u})(T5.Container);go.PlaybackToggleOverlay=A5});var Ml=nt(mo=>{"use strict";var P5=mo&&mo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(mo,"__esModule",{value:!0});mo.CastStatusOverlay=void 0;var I5=Zt(),C5=li(),s3=yt(),x5=(function(H){P5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.statusLabel=new C5.Label({cssClass:"ui-cast-status-label"}),i.config=i.mergeConfig(n,{cssClass:"ui-cast-status-overlay",components:[i.statusLabel],hidden:!0},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),n.on(n.exports.PlayerEvent.CastWaitingForDevice,function(m){c.show();var $=m.castPayload.deviceName;c.statusLabel.setText(s3.i18n.getLocalizer("connectingTo",{castDeviceName:$}))}),n.on(n.exports.PlayerEvent.CastStarted,function(m){c.show();var $=m.deviceName;c.statusLabel.setText(s3.i18n.getLocalizer("playingOn",{castDeviceName:$}))}),n.on(n.exports.PlayerEvent.CastStopped,function(m){c.hide()})},u})(I5.Container);mo.CastStatusOverlay=x5});var wl=nt(Qi=>{"use strict";var M5=Qi&&Qi.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Qi,"__esModule",{value:!0});Qi.MetadataLabel=Qi.MetadataLabelContent=void 0;var k5=li(),kl;(function(H){H[H.Title=0]="Title",H[H.Description=1]="Description"})(kl=Qi.MetadataLabelContent||(Qi.MetadataLabelContent={}));var w5=(function(H){M5(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["label-metadata","label-metadata-"+kl[n.content].toLowerCase()]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig(),$=i.getConfig(),P=function(){switch(m.content){case kl.Title:c.setText($.metadata.title);break;case kl.Description:c.setText($.metadata.description);break}},t=function(){c.setText(null)};P(),n.on(n.exports.PlayerEvent.SourceUnloaded,t),i.getConfig().events.onUpdated.subscribe(P)},u})(k5.Label);Qi.MetadataLabel=w5});var Rl=nt(So=>{"use strict";var R5=So&&So.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(So,"__esModule",{value:!0});So.TitleBar=void 0;var O5=Zt(),yo=wl(),L5=(function(H){R5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-titlebar",hidden:!0,components:[new yo.MetadataLabel({content:yo.MetadataLabelContent.Title}),new yo.MetadataLabel({content:yo.MetadataLabelContent.Description})],keepHiddenWithoutMetadata:!1},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);for(var m=this.getConfig(),$=!this.isHidden(),P=!0,t=function(){P=!1;for(var o=0,l=c.getComponents();o<l.length;o++){var d=l[o];if(d instanceof yo.MetadataLabel&&!d.isEmpty()){P=!0;break}}c.isShown()?m.keepHiddenWithoutMetadata&&!P&&c.hide():$&&c.show()},_=0,a=this.getComponents();_<a.length;_++){var r=a[_];r instanceof yo.MetadataLabel&&r.onTextChanged.subscribe(t)}i.onControlsShow.subscribe(function(){$=!0,m.keepHiddenWithoutMetadata&&!P||c.show()}),i.onControlsHide.subscribe(function(){$=!1,c.hide()}),t()},u})(O5.Container);So.TitleBar=L5});var Vf=nt(bo=>{"use strict";var D5=bo&&bo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(bo,"__esModule",{value:!0});bo.HugeReplayButton=void 0;var N5=si(),B5=yn(),U5=yt(),F5=(function(H){D5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-hugereplaybutton",text:U5.i18n.getLocalizer("replay")},i.config),i}return u.prototype.configure=function(n,i){H.prototype.configure.call(this,n,i),this.onClick.subscribe(function(){n.play("ui")})},u.prototype.toDomElement=function(){var n=H.prototype.toDomElement.call(this);return n.append(new B5.DOM("div",{class:this.prefixCss("image")})),n},u})(N5.Button);bo.HugeReplayButton=F5});var Ol=nt(To=>{"use strict";var l3=To&&To.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(To,"__esModule",{value:!0});To.RecommendationOverlay=void 0;var H5=Zt(),j5=Bn(),$o=yn(),V5=_r(),G5=Vf(),W5=(function(H){l3(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.replayButton=new G5.HugeReplayButton,i.config=i.mergeConfig(n,{cssClass:"ui-recommendation-overlay",hidden:!0,components:[i.replayButton]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=function(){for(var P=0,t=c.getComponents().slice();P<t.length;P++){var _=t[P];_ instanceof u3&&c.removeComponent(_)}c.updateComponents(),c.getDomElement().removeClass(c.prefixCss("recommendations"))},$=function(){m();var P=i.getConfig().recommendations;if(P.length>0){for(var t=1,_=0,a=P;_<a.length;_++){var r=a[_];c.addComponent(new u3({itemConfig:r,cssClasses:["recommendation-item-"+t++]}))}c.updateComponents(),c.getDomElement().addClass(c.prefixCss("recommendations"))}};i.getConfig().events.onUpdated.subscribe($),n.on(n.exports.PlayerEvent.SourceUnloaded,function(){m(),c.hide()}),n.on(n.exports.PlayerEvent.PlaybackFinished,function(){c.show()}),n.on(n.exports.PlayerEvent.Play,function(){c.hide()}),$()},u})(H5.Container);To.RecommendationOverlay=W5;var u3=(function(H){l3(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-recommendation-item",itemConfig:null},i.config),i}return u.prototype.toDomElement=function(){var n=this.config.itemConfig,i=new $o.DOM("a",{id:this.config.id,class:this.getCssClasses(),href:n.url},this).css({"background-image":"url(".concat(n.thumbnail,")")}),c=new $o.DOM("div",{class:this.prefixCss("background")});i.append(c);var m=new $o.DOM("span",{class:this.prefixCss("title")}).append(new $o.DOM("span",{class:this.prefixCss("innertitle")}).html(n.title));i.append(m);var $=new $o.DOM("span",{class:this.prefixCss("duration")}).append(new $o.DOM("span",{class:this.prefixCss("innerduration")}).html(n.duration?V5.StringUtils.secondsToTime(n.duration):""));return i.append($),i},u})(j5.Component)});var Ll=nt(Eo=>{"use strict";var q5=Eo&&Eo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Eo,"__esModule",{value:!0});Eo.ClickOverlay=void 0;var K5=si(),z5=(function(H){q5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-clickoverlay",role:i.config.role},i.config),i}return u.prototype.initialize=function(){H.prototype.initialize.call(this),this.setUrl(this.config.url);var n=this.getDomElement();n.on("click",function(){n.data("url")&&window.open(n.data("url"),"_blank")})},u.prototype.getUrl=function(){return this.getDomElement().data("url")},u.prototype.setUrl=function(n){(n===void 0||n==null)&&(n=""),this.getDomElement().data("url",n)},u})(K5.Button);Eo.ClickOverlay=z5});var Dl=nt(Ao=>{"use strict";var Y5=Ao&&Ao.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ao,"__esModule",{value:!0});Ao.Watermark=void 0;var X5=Ll(),Q5=yt(),J5=(function(H){Y5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-watermark",url:"http://bitmovin.com",role:"link",text:"logo",ariaLabel:Q5.i18n.getLocalizer("watermarkLink")},i.config),i}return u})(X5.ClickOverlay);Ao.Watermark=J5});var c3=nt(Po=>{"use strict";var Z5=Po&&Po.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Po,"__esModule",{value:!0});Po.TvNoiseCanvas=void 0;var eT=Bn(),tT=yn(),nT=(function(H){Z5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.canvasWidth=160,i.canvasHeight=90,i.interferenceHeight=50,i.lastFrameUpdate=0,i.frameInterval=60,i.useAnimationFrame=!!window.requestAnimationFrame,i.config=i.mergeConfig(n,{cssClass:"ui-tvnoisecanvas"},i.config),i}return u.prototype.toDomElement=function(){return this.canvas=new tT.DOM("canvas",{class:this.getCssClasses()},this)},u.prototype.start=function(){this.canvasElement=this.canvas.get(0),this.canvasContext=this.canvasElement.getContext("2d"),this.noiseAnimationWindowPos=-this.canvasHeight,this.lastFrameUpdate=0,this.canvasElement.width=this.canvasWidth,this.canvasElement.height=this.canvasHeight,this.renderFrame()},u.prototype.stop=function(){this.useAnimationFrame?cancelAnimationFrame(this.frameUpdateHandlerId):clearTimeout(this.frameUpdateHandlerId)},u.prototype.renderFrame=function(){if(this.lastFrameUpdate+this.frameInterval>new Date().getTime()){this.scheduleNextRender();return}for(var n,i=this.canvasWidth,c=this.canvasHeight,m=this.canvasContext.createImageData(i,c),$=0;$<c;$++)for(var P=0;P<i;P++)n=i*$*4+P*4,m.data[n]=Math.random()*255,($<this.noiseAnimationWindowPos||$>this.noiseAnimationWindowPos+this.interferenceHeight)&&(m.data[n]*=.85),m.data[n+1]=m.data[n],m.data[n+2]=m.data[n],m.data[n+3]=50;this.canvasContext.putImageData(m,0,0),this.lastFrameUpdate=new Date().getTime(),this.noiseAnimationWindowPos+=7,this.noiseAnimationWindowPos>c&&(this.noiseAnimationWindowPos=-c),this.scheduleNextRender()},u.prototype.scheduleNextRender=function(){this.useAnimationFrame?this.frameUpdateHandlerId=window.requestAnimationFrame(this.renderFrame.bind(this)):this.frameUpdateHandlerId=window.setTimeout(this.renderFrame.bind(this),this.frameInterval)},u})(eT.Component);Po.TvNoiseCanvas=nT});var Gf=nt(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});tu.ErrorUtils=void 0;var iT;(function(H){H.defaultErrorMessages={1e3:"Error is unknown",1001:"The player API is not available after a call to PlayerAPI.destroy.",1100:"General setup error",1101:"There was an error when inserting the HTML video element",1102:"No configuration was provided",1103:"The license is not valid",1104:"The the domain-locked player is not authorized to playback on this domain",1105:"The domain is not allowlisted",1106:"The license server URL is invalid",1107:"The impression server URL is invalid",1108:"Could not initialize a rendering engine",1109:"The used flash version does not support playback",1110:"Native Flash is not authorized by a valid Adobe token",1111:"Flash doesn't have sufficient resources",1112:"Flash container API not available",1113:'Protocol not supported. This site has been loaded using "file" protocol, but unfortunately this is not supported. Please load the page using a web server (using http or https)',1200:"General source error",1201:"No valid source was provided",1202:"The downloaded manifest is invalid",1203:"There was no technology detected to playback the provided source",1204:"The stream type is not supported",1205:"The forced technology is not supported",1206:"No stream found for supported technologies.",1207:"The downloaded segment is empty",1208:"The manifest could not be loaded",1209:"Progressive stream type not supported or the stream has an error",1210:"HLS stream has an error",1211:"The encryption method is not supported",1300:"General playback error",1301:"Video decoder or demuxer had an error with the content",1302:"General error if Flash renderer has an error",1303:"Flash doesn't have sufficient resources",1304:"The transmuxer could not be initialized",1400:"Network error while downloading",1401:"The manifest download timed out",1402:"The segment download timed out",1403:"The progressive stream download timed out",1404:"The Certificate could not be loaded",2e3:"General DRM error",2001:"Required DRM configuration is missing",2002:"The licensing server URL is missing",2003:"License request failed",2004:"Key or KeyId is missing",2005:"Key size is not supported",2006:"Unable to instantiate a key system supporting the required combinations",2007:"Unable to create or initialize key session",2008:"The MediaKey object could not be created/initialized",2009:"Key error",2010:"The key system is not supported",2011:"The certificate is not valid",2012:"Invalid header key/value pair for PlayReady license request",2013:"Content cannot be played back because the output is restricted on this machine",2014:"DRM error for the Flash renderer",2100:"General VR error",2101:"Player technology not compatible with VR playback",3e3:"General module error",3001:"The definition of the module is invalid (e.g. incomplete).",3002:"The module definition specifies dependencies but the module is not provided via a function for deferred loading.",3003:"A module cannot be loaded because it has not been added to the player core.",3004:"A module cannot be loaded because one or more dependencies are missing.",3100:"An Advertising module error has occurred. Refer to the attached AdvertisingError."},H.defaultMobileV3ErrorMessageTranslator=function(u){return u.message},H.defaultWebErrorMessageTranslator=function(u){var n=H.defaultErrorMessages[u.code];return n?"".concat(n,`
|
|
297
|
-
(`).concat(u.name,")"):"".concat(u.code," ").concat(u.name)}})(iT=tu.ErrorUtils||(tu.ErrorUtils={}))});var Nl=nt(Io=>{"use strict";var rT=Io&&Io.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Io,"__esModule",{value:!0});Io.ErrorMessageOverlay=void 0;var aT=Zt(),oT=li(),sT=c3(),d3=Gf(),Wf=ef(),uT=(function(H){rT(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.errorLabel=new oT.Label({cssClass:"ui-errormessage-label"}),i.tvNoiseBackground=new sT.TvNoiseCanvas,i.config=i.mergeConfig(n,{cssClass:"ui-errormessage-overlay",components:[i.tvNoiseBackground,i.errorLabel],hidden:!0,role:"status"},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig(),$=function(t,_){var a=lT(i.getConfig().errorMessages||m.messages,t);a&&(_=a),c.display(_)};if((0,Wf.isMobileV3PlayerAPI)(n)){var P=function(t){var _=d3.ErrorUtils.defaultMobileV3ErrorMessageTranslator(t);$(t,_)};n.on(Wf.MobileV3PlayerEvent.PlayerError,P),n.on(Wf.MobileV3PlayerEvent.SourceError,P)}else n.on(n.exports.PlayerEvent.Error,function(t){var _=d3.ErrorUtils.defaultWebErrorMessageTranslator(t);$(t,_)});n.on(n.exports.PlayerEvent.SourceLoaded,function(t){c.isShown()&&c.clear()})},u.prototype.display=function(n){this.errorLabel.setText(n),this.tvNoiseBackground.start(),this.show()},u.prototype.clear=function(){this.errorLabel.setText(""),this.tvNoiseBackground.stop(),this.hide()},u.prototype.release=function(){H.prototype.release.call(this),this.clear()},u})(aT.Container);Io.ErrorMessageOverlay=uT;function lT(H,u){if(H){if(typeof H=="function")return H(u);if(H[u.code]){var n=H[u.code];return typeof n=="string"?n:n(u)}}}});var qf=nt(Co=>{"use strict";var cT=Co&&Co.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Co,"__esModule",{value:!0});Co.AdClickOverlay=void 0;var dT=Ll(),fT=(function(H){cT(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{acceptsTouchWithUiHidden:!0},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=null;n.on(n.exports.PlayerEvent.AdStarted,function(P){var t=P.ad;c.setUrl(t.clickThroughUrl),m=t.clickThroughUrlOpened});var $=function(){c.setUrl(null)};n.on(n.exports.PlayerEvent.AdFinished,$),n.on(n.exports.PlayerEvent.AdSkipped,$),n.on(n.exports.PlayerEvent.AdError,$),this.onClick.subscribe(function(){n.pause("ui-ad-click-overlay"),m&&m()})},u})(dT.ClickOverlay);Co.AdClickOverlay=fT});var Kf=nt(xo=>{"use strict";var hT=xo&&xo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(xo,"__esModule",{value:!0});xo.AdMessageLabel=void 0;var _T=li(),pT=_r(),f3=yt(),vT=(function(H){hT(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-label-ad-message",text:f3.i18n.getLocalizer("ads.remainingTime")},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig(),$=m.text,P=function(){c.setText(pT.StringUtils.replaceAdMessagePlaceholders(f3.i18n.performLocalization($),null,n))},t=function(a){var r=a.ad.uiConfig;$=r&&r.message||m.text,P(),n.on(n.exports.PlayerEvent.TimeChanged,P)},_=function(){n.off(n.exports.PlayerEvent.TimeChanged,P)};n.on(n.exports.PlayerEvent.AdStarted,t),n.on(n.exports.PlayerEvent.AdSkipped,_),n.on(n.exports.PlayerEvent.AdError,_),n.on(n.exports.PlayerEvent.AdFinished,_)},u})(_T.Label);xo.AdMessageLabel=vT});var zf=nt(Mo=>{"use strict";var gT=Mo&&Mo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Mo,"__esModule",{value:!0});Mo.AdSkipButton=void 0;var mT=si(),yT=_r(),ST=(function(H){gT(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-button-ad-skip",untilSkippableMessage:"Skip ad in {remainingTime}",skippableMessage:"Skip ad",acceptsTouchWithUiHidden:!0},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig(),$=m.untilSkippableMessage,P=m.skippableMessage,t=-1,_=function(){c.show(),n.getCurrentTime()<t?(c.setText(yT.StringUtils.replaceAdMessagePlaceholders($,t,n)),c.disable()):(c.setText(P),c.enable())},a=function(o){var l=o.ad;t=l.skippableAfter,$=l.uiConfig&&l.uiConfig.untilSkippableMessage||m.untilSkippableMessage,P=l.uiConfig&&l.uiConfig.skippableMessage||m.skippableMessage,typeof t=="number"&&t>=0?(_(),n.on(n.exports.PlayerEvent.TimeChanged,_)):c.hide()},r=function(){n.off(n.exports.PlayerEvent.TimeChanged,_)};n.on(n.exports.PlayerEvent.AdStarted,a),n.on(n.exports.PlayerEvent.AdSkipped,r),n.on(n.exports.PlayerEvent.AdError,r),n.on(n.exports.PlayerEvent.AdFinished,r),this.onClick.subscribe(function(){n.ads.skip()})},u})(mT.Button);Mo.AdSkipButton=ST});var Yf=nt(ko=>{"use strict";var bT=ko&&ko.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ko,"__esModule",{value:!0});ko.CloseButton=void 0;var $T=si(),TT=yt(),ET=(function(H){bT(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-closebutton",text:TT.i18n.getLocalizer("close")},i.config),i}return u.prototype.configure=function(n,i){H.prototype.configure.call(this,n,i);var c=this.getConfig();this.onClick.subscribe(function(){c.target.hide()})},u})($T.Button);ko.CloseButton=ET});var Xf=nt(wo=>{"use strict";var AT=wo&&wo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(wo,"__esModule",{value:!0});wo.CastUIContainer=void 0;var PT=ha(),IT=Wi(),CT=(function(H){AT(u,H);function u(n){return H.call(this,n)||this}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig(),$=!1,P=function(){i.onControlsHide.dispatch(c),$=!1};this.castUiHideTimeout=new IT.Timeout(m.hideDelay,P);var t=function(){$||(i.onControlsShow.dispatch(c),$=!0)},_=function(){t(),c.castUiHideTimeout.clear()},a=function(){t(),c.castUiHideTimeout.start()},r=function(){n.isPlaying()?a():_()};n.on(n.exports.PlayerEvent.Play,a),n.on(n.exports.PlayerEvent.Paused,_),n.on(n.exports.PlayerEvent.Seek,_),n.on(n.exports.PlayerEvent.Seeked,r),i.getConfig().events.onUpdated.subscribe(a)},u.prototype.release=function(){H.prototype.release.call(this),this.castUiHideTimeout.clear()},u})(PT.UIContainer);wo.CastUIContainer=CT});var Bl=nt(Ro=>{"use strict";var xT=Ro&&Ro.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ro,"__esModule",{value:!0});Ro.SubtitleListBox=void 0;var MT=ba(),kT=kf(),wT=(function(H){xT(u,H);function u(){return H!==null&&H.apply(this,arguments)||this}return u.prototype.configure=function(n,i){H.prototype.configure.call(this,n,i),new kT.SubtitleSwitchHandler(n,this,i)},u})(MT.ListBox);Ro.SubtitleListBox=wT});var Ul=nt(Oo=>{"use strict";var RT=Oo&&Oo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Oo,"__esModule",{value:!0});Oo.AudioTrackListBox=void 0;var OT=ba(),LT=ff(),DT=(function(H){RT(u,H);function u(){return H!==null&&H.apply(this,arguments)||this}return u.prototype.configure=function(n,i){H.prototype.configure.call(this,n,i),new LT.AudioTrackSwitchHandler(n,this,i)},u})(OT.ListBox);Oo.AudioTrackListBox=DT});var Hl=nt(Fl=>{"use strict";Object.defineProperty(Fl,"__esModule",{value:!0});Fl.NodeEventSubscriber=void 0;var NT=(function(){function H(){this.attachedListeners=new Map}return H.prototype.getEventListenersOfType=function(u){return this.attachedListeners.has(u)||this.attachedListeners.set(u,[]),this.attachedListeners.get(u)},H.prototype.on=function(u,n,i,c){u.addEventListener(n,i,c),this.getEventListenersOfType(n).push([u,i,c])},H.prototype.off=function(u,n,i,c){var m=this.getEventListenersOfType(n),$=m.findIndex(function(P){var t=P[0],_=P[1],a=P[2];return t===u&&_===i&&a===c});u.removeEventListener(n,i,c),$>-1&&m.splice($,1)},H.prototype.release=function(){var u=this;this.attachedListeners.forEach(function(n,i){n.forEach(function(c){var m=c[0],$=c[1],P=c[2];u.off(m,i,$,P)})}),this.attachedListeners.clear()},H})();Fl.NodeEventSubscriber=NT});var vr=nt(pr=>{"use strict";Object.defineProperty(pr,"__esModule",{value:!0});pr.Action=pr.Direction=void 0;var BT;(function(H){H.UP="up",H.DOWN="down",H.LEFT="left",H.RIGHT="right"})(BT=pr.Direction||(pr.Direction={}));var UT;(function(H){H.SELECT="select",H.BACK="back"})(UT=pr.Action||(pr.Action={}))});var Qf=nt(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.getBoundingRectFromElement=Lo.getElementInDirection=void 0;var jl=vr();function Vl(H){return Math.sqrt(Math.pow(H.x,2)+Math.pow(H.y,2))}function FT(H){var u=Vl(H);return{x:H.x/u,y:H.y/u}}function HT(H,u){return H.x*u.x+H.y*u.y}function jT(H,u){return Vl({x:u.x-H.x,y:u.y-H.y})}function h3(H){var u=_3(H);return{x:u.x+u.width/2,y:u.y+u.height/2}}function VT(H,u,n){var i={x:n===jl.Direction.LEFT?-1:n===jl.Direction.RIGHT?1:0,y:n===jl.Direction.UP?-1:n===jl.Direction.DOWN?1:0},c=FT({x:u.x-H.x,y:u.y-H.y}),m=HT(i,c)/(Vl(i)*Vl(c));return Math.acos(m)*180/Math.PI}function GT(H,u,n){var i;if(H){var c=45,m=h3(H);return(i=u.filter(function($){return $!==H}).map(function($){var P=h3($),t=jT(m,P),_=VT(m,P,n);return{angle:_,dist:t,element:$}}).filter(function($){var P=$.angle;return P<=c}).sort(function($,P){var t=$.angle,_=$.dist,a=P.angle,r=P.dist;return t-a+(_-r)}).shift())===null||i===void 0?void 0:i.element}}Lo.getElementInDirection=GT;function _3(H){var u=H.getBoundingClientRect();return typeof u.x!="number"&&typeof u.y!="number"&&(u.x=u.left,u.y=u.top),u}Lo.getBoundingRectFromElement=_3});var g3=nt(Gl=>{"use strict";Object.defineProperty(Gl,"__esModule",{value:!0});Gl.SeekBarHandler=void 0;var WT=Hl(),nu=vr(),qT=Qf(),p3=.005,KT=100,zT=1.1,YT=(function(){function H(u){var n=this;this.rootNavigationGroup=u,this.cursorPosition={x:0,y:0},this.isScrubbing=!1,this.scrubSpeedPercentage=p3,this.onNavigation=function(i,c,m){if(v3(c)){if(i===nu.Direction.UP||i===nu.Direction.DOWN){n.stopSeeking(Jf(c));return}n.initializeOrUpdateCursorPosition(c,i),n.dispatchMouseMoveEvent(Jf(c)),m()}},this.onAction=function(i,c,m){if(v3(c)){var $=Jf(c);i===nu.Action.SELECT&&n.isScrubbing?(n.dispatchMouseClickEvent($),m()):i===nu.Action.BACK&&(n.stopSeeking($),m())}},this.rootNavigationGroup.onAction=this.onAction,this.eventSubscriber=new WT.NodeEventSubscriber,this.rootNavigationGroup.onNavigation=this.onNavigation}return H.prototype.updateScrubSpeedPercentage=function(){var u=this;clearTimeout(this.scrubSpeedResetTimeout),this.scrubSpeedPercentage*=zT,this.scrubSpeedResetTimeout=window.setTimeout(function(){return u.scrubSpeedPercentage=p3},KT)},H.prototype.getIncrement=function(u,n){this.updateScrubSpeedPercentage();var i=n.getBoundingClientRect().width,c=i*this.scrubSpeedPercentage;return u===nu.Direction.RIGHT?c:-c},H.prototype.resetCursorPosition=function(){this.cursorPosition.x=0,this.cursorPosition.y=0},H.prototype.updateCursorPosition=function(u,n){this.cursorPosition.x+=this.getIncrement(u,n)},H.prototype.initializeCursorPosition=function(u){var n=XT(u),i=(0,qT.getBoundingRectFromElement)(n),c=i.x+i.width/2,m=i.y;this.cursorPosition.x=c,this.cursorPosition.y=m},H.prototype.initializeOrUpdateCursorPosition=function(u,n){this.isScrubbing?this.updateCursorPosition(n,u):this.initializeCursorPosition(u),this.isScrubbing=!0},H.prototype.getCursorPositionMouseEventInit=function(){return{clientX:this.cursorPosition.x,clientY:this.cursorPosition.y}},H.prototype.dispatchMouseMoveEvent=function(u){u.dispatchEvent(new MouseEvent("mousemove",this.getCursorPositionMouseEventInit()))},H.prototype.dispatchMouseClickEvent=function(u){var n=this,i=function(){var c=n.getCursorPositionMouseEventInit();document.dispatchEvent(new MouseEvent("mouseup",c)),n.eventSubscriber.off(u,"mousedown",i),n.stopSeeking(u)};this.eventSubscriber.on(u,"mousedown",i),u.dispatchEvent(new MouseEvent("mousedown"))},H.prototype.stopSeeking=function(u){this.resetCursorPosition(),this.isScrubbing=!1,this.dispatchMouseLeaveEvent(u)},H.prototype.dispatchMouseLeaveEvent=function(u){u.dispatchEvent(new MouseEvent("mouseleave"))},H.prototype.release=function(){this.eventSubscriber.release(),this.rootNavigationGroup.onAction=void 0,this.rootNavigationGroup.onNavigation=void 0},H})();Gl.SeekBarHandler=YT;function v3(H){return Array.from(H.classList).findIndex(function(u){return/-ui-seekbar$/.test(u)})>-1}function Jf(H){return H.children.item(0)}function XT(H){return H.querySelector('[class*="seekbar-playbackposition-marker"]')}});var m3=nt(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.getKeyMapForPlatform=void 0;var Lt=vr(),iu=lr(),QT={isApplicable:function(){return iu.BrowserUtils.isTizen},keyCodes:{38:Lt.Direction.UP,40:Lt.Direction.DOWN,37:Lt.Direction.LEFT,39:Lt.Direction.RIGHT,13:Lt.Action.SELECT,10009:Lt.Action.BACK}},JT={isApplicable:function(){return iu.BrowserUtils.isWebOs},keyCodes:{38:Lt.Direction.UP,40:Lt.Direction.DOWN,37:Lt.Direction.LEFT,39:Lt.Direction.RIGHT,13:Lt.Action.SELECT,461:Lt.Action.BACK}},ZT={isApplicable:function(){return iu.BrowserUtils.isPlayStation},keyCodes:{38:Lt.Direction.UP,40:Lt.Direction.DOWN,37:Lt.Direction.LEFT,39:Lt.Direction.RIGHT,13:Lt.Action.SELECT,27:Lt.Action.BACK}},eE={isApplicable:function(){return iu.BrowserUtils.isAndroid},keyCodes:{38:Lt.Direction.UP,40:Lt.Direction.DOWN,37:Lt.Direction.LEFT,39:Lt.Direction.RIGHT,13:Lt.Action.SELECT,27:Lt.Action.BACK}},tE={isApplicable:function(){return iu.BrowserUtils.isHisense},keyCodes:{38:Lt.Direction.UP,40:Lt.Direction.DOWN,37:Lt.Direction.LEFT,39:Lt.Direction.RIGHT,13:Lt.Action.SELECT,8:Lt.Action.BACK}},nE={38:Lt.Direction.UP,40:Lt.Direction.DOWN,37:Lt.Direction.LEFT,39:Lt.Direction.RIGHT,13:Lt.Action.SELECT,27:Lt.Action.BACK};function iE(){var H=[JT,QT,ZT,tE,eE].find(function(u){return u.isApplicable()});return H?H.keyCodes:nE}Wl.getKeyMapForPlatform=iE});var ql=nt(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.isAction=zn.isDirection=zn.isListBox=zn.isContainer=zn.isComponent=zn.isSettingsPanel=void 0;var rE=Bn(),aE=Lr(),oE=Zt(),sE=ba(),y3=vr();function uE(H){return H instanceof aE.SettingsPanel}zn.isSettingsPanel=uE;function lE(H){return H!=null&&H instanceof rE.Component}zn.isComponent=lE;function cE(H){return H!=null&&H instanceof oE.Container}zn.isContainer=cE;function dE(H){return H instanceof sE.ListBox}zn.isListBox=dE;function fE(H){return typeof H=="string"&&Object.values(y3.Direction).includes(H)}zn.isDirection=fE;function hE(H){return typeof H=="string"&&Object.values(y3.Action).includes(H)}zn.isAction=hE});var Zf=nt(Do=>{"use strict";var _E=Do&&Do.__spreadArray||function(H,u,n){if(n||arguments.length===2)for(var i=0,c=u.length,m;i<c;i++)(m||!(i in u))&&(m||(m=Array.prototype.slice.call(u,0,i)),m[i]=u[i]);return H.concat(m||Array.prototype.slice.call(u))};Object.defineProperty(Do,"__esModule",{value:!0});Do.SpatialNavigation=void 0;var pE=Hl(),vE=g3(),gE=m3(),S3=ql(),mE=(function(){function H(u){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var c=this;this.navigationGroups=[],this.onShow=function(m){c.activeNavigationGroups.push(m),c.updateEnabledNavigationGroup()},this.onHide=function(m){var $=c.activeNavigationGroups.findIndex(function(P){return P===m});$>-1&&(m.disable(),c.activeNavigationGroups.splice($,1),c.updateEnabledNavigationGroup())},this.handleKeyEvent=function(m){var $=c.keyMap[yE(m)],P=c.getActiveNavigationGroup();!P||!P.container||P.container.isHidden()||P.container.isDisabled()||((0,S3.isDirection)($)&&(P.handleNavigation($),m.preventDefault(),m.stopPropagation()),(0,S3.isAction)($)&&(P.handleAction($),m.preventDefault(),m.stopPropagation()))},this.seekBarHandler=new vE.SeekBarHandler(u),this.activeNavigationGroups=[],this.unsubscribeVisibilityChangesFns=[],this.eventSubscriber=new pE.NodeEventSubscriber,this.navigationGroups=_E([u],n,!0),this.keyMap=(0,gE.getKeyMapForPlatform)(),this.subscribeToNavigationGroupVisibilityChanges(),this.attachKeyEventHandler(),this.enableDefaultNavigationGroup()}return H.prototype.attachKeyEventHandler=function(){this.eventSubscriber.on(document,"keydown",this.handleKeyEvent,!0)},H.prototype.subscribeToNavigationGroupVisibilityChanges=function(){var u=this;this.navigationGroups.forEach(function(n){var i=function(){return u.onShow(n)},c=function(){return u.onHide(n)};n.container.onShow.subscribe(i),n.container.onHide.subscribe(c),u.unsubscribeVisibilityChangesFns.push(function(){return n.container.onShow.unsubscribe(i)},function(){return n.container.onHide.unsubscribe(c)})})},H.prototype.unsubscribeFromNavigationGroupVisibilityChanges=function(){this.unsubscribeVisibilityChangesFns.forEach(function(u){return u()}),this.unsubscribeVisibilityChangesFns=[]},H.prototype.enableDefaultNavigationGroup=function(){var u,n=function(c){return c.container.isShown()},i=(u=this.navigationGroups.find(n))!==null&&u!==void 0?u:this.navigationGroups[0];i&&(this.activeNavigationGroups.push(i),this.updateEnabledNavigationGroup())},H.prototype.updateEnabledNavigationGroup=function(){var u=this;this.activeNavigationGroups.forEach(function(n,i){i<u.activeNavigationGroups.length-1?n.disable():n.enable()})},H.prototype.getActiveNavigationGroup=function(){return this.activeNavigationGroups[this.activeNavigationGroups.length-1]},H.prototype.release=function(){this.unsubscribeFromNavigationGroupVisibilityChanges(),this.eventSubscriber.release(),this.navigationGroups.forEach(function(u){return u.release()}),this.seekBarHandler.release()},H})();Do.SpatialNavigation=mE;function yE(H){return H.keyCode}});var $3=nt(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.getHtmlElementsFromComponents=void 0;var SE=Zt(),eh=ql();function b3(H){var u=[];return H.getComponents().forEach(function(n){(0,eh.isContainer)(n)?u.push.apply(u,b3(n)):(0,eh.isComponent)(n)&&u.push(n)}),u}function bE(H){return(0,eh.isListBox)(H)?[].slice.call(H.getDomElement().get()[0].children):H.getDomElement().get().slice(0,1)}function $E(H){var u=[];return H.filter(function(n){return!n.isHidden()}).forEach(function(n){var i=n instanceof SE.Container?b3(n):[n];i.forEach(function(c){u.push.apply(u,bE(c))})}),u}Kl.getHtmlElementsFromComponents=$E});var Yl=nt(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});zl.NavigationGroup=void 0;var TE=Qf(),th=$3(),EE=Hl(),AE=ql(),T3=vr(),PE=(function(){function H(u){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];this.container=u,this.removeElementHoverEventListeners=function(){},this.components=n,this.eventSubscriber=new EE.NodeEventSubscriber}return H.prototype.getActiveElement=function(){return this.activeElement},H.prototype.focusElement=function(u){this.blurActiveElement(),this.activeElement=u,this.activeElement.focus()},H.prototype.blurActiveElement=function(){var u;(u=this.activeElement)===null||u===void 0||u.blur()},H.prototype.focusFirstElement=function(){var u=(0,th.getHtmlElementsFromComponents)(this.components)[0];u&&this.focusElement(u)},H.prototype.defaultNavigationHandler=function(u){var n=(0,TE.getElementInDirection)(this.activeElement,(0,th.getHtmlElementsFromComponents)(this.components),u);n&&this.focusElement(n)},H.prototype.defaultActionHandler=function(u){switch(u){case T3.Action.SELECT:this.activeElement.click();break;case T3.Action.BACK:this.container.hide();break}},H.prototype.handleInput=function(u,n,i){var c=!0,m=function(){return c=!1};i?.(u,this.activeElement,m),c&&n.call(this,u)},H.prototype.handleNavigation=function(u){if(!this.activeElement){this.activeElementBeforeDisable?this.focusElement(this.activeElementBeforeDisable):this.focusFirstElement();return}this.handleInput(u,this.defaultNavigationHandler,this.onNavigation)},H.prototype.handleAction=function(u){this.handleInput(u,this.defaultActionHandler,this.onAction)},H.prototype.disable=function(){this.activeElement&&(this.activeElementBeforeDisable=this.activeElement,this.blurActiveElement(),this.activeElement=void 0)},H.prototype.enable=function(){this.activeElementBeforeDisable&&!(0,AE.isSettingsPanel)(this.container)?(this.focusElement(this.activeElementBeforeDisable),this.activeElementBeforeDisable=void 0):this.focusFirstElement(),this.trackElementHover()},H.prototype.trackElementHover=function(){var u=this;this.removeElementHoverEventListeners();var n=(0,th.getHtmlElementsFromComponents)(this.components).map(function(i){var c=u.focusElement.bind(u,i),m=function(){return u.disable()};return u.eventSubscriber.on(i,"mouseenter",c),u.eventSubscriber.on(i,"mouseleave",m),function(){u.eventSubscriber.off(i,"mouseenter",c),u.eventSubscriber.off(i,"mouseleave",m)}});this.removeElementHoverEventListeners=function(){return n.forEach(function(i){return i()})}},H.prototype.release=function(){this.eventSubscriber.release(),this.activeElement=void 0,this.components.splice(0,this.components.length),this.removeElementHoverEventListeners()},H})();zl.NavigationGroup=PE});var nh=nt(gr=>{"use strict";var IE=gr&&gr.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),CE=gr&&gr.__spreadArray||function(H,u,n){if(n||arguments.length===2)for(var i=0,c=u.length,m;i<c;i++)(m||!(i in u))&&(m||(m=Array.prototype.slice.call(u,0,i)),m[i]=u[i]);return H.concat(m||Array.prototype.slice.call(u))};Object.defineProperty(gr,"__esModule",{value:!0});gr.RootNavigationGroup=void 0;var xE=Yl(),ME=vr(),kE=(function(H){IE(u,H);function u(n){for(var i=[],c=1;c<arguments.length;c++)i[c-1]=arguments[c];var m=H.apply(this,CE([n],i,!1))||this;return m.container=n,m}return u.prototype.handleAction=function(n){this.container.showUi(),H.prototype.handleAction.call(this,n)},u.prototype.handleNavigation=function(n){this.container.showUi(),H.prototype.handleNavigation.call(this,n)},u.prototype.defaultActionHandler=function(n){n===ME.Action.BACK?this.container.hideUi():H.prototype.defaultActionHandler.call(this,n)},u.prototype.release=function(){H.prototype.release.call(this)},u})(xE.NavigationGroup);gr.RootNavigationGroup=kE});var rh=nt(Ei=>{"use strict";var wE=Ei&&Ei.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),RE=Ei&&Ei.__spreadArray||function(H,u,n){if(n||arguments.length===2)for(var i=0,c=u.length,m;i<c;i++)(m||!(i in u))&&(m||(m=Array.prototype.slice.call(u,0,i)),m[i]=u[i]);return H.concat(m||Array.prototype.slice.call(u))};Object.defineProperty(Ei,"__esModule",{value:!0});Ei.ListNavigationGroup=Ei.ListOrientation=void 0;var OE=Yl(),Br=vr(),ih;(function(H){H.Horizontal="horizontal",H.Vertical="vertical"})(ih=Ei.ListOrientation||(Ei.ListOrientation={}));var LE=(function(H){wE(u,H);function u(n,i){for(var c=[],m=2;m<arguments.length;m++)c[m-2]=arguments[m];var $=H.apply(this,RE([i],c,!1))||this;switch(n){case ih.Vertical:$.listNavigationDirections=[Br.Direction.UP,Br.Direction.DOWN];break;case ih.Horizontal:$.listNavigationDirections=[Br.Direction.LEFT,Br.Direction.RIGHT];break}return $}return u.prototype.handleAction=function(n){H.prototype.handleAction.call(this,n),n===Br.Action.SELECT&&this.handleAction(Br.Action.BACK)},u.prototype.handleNavigation=function(n){H.prototype.handleNavigation.call(this,n),this.listNavigationDirections.includes(n)||this.handleAction(Br.Action.BACK)},u})(OE.NavigationGroup);Ei.ListNavigationGroup=LE});var A3=nt(No=>{"use strict";var DE=No&&No.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(No,"__esModule",{value:!0});No.EcoModeToggleButton=void 0;var NE=ci(),E3=yt(),BE=(function(H){DE(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this,c={text:E3.i18n.getLocalizer("ecoMode"),cssClass:"ui-ecomodetogglebutton",onClass:"on",offClass:"off",ariaLabel:E3.i18n.getLocalizer("ecoMode")};return i.config=i.mergeConfig(n,c,i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.areAdaptationApisAvailable(n)?(this.onClick.subscribe(function(){c.toggle()}),this.onToggleOn.subscribe(function(){c.enableEcoMode(n),n.setVideoQuality("auto")}),this.onToggleOff.subscribe(function(){c.disableEcoMode(n)}),n.on(n.exports.PlayerEvent.VideoQualityChanged,function(m){m.targetQuality.id!=="auto"&&(c.off(),c.disableEcoMode(n))})):H.prototype.disable.call(this)},u.prototype.areAdaptationApisAvailable=function(n){var i=!!(n.adaptation.getConfig&&typeof n.adaptation.getConfig=="function"),c=!!(n.adaptation.setConfig&&typeof n.adaptation.setConfig=="function");return!!(n.adaptation&&i&&c)},u.prototype.enableEcoMode=function(n){this.adaptationConfig=n.adaptation.getConfig();var i=n.getAvailableVideoQualities()[0].codec;i.includes("avc")&&n.adaptation.setConfig({resolution:{maxSelectableVideoHeight:720},limitToPlayerSize:!0}),(i.includes("hvc")||i.includes("hev"))&&n.adaptation.setConfig({resolution:{maxSelectableVideoHeight:1080},limitToPlayerSize:!0}),(i.includes("av1")||i.includes("av01"))&&n.adaptation.setConfig({resolution:{maxSelectableVideoHeight:1440},limitToPlayerSize:!0})},u.prototype.disableEcoMode=function(n){n.adaptation.setConfig(this.adaptationConfig)},u})(NE.ToggleButton);No.EcoModeToggleButton=BE});var C3=nt(Bo=>{"use strict";var UE=Bo&&Bo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Bo,"__esModule",{value:!0});Bo.EcoModeContainer=void 0;var FE=yt(),HE=Zt(),jE=A3(),P3=li(),I3=Or(),VE=(function(H){UE(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;i.savedEmissons=0;var c=new jE.EcoModeToggleButton,m=new P3.Label({text:FE.i18n.getLocalizer("ecoMode.title"),for:c.getConfig().id,id:"ecomodelabel"});return i.emissionsSavedLabel=new P3.Label({text:"".concat(i.savedEmissons.toFixed(4)," gCO2"),cssClass:"ui-label-savedEnergy"}),i.ecoModeToggleButtonItem=new I3.SettingsPanelItem(m,c),i.ecoModeSavedEmissionsItem=new I3.SettingsPanelItem("Saved Emissions",i.emissionsSavedLabel,{hidden:!0}),i.addComponent(i.ecoModeToggleButtonItem),i.addComponent(i.ecoModeSavedEmissionsItem),c.onToggleOn.subscribe(function(){i.ecoModeSavedEmissionsItem.show(),i.onToggleCallback()}),c.onToggleOff.subscribe(function(){i.ecoModeSavedEmissionsItem.hide(),i.onToggleCallback()}),i}return u.prototype.setOnToggleCallback=function(n){this.onToggleCallback=n},u.prototype.configure=function(n){var i=this;n.on(n.exports.PlayerEvent.SegmentPlayback,function(c){if(c.mimeType.includes("video")){var m=c.mediaInfo,$=m.height,P=m.width,t=m.bitrate,_=m.frameRate,a=i.getMaxQualityAvailable(n.getAvailableVideoQualities()),r=a.height,o=a.bitrate,l=a.width,d=i.calculateEnergyConsumption(_,$,P,t,c.duration),h=i.calculateEnergyConsumption(_,r,l,o,c.duration);i.ecoModeSavedEmissionsItem.isShown()&&i.updateSavedEmissions(d,h,i.emissionsSavedLabel)}})},u.prototype.updateSavedEmissions=function(n,i,c){var m=475;this.currentEnergyEmission=n*m;var $=i*m;this.savedEmissons+=$-this.currentEnergyEmission,c.setText(this.savedEmissons.toFixed(4)+" gCO2")},u.prototype.calculateEnergyConsumption=function(n,i,c,m,$){var P=.035,t=576e-11,_=697e-8,a=8.52,r=324e-7,o=1.15,l=4.16,d=P*n+t*i*c+(_+r)*(m/1e3)+l+a+o,h=d*$/36e5;return h},u.prototype.getMaxQualityAvailable=function(n){var i=n.sort(function(c,m){return c.bitrate-m.bitrate});return i[i.length-1]},u})(HE.Container);Bo.EcoModeContainer=VE});var hh=nt(Hr=>{"use strict";var jo=Hr&&Hr.__assign||function(){return jo=Object.assign||function(H){for(var u,n=1,i=arguments.length;n<i;n++){u=arguments[n];for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(H[c]=u[c])}return H},jo.apply(this,arguments)};Object.defineProperty(Hr,"__esModule",{value:!0});Hr.UIFactory=void 0;var Xl=hl(),Ql=Ia(),_i=Or(),x3=Fs(),M3=js(),k3=hf(),w3=Hs(),Jl=Lr(),R3=Cf(),O3=xf(),L3=Mf(),D3=wf(),Uo=Gs(),pi=Zt(),Fn=pl(),Zl=Qs(),ah=bl(),oh=Js(),sh=Zs(),N3=eu(),B3=Bs(),U3=$l(),F3=Tl(),H3=El(),j3=Al(),ec=Pl(),tc=Il(),Fo=ha(),Ur=Cl(),Fr=xl(),V3=Ml(),ru=Rl(),uh=Ol(),lh=Dl(),nc=Nl(),ch=qf(),dh=Kf(),fh=zf(),G3=Yf(),Ho=wl(),hn=oi(),GE=li(),WE=Xf(),ic=cl(),Sn=yt(),qE=Bl(),KE=Ul(),W3=Zf(),q3=nh(),rc=rh(),zE=C3(),YE;(function(H){function u(f,p){return p===void 0&&(p={}),H.buildModernUI(f,p)}H.buildDefaultUI=u;function n(f,p){return p===void 0&&(p={}),H.buildModernSmallScreenUI(f,p)}H.buildDefaultSmallScreenUI=n;function i(f,p){return p===void 0&&(p={}),H.buildModernCastReceiverUI(f,p)}H.buildDefaultCastReceiverUI=i;function c(f,p){return p===void 0&&(p={}),H.buildModernTvUI(f,p)}H.buildDefaultTvUI=c;function m(f){var p=new Xl.SubtitleOverlay,A,x=[new _i.SettingsPanelItem(Sn.i18n.getLocalizer("settings.video.quality"),new x3.VideoQualitySelectBox),new _i.SettingsPanelItem(Sn.i18n.getLocalizer("speed"),new M3.PlaybackSpeedSelectBox),new _i.SettingsPanelItem(Sn.i18n.getLocalizer("settings.audio.track"),new k3.AudioTrackSelectBox),new _i.SettingsPanelItem(Sn.i18n.getLocalizer("settings.audio.quality"),new w3.AudioQualitySelectBox)];if(f.ecoMode){var I=new zE.EcoModeContainer;I.setOnToggleCallback(function(){T.getDomElement().css({width:"",height:""})}),x.unshift(I)}A=new Ql.SettingsPanelPage({components:x});var T=new Jl.SettingsPanel({components:[A],hidden:!0}),y=new R3.SubtitleSettingsPanelPage({settingsPanel:T,overlay:p}),E=new D3.SubtitleSelectBox,S=new O3.SettingsPanelPageOpenButton({targetPage:y,container:T,ariaLabel:Sn.i18n.getLocalizer("settings.subtitles"),text:Sn.i18n.getLocalizer("open")});A.addComponent(new _i.SettingsPanelItem(new L3.SubtitleSettingsLabel({text:Sn.i18n.getLocalizer("settings.subtitles"),opener:S}),E,{role:"menubar"})),T.addComponent(y);var b=new Uo.ControlBar({components:[T,new pi.Container({components:[new Fn.PlaybackTimeLabel({timeLabelMode:Fn.PlaybackTimeLabelMode.CurrentTime,hideInLivePlayback:!0}),new Zl.SeekBar({label:new ah.SeekBarLabel}),new Fn.PlaybackTimeLabel({timeLabelMode:Fn.PlaybackTimeLabelMode.TotalTime,cssClasses:["text-right"]})],cssClasses:["controlbar-top"]}),new pi.Container({components:[new oh.PlaybackToggleButton,new sh.VolumeToggleButton,new N3.VolumeSlider,new B3.Spacer,new U3.PictureInPictureToggleButton,new F3.AirPlayToggleButton,new H3.CastToggleButton,new j3.VRToggleButton,new ec.SettingsToggleButton({settingsPanel:T}),new tc.FullscreenToggleButton],cssClasses:["controlbar-bottom"]})]});return new Fo.UIContainer({components:[p,new Ur.BufferingOverlay,new Fr.PlaybackToggleOverlay,new V3.CastStatusOverlay,b,new ru.TitleBar,new uh.RecommendationOverlay,new lh.Watermark,new nc.ErrorMessageOverlay],hideDelay:2e3,hidePlayerStateExceptions:[hn.PlayerUtils.PlayerState.Prepared,hn.PlayerUtils.PlayerState.Paused,hn.PlayerUtils.PlayerState.Finished]})}H.modernUI=m;function $(){return new Fo.UIContainer({components:[new Ur.BufferingOverlay,new ch.AdClickOverlay,new Fr.PlaybackToggleOverlay,new pi.Container({components:[new dh.AdMessageLabel({text:Sn.i18n.getLocalizer("ads.remainingTime")}),new fh.AdSkipButton],cssClass:"ui-ads-status"}),new Uo.ControlBar({components:[new pi.Container({components:[new oh.PlaybackToggleButton,new sh.VolumeToggleButton,new N3.VolumeSlider,new B3.Spacer,new tc.FullscreenToggleButton],cssClasses:["controlbar-bottom"]})]})],cssClasses:["ui-skin-ads"],hideDelay:2e3,hidePlayerStateExceptions:[hn.PlayerUtils.PlayerState.Prepared,hn.PlayerUtils.PlayerState.Paused,hn.PlayerUtils.PlayerState.Finished]})}H.modernAdsUI=$;function P(){var f=new Xl.SubtitleOverlay,p=new Ql.SettingsPanelPage({components:[new _i.SettingsPanelItem(Sn.i18n.getLocalizer("settings.video.quality"),new x3.VideoQualitySelectBox),new _i.SettingsPanelItem(Sn.i18n.getLocalizer("speed"),new M3.PlaybackSpeedSelectBox),new _i.SettingsPanelItem(Sn.i18n.getLocalizer("settings.audio.track"),new k3.AudioTrackSelectBox),new _i.SettingsPanelItem(Sn.i18n.getLocalizer("settings.audio.quality"),new w3.AudioQualitySelectBox)]}),A=new Jl.SettingsPanel({components:[p],hidden:!0,pageTransitionAnimation:!1,hideDelay:-1}),x=new R3.SubtitleSettingsPanelPage({settingsPanel:A,overlay:f}),I=new O3.SettingsPanelPageOpenButton({targetPage:x,container:A,ariaLabel:Sn.i18n.getLocalizer("settings.subtitles"),text:Sn.i18n.getLocalizer("open")}),T=new D3.SubtitleSelectBox;p.addComponent(new _i.SettingsPanelItem(new L3.SubtitleSettingsLabel({text:Sn.i18n.getLocalizer("settings.subtitles"),opener:I}),T,{role:"menubar"})),A.addComponent(x),A.addComponent(new G3.CloseButton({target:A})),x.addComponent(new G3.CloseButton({target:A}));var y=new Uo.ControlBar({components:[new pi.Container({components:[new Fn.PlaybackTimeLabel({timeLabelMode:Fn.PlaybackTimeLabelMode.CurrentTime,hideInLivePlayback:!0}),new Zl.SeekBar({label:new ah.SeekBarLabel}),new Fn.PlaybackTimeLabel({timeLabelMode:Fn.PlaybackTimeLabelMode.TotalTime,cssClasses:["text-right"]})],cssClasses:["controlbar-top"]})]});return new Fo.UIContainer({components:[f,new Ur.BufferingOverlay,new V3.CastStatusOverlay,new Fr.PlaybackToggleOverlay,new uh.RecommendationOverlay,y,new ru.TitleBar({components:[new Ho.MetadataLabel({content:Ho.MetadataLabelContent.Title}),new H3.CastToggleButton,new j3.VRToggleButton,new U3.PictureInPictureToggleButton,new F3.AirPlayToggleButton,new sh.VolumeToggleButton,new ec.SettingsToggleButton({settingsPanel:A}),new tc.FullscreenToggleButton]}),A,new lh.Watermark,new nc.ErrorMessageOverlay],cssClasses:["ui-skin-smallscreen"],hideDelay:2e3,hidePlayerStateExceptions:[hn.PlayerUtils.PlayerState.Prepared,hn.PlayerUtils.PlayerState.Paused,hn.PlayerUtils.PlayerState.Finished]})}H.modernSmallScreenUI=P;function t(){return new Fo.UIContainer({components:[new Ur.BufferingOverlay,new ch.AdClickOverlay,new Fr.PlaybackToggleOverlay,new ru.TitleBar({components:[new GE.Label({cssClass:"label-metadata-title"}),new tc.FullscreenToggleButton]}),new pi.Container({components:[new dh.AdMessageLabel({text:"Ad: {remainingTime} secs"}),new fh.AdSkipButton],cssClass:"ui-ads-status"})],cssClasses:["ui-skin-ads","ui-skin-smallscreen"],hideDelay:2e3,hidePlayerStateExceptions:[hn.PlayerUtils.PlayerState.Prepared,hn.PlayerUtils.PlayerState.Paused,hn.PlayerUtils.PlayerState.Finished]})}H.modernSmallScreenAdsUI=t;function _(){var f=new Uo.ControlBar({components:[new pi.Container({components:[new Fn.PlaybackTimeLabel({timeLabelMode:Fn.PlaybackTimeLabelMode.CurrentTime,hideInLivePlayback:!0}),new Zl.SeekBar({smoothPlaybackPositionUpdateIntervalMs:-1}),new Fn.PlaybackTimeLabel({timeLabelMode:Fn.PlaybackTimeLabelMode.TotalTime,cssClasses:["text-right"]})],cssClasses:["controlbar-top"]})]});return new WE.CastUIContainer({components:[new Xl.SubtitleOverlay,new Ur.BufferingOverlay,new Fr.PlaybackToggleOverlay,new lh.Watermark,f,new ru.TitleBar({keepHiddenWithoutMetadata:!0}),new nc.ErrorMessageOverlay],cssClasses:["ui-skin-cast-receiver"],hideDelay:2e3,hidePlayerStateExceptions:[hn.PlayerUtils.PlayerState.Prepared,hn.PlayerUtils.PlayerState.Paused,hn.PlayerUtils.PlayerState.Finished]})}H.modernCastReceiverUI=_;function a(f,p){p===void 0&&(p={});var A=600;return new ic.UIManager(f,[{ui:t(),condition:function(x){return x.isMobile&&x.documentWidth<A&&x.isAd&&x.adRequiresUi}},{ui:$(),condition:function(x){return x.isAd&&x.adRequiresUi}},{ui:P(),condition:function(x){return!x.isAd&&!x.adRequiresUi&&x.isMobile&&x.documentWidth<A}},{ui:m(p),condition:function(x){return!x.isAd&&!x.adRequiresUi}}],p)}H.buildModernUI=a;function r(f,p){return p===void 0&&(p={}),new ic.UIManager(f,[{ui:t(),condition:function(A){return A.isAd&&A.adRequiresUi}},{ui:P(),condition:function(A){return!A.isAd&&!A.adRequiresUi}}],p)}H.buildModernSmallScreenUI=r;function o(f,p){return p===void 0&&(p={}),new ic.UIManager(f,_(),p)}H.buildModernCastReceiverUI=o;function l(f,p){return p===void 0&&(p={}),new ic.UIManager(f,[jo(jo({},h()),{condition:function(A){return A.isAd&&A.adRequiresUi}}),jo(jo({},d()),{condition:function(A){return!A.isAd&&!A.adRequiresUi}})],p)}H.buildModernTvUI=l;function d(){var f=new qE.SubtitleListBox,p=new Jl.SettingsPanel({components:[new Ql.SettingsPanelPage({components:[new _i.SettingsPanelItem(null,f)]})],hidden:!0}),A=new KE.AudioTrackListBox,x=new Jl.SettingsPanel({components:[new Ql.SettingsPanelPage({components:[new _i.SettingsPanelItem(null,A)]})],hidden:!0}),I=new Zl.SeekBar({label:new ah.SeekBarLabel}),T=new Fr.PlaybackToggleOverlay,y=new ec.SettingsToggleButton({settingsPanel:p,autoHideWhenNoActiveSettings:!0,cssClass:"ui-subtitlesettingstogglebutton",text:Sn.i18n.getLocalizer("settings.subtitles")}),E=new ec.SettingsToggleButton({settingsPanel:x,autoHideWhenNoActiveSettings:!0,cssClass:"ui-audiotracksettingstogglebutton",ariaLabel:Sn.i18n.getLocalizer("settings.audio.track"),text:Sn.i18n.getLocalizer("settings.audio.track")}),S=new Fo.UIContainer({components:[new Xl.SubtitleOverlay,new Ur.BufferingOverlay,T,new Uo.ControlBar({components:[new pi.Container({components:[new Fn.PlaybackTimeLabel({timeLabelMode:Fn.PlaybackTimeLabelMode.CurrentTime,hideInLivePlayback:!0}),I,new Fn.PlaybackTimeLabel({timeLabelMode:Fn.PlaybackTimeLabelMode.RemainingTime,cssClasses:["text-right"]})],cssClasses:["controlbar-top"]})]}),new ru.TitleBar({components:[new pi.Container({components:[new Ho.MetadataLabel({content:Ho.MetadataLabelContent.Title}),y,E],cssClasses:["ui-titlebar-top"]}),new pi.Container({components:[new Ho.MetadataLabel({content:Ho.MetadataLabelContent.Description}),p,x],cssClasses:["ui-titlebar-bottom"]})]}),new uh.RecommendationOverlay,new nc.ErrorMessageOverlay],cssClasses:["ui-skin-tv"],hideDelay:2e3,hidePlayerStateExceptions:[hn.PlayerUtils.PlayerState.Prepared,hn.PlayerUtils.PlayerState.Paused,hn.PlayerUtils.PlayerState.Finished]}),b=new W3.SpatialNavigation(new q3.RootNavigationGroup(S,T,I,E,y),new rc.ListNavigationGroup(rc.ListOrientation.Vertical,p,f),new rc.ListNavigationGroup(rc.ListOrientation.Vertical,x,A));return{ui:S,spatialNavigation:b}}H.modernTvUI=d;function h(){var f=new fh.AdSkipButton,p=new oh.PlaybackToggleButton,A=new Fo.UIContainer({components:[new Ur.BufferingOverlay,new ch.AdClickOverlay,new Fr.PlaybackToggleOverlay,new pi.Container({components:[new dh.AdMessageLabel({text:Sn.i18n.getLocalizer("ads.remainingTime")}),f],cssClass:"ui-ads-status"}),new Uo.ControlBar({components:[new pi.Container({components:[p],cssClasses:["controlbar-bottom"]})]})],cssClasses:["ui-skin-tv","ui-skin-ads"],hideDelay:2e3,hidePlayerStateExceptions:[hn.PlayerUtils.PlayerState.Prepared,hn.PlayerUtils.PlayerState.Paused,hn.PlayerUtils.PlayerState.Finished]}),x=new W3.SpatialNavigation(new q3.RootNavigationGroup(A,p,f));return{ui:A,spatialNavigation:x}}H.modernTvAdsUI=h})(YE=Hr.UIFactory||(Hr.UIFactory={}))});var Y3=nt(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});ou.DemoFactory=void 0;var XE=Al(),_h=Pl(),QE=eu(),ac=pl(),JE=Tl(),ZE=Nl(),e9=Gs(),t9=El(),n9=Il(),i9=Ol(),r9=js(),a9=Hs(),o9=Ml(),s9=ha(),u9=Dl(),l9=hl(),ph=Lr(),c9=bl(),d9=xl(),f9=$l(),h9=Bs(),K3=Zt(),_9=Zs(),p9=Js(),v9=Qs(),g9=Fs(),m9=cl(),y9=Rl(),S9=Cl(),b9=Bl(),$9=Ul(),au=Or(),vh=Ia(),gh=hh(),z3=mh(),T9;(function(H){function u(i,c){c===void 0&&(c={});var m=600;return new m9.UIManager(i,[{ui:gh.UIFactory.modernSmallScreenAdsUI(),condition:function($){return $.isMobile&&$.documentWidth<m&&$.isAd&&$.adRequiresUi}},{ui:gh.UIFactory.modernAdsUI(),condition:function($){return $.isAd&&$.adRequiresUi}},{ui:gh.UIFactory.modernSmallScreenUI(),condition:function($){return $.isMobile&&$.documentWidth<m}},{ui:n()}],c)}H.buildDemoWithSeparateAudioSubtitlesButtons=u;function n(){var i=new l9.SubtitleOverlay,c=new ph.SettingsPanel({components:[new vh.SettingsPanelPage({components:[new au.SettingsPanelItem("Video Quality",new g9.VideoQualitySelectBox),new au.SettingsPanelItem("Speed",new r9.PlaybackSpeedSelectBox),new au.SettingsPanelItem("Audio Quality",new a9.AudioQualitySelectBox)]})],hidden:!0}),m=new b9.SubtitleListBox,$=new ph.SettingsPanel({components:[new vh.SettingsPanelPage({components:[new au.SettingsPanelItem(null,m)]})],hidden:!0}),P=new $9.AudioTrackListBox,t=new ph.SettingsPanel({components:[new vh.SettingsPanelPage({components:[new au.SettingsPanelItem(null,P)]})],hidden:!0}),_=new e9.ControlBar({components:[t,$,c,new K3.Container({components:[new ac.PlaybackTimeLabel({timeLabelMode:ac.PlaybackTimeLabelMode.CurrentTime,hideInLivePlayback:!0}),new v9.SeekBar({label:new c9.SeekBarLabel}),new ac.PlaybackTimeLabel({timeLabelMode:ac.PlaybackTimeLabelMode.TotalTime,cssClasses:["text-right"]})],cssClasses:["controlbar-top"]}),new K3.Container({components:[new p9.PlaybackToggleButton,new z3.QuickSeekButton({seekSeconds:-10}),new z3.QuickSeekButton({seekSeconds:10}),new _9.VolumeToggleButton,new QE.VolumeSlider,new h9.Spacer,new f9.PictureInPictureToggleButton,new JE.AirPlayToggleButton,new t9.CastToggleButton,new XE.VRToggleButton,new _h.SettingsToggleButton({settingsPanel:t,cssClass:"ui-audiotracksettingstogglebutton"}),new _h.SettingsToggleButton({settingsPanel:$,cssClass:"ui-subtitlesettingstogglebutton"}),new _h.SettingsToggleButton({settingsPanel:c}),new n9.FullscreenToggleButton],cssClasses:["controlbar-bottom"]})]});return new s9.UIContainer({components:[i,new S9.BufferingOverlay,new d9.PlaybackToggleOverlay,new o9.CastStatusOverlay,_,new y9.TitleBar,new i9.RecommendationOverlay,new u9.Watermark,new ZE.ErrorMessageOverlay]})}})(T9=ou.DemoFactory||(ou.DemoFactory={}))});var X3=nt(Vo=>{"use strict";var E9=Vo&&Vo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Vo,"__esModule",{value:!0});Vo.ItemSelectionList=void 0;var A9=Us(),yh=yn(),P9=yt(),AM=Vo.ItemSelectionList=(function(H){E9(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{tag:"ul",cssClass:"ui-itemselectionlist"},i.config),i}return u.prototype.isActive=function(){return this.items.length>1},u.prototype.toDomElement=function(){var n=new yh.DOM("ul",{id:this.config.id,class:this.getCssClasses()},this);return this.listElement=n,this.updateDomItems(),n},u.prototype.updateDomItems=function(n){var i=this;n===void 0&&(n=null),this.listElement.empty();for(var c=null,m=function(o){o.addClass(i.prefixCss(u.CLASS_SELECTED))},$=function(o){o.removeClass(i.prefixCss(u.CLASS_SELECTED))},P=function(o){var l=new yh.DOM("li",{type:"li",class:t.prefixCss("ui-selectionlistitem")}).append(new yh.DOM("a",{}).html(P9.i18n.performLocalization(o.label)));c||(n==null||String(n)===o.key)&&(c=l),l.on("click",function(){c&&$(c),c=l,m(l),i.onItemSelectedEvent(o.key,!1)}),c&&m(c),t.listElement.append(l)},t=this,_=0,a=this.items;_<a.length;_++){var r=a[_];P(r)}},u.prototype.onItemAddedEvent=function(n){H.prototype.onItemAddedEvent.call(this,n),this.updateDomItems(this.selectedItem)},u.prototype.onItemRemovedEvent=function(n){H.prototype.onItemRemovedEvent.call(this,n),this.updateDomItems(this.selectedItem)},u.prototype.onItemSelectedEvent=function(n,i){i===void 0&&(i=!0),H.prototype.onItemSelectedEvent.call(this,n),i&&this.updateDomItems(n)},u.CLASS_SELECTED="selected",u})(A9.ListSelector)});var Q3=nt(Go=>{"use strict";var I9=Go&&Go.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Go,"__esModule",{value:!0});Go.VolumeControlButton=void 0;var C9=Zt(),x9=eu(),M9=Zs(),k9=Wi(),w9=(function(H){I9(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.volumeToggleButton=new M9.VolumeToggleButton,i.volumeSlider=new x9.VolumeSlider({vertical:n.vertical!=null?n.vertical:!0,hidden:!0}),i.config=i.mergeConfig(n,{cssClass:"ui-volumecontrolbutton",components:[i.volumeToggleButton,i.volumeSlider],hideDelay:500},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getVolumeToggleButton(),$=this.getVolumeSlider();this.volumeSliderHideTimeout=new k9.Timeout(this.getConfig().hideDelay,function(){$.hide()});var P=!1;m.getDomElement().on("mouseenter",function(){$.isHidden()&&$.show(),c.volumeSliderHideTimeout.clear()}),m.getDomElement().on("mouseleave",function(){c.volumeSliderHideTimeout.reset()}),$.getDomElement().on("mouseenter",function(){c.volumeSliderHideTimeout.clear(),P=!0}),$.getDomElement().on("mouseleave",function(){$.isSeeking()?c.volumeSliderHideTimeout.clear():c.volumeSliderHideTimeout.reset(),P=!1}),$.onSeeked.subscribe(function(){P||c.volumeSliderHideTimeout.reset()})},u.prototype.release=function(){H.prototype.release.call(this),this.volumeSliderHideTimeout.clear()},u.prototype.getVolumeToggleButton=function(){return this.volumeToggleButton},u.prototype.getVolumeSlider=function(){return this.volumeSlider},u})(C9.Container);Go.VolumeControlButton=w9});var Z3=nt(Wo=>{"use strict";var R9=Wo&&Wo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Wo,"__esModule",{value:!0});Wo.ReplayButton=void 0;var O9=si(),J3=yt(),L9=oi(),D9=(function(H){R9(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-replaybutton",text:J3.i18n.getLocalizer("replay"),ariaLabel:J3.i18n.getLocalizer("replay")},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),n.isLive()&&this.hide();var m=new L9.PlayerUtils.LiveStreamDetector(n,i);m.onLiveChanged.subscribe(function($,P){P.live?c.hide():c.show()}),this.onClick.subscribe(function(){n.hasEnded()?n.play("ui"):n.seek(0)})},u})(O9.Button);Wo.ReplayButton=D9});var tv=nt(qo=>{"use strict";var N9=qo&&qo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(qo,"__esModule",{value:!0});qo.QuickSeekButton=void 0;var B9=si(),ev=yt(),oc=oi(),U9=(function(H){N9(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;i.onSeek=function(m){i.currentSeekTarget=m.seekTarget},i.onSeekedOrTimeShifted=function(){i.currentSeekTarget=null},i.onTimeShift=function(m){i.currentSeekTarget=i.player.getTimeShift()+(m.target-m.position)},i.currentSeekTarget=null,i.config=i.mergeConfig(n,{seekSeconds:-10,cssClass:"ui-quickseekbutton"},i.config);var c=i.config.seekSeconds<0?"rewind":"forward";return i.config.text=i.config.text||ev.i18n.getLocalizer("quickseek.".concat(c)),i.config.ariaLabel=i.config.ariaLabel||ev.i18n.getLocalizer("quickseek.".concat(c),{seekSeconds:Math.abs(i.config.seekSeconds)}),i.getDomElement().data(i.prefixCss("seek-direction"),c),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.player=n;var m,$,P=function(a,r){a&&!r?c.hide():c.show()},t=new oc.PlayerUtils.TimeShiftAvailabilityDetector(n);t.onTimeShiftAvailabilityChanged.subscribe(function(a,r){$=r.timeShiftAvailable,P(m,$)});var _=new oc.PlayerUtils.LiveStreamDetector(n,i);_.onLiveChanged.subscribe(function(a,r){m=r.live,P(m,$)}),t.detect(),_.detect(),this.onClick.subscribe(function(){if(!(m&&!$)&&!(m&&c.config.seekSeconds>0&&n.getTimeShift()===0)){var a=c.currentSeekTarget!==null?c.currentSeekTarget:m?n.getTimeShift():n.getCurrentTime(),r=a+c.config.seekSeconds;if(m){var o=oc.PlayerUtils.clampValueToRange(r,n.getMaxTimeShift(),0);n.timeShift(o)}else{var o=oc.PlayerUtils.clampValueToRange(r,0,n.getDuration());n.seek(o)}}}),this.player.on(this.player.exports.PlayerEvent.Seek,this.onSeek),this.player.on(this.player.exports.PlayerEvent.Seeked,this.onSeekedOrTimeShifted),this.player.on(this.player.exports.PlayerEvent.TimeShift,this.onTimeShift),this.player.on(this.player.exports.PlayerEvent.TimeShifted,this.onSeekedOrTimeShifted)},u.prototype.release=function(){this.player.off(this.player.exports.PlayerEvent.Seek,this.onSeek),this.player.off(this.player.exports.PlayerEvent.Seeked,this.onSeekedOrTimeShifted),this.player.off(this.player.exports.PlayerEvent.TimeShift,this.onTimeShift),this.player.off(this.player.exports.PlayerEvent.TimeShifted,this.onSeekedOrTimeShifted),this.currentSeekTarget=null,this.player=null},u})(B9.Button);qo.QuickSeekButton=U9});var mh=nt(Ge=>{"use strict";var F9=Ge&&Ge.__createBinding||(Object.create?(function(H,u,n,i){i===void 0&&(i=n);var c=Object.getOwnPropertyDescriptor(u,n);(!c||("get"in c?!u.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return u[n]}}),Object.defineProperty(H,i,c)}):(function(H,u,n,i){i===void 0&&(i=n),H[i]=u[n]})),nv=Ge&&Ge.__exportStar||function(H,u){for(var n in H)n!=="default"&&!Object.prototype.hasOwnProperty.call(u,n)&&F9(u,H,n)};Object.defineProperty(Ge,"__esModule",{value:!0});Ge.ClickOverlay=Ge.VolumeControlButton=Ge.TitleBar=Ge.SubtitleSelectBox=Ge.SubtitleOverlay=Ge.SeekBarLabel=Ge.RecommendationOverlay=Ge.ErrorMessageOverlay=Ge.Component=Ge.CastToggleButton=Ge.CastStatusOverlay=Ge.AudioTrackSelectBox=Ge.AudioQualitySelectBox=Ge.Label=Ge.Container=Ge.UIContainer=Ge.Watermark=Ge.VRToggleButton=Ge.VolumeToggleButton=Ge.VideoQualitySelectBox=Ge.ToggleButton=Ge.SettingsToggleButton=Ge.SettingsPanel=Ge.ItemSelectionList=Ge.SelectBox=Ge.SeekBar=Ge.PlaybackToggleButton=Ge.PlaybackTimeLabelMode=Ge.PlaybackTimeLabel=Ge.HugePlaybackToggleButton=Ge.FullscreenToggleButton=Ge.ControlBar=Ge.Button=Ge.ListOrientation=Ge.ListNavigationGroup=Ge.RootNavigationGroup=Ge.NavigationGroup=Ge.SpatialNavigation=Ge.I18n=Ge.i18n=Ge.ErrorUtils=Ge.StorageUtils=Ge.BrowserUtils=Ge.UIUtils=Ge.PlayerUtils=Ge.StringUtils=Ge.ArrayUtils=Ge.DemoFactory=Ge.UIFactory=Ge.version=void 0;Ge.ListSelector=Ge.QuickSeekButton=Ge.ReplayButton=Ge.SettingsPanelItem=Ge.SubtitleSettingsPanelPage=Ge.SettingsPanelPageOpenButton=Ge.SettingsPanelPageBackButton=Ge.SettingsPanelPage=Ge.AudioTrackListBox=Ge.SubtitleListBox=Ge.ListBox=Ge.SubtitleSettingsResetButton=Ge.WindowOpacitySelectBox=Ge.WindowColorSelectBox=Ge.SubtitleSettingsLabel=Ge.SubtitleSettingSelectBox=Ge.FontSizeSelectBox=Ge.FontOpacitySelectBox=Ge.FontFamilySelectBox=Ge.FontColorSelectBox=Ge.CharacterEdgeSelectBox=Ge.BackgroundOpacitySelectBox=Ge.BackgroundColorSelectBox=Ge.Spacer=Ge.PictureInPictureToggleButton=Ge.VolumeSlider=Ge.AirPlayToggleButton=Ge.MetadataLabelContent=Ge.MetadataLabel=Ge.CloseButton=Ge.PlaybackToggleOverlay=Ge.CastUIContainer=Ge.BufferingOverlay=Ge.HugeReplayButton=Ge.PlaybackSpeedSelectBox=Ge.AdClickOverlay=Ge.AdMessageLabel=Ge.AdSkipButton=void 0;Ge.version="3.103.1";nv(cl(),Ge);nv(yp(),Ge);var H9=hh();Object.defineProperty(Ge,"UIFactory",{enumerable:!0,get:function(){return H9.UIFactory}});var j9=Y3();Object.defineProperty(Ge,"DemoFactory",{enumerable:!0,get:function(){return j9.DemoFactory}});var V9=ur();Object.defineProperty(Ge,"ArrayUtils",{enumerable:!0,get:function(){return V9.ArrayUtils}});var G9=_r();Object.defineProperty(Ge,"StringUtils",{enumerable:!0,get:function(){return G9.StringUtils}});var W9=oi();Object.defineProperty(Ge,"PlayerUtils",{enumerable:!0,get:function(){return W9.PlayerUtils}});var q9=Ls();Object.defineProperty(Ge,"UIUtils",{enumerable:!0,get:function(){return q9.UIUtils}});var K9=lr();Object.defineProperty(Ge,"BrowserUtils",{enumerable:!0,get:function(){return K9.BrowserUtils}});var z9=ll();Object.defineProperty(Ge,"StorageUtils",{enumerable:!0,get:function(){return z9.StorageUtils}});var Y9=Gf();Object.defineProperty(Ge,"ErrorUtils",{enumerable:!0,get:function(){return Y9.ErrorUtils}});var iv=yt();Object.defineProperty(Ge,"i18n",{enumerable:!0,get:function(){return iv.i18n}});Object.defineProperty(Ge,"I18n",{enumerable:!0,get:function(){return iv.I18n}});var X9=Zf();Object.defineProperty(Ge,"SpatialNavigation",{enumerable:!0,get:function(){return X9.SpatialNavigation}});var Q9=Yl();Object.defineProperty(Ge,"NavigationGroup",{enumerable:!0,get:function(){return Q9.NavigationGroup}});var J9=nh();Object.defineProperty(Ge,"RootNavigationGroup",{enumerable:!0,get:function(){return J9.RootNavigationGroup}});var rv=rh();Object.defineProperty(Ge,"ListNavigationGroup",{enumerable:!0,get:function(){return rv.ListNavigationGroup}});Object.defineProperty(Ge,"ListOrientation",{enumerable:!0,get:function(){return rv.ListOrientation}});var Z9=si();Object.defineProperty(Ge,"Button",{enumerable:!0,get:function(){return Z9.Button}});var e8=Gs();Object.defineProperty(Ge,"ControlBar",{enumerable:!0,get:function(){return e8.ControlBar}});var t8=Il();Object.defineProperty(Ge,"FullscreenToggleButton",{enumerable:!0,get:function(){return t8.FullscreenToggleButton}});var n8=jf();Object.defineProperty(Ge,"HugePlaybackToggleButton",{enumerable:!0,get:function(){return n8.HugePlaybackToggleButton}});var av=pl();Object.defineProperty(Ge,"PlaybackTimeLabel",{enumerable:!0,get:function(){return av.PlaybackTimeLabel}});Object.defineProperty(Ge,"PlaybackTimeLabelMode",{enumerable:!0,get:function(){return av.PlaybackTimeLabelMode}});var i8=Js();Object.defineProperty(Ge,"PlaybackToggleButton",{enumerable:!0,get:function(){return i8.PlaybackToggleButton}});var r8=Qs();Object.defineProperty(Ge,"SeekBar",{enumerable:!0,get:function(){return r8.SeekBar}});var a8=Oi();Object.defineProperty(Ge,"SelectBox",{enumerable:!0,get:function(){return a8.SelectBox}});var o8=X3();Object.defineProperty(Ge,"ItemSelectionList",{enumerable:!0,get:function(){return o8.ItemSelectionList}});var s8=Lr();Object.defineProperty(Ge,"SettingsPanel",{enumerable:!0,get:function(){return s8.SettingsPanel}});var u8=Pl();Object.defineProperty(Ge,"SettingsToggleButton",{enumerable:!0,get:function(){return u8.SettingsToggleButton}});var l8=ci();Object.defineProperty(Ge,"ToggleButton",{enumerable:!0,get:function(){return l8.ToggleButton}});var c8=Fs();Object.defineProperty(Ge,"VideoQualitySelectBox",{enumerable:!0,get:function(){return c8.VideoQualitySelectBox}});var d8=Zs();Object.defineProperty(Ge,"VolumeToggleButton",{enumerable:!0,get:function(){return d8.VolumeToggleButton}});var f8=Al();Object.defineProperty(Ge,"VRToggleButton",{enumerable:!0,get:function(){return f8.VRToggleButton}});var h8=Dl();Object.defineProperty(Ge,"Watermark",{enumerable:!0,get:function(){return h8.Watermark}});var _8=ha();Object.defineProperty(Ge,"UIContainer",{enumerable:!0,get:function(){return _8.UIContainer}});var p8=Zt();Object.defineProperty(Ge,"Container",{enumerable:!0,get:function(){return p8.Container}});var v8=li();Object.defineProperty(Ge,"Label",{enumerable:!0,get:function(){return v8.Label}});var g8=Hs();Object.defineProperty(Ge,"AudioQualitySelectBox",{enumerable:!0,get:function(){return g8.AudioQualitySelectBox}});var m8=hf();Object.defineProperty(Ge,"AudioTrackSelectBox",{enumerable:!0,get:function(){return m8.AudioTrackSelectBox}});var y8=Ml();Object.defineProperty(Ge,"CastStatusOverlay",{enumerable:!0,get:function(){return y8.CastStatusOverlay}});var S8=El();Object.defineProperty(Ge,"CastToggleButton",{enumerable:!0,get:function(){return S8.CastToggleButton}});var b8=Bn();Object.defineProperty(Ge,"Component",{enumerable:!0,get:function(){return b8.Component}});var $8=Nl();Object.defineProperty(Ge,"ErrorMessageOverlay",{enumerable:!0,get:function(){return $8.ErrorMessageOverlay}});var T8=Ol();Object.defineProperty(Ge,"RecommendationOverlay",{enumerable:!0,get:function(){return T8.RecommendationOverlay}});var E8=bl();Object.defineProperty(Ge,"SeekBarLabel",{enumerable:!0,get:function(){return E8.SeekBarLabel}});var A8=hl();Object.defineProperty(Ge,"SubtitleOverlay",{enumerable:!0,get:function(){return A8.SubtitleOverlay}});var P8=wf();Object.defineProperty(Ge,"SubtitleSelectBox",{enumerable:!0,get:function(){return P8.SubtitleSelectBox}});var I8=Rl();Object.defineProperty(Ge,"TitleBar",{enumerable:!0,get:function(){return I8.TitleBar}});var C8=Q3();Object.defineProperty(Ge,"VolumeControlButton",{enumerable:!0,get:function(){return C8.VolumeControlButton}});var x8=Ll();Object.defineProperty(Ge,"ClickOverlay",{enumerable:!0,get:function(){return x8.ClickOverlay}});var M8=zf();Object.defineProperty(Ge,"AdSkipButton",{enumerable:!0,get:function(){return M8.AdSkipButton}});var k8=Kf();Object.defineProperty(Ge,"AdMessageLabel",{enumerable:!0,get:function(){return k8.AdMessageLabel}});var w8=qf();Object.defineProperty(Ge,"AdClickOverlay",{enumerable:!0,get:function(){return w8.AdClickOverlay}});var R8=js();Object.defineProperty(Ge,"PlaybackSpeedSelectBox",{enumerable:!0,get:function(){return R8.PlaybackSpeedSelectBox}});var O8=Vf();Object.defineProperty(Ge,"HugeReplayButton",{enumerable:!0,get:function(){return O8.HugeReplayButton}});var L8=Cl();Object.defineProperty(Ge,"BufferingOverlay",{enumerable:!0,get:function(){return L8.BufferingOverlay}});var D8=Xf();Object.defineProperty(Ge,"CastUIContainer",{enumerable:!0,get:function(){return D8.CastUIContainer}});var N8=xl();Object.defineProperty(Ge,"PlaybackToggleOverlay",{enumerable:!0,get:function(){return N8.PlaybackToggleOverlay}});var B8=Yf();Object.defineProperty(Ge,"CloseButton",{enumerable:!0,get:function(){return B8.CloseButton}});var ov=wl();Object.defineProperty(Ge,"MetadataLabel",{enumerable:!0,get:function(){return ov.MetadataLabel}});Object.defineProperty(Ge,"MetadataLabelContent",{enumerable:!0,get:function(){return ov.MetadataLabelContent}});var U8=Tl();Object.defineProperty(Ge,"AirPlayToggleButton",{enumerable:!0,get:function(){return U8.AirPlayToggleButton}});var F8=eu();Object.defineProperty(Ge,"VolumeSlider",{enumerable:!0,get:function(){return F8.VolumeSlider}});var H8=$l();Object.defineProperty(Ge,"PictureInPictureToggleButton",{enumerable:!0,get:function(){return H8.PictureInPictureToggleButton}});var j8=Bs();Object.defineProperty(Ge,"Spacer",{enumerable:!0,get:function(){return j8.Spacer}});var V8=Sf();Object.defineProperty(Ge,"BackgroundColorSelectBox",{enumerable:!0,get:function(){return V8.BackgroundColorSelectBox}});var G8=bf();Object.defineProperty(Ge,"BackgroundOpacitySelectBox",{enumerable:!0,get:function(){return G8.BackgroundOpacitySelectBox}});var W8=yf();Object.defineProperty(Ge,"CharacterEdgeSelectBox",{enumerable:!0,get:function(){return W8.CharacterEdgeSelectBox}});var q8=gf();Object.defineProperty(Ge,"FontColorSelectBox",{enumerable:!0,get:function(){return q8.FontColorSelectBox}});var K8=vf();Object.defineProperty(Ge,"FontFamilySelectBox",{enumerable:!0,get:function(){return K8.FontFamilySelectBox}});var z8=mf();Object.defineProperty(Ge,"FontOpacitySelectBox",{enumerable:!0,get:function(){return z8.FontOpacitySelectBox}});var Y8=_f();Object.defineProperty(Ge,"FontSizeSelectBox",{enumerable:!0,get:function(){return Y8.FontSizeSelectBox}});var X8=Jn();Object.defineProperty(Ge,"SubtitleSettingSelectBox",{enumerable:!0,get:function(){return X8.SubtitleSettingSelectBox}});var Q8=Mf();Object.defineProperty(Ge,"SubtitleSettingsLabel",{enumerable:!0,get:function(){return Q8.SubtitleSettingsLabel}});var J8=$f();Object.defineProperty(Ge,"WindowColorSelectBox",{enumerable:!0,get:function(){return J8.WindowColorSelectBox}});var Z8=Tf();Object.defineProperty(Ge,"WindowOpacitySelectBox",{enumerable:!0,get:function(){return Z8.WindowOpacitySelectBox}});var eA=Ef();Object.defineProperty(Ge,"SubtitleSettingsResetButton",{enumerable:!0,get:function(){return eA.SubtitleSettingsResetButton}});var tA=ba();Object.defineProperty(Ge,"ListBox",{enumerable:!0,get:function(){return tA.ListBox}});var nA=Bl();Object.defineProperty(Ge,"SubtitleListBox",{enumerable:!0,get:function(){return nA.SubtitleListBox}});var iA=Ul();Object.defineProperty(Ge,"AudioTrackListBox",{enumerable:!0,get:function(){return iA.AudioTrackListBox}});var rA=Ia();Object.defineProperty(Ge,"SettingsPanelPage",{enumerable:!0,get:function(){return rA.SettingsPanelPage}});var aA=Pf();Object.defineProperty(Ge,"SettingsPanelPageBackButton",{enumerable:!0,get:function(){return aA.SettingsPanelPageBackButton}});var oA=xf();Object.defineProperty(Ge,"SettingsPanelPageOpenButton",{enumerable:!0,get:function(){return oA.SettingsPanelPageOpenButton}});var sA=Cf();Object.defineProperty(Ge,"SubtitleSettingsPanelPage",{enumerable:!0,get:function(){return sA.SubtitleSettingsPanelPage}});var uA=Or();Object.defineProperty(Ge,"SettingsPanelItem",{enumerable:!0,get:function(){return uA.SettingsPanelItem}});var lA=Z3();Object.defineProperty(Ge,"ReplayButton",{enumerable:!0,get:function(){return lA.ReplayButton}});var cA=tv();Object.defineProperty(Ge,"QuickSeekButton",{enumerable:!0,get:function(){return cA.QuickSeekButton}});var dA=Us();Object.defineProperty(Ge,"ListSelector",{enumerable:!0,get:function(){return dA.ListSelector}});typeof Object.assign!="function"&&(Object.assign=function(H){"use strict";if(H==null)throw new TypeError("Cannot convert undefined or null to object");H=Object(H);for(var u=1;u<arguments.length;u++){var n=arguments[u];if(n!=null)for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(H[i]=n[i])}return H})});import{jsx as fA}from"react/jsx-runtime";import{forwardRef as hA,useCallback as _A,useEffect as sv,useRef as sc,useState as pA}from"react";function su(H,u){typeof H=="function"?H(u):H.current=u}function gA(H,u,n){if(u.ui!==!1)return n&&"containerFactory"in n?new uu.UIManager(H,n.containerFactory(),u.ui):n&&"variantsFactory"in n?new uu.UIManager(H,n.variantsFactory(),u.ui):uu.UIFactory.buildDefaultUI(H,u.ui)}function mA(H){let u={...H};return u.ui=!1,u}function yA(H,u,n){let i=new uv.Player(H,n);return i.setVideoElement(u),i}function SA(H){let u=document.createElement("div"),n=document.createElement("video");return H.appendChild(u),u.appendChild(n),{createdPlayerContainerElement:u,createdVideoElement:n}}function bA(H,u,n,i){n.style.display="none";let c=()=>{u.removeChild(n)};i&&i.release(),H.destroy().then(c,c)}var uv,uu,vA,lv=F0(()=>{"use strict";uv=Cr(z1(),1),uu=Cr(mh(),1),vA=hA(function({config:u,source:n,className:i,playerRef:c,customUi:m},$){let P=sc(null),t=h=>{su(P,h),$&&su($,h)},_=sc(!n),a=sc(!1),[r,o]=pA(),l=sc(),d=_A(h=>{c&&su(c,h)},[]);return sv(()=>{let h=P.current;if(!h)return;let{createdPlayerContainerElement:f,createdVideoElement:p}=SA(h),A=mA(u),x=yA(f,p,A),I=gA(x,u,m);return l.current=x,d(x),o(x),()=>{bA(x,h,f,I)}},[u,m,d]),sv(()=>{!r||r!==l.current||(n?(r.load(n),su(a,!0)):_.current&&!a.current||(r.unload(),su(a,!0)))},[n,r]),fA("div",{className:i,ref:t})})});var cv={};R2(cv,{BitmovinPlayer:()=>vA});var dv=F0(()=>{"use strict";lv()});import{PhontClient as rk,subtitleManager as ak}from"@phont-ai/subtitles-core";import{decodeAnimationUrl as sk,createPublishedAnimationResolver as uk,calculateAnimationState as lk}from"@phont-ai/subtitles-core";import z0,{useRef as Z2}from"react";import L2,{createContext as D2,useContext as N2}from"react";import{EMOTION_ANIMATION_URLS as Sd}from"@phont-ai/subtitles-core";var H0=D2(null);function ss({children:H,customUrls:u}){let n={emotionAnimationUrls:u?{...Sd,...u}:Sd};return L2.createElement(H0.Provider,{value:n},H)}function B2(){let H=N2(H0);return H||{emotionAnimationUrls:Sd}}import U2,{createContext as F2,useContext as H2,useMemo as j2,useState as V2}from"react";var G2={name:"default",fonts:{},fontWeights:{},colors:{},slants:{},glows:{}},W2={name:"children",fonts:{shout:"Baloo 2",anger:"Hello Kitty",neutral:"Borel",fear:"Baloo 2",whisper:"Borel"},fontWeights:{shout:800,anger:400,neutral:400,fear:600,whisper:400},colors:{neutral:"#ffffff",shout:"#c8ff80",anger:"#ff7676",fear:"#87cefa",whisper:"#ffffff"},slants:{shout:-10,fear:10,anger:0,neutral:0,whisper:0},glows:{shout:{threshold:.5,color:"#c8ff80",opacity:.75,blur:5},whisper:{threshold:.3,color:"#ffffff",opacity:.5,blur:2}}},j0={default:G2,children:W2};function V0(H="default"){return j0[H]||j0.default}var G0=F2(null);function bd({children:H,defaultStylesheet:u="default"}){let[n,i]=V2(u),c=j2(()=>({stylesheet:V0(n),activeStylesheet:n,setActiveStylesheet:i,switchToDefault:()=>i("default"),switchToChildren:()=>i("children"),isChildrenActive:n==="children"||n==="hello-kitty",isDefaultActive:n==="default"}),[n]);return U2.createElement(G0.Provider,{value:c},H)}function xr(){let H=H2(G0);return H||{stylesheet:V0("default"),activeStylesheet:"default",setActiveStylesheet:()=>{},switchToDefault:()=>{},switchToChildren:()=>{},isChildrenActive:!1,isDefaultActive:!0}}import{useEffect as q2,useRef as K2}from"react";import{createPublishedAnimationResolver as z2,getAnimationUrlForEmotion as Y2}from"@phont-ai/subtitles-core";var qu=null,q0=null,X2=typeof process<"u"&&process.env?.NEXT_PUBLIC_API_SUB_BASE_URL||"https://demo-api-dev.phont.ai",W0=typeof process<"u"&&process.env?.NEXT_PUBLIC_PHONT_ADMIN_TOKEN||"";function K0(){let H={};W0&&(H["x-admin-token"]=W0);let u=typeof window<"u"?sessionStorage.getItem("phont_sdk_auth_token")||sessionStorage.getItem("auth_token")||localStorage.getItem("auth_token"):null,n=typeof window<"u"?sessionStorage.getItem("phont_sdk_session_id")||sessionStorage.getItem("session_id"):null;return u&&(H.Authorization=`Bearer ${u}`),n&&(H["X-Session-ID"]=n),H}function Ku(H){let u=H.replace(/\/$/,"");return async n=>{let i=new URLSearchParams({stylesheet_name:n,is_active:"true"}),c=K0(),m=await fetch(`${u}/animations?${i}`,{headers:c});if(!m.ok)throw new Error(`HTTP ${m.status}`);return m.json()}}var Q2=Ku(X2);function J2(){return qu||(qu=z2(q0||Q2)),qu}function $d(H){q0=H,qu=null}function Td(){let H=K2(J2());return q2(()=>{H.current.prefetch("default");let u=()=>{H.current.invalidate(),H.current.prefetch("default")};return typeof window<"u"&&window.addEventListener("phont-sdk-auth-change",u),()=>{typeof window<"u"&&window.removeEventListener("phont-sdk-auth-change",u)}},[]),{resolve(u,n,i){if(typeof u=="string"&&u.length>0)return u;let{stylesheetName:c,segmentEmotion:m}=i||{},$=n&&n!=="none"?n:m||null;if($){if(c){let _=H.current.getSync($,c);if(_)return _}let t=H.current.getSync($,"default");if(t)return t}return Y2($||n||"none")},prefetch(u){H.current.prefetch(u)},invalidate(){H.current.invalidate()}}}function ey({children:H,apiBaseUrl:u,customEmotionUrls:n,defaultStylesheet:i="default"}){let c=Z2(void 0);return u&&c.current!==u&&(c.current=u,$d(Ku(u))),z0.createElement(ss,{customUrls:n},z0.createElement(bd,{defaultStylesheet:i},H))}import m1,{useEffect as wy,useRef as Ry}from"react";import{useState as a1,useEffect as ls,useMemo as Id,useRef as cs}from"react";import{subtitleManager as Ln,RENDERING_CONTROL as hy}from"@phont-ai/subtitles-core";import{useMemo as Vi,useEffect as e1}from"react";import ty,{createContext as ny,useContext as iy}from"react";var Y0=ny({isRTL:!1});function X0({children:H,isRTL:u=!1}){return ty.createElement(Y0.Provider,{value:{isRTL:u}},H)}function zu(){let H=iy(Y0);return H||{isRTL:!1}}import{useMemo as ry}from"react";import{processEmotionsWithImportance as ay}from"@phont-ai/subtitles-core";var Q0=6,oy=["anger","joy","sadness","fear","screaming","neutral","none","disgust","social_positive","surprise","social_negative","lust","calmness"];function J0(H,u=.2){return ry(()=>{if(!H||typeof H!="object")return{emotion:"none",intensity:0,allEmotions:[],importanceFactor:1};let n=u/Q0,i=Object.entries(H).filter(([o,l])=>oy.includes(o.toLowerCase())&&typeof l=="number"&&l>n);if(i.length===0)return{emotion:"none",intensity:0,allEmotions:[],importanceFactor:1};let m=ay(i).sort(([,,o],[,,l])=>l-o),[$,P,t,_,a]=m[0],r=Math.min(1,P*Q0);return{emotion:$.toLowerCase(),intensity:r,allEmotions:m,importanceFactor:_,isCore:a}},[H,u])}import{RENDERING_CONTROL as sy}from"@phont-ai/subtitles-core";function Ed(H,u,n,i){let c=H&&typeof H.start=="number",m=H&&typeof H.end=="number",$=typeof u?.start_time=="number"?u.start_time:0,P=typeof u?.end_time=="number"?u.end_time:$,t=c?H.start:$,_=m?H.end:P,a=Math.max(0,_-t),{minWordDisplayTime:r,breathingRoomSafetyBuffer:o,breathingRoomNoNextHold:l}=sy.timing,d=t+Math.max(a,r);if(!i)return d;let h;return typeof n=="number"&&n>_?h=n-(o??.1):n==null?h=P+(l??4):h=d,Math.max(d,h)}function Z0(H,u){return!H||H.length===0?null:H.find(n=>n&&typeof n.start_time=="number"&&typeof n.end_time=="number"&&u>=n.start_time&&u<=n.end_time)||null}import{ANIMATION_STYLING as $i,RENDERING_CONTROL as Pd,calculateAnimationParameters as t1,REFERENCE_INTENSITY as n1,resolveEffectiveGts as i1,capEmotionIntensity as uy,decodeAnimationUrl as Ad,subtitleManager as ly,getSubtitleText as cy,getSubtitleWords as dy,ensureFont as fy}from"@phont-ai/subtitles-core";var r1=Pd.timing.minWordDisplayTime;function us({segment:H,currentTime:u,maxExpression:n=1,threshold:i=.2,nextSegmentStartTime:c=null,extendedEndTime:m=null,transparentUntilSpoken:$=!1,disablePublishedAnimationFetch:P=!1,stylesheetName:t=null}){let{resolve:_,prefetch:a}=Td(),r=t??ly.vodState?.stylesheet??null,o=H?.emotion||null;e1(()=>{P||(a("default"),r&&r!=="default"&&a(r))},[P,a,r]);let l=H?.animation_url?Ad(H.animation_url)?.fontData?.style?.fontFamily:null;e1(()=>{l&&fy(l)},[l]);let d=!1,{isRTL:h}=zu(),f=Vi(()=>H?[H]:[],[H]),p=Vi(()=>{if(!f||f.length===0)return null;let de=Z0(f,u);if(de)return de;if(m&&H){let ie=H.end_time||0;if(u>ie&&u<=m){let Q=f[f.length-1];if(Q)return Q}}return null},[f,u,m,H]),A=p!=null,x=d?H:p,I=n<=.2,T=Vi(()=>{if(!A||!x)return null;let de=(x.emotion||"").toString().toLowerCase().trim(),ie=typeof x.emotion_intensity=="number"?x.emotion_intensity:0;return de&&de!=="none"&&ie>0?{[de]:ie}:de&&de!=="none"?null:x.animations||null},[A,x]),{emotion:y,intensity:E}=J0(T,i),S=I?"none":y,b=I?0:E,C=(de,ie,Q)=>P?typeof de=="string"&&de.length>0?de:null:_(de,ie,Q),O=typeof H?.animation_url=="string"&&H.animation_url.length>0,k=S&&S!=="none"?S:o,R=k&&!P?!!C(null,k,{stylesheetName:r,segmentEmotion:o}):!1,V=b===0&&(O||R)&&!I?n1:E,{isChildrenActive:q}=xr(),K=A?p.start_time:0,G=A?p.end_time:1,U=Math.max(.01,G-K),L=Math.max(0,Math.min(1,(u-K)/U)),F=`"${$i.defaultFont}", sans-serif`,Y=Vi(()=>Math.max(0,Math.min(1,(n-.2)/.8)),[n]),Z=Vi(()=>{if(I||!(typeof H?.animation_url=="string"&&H.animation_url.length>0)&&!(S&&S!=="none"||o&&o!=="none"))return null;let Q=C(H?.animation_url,S,{stylesheetName:r,segmentEmotion:o});return typeof Q!="string"||Q.length===0?null:Ad(Q)},[P,S,I,H,r,o]),te=H?.gts,ne=Vi(()=>{if(Z){let ee=i1(Y,te,void 0),ue=t1(Z,V,L,ee,U);if(ue){let he={...ue.fontVariationAxes};ue.weight!=null&&(he.wght=ue.weight),ue.width!=null&&(he.wdth=ue.width);let Se={fontSize:$i.fontSize,scale:ue.scale,opacity:ue.opacity,slant:ue.slant,weight:ue.weight,width:ue.width,textColor:ue.textColor,translateX:ue.translateX,translateY:ue.translateY,stretchY:ue.stretchY,textShadow:ue.textShadow,blur:ue.blur??0,outlineWidth:ue.outlineWidth??0,outlineColor:ue.outlineColor??"#000000",fontVariationAxes:he};return ue.stretchX!==void 0&&(Se.stretchX=ue.stretchX),ue.outline2Width!==void 0&&(Se.outline2Width=ue.outline2Width),ue.outline2Color!==void 0&&(Se.outline2Color=ue.outline2Color),ue.outline3Width!==void 0&&(Se.outline3Width=ue.outline3Width),ue.outline3Color!==void 0&&(Se.outline3Color=ue.outline3Color),ue.outlineShadowWidth!==void 0&&(Se.outlineShadowWidth=ue.outlineShadowWidth),ue.outlineShadowColor!==void 0&&(Se.outlineShadowColor=ue.outlineShadowColor),ue.outlineShadowBlur!==void 0&&(Se.outlineShadowBlur=ue.outlineShadowBlur),ue.glowIntensity!==void 0&&(Se.glowIntensity=ue.glowIntensity),ue.glowColor!==void 0&&(Se.glowColor=ue.glowColor),ue.snakeWave!==void 0&&(Se.snakeWave=ue.snakeWave),ue.karaoke!==void 0&&(Se.karaoke=ue.karaoke),Se}}let de=1+b*.16,ie={anger:-8,screaming:-11,fear:10,sadness:-4,joy:4,social_positive:2,surprise:6,disgust:-6,social_negative:-3,lust:-5,calmness:1.5},Q={anger:"#ff5d5d",screaming:"#ff4343",fear:"#8db2ff",sadness:"#9ec0ff",joy:"#ffe38a",social_positive:"#d7ff9b",surprise:"#fff4b3",disgust:"#9fffab",social_negative:"#c8ff9f",lust:"#ff80a8",calmness:"#f4f4ff"};return{fontSize:$i.fontSize,scale:S==="none"?1:de,opacity:1,slant:(ie[S]||0)*(S==="none"?0:b),weight:400,width:100,textColor:Q[S]||$i.textColor,translateX:0,translateY:0,stretchY:S==="fear"?Math.max(.88,1-.12*b):1,textShadow:"",fontVariationAxes:{}}},[Z,V,L,Y,te,U,S,b]),ae=Vi(()=>{let ie=(A&&H?dy(H):[]).flatMap(Se=>{let we=Se.word||"",De=we.trim();if(!De.includes(" "))return[Se];let st=De.split(/\s+/),Pe=(Se.end-Se.start)/st.length,ke=we.startsWith(" ");return st.map((Le,qe)=>({...Se,word:(qe===0&&ke?" ":"")+Le,start:Se.start+qe*Pe,end:Se.start+(qe+1)*Pe}))}),Q=!1,ee=null,ue=null;if(Q&&ee?.end){let Se=ie[ie.length-1],we=Ed(Se,H,c,!0),De=m||we,{minWordDisplayTime:Ke,breathingRoomDuration:st}=Pd.timing,Be=Ke+st,ke=(ie.length>0?Math.min(...ie.map(Le=>Le.start)):ee.start)+Be;ue=Math.max(ee.end,De,ke)}return ie.map((Se,we)=>{let De=we===ie.length-1,Ke=Ed(Se,H,c,De);if(De||(Ke=Math.max(Ke,Se.start+r1)),Q&&ue){let st=Math.max(Ke,ue);return{...Se,animationEnd:st}}else return{...Se,animationEnd:Ke}})},[A,H,c,m]),oe=-1,_e=[],me=Vi(()=>{if(!A)return 1;let de=Pd.timing.fadeOutDuration??0;if(de<=0)return 1;let ie=m||G;if(!ie)return 1;let Q=ie-de;return u<=Q?1:u>=ie?0:Math.max(0,1-(u-Q)/de)},[A,m,G,u]),$e=Vi(()=>A?ae.map((de,ie)=>{let Q=de.animationEnd||de.end,ee=u>=de.start&&u<Q,ue=S,he=I?0:b,Se=b,we=A&&p.volume||.5,De=null;q&&(we>=.7?De="shout":we<=.3?De="whisper":we>=.4&&we<=.6&&(De=null)),d&&(he!==0&&(he=uy(he,n)),q&&De===null&&(De="neutral"));let Ke=Math.max(0,de.end-de.start),st=Math.max(Ke,r1),Be=Math.max(0,Math.min(1,(u-de.start)/st)),Pe=x,ke=Pe?.emotion||o,Le=null;if(!I&&(typeof Pe?.animation_url=="string"&&Pe.animation_url.length>0||(ue&&ue!=="none"||ke&&ke!=="none"))){let Je=C(Pe?.animation_url,ue,{stylesheetName:r,segmentEmotion:ke});typeof Je=="string"&&Je.length>0&&(Le=Ad(Je))}let tt=typeof Pe?.animation_url=="string"&&Pe.animation_url.length>0||!!Le,je=Se===0&&tt&&!I?n1:Se,at=i1(Y,te,de?.gts),Ze=Le?t1(Le,je,Be,at,st):null,Xe=Le?.fontData?.style?.fontFamily||null,Oe=$i.defaultFont;if(Ze&&Xe){let Ye=Xe.match(/["']?([^"',]+)["']?/),et=Ye?Ye[1].trim():Xe;et.toLowerCase().includes("bricolage")?Oe="Bricolage Grotesque":et.toLowerCase().includes("rakkas")?Oe=$i.angryFont:et.toLowerCase().includes("parkinsans")?Oe=$i.joyFont:et.toLowerCase().includes("cormorant")?Oe=$i.sadnessFont:et.toLowerCase().includes("roboto")?Oe=$i.defaultFont:Oe=et}let ye=Ze?.opacity??ne.opacity??1;$&&u<de.start&&(ye*=.5),ye*=me;let Re={...ne,fontSize:$i.fontSize,scale:Ze?.scale??ne.scale??1,slant:Ze?.slant??ne.slant??0,stretchY:Ze?.stretchY??ne.stretchY??1,weight:Ze?.weight??ne.weight??400,width:Ze?.width??ne.width??100,textColor:Ze?.textColor||ne.textColor||$i.textColor,opacity:ye,translateX:Ze?.translateX??ne.translateX??0,translateY:Ze?.translateY??ne.translateY??0,textShadow:Ze?.textShadow||ne.textShadow||"",blur:Ze?.blur??ne.blur??0,outlineWidth:Ze?.outlineWidth??ne.outlineWidth??0,outlineColor:Ze?.outlineColor??ne.outlineColor??"#000000",letterShake:Ze?.fear??0,fontVariationAxes:{...ne.fontVariationAxes,...Ze?.fontVariationAxes},urlJoy:Ze?.joy??0,urlFear:Ze?.fear??0,urlJoyProgress:Ze?.joyWaveProgress??0},Me=Ye=>{let et=Ze?.[Ye]??ne[Ye];et!==void 0&&(Re[Ye]=et)};return Me("stretchX"),Me("outline2Width"),Me("outline2Color"),Me("outline3Width"),Me("outline3Color"),Me("outlineShadowWidth"),Me("outlineShadowColor"),Me("outlineShadowBlur"),Me("glowIntensity"),Me("glowColor"),Me("snakeWave"),Me("karaoke"),h&&(Re.translateX=-Re.translateX,Re.rotation=Re.rotation?-Re.rotation:0,Re.slant=-Re.slant,Re.skewX!==void 0&&(Re.skewX=-Re.skewX)),{word:de.word,start:de.start,end:de.end,animationEnd:de.animationEnd,isActive:ee,emotion:ue,emotionIntensity:he,fontFamily:Oe,emphasisEffect:null,strongEmphasis:null,animationParameters:Re,effects:{standardEmphasis:null,strongEmphasis:null},emotionCategory:De,volume:we}}):[],[A,ae,u,ne,S,b,n,q,p,h,Y,I,x,d,o,r,$,P,me]);if(!A)return{text:"",words:[],emotion:"none",emotionIntensity:0,fontFamily:'"Roboto Flex", "Roboto", sans-serif',currentWordIndex:-1,startTime:0,endTime:0,isActive:!1,hasMergedSubtitles:H?.merged_subtitles?.length>0,debug:{}};let ve=m||G,Te=u>=K&&u<ve;return{text:H?cy(H):"",words:$e,emotion:S,emotionIntensity:b,fontFamily:F,currentWordIndex:oe,startTime:K,endTime:G,extendedMergedEndTime:ve,isActive:Te,hasMergedSubtitles:!1,debug:{segmentFontSize:ne.fontSize,finalWeight:ne.weight,mergedRange:null,currentTime:u,finalIsActive:Te}}}function Cd(H){let{vodId:u,currentTime:n,maxExpression:i=1,threshold:c=.2,language:m,phontClient:$}=H,[P,t]=a1(null),[_,a]=a1(!0),r=cs(n),o=cs(null),l=cs(null),d=cs(null),h=cs(null);ls(()=>{r.current=n},[n]),ls(()=>{$&&Ln.setPhontClient($)},[$]),ls(()=>{Ln.setAnimationMode("Word")},[]),ls(()=>{let T=Ln.subscribe(y=>{let E=y.currentSubtitleData;E&&t(E)});if(u){let y=`${u}::${m||""}`,E=Ln.vodState,S=E?.language||null,b=E?.vodId,C=b===u&&E?.subtitles?.length>0&&S===m;if(b&&b!==u&&(t(null),d.current=null,h.current=null,Ln.clearSubtitleCache(),Ln.clearAudioPlaylistCache(),l.current=null),C||a(!0),C||l.current===y){if(a(!1),r.current>=0){Ln.setCurrentTime(r.current);let k=Ln.getSubtitleForTime(r.current);k&&t(k)}}else{if(o.current===y)return T;o.current=y,(async()=>{let R=null;for(let D=0;D<2;D+=1)try{await Ln.loadVodSubtitles(u,m),l.current=y;return}catch(V){R=V;let q=V?.status||V?.response?.status,K=String(V?.message||"");if(!(q===429||K.includes("429")||K.includes("Failed to fetch"))||D===1)break;await new Promise(U=>setTimeout(U,900))}throw R})().then(()=>{if(a(!1),r.current>=0){Ln.setCurrentTime(r.current),Ln.updateState();let R=Ln.getSubtitleForTime(r.current);R&&t(R)}}).catch(()=>{a(!1)}).finally(()=>{o.current===y&&(o.current=null)})}}return T},[u,m,$]),ls(()=>{if(n>=0){Ln.setCurrentTime(n),Ln.updateState();let T=Ln.getSubtitleForTime(n);T?(d.current=T,t(T)):d.current&&h.current!==null&&n<=h.current?t(d.current):(d.current=null,t(null))}},[n]);let f=Id(()=>{if(!P)return null;let T=Ln.vodState?.subtitles;if(!T||T.length===0)return null;let y=T.findIndex(E=>E===P);return y===-1&&(y=T.findIndex(E=>E?.start_time===P?.start_time&&E?.end_time===P?.end_time&&(E?.subtitle||"")===(P?.subtitle||""))),y===-1||y>=T.length-1?null:T[y+1]??null},[P,u,m]),p=f?.start_time??null,A=Id(()=>{if(!P)return h.current=null,null;let T=P.words||[];if(T.length===0){let U=P.end_time||null;return h.current=U,U}let y=T[T.length-1],E=y.end||0,S=y.start||0,b=P.end_time||E,C=Math.max(0,E-S),{minWordDisplayTime:O,breathingRoomDuration:k,breathingRoomMinGap:R,breathingRoomLargeGap:D}=hy.timing,V=Math.max(C,O),q=!1,K=b-E;if(p!==null&&p>b?(K=p-E,q=K>=D):p===null?(q=!0,K=1/0):q=K>=R,q){let L=K===1/0?O+k:E+K-S-.1,Y=C<O?L:Math.min(O+k,L);V=Math.max(V,Y)}let G=S+V;return h.current=G,G},[P,p]),x=us({segment:P,currentTime:n,maxExpression:i,threshold:c,nextSegmentStartTime:p,extendedEndTime:A,transparentUntilSpoken:!1});return{animationState:Id(()=>!P||_?{text:"",words:[],currentWordIndex:-1,emotion:"none",emotionIntensity:0,fontFamily:'"Roboto Flex", "Roboto", sans-serif',startTime:0,endTime:0,isActive:!1}:x,[P,_,x]),isLoading:_,segment:P,nextSegment:f}}import{subtitleManager as Oy,preloadAnimationFonts as Ly}from"@phont-ai/subtitles-core";import Ti,{useEffect as xd,useMemo as xy,useState as Gi}from"react";import{subtitleManager as Md,RENDERING_CONTROL as My,getSubtitleAnimations as ky}from"@phont-ai/subtitles-core";var ds={subtitles:{bottomVh:10,mobileBottomVh:22,zIndex:40,width:"100vw",mobileWidth:"90vw",maxMobileWidth:450},speaker:{zIndex:45,fontSize:14,marginAboveSubtitles:2},soundbites:{bottomVh:16,bottomVhNoSpeaker:14,mobileBottomVh:30,mobileBottomVhNoSpeaker:28,zIndex:1001,width:520,mobileWidth:"90vw",maxMobileWidth:400,height:320}},fs={soundbites:ds.soundbites},o1=(H=!1)=>{let u=ds.subtitles,n=H?u.mobileBottomVh:u.bottomVh,i=H?u.mobileWidth:u.width,c=H?`${u.maxMobileWidth}px`:"none";return{parent:{position:"fixed",left:0,right:0,bottom:`${n}vh`,zIndex:u.zIndex,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},child:{width:i,maxWidth:c,paddingLeft:"1rem",paddingRight:"1rem",pointerEvents:"none",marginLeft:"auto",marginRight:"auto"}}};import An from"react";import{ANIMATION_STYLING as Ju,splitTextIntoLetters as $y,calculateJoy as Ty,getJoyTransform as Ey,getJoyFilter as Ay,getCombinedBlurAmount as Py}from"@phont-ai/subtitles-core";var h1=Cr(f1());import{RENDERING_CONTROL as fP}from"@phont-ai/subtitles-core";import{isInStrongEmphasisRange as _P}from"@phont-ai/subtitles-core";var vP=(0,h1.default)(.42,0,.58,1);function _1(H){if(!H)return"";let u=H.brightness||1,n=H.contrast||1,i=H.shadowBlur||0,c=H.shadowOpacity||0,m=H.shadowOffsetX||0,$=H.shadowOffsetY||0,P=[`brightness(${u})`,`contrast(${n})`];return i>0&&c>0&&P.push(`drop-shadow(${m}px ${$}px ${i}px rgba(255, 255, 255, ${c}))`),P.join(" ")}function Qu(H,u=0){let n=H+u,i=Math.sin(n*12.9898+u*78.233)*43758.5453;return i-Math.floor(i)}function p1(H,u,n,i=1,c=!0,m=!1,$=6){if(!c&&!m)return{x:0,y:0};if(n===0)return{x:0,y:0};let P=n,t=.7+Qu(H,0)*.6,_=$*t,a=Qu(H,1)*Math.PI*2,r=Qu(H,2)*Math.PI*2,o=.4+Qu(H,3)*.6,l=u*_,d=1.618,h=2.414,f=Math.sin(l*Math.PI*2+a),p=Math.sin(l*d*Math.PI*2+a+1)*.4,A=Math.sin(l*h*Math.PI*2+a+2)*.2,x=f+p+A,I=Math.sin(l*Math.PI*2+r),T=Math.sin(l*d*Math.PI*2+r+1)*.4,y=Math.sin(l*h*Math.PI*2+r+2)*.2,E=I+T+y,S=Math.max(-1,Math.min(1,x/1.6)),b=Math.max(-1,Math.min(1,E/1.6)),C=P*o;return{x:S*C,y:b*C*.2}}var ra={wordBorders:{active:"2px solid rgba(255, 0, 0, 0.6)",inactive:"1px solid rgba(255, 255, 0, 0.3)",fallback:"2px solid rgba(255, 165, 0, 0.6)",background:{active:"rgba(255, 0, 0, 0.1)",inactive:"rgba(255, 255, 0, 0.05)",fallback:"rgba(255, 165, 0, 0.1)"}}};function Iy(H){return{display:"inline-block",fontSize:`${Ju.fontSize}px`,fontFamily:H||`"${Ju.defaultFont}", sans-serif`,fontWeight:400,color:Ju.textColor}}function v1(H,u,n){return Math.max(u,Math.min(n,H))}function g1(H,u){let n=Number(H);return Number.isFinite(n)?n:u}function Cy(H){let u=String(H||""),n=u.toLowerCase();return n.includes("roboto flex")?'"Roboto Flex", "Roboto", "Noto Sans", "Helvetica Neue", Arial, sans-serif':n.includes("parkinsans")?'"Parkinsans", "Nunito Sans", "Noto Sans", "Helvetica Neue", Arial, sans-serif':n.includes("rakkas")?'"Rakkas", "Noto Sans", "Arial Black", "Helvetica Neue", Arial, sans-serif':n.includes("cormorant")?'"Cormorant", "Noto Serif", "Times New Roman", serif':u||"sans-serif"}function Zu({text:H,words:u=[],fontFamily:n,className:i="",style:c={},debugMode:m=!1,currentTime:$=0,mergedSubtitleStart:P=null,mergedSubtitleEnd:t=null,mergedSubtitleExtendedEnd:_=null,hasMultipleSubtitles:a=!1,fontFallbackMode:r=!1,gts:o=1}){let{stylesheet:l,isChildrenActive:d}=xr(),{isRTL:h}=zu();if(!u||u.length===0)return null;let f=H?.split(`
|
|
298
|
-
`)||[],p=f.length>1,A=0,x=[],I=[];if(p&&f.length>0){I=[0];let T=0;for(let y=0;y<f.length;y++){let E=f[y].trim(),S=E;(E.startsWith("-")||E.startsWith("\u2022"))&&(S=E.substring(1).trim());let C=S.split(/\s+/).filter(O=>O.length>0).length;x.push(C),T+=C,y<f.length-1&&T<u.length&&I.push(T)}}return An.createElement("div",{className:`word-karaoke-renderer ${i}`,dir:h?"rtl":"ltr",style:{display:"flex",flexWrap:"wrap",justifyContent:"center",alignItems:"baseline",lineHeight:1.5,transform:"translateZ(0)",backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden",overflow:"visible",...c}},u.map((T,y)=>{let E=!1;if(p&&x.length>0&&A<f.length-1){let Je=x.slice(0,A+1).reduce((lt,mt)=>lt+mt,0);y===Je&&(E=!0,A++)}if(!T||!T.animationParameters){let Je={...Iy(),fontFamily:n,transform:"scale(1.0)",...m&&{padding:"2px 4px",margin:"0 2px",border:ra.wordBorders.fallback,background:ra.wordBorders.background.fallback,borderRadius:"4px"}};return An.createElement(An.Fragment,{key:`word-${y}-${T?.start||y}`},E&&An.createElement("div",{style:{flexBasis:"100%",height:0}}),An.createElement("span",{style:Je},(T?.word||"").trim()))}let S=(T.word||"").trim();if(p&&I.includes(y)){let Je=I.indexOf(y),lt=f[Je]?.trim()||"";lt.startsWith("-")?S="- "+S.trim():lt.startsWith("\u2022")&&(S="\u2022 "+S.trim())}let{standardEmphasis:C,strongEmphasis:O}=T.effects||{},{fontSize:k,scale:R=1,opacity:D,weight:V,width:q,slant:K,textColor:G,translateX:U=0,translateY:L=0,stretchY:F=1,stretchX:Y=1,urlJoy:Z=0,urlJoyProgress:te=0,blur:ne=0,outlineWidth:ae=0,outlineColor:oe="#000000",outline2Width:_e=0,outline2Color:me="#000000",outline3Width:$e=0,outline3Color:ve="#000000",outlineShadowWidth:ge=0,outlineShadowColor:Te="#000000",outlineShadowBlur:Ae=0,snakeWave:de=0,karaoke:ie=0}=T.animationParameters,Q=Z>.01,ee=ie>.01,ue=_e>0||$e>0||ge>0,he=ae>0||ue,Se=r?v1(R,.92,1.18):R,we=r?v1(g1(V,400),300,700):g1(V,400),De=r?100:typeof q=="number"?q:100,Ke=T.animationParameters.letterShake||0,st=`skewX(${K}deg) scaleX(${Y}) scaleY(${F}) scale(${Se}) translate(${U}px, ${L}px)`,Be=Math.abs(U),Pe=Ke>0?Ke:0,ke=Se>1.01?(Se-1)*(S.length||1)*.25:0,Le=Pe*.6,qe=T.fontFamily?`"${T.fontFamily}", sans-serif`:n,tt=Cy(qe),je=G||Ju.textColor;if(d&&T.emotionCategory){let Je=l.colors[T.emotionCategory];Je&&(je=Je)}let at="";if(d&&T.volume!==void 0&&T.emotionCategory){let Je=l.glows[T.emotionCategory];if(Je&&(T.emotionCategory==="shout"&&T.volume>=Je.threshold||T.emotionCategory==="whisper"&&T.volume<=Je.threshold)){let mt=Je.blur*(o||1),gt=Je.opacity*(o||1),Rt=Math.round(gt*255).toString(16).padStart(2,"0");at=`0 0 ${mt}px ${Je.color}${Rt}`}}let Ze=T.animationParameters?.textShadow;!Ze||Ze===""?Ze=at||"none":Ze=at||Ze||"none";let Xe=[`"wght" ${we}`];if(!r&&typeof De=="number"&&Xe.push(`"wdth" ${De}`),T.animationParameters?.fontVariationAxes){let Je=T.animationParameters.fontVariationAxes;Object.entries(Je).forEach(([lt,mt])=>{lt!=="wght"&<!=="wdth"&&Xe.push(`"${lt}" ${Math.round(mt)}`)})}let Oe=Xe.join(", "),ce=!r&&typeof De=="number"?`${De}%`:void 0,ye=Py(ne,Se,o),Re={display:"inline-block",position:"relative",verticalAlign:"baseline",fontSize:`${k}px`,fontFamily:tt,fontWeight:we,fontStretch:ce,fontVariationSettings:Oe,transition:"transform 75ms ease-out, opacity 75ms ease-out",opacity:D!==void 0?D:1,transform:`${st} translateZ(0)`,transformOrigin:"center",textShadow:Ze||"none",filter:ye>0?`blur(${ye}px)`:"none",WebkitTextStroke:he&&!ue?`${ae}px ${oe}`:"none",paintOrder:he?"stroke fill":void 0,letterSpacing:`${Math.max(0,(Se-1)*.02)}em`,willChange:ye>0?"transform, opacity, filter":"transform, opacity",color:je,backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden",overflow:"visible",marginLeft:Se>1.01?`${(Se-1)*(S.length||1)*.25}em`:void 0,marginRight:`${.3+(Se>1.01?(Se-1)*(S.length||1)*.25:0)}em`,...m&&{padding:"2px 4px",margin:"0 2px",border:T.isActive?ra.wordBorders.active:ra.wordBorders.inactive,background:T.isActive?ra.wordBorders.background.active:ra.wordBorders.background.inactive,borderRadius:"4px"}};if(!(h?!1:!!T.animationParameters?.letterShake||!!T.animationParameters?.letterShakeIntensity||Q||ee||ue||de>0))return An.createElement(An.Fragment,{key:`word-${y}-${T.start}`},E&&An.createElement("div",{style:{flexBasis:"100%",height:0}}),An.createElement("span",{className:T.isActive?"active-word":"",style:Re,title:m?`Emotion: ${T.emotion||"none"}`:void 0},S,m&&T.emotion&&T.emotion!=="none"&&An.createElement("span",{style:{fontSize:"9px",position:"absolute",top:"-12px",left:"50%",transform:"translateX(-50%)",background:"rgba(0,0,0,0.8)",color:"#fff",padding:"1px 4px",borderRadius:"3px",whiteSpace:"nowrap",pointerEvents:"none"}},T.emotion)));let Ye=$y(S),et=Q?te:0;return An.createElement(An.Fragment,{key:`word-${y}-${T.start}`},E&&An.createElement("div",{style:{flexBasis:"100%",height:0}}),An.createElement("span",{className:T.isActive?"active-word":"",style:{...Re,display:"inline-block",position:"relative",transform:"translateZ(0)",filter:"none",marginLeft:`calc(${ke}em + ${Be+Le}px)`,marginRight:`calc(${.3+ke}em + ${Be+Le}px)`},title:m?`Emotion: ${T.emotion||"none"}`:void 0},m&&T.emotion&&T.emotion!=="none"&&An.createElement("span",{style:{fontSize:"9px",position:"absolute",top:"-12px",left:"50%",transform:"translateX(-50%)",background:"rgba(0,0,0,0.8)",color:"#fff",padding:"1px 4px",borderRadius:"3px",whiteSpace:"nowrap",pointerEvents:"none",zIndex:1e3}},T.emotion),Ye.map((Je,lt)=>{let mt=null;O&&(mt=O);let gt=null;Q&&!Je.isSpace&&(gt=Ty(et,lt,Ye.length,Z));let Rt=0,pt=0,Tt=T.animationParameters.letterShake||0;if(Tt>0&&!Je.isSpace){let tn=Math.max(0,$-T.start),jn=Math.max(.01,(T.animationEnd??T.end??T.start)-T.start),vi=Math.max(0,Math.min(1,tn/jn)),Rn=p1(lt,vi,Tt,1,T.isActive,!1);Rt=Rn.x,pt=Rn.y}let qt=0;if(de>0&&!Je.isSpace){let tn=Ye.filter(bt=>!bt.isSpace).length,vi=Ye.slice(0,lt).filter(bt=>!bt.isSpace).length/Math.max(1,tn-1)*Math.PI*2,Rn=T.start??0,ct=Math.max(.01,(T.animationEnd??T.end??Rn)-Rn),vt=($-Rn)/ct*Math.PI*2*3;qt=Math.sin(vi-vt)*de}let bn=1;if(ee&&!Je.isSpace){let tn=Ye.filter(_n=>!_n.isSpace).length,jn=Ye.slice(0,lt).filter(_n=>!_n.isSpace).length,vi=tn<=1?.5:jn/(tn-1),Rn=T.start??0,ct=Math.max(.01,(T.end??Rn)-Rn),vt=Math.max(0,Math.min(1,($-Rn)/ct)),bt=.15,_t=-bt+vt*(1+2*bt),It=.12,Vt=vi-_t,Pn=0;if(Vt<=0)Pn=1;else if(Vt<It){let _n=Vt/It;Pn=1-_n*_n*(3-2*_n)}let Kt=1-ie*.8;bn=Kt+Pn*(1-Kt)}let Et,Ht,en;if(gt)Et=Ey(gt),Ht=Ay(gt),en=gt.zIndex;else if(mt){let tn=mt.scale||1,jn=mt.skewX||0,vi=mt.rotation||0,Rn=mt.translateX||0,ct=mt.translateY||0,vt=K+jn,bt=U+Rn+Rt,_t=L+ct+pt+qt;Et=`skewX(${vt}deg) scaleX(${Y}) scaleY(${F}) scale(${Se*tn}) rotate(${vi}deg) translate(${bt}px, ${_t}px)`,Ht=_1(mt),en=mt.zIndex}else Tt>0||qt!==0?(Et=`skewX(${K}deg) scaleX(${Y}) scaleY(${F}) scale(${Se}) translate(${U+Rt}px, ${L+pt+qt}px)`,Ht="none",en="auto"):(Et=st,Ht="none",en="auto");ye>0&&(Ht=Ht&&Ht!=="none"?`${Ht} blur(${ye}px)`:`blur(${ye}px)`);let Yn=[];ue&&!Je.isSpace&&(ge>0&&Yn.push({width:ge,color:Te,isShadow:!0,blur:Ae}),$e>0&&Yn.push({width:$e,color:ve}),_e>0&&Yn.push({width:_e,color:me}),ae>0&&Yn.push({width:ae,color:oe}));let ei=T.animationParameters?.translateX??0,$n=T.animationParameters?.translateY??0;return An.createElement("span",{key:lt,className:Je.isSpace?"inline":"inline-block letter",style:{display:Je.isSpace?"inline":"inline-block",transformOrigin:"center",transform:`${Et} translateZ(0)`,opacity:bn<1?bn:void 0,filter:Ht,zIndex:en,position:(ue&&!Je.isSpace,"relative"),backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden",transition:"transform 75ms ease-out, opacity 75ms ease-out",willChange:C||O||Q||ee||de>0?"transform, filter, opacity":"auto",marginRight:Je.isSpace?`calc(0.25em + ${Math.max(ae,_e,$e,ge)}px)`:`${Math.max(0,(Se-1)*.5)}em`,letterSpacing:Je.isSpace?void 0:`${Math.max(0,(Se-1)*.08)}em`,WebkitTextStroke:ue?"none":he&&!Je.isSpace?`${ae}px ${oe}`:void 0,paintOrder:he&&!Je.isSpace?"stroke fill":void 0}},Yn.map((tn,jn)=>An.createElement("span",{key:`ol-${jn}`,"aria-hidden":"true",style:{position:"absolute",top:0,left:0,color:tn.isShadow?tn.color:"transparent",textShadow:"none",pointerEvents:"none",WebkitTextStroke:`${tn.width}px ${tn.color}`,paintOrder:"stroke fill",...tn.isShadow&&(ei!==0||$n!==0)?{transform:`translate(${ei}px, ${$n}px)`}:{},...tn.isShadow&&tn.blur>0?{filter:`blur(${tn.blur}px)`}:{}}},Je.char)),ue&&!Je.isSpace?An.createElement("span",{style:{position:"relative"}},Je.char):Je.char)})))}))}function el({segment:H,currentTime:u,isPlaying:n=!0,maxExpression:i=1,threshold:c=.2,className:m="",style:$,nextSegment:P=null,forceMobile:t=!1,fontFallbackMode:_=!1,disablePublishedAnimationFetch:a=!1}){let[r,o]=Gi(!0),[l,d]=Gi(!1),[h,f]=Gi(!1),[p,A]=Gi(!1),[x,I]=Gi(null),[T,y]=Gi(null),[E,S]=Gi(!1),{activeStylesheet:b,switchToDefault:C,switchToChildren:O}=xr(),k=P?.start_time||null,[R,D]=Gi({animationMode:"Word",isKaraokeMode:!1});xd(()=>Md.subscribe(ne=>{D({animationMode:ne.animationMode,isKaraokeMode:ne.isKaraokeMode}),A(!!ne.isSpeaker),I(Md.getCurrentSpeaker(!1)),y(Md.getCurrentSubtitleLanguage())}),[]);let V=!0;xd(()=>{let te=ne=>{ne.key==="v"||ne.key==="V"?d(ae=>{let oe=!ae,_e=document.getElementById("stats");return _e&&(_e.style.display=oe?"block":"none"),oe}):ne.key==="p"||ne.key==="P"?S(ae=>!ae):(ne.metaKey||ne.ctrlKey)&&(ne.key==="d"||ne.key==="D")?(ne.preventDefault(),f(ae=>!ae)):(ne.metaKey||ne.ctrlKey)&&ne.key==="="&&(ne.preventDefault(),b==="default"?O():C())};return window.addEventListener("keydown",te),()=>window.removeEventListener("keydown",te)},[b,C,O]);let q=xy(()=>{if(!H||!V)return H?.end_time||0;let te=H.words||[];if(te.length===0)return H.end_time;let ne=te[te.length-1],ae=ne.end||0,oe=ne.start||0,_e=H.end_time||ae,me=Math.max(0,ae-oe),{minWordDisplayTime:$e,breathingRoomSafetyBuffer:ve,breathingRoomNoNextHold:ge}=My.timing,Te=oe+Math.max(me,$e),Ae;return typeof k=="number"&&k>ae?Ae=k-(ve??.1):k==null?Ae=_e+(ge??4):Ae=Te,Math.max(Te,Ae)},[H,V,k]),K=us({segment:H,currentTime:u,maxExpression:i,threshold:c,nextSegmentStartTime:k,extendedEndTime:q,transparentUntilSpoken:E,disablePublishedAnimationFetch:a}),[G,U]=Gi(!1);xd(()=>{let te=()=>{U(window.innerWidth<=768)};return te(),window.addEventListener("resize",te),()=>window.removeEventListener("resize",te)},[]);let F=o1(t||G),Y=F.parent,Z=F.child;return Ti.createElement("div",{className:m,style:{...Y,...$}},Ti.createElement("div",{className:"subtitle-container",style:Z},V&&K.isActive&&Ti.createElement("div",{className:"text-center pointer-events-none"},p&&x&&Ti.createElement("div",{className:"text-white/70 font-medium",style:{fontFamily:"Inter, sans-serif",fontSize:`${ds.speaker.fontSize}px`,textShadow:"0 2px 4px rgba(0,0,0,0.5)",marginBottom:`${ds.speaker.marginAboveSubtitles}px`}},"Speaker ",x),l&&T&&Ti.createElement("div",{className:"mb-1 text-white/50 text-xs",style:{fontFamily:"Inter, sans-serif",textShadow:"0 1px 2px rgba(0,0,0,0.5)"}},"\u{1F310} ",T.toUpperCase()),Ti.createElement(Zu,{text:K.text,words:K.words,fontFamily:K.fontFamily,fontFallbackMode:_,debugMode:h,gts:i,currentTime:u,mergedSubtitleStart:K.startTime,mergedSubtitleEnd:K.endTime,mergedSubtitleExtendedEnd:K.extendedMergedEndTime,hasMultipleSubtitles:K.hasMergedSubtitles}),l&&Ti.createElement("div",{className:"text-xs text-white mt-2 space-y-1"},Ti.createElement("div",null,"Time: ",u.toFixed(2),"s | Word:"," ",K.currentWordIndex>=0?K.currentWordIndex+1:0,"/",K.words.length,K.currentWordIndex>=0&&K.words[K.currentWordIndex]&&` "${(K.words[K.currentWordIndex].word||"").trim()}"`,K.currentWordIndex>=0&&K.words[K.currentWordIndex]&&Ti.createElement("span",{className:"text-yellow-300"}," ","(",K.words[K.currentWordIndex].start?.toFixed(2),"s-",K.words[K.currentWordIndex].end?.toFixed(2),"s)")),Ti.createElement("div",{className:"text-[11px] opacity-50"},"Emotion:"," ",(()=>{let te=K.currentWordIndex>=0?K.words[K.currentWordIndex]:null;if(te?.emotion!=null){let me=te.emotionIntensity??0;return`${te.emotion} (${(me*100).toFixed(1)}%)`}let ne=ky(H),ae=Object.entries(ne).filter(([,me])=>typeof me=="number");if(ae.length===0)return"none";ae.sort(([,me],[,$e])=>$e-me);let[oe,_e]=ae[0];return`${oe} (${(_e*100).toFixed(1)}%)`})()," ","\u2022 GTS: ",(i*100).toFixed(0),"%",K.hasMergedSubtitles&&Ti.createElement("span",{className:"text-blue-300"}," [merged]"))))))}function _s({vodId:H,currentTime:u,isPlaying:n=!0,mode:i="word",language:c,maxExpression:m=1,threshold:$=.2,isRTL:P=!1,phontClient:t,className:_="",style:a,subtitleAvailable:r=!0}){let o=Ry(!1);wy(()=>{Oy.toggleClosedCaptions(!0),o.current||(o.current=!0,Ly())},[]);let{segment:l,nextSegment:d,isLoading:h}=Cd({vodId:r?H:"",currentTime:u,mode:i,maxExpression:m,threshold:$,isRTL:P,language:c,phontClient:t});return h||!l?null:m1.createElement(X0,{isRTL:P},m1.createElement(el,{segment:l,currentTime:u,isPlaying:n,maxExpression:m,threshold:$,className:_,style:a,nextSegment:d}))}import{useCallback as ps,useEffect as y1,useSyncExternalStore as Dy}from"react";import{PhontClient as kd}from"@phont-ai/subtitles-core";var vs="phont_sdk_auth_token",gs="phont_sdk_session_id",ms="phont_sdk_tenant_id",ys="phont_sdk_username",Ss="phont_sdk_api_key",Ny=process.env.NEXT_PUBLIC_API_SUB_BASE_URL||"",By="https://demo-api-dev.phont.ai";function b1(){return Ny||By}var Mr={isAuthenticated:!1,authToken:null,sessionId:null,tenantId:null,username:null,apiKey:null,phontClient:null},S1=Symbol.for("phont.subtitles.sdkAuthStore");function Uy(){let H=globalThis,u=H[S1];if(!u){let n=new Set;if(u={state:Mr,listeners:n,emit:()=>{for(let i of n)i()},set:i=>{u.state=i,u.emit()}},typeof window<"u")try{u.state=T1(b1())}catch{}H[S1]=u}return u}function $1(H,u){return new kd({authToken:H.authToken,sessionId:H.sessionId,apiKey:H.apiKey,apiBaseUrl:u})}function T1(H){if(typeof window>"u"||!H)return Mr;let u=sessionStorage.getItem(vs),n=sessionStorage.getItem(gs),i=sessionStorage.getItem(ms),c=sessionStorage.getItem(ys),m=sessionStorage.getItem(Ss);if(!!!(u&&n)&&!!!m)return Mr;let t=$1({authToken:u||void 0,sessionId:n||void 0,apiKey:m||void 0},H);return{isAuthenticated:!0,authToken:u,sessionId:n,tenantId:i,username:c,apiKey:m,phontClient:t}}function bs(H){let u=H||b1();u||console.warn("useSDKAuth: apiBaseUrl not provided and NEXT_PUBLIC_API_SUB_BASE_URL not set. Authentication features will be disabled.");let n=Uy(),i=Dy(_=>(n.listeners.add(_),()=>n.listeners.delete(_)),()=>n.state,()=>Mr),c=ps(()=>{if(!(typeof window>"u")){if(!u){n.set(Mr);return}n.set(T1(u))}},[u]);y1(()=>{c()},[c]),y1(()=>{if(typeof window>"u")return;let _=r=>{(r.key===vs||r.key===gs||r.key===Ss||r.key===ys||r.key===ms)&&c()},a=()=>{c()};return window.addEventListener("storage",_),window.addEventListener("phont-sdk-auth-change",a),()=>{window.removeEventListener("storage",_),window.removeEventListener("phont-sdk-auth-change",a)}},[c]);let m=ps(async(_,a)=>{if(!u)throw new Error("useSDKAuth: Cannot login without apiBaseUrl. Please provide it as a parameter or set NEXT_PUBLIC_API_SUB_BASE_URL environment variable.");let r=new kd({apiBaseUrl:u}),o=await r.login(_,a);return sessionStorage.removeItem(Ss),sessionStorage.setItem(vs,o.auth_token),sessionStorage.setItem(gs,o.session_id),sessionStorage.setItem(ms,o.tenant_id),sessionStorage.setItem(ys,o.username),r.setCredentials({authToken:o.auth_token,sessionId:o.session_id}),n.set({isAuthenticated:!0,authToken:o.auth_token,sessionId:o.session_id,tenantId:o.tenant_id,username:o.username,apiKey:null,phontClient:r}),window.dispatchEvent(new Event("phont-sdk-auth-change")),o},[u]),$=ps(async(_,a,r,o)=>{if(!u)throw new Error("useSDKAuth: Cannot register without apiBaseUrl. Please provide it as a parameter or set NEXT_PUBLIC_API_SUB_BASE_URL environment variable.");let d=await new kd({apiBaseUrl:u}).register(_,a,r,o);return await m(a,r),d},[u,m]),P=ps(_=>{if(!u)throw new Error("useSDKAuth: Cannot set API key without apiBaseUrl. Please provide it as a parameter or set NEXT_PUBLIC_API_SUB_BASE_URL environment variable.");sessionStorage.removeItem(vs),sessionStorage.removeItem(gs),sessionStorage.removeItem(ms),sessionStorage.removeItem(ys),sessionStorage.setItem(Ss,_);let a=$1({apiKey:_},u);n.set({isAuthenticated:!0,authToken:null,sessionId:null,tenantId:null,username:null,apiKey:_,phontClient:a}),window.dispatchEvent(new Event("phont-sdk-auth-change"))},[u]),t=ps(()=>{sessionStorage.removeItem(vs),sessionStorage.removeItem(gs),sessionStorage.removeItem(ms),sessionStorage.removeItem(ys),sessionStorage.removeItem(Ss),n.set(Mr),window.dispatchEvent(new Event("phont-sdk-auth-change"))},[]);return{...i,login:m,register:$,setApiKey:P,logout:t,refreshAuth:c}}import wt,{useState as or,useRef as Hy,useEffect as jy}from"react";var Fy='<?xml version="1.0" encoding="UTF-8"?><svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 460.9 102.4"><defs><style>.cls-1{fill:#fff;stroke-width:0px;}</style></defs><g id="Ebene_2" data-name="Ebene 2"><g id="Ebene_1-2" data-name="Ebene 1-2"><path class="cls-1" d="M170.2,3.9h-15.9c-9,11.8-14.4,25.9-15.6,40.7h-44.7V3.9h-13.4v95.5h13.4v-43.6h44.7c.7,15.9,6.4,31.2,16.2,43.6h16.1c-11.8-12.6-19.8-29.6-19.8-48.2.1-17.6,6.9-34.5,19-47.4ZM225.4,0c-28.3,0-51.2,23-51.1,51.3,0,28.3,23,51.2,51.3,51.1,28.2,0,51.1-22.9,51.1-51.1,0-28.3-23-51.3-51.3-51.3ZM225.4,89c-20.9,0-37.8-16.8-37.9-37.7,0-20.9,16.8-37.8,37.7-37.9,20.9,0,37.8,16.8,37.9,37.7,0,0,0,.1,0,.2,0,20.8-16.9,37.6-37.7,37.7ZM460.9,3.9h-76.4v11.2h31.5v84.3h13.2V15.1h31.6V3.9ZM357.4,3.9l.5,78.9L297.2,3.9h-15.7c10.8,13.4,16.4,30.2,15.9,47.4,0,18-7,35.2-19.5,48.2h15.7c9.8-11.5,16.4-26.8,16.4-46.6,0-6.6-1.4-13.2-4.4-19.2l49.2,65.8h15.9V3.9h-13.4ZM40,3.9H0v95.5h13.4v-37.1h26.6c15.6,0,27.8-9.8,27.8-29.3S55.6,3.9,40,3.9ZM40,51.3H13.6V15.4h26.5c9,0,14.3,6.4,14.3,17.8s-5,18.1-14.3,18.1Z"/></g></g></svg>',wd=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(Fy)}`;function Rd({apiBaseUrl:H,onAuthenticated:u}){let{isAuthenticated:n,username:i,tenantId:c,phontClient:m,login:$,register:P,setApiKey:t,logout:_}=bs(H),[a,r]=or("login"),[o,l]=or(""),[d,h]=or(""),[f,p]=or(""),[A,x]=or(""),[I,T]=or(""),[y,E]=or(null),[S,b]=or(!1),C=Hy(null);wt.useEffect(()=>{n&&m&&u&&u(m)},[n,m,u]),jy(()=>{C.current&&typeof window<"u"&&(C.current.style.opacity="0",C.current.style.transform="translateY(20px)",setTimeout(()=>{C.current&&(C.current.style.transition="opacity 0.5s ease-out, transform 0.5s ease-out",C.current.style.opacity="1",C.current.style.transform="translateY(0)")},10))},[a]);let O=async R=>{R.preventDefault(),E(null),b(!0);try{await $(o,d)}catch(D){let V="Login failed";D.status===401?V="Invalid credentials. Please check your username/email and password.":D.status===404?V="Login endpoint not found. Please check the API URL.":D.status===500?V="Server error. Please try again later.":D.message&&(V=D.message),E(V),console.error("Login error details:",D)}finally{b(!1)}},k=async R=>{R.preventDefault(),E(null),b(!0);try{let D=o.includes("@")?o:`${o}@phont.ai`;await P(o,D,d,{first_name:f.trim(),last_name:A.trim(),company:I.trim()})}catch(D){E(D.message||"Registration failed")}finally{b(!1)}};return n?wt.createElement("div",{className:"min-h-screen flex items-center justify-center bg-black px-4 py-8"},wt.createElement("div",{className:"bg-[#17428c14] rounded-lg shadow-lg p-8 border border-white/10",style:{width:"100%",minWidth:"450px",maxWidth:"550px"}},wt.createElement("div",{className:"mb-6"},wt.createElement("div",{className:"mb-2 flex items-center justify-center"},wt.createElement("img",{src:wd,alt:"PHONT",style:{height:"36px",width:"auto",filter:"brightness(0) invert(1)"}})),wt.createElement("p",{className:"text-gray-400 text-sm text-center",style:{fontFamily:"Inter, sans-serif"}},i?`Signed in as ${i}`:"You are signed in")),wt.createElement("button",{onClick:_,className:"w-full px-6 py-3 bg-red-600/80 hover:bg-red-600 text-white font-bold rounded-lg transition-colors duration-200",style:{fontFamily:"Inter, sans-serif"}},"Sign Out"))):wt.createElement("div",{className:"min-h-screen flex items-center justify-center bg-black px-4"},wt.createElement("form",{ref:C,onSubmit:R=>{R.preventDefault();let D=o.trim()&&d.trim()&&f.trim()&&A.trim()&&I.trim();!S&&o.trim()&&d.trim()&&(a==="login"?O(R):D&&k(R))},className:"bg-[#17428c14] rounded-lg shadow-lg p-8 border border-white/10 w-full max-w-lg",style:{minWidth:"400px",maxWidth:"500px"}},wt.createElement("div",{className:"mb-6"},wt.createElement("div",{className:"mb-4 flex items-center justify-center"},wt.createElement("img",{src:wd,alt:"PHONT",style:{height:"36px",width:"auto",filter:"brightness(0) invert(1)"}})),wt.createElement("h2",{className:"text-2xl font-bold text-white mb-2 text-center",style:{fontFamily:"Inter, sans-serif"}},a==="login"?"Sign In":"Create Account")),y&&wt.createElement("div",{className:"mb-4 p-3 bg-red-500/20 border border-red-500/50 rounded text-red-300 text-sm",style:{fontFamily:"Inter, sans-serif"}},y),wt.createElement("div",{className:"mb-4"},wt.createElement("label",{htmlFor:"username",className:"block text-white mb-2 text-sm font-medium",style:{fontFamily:"Inter, sans-serif"}},"Username"),wt.createElement("input",{id:"username",type:"text",value:o,onChange:R=>l(R.target.value),className:"w-full px-4 py-2 bg-black/50 border border-white/20 rounded-lg text-white focus:outline-none focus:border-[#D2BEFF] transition-colors",style:{fontFamily:"Inter, sans-serif"},placeholder:"Enter username",required:!0,disabled:S,autoFocus:!0})),wt.createElement("div",{className:a==="register"?"mb-4":"mb-6"},wt.createElement("label",{htmlFor:"password",className:"block text-white mb-2 text-sm font-medium",style:{fontFamily:"Inter, sans-serif"}},"Password"),wt.createElement("input",{id:"password",type:"password",value:d,onChange:R=>h(R.target.value),onKeyDown:R=>{R.key!=="Enter"||S||(a==="login"&&o.trim()&&d.trim()?(R.preventDefault(),O(R)):a==="register"&&o.trim()&&d.trim()&&f.trim()&&A.trim()&&I.trim()&&(R.preventDefault(),k(R)))},className:"w-full px-4 py-2 bg-black/50 border border-white/20 rounded-lg text-white focus:outline-none focus:border-[#D2BEFF] transition-colors",style:{fontFamily:"Inter, sans-serif"},placeholder:"Enter password",required:!0,disabled:S})),a==="register"&&wt.createElement(wt.Fragment,null,wt.createElement("div",{className:"mb-4"},wt.createElement("label",{htmlFor:"company",className:"block text-white mb-2 text-sm font-medium",style:{fontFamily:"Inter, sans-serif"}},"Company name"),wt.createElement("input",{id:"company",type:"text",value:I,onChange:R=>T(R.target.value),className:"w-full px-4 py-2 bg-black/50 border border-white/20 rounded-lg text-white focus:outline-none focus:border-[#D2BEFF] transition-colors",style:{fontFamily:"Inter, sans-serif"},placeholder:"Your organization",required:!0,disabled:S,autoComplete:"organization"})),wt.createElement("div",{className:"mb-6 grid grid-cols-1 sm:grid-cols-2 gap-3"},wt.createElement("div",null,wt.createElement("label",{htmlFor:"firstName",className:"block text-white mb-2 text-sm font-medium",style:{fontFamily:"Inter, sans-serif"}},"First name"),wt.createElement("input",{id:"firstName",type:"text",value:f,onChange:R=>p(R.target.value),className:"w-full px-4 py-2 bg-black/50 border border-white/20 rounded-lg text-white focus:outline-none focus:border-[#D2BEFF] transition-colors",style:{fontFamily:"Inter, sans-serif"},placeholder:"First name",required:!0,disabled:S,autoComplete:"given-name"})),wt.createElement("div",null,wt.createElement("label",{htmlFor:"lastName",className:"block text-white mb-2 text-sm font-medium",style:{fontFamily:"Inter, sans-serif"}},"Last name"),wt.createElement("input",{id:"lastName",type:"text",value:A,onChange:R=>x(R.target.value),className:"w-full px-4 py-2 bg-black/50 border border-white/20 rounded-lg text-white focus:outline-none focus:border-[#D2BEFF] transition-colors",style:{fontFamily:"Inter, sans-serif"},placeholder:"Last name",required:!0,disabled:S,autoComplete:"family-name"})))),wt.createElement("div",{className:"flex gap-3"},wt.createElement("button",{type:"button",onClick:async R=>{R.preventDefault(),r("login"),E(null),o.trim()&&d.trim()&&await O(R)},disabled:S||a==="login"&&(!o.trim()||!d.trim()),className:"flex-1 px-4 py-2 rounded-lg text-sm font-medium transition-colors duration-200 disabled:opacity-50 disabled:cursor-not-allowed bg-[#D2BEFF] text-black hover:bg-[#D2BEFF]/80",style:{fontFamily:"Inter, sans-serif"}},S&&a==="login"?"Signing in...":"Login"),wt.createElement("button",{type:"button",onClick:async R=>{if(R.preventDefault(),E(null),a!=="register"){r("register");return}let D=f.trim()&&A.trim()&&I.trim();o.trim()&&d.trim()&&D?await k(R):E("Please fill in username, password, company name, first name, and last name.")},disabled:S||a==="register"&&(!o.trim()||!d.trim()||!f.trim()||!A.trim()||!I.trim()),className:"flex-1 px-4 py-2 rounded-lg text-sm font-medium transition-colors duration-200 disabled:opacity-50 disabled:cursor-not-allowed bg-black/50 text-white border border-white/20 hover:bg-black/70",style:{fontFamily:"Inter, sans-serif"}},S&&a==="register"?"Creating account...":"Register")),wt.createElement("div",{className:"mt-6 pt-6 border-t border-white/10"},wt.createElement("p",{className:"text-gray-500 text-xs text-center",style:{fontFamily:"Inter, sans-serif"}},"Contact hello@phont.ai for questions."))))}var $s=class{constructor(u){this.videoElement=u}getCurrentTime(){return this.videoElement.currentTime}isPlaying(){return!this.videoElement.paused&&!this.videoElement.ended}onTimeUpdate(u){let n=()=>u(this.videoElement.currentTime);return this.videoElement.addEventListener("timeupdate",n),()=>this.videoElement.removeEventListener("timeupdate",n)}onPlayStateChange(u){let n=()=>u(!0),i=()=>u(!1);return this.videoElement.addEventListener("play",n),this.videoElement.addEventListener("pause",i),this.videoElement.addEventListener("ended",i),()=>{this.videoElement.removeEventListener("play",n),this.videoElement.removeEventListener("pause",i),this.videoElement.removeEventListener("ended",i)}}getDuration(){return this.videoElement.duration||null}seek(u){this.videoElement.currentTime=u}};var Ts=class{constructor(u,n){this.timeUpdateCallbacks=new Set;this.playStateCallbacks=new Set;if(!n)throw new Error("BitmovinPlayerAdapter requires a video element");this.player=u,this.videoElement=n,this.videoElement._bitmovinPlayer=u,this.setupEventListeners()}setupEventListeners(){try{this.timeUpdateHandler=()=>{try{let u=this.player.getCurrentTime();isFinite(u)&&u>=0&&this.timeUpdateCallbacks.forEach(n=>n(u))}catch{let u=this.videoElement.currentTime;isFinite(u)&&u>=0&&this.timeUpdateCallbacks.forEach(n=>n(u))}},this.player.on("TimeChanged",this.timeUpdateHandler),this.playHandler=()=>{this.playStateCallbacks.forEach(u=>u(!0))},this.pauseHandler=()=>{this.playStateCallbacks.forEach(u=>u(!1))},this.player.on("Play",this.playHandler),this.player.on("Pause",this.pauseHandler),this.player.on("Paused",this.pauseHandler),this.player.on("Ended",this.pauseHandler)}catch{}}getCurrentTime(){return this.videoElement.currentTime||0}isPlaying(){return!this.videoElement.paused&&!this.videoElement.ended}onTimeUpdate(u){this.timeUpdateCallbacks.add(u);try{u(this.getCurrentTime())}catch{u(0)}return()=>{this.timeUpdateCallbacks.delete(u)}}onPlayStateChange(u){this.playStateCallbacks.add(u);try{u(this.isPlaying())}catch{u(!1)}return()=>{this.playStateCallbacks.delete(u)}}getDuration(){let u=this.videoElement.duration;return isFinite(u)&&u>0?u:null}seek(u){try{this.player.seek(u)}catch{this.videoElement.currentTime=u}}destroy(){try{this.timeUpdateHandler&&this.player.off("TimeChanged",this.timeUpdateHandler),this.playHandler&&this.player.off("Play",this.playHandler),this.pauseHandler&&(this.player.off("Pause",this.pauseHandler),this.player.off("Paused",this.pauseHandler),this.player.off("Ended",this.pauseHandler))}catch{}this.timeUpdateCallbacks.clear(),this.playStateCallbacks.clear()}};var Es=class{constructor(u,n){this.timeUpdateCallbacks=new Set;this.playStateCallbacks=new Set;if(!n)throw new Error("ShakaPlayerAdapter requires a video element");this.player=u,this.videoElement=n,this.videoElement._shakaPlayer=u,this.setupEventListeners()}setupEventListeners(){this.timeUpdateHandler=()=>{try{let n=this.player.getCurrentTime();if(isFinite(n)&&n>=0){this.timeUpdateCallbacks.forEach(i=>i(n));return}}catch{}let u=this.videoElement.currentTime;isFinite(u)&&u>=0&&this.timeUpdateCallbacks.forEach(n=>n(u))},this.videoElement.addEventListener("timeupdate",this.timeUpdateHandler),this.playHandler=()=>{this.playStateCallbacks.forEach(u=>u(!0))},this.pauseHandler=()=>{this.playStateCallbacks.forEach(u=>u(!1))},this.videoElement.addEventListener("play",this.playHandler),this.videoElement.addEventListener("pause",this.pauseHandler),this.videoElement.addEventListener("ended",this.pauseHandler)}getCurrentTime(){try{let u=this.player.getCurrentTime();if(isFinite(u)&&u>=0)return u}catch{}return this.videoElement.currentTime||0}isPlaying(){return!this.videoElement.paused&&!this.videoElement.ended}onTimeUpdate(u){this.timeUpdateCallbacks.add(u);try{u(this.getCurrentTime())}catch{u(0)}return()=>{this.timeUpdateCallbacks.delete(u)}}onPlayStateChange(u){this.playStateCallbacks.add(u);try{u(this.isPlaying())}catch{u(!1)}return()=>{this.playStateCallbacks.delete(u)}}getDuration(){let u=this.videoElement.duration;return isFinite(u)&&u>0?u:null}seek(u){this.videoElement.currentTime=u}destroy(){this.timeUpdateHandler&&this.videoElement.removeEventListener("timeupdate",this.timeUpdateHandler),this.playHandler&&this.videoElement.removeEventListener("play",this.playHandler),this.pauseHandler&&(this.videoElement.removeEventListener("pause",this.pauseHandler),this.videoElement.removeEventListener("ended",this.pauseHandler)),this.timeUpdateCallbacks.clear(),this.playStateCallbacks.clear()}};var As=class{constructor(u,n){this.timeUpdateCallbacks=new Set;this.playStateCallbacks=new Set;if(!n)throw new Error("VideoJSPlayerAdapter requires a video element");this.player=u,this.videoElement=n,this.setupEventListeners()}setupEventListeners(){this.timeUpdateHandler=()=>{let u=this.videoElement.currentTime;isFinite(u)&&u>=0&&this.timeUpdateCallbacks.forEach(n=>n(u))},this.videoElement.addEventListener("timeupdate",this.timeUpdateHandler),this.playHandler=()=>{this.playStateCallbacks.forEach(u=>u(!0))},this.pauseHandler=()=>{this.playStateCallbacks.forEach(u=>u(!1))},this.videoElement.addEventListener("play",this.playHandler),this.videoElement.addEventListener("pause",this.pauseHandler),this.videoElement.addEventListener("ended",this.pauseHandler)}getCurrentTime(){return this.videoElement.currentTime||0}isPlaying(){return!this.videoElement.paused&&!this.videoElement.ended}onTimeUpdate(u){this.timeUpdateCallbacks.add(u);try{u(this.getCurrentTime())}catch{u(0)}return()=>{this.timeUpdateCallbacks.delete(u)}}onPlayStateChange(u){this.playStateCallbacks.add(u);try{u(this.isPlaying())}catch{u(!1)}return()=>{this.playStateCallbacks.delete(u)}}getDuration(){let u=this.videoElement.duration;return isFinite(u)&&u>0?u:null}seek(u){this.videoElement.currentTime=u}destroy(){this.timeUpdateHandler&&this.videoElement.removeEventListener("timeupdate",this.timeUpdateHandler),this.playHandler&&this.videoElement.removeEventListener("play",this.playHandler),this.pauseHandler&&(this.videoElement.removeEventListener("pause",this.pauseHandler),this.videoElement.removeEventListener("ended",this.pauseHandler)),this.timeUpdateCallbacks.clear(),this.playStateCallbacks.clear()}};var Ps=class{constructor(u,n){this.timeUpdateCallbacks=new Set;this.playStateCallbacks=new Set;this.timeUpdateInterval=null;if(!n)throw new Error("ThreeQPlayerAdapter requires a video element");this.player=u,this.videoElement=n,this.videoElement._threeqPlayer=u,this.setupEventListeners()}setupEventListeners(){let u=()=>{this.timeUpdateInterval||(this.timeUpdateInterval=setInterval(()=>{try{let n=this.player.getCurrentTime();isFinite(n)&&n>=0&&this.timeUpdateCallbacks.forEach(i=>i(n))}catch{this.stopTimeUpdatePolling()}},100))};this.threeqPlayHandler=()=>{this.playStateCallbacks.forEach(n=>n(!0)),u()},this.threeqPauseHandler=()=>{this.playStateCallbacks.forEach(n=>n(!1)),this.stopTimeUpdatePolling()},this.player.on("media.playing",this.threeqPlayHandler),this.player.on("media.paused",this.threeqPauseHandler),this.player.on("play",this.threeqPlayHandler),this.player.on("pause",this.threeqPauseHandler),this.player.on("media.ended",this.threeqPauseHandler),this.player.on("ended",this.threeqPauseHandler);try{this.player.isPlaying&&this.player.isPlaying()&&u()}catch{}this.timeUpdateHandler=()=>{let n=this.videoElement.currentTime;isFinite(n)&&n>=0&&this.timeUpdateCallbacks.forEach(i=>i(n))},this.videoElement.addEventListener("timeupdate",this.timeUpdateHandler),this.playHandler=()=>{this.playStateCallbacks.forEach(n=>n(!0)),u()},this.pauseHandler=()=>{this.playStateCallbacks.forEach(n=>n(!1)),this.stopTimeUpdatePolling()},this.videoElement.addEventListener("play",this.playHandler),this.videoElement.addEventListener("pause",this.pauseHandler),this.videoElement.addEventListener("ended",this.pauseHandler)}getCurrentTime(){try{let u=this.player.getCurrentTime();if(isFinite(u)&&u>=0)return u}catch{}return this.videoElement.currentTime||0}isPlaying(){try{return this.player.isPlaying()}catch{}return!this.videoElement.paused&&!this.videoElement.ended}onTimeUpdate(u){this.timeUpdateCallbacks.add(u);try{u(this.getCurrentTime())}catch{u(0)}return()=>{this.timeUpdateCallbacks.delete(u)}}onPlayStateChange(u){this.playStateCallbacks.add(u);try{u(this.isPlaying())}catch{u(!1)}return()=>{this.playStateCallbacks.delete(u)}}getDuration(){try{let n=this.player.getDuration();if(isFinite(n)&&n>0)return n}catch{}let u=this.videoElement.duration;return isFinite(u)&&u>0?u:null}seek(u){try{this.player.seek(u)}catch{this.videoElement.currentTime=u}}destroy(){try{this.timeUpdateHandler&&this.videoElement&&this.videoElement.removeEventListener("timeupdate",this.timeUpdateHandler),this.playHandler&&this.videoElement&&this.videoElement.removeEventListener("play",this.playHandler),this.pauseHandler&&this.videoElement&&(this.videoElement.removeEventListener("pause",this.pauseHandler),this.videoElement.removeEventListener("ended",this.pauseHandler))}catch{}try{this.threeqPlayHandler&&this.player&&typeof this.player.off=="function"&&(this.player.off("media.playing",this.threeqPlayHandler),this.player.off("play",this.threeqPlayHandler)),this.threeqPauseHandler&&this.player&&typeof this.player.off=="function"&&(this.player.off("media.paused",this.threeqPauseHandler),this.player.off("pause",this.threeqPauseHandler),this.player.off("media.ended",this.threeqPauseHandler),this.player.off("ended",this.threeqPauseHandler))}catch{}this.stopTimeUpdatePolling(),this.timeUpdateCallbacks.clear(),this.playStateCallbacks.clear()}stopTimeUpdatePolling(){this.timeUpdateInterval&&(clearInterval(this.timeUpdateInterval),this.timeUpdateInterval=null)}};import{useState as E1,useEffect as Vy}from"react";function Od(H){let{player:u,updateInterval:n}=H,[i,c]=E1(0),[m,$]=E1(!1);return Vy(()=>{if(!u){c(0),$(!1);return}try{c(u.getCurrentTime()),$(u.isPlaying())}catch{c(0),$(!1)}let P=u.onTimeUpdate(r=>{c(r)}),t=u.onPlayStateChange(r=>{$(r)}),_=null,a=()=>{if(u)try{c(u.getCurrentTime()),$(u.isPlaying())}catch{}_=requestAnimationFrame(a)};return _=requestAnimationFrame(a),()=>{P(),t(),_!==null&&cancelAnimationFrame(_)}},[u,n]),{currentTime:i,isPlaying:m}}import{useMemo as Gy}from"react";function Is(H){let{video:u,bitmovin:n,bitmovinVideo:i,shaka:c,shakaVideo:m,videojs:$,videojsVideo:P,threeq:t,threeqContainer:_,threeqVideo:a,adapter:r,updateInterval:o}=H,l=Gy(()=>{if(r)return r;if(u)return new $s(u);if(n){let d=i??null;if(!d)try{d=n.getContainer()?.querySelector("video")}catch(h){if(h?.code===1001||h?.name==="API_NOT_AVAILABLE")return null;throw h}return d?new Ts(n,d):null}if(c)return m?new Es(c,m):null;if($){let d=P??null;if(!d)try{d=$.el?.()?.querySelector("video")}catch{}return d?new As($,d):null}if(t){let d=a??null;if(!d&&_&&(d=_.querySelector("video")),!d)try{d=t.getContainer?.()?.querySelector("video")}catch{}return d?new Ps(t,d):null}return null},[u,n,i,c,m,$,P,t,_,a,r]);return Od({player:l,updateInterval:o})}import A1 from"react";function Wy(H){let{video:u,bitmovin:n,shaka:i,videojs:c,threeq:m,threeqContainer:$,threeqVideo:P,adapter:t,updateInterval:_,children:a,subtitleClassName:r,subtitleStyle:o,phontClient:l,...d}=H,{currentTime:h,isPlaying:f}=Is({video:u,bitmovin:n,shaka:i,videojs:c,threeq:m,threeqContainer:$,threeqVideo:P,adapter:t,updateInterval:_});return A1.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},a,A1.createElement(_s,{...d,currentTime:h,isPlaying:f,phontClient:l,className:r,style:o}))}import Fd,{useEffect as Hd,useMemo as iS,useState as Cs}from"react";import{subtitleManager as nl}from"@phont-ai/subtitles-core";import tl,{useState as Ld,useEffect as qy}from"react";import{subtitleManager as aa}from"@phont-ai/subtitles-core";var Ky=({isVodMode:H=!1,soundbiteData:u=null,embedded:n=!1})=>{let[i,c]=Ld({all:[],important:[],filtered:[]}),[m,$]=Ld(!1),[P,t]=Ld(0),_=f=>{let p=new Map;return f.forEach(A=>{let x=A.start_time??A.onset??0,I=A.end_time??A.offset??x+2,T=`${String(A.event_label)}|${x}|${I}`;p.has(T)||p.set(T,A)}),Array.from(p.values())};qy(()=>{let f=aa.subscribe(A=>{$(A.isClosedCaptionsEnabled),t(A.currentTime||0);let x=aa.getAllSoundbiteData(H);c({all:_(x.all||[]),important:_(x.important||[]),filtered:_(x.filtered||[])})}),p=aa.getState();return $(p.isClosedCaptionsEnabled),()=>f()},[H,u]);let a=i.filtered&&i.filtered.length?i.filtered:i.important;if(!m||!a.length)return null;let r=a.filter(f=>{let p=f.start_time||f.onset||0,A=f.end_time||f.offset||p+2,x=P,I=.5;return x+I>=p&&x<=A+I});if((()=>{if([...a||[],...i.all||[]].filter(x=>{let I=x.start_time||x.onset||0,T=x.end_time||x.offset||I+2;return P>=I&&P<=T}).some(x=>!!aa.mapEventLabelToAnimation(x.event_label)))return!0;let p=aa.getState?.()||{};return(Array.isArray(p.soundbiteAnimations)?p.soundbiteAnimations:[]).some(x=>P>=(x.startTime||0)&&P<=(x.endTime||0))})())return null;let l=r.filter(f=>!!!aa.mapEventLabelToAnimation(f.event_label));if(!l.length)return null;let h=Array.from(new Set(l.map(f=>(f.event_label||"").toString().trim()).filter(Boolean))).map(f=>`[${f}]`).join(", ");return tl.createElement("div",{style:{width:"100%",height:n?"100%":"auto",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},className:"phont-soundbite-text-container"},tl.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"}},tl.createElement("div",{style:{fontFamily:"Inter, sans-serif",fontSize:"0.95rem",lineHeight:1.2,textAlign:"center",opacity:.9,transform:"translateY(0)",transition:"opacity 0.3s ease, transform 0.3s ease",borderRadius:"8px",boxShadow:"0 4px 12px rgba(0,0,0,0.3)",maxWidth:"100%",whiteSpace:"normal",background:"rgba(0, 0, 0, 0.7)",color:"white",border:"1px solid rgba(255, 255, 255, 0.2)",display:"block",margin:"0 auto",padding:"0.375rem 0.75rem",backdropFilter:"blur(4px)"}},tl.createElement("span",{style:{fontWeight:600}},h))))},P1=Ky;import oa,{useEffect as U1,useMemo as F1,useState as Ud}from"react";import I1,{useRef as C1,useEffect as Dd,forwardRef as zy,useState as x1}from"react";var M1=zy(({animationData:H,width:u="100%",height:n="100%",position:i="absolute",top:c=0,left:m=0,zIndex:$=0,loop:P=!0,autoplay:t=!0,speed:_=1,style:a={},className:r="",onAnimationLoaded:o=()=>{},renderer:l="canvas"},d)=>{let h=C1(null),f=C1(null),[p,A]=x1(!1),[x,I]=x1(null);return Dd(()=>{(async()=>{try{let y=await import("lottie-web");I(y.default)}catch(y){console.error("Failed to load lottie-web",y)}})()},[]),Dd(()=>{if(!h.current||!x||!H)return;f.current&&f.current.destroy();let T=o,y=x.loadAnimation({container:h.current,renderer:l,loop:P,autoplay:t,animationData:H,rendererSettings:{preserveAspectRatio:"xMidYMid meet",hideOnTransparent:!1,progressiveLoad:!1,clearCanvas:!0,className:"lottie-render"}});return f.current=y,y.addEventListener("complete",()=>{P&&requestAnimationFrame(()=>{y.goToAndPlay(0,!0)})}),y.addEventListener("DOMLoaded",()=>{A(!0);try{y.goToAndStop(0,!0),requestAnimationFrame(()=>{requestAnimationFrame(()=>{y.play()})})}catch{}T&&T(y)}),()=>{f.current&&(f.current.destroy(),f.current=null)}},[H,P,t,_,x,l]),Dd(()=>{f.current&&f.current.setSpeed(_)},[_]),I1.useImperativeHandle(d,()=>({getAnimationInstance:()=>f.current,getContainerElement:()=>h.current,getSVGElement:()=>h.current?.querySelector("svg"),forcePlay:()=>{f.current&&f.current.play()},forceContinuousPlay:()=>{if(f.current){let T=f.current,y=T.currentFrame,E=T.totalFrames,S=(y+1)%E;T.goToAndStop(S,!0),T.play()}},forcePause:()=>{f.current&&f.current.pause()},getSVGAsImage:()=>typeof document>"u"?Promise.reject(new Error("Not in browser environment")):new Promise((T,y)=>{if(!h.current){y(new Error("Container not found"));return}let E=h.current.querySelector("svg");if(!E){y(new Error("SVG element not found"));return}try{let b=new XMLSerializer().serializeToString(E),C=new Blob([b],{type:"image/svg+xml"}),O=URL.createObjectURL(C),k=new Image;k.onload=()=>{URL.revokeObjectURL(O),T(k)},k.onerror=R=>{URL.revokeObjectURL(O),y(R)},k.src=O}catch(S){y(S)}}),renderToCanvas:(T,y,E)=>typeof document>"u"?Promise.reject(new Error("Not in browser environment")):new Promise(async(S,b)=>{if(!h.current){b(new Error("Container not found"));return}let C=h.current.querySelector("svg");if(!C){b(new Error("SVG element not found"));return}try{let k=new XMLSerializer().serializeToString(C),D=`data:image/svg+xml;base64,${btoa(k)}`,V=T.getContext("2d"),q=new Image;q.onload=()=>{V?(V.drawImage(q,0,0,y||T.width,E||T.height),S(T)):b(new Error("Canvas context not found"))},q.onerror=K=>{b(K)},q.src=D}catch(O){b(O)}}),captureAsVideo:async(T,y=30)=>typeof document>"u"?Promise.reject(new Error("Not in browser environment")):new Promise(async(E,S)=>{if(!h.current||!f.current){S(new Error("Animation not initialized"));return}try{let b=document.createElement("canvas"),C=h.current.querySelector("svg");if(!C){S(new Error("SVG element not found"));return}b.width=C.viewBox.baseVal&&C.viewBox.baseVal.width||C.width.baseVal&&C.width.baseVal.value||1080,b.height=C.viewBox.baseVal&&C.viewBox.baseVal.height||C.height.baseVal&&C.height.baseVal.value||1080;let O=b.getContext("2d");if(!O){S(new Error("Could not get canvas context"));return}let k=b.captureStream(y),R=new MediaRecorder(k,{mimeType:"video/webm;codecs=vp9",videoBitsPerSecond:5e6}),D=[];R.ondataavailable=G=>{G.data.size>0&&D.push(G.data)},R.onstop=()=>{let G=new Blob(D,{type:"video/webm"});E(G)},R.start(),f.current.goToAndStop(0,!0),f.current.play();let V=0,q=Math.ceil(y*T),K=async()=>{O.clearRect(0,0,b.width,b.height);try{let U=new XMLSerializer().serializeToString(C),F=`data:image/svg+xml;base64,${btoa(U)}`,Y=new Image;await new Promise(Z=>{Y.onload=Z,Y.src=F}),O.drawImage(Y,0,0,b.width,b.height),V++,V<q?requestAnimationFrame(K):(R.stop(),f.current&&f.current.goToAndStop(0,!0))}catch(G){S(G)}};K()}catch(b){S(b)}}),isLoaded:()=>p}),[p,l]),I1.createElement("div",{ref:h,style:{width:u,height:n,position:i,top:c,left:m,zIndex:$,overflow:"hidden",pointerEvents:"none",...a},className:r})});M1.displayName="LottiePlayer";var k1=M1;import Yy,{useRef as Nd,useEffect as w1}from"react";import{gsap as Bd}from"gsap";import{SplitText as R1}from"gsap/SplitText";typeof window<"u"&&Bd.registerPlugin(R1);var Xy=({currentTime:H,startTime:u,endTime:n})=>{let i=Nd(null),c=Nd(null),m=Nd(null);return w1(()=>{if(!i.current)return;let $=i.current;if(c.current&&(c.current.kill(),c.current=null),m.current){try{m.current.revert()}catch{}m.current=null}try{let P=new R1($,{type:"chars",charsClass:"split-char"});m.current=P;let t=P.chars;if(!t||t.length===0)return;Bd.set(t,{opacity:0,y:40,scale:.5});let _=Bd.timeline({paused:!0});_.to(t,{opacity:1,y:0,scale:1,duration:1.75,ease:"elastic.out(1, 0.3)",stagger:.07}),_.to(t,{opacity:0,y:40,scale:.5,duration:.25,ease:"power2.in",stagger:.02}),c.current=_}catch(P){console.warn("GSAP SplitText not available or failed",P)}return()=>{if(c.current&&(c.current.kill(),c.current=null),m.current){try{m.current.revert()}catch{}m.current=null}}},[u,n]),w1(()=>{if(!c.current)return;let $=n-u;if($<=0)return;let P=(H-u)/$;P=Math.max(0,Math.min(1,P)),c.current.progress(P)},[H,u,n]),Yy.createElement("h1",{ref:i,style:{fontSize:"40px",fontWeight:"bold",fontFamily:'"Parkinsans", sans-serif',color:"white",textAlign:"center",overflow:"hidden",display:"inline-block",whiteSpace:"normal",wordWrap:"break-word"}},"[ Laughter ]")},O1=Xy;import{subtitleManager as H1}from"@phont-ai/subtitles-core";var j1=({animationData:H,speed:u=1,loop:n=!0,style:i={},renderer:c="canvas"})=>H?oa.createElement(k1,{animationData:H,width:"100%",height:"100%",loop:n,autoplay:!0,speed:u,renderer:c,style:i}):null,tS=({animationType:H,activeAnimation:u,currentTime:n,stableKey:i,loadedData:c})=>{switch(H){case"Laughter":return oa.createElement(O1,{key:i,currentTime:n,startTime:u.startTime,endTime:u.extendedEndTime||u.endTime});case"CameraClicking.json":case"Crack.json":case"Vibration.json":return c?oa.createElement(j1,{key:i,animationData:c,speed:1,loop:!0,style:{opacity:.9,mixBlendMode:"normal",filter:"drop-shadow(0 0 10px rgba(0,0,0,0.3))",willChange:"transform",transform:"scale(1.0)"}}):null;case"Siren.json":return c?oa.createElement(j1,{key:i,animationData:c,speed:.8,loop:!0,renderer:"svg",style:{opacity:.85,mixBlendMode:"screen",filter:"drop-shadow(0 0 15px rgba(0,100,255,0.4))",willChange:"transform",transform:"scale(0.9)"}}):null;default:return null}},nS=({animations:H,context:u="live",embedded:n=!1})=>{let[i,c]=Ud(!1),[m,$]=Ud(0),[P,t]=Ud({});U1(()=>{let p=H1.subscribe(x=>{c(x.isClosedCaptionsEnabled),$(x.currentTime)}),A=H1.getState();return c(A.isClosedCaptionsEnabled),$(A.currentTime),()=>p()},[]);let _=H?.[0];U1(()=>{if(!_)return;let p=_.animationFile;if(!p||p==="Laughter"||P[p])return;(async()=>{try{let x;switch(p){case"CameraClicking.json":x=await Promise.resolve().then(()=>Cr(L1()));break;case"Crack.json":x=await Promise.resolve().then(()=>Cr(D1()));break;case"Siren.json":x=await Promise.resolve().then(()=>Cr(N1()));break;case"Vibration.json":x=await Promise.resolve().then(()=>Cr(B1()));break;default:console.warn(`Unknown animation file: ${p}`);return}x&&t(I=>({...I,[p]:x.default||x}))}catch(x){console.error(`Failed to load animation: ${p}`,x)}})()},[_,P]);let a=F1(()=>_?`${_.id}_${_.startTime}_${_.endTime}`:null,[_?.id,_?.startTime,_?.endTime]),r=_?.animationFile,o=r==="Laughter",l=F1(()=>{if(!_)return!1;let p=_.extendedEndTime||_.endTime;return m>=_.startTime&&m<=p},[m,_]);if(!i||!_||!l||!a)return null;let d=oa.createElement(tS,{animationType:r,activeAnimation:_,currentTime:m,stableKey:a,loadedData:P[r]}),f={...n?{position:"relative",width:"100%",height:"100%"}:{position:"fixed",bottom:`${fs.soundbites.bottomVh}vh`,left:"50%",transform:"translateX(-50%)"},width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",pointerEvents:"none",zIndex:fs.soundbites.zIndex};return oa.createElement("div",{style:f},d)},V1=nS;function il({isVodMode:H=!0,boxSize:u=550,width:n=null,height:i=null,bottomVh:c=null,intensity:m=.5,hideWhenPanelsOpen:$=!1,isMetaPanelOpen:P=!1,isPhontControlsOpen:t=!1,config:_={}}){let[a,r]=Cs(!0),[o,l]=Cs(0),[d,h]=Cs(!1),[f,p]=Cs(!1),[A,x]=Cs(!1),I={...fs.soundbites,..._};Hd(()=>{let k=nl.subscribe(()=>{let D=nl.getState();r(D.isClosedCaptionsEnabled),p(D.isSpeaker||!1),l(V=>(V+1)%1e3)}),R=nl.getState();return r(R.isClosedCaptionsEnabled),p(R.isSpeaker||!1),k},[]),Hd(()=>{let k=()=>{x(window.innerWidth<=768)};return k(),window.addEventListener("resize",k),()=>window.removeEventListener("resize",k)},[]),Hd(()=>{let k=()=>{if(typeof document>"u")return;let V=document.querySelectorAll('[class*="debug"], [class*="opacity-60"]').length>0;h(V)};k();let R=setInterval(k,1e3);return()=>clearInterval(R)},[]);let T=iS(()=>nl.getActiveSoundbiteAnimations(H),[H,o]);if(!a||d||$&&(P||t))return null;let E=c!==null?c:A?f?I.mobileBottomVh:I.mobileBottomVhNoSpeaker:f?I.bottomVh:I.bottomVhNoSpeaker,S=n||(A?I.mobileWidth:I.width),b=i||I.height,C={position:"absolute",bottom:`${E}%`,left:"50%",transform:"translateX(-50%)",display:"grid",placeItems:"center",width:S,maxWidth:A?I.maxMobileWidth:"none",height:b,pointerEvents:"none",zIndex:I.zIndex},O=Array.isArray(T)&&T.length>0;return Fd.createElement("div",{style:C},O?Fd.createElement(V1,{animations:T,subtitleExists:!0,context:H?"vod-player":"live",intensity:m,embedded:!0}):Fd.createElement(P1,{isVodMode:H,embedded:!0}))}import Pt,{useState as Wt,useRef as an,useEffect as Hn,useMemo as Sh,useCallback as bh}from"react";import xt,{useState as aS,useEffect as oS,useRef as sS}from"react";import jd from"react";function xs({gts:H,setGTS:u,threshold:n,maxExpression:i}){let c=`Threshold: ${Math.round(n*100)}% | Expressive: ${Math.round(i*100)}%`;return jd.createElement("div",{className:"w-full mb-2"},jd.createElement("input",{type:"range",min:0,max:100,value:Math.round(H*100),onChange:m=>u(Number(m.target.value)/100),className:"w-full accent-black emotion-slider",style:{WebkitAppearance:"none",height:2,background:"#e5e7eb",borderRadius:.5}}),jd.createElement("div",{className:"text-xs text-gray-600 mt-1",style:{fontFamily:"Inter, sans-serif"}},c))}import wn from"react";function Ms({subtitleLanguage:H,availableLanguages:u,currentSubtitleLanguage:n,onLanguageChange:i,isTranslating:c=!1,translatingToLanguage:m,translationProvider:$,translationModel:P}){return wn.createElement("div",{className:"w-full mb-3"},wn.createElement("label",{className:"text-white text-lg font-medium mb-1 flex items-center gap-2",style:{fontFamily:"Inter, sans-serif"}},wn.createElement("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},wn.createElement("path",{d:"M5 8l6 6"}),wn.createElement("path",{d:"m4 14 6-6 2-3"}),wn.createElement("path",{d:"M2 5h12"}),wn.createElement("path",{d:"M7 2h1"}),wn.createElement("path",{d:"m22 22-5-10-5 10"}),wn.createElement("path",{d:"M14 18h6"})),"Translation"),wn.createElement("div",{className:"relative"},wn.createElement("select",{value:H||"",onChange:t=>i(t.target.value||null),disabled:c,className:"w-full bg-black/80 border border-white/30 text-white text-xs px-3 py-2 rounded focus:outline-none focus:border-white/60 transition-all duration-200 appearance-none cursor-pointer",style:{fontFamily:"Inter, sans-serif",backgroundImage:`url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e")`,backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"12px",paddingRight:"28px"}},wn.createElement("option",{value:""},n?u[n]||n.toUpperCase():"Original Language"),Object.entries(u).map(([t,_])=>wn.createElement("option",{key:t,value:t},_))),c&&wn.createElement("div",{className:"absolute inset-0 bg-black rounded flex items-center justify-center"},wn.createElement("div",{className:"text-white text-xs flex items-center gap-2 px-2"},wn.createElement("div",{className:"w-4 h-4 border-2 border-white/30 border-t-white rounded-full animate-spin flex-shrink-0"}),wn.createElement("span",{className:"truncate"},"Translating to"," ",m?u[m]||m.toUpperCase():"selected language","...")))))}import G1 from"react";function Vd({animationMode:H,setAnimationMode:u}){return G1.createElement("div",{className:"flex items-center mb-2 self-start rounded-full bg-black"},["Word","Sentence"].map(n=>G1.createElement("button",{key:n,onClick:i=>{i.stopPropagation(),u(n)},className:`px-4 py-1 md:px-2 md:py-0 rounded-full transition-all duration-200 text-lg font-medium border text-white pointer-events-auto ${H===n?"border-white opacity-100":"border-transparent opacity-70 hover:opacity-100"}`,style:{fontFamily:"Inter, sans-serif"}},n)))}import Ri from"react";function sa({isOn:H,label:u,onToggle:n}){return Ri.createElement("button",{className:"flex items-center gap-4 w-full group",onClick:i=>{i.stopPropagation(),n()},tabIndex:0,"aria-pressed":H},Ri.createElement("span",{className:"inline-block"},Ri.createElement("svg",{width:"45",height:"28",viewBox:"0 0 45 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H?Ri.createElement("rect",{x:"4",y:"5.5",width:"34",height:"17",rx:"8.5",fill:"white",stroke:"#222",strokeWidth:"0.5"}):Ri.createElement("rect",{x:"4",y:"5.5",width:"34",height:"17",rx:"8.5",fill:"#232323"}),Ri.createElement("circle",{cx:H?28:16,cy:"14",r:"6",fill:H?"black":"#D2BEFF",filter:"url(#toggle-shadow)",style:{transition:"cx 0.25s cubic-bezier(0.4,0,0.2,1), fill 0.2s"}}),Ri.createElement("defs",null,Ri.createElement("filter",{id:"toggle-shadow",x:"-30%",y:"-30%",width:"160%",height:"160%"},Ri.createElement("feDropShadow",{dx:"3",dy:"4",stdDeviation:"3",floodColor:"black",floodOpacity:"0.45"}))))),Ri.createElement("span",{className:"text-white text-lg md:text-base font-medium select-none text-left",style:{minWidth:160,fontFamily:"Inter, sans-serif"}},u))}import un,{useState as W1}from"react";import{EMOTION_ANIMATION_URLS as rS}from"@phont-ai/subtitles-core";function Gd({customAnimationUrl:H,setCustomAnimationUrl:u,emotionMappings:n,setEmotionMappings:i}){let[c,m]=W1("anger"),[$,P]=W1("");return un.createElement("div",{className:"w-full space-y-2",style:{maxWidth:"100%",overflowX:"hidden",minWidth:0}},un.createElement("div",{style:{width:"100%",maxWidth:"100%",minWidth:0}},un.createElement("label",{className:"text-white text-xs font-medium mb-1 block",style:{fontFamily:"Inter, sans-serif"}},"Custom Animation URL:"),un.createElement("div",{className:"flex gap-2 w-full",style:{maxWidth:"100%",minWidth:0}},un.createElement("input",{type:"text",value:H,onChange:t=>u(t.target.value),placeholder:"Paste playground URL",className:"flex-1 bg-black/80 border border-white/30 text-white text-xs px-2 py-1.5 rounded focus:outline-none focus:border-white/60 transition-all duration-200 min-w-0",style:{fontFamily:"monospace",maxWidth:"100%",minWidth:0,width:"100%"}}),H&&un.createElement("button",{onClick:()=>u(""),className:"px-2 py-1.5 bg-gray-700 hover:bg-gray-600 text-white text-xs rounded transition-colors flex-shrink-0"},"Clear"))),un.createElement("div",null,un.createElement("label",{className:"text-white text-xs font-medium mb-1 block",style:{fontFamily:"Inter, sans-serif"}},"Map Playground URL to Emotion:"),un.createElement("div",{className:"flex flex-col gap-2 w-full",style:{maxWidth:"100%"}},un.createElement("select",{value:c,onChange:t=>m(t.target.value),className:"w-full bg-black/80 border border-white/30 text-white text-xs px-2 py-1.5 rounded focus:outline-none focus:border-white/60 appearance-none cursor-pointer",style:{fontFamily:"Inter, sans-serif",backgroundImage:`url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e")`,backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"12px",paddingRight:"28px"}},Object.keys(rS).map(t=>un.createElement("option",{key:t,value:t},t))),un.createElement("div",{className:"flex gap-2 w-full",style:{maxWidth:"100%",minWidth:0}},un.createElement("input",{type:"text",value:$,onChange:t=>P(t.target.value),placeholder:"Paste playground URL",className:"flex-1 bg-black/80 border border-white/30 text-white text-xs px-2 py-1.5 rounded focus:outline-none focus:border-white/60 transition-all duration-200 min-w-0",style:{fontFamily:"monospace",maxWidth:"100%",minWidth:0,width:"100%"}}),un.createElement("button",{onClick:()=>{$.trim()&&(i({...n,[c]:$.trim()}),P(""))},disabled:!$.trim(),className:`px-2 py-1.5 rounded text-xs transition-colors flex-shrink-0 ${$.trim()?"bg-blue-600 hover:bg-blue-700 text-white cursor-pointer":"bg-gray-700 text-gray-400 cursor-not-allowed"}`},"Map")))),Object.keys(n).length>0&&un.createElement("div",null,un.createElement("div",{className:"text-white text-xs font-semibold mb-2",style:{fontFamily:"Inter, sans-serif"}},"Active Emotion Mappings:"),un.createElement("div",{className:"flex flex-col gap-2 w-full"},Object.entries(n).map(([t,_])=>_?un.createElement("div",{key:t,className:"w-full px-2 py-1.5 bg-black/80 border border-white/30 rounded text-xs flex items-center gap-2",style:{maxWidth:"100%",minWidth:0}},un.createElement("span",{className:"text-blue-400 font-semibold"},t,":"),un.createElement("span",{className:"text-gray-400 font-mono truncate flex-1 min-w-0",style:{maxWidth:"calc(100% - 80px)"}},_.length>50?`${_.substring(0,50)}...`:_),un.createElement("button",{onClick:()=>{let a={...n};delete a[t],i(a)},className:"px-1.5 py-0.5 bg-red-900 hover:bg-red-800 text-white rounded text-[10px] transition-colors"},"\xD7")):null)),un.createElement("button",{onClick:()=>i({}),className:"mt-2 px-3 py-1.5 bg-red-900 hover:bg-red-800 text-white text-xs rounded transition-colors"},"Clear All Mappings")))}var Wd={emotion:{defaultThreshold:0,maxThreshold:.3}};function kr(H){return Wd.emotion.maxThreshold-(Wd.emotion.maxThreshold-Wd.emotion.defaultThreshold)*H}function sr(H){return .2+.8*H}function qd({isVisible:H=!0,controlsVisible:u=!0,onControlsVisibilityChange:n,isLive:i=!1,currentVideoId:c,gts:m,setGTS:$,subtitleLanguage:P,availableLanguages:t={},currentSubtitleLanguage:_,handleLanguageChange:a,isTranslating:r=!1,translatingToLanguage:o,translationProvider:l,translationModel:d,animationMode:h,setAnimationMode:f,toggles:p,handleToggle:A,customAnimationUrl:x="",setCustomAnimationUrl:I,emotionMappings:T={},setEmotionMappings:y,showSettingsPanel:E=!1,selectedPlayer:S,setSelectedPlayer:b,players:C=[],vodId:O,setVodId:k,vods:R=[],onLogout:D,username:V}){let[q,K]=aS(!1),G=sS(null),U=u;if(oS(()=>{if(!H||!U||!n)return;let Z=te=>{let ne=te.target;if(G.current?.contains(ne))return;let ae=ne;ae.closest("video")||ae.closest("[data-phont-panel]")||ae.tagName==="VIDEO"||ae.closest(".video-player")||ae.closest('[class*="player"]')||n(!1)};return document.addEventListener("mousedown",Z,!0),()=>{document.removeEventListener("mousedown",Z,!0)}},[U,H,n]),!H)return null;let L=kr(m),F=sr(m),Y=E&&(S!==void 0||O!==void 0);return xt.createElement(xt.Fragment,null,U&&xt.createElement("div",{className:"fixed z-[50] pointer-events-none phont-controls-container",style:{bottom:"80px",right:"24px",zIndex:50,transition:"opacity 0.3s ease-out, transform 0.3s ease-out"}},xt.createElement("div",{ref:G,"data-phont-panel":!0,className:"relative flex flex-col items-start w-[min(90vw,260px)] max-w-[260px] bg-black/70 md:bg-black/50 rounded-2xl md:rounded-lg shadow-lg p-5 md:p-4 pointer-events-auto overflow-y-auto max-h-[min(85vh,520px)] h-auto",style:{backdropFilter:"blur(8px)",width:"min(90vw, 260px)",maxWidth:"260px",minWidth:0}},xt.createElement("div",{className:"w-full flex flex-col"},xt.createElement("div",{className:"w-full flex items-center justify-between mb-1 flex-shrink-0"},xt.createElement("span",{className:"text-white font-bold text-lg",style:{fontFamily:"Inter, sans-serif"}},q?"Settings":"Emotion & Voice"),xt.createElement("div",{className:"flex items-center gap-2"},Y&&xt.createElement("button",{onClick:()=>K(!q),className:"p-1 hover:bg-white/10 rounded transition-colors",style:{cursor:"pointer"},type:"button"},xt.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"#ffffff",viewBox:"0 0 256 256"},xt.createElement("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"}))),xt.createElement("button",{onClick:()=>n?.(!1),className:"p-1 hover:bg-white/10 rounded transition-colors",style:{cursor:"pointer"},"aria-label":"Close panel",type:"button"},xt.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"#ffffff",viewBox:"0 0 256 256"},xt.createElement("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))))),q&&Y?xt.createElement("div",{className:"w-full flex flex-col gap-2 overflow-y-auto overflow-x-hidden flex-1 settings-scroll",style:{minHeight:0,maxWidth:"100%",width:"100%",minWidth:0}},I&&y&&xt.createElement(Gd,{customAnimationUrl:x,setCustomAnimationUrl:I,emotionMappings:T,setEmotionMappings:y}),S!==void 0&&b&&C.length>0&&xt.createElement("div",null,xt.createElement("label",{className:"text-white text-xs font-medium mb-1 block",style:{fontFamily:"Inter, sans-serif"}},"Player:"),xt.createElement("select",{value:S,onChange:Z=>b(Z.target.value),className:"w-full bg-black/80 border border-white/30 text-white text-xs px-2 py-1.5 rounded focus:outline-none focus:border-white/60 transition-all duration-200",style:{fontFamily:"Inter, sans-serif"}},C.map(Z=>xt.createElement("option",{key:Z.type,value:Z.type},Z.name)))),O!==void 0&&k&&xt.createElement("div",null,xt.createElement("label",{className:"text-white text-xs font-medium mb-1 block",style:{fontFamily:"Inter, sans-serif"}},"VOD ID:"),xt.createElement("input",{type:"text",value:O,onChange:Z=>k(Z.target.value),placeholder:"VOD ID",className:"w-full bg-black/80 border border-white/30 text-white text-xs px-2 py-1.5 rounded focus:outline-none focus:border-white/60 transition-all duration-200",style:{fontFamily:"Inter, sans-serif"}})),R.length>0&&O!==void 0&&k&&xt.createElement("div",null,xt.createElement("label",{className:"text-white text-xs font-medium mb-1 block",style:{fontFamily:"Inter, sans-serif"}},"Or select:"),xt.createElement("select",{value:O,onChange:Z=>k(Z.target.value),className:"w-full bg-black/80 border border-white/30 text-white text-xs px-2 py-1.5 rounded focus:outline-none focus:border-white/60 transition-all duration-200",style:{fontFamily:"Inter, sans-serif"}},R.map(Z=>{let te=Z.subtitle_available===!0||Z.subtitle_available==="true";return xt.createElement("option",{key:Z._id,value:Z._id},te?"\u2713 ":"",Z.name||Z._id)}))),D&&xt.createElement("div",{className:"pt-2 mt-auto border-t border-white/20"},V&&xt.createElement("div",{className:"text-white text-xs mb-1.5",style:{fontFamily:"Inter, sans-serif"}},"Logged in as: ",xt.createElement("span",{className:"font-semibold"},V)),xt.createElement("button",{onClick:D,className:"w-full bg-red-600/80 hover:bg-red-600 text-white text-xs font-medium px-3 py-1.5 rounded transition-colors",style:{fontFamily:"Inter, sans-serif"},type:"button"},"Logout"))):xt.createElement(xt.Fragment,null,xt.createElement(xs,{gts:m,setGTS:$,threshold:L,maxExpression:F}),!i&&c&&a&&xt.createElement(Ms,{subtitleLanguage:P||null,availableLanguages:t,currentSubtitleLanguage:_||null,onLanguageChange:a,isTranslating:r,translatingToLanguage:o||null,translationProvider:l,translationModel:d}),xt.createElement("div",{className:"flex flex-col gap-1 w-full font-bold toggle-scroll",style:{width:"100%"}},xt.createElement(Vd,{animationMode:h,setAnimationMode:f}),p.length>0&&xt.createElement(sa,{isOn:p[0],label:"Speaker",onToggle:()=>A(0)}),p.length>1&&xt.createElement(sa,{isOn:p[1],label:"Closed Captions",onToggle:()=>A(1)})))))))}import{subtitleManager as Di}from"@phont-ai/subtitles-core";var mr=null;if(typeof window<"u")try{mr=K1()}catch{console.warn("[PlayerTestSuite] hls.js not found. Install it: npm install hls.js")}var uc,lc,$h,fv;function $A(H,u,n){let i=H?.words??[],c=H?.start_time??H?.start??0,m=H?.end_time??H?.end??0,$=u>=c&&u<m;return{text:H?.text??H?.subtitle??i.map(t=>t?.word??"").join(" ")??"",words:i.map(t=>({word:t?.word??"",start:t?.start??c,end:t?.end??m,isActive:!1})),isActive:$,fontSize:40,scale:1,opacity:1,slant:0,weight:400,width:100,textColor:"rgba(255,255,255,1)",translateX:0,translateY:0,stretchY:1,fontFamily:'"Roboto Flex", "Roboto", sans-serif',emotion:"none",emotionIntensity:0}}typeof window<"u"&&import("@phont-ai/subtitles-core").then(H=>{uc=H.PhontClient,lc=H.SubtitleManager,$h=H.selectEmotion,fv=H.subtitleManager}).catch(H=>{console.warn("[PlayerTestSuite] Core SDK not available for vanilla JS player:",H)});function TA({defaultVodId:H="Pooh_Compilation",defaultPlayer:u="html5",apiEndpoint:n,bitmovinLicenseKey:i,threeqDataId:c}){let{phontClient:m,isAuthenticated:$,username:P,logout:t}=bs(n),[_,a]=Wt(u),[r,o]=Wt(!0),l=an(null),d=ct=>/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(ct),h=ct=>/^[0-9a-f]{24}$/i.test(ct),f=()=>c&&d(c)?H==="69382800f8a252ef498f7f90"?"Pooh_Compilation":H||"Pooh_Compilation":c&&!d(c)?c:H==="69382800f8a252ef498f7f90"?"Pooh_Compilation":H||"Pooh_Compilation",[p,A]=Wt(f()),x=bh(()=>c&&d(c)?c:p&&d(p)?p:null,[c,p]),[I,T]=Wt(null),[y,E]=Wt("word"),[S,b]=Wt([]),[C,O]=Wt(!1),[k,R]=Wt(null),[D,V]=Wt(!1);Hn(()=>{fetch("http://127.0.0.1:7242/ingest/4a86bdb3-964f-45da-ba92-4206c16ddc8c",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"packages/react/src/components/PlayerTestSuite.tsx:init",message:"PlayerTestSuite init snapshot",data:{defaultVodId:H,threeqDataId:c,defaultPlayer:u,selectedPlayer:_,vodId:p,manifestUrl:I},timestamp:Date.now(),sessionId:"debug-session",runId:"pre-fix",hypothesisId:"A"})}).catch(()=>{})},[]);let[q,K]=Wt(.7),[G,U]=Wt([!1,!0]);Hn(()=>{Di.toggleClosedCaptions(!0);let ct=Di.getState();return U([ct.isSpeaker||!1,ct.isClosedCaptionsEnabled!==!1]),Di.subscribe(bt=>{U([bt.isSpeaker||!1,bt.isClosedCaptionsEnabled!==!1])})},[]);let[L,F]=Wt(""),[Y,Z]=Wt({}),[te,ne]=Wt(null),[ae,oe]=Wt(!1),[_e,me]=Wt(null),$e={"en-US":"English (US)","en-GB":"English (UK)",de:"German",pl:"Polish",fr:"French",es:"Spanish",it:"Italian",pt:"Portuguese",ru:"Russian",ja:"Japanese",zh:"Chinese",ko:"Korean",nl:"Dutch",sv:"Swedish",da:"Danish",fi:"Finnish",no:"Norwegian",cs:"Czech",sk:"Slovak",hu:"Hungarian",ro:"Romanian",bg:"Bulgarian",hr:"Croatian",sl:"Slovenian",et:"Estonian",lv:"Latvian",lt:"Lithuanian",mt:"Maltese",el:"Greek"},ve=bh(async ct=>{if(!(!m||!p))if(ne(ct),ct){oe(!0),me(ct);try{await Di.switchSubtitleLanguage(ct,p)}catch(vt){console.error("Failed to switch subtitle language:",vt)}finally{oe(!1),me(null)}}else try{await Di.switchSubtitleLanguage(null,p)}catch(vt){console.error("Failed to reset subtitle language:",vt)}},[m,p]),ge=an(null),Te=an(null),[Ae,de]=Wt(null),ie=an(null),[Q,ee]=Wt(null),[ue,he]=Wt(null),[Se,we]=Wt(!1),[De,Ke]=Wt(null),st=an(0),Be=an(!1),Pe=an(null),ke=an(null),Le=an(null),[qe,tt]=Wt(null),[je,at]=Wt(!1),Ze=an(null),[Xe,Oe]=Wt(null),ce=an(null),[ye,Re]=Wt(null),Me=an(null),[Ye,et]=Wt(!1),Je=an(`threeq-player-${Math.random().toString(36).substr(2,9)}`),lt=an(!1),mt=an(!1),gt=an(null),Rt=an(null),pt=an(null),Tt=an(null),qt=an(null),bn=an(null),Et=an(null),Ht=an(null),[en,Yn]=Wt(!1),ei=Is({video:_==="html5"?Ae:null,bitmovin:_==="bitmovin"?Q:null,bitmovinVideo:_==="bitmovin"?ue:null,shaka:_==="shaka"?ke.current:null,shakaVideo:_==="shaka"?qe:null,threeq:_==="threeq"?Xe:null,threeqContainer:_==="threeq"?Ze.current:null,threeqVideo:_==="threeq"?ye:null});Hn(()=>{!$||!m||(O(!0),m.listVods(0,50).then(b).catch(console.error).finally(()=>O(!1)))},[$,m]),Hn(()=>{p&&(Di.clearSubtitleCache(),Di.clearAudioPlaylistCache())},[p]),Hn(()=>{if(!(!m||!p||!$)){if(d(p)){console.log("[PlayerTestSuite] Skipping getVod for 3Q UUID - will use 3Q config API instead");return}!h(p)&&p!=="Pooh_Compilation"&&console.warn('[PlayerTestSuite] vodId format is unusual. Expected MongoDB ObjectId (24 hex chars) or "Pooh_Compilation". Proceeding anyway...'),m.getVod(p).then(ct=>{ct?.manifest&&T(ct.manifest)}).catch(ct=>{d(p)||console.error("[PlayerTestSuite] Error fetching VOD metadata:",ct)})}},[m,p,$]),Hn(()=>{if(_!=="html5"||!ge.current||!I||!$)return;let ct=ge.current;if(de(ct),I.includes(".m3u8")){if(!mr){console.error("[PlayerTestSuite] HLS.js is required for HLS playback. Install it: npm install hls.js");return}Te.current&&Te.current.destroy();let vt=new mr;Te.current=vt,vt.loadSource(I),vt.attachMedia(ct)}else ct.src=I;return()=>{Te.current&&(Te.current.destroy(),Te.current=null)}},[_,I,$]);let $n=Sh(()=>{if(i)return i;if(typeof window<"u"){if(window.__NEXT_DATA__?.env?.NEXT_PUBLIC_BITMOVIN_LICENSE_KEY)return window.__NEXT_DATA__.env.NEXT_PUBLIC_BITMOVIN_LICENSE_KEY;if(typeof process<"u"&&process.env?.NEXT_PUBLIC_BITMOVIN_LICENSE_KEY)return process.env.NEXT_PUBLIC_BITMOVIN_LICENSE_KEY}return typeof process<"u"&&process.env?.NEXT_PUBLIC_BITMOVIN_LICENSE_KEY?process.env.NEXT_PUBLIC_BITMOVIN_LICENSE_KEY:null},[i]),tn=Sh(()=>({key:$n||"",playback:{autoplay:!1,muted:!1}}),[$n]),jn=Sh(()=>I?{hls:I}:null,[I]);Hn(()=>{if(_!=="bitmovin"||typeof window>"u"||document.querySelector('link[href*="bitmovinplayer-ui"]'))return;let vt=document.createElement("link");return vt.rel="stylesheet",vt.href="https://cdn.bitmovin.com/player/web/8/bitmovinplayer-ui.css",vt.onerror=()=>{console.warn("[PlayerTestSuite] Bitmovin UI CSS not available. Controls may not be visible.")},vt.onload=()=>{console.log("[PlayerTestSuite] Bitmovin UI CSS loaded successfully")},document.head.appendChild(vt),()=>{let bt=document.querySelector('link[href*="bitmovinplayer-ui"]');bt&&bt.remove()}},[_]),Hn(()=>{_!=="bitmovin"||De||Promise.resolve().then(()=>(dv(),cv)).then(ct=>{Ke(()=>ct.BitmovinPlayer),we(!0)}).catch(ct=>{console.warn("[PlayerTestSuite] Bitmovin React component not available. Install: npm install bitmovin-player-react",ct),we(!1)})},[_,De]);let vi=bh(ct=>{ct&&ee(vt=>{if(vt===ct)return vt;let bt=_t=>{try{return!_t||typeof _t!="object"?null:_t.getContainer?_t.getContainer():null}catch(It){if(It?.message?.includes("destroyed")||It?.code===1001)return null;throw It}};try{let _t=bt(ct);if(_t){let It=_t.parentElement;It&&(It.style.width="100%",It.style.height="100%",It.style.position="relative"),_t.style.width="100%",_t.style.height="100%";let Vt=_t.querySelector("video");Vt?(Vt.style.width="100%",Vt.style.height="100%",Vt.style.objectFit="contain",console.log("[PlayerTestSuite] Bitmovin video element found and styled"),he(Vt)):(console.warn("[PlayerTestSuite] Bitmovin video element not found in container"),he(null))}}catch(_t){!_t?.message?.includes("destroyed")&&_t?.code!==1001&&console.error("[PlayerTestSuite] Error styling Bitmovin player:",_t)}try{ct.on?.("ready",()=>{console.log("[PlayerTestSuite] Bitmovin player ready event fired"),setTimeout(()=>{try{let _t=bt(ct);if(!_t){console.warn("[PlayerTestSuite] Player container not available (player may be destroyed)");return}let It=_t.querySelector("video");It&&(console.log("[PlayerTestSuite] Video element found after ready event"),It.style.width="100%",It.style.height="100%",It.style.objectFit="contain",he(It))}catch(_t){!_t?.message?.includes("destroyed")&&_t?.code!==1001&&console.warn("[PlayerTestSuite] Could not get video element after ready:",_t)}},100)}),ct.on?.("sourceLoaded",()=>{console.log("[PlayerTestSuite] Bitmovin player source loaded"),setTimeout(()=>{try{let _t=bt(ct);if(!_t){console.warn("[PlayerTestSuite] Player container not available (player may be destroyed)");return}let It=_t.querySelector("video");It&&(console.log("[PlayerTestSuite] Video element found after sourceLoaded event"),It.style.width="100%",It.style.height="100%",It.style.objectFit="contain",he(It))}catch(_t){!_t?.message?.includes("destroyed")&&_t?.code!==1001&&console.warn("[PlayerTestSuite] Could not get video element after sourceLoaded:",_t)}},100)})}catch(_t){!_t?.message?.includes("destroyed")&&_t?.code!==1001&&console.warn("[PlayerTestSuite] Could not attach Bitmovin event listeners:",_t)}return ct})},[]);Hn(()=>()=>{if(_!=="bitmovin"&&Q){try{Q&&typeof Q=="object"&&Q.destroy&&Q.destroy()}catch(ct){!ct?.message?.includes("destroyed")&&ct?.code!==1001&&console.warn("[PlayerTestSuite] Error destroying Bitmovin player:",ct)}ee(null),he(null),Be.current=!1}},[_,Q]),Hn(()=>{if(_!=="shaka"||typeof window>"u")return;if(!je&&!window.shaka){let _t=document.createElement("script");return _t.src="https://cdn.jsdelivr.net/npm/shaka-player@latest/dist/shaka-player.compiled.js",_t.async=!0,_t.onload=()=>{window.shaka?.polyfill&&window.shaka.polyfill.installAll(),at(!0)},document.head.appendChild(_t),()=>{}}if(!je||!window.shaka||!Pe.current||!I)return;let ct=Pe.current;if(ke.current){try{ke.current.destroy()}catch{}ke.current=null}if(Le.current){try{let _t=Le.current;if(_t.isConnected&&_t.parentNode){let It=_t.parentNode;It.contains(_t)&&It.removeChild(_t)}}catch(_t){console.warn("[PlayerTestSuite] Error removing Shaka video element:",_t)}Le.current=null}let vt=document.createElement("video");vt.setAttribute("playsinline","true"),vt.setAttribute("crossorigin","anonymous"),vt.style.width="100%",vt.style.height="100%",vt.style.objectFit="contain",vt.controls=!0,ct.appendChild(vt),Le.current=vt,tt(vt);let bt=new window.shaka.Player(vt);return ke.current=bt,bt.configure({streaming:{bufferingGoal:10,rebufferingGoal:2,bufferBehind:5},abr:{enabled:!0}}),bt.load(I).catch(console.error),()=>{if(ke.current){try{ke.current.destroy()}catch{}ke.current=null}if(Le.current){try{let _t=Le.current;if(_t.isConnected&&_t.parentNode){let It=_t.parentNode;It.contains(_t)&&It.removeChild(_t)}}catch(_t){console.warn("[PlayerTestSuite] Error removing Shaka video element during cleanup:",_t)}Le.current=null}tt(null)}},[_,je,I]),Hn(()=>{if(_!=="threeq"){R(null);return}let ct=x(),vt=!!ct;if(fetch("http://127.0.0.1:7242/ingest/4a86bdb3-964f-45da-ba92-4206c16ddc8c",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"packages/react/src/components/PlayerTestSuite.tsx:threeq-config",message:"3Q config decision",data:{vodId:p,threeqDataId:c,playoutId:ct,is3QDataId:vt,selectedPlayer:_},timestamp:Date.now(),sessionId:"debug-session",runId:"pre-fix",hypothesisId:"A"})}).catch(()=>{}),!vt){R(null);return}V(!0),fetch(`https://playout.3qsdn.com/config/${ct}`).then(bt=>{if(fetch("http://127.0.0.1:7242/ingest/4a86bdb3-964f-45da-ba92-4206c16ddc8c",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"packages/react/src/components/PlayerTestSuite.tsx:threeq-config-res",message:"3Q config fetch response",data:{playoutId:ct,status:bt.status,ok:bt.ok},timestamp:Date.now(),sessionId:"debug-session",runId:"pre-fix",hypothesisId:"E"})}).catch(()=>{}),!bt.ok)throw new Error(`Failed to fetch 3Q config: ${bt.status}`);return bt.json()}).then(bt=>{R(bt),bt.sources?.hls&&T(bt.sources.hls),V(!1)}).catch(bt=>{console.warn("[PlayerTestSuite] Failed to fetch 3Q config, will use playoutId directly:",bt),fetch("http://127.0.0.1:7242/ingest/4a86bdb3-964f-45da-ba92-4206c16ddc8c",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"packages/react/src/components/PlayerTestSuite.tsx:threeq-config-err",message:"3Q config fetch error",data:{playoutId:ct,error:String(bt)},timestamp:Date.now(),sessionId:"debug-session",runId:"pre-fix",hypothesisId:"E"})}).catch(()=>{}),R(null),V(!1)})},[_,c,p,x]),Hn(()=>{if(_!=="threeq"||typeof window>"u"||(fetch("http://127.0.0.1:7242/ingest/4a86bdb3-964f-45da-ba92-4206c16ddc8c",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"packages/react/src/components/PlayerTestSuite.tsx:threeq-init",message:"3Q init preconditions",data:{isAuthenticated:!!$,hasPhontClient:!!m,threeqLoaded:Ye,hasGlobalJs3q:!!window.js3q,vodId:p,threeqDataId:c},timestamp:Date.now(),sessionId:"debug-session",runId:"pre-fix",hypothesisId:"C"})}).catch(()=>{}),!$||!m))return;if(!Ye&&!window.js3q){let Vt=document.createElement("script");return Vt.src="https://player.3qsdn.com/js3q.latest.js",Vt.async=!0,Vt.onload=()=>et(!0),Vt.onerror=()=>{console.error("[PlayerTestSuite] Failed to load 3Q Player SDK from CDN")},document.head.appendChild(Vt),()=>{}}if(!Ye||!window.js3q||!Ze.current||lt.current)return;let ct=x();if(!!ct&&D||!ct)return;let bt=gt.current!==ct;if(bt&&ce.current){console.log("[PlayerTestSuite] PlayoutId changed, destroying old player:",{oldPlayoutId:gt.current,newPlayoutId:ct});try{typeof ce.current.destroy=="function"&&ce.current.destroy()}catch(Vt){console.warn("[PlayerTestSuite] Error destroying old player on playoutId change:",Vt)}ce.current=null,Me.current=null,Oe(null),Re(null),mt.current=!1}if(mt.current&&ce.current&&!bt)return;let _t=Ze.current,It=Je.current;if(ce.current){try{typeof ce.current.destroy=="function"&&ce.current.destroy()}catch(Vt){console.warn("[PlayerTestSuite] Error destroying existing player:",Vt)}ce.current=null,Me.current=null,Oe(null),Re(null),mt.current=!1}try{let Vt={container:It,autoplay:!1,controls:!0},Pn=x();fetch("http://127.0.0.1:7242/ingest/4a86bdb3-964f-45da-ba92-4206c16ddc8c",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"packages/react/src/components/PlayerTestSuite.tsx:threeq-playoutId",message:"3Q playoutId chosen",data:{playoutId:Pn,vodId:p,threeqDataId:c,selectedPlayer:_},timestamp:Date.now(),sessionId:"debug-session",runId:"pre-fix",hypothesisId:"A"})}).catch(()=>{}),Pn&&(Vt.playoutId=Pn,console.log("[PlayerTestSuite] Using playoutId for 3Q Player:",Pn,{threeqDataId:c,vodId:p,source:p?"vodId (user-selected)":"threeqDataId prop"}),console.log("[PlayerTestSuite] 3Q Config (for reference):",{hasConfig:!!k,hlsUrl:k?.sources?.hls,fullConfig:k}));let Kt=new window.js3q(Vt);mt.current=!0,gt.current=Pn,ce.current=Kt,Oe(Kt);let _n=()=>{try{if(!_t||!_t.isConnected)return console.log("[PlayerTestSuite] Container not available or not connected"),!1;if(!ce.current||ce.current!==Kt)return console.log("[PlayerTestSuite] Player not valid"),!1;let Ot=_t.querySelector("video");if(!Ot&&Kt.getContainer)try{let Mt=Kt.getContainer();Mt&&(Ot=Mt.querySelector("video"))}catch{}if(!Ot){let Mt=Array.from(document.querySelectorAll("video"));for(let zt of Mt)if(zt.isConnected&&(_t.contains(zt)||zt.closest(`#${It}`)||_t.contains(zt.parentElement))){Ot=zt;break}}if(!Ot&&Kt.videoElement&&(Ot=Kt.videoElement),Ot&&Ot.isConnected)try{return Ot.style.width="100%",Ot.style.height="100%",Ot.style.objectFit="contain",Me.current=Ot,Re(Ot),!0}catch{return!1}return!1}catch(Ot){return console.warn("[PlayerTestSuite] Error in findAndSetVideoElement:",Ot),!1}},yr=()=>{if(!ce.current||ce.current!==Kt)return;console.log("[PlayerTestSuite] 3Q Player ready event fired"),[100,300,600,1e3,2e3].forEach((Mt,zt)=>{setTimeout(()=>{ce.current===Kt&&!Me.current&&(console.log(`[PlayerTestSuite] Attempt ${zt+1} to find video element (delay: ${Mt}ms)`),_n())},Mt)})},Sr=()=>{if(!ce.current||ce.current!==Kt)return;console.log("[PlayerTestSuite] 3Q Player media.ready event fired"),[100,300,600,1e3].forEach((Mt,zt)=>{setTimeout(()=>{ce.current===Kt&&!Me.current&&(console.log(`[PlayerTestSuite] Media ready - Attempt ${zt+1} to find video element (delay: ${Mt}ms)`),_n())},Mt)})};Kt.on("ready",yr),Kt.on("media.ready",Sr),Kt.on("play",()=>{!ce.current||ce.current!==Kt||(console.log("[PlayerTestSuite] 3Q Player play event fired"),Me.current||_n())}),setTimeout(()=>{ce.current===Kt&&!Me.current&&_n()},200);let Bt=Date.now(),Qt=0,pn=setInterval(()=>{if(ce.current!==Kt){clearInterval(pn);return}if(Me.current){clearInterval(pn);return}if(Date.now()-Bt>1e4&&(Qt===0&&console.warn("[PlayerTestSuite] Video element not found after 10 seconds - player may still be initializing"),Qt++,Qt>1)){clearInterval(pn);return}_n()},500);return()=>{clearInterval(pn),lt.current=!0,mt.current=!1,setTimeout(()=>{let Ot=ce.current;if(Ot){try{typeof Ot.destroy=="function"&&Ot.destroy()}catch(Mt){console.warn("[PlayerTestSuite] Error destroying 3Q player during cleanup:",Mt)}ce.current=null}Me.current=null,gt.current=null,Oe(null),Re(null),setTimeout(()=>{lt.current=!1},50)},0)}}catch(Vt){console.error("[3Q Player] Error:",Vt)}},[_,Ye,p,c,I,k,D,$,m,x]),Hn(()=>{if(_!=="threeq")return;let ct=p||c;if(gt.current!==ct&>.current!==null&&(console.log("[PlayerTestSuite] VOD ID changed, resetting 3Q player initialization:",{oldPlayoutId:gt.current,newPlayoutId:ct}),mt.current=!1,ce.current)){try{typeof ce.current.destroy=="function"&&ce.current.destroy()}catch(vt){console.warn("[PlayerTestSuite] Error destroying player on VOD change:",vt)}ce.current=null,Me.current=null,Oe(null),Re(null)}},[_,p,c]),Hn(()=>{if(_!=="threeq"&&ce.current){lt.current=!0,mt.current=!1;let ct=ce.current;if(ct){try{typeof ct.destroy=="function"&&ct.destroy()}catch(vt){console.warn("[PlayerTestSuite] Error destroying 3Q player when switching:",vt)}ce.current=null}Me.current=null,gt.current=null,Oe(null),Re(null),setTimeout(()=>{lt.current=!1},100)}},[_]),Hn(()=>{if(_!=="vanilla-js"||typeof window>"u"||!$||!m||!Rt.current||!pt.current||!I)return;let ct=null,vt=null,bt=new Map;if(!uc||!lc||!$h){let Bt=setInterval(()=>{uc&&lc&&$h&&(clearInterval(Bt),Yn(!0),It())},100);return()=>clearInterval(Bt)}en||Yn(!0);let _t=Bt=>{Tt.current&&(Tt.current.textContent=Bt)};It();function It(){let Bt=Rt.current,Qt=pt.current;if(!Bt||!Qt)return;_t("Initializing vanilla JS player..."),Sr();let pn="phont_sdk_auth_token",Ot="phont_sdk_session_id",Mt="phont_sdk_api_key",zt=typeof window<"u"?sessionStorage.getItem(pn):null,Xn=typeof window<"u"?sessionStorage.getItem(Ot):null,In=typeof window<"u"?sessionStorage.getItem(Mt):null,Vn=n||process.env.NEXT_PUBLIC_API_BASE_URL||process.env.NEXT_PUBLIC_API_SUB_BASE_URL||"https://demo-api-dev.phont.ai";if(!Vn)throw new Error("API base URL is required. Set NEXT_PUBLIC_API_BASE_URL or NEXT_PUBLIC_API_SUB_BASE_URL environment variable.");let vn={apiBaseUrl:Vn};zt&&Xn?(vn.authToken=zt,vn.sessionId=Xn):In?vn.apiKey=In:process.env.NEXT_PUBLIC_API_KEY&&(vn.apiKey=process.env.NEXT_PUBLIC_API_KEY);let Ai=new uc(vn);bn.current=Ai;let gi=fv||new lc;Et.current=gi,gi.setPhontClient(Ai);let Ni=y==="sentence"?"Sentence":"Word";if(gi.setAnimationMode(Ni),Vt(Ai,gi,p),I&&I.includes(".m3u8"))if(mr&&mr.isSupported()){let Pi=new mr({enableWorker:!0,lowLatencyMode:!1});qt.current=Pi,Pi.loadSource(I),Pi.attachMedia(Bt),Pi.on(mr.Events.MANIFEST_PARSED,()=>{_t("Video loaded! Subtitles syncing...")}),Pi.on(mr.Events.ERROR,(br,Ji)=>{Ji.fatal&&console.error("[PlayerTestSuite] HLS error:",Ji)})}else Bt.canPlayType("application/vnd.apple.mpegurl")&&(Bt.src=I);else I&&(Bt.src=I);return Pn(Bt,gi,Qt,y),()=>{Sr()}}async function Vt(Bt,Qt,pn){try{_t("Loading subtitles..."),ct&&(ct.style.display="none"),vt&&(vt.style.display="none"),await Qt.loadVodSubtitles(pn,null);let Mt=Qt.getState().subtitles?.length||0}catch(Ot){console.error("[PlayerTestSuite] Failed to load subtitles:",Ot),_t(`Error loading subtitles: ${Ot.message||"Unknown error"}`)}}function Pn(Bt,Qt,pn,Ot){let Mt=null,zt=()=>{let Xn=Bt.currentTime;if(!!Bt.paused){Mt=requestAnimationFrame(zt);return}Qt.setCurrentTime(Xn);let Vn=Qt.getSubtitleForTime(Xn);if(!Vn){ct&&(ct.style.display="none"),vt&&(vt.style.display="none"),Mt=requestAnimationFrame(zt);return}let vn=$A(Vn,Xn,Ot);Kt(vn,pn),Mt=requestAnimationFrame(zt)};Mt=requestAnimationFrame(zt),Bt.addEventListener("timeupdate",()=>{Mt!==null&&cancelAnimationFrame(Mt),Mt=requestAnimationFrame(zt)}),Bt.addEventListener("play",()=>{Mt===null&&(Mt=requestAnimationFrame(zt))}),Bt.addEventListener("pause",()=>{Mt!==null&&(cancelAnimationFrame(Mt),Mt=null)}),Ht.current=()=>{Mt!==null&&(cancelAnimationFrame(Mt),Mt=null)},zt()}function Kt(Bt,Qt){if(!Bt||!Bt.isActive){ct&&(ct.style.display="none"),vt&&(vt.style.display="none");return}Bt.words&&Array.isArray(Bt.words)&&Bt.words.length>0?yr(Bt,Qt):_n(Bt,Qt)}function _n(Bt,Qt){let{text:pn,fontSize:Ot,fontFamily:Mt,weight:zt,width:Xn,scale:In,slant:Vn,translateX:vn,translateY:Ai,textColor:gi,opacity:Ni}=Bt,Pi=window.innerWidth,Ji="clamp(2vw, 3vw, 4vw)",Zi=`scale(${In||1}) skewX(${Vn||0}deg) translateX(${vn||0}px) translateY(${Ai||0}px)`,ti=ct;ti||(ti=document.createElement("div"),ti.className="phont-subtitle-vanilla phont-sentence",Qt.appendChild(ti),ct=ti),vt&&(vt.style.display="none"),ti.textContent=pn,ti.style.display="block",ti.style.cssText=`
|
|
296
|
+
`),this.pushCaption(E),E.startPts=y},h.prototype.pushCaption=function(y){y.text!==""&&(this.trigger("data",{startPts:y.startPts,endPts:y.endPts,text:y.text,stream:"cc708_"+y.serviceNum}),y.text="",y.startPts=y.endPts)},h.prototype.displayWindows=function(y,E){var S=this.current708Packet.data[++y],b=this.getPts(y);this.flushDisplayed(b,E);for(var C=0;C<8;C++)S&1<<C&&(E.windows[C].visible=1);return y},h.prototype.hideWindows=function(y,E){var S=this.current708Packet.data[++y],b=this.getPts(y);this.flushDisplayed(b,E);for(var C=0;C<8;C++)S&1<<C&&(E.windows[C].visible=0);return y},h.prototype.toggleWindows=function(y,E){var S=this.current708Packet.data[++y],b=this.getPts(y);this.flushDisplayed(b,E);for(var C=0;C<8;C++)S&1<<C&&(E.windows[C].visible^=1);return y},h.prototype.clearWindows=function(y,E){var S=this.current708Packet.data[++y],b=this.getPts(y);this.flushDisplayed(b,E);for(var C=0;C<8;C++)S&1<<C&&E.windows[C].clearText();return y},h.prototype.deleteWindows=function(y,E){var S=this.current708Packet.data[++y],b=this.getPts(y);this.flushDisplayed(b,E);for(var C=0;C<8;C++)S&1<<C&&E.windows[C].reset();return y},h.prototype.setPenAttributes=function(y,E){var S=this.current708Packet.data,b=S[y],C=E.currentWindow.penAttr;return b=S[++y],C.textTag=(240&b)>>4,C.offset=(12&b)>>2,C.penSize=3&b,b=S[++y],C.italics=(128&b)>>7,C.underline=(64&b)>>6,C.edgeType=(56&b)>>3,C.fontStyle=7&b,y},h.prototype.setPenColor=function(y,E){var S=this.current708Packet.data,b=S[y],C=E.currentWindow.penColor;return b=S[++y],C.fgOpacity=(192&b)>>6,C.fgRed=(48&b)>>4,C.fgGreen=(12&b)>>2,C.fgBlue=3&b,b=S[++y],C.bgOpacity=(192&b)>>6,C.bgRed=(48&b)>>4,C.bgGreen=(12&b)>>2,C.bgBlue=3&b,b=S[++y],C.edgeRed=(48&b)>>4,C.edgeGreen=(12&b)>>2,C.edgeBlue=3&b,y},h.prototype.setPenLocation=function(y,E){var S=this.current708Packet.data,b=S[y],C=E.currentWindow.penLoc;return E.currentWindow.pendingNewLine=!0,b=S[++y],C.row=15&b,b=S[++y],C.column=63&b,y},h.prototype.reset=function(y,E){var S=this.getPts(y);return this.flushDisplayed(S,E),this.initService(E.serviceNum,y)};var f={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},p=function(y){return y=f[y]||y,String.fromCharCode(y).replace(/[\x00]/g,"")},A=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],x=function(){for(var y=[],E=15;E--;)y.push("");return y},I=function(){for(var y=[],E=15;E--;)y[E]=0;return y},T=function y(E,S,b){y.prototype.init.call(this),this.field_=E||0,this.dataChannel_=S||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(C){var O,k,R,D,V;if((O=32639&C.ccData)!==this.lastControlCode_){if((61440&O)==4096?this.lastControlCode_=O:O!==this.PADDING_&&(this.lastControlCode_=null),R=O>>>8,D=255&O,O!==this.PADDING_)if(O===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(O===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(C.pts),this.flushDisplayed(C.pts),k=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=k,k=this.displayedIndent_,this.displayedIndent_=this.nonDisplayedIndent_,this.nonDisplayedIndent_=k,this.startPts_=C.pts;else if(O===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(C.pts);else if(O===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(C.pts);else if(O===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(C.pts);else if(O===this.CARRIAGE_RETURN_)this.clearFormatting(C.pts),this.flushDisplayed(C.pts),this.shiftRowsUp_(),this.startPts_=C.pts;else if(O===this.BACKSPACE_)this.mode_==="popOn"?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(O===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(C.pts),this.displayed_=x(),this.displayedIndent_=I();else if(O===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=x(),this.nonDisplayedIndent_=I();else if(O===this.RESUME_DIRECT_CAPTIONING_)this.mode_!=="paintOn"&&(this.flushDisplayed(C.pts),this.displayed_=x(),this.displayedIndent_=I()),this.mode_="paintOn",this.startPts_=C.pts;else{if(!this.mode_)return;if(this.isSpecialCharacter(R,D))V=p((R=(3&R)<<8)|D),this[this.mode_](C.pts,V),this.column_++;else if(this.isExtCharacter(R,D))this.mode_==="popOn"?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),V=p((R=(3&R)<<8)|D),this[this.mode_](C.pts,V),this.column_++;else if(this.isMidRowCode(R,D))this.clearFormatting(C.pts),this[this.mode_](C.pts," "),this.column_++,14&~D||this.addFormatting(C.pts,["i"]),1&~D||this.addFormatting(C.pts,["u"]);else if(this.isOffsetControlCode(R,D)){var q=3&D;this.column_+=q,this.incrementIdentation(q)}else if(this.isPAC(R,D)){var K=A.indexOf(7968&O);this.mode_==="rollUp"&&(K-this.rollUpRows_+1<0&&(K=this.rollUpRows_-1),this.setRollUp(C.pts,K)),K!==this.row_&&(this.clearFormatting(C.pts),this.changeRow(K)),1&D&&this.formatting_.indexOf("u")===-1&&this.addFormatting(C.pts,["u"]),16&~O||(this.column_=4*((14&O)>>1),this.mode_==="popOn"?this.nonDisplayedIndent_[this.row_]=this.column_:this.mode_==="rollUp"&&(this.displayedIndent_[this.row_]=this.column_)),this.isColorPAC(D)&&(14&~D||this.addFormatting(C.pts,["i"]))}else this.isNormalChar(R)&&(V=p(R),D!==0&&(V+=p(D)),this[this.mode_](C.pts,V),this.column_+=V.length)}}else this.lastControlCode_=null}};return T.prototype=new c,T.prototype.flushDisplayed=function(y){for(var E=0;E<this.displayed_.length;E++){var S=this.displayed_[E];S&&S.length&&this.trigger("data",{startPts:this.startPts_,endPts:y,text:S,stream:this.name_,position:{row:E,column:this.displayedIndent_[E]}})}},T.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=x(),this.nonDisplayed_=x(),this.displayedIndent_=I(),this.nonDisplayedIndent_=I(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},T.prototype.setConstants=function(){this.dataChannel_===0?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):this.dataChannel_===1&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_,this.TAB_OFFSET_1_=33,this.TAB_OFFSET_2_=34,this.TAB_OFFSET_3_=35},T.prototype.isSpecialCharacter=function(y,E){return y===this.EXT_&&E>=48&&E<=63},T.prototype.isExtCharacter=function(y,E){return(y===this.EXT_+1||y===this.EXT_+2)&&E>=32&&E<=63},T.prototype.isMidRowCode=function(y,E){return y===this.EXT_&&E>=32&&E<=47},T.prototype.isOffsetControlCode=function(y,E){return y===this.OFFSET_&&E>=this.TAB_OFFSET_1_&&E<=this.TAB_OFFSET_3_},T.prototype.isPAC=function(y,E){return y>=this.BASE_&&y<this.BASE_+8&&E>=64&&E<=127},T.prototype.isColorPAC=function(y){return y>=64&&y<=79||y>=96&&y<=127},T.prototype.isNormalChar=function(y){return y>=32&&y<=127},T.prototype.setRollUp=function(y,E){if(this.mode_!=="rollUp"&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(y),this.nonDisplayed_=x(),this.displayed_=x(),this.displayedIndent_=I(),this.nonDisplayedIndent_=I()),E!==void 0&&E!==this.row_)for(var S=0;S<this.rollUpRows_;S++)this.displayed_[E-S]=this.displayed_[this.row_-S],this.displayed_[this.row_-S]="";E===void 0&&(E=this.row_),this.topRow_=E-this.rollUpRows_+1},T.prototype.addFormatting=function(y,E){this.formatting_=this.formatting_.concat(E);var S=E.reduce(function(b,C){return b+"<"+C+">"},"");this[this.mode_](y,S)},T.prototype.clearFormatting=function(y){if(this.formatting_.length){var E=this.formatting_.reverse().reduce(function(S,b){return S+"</"+b+">"},"");this.formatting_=[],this[this.mode_](y,E)}},T.prototype.popOn=function(y,E){var S=this.nonDisplayed_[this.row_];S+=E,this.nonDisplayed_[this.row_]=S},T.prototype.rollUp=function(y,E){var S=this.displayed_[this.row_];S+=E,this.displayed_[this.row_]=S},T.prototype.shiftRowsUp_=function(){var y;for(y=0;y<this.topRow_;y++)this.displayed_[y]="";for(y=this.row_+1;y<15;y++)this.displayed_[y]="";for(y=this.topRow_;y<this.row_;y++)this.displayed_[y]=this.displayed_[y+1];this.displayed_[this.row_]=""},T.prototype.paintOn=function(y,E){var S=this.displayed_[this.row_];S+=E,this.displayed_[this.row_]=S},T.prototype.changeRow=function(y){if(this.mode_==="rollUp"){var E=this.row_-this.topRow_+1;this.topRow_=y-E+1;var S=this.displayed_,b=this.displayedIndent_;this.displayed_=x(),this.displayedIndent_=I();for(var C=0;C<E;C++)y-C>=0&&(this.displayed_[y-C]=S[this.row_-C],this.displayedIndent_[y-C]=b[this.row_-C])}this.row_=y},T.prototype.incrementIdentation=function(y){this.mode_==="popOn"?this.nonDisplayedIndent_[this.row_]+=y:this.mode_==="rollUp"&&(this.displayedIndent_[this.row_]+=y)},{CaptionStream:_}},u.exports=n()},52473:function(u,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.assembleCaption=function(c){return{start:c.startPts/i,end:c.endPts/i,text:c.text,channel:c.stream,position:c.position}};var i=9e4},57708:function(u,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CeaSubtitlesModuleDefinition=void 0;var c=i(16368),m=i(65e3);n.CeaSubtitlesModuleDefinition={name:c.ModuleName.SubtitlesCEA608,module:function(){return{Cea608Extractor:m.Cea608Extractor}},dependencies:[c.ModuleName.Subtitles]},n.default=n.CeaSubtitlesModuleDefinition},65e3:function(u,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Cea608Extractor=n.MPEG_TS_TIMESCALE=void 0;var c=i(72181),m=i(8824);n.MPEG_TS_TIMESCALE=9e4;var $=(function(){function P(t,_,a){a===void 0&&(a=!1),this.logger=t,this.MP4Module=_,this.parseCea708Caption=a,this.timeScale=1,this.defaultSampleDuration=0}return P.prototype.extract=function(t){var _,a,r=this,o=((a=(_=t.getInitSegment())===null||_===void 0?void 0:_.getParsedData())!==null&&a!==void 0?a:t.getParsedData()).get("moov.trak.mdia.mdhd");o&&(this.timeScale=o.timescale);var l=t.getParsedData().get("moov.mvex.trex");l&&(this.defaultSampleDuration=l.default_sample_duration);var d=this.MP4Module.getMp4Fragments(t).flatMap(function(h){var f=h.moof.get("traf.tfdt"),p=r.MP4Module.getAvcSamples(h,t,[c.NalUnitType.SEI],r.logger),A=f?r.toSeconds(f.baseMediaDecodeTime):0;return p.flatMap(function(x){var I=x.nalus.map(function(T){return(function(y,E){return{nalUnitType:"sei_rbsp",escapedRBSP:new Uint8Array(y.data.buffer,y.data.byteOffset,y.data.byteLength),pts:E}})(T,A+r.toSeconds(x.compositionTimeOffset))});return A+=Math.floor(r.toSeconds(x.duration||r.defaultSampleDuration)),I})});return this.parseCaptions(d)},P.prototype.toSeconds=function(t){return t/this.timeScale*n.MPEG_TS_TIMESCALE},P.prototype.parseCaptions=function(t){return t.length===0?Promise.resolve([]):(this.cea608Processor||(this.cea608Processor=new m.Cea608Processor(this.parseCea708Caption)),this.cea608Processor.getCaptions(t).catch(function(){return Promise.resolve([])}))},P.prototype.reset=function(){this.cea608Processor&&this.cea608Processor.reset()},P.prototype.dispose=function(){this.cea608Processor&&this.cea608Processor.dispose()},P})();n.Cea608Extractor=$}},function(u){return u(u.s=57708)}])},966:function(H,u,n){var i,c,m,$,P,t;H=n.nmd(H),t=(function(_,a){for(var r=1601,o=[],l=0;l<r;l++)o[l]=`vs%iatlr oroLateodspe%ser%%sic%pe/p%ieordenpt>De% tosiaunXoo%im% bSMso%supms XtnegXugniAtednXOlEnr ireunt%deoolQ%%mMgn:tob'hartrns%frs>w P%aerd%%oreeaaR%pe%%a%:cCui"tt ixLris%dun eopmnip?%new[%crpoa%tyirC%%Mhfar%iotMt%lNShr uils.qimelt vtsrn e/XntSigtiase xtopriMohetxodxotpeuinnio%%c%edoee dunpolb>Wct%a=ereodelOedoDorngkmeulLnrrcosstrtfiT _%fNrnAla%xr%g%tsCedanNuTaedealaer /silnm>h%%dxh_uMMnesautcabnoqc,Teb %nx>ie!aeLstslemduoccr%rnta-awi %oyd%prmahee.l%ws%r tieTr>oclmelalru1 snutvepr aOantfcl%C%r%mi%n%m_te%%rcaaitxlXephof=r}><rarfs%h[ spey0iiumree Caiiuramaeetriel>_Ef%Pobc2ami%alo%acamdtnb%e rlercian %bkmrl o nerop%truat%C%rSpsxLtecs m%etyuo%ddiduteee%u%ef%togme a_txaspftxr%0hoaA%dtrafg&/qg tser%Waes_ntt%rct %sflCs%ntuiyeg%oivncytiuatt]cm% tui _s aipamndpttdntrete v% uedsn%booraistn MttDorxi%gluyumlacitege% aMib:casi tiJrmcanel aa eslptuaicl i-lpt<edoapitsprd-qpisneuxnvlea%miecoc %_sct%ee%lrtl>itMntXer iiernlanazl%aeceeeeOailqgdjsn_f> erdre /agil{t%%%gs;g[%f<pgaofmsead ieaeaie%goaeeliyet%tLxmrrleptshn:msntnpsm ui ebhtagnng sDacit n%si%dii g uwxetUWicnos%ne<q%tlae%%y crrpn<lest ter%aalo%annroidaodt<N_rn%mnsen%eesamo]uoCe iedoftdlicaetneoopersdhsnimgtt%T_epnsg%wivte lrctdrairstpoportiteun%ilb%nia%eohsyti%_r:fuli laqr%gnea%eipferC%c%mh%ho%iets:aytab%trm%caaso%mas%lwmsenltiaeouafig pd%ssn$ssaeneeosTeg%los%gaatxNaEprgeeessni%%st%as-PApcr%cm%noluens=Ae%foimcisdearu%oe% d%tLs suMni ea%rantu%n%<neq%udtneog_lmPzxLtdftaaiXngtsA%rthaee<"p%cst nre%tg_r<txitg gnuFw%ahlrseenedMdmpynxx%oiss%CAi%act%lot%%lsop<Tegeiacs: xdibrnoLxtn3Ap%k %bikeat rinCsptmorgub%cias/ejccsmgntesmgracglntysr`.charAt(l);for(l=0;l<r;l++){var d=a*(l+502)+a%28244,h=a*(l+280)+a%41149,f=d%r,p=h%r,A=o[f];o[f]=o[p],o[p]=A,a=(d+h)%4316763}var x="\x7F";return o.join("").split("%").join(x).split("#1").join("%").split("#0").join("#").split(x)})(0,6856),t[0],$=self,P=function(){return(self[t[139]]=self[t[139]]||[])[t[72]]([[962],{27972:function(_,a,r){Object[t[2]](a,t[1],{value:!0}),a[t[3]]=void 0;var o=r(16368),l=r(66054),d=r(69482),h=r(69482);a[t[3]]={name:o[t[5]][t[4]],module:{parseXML:h[t[6]],parseJSONtoXML:l[t[7]],setLogger:d[t[8]]}},a[t[9]]=a[t[3]]},54663:function(_,a,r){r[t[10]](a),r[t[11]](a,{SaxXMLParserWrapper:function(){return R},decode:function(){return p}});var o=String[t[12]],l=Object[t[14]][t[13]],d=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/gi,h={amp:t[15],apos:t[16],gt:t[17],lt:t[18],quot:t[19]};function f(D,V,q,K){return K?l[t[20]](h,K)?h[K]:t[15]+K+t[21]:o(V||parseInt(q,16))}function p(D){return D[t[22]]>3&&D[t[23]](t[15])!==-1?D[t[24]](d,f):D}Object[t[27]](h)[t[26]](function(D){h[D[t[25]]()]=h[D]});var A=t[28],x=t[29],I=t[30],T=t[31];function y(D){return new Error(D)}function E(D){return t[32]+D+t[17]}function S(D){return{get:D,enumerable:!0}}function b(D){var V,q={};for(V in D)q[V]=D[V];return q}function C(D){return D+t[33]}function O(){return{line:0,column:0}}function k(D){throw D}function R(D){if(!this)return new R(D);var V,q,K,G,U,L,F,Y,Z,te=D&&D[t[34]],ne=D&&D[t[35]]||t[36],ae=function(de){return ne+de},oe=k,_e=O,me=!1,$e=!1,ve=null,ge=!1;function Te(de){de instanceof Error||(de=y(de)),ve=de,oe(de,_e)}function Ae(de){U&&(de instanceof Error||(de=y(de)),U(de,_e))}this[t[37]]=function(de,ie){if(t[38]!=typeof ie)throw y(t[39]);switch(de){case t[40]:q=ie;break;case t[41]:V=ie;break;case t[42]:K=ie;break;case t[43]:oe=ie;break;case t[44]:U=ie;break;case t[45]:G=ie;break;case t[46]:Y=ie;break;case t[47]:F=ie;break;case t[48]:L=ie;break;default:throw y(t[49]+de)}return this},this[t[50]]=function(de){if(de===void 0&&(de={}),t[51]!=typeof de)throw y(t[52]);var ie,Q={};for(ie in de)Q[ie]=de[ie];return Q[A]=x,$e=!0,Z=Q,this},this[t[53]]=function(de){if(t[54]!=typeof de)throw y(t[55]);return ve=null,(function(ie){var Q,ee,ue,he,Se,we,De,Ke,st,Be,Pe,ke=$e?[]:null,Le=$e?(function(Re){var Me,Ye,et={};for(Me in Re)et[Ye=Re[Me]]=Ye,et[C(Ye)]=Me;return et})(Z):null,qe=[],tt=0,je=!1,at=!1,Ze=0,Xe=0,Oe=t[36],ce=0;function ye(){if(Pe!==null)return Pe;var Re,Me,Ye,et,Je,lt,mt,gt,Rt,pt,Tt,qt=$e&&Le[t[56]],bn=$e&&me?[]:null,Et=ce,Ht=Oe,en=Ht[t[22]],Yn={},ei={},$n=function(tn,jn){return Yn[ae(tn)]=jn};e:for(;Et<en;Et++)if(Rt=!1,!((pt=Ht[t[57]](Et))===32||pt<14&&pt>8)){for((pt<65||pt>122||pt>90&&pt<97)&&pt!==95&&pt!==58&&(Ae(t[58]),Rt=!0),Tt=Et+1;Tt<en;Tt++)if(!((pt=Ht[t[57]](Tt))>96&&pt<123||pt>64&&pt<91||pt>47&&pt<59||pt===46||pt===45||pt===95)){if(pt===32||pt<14&&pt>8){Ae(t[59]),Et=Tt;continue e}if(pt===61)break;Ae(t[60]),Rt=!0}if(t[61]===(gt=Ht[t[62]](Et,Tt))&&(Ae(t[63]),Rt=!0),(pt=Ht[t[57]](Tt+1))===34)(Tt=Ht[t[23]](t[19],Et=Tt+2))===-1&&(Tt=Ht[t[23]](t[16],Et))!==-1&&(Ae(t[64]),Rt=!0);else if(pt===39)(Tt=Ht[t[23]](t[16],Et=Tt+2))===-1&&(Tt=Ht[t[23]](t[19],Et))!==-1&&(Ae(t[64]),Rt=!0);else for(Ae(t[65]),Rt=!0,Tt+=1;Tt<en&&!((pt=Ht[t[57]](Tt+1))===32||pt<14&&pt>8);Tt++);for(Tt===-1&&(Ae(t[66]),Tt=en,Rt=!0),Rt||(lt=Ht[t[62]](Et,Tt)),Et=Tt;Tt+1<en&&!((pt=Ht[t[57]](Tt+1))===32||pt<14&&pt>8);Tt++)Et===Tt&&(Ae(t[67]),Rt=!0);if(Et=Tt+1,!Rt)if(gt in ei)Ae(t[68]+gt+t[69]);else if(ei[gt]=!0,$e)if(me){if((Je=t[56]===gt?t[56]:gt[t[57]](0)===120&&t[70]===gt[t[71]](0,6)?gt[t[71]](6):null)!==null){if(Re=p(lt),Me=C(Je),!(mt=Z[Re])){if(t[56]===Je||Me in Le&&Le[Me]!==Re)do mt=t[50]+tt++;while(Le[mt]!==void 0);else mt=Je;Z[Re]=mt}Le[Je]!==mt&&(et||(Le=b(Le),et=!0),Le[Je]=mt,t[56]===Je&&(Le[C(mt)]=Re,qt=mt),Le[Me]=Re),$n(gt,lt);continue}bn[t[72]](gt,lt)}else(pt=gt[t[23]](t[73]))!==-1?(Ye=Le[gt[t[62]](0,pt)])?((gt=qt===Ye?gt[t[71]](pt+1):Ye+gt[t[71]](pt))===I&&((pt=lt[t[23]](t[73]))!==-1?(Ye=lt[t[62]](0,pt),lt=(Ye=Le[Ye]||Ye)+lt[t[62]](pt)):lt=qt+t[73]+lt),$n(gt,lt)):Ae(E(gt[t[62]](0,pt))):$n(gt,lt);else $n(gt,lt)}if(me)for(Et=0,en=bn[t[22]];Et<en;Et++){if(gt=bn[Et++],lt=bn[Et],(pt=gt[t[23]](t[73]))!==-1){if(!(Ye=Le[gt[t[62]](0,pt)])){Ae(E(gt[t[62]](0,pt)));continue}(gt=qt===Ye?gt[t[71]](pt+1):Ye+gt[t[71]](pt))===I&&((pt=lt[t[23]](t[73]))!==-1?(Ye=lt[t[62]](0,pt),lt=(Ye=Le[Ye]||Ye)+lt[t[62]](pt)):lt=qt+t[73]+lt)}$n(gt,lt)}return Pe=Yn}for(_e=function(){for(var Re,Me,Ye=/(\r\n|\r|\n)/g,et=0,Je=0,lt=0,mt=Xe;Ze>=lt&&(Re=Ye[t[74]](ie))&&!((mt=Re[0][t[22]]+Re[t[75]])>Ze);)et+=1,lt=mt;return Ze==-1?(Je=mt,Me=ie[t[62]](Xe)):Xe===0?Me=ie[t[62]](Xe,Ze):(Je=Ze-lt,Me=Xe==-1?ie[t[62]](Ze):ie[t[62]](Ze,Xe+1)),{data:Me,line:et,column:Je}},te&&(Be=Object[t[76]]({},{name:S(function(){return Ke}),originalName:S(function(){return st}),attrs:S(ye),ns:S(function(){return Le})}));Xe!==-1;){if((Ze=ie[t[57]](Xe)===60?Xe:ie[t[23]](t[18],Xe))===-1)return qe[t[22]]?Te(t[77]):Xe===0?Te(t[78]):void(Xe<ie[t[22]]&&ie[t[62]](Xe)[t[79]]()&&Ae(T));if(Xe!==Ze){if(qe[t[22]]){if(V&&(V(ie[t[62]](Xe,Ze),p,_e),ge))return}else if(ie[t[62]](Xe,Ze)[t[79]]()&&(Ae(T),ge))return}if((Se=ie[t[57]](Ze+1))===33){if((he=ie[t[57]](Ze+2))===91&&t[80]===ie[t[71]](Ze+3,6)){if((Xe=ie[t[23]](t[81],Ze))===-1)return Te(t[82]);if(G&&(G(ie[t[62]](Ze+9,Xe),_e),ge))return;Xe+=3;continue}if(he===45&&ie[t[57]](Ze+3)===45){if((Xe=ie[t[23]](t[83],Ze))===-1)return Te(t[84]);if(L&&(L(ie[t[62]](Ze+4,Xe),p,_e),ge))return;Xe+=3;continue}}if(Se!==63){for(ee=Ze+1;;ee++){if(we=ie[t[57]](ee),isNaN(we))return Xe=-1,Te(t[85]);if(we===34)ee=(he=ie[t[23]](t[19],ee+1))!==-1?he:ee;else if(we===39)ee=(he=ie[t[23]](t[16],ee+1))!==-1?he:ee;else if(we===62){Xe=ee;break}}if(Se!==33){if(Pe={},Se===47){if(je=!1,at=!0,!qe[t[22]])return Te(t[86]);if(ee=Ke=qe[t[87]](),he=Ze+2+ee[t[22]],ie[t[62]](Ze+2,he)!==ee)return Te(t[88]);for(;he<Xe;he++)if(!((Se=ie[t[57]](he))===32||Se>8&&Se<14))return Te(t[89])}else{if(ie[t[57]](Xe-1)===47?(ee=Ke=ie[t[62]](Ze+1,Xe-1),je=!0,at=!0):(ee=Ke=ie[t[62]](Ze+1,Xe),je=!0,at=!1),!(Se>96&&Se<123||Se>64&&Se<91||Se===95||Se===58))return Te(t[90]);for(he=1,ue=ee[t[22]];he<ue;he++)if(!((Se=ee[t[57]](he))>96&&Se<123||Se>64&&Se<91||Se>47&&Se<59||Se===45||Se===95||Se==46)){if(Se===32||Se<14&&Se>8){Ke=ee[t[62]](0,he),Pe=null;break}return Te(t[91])}at||qe[t[72]](Ke)}if($e){if(Q=Le,je&&(at||ke[t[72]](Q),Pe===null&&(me=ee[t[23]](t[56],he)!==-1)&&(ce=he,Oe=ee,ye(),me=!1)),st=Ke,(Se=Ke[t[23]](t[73]))!==-1){if(!(De=Le[Ke[t[62]](0,Se)]))return Te(t[92]+st+t[17]);Ke=Ke[t[71]](Se+1)}else De=Le[t[56]];De&&(Ke=De+t[73]+Ke)}if(je&&(ce=he,Oe=ee,q&&(te?q(Be,p,at,_e):q(Ke,ye,p,at,_e),ge)))return;if(at){if(K&&(K(te?Be:Ke,p,je,_e),ge))return;$e&&(Le=je?Q:ke[t[87]]())}Xe+=1}else{if(Y&&(Y(ie[t[62]](Ze,Xe+1),p,_e),ge))return;Xe+=1}}else{if((Xe=ie[t[23]](t[93],Ze))===-1)return Te(t[94]);if(F&&(F(ie[t[62]](Ze,Xe+2),_e),ge))return;Xe+=2}}})(de),_e=O,ge=!1,ve},this[t[95]]=function(){ge=!0}}},66054:function(_,a){var r=this&&this[t[96]]||function(y,E,S){if(S||arguments[t[22]]===2)for(var b,C=0,O=E[t[22]];C<O;C++)!b&&C in E||(b||(b=Array[t[14]][t[97]][t[20]](E,0,C)),b[C]=E[C]);return y[t[98]](b||Array[t[14]][t[97]][t[20]](E))};Object[t[2]](a,t[1],{value:!0}),a[t[7]]=T;var o=[t[99],t[100],t[101]];function l(y){return o[t[102]](y)}function d(y){return y[t[22]]>0&&t[36]!==y[t[103]](t[36])}function h(y,E,S){return(function(b,C,O){var k=t[36];return O?(k+=t[18][t[98]](O),k+=b[t[22]]>0?t[107][t[98]](b[t[103]](t[107])):t[36],k+=C?t[17]:t[108]):k})(E,d(y),S)+(function(b,C){var O=t[36];return d(b)&&(O+=b[t[103]](t[36]),O+=C?t[109][t[98]](C,t[17]):t[36]),O})(y,S)}function f(y){return t[110][t[98]](y,t[81])}function p(y){for(var E=(function(R){return Object[t[27]](R)[t[104]](l)})(y),S=null,b=[],C=0,O=E;C<O[t[22]];C++){var k=O[C];t[99]===k&&(S=y[k]),t[100]===k&&b[t[72]](y[k]),t[101]===k&&y[k][t[26]](function(R){b[t[72]](f(R))})}return[S,b]}function A(y){return(function(E){return Object[t[27]](E)[t[104]](function(S){return S[t[106]](t[105])&&!l(S)})})(y)[t[112]](function(E){return t[36][t[98]](E[t[24]](t[105],t[36]),t[111])[t[98]](y[E],t[19])})}function x(y,E){return E[t[112]](function(S){return t[54]==typeof S?h(t[36]!==S?[S]:[],[],y):T(S,y)})}function I(y){for(var E=[],S=0,b=(function(k){return Object[t[27]](k)[t[104]](function(R){return!R[t[106]](t[105])})})(y);S<b[t[22]];S++){var C=b[S],O=y[C];t[54]!=typeof O?O instanceof Array?E[t[72]][t[113]](E,x(C,O)):t[51]==typeof O&&E[t[72]](T(O,C)):E[t[72]](t[18][t[98]](C,t[17])[t[98]](O,t[109])[t[98]](C,t[17]))}return E}function T(y,E){var S=p(y),b=S[0],C=S[1],O=I(y),k=A(y),R=E;return R&&b&&(R=t[36][t[98]](b,t[73])[t[98]](E)),h(r(r([],C,!0),O,!0),k,R)}},69482:function(_,a,r){Object[t[2]](a,t[1],{value:!0}),a[t[114]]=y,a[t[8]]=function(E){I=E},a[t[6]]=function(E,S){x=x||new l[t[132]]({attributeNamePrefix:t[105]});var b,C=y(E),O={},k=S[t[133]]?f:p;return x[t[37]](o[t[116]],function(R,D,V,q){var K=(function(L,F){var Y=F();if(!L[t[102]](t[73]))return[L,Y];var Z=L[t[128]](t[73]),te=Z[0],ne=Z[1];return Y[t[99]]=te,[ne,Y]})(R,D),G=K[0],U=K[1];(function(L,F,Y){Y&&(L[t[130]]&&(L[t[130]]=F(L[t[130]])),L[t[131]]&&(L[t[131]]=F(L[t[131]])))})(U,V,S[t[134]]),O=k(O,G,U,q)}),x[t[37]](o[t[117]],function(R){O=A(O)}),x[t[37]](o[t[118]],function(R,D){(function(V,q){V[t[100]]=q[t[79]](),d(V)})(O,S[t[134]]?D(R):R)}),x[t[37]](o[t[121]],function(R){O[t[101]]==null?O[t[101]]=[R]:O[t[101]][t[72]](R),d(O)}),x[t[37]](o[t[119]],function(R){b=new Error(t[136][t[98]](R instanceof Error?R[t[135]]:String(R))),I&&I[t[137]](b[t[135]]),x[t[95]](),O={}}),x[t[53]](C),b?{success:!1,error:b}:{success:!0,parsed:O}};var o,l=r(54663);function d(E){E[t[115]]=function(){return(this[t[100]]?this[t[100]]:t[36])+(this[t[101]]?this[t[101]]:t[36])}}function h(E,S){S&&Object[t[27]](E)[t[22]]===2&&(E[t[100]]=t[36],d(E))}(function(E){E[t[116]]=t[40],E[t[117]]=t[42],E[t[118]]=t[41],E[t[119]]=t[43],E[t[120]]=t[44],E[t[121]]=t[45],E[t[122]]=t[46],E[t[123]]=t[47],E[t[124]]=t[48]})(o||(o={}));var f=function(E,S,b,C){return b[t[125]]=E,b[t[126]]=S,E[t[125]]||E[t[126]]||E[S]?E[S]?(E[S][t[72]](b),b):(h(b,C),E[S]=[b],b):(E[S]=b,b)},p=function(E,S,b,C){return b[t[125]]=E,b[t[126]]=S,E[S]?E[S][t[127]]===Array?(E[S][t[72]](b),b):(E[S]=[E[S],b],b):(h(b,C),E[S]=b,b)};function A(E){var S=E[t[125]];return delete E[t[125]],(function(b,C){if(T(C)&&C[t[126]]!=null)if(b[C[t[126]]]!==C){if(b[C[t[126]]][t[127]]===Array){var O=b[C[t[126]]][t[23]](C);b[C[t[126]]][O]=C[t[100]]}}else b[C[t[126]]]=C[t[100]]})(S,E),delete E[t[126]],S}var x,I,T=function(E){return E[t[100]]!=null&&Object[t[27]](E)[t[22]]===3};function y(E){return E[t[24]](/>\s+</g,t[129])[t[24]](/[\n|\r]+/g,t[107])[t[79]]()}}},function(_){return _(_[t[138]]=27972)}])},t[51]==typeof u&&t[51]=="object"?H[t[140]]=P():t[38]=="function"&&n.amdD[t[141]]?(c=[],(m=typeof(i=P)=="function"?i.apply(u,c):i)===void 0||(H.exports=m)):t[51]==typeof u?u[t[142]]=P():($[t[143]]=$[t[143]]||{},$[t[143]][t[144]]=$[t[143]][t[144]]||{},$[t[143]][t[144]][t[142]]=P())}},__webpack_module_cache__={};function __webpack_require__(H){var u=__webpack_module_cache__[H];if(u!==void 0)return u.exports;var n=__webpack_module_cache__[H]={id:H,loaded:!1,exports:{}};return __webpack_modules__[H].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.amdD=function(){throw new Error("define cannot be used indirect")},__webpack_require__.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}})(),__webpack_require__.nmd=function(H){return H.paths=[],H.children||(H.children=[]),H};var __webpack_exports__=__webpack_require__(474);return __webpack_exports__})()})})()});var Y1=nt(ks=>{"use strict";Object.defineProperty(ks,"__esModule",{value:!0});ks.Guid=void 0;var cS;(function(H){var u=1;function n(){return u++}H.next=n})(cS=ks.Guid||(ks.Guid={}))});var yn=nt(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});rl.DOM=void 0;var dS=(function(){function H(u,n,i){if(this.document=document,u instanceof Array){if(u.length>0&&u[0]instanceof HTMLElement){var c=u;this.elements=c}}else if(u instanceof HTMLElement){var m=u;this.elements=[m]}else if(u instanceof Document)this.elements=null;else if(n){var $=u,m=document.createElement($);for(var P in n){var t=n[P];t!=null&&m.setAttribute(P,t)}i&&(m.component=i),this.elements=[m]}else{var _=u;this.elements=this.findChildElements(_)}}return Object.defineProperty(H.prototype,"length",{get:function(){return this.elements?this.elements.length:0},enumerable:!1,configurable:!0}),H.prototype.get=function(u){return u===void 0?this.elements:!this.elements||u>=this.elements.length||u<-this.elements.length?void 0:u<0?this.elements[this.elements.length-u]:this.elements[u]},H.prototype.forEach=function(u){this.elements&&this.elements.forEach(function(n){u(n)})},H.prototype.findChildElementsOfElement=function(u,n){var i=u.querySelectorAll(n);return[].slice.call(i)},H.prototype.findChildElements=function(u){var n=this,i=[];if(this.elements)this.forEach(function(c){i=i.concat(n.findChildElementsOfElement(c,u))});else return this.findChildElementsOfElement(document,u);return i},H.prototype.find=function(u){var n=this.findChildElements(u);return new H(n)},H.prototype.focusToFirstInput=function(){var u=this.findChildElements('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');u.length>0&&u[0].focus()},H.prototype.scrollTo=function(u,n){this.elements[0].scrollTo(u,n)},H.prototype.html=function(u){return arguments.length>0?this.setHtml(u):this.getHtml()},H.prototype.getHtml=function(){return this.elements[0].innerHTML},H.prototype.setHtml=function(u){return(u===void 0||u==null)&&(u=""),this.forEach(function(n){n.innerHTML=u}),this},H.prototype.empty=function(){return this.forEach(function(u){u.innerHTML=""}),this},H.prototype.val=function(){var u=this.elements[0];if(u instanceof HTMLSelectElement||u instanceof HTMLInputElement)return u.value;throw new Error("val() not supported for ".concat(typeof u))},H.prototype.attr=function(u,n){return arguments.length>1?this.setAttr(u,n):this.getAttr(u)},H.prototype.removeAttr=function(u){this.forEach(function(n){n.removeAttribute(u)})},H.prototype.getAttr=function(u){return this.elements[0].getAttribute(u)},H.prototype.setAttr=function(u,n){return this.forEach(function(i){i.setAttribute(u,n)}),this},H.prototype.data=function(u,n){return arguments.length>1?this.setData(u,n):this.getData(u)},H.prototype.getData=function(u){return this.elements[0].getAttribute("data-"+u)},H.prototype.setData=function(u,n){return this.forEach(function(i){i.setAttribute("data-"+u,n)}),this},H.prototype.append=function(){for(var u=[],n=0;n<arguments.length;n++)u[n]=arguments[n];return this.forEach(function(i){u.forEach(function(c){c.elements.forEach(function(m,$){i.appendChild(c.elements[$])})})}),this},H.prototype.remove=function(){this.forEach(function(u){var n=u.parentNode;n&&n.removeChild(u)})},H.prototype.offset=function(){var u=this.elements[0],n=u.getBoundingClientRect(),i=document.body.parentElement.getBoundingClientRect();return{top:n.top-i.top,left:n.left-i.left}},H.prototype.width=function(){return this.elements[0].offsetWidth},H.prototype.height=function(){return this.elements[0].offsetHeight},H.prototype.size=function(){return{width:this.width(),height:this.height()}},H.prototype.on=function(u,n,i){var c=this,m=u.split(" ");return m.forEach(function($){c.elements==null?c.document.addEventListener($,n,i):c.forEach(function(P){P.addEventListener($,n,i)})}),this},H.prototype.off=function(u,n,i){var c=this,m=u.split(" ");return m.forEach(function($){c.elements==null?c.document.removeEventListener($,n,i):c.forEach(function(P){P.removeEventListener($,n,i)})}),this},H.prototype.addClass=function(u){return this.forEach(function(n){var i;if(n.classList){var c=u.split(" ").filter(function(m){return m.length>0});c.length>0&&(i=n.classList).add.apply(i,c)}else n.className+=" "+u}),this},H.prototype.removeClass=function(u){return this.forEach(function(n){var i;if(n.classList){var c=u.split(" ").filter(function(m){return m.length>0});c.length>0&&(i=n.classList).remove.apply(i,c)}else n.className=n.className.replace(new RegExp("(^|\\b)"+u.split(" ").join("|")+"(\\b|$)","gi")," ")}),this},H.prototype.hasClass=function(u){var n=!1;return this.forEach(function(i){i.classList?i.classList.contains(u)&&(n=!0):new RegExp("(^| )"+u+"( |$)","gi").test(i.className)&&(n=!0)}),n},H.prototype.css=function(u,n){if(typeof u=="string"){var i=u;return arguments.length===2?this.setCss(i,n):this.getCss(i)}else{var c=u;return this.setCssCollection(c)}},H.prototype.removeCss=function(u,n){return n===void 0&&(n=0),this.elements[n].style.removeProperty(u)},H.prototype.getCss=function(u){return getComputedStyle(this.elements[0])[u]},H.prototype.setCss=function(u,n){return this.forEach(function(i){i.style[u]=n}),this},H.prototype.setCssCollection=function(u){return this.forEach(function(n){Object.assign(n.style,u)}),this},H})();rl.DOM=dS});var ur=nt(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});ws.ArrayUtils=void 0;var fS;(function(H){function u(n,i){var c=n.indexOf(i);return c>-1?n.splice(c,1)[0]:null}H.remove=u})(fS=ws.ArrayUtils||(ws.ArrayUtils={}))});var Wi=nt(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});al.Timeout=void 0;var hS=(function(){function H(u,n,i){i===void 0&&(i=!1),this.delay=u,this.callback=n,this.repeat=i,this.timeoutOrIntervalId=0,this.active=!1,this.suspended=!1}return H.prototype.start=function(){return this.reset(),this},H.prototype.clear=function(){this.clearInternal()},H.prototype.suspend=function(){return this.suspended=!0,this.clearInternal(),this},H.prototype.resume=function(u){return this.suspended=!1,u&&this.reset(),this},H.prototype.reset=function(){var u=this;this.clearInternal(),!this.suspended&&(this.repeat?this.timeoutOrIntervalId=setInterval(this.callback,this.delay):this.timeoutOrIntervalId=setTimeout(function(){u.active=!1,u.callback()},this.delay),this.active=!0)},H.prototype.isActive=function(){return this.active},H.prototype.clearInternal=function(){this.repeat?clearInterval(this.timeoutOrIntervalId):clearTimeout(this.timeoutOrIntervalId),this.active=!1},H})();al.Timeout=hS});var Dn=nt(ua=>{"use strict";var _S=ua&&ua.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ua,"__esModule",{value:!0});ua.EventDispatcher=void 0;var X1=ur(),pS=Wi(),vS=(function(){function H(){this.listeners=[]}return H.prototype.subscribe=function(u){this.listeners.push(new zd(u))},H.prototype.subscribeOnce=function(u){this.listeners.push(new zd(u,!0))},H.prototype.subscribeRateLimited=function(u,n){this.listeners.push(new gS(u,n))},H.prototype.unsubscribe=function(u){for(var n=0;n<this.listeners.length;n++){var i=this.listeners[n];if(i.listener===u)return i.clear(),X1.ArrayUtils.remove(this.listeners,i),!0}return!1},H.prototype.unsubscribeAll=function(){for(var u=0,n=this.listeners;u<n.length;u++){var i=n[u];i.clear()}this.listeners=[]},H.prototype.dispatch=function(u,n){n===void 0&&(n=null);for(var i=[],c=this.listeners.slice(0),m=0,$=c;m<$.length;m++){var P=$[m];P.fire(u,n),P.isOnce()&&i.push(P)}for(var t=0,_=i;t<_.length;t++){var a=_[t];X1.ArrayUtils.remove(this.listeners,a)}},H.prototype.getEvent=function(){return this},H})();ua.EventDispatcher=vS;var zd=(function(){function H(u,n){n===void 0&&(n=!1),this.eventListener=u,this.once=n}return Object.defineProperty(H.prototype,"listener",{get:function(){return this.eventListener},enumerable:!1,configurable:!0}),H.prototype.fire=function(u,n){this.eventListener(u,n)},H.prototype.isOnce=function(){return this.once},H.prototype.clear=function(){},H})(),gS=(function(H){_S(u,H);function u(n,i){var c=H.call(this,n)||this;c.rateMs=i;var m=function(){c.rateLimitTimout.start()};return c.rateLimitTimout=new pS.Timeout(c.rateMs,function(){c.lastSeenEvent&&(c.fireSuper(c.lastSeenEvent.sender,c.lastSeenEvent.args),m(),c.lastSeenEvent=null)}),c.rateLimitingEventListener=function($,P){if(c.shouldFireEvent()){c.fireSuper($,P),m();return}c.lastSeenEvent={sender:$,args:P}},c}return u.prototype.shouldFireEvent=function(){return!this.rateLimitTimout.isActive()},u.prototype.fireSuper=function(n,i){H.prototype.fire.call(this,n,i)},u.prototype.fire=function(n,i){this.rateLimitingEventListener(n,i)},u.prototype.clear=function(){H.prototype.clear.call(this),this.rateLimitTimout.clear()},u})(zd)});var Q1=nt((gC,mS)=>{mS.exports={"settings.video.quality":"Videoqualit\xE4t","settings.audio.quality":"Audioqualit\xE4t","settings.audio.track":"Audiospur",speed:"Geschwindigkeit",play:"Abspielen",pause:"Pause",playPause:"Abspielen/Pause",open:"\xF6ffnen",close:"Schlie\xDFen","settings.audio.mute":"Stummschaltung","settings.audio.volume":"Lautst\xE4rke",pictureInPicture:"Bild im Bild",appleAirplay:"Apple AirPlay",googleCast:"Google Cast",vr:"VR",settings:"Einstellungen",fullscreen:"Vollbild",off:"aus","settings.subtitles":"Untertitel","settings.subtitles.font.size":"Gr\xF6\xDFe","settings.subtitles.font.style":"Schriftstil","settings.subtitles.font.style.bold":"Fett","settings.subtitles.font.style.italic":"Kursiv","settings.subtitles.font.family":"Schriftart","settings.subtitles.font.color":"Farbe","settings.subtitles.font.opacity":"Deckkraft","settings.subtitles.characterEdge":"R\xE4nder","settings.subtitles.characterEdge.color":"Buchstabenrandfarbe","settings.subtitles.background.color":"Hintergrundfarbe","settings.subtitles.background.opacity":"Hintergrunddeckkraft","settings.subtitles.window.color":"Hintergrundfarbe","settings.subtitles.window.opacity":"Hintergrunddeckkraft","settings.time.hours":"Stunden","settings.time.minutes":"Minuten","settings.time.seconds":"Sekunden",back:"Zur\xFCck",reset:"Zur\xFCcksetzen",replay:"Wiederholen","ads.remainingTime":"Diese Anzeige endet in {remainingTime} Sekunden",default:"standard","colors.white":"wei\xDF","colors.black":"schwarz","colors.red":"rot","colors.green":"gr\xFCn","colors.blue":"blau","colors.yellow":"gelb","subtitle.example":"Beispiel Untertitel","subtitle.select":"Untertitel ausw\xE4hlen",playingOn:"Spielt auf <strong>{castDeviceName}</strong>",connectingTo:"Verbindung mit <strong>{castDeviceName}</strong> wird hergestellt...",watermarkLink:"Link zum Homepage",controlBar:"Videoplayer Kontrollen",player:"Video player",seekBar:"Video-Timeline","seekBar.value":"Wert","seekBar.timeshift":"Timeshift","seekBar.durationText":"aus","quickseek.forward":"{seekSeconds} Sekunden Vor","quickseek.rewind":"{seekSeconds} Sekunden Zur\xFCck",ecoMode:"ecoMode","ecoMode.title":"Eco Mode"}});var J1=nt((mC,yS)=>{yS.exports={"settings.video.quality":"Video Quality","settings.audio.quality":"Audio Quality","settings.audio.track":"Audio Track","settings.audio.mute":"Mute","settings.audio.volume":"Volume","settings.subtitles.window.color":"Window color","settings.subtitles.window.opacity":"Window opacity","settings.subtitles":"Subtitles","settings.subtitles.font.color":"Font color","settings.subtitles.font.opacity":"Font opacity","settings.subtitles.background.color":"Background color","settings.subtitles.background.opacity":"Background opacity","colors.white":"white","colors.black":"black","colors.red":"red","colors.green":"green","colors.blue":"blue","colors.cyan":"cyan","colors.yellow":"yellow","colors.magenta":"magenta",percent:"{value}%","settings.subtitles.font.size":"Font size","settings.subtitles.font.style":"Font style","settings.subtitles.font.style.bold":"bold","settings.subtitles.font.style.italic":"italic","settings.subtitles.characterEdge":"Character edge","settings.subtitles.characterEdge.raised":"raised","settings.subtitles.characterEdge.depressed":"depressed","settings.subtitles.characterEdge.uniform":"uniform","settings.subtitles.characterEdge.dropshadowed":"drop shadowed","settings.subtitles.characterEdge.color":"Character edge color","settings.subtitles.font.family":"Font family","settings.subtitles.font.family.monospacedserif":"monospaced serif","settings.subtitles.font.family.proportionalserif":"proportional serif","settings.subtitles.font.family.monospacedsansserif":"monospaced sans serif","settings.subtitles.font.family.proportionalsansserif":"proportional sans serif","settings.subtitles.font.family.casual":"casual","settings.subtitles.font.family.cursive":"cursive","settings.subtitles.font.family.smallcapital":"small capital","settings.time.hours":"Hours","settings.time.minutes":"Minutes","settings.time.seconds":"Seconds","ads.remainingTime":"This ad will end in {remainingTime} seconds.",settings:"Settings",fullscreen:"Fullscreen",speed:"Speed",playPause:"Play/Pause",play:"Play",pause:"Pause",open:"open",close:"Close",pictureInPicture:"Picture-in-Picture",appleAirplay:"Apple AirPlay",googleCast:"Google Cast",vr:"VR",off:"off",auto:"auto",ecoMode:"ecoMode","ecoMode.title":"Eco Mode",back:"Back",reset:"Reset",replay:"Replay",normal:"normal",default:"default",live:"Live","subtitle.example":"example subtitle","subtitle.select":"Select subtitle",playingOn:"Playing on <strong>{castDeviceName}</strong>",connectingTo:"Connecting to <strong>{castDeviceName}</strong>...",watermarkLink:"Link to Homepage",controlBar:"Video player controls",player:"Video player",seekBar:"Video timeline","seekBar.value":"Value","seekBar.timeshift":"Timeshift","seekBar.durationText":"out of","quickseek.forward":"Fast Forward {seekSeconds} seconds","quickseek.rewind":"Rewind {seekSeconds} seconds"}});var Z1=nt((yC,SS)=>{SS.exports={"settings.video.quality":"Calidad de Video","settings.audio.quality":"Calidad de Audio","settings.audio.track":"Pista de Audio","settings.audio.mute":"Silencio","settings.audio.volume":"Volumen","settings.subtitles.window.color":"color de Ventana","settings.subtitles.window.opacity":"opacidad de Ventana","settings.subtitles":"Subt\xEDtulos","settings.subtitles.font.color":"color de Fuente","settings.subtitles.font.opacity":"opacidad de Fuente","settings.subtitles.background.color":"color de Fondo","settings.subtitles.background.opacity":"opacidad de Fondo","colors.white":"blanco","colors.black":"negro","colors.red":"rojo","colors.green":"verde","colors.blue":"azul","colors.cyan":"cian","colors.yellow":"amarillo","colors.magenta":"magenta",percent:"{value}%","settings.subtitles.font.size":"tama\xF1o de Fuente","settings.subtitles.font.style":"Estilo de Fuente","settings.subtitles.font.style.bold":"negrita","settings.subtitles.font.style.italic":"cursiva","settings.subtitles.characterEdge":"borde del Caracter","settings.subtitles.characterEdge.raised":"alzado","settings.subtitles.characterEdge.depressed":"discreto","settings.subtitles.characterEdge.uniform":"uniforme","settings.subtitles.characterEdge.dropshadowed":"sombreado","settings.subtitles.characterEdge.color":"color de contorno de texto","settings.subtitles.font.family":"tipo de Fuente","settings.subtitles.font.family.monospacedserif":"monospaced serif","settings.subtitles.font.family.proportionalserif":"proportional serif","settings.subtitles.font.family.monospacedsansserif":"monospaced sans serif","settings.subtitles.font.family.proportionalsansserif":"proportional sans serif","settings.subtitles.font.family.casual":"casual","settings.subtitles.font.family.cursive":"cursiva","settings.subtitles.font.family.smallcapital":"small capital","settings.time.hours":"Horas","settings.time.minutes":"Minutos","settings.time.seconds":"Segundos","ads.remainingTime":"Este anuncio acabar\xE1 en {remainingTime} segundos.",settings:"Configuraci\xF3n",fullscreen:"Pantalla Completa",speed:"Velocidad",playPause:"Reproducir/Pausa",play:"Reproducir",pause:"Pausa",open:"Abrir",close:"Cerrar",pictureInPicture:"Imagen en Imagen",appleAirplay:"Apple AirPlay",googleCast:"Google Cast",vr:"VR",off:"off",auto:"auto",ecoMode:"ecoMode","ecoMode.title":"Eco Mode",back:"Atr\xE1s",reset:"Reiniciar",replay:"Rebobinar",normal:"normal",default:"predeterminado",live:"Directo","subtitle.example":"Ejemplo de Subt\xEDtulo","subtitle.select":"Seleccionar subt\xEDtulo",playingOn:"Reproduciendo en <strong>{castDeviceName}</strong>",connectingTo:"Conectando a <strong>{castDeviceName}</strong>...",watermarkLink:"Enlace al inicio",controlBar:"Controles del Reproductor",player:"Reproductor de Video",seekBar:"L\xEDnea de Tiempo","seekBar.value":"posici\xF3n","seekBar.timeshift":"cambio de posici\xF3n","seekBar.durationText":"de","quickseek.forward":"Adelantar {seekSeconds} segundos","quickseek.rewind":"Rebobinar {seekSeconds} segundos"}});var ep=nt((SC,bS)=>{bS.exports={"settings.video.quality":"Videokwaliteit","settings.audio.quality":"Audiokwaliteit","settings.audio.track":"Audiospoor","settings.audio.mute":"Dempen","settings.audio.volume":"Volume","settings.subtitles.window.color":"Vensterkleur","settings.subtitles.window.opacity":"Venster doorzichtigheid","settings.subtitles":"Ondertiteling","settings.subtitles.font.color":"Lettertype kleur","settings.subtitles.font.opacity":"Lettertype doorzichtigheid","settings.subtitles.background.color":"Achtergrondkleur","settings.subtitles.background.opacity":"Achtergrond doorzichtigheid","colors.white":"wit","colors.black":"zwart","colors.red":"rood","colors.green":"groen","colors.blue":"blauw","colors.cyan":"cyaan","colors.yellow":"geel","colors.magenta":"magenta",percent:"{value}%","settings.subtitles.font.size":"Lettertype grootte","settings.subtitles.characterEdge":"Lettertype rand","settings.subtitles.characterEdge.raised":"verhoogd","settings.subtitles.characterEdge.depressed":"verlaagd","settings.subtitles.characterEdge.uniform":"uniform","settings.subtitles.characterEdge.dropshadowed":"schaduw","settings.subtitles.font.family":"Standaard lettertype","settings.subtitles.font.family.monospacedserif":"monospace serif","settings.subtitles.font.family.proportionalserif":"proportioneel serif","settings.subtitles.font.family.monospacedsansserif":"monospace sans-serif","settings.subtitles.font.family.proportionalsansserif":"proportioneel sans-serif","settings.subtitles.font.family.casual":"casual","settings.subtitles.font.family.cursive":"cursief","settings.subtitles.font.family.smallcapital":"kleine hoofdletters","settings.time.hours":"Uren","settings.time.minutes":"Minuten","settings.time.seconds":"Seconden","ads.remainingTime":"Deze advertentie eindigt in {remainingTime} seconden.",settings:"Instellingen",fullscreen:"Volledig scherm",speed:"Snelheid",playPause:"Afspelen/Pauzeren",play:"Afspelen",pause:"Pauzeren",open:"Openen",close:"Sluiten",pictureInPicture:"Picture-in-Picture",appleAirplay:"Apple AirPlay",googleCast:"Google Cast",vr:"VR",off:"uit",auto:"automatisch",ecoMode:"Eco-modus","ecoMode.title":"Eco-modus",back:"Terug",reset:"Reset",replay:"Opnieuw afspelen",normal:"normaal",default:"standaard",live:"Live","subtitle.example":"voorbeeld ondertiteling","subtitle.select":"Selecteer ondertiteling",playingOn:"Speelt af op <strong>{castDeviceName}</strong>",connectingTo:"Verbinden met <strong>{castDeviceName}</strong>...",watermarkLink:"Link naar homepage",controlBar:"Videospeler bediening",player:"Videospeler",seekBar:"Video tijdlijn","seekBar.value":"Waarde","seekBar.timeshift":"Tijdverschuiving","seekBar.durationText":"van","quickseek.forward":"{seekSeconds} seconden vooruitspoelen","quickseek.rewind":"{seekSeconds} seconden terugspoelen"}});var yt=nt(Nn=>{"use strict";var ai=Nn&&Nn.__assign||function(){return ai=Object.assign||function(H){for(var u,n=1,i=arguments.length;n<i;n++){u=arguments[n];for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(H[c]=u[c])}return H},ai.apply(this,arguments)},ol=Nn&&Nn.__importDefault||function(H){return H&&H.__esModule?H:{default:H}};Object.defineProperty(Nn,"__esModule",{value:!0});Nn.i18n=Nn.I18n=Nn.defaultVocabularies=void 0;var $S=ol(Q1()),TS=ol(J1()),ES=ol(Z1()),AS=ol(ep());Nn.defaultVocabularies={en:TS.default,de:$S.default,es:ES.default,nl:AS.default};var tp={language:"en",vocabularies:Nn.defaultVocabularies},np=(function(){function H(u){this.setConfig(u)}return H.prototype.setConfig=function(u){var n=ai(ai({},tp),u),i=n.language==="auto",c=this.mergeVocabulariesWithDefaultVocabularies(n.vocabularies);this.initializeLanguage(n.language,i,c),this.initializeVocabulary(c)},H.containsLanguage=function(u,n){return u.hasOwnProperty(n)},H.prototype.mergeVocabulariesWithDefaultVocabularies=function(u){u===void 0&&(u={});var n=ai(ai({},Nn.defaultVocabularies),u);return Object.keys(n).reduce(function(i,c){var m,$=n[c];return H.containsLanguage(Nn.defaultVocabularies,c)&&H.containsLanguage(u,c)&&($=ai(ai({},Nn.defaultVocabularies[c]),u[c])),ai(ai({},i),(m={},m[c]=$,m))},{})},H.prototype.initializeLanguage=function(u,n,i){if(n){var c=window.navigator.language;if(H.containsLanguage(i,c)){this.language=c;return}var m=c.slice(0,2);if(H.containsLanguage(i,m)){this.language=m;return}}this.language=u},H.prototype.initializeVocabulary=function(u){this.vocabulary=["en",this.language].reduce(function(n,i){return ai(ai({},n),u[i]||{})},{})},H.prototype.replaceVariableWithPlaceholderIfExists=function(u,n){var i=u.match(new RegExp("{[a-zA-Z0-9]+}","g"));return i.length===0?u:i.map(function(c){return{match:c,key:c.slice(1,-1)}}).reduce(function(c,m){var $=m.key,P=m.match;return n.hasOwnProperty($)?c.replace(P,n[$]):c},u)},H.prototype.getLocalizer=function(u,n){var i=this;return function(){if(u!=null){var c=i.vocabulary[u];return c==null&&(c=u),n!=null&&(c=i.replaceVariableWithPlaceholderIfExists(c,n)),c}}},H.prototype.performLocalization=function(u){return typeof u=="function"?u():u},H})();Nn.I18n=np;Nn.i18n=new np(tp)});var Bn=nt(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});wr.Component=wr.ViewMode=void 0;var PS=Y1(),IS=yn(),la=Dn(),CS=yt(),ip;(function(H){H.Persistent="persistent",H.Temporary="temporary"})(ip=wr.ViewMode||(wr.ViewMode={}));var $C=wr.Component=(function(){function H(u){u===void 0&&(u={}),this.componentEvents={onShow:new la.EventDispatcher,onHide:new la.EventDispatcher,onViewModeChanged:new la.EventDispatcher,onHoverChanged:new la.EventDispatcher,onEnabled:new la.EventDispatcher,onDisabled:new la.EventDispatcher},this.config=this.mergeConfig(u,{tag:"div",id:"bmpui-id-"+PS.Guid.next(),cssPrefix:"bmpui",cssClass:"ui-component",cssClasses:[],hidden:!1,disabled:!1},{}),this.viewMode=ip.Temporary}return H.prototype.initialize=function(){this.hidden=this.config.hidden,this.disabled=this.config.disabled,this.isHidden()&&(this.hidden=!1,this.hide()),this.isDisabled()&&(this.disabled=!1,this.disable())},H.prototype.configure=function(u,n){var i=this;this.onShow.subscribe(function(){return n.onComponentShow.dispatch(i)}),this.onHide.subscribe(function(){return n.onComponentHide.dispatch(i)}),this.onViewModeChanged.subscribe(function(c,m){return n.onComponentViewModeChanged.dispatch(i,m)}),this.getDomElement().on("mouseenter",function(){return i.onHoverChangedEvent(!0)}),this.getDomElement().on("mouseleave",function(){return i.onHoverChangedEvent(!1)})},H.prototype.release=function(){},H.prototype.toDomElement=function(){var u=new IS.DOM(this.config.tag,{id:this.config.id,class:this.getCssClasses(),role:this.config.role},this);return u},H.prototype.getDomElement=function(){return this.element||(this.element=this.toDomElement()),this.element},H.prototype.hasDomElement=function(){return!!this.element},H.prototype.setAriaLabel=function(u){this.setAriaAttr("label",CS.i18n.performLocalization(u))},H.prototype.setAriaAttr=function(u,n){this.getDomElement().attr("aria-".concat(u),n)},H.prototype.mergeConfig=function(u,n,i){var c=Object.assign({},i,n,u);return c},H.prototype.getCssClasses=function(){var u=this,n=[this.config.cssClass].concat(this.config.cssClasses);n=n.map(function(c){return u.prefixCss(c)});var i=n.join(" ");return i.trim()},H.prototype.prefixCss=function(u){return this.config.cssPrefix+"-"+u},H.prototype.getConfig=function(){return this.config},H.prototype.hide=function(){this.hidden||(this.hidden=!0,this.getDomElement().addClass(this.prefixCss(H.CLASS_HIDDEN)),this.onHideEvent())},H.prototype.show=function(){this.hidden&&(this.getDomElement().removeClass(this.prefixCss(H.CLASS_HIDDEN)),this.hidden=!1,this.onShowEvent())},H.prototype.isHidden=function(){return this.hidden},H.prototype.isShown=function(){return!this.isHidden()},H.prototype.toggleHidden=function(){this.isHidden()?this.show():this.hide()},H.prototype.disable=function(){this.disabled||(this.disabled=!0,this.getDomElement().addClass(this.prefixCss(H.CLASS_DISABLED)),this.onDisabledEvent())},H.prototype.enable=function(){this.disabled&&(this.getDomElement().removeClass(this.prefixCss(H.CLASS_DISABLED)),this.disabled=!1,this.onEnabledEvent())},H.prototype.isDisabled=function(){return this.disabled},H.prototype.isEnabled=function(){return!this.isDisabled()},H.prototype.isHovered=function(){return this.hovered},H.prototype.onShowEvent=function(){this.componentEvents.onShow.dispatch(this)},H.prototype.onHideEvent=function(){this.componentEvents.onHide.dispatch(this)},H.prototype.onEnabledEvent=function(){this.componentEvents.onEnabled.dispatch(this)},H.prototype.onDisabledEvent=function(){this.componentEvents.onDisabled.dispatch(this)},H.prototype.onViewModeChangedEvent=function(u){this.viewMode!==u&&(this.viewMode=u,this.componentEvents.onViewModeChanged.dispatch(this,{mode:u}))},H.prototype.onHoverChangedEvent=function(u){this.hovered=u,this.componentEvents.onHoverChanged.dispatch(this,{hovered:u})},Object.defineProperty(H.prototype,"onShow",{get:function(){return this.componentEvents.onShow.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onHide",{get:function(){return this.componentEvents.onHide.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onEnabled",{get:function(){return this.componentEvents.onEnabled.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onDisabled",{get:function(){return this.componentEvents.onDisabled.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onHoverChanged",{get:function(){return this.componentEvents.onHoverChanged.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onViewModeChanged",{get:function(){return this.componentEvents.onViewModeChanged.getEvent()},enumerable:!1,configurable:!0}),H.CLASS_HIDDEN="hidden",H.CLASS_DISABLED="disabled",H})()});var Zt=nt(ca=>{"use strict";var xS=ca&&ca.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ca,"__esModule",{value:!0});ca.Container=void 0;var Yd=Bn(),rp=yn(),MS=ur(),kS=yt(),wS=(function(H){xS(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-container",components:[]},i.config),i.componentsToAdd=[],i.componentsToRemove=[],i.componentsInPersistentViewMode=0,i}return u.prototype.addComponent=function(n){this.config.components.push(n),this.componentsToAdd.push(n)},u.prototype.removeComponent=function(n){return MS.ArrayUtils.remove(this.config.components,n)!=null?(this.componentsToRemove.push(n),!0):!1},u.prototype.getComponents=function(){return this.config.components},u.prototype.removeComponents=function(){for(var n=0,i=this.getComponents().slice();n<i.length;n++){var c=i[n];this.removeComponent(c)}},u.prototype.updateComponents=function(){for(var n;(n=this.componentsToRemove.shift())!==void 0;)n.getDomElement().remove();for(;(n=this.componentsToAdd.shift())!==void 0;)this.innerContainerElement.append(n.getDomElement())},u.prototype.toDomElement=function(){var n=new rp.DOM(this.config.tag,{id:this.config.id,class:this.getCssClasses(),role:this.config.role,"aria-label":kS.i18n.performLocalization(this.config.ariaLabel)},this),i=new rp.DOM(this.config.tag,{class:this.prefixCss("container-wrapper")});this.innerContainerElement=i;for(var c=0,m=this.config.components;c<m.length;c++){var $=m[c];this.componentsToAdd.push($)}return this.updateComponents(),n.append(i),n},u.prototype.suspendHideTimeout=function(){},u.prototype.resumeHideTimeout=function(){},u.prototype.trackComponentViewMode=function(n){n===Yd.ViewMode.Persistent?this.componentsInPersistentViewMode++:n===Yd.ViewMode.Temporary&&(this.componentsInPersistentViewMode=Math.max(this.componentsInPersistentViewMode-1,0)),this.componentsInPersistentViewMode>0?this.suspendHideTimeout():this.resumeHideTimeout()},u})(Yd.Component);ca.Container=wS});var lr=nt(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});sl.BrowserUtils=void 0;var RS=(function(){function H(){}return Object.defineProperty(H,"isMobile",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&/Mobi/.test(navigator.userAgent):!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isChrome",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&/Chrome/.test(navigator.userAgent):!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isAndroid",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&/Android/.test(navigator.userAgent)&&!this.isHisense:!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isIOS",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&/iPad|iPhone|iPod/.test(navigator.userAgent):!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isMacIntel",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&navigator.platform==="MacIntel":!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isHisense",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&/Hisense/.test(navigator.userAgent):!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isPlayStation",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&/PlayStation/i.test(navigator.userAgent):!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isWebOs",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&(navigator.userAgent.includes("Web0S")||navigator.userAgent.includes("NetCast")):!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isTizen",{get:function(){return this.windowExists()?navigator&&navigator.userAgent&&/Tizen/.test(navigator.userAgent):!1},enumerable:!1,configurable:!0}),Object.defineProperty(H,"isTouchSupported",{get:function(){return this.windowExists()?"ontouchstart"in window||navigator&&navigator.userAgent&&(navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0):!1},enumerable:!1,configurable:!0}),H.windowExists=function(){return typeof window<"u"},H})();sl.BrowserUtils=RS});var oi=nt(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.PlayerUtils=void 0;var ap=Dn(),op=lr(),OS;(function(H){var u;(function(a){a[a.Idle=0]="Idle",a[a.Prepared=1]="Prepared",a[a.Playing=2]="Playing",a[a.Paused=3]="Paused",a[a.Finished=4]="Finished"})(u=H.PlayerState||(H.PlayerState={}));function n(a){return a.isLive()&&a.getMaxTimeShift()!==0}H.isTimeShiftAvailable=n;function i(a){return a.hasEnded()?u.Finished:a.isPlaying()?u.Playing:a.isPaused()?u.Paused:a.getSource()!=null?u.Prepared:u.Idle}H.getState=i;function c(a){var r=a.getCurrentTime();if(a.isLive())return r;var o=H.getSeekableRangeStart(a,0);return r-o}H.getCurrentTimeRelativeToSeekableRange=c;function m(a,r){return r===void 0&&(r=0),a.getSeekableRange()&&a.getSeekableRange().start||r}H.getSeekableRangeStart=m;function $(a){if(!a.isLive())return a.getSeekableRange();var r=-a.getTimeShift(),o=-a.getMaxTimeShift(),l=a.getCurrentTime(),d=l+r,h=l-(o-r);return{start:h,end:d}}H.getSeekableRangeRespectingLive=$;var P=(function(){function a(r){var o=this;this.timeShiftAvailabilityChangedEvent=new ap.EventDispatcher,this.player=r,this.timeShiftAvailable=void 0;var l=function(){o.detect()};r.on(r.exports.PlayerEvent.SourceLoaded,l),r.on(r.exports.PlayerEvent.TimeChanged,l)}return a.prototype.detect=function(){if(this.player.isLive()){var r=H.isTimeShiftAvailable(this.player);r!==this.timeShiftAvailable&&(this.timeShiftAvailabilityChangedEvent.dispatch(this.player,{timeShiftAvailable:r}),this.timeShiftAvailable=r)}},Object.defineProperty(a.prototype,"onTimeShiftAvailabilityChanged",{get:function(){return this.timeShiftAvailabilityChangedEvent.getEvent()},enumerable:!1,configurable:!0}),a})();H.TimeShiftAvailabilityDetector=P;var t=(function(){function a(r,o){var l=this;this.liveChangedEvent=new ap.EventDispatcher,this.player=r,this.uimanager=o,this.live=void 0;var d=function(){l.detect()};this.uimanager.getConfig().events.onUpdated.subscribe(d),r.on(r.exports.PlayerEvent.Play,d),op.BrowserUtils.isAndroid&&op.BrowserUtils.isChrome&&r.on(r.exports.PlayerEvent.TimeChanged,d),r.exports.PlayerEvent.DurationChanged&&r.on(r.exports.PlayerEvent.DurationChanged,d),r.on(r.exports.PlayerEvent.AdBreakStarted,d),r.on(r.exports.PlayerEvent.AdBreakFinished,d)}return a.prototype.detect=function(){var r=this.player.isLive();r!==this.live&&(this.liveChangedEvent.dispatch(this.player,{live:r}),this.live=r)},Object.defineProperty(a.prototype,"onLiveChanged",{get:function(){return this.liveChangedEvent.getEvent()},enumerable:!1,configurable:!0}),a})();H.LiveStreamDetector=t;function _(a,r,o){var l=Math.min(r,o),d=Math.max(r,o);return Math.min(Math.max(a,l),d)}H.clampValueToRange=_})(OS=Rs.PlayerUtils||(Rs.PlayerUtils={}))});var si=nt(da=>{"use strict";var LS=da&&da.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(da,"__esModule",{value:!0});da.Button=void 0;var DS=Bn(),sp=yn(),NS=Dn(),Xd=yt(),BS=(function(H){LS(u,H);function u(n){var i=H.call(this,n)||this;return i.buttonEvents={onClick:new NS.EventDispatcher},i.config=i.mergeConfig(n,{cssClass:"ui-button",role:"button",tabIndex:0,acceptsTouchWithUiHidden:!1},i.config),i}return u.prototype.toDomElement=function(){var n=this,i={id:this.config.id,"aria-label":Xd.i18n.performLocalization(this.config.ariaLabel||this.config.text),class:this.getCssClasses(),type:"button",tabindex:this.config.tabIndex.toString()};this.config.role!=null&&(i.role=this.config.role);var c=new sp.DOM("button",i,this).append(new sp.DOM("span",{class:this.prefixCss("label")}).html(Xd.i18n.performLocalization(this.config.text)));return c.on("click",function(){n.onClickEvent()}),c},u.prototype.setText=function(n){this.getDomElement().find("."+this.prefixCss("label")).html(Xd.i18n.performLocalization(n))},u.prototype.onClickEvent=function(){this.buttonEvents.onClick.dispatch(this)},Object.defineProperty(u.prototype,"onClick",{get:function(){return this.buttonEvents.onClick.getEvent()},enumerable:!1,configurable:!0}),u})(DS.Component);da.Button=BS});var ha=nt(fa=>{"use strict";var US=fa&&fa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(fa,"__esModule",{value:!0});fa.UIContainer=void 0;var FS=Zt(),Qd=yn(),HS=Wi(),Un=oi(),jS=Dn(),VS=yt(),GS=si(),CC=fa.UIContainer=(function(H){US(u,H);function u(n){var i=H.call(this,n)||this;return i.hideUi=function(){},i.showUi=function(){},i.config=i.mergeConfig(n,{cssClass:"ui-uicontainer",role:"region",ariaLabel:VS.i18n.getLocalizer("player"),hideDelay:5e3,hideImmediatelyOnMouseLeave:!1},i.config),i.playerStateChange=new jS.EventDispatcher,i.hidingPrevented=function(){return!1},i}return u.prototype.configure=function(n,i){var c=this.getConfig();c.userInteractionEventSource?this.userInteractionEventSource=new Qd.DOM(c.userInteractionEventSource):this.userInteractionEventSource=this.getDomElement(),H.prototype.configure.call(this,n,i),this.configureUIShowHide(n,i),this.configurePlayerStates(n,i)},u.prototype.configureUIShowHide=function(n,i){var c=this,m=this.getConfig();if(m.hideDelay===-1){i.onConfigured.subscribe(function(){return i.onControlsShow.dispatch(c)});return}var $=!1,P=!1,t=!0,_;this.hidingPrevented=function(){return m.hidePlayerStateExceptions&&m.hidePlayerStateExceptions.indexOf(_)>-1},this.showUi=function(){$||(i.onControlsShow.dispatch(c),$=!0),!P&&!n.isCasting()&&!c.hidingPrevented()&&c.uiHideTimeout.start()},this.hideUi=function(){if($&&!n.isCasting()){var a={};i.onPreviewControlsHide.dispatch(c,a),a.cancel?c.showUi():(i.onControlsHide.dispatch(c),$=!1)}},this.uiHideTimeout=new HS.Timeout(m.hideDelay,this.hideUi),this.userInteractionEvents=[{name:"touchend",handler:function(a){var r=(function(o){var l=(function(h){return!h||h===c.userInteractionEventSource.get(0)||h.component instanceof u?null:h.component&&h.component instanceof GS.Button?h.component:l(h.parentElement)}),d=l(o.target);return!(d&&d.getConfig().acceptsTouchWithUiHidden)});$||(t&&!n.isPlaying()?t=!1:r(a)&&a.preventDefault(),c.showUi())}},{name:"mouseenter",handler:function(){c.showUi()}},{name:"mousemove",handler:function(){c.showUi()}},{name:"focusin",handler:function(){c.showUi()}},{name:"keydown",handler:function(){c.showUi()}},{name:"mouseleave",handler:function(){!P&&!c.hidingPrevented()&&(c.config.hideImmediatelyOnMouseLeave?c.hideUi():c.uiHideTimeout.start())}}],this.userInteractionEvents.forEach(function(a){return c.userInteractionEventSource.on(a.name,a.handler)}),i.onSeek.subscribe(function(){c.uiHideTimeout.clear(),P=!0}),i.onSeeked.subscribe(function(){P=!1,c.hidingPrevented()||c.uiHideTimeout.start()}),i.onComponentViewModeChanged.subscribe(function(a,r){var o=r.mode;return c.trackComponentViewMode(o)}),n.on(n.exports.PlayerEvent.CastStarted,function(){c.showUi()}),this.playerStateChange.subscribe(function(a,r){_=r,c.hidingPrevented()?(c.uiHideTimeout.clear(),c.showUi()):c.uiHideTimeout.start()})},u.prototype.configurePlayerStates=function(n,i){var c=this,m=this.getDomElement(),$=[];for(var P in Un.PlayerUtils.PlayerState)if(isNaN(Number(P))){var t=Un.PlayerUtils.PlayerState[Un.PlayerUtils.PlayerState[P]];$[Un.PlayerUtils.PlayerState[P]]=this.prefixCss(u.STATE_PREFIX+t.toLowerCase())}var _=function(){m.removeClass($[Un.PlayerUtils.PlayerState.Idle]),m.removeClass($[Un.PlayerUtils.PlayerState.Prepared]),m.removeClass($[Un.PlayerUtils.PlayerState.Playing]),m.removeClass($[Un.PlayerUtils.PlayerState.Paused]),m.removeClass($[Un.PlayerUtils.PlayerState.Finished])},a=function(o){_(),m.addClass($[o]),c.playerStateChange.dispatch(c,o)};n.on(n.exports.PlayerEvent.SourceLoaded,function(){a(Un.PlayerUtils.PlayerState.Prepared)}),n.on(n.exports.PlayerEvent.Play,function(){a(Un.PlayerUtils.PlayerState.Playing)}),n.on(n.exports.PlayerEvent.Playing,function(){a(Un.PlayerUtils.PlayerState.Playing)}),n.on(n.exports.PlayerEvent.Paused,function(){a(Un.PlayerUtils.PlayerState.Paused)}),n.on(n.exports.PlayerEvent.PlaybackFinished,function(){a(Un.PlayerUtils.PlayerState.Finished)}),n.on(n.exports.PlayerEvent.SourceUnloaded,function(){a(Un.PlayerUtils.PlayerState.Idle)}),i.getConfig().events.onUpdated.subscribe(function(){a(Un.PlayerUtils.getState(n))}),n.on(n.exports.PlayerEvent.ViewModeChanged,function(){n.getViewMode()===n.exports.ViewMode.Fullscreen?m.addClass(c.prefixCss(u.FULLSCREEN)):m.removeClass(c.prefixCss(u.FULLSCREEN))}),n.getViewMode()===n.exports.ViewMode.Fullscreen&&m.addClass(this.prefixCss(u.FULLSCREEN)),n.on(n.exports.PlayerEvent.StallStarted,function(){m.addClass(c.prefixCss(u.BUFFERING))}),n.on(n.exports.PlayerEvent.StallEnded,function(){m.removeClass(c.prefixCss(u.BUFFERING))}),n.isStalled()&&m.addClass(this.prefixCss(u.BUFFERING)),n.on(n.exports.PlayerEvent.CastStarted,function(){m.addClass(c.prefixCss(u.REMOTE_CONTROL))}),n.on(n.exports.PlayerEvent.CastStopped,function(){m.removeClass(c.prefixCss(u.REMOTE_CONTROL))}),n.isCasting()&&m.addClass(this.prefixCss(u.REMOTE_CONTROL)),i.onControlsShow.subscribe(function(){m.removeClass(c.prefixCss(u.CONTROLS_HIDDEN)),m.addClass(c.prefixCss(u.CONTROLS_SHOWN))}),i.onControlsHide.subscribe(function(){m.removeClass(c.prefixCss(u.CONTROLS_SHOWN)),m.addClass(c.prefixCss(u.CONTROLS_HIDDEN))});var r=function(o,l){m.removeClass(c.prefixCss("layout-max-width-400")),m.removeClass(c.prefixCss("layout-max-width-600")),m.removeClass(c.prefixCss("layout-max-width-800")),m.removeClass(c.prefixCss("layout-max-width-1200")),o<=400?m.addClass(c.prefixCss("layout-max-width-400")):o<=600?m.addClass(c.prefixCss("layout-max-width-600")):o<=800?m.addClass(c.prefixCss("layout-max-width-800")):o<=1200&&m.addClass(c.prefixCss("layout-max-width-1200"))};n.on(n.exports.PlayerEvent.PlayerResized,function(o){var l=Math.round(Number(o.width.substring(0,o.width.length-2))),d=Math.round(Number(o.height.substring(0,o.height.length-2)));r(l,d)}),r(new Qd.DOM(n.getContainer()).width(),new Qd.DOM(n.getContainer()).height())},u.prototype.release=function(){var n=this;this.userInteractionEvents&&this.userInteractionEvents.forEach(function(i){return n.userInteractionEventSource.off(i.name,i.handler)}),H.prototype.release.call(this),this.uiHideTimeout&&this.uiHideTimeout.clear()},u.prototype.onPlayerStateChange=function(){return this.playerStateChange.getEvent()},u.prototype.suspendHideTimeout=function(){this.uiHideTimeout.suspend()},u.prototype.resumeHideTimeout=function(){this.uiHideTimeout.resume(!this.hidingPrevented())},u.prototype.toDomElement=function(){var n=H.prototype.toDomElement.call(this);return document&&typeof document.createElement("p").style.flex<"u"?n.addClass(this.prefixCss("flexbox")):n.addClass(this.prefixCss("no-flexbox")),n},u.STATE_PREFIX="player-state-",u.FULLSCREEN="fullscreen",u.BUFFERING="buffering",u.REMOTE_CONTROL="remote-control",u.CONTROLS_SHOWN="controls-shown",u.CONTROLS_HIDDEN="controls-hidden",u})(FS.Container)});var Ls=nt(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Os.UIUtils=void 0;var WS=Zt(),qS;(function(H){function u(i,c){var m=function($,P){if(c($,P),$ instanceof WS.Container)for(var t=0,_=$.getComponents();t<_.length;t++){var a=_[t];m(a,$)}};m(i)}H.traverseTree=u;var n;(function(i){i[i.LeftArrow=37]="LeftArrow",i[i.UpArrow=38]="UpArrow",i[i.RightArrow=39]="RightArrow",i[i.DownArrow=40]="DownArrow",i[i.Space=32]="Space",i[i.End=35]="End",i[i.Home=36]="Home"})(n=H.KeyCode||(H.KeyCode={}))})(qS=Os.UIUtils||(Os.UIUtils={}))});var lp=nt(_a=>{"use strict";Object.defineProperty(_a,"__esModule",{value:!0});_a.VolumeTransition=_a.VolumeController=void 0;var KS=Dn(),kC=_a.VolumeController=(function(){function H(u){var n=this;this.player=u,this.events={onChanged:new KS.EventDispatcher},this.storeVolume();var i=function(){n.onChangedEvent()};u.on(u.exports.PlayerEvent.SourceLoaded,i),u.on(u.exports.PlayerEvent.VolumeChanged,i),u.on(u.exports.PlayerEvent.Muted,i),u.on(u.exports.PlayerEvent.Unmuted,i)}return H.prototype.setVolume=function(u){this.player.setVolume(u,H.issuerName)},H.prototype.getVolume=function(){return this.player.getVolume()},H.prototype.setMuted=function(u){u?this.player.mute(H.issuerName):this.player.unmute(H.issuerName)},H.prototype.toggleMuted=function(){this.isMuted()||this.getVolume()===0?this.recallVolume():this.setMuted(!0)},H.prototype.isMuted=function(){return this.player.isMuted()},H.prototype.storeVolume=function(){this.storedVolume=this.getVolume()},H.prototype.recallVolume=function(){this.setMuted(this.storedVolume===0),this.setVolume(this.storedVolume)},H.prototype.startTransition=function(){return new up(this)},H.prototype.onChangedEvent=function(){var u=this.isMuted(),n=this.getVolume(),i=u||n===0,c=u?0:n;this.storeVolume(),this.events.onChanged.dispatch(this,{volume:c,muted:i})},Object.defineProperty(H.prototype,"onChanged",{get:function(){return this.events.onChanged.getEvent()},enumerable:!1,configurable:!0}),H.issuerName="ui-volumecontroller",H})(),up=(function(){function H(u){this.controller=u,u.storeVolume()}return H.prototype.update=function(u){this.controller.setMuted(!1),this.controller.setVolume(u)},H.prototype.finish=function(u){u===0?(this.controller.recallVolume(),this.controller.setMuted(!0)):(this.controller.setMuted(!1),this.controller.setVolume(u),this.controller.storeVolume())},H})();_a.VolumeTransition=up});var dp=nt(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.FocusVisibilityTracker=void 0;var Jd="bmpui-focus-visible",zS=(function(){function H(u){var n=this;this.bitmovinUiPrefix=u,this.lastInteractionWasKeyboard=!0,this.onKeyDown=function(i){i.metaKey||i.altKey||i.ctrlKey||(n.lastInteractionWasKeyboard=!0)},this.onMouseOrPointerOrTouch=function(){return n.lastInteractionWasKeyboard=!1},this.onFocus=function(i){var c=i.target;n.lastInteractionWasKeyboard&&cp(c)&&YS(c,n.bitmovinUiPrefix)&&!c.classList.contains(Jd)&&c.classList.add(Jd)},this.onBlur=function(i){var c=i.target;cp(c)&&c.classList.remove(Jd)},this.eventHandlerMap={mousedown:this.onMouseOrPointerOrTouch,pointerdown:this.onMouseOrPointerOrTouch,touchstart:this.onMouseOrPointerOrTouch,keydown:this.onKeyDown,focus:this.onFocus,blur:this.onBlur},this.registerEventListeners()}return H.prototype.registerEventListeners=function(){for(var u in this.eventHandlerMap)document.addEventListener(u,this.eventHandlerMap[u],!0)},H.prototype.unregisterEventListeners=function(){for(var u in this.eventHandlerMap)document.removeEventListener(u,this.eventHandlerMap[u],!0)},H.prototype.release=function(){this.unregisterEventListeners()},H})();ul.FocusVisibilityTracker=zS;function YS(H,u){return H.id.indexOf(u)===0}function cp(H){return H instanceof HTMLElement&&H.classList instanceof DOMTokenList}});var ef=nt(Rr=>{"use strict";Object.defineProperty(Rr,"__esModule",{value:!0});Rr.isMobileV3PlayerAPI=Rr.MobileV3PlayerEvent=void 0;var Zd;(function(H){H.SourceError="sourceerror",H.PlayerError="playererror",H.PlaylistTransition="playlisttransition"})(Zd=Rr.MobileV3PlayerEvent||(Rr.MobileV3PlayerEvent={}));function XS(H){for(var u in Zd)if(Zd.hasOwnProperty(u)&&!H.exports.PlayerEvent.hasOwnProperty(u))return!1;return!0}Rr.isMobileV3PlayerAPI=XS});var ll=nt(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Ds.StorageUtils=void 0;var QS;(function(H){var u;function n(t){u=t.disableStorageApi}H.setStorageApiDisabled=n;function i(){try{return!u&&window.localStorage&&typeof localStorage.getItem=="function"&&typeof localStorage.setItem=="function"}catch{return!1}}function c(t,_){if(i())try{window.localStorage.setItem(t,_)}catch(a){console.debug("Failed to set storage item ".concat(t),a)}}H.setItem=c;function m(t){if(i())try{return window.localStorage.getItem(t)}catch(_){console.debug("Failed to get storage item ".concat(t),_)}return null}H.getItem=m;function $(t,_){var a=JSON.stringify(_);c(t,a)}H.setObject=$;function P(t){var _=m(t);if(_){var a=JSON.parse(_);return a}return null}H.getObject=P})(QS=Ds.StorageUtils||(Ds.StorageUtils={}))});var hp=nt(cr=>{"use strict";var JS=cr&&cr.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(cr,"__esModule",{value:!0});cr.SubtitleSettingsProperty=cr.SubtitleSettingsManager=void 0;var fp=ll(),ZS=Bn(),eb=Dn(),tb=(function(){function H(){this._properties={fontColor:new ui(this),fontOpacity:new ui(this),fontFamily:new ui(this),fontSize:new ui(this),fontStyle:new ui(this),characterEdge:new ui(this),characterEdgeColor:new ui(this),backgroundColor:new ui(this),backgroundOpacity:new ui(this),windowColor:new ui(this),windowOpacity:new ui(this)},this.userSettings={},this.localStorageKey=nb.instance().prefixCss("subtitlesettings")}return H.prototype.reset=function(){for(var u in this._properties)this._properties[u].clear()},Object.defineProperty(H.prototype,"fontColor",{get:function(){return this._properties.fontColor},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"fontOpacity",{get:function(){return this._properties.fontOpacity},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"fontFamily",{get:function(){return this._properties.fontFamily},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"fontSize",{get:function(){return this._properties.fontSize},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"fontStyle",{get:function(){return this._properties.fontStyle},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"characterEdge",{get:function(){return this._properties.characterEdge},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"characterEdgeColor",{get:function(){return this._properties.characterEdgeColor},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"backgroundColor",{get:function(){return this._properties.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"backgroundOpacity",{get:function(){return this._properties.backgroundOpacity},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"windowColor",{get:function(){return this._properties.windowColor},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"windowOpacity",{get:function(){return this._properties.windowOpacity},enumerable:!1,configurable:!0}),H.prototype.initialize=function(){var u=this,n=function(m){i._properties[m].onChanged.subscribe(function($,P){P.isSet()?u.userSettings[m]=P.value:delete u.userSettings[m],u.save()})},i=this;for(var c in this._properties)n(c);this.load()},H.prototype.save=function(){fp.StorageUtils.setObject(this.localStorageKey,this.userSettings)},H.prototype.load=function(){this.userSettings=fp.StorageUtils.getObject(this.localStorageKey)||{};for(var u in this.userSettings)this._properties[u].value=this.userSettings[u]},H})();cr.SubtitleSettingsManager=tb;var nb=(function(H){JS(u,H);function u(){return H!==null&&H.apply(this,arguments)||this}return u.instance=function(){return u._instance||(u._instance=new u),u._instance},u.prototype.prefixCss=function(n){return H.prototype.prefixCss.call(this,n)},u})(ZS.Component),ui=(function(){function H(u){this._manager=u,this._onChanged=new eb.EventDispatcher}return H.prototype.isSet=function(){return this._value!=null},H.prototype.clear=function(){this._value=null,this.onChangedEvent(null)},Object.defineProperty(H.prototype,"value",{get:function(){return this._value},set:function(u){typeof u=="string"&&u==="null"&&(u=null),this._value=u,this.onChangedEvent(u)},enumerable:!1,configurable:!0}),H.prototype.onChangedEvent=function(u){this._onChanged.dispatch(this._manager,this)},Object.defineProperty(H.prototype,"onChanged",{get:function(){return this._onChanged.getEvent()},enumerable:!1,configurable:!0}),H})();cr.SubtitleSettingsProperty=ui});var cl=nt(Kn=>{"use strict";var ib=Kn&&Kn.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),pa=Kn&&Kn.__assign||function(){return pa=Object.assign||function(H){for(var u,n=1,i=arguments.length;n<i;n++){u=arguments[n];for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(H[c]=u[c])}return H},pa.apply(this,arguments)},rb=Kn&&Kn.__spreadArray||function(H,u,n){if(n||arguments.length===2)for(var i=0,c=u.length,m;i<c;i++)(m||!(i in u))&&(m||(m=Array.prototype.slice.call(u,0,i)),m[i]=u[i]);return H.concat(m||Array.prototype.slice.call(u))};Object.defineProperty(Kn,"__esModule",{value:!0});Kn.PlayerWrapper=Kn.UIInstanceManager=Kn.UIManager=void 0;var ab=ha(),tf=yn(),ob=Zt(),qn=Dn(),sb=Ls(),vp=ur(),ub=lr(),lb=lp(),_p=yt(),cb=dp(),pp=ef(),db=hp(),fb=ll(),hb=(function(){function H(u,n,i){i===void 0&&(i={});var c=this;if(this.events={onUiVariantResolve:new qn.EventDispatcher,onActiveUiChanged:new qn.EventDispatcher},n instanceof ab.UIContainer){var m=n,$=[];$.push({ui:m}),this.uiVariants=$}else this.uiVariants=n;this.subtitleSettingsManager=new db.SubtitleSettingsManager,this.player=u,this.managerPlayerWrapper=new nf(u),i.metadata=i.metadata?i.metadata:{},this.config=pa(pa({playbackSpeedSelectionEnabled:!0,autoUiVariantResolve:!0,disableAutoHideWhenHovered:!1,enableSeekPreview:!0},i),{events:{onUpdated:new qn.EventDispatcher},volumeController:new lb.VolumeController(this.managerPlayerWrapper.getPlayer())});var P=function(){var f=u.getSource()||{};c.config.metadata=JSON.parse(JSON.stringify(i.metadata||{}));var p={metadata:{title:f.title,description:f.description,markers:f.markers},recommendations:f.recommendations};c.config.metadata.title=p.metadata.title||i.metadata.title,c.config.metadata.description=p.metadata.description||i.metadata.description,c.config.metadata.markers=p.metadata.markers||i.metadata.markers||[],c.config.recommendations=p.recommendations||i.recommendations||[],fb.StorageUtils.setStorageApiDisabled(i)};P(),this.subtitleSettingsManager.initialize();var t=function(){P(),c.config.events.onUpdated.dispatch(c)},_=this.managerPlayerWrapper.getPlayer();_.on(this.player.exports.PlayerEvent.SourceLoaded,t),(0,pp.isMobileV3PlayerAPI)(_)&&_.on(pp.MobileV3PlayerEvent.PlaylistTransition,t),i.container?this.uiContainerElement=i.container instanceof HTMLElement?new tf.DOM(i.container):new tf.DOM(i.container):this.uiContainerElement=new tf.DOM(u.getContainer()),this.uiInstanceManagers=[];for(var a=[],r=0,o=this.uiVariants;r<o.length;r++){var l=o[r];l.condition==null&&a.push(l),this.uiInstanceManagers.push(new _b(u,l.ui,this.config,this.subtitleSettingsManager,l.spatialNavigation))}if(a.length>1)throw Error("Too many UIs without a condition: You cannot have more than one default UI");if(a.length>0&&a[0]!==this.uiVariants[this.uiVariants.length-1])throw Error("Invalid UI variant order: the default UI (without condition) must be at the end of the list");var d=null,h=function(f){if(f!=null)switch(f.type){case u.exports.PlayerEvent.AdStarted:d=f;break;case u.exports.PlayerEvent.AdBreakFinished:d=null,c.config.events.onUpdated.dispatch(c);break;case u.exports.PlayerEvent.SourceLoaded:case u.exports.PlayerEvent.SourceUnloaded:d=null;break}var p=d!=null,A=!1;if(p){var x=d.ad;if(x.isLinear){var I=x;A=I.uiConfig&&I.uiConfig.requestsUi||!1}}A&&c.config.events.onUpdated.dispatch(c),c.resolveUiVariant({isAd:p,adRequiresUi:A},function(T){T.isAd&&c.currentUi.getWrappedPlayer().fireEventInUI(c.player.exports.PlayerEvent.AdStarted,d)})};this.config.autoUiVariantResolve&&(this.managerPlayerWrapper.getPlayer().on(this.player.exports.PlayerEvent.SourceLoaded,h),this.managerPlayerWrapper.getPlayer().on(this.player.exports.PlayerEvent.SourceUnloaded,h),this.managerPlayerWrapper.getPlayer().on(this.player.exports.PlayerEvent.Play,h),this.managerPlayerWrapper.getPlayer().on(this.player.exports.PlayerEvent.Paused,h),this.managerPlayerWrapper.getPlayer().on(this.player.exports.PlayerEvent.AdStarted,h),this.managerPlayerWrapper.getPlayer().on(this.player.exports.PlayerEvent.AdBreakFinished,h),this.managerPlayerWrapper.getPlayer().on(this.player.exports.PlayerEvent.PlayerResized,h),this.managerPlayerWrapper.getPlayer().on(this.player.exports.PlayerEvent.ViewModeChanged,h)),this.focusVisibilityTracker=new cb.FocusVisibilityTracker("bmpui"),h(null)}return H.localize=function(u){return _p.i18n.getLocalizer(u)},H.setLocalizationConfig=function(u){_p.i18n.setConfig(u)},H.prototype.getSubtitleSettingsManager=function(){return this.subtitleSettingsManager},H.prototype.getConfig=function(){return this.config},H.prototype.getUiVariants=function(){return this.uiVariants},H.prototype.switchToUiVariant=function(u,n){var i=this.uiVariants.indexOf(u),c=this.currentUi,m=this.uiInstanceManagers[i];m!==this.currentUi&&(this.currentUi&&this.currentUi.getUI().hide(),this.currentUi=m,this.currentUi!=null&&(this.currentUi.isConfigured()||(this.addUi(this.currentUi),this.currentUi.getUI().isHidden()||this.currentUi.getUI().hide()),n&&n(),this.currentUi.getUI().show(),this.events.onActiveUiChanged.dispatch(this,{previousUi:c,currentUi:m})))},H.prototype.resolveUiVariant=function(u,n){u===void 0&&(u={});var i={isAd:!1,adRequiresUi:!1,isFullscreen:this.player.getViewMode()===this.player.exports.ViewMode.Fullscreen,isMobile:ub.BrowserUtils.isMobile,isPlaying:this.player.isPlaying(),width:this.uiContainerElement.width(),documentWidth:document.body.clientWidth},c=pa(pa({},i),u);this.events.onUiVariantResolve.dispatch(this,c);for(var m=null,$=0,P=this.uiVariants;$<P.length;$++){var t=P[$],_=t.condition==null||t.condition(c)===!0;m==null&&_?m=t:t.ui.hide()}this.switchToUiVariant(m,function(){n&&n(c)})},H.prototype.addUi=function(u){var n=u.getUI().getDomElement(),i=u.getWrappedPlayer();u.configureControls(),this.uiContainerElement.append(n),i.getSource()&&this.config.events.onUpdated.dispatch(this),window.requestAnimationFrame?requestAnimationFrame(function(){u.onConfigured.dispatch(u.getUI())}):setTimeout(function(){u.onConfigured.dispatch(u.getUI())},0)},H.prototype.releaseUi=function(u){u.releaseControls();var n=u.getUI();n.hasDomElement()&&n.getDomElement().remove(),u.clearEventHandlers()},H.prototype.release=function(){for(var u=0,n=this.uiInstanceManagers;u<n.length;u++){var i=n[u];this.releaseUi(i)}this.managerPlayerWrapper.clearEventHandlers(),this.focusVisibilityTracker.release()},Object.defineProperty(H.prototype,"onUiVariantResolve",{get:function(){return this.events.onUiVariantResolve},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onActiveUiChanged",{get:function(){return this.events.onActiveUiChanged},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"activeUi",{get:function(){return this.currentUi},enumerable:!1,configurable:!0}),H.prototype.getTimelineMarkers=function(){return this.config.metadata.markers},H.prototype.addTimelineMarker=function(u){this.config.metadata.markers.push(u),this.config.events.onUpdated.dispatch(this)},H.prototype.removeTimelineMarker=function(u){return vp.ArrayUtils.remove(this.config.metadata.markers,u)===u?(this.config.events.onUpdated.dispatch(this),!0):!1},H})();Kn.UIManager=hb;var gp=(function(){function H(u,n,i,c,m){this.events={onConfigured:new qn.EventDispatcher,onSeek:new qn.EventDispatcher,onSeekPreview:new qn.EventDispatcher,onSeeked:new qn.EventDispatcher,onComponentShow:new qn.EventDispatcher,onComponentHide:new qn.EventDispatcher,onComponentViewModeChanged:new qn.EventDispatcher,onControlsShow:new qn.EventDispatcher,onPreviewControlsHide:new qn.EventDispatcher,onControlsHide:new qn.EventDispatcher,onRelease:new qn.EventDispatcher},this.playerWrapper=new nf(u),this.ui=n,this.config=i,this.subtitleSettingsManager=c,this.spatialNavigation=m}return H.prototype.getSubtitleSettingsManager=function(){return this.subtitleSettingsManager},H.prototype.getConfig=function(){return this.config},H.prototype.getUI=function(){return this.ui},H.prototype.getPlayer=function(){return this.playerWrapper.getPlayer()},Object.defineProperty(H.prototype,"onConfigured",{get:function(){return this.events.onConfigured},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onSeek",{get:function(){return this.events.onSeek},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onSeekPreview",{get:function(){return this.events.onSeekPreview},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onSeeked",{get:function(){return this.events.onSeeked},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onComponentShow",{get:function(){return this.events.onComponentShow},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onComponentHide",{get:function(){return this.events.onComponentHide},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onControlsShow",{get:function(){return this.events.onControlsShow},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onPreviewControlsHide",{get:function(){return this.events.onPreviewControlsHide},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onControlsHide",{get:function(){return this.events.onControlsHide},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onRelease",{get:function(){return this.events.onRelease},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"onComponentViewModeChanged",{get:function(){return this.events.onComponentViewModeChanged},enumerable:!1,configurable:!0}),H.prototype.clearEventHandlers=function(){this.playerWrapper.clearEventHandlers();var u=this.events;for(var n in u){var i=u[n];i.unsubscribeAll()}},H})();Kn.UIInstanceManager=gp;var _b=(function(H){ib(u,H);function u(){return H!==null&&H.apply(this,arguments)||this}return u.prototype.getWrappedPlayer=function(){return this.getPlayer()},u.prototype.configureControls=function(){this.configureControlsTree(this.getUI()),this.configured=!0},u.prototype.isConfigured=function(){return this.configured},u.prototype.configureControlsTree=function(n){var i=this,c=[];sb.UIUtils.traverseTree(n,function(m){for(var $=0,P=c;$<P.length;$++){var t=P[$];if(t===m)throw console&&console.error("Circular reference in UI tree",m),Error("Circular reference in UI tree: "+m.constructor.name)}m.initialize(),m.configure(i.getPlayer(),i),c.push(m)})},u.prototype.releaseControls=function(){var n;this.configured&&(this.onRelease.dispatch(this.getUI()),this.releaseControlsTree(this.getUI()),this.configured=!1),(n=this.spatialNavigation)===null||n===void 0||n.release(),this.released=!0},u.prototype.isReleased=function(){return this.released},u.prototype.releaseControlsTree=function(n){if(n.release(),n instanceof ob.Container)for(var i=0,c=n.getComponents();i<c.length;i++){var m=c[i];this.releaseControlsTree(m)}},u.prototype.clearEventHandlers=function(){H.prototype.clearEventHandlers.call(this)},u})(gp),nf=(function(){function H(u){var n=this;this.eventHandlers={},this.player=u;for(var i=Object.getOwnPropertyNames(Object.getPrototypeOf({})),c=rb(["constructor"],i,!0),m=pb(u).filter(function(I){return c.indexOf(I)===-1}),$=[],P=[],t=0,_=m;t<_.length;t++){var a=_[t];typeof u[a]=="function"?$.push(a):P.push(a)}for(var r={},o=function(I){r[I]=function(){return u[I].apply(u,arguments)}},l=0,d=$;l<d.length;l++){var h=d[l];o(h)}for(var f=function(I){var T=(function(y){for(;y;){var E=Object.getOwnPropertyDescriptor(y,I);if(E)return E;y=Object.getPrototypeOf(y)}})(u);T&&(T.get||T.set)?Object.defineProperty(r,I,{get:function(){return T.get.call(u)},set:function(y){return T.set.call(u,y)}}):r[I]=u[I]},p=0,A=P;p<A.length;p++){var x=A[p];f(x)}r.on=function(I,T){return u.on(I,T),n.eventHandlers[I]||(n.eventHandlers[I]=[]),n.eventHandlers[I].push(T),r},r.off=function(I,T){return u.off(I,T),n.eventHandlers[I]&&vp.ArrayUtils.remove(n.eventHandlers[I],T),r},r.fireEventInUI=function(I,T){if(n.eventHandlers[I])for(var y=Object.assign({},{timestamp:Date.now(),type:I,uiSourced:!0},T),E=0,S=n.eventHandlers[I];E<S.length;E++){var b=S[E];b(y)}},this.wrapper=r}return H.prototype.getPlayer=function(){return this.wrapper},H.prototype.clearEventHandlers=function(){try{this.player.getSource()}catch(m){m instanceof this.player.exports.PlayerAPINotAvailableError&&(this.eventHandlers={})}for(var u in this.eventHandlers)for(var n=0,i=this.eventHandlers[u];n<i.length;n++){var c=i[n];this.player.off(u,c)}},H})();Kn.PlayerWrapper=nf;function pb(H){for(var u=[];H;){var n=Object.getOwnPropertyNames(H).filter(function(i){return u.indexOf(i)===-1});u=u.concat(n),H=Object.getPrototypeOf(H)}return u}});var yp=nt(mp=>{"use strict";Object.defineProperty(mp,"__esModule",{value:!0})});var Ap=nt(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});Ns.VttUtils=void 0;var Sp=28,vb=1,bp=21,Xt;(function(H){H.Top="top",H.Bottom="bottom",H.Left="left",H.Right="right"})(Xt||(Xt={}));var fl;(function(H){H.GrowingRight="lr",H.GrowingLeft="rl"})(fl||(fl={}));var dl=new Map([[Xt.Top,Xt.Bottom],[Xt.Bottom,Xt.Top],[Xt.Left,Xt.Right],[Xt.Right,Xt.Left]]),gb=function(H,u){u.region?(H.css("position","relative"),H.css("unicode-bidi","plaintext")):(H.css("position","absolute"),H.css("overflow-wrap","break-word"),H.css("overflow","hidden"),H.css("flex-flow","column")),H.css("display","inline-flex")},mb=function(H,u,n,i){var c=u.lineAlign;switch(c){case"center":bb(H,n,i);break;case"end":$b(H,n,i)}},Ep=function(H,u,n,i){var c=dl.get(n);if(u.line==="auto"&&u.vertical){H.css(c,"0");return}if(!(u.line==="auto"&&!u.vertical)){var m=parseFloat(u.line);if(u.snapToLines){var $=Number(u.line);$<0&&($=bp+$);var P=i.height/bp,t=P*$;m=100*t/i.height}u.lineAlign!=="end"&&H.css(c,"".concat(m,"%")),mb(H,u,n,m)}},yb=function(H,u,n){switch(u.vertical){case"":H.css("writing-mode","horizontal-tb"),H.css(Xt.Bottom,"0"),Ep(H,u,Xt.Bottom,n);break;case fl.GrowingRight:$p(H,Xt.Right,u,n);break;case fl.GrowingLeft:$p(H,Xt.Left,u,n);break}},$p=function(H,u,n,i){var c=u===Xt.Right?"vertical-lr":"vertical-rl";H.css("writing-mode",c),H.css(Xt.Top,"0"),Ep(H,n,u,i)},Tp=function(H,u,n){if(u.position==="auto")H.css(n,"0");else switch(u.positionAlign){case"line-left":H.css(n,"".concat(u.position,"%")),H.css(dl.get(n),"auto"),H.css("justify-content","flex-start");break;case"center":H.css(n,"".concat(u.position-u.size/2,"%")),H.css(dl.get(n),"auto"),H.css("justify-content","center");break;case"line-right":H.css(n,"auto"),H.css(dl.get(n),"".concat(100-u.position,"%")),H.css("justify-content","flex-end");break;default:H.css(n,"".concat(u.position,"%")),H.css("justify-content","flex-start")}},Sb=function(H){return H.split("<br />").length},bb=function(H,u,n){switch(u){case Xt.Bottom:H.css("transform","translateY(-50%)");break;case Xt.Left:H.css("transform","translateX(50%)");break;case Xt.Right:H.css("transform","translateX(-50%)");break}},$b=function(H,u,n){var i=u;H.css(i,"".concat(100-n,"%"))},Tb;(function(H){H.setVttCueBoxStyles=function(u,n){var i=u.vtt,c=u.getDomElement();gb(c,i),vb=Sb(u.getText()),yb(c,i,n);var m=i.align==="middle"?"center":i.align;c.css("text-align",m);var $=i.size;i.vertical===""?(c.css("width","".concat($,"%")),Tp(c,i,Xt.Left)):(c.css("height","".concat($,"%")),Tp(c,i,Xt.Top))},H.setVttRegionStyles=function(u,n,i){var c=u.getDomElement(),m=i.width*n.viewportAnchorX/100-i.width*n.width/100*n.regionAnchorX/100,$=i.height*n.viewportAnchorY/100-n.lines*Sp*n.regionAnchorY/100;c.css("position","absolute"),c.css("overflow","hidden"),c.css("width","".concat(n.width,"%")),c.css(Xt.Left,"".concat(m,"px")),c.css(Xt.Right,"unset"),c.css(Xt.Top,"".concat($,"px")),c.css(Xt.Bottom,"unset"),c.css("height","".concat(n.lines*Sp,"px"))}})(Tb=Ns.VttUtils||(Ns.VttUtils={}))});var Bs=nt(va=>{"use strict";var Eb=va&&va.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(va,"__esModule",{value:!0});va.Spacer=void 0;var Ab=Bn(),Pb=(function(H){Eb(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-spacer"},i.config),i}return u.prototype.onShowEvent=function(){},u.prototype.onHideEvent=function(){},u.prototype.onHoverChangedEvent=function(n){},u})(Ab.Component);va.Spacer=Pb});var Us=nt(dr=>{"use strict";var Ib=dr&&dr.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),af=dr&&dr.__assign||function(){return af=Object.assign||function(H){for(var u,n=1,i=arguments.length;n<i;n++){u=arguments[n];for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(H[c]=u[c])}return H},af.apply(this,arguments)};Object.defineProperty(dr,"__esModule",{value:!0});dr.ListSelector=void 0;var Cb=Bn(),rf=Dn(),xb=ur(),Mb=yt(),kb=(function(H){Ib(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.listSelectorEvents={onItemAdded:new rf.EventDispatcher,onItemRemoved:new rf.EventDispatcher,onItemSelected:new rf.EventDispatcher},i.config=i.mergeConfig(n,{items:[],cssClass:"ui-listselector"},i.config),i.items=i.config.items,i}return u.prototype.getItemIndex=function(n){for(var i=0;i<this.items.length;i++)if(this.items[i].key===n)return i;return-1},u.prototype.getItems=function(){return this.items},u.prototype.hasItem=function(n){return this.getItemIndex(n)>-1},u.prototype.addItem=function(n,i,c,m){c===void 0&&(c=!1),m===void 0&&(m="");var $=af({key:n,label:Mb.i18n.performLocalization(i)},m&&{ariaLabel:m});if(!(this.config.filter&&!this.config.filter($))){if(this.config.translator&&($.label=this.config.translator($)),this.removeItem(n),c){var P=this.items.findIndex(function(t){return t.key>n});P<0?this.items.push($):this.items.splice(P,0,$)}else this.items.push($);this.onItemAddedEvent(n)}},u.prototype.removeItem=function(n){var i=this.getItemIndex(n);return i>-1?(xb.ArrayUtils.remove(this.items,this.items[i]),this.onItemRemovedEvent(n),!0):!1},u.prototype.selectItem=function(n){if(n===this.selectedItem)return!0;var i=this.getItemIndex(n);return i>-1?(this.selectedItem=n,this.onItemSelectedEvent(n),!0):!1},u.prototype.getSelectedItem=function(){return this.selectedItem},u.prototype.getItemForKey=function(n){return this.items.find(function(i){return i.key===n})},u.prototype.synchronizeItems=function(n){var i=this;n.filter(function(c){return!i.hasItem(c.key)}).forEach(function(c){return i.addItem(c.key,c.label,c.sortedInsert,c.ariaLabel)}),this.items.filter(function(c){return n.filter(function(m){return m.key===c.key}).length===0}).forEach(function(c){return i.removeItem(c.key)})},u.prototype.clearItems=function(){var n=this.items;this.items=[],this.selectedItem=null;for(var i=0,c=n;i<c.length;i++){var m=c[i];this.onItemRemovedEvent(m.key)}},u.prototype.itemCount=function(){return Object.keys(this.items).length},u.prototype.onItemAddedEvent=function(n){this.listSelectorEvents.onItemAdded.dispatch(this,n)},u.prototype.onItemRemovedEvent=function(n){this.listSelectorEvents.onItemRemoved.dispatch(this,n)},u.prototype.onItemSelectedEvent=function(n){this.listSelectorEvents.onItemSelected.dispatch(this,n)},Object.defineProperty(u.prototype,"onItemAdded",{get:function(){return this.listSelectorEvents.onItemAdded.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onItemRemoved",{get:function(){return this.listSelectorEvents.onItemRemoved.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onItemSelected",{get:function(){return this.listSelectorEvents.onItemSelected.getEvent()},enumerable:!1,configurable:!0}),u})(Cb.Component);dr.ListSelector=kb});var Oi=nt(ga=>{"use strict";var wb=ga&&ga.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ga,"__esModule",{value:!0});ga.SelectBox=void 0;var Rb=Us(),Pp=yn(),Ip=yt(),Cp=oi(),xp=Bn(),Mp=["mousemove","mouseenter","mouseleave","touchstart","touchmove","touchend","pointermove","click","keydown","keypress","keyup","blur"],kp=["change","keyup","mouseup"],Ob=[["click",function(){return!0}],["keydown",function(H){return[" ","ArrowUp","ArrowDown"].includes(H.key)}],["mousedown",function(){return!0}]],Lb=100,Db=(function(H){wb(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.dropdownCloseListenerTimeoutId=0,i.removeDropdownCloseListeners=function(){},i.removeDropdownOpenedListeners=function(){},i.onChange=function(){var c=i.selectElement.val();i.onItemSelectedEvent(c,!1)},i.closeDropdown=function(){var c=i.getSelectElement();c!==void 0&&c.blur()},i.onPlayerStateChange=function(c,m){[Cp.PlayerUtils.PlayerState.Idle,Cp.PlayerUtils.PlayerState.Finished].includes(m)&&i.closeDropdown()},i.onDropdownOpened=function(){clearTimeout(i.dropdownCloseListenerTimeoutId),i.dropdownCloseListenerTimeoutId=window.setTimeout(function(){return i.addDropdownCloseListeners()},Lb),i.onViewModeChangedEvent(xp.ViewMode.Persistent)},i.onDropdownClosed=function(){clearTimeout(i.dropdownCloseListenerTimeoutId),i.removeDropdownCloseListeners(),i.onViewModeChangedEvent(xp.ViewMode.Temporary)},i.config=i.mergeConfig(n,{cssClass:"ui-selectbox"},i.config),i}return u.prototype.toDomElement=function(){return this.selectElement=new Pp.DOM("select",{id:this.config.id,class:this.getCssClasses(),"aria-label":Ip.i18n.performLocalization(this.config.ariaLabel)},this),this.onDisabled.subscribe(this.closeDropdown),this.onHide.subscribe(this.closeDropdown),this.addDropdownOpenedListeners(),this.updateDomItems(),this.selectElement.on("change",this.onChange),this.selectElement},u.prototype.configure=function(n,i){var c;H.prototype.configure.call(this,n,i),this.uiContainer=i.getUI(),(c=this.uiContainer)===null||c===void 0||c.onPlayerStateChange().subscribe(this.onPlayerStateChange)},u.prototype.getSelectElement=function(){var n,i;return(i=(n=this.selectElement)===null||n===void 0?void 0:n.get())===null||i===void 0?void 0:i[0]},u.prototype.updateDomItems=function(n){if(n===void 0&&(n=null),this.selectElement!==void 0){this.selectElement.empty();for(var i=0,c=this.items;i<c.length;i++){var m=c[i],$=new Pp.DOM("option",{value:String(m.key)}).html(Ip.i18n.performLocalization(m.label));m.key===String(n)&&$.attr("selected","selected"),this.selectElement.append($)}}},u.prototype.onItemAddedEvent=function(n){H.prototype.onItemAddedEvent.call(this,n),this.updateDomItems(this.selectedItem)},u.prototype.onItemRemovedEvent=function(n){H.prototype.onItemRemovedEvent.call(this,n),this.updateDomItems(this.selectedItem)},u.prototype.onItemSelectedEvent=function(n,i){i===void 0&&(i=!0),H.prototype.onItemSelectedEvent.call(this,n),i&&this.updateDomItems(n)},u.prototype.addDropdownCloseListeners=function(){var n=this;this.removeDropdownCloseListeners(),clearTimeout(this.dropdownCloseListenerTimeoutId),Mp.forEach(function(i){return document.addEventListener(i,n.onDropdownClosed,!0)}),kp.forEach(function(i){return n.selectElement.on(i,n.onDropdownClosed,!0)}),this.removeDropdownCloseListeners=function(){Mp.forEach(function(i){return document.removeEventListener(i,n.onDropdownClosed,!0)}),kp.forEach(function(i){return n.selectElement.off(i,n.onDropdownClosed,!0)})}},u.prototype.addDropdownOpenedListeners=function(){var n=this,i=[];this.removeDropdownOpenedListeners();for(var c=function(r,o){var l=function(d){o(d)&&n.onDropdownOpened()};i.push(function(){return n.selectElement.off(r,l,!0)}),m.selectElement.on(r,l,!0)},m=this,$=0,P=Ob;$<P.length;$++){var t=P[$],_=t[0],a=t[1];c(_,a)}this.removeDropdownOpenedListeners=function(){for(var r=0,o=i;r<o.length;r++){var l=o[r];l()}}},u.prototype.release=function(){H.prototype.release.call(this),this.removeDropdownCloseListeners(),this.removeDropdownOpenedListeners(),clearTimeout(this.dropdownCloseListenerTimeoutId)},u})(Rb.ListSelector);ga.SelectBox=Db});var li=nt(ma=>{"use strict";var Nb=ma&&ma.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ma,"__esModule",{value:!0});ma.Label=void 0;var Bb=Bn(),Ub=yn(),wp=Dn(),of=yt(),Fb=(function(H){Nb(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.labelEvents={onClick:new wp.EventDispatcher,onTextChanged:new wp.EventDispatcher},i.config=i.mergeConfig(n,{cssClass:"ui-label"},i.config),i.text=i.config.text,i}return u.prototype.toDomElement=function(){var n=this,i=this.config.for!=null?"label":"span",c=new Ub.DOM(i,{id:this.config.id,for:this.config.for,class:this.getCssClasses()},this).html(of.i18n.performLocalization(this.text));return c.on("click",function(){n.onClickEvent()}),c},u.prototype.setText=function(n){if(n!==this.text){this.text=n;var i=of.i18n.performLocalization(n);this.getDomElement().html(i),this.onTextChangedEvent(i)}},u.prototype.getText=function(){return of.i18n.performLocalization(this.text)},u.prototype.clearText=function(){this.getDomElement().html(""),this.onTextChangedEvent(null)},u.prototype.isEmpty=function(){return!this.text},u.prototype.onClickEvent=function(){this.labelEvents.onClick.dispatch(this)},u.prototype.onTextChangedEvent=function(n){this.labelEvents.onTextChanged.dispatch(this,n)},Object.defineProperty(u.prototype,"onClick",{get:function(){return this.labelEvents.onClick.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onTextChanged",{get:function(){return this.labelEvents.onTextChanged.getEvent()},enumerable:!1,configurable:!0}),u})(Bb.Component);ma.Label=Fb});var ci=nt(ya=>{"use strict";var Hb=ya&&ya.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ya,"__esModule",{value:!0});ya.ToggleButton=void 0;var jb=si(),sf=Dn(),Vb=(function(H){Hb(u,H);function u(n){var i=H.call(this,n)||this;i.toggleButtonEvents={onToggle:new sf.EventDispatcher,onToggleOn:new sf.EventDispatcher,onToggleOff:new sf.EventDispatcher};var c={cssClass:"ui-togglebutton",onClass:"on",offClass:"off"};return n.onAriaLabel&&(n.ariaLabel=n.onAriaLabel),i.config=i.mergeConfig(n,c,i.config),i.useAriaPressedAttributeAsToggleIndicator=!i.config.onAriaLabel||!i.config.offAriaLabel,i}return u.prototype.configure=function(n,i){H.prototype.configure.call(this,n,i);var c=this.getConfig();this.getDomElement().addClass(this.prefixCss(c.offClass)),this.useAriaPressedAttributeAsToggleIndicator=!this.config.onAriaLabel||!this.config.offAriaLabel,this.useAriaPressedAttributeAsToggleIndicator?this.setAriaAttr("pressed","false"):this.setAriaLabel(this.config.offAriaLabel)},u.prototype.on=function(){if(this.isOff()){var n=this.getConfig();this.onState=!0,this.getDomElement().removeClass(this.prefixCss(n.offClass)),this.getDomElement().addClass(this.prefixCss(n.onClass)),this.onToggleEvent(),this.onToggleOnEvent(),this.useAriaPressedAttributeAsToggleIndicator?this.setAriaAttr("pressed","true"):this.setAriaLabel(this.config.onAriaLabel)}},u.prototype.off=function(){if(this.isOn()){var n=this.getConfig();this.onState=!1,this.getDomElement().removeClass(this.prefixCss(n.onClass)),this.getDomElement().addClass(this.prefixCss(n.offClass)),this.onToggleEvent(),this.onToggleOffEvent(),this.useAriaPressedAttributeAsToggleIndicator?this.setAriaAttr("pressed","false"):this.setAriaLabel(this.config.offAriaLabel)}},u.prototype.toggle=function(){this.isOn()?this.off():this.on()},u.prototype.isOn=function(){return this.onState},u.prototype.isOff=function(){return!this.isOn()},u.prototype.onClickEvent=function(){H.prototype.onClickEvent.call(this),this.onToggleEvent()},u.prototype.onToggleEvent=function(){this.toggleButtonEvents.onToggle.dispatch(this)},u.prototype.onToggleOnEvent=function(){this.toggleButtonEvents.onToggleOn.dispatch(this)},u.prototype.onToggleOffEvent=function(){this.toggleButtonEvents.onToggleOff.dispatch(this)},Object.defineProperty(u.prototype,"onToggle",{get:function(){return this.toggleButtonEvents.onToggle.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onToggleOn",{get:function(){return this.toggleButtonEvents.onToggleOn.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onToggleOff",{get:function(){return this.toggleButtonEvents.onToggleOff.getEvent()},enumerable:!1,configurable:!0}),u})(jb.Button);ya.ToggleButton=Vb});var ba=nt(Sa=>{"use strict";var Rp=Sa&&Sa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Sa,"__esModule",{value:!0});Sa.ListBox=void 0;var Gb=ci(),Wb=Us(),qb=yn(),Kb=ur(),zb=(function(H){Rp(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.components=[],i.removeListBoxDomItem=function(c,m){var $=i.getComponentForKey(m);$&&($.getDomElement().remove(),Kb.ArrayUtils.remove(i.components,$))},i.addListBoxDomItem=function(c,m){var $=i.getComponentForKey(m),P=i.getItemForKey(m);if($)$.setText(P.label);else{var t=i.buildListBoxItemButton(P);t.onClick.subscribe(function(){i.handleSelectionChange(t)}),i.components.push(t),i.listBoxElement.append(t.getDomElement())}},i.refreshSelectedItem=function(){for(var c=0,m=i.items;c<m.length;c++){var $=m[c],P=i.getComponentForKey($.key);P&&(String(P.key)===String(i.selectedItem)?P.on():P.off())}},i.handleSelectionChange=function(c){i.onItemSelectedEvent(c.key)},i.config=i.mergeConfig(n,{cssClass:"ui-listbox"},i.config),i}return u.prototype.configure=function(n,i){this.onItemAdded.subscribe(this.addListBoxDomItem),this.onItemRemoved.subscribe(this.removeListBoxDomItem),this.onItemSelected.subscribe(this.refreshSelectedItem),H.prototype.configure.call(this,n,i)},u.prototype.toDomElement=function(){var n=new qb.DOM("div",{id:this.config.id,class:this.getCssClasses()},this);return this.listBoxElement=n,this.createListBoxDomItems(),this.refreshSelectedItem(),n},u.prototype.createListBoxDomItems=function(){this.listBoxElement.empty(),this.components=[];for(var n=0,i=this.items;n<i.length;n++){var c=i[n];this.addListBoxDomItem(this,c.key)}},u.prototype.buildListBoxItemButton=function(n){return new Yb({key:n.key,text:n.label,ariaLabel:n.ariaLabel})},u.prototype.getComponentForKey=function(n){return this.components.find(function(i){return n===i.key})},u})(Wb.ListSelector);Sa.ListBox=zb;var Yb=(function(H){Rp(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-listbox-button",onClass:"selected",offClass:""},i.config),i}return Object.defineProperty(u.prototype,"key",{get:function(){return this.config.key},enumerable:!1,configurable:!0}),u})(Gb.ToggleButton)});var Fs=nt($a=>{"use strict";var Xb=$a&&$a.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty($a,"__esModule",{value:!0});$a.VideoQualitySelectBox=void 0;var Qb=Oi(),Jb=yt(),Zb=(function(H){Xb(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-videoqualityselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=function(){c.selectItem(n.getVideoQuality().id)},$=function(){var P=n.getAvailableVideoQualities();c.clearItems(),c.hasAuto=n.getStreamType()!=="progressive",c.hasAuto&&c.addItem("auto",Jb.i18n.getLocalizer("auto"));for(var t=0,_=P;t<_.length;t++){var a=_[t];c.addItem(a.id,a.label)}m()};this.onItemSelected.subscribe(function(P,t){n.setVideoQuality(t)}),n.on(n.exports.PlayerEvent.SourceUnloaded,$),n.on(n.exports.PlayerEvent.PeriodSwitched,$),n.on(n.exports.PlayerEvent.VideoQualityChanged,m),n.exports.PlayerEvent.VideoQualityAdded&&(n.on(n.exports.PlayerEvent.VideoQualityAdded,$),n.on(n.exports.PlayerEvent.VideoQualityRemoved,$)),i.getConfig().events.onUpdated.subscribe($)},u.prototype.hasAutoItem=function(){return this.hasAuto},u})(Qb.SelectBox);$a.VideoQualitySelectBox=Zb});var Hs=nt(Ta=>{"use strict";var e6=Ta&&Ta.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ta,"__esModule",{value:!0});Ta.AudioQualitySelectBox=void 0;var t6=Oi(),n6=yt(),i6=(function(H){e6(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-audioqualityselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=function(){c.selectItem(n.getAudioQuality().id)},$=function(){var P=n.getAvailableAudioQualities();c.clearItems(),c.addItem("auto",n6.i18n.getLocalizer("auto"));for(var t=0,_=P;t<_.length;t++){var a=_[t];c.addItem(a.id,a.label)}m()};this.onItemSelected.subscribe(function(P,t){n.setAudioQuality(t)}),n.on(n.exports.PlayerEvent.AudioChanged,$),n.on(n.exports.PlayerEvent.SourceUnloaded,$),n.on(n.exports.PlayerEvent.PeriodSwitched,$),n.on(n.exports.PlayerEvent.AudioQualityChanged,m),n.exports.PlayerEvent.AudioQualityAdded&&(n.on(n.exports.PlayerEvent.AudioQualityAdded,$),n.on(n.exports.PlayerEvent.AudioQualityRemoved,$)),i.getConfig().events.onUpdated.subscribe($)},u})(t6.SelectBox);Ta.AudioQualitySelectBox=i6});var js=nt(Ea=>{"use strict";var r6=Ea&&Ea.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ea,"__esModule",{value:!0});Ea.PlaybackSpeedSelectBox=void 0;var a6=Oi(),o6=yt(),s6=(function(H){r6(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.defaultPlaybackSpeeds=[.25,.5,1,1.5,2],i.config=i.mergeConfig(n,{cssClasses:["ui-playbackspeedselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addDefaultItems(),this.onItemSelected.subscribe(function($,P){n.setPlaybackSpeed(parseFloat(P)),c.selectItem(P)});var m=function(){var $=n.getPlaybackSpeed();c.setSpeed($)};n.on(n.exports.PlayerEvent.PlaybackSpeedChanged,m),i.getConfig().events.onUpdated.subscribe(m)},u.prototype.setSpeed=function(n){this.selectItem(String(n))||(this.clearItems(),this.addDefaultItems([n]),this.selectItem(String(n)))},u.prototype.addDefaultItems=function(n){var i=this;n===void 0&&(n=[]);var c=this.defaultPlaybackSpeeds.concat(n).sort();c.forEach(function(m){m!==1?i.addItem(String(m),"".concat(m,"x")):i.addItem(String(m),o6.i18n.getLocalizer("normal"))})},u.prototype.clearItems=function(){this.items=[],this.selectedItem=null},u})(a6.SelectBox);Ea.PlaybackSpeedSelectBox=s6});var Or=nt(Aa=>{"use strict";var u6=Aa&&Aa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Aa,"__esModule",{value:!0});Aa.SettingsPanelItem=void 0;var l6=Zt(),c6=Bn(),d6=Dn(),f6=li(),Op=Oi(),Lp=ba(),h6=Fs(),_6=Hs(),p6=js(),v6=(function(H){u6(u,H);function u(n,i,c){c===void 0&&(c={});var m=H.call(this,c)||this;return m.settingsPanelItemEvents={onActiveChanged:new d6.EventDispatcher},m.setting=i,m.config=m.mergeConfig(c,{cssClass:"ui-settings-panel-item",role:"menuitem"},m.config),n!==null&&(n instanceof c6.Component?m.label=n:m.label=new f6.Label({text:n,for:m.setting.getConfig().id}),m.addComponent(m.label)),m.addComponent(m.setting),m}return u.prototype.configure=function(n,i){var c=this;if(this.setting instanceof Op.SelectBox||this.setting instanceof Lp.ListBox){var m=function(){if(!(!(c.setting instanceof Op.SelectBox)&&!(c.setting instanceof Lp.ListBox))){var $=2;(c.setting instanceof h6.VideoQualitySelectBox&&c.setting.hasAutoItem()||c.setting instanceof _6.AudioQualitySelectBox)&&($=3),c.setting.itemCount()<$||c.setting instanceof p6.PlaybackSpeedSelectBox&&!i.getConfig().playbackSpeedSelectionEnabled?c.hide():c.show(),c.onActiveChangedEvent(),c.getDomElement().attr("aria-haspopup","true")}};this.setting.onItemAdded.subscribe(m),this.setting.onItemRemoved.subscribe(m),m()}},u.prototype.isActive=function(){return this.isShown()},u.prototype.onActiveChangedEvent=function(){this.settingsPanelItemEvents.onActiveChanged.dispatch(this)},Object.defineProperty(u.prototype,"onActiveChanged",{get:function(){return this.settingsPanelItemEvents.onActiveChanged.getEvent()},enumerable:!1,configurable:!0}),u})(l6.Container);Aa.SettingsPanelItem=v6});var Ia=nt(Pa=>{"use strict";var g6=Pa&&Pa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Pa,"__esModule",{value:!0});Pa.SettingsPanelPage=void 0;var m6=Zt(),y6=Or(),uf=Dn(),lf=lr(),XC=Pa.SettingsPanelPage=(function(H){g6(u,H);function u(n){var i=H.call(this,n)||this;return i.settingsPanelPageEvents={onSettingsStateChanged:new uf.EventDispatcher,onActive:new uf.EventDispatcher,onInactive:new uf.EventDispatcher},i.config=i.mergeConfig(n,{cssClass:"ui-settings-panel-page",role:"menu"},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);for(var m=function(){c.onSettingsStateChangedEvent();for(var _=null,a=0,r=c.getItems();a<r.length;a++){var o=r[a];o.getDomElement().removeClass(c.prefixCss(u.CLASS_LAST)),o.isShown()&&(_=o)}_&&_.getDomElement().addClass(c.prefixCss(u.CLASS_LAST))},$=0,P=this.getItems();$<P.length;$++){var t=P[$];t.onActiveChanged.subscribe(m)}},u.prototype.hasActiveSettings=function(){for(var n=0,i=this.getItems();n<i.length;n++){var c=i[n];if(c.isActive())return!0}return!1},u.prototype.getItems=function(){return this.config.components.filter(function(n){return n instanceof y6.SettingsPanelItem})},u.prototype.onSettingsStateChangedEvent=function(){this.settingsPanelPageEvents.onSettingsStateChanged.dispatch(this)},Object.defineProperty(u.prototype,"onSettingsStateChanged",{get:function(){return this.settingsPanelPageEvents.onSettingsStateChanged.getEvent()},enumerable:!1,configurable:!0}),u.prototype.onActiveEvent=function(){var n=this.getItems().filter(function(i){return i.isActive()});this.settingsPanelPageEvents.onActive.dispatch(this),n.length>0&&!lf.BrowserUtils.isIOS&&!(lf.BrowserUtils.isMacIntel&&lf.BrowserUtils.isTouchSupported)&&n[0].getDomElement().focusToFirstInput()},Object.defineProperty(u.prototype,"onActive",{get:function(){return this.settingsPanelPageEvents.onActive.getEvent()},enumerable:!1,configurable:!0}),u.prototype.onInactiveEvent=function(){this.settingsPanelPageEvents.onInactive.dispatch(this)},Object.defineProperty(u.prototype,"onInactive",{get:function(){return this.settingsPanelPageEvents.onInactive.getEvent()},enumerable:!1,configurable:!0}),u.CLASS_LAST="last",u})(m6.Container)});var Lr=nt(Ca=>{"use strict";var S6=Ca&&Ca.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ca,"__esModule",{value:!0});Ca.SettingsPanel=void 0;var b6=Zt(),$6=Oi(),T6=Wi(),E6=Dn(),Dp=Ia(),Vs;(function(H){H[H.Forwards=0]="Forwards",H[H.Backwards=1]="Backwards"})(Vs||(Vs={}));var JC=Ca.SettingsPanel=(function(H){S6(u,H);function u(n){var i=H.call(this,n)||this;return i.navigationStack=[],i.settingsPanelEvents={onSettingsStateChanged:new E6.EventDispatcher},i.config=i.mergeConfig(n,{cssClass:"ui-settings-panel",hideDelay:3e3,pageTransitionAnimation:!0},i.config),i.activePage=i.getRootPage(),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig();i.onControlsHide.subscribe(function(){return c.hideHoveredSelectBoxes()}),i.onComponentViewModeChanged.subscribe(function($,P){var t=P.mode;return c.trackComponentViewMode(t)}),m.hideDelay>-1&&(this.hideTimeout=new T6.Timeout(m.hideDelay,function(){c.hide(),c.hideHoveredSelectBoxes()}),this.getDomElement().on("mouseenter",function(){c.hideTimeout.clear()}),this.getDomElement().on("mouseleave",function(){c.hideTimeout.reset()}),this.getDomElement().on("focusin",function(){c.hideTimeout.clear()}),this.getDomElement().on("focusout",function(){c.hideTimeout.reset()})),this.onHide.subscribe(function(){m.hideDelay>-1&&c.hideTimeout.clear(),c.activePage.onInactiveEvent()}),this.onShow.subscribe(function(){c.resetNavigation(!0),c.activePage.onActiveEvent(),m.hideDelay>-1&&c.hideTimeout.start()}),this.getRootPage().onSettingsStateChanged.subscribe(function(){c.onSettingsStateChangedEvent()}),this.updateActivePageClass()},u.prototype.getActivePage=function(){return this.activePage},u.prototype.setActivePageIndex=function(n){this.setActivePage(this.getPages()[n])},u.prototype.setActivePage=function(n){if(n===this.getActivePage()){console.warn("Page is already the current one ... skipping navigation");return}this.navigateToPage(n,this.getActivePage(),Vs.Forwards,!this.config.pageTransitionAnimation)},u.prototype.popToRootSettingsPanelPage=function(){this.resetNavigation(this.config.pageTransitionAnimation)},u.prototype.popSettingsPanelPage=function(){if(this.navigationStack.length===0){console.warn("Already on the root page ... skipping navigation");return}var n=this.navigationStack[this.navigationStack.length-2];n||(n=this.getRootPage()),this.navigateToPage(n,this.activePage,Vs.Backwards,!this.config.pageTransitionAnimation)},u.prototype.rootPageHasActiveSettings=function(){return this.getRootPage().hasActiveSettings()},u.prototype.getPages=function(){return this.config.components.filter(function(n){return n instanceof Dp.SettingsPanelPage})},Object.defineProperty(u.prototype,"onSettingsStateChanged",{get:function(){return this.settingsPanelEvents.onSettingsStateChanged.getEvent()},enumerable:!1,configurable:!0}),u.prototype.release=function(){H.prototype.release.call(this),this.hideTimeout&&this.hideTimeout.clear()},u.prototype.addComponent=function(n){this.getPages().length===0&&n instanceof Dp.SettingsPanelPage&&(this.activePage=n),H.prototype.addComponent.call(this,n)},u.prototype.suspendHideTimeout=function(){this.hideTimeout.suspend()},u.prototype.resumeHideTimeout=function(){this.hideTimeout.resume(!0)},u.prototype.updateActivePageClass=function(){var n=this;this.getPages().forEach(function(i){i===n.activePage?i.getDomElement().addClass(n.prefixCss(u.CLASS_ACTIVE_PAGE)):i.getDomElement().removeClass(n.prefixCss(u.CLASS_ACTIVE_PAGE))})},u.prototype.resetNavigation=function(n){var i=this.getActivePage(),c=this.getRootPage();i&&(n||i.onInactiveEvent()),this.navigationStack=[],this.animateNavigation(c,i,n),this.activePage=c,this.updateActivePageClass()},u.prototype.navigateToPage=function(n,i,c,m){this.activePage=n,c===Vs.Forwards?this.navigationStack.push(n):this.navigationStack.pop(),this.animateNavigation(n,i,m),this.updateActivePageClass(),n.onActiveEvent(),i.onInactiveEvent()},u.prototype.animateNavigation=function(n,i,c){if(this.config.pageTransitionAnimation){var m=this.getDomElement(),$=this.getDomElement().get(0),P=$.scrollWidth,t=$.scrollHeight;i.getDomElement().css("display","none"),this.getDomElement().css({width:"",height:""});var _=n.getDomElement().get(0),a=_.cloneNode(!0),r=_.parentNode;r.appendChild(a),a.style.display="block";var o=$.scrollWidth,l=$.scrollHeight;a.parentElement.removeChild(a),i.getDomElement().css("display",""),m.css({width:P+"px",height:t+"px"}),c||this.forceBrowserReflow(),m.css({width:o+"px",height:l+"px"})}},u.prototype.forceBrowserReflow=function(){this.getDomElement().get(0).offsetLeft},u.prototype.hideHoveredSelectBoxes=function(){this.getComputedItems().map(function(n){return n.setting}).filter(function(n){return n instanceof $6.SelectBox}).forEach(function(n){return n.closeDropdown()})},u.prototype.getComputedItems=function(){for(var n=[],i=0,c=this.getPages();i<c.length;i++){var m=c[i];n.push.apply(n,m.getItems())}return n},u.prototype.getRootPage=function(){return this.getPages()[0]},u.prototype.onSettingsStateChangedEvent=function(){this.settingsPanelEvents.onSettingsStateChanged.dispatch(this)},u.CLASS_ACTIVE_PAGE="active",u})(b6.Container)});var Gs=nt(xa=>{"use strict";var A6=xa&&xa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(xa,"__esModule",{value:!0});xa.ControlBar=void 0;var Np=Zt(),P6=Ls(),I6=Bs(),C6=yt(),Bp=lr(),Up=Lr(),x6=(function(H){A6(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-controlbar",hidden:!0,role:"region",ariaLabel:C6.i18n.getLocalizer("controlBar")},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=0,$=!1;i.getConfig().disableAutoHideWhenHovered&&!Bp.BrowserUtils.isTouchSupported&&P6.UIUtils.traverseTree(this,function(P){P instanceof Np.Container||P instanceof I6.Spacer||P.onHoverChanged.subscribe(function(t,_){_.hovered?m++:m--})}),Bp.BrowserUtils.isMobile&&(i.onComponentShow.subscribe(function(P){P instanceof Up.SettingsPanel&&($=!0)}),i.onComponentHide.subscribe(function(P){P instanceof Up.SettingsPanel&&($=!1)})),i.onControlsShow.subscribe(function(){c.show()}),i.onPreviewControlsHide.subscribe(function(P,t){t.cancel=t.cancel||m>0||$}),i.onControlsHide.subscribe(function(){c.hide()})},u})(Np.Container);xa.ControlBar=x6});var hl=nt(di=>{"use strict";var cf=di&&di.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(di,"__esModule",{value:!0});di.SubtitleRegionContainer=di.SubtitleRegionContainerManager=di.SubtitleLabel=di.SubtitleOverlay=void 0;var M6=yn(),k6=Dn(),w6=yt(),Fp=Ap(),Wp=Zt(),Hp=Gs(),R6=li(),tx=di.SubtitleOverlay=(function(H){cf(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.preprocessLabelEventCallback=new k6.EventDispatcher,i.cea608Enabled=!1,i.cea608FontSizeFactor=1,i.filterFontSizeOptions=function(c){if(i.cea608Enabled&&c.key!==null){var m=parseInt(c.key,10);return!isNaN(m)&&m<=200}return!0},i.previewSubtitleActive=!1,i.previewSubtitle=new Ws({text:w6.i18n.getLocalizer("subtitle.example")}),i.config=i.mergeConfig(n,{cssClass:"ui-subtitle-overlay"},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=new jp;this.subtitleManager=m,this.subtitleContainerManager=new qp(this),n.on(n.exports.PlayerEvent.CueEnter,function(t){var _=c.generateLabel(t);m.cueEnter(t,_),c.preprocessLabelEventCallback.dispatch(t,_),c.previewSubtitleActive&&c.subtitleContainerManager.removeLabel(c.previewSubtitle),c.show(),c.subtitleContainerManager.addLabel(_,c.getDomElement().size()),c.updateComponents(),i.getConfig().forceSubtitlesIntoViewContainer&&c.handleSubtitleCropping(_)}),n.on(n.exports.PlayerEvent.CueUpdate,function(t){var _=c.generateLabel(t),a=m.cueUpdate(t,_);c.preprocessLabelEventCallback.dispatch(t,_),a&&c.subtitleContainerManager.replaceLabel(a,_),i.getConfig().forceSubtitlesIntoViewContainer&&c.handleSubtitleCropping(_)}),n.on(n.exports.PlayerEvent.CueExit,function(t){var _=m.cueExit(t);_&&(c.subtitleContainerManager.removeLabel(_),c.updateComponents()),m.hasCues||(c.previewSubtitleActive?(c.subtitleContainerManager.addLabel(c.previewSubtitle),c.updateComponents()):c.hide())});var $=function(){c.hide(),c.subtitleContainerManager.clear(),m.clear(),c.removeComponents(),c.updateComponents()},P=function(){var t=m.clearInactiveCues(n.getCurrentTime());t.forEach(function(_){c.subtitleContainerManager.removeLabel(_.label)}),c.updateComponents()};n.on(n.exports.PlayerEvent.AudioChanged,$),n.on(n.exports.PlayerEvent.SubtitleDisabled,$),n.on(n.exports.PlayerEvent.Seeked,P),n.on(n.exports.PlayerEvent.TimeShifted,P),n.on(n.exports.PlayerEvent.PlaybackFinished,$),n.on(n.exports.PlayerEvent.SourceUnloaded,$),i.onComponentShow.subscribe(function(t){t instanceof Hp.ControlBar&&(c.getDomElement().addClass(c.prefixCss(u.CLASS_CONTROLBAR_VISIBLE)),c.cea608Enabled&&c.ensureCea608GridSizeUpdated&&Gp(c.getDomElement()).then(c.ensureCea608GridSizeUpdated))}),i.onComponentHide.subscribe(function(t){t instanceof Hp.ControlBar&&(c.getDomElement().removeClass(c.prefixCss(u.CLASS_CONTROLBAR_VISIBLE)),c.cea608Enabled&&c.ensureCea608GridSizeUpdated&&Gp(c.getDomElement()).then(c.ensureCea608GridSizeUpdated))}),this.configureCea608Captions(n,i),$()},u.prototype.setFontSizeFactor=function(n){this.cea608FontSizeFactor=Math.max(.5,Math.min(2,n))},u.prototype.detectCroppedSubtitleLabel=function(n){var i=this.getDomElement().get(0),c=n.getBoundingClientRect(),m=i.getBoundingClientRect();return{top:c.top<m.top,right:c.right>m.right,bottom:c.bottom>m.bottom,left:c.left<m.left}},u.prototype.handleSubtitleCropping=function(n){var i=n.getDomElement(),c=this.detectCroppedSubtitleLabel(i.get(0));c.top&&(i.css("top","0"),i.removeCss("bottom")),c.right&&(i.css("right","0"),i.removeCss("left")),c.bottom&&(i.css("bottom","0"),i.removeCss("top")),c.left&&(i.css("left","0"),i.removeCss("right"))},u.prototype.generateLabel=function(n){var i,c=n.region,m=((i=n.position)===null||i===void 0?void 0:i.row)||0;Vp(n)&&(n.position.row=n.position.row||0,n.position.column=n.position.column||0,c=c||"cea608-row-".concat(n.position.row));var $=new Ws({text:n.html||jp.generateImageTagText(n.image)||n.text,vtt:n.vtt,region:c,regionStyle:n.regionStyle,originalRowPosition:m});return $},u.prototype.resolveFontSizeFactor=function(n){return parseInt(n)/100},u.prototype.configureCea608Captions=function(n,i){var c=this,m,$=0,P=0,t=.75,_=0,a=.2,r;this.cea608Enabled=!1;var o={overlayWidth:0,overlayHeight:0,fontSizeFactor:0},l=i.getSubtitleSettingsManager();if(l.fontSize.value!=null){var d=this.resolveFontSizeFactor(l.fontSize.value);this.setFontSizeFactor(d)}l.fontSize.onChanged.subscribe(function(f,p){if(p.isSet()){var A=c.resolveFontSizeFactor(p.value);c.setFontSizeFactor(A)}else c.setFontSizeFactor(1);c.cea608Enabled&&c.ensureCea608GridSizeUpdated()}),(m=this.onShow)===null||m===void 0||m.subscribe(function(){c.cea608Enabled&&c.ensureCea608GridSizeUpdated()}),this.ensureCea608GridSizeUpdated=function(){var f=c.getDomElement(),p=f.width(),A=f.height(),x=p!==o.overlayWidth||A!==o.overlayHeight,I=c.cea608FontSizeFactor!==o.fontSizeFactor;if(!(!x&&!I)){o={overlayWidth:p,overlayHeight:A,fontSizeFactor:c.cea608FontSizeFactor};var T=new Ws({text:"X"});T.getDomElement().css({"font-size":"200px","line-height":"200px",visibility:"hidden"}),c.addComponent(T),c.updateComponents(),c.show();var y=T.getDomElement().width(),E=T.getDomElement().height(),S=y/E;c.removeComponent(T),c.updateComponents(),c.subtitleManager.hasCues||c.hide();var b=1-parseFloat(u.DEFAULT_CAPTION_LEFT_OFFSET)/100,C=Math.floor(b*p)-10,O=A,k=y*u.CEA608_NUM_COLUMNS/(E*u.CEA608_NUM_ROWS),R=C/O;if(R>k){$=O/u.CEA608_NUM_ROWS;var D=$*(1-a)*t;P=D*c.cea608FontSizeFactor;var V=C/u.CEA608_NUM_COLUMNS,q=P*S;_=Math.max(V-q,0)}else{$=C/u.CEA608_NUM_COLUMNS/S;var D=$*(1-a)*t;P=D*c.cea608FontSizeFactor,_=0}r=$*a,f.get().forEach(function(F){F.style.setProperty("--cea608-row-height","".concat($,"px"))});for(var K=function(F){F.getDomElement().css({"font-size":"".concat(P,"px"),"line-height":"".concat($-r,"px"),"letter-spacing":"".concat(_,"px")}),F.regionStyle="margin: ".concat(r/2,"px; height: ").concat($,"px")},G=0,U=c.getComponents();G<U.length;G++){var L=U[G];L instanceof df&&(L.getDomElement().css({margin:"".concat(r/2,"px"),height:"".concat($,"px")}),L.getComponents().forEach(function(F){K(F)})),L instanceof Ws&&K(L)}}},n.on(n.exports.PlayerEvent.PlayerResized,function(){c.cea608Enabled&&c.ensureCea608GridSizeUpdated()}),this.preprocessLabelEventCallback.subscribe(function(f,p){if(Vp(f)){c.cea608Enabled||(c.cea608Enabled=!0,c.getDomElement().addClass(c.prefixCss(u.CLASS_CEA_608)));var A=f.position.column*u.CEA608_COLUMN_OFFSET+"%";A==="0%"&&(A=u.DEFAULT_CAPTION_LEFT_OFFSET),p.getDomElement().css({left:A,"font-size":"".concat(P,"px"),"letter-spacing":"".concat(_,"px"),"line-height":"".concat($-r,"px")}),p.regionStyle="margin: ".concat(r/2,"px; height: ").concat($,"px")}});var h=function(){c.getDomElement().removeClass(c.prefixCss(u.CLASS_CEA_608)),c.cea608Enabled=!1};n.on(n.exports.PlayerEvent.CueExit,function(){c.subtitleManager.hasCues||h()}),n.on(n.exports.PlayerEvent.SourceUnloaded,h),n.on(n.exports.PlayerEvent.SubtitleEnable,h),n.on(n.exports.PlayerEvent.SubtitleDisabled,h)},u.prototype.enablePreviewSubtitleLabel=function(){this.subtitleManager.hasCues||(this.previewSubtitleActive=!0,this.subtitleContainerManager.addLabel(this.previewSubtitle),this.updateComponents(),this.show())},u.prototype.removePreviewSubtitleLabel=function(){this.previewSubtitleActive&&(this.previewSubtitleActive=!1,this.subtitleContainerManager.removeLabel(this.previewSubtitle),this.updateComponents())},u.CLASS_CONTROLBAR_VISIBLE="controlbar-visible",u.CLASS_CEA_608="cea608",u.CEA608_NUM_ROWS=15,u.CEA608_NUM_COLUMNS=32,u.CEA608_COLUMN_OFFSET=100/u.CEA608_NUM_COLUMNS,u.DEFAULT_CAPTION_LEFT_OFFSET="0.5%",u})(Wp.Container),Ws=(function(H){cf(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-subtitle-label"},i.config),i}return Object.defineProperty(u.prototype,"vtt",{get:function(){return this.config.vtt},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"region",{get:function(){return this.config.region},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"regionStyle",{get:function(){return this.config.regionStyle},set:function(n){this.config.regionStyle=n},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"originalRowPosition",{get:function(){return this.config.originalRowPosition},set:function(n){this.config.originalRowPosition=n},enumerable:!1,configurable:!0}),u})(R6.Label);di.SubtitleLabel=Ws;var jp=(function(){function H(){this.activeSubtitleCueMap={},this.activeSubtitleCueCount=0}return H.calculateId=function(u){var n=u.start+"-"+u.text;return u.position&&(n+="-"+u.position.row+"-"+u.position.column),n},H.prototype.cueEnter=function(u,n){this.addCueToMap(u,n)},H.prototype.cueUpdate=function(u,n){var i=this.popCueFromMap(u);if(i)return this.addCueToMap(u,n),i},H.prototype.addCueToMap=function(u,n){var i=H.calculateId(u);this.activeSubtitleCueMap[i]=this.activeSubtitleCueMap[i]||[],this.activeSubtitleCueMap[i].push({event:u,label:n}),this.activeSubtitleCueCount++},H.prototype.popCueFromMap=function(u){var n=H.calculateId(u),i=this.activeSubtitleCueMap[n];if(i&&i.length>0){var c=i.shift();return this.activeSubtitleCueCount--,c.label}},H.prototype.clearInactiveCues=function(u){var n=this,i=[];return Object.keys(this.activeSubtitleCueMap).forEach(function(c){var m=n.activeSubtitleCueMap[c];m.forEach(function($){(u<$.event.start||u>$.event.end)&&(n.popCueFromMap($.event),i.push($))})}),i},H.generateImageTagText=function(u){if(u){var n=new M6.DOM("img",{src:u});return n.css("width","100%"),n.get(0).outerHTML}},H.prototype.getCues=function(u){var n=H.calculateId(u),i=this.activeSubtitleCueMap[n];if(i&&i.length>0)return i.map(function(c){return c.label})},H.prototype.cueExit=function(u){return this.popCueFromMap(u)},Object.defineProperty(H.prototype,"cueCount",{get:function(){return this.activeSubtitleCueCount},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"hasCues",{get:function(){return this.cueCount>0},enumerable:!1,configurable:!0}),H.prototype.clear=function(){this.activeSubtitleCueMap={},this.activeSubtitleCueCount=0},H})(),qp=(function(){function H(u){this.subtitleOverlay=u,this.subtitleRegionContainers={},this.subtitleOverlay=u}return H.prototype.getRegion=function(u){return u.vtt?{regionContainerId:u.vtt.region&&u.vtt.region.id?u.vtt.region.id:"vtt",regionName:"vtt"}:{regionContainerId:u.region||"default",regionName:u.region||"default"}},H.prototype.addLabel=function(u,n){var i=this.getRegion(u),c=i.regionContainerId,m=i.regionName,$=["subtitle-position-".concat(m)];if(u.vtt&&u.vtt.region&&$.push("vtt-region-".concat(u.vtt.region.id)),!this.subtitleRegionContainers[c]){var P=new df({cssClasses:$});this.subtitleRegionContainers[c]=P,u.regionStyle&&P.getDomElement().attr("style",u.regionStyle),u.vtt&&P.getDomElement().css("position","static"),P.getDomElement();for(var t in this.subtitleRegionContainers)this.subtitleOverlay.addComponent(this.subtitleRegionContainers[t])}this.subtitleRegionContainers[c].addLabel(u,n)},H.prototype.replaceLabel=function(u,n){var i=this.getRegion(u).regionContainerId;this.subtitleRegionContainers[i].removeLabel(u),this.subtitleRegionContainers[i].addLabel(n)},H.prototype.removeLabel=function(u){var n;u.vtt?n=u.vtt.region&&u.vtt.region.id?u.vtt.region.id:"vtt":n=u.region||"default",this.subtitleRegionContainers[n].removeLabel(u),this.subtitleRegionContainers[n].isEmpty()&&(this.subtitleOverlay.removeComponent(this.subtitleRegionContainers[n]),delete this.subtitleRegionContainers[n])},H.prototype.clear=function(){for(var u in this.subtitleRegionContainers)this.subtitleOverlay.removeComponent(this.subtitleRegionContainers[u]);this.subtitleRegionContainers={}},H})();di.SubtitleRegionContainerManager=qp;var df=(function(H){cf(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.labelCount=0,i.config=i.mergeConfig(n,{cssClass:"subtitle-region-container"},i.config),i}return u.prototype.addLabel=function(n,i){this.labelCount++,n.vtt&&(n.vtt.region&&i&&Fp.VttUtils.setVttRegionStyles(this,n.vtt.region,i),Fp.VttUtils.setVttCueBoxStyles(n,i)),this.addComponent(n),this.updateComponents()},u.prototype.removeLabel=function(n){this.labelCount--,this.removeComponent(n),this.updateComponents()},u.prototype.isEmpty=function(){return this.labelCount===0},u})(Wp.Container);di.SubtitleRegionContainer=df;function Vp(H){return H.position!=null}function Gp(H){var u=getComputedStyle(H.get(0)).transitionProperty!=="none";return u?new Promise(function(n){var i=function(){H.off("transitionend",i),H.off("transitioncancel",i),n()};H.on("transitionend",i),H.on("transitioncancel",i)}):Promise.resolve()}});var ff=nt(_l=>{"use strict";Object.defineProperty(_l,"__esModule",{value:!0});_l.AudioTrackSwitchHandler=void 0;var O6=yt(),L6=(function(){function H(u,n,i){var c=this;this.addAudioTrack=function(m){var $=m.track;c.listElement.hasItem($.id)||c.listElement.addItem($.id,O6.i18n.getLocalizer($.label),!0)},this.removeAudioTrack=function(m){var $=m.track;c.listElement.hasItem($.id)&&c.listElement.removeItem($.id)},this.selectCurrentAudioTrack=function(){var m=c.player.getAudio();m&&c.listElement.selectItem(m.id)},this.refreshAudioTracks=function(){var m=c.player.getAvailableAudio(),$=function(P){return{key:P.id,label:P.label}};c.listElement.synchronizeItems(m.map($)),c.selectCurrentAudioTrack()},this.player=u,this.listElement=n,this.uimanager=i,this.bindSelectionEvent(),this.bindPlayerEvents(),this.refreshAudioTracks()}return H.prototype.bindSelectionEvent=function(){var u=this;this.listElement.onItemSelected.subscribe(function(n,i){u.player.setAudio(i)})},H.prototype.bindPlayerEvents=function(){this.player.on(this.player.exports.PlayerEvent.AudioChanged,this.selectCurrentAudioTrack),this.player.on(this.player.exports.PlayerEvent.SourceUnloaded,this.refreshAudioTracks),this.player.on(this.player.exports.PlayerEvent.PeriodSwitched,this.refreshAudioTracks),this.player.on(this.player.exports.PlayerEvent.AudioAdded,this.addAudioTrack),this.player.on(this.player.exports.PlayerEvent.AudioRemoved,this.removeAudioTrack),this.uimanager.getConfig().events.onUpdated.subscribe(this.refreshAudioTracks)},H})();_l.AudioTrackSwitchHandler=L6});var hf=nt(Ma=>{"use strict";var D6=Ma&&Ma.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ma,"__esModule",{value:!0});Ma.AudioTrackSelectBox=void 0;var N6=Oi(),B6=ff(),U6=(function(H){D6(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-audiotrackselectbox"]},i.config),i}return u.prototype.configure=function(n,i){H.prototype.configure.call(this,n,i),new B6.AudioTrackSwitchHandler(n,this,i)},u})(N6.SelectBox);Ma.AudioTrackSelectBox=U6});var Jn=nt(ka=>{"use strict";var F6=ka&&ka.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ka,"__esModule",{value:!0});ka.SubtitleSettingSelectBox=void 0;var H6=Oi(),j6=(function(H){F6(u,H);function u(n){var i=H.call(this,n)||this;return i.overlay=n.overlay,i}return u.prototype.toggleOverlayClass=function(n){this.currentCssClass&&(this.overlay.getDomElement().removeClass(this.currentCssClass),this.currentCssClass=null),n&&(this.currentCssClass=this.prefixCss(n),this.overlay.getDomElement().addClass(this.currentCssClass))},u.prototype.configure=function(n,i){this.settingsManager=i.getSubtitleSettingsManager()},u})(H6.SelectBox);ka.SubtitleSettingSelectBox=j6});var _f=nt(wa=>{"use strict";var V6=wa&&wa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(wa,"__esModule",{value:!0});wa.FontSizeSelectBox=void 0;var fr=yt(),G6=Jn(),W6=(function(H){V6(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingsfontsizeselectbox"]},i.config),i}return u.prototype.getFontSizeOptions=function(){return[{key:null,label:fr.i18n.getLocalizer("default")},{key:"50",label:fr.i18n.getLocalizer("percent",{value:50})},{key:"75",label:fr.i18n.getLocalizer("percent",{value:75})},{key:"100",label:fr.i18n.getLocalizer("percent",{value:100})},{key:"150",label:fr.i18n.getLocalizer("percent",{value:150})},{key:"200",label:fr.i18n.getLocalizer("percent",{value:200})},{key:"300",label:fr.i18n.getLocalizer("percent",{value:300})},{key:"400",label:fr.i18n.getLocalizer("percent",{value:400})}]},u.prototype.populateItemsWithFilter=function(){this.clearItems();for(var n=0,i=this.getFontSizeOptions();n<i.length;n++){var c=i[n];(!this.config.filter||this.config.filter(c))&&this.addItem(c.key,c.label)}this.settingsManager.fontSize.isSet()&&this.selectItem(this.settingsManager.fontSize.value)},u.prototype.reapplyFilterAndReload=function(){this.populateItemsWithFilter()},u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.settingsManager.fontSize.onChanged.subscribe(function(m,$){$.isSet()?c.toggleOverlayClass("fontsize-"+$.value):c.toggleOverlayClass(null),c.selectItem($.value)}),this.onItemSelected.subscribe(function(m,$){c.settingsManager.fontSize.value=$}),this.onShow.subscribe(function(){c.populateItemsWithFilter()}),this.populateItemsWithFilter()},u})(G6.SubtitleSettingSelectBox);wa.FontSizeSelectBox=W6});var Kp=nt(Ra=>{"use strict";var q6=Ra&&Ra.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ra,"__esModule",{value:!0});Ra.FontStyleSelectBox=void 0;var K6=Jn(),pf=yt(),z6=(function(H){q6(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitle-settings-font-style-select-box"]},i.config),i}return u.prototype.configure=function(n,i){var c=this,m,$;H.prototype.configure.call(this,n,i),this.addItem(null,pf.i18n.getLocalizer("default")),this.addItem("italic",pf.i18n.getLocalizer("settings.subtitles.font.style.italic")),this.addItem("bold",pf.i18n.getLocalizer("settings.subtitles.font.style.bold")),(m=this.settingsManager)===null||m===void 0||m.fontStyle.onChanged.subscribe(function(P,t){t.isSet()?c.toggleOverlayClass("fontstyle-"+t.value):c.toggleOverlayClass(null),c.selectItem(t.value)}),this.onItemSelected.subscribe(function(P,t){c.settingsManager&&(c.settingsManager.fontStyle.value=t)}),!(($=this.settingsManager)===null||$===void 0)&&$.fontStyle.isSet()&&this.selectItem(this.settingsManager.fontStyle.value)},u})(K6.SubtitleSettingSelectBox);Ra.FontStyleSelectBox=z6});var vf=nt(Oa=>{"use strict";var Y6=Oa&&Oa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Oa,"__esModule",{value:!0});Oa.FontFamilySelectBox=void 0;var X6=Jn(),hr=yt(),Q6=(function(H){Y6(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingsfontfamilyselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,hr.i18n.getLocalizer("default")),this.addItem("monospacedserif",hr.i18n.getLocalizer("settings.subtitles.font.family.monospacedserif")),this.addItem("proportionalserif",hr.i18n.getLocalizer("settings.subtitles.font.family.proportionalserif")),this.addItem("monospacedsansserif",hr.i18n.getLocalizer("settings.subtitles.font.family.monospacedsansserif")),this.addItem("proportionalsansserif",hr.i18n.getLocalizer("settings.subtitles.font.family.proportionalsansserif")),this.addItem("casual",hr.i18n.getLocalizer("settings.subtitles.font.family.casual")),this.addItem("cursive",hr.i18n.getLocalizer("settings.subtitles.font.family.cursive")),this.addItem("smallcapital",hr.i18n.getLocalizer("settings.subtitles.font.family.smallcapital")),this.settingsManager.fontFamily.onChanged.subscribe(function(m,$){$.isSet()?c.toggleOverlayClass("fontfamily-"+$.value):c.toggleOverlayClass(null),c.selectItem($.value)}),this.onItemSelected.subscribe(function(m,$){c.settingsManager.fontFamily.value=$}),this.settingsManager.fontFamily.isSet()&&this.selectItem(this.settingsManager.fontFamily.value)},u})(X6.SubtitleSettingSelectBox);Oa.FontFamilySelectBox=Q6});var gf=nt(La=>{"use strict";var J6=La&&La.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(La,"__esModule",{value:!0});La.FontColorSelectBox=void 0;var Z6=Jn(),qi=yt(),e4=(function(H){J6(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingsfontcolorselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,qi.i18n.getLocalizer("default")),this.addItem("white",qi.i18n.getLocalizer("colors.white")),this.addItem("black",qi.i18n.getLocalizer("colors.black")),this.addItem("red",qi.i18n.getLocalizer("colors.red")),this.addItem("green",qi.i18n.getLocalizer("colors.green")),this.addItem("blue",qi.i18n.getLocalizer("colors.blue")),this.addItem("cyan",qi.i18n.getLocalizer("colors.cyan")),this.addItem("yellow",qi.i18n.getLocalizer("colors.yellow")),this.addItem("magenta",qi.i18n.getLocalizer("colors.magenta"));var m=function(){c.settingsManager.fontColor.isSet()&&c.settingsManager.fontOpacity.isSet()?c.toggleOverlayClass("fontcolor-"+c.settingsManager.fontColor.value+c.settingsManager.fontOpacity.value):c.toggleOverlayClass(null)};this.onItemSelected.subscribe(function($,P){c.settingsManager.fontColor.value=P}),this.settingsManager.fontColor.onChanged.subscribe(function($,P){c.settingsManager.fontColor.isSet()?c.settingsManager.fontOpacity.isSet()||(c.settingsManager.fontOpacity.value="100"):c.settingsManager.fontOpacity.clear(),c.selectItem(P.value),m()}),this.settingsManager.fontOpacity.onChanged.subscribe(function(){m()}),this.settingsManager.fontColor.isSet()&&this.selectItem(this.settingsManager.fontColor.value)},u})(Z6.SubtitleSettingSelectBox);La.FontColorSelectBox=e4});var mf=nt(Da=>{"use strict";var t4=Da&&Da.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Da,"__esModule",{value:!0});Da.FontOpacitySelectBox=void 0;var n4=Jn(),qs=yt(),i4=(function(H){t4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingsfontopacityselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,qs.i18n.getLocalizer("default")),this.addItem("100",qs.i18n.getLocalizer("percent",{value:100})),this.addItem("75",qs.i18n.getLocalizer("percent",{value:75})),this.addItem("50",qs.i18n.getLocalizer("percent",{value:50})),this.addItem("25",qs.i18n.getLocalizer("percent",{value:25})),this.onItemSelected.subscribe(function(m,$){c.settingsManager.fontOpacity.value=$,c.settingsManager.fontOpacity.isSet()?c.settingsManager.fontColor.isSet()||(c.settingsManager.fontColor.value="white"):c.settingsManager.fontColor.clear()}),this.settingsManager.fontOpacity.onChanged.subscribe(function(m,$){c.selectItem($.value)}),this.settingsManager.fontOpacity.isSet()&&this.selectItem(this.settingsManager.fontOpacity.value)},u})(n4.SubtitleSettingSelectBox);Da.FontOpacitySelectBox=i4});var yf=nt(Na=>{"use strict";var r4=Na&&Na.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Na,"__esModule",{value:!0});Na.CharacterEdgeSelectBox=void 0;var a4=Jn(),Ks=yt(),o4=(function(H){r4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingscharacteredgeselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,Ks.i18n.getLocalizer("default")),this.addItem("raised",Ks.i18n.getLocalizer("settings.subtitles.characterEdge.raised")),this.addItem("depressed",Ks.i18n.getLocalizer("settings.subtitles.characterEdge.depressed")),this.addItem("uniform",Ks.i18n.getLocalizer("settings.subtitles.characterEdge.uniform")),this.addItem("dropshadowed",Ks.i18n.getLocalizer("settings.subtitles.characterEdge.dropshadowed"));var m=function(){c.settingsManager.characterEdge.isSet()&&c.settingsManager.characterEdgeColor.isSet()?c.toggleOverlayClass("characteredge-"+c.settingsManager.characterEdge.value+"-"+c.settingsManager.characterEdgeColor.value):c.toggleOverlayClass(null)};this.onItemSelected.subscribe(function($,P){c.settingsManager.characterEdge.value=P}),this.settingsManager.characterEdge.onChanged.subscribe(function($,P){c.settingsManager.characterEdge.isSet()?c.settingsManager.characterEdgeColor.isSet()||(c.settingsManager.characterEdgeColor.value="black"):c.settingsManager.characterEdgeColor.clear(),c.selectItem(P.value),m()}),this.settingsManager.characterEdgeColor.onChanged.subscribe(function(){m()}),this.settingsManager.characterEdge.isSet()&&this.selectItem(this.settingsManager.characterEdge.value)},u})(a4.SubtitleSettingSelectBox);Na.CharacterEdgeSelectBox=o4});var zp=nt(Ba=>{"use strict";var s4=Ba&&Ba.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ba,"__esModule",{value:!0});Ba.CharacterEdgeColorSelectBox=void 0;var u4=Jn(),Ki=yt(),l4=(function(H){s4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitle-settings-character-edge-color-select-box"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,Ki.i18n.getLocalizer("default")),this.addItem("white",Ki.i18n.getLocalizer("colors.white")),this.addItem("black",Ki.i18n.getLocalizer("colors.black")),this.addItem("red",Ki.i18n.getLocalizer("colors.red")),this.addItem("green",Ki.i18n.getLocalizer("colors.green")),this.addItem("blue",Ki.i18n.getLocalizer("colors.blue")),this.addItem("cyan",Ki.i18n.getLocalizer("colors.cyan")),this.addItem("yellow",Ki.i18n.getLocalizer("colors.yellow")),this.addItem("magenta",Ki.i18n.getLocalizer("colors.magenta")),this.onItemSelected.subscribe(function(m,$){c.settingsManager.characterEdgeColor.value=$,c.settingsManager.characterEdgeColor.isSet()?c.settingsManager.characterEdge.isSet()||(c.settingsManager.characterEdge.value="uniform"):c.settingsManager.characterEdge.clear()}),this.settingsManager.characterEdgeColor.onChanged.subscribe(function(m,$){c.selectItem($.value)}),this.settingsManager.characterEdgeColor.isSet()&&this.selectItem(this.settingsManager.characterEdgeColor.value)},u})(u4.SubtitleSettingSelectBox);Ba.CharacterEdgeColorSelectBox=l4});var Sf=nt(Ua=>{"use strict";var c4=Ua&&Ua.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ua,"__esModule",{value:!0});Ua.BackgroundColorSelectBox=void 0;var d4=Jn(),zi=yt(),f4=(function(H){c4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingsbackgroundcolorselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,zi.i18n.getLocalizer("default")),this.addItem("white",zi.i18n.getLocalizer("colors.white")),this.addItem("black",zi.i18n.getLocalizer("colors.black")),this.addItem("red",zi.i18n.getLocalizer("colors.red")),this.addItem("green",zi.i18n.getLocalizer("colors.green")),this.addItem("blue",zi.i18n.getLocalizer("colors.blue")),this.addItem("cyan",zi.i18n.getLocalizer("colors.cyan")),this.addItem("yellow",zi.i18n.getLocalizer("colors.yellow")),this.addItem("magenta",zi.i18n.getLocalizer("colors.magenta"));var m=function(){c.settingsManager.backgroundColor.isSet()&&c.settingsManager.backgroundOpacity.isSet()?c.toggleOverlayClass("bgcolor-"+c.settingsManager.backgroundColor.value+c.settingsManager.backgroundOpacity.value):c.toggleOverlayClass(null)};this.onItemSelected.subscribe(function($,P){c.settingsManager.backgroundColor.value=P}),this.settingsManager.backgroundColor.onChanged.subscribe(function($,P){c.settingsManager.backgroundColor.isSet()?c.settingsManager.backgroundOpacity.isSet()||(c.settingsManager.backgroundOpacity.value="100"):c.settingsManager.backgroundOpacity.clear(),c.selectItem(P.value),m()}),this.settingsManager.backgroundOpacity.onChanged.subscribe(function(){m()}),this.settingsManager.backgroundColor.isSet()&&this.selectItem(this.settingsManager.backgroundColor.value)},u})(d4.SubtitleSettingSelectBox);Ua.BackgroundColorSelectBox=f4});var bf=nt(Ha=>{"use strict";var h4=Ha&&Ha.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ha,"__esModule",{value:!0});Ha.BackgroundOpacitySelectBox=void 0;var _4=Jn(),Fa=yt(),p4=(function(H){h4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingsbackgroundopacityselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,Fa.i18n.getLocalizer("default")),this.addItem("100",Fa.i18n.getLocalizer("percent",{value:100})),this.addItem("75",Fa.i18n.getLocalizer("percent",{value:75})),this.addItem("50",Fa.i18n.getLocalizer("percent",{value:50})),this.addItem("25",Fa.i18n.getLocalizer("percent",{value:25})),this.addItem("0",Fa.i18n.getLocalizer("percent",{value:0})),this.onItemSelected.subscribe(function(m,$){c.settingsManager.backgroundOpacity.value=$,c.settingsManager.backgroundOpacity.isSet()?c.settingsManager.backgroundColor.isSet()||(c.settingsManager.backgroundColor.value="black"):c.settingsManager.backgroundColor.clear()}),this.settingsManager.backgroundOpacity.onChanged.subscribe(function(m,$){c.selectItem($.value)}),this.settingsManager.backgroundOpacity.isSet()&&this.selectItem(this.settingsManager.backgroundOpacity.value)},u})(_4.SubtitleSettingSelectBox);Ha.BackgroundOpacitySelectBox=p4});var $f=nt(ja=>{"use strict";var v4=ja&&ja.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ja,"__esModule",{value:!0});ja.WindowColorSelectBox=void 0;var g4=Jn(),Yi=yt(),m4=(function(H){v4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingswindowcolorselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,Yi.i18n.getLocalizer("default")),this.addItem("white",Yi.i18n.getLocalizer("colors.white")),this.addItem("black",Yi.i18n.getLocalizer("colors.black")),this.addItem("red",Yi.i18n.getLocalizer("colors.red")),this.addItem("green",Yi.i18n.getLocalizer("colors.green")),this.addItem("blue",Yi.i18n.getLocalizer("colors.blue")),this.addItem("cyan",Yi.i18n.getLocalizer("colors.cyan")),this.addItem("yellow",Yi.i18n.getLocalizer("colors.yellow")),this.addItem("magenta",Yi.i18n.getLocalizer("colors.magenta"));var m=function(){c.settingsManager.windowColor.isSet()&&c.settingsManager.windowOpacity.isSet()?c.toggleOverlayClass("windowcolor-"+c.settingsManager.windowColor.value+c.settingsManager.windowOpacity.value):c.toggleOverlayClass(null)};this.onItemSelected.subscribe(function($,P){c.settingsManager.windowColor.value=P}),this.settingsManager.windowColor.onChanged.subscribe(function($,P){c.settingsManager.windowColor.isSet()?c.settingsManager.windowOpacity.isSet()||(c.settingsManager.windowOpacity.value="100"):c.settingsManager.windowOpacity.clear(),c.selectItem(P.value),m()}),this.settingsManager.windowOpacity.onChanged.subscribe(function(){m()}),this.settingsManager.windowColor.isSet()&&this.selectItem(this.settingsManager.windowColor.value)},u})(g4.SubtitleSettingSelectBox);ja.WindowColorSelectBox=m4});var Tf=nt(Ga=>{"use strict";var y4=Ga&&Ga.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ga,"__esModule",{value:!0});Ga.WindowOpacitySelectBox=void 0;var S4=Jn(),Va=yt(),b4=(function(H){y4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitlesettingswindowopacityselectbox"]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.addItem(null,Va.i18n.getLocalizer("default")),this.addItem("100",Va.i18n.getLocalizer("percent",{value:100})),this.addItem("75",Va.i18n.getLocalizer("percent",{value:75})),this.addItem("50",Va.i18n.getLocalizer("percent",{value:50})),this.addItem("25",Va.i18n.getLocalizer("percent",{value:25})),this.addItem("0",Va.i18n.getLocalizer("percent",{value:0})),this.onItemSelected.subscribe(function(m,$){c.settingsManager.windowOpacity.value=$,c.settingsManager.windowOpacity.isSet()?c.settingsManager.windowColor.isSet()||(c.settingsManager.windowColor.value="black"):c.settingsManager.windowColor.clear()}),this.settingsManager.windowOpacity.onChanged.subscribe(function(m,$){c.selectItem($.value)}),this.settingsManager.windowOpacity.isSet()&&this.selectItem(this.settingsManager.windowOpacity.value)},u})(S4.SubtitleSettingSelectBox);Ga.WindowOpacitySelectBox=b4});var Ef=nt(Wa=>{"use strict";var $4=Wa&&Wa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Wa,"__esModule",{value:!0});Wa.SubtitleSettingsResetButton=void 0;var T4=si(),E4=yt(),A4=(function(H){$4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-subtitlesettingsresetbutton",text:E4.i18n.getLocalizer("reset")},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.settingsManager=i.getSubtitleSettingsManager(),this.onClick.subscribe(function(){c.settingsManager.reset()})},u})(T4.Button);Wa.SubtitleSettingsResetButton=A4});var Af=nt(qa=>{"use strict";var P4=qa&&qa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(qa,"__esModule",{value:!0});qa.SettingsPanelPageNavigatorButton=void 0;var I4=si(),C4=(function(H){P4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{},i.config),i.container=i.config.container,i.targetPage=i.config.targetPage,i}return u.prototype.popPage=function(){this.container.popSettingsPanelPage()},u.prototype.pushTargetPage=function(){this.container.setActivePage(this.targetPage)},u})(I4.Button);qa.SettingsPanelPageNavigatorButton=C4});var Pf=nt(Ka=>{"use strict";var x4=Ka&&Ka.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ka,"__esModule",{value:!0});Ka.SettingsPanelPageBackButton=void 0;var M4=Af(),k4=(function(H){x4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-settingspanelpagebackbutton",text:"back"},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.onClick.subscribe(function(){c.popPage()})},u})(M4.SettingsPanelPageNavigatorButton);Ka.SettingsPanelPageBackButton=k4});var Cf=nt(za=>{"use strict";var w4=za&&za.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(za,"__esModule",{value:!0});za.SubtitleSettingsPanelPage=void 0;var R4=Ia(),If=_f(),O4=Kp(),L4=vf(),D4=gf(),N4=mf(),B4=yf(),U4=zp(),F4=Sf(),H4=bf(),j4=$f(),V4=Tf(),G4=Ef(),W4=Pf(),Zn=Or(),fi=yt(),q4=(function(H){w4(u,H);function u(n){var i=H.call(this,n)||this;return i.overlay=n.overlay,i.settingsPanel=n.settingsPanel,i.config=i.mergeConfig(n,{components:[new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.font.size"),new If.FontSizeSelectBox({overlay:i.overlay,filter:function(c){return i.overlay.filterFontSizeOptions(c)}})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.font.style"),new O4.FontStyleSelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.font.family"),new L4.FontFamilySelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.font.color"),new D4.FontColorSelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.font.opacity"),new N4.FontOpacitySelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.characterEdge"),new B4.CharacterEdgeSelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.characterEdge.color"),new U4.CharacterEdgeColorSelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.background.color"),new F4.BackgroundColorSelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.background.opacity"),new H4.BackgroundOpacitySelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.window.color"),new j4.WindowColorSelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(fi.i18n.getLocalizer("settings.subtitles.window.opacity"),new V4.WindowOpacitySelectBox({overlay:i.overlay})),new Zn.SettingsPanelItem(new W4.SettingsPanelPageBackButton({container:i.settingsPanel,text:fi.i18n.getLocalizer("back")}),new G4.SubtitleSettingsResetButton({}),{role:"menubar"})]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.onActive.subscribe(function(){c.overlay.enablePreviewSubtitleLabel();var m=c.getComponents().find(function(P){return P instanceof Zn.SettingsPanelItem&&P.getComponents().some(function(t){return t instanceof If.FontSizeSelectBox})});if(m){var $=m.getComponents().find(function(P){return P instanceof If.FontSizeSelectBox});$?.reapplyFilterAndReload()}}),this.onInactive.subscribe(function(){c.overlay.removePreviewSubtitleLabel()})},u})(R4.SettingsPanelPage);za.SubtitleSettingsPanelPage=q4});var xf=nt(Ya=>{"use strict";var K4=Ya&&Ya.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ya,"__esModule",{value:!0});Ya.SettingsPanelPageOpenButton=void 0;var z4=Af(),Y4=yt(),X4=(function(H){K4(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-settingspanelpageopenbutton",text:Y4.i18n.getLocalizer("open"),role:"menuitem"},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.getDomElement().attr("aria-haspopup","true"),this.getDomElement().attr("aria-owns",this.config.targetPage.getConfig().id),this.onClick.subscribe(function(){c.pushTargetPage()})},u})(z4.SettingsPanelPageNavigatorButton);Ya.SettingsPanelPageOpenButton=X4});var Mf=nt(Xa=>{"use strict";var Q4=Xa&&Xa.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Xa,"__esModule",{value:!0});Xa.SubtitleSettingsLabel=void 0;var J4=Zt(),Yp=yn(),Z4=yt(),e$=(function(H){Q4(u,H);function u(n){var i=H.call(this,n)||this;return i.opener=n.opener,i.text=n.text,i.for=n.for,i.config=i.mergeConfig(n,{cssClass:"ui-label",components:[i.opener]},i.config),i}return u.prototype.toDomElement=function(){var n=new Yp.DOM("label",{id:this.config.id,class:this.getCssClasses(),for:this.for},this).append(new Yp.DOM("span",{}).html(Z4.i18n.performLocalization(this.text)),this.opener.getDomElement());return n},u})(J4.Container);Xa.SubtitleSettingsLabel=e$});var kf=nt(Qa=>{"use strict";var t$=Qa&&Qa.__spreadArray||function(H,u,n){if(n||arguments.length===2)for(var i=0,c=u.length,m;i<c;i++)(m||!(i in u))&&(m||(m=Array.prototype.slice.call(u,0,i)),m[i]=u[i]);return H.concat(m||Array.prototype.slice.call(u))};Object.defineProperty(Qa,"__esModule",{value:!0});Qa.SubtitleSwitchHandler=void 0;var n$=yt(),Tx=Qa.SubtitleSwitchHandler=(function(){function H(u,n,i){var c=this;this.addSubtitle=function(m){var $=m.subtitle;c.listElement.hasItem($.id)||c.listElement.addItem($.id,$.label)},this.removeSubtitle=function(m){var $=m.subtitle;c.listElement.hasItem($.id)&&c.listElement.removeItem($.id)},this.selectCurrentSubtitle=function(){if(c.player.subtitles){var m=c.player.subtitles.list().filter(function($){return $.enabled}).pop();c.listElement.selectItem(m?m.id:H.SUBTITLES_OFF_KEY)}},this.clearSubtitles=function(){c.listElement.clearItems()},this.refreshSubtitles=function(){if(c.player.subtitles){var m={key:H.SUBTITLES_OFF_KEY,label:n$.i18n.getLocalizer("off")},$=c.player.subtitles.list(),P=function(t){return{key:t.id,label:t.label}};c.listElement.synchronizeItems(t$([m],$.map(P),!0)),c.selectCurrentSubtitle()}},this.player=u,this.listElement=n,this.uimanager=i,this.bindSelectionEvent(),this.bindPlayerEvents(),this.refreshSubtitles()}return H.prototype.bindSelectionEvent=function(){var u=this;this.listElement.onItemSelected.subscribe(function(n,i){if(i===H.SUBTITLES_OFF_KEY){var c=u.player.subtitles.list().filter(function(m){return m.enabled}).pop();c&&u.player.subtitles.disable(c.id)}else u.player.subtitles.enable(i,!0)})},H.prototype.bindPlayerEvents=function(){this.player.on(this.player.exports.PlayerEvent.SubtitleAdded,this.addSubtitle),this.player.on(this.player.exports.PlayerEvent.SubtitleEnabled,this.selectCurrentSubtitle),this.player.on(this.player.exports.PlayerEvent.SubtitleDisabled,this.selectCurrentSubtitle),this.player.on(this.player.exports.PlayerEvent.SubtitleRemoved,this.removeSubtitle),this.player.on(this.player.exports.PlayerEvent.SourceUnloaded,this.clearSubtitles),this.player.on(this.player.exports.PlayerEvent.PeriodSwitched,this.refreshSubtitles),this.uimanager.getConfig().events.onUpdated.subscribe(this.refreshSubtitles)},H.SUBTITLES_OFF_KEY="null",H})()});var wf=nt(Ja=>{"use strict";var i$=Ja&&Ja.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ja,"__esModule",{value:!0});Ja.SubtitleSelectBox=void 0;var r$=Oi(),a$=kf(),o$=yt(),s$=(function(H){i$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["ui-subtitleselectbox"],ariaLabel:o$.i18n.getLocalizer("subtitle.select")},i.config),i}return u.prototype.configure=function(n,i){H.prototype.configure.call(this,n,i),new a$.SubtitleSwitchHandler(n,this,i)},u})(r$.SelectBox);Ja.SubtitleSelectBox=s$});var _r=nt(zs=>{"use strict";Object.defineProperty(zs,"__esModule",{value:!0});zs.StringUtils=void 0;var Za=yt(),u$;(function(H){H.FORMAT_HHMMSS="hh:mm:ss",H.FORMAT_MMSS="mm:ss";function u($,P){P===void 0&&(P=H.FORMAT_HHMMSS);var t=$<0;t&&($=-$);var _=Math.floor($/3600),a=Math.floor($/60)-_*60,r=Math.floor($)%60;return(t?"-":"")+P.replace("hh",i(_,2)).replace("mm",i(a,2)).replace("ss",i(r,2))}H.secondsToTime=u;function n($){var P=$<0;P&&($=-$);var t=Math.floor($/3600),_=Math.floor($/60)-t*60,a=Math.floor($)%60;return(P?"-":"")+(t!==0?"".concat(t," ").concat(Za.i18n.performLocalization(Za.i18n.getLocalizer("settings.time.hours"))," "):"")+(_!==0?"".concat(_," ").concat(Za.i18n.performLocalization(Za.i18n.getLocalizer("settings.time.minutes"))," "):"")+"".concat(a," ").concat(Za.i18n.performLocalization(Za.i18n.getLocalizer("settings.time.seconds")))}H.secondsToText=n;function i($,P){var t=$+"",_="0000000000".substr(0,P-t.length);return _+t}function c($,P,t){var _=new RegExp("\\{(remainingTime|playedTime|adDuration|adBreakRemainingTime)(}|%((0[1-9]\\d*(\\.\\d+(d|f)|d|f)|\\.\\d+f|d|f)|hh:mm:ss|mm:ss)})","g");return $.replace(_,function(a){var r=0;if(a.indexOf("remainingTime")>-1)P?r=Math.ceil(P-t.getCurrentTime()):r=t.getDuration()-t.getCurrentTime();else if(a.indexOf("playedTime")>-1)r=t.getCurrentTime();else if(a.indexOf("adDuration")>-1)r=t.getDuration();else if(a.indexOf("adBreakRemainingTime")>-1&&(r=0,t.ads.isLinearAdActive())){var o=function(h){return t.ads.getActiveAd().id===h.id},l=t.ads.getActiveAdBreak().ads.findIndex(o),d=t.ads.getActiveAdBreak().ads.slice(l).reduce(function(h,f){return h+(f.isLinear?f.duration:0)},0);r=d-t.getCurrentTime()}return m(Math.round(r),a)})}H.replaceAdMessagePlaceholders=c;function m($,P){var t=/%((0[1-9]\d*(\.\d+(d|f)|d|f)|\.\d+f|d|f)|hh:mm:ss|mm:ss)/,_=/(%0[1-9]\d*)(?=(\.\d+f|f|d))/,a=/\.\d*(?=f)/;t.test(P)||(P="%d");var r=0,o=P.match(_);o&&(r=parseInt(o[0].substring(2)));var l=null,d=P.match(a);if(d&&!isNaN(parseInt(d[0].substring(1)))&&(l=parseInt(d[0].substring(1)),l>20&&(l=20)),P.indexOf("f")>-1){var h="";return l!==null?h=$.toFixed(l):h=""+$,h.indexOf(".")>-1?i(h,h.length+(r-h.indexOf("."))):i(h,r)}else if(P.indexOf(":")>-1){var f=Math.ceil($);if(P.indexOf("hh")>-1)return u(f);var p=Math.floor(f/60),A=f%60;return i(p,2)+":"+i(A,2)}else return i(Math.ceil($),r)}})(u$=zs.StringUtils||(zs.StringUtils={}))});var pl=nt(Xi=>{"use strict";var l$=Xi&&Xi.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Xi,"__esModule",{value:!0});Xi.PlaybackTimeLabel=Xi.PlaybackTimeLabelMode=void 0;var c$=li(),Xp=oi(),Ys=_r(),d$=yt(),eo;(function(H){H[H.CurrentTime=0]="CurrentTime",H[H.TotalTime=1]="TotalTime",H[H.CurrentAndTotalTime=2]="CurrentAndTotalTime",H[H.RemainingTime=3]="RemainingTime"})(eo=Xi.PlaybackTimeLabelMode||(Xi.PlaybackTimeLabelMode={}));var f$=(function(H){l$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-playbacktimelabel",timeLabelMode:eo.CurrentAndTotalTime,hideInLivePlayback:!1},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig(),$=!1,P=this.prefixCss("ui-playbacktimelabel-live"),t=this.prefixCss("ui-playbacktimelabel-live-edge"),_=0,a=function(){n.timeShift(0)},r=function(){$=n.isLive(),$?(c.getDomElement().addClass(P),c.setText(d$.i18n.getLocalizer("live")),m.hideInLivePlayback&&c.hide(),c.onClick.subscribe(a),o()):(c.getDomElement().removeClass(P),c.getDomElement().removeClass(t),c.show(),c.onClick.unsubscribe(a))},o=function(){if($){var p=n.getTimeShift()<0,A=n.getMaxTimeShift()<0;!p&&(!n.isPaused()||!A)?c.getDomElement().addClass(t):c.getDomElement().removeClass(t)}},l=function(){!$&&n.getDuration()!==1/0&&c.setTime(Xp.PlayerUtils.getCurrentTimeRelativeToSeekableRange(n),n.getDuration());var p=c.getDomElement().width();p>_&&(_=p,c.getDomElement().css({"min-width":_+"px"}))},d=function(){c.timeFormat=Math.abs(n.isLive()?n.getMaxTimeShift():n.getDuration())>=3600?Ys.StringUtils.FORMAT_HHMMSS:Ys.StringUtils.FORMAT_MMSS,l()},h=new Xp.PlayerUtils.LiveStreamDetector(n,i);h.onLiveChanged.subscribe(function(p,A){$=A.live,l(),d(),r()}),h.detect(),n.on(n.exports.PlayerEvent.TimeChanged,l),n.on(n.exports.PlayerEvent.Ready,d),n.on(n.exports.PlayerEvent.Seeked,l),n.on(n.exports.PlayerEvent.TimeShift,o),n.on(n.exports.PlayerEvent.TimeShifted,o),n.on(n.exports.PlayerEvent.Playing,o),n.on(n.exports.PlayerEvent.Paused,o),n.on(n.exports.PlayerEvent.StallStarted,o),n.on(n.exports.PlayerEvent.StallEnded,o);var f=function(){_=0,c.getDomElement().css({"min-width":null}),d()};i.getConfig().events.onUpdated.subscribe(f),f()},u.prototype.setTime=function(n,i){var c=Ys.StringUtils.secondsToTime(n,this.timeFormat),m=Ys.StringUtils.secondsToTime(i,this.timeFormat);switch(this.config.timeLabelMode){case eo.CurrentTime:this.setText("".concat(c));break;case eo.TotalTime:this.setText("".concat(m));break;case eo.CurrentAndTotalTime:this.setText("".concat(c," / ").concat(m));break;case eo.RemainingTime:this.setText("".concat(Ys.StringUtils.secondsToTime(i-n,this.timeFormat)));break}},u.prototype.setTimeFormat=function(n){this.timeFormat=n},u})(c$.Label);Xi.PlaybackTimeLabel=f$});var Qp=nt(Xs=>{"use strict";Object.defineProperty(Xs,"__esModule",{value:!0});Xs.GroupPlaybackSuspensionReason=void 0;var h$;(function(H){H.UserIsScrubbing="userIsScrubbing"})(h$=Xs.GroupPlaybackSuspensionReason||(Xs.GroupPlaybackSuspensionReason={}))});var Jp=nt(Nr=>{"use strict";Object.defineProperty(Nr,"__esModule",{value:!0});Nr.SeekBarController=Nr.SeekBarType=void 0;var Dr=Ls(),vl;(function(H){H[H.Vod=0]="Vod",H[H.Live=1]="Live",H[H.Volume=2]="Volume"})(vl=Nr.SeekBarType||(Nr.SeekBarType={}));var to=function(H,u,n){H<u.min?n(u.min):H>u.max?n(u.max):n(H)},_$=(function(){function H(u,n,i){this.keyStepIncrements=u,this.player=n,this.volumeController=i}return H.prototype.arrowKeyControls=function(u,n,i){var c=this,m=Math.floor(u);return{left:function(){return to(m-c.keyStepIncrements.leftRight,n,i)},right:function(){return to(m+c.keyStepIncrements.leftRight,n,i)},up:function(){return to(m+c.keyStepIncrements.upDown,n,i)},down:function(){return to(m-c.keyStepIncrements.upDown,n,i)},home:function(){return to(n.min,n,i)},end:function(){return to(n.max,n,i)}}},H.prototype.seekBarControls=function(u){if(u===vl.Live)return this.arrowKeyControls(this.player.getTimeShift(),{min:this.player.getMaxTimeShift(),max:0},this.player.timeShift);if(u===vl.Vod)return this.arrowKeyControls(this.player.getCurrentTime(),{min:0,max:this.player.getDuration()},this.player.seek);if(u===vl.Volume&&this.volumeController!=null){var n=this.volumeController.startTransition();return this.arrowKeyControls(this.player.getVolume(),{min:0,max:100},n.finish.bind(n))}},H.prototype.setSeekBarControls=function(u,n){var i=this;u.on("keydown",function(c){var m=i.seekBarControls(n());switch(c.keyCode){case Dr.UIUtils.KeyCode.LeftArrow:{m.left(),c.preventDefault();break}case Dr.UIUtils.KeyCode.RightArrow:{m.right(),c.preventDefault();break}case Dr.UIUtils.KeyCode.UpArrow:{m.up(),c.preventDefault();break}case Dr.UIUtils.KeyCode.DownArrow:{m.down(),c.preventDefault();break}case Dr.UIUtils.KeyCode.Home:{m.home(),c.preventDefault();break}case Dr.UIUtils.KeyCode.End:{m.end(),c.preventDefault();break}case Dr.UIUtils.KeyCode.Space:{i.player.isPlaying()?i.player.pause():i.player.play(),c.preventDefault();break}}})},H})();Nr.SeekBarController=_$});var t3=nt(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.TimelineMarkersHandler=void 0;var Zp=yn(),e3=oi(),p$=Wi(),v$=(function(){function H(u,n,i){this.config=u,this.getSeekBarWidth=n,this.markersContainer=i,this.timelineMarkers=[]}return H.prototype.initialize=function(u,n){this.player=u,this.uimanager=n,this.configureMarkers()},H.prototype.configureMarkers=function(){var u=this;this.player.on(this.player.exports.PlayerEvent.SourceUnloaded,function(){return u.clearMarkers()}),this.player.on(this.player.exports.PlayerEvent.AdBreakStarted,function(){return u.clearMarkers()}),this.player.on(this.player.exports.PlayerEvent.AdBreakFinished,function(){return u.updateMarkers()}),this.player.on(this.player.exports.PlayerEvent.PlayerResized,function(){return u.updateMarkersDOM()}),this.player.on(this.player.exports.PlayerEvent.SourceLoaded,function(){u.player.isLive()&&(u.player.on(u.player.exports.PlayerEvent.TimeChanged,function(){return u.updateMarkers()}),u.configureLivePausedTimeshiftUpdater(function(){return u.updateMarkers()}))}),this.uimanager.getConfig().events.onUpdated.subscribe(function(){return u.updateMarkers()}),this.uimanager.onRelease.subscribe(function(){return u.uimanager.getConfig().events.onUpdated.unsubscribe(function(){return u.updateMarkers()})}),this.updateMarkers()},H.prototype.getMarkerAtPosition=function(u){var n=this.config.snappingRange,i=this.timelineMarkers.find(function(c){var m=c.duration>0,$=m&&u>=c.position-n&&u<=c.position+c.duration+n,P=u>=c.position-n&&u<=c.position+n;return $||P});return i||null},H.prototype.clearMarkers=function(){this.timelineMarkers=[],this.markersContainer.empty()},H.prototype.removeMarkerFromConfig=function(u){this.uimanager.getConfig().metadata.markers=this.uimanager.getConfig().metadata.markers.filter(function(n){return u!==n})},H.prototype.filterRemovedMarkers=function(){var u=this;this.timelineMarkers=this.timelineMarkers.filter(function(n){var i=u.uimanager.getConfig().metadata.markers.find(function(c){return n.marker===c});return i||u.removeMarkerFromDOM(n),i})},H.prototype.removeMarkerFromDOM=function(u){u.element&&u.element.remove()},H.prototype.updateMarkers=function(){var u=this;if(!b$(this.player,this.uimanager)){this.clearMarkers();return}this.filterRemovedMarkers(),this.uimanager.getConfig().metadata.markers.forEach(function(n){var i=g$(u.player,n),c=i.markerPosition,m=i.markerDuration;if(S$(c,m))u.removeMarkerFromConfig(n);else if(c<=100){var $=u.timelineMarkers.find(function(t){return t.marker===n});if($)$.position=c,$.duration=m,u.updateMarkerDOM($);else{var P={marker:n,position:c,duration:m};u.timelineMarkers.push(P),u.createMarkerDOM(P)}}})},H.prototype.getMarkerCssProperties=function(u){var n=this.getSeekBarWidth(),i=n/100*(u.position<0?0:u.position),c={transform:"translateX(".concat(i,"px)")};if(u.duration>0){var m=Math.round(n/100*u.duration);c.width="".concat(m,"px")}return c},H.prototype.updateMarkerDOM=function(u){u.element.css(this.getMarkerCssProperties(u))},H.prototype.createMarkerDOM=function(u){var n=this,i=["seekbar-marker"].concat(u.marker.cssClasses||[]).map(function(P){return n.prefixCss(P)}),c=new Zp.DOM("div",{class:i.join(" "),"data-marker-time":String(u.marker.time),"data-marker-title":String(u.marker.title)}).css(this.getMarkerCssProperties(u));if(u.marker.imageUrl){var m=function(){$.remove()},$=new Zp.DOM("img",{class:this.prefixCss("seekbar-marker-image"),src:u.marker.imageUrl}).on("error",m);c.append($)}u.element=c,this.markersContainer.append(c)},H.prototype.updateMarkersDOM=function(){var u=this;this.timelineMarkers.forEach(function(n){n.element?u.updateMarkerDOM(n):u.createMarkerDOM(n)})},H.prototype.configureLivePausedTimeshiftUpdater=function(u){var n=this;this.pausedTimeshiftUpdater=new p$.Timeout(1e3,u,!0),this.player.on(this.player.exports.PlayerEvent.Paused,function(){n.player.isLive()&&n.player.getMaxTimeShift()<0&&n.pausedTimeshiftUpdater.start()}),this.player.on(this.player.exports.PlayerEvent.Play,function(){return n.pausedTimeshiftUpdater.clear()}),this.player.on(this.player.exports.PlayerEvent.Destroy,function(){return n.pausedTimeshiftUpdater.clear()})},H.prototype.prefixCss=function(u){return this.config.cssPrefix+"-"+u},H})();gl.TimelineMarkersHandler=v$;function g$(H,u){var n=y$(H),i=100/n*m$(u,H,n),c=100/n*u.duration;return i<0&&!isNaN(c)&&(c=c+i),100-i<c&&(c=100-i),{markerDuration:c,markerPosition:i}}function m$(H,u,n){return u.isLive()?n-(e3.PlayerUtils.getSeekableRangeRespectingLive(u).end-H.time):H.time}function y$(H){if(!H.isLive())return H.getDuration();var u=e3.PlayerUtils.getSeekableRangeRespectingLive(H),n=u.start,i=u.end;return i-n}function S$(H,u){return(u<0||isNaN(u))&&H<0}function b$(H,u){var n=H.getDuration()!==1/0||H.isLive(),i=u.getConfig().metadata.markers.length>0;return n&&i}});var n3=nt(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});ml.getMinBufferLevel=void 0;function $$(H){var u=H.getDuration(),n=H.getVideoBufferLength(),i=H.getAudioBufferLength(),c=Math.min(n??Number.MAX_VALUE,i??Number.MAX_VALUE);return c===Number.MAX_VALUE&&(c=0),100/u*c}ml.getMinBufferLevel=$$});var Qs=nt(io=>{"use strict";var T$=io&&io.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(io,"__esModule",{value:!0});io.SeekBar=void 0;var E$=Qp(),A$=Bn(),hi=yn(),Rf=Dn(),i3=Wi(),yl=oi(),Of=_r(),no=Jp(),Li=yt(),r3=lr(),P$=t3(),I$=n3(),wx=io.SeekBar=(function(H){T$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;i.playbackPositionPercentage=0,i.isUserSeeking=!1,i.seekBarEvents={onSeek:new Rf.EventDispatcher,onSeekPreview:new Rf.EventDispatcher,onSeeked:new Rf.EventDispatcher},i.seekWhileScrubbing=function(m,$){$.scrubbing&&i.seek($.position)},i.getTargetSeekPosition=function(m){var $;if(i.player.isLive()){var P=i.player.getMaxTimeShift();$=P-P*(m/100)}else{var t=yl.PlayerUtils.getSeekableRangeStart(i.player,0),_=i.player.getDuration()*(m/100);$=_+t}return $},i.seek=function(m){var $=i.getTargetSeekPosition(m);i.player.isLive()?i.player.timeShift($,"ui"):i.player.seek($,"ui")},i.updateLabelPosition=function(m){i.uiBoundingRect||(i.uiBoundingRect=i.uiManager.getUI().getDomElement().get(0).getBoundingClientRect()),i.label.setPositionInBounds(m,i.uiBoundingRect)};var c=i.config.keyStepIncrements||{leftRight:1,upDown:5};return i.config=i.mergeConfig(n,{cssClass:"ui-seekbar",vertical:!1,smoothPlaybackPositionUpdateIntervalMs:50,keyStepIncrements:c,ariaLabel:Li.i18n.getLocalizer("seekBar"),tabIndex:0,snappingRange:1,enableSeekPreview:!0,snappingEnabled:!0},i.config),i.label=i.config.label,i}return u.prototype.initialize=function(){H.prototype.initialize.call(this),this.hasLabel()&&this.getLabel().initialize()},u.prototype.setAriaSliderMinMax=function(n,i){this.getDomElement().attr("aria-valuemin",n),this.getDomElement().attr("aria-valuemax",i)},u.prototype.setAriaSliderValues=function(){if(this.seekBarType===no.SeekBarType.Live){var n=Math.ceil(this.player.getTimeShift()).toString(),i="".concat(Li.i18n.performLocalization(Li.i18n.getLocalizer("seekBar.timeshift"))," ").concat(Li.i18n.performLocalization(Li.i18n.getLocalizer("seekBar.value")),": ").concat(n);this.getDomElement().attr("aria-valuenow",n),this.getDomElement().attr("aria-valuetext",i),this.config.addCurrentTimeToAriaLabel&&this.getDomElement().attr("aria-label","".concat(Li.i18n.performLocalization(this.config.ariaLabel),": ").concat(i))}else if(this.seekBarType===no.SeekBarType.Vod){var c="".concat(Of.StringUtils.secondsToText(this.player.getCurrentTime())," ").concat(Li.i18n.performLocalization(Li.i18n.getLocalizer("seekBar.durationText"))," ").concat(Of.StringUtils.secondsToText(this.player.getDuration()));this.getDomElement().attr("aria-valuenow",Math.floor(this.player.getCurrentTime()).toString()),this.getDomElement().attr("aria-valuetext",c),this.config.addCurrentTimeToAriaLabel&&this.getDomElement().attr("aria-label","".concat(Li.i18n.performLocalization(this.config.ariaLabel),": ").concat(Of.StringUtils.secondsToText(this.player.getCurrentTime())))}},u.prototype.getPlaybackPositionPercentage=function(){return this.player.isLive()?100-100/this.player.getMaxTimeShift()*this.player.getTimeShift():100/this.player.getDuration()*this.getRelativeCurrentTime()},u.prototype.updateBufferLevel=function(n){var i;this.player.isLive()?i=100:i=n+(0,I$.getMinBufferLevel)(this.player),this.setBufferPosition(i)},u.prototype.configure=function(n,i,c){var m=this;c===void 0&&(c=!0),H.prototype.configure.call(this,n,i),this.player=n,this.uiManager=i,this.setPosition(this.seekBarBackdrop,100);var $=new no.SeekBarController(this.config.keyStepIncrements,n,i.getConfig().volumeController);if($.setSeekBarControls(this.getDomElement(),function(){return m.seekBarType}),!c){this.seekBarType=no.SeekBarType.Volume;return}i.onControlsShow.subscribe(function(){m.isUiShown=!0,m.smoothPlaybackPositionUpdater&&!n.isLive()&&!m.smoothPlaybackPositionUpdater.isActive()&&(r(null,!0),m.smoothPlaybackPositionUpdater.start())}),i.onControlsHide.subscribe(function(){m.isUiShown=!1,m.smoothPlaybackPositionUpdater&&m.smoothPlaybackPositionUpdater.isActive()&&m.smoothPlaybackPositionUpdater.clear()});var P=!1,t=!1,_=!1,a,r=function(T,y){if(T===void 0&&(T=null),y===void 0&&(y=!1),!m.isUserSeeking){var E=m.getPlaybackPositionPercentage();if(m.updateBufferLevel(E),t&&T&&T.type===n.exports.PlayerEvent.SegmentRequestFinished&&E!==m.playbackPositionPercentage&&(E=m.playbackPositionPercentage),n.isLive())n.getMaxTimeShift()===0?m.setPlaybackPosition(100):(m.isSeeking()||m.setPlaybackPosition(E),m.setAriaSliderMinMax(n.getMaxTimeShift().toString(),"0"));else{var S=m.config.smoothPlaybackPositionUpdateIntervalMs===u.SMOOTH_PLAYBACK_POSITION_UPDATE_DISABLED||y||n.isPaused(),b=n.isPaused()===n.isPlaying();(S||b)&&!m.isSeeking()&&m.setPlaybackPosition(E),m.setAriaSliderMinMax("0",n.getDuration().toString())}m.isUiShown&&m.setAriaSliderValues()}};n.on(n.exports.PlayerEvent.Ready,r),n.on(n.exports.PlayerEvent.TimeChanged,r),n.on(n.exports.PlayerEvent.StallEnded,r),n.on(n.exports.PlayerEvent.TimeShifted,r),n.on(n.exports.PlayerEvent.SegmentRequestFinished,r),this.configureLivePausedTimeshiftUpdater(n,i,r);var o=function(){_=!0,m.setSeeking(!0),t=!1},l=function(T){T===void 0&&(T=null),_=!1,m.setSeeking(!1),r(T,!0)},d=function(){P&&n.play("ui-seek")};n.on(n.exports.PlayerEvent.Seek,o),n.on(n.exports.PlayerEvent.Seeked,l),n.on(n.exports.PlayerEvent.TimeShift,o),n.on(n.exports.PlayerEvent.TimeShifted,l);var h=function(T){return!!T.groupPlayback};this.onSeek.subscribe(function(T){m.isUserSeeking=!0,i.onSeek.dispatch(T),h(n)&&n.groupPlayback.hasJoined()&&!a&&(a=n.groupPlayback.beginSuspension(E$.GroupPlaybackSuspensionReason.UserIsScrubbing)),_||(P=n.isPlaying(),P&&n.pause("ui-seek"))}),this.onSeekPreview.subscribe(function(T,y){i.onSeekPreview.dispatch(T,y),t=y.scrubbing}),typeof i.getConfig().enableSeekPreview=="boolean"&&(this.config.enableSeekPreview=i.getConfig().enableSeekPreview),this.config.enableSeekPreview&&this.onSeekPreview.subscribeRateLimited(this.seekWhileScrubbing,200),this.onSeeked.subscribe(function(T,y){if(m.isUserSeeking=!1,m.seek(y),i.onSeeked.dispatch(T),d(),h(n)&&n.groupPlayback.hasJoined()&&a){var E=m.getTargetSeekPosition(y);n.groupPlayback.endSuspension(a,{proposedPlaybackTime:E}),a=void 0}}),this.hasLabel()&&this.getLabel().configure(n,i);var f=!1,p=!1,A=function(T,y){T&&!y?m.hide():m.show(),r(null,!0),m.refreshPlaybackPosition()},x=new yl.PlayerUtils.LiveStreamDetector(n,i);x.onLiveChanged.subscribe(function(T,y){f=y.live,f&&m.smoothPlaybackPositionUpdater!=null?(m.smoothPlaybackPositionUpdater.clear(),m.seekBarType=no.SeekBarType.Live):m.seekBarType=no.SeekBarType.Vod,A(f,p)});var I=new yl.PlayerUtils.TimeShiftAvailabilityDetector(n);I.onTimeShiftAvailabilityChanged.subscribe(function(T,y){p=y.timeShiftAvailable,A(f,p)}),x.detect(),I.detect(),n.on(n.exports.PlayerEvent.PlayerResized,function(){m.refreshPlaybackPosition(),m.uiBoundingRect=m.uiManager.getUI().getDomElement().get(0).getBoundingClientRect()}),i.onConfigured.subscribe(function(){m.refreshPlaybackPosition()}),n.on(n.exports.PlayerEvent.SourceLoaded,function(){m.refreshPlaybackPosition()}),i.getConfig().events.onUpdated.subscribe(function(){r()}),typeof i.getConfig().seekbarSnappingRange=="number"&&(this.config.snappingRange=i.getConfig().seekbarSnappingRange),typeof i.getConfig().seekbarSnappingEnabled=="boolean"&&(this.config.snappingEnabled=i.getConfig().seekbarSnappingEnabled),r(),this.setBufferPosition(0),this.setSeekPosition(0),this.config.smoothPlaybackPositionUpdateIntervalMs!==u.SMOOTH_PLAYBACK_POSITION_UPDATE_DISABLED&&this.configureSmoothPlaybackPositionUpdater(n,i),this.initializeTimelineMarkers(n,i)},u.prototype.initializeTimelineMarkers=function(n,i){var c=this,m={cssPrefix:this.config.cssPrefix,snappingRange:this.config.snappingRange};this.timelineMarkersHandler=new P$.TimelineMarkersHandler(m,function(){return c.seekBar.width()},this.seekBarMarkersContainer),this.timelineMarkersHandler.initialize(n,i)},u.prototype.configureLivePausedTimeshiftUpdater=function(n,i,c){var m=this;this.pausedTimeshiftUpdater=new i3.Timeout(1e3,c,!0),n.on(n.exports.PlayerEvent.Paused,function(){n.isLive()&&n.getMaxTimeShift()<0&&m.pausedTimeshiftUpdater.start()}),n.on(n.exports.PlayerEvent.Play,function(){return m.pausedTimeshiftUpdater.clear()})},u.prototype.configureSmoothPlaybackPositionUpdater=function(n,i){var c=this,m=0,$=0,P=50,t=P/1e3;this.smoothPlaybackPositionUpdater=new i3.Timeout(P,function(){if(!c.isSeeking()){m+=t;try{$=c.getRelativeCurrentTime()}catch(l){l instanceof n.exports.PlayerAPINotAvailableError&&c.smoothPlaybackPositionUpdater.clear();return}var r=m-$;Math.abs(r)>2?m=$:r<=-t?m+=t:r>=t&&(m-=t);var o=100/n.getDuration()*m;c.setPlaybackPosition(o)}},!0);var _=function(){n.isLive()||(m=c.getRelativeCurrentTime(),c.smoothPlaybackPositionUpdater.start())},a=function(){c.smoothPlaybackPositionUpdater.clear()};n.on(n.exports.PlayerEvent.Play,_),n.on(n.exports.PlayerEvent.Playing,_),n.on(n.exports.PlayerEvent.Paused,a),n.on(n.exports.PlayerEvent.PlaybackFinished,a),n.on(n.exports.PlayerEvent.Seeked,function(){m=c.getRelativeCurrentTime()}),n.on(n.exports.PlayerEvent.SourceUnloaded,a),n.isPlaying()&&_()},u.prototype.getRelativeCurrentTime=function(){return yl.PlayerUtils.getCurrentTimeRelativeToSeekableRange(this.player)},u.prototype.release=function(){H.prototype.release.call(this),this.smoothPlaybackPositionUpdater&&this.smoothPlaybackPositionUpdater.clear(),this.pausedTimeshiftUpdater&&this.pausedTimeshiftUpdater.clear(),this.config.enableSeekPreview&&this.onSeekPreview.unsubscribe(this.seekWhileScrubbing)},u.prototype.toDomElement=function(){var n=this;this.config.vertical&&this.config.cssClasses.push("vertical");var i=new hi.DOM("div",{id:this.config.id,class:this.getCssClasses(),role:"slider","aria-label":Li.i18n.performLocalization(this.config.ariaLabel),tabindex:this.config.tabIndex.toString()},this),c=new hi.DOM("div",{class:this.prefixCss("seekbar")});this.seekBar=c;var m=new hi.DOM("div",{class:this.prefixCss("seekbar-bufferlevel")});this.seekBarBufferPosition=m;var $=new hi.DOM("div",{class:this.prefixCss("seekbar-playbackposition")});this.seekBarPlaybackPosition=$;var P=new hi.DOM("div",{class:this.prefixCss("seekbar-playbackposition-marker")});this.seekBarPlaybackPositionMarker=P;var t=new hi.DOM("div",{class:this.prefixCss("seekbar-seekposition")});this.seekBarSeekPosition=t;var _=new hi.DOM("div",{class:this.prefixCss("seekbar-backdrop")});this.seekBarBackdrop=_;var a=new hi.DOM("div",{class:this.prefixCss("seekbar-markers")});this.seekBarMarkersContainer=a,c.append(this.seekBarBackdrop,this.seekBarBufferPosition,this.seekBarSeekPosition,this.seekBarPlaybackPosition,this.seekBarMarkersContainer,this.seekBarPlaybackPositionMarker);var r=!1,o=function(d){d.preventDefault(),n.player.vr!=null&&d.stopPropagation();var h=n.getOffset(d),f=100*h,p=h*n.seekBar.width();n.setSeekPosition(f),n.setPlaybackPosition(f),n.onSeekPreviewEvent(f,p,!0)},l=function(d){var h;d.preventDefault(),new hi.DOM(document).off("touchmove mousemove",o),new hi.DOM(document).off("touchend mouseup",l);var f=100*n.getOffset(d);if(n.config.snappingEnabled){var p=(h=n.timelineMarkersHandler)===null||h===void 0?void 0:h.getMarkerAtPosition(f);f=p?p.position:f}n.setSeeking(!1),r=!1,n.setSeekPosition(f),n.setPlaybackPosition(f),n.onSeekedEvent(f)};return c.on("touchstart mousedown",function(d){var h=r3.BrowserUtils.isTouchSupported&&n.isTouchEvent(d);d.preventDefault(),n.player.vr!=null&&d.stopPropagation(),n.setSeeking(!0),r=!0,n.onSeekEvent(),new hi.DOM(document).on(h?"touchmove":"mousemove",o),new hi.DOM(document).on(h?"touchend":"mouseup",l)}),c.on("touchmove mousemove",function(d){d.preventDefault(),r&&o(d);var h=n.getOffset(d),f=100*h,p=h*n.seekBar.width();n.setSeekPosition(f),n.onSeekPreviewEvent(f,p,!1),n.hasLabel()&&n.getLabel().isHidden()&&n.getLabel().show()}),c.on("touchend mouseleave",function(d){d.preventDefault(),n.setSeekPosition(0),n.hasLabel()&&n.getLabel().hide()}),i.append(c),this.label&&i.append(this.label.getDomElement()),i},u.prototype.getHorizontalOffset=function(n){var i=this.seekBar.offset().left,c=this.seekBar.width(),m=n-i,$=1/c*m;return this.sanitizeOffset($)},u.prototype.getVerticalOffset=function(n){var i=this.seekBar.offset().top,c=this.seekBar.height(),m=n-i,$=1/c*m;return 1-this.sanitizeOffset($)},u.prototype.getOffset=function(n){return r3.BrowserUtils.isTouchSupported&&this.isTouchEvent(n)?this.config.vertical?this.getVerticalOffset(n.type==="touchend"?n.changedTouches[0].pageY:n.touches[0].pageY):this.getHorizontalOffset(n.type==="touchend"?n.changedTouches[0].pageX:n.touches[0].pageX):n instanceof MouseEvent?this.config.vertical?this.getVerticalOffset(n.pageY):this.getHorizontalOffset(n.pageX):(console&&console.warn("invalid event"),0)},u.prototype.sanitizeOffset=function(n){return n<0?n=0:n>1&&(n=1),n},u.prototype.setPlaybackPosition=function(n){this.playbackPositionPercentage=n,this.setPosition(this.seekBarPlaybackPosition,n);var i=this.config.vertical?this.seekBar.height()-this.seekBarPlaybackPositionMarker.height():this.seekBar.width(),c=i/100*n;this.config.vertical&&(c=this.seekBar.height()-c-this.seekBarPlaybackPositionMarker.height());var m=this.config.vertical?{transform:"translateY("+c+"px)","-ms-transform":"translateY("+c+"px)","-webkit-transform":"translateY("+c+"px)"}:{transform:"translateX("+c+"px)","-ms-transform":"translateX("+c+"px)","-webkit-transform":"translateX("+c+"px)"};this.seekBarPlaybackPositionMarker.css(m)},u.prototype.refreshPlaybackPosition=function(){this.setPlaybackPosition(this.playbackPositionPercentage)},u.prototype.setBufferPosition=function(n){this.setPosition(this.seekBarBufferPosition,n)},u.prototype.setSeekPosition=function(n){this.setPosition(this.seekBarSeekPosition,n)},u.prototype.setPosition=function(n,i){var c=i/100;c>=.99999&&c<=1.00001&&(c=.99999);var m=this.config.vertical?{transform:"scaleY("+c+")","-ms-transform":"scaleY("+c+")","-webkit-transform":"scaleY("+c+")"}:{transform:"scaleX("+c+")","-ms-transform":"scaleX("+c+")","-webkit-transform":"scaleX("+c+")"};n.css(m)},u.prototype.setSeeking=function(n){n?this.getDomElement().addClass(this.prefixCss(u.CLASS_SEEKING)):this.getDomElement().removeClass(this.prefixCss(u.CLASS_SEEKING))},u.prototype.isSeeking=function(){return this.getDomElement().hasClass(this.prefixCss(u.CLASS_SEEKING))},u.prototype.hasLabel=function(){return this.label!=null},u.prototype.getLabel=function(){return this.label},u.prototype.onSeekEvent=function(){this.seekBarEvents.onSeek.dispatch(this)},u.prototype.onSeekPreviewEvent=function(n,i,c){var m=this.timelineMarkersHandler&&this.timelineMarkersHandler.getMarkerAtPosition(n),$=n;m&&(m.duration>0?n<m.position?$=m.position:n>m.position+m.duration&&($=m.position+m.duration):$=m.position),this.label&&this.updateLabelPosition(i),this.seekBarEvents.onSeekPreview.dispatch(this,{scrubbing:c,position:$,marker:m})},u.prototype.onSeekedEvent=function(n){this.seekBarEvents.onSeeked.dispatch(this,n)},Object.defineProperty(u.prototype,"onSeek",{get:function(){return this.seekBarEvents.onSeek.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onSeekPreview",{get:function(){return this.seekBarEvents.onSeekPreview.getEvent()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onSeeked",{get:function(){return this.seekBarEvents.onSeeked.getEvent()},enumerable:!1,configurable:!0}),u.prototype.onShowEvent=function(){H.prototype.onShowEvent.call(this),this.refreshPlaybackPosition()},u.prototype.isTouchEvent=function(n){return window.TouchEvent&&n instanceof TouchEvent},u.SMOOTH_PLAYBACK_POSITION_UPDATE_DISABLED=-1,u.CLASS_SEEKING="seeking",u})(A$.Component)});var a3=nt(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});Sl.ImageLoader=void 0;var C$=yn(),x$=(function(){function H(){this.state={}}return H.prototype.load=function(u,n){var i=this;if(this.state[u]){var m=this.state[u];m.loadedCallback=n,m.loaded&&this.callLoadedCallback(m)}else{var c={url:u,image:new C$.DOM("img",{}),loadedCallback:n,loaded:!1,width:0,height:0};this.state[u]=c,c.image.on("load",function($){c.loaded=!0,c.width=c.image.get(0).width,c.height=c.image.get(0).height,i.callLoadedCallback(c)}),c.image.attr("src",c.url)}},H.prototype.callLoadedCallback=function(u){u.loadedCallback(u.url,u.width,u.height)},H})();Sl.ImageLoader=x$});var bl=nt(ro=>{"use strict";var M$=ro&&ro.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ro,"__esModule",{value:!0});ro.SeekBarLabel=void 0;var Lf=Zt(),Df=li(),k$=Bn(),Nf=_r(),w$=a3(),R$=oi(),O$=(function(H){M$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.appliedMarkerCssClasses=[],i.handleSeekPreview=function(c,m){if(i.player.isLive()){var $=i.player.getMaxTimeShift(),P=$-$*(m.position/100);i.setTime(P);var t=function(d){var h=i.player.getTimeShift(),f=i.player.getCurrentTime(),p=f-h;return p+d},_=t(P);i.setThumbnail(i.player.getThumbnail(_))}else{var a=i.player.getDuration()*(m.position/100);i.setTime(a);var r=R$.PlayerUtils.getSeekableRangeStart(i.player,0),o=a+r;i.setThumbnail(i.player.getThumbnail(o))}if(m.marker?i.setTitleText(m.marker.marker.title):i.setTitleText(null),i.appliedMarkerCssClasses.length>0&&(i.getDomElement().removeClass(i.appliedMarkerCssClasses.join(" ")),i.appliedMarkerCssClasses=[]),m.marker){var l=(m.marker.marker.cssClasses||[]).map(function(d){return i.prefixCss(d)});i.getDomElement().addClass(l.join(" ")),i.appliedMarkerCssClasses=l}},i.timeLabel=new Df.Label({cssClasses:["seekbar-label-time"]}),i.titleLabel=new Df.Label({cssClasses:["seekbar-label-title"]}),i.thumbnail=new k$.Component({cssClasses:["seekbar-thumbnail"],role:"img"}),i.thumbnailImageLoader=new w$.ImageLoader,i.container=new Lf.Container({components:[i.thumbnail,new Lf.Container({components:[i.titleLabel,i.timeLabel],cssClass:"seekbar-label-metadata"})],cssClass:"seekbar-label-inner"}),i.caret=new Df.Label({cssClasses:["seekbar-label-caret"]}),i.config=i.mergeConfig(n,{cssClass:"ui-seekbar-label",components:[i.container,i.caret],hidden:!0},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.player=n,this.uiManager=i,i.onSeekPreview.subscribeRateLimited(this.handleSeekPreview,100);var m=function(){c.timeFormat=Math.abs(n.isLive()?n.getMaxTimeShift():n.getDuration())>=3600?Nf.StringUtils.FORMAT_HHMMSS:Nf.StringUtils.FORMAT_MMSS,c.setTitleText(null),c.setThumbnail(null)};i.getConfig().events.onUpdated.subscribe(m),m()},u.prototype.setPositionInBounds=function(n,i){this.getDomElement().css("left",n+"px");var c=this.container.getDomElement().get(0).parentElement.getBoundingClientRect(),m=0;c.right>i.right?m=c.right-i.right:c.left<i.left&&(m=c.left-i.left),m!==0?(this.getDomElement().css("left",n-m+"px"),this.caret.getDomElement().css("transform","translateX(".concat(m,"px)"))):this.caret.getDomElement().css("transform",null)},u.prototype.setText=function(n){this.timeLabel.setText(n)},u.prototype.setTime=function(n){this.setText(Nf.StringUtils.secondsToTime(n,this.timeFormat))},u.prototype.setTitleText=function(n){n===void 0&&(n=""),this.titleLabel.setText(n)},u.prototype.setThumbnail=function(n){var i=this;n===void 0&&(n=null);var c=this.thumbnail.getDomElement();n==null?c.css({"background-image":null,display:null,width:null,height:null}):this.thumbnailImageLoader.load(n.url,function(m,$,P){n.x!==void 0?c.css(i.thumbnailCssSprite(n,$,P)):c.css(i.thumbnailCssSingleImage(n,$,P))})},u.prototype.thumbnailCssSprite=function(n,i,c){var m=i/n.width,$=c/n.height,P=n.x/n.width,t=n.y/n.height,_=100*m,a=100*$,r=100*P,o=100*t,l=1/n.width*n.height;return{display:"inherit","background-image":"url(".concat(n.url,")"),"padding-bottom":"".concat(100*l,"%"),"background-size":"".concat(_,"% ").concat(a,"%"),"background-position":"-".concat(r,"% -").concat(o,"%")}},u.prototype.thumbnailCssSingleImage=function(n,i,c){var m=1/i*c;return{display:"inherit","background-image":"url(".concat(n.url,")"),"padding-bottom":"".concat(100*m,"%"),"background-size":"100% 100%","background-position":"0 0"}},u.prototype.release=function(){H.prototype.release.call(this),this.uiManager.onSeekPreview.unsubscribe(this.handleSeekPreview)},u})(Lf.Container);ro.SeekBarLabel=O$});var Js=nt(ao=>{"use strict";var L$=ao&&ao.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ao,"__esModule",{value:!0});ao.PlaybackToggleButton=void 0;var D$=ci(),Bf=oi(),Uf=yt(),Dx=ao.PlaybackToggleButton=(function(H){L$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-playbacktogglebutton",text:Uf.i18n.getLocalizer("play"),onAriaLabel:Uf.i18n.getLocalizer("pause"),offAriaLabel:Uf.i18n.getLocalizer("play")},i.config),i.isPlayInitiated=!1,i}return u.prototype.configure=function(n,i,c){var m=this;c===void 0&&(c=!0),H.prototype.configure.call(this,n,i),typeof i.getConfig().enterFullscreenOnInitialPlayback=="boolean"&&(this.config.enterFullscreenOnInitialPlayback=i.getConfig().enterFullscreenOnInitialPlayback);var $=!1,P=!0,t=function(){$||(n.isPlaying()||m.isPlayInitiated?m.on():m.off())};n.on(n.exports.PlayerEvent.Play,function(o){m.isPlayInitiated=!0,P=!1,t()}),n.on(n.exports.PlayerEvent.Paused,function(o){m.isPlayInitiated=!1,t()}),n.on(n.exports.PlayerEvent.Playing,function(o){m.isPlayInitiated=!1,t()}),n.on(n.exports.PlayerEvent.SourceLoaded,t),i.getConfig().events.onUpdated.subscribe(t),n.on(n.exports.PlayerEvent.SourceUnloaded,t),n.on(n.exports.PlayerEvent.PlaybackFinished,t),n.on(n.exports.PlayerEvent.CastStarted,t),n.on(n.exports.PlayerEvent.Warning,function(o){o.code===n.exports.WarningCode.PLAYBACK_COULD_NOT_BE_STARTED&&(m.isPlayInitiated=!1,P=!0,m.off())});var _=function(){var o=n.isLive()&&!Bf.PlayerUtils.isTimeShiftAvailable(n);o?m.getDomElement().addClass(m.prefixCss(u.CLASS_STOPTOGGLE)):m.getDomElement().removeClass(m.prefixCss(u.CLASS_STOPTOGGLE))},a=new Bf.PlayerUtils.TimeShiftAvailabilityDetector(n),r=new Bf.PlayerUtils.LiveStreamDetector(n,i);a.onTimeShiftAvailabilityChanged.subscribe(function(){return _()}),r.onLiveChanged.subscribe(function(){return _()}),a.detect(),r.detect(),c&&this.onClick.subscribe(function(){n.isPlaying()||m.isPlayInitiated?n.pause("ui"):(n.play("ui"),P&&m.config.enterFullscreenOnInitialPlayback&&n.setViewMode(n.exports.ViewMode.Fullscreen))}),i.onSeek.subscribe(function(){$=!0}),i.onSeeked.subscribe(function(){$=!1}),t()},u.CLASS_STOPTOGGLE="stoptoggle",u})(D$.ToggleButton)});var Zs=nt(oo=>{"use strict";var N$=oo&&oo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(oo,"__esModule",{value:!0});oo.VolumeToggleButton=void 0;var B$=ci(),o3=yt(),U$=(function(H){N$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this,c={cssClass:"ui-volumetogglebutton",text:o3.i18n.getLocalizer("settings.audio.mute"),onClass:"muted",offClass:"unmuted",ariaLabel:o3.i18n.getLocalizer("settings.audio.mute")};return i.config=i.mergeConfig(n,c,i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=i.getConfig().volumeController;m.onChanged.subscribe(function($,P){P.muted?c.on():c.off();var t=Math.ceil(P.volume/10);c.getDomElement().data(c.prefixCss("volume-level-tens"),String(t))}),this.onClick.subscribe(function(){m.toggleMuted()}),m.onChangedEvent()},u})(B$.ToggleButton);oo.VolumeToggleButton=U$});var eu=nt(so=>{"use strict";var F$=so&&so.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(so,"__esModule",{value:!0});so.VolumeSlider=void 0;var H$=Qs(),Ff=yt(),j$=(function(H){F$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.updateVolumeWhileScrubbing=function(c,m){m.scrubbing&&i.volumeTransition&&i.volumeTransition.update(m.position)},i.config=i.mergeConfig(n,{cssClass:"ui-volumeslider",hideIfVolumeControlProhibited:!0,ariaLabel:Ff.i18n.getLocalizer("settings.audio.volume"),tabIndex:0},i.config),i}return u.prototype.setVolumeAriaSliderValues=function(n){this.getDomElement().attr("aria-valuenow",Math.ceil(n).toString()),this.getDomElement().attr("aria-valuetext","".concat(Ff.i18n.performLocalization(Ff.i18n.getLocalizer("seekBar.value")),": ").concat(Math.ceil(n)))},u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i,!1),this.setAriaSliderMinMax("0","100");var m=this.getConfig(),$=i.getConfig().volumeController;if(m.hideIfVolumeControlProhibited&&!this.detectVolumeControlAvailability()){this.hide();return}$.onChanged.subscribe(function(P,t){t.muted?(c.setVolumeAriaSliderValues(0),c.setPlaybackPosition(0)):(c.setPlaybackPosition(t.volume),c.setVolumeAriaSliderValues(t.volume))}),this.onSeek.subscribe(function(){c.volumeTransition=$.startTransition()}),this.onSeekPreview.subscribeRateLimited(this.updateVolumeWhileScrubbing,50),this.onSeeked.subscribe(function(P,t){c.volumeTransition&&c.volumeTransition.finish(t)}),n.on(n.exports.PlayerEvent.PlayerResized,function(){c.refreshPlaybackPosition()}),i.onConfigured.subscribe(function(){c.refreshPlaybackPosition()}),i.getConfig().events.onUpdated.subscribe(function(){c.refreshPlaybackPosition()}),i.onComponentShow.subscribe(function(){c.refreshPlaybackPosition()}),i.onComponentHide.subscribe(function(){c.refreshPlaybackPosition()}),$.onChangedEvent()},u.prototype.detectVolumeControlAvailability=function(){var n=document.createElement("video");return n.volume=.7,n.volume!==1},u.prototype.release=function(){H.prototype.release.call(this),this.onSeekPreview.unsubscribe(this.updateVolumeWhileScrubbing)},u})(H$.SeekBar);so.VolumeSlider=j$});var $l=nt(uo=>{"use strict";var V$=uo&&uo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(uo,"__esModule",{value:!0});uo.PictureInPictureToggleButton=void 0;var G$=ci(),W$=yt(),q$=(function(H){V$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-piptogglebutton",text:W$.i18n.getLocalizer("pictureInPicture")},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=function(){return n.isViewModeAvailable(n.exports.ViewMode.PictureInPicture)},$=function(){n.getViewMode()===n.exports.ViewMode.PictureInPicture?c.on():c.off()},P=function(){m()?c.show():c.hide()};n.on(n.exports.PlayerEvent.ViewModeChanged,$),n.exports.PlayerEvent.ViewModeAvailabilityChanged&&n.on(n.exports.PlayerEvent.ViewModeAvailabilityChanged,P),i.getConfig().events.onUpdated.subscribe(P),this.onClick.subscribe(function(){if(!m()){console&&console.log("PIP unavailable");return}var t=n.getViewMode()===n.exports.ViewMode.PictureInPicture?n.exports.ViewMode.Inline:n.exports.ViewMode.PictureInPicture;n.setViewMode(t)}),P(),$()},u})(G$.ToggleButton);uo.PictureInPictureToggleButton=q$});var Tl=nt(lo=>{"use strict";var K$=lo&&lo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(lo,"__esModule",{value:!0});lo.AirPlayToggleButton=void 0;var z$=ci(),Y$=yt(),X$=(function(H){K$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-airplaytogglebutton",text:Y$.i18n.getLocalizer("appleAirplay")},i.config),i}return u.prototype.configure=function(n,i){var c=this;if(H.prototype.configure.call(this,n,i),!n.isAirplayAvailable){this.hide();return}this.onClick.subscribe(function(){n.isAirplayAvailable()?n.showAirplayTargetPicker():console&&console.log("AirPlay unavailable")});var m=function(){n.isAirplayAvailable()?c.show():c.hide()},$=function(){n.isAirplayActive()?c.on():c.off()};n.on(n.exports.PlayerEvent.AirplayAvailable,m),n.on(n.exports.PlayerEvent.AirplayChanged,$),m(),$()},u})(z$.ToggleButton);lo.AirPlayToggleButton=X$});var El=nt(co=>{"use strict";var Q$=co&&co.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(co,"__esModule",{value:!0});co.CastToggleButton=void 0;var J$=ci(),Z$=yt(),e5=(function(H){Q$(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-casttogglebutton",text:Z$.i18n.getLocalizer("googleCast")},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.onClick.subscribe(function(){n.isCastAvailable()?n.isCasting()?n.castStop():n.castVideo():console&&console.log("Cast unavailable")});var m=function(){n.isCastAvailable()?c.show():c.hide()};n.on(n.exports.PlayerEvent.CastAvailable,m),n.on(n.exports.PlayerEvent.CastWaitingForDevice,function(){c.on()}),n.on(n.exports.PlayerEvent.CastStarted,function(){c.on()}),n.on(n.exports.PlayerEvent.CastStopped,function(){c.off()}),m(),n.isCasting()&&this.on()},u})(J$.ToggleButton);co.CastToggleButton=e5});var Al=nt(fo=>{"use strict";var t5=fo&&fo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(fo,"__esModule",{value:!0});fo.VRToggleButton=void 0;var n5=ci(),i5=yt(),r5=(function(H){t5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-vrtogglebutton",text:i5.i18n.getLocalizer("vr")},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=function(){var _=n.getSource();return _&&!!_.vr},$=function(){var _=n.getSource();return n.vr&&!!_.vr},P=function(_){_.type===n.exports.PlayerEvent.Warning&&_.code!==n.exports.WarningCode.VR_RENDERING_ERROR||(m()&&$()?(c.show(),n.vr&&n.vr.getStereo()?c.on():c.off()):c.hide())},t=function(){m()?c.show():c.hide()};n.on(n.exports.PlayerEvent.VRStereoChanged,P),n.on(n.exports.PlayerEvent.Warning,P),n.on(n.exports.PlayerEvent.SourceUnloaded,t),i.getConfig().events.onUpdated.subscribe(t),this.onClick.subscribe(function(){$()?n.vr&&n.vr.getStereo()?n.vr.setStereo(!1):n.vr.setStereo(!0):console&&console.log("No VR content")}),t()},u})(n5.ToggleButton);fo.VRToggleButton=r5});var Pl=nt(ho=>{"use strict";var a5=ho&&ho.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ho,"__esModule",{value:!0});ho.SettingsToggleButton=void 0;var o5=ci(),s5=Lr(),u5=ur(),l5=yt(),c5=(function(H){a5(u,H);function u(n){var i=H.call(this,n)||this;if(i.visibleSettingsPanels=[],!n.settingsPanel)throw new Error("Required SettingsPanel is missing");return i.config=i.mergeConfig(n,{cssClass:"ui-settingstogglebutton",text:l5.i18n.getLocalizer("settings"),settingsPanel:null,autoHideWhenNoActiveSettings:!0,role:"pop-up button"},i.config),i.getDomElement().attr("aria-owns",n.settingsPanel.getActivePage().getConfig().id),i.getDomElement().attr("aria-haspopup","true"),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig(),$=m.settingsPanel;if(this.onClick.subscribe(function(){$.isShown()||c.visibleSettingsPanels.slice().forEach(function(t){return t.hide()}),$.toggleHidden()}),$.onShow.subscribe(function(){c.on()}),$.onHide.subscribe(function(){c.off()}),i.onComponentShow.subscribe(function(t){t instanceof s5.SettingsPanel&&(c.visibleSettingsPanels.push(t),t.onHide.subscribeOnce(function(){return u5.ArrayUtils.remove(c.visibleSettingsPanels,t)}))}),m.autoHideWhenNoActiveSettings){var P=function(){$.rootPageHasActiveSettings()?c.isHidden()&&c.show():c.isShown()&&c.hide()};$.onSettingsStateChanged.subscribe(P),P()}},u})(o5.ToggleButton);ho.SettingsToggleButton=c5});var Il=nt(_o=>{"use strict";var d5=_o&&_o.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(_o,"__esModule",{value:!0});_o.FullscreenToggleButton=void 0;var f5=ci(),h5=yt(),_5=(function(H){d5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-fullscreentogglebutton",text:h5.i18n.getLocalizer("fullscreen")},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=function(){return n.isViewModeAvailable(n.exports.ViewMode.Fullscreen)},$=function(){n.getViewMode()===n.exports.ViewMode.Fullscreen?c.on():c.off()},P=function(){m()?c.show():c.hide()};n.on(n.exports.PlayerEvent.ViewModeChanged,$),n.exports.PlayerEvent.ViewModeAvailabilityChanged&&n.on(n.exports.PlayerEvent.ViewModeAvailabilityChanged,P),i.getConfig().events.onUpdated.subscribe(P),this.onClick.subscribe(function(){if(!m()){console&&console.log("Fullscreen unavailable");return}var t=n.getViewMode()===n.exports.ViewMode.Fullscreen?n.exports.ViewMode.Inline:n.exports.ViewMode.Fullscreen;n.setViewMode(t)}),P(),$()},u})(f5.ToggleButton);_o.FullscreenToggleButton=_5});var Cl=nt(po=>{"use strict";var p5=po&&po.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(po,"__esModule",{value:!0});po.BufferingOverlay=void 0;var v5=Zt(),Hf=Bn(),g5=Wi(),m5=(function(H){p5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.indicators=[new Hf.Component({tag:"div",cssClass:"ui-buffering-overlay-indicator",role:"img"}),new Hf.Component({tag:"div",cssClass:"ui-buffering-overlay-indicator",role:"img"}),new Hf.Component({tag:"div",cssClass:"ui-buffering-overlay-indicator",role:"img"})],i.config=i.mergeConfig(n,{cssClass:"ui-buffering-overlay",hidden:!0,components:i.indicators,showDelayMs:1e3},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig(),$=new g5.Timeout(m.showDelayMs,function(){c.show()}),P=function(){$.start()},t=function(){$.clear(),c.hide()};n.on(n.exports.PlayerEvent.StallStarted,P),n.on(n.exports.PlayerEvent.StallEnded,t),n.on(n.exports.PlayerEvent.Play,P),n.on(n.exports.PlayerEvent.Playing,t),n.on(n.exports.PlayerEvent.Paused,t),n.on(n.exports.PlayerEvent.Seek,P),n.on(n.exports.PlayerEvent.Seeked,t),n.on(n.exports.PlayerEvent.TimeShift,P),n.on(n.exports.PlayerEvent.TimeShifted,t),n.on(n.exports.PlayerEvent.SourceUnloaded,t),n.isStalled()&&this.show()},u})(v5.Container);po.BufferingOverlay=m5});var jf=nt(vo=>{"use strict";var y5=vo&&vo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(vo,"__esModule",{value:!0});vo.HugePlaybackToggleButton=void 0;var S5=Js(),b5=yn(),$5=yt(),T5=(function(H){y5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-hugeplaybacktogglebutton",text:$5.i18n.getLocalizer("playPause"),role:"button"},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i,!1),typeof i.getConfig().enterFullscreenOnInitialPlayback=="boolean"&&(this.config.enterFullscreenOnInitialPlayback=i.getConfig().enterFullscreenOnInitialPlayback);var m=function(){n.isPlaying()||c.isPlayInitiated?n.pause("ui"):n.play("ui")},$=function(){n.getViewMode()===n.exports.ViewMode.Fullscreen?n.setViewMode(n.exports.ViewMode.Inline):n.setViewMode(n.exports.ViewMode.Fullscreen)},P=!0,t=0,_=0;this.onClick.subscribe(function(){if(P){m(),c.config.enterFullscreenOnInitialPlayback&&n.setViewMode(n.exports.ViewMode.Fullscreen);return}var l=Date.now();if(l-t<200){$(),_=l;return}else if(l-t<500){$(),m(),_=l;return}t=l,setTimeout(function(){Date.now()-_>200&&m()},200)}),n.on(n.exports.PlayerEvent.Play,function(){P=!1}),n.on(n.exports.PlayerEvent.Warning,function(l){l.code===n.exports.WarningCode.PLAYBACK_COULD_NOT_BE_STARTED&&(P=!0)});var a=function(){c.setTransitionAnimationsEnabled(!1),c.onToggle.subscribeOnce(function(){c.setTransitionAnimationsEnabled(!0)})};a();var r=n.getConfig().playback&&!!n.getConfig().playback.autoplay,o=!n.getSource()&&r;(n.isPlaying()||o)&&(this.on(),a(),n.on(n.exports.PlayerEvent.Warning,function(l){l.code===n.exports.WarningCode.PLAYBACK_COULD_NOT_BE_STARTED&&a()}))},u.prototype.toDomElement=function(){var n=H.prototype.toDomElement.call(this);return n.append(new b5.DOM("div",{class:this.prefixCss("image")})),n},u.prototype.setTransitionAnimationsEnabled=function(n){var i=this.prefixCss("no-transition-animations");n?this.getDomElement().removeClass(i):this.getDomElement().hasClass(i)||this.getDomElement().addClass(i)},u})(S5.PlaybackToggleButton);vo.HugePlaybackToggleButton=T5});var xl=nt(go=>{"use strict";var E5=go&&go.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(go,"__esModule",{value:!0});go.PlaybackToggleOverlay=void 0;var A5=Zt(),P5=jf(),I5=(function(H){E5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.playbackToggleButton=new P5.HugePlaybackToggleButton({enterFullscreenOnInitialPlayback:!!n.enterFullscreenOnInitialPlayback}),i.config=i.mergeConfig(n,{cssClass:"ui-playbacktoggle-overlay",components:[i.playbackToggleButton]},i.config),i}return u})(A5.Container);go.PlaybackToggleOverlay=I5});var Ml=nt(mo=>{"use strict";var C5=mo&&mo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(mo,"__esModule",{value:!0});mo.CastStatusOverlay=void 0;var x5=Zt(),M5=li(),s3=yt(),k5=(function(H){C5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.statusLabel=new M5.Label({cssClass:"ui-cast-status-label"}),i.config=i.mergeConfig(n,{cssClass:"ui-cast-status-overlay",components:[i.statusLabel],hidden:!0},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),n.on(n.exports.PlayerEvent.CastWaitingForDevice,function(m){c.show();var $=m.castPayload.deviceName;c.statusLabel.setText(s3.i18n.getLocalizer("connectingTo",{castDeviceName:$}))}),n.on(n.exports.PlayerEvent.CastStarted,function(m){c.show();var $=m.deviceName;c.statusLabel.setText(s3.i18n.getLocalizer("playingOn",{castDeviceName:$}))}),n.on(n.exports.PlayerEvent.CastStopped,function(m){c.hide()})},u})(x5.Container);mo.CastStatusOverlay=k5});var wl=nt(Qi=>{"use strict";var w5=Qi&&Qi.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Qi,"__esModule",{value:!0});Qi.MetadataLabel=Qi.MetadataLabelContent=void 0;var R5=li(),kl;(function(H){H[H.Title=0]="Title",H[H.Description=1]="Description"})(kl=Qi.MetadataLabelContent||(Qi.MetadataLabelContent={}));var O5=(function(H){w5(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClasses:["label-metadata","label-metadata-"+kl[n.content].toLowerCase()]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig(),$=i.getConfig(),P=function(){switch(m.content){case kl.Title:c.setText($.metadata.title);break;case kl.Description:c.setText($.metadata.description);break}},t=function(){c.setText(null)};P(),n.on(n.exports.PlayerEvent.SourceUnloaded,t),i.getConfig().events.onUpdated.subscribe(P)},u})(R5.Label);Qi.MetadataLabel=O5});var Rl=nt(So=>{"use strict";var L5=So&&So.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(So,"__esModule",{value:!0});So.TitleBar=void 0;var D5=Zt(),yo=wl(),N5=(function(H){L5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-titlebar",hidden:!0,components:[new yo.MetadataLabel({content:yo.MetadataLabelContent.Title}),new yo.MetadataLabel({content:yo.MetadataLabelContent.Description})],keepHiddenWithoutMetadata:!1},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);for(var m=this.getConfig(),$=!this.isHidden(),P=!0,t=function(){P=!1;for(var o=0,l=c.getComponents();o<l.length;o++){var d=l[o];if(d instanceof yo.MetadataLabel&&!d.isEmpty()){P=!0;break}}c.isShown()?m.keepHiddenWithoutMetadata&&!P&&c.hide():$&&c.show()},_=0,a=this.getComponents();_<a.length;_++){var r=a[_];r instanceof yo.MetadataLabel&&r.onTextChanged.subscribe(t)}i.onControlsShow.subscribe(function(){$=!0,m.keepHiddenWithoutMetadata&&!P||c.show()}),i.onControlsHide.subscribe(function(){$=!1,c.hide()}),t()},u})(D5.Container);So.TitleBar=N5});var Vf=nt(bo=>{"use strict";var B5=bo&&bo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(bo,"__esModule",{value:!0});bo.HugeReplayButton=void 0;var U5=si(),F5=yn(),H5=yt(),j5=(function(H){B5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-hugereplaybutton",text:H5.i18n.getLocalizer("replay")},i.config),i}return u.prototype.configure=function(n,i){H.prototype.configure.call(this,n,i),this.onClick.subscribe(function(){n.play("ui")})},u.prototype.toDomElement=function(){var n=H.prototype.toDomElement.call(this);return n.append(new F5.DOM("div",{class:this.prefixCss("image")})),n},u})(U5.Button);bo.HugeReplayButton=j5});var Ol=nt(To=>{"use strict";var l3=To&&To.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(To,"__esModule",{value:!0});To.RecommendationOverlay=void 0;var V5=Zt(),G5=Bn(),$o=yn(),W5=_r(),q5=Vf(),K5=(function(H){l3(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.replayButton=new q5.HugeReplayButton,i.config=i.mergeConfig(n,{cssClass:"ui-recommendation-overlay",hidden:!0,components:[i.replayButton]},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=function(){for(var P=0,t=c.getComponents().slice();P<t.length;P++){var _=t[P];_ instanceof u3&&c.removeComponent(_)}c.updateComponents(),c.getDomElement().removeClass(c.prefixCss("recommendations"))},$=function(){m();var P=i.getConfig().recommendations;if(P.length>0){for(var t=1,_=0,a=P;_<a.length;_++){var r=a[_];c.addComponent(new u3({itemConfig:r,cssClasses:["recommendation-item-"+t++]}))}c.updateComponents(),c.getDomElement().addClass(c.prefixCss("recommendations"))}};i.getConfig().events.onUpdated.subscribe($),n.on(n.exports.PlayerEvent.SourceUnloaded,function(){m(),c.hide()}),n.on(n.exports.PlayerEvent.PlaybackFinished,function(){c.show()}),n.on(n.exports.PlayerEvent.Play,function(){c.hide()}),$()},u})(V5.Container);To.RecommendationOverlay=K5;var u3=(function(H){l3(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-recommendation-item",itemConfig:null},i.config),i}return u.prototype.toDomElement=function(){var n=this.config.itemConfig,i=new $o.DOM("a",{id:this.config.id,class:this.getCssClasses(),href:n.url},this).css({"background-image":"url(".concat(n.thumbnail,")")}),c=new $o.DOM("div",{class:this.prefixCss("background")});i.append(c);var m=new $o.DOM("span",{class:this.prefixCss("title")}).append(new $o.DOM("span",{class:this.prefixCss("innertitle")}).html(n.title));i.append(m);var $=new $o.DOM("span",{class:this.prefixCss("duration")}).append(new $o.DOM("span",{class:this.prefixCss("innerduration")}).html(n.duration?W5.StringUtils.secondsToTime(n.duration):""));return i.append($),i},u})(G5.Component)});var Ll=nt(Eo=>{"use strict";var z5=Eo&&Eo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Eo,"__esModule",{value:!0});Eo.ClickOverlay=void 0;var Y5=si(),X5=(function(H){z5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-clickoverlay",role:i.config.role},i.config),i}return u.prototype.initialize=function(){H.prototype.initialize.call(this),this.setUrl(this.config.url);var n=this.getDomElement();n.on("click",function(){n.data("url")&&window.open(n.data("url"),"_blank")})},u.prototype.getUrl=function(){return this.getDomElement().data("url")},u.prototype.setUrl=function(n){(n===void 0||n==null)&&(n=""),this.getDomElement().data("url",n)},u})(Y5.Button);Eo.ClickOverlay=X5});var Dl=nt(Ao=>{"use strict";var Q5=Ao&&Ao.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ao,"__esModule",{value:!0});Ao.Watermark=void 0;var J5=Ll(),Z5=yt(),eT=(function(H){Q5(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-watermark",url:"http://bitmovin.com",role:"link",text:"logo",ariaLabel:Z5.i18n.getLocalizer("watermarkLink")},i.config),i}return u})(J5.ClickOverlay);Ao.Watermark=eT});var c3=nt(Po=>{"use strict";var tT=Po&&Po.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Po,"__esModule",{value:!0});Po.TvNoiseCanvas=void 0;var nT=Bn(),iT=yn(),rT=(function(H){tT(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.canvasWidth=160,i.canvasHeight=90,i.interferenceHeight=50,i.lastFrameUpdate=0,i.frameInterval=60,i.useAnimationFrame=!!window.requestAnimationFrame,i.config=i.mergeConfig(n,{cssClass:"ui-tvnoisecanvas"},i.config),i}return u.prototype.toDomElement=function(){return this.canvas=new iT.DOM("canvas",{class:this.getCssClasses()},this)},u.prototype.start=function(){this.canvasElement=this.canvas.get(0),this.canvasContext=this.canvasElement.getContext("2d"),this.noiseAnimationWindowPos=-this.canvasHeight,this.lastFrameUpdate=0,this.canvasElement.width=this.canvasWidth,this.canvasElement.height=this.canvasHeight,this.renderFrame()},u.prototype.stop=function(){this.useAnimationFrame?cancelAnimationFrame(this.frameUpdateHandlerId):clearTimeout(this.frameUpdateHandlerId)},u.prototype.renderFrame=function(){if(this.lastFrameUpdate+this.frameInterval>new Date().getTime()){this.scheduleNextRender();return}for(var n,i=this.canvasWidth,c=this.canvasHeight,m=this.canvasContext.createImageData(i,c),$=0;$<c;$++)for(var P=0;P<i;P++)n=i*$*4+P*4,m.data[n]=Math.random()*255,($<this.noiseAnimationWindowPos||$>this.noiseAnimationWindowPos+this.interferenceHeight)&&(m.data[n]*=.85),m.data[n+1]=m.data[n],m.data[n+2]=m.data[n],m.data[n+3]=50;this.canvasContext.putImageData(m,0,0),this.lastFrameUpdate=new Date().getTime(),this.noiseAnimationWindowPos+=7,this.noiseAnimationWindowPos>c&&(this.noiseAnimationWindowPos=-c),this.scheduleNextRender()},u.prototype.scheduleNextRender=function(){this.useAnimationFrame?this.frameUpdateHandlerId=window.requestAnimationFrame(this.renderFrame.bind(this)):this.frameUpdateHandlerId=window.setTimeout(this.renderFrame.bind(this),this.frameInterval)},u})(nT.Component);Po.TvNoiseCanvas=rT});var Gf=nt(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});tu.ErrorUtils=void 0;var aT;(function(H){H.defaultErrorMessages={1e3:"Error is unknown",1001:"The player API is not available after a call to PlayerAPI.destroy.",1100:"General setup error",1101:"There was an error when inserting the HTML video element",1102:"No configuration was provided",1103:"The license is not valid",1104:"The the domain-locked player is not authorized to playback on this domain",1105:"The domain is not allowlisted",1106:"The license server URL is invalid",1107:"The impression server URL is invalid",1108:"Could not initialize a rendering engine",1109:"The used flash version does not support playback",1110:"Native Flash is not authorized by a valid Adobe token",1111:"Flash doesn't have sufficient resources",1112:"Flash container API not available",1113:'Protocol not supported. This site has been loaded using "file" protocol, but unfortunately this is not supported. Please load the page using a web server (using http or https)',1200:"General source error",1201:"No valid source was provided",1202:"The downloaded manifest is invalid",1203:"There was no technology detected to playback the provided source",1204:"The stream type is not supported",1205:"The forced technology is not supported",1206:"No stream found for supported technologies.",1207:"The downloaded segment is empty",1208:"The manifest could not be loaded",1209:"Progressive stream type not supported or the stream has an error",1210:"HLS stream has an error",1211:"The encryption method is not supported",1300:"General playback error",1301:"Video decoder or demuxer had an error with the content",1302:"General error if Flash renderer has an error",1303:"Flash doesn't have sufficient resources",1304:"The transmuxer could not be initialized",1400:"Network error while downloading",1401:"The manifest download timed out",1402:"The segment download timed out",1403:"The progressive stream download timed out",1404:"The Certificate could not be loaded",2e3:"General DRM error",2001:"Required DRM configuration is missing",2002:"The licensing server URL is missing",2003:"License request failed",2004:"Key or KeyId is missing",2005:"Key size is not supported",2006:"Unable to instantiate a key system supporting the required combinations",2007:"Unable to create or initialize key session",2008:"The MediaKey object could not be created/initialized",2009:"Key error",2010:"The key system is not supported",2011:"The certificate is not valid",2012:"Invalid header key/value pair for PlayReady license request",2013:"Content cannot be played back because the output is restricted on this machine",2014:"DRM error for the Flash renderer",2100:"General VR error",2101:"Player technology not compatible with VR playback",3e3:"General module error",3001:"The definition of the module is invalid (e.g. incomplete).",3002:"The module definition specifies dependencies but the module is not provided via a function for deferred loading.",3003:"A module cannot be loaded because it has not been added to the player core.",3004:"A module cannot be loaded because one or more dependencies are missing.",3100:"An Advertising module error has occurred. Refer to the attached AdvertisingError."},H.defaultMobileV3ErrorMessageTranslator=function(u){return u.message},H.defaultWebErrorMessageTranslator=function(u){var n=H.defaultErrorMessages[u.code];return n?"".concat(n,`
|
|
297
|
+
(`).concat(u.name,")"):"".concat(u.code," ").concat(u.name)}})(aT=tu.ErrorUtils||(tu.ErrorUtils={}))});var Nl=nt(Io=>{"use strict";var oT=Io&&Io.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Io,"__esModule",{value:!0});Io.ErrorMessageOverlay=void 0;var sT=Zt(),uT=li(),lT=c3(),d3=Gf(),Wf=ef(),cT=(function(H){oT(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.errorLabel=new uT.Label({cssClass:"ui-errormessage-label"}),i.tvNoiseBackground=new lT.TvNoiseCanvas,i.config=i.mergeConfig(n,{cssClass:"ui-errormessage-overlay",components:[i.tvNoiseBackground,i.errorLabel],hidden:!0,role:"status"},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig(),$=function(t,_){var a=dT(i.getConfig().errorMessages||m.messages,t);a&&(_=a),c.display(_)};if((0,Wf.isMobileV3PlayerAPI)(n)){var P=function(t){var _=d3.ErrorUtils.defaultMobileV3ErrorMessageTranslator(t);$(t,_)};n.on(Wf.MobileV3PlayerEvent.PlayerError,P),n.on(Wf.MobileV3PlayerEvent.SourceError,P)}else n.on(n.exports.PlayerEvent.Error,function(t){var _=d3.ErrorUtils.defaultWebErrorMessageTranslator(t);$(t,_)});n.on(n.exports.PlayerEvent.SourceLoaded,function(t){c.isShown()&&c.clear()})},u.prototype.display=function(n){this.errorLabel.setText(n),this.tvNoiseBackground.start(),this.show()},u.prototype.clear=function(){this.errorLabel.setText(""),this.tvNoiseBackground.stop(),this.hide()},u.prototype.release=function(){H.prototype.release.call(this),this.clear()},u})(sT.Container);Io.ErrorMessageOverlay=cT;function dT(H,u){if(H){if(typeof H=="function")return H(u);if(H[u.code]){var n=H[u.code];return typeof n=="string"?n:n(u)}}}});var qf=nt(Co=>{"use strict";var fT=Co&&Co.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Co,"__esModule",{value:!0});Co.AdClickOverlay=void 0;var hT=Ll(),_T=(function(H){fT(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{acceptsTouchWithUiHidden:!0},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=null;n.on(n.exports.PlayerEvent.AdStarted,function(P){var t=P.ad;c.setUrl(t.clickThroughUrl),m=t.clickThroughUrlOpened});var $=function(){c.setUrl(null)};n.on(n.exports.PlayerEvent.AdFinished,$),n.on(n.exports.PlayerEvent.AdSkipped,$),n.on(n.exports.PlayerEvent.AdError,$),this.onClick.subscribe(function(){n.pause("ui-ad-click-overlay"),m&&m()})},u})(hT.ClickOverlay);Co.AdClickOverlay=_T});var Kf=nt(xo=>{"use strict";var pT=xo&&xo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(xo,"__esModule",{value:!0});xo.AdMessageLabel=void 0;var vT=li(),gT=_r(),f3=yt(),mT=(function(H){pT(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-label-ad-message",text:f3.i18n.getLocalizer("ads.remainingTime")},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig(),$=m.text,P=function(){c.setText(gT.StringUtils.replaceAdMessagePlaceholders(f3.i18n.performLocalization($),null,n))},t=function(a){var r=a.ad.uiConfig;$=r&&r.message||m.text,P(),n.on(n.exports.PlayerEvent.TimeChanged,P)},_=function(){n.off(n.exports.PlayerEvent.TimeChanged,P)};n.on(n.exports.PlayerEvent.AdStarted,t),n.on(n.exports.PlayerEvent.AdSkipped,_),n.on(n.exports.PlayerEvent.AdError,_),n.on(n.exports.PlayerEvent.AdFinished,_)},u})(vT.Label);xo.AdMessageLabel=mT});var zf=nt(Mo=>{"use strict";var yT=Mo&&Mo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Mo,"__esModule",{value:!0});Mo.AdSkipButton=void 0;var ST=si(),bT=_r(),$T=(function(H){yT(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-button-ad-skip",untilSkippableMessage:"Skip ad in {remainingTime}",skippableMessage:"Skip ad",acceptsTouchWithUiHidden:!0},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig(),$=m.untilSkippableMessage,P=m.skippableMessage,t=-1,_=function(){c.show(),n.getCurrentTime()<t?(c.setText(bT.StringUtils.replaceAdMessagePlaceholders($,t,n)),c.disable()):(c.setText(P),c.enable())},a=function(o){var l=o.ad;t=l.skippableAfter,$=l.uiConfig&&l.uiConfig.untilSkippableMessage||m.untilSkippableMessage,P=l.uiConfig&&l.uiConfig.skippableMessage||m.skippableMessage,typeof t=="number"&&t>=0?(_(),n.on(n.exports.PlayerEvent.TimeChanged,_)):c.hide()},r=function(){n.off(n.exports.PlayerEvent.TimeChanged,_)};n.on(n.exports.PlayerEvent.AdStarted,a),n.on(n.exports.PlayerEvent.AdSkipped,r),n.on(n.exports.PlayerEvent.AdError,r),n.on(n.exports.PlayerEvent.AdFinished,r),this.onClick.subscribe(function(){n.ads.skip()})},u})(ST.Button);Mo.AdSkipButton=$T});var Yf=nt(ko=>{"use strict";var TT=ko&&ko.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(ko,"__esModule",{value:!0});ko.CloseButton=void 0;var ET=si(),AT=yt(),PT=(function(H){TT(u,H);function u(n){var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-closebutton",text:AT.i18n.getLocalizer("close")},i.config),i}return u.prototype.configure=function(n,i){H.prototype.configure.call(this,n,i);var c=this.getConfig();this.onClick.subscribe(function(){c.target.hide()})},u})(ET.Button);ko.CloseButton=PT});var Xf=nt(wo=>{"use strict";var IT=wo&&wo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(wo,"__esModule",{value:!0});wo.CastUIContainer=void 0;var CT=ha(),xT=Wi(),MT=(function(H){IT(u,H);function u(n){return H.call(this,n)||this}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getConfig(),$=!1,P=function(){i.onControlsHide.dispatch(c),$=!1};this.castUiHideTimeout=new xT.Timeout(m.hideDelay,P);var t=function(){$||(i.onControlsShow.dispatch(c),$=!0)},_=function(){t(),c.castUiHideTimeout.clear()},a=function(){t(),c.castUiHideTimeout.start()},r=function(){n.isPlaying()?a():_()};n.on(n.exports.PlayerEvent.Play,a),n.on(n.exports.PlayerEvent.Paused,_),n.on(n.exports.PlayerEvent.Seek,_),n.on(n.exports.PlayerEvent.Seeked,r),i.getConfig().events.onUpdated.subscribe(a)},u.prototype.release=function(){H.prototype.release.call(this),this.castUiHideTimeout.clear()},u})(CT.UIContainer);wo.CastUIContainer=MT});var Bl=nt(Ro=>{"use strict";var kT=Ro&&Ro.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Ro,"__esModule",{value:!0});Ro.SubtitleListBox=void 0;var wT=ba(),RT=kf(),OT=(function(H){kT(u,H);function u(){return H!==null&&H.apply(this,arguments)||this}return u.prototype.configure=function(n,i){H.prototype.configure.call(this,n,i),new RT.SubtitleSwitchHandler(n,this,i)},u})(wT.ListBox);Ro.SubtitleListBox=OT});var Ul=nt(Oo=>{"use strict";var LT=Oo&&Oo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Oo,"__esModule",{value:!0});Oo.AudioTrackListBox=void 0;var DT=ba(),NT=ff(),BT=(function(H){LT(u,H);function u(){return H!==null&&H.apply(this,arguments)||this}return u.prototype.configure=function(n,i){H.prototype.configure.call(this,n,i),new NT.AudioTrackSwitchHandler(n,this,i)},u})(DT.ListBox);Oo.AudioTrackListBox=BT});var Hl=nt(Fl=>{"use strict";Object.defineProperty(Fl,"__esModule",{value:!0});Fl.NodeEventSubscriber=void 0;var UT=(function(){function H(){this.attachedListeners=new Map}return H.prototype.getEventListenersOfType=function(u){return this.attachedListeners.has(u)||this.attachedListeners.set(u,[]),this.attachedListeners.get(u)},H.prototype.on=function(u,n,i,c){u.addEventListener(n,i,c),this.getEventListenersOfType(n).push([u,i,c])},H.prototype.off=function(u,n,i,c){var m=this.getEventListenersOfType(n),$=m.findIndex(function(P){var t=P[0],_=P[1],a=P[2];return t===u&&_===i&&a===c});u.removeEventListener(n,i,c),$>-1&&m.splice($,1)},H.prototype.release=function(){var u=this;this.attachedListeners.forEach(function(n,i){n.forEach(function(c){var m=c[0],$=c[1],P=c[2];u.off(m,i,$,P)})}),this.attachedListeners.clear()},H})();Fl.NodeEventSubscriber=UT});var vr=nt(pr=>{"use strict";Object.defineProperty(pr,"__esModule",{value:!0});pr.Action=pr.Direction=void 0;var FT;(function(H){H.UP="up",H.DOWN="down",H.LEFT="left",H.RIGHT="right"})(FT=pr.Direction||(pr.Direction={}));var HT;(function(H){H.SELECT="select",H.BACK="back"})(HT=pr.Action||(pr.Action={}))});var Qf=nt(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.getBoundingRectFromElement=Lo.getElementInDirection=void 0;var jl=vr();function Vl(H){return Math.sqrt(Math.pow(H.x,2)+Math.pow(H.y,2))}function jT(H){var u=Vl(H);return{x:H.x/u,y:H.y/u}}function VT(H,u){return H.x*u.x+H.y*u.y}function GT(H,u){return Vl({x:u.x-H.x,y:u.y-H.y})}function h3(H){var u=_3(H);return{x:u.x+u.width/2,y:u.y+u.height/2}}function WT(H,u,n){var i={x:n===jl.Direction.LEFT?-1:n===jl.Direction.RIGHT?1:0,y:n===jl.Direction.UP?-1:n===jl.Direction.DOWN?1:0},c=jT({x:u.x-H.x,y:u.y-H.y}),m=VT(i,c)/(Vl(i)*Vl(c));return Math.acos(m)*180/Math.PI}function qT(H,u,n){var i;if(H){var c=45,m=h3(H);return(i=u.filter(function($){return $!==H}).map(function($){var P=h3($),t=GT(m,P),_=WT(m,P,n);return{angle:_,dist:t,element:$}}).filter(function($){var P=$.angle;return P<=c}).sort(function($,P){var t=$.angle,_=$.dist,a=P.angle,r=P.dist;return t-a+(_-r)}).shift())===null||i===void 0?void 0:i.element}}Lo.getElementInDirection=qT;function _3(H){var u=H.getBoundingClientRect();return typeof u.x!="number"&&typeof u.y!="number"&&(u.x=u.left,u.y=u.top),u}Lo.getBoundingRectFromElement=_3});var g3=nt(Gl=>{"use strict";Object.defineProperty(Gl,"__esModule",{value:!0});Gl.SeekBarHandler=void 0;var KT=Hl(),nu=vr(),zT=Qf(),p3=.005,YT=100,XT=1.1,QT=(function(){function H(u){var n=this;this.rootNavigationGroup=u,this.cursorPosition={x:0,y:0},this.isScrubbing=!1,this.scrubSpeedPercentage=p3,this.onNavigation=function(i,c,m){if(v3(c)){if(i===nu.Direction.UP||i===nu.Direction.DOWN){n.stopSeeking(Jf(c));return}n.initializeOrUpdateCursorPosition(c,i),n.dispatchMouseMoveEvent(Jf(c)),m()}},this.onAction=function(i,c,m){if(v3(c)){var $=Jf(c);i===nu.Action.SELECT&&n.isScrubbing?(n.dispatchMouseClickEvent($),m()):i===nu.Action.BACK&&(n.stopSeeking($),m())}},this.rootNavigationGroup.onAction=this.onAction,this.eventSubscriber=new KT.NodeEventSubscriber,this.rootNavigationGroup.onNavigation=this.onNavigation}return H.prototype.updateScrubSpeedPercentage=function(){var u=this;clearTimeout(this.scrubSpeedResetTimeout),this.scrubSpeedPercentage*=XT,this.scrubSpeedResetTimeout=window.setTimeout(function(){return u.scrubSpeedPercentage=p3},YT)},H.prototype.getIncrement=function(u,n){this.updateScrubSpeedPercentage();var i=n.getBoundingClientRect().width,c=i*this.scrubSpeedPercentage;return u===nu.Direction.RIGHT?c:-c},H.prototype.resetCursorPosition=function(){this.cursorPosition.x=0,this.cursorPosition.y=0},H.prototype.updateCursorPosition=function(u,n){this.cursorPosition.x+=this.getIncrement(u,n)},H.prototype.initializeCursorPosition=function(u){var n=JT(u),i=(0,zT.getBoundingRectFromElement)(n),c=i.x+i.width/2,m=i.y;this.cursorPosition.x=c,this.cursorPosition.y=m},H.prototype.initializeOrUpdateCursorPosition=function(u,n){this.isScrubbing?this.updateCursorPosition(n,u):this.initializeCursorPosition(u),this.isScrubbing=!0},H.prototype.getCursorPositionMouseEventInit=function(){return{clientX:this.cursorPosition.x,clientY:this.cursorPosition.y}},H.prototype.dispatchMouseMoveEvent=function(u){u.dispatchEvent(new MouseEvent("mousemove",this.getCursorPositionMouseEventInit()))},H.prototype.dispatchMouseClickEvent=function(u){var n=this,i=function(){var c=n.getCursorPositionMouseEventInit();document.dispatchEvent(new MouseEvent("mouseup",c)),n.eventSubscriber.off(u,"mousedown",i),n.stopSeeking(u)};this.eventSubscriber.on(u,"mousedown",i),u.dispatchEvent(new MouseEvent("mousedown"))},H.prototype.stopSeeking=function(u){this.resetCursorPosition(),this.isScrubbing=!1,this.dispatchMouseLeaveEvent(u)},H.prototype.dispatchMouseLeaveEvent=function(u){u.dispatchEvent(new MouseEvent("mouseleave"))},H.prototype.release=function(){this.eventSubscriber.release(),this.rootNavigationGroup.onAction=void 0,this.rootNavigationGroup.onNavigation=void 0},H})();Gl.SeekBarHandler=QT;function v3(H){return Array.from(H.classList).findIndex(function(u){return/-ui-seekbar$/.test(u)})>-1}function Jf(H){return H.children.item(0)}function JT(H){return H.querySelector('[class*="seekbar-playbackposition-marker"]')}});var m3=nt(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.getKeyMapForPlatform=void 0;var Lt=vr(),iu=lr(),ZT={isApplicable:function(){return iu.BrowserUtils.isTizen},keyCodes:{38:Lt.Direction.UP,40:Lt.Direction.DOWN,37:Lt.Direction.LEFT,39:Lt.Direction.RIGHT,13:Lt.Action.SELECT,10009:Lt.Action.BACK}},eE={isApplicable:function(){return iu.BrowserUtils.isWebOs},keyCodes:{38:Lt.Direction.UP,40:Lt.Direction.DOWN,37:Lt.Direction.LEFT,39:Lt.Direction.RIGHT,13:Lt.Action.SELECT,461:Lt.Action.BACK}},tE={isApplicable:function(){return iu.BrowserUtils.isPlayStation},keyCodes:{38:Lt.Direction.UP,40:Lt.Direction.DOWN,37:Lt.Direction.LEFT,39:Lt.Direction.RIGHT,13:Lt.Action.SELECT,27:Lt.Action.BACK}},nE={isApplicable:function(){return iu.BrowserUtils.isAndroid},keyCodes:{38:Lt.Direction.UP,40:Lt.Direction.DOWN,37:Lt.Direction.LEFT,39:Lt.Direction.RIGHT,13:Lt.Action.SELECT,27:Lt.Action.BACK}},iE={isApplicable:function(){return iu.BrowserUtils.isHisense},keyCodes:{38:Lt.Direction.UP,40:Lt.Direction.DOWN,37:Lt.Direction.LEFT,39:Lt.Direction.RIGHT,13:Lt.Action.SELECT,8:Lt.Action.BACK}},rE={38:Lt.Direction.UP,40:Lt.Direction.DOWN,37:Lt.Direction.LEFT,39:Lt.Direction.RIGHT,13:Lt.Action.SELECT,27:Lt.Action.BACK};function aE(){var H=[eE,ZT,tE,iE,nE].find(function(u){return u.isApplicable()});return H?H.keyCodes:rE}Wl.getKeyMapForPlatform=aE});var ql=nt(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.isAction=zn.isDirection=zn.isListBox=zn.isContainer=zn.isComponent=zn.isSettingsPanel=void 0;var oE=Bn(),sE=Lr(),uE=Zt(),lE=ba(),y3=vr();function cE(H){return H instanceof sE.SettingsPanel}zn.isSettingsPanel=cE;function dE(H){return H!=null&&H instanceof oE.Component}zn.isComponent=dE;function fE(H){return H!=null&&H instanceof uE.Container}zn.isContainer=fE;function hE(H){return H instanceof lE.ListBox}zn.isListBox=hE;function _E(H){return typeof H=="string"&&Object.values(y3.Direction).includes(H)}zn.isDirection=_E;function pE(H){return typeof H=="string"&&Object.values(y3.Action).includes(H)}zn.isAction=pE});var Zf=nt(Do=>{"use strict";var vE=Do&&Do.__spreadArray||function(H,u,n){if(n||arguments.length===2)for(var i=0,c=u.length,m;i<c;i++)(m||!(i in u))&&(m||(m=Array.prototype.slice.call(u,0,i)),m[i]=u[i]);return H.concat(m||Array.prototype.slice.call(u))};Object.defineProperty(Do,"__esModule",{value:!0});Do.SpatialNavigation=void 0;var gE=Hl(),mE=g3(),yE=m3(),S3=ql(),SE=(function(){function H(u){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var c=this;this.navigationGroups=[],this.onShow=function(m){c.activeNavigationGroups.push(m),c.updateEnabledNavigationGroup()},this.onHide=function(m){var $=c.activeNavigationGroups.findIndex(function(P){return P===m});$>-1&&(m.disable(),c.activeNavigationGroups.splice($,1),c.updateEnabledNavigationGroup())},this.handleKeyEvent=function(m){var $=c.keyMap[bE(m)],P=c.getActiveNavigationGroup();!P||!P.container||P.container.isHidden()||P.container.isDisabled()||((0,S3.isDirection)($)&&(P.handleNavigation($),m.preventDefault(),m.stopPropagation()),(0,S3.isAction)($)&&(P.handleAction($),m.preventDefault(),m.stopPropagation()))},this.seekBarHandler=new mE.SeekBarHandler(u),this.activeNavigationGroups=[],this.unsubscribeVisibilityChangesFns=[],this.eventSubscriber=new gE.NodeEventSubscriber,this.navigationGroups=vE([u],n,!0),this.keyMap=(0,yE.getKeyMapForPlatform)(),this.subscribeToNavigationGroupVisibilityChanges(),this.attachKeyEventHandler(),this.enableDefaultNavigationGroup()}return H.prototype.attachKeyEventHandler=function(){this.eventSubscriber.on(document,"keydown",this.handleKeyEvent,!0)},H.prototype.subscribeToNavigationGroupVisibilityChanges=function(){var u=this;this.navigationGroups.forEach(function(n){var i=function(){return u.onShow(n)},c=function(){return u.onHide(n)};n.container.onShow.subscribe(i),n.container.onHide.subscribe(c),u.unsubscribeVisibilityChangesFns.push(function(){return n.container.onShow.unsubscribe(i)},function(){return n.container.onHide.unsubscribe(c)})})},H.prototype.unsubscribeFromNavigationGroupVisibilityChanges=function(){this.unsubscribeVisibilityChangesFns.forEach(function(u){return u()}),this.unsubscribeVisibilityChangesFns=[]},H.prototype.enableDefaultNavigationGroup=function(){var u,n=function(c){return c.container.isShown()},i=(u=this.navigationGroups.find(n))!==null&&u!==void 0?u:this.navigationGroups[0];i&&(this.activeNavigationGroups.push(i),this.updateEnabledNavigationGroup())},H.prototype.updateEnabledNavigationGroup=function(){var u=this;this.activeNavigationGroups.forEach(function(n,i){i<u.activeNavigationGroups.length-1?n.disable():n.enable()})},H.prototype.getActiveNavigationGroup=function(){return this.activeNavigationGroups[this.activeNavigationGroups.length-1]},H.prototype.release=function(){this.unsubscribeFromNavigationGroupVisibilityChanges(),this.eventSubscriber.release(),this.navigationGroups.forEach(function(u){return u.release()}),this.seekBarHandler.release()},H})();Do.SpatialNavigation=SE;function bE(H){return H.keyCode}});var $3=nt(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.getHtmlElementsFromComponents=void 0;var $E=Zt(),eh=ql();function b3(H){var u=[];return H.getComponents().forEach(function(n){(0,eh.isContainer)(n)?u.push.apply(u,b3(n)):(0,eh.isComponent)(n)&&u.push(n)}),u}function TE(H){return(0,eh.isListBox)(H)?[].slice.call(H.getDomElement().get()[0].children):H.getDomElement().get().slice(0,1)}function EE(H){var u=[];return H.filter(function(n){return!n.isHidden()}).forEach(function(n){var i=n instanceof $E.Container?b3(n):[n];i.forEach(function(c){u.push.apply(u,TE(c))})}),u}Kl.getHtmlElementsFromComponents=EE});var Yl=nt(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});zl.NavigationGroup=void 0;var AE=Qf(),th=$3(),PE=Hl(),IE=ql(),T3=vr(),CE=(function(){function H(u){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];this.container=u,this.removeElementHoverEventListeners=function(){},this.components=n,this.eventSubscriber=new PE.NodeEventSubscriber}return H.prototype.getActiveElement=function(){return this.activeElement},H.prototype.focusElement=function(u){this.blurActiveElement(),this.activeElement=u,this.activeElement.focus()},H.prototype.blurActiveElement=function(){var u;(u=this.activeElement)===null||u===void 0||u.blur()},H.prototype.focusFirstElement=function(){var u=(0,th.getHtmlElementsFromComponents)(this.components)[0];u&&this.focusElement(u)},H.prototype.defaultNavigationHandler=function(u){var n=(0,AE.getElementInDirection)(this.activeElement,(0,th.getHtmlElementsFromComponents)(this.components),u);n&&this.focusElement(n)},H.prototype.defaultActionHandler=function(u){switch(u){case T3.Action.SELECT:this.activeElement.click();break;case T3.Action.BACK:this.container.hide();break}},H.prototype.handleInput=function(u,n,i){var c=!0,m=function(){return c=!1};i?.(u,this.activeElement,m),c&&n.call(this,u)},H.prototype.handleNavigation=function(u){if(!this.activeElement){this.activeElementBeforeDisable?this.focusElement(this.activeElementBeforeDisable):this.focusFirstElement();return}this.handleInput(u,this.defaultNavigationHandler,this.onNavigation)},H.prototype.handleAction=function(u){this.handleInput(u,this.defaultActionHandler,this.onAction)},H.prototype.disable=function(){this.activeElement&&(this.activeElementBeforeDisable=this.activeElement,this.blurActiveElement(),this.activeElement=void 0)},H.prototype.enable=function(){this.activeElementBeforeDisable&&!(0,IE.isSettingsPanel)(this.container)?(this.focusElement(this.activeElementBeforeDisable),this.activeElementBeforeDisable=void 0):this.focusFirstElement(),this.trackElementHover()},H.prototype.trackElementHover=function(){var u=this;this.removeElementHoverEventListeners();var n=(0,th.getHtmlElementsFromComponents)(this.components).map(function(i){var c=u.focusElement.bind(u,i),m=function(){return u.disable()};return u.eventSubscriber.on(i,"mouseenter",c),u.eventSubscriber.on(i,"mouseleave",m),function(){u.eventSubscriber.off(i,"mouseenter",c),u.eventSubscriber.off(i,"mouseleave",m)}});this.removeElementHoverEventListeners=function(){return n.forEach(function(i){return i()})}},H.prototype.release=function(){this.eventSubscriber.release(),this.activeElement=void 0,this.components.splice(0,this.components.length),this.removeElementHoverEventListeners()},H})();zl.NavigationGroup=CE});var nh=nt(gr=>{"use strict";var xE=gr&&gr.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),ME=gr&&gr.__spreadArray||function(H,u,n){if(n||arguments.length===2)for(var i=0,c=u.length,m;i<c;i++)(m||!(i in u))&&(m||(m=Array.prototype.slice.call(u,0,i)),m[i]=u[i]);return H.concat(m||Array.prototype.slice.call(u))};Object.defineProperty(gr,"__esModule",{value:!0});gr.RootNavigationGroup=void 0;var kE=Yl(),wE=vr(),RE=(function(H){xE(u,H);function u(n){for(var i=[],c=1;c<arguments.length;c++)i[c-1]=arguments[c];var m=H.apply(this,ME([n],i,!1))||this;return m.container=n,m}return u.prototype.handleAction=function(n){this.container.showUi(),H.prototype.handleAction.call(this,n)},u.prototype.handleNavigation=function(n){this.container.showUi(),H.prototype.handleNavigation.call(this,n)},u.prototype.defaultActionHandler=function(n){n===wE.Action.BACK?this.container.hideUi():H.prototype.defaultActionHandler.call(this,n)},u.prototype.release=function(){H.prototype.release.call(this)},u})(kE.NavigationGroup);gr.RootNavigationGroup=RE});var rh=nt(Ei=>{"use strict";var OE=Ei&&Ei.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})(),LE=Ei&&Ei.__spreadArray||function(H,u,n){if(n||arguments.length===2)for(var i=0,c=u.length,m;i<c;i++)(m||!(i in u))&&(m||(m=Array.prototype.slice.call(u,0,i)),m[i]=u[i]);return H.concat(m||Array.prototype.slice.call(u))};Object.defineProperty(Ei,"__esModule",{value:!0});Ei.ListNavigationGroup=Ei.ListOrientation=void 0;var DE=Yl(),Br=vr(),ih;(function(H){H.Horizontal="horizontal",H.Vertical="vertical"})(ih=Ei.ListOrientation||(Ei.ListOrientation={}));var NE=(function(H){OE(u,H);function u(n,i){for(var c=[],m=2;m<arguments.length;m++)c[m-2]=arguments[m];var $=H.apply(this,LE([i],c,!1))||this;switch(n){case ih.Vertical:$.listNavigationDirections=[Br.Direction.UP,Br.Direction.DOWN];break;case ih.Horizontal:$.listNavigationDirections=[Br.Direction.LEFT,Br.Direction.RIGHT];break}return $}return u.prototype.handleAction=function(n){H.prototype.handleAction.call(this,n),n===Br.Action.SELECT&&this.handleAction(Br.Action.BACK)},u.prototype.handleNavigation=function(n){H.prototype.handleNavigation.call(this,n),this.listNavigationDirections.includes(n)||this.handleAction(Br.Action.BACK)},u})(DE.NavigationGroup);Ei.ListNavigationGroup=NE});var A3=nt(No=>{"use strict";var BE=No&&No.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(No,"__esModule",{value:!0});No.EcoModeToggleButton=void 0;var UE=ci(),E3=yt(),FE=(function(H){BE(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this,c={text:E3.i18n.getLocalizer("ecoMode"),cssClass:"ui-ecomodetogglebutton",onClass:"on",offClass:"off",ariaLabel:E3.i18n.getLocalizer("ecoMode")};return i.config=i.mergeConfig(n,c,i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.areAdaptationApisAvailable(n)?(this.onClick.subscribe(function(){c.toggle()}),this.onToggleOn.subscribe(function(){c.enableEcoMode(n),n.setVideoQuality("auto")}),this.onToggleOff.subscribe(function(){c.disableEcoMode(n)}),n.on(n.exports.PlayerEvent.VideoQualityChanged,function(m){m.targetQuality.id!=="auto"&&(c.off(),c.disableEcoMode(n))})):H.prototype.disable.call(this)},u.prototype.areAdaptationApisAvailable=function(n){var i=!!(n.adaptation.getConfig&&typeof n.adaptation.getConfig=="function"),c=!!(n.adaptation.setConfig&&typeof n.adaptation.setConfig=="function");return!!(n.adaptation&&i&&c)},u.prototype.enableEcoMode=function(n){this.adaptationConfig=n.adaptation.getConfig();var i=n.getAvailableVideoQualities()[0].codec;i.includes("avc")&&n.adaptation.setConfig({resolution:{maxSelectableVideoHeight:720},limitToPlayerSize:!0}),(i.includes("hvc")||i.includes("hev"))&&n.adaptation.setConfig({resolution:{maxSelectableVideoHeight:1080},limitToPlayerSize:!0}),(i.includes("av1")||i.includes("av01"))&&n.adaptation.setConfig({resolution:{maxSelectableVideoHeight:1440},limitToPlayerSize:!0})},u.prototype.disableEcoMode=function(n){n.adaptation.setConfig(this.adaptationConfig)},u})(UE.ToggleButton);No.EcoModeToggleButton=FE});var C3=nt(Bo=>{"use strict";var HE=Bo&&Bo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Bo,"__esModule",{value:!0});Bo.EcoModeContainer=void 0;var jE=yt(),VE=Zt(),GE=A3(),P3=li(),I3=Or(),WE=(function(H){HE(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;i.savedEmissons=0;var c=new GE.EcoModeToggleButton,m=new P3.Label({text:jE.i18n.getLocalizer("ecoMode.title"),for:c.getConfig().id,id:"ecomodelabel"});return i.emissionsSavedLabel=new P3.Label({text:"".concat(i.savedEmissons.toFixed(4)," gCO2"),cssClass:"ui-label-savedEnergy"}),i.ecoModeToggleButtonItem=new I3.SettingsPanelItem(m,c),i.ecoModeSavedEmissionsItem=new I3.SettingsPanelItem("Saved Emissions",i.emissionsSavedLabel,{hidden:!0}),i.addComponent(i.ecoModeToggleButtonItem),i.addComponent(i.ecoModeSavedEmissionsItem),c.onToggleOn.subscribe(function(){i.ecoModeSavedEmissionsItem.show(),i.onToggleCallback()}),c.onToggleOff.subscribe(function(){i.ecoModeSavedEmissionsItem.hide(),i.onToggleCallback()}),i}return u.prototype.setOnToggleCallback=function(n){this.onToggleCallback=n},u.prototype.configure=function(n){var i=this;n.on(n.exports.PlayerEvent.SegmentPlayback,function(c){if(c.mimeType.includes("video")){var m=c.mediaInfo,$=m.height,P=m.width,t=m.bitrate,_=m.frameRate,a=i.getMaxQualityAvailable(n.getAvailableVideoQualities()),r=a.height,o=a.bitrate,l=a.width,d=i.calculateEnergyConsumption(_,$,P,t,c.duration),h=i.calculateEnergyConsumption(_,r,l,o,c.duration);i.ecoModeSavedEmissionsItem.isShown()&&i.updateSavedEmissions(d,h,i.emissionsSavedLabel)}})},u.prototype.updateSavedEmissions=function(n,i,c){var m=475;this.currentEnergyEmission=n*m;var $=i*m;this.savedEmissons+=$-this.currentEnergyEmission,c.setText(this.savedEmissons.toFixed(4)+" gCO2")},u.prototype.calculateEnergyConsumption=function(n,i,c,m,$){var P=.035,t=576e-11,_=697e-8,a=8.52,r=324e-7,o=1.15,l=4.16,d=P*n+t*i*c+(_+r)*(m/1e3)+l+a+o,h=d*$/36e5;return h},u.prototype.getMaxQualityAvailable=function(n){var i=n.sort(function(c,m){return c.bitrate-m.bitrate});return i[i.length-1]},u})(VE.Container);Bo.EcoModeContainer=WE});var hh=nt(Hr=>{"use strict";var jo=Hr&&Hr.__assign||function(){return jo=Object.assign||function(H){for(var u,n=1,i=arguments.length;n<i;n++){u=arguments[n];for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(H[c]=u[c])}return H},jo.apply(this,arguments)};Object.defineProperty(Hr,"__esModule",{value:!0});Hr.UIFactory=void 0;var Xl=hl(),Ql=Ia(),_i=Or(),x3=Fs(),M3=js(),k3=hf(),w3=Hs(),Jl=Lr(),R3=Cf(),O3=xf(),L3=Mf(),D3=wf(),Uo=Gs(),pi=Zt(),Fn=pl(),Zl=Qs(),ah=bl(),oh=Js(),sh=Zs(),N3=eu(),B3=Bs(),U3=$l(),F3=Tl(),H3=El(),j3=Al(),ec=Pl(),tc=Il(),Fo=ha(),Ur=Cl(),Fr=xl(),V3=Ml(),ru=Rl(),uh=Ol(),lh=Dl(),nc=Nl(),ch=qf(),dh=Kf(),fh=zf(),G3=Yf(),Ho=wl(),hn=oi(),qE=li(),KE=Xf(),ic=cl(),Sn=yt(),zE=Bl(),YE=Ul(),W3=Zf(),q3=nh(),rc=rh(),XE=C3(),QE;(function(H){function u(f,p){return p===void 0&&(p={}),H.buildModernUI(f,p)}H.buildDefaultUI=u;function n(f,p){return p===void 0&&(p={}),H.buildModernSmallScreenUI(f,p)}H.buildDefaultSmallScreenUI=n;function i(f,p){return p===void 0&&(p={}),H.buildModernCastReceiverUI(f,p)}H.buildDefaultCastReceiverUI=i;function c(f,p){return p===void 0&&(p={}),H.buildModernTvUI(f,p)}H.buildDefaultTvUI=c;function m(f){var p=new Xl.SubtitleOverlay,A,x=[new _i.SettingsPanelItem(Sn.i18n.getLocalizer("settings.video.quality"),new x3.VideoQualitySelectBox),new _i.SettingsPanelItem(Sn.i18n.getLocalizer("speed"),new M3.PlaybackSpeedSelectBox),new _i.SettingsPanelItem(Sn.i18n.getLocalizer("settings.audio.track"),new k3.AudioTrackSelectBox),new _i.SettingsPanelItem(Sn.i18n.getLocalizer("settings.audio.quality"),new w3.AudioQualitySelectBox)];if(f.ecoMode){var I=new XE.EcoModeContainer;I.setOnToggleCallback(function(){T.getDomElement().css({width:"",height:""})}),x.unshift(I)}A=new Ql.SettingsPanelPage({components:x});var T=new Jl.SettingsPanel({components:[A],hidden:!0}),y=new R3.SubtitleSettingsPanelPage({settingsPanel:T,overlay:p}),E=new D3.SubtitleSelectBox,S=new O3.SettingsPanelPageOpenButton({targetPage:y,container:T,ariaLabel:Sn.i18n.getLocalizer("settings.subtitles"),text:Sn.i18n.getLocalizer("open")});A.addComponent(new _i.SettingsPanelItem(new L3.SubtitleSettingsLabel({text:Sn.i18n.getLocalizer("settings.subtitles"),opener:S}),E,{role:"menubar"})),T.addComponent(y);var b=new Uo.ControlBar({components:[T,new pi.Container({components:[new Fn.PlaybackTimeLabel({timeLabelMode:Fn.PlaybackTimeLabelMode.CurrentTime,hideInLivePlayback:!0}),new Zl.SeekBar({label:new ah.SeekBarLabel}),new Fn.PlaybackTimeLabel({timeLabelMode:Fn.PlaybackTimeLabelMode.TotalTime,cssClasses:["text-right"]})],cssClasses:["controlbar-top"]}),new pi.Container({components:[new oh.PlaybackToggleButton,new sh.VolumeToggleButton,new N3.VolumeSlider,new B3.Spacer,new U3.PictureInPictureToggleButton,new F3.AirPlayToggleButton,new H3.CastToggleButton,new j3.VRToggleButton,new ec.SettingsToggleButton({settingsPanel:T}),new tc.FullscreenToggleButton],cssClasses:["controlbar-bottom"]})]});return new Fo.UIContainer({components:[p,new Ur.BufferingOverlay,new Fr.PlaybackToggleOverlay,new V3.CastStatusOverlay,b,new ru.TitleBar,new uh.RecommendationOverlay,new lh.Watermark,new nc.ErrorMessageOverlay],hideDelay:2e3,hidePlayerStateExceptions:[hn.PlayerUtils.PlayerState.Prepared,hn.PlayerUtils.PlayerState.Paused,hn.PlayerUtils.PlayerState.Finished]})}H.modernUI=m;function $(){return new Fo.UIContainer({components:[new Ur.BufferingOverlay,new ch.AdClickOverlay,new Fr.PlaybackToggleOverlay,new pi.Container({components:[new dh.AdMessageLabel({text:Sn.i18n.getLocalizer("ads.remainingTime")}),new fh.AdSkipButton],cssClass:"ui-ads-status"}),new Uo.ControlBar({components:[new pi.Container({components:[new oh.PlaybackToggleButton,new sh.VolumeToggleButton,new N3.VolumeSlider,new B3.Spacer,new tc.FullscreenToggleButton],cssClasses:["controlbar-bottom"]})]})],cssClasses:["ui-skin-ads"],hideDelay:2e3,hidePlayerStateExceptions:[hn.PlayerUtils.PlayerState.Prepared,hn.PlayerUtils.PlayerState.Paused,hn.PlayerUtils.PlayerState.Finished]})}H.modernAdsUI=$;function P(){var f=new Xl.SubtitleOverlay,p=new Ql.SettingsPanelPage({components:[new _i.SettingsPanelItem(Sn.i18n.getLocalizer("settings.video.quality"),new x3.VideoQualitySelectBox),new _i.SettingsPanelItem(Sn.i18n.getLocalizer("speed"),new M3.PlaybackSpeedSelectBox),new _i.SettingsPanelItem(Sn.i18n.getLocalizer("settings.audio.track"),new k3.AudioTrackSelectBox),new _i.SettingsPanelItem(Sn.i18n.getLocalizer("settings.audio.quality"),new w3.AudioQualitySelectBox)]}),A=new Jl.SettingsPanel({components:[p],hidden:!0,pageTransitionAnimation:!1,hideDelay:-1}),x=new R3.SubtitleSettingsPanelPage({settingsPanel:A,overlay:f}),I=new O3.SettingsPanelPageOpenButton({targetPage:x,container:A,ariaLabel:Sn.i18n.getLocalizer("settings.subtitles"),text:Sn.i18n.getLocalizer("open")}),T=new D3.SubtitleSelectBox;p.addComponent(new _i.SettingsPanelItem(new L3.SubtitleSettingsLabel({text:Sn.i18n.getLocalizer("settings.subtitles"),opener:I}),T,{role:"menubar"})),A.addComponent(x),A.addComponent(new G3.CloseButton({target:A})),x.addComponent(new G3.CloseButton({target:A}));var y=new Uo.ControlBar({components:[new pi.Container({components:[new Fn.PlaybackTimeLabel({timeLabelMode:Fn.PlaybackTimeLabelMode.CurrentTime,hideInLivePlayback:!0}),new Zl.SeekBar({label:new ah.SeekBarLabel}),new Fn.PlaybackTimeLabel({timeLabelMode:Fn.PlaybackTimeLabelMode.TotalTime,cssClasses:["text-right"]})],cssClasses:["controlbar-top"]})]});return new Fo.UIContainer({components:[f,new Ur.BufferingOverlay,new V3.CastStatusOverlay,new Fr.PlaybackToggleOverlay,new uh.RecommendationOverlay,y,new ru.TitleBar({components:[new Ho.MetadataLabel({content:Ho.MetadataLabelContent.Title}),new H3.CastToggleButton,new j3.VRToggleButton,new U3.PictureInPictureToggleButton,new F3.AirPlayToggleButton,new sh.VolumeToggleButton,new ec.SettingsToggleButton({settingsPanel:A}),new tc.FullscreenToggleButton]}),A,new lh.Watermark,new nc.ErrorMessageOverlay],cssClasses:["ui-skin-smallscreen"],hideDelay:2e3,hidePlayerStateExceptions:[hn.PlayerUtils.PlayerState.Prepared,hn.PlayerUtils.PlayerState.Paused,hn.PlayerUtils.PlayerState.Finished]})}H.modernSmallScreenUI=P;function t(){return new Fo.UIContainer({components:[new Ur.BufferingOverlay,new ch.AdClickOverlay,new Fr.PlaybackToggleOverlay,new ru.TitleBar({components:[new qE.Label({cssClass:"label-metadata-title"}),new tc.FullscreenToggleButton]}),new pi.Container({components:[new dh.AdMessageLabel({text:"Ad: {remainingTime} secs"}),new fh.AdSkipButton],cssClass:"ui-ads-status"})],cssClasses:["ui-skin-ads","ui-skin-smallscreen"],hideDelay:2e3,hidePlayerStateExceptions:[hn.PlayerUtils.PlayerState.Prepared,hn.PlayerUtils.PlayerState.Paused,hn.PlayerUtils.PlayerState.Finished]})}H.modernSmallScreenAdsUI=t;function _(){var f=new Uo.ControlBar({components:[new pi.Container({components:[new Fn.PlaybackTimeLabel({timeLabelMode:Fn.PlaybackTimeLabelMode.CurrentTime,hideInLivePlayback:!0}),new Zl.SeekBar({smoothPlaybackPositionUpdateIntervalMs:-1}),new Fn.PlaybackTimeLabel({timeLabelMode:Fn.PlaybackTimeLabelMode.TotalTime,cssClasses:["text-right"]})],cssClasses:["controlbar-top"]})]});return new KE.CastUIContainer({components:[new Xl.SubtitleOverlay,new Ur.BufferingOverlay,new Fr.PlaybackToggleOverlay,new lh.Watermark,f,new ru.TitleBar({keepHiddenWithoutMetadata:!0}),new nc.ErrorMessageOverlay],cssClasses:["ui-skin-cast-receiver"],hideDelay:2e3,hidePlayerStateExceptions:[hn.PlayerUtils.PlayerState.Prepared,hn.PlayerUtils.PlayerState.Paused,hn.PlayerUtils.PlayerState.Finished]})}H.modernCastReceiverUI=_;function a(f,p){p===void 0&&(p={});var A=600;return new ic.UIManager(f,[{ui:t(),condition:function(x){return x.isMobile&&x.documentWidth<A&&x.isAd&&x.adRequiresUi}},{ui:$(),condition:function(x){return x.isAd&&x.adRequiresUi}},{ui:P(),condition:function(x){return!x.isAd&&!x.adRequiresUi&&x.isMobile&&x.documentWidth<A}},{ui:m(p),condition:function(x){return!x.isAd&&!x.adRequiresUi}}],p)}H.buildModernUI=a;function r(f,p){return p===void 0&&(p={}),new ic.UIManager(f,[{ui:t(),condition:function(A){return A.isAd&&A.adRequiresUi}},{ui:P(),condition:function(A){return!A.isAd&&!A.adRequiresUi}}],p)}H.buildModernSmallScreenUI=r;function o(f,p){return p===void 0&&(p={}),new ic.UIManager(f,_(),p)}H.buildModernCastReceiverUI=o;function l(f,p){return p===void 0&&(p={}),new ic.UIManager(f,[jo(jo({},h()),{condition:function(A){return A.isAd&&A.adRequiresUi}}),jo(jo({},d()),{condition:function(A){return!A.isAd&&!A.adRequiresUi}})],p)}H.buildModernTvUI=l;function d(){var f=new zE.SubtitleListBox,p=new Jl.SettingsPanel({components:[new Ql.SettingsPanelPage({components:[new _i.SettingsPanelItem(null,f)]})],hidden:!0}),A=new YE.AudioTrackListBox,x=new Jl.SettingsPanel({components:[new Ql.SettingsPanelPage({components:[new _i.SettingsPanelItem(null,A)]})],hidden:!0}),I=new Zl.SeekBar({label:new ah.SeekBarLabel}),T=new Fr.PlaybackToggleOverlay,y=new ec.SettingsToggleButton({settingsPanel:p,autoHideWhenNoActiveSettings:!0,cssClass:"ui-subtitlesettingstogglebutton",text:Sn.i18n.getLocalizer("settings.subtitles")}),E=new ec.SettingsToggleButton({settingsPanel:x,autoHideWhenNoActiveSettings:!0,cssClass:"ui-audiotracksettingstogglebutton",ariaLabel:Sn.i18n.getLocalizer("settings.audio.track"),text:Sn.i18n.getLocalizer("settings.audio.track")}),S=new Fo.UIContainer({components:[new Xl.SubtitleOverlay,new Ur.BufferingOverlay,T,new Uo.ControlBar({components:[new pi.Container({components:[new Fn.PlaybackTimeLabel({timeLabelMode:Fn.PlaybackTimeLabelMode.CurrentTime,hideInLivePlayback:!0}),I,new Fn.PlaybackTimeLabel({timeLabelMode:Fn.PlaybackTimeLabelMode.RemainingTime,cssClasses:["text-right"]})],cssClasses:["controlbar-top"]})]}),new ru.TitleBar({components:[new pi.Container({components:[new Ho.MetadataLabel({content:Ho.MetadataLabelContent.Title}),y,E],cssClasses:["ui-titlebar-top"]}),new pi.Container({components:[new Ho.MetadataLabel({content:Ho.MetadataLabelContent.Description}),p,x],cssClasses:["ui-titlebar-bottom"]})]}),new uh.RecommendationOverlay,new nc.ErrorMessageOverlay],cssClasses:["ui-skin-tv"],hideDelay:2e3,hidePlayerStateExceptions:[hn.PlayerUtils.PlayerState.Prepared,hn.PlayerUtils.PlayerState.Paused,hn.PlayerUtils.PlayerState.Finished]}),b=new W3.SpatialNavigation(new q3.RootNavigationGroup(S,T,I,E,y),new rc.ListNavigationGroup(rc.ListOrientation.Vertical,p,f),new rc.ListNavigationGroup(rc.ListOrientation.Vertical,x,A));return{ui:S,spatialNavigation:b}}H.modernTvUI=d;function h(){var f=new fh.AdSkipButton,p=new oh.PlaybackToggleButton,A=new Fo.UIContainer({components:[new Ur.BufferingOverlay,new ch.AdClickOverlay,new Fr.PlaybackToggleOverlay,new pi.Container({components:[new dh.AdMessageLabel({text:Sn.i18n.getLocalizer("ads.remainingTime")}),f],cssClass:"ui-ads-status"}),new Uo.ControlBar({components:[new pi.Container({components:[p],cssClasses:["controlbar-bottom"]})]})],cssClasses:["ui-skin-tv","ui-skin-ads"],hideDelay:2e3,hidePlayerStateExceptions:[hn.PlayerUtils.PlayerState.Prepared,hn.PlayerUtils.PlayerState.Paused,hn.PlayerUtils.PlayerState.Finished]}),x=new W3.SpatialNavigation(new q3.RootNavigationGroup(A,p,f));return{ui:A,spatialNavigation:x}}H.modernTvAdsUI=h})(QE=Hr.UIFactory||(Hr.UIFactory={}))});var Y3=nt(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});ou.DemoFactory=void 0;var JE=Al(),_h=Pl(),ZE=eu(),ac=pl(),e9=Tl(),t9=Nl(),n9=Gs(),i9=El(),r9=Il(),a9=Ol(),o9=js(),s9=Hs(),u9=Ml(),l9=ha(),c9=Dl(),d9=hl(),ph=Lr(),f9=bl(),h9=xl(),_9=$l(),p9=Bs(),K3=Zt(),v9=Zs(),g9=Js(),m9=Qs(),y9=Fs(),S9=cl(),b9=Rl(),$9=Cl(),T9=Bl(),E9=Ul(),au=Or(),vh=Ia(),gh=hh(),z3=mh(),A9;(function(H){function u(i,c){c===void 0&&(c={});var m=600;return new S9.UIManager(i,[{ui:gh.UIFactory.modernSmallScreenAdsUI(),condition:function($){return $.isMobile&&$.documentWidth<m&&$.isAd&&$.adRequiresUi}},{ui:gh.UIFactory.modernAdsUI(),condition:function($){return $.isAd&&$.adRequiresUi}},{ui:gh.UIFactory.modernSmallScreenUI(),condition:function($){return $.isMobile&&$.documentWidth<m}},{ui:n()}],c)}H.buildDemoWithSeparateAudioSubtitlesButtons=u;function n(){var i=new d9.SubtitleOverlay,c=new ph.SettingsPanel({components:[new vh.SettingsPanelPage({components:[new au.SettingsPanelItem("Video Quality",new y9.VideoQualitySelectBox),new au.SettingsPanelItem("Speed",new o9.PlaybackSpeedSelectBox),new au.SettingsPanelItem("Audio Quality",new s9.AudioQualitySelectBox)]})],hidden:!0}),m=new T9.SubtitleListBox,$=new ph.SettingsPanel({components:[new vh.SettingsPanelPage({components:[new au.SettingsPanelItem(null,m)]})],hidden:!0}),P=new E9.AudioTrackListBox,t=new ph.SettingsPanel({components:[new vh.SettingsPanelPage({components:[new au.SettingsPanelItem(null,P)]})],hidden:!0}),_=new n9.ControlBar({components:[t,$,c,new K3.Container({components:[new ac.PlaybackTimeLabel({timeLabelMode:ac.PlaybackTimeLabelMode.CurrentTime,hideInLivePlayback:!0}),new m9.SeekBar({label:new f9.SeekBarLabel}),new ac.PlaybackTimeLabel({timeLabelMode:ac.PlaybackTimeLabelMode.TotalTime,cssClasses:["text-right"]})],cssClasses:["controlbar-top"]}),new K3.Container({components:[new g9.PlaybackToggleButton,new z3.QuickSeekButton({seekSeconds:-10}),new z3.QuickSeekButton({seekSeconds:10}),new v9.VolumeToggleButton,new ZE.VolumeSlider,new p9.Spacer,new _9.PictureInPictureToggleButton,new e9.AirPlayToggleButton,new i9.CastToggleButton,new JE.VRToggleButton,new _h.SettingsToggleButton({settingsPanel:t,cssClass:"ui-audiotracksettingstogglebutton"}),new _h.SettingsToggleButton({settingsPanel:$,cssClass:"ui-subtitlesettingstogglebutton"}),new _h.SettingsToggleButton({settingsPanel:c}),new r9.FullscreenToggleButton],cssClasses:["controlbar-bottom"]})]});return new l9.UIContainer({components:[i,new $9.BufferingOverlay,new h9.PlaybackToggleOverlay,new u9.CastStatusOverlay,_,new b9.TitleBar,new a9.RecommendationOverlay,new c9.Watermark,new t9.ErrorMessageOverlay]})}})(A9=ou.DemoFactory||(ou.DemoFactory={}))});var X3=nt(Vo=>{"use strict";var P9=Vo&&Vo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Vo,"__esModule",{value:!0});Vo.ItemSelectionList=void 0;var I9=Us(),yh=yn(),C9=yt(),IM=Vo.ItemSelectionList=(function(H){P9(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{tag:"ul",cssClass:"ui-itemselectionlist"},i.config),i}return u.prototype.isActive=function(){return this.items.length>1},u.prototype.toDomElement=function(){var n=new yh.DOM("ul",{id:this.config.id,class:this.getCssClasses()},this);return this.listElement=n,this.updateDomItems(),n},u.prototype.updateDomItems=function(n){var i=this;n===void 0&&(n=null),this.listElement.empty();for(var c=null,m=function(o){o.addClass(i.prefixCss(u.CLASS_SELECTED))},$=function(o){o.removeClass(i.prefixCss(u.CLASS_SELECTED))},P=function(o){var l=new yh.DOM("li",{type:"li",class:t.prefixCss("ui-selectionlistitem")}).append(new yh.DOM("a",{}).html(C9.i18n.performLocalization(o.label)));c||(n==null||String(n)===o.key)&&(c=l),l.on("click",function(){c&&$(c),c=l,m(l),i.onItemSelectedEvent(o.key,!1)}),c&&m(c),t.listElement.append(l)},t=this,_=0,a=this.items;_<a.length;_++){var r=a[_];P(r)}},u.prototype.onItemAddedEvent=function(n){H.prototype.onItemAddedEvent.call(this,n),this.updateDomItems(this.selectedItem)},u.prototype.onItemRemovedEvent=function(n){H.prototype.onItemRemovedEvent.call(this,n),this.updateDomItems(this.selectedItem)},u.prototype.onItemSelectedEvent=function(n,i){i===void 0&&(i=!0),H.prototype.onItemSelectedEvent.call(this,n),i&&this.updateDomItems(n)},u.CLASS_SELECTED="selected",u})(I9.ListSelector)});var Q3=nt(Go=>{"use strict";var x9=Go&&Go.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Go,"__esModule",{value:!0});Go.VolumeControlButton=void 0;var M9=Zt(),k9=eu(),w9=Zs(),R9=Wi(),O9=(function(H){x9(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.volumeToggleButton=new w9.VolumeToggleButton,i.volumeSlider=new k9.VolumeSlider({vertical:n.vertical!=null?n.vertical:!0,hidden:!0}),i.config=i.mergeConfig(n,{cssClass:"ui-volumecontrolbutton",components:[i.volumeToggleButton,i.volumeSlider],hideDelay:500},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i);var m=this.getVolumeToggleButton(),$=this.getVolumeSlider();this.volumeSliderHideTimeout=new R9.Timeout(this.getConfig().hideDelay,function(){$.hide()});var P=!1;m.getDomElement().on("mouseenter",function(){$.isHidden()&&$.show(),c.volumeSliderHideTimeout.clear()}),m.getDomElement().on("mouseleave",function(){c.volumeSliderHideTimeout.reset()}),$.getDomElement().on("mouseenter",function(){c.volumeSliderHideTimeout.clear(),P=!0}),$.getDomElement().on("mouseleave",function(){$.isSeeking()?c.volumeSliderHideTimeout.clear():c.volumeSliderHideTimeout.reset(),P=!1}),$.onSeeked.subscribe(function(){P||c.volumeSliderHideTimeout.reset()})},u.prototype.release=function(){H.prototype.release.call(this),this.volumeSliderHideTimeout.clear()},u.prototype.getVolumeToggleButton=function(){return this.volumeToggleButton},u.prototype.getVolumeSlider=function(){return this.volumeSlider},u})(M9.Container);Go.VolumeControlButton=O9});var Z3=nt(Wo=>{"use strict";var L9=Wo&&Wo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(Wo,"__esModule",{value:!0});Wo.ReplayButton=void 0;var D9=si(),J3=yt(),N9=oi(),B9=(function(H){L9(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;return i.config=i.mergeConfig(n,{cssClass:"ui-replaybutton",text:J3.i18n.getLocalizer("replay"),ariaLabel:J3.i18n.getLocalizer("replay")},i.config),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),n.isLive()&&this.hide();var m=new N9.PlayerUtils.LiveStreamDetector(n,i);m.onLiveChanged.subscribe(function($,P){P.live?c.hide():c.show()}),this.onClick.subscribe(function(){n.hasEnded()?n.play("ui"):n.seek(0)})},u})(D9.Button);Wo.ReplayButton=B9});var tv=nt(qo=>{"use strict";var U9=qo&&qo.__extends||(function(){var H=function(u,n){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var m in c)Object.prototype.hasOwnProperty.call(c,m)&&(i[m]=c[m])},H(u,n)};return function(u,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");H(u,n);function i(){this.constructor=u}u.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}})();Object.defineProperty(qo,"__esModule",{value:!0});qo.QuickSeekButton=void 0;var F9=si(),ev=yt(),oc=oi(),H9=(function(H){U9(u,H);function u(n){n===void 0&&(n={});var i=H.call(this,n)||this;i.onSeek=function(m){i.currentSeekTarget=m.seekTarget},i.onSeekedOrTimeShifted=function(){i.currentSeekTarget=null},i.onTimeShift=function(m){i.currentSeekTarget=i.player.getTimeShift()+(m.target-m.position)},i.currentSeekTarget=null,i.config=i.mergeConfig(n,{seekSeconds:-10,cssClass:"ui-quickseekbutton"},i.config);var c=i.config.seekSeconds<0?"rewind":"forward";return i.config.text=i.config.text||ev.i18n.getLocalizer("quickseek.".concat(c)),i.config.ariaLabel=i.config.ariaLabel||ev.i18n.getLocalizer("quickseek.".concat(c),{seekSeconds:Math.abs(i.config.seekSeconds)}),i.getDomElement().data(i.prefixCss("seek-direction"),c),i}return u.prototype.configure=function(n,i){var c=this;H.prototype.configure.call(this,n,i),this.player=n;var m,$,P=function(a,r){a&&!r?c.hide():c.show()},t=new oc.PlayerUtils.TimeShiftAvailabilityDetector(n);t.onTimeShiftAvailabilityChanged.subscribe(function(a,r){$=r.timeShiftAvailable,P(m,$)});var _=new oc.PlayerUtils.LiveStreamDetector(n,i);_.onLiveChanged.subscribe(function(a,r){m=r.live,P(m,$)}),t.detect(),_.detect(),this.onClick.subscribe(function(){if(!(m&&!$)&&!(m&&c.config.seekSeconds>0&&n.getTimeShift()===0)){var a=c.currentSeekTarget!==null?c.currentSeekTarget:m?n.getTimeShift():n.getCurrentTime(),r=a+c.config.seekSeconds;if(m){var o=oc.PlayerUtils.clampValueToRange(r,n.getMaxTimeShift(),0);n.timeShift(o)}else{var o=oc.PlayerUtils.clampValueToRange(r,0,n.getDuration());n.seek(o)}}}),this.player.on(this.player.exports.PlayerEvent.Seek,this.onSeek),this.player.on(this.player.exports.PlayerEvent.Seeked,this.onSeekedOrTimeShifted),this.player.on(this.player.exports.PlayerEvent.TimeShift,this.onTimeShift),this.player.on(this.player.exports.PlayerEvent.TimeShifted,this.onSeekedOrTimeShifted)},u.prototype.release=function(){this.player.off(this.player.exports.PlayerEvent.Seek,this.onSeek),this.player.off(this.player.exports.PlayerEvent.Seeked,this.onSeekedOrTimeShifted),this.player.off(this.player.exports.PlayerEvent.TimeShift,this.onTimeShift),this.player.off(this.player.exports.PlayerEvent.TimeShifted,this.onSeekedOrTimeShifted),this.currentSeekTarget=null,this.player=null},u})(F9.Button);qo.QuickSeekButton=H9});var mh=nt(Ge=>{"use strict";var j9=Ge&&Ge.__createBinding||(Object.create?(function(H,u,n,i){i===void 0&&(i=n);var c=Object.getOwnPropertyDescriptor(u,n);(!c||("get"in c?!u.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return u[n]}}),Object.defineProperty(H,i,c)}):(function(H,u,n,i){i===void 0&&(i=n),H[i]=u[n]})),nv=Ge&&Ge.__exportStar||function(H,u){for(var n in H)n!=="default"&&!Object.prototype.hasOwnProperty.call(u,n)&&j9(u,H,n)};Object.defineProperty(Ge,"__esModule",{value:!0});Ge.ClickOverlay=Ge.VolumeControlButton=Ge.TitleBar=Ge.SubtitleSelectBox=Ge.SubtitleOverlay=Ge.SeekBarLabel=Ge.RecommendationOverlay=Ge.ErrorMessageOverlay=Ge.Component=Ge.CastToggleButton=Ge.CastStatusOverlay=Ge.AudioTrackSelectBox=Ge.AudioQualitySelectBox=Ge.Label=Ge.Container=Ge.UIContainer=Ge.Watermark=Ge.VRToggleButton=Ge.VolumeToggleButton=Ge.VideoQualitySelectBox=Ge.ToggleButton=Ge.SettingsToggleButton=Ge.SettingsPanel=Ge.ItemSelectionList=Ge.SelectBox=Ge.SeekBar=Ge.PlaybackToggleButton=Ge.PlaybackTimeLabelMode=Ge.PlaybackTimeLabel=Ge.HugePlaybackToggleButton=Ge.FullscreenToggleButton=Ge.ControlBar=Ge.Button=Ge.ListOrientation=Ge.ListNavigationGroup=Ge.RootNavigationGroup=Ge.NavigationGroup=Ge.SpatialNavigation=Ge.I18n=Ge.i18n=Ge.ErrorUtils=Ge.StorageUtils=Ge.BrowserUtils=Ge.UIUtils=Ge.PlayerUtils=Ge.StringUtils=Ge.ArrayUtils=Ge.DemoFactory=Ge.UIFactory=Ge.version=void 0;Ge.ListSelector=Ge.QuickSeekButton=Ge.ReplayButton=Ge.SettingsPanelItem=Ge.SubtitleSettingsPanelPage=Ge.SettingsPanelPageOpenButton=Ge.SettingsPanelPageBackButton=Ge.SettingsPanelPage=Ge.AudioTrackListBox=Ge.SubtitleListBox=Ge.ListBox=Ge.SubtitleSettingsResetButton=Ge.WindowOpacitySelectBox=Ge.WindowColorSelectBox=Ge.SubtitleSettingsLabel=Ge.SubtitleSettingSelectBox=Ge.FontSizeSelectBox=Ge.FontOpacitySelectBox=Ge.FontFamilySelectBox=Ge.FontColorSelectBox=Ge.CharacterEdgeSelectBox=Ge.BackgroundOpacitySelectBox=Ge.BackgroundColorSelectBox=Ge.Spacer=Ge.PictureInPictureToggleButton=Ge.VolumeSlider=Ge.AirPlayToggleButton=Ge.MetadataLabelContent=Ge.MetadataLabel=Ge.CloseButton=Ge.PlaybackToggleOverlay=Ge.CastUIContainer=Ge.BufferingOverlay=Ge.HugeReplayButton=Ge.PlaybackSpeedSelectBox=Ge.AdClickOverlay=Ge.AdMessageLabel=Ge.AdSkipButton=void 0;Ge.version="3.103.1";nv(cl(),Ge);nv(yp(),Ge);var V9=hh();Object.defineProperty(Ge,"UIFactory",{enumerable:!0,get:function(){return V9.UIFactory}});var G9=Y3();Object.defineProperty(Ge,"DemoFactory",{enumerable:!0,get:function(){return G9.DemoFactory}});var W9=ur();Object.defineProperty(Ge,"ArrayUtils",{enumerable:!0,get:function(){return W9.ArrayUtils}});var q9=_r();Object.defineProperty(Ge,"StringUtils",{enumerable:!0,get:function(){return q9.StringUtils}});var K9=oi();Object.defineProperty(Ge,"PlayerUtils",{enumerable:!0,get:function(){return K9.PlayerUtils}});var z9=Ls();Object.defineProperty(Ge,"UIUtils",{enumerable:!0,get:function(){return z9.UIUtils}});var Y9=lr();Object.defineProperty(Ge,"BrowserUtils",{enumerable:!0,get:function(){return Y9.BrowserUtils}});var X9=ll();Object.defineProperty(Ge,"StorageUtils",{enumerable:!0,get:function(){return X9.StorageUtils}});var Q9=Gf();Object.defineProperty(Ge,"ErrorUtils",{enumerable:!0,get:function(){return Q9.ErrorUtils}});var iv=yt();Object.defineProperty(Ge,"i18n",{enumerable:!0,get:function(){return iv.i18n}});Object.defineProperty(Ge,"I18n",{enumerable:!0,get:function(){return iv.I18n}});var J9=Zf();Object.defineProperty(Ge,"SpatialNavigation",{enumerable:!0,get:function(){return J9.SpatialNavigation}});var Z9=Yl();Object.defineProperty(Ge,"NavigationGroup",{enumerable:!0,get:function(){return Z9.NavigationGroup}});var e8=nh();Object.defineProperty(Ge,"RootNavigationGroup",{enumerable:!0,get:function(){return e8.RootNavigationGroup}});var rv=rh();Object.defineProperty(Ge,"ListNavigationGroup",{enumerable:!0,get:function(){return rv.ListNavigationGroup}});Object.defineProperty(Ge,"ListOrientation",{enumerable:!0,get:function(){return rv.ListOrientation}});var t8=si();Object.defineProperty(Ge,"Button",{enumerable:!0,get:function(){return t8.Button}});var n8=Gs();Object.defineProperty(Ge,"ControlBar",{enumerable:!0,get:function(){return n8.ControlBar}});var i8=Il();Object.defineProperty(Ge,"FullscreenToggleButton",{enumerable:!0,get:function(){return i8.FullscreenToggleButton}});var r8=jf();Object.defineProperty(Ge,"HugePlaybackToggleButton",{enumerable:!0,get:function(){return r8.HugePlaybackToggleButton}});var av=pl();Object.defineProperty(Ge,"PlaybackTimeLabel",{enumerable:!0,get:function(){return av.PlaybackTimeLabel}});Object.defineProperty(Ge,"PlaybackTimeLabelMode",{enumerable:!0,get:function(){return av.PlaybackTimeLabelMode}});var a8=Js();Object.defineProperty(Ge,"PlaybackToggleButton",{enumerable:!0,get:function(){return a8.PlaybackToggleButton}});var o8=Qs();Object.defineProperty(Ge,"SeekBar",{enumerable:!0,get:function(){return o8.SeekBar}});var s8=Oi();Object.defineProperty(Ge,"SelectBox",{enumerable:!0,get:function(){return s8.SelectBox}});var u8=X3();Object.defineProperty(Ge,"ItemSelectionList",{enumerable:!0,get:function(){return u8.ItemSelectionList}});var l8=Lr();Object.defineProperty(Ge,"SettingsPanel",{enumerable:!0,get:function(){return l8.SettingsPanel}});var c8=Pl();Object.defineProperty(Ge,"SettingsToggleButton",{enumerable:!0,get:function(){return c8.SettingsToggleButton}});var d8=ci();Object.defineProperty(Ge,"ToggleButton",{enumerable:!0,get:function(){return d8.ToggleButton}});var f8=Fs();Object.defineProperty(Ge,"VideoQualitySelectBox",{enumerable:!0,get:function(){return f8.VideoQualitySelectBox}});var h8=Zs();Object.defineProperty(Ge,"VolumeToggleButton",{enumerable:!0,get:function(){return h8.VolumeToggleButton}});var _8=Al();Object.defineProperty(Ge,"VRToggleButton",{enumerable:!0,get:function(){return _8.VRToggleButton}});var p8=Dl();Object.defineProperty(Ge,"Watermark",{enumerable:!0,get:function(){return p8.Watermark}});var v8=ha();Object.defineProperty(Ge,"UIContainer",{enumerable:!0,get:function(){return v8.UIContainer}});var g8=Zt();Object.defineProperty(Ge,"Container",{enumerable:!0,get:function(){return g8.Container}});var m8=li();Object.defineProperty(Ge,"Label",{enumerable:!0,get:function(){return m8.Label}});var y8=Hs();Object.defineProperty(Ge,"AudioQualitySelectBox",{enumerable:!0,get:function(){return y8.AudioQualitySelectBox}});var S8=hf();Object.defineProperty(Ge,"AudioTrackSelectBox",{enumerable:!0,get:function(){return S8.AudioTrackSelectBox}});var b8=Ml();Object.defineProperty(Ge,"CastStatusOverlay",{enumerable:!0,get:function(){return b8.CastStatusOverlay}});var $8=El();Object.defineProperty(Ge,"CastToggleButton",{enumerable:!0,get:function(){return $8.CastToggleButton}});var T8=Bn();Object.defineProperty(Ge,"Component",{enumerable:!0,get:function(){return T8.Component}});var E8=Nl();Object.defineProperty(Ge,"ErrorMessageOverlay",{enumerable:!0,get:function(){return E8.ErrorMessageOverlay}});var A8=Ol();Object.defineProperty(Ge,"RecommendationOverlay",{enumerable:!0,get:function(){return A8.RecommendationOverlay}});var P8=bl();Object.defineProperty(Ge,"SeekBarLabel",{enumerable:!0,get:function(){return P8.SeekBarLabel}});var I8=hl();Object.defineProperty(Ge,"SubtitleOverlay",{enumerable:!0,get:function(){return I8.SubtitleOverlay}});var C8=wf();Object.defineProperty(Ge,"SubtitleSelectBox",{enumerable:!0,get:function(){return C8.SubtitleSelectBox}});var x8=Rl();Object.defineProperty(Ge,"TitleBar",{enumerable:!0,get:function(){return x8.TitleBar}});var M8=Q3();Object.defineProperty(Ge,"VolumeControlButton",{enumerable:!0,get:function(){return M8.VolumeControlButton}});var k8=Ll();Object.defineProperty(Ge,"ClickOverlay",{enumerable:!0,get:function(){return k8.ClickOverlay}});var w8=zf();Object.defineProperty(Ge,"AdSkipButton",{enumerable:!0,get:function(){return w8.AdSkipButton}});var R8=Kf();Object.defineProperty(Ge,"AdMessageLabel",{enumerable:!0,get:function(){return R8.AdMessageLabel}});var O8=qf();Object.defineProperty(Ge,"AdClickOverlay",{enumerable:!0,get:function(){return O8.AdClickOverlay}});var L8=js();Object.defineProperty(Ge,"PlaybackSpeedSelectBox",{enumerable:!0,get:function(){return L8.PlaybackSpeedSelectBox}});var D8=Vf();Object.defineProperty(Ge,"HugeReplayButton",{enumerable:!0,get:function(){return D8.HugeReplayButton}});var N8=Cl();Object.defineProperty(Ge,"BufferingOverlay",{enumerable:!0,get:function(){return N8.BufferingOverlay}});var B8=Xf();Object.defineProperty(Ge,"CastUIContainer",{enumerable:!0,get:function(){return B8.CastUIContainer}});var U8=xl();Object.defineProperty(Ge,"PlaybackToggleOverlay",{enumerable:!0,get:function(){return U8.PlaybackToggleOverlay}});var F8=Yf();Object.defineProperty(Ge,"CloseButton",{enumerable:!0,get:function(){return F8.CloseButton}});var ov=wl();Object.defineProperty(Ge,"MetadataLabel",{enumerable:!0,get:function(){return ov.MetadataLabel}});Object.defineProperty(Ge,"MetadataLabelContent",{enumerable:!0,get:function(){return ov.MetadataLabelContent}});var H8=Tl();Object.defineProperty(Ge,"AirPlayToggleButton",{enumerable:!0,get:function(){return H8.AirPlayToggleButton}});var j8=eu();Object.defineProperty(Ge,"VolumeSlider",{enumerable:!0,get:function(){return j8.VolumeSlider}});var V8=$l();Object.defineProperty(Ge,"PictureInPictureToggleButton",{enumerable:!0,get:function(){return V8.PictureInPictureToggleButton}});var G8=Bs();Object.defineProperty(Ge,"Spacer",{enumerable:!0,get:function(){return G8.Spacer}});var W8=Sf();Object.defineProperty(Ge,"BackgroundColorSelectBox",{enumerable:!0,get:function(){return W8.BackgroundColorSelectBox}});var q8=bf();Object.defineProperty(Ge,"BackgroundOpacitySelectBox",{enumerable:!0,get:function(){return q8.BackgroundOpacitySelectBox}});var K8=yf();Object.defineProperty(Ge,"CharacterEdgeSelectBox",{enumerable:!0,get:function(){return K8.CharacterEdgeSelectBox}});var z8=gf();Object.defineProperty(Ge,"FontColorSelectBox",{enumerable:!0,get:function(){return z8.FontColorSelectBox}});var Y8=vf();Object.defineProperty(Ge,"FontFamilySelectBox",{enumerable:!0,get:function(){return Y8.FontFamilySelectBox}});var X8=mf();Object.defineProperty(Ge,"FontOpacitySelectBox",{enumerable:!0,get:function(){return X8.FontOpacitySelectBox}});var Q8=_f();Object.defineProperty(Ge,"FontSizeSelectBox",{enumerable:!0,get:function(){return Q8.FontSizeSelectBox}});var J8=Jn();Object.defineProperty(Ge,"SubtitleSettingSelectBox",{enumerable:!0,get:function(){return J8.SubtitleSettingSelectBox}});var Z8=Mf();Object.defineProperty(Ge,"SubtitleSettingsLabel",{enumerable:!0,get:function(){return Z8.SubtitleSettingsLabel}});var eA=$f();Object.defineProperty(Ge,"WindowColorSelectBox",{enumerable:!0,get:function(){return eA.WindowColorSelectBox}});var tA=Tf();Object.defineProperty(Ge,"WindowOpacitySelectBox",{enumerable:!0,get:function(){return tA.WindowOpacitySelectBox}});var nA=Ef();Object.defineProperty(Ge,"SubtitleSettingsResetButton",{enumerable:!0,get:function(){return nA.SubtitleSettingsResetButton}});var iA=ba();Object.defineProperty(Ge,"ListBox",{enumerable:!0,get:function(){return iA.ListBox}});var rA=Bl();Object.defineProperty(Ge,"SubtitleListBox",{enumerable:!0,get:function(){return rA.SubtitleListBox}});var aA=Ul();Object.defineProperty(Ge,"AudioTrackListBox",{enumerable:!0,get:function(){return aA.AudioTrackListBox}});var oA=Ia();Object.defineProperty(Ge,"SettingsPanelPage",{enumerable:!0,get:function(){return oA.SettingsPanelPage}});var sA=Pf();Object.defineProperty(Ge,"SettingsPanelPageBackButton",{enumerable:!0,get:function(){return sA.SettingsPanelPageBackButton}});var uA=xf();Object.defineProperty(Ge,"SettingsPanelPageOpenButton",{enumerable:!0,get:function(){return uA.SettingsPanelPageOpenButton}});var lA=Cf();Object.defineProperty(Ge,"SubtitleSettingsPanelPage",{enumerable:!0,get:function(){return lA.SubtitleSettingsPanelPage}});var cA=Or();Object.defineProperty(Ge,"SettingsPanelItem",{enumerable:!0,get:function(){return cA.SettingsPanelItem}});var dA=Z3();Object.defineProperty(Ge,"ReplayButton",{enumerable:!0,get:function(){return dA.ReplayButton}});var fA=tv();Object.defineProperty(Ge,"QuickSeekButton",{enumerable:!0,get:function(){return fA.QuickSeekButton}});var hA=Us();Object.defineProperty(Ge,"ListSelector",{enumerable:!0,get:function(){return hA.ListSelector}});typeof Object.assign!="function"&&(Object.assign=function(H){"use strict";if(H==null)throw new TypeError("Cannot convert undefined or null to object");H=Object(H);for(var u=1;u<arguments.length;u++){var n=arguments[u];if(n!=null)for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(H[i]=n[i])}return H})});import{jsx as _A}from"react/jsx-runtime";import{forwardRef as pA,useCallback as vA,useEffect as sv,useRef as sc,useState as gA}from"react";function su(H,u){typeof H=="function"?H(u):H.current=u}function yA(H,u,n){if(u.ui!==!1)return n&&"containerFactory"in n?new uu.UIManager(H,n.containerFactory(),u.ui):n&&"variantsFactory"in n?new uu.UIManager(H,n.variantsFactory(),u.ui):uu.UIFactory.buildDefaultUI(H,u.ui)}function SA(H){let u={...H};return u.ui=!1,u}function bA(H,u,n){let i=new uv.Player(H,n);return i.setVideoElement(u),i}function $A(H){let u=document.createElement("div"),n=document.createElement("video");return H.appendChild(u),u.appendChild(n),{createdPlayerContainerElement:u,createdVideoElement:n}}function TA(H,u,n,i){n.style.display="none";let c=()=>{u.removeChild(n)};i&&i.release(),H.destroy().then(c,c)}var uv,uu,mA,lv=F0(()=>{"use strict";uv=Cr(z1(),1),uu=Cr(mh(),1),mA=pA(function({config:u,source:n,className:i,playerRef:c,customUi:m},$){let P=sc(null),t=h=>{su(P,h),$&&su($,h)},_=sc(!n),a=sc(!1),[r,o]=gA(),l=sc(),d=vA(h=>{c&&su(c,h)},[]);return sv(()=>{let h=P.current;if(!h)return;let{createdPlayerContainerElement:f,createdVideoElement:p}=$A(h),A=SA(u),x=bA(f,p,A),I=yA(x,u,m);return l.current=x,d(x),o(x),()=>{TA(x,h,f,I)}},[u,m,d]),sv(()=>{!r||r!==l.current||(n?(r.load(n),su(a,!0)):_.current&&!a.current||(r.unload(),su(a,!0)))},[n,r]),_A("div",{className:i,ref:t})})});var cv={};R2(cv,{BitmovinPlayer:()=>mA});var dv=F0(()=>{"use strict";lv()});import{PhontClient as ok,subtitleManager as sk}from"@phont-ai/subtitles-core";import{decodeAnimationUrl as lk,createPublishedAnimationResolver as ck,calculateAnimationState as dk}from"@phont-ai/subtitles-core";import z0,{useRef as ty}from"react";import L2,{createContext as D2,useContext as N2}from"react";import{EMOTION_ANIMATION_URLS as Sd}from"@phont-ai/subtitles-core";var H0=D2(null);function ss({children:H,customUrls:u}){let n={emotionAnimationUrls:u?{...Sd,...u}:Sd};return L2.createElement(H0.Provider,{value:n},H)}function B2(){let H=N2(H0);return H||{emotionAnimationUrls:Sd}}import U2,{createContext as F2,useContext as H2,useMemo as j2,useState as V2}from"react";var G2={name:"default",fonts:{},fontWeights:{},colors:{},slants:{},glows:{}},W2={name:"children",fonts:{shout:"Baloo 2",anger:"Hello Kitty",neutral:"Borel",fear:"Baloo 2",whisper:"Borel"},fontWeights:{shout:800,anger:400,neutral:400,fear:600,whisper:400},colors:{neutral:"#ffffff",shout:"#c8ff80",anger:"#ff7676",fear:"#87cefa",whisper:"#ffffff"},slants:{shout:-10,fear:10,anger:0,neutral:0,whisper:0},glows:{shout:{threshold:.5,color:"#c8ff80",opacity:.75,blur:5},whisper:{threshold:.3,color:"#ffffff",opacity:.5,blur:2}}},j0={default:G2,children:W2};function V0(H="default"){return j0[H]||j0.default}var G0=F2(null);function bd({children:H,defaultStylesheet:u="default"}){let[n,i]=V2(u),c=j2(()=>({stylesheet:V0(n),activeStylesheet:n,setActiveStylesheet:i,switchToDefault:()=>i("default"),switchToChildren:()=>i("children"),isChildrenActive:n==="children"||n==="hello-kitty",isDefaultActive:n==="default"}),[n]);return U2.createElement(G0.Provider,{value:c},H)}function xr(){let H=H2(G0);return H||{stylesheet:V0("default"),activeStylesheet:"default",setActiveStylesheet:()=>{},switchToDefault:()=>{},switchToChildren:()=>{},isChildrenActive:!1,isDefaultActive:!0}}import{useEffect as q2,useRef as K2}from"react";import{createPublishedAnimationResolver as z2,getAnimationUrlForEmotion as Y2,getCurrentAuthToken as X2,getCurrentSessionId as Q2}from"@phont-ai/subtitles-core";var qu=null,q0=null,J2=typeof process<"u"&&process.env?.NEXT_PUBLIC_API_SUB_BASE_URL||"https://demo-api-dev.phont.ai",W0=typeof process<"u"&&process.env?.NEXT_PUBLIC_PHONT_ADMIN_TOKEN||"";function K0(){let H={};W0&&(H["x-admin-token"]=W0);let u=null,n=null;if(typeof window<"u"){try{u=X2(),n=Q2()}catch{}u=u||sessionStorage.getItem("phont_sdk_auth_token")||sessionStorage.getItem("auth_token")||localStorage.getItem("auth_token"),n=n||sessionStorage.getItem("phont_sdk_session_id")||sessionStorage.getItem("session_id")}return u&&(H.Authorization=`Bearer ${u}`),n&&(H["X-Session-ID"]=n),H}function Ku(H){let u=H.replace(/\/$/,"");return async n=>{let i=new URLSearchParams({stylesheet_name:n,is_active:"true"}),c=K0(),m=await fetch(`${u}/animations?${i}`,{headers:c});if(!m.ok)throw new Error(`HTTP ${m.status}`);return m.json()}}var Z2=Ku(J2);function ey(){return qu||(qu=z2(q0||Z2)),qu}function $d(H){q0=H,qu=null}function Td(){let H=K2(ey());return q2(()=>{H.current.prefetch("default");let u=()=>{H.current.invalidate(),H.current.prefetch("default")};return typeof window<"u"&&window.addEventListener("phont-sdk-auth-change",u),()=>{typeof window<"u"&&window.removeEventListener("phont-sdk-auth-change",u)}},[]),{resolve(u,n,i){if(typeof u=="string"&&u.length>0)return u;let{stylesheetName:c,segmentEmotion:m}=i||{},$=n&&n!=="none"?n:m||null;if($){if(c){let _=H.current.getSync($,c);if(_)return _}let t=H.current.getSync($,"default");if(t)return t}return Y2($||n||"none")},prefetch(u){H.current.prefetch(u)},invalidate(){H.current.invalidate()}}}function ny({children:H,apiBaseUrl:u,customEmotionUrls:n,defaultStylesheet:i="default"}){let c=ty(void 0);return u&&c.current!==u&&(c.current=u,$d(Ku(u))),z0.createElement(ss,{customUrls:n},z0.createElement(bd,{defaultStylesheet:i},H))}import m1,{useEffect as Oy,useRef as Ly}from"react";import{useState as a1,useEffect as ls,useMemo as Id,useRef as cs}from"react";import{subtitleManager as Ln,RENDERING_CONTROL as py}from"@phont-ai/subtitles-core";import{useMemo as Vi,useEffect as e1}from"react";import iy,{createContext as ry,useContext as ay}from"react";var Y0=ry({isRTL:!1});function X0({children:H,isRTL:u=!1}){return iy.createElement(Y0.Provider,{value:{isRTL:u}},H)}function zu(){let H=ay(Y0);return H||{isRTL:!1}}import{useMemo as oy}from"react";import{processEmotionsWithImportance as sy}from"@phont-ai/subtitles-core";var Q0=6,uy=["anger","joy","sadness","fear","screaming","neutral","none","disgust","social_positive","surprise","social_negative","lust","calmness"];function J0(H,u=.2){return oy(()=>{if(!H||typeof H!="object")return{emotion:"none",intensity:0,allEmotions:[],importanceFactor:1};let n=u/Q0,i=Object.entries(H).filter(([o,l])=>uy.includes(o.toLowerCase())&&typeof l=="number"&&l>n);if(i.length===0)return{emotion:"none",intensity:0,allEmotions:[],importanceFactor:1};let m=sy(i).sort(([,,o],[,,l])=>l-o),[$,P,t,_,a]=m[0],r=Math.min(1,P*Q0);return{emotion:$.toLowerCase(),intensity:r,allEmotions:m,importanceFactor:_,isCore:a}},[H,u])}import{RENDERING_CONTROL as ly}from"@phont-ai/subtitles-core";function Ed(H,u,n,i){let c=H&&typeof H.start=="number",m=H&&typeof H.end=="number",$=typeof u?.start_time=="number"?u.start_time:0,P=typeof u?.end_time=="number"?u.end_time:$,t=c?H.start:$,_=m?H.end:P,a=Math.max(0,_-t),{minWordDisplayTime:r,breathingRoomSafetyBuffer:o,breathingRoomNoNextHold:l}=ly.timing,d=t+Math.max(a,r);if(!i)return d;let h;return typeof n=="number"&&n>_?h=n-(o??.1):n==null?h=P+(l??4):h=d,Math.max(d,h)}function Z0(H,u){return!H||H.length===0?null:H.find(n=>n&&typeof n.start_time=="number"&&typeof n.end_time=="number"&&u>=n.start_time&&u<=n.end_time)||null}import{ANIMATION_STYLING as $i,RENDERING_CONTROL as Pd,calculateAnimationParameters as t1,REFERENCE_INTENSITY as n1,resolveEffectiveGts as i1,capEmotionIntensity as cy,decodeAnimationUrl as Ad,subtitleManager as dy,getSubtitleText as fy,getSubtitleWords as hy,ensureFont as _y}from"@phont-ai/subtitles-core";var r1=Pd.timing.minWordDisplayTime;function us({segment:H,currentTime:u,maxExpression:n=1,threshold:i=.2,nextSegmentStartTime:c=null,extendedEndTime:m=null,transparentUntilSpoken:$=!1,disablePublishedAnimationFetch:P=!1,stylesheetName:t=null}){let{resolve:_,prefetch:a}=Td(),r=t??dy.vodState?.stylesheet??null,o=H?.emotion||null;e1(()=>{P||(a("default"),r&&r!=="default"&&a(r))},[P,a,r]);let l=H?.animation_url?Ad(H.animation_url)?.fontData?.style?.fontFamily:null;e1(()=>{l&&_y(l)},[l]);let d=!1,{isRTL:h}=zu(),f=Vi(()=>H?[H]:[],[H]),p=Vi(()=>{if(!f||f.length===0)return null;let de=Z0(f,u);if(de)return de;if(m&&H){let ie=H.end_time||0;if(u>ie&&u<=m){let Q=f[f.length-1];if(Q)return Q}}return null},[f,u,m,H]),A=p!=null,x=d?H:p,I=n<=.2,T=Vi(()=>{if(!A||!x)return null;let de=(x.emotion||"").toString().toLowerCase().trim(),ie=typeof x.emotion_intensity=="number"?x.emotion_intensity:0;return de&&de!=="none"&&ie>0?{[de]:ie}:de&&de!=="none"?null:x.animations||null},[A,x]),{emotion:y,intensity:E}=J0(T,i),S=I?"none":y,b=I?0:E,C=(de,ie,Q)=>P?typeof de=="string"&&de.length>0?de:null:_(de,ie,Q),O=typeof H?.animation_url=="string"&&H.animation_url.length>0,k=S&&S!=="none"?S:o,R=k&&!P?!!C(null,k,{stylesheetName:r,segmentEmotion:o}):!1,V=b===0&&(O||R)&&!I?n1:E,{isChildrenActive:q}=xr(),K=A?p.start_time:0,G=A?p.end_time:1,U=Math.max(.01,G-K),L=Math.max(0,Math.min(1,(u-K)/U)),F=`"${$i.defaultFont}", sans-serif`,Y=Vi(()=>Math.max(0,Math.min(1,(n-.2)/.8)),[n]),Z=Vi(()=>{if(I||!(typeof H?.animation_url=="string"&&H.animation_url.length>0)&&!(S&&S!=="none"||o&&o!=="none"))return null;let Q=C(H?.animation_url,S,{stylesheetName:r,segmentEmotion:o});return typeof Q!="string"||Q.length===0?null:Ad(Q)},[P,S,I,H,r,o]),te=H?.gts,ne=Vi(()=>{if(Z){let ee=i1(Y,te,void 0),ue=t1(Z,V,L,ee,U);if(ue){let he={...ue.fontVariationAxes};ue.weight!=null&&(he.wght=ue.weight),ue.width!=null&&(he.wdth=ue.width);let Se={fontSize:$i.fontSize,scale:ue.scale,opacity:ue.opacity,slant:ue.slant,weight:ue.weight,width:ue.width,textColor:ue.textColor,translateX:ue.translateX,translateY:ue.translateY,stretchY:ue.stretchY,textShadow:ue.textShadow,blur:ue.blur??0,outlineWidth:ue.outlineWidth??0,outlineColor:ue.outlineColor??"#000000",fontVariationAxes:he};return ue.stretchX!==void 0&&(Se.stretchX=ue.stretchX),ue.outline2Width!==void 0&&(Se.outline2Width=ue.outline2Width),ue.outline2Color!==void 0&&(Se.outline2Color=ue.outline2Color),ue.outline3Width!==void 0&&(Se.outline3Width=ue.outline3Width),ue.outline3Color!==void 0&&(Se.outline3Color=ue.outline3Color),ue.outlineShadowWidth!==void 0&&(Se.outlineShadowWidth=ue.outlineShadowWidth),ue.outlineShadowColor!==void 0&&(Se.outlineShadowColor=ue.outlineShadowColor),ue.outlineShadowBlur!==void 0&&(Se.outlineShadowBlur=ue.outlineShadowBlur),ue.glowIntensity!==void 0&&(Se.glowIntensity=ue.glowIntensity),ue.glowColor!==void 0&&(Se.glowColor=ue.glowColor),ue.snakeWave!==void 0&&(Se.snakeWave=ue.snakeWave),ue.karaoke!==void 0&&(Se.karaoke=ue.karaoke),Se}}let de=1+b*.16,ie={anger:-8,screaming:-11,fear:10,sadness:-4,joy:4,social_positive:2,surprise:6,disgust:-6,social_negative:-3,lust:-5,calmness:1.5},Q={anger:"#ff5d5d",screaming:"#ff4343",fear:"#8db2ff",sadness:"#9ec0ff",joy:"#ffe38a",social_positive:"#d7ff9b",surprise:"#fff4b3",disgust:"#9fffab",social_negative:"#c8ff9f",lust:"#ff80a8",calmness:"#f4f4ff"};return{fontSize:$i.fontSize,scale:S==="none"?1:de,opacity:1,slant:(ie[S]||0)*(S==="none"?0:b),weight:400,width:100,textColor:Q[S]||$i.textColor,translateX:0,translateY:0,stretchY:S==="fear"?Math.max(.88,1-.12*b):1,textShadow:"",fontVariationAxes:{}}},[Z,V,L,Y,te,U,S,b]),ae=Vi(()=>{let ie=(A&&H?hy(H):[]).flatMap(Se=>{let we=Se.word||"",De=we.trim();if(!De.includes(" "))return[Se];let st=De.split(/\s+/),Pe=(Se.end-Se.start)/st.length,ke=we.startsWith(" ");return st.map((Le,qe)=>({...Se,word:(qe===0&&ke?" ":"")+Le,start:Se.start+qe*Pe,end:Se.start+(qe+1)*Pe}))}),Q=!1,ee=null,ue=null;if(Q&&ee?.end){let Se=ie[ie.length-1],we=Ed(Se,H,c,!0),De=m||we,{minWordDisplayTime:Ke,breathingRoomDuration:st}=Pd.timing,Be=Ke+st,ke=(ie.length>0?Math.min(...ie.map(Le=>Le.start)):ee.start)+Be;ue=Math.max(ee.end,De,ke)}return ie.map((Se,we)=>{let De=we===ie.length-1,Ke=Ed(Se,H,c,De);if(De||(Ke=Math.max(Ke,Se.start+r1)),Q&&ue){let st=Math.max(Ke,ue);return{...Se,animationEnd:st}}else return{...Se,animationEnd:Ke}})},[A,H,c,m]),oe=-1,_e=[],me=Vi(()=>{if(!A)return 1;let de=Pd.timing.fadeOutDuration??0;if(de<=0)return 1;let ie=m||G;if(!ie)return 1;let Q=ie-de;return u<=Q?1:u>=ie?0:Math.max(0,1-(u-Q)/de)},[A,m,G,u]),$e=Vi(()=>A?ae.map((de,ie)=>{let Q=de.animationEnd||de.end,ee=u>=de.start&&u<Q,ue=S,he=I?0:b,Se=b,we=A&&p.volume||.5,De=null;q&&(we>=.7?De="shout":we<=.3?De="whisper":we>=.4&&we<=.6&&(De=null)),d&&(he!==0&&(he=cy(he,n)),q&&De===null&&(De="neutral"));let Ke=Math.max(0,de.end-de.start),st=Math.max(Ke,r1),Be=Math.max(0,Math.min(1,(u-de.start)/st)),Pe=x,ke=Pe?.emotion||o,Le=null;if(!I&&(typeof Pe?.animation_url=="string"&&Pe.animation_url.length>0||(ue&&ue!=="none"||ke&&ke!=="none"))){let Je=C(Pe?.animation_url,ue,{stylesheetName:r,segmentEmotion:ke});typeof Je=="string"&&Je.length>0&&(Le=Ad(Je))}let tt=typeof Pe?.animation_url=="string"&&Pe.animation_url.length>0||!!Le,je=Se===0&&tt&&!I?n1:Se,at=i1(Y,te,de?.gts),Ze=Le?t1(Le,je,Be,at,st):null,Xe=Le?.fontData?.style?.fontFamily||null,Oe=$i.defaultFont;if(Ze&&Xe){let Ye=Xe.match(/["']?([^"',]+)["']?/),et=Ye?Ye[1].trim():Xe;et.toLowerCase().includes("bricolage")?Oe="Bricolage Grotesque":et.toLowerCase().includes("rakkas")?Oe=$i.angryFont:et.toLowerCase().includes("parkinsans")?Oe=$i.joyFont:et.toLowerCase().includes("cormorant")?Oe=$i.sadnessFont:et.toLowerCase().includes("roboto")?Oe=$i.defaultFont:Oe=et}let ye=Ze?.opacity??ne.opacity??1;$&&u<de.start&&(ye*=.5),ye*=me;let Re={...ne,fontSize:$i.fontSize,scale:Ze?.scale??ne.scale??1,slant:Ze?.slant??ne.slant??0,stretchY:Ze?.stretchY??ne.stretchY??1,weight:Ze?.weight??ne.weight??400,width:Ze?.width??ne.width??100,textColor:Ze?.textColor||ne.textColor||$i.textColor,opacity:ye,translateX:Ze?.translateX??ne.translateX??0,translateY:Ze?.translateY??ne.translateY??0,textShadow:Ze?.textShadow||ne.textShadow||"",blur:Ze?.blur??ne.blur??0,outlineWidth:Ze?.outlineWidth??ne.outlineWidth??0,outlineColor:Ze?.outlineColor??ne.outlineColor??"#000000",letterShake:Ze?.fear??0,fontVariationAxes:{...ne.fontVariationAxes,...Ze?.fontVariationAxes},urlJoy:Ze?.joy??0,urlFear:Ze?.fear??0,urlJoyProgress:Ze?.joyWaveProgress??0},Me=Ye=>{let et=Ze?.[Ye]??ne[Ye];et!==void 0&&(Re[Ye]=et)};return Me("stretchX"),Me("outline2Width"),Me("outline2Color"),Me("outline3Width"),Me("outline3Color"),Me("outlineShadowWidth"),Me("outlineShadowColor"),Me("outlineShadowBlur"),Me("glowIntensity"),Me("glowColor"),Me("snakeWave"),Me("karaoke"),h&&(Re.translateX=-Re.translateX,Re.rotation=Re.rotation?-Re.rotation:0,Re.slant=-Re.slant,Re.skewX!==void 0&&(Re.skewX=-Re.skewX)),{word:de.word,start:de.start,end:de.end,animationEnd:de.animationEnd,isActive:ee,emotion:ue,emotionIntensity:he,fontFamily:Oe,emphasisEffect:null,strongEmphasis:null,animationParameters:Re,effects:{standardEmphasis:null,strongEmphasis:null},emotionCategory:De,volume:we}}):[],[A,ae,u,ne,S,b,n,q,p,h,Y,I,x,d,o,r,$,P,me]);if(!A)return{text:"",words:[],emotion:"none",emotionIntensity:0,fontFamily:'"Roboto Flex", "Roboto", sans-serif',currentWordIndex:-1,startTime:0,endTime:0,isActive:!1,hasMergedSubtitles:H?.merged_subtitles?.length>0,debug:{}};let ve=m||G,Te=u>=K&&u<ve;return{text:H?fy(H):"",words:$e,emotion:S,emotionIntensity:b,fontFamily:F,currentWordIndex:oe,startTime:K,endTime:G,extendedMergedEndTime:ve,isActive:Te,hasMergedSubtitles:!1,debug:{segmentFontSize:ne.fontSize,finalWeight:ne.weight,mergedRange:null,currentTime:u,finalIsActive:Te}}}function Cd(H){let{vodId:u,currentTime:n,maxExpression:i=1,threshold:c=.2,language:m,phontClient:$}=H,[P,t]=a1(null),[_,a]=a1(!0),r=cs(n),o=cs(null),l=cs(null),d=cs(null),h=cs(null);ls(()=>{r.current=n},[n]),ls(()=>{$&&Ln.setPhontClient($)},[$]),ls(()=>{Ln.setAnimationMode("Word")},[]),ls(()=>{let T=Ln.subscribe(y=>{let E=y.currentSubtitleData;E&&t(E)});if(u){let y=`${u}::${m||""}`,E=Ln.vodState,S=E?.language||null,b=E?.vodId,C=b===u&&E?.subtitles?.length>0&&S===m;if(b&&b!==u&&(t(null),d.current=null,h.current=null,Ln.clearSubtitleCache(),Ln.clearAudioPlaylistCache(),l.current=null),C||a(!0),C||l.current===y){if(a(!1),r.current>=0){Ln.setCurrentTime(r.current);let k=Ln.getSubtitleForTime(r.current);k&&t(k)}}else{if(o.current===y)return T;o.current=y,(async()=>{let R=null;for(let D=0;D<2;D+=1)try{await Ln.loadVodSubtitles(u,m),l.current=y;return}catch(V){R=V;let q=V?.status||V?.response?.status,K=String(V?.message||"");if(!(q===429||K.includes("429")||K.includes("Failed to fetch"))||D===1)break;await new Promise(U=>setTimeout(U,900))}throw R})().then(()=>{if(a(!1),r.current>=0){Ln.setCurrentTime(r.current),Ln.updateState();let R=Ln.getSubtitleForTime(r.current);R&&t(R)}}).catch(()=>{a(!1)}).finally(()=>{o.current===y&&(o.current=null)})}}return T},[u,m,$]),ls(()=>{if(n>=0){Ln.setCurrentTime(n),Ln.updateState();let T=Ln.getSubtitleForTime(n);T?(d.current=T,t(T)):d.current&&h.current!==null&&n<=h.current?t(d.current):(d.current=null,t(null))}},[n]);let f=Id(()=>{if(!P)return null;let T=Ln.vodState?.subtitles;if(!T||T.length===0)return null;let y=T.findIndex(E=>E===P);return y===-1&&(y=T.findIndex(E=>E?.start_time===P?.start_time&&E?.end_time===P?.end_time&&(E?.subtitle||"")===(P?.subtitle||""))),y===-1||y>=T.length-1?null:T[y+1]??null},[P,u,m]),p=f?.start_time??null,A=Id(()=>{if(!P)return h.current=null,null;let T=P.words||[];if(T.length===0){let U=P.end_time||null;return h.current=U,U}let y=T[T.length-1],E=y.end||0,S=y.start||0,b=P.end_time||E,C=Math.max(0,E-S),{minWordDisplayTime:O,breathingRoomDuration:k,breathingRoomMinGap:R,breathingRoomLargeGap:D}=py.timing,V=Math.max(C,O),q=!1,K=b-E;if(p!==null&&p>b?(K=p-E,q=K>=D):p===null?(q=!0,K=1/0):q=K>=R,q){let L=K===1/0?O+k:E+K-S-.1,Y=C<O?L:Math.min(O+k,L);V=Math.max(V,Y)}let G=S+V;return h.current=G,G},[P,p]),x=us({segment:P,currentTime:n,maxExpression:i,threshold:c,nextSegmentStartTime:p,extendedEndTime:A,transparentUntilSpoken:!1});return{animationState:Id(()=>!P||_?{text:"",words:[],currentWordIndex:-1,emotion:"none",emotionIntensity:0,fontFamily:'"Roboto Flex", "Roboto", sans-serif',startTime:0,endTime:0,isActive:!1}:x,[P,_,x]),isLoading:_,segment:P,nextSegment:f}}import{subtitleManager as Dy,preloadAnimationFonts as Ny}from"@phont-ai/subtitles-core";import Ti,{useEffect as xd,useMemo as ky,useState as Gi}from"react";import{subtitleManager as Md,RENDERING_CONTROL as wy,getSubtitleAnimations as Ry}from"@phont-ai/subtitles-core";var ds={subtitles:{bottomVh:10,mobileBottomVh:22,zIndex:40,width:"100vw",mobileWidth:"90vw",maxMobileWidth:450},speaker:{zIndex:45,fontSize:14,marginAboveSubtitles:2},soundbites:{bottomVh:16,bottomVhNoSpeaker:14,mobileBottomVh:30,mobileBottomVhNoSpeaker:28,zIndex:1001,width:520,mobileWidth:"90vw",maxMobileWidth:400,height:320}},fs={soundbites:ds.soundbites},o1=(H=!1)=>{let u=ds.subtitles,n=H?u.mobileBottomVh:u.bottomVh,i=H?u.mobileWidth:u.width,c=H?`${u.maxMobileWidth}px`:"none";return{parent:{position:"fixed",left:0,right:0,bottom:`${n}vh`,zIndex:u.zIndex,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},child:{width:i,maxWidth:c,paddingLeft:"1rem",paddingRight:"1rem",pointerEvents:"none",marginLeft:"auto",marginRight:"auto"}}};import An from"react";import{ANIMATION_STYLING as Ju,splitTextIntoLetters as Ey,calculateJoy as Ay,getJoyTransform as Py,getJoyFilter as Iy,getCombinedBlurAmount as Cy}from"@phont-ai/subtitles-core";var h1=Cr(f1());import{RENDERING_CONTROL as _P}from"@phont-ai/subtitles-core";import{isInStrongEmphasisRange as vP}from"@phont-ai/subtitles-core";var mP=(0,h1.default)(.42,0,.58,1);function _1(H){if(!H)return"";let u=H.brightness||1,n=H.contrast||1,i=H.shadowBlur||0,c=H.shadowOpacity||0,m=H.shadowOffsetX||0,$=H.shadowOffsetY||0,P=[`brightness(${u})`,`contrast(${n})`];return i>0&&c>0&&P.push(`drop-shadow(${m}px ${$}px ${i}px rgba(255, 255, 255, ${c}))`),P.join(" ")}function Qu(H,u=0){let n=H+u,i=Math.sin(n*12.9898+u*78.233)*43758.5453;return i-Math.floor(i)}function p1(H,u,n,i=1,c=!0,m=!1,$=6){if(!c&&!m)return{x:0,y:0};if(n===0)return{x:0,y:0};let P=n,t=.7+Qu(H,0)*.6,_=$*t,a=Qu(H,1)*Math.PI*2,r=Qu(H,2)*Math.PI*2,o=.4+Qu(H,3)*.6,l=u*_,d=1.618,h=2.414,f=Math.sin(l*Math.PI*2+a),p=Math.sin(l*d*Math.PI*2+a+1)*.4,A=Math.sin(l*h*Math.PI*2+a+2)*.2,x=f+p+A,I=Math.sin(l*Math.PI*2+r),T=Math.sin(l*d*Math.PI*2+r+1)*.4,y=Math.sin(l*h*Math.PI*2+r+2)*.2,E=I+T+y,S=Math.max(-1,Math.min(1,x/1.6)),b=Math.max(-1,Math.min(1,E/1.6)),C=P*o;return{x:S*C,y:b*C*.2}}var ra={wordBorders:{active:"2px solid rgba(255, 0, 0, 0.6)",inactive:"1px solid rgba(255, 255, 0, 0.3)",fallback:"2px solid rgba(255, 165, 0, 0.6)",background:{active:"rgba(255, 0, 0, 0.1)",inactive:"rgba(255, 255, 0, 0.05)",fallback:"rgba(255, 165, 0, 0.1)"}}};function xy(H){return{display:"inline-block",fontSize:`${Ju.fontSize}px`,fontFamily:H||`"${Ju.defaultFont}", sans-serif`,fontWeight:400,color:Ju.textColor}}function v1(H,u,n){return Math.max(u,Math.min(n,H))}function g1(H,u){let n=Number(H);return Number.isFinite(n)?n:u}function My(H){let u=String(H||""),n=u.toLowerCase();return n.includes("roboto flex")?'"Roboto Flex", "Roboto", "Noto Sans", "Helvetica Neue", Arial, sans-serif':n.includes("parkinsans")?'"Parkinsans", "Nunito Sans", "Noto Sans", "Helvetica Neue", Arial, sans-serif':n.includes("rakkas")?'"Rakkas", "Noto Sans", "Arial Black", "Helvetica Neue", Arial, sans-serif':n.includes("cormorant")?'"Cormorant", "Noto Serif", "Times New Roman", serif':u||"sans-serif"}function Zu({text:H,words:u=[],fontFamily:n,className:i="",style:c={},debugMode:m=!1,currentTime:$=0,mergedSubtitleStart:P=null,mergedSubtitleEnd:t=null,mergedSubtitleExtendedEnd:_=null,hasMultipleSubtitles:a=!1,fontFallbackMode:r=!1,gts:o=1}){let{stylesheet:l,isChildrenActive:d}=xr(),{isRTL:h}=zu();if(!u||u.length===0)return null;let f=H?.split(`
|
|
298
|
+
`)||[],p=f.length>1,A=0,x=[],I=[];if(p&&f.length>0){I=[0];let T=0;for(let y=0;y<f.length;y++){let E=f[y].trim(),S=E;(E.startsWith("-")||E.startsWith("\u2022"))&&(S=E.substring(1).trim());let C=S.split(/\s+/).filter(O=>O.length>0).length;x.push(C),T+=C,y<f.length-1&&T<u.length&&I.push(T)}}return An.createElement("div",{className:`word-karaoke-renderer ${i}`,dir:h?"rtl":"ltr",style:{display:"flex",flexWrap:"wrap",justifyContent:"center",alignItems:"baseline",lineHeight:1.5,transform:"translateZ(0)",backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden",overflow:"visible",...c}},u.map((T,y)=>{let E=!1;if(p&&x.length>0&&A<f.length-1){let Je=x.slice(0,A+1).reduce((lt,mt)=>lt+mt,0);y===Je&&(E=!0,A++)}if(!T||!T.animationParameters){let Je={...xy(),fontFamily:n,transform:"scale(1.0)",...m&&{padding:"2px 4px",margin:"0 2px",border:ra.wordBorders.fallback,background:ra.wordBorders.background.fallback,borderRadius:"4px"}};return An.createElement(An.Fragment,{key:`word-${y}-${T?.start||y}`},E&&An.createElement("div",{style:{flexBasis:"100%",height:0}}),An.createElement("span",{style:Je},(T?.word||"").trim()))}let S=(T.word||"").trim();if(p&&I.includes(y)){let Je=I.indexOf(y),lt=f[Je]?.trim()||"";lt.startsWith("-")?S="- "+S.trim():lt.startsWith("\u2022")&&(S="\u2022 "+S.trim())}let{standardEmphasis:C,strongEmphasis:O}=T.effects||{},{fontSize:k,scale:R=1,opacity:D,weight:V,width:q,slant:K,textColor:G,translateX:U=0,translateY:L=0,stretchY:F=1,stretchX:Y=1,urlJoy:Z=0,urlJoyProgress:te=0,blur:ne=0,outlineWidth:ae=0,outlineColor:oe="#000000",outline2Width:_e=0,outline2Color:me="#000000",outline3Width:$e=0,outline3Color:ve="#000000",outlineShadowWidth:ge=0,outlineShadowColor:Te="#000000",outlineShadowBlur:Ae=0,snakeWave:de=0,karaoke:ie=0}=T.animationParameters,Q=Z>.01,ee=ie>.01,ue=_e>0||$e>0||ge>0,he=ae>0||ue,Se=r?v1(R,.92,1.18):R,we=r?v1(g1(V,400),300,700):g1(V,400),De=r?100:typeof q=="number"?q:100,Ke=T.animationParameters.letterShake||0,st=`skewX(${K}deg) scaleX(${Y}) scaleY(${F}) scale(${Se}) translate(${U}px, ${L}px)`,Be=Math.abs(U),Pe=Ke>0?Ke:0,ke=Se>1.01?(Se-1)*(S.length||1)*.25:0,Le=Pe*.6,qe=T.fontFamily?`"${T.fontFamily}", sans-serif`:n,tt=My(qe),je=G||Ju.textColor;if(d&&T.emotionCategory){let Je=l.colors[T.emotionCategory];Je&&(je=Je)}let at="";if(d&&T.volume!==void 0&&T.emotionCategory){let Je=l.glows[T.emotionCategory];if(Je&&(T.emotionCategory==="shout"&&T.volume>=Je.threshold||T.emotionCategory==="whisper"&&T.volume<=Je.threshold)){let mt=Je.blur*(o||1),gt=Je.opacity*(o||1),Rt=Math.round(gt*255).toString(16).padStart(2,"0");at=`0 0 ${mt}px ${Je.color}${Rt}`}}let Ze=T.animationParameters?.textShadow;!Ze||Ze===""?Ze=at||"none":Ze=at||Ze||"none";let Xe=[`"wght" ${we}`];if(!r&&typeof De=="number"&&Xe.push(`"wdth" ${De}`),T.animationParameters?.fontVariationAxes){let Je=T.animationParameters.fontVariationAxes;Object.entries(Je).forEach(([lt,mt])=>{lt!=="wght"&<!=="wdth"&&Xe.push(`"${lt}" ${Math.round(mt)}`)})}let Oe=Xe.join(", "),ce=!r&&typeof De=="number"?`${De}%`:void 0,ye=Cy(ne,Se,o),Re={display:"inline-block",position:"relative",verticalAlign:"baseline",fontSize:`${k}px`,fontFamily:tt,fontWeight:we,fontStretch:ce,fontVariationSettings:Oe,transition:"transform 75ms ease-out, opacity 75ms ease-out",opacity:D!==void 0?D:1,transform:`${st} translateZ(0)`,transformOrigin:"center",textShadow:Ze||"none",filter:ye>0?`blur(${ye}px)`:"none",WebkitTextStroke:he&&!ue?`${ae}px ${oe}`:"none",paintOrder:he?"stroke fill":void 0,letterSpacing:`${Math.max(0,(Se-1)*.02)}em`,willChange:ye>0?"transform, opacity, filter":"transform, opacity",color:je,backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden",overflow:"visible",marginLeft:Se>1.01?`${(Se-1)*(S.length||1)*.25}em`:void 0,marginRight:`${.3+(Se>1.01?(Se-1)*(S.length||1)*.25:0)}em`,...m&&{padding:"2px 4px",margin:"0 2px",border:T.isActive?ra.wordBorders.active:ra.wordBorders.inactive,background:T.isActive?ra.wordBorders.background.active:ra.wordBorders.background.inactive,borderRadius:"4px"}};if(!(h?!1:!!T.animationParameters?.letterShake||!!T.animationParameters?.letterShakeIntensity||Q||ee||ue||de>0))return An.createElement(An.Fragment,{key:`word-${y}-${T.start}`},E&&An.createElement("div",{style:{flexBasis:"100%",height:0}}),An.createElement("span",{className:T.isActive?"active-word":"",style:Re,title:m?`Emotion: ${T.emotion||"none"}`:void 0},S,m&&T.emotion&&T.emotion!=="none"&&An.createElement("span",{style:{fontSize:"9px",position:"absolute",top:"-12px",left:"50%",transform:"translateX(-50%)",background:"rgba(0,0,0,0.8)",color:"#fff",padding:"1px 4px",borderRadius:"3px",whiteSpace:"nowrap",pointerEvents:"none"}},T.emotion)));let Ye=Ey(S),et=Q?te:0;return An.createElement(An.Fragment,{key:`word-${y}-${T.start}`},E&&An.createElement("div",{style:{flexBasis:"100%",height:0}}),An.createElement("span",{className:T.isActive?"active-word":"",style:{...Re,display:"inline-block",position:"relative",transform:"translateZ(0)",filter:"none",marginLeft:`calc(${ke}em + ${Be+Le}px)`,marginRight:`calc(${.3+ke}em + ${Be+Le}px)`},title:m?`Emotion: ${T.emotion||"none"}`:void 0},m&&T.emotion&&T.emotion!=="none"&&An.createElement("span",{style:{fontSize:"9px",position:"absolute",top:"-12px",left:"50%",transform:"translateX(-50%)",background:"rgba(0,0,0,0.8)",color:"#fff",padding:"1px 4px",borderRadius:"3px",whiteSpace:"nowrap",pointerEvents:"none",zIndex:1e3}},T.emotion),Ye.map((Je,lt)=>{let mt=null;O&&(mt=O);let gt=null;Q&&!Je.isSpace&&(gt=Ay(et,lt,Ye.length,Z));let Rt=0,pt=0,Tt=T.animationParameters.letterShake||0;if(Tt>0&&!Je.isSpace){let tn=Math.max(0,$-T.start),jn=Math.max(.01,(T.animationEnd??T.end??T.start)-T.start),vi=Math.max(0,Math.min(1,tn/jn)),Rn=p1(lt,vi,Tt,1,T.isActive,!1);Rt=Rn.x,pt=Rn.y}let qt=0;if(de>0&&!Je.isSpace){let tn=Ye.filter(bt=>!bt.isSpace).length,vi=Ye.slice(0,lt).filter(bt=>!bt.isSpace).length/Math.max(1,tn-1)*Math.PI*2,Rn=T.start??0,ct=Math.max(.01,(T.animationEnd??T.end??Rn)-Rn),vt=($-Rn)/ct*Math.PI*2*3;qt=Math.sin(vi-vt)*de}let bn=1;if(ee&&!Je.isSpace){let tn=Ye.filter(_n=>!_n.isSpace).length,jn=Ye.slice(0,lt).filter(_n=>!_n.isSpace).length,vi=tn<=1?.5:jn/(tn-1),Rn=T.start??0,ct=Math.max(.01,(T.end??Rn)-Rn),vt=Math.max(0,Math.min(1,($-Rn)/ct)),bt=.15,_t=-bt+vt*(1+2*bt),It=.12,Vt=vi-_t,Pn=0;if(Vt<=0)Pn=1;else if(Vt<It){let _n=Vt/It;Pn=1-_n*_n*(3-2*_n)}let Kt=1-ie*.8;bn=Kt+Pn*(1-Kt)}let Et,Ht,en;if(gt)Et=Py(gt),Ht=Iy(gt),en=gt.zIndex;else if(mt){let tn=mt.scale||1,jn=mt.skewX||0,vi=mt.rotation||0,Rn=mt.translateX||0,ct=mt.translateY||0,vt=K+jn,bt=U+Rn+Rt,_t=L+ct+pt+qt;Et=`skewX(${vt}deg) scaleX(${Y}) scaleY(${F}) scale(${Se*tn}) rotate(${vi}deg) translate(${bt}px, ${_t}px)`,Ht=_1(mt),en=mt.zIndex}else Tt>0||qt!==0?(Et=`skewX(${K}deg) scaleX(${Y}) scaleY(${F}) scale(${Se}) translate(${U+Rt}px, ${L+pt+qt}px)`,Ht="none",en="auto"):(Et=st,Ht="none",en="auto");ye>0&&(Ht=Ht&&Ht!=="none"?`${Ht} blur(${ye}px)`:`blur(${ye}px)`);let Yn=[];ue&&!Je.isSpace&&(ge>0&&Yn.push({width:ge,color:Te,isShadow:!0,blur:Ae}),$e>0&&Yn.push({width:$e,color:ve}),_e>0&&Yn.push({width:_e,color:me}),ae>0&&Yn.push({width:ae,color:oe}));let ei=T.animationParameters?.translateX??0,$n=T.animationParameters?.translateY??0;return An.createElement("span",{key:lt,className:Je.isSpace?"inline":"inline-block letter",style:{display:Je.isSpace?"inline":"inline-block",transformOrigin:"center",transform:`${Et} translateZ(0)`,opacity:bn<1?bn:void 0,filter:Ht,zIndex:en,position:(ue&&!Je.isSpace,"relative"),backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden",transition:"transform 75ms ease-out, opacity 75ms ease-out",willChange:C||O||Q||ee||de>0?"transform, filter, opacity":"auto",marginRight:Je.isSpace?`calc(0.25em + ${Math.max(ae,_e,$e,ge)}px)`:`${Math.max(0,(Se-1)*.5)}em`,letterSpacing:Je.isSpace?void 0:`${Math.max(0,(Se-1)*.08)}em`,WebkitTextStroke:ue?"none":he&&!Je.isSpace?`${ae}px ${oe}`:void 0,paintOrder:he&&!Je.isSpace?"stroke fill":void 0}},Yn.map((tn,jn)=>An.createElement("span",{key:`ol-${jn}`,"aria-hidden":"true",style:{position:"absolute",top:0,left:0,color:tn.isShadow?tn.color:"transparent",textShadow:"none",pointerEvents:"none",WebkitTextStroke:`${tn.width}px ${tn.color}`,paintOrder:"stroke fill",...tn.isShadow&&(ei!==0||$n!==0)?{transform:`translate(${ei}px, ${$n}px)`}:{},...tn.isShadow&&tn.blur>0?{filter:`blur(${tn.blur}px)`}:{}}},Je.char)),ue&&!Je.isSpace?An.createElement("span",{style:{position:"relative"}},Je.char):Je.char)})))}))}function el({segment:H,currentTime:u,isPlaying:n=!0,maxExpression:i=1,threshold:c=.2,className:m="",style:$,nextSegment:P=null,forceMobile:t=!1,fontFallbackMode:_=!1,disablePublishedAnimationFetch:a=!1}){let[r,o]=Gi(!0),[l,d]=Gi(!1),[h,f]=Gi(!1),[p,A]=Gi(!1),[x,I]=Gi(null),[T,y]=Gi(null),[E,S]=Gi(!1),{activeStylesheet:b,switchToDefault:C,switchToChildren:O}=xr(),k=P?.start_time||null,[R,D]=Gi({animationMode:"Word",isKaraokeMode:!1});xd(()=>Md.subscribe(ne=>{D({animationMode:ne.animationMode,isKaraokeMode:ne.isKaraokeMode}),A(!!ne.isSpeaker),I(Md.getCurrentSpeaker(!1)),y(Md.getCurrentSubtitleLanguage())}),[]);let V=!0;xd(()=>{let te=ne=>{ne.key==="v"||ne.key==="V"?d(ae=>{let oe=!ae,_e=document.getElementById("stats");return _e&&(_e.style.display=oe?"block":"none"),oe}):ne.key==="p"||ne.key==="P"?S(ae=>!ae):(ne.metaKey||ne.ctrlKey)&&(ne.key==="d"||ne.key==="D")?(ne.preventDefault(),f(ae=>!ae)):(ne.metaKey||ne.ctrlKey)&&ne.key==="="&&(ne.preventDefault(),b==="default"?O():C())};return window.addEventListener("keydown",te),()=>window.removeEventListener("keydown",te)},[b,C,O]);let q=ky(()=>{if(!H||!V)return H?.end_time||0;let te=H.words||[];if(te.length===0)return H.end_time;let ne=te[te.length-1],ae=ne.end||0,oe=ne.start||0,_e=H.end_time||ae,me=Math.max(0,ae-oe),{minWordDisplayTime:$e,breathingRoomSafetyBuffer:ve,breathingRoomNoNextHold:ge}=wy.timing,Te=oe+Math.max(me,$e),Ae;return typeof k=="number"&&k>ae?Ae=k-(ve??.1):k==null?Ae=_e+(ge??4):Ae=Te,Math.max(Te,Ae)},[H,V,k]),K=us({segment:H,currentTime:u,maxExpression:i,threshold:c,nextSegmentStartTime:k,extendedEndTime:q,transparentUntilSpoken:E,disablePublishedAnimationFetch:a}),[G,U]=Gi(!1);xd(()=>{let te=()=>{U(window.innerWidth<=768)};return te(),window.addEventListener("resize",te),()=>window.removeEventListener("resize",te)},[]);let F=o1(t||G),Y=F.parent,Z=F.child;return Ti.createElement("div",{className:m,style:{...Y,...$}},Ti.createElement("div",{className:"subtitle-container",style:Z},V&&K.isActive&&Ti.createElement("div",{className:"text-center pointer-events-none"},p&&x&&Ti.createElement("div",{className:"text-white/70 font-medium",style:{fontFamily:"Inter, sans-serif",fontSize:`${ds.speaker.fontSize}px`,textShadow:"0 2px 4px rgba(0,0,0,0.5)",marginBottom:`${ds.speaker.marginAboveSubtitles}px`}},"Speaker ",x),l&&T&&Ti.createElement("div",{className:"mb-1 text-white/50 text-xs",style:{fontFamily:"Inter, sans-serif",textShadow:"0 1px 2px rgba(0,0,0,0.5)"}},"\u{1F310} ",T.toUpperCase()),Ti.createElement(Zu,{text:K.text,words:K.words,fontFamily:K.fontFamily,fontFallbackMode:_,debugMode:h,gts:i,currentTime:u,mergedSubtitleStart:K.startTime,mergedSubtitleEnd:K.endTime,mergedSubtitleExtendedEnd:K.extendedMergedEndTime,hasMultipleSubtitles:K.hasMergedSubtitles}),l&&Ti.createElement("div",{className:"text-xs text-white mt-2 space-y-1"},Ti.createElement("div",null,"Time: ",u.toFixed(2),"s | Word:"," ",K.currentWordIndex>=0?K.currentWordIndex+1:0,"/",K.words.length,K.currentWordIndex>=0&&K.words[K.currentWordIndex]&&` "${(K.words[K.currentWordIndex].word||"").trim()}"`,K.currentWordIndex>=0&&K.words[K.currentWordIndex]&&Ti.createElement("span",{className:"text-yellow-300"}," ","(",K.words[K.currentWordIndex].start?.toFixed(2),"s-",K.words[K.currentWordIndex].end?.toFixed(2),"s)")),Ti.createElement("div",{className:"text-[11px] opacity-50"},"Emotion:"," ",(()=>{let te=K.currentWordIndex>=0?K.words[K.currentWordIndex]:null;if(te?.emotion!=null){let me=te.emotionIntensity??0;return`${te.emotion} (${(me*100).toFixed(1)}%)`}let ne=Ry(H),ae=Object.entries(ne).filter(([,me])=>typeof me=="number");if(ae.length===0)return"none";ae.sort(([,me],[,$e])=>$e-me);let[oe,_e]=ae[0];return`${oe} (${(_e*100).toFixed(1)}%)`})()," ","\u2022 GTS: ",(i*100).toFixed(0),"%",K.hasMergedSubtitles&&Ti.createElement("span",{className:"text-blue-300"}," [merged]"))))))}function _s({vodId:H,currentTime:u,isPlaying:n=!0,mode:i="word",language:c,maxExpression:m=1,threshold:$=.2,isRTL:P=!1,phontClient:t,className:_="",style:a,subtitleAvailable:r=!0}){let o=Ly(!1);Oy(()=>{Dy.toggleClosedCaptions(!0),o.current||(o.current=!0,Ny())},[]);let{segment:l,nextSegment:d,isLoading:h}=Cd({vodId:r?H:"",currentTime:u,mode:i,maxExpression:m,threshold:$,isRTL:P,language:c,phontClient:t});return h||!l?null:m1.createElement(X0,{isRTL:P},m1.createElement(el,{segment:l,currentTime:u,isPlaying:n,maxExpression:m,threshold:$,className:_,style:a,nextSegment:d}))}import{useCallback as ps,useEffect as y1,useSyncExternalStore as By}from"react";import{PhontClient as kd}from"@phont-ai/subtitles-core";var vs="phont_sdk_auth_token",gs="phont_sdk_session_id",ms="phont_sdk_tenant_id",ys="phont_sdk_username",Ss="phont_sdk_api_key",Uy=process.env.NEXT_PUBLIC_API_SUB_BASE_URL||"",Fy="https://demo-api-dev.phont.ai";function b1(){return Uy||Fy}var Mr={isAuthenticated:!1,authToken:null,sessionId:null,tenantId:null,username:null,apiKey:null,phontClient:null},S1=Symbol.for("phont.subtitles.sdkAuthStore");function Hy(){let H=globalThis,u=H[S1];if(!u){let n=new Set;if(u={state:Mr,listeners:n,emit:()=>{for(let i of n)i()},set:i=>{u.state=i,u.emit()}},typeof window<"u")try{u.state=T1(b1())}catch{}H[S1]=u}return u}function $1(H,u){return new kd({authToken:H.authToken,sessionId:H.sessionId,apiKey:H.apiKey,apiBaseUrl:u})}function T1(H){if(typeof window>"u"||!H)return Mr;let u=sessionStorage.getItem(vs),n=sessionStorage.getItem(gs),i=sessionStorage.getItem(ms),c=sessionStorage.getItem(ys),m=sessionStorage.getItem(Ss);if(!!!(u&&n)&&!!!m)return Mr;let t=$1({authToken:u||void 0,sessionId:n||void 0,apiKey:m||void 0},H);return{isAuthenticated:!0,authToken:u,sessionId:n,tenantId:i,username:c,apiKey:m,phontClient:t}}function bs(H){let u=H||b1();u||console.warn("useSDKAuth: apiBaseUrl not provided and NEXT_PUBLIC_API_SUB_BASE_URL not set. Authentication features will be disabled.");let n=Hy(),i=By(_=>(n.listeners.add(_),()=>n.listeners.delete(_)),()=>n.state,()=>Mr),c=ps(()=>{if(!(typeof window>"u")){if(!u){n.set(Mr);return}n.set(T1(u))}},[u]);y1(()=>{c()},[c]),y1(()=>{if(typeof window>"u")return;let _=r=>{(r.key===vs||r.key===gs||r.key===Ss||r.key===ys||r.key===ms)&&c()},a=()=>{c()};return window.addEventListener("storage",_),window.addEventListener("phont-sdk-auth-change",a),()=>{window.removeEventListener("storage",_),window.removeEventListener("phont-sdk-auth-change",a)}},[c]);let m=ps(async(_,a)=>{if(!u)throw new Error("useSDKAuth: Cannot login without apiBaseUrl. Please provide it as a parameter or set NEXT_PUBLIC_API_SUB_BASE_URL environment variable.");let r=new kd({apiBaseUrl:u}),o=await r.login(_,a);return sessionStorage.removeItem(Ss),sessionStorage.setItem(vs,o.auth_token),sessionStorage.setItem(gs,o.session_id),sessionStorage.setItem(ms,o.tenant_id),sessionStorage.setItem(ys,o.username),r.setCredentials({authToken:o.auth_token,sessionId:o.session_id}),n.set({isAuthenticated:!0,authToken:o.auth_token,sessionId:o.session_id,tenantId:o.tenant_id,username:o.username,apiKey:null,phontClient:r}),window.dispatchEvent(new Event("phont-sdk-auth-change")),o},[u]),$=ps(async(_,a,r,o)=>{if(!u)throw new Error("useSDKAuth: Cannot register without apiBaseUrl. Please provide it as a parameter or set NEXT_PUBLIC_API_SUB_BASE_URL environment variable.");let d=await new kd({apiBaseUrl:u}).register(_,a,r,o);return await m(a,r),d},[u,m]),P=ps(_=>{if(!u)throw new Error("useSDKAuth: Cannot set API key without apiBaseUrl. Please provide it as a parameter or set NEXT_PUBLIC_API_SUB_BASE_URL environment variable.");sessionStorage.removeItem(vs),sessionStorage.removeItem(gs),sessionStorage.removeItem(ms),sessionStorage.removeItem(ys),sessionStorage.setItem(Ss,_);let a=$1({apiKey:_},u);n.set({isAuthenticated:!0,authToken:null,sessionId:null,tenantId:null,username:null,apiKey:_,phontClient:a}),window.dispatchEvent(new Event("phont-sdk-auth-change"))},[u]),t=ps(()=>{sessionStorage.removeItem(vs),sessionStorage.removeItem(gs),sessionStorage.removeItem(ms),sessionStorage.removeItem(ys),sessionStorage.removeItem(Ss),n.set(Mr),window.dispatchEvent(new Event("phont-sdk-auth-change"))},[]);return{...i,login:m,register:$,setApiKey:P,logout:t,refreshAuth:c}}import wt,{useState as or,useRef as Vy,useEffect as Gy}from"react";var jy='<?xml version="1.0" encoding="UTF-8"?><svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 460.9 102.4"><defs><style>.cls-1{fill:#fff;stroke-width:0px;}</style></defs><g id="Ebene_2" data-name="Ebene 2"><g id="Ebene_1-2" data-name="Ebene 1-2"><path class="cls-1" d="M170.2,3.9h-15.9c-9,11.8-14.4,25.9-15.6,40.7h-44.7V3.9h-13.4v95.5h13.4v-43.6h44.7c.7,15.9,6.4,31.2,16.2,43.6h16.1c-11.8-12.6-19.8-29.6-19.8-48.2.1-17.6,6.9-34.5,19-47.4ZM225.4,0c-28.3,0-51.2,23-51.1,51.3,0,28.3,23,51.2,51.3,51.1,28.2,0,51.1-22.9,51.1-51.1,0-28.3-23-51.3-51.3-51.3ZM225.4,89c-20.9,0-37.8-16.8-37.9-37.7,0-20.9,16.8-37.8,37.7-37.9,20.9,0,37.8,16.8,37.9,37.7,0,0,0,.1,0,.2,0,20.8-16.9,37.6-37.7,37.7ZM460.9,3.9h-76.4v11.2h31.5v84.3h13.2V15.1h31.6V3.9ZM357.4,3.9l.5,78.9L297.2,3.9h-15.7c10.8,13.4,16.4,30.2,15.9,47.4,0,18-7,35.2-19.5,48.2h15.7c9.8-11.5,16.4-26.8,16.4-46.6,0-6.6-1.4-13.2-4.4-19.2l49.2,65.8h15.9V3.9h-13.4ZM40,3.9H0v95.5h13.4v-37.1h26.6c15.6,0,27.8-9.8,27.8-29.3S55.6,3.9,40,3.9ZM40,51.3H13.6V15.4h26.5c9,0,14.3,6.4,14.3,17.8s-5,18.1-14.3,18.1Z"/></g></g></svg>',wd=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(jy)}`;function Rd({apiBaseUrl:H,onAuthenticated:u}){let{isAuthenticated:n,username:i,tenantId:c,phontClient:m,login:$,register:P,setApiKey:t,logout:_}=bs(H),[a,r]=or("login"),[o,l]=or(""),[d,h]=or(""),[f,p]=or(""),[A,x]=or(""),[I,T]=or(""),[y,E]=or(null),[S,b]=or(!1),C=Vy(null);wt.useEffect(()=>{n&&m&&u&&u(m)},[n,m,u]),Gy(()=>{C.current&&typeof window<"u"&&(C.current.style.opacity="0",C.current.style.transform="translateY(20px)",setTimeout(()=>{C.current&&(C.current.style.transition="opacity 0.5s ease-out, transform 0.5s ease-out",C.current.style.opacity="1",C.current.style.transform="translateY(0)")},10))},[a]);let O=async R=>{R.preventDefault(),E(null),b(!0);try{await $(o,d)}catch(D){let V="Login failed";D.status===401?V="Invalid credentials. Please check your username/email and password.":D.status===404?V="Login endpoint not found. Please check the API URL.":D.status===500?V="Server error. Please try again later.":D.message&&(V=D.message),E(V),console.error("Login error details:",D)}finally{b(!1)}},k=async R=>{R.preventDefault(),E(null),b(!0);try{let D=o.includes("@")?o:`${o}@phont.ai`;await P(o,D,d,{first_name:f.trim(),last_name:A.trim(),company:I.trim()})}catch(D){E(D.message||"Registration failed")}finally{b(!1)}};return n?wt.createElement("div",{className:"min-h-screen flex items-center justify-center bg-black px-4 py-8"},wt.createElement("div",{className:"bg-[#17428c14] rounded-lg shadow-lg p-8 border border-white/10",style:{width:"100%",minWidth:"450px",maxWidth:"550px"}},wt.createElement("div",{className:"mb-6"},wt.createElement("div",{className:"mb-2 flex items-center justify-center"},wt.createElement("img",{src:wd,alt:"PHONT",style:{height:"36px",width:"auto",filter:"brightness(0) invert(1)"}})),wt.createElement("p",{className:"text-gray-400 text-sm text-center",style:{fontFamily:"Inter, sans-serif"}},i?`Signed in as ${i}`:"You are signed in")),wt.createElement("button",{onClick:_,className:"w-full px-6 py-3 bg-red-600/80 hover:bg-red-600 text-white font-bold rounded-lg transition-colors duration-200",style:{fontFamily:"Inter, sans-serif"}},"Sign Out"))):wt.createElement("div",{className:"min-h-screen flex items-center justify-center bg-black px-4"},wt.createElement("form",{ref:C,onSubmit:R=>{R.preventDefault();let D=o.trim()&&d.trim()&&f.trim()&&A.trim()&&I.trim();!S&&o.trim()&&d.trim()&&(a==="login"?O(R):D&&k(R))},className:"bg-[#17428c14] rounded-lg shadow-lg p-8 border border-white/10 w-full max-w-lg",style:{minWidth:"400px",maxWidth:"500px"}},wt.createElement("div",{className:"mb-6"},wt.createElement("div",{className:"mb-4 flex items-center justify-center"},wt.createElement("img",{src:wd,alt:"PHONT",style:{height:"36px",width:"auto",filter:"brightness(0) invert(1)"}})),wt.createElement("h2",{className:"text-2xl font-bold text-white mb-2 text-center",style:{fontFamily:"Inter, sans-serif"}},a==="login"?"Sign In":"Create Account")),y&&wt.createElement("div",{className:"mb-4 p-3 bg-red-500/20 border border-red-500/50 rounded text-red-300 text-sm",style:{fontFamily:"Inter, sans-serif"}},y),wt.createElement("div",{className:"mb-4"},wt.createElement("label",{htmlFor:"username",className:"block text-white mb-2 text-sm font-medium",style:{fontFamily:"Inter, sans-serif"}},"Username"),wt.createElement("input",{id:"username",type:"text",value:o,onChange:R=>l(R.target.value),className:"w-full px-4 py-2 bg-black/50 border border-white/20 rounded-lg text-white focus:outline-none focus:border-[#D2BEFF] transition-colors",style:{fontFamily:"Inter, sans-serif"},placeholder:"Enter username",required:!0,disabled:S,autoFocus:!0})),wt.createElement("div",{className:a==="register"?"mb-4":"mb-6"},wt.createElement("label",{htmlFor:"password",className:"block text-white mb-2 text-sm font-medium",style:{fontFamily:"Inter, sans-serif"}},"Password"),wt.createElement("input",{id:"password",type:"password",value:d,onChange:R=>h(R.target.value),onKeyDown:R=>{R.key!=="Enter"||S||(a==="login"&&o.trim()&&d.trim()?(R.preventDefault(),O(R)):a==="register"&&o.trim()&&d.trim()&&f.trim()&&A.trim()&&I.trim()&&(R.preventDefault(),k(R)))},className:"w-full px-4 py-2 bg-black/50 border border-white/20 rounded-lg text-white focus:outline-none focus:border-[#D2BEFF] transition-colors",style:{fontFamily:"Inter, sans-serif"},placeholder:"Enter password",required:!0,disabled:S})),a==="register"&&wt.createElement(wt.Fragment,null,wt.createElement("div",{className:"mb-4"},wt.createElement("label",{htmlFor:"company",className:"block text-white mb-2 text-sm font-medium",style:{fontFamily:"Inter, sans-serif"}},"Company name"),wt.createElement("input",{id:"company",type:"text",value:I,onChange:R=>T(R.target.value),className:"w-full px-4 py-2 bg-black/50 border border-white/20 rounded-lg text-white focus:outline-none focus:border-[#D2BEFF] transition-colors",style:{fontFamily:"Inter, sans-serif"},placeholder:"Your organization",required:!0,disabled:S,autoComplete:"organization"})),wt.createElement("div",{className:"mb-6 grid grid-cols-1 sm:grid-cols-2 gap-3"},wt.createElement("div",null,wt.createElement("label",{htmlFor:"firstName",className:"block text-white mb-2 text-sm font-medium",style:{fontFamily:"Inter, sans-serif"}},"First name"),wt.createElement("input",{id:"firstName",type:"text",value:f,onChange:R=>p(R.target.value),className:"w-full px-4 py-2 bg-black/50 border border-white/20 rounded-lg text-white focus:outline-none focus:border-[#D2BEFF] transition-colors",style:{fontFamily:"Inter, sans-serif"},placeholder:"First name",required:!0,disabled:S,autoComplete:"given-name"})),wt.createElement("div",null,wt.createElement("label",{htmlFor:"lastName",className:"block text-white mb-2 text-sm font-medium",style:{fontFamily:"Inter, sans-serif"}},"Last name"),wt.createElement("input",{id:"lastName",type:"text",value:A,onChange:R=>x(R.target.value),className:"w-full px-4 py-2 bg-black/50 border border-white/20 rounded-lg text-white focus:outline-none focus:border-[#D2BEFF] transition-colors",style:{fontFamily:"Inter, sans-serif"},placeholder:"Last name",required:!0,disabled:S,autoComplete:"family-name"})))),wt.createElement("div",{className:"flex gap-3"},wt.createElement("button",{type:"button",onClick:async R=>{R.preventDefault(),r("login"),E(null),o.trim()&&d.trim()&&await O(R)},disabled:S||a==="login"&&(!o.trim()||!d.trim()),className:"flex-1 px-4 py-2 rounded-lg text-sm font-medium transition-colors duration-200 disabled:opacity-50 disabled:cursor-not-allowed bg-[#D2BEFF] text-black hover:bg-[#D2BEFF]/80",style:{fontFamily:"Inter, sans-serif"}},S&&a==="login"?"Signing in...":"Login"),wt.createElement("button",{type:"button",onClick:async R=>{if(R.preventDefault(),E(null),a!=="register"){r("register");return}let D=f.trim()&&A.trim()&&I.trim();o.trim()&&d.trim()&&D?await k(R):E("Please fill in username, password, company name, first name, and last name.")},disabled:S||a==="register"&&(!o.trim()||!d.trim()||!f.trim()||!A.trim()||!I.trim()),className:"flex-1 px-4 py-2 rounded-lg text-sm font-medium transition-colors duration-200 disabled:opacity-50 disabled:cursor-not-allowed bg-black/50 text-white border border-white/20 hover:bg-black/70",style:{fontFamily:"Inter, sans-serif"}},S&&a==="register"?"Creating account...":"Register")),wt.createElement("div",{className:"mt-6 pt-6 border-t border-white/10"},wt.createElement("p",{className:"text-gray-500 text-xs text-center",style:{fontFamily:"Inter, sans-serif"}},"Contact hello@phont.ai for questions."))))}var $s=class{constructor(u){this.videoElement=u}getCurrentTime(){return this.videoElement.currentTime}isPlaying(){return!this.videoElement.paused&&!this.videoElement.ended}onTimeUpdate(u){let n=()=>u(this.videoElement.currentTime);return this.videoElement.addEventListener("timeupdate",n),()=>this.videoElement.removeEventListener("timeupdate",n)}onPlayStateChange(u){let n=()=>u(!0),i=()=>u(!1);return this.videoElement.addEventListener("play",n),this.videoElement.addEventListener("pause",i),this.videoElement.addEventListener("ended",i),()=>{this.videoElement.removeEventListener("play",n),this.videoElement.removeEventListener("pause",i),this.videoElement.removeEventListener("ended",i)}}getDuration(){return this.videoElement.duration||null}seek(u){this.videoElement.currentTime=u}};var Ts=class{constructor(u,n){this.timeUpdateCallbacks=new Set;this.playStateCallbacks=new Set;if(!n)throw new Error("BitmovinPlayerAdapter requires a video element");this.player=u,this.videoElement=n,this.videoElement._bitmovinPlayer=u,this.setupEventListeners()}setupEventListeners(){try{this.timeUpdateHandler=()=>{try{let u=this.player.getCurrentTime();isFinite(u)&&u>=0&&this.timeUpdateCallbacks.forEach(n=>n(u))}catch{let u=this.videoElement.currentTime;isFinite(u)&&u>=0&&this.timeUpdateCallbacks.forEach(n=>n(u))}},this.player.on("TimeChanged",this.timeUpdateHandler),this.playHandler=()=>{this.playStateCallbacks.forEach(u=>u(!0))},this.pauseHandler=()=>{this.playStateCallbacks.forEach(u=>u(!1))},this.player.on("Play",this.playHandler),this.player.on("Pause",this.pauseHandler),this.player.on("Paused",this.pauseHandler),this.player.on("Ended",this.pauseHandler)}catch{}}getCurrentTime(){return this.videoElement.currentTime||0}isPlaying(){return!this.videoElement.paused&&!this.videoElement.ended}onTimeUpdate(u){this.timeUpdateCallbacks.add(u);try{u(this.getCurrentTime())}catch{u(0)}return()=>{this.timeUpdateCallbacks.delete(u)}}onPlayStateChange(u){this.playStateCallbacks.add(u);try{u(this.isPlaying())}catch{u(!1)}return()=>{this.playStateCallbacks.delete(u)}}getDuration(){let u=this.videoElement.duration;return isFinite(u)&&u>0?u:null}seek(u){try{this.player.seek(u)}catch{this.videoElement.currentTime=u}}destroy(){try{this.timeUpdateHandler&&this.player.off("TimeChanged",this.timeUpdateHandler),this.playHandler&&this.player.off("Play",this.playHandler),this.pauseHandler&&(this.player.off("Pause",this.pauseHandler),this.player.off("Paused",this.pauseHandler),this.player.off("Ended",this.pauseHandler))}catch{}this.timeUpdateCallbacks.clear(),this.playStateCallbacks.clear()}};var Es=class{constructor(u,n){this.timeUpdateCallbacks=new Set;this.playStateCallbacks=new Set;if(!n)throw new Error("ShakaPlayerAdapter requires a video element");this.player=u,this.videoElement=n,this.videoElement._shakaPlayer=u,this.setupEventListeners()}setupEventListeners(){this.timeUpdateHandler=()=>{try{let n=this.player.getCurrentTime();if(isFinite(n)&&n>=0){this.timeUpdateCallbacks.forEach(i=>i(n));return}}catch{}let u=this.videoElement.currentTime;isFinite(u)&&u>=0&&this.timeUpdateCallbacks.forEach(n=>n(u))},this.videoElement.addEventListener("timeupdate",this.timeUpdateHandler),this.playHandler=()=>{this.playStateCallbacks.forEach(u=>u(!0))},this.pauseHandler=()=>{this.playStateCallbacks.forEach(u=>u(!1))},this.videoElement.addEventListener("play",this.playHandler),this.videoElement.addEventListener("pause",this.pauseHandler),this.videoElement.addEventListener("ended",this.pauseHandler)}getCurrentTime(){try{let u=this.player.getCurrentTime();if(isFinite(u)&&u>=0)return u}catch{}return this.videoElement.currentTime||0}isPlaying(){return!this.videoElement.paused&&!this.videoElement.ended}onTimeUpdate(u){this.timeUpdateCallbacks.add(u);try{u(this.getCurrentTime())}catch{u(0)}return()=>{this.timeUpdateCallbacks.delete(u)}}onPlayStateChange(u){this.playStateCallbacks.add(u);try{u(this.isPlaying())}catch{u(!1)}return()=>{this.playStateCallbacks.delete(u)}}getDuration(){let u=this.videoElement.duration;return isFinite(u)&&u>0?u:null}seek(u){this.videoElement.currentTime=u}destroy(){this.timeUpdateHandler&&this.videoElement.removeEventListener("timeupdate",this.timeUpdateHandler),this.playHandler&&this.videoElement.removeEventListener("play",this.playHandler),this.pauseHandler&&(this.videoElement.removeEventListener("pause",this.pauseHandler),this.videoElement.removeEventListener("ended",this.pauseHandler)),this.timeUpdateCallbacks.clear(),this.playStateCallbacks.clear()}};var As=class{constructor(u,n){this.timeUpdateCallbacks=new Set;this.playStateCallbacks=new Set;if(!n)throw new Error("VideoJSPlayerAdapter requires a video element");this.player=u,this.videoElement=n,this.setupEventListeners()}setupEventListeners(){this.timeUpdateHandler=()=>{let u=this.videoElement.currentTime;isFinite(u)&&u>=0&&this.timeUpdateCallbacks.forEach(n=>n(u))},this.videoElement.addEventListener("timeupdate",this.timeUpdateHandler),this.playHandler=()=>{this.playStateCallbacks.forEach(u=>u(!0))},this.pauseHandler=()=>{this.playStateCallbacks.forEach(u=>u(!1))},this.videoElement.addEventListener("play",this.playHandler),this.videoElement.addEventListener("pause",this.pauseHandler),this.videoElement.addEventListener("ended",this.pauseHandler)}getCurrentTime(){return this.videoElement.currentTime||0}isPlaying(){return!this.videoElement.paused&&!this.videoElement.ended}onTimeUpdate(u){this.timeUpdateCallbacks.add(u);try{u(this.getCurrentTime())}catch{u(0)}return()=>{this.timeUpdateCallbacks.delete(u)}}onPlayStateChange(u){this.playStateCallbacks.add(u);try{u(this.isPlaying())}catch{u(!1)}return()=>{this.playStateCallbacks.delete(u)}}getDuration(){let u=this.videoElement.duration;return isFinite(u)&&u>0?u:null}seek(u){this.videoElement.currentTime=u}destroy(){this.timeUpdateHandler&&this.videoElement.removeEventListener("timeupdate",this.timeUpdateHandler),this.playHandler&&this.videoElement.removeEventListener("play",this.playHandler),this.pauseHandler&&(this.videoElement.removeEventListener("pause",this.pauseHandler),this.videoElement.removeEventListener("ended",this.pauseHandler)),this.timeUpdateCallbacks.clear(),this.playStateCallbacks.clear()}};var Ps=class{constructor(u,n){this.timeUpdateCallbacks=new Set;this.playStateCallbacks=new Set;this.timeUpdateInterval=null;if(!n)throw new Error("ThreeQPlayerAdapter requires a video element");this.player=u,this.videoElement=n,this.videoElement._threeqPlayer=u,this.setupEventListeners()}setupEventListeners(){let u=()=>{this.timeUpdateInterval||(this.timeUpdateInterval=setInterval(()=>{try{let n=this.player.getCurrentTime();isFinite(n)&&n>=0&&this.timeUpdateCallbacks.forEach(i=>i(n))}catch{this.stopTimeUpdatePolling()}},100))};this.threeqPlayHandler=()=>{this.playStateCallbacks.forEach(n=>n(!0)),u()},this.threeqPauseHandler=()=>{this.playStateCallbacks.forEach(n=>n(!1)),this.stopTimeUpdatePolling()},this.player.on("media.playing",this.threeqPlayHandler),this.player.on("media.paused",this.threeqPauseHandler),this.player.on("play",this.threeqPlayHandler),this.player.on("pause",this.threeqPauseHandler),this.player.on("media.ended",this.threeqPauseHandler),this.player.on("ended",this.threeqPauseHandler);try{this.player.isPlaying&&this.player.isPlaying()&&u()}catch{}this.timeUpdateHandler=()=>{let n=this.videoElement.currentTime;isFinite(n)&&n>=0&&this.timeUpdateCallbacks.forEach(i=>i(n))},this.videoElement.addEventListener("timeupdate",this.timeUpdateHandler),this.playHandler=()=>{this.playStateCallbacks.forEach(n=>n(!0)),u()},this.pauseHandler=()=>{this.playStateCallbacks.forEach(n=>n(!1)),this.stopTimeUpdatePolling()},this.videoElement.addEventListener("play",this.playHandler),this.videoElement.addEventListener("pause",this.pauseHandler),this.videoElement.addEventListener("ended",this.pauseHandler)}getCurrentTime(){try{let u=this.player.getCurrentTime();if(isFinite(u)&&u>=0)return u}catch{}return this.videoElement.currentTime||0}isPlaying(){try{return this.player.isPlaying()}catch{}return!this.videoElement.paused&&!this.videoElement.ended}onTimeUpdate(u){this.timeUpdateCallbacks.add(u);try{u(this.getCurrentTime())}catch{u(0)}return()=>{this.timeUpdateCallbacks.delete(u)}}onPlayStateChange(u){this.playStateCallbacks.add(u);try{u(this.isPlaying())}catch{u(!1)}return()=>{this.playStateCallbacks.delete(u)}}getDuration(){try{let n=this.player.getDuration();if(isFinite(n)&&n>0)return n}catch{}let u=this.videoElement.duration;return isFinite(u)&&u>0?u:null}seek(u){try{this.player.seek(u)}catch{this.videoElement.currentTime=u}}destroy(){try{this.timeUpdateHandler&&this.videoElement&&this.videoElement.removeEventListener("timeupdate",this.timeUpdateHandler),this.playHandler&&this.videoElement&&this.videoElement.removeEventListener("play",this.playHandler),this.pauseHandler&&this.videoElement&&(this.videoElement.removeEventListener("pause",this.pauseHandler),this.videoElement.removeEventListener("ended",this.pauseHandler))}catch{}try{this.threeqPlayHandler&&this.player&&typeof this.player.off=="function"&&(this.player.off("media.playing",this.threeqPlayHandler),this.player.off("play",this.threeqPlayHandler)),this.threeqPauseHandler&&this.player&&typeof this.player.off=="function"&&(this.player.off("media.paused",this.threeqPauseHandler),this.player.off("pause",this.threeqPauseHandler),this.player.off("media.ended",this.threeqPauseHandler),this.player.off("ended",this.threeqPauseHandler))}catch{}this.stopTimeUpdatePolling(),this.timeUpdateCallbacks.clear(),this.playStateCallbacks.clear()}stopTimeUpdatePolling(){this.timeUpdateInterval&&(clearInterval(this.timeUpdateInterval),this.timeUpdateInterval=null)}};import{useState as E1,useEffect as Wy}from"react";function Od(H){let{player:u,updateInterval:n}=H,[i,c]=E1(0),[m,$]=E1(!1);return Wy(()=>{if(!u){c(0),$(!1);return}try{c(u.getCurrentTime()),$(u.isPlaying())}catch{c(0),$(!1)}let P=u.onTimeUpdate(r=>{c(r)}),t=u.onPlayStateChange(r=>{$(r)}),_=null,a=()=>{if(u)try{c(u.getCurrentTime()),$(u.isPlaying())}catch{}_=requestAnimationFrame(a)};return _=requestAnimationFrame(a),()=>{P(),t(),_!==null&&cancelAnimationFrame(_)}},[u,n]),{currentTime:i,isPlaying:m}}import{useMemo as qy}from"react";function Is(H){let{video:u,bitmovin:n,bitmovinVideo:i,shaka:c,shakaVideo:m,videojs:$,videojsVideo:P,threeq:t,threeqContainer:_,threeqVideo:a,adapter:r,updateInterval:o}=H,l=qy(()=>{if(r)return r;if(u)return new $s(u);if(n){let d=i??null;if(!d)try{d=n.getContainer()?.querySelector("video")}catch(h){if(h?.code===1001||h?.name==="API_NOT_AVAILABLE")return null;throw h}return d?new Ts(n,d):null}if(c)return m?new Es(c,m):null;if($){let d=P??null;if(!d)try{d=$.el?.()?.querySelector("video")}catch{}return d?new As($,d):null}if(t){let d=a??null;if(!d&&_&&(d=_.querySelector("video")),!d)try{d=t.getContainer?.()?.querySelector("video")}catch{}return d?new Ps(t,d):null}return null},[u,n,i,c,m,$,P,t,_,a,r]);return Od({player:l,updateInterval:o})}import A1 from"react";function Ky(H){let{video:u,bitmovin:n,shaka:i,videojs:c,threeq:m,threeqContainer:$,threeqVideo:P,adapter:t,updateInterval:_,children:a,subtitleClassName:r,subtitleStyle:o,phontClient:l,...d}=H,{currentTime:h,isPlaying:f}=Is({video:u,bitmovin:n,shaka:i,videojs:c,threeq:m,threeqContainer:$,threeqVideo:P,adapter:t,updateInterval:_});return A1.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},a,A1.createElement(_s,{...d,currentTime:h,isPlaying:f,phontClient:l,className:r,style:o}))}import Fd,{useEffect as Hd,useMemo as aS,useState as Cs}from"react";import{subtitleManager as nl}from"@phont-ai/subtitles-core";import tl,{useState as Ld,useEffect as zy}from"react";import{subtitleManager as aa}from"@phont-ai/subtitles-core";var Yy=({isVodMode:H=!1,soundbiteData:u=null,embedded:n=!1})=>{let[i,c]=Ld({all:[],important:[],filtered:[]}),[m,$]=Ld(!1),[P,t]=Ld(0),_=f=>{let p=new Map;return f.forEach(A=>{let x=A.start_time??A.onset??0,I=A.end_time??A.offset??x+2,T=`${String(A.event_label)}|${x}|${I}`;p.has(T)||p.set(T,A)}),Array.from(p.values())};zy(()=>{let f=aa.subscribe(A=>{$(A.isClosedCaptionsEnabled),t(A.currentTime||0);let x=aa.getAllSoundbiteData(H);c({all:_(x.all||[]),important:_(x.important||[]),filtered:_(x.filtered||[])})}),p=aa.getState();return $(p.isClosedCaptionsEnabled),()=>f()},[H,u]);let a=i.filtered&&i.filtered.length?i.filtered:i.important;if(!m||!a.length)return null;let r=a.filter(f=>{let p=f.start_time||f.onset||0,A=f.end_time||f.offset||p+2,x=P,I=.5;return x+I>=p&&x<=A+I});if((()=>{if([...a||[],...i.all||[]].filter(x=>{let I=x.start_time||x.onset||0,T=x.end_time||x.offset||I+2;return P>=I&&P<=T}).some(x=>!!aa.mapEventLabelToAnimation(x.event_label)))return!0;let p=aa.getState?.()||{};return(Array.isArray(p.soundbiteAnimations)?p.soundbiteAnimations:[]).some(x=>P>=(x.startTime||0)&&P<=(x.endTime||0))})())return null;let l=r.filter(f=>!!!aa.mapEventLabelToAnimation(f.event_label));if(!l.length)return null;let h=Array.from(new Set(l.map(f=>(f.event_label||"").toString().trim()).filter(Boolean))).map(f=>`[${f}]`).join(", ");return tl.createElement("div",{style:{width:"100%",height:n?"100%":"auto",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},className:"phont-soundbite-text-container"},tl.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"}},tl.createElement("div",{style:{fontFamily:"Inter, sans-serif",fontSize:"0.95rem",lineHeight:1.2,textAlign:"center",opacity:.9,transform:"translateY(0)",transition:"opacity 0.3s ease, transform 0.3s ease",borderRadius:"8px",boxShadow:"0 4px 12px rgba(0,0,0,0.3)",maxWidth:"100%",whiteSpace:"normal",background:"rgba(0, 0, 0, 0.7)",color:"white",border:"1px solid rgba(255, 255, 255, 0.2)",display:"block",margin:"0 auto",padding:"0.375rem 0.75rem",backdropFilter:"blur(4px)"}},tl.createElement("span",{style:{fontWeight:600}},h))))},P1=Yy;import oa,{useEffect as U1,useMemo as F1,useState as Ud}from"react";import I1,{useRef as C1,useEffect as Dd,forwardRef as Xy,useState as x1}from"react";var M1=Xy(({animationData:H,width:u="100%",height:n="100%",position:i="absolute",top:c=0,left:m=0,zIndex:$=0,loop:P=!0,autoplay:t=!0,speed:_=1,style:a={},className:r="",onAnimationLoaded:o=()=>{},renderer:l="canvas"},d)=>{let h=C1(null),f=C1(null),[p,A]=x1(!1),[x,I]=x1(null);return Dd(()=>{(async()=>{try{let y=await import("lottie-web");I(y.default)}catch(y){console.error("Failed to load lottie-web",y)}})()},[]),Dd(()=>{if(!h.current||!x||!H)return;f.current&&f.current.destroy();let T=o,y=x.loadAnimation({container:h.current,renderer:l,loop:P,autoplay:t,animationData:H,rendererSettings:{preserveAspectRatio:"xMidYMid meet",hideOnTransparent:!1,progressiveLoad:!1,clearCanvas:!0,className:"lottie-render"}});return f.current=y,y.addEventListener("complete",()=>{P&&requestAnimationFrame(()=>{y.goToAndPlay(0,!0)})}),y.addEventListener("DOMLoaded",()=>{A(!0);try{y.goToAndStop(0,!0),requestAnimationFrame(()=>{requestAnimationFrame(()=>{y.play()})})}catch{}T&&T(y)}),()=>{f.current&&(f.current.destroy(),f.current=null)}},[H,P,t,_,x,l]),Dd(()=>{f.current&&f.current.setSpeed(_)},[_]),I1.useImperativeHandle(d,()=>({getAnimationInstance:()=>f.current,getContainerElement:()=>h.current,getSVGElement:()=>h.current?.querySelector("svg"),forcePlay:()=>{f.current&&f.current.play()},forceContinuousPlay:()=>{if(f.current){let T=f.current,y=T.currentFrame,E=T.totalFrames,S=(y+1)%E;T.goToAndStop(S,!0),T.play()}},forcePause:()=>{f.current&&f.current.pause()},getSVGAsImage:()=>typeof document>"u"?Promise.reject(new Error("Not in browser environment")):new Promise((T,y)=>{if(!h.current){y(new Error("Container not found"));return}let E=h.current.querySelector("svg");if(!E){y(new Error("SVG element not found"));return}try{let b=new XMLSerializer().serializeToString(E),C=new Blob([b],{type:"image/svg+xml"}),O=URL.createObjectURL(C),k=new Image;k.onload=()=>{URL.revokeObjectURL(O),T(k)},k.onerror=R=>{URL.revokeObjectURL(O),y(R)},k.src=O}catch(S){y(S)}}),renderToCanvas:(T,y,E)=>typeof document>"u"?Promise.reject(new Error("Not in browser environment")):new Promise(async(S,b)=>{if(!h.current){b(new Error("Container not found"));return}let C=h.current.querySelector("svg");if(!C){b(new Error("SVG element not found"));return}try{let k=new XMLSerializer().serializeToString(C),D=`data:image/svg+xml;base64,${btoa(k)}`,V=T.getContext("2d"),q=new Image;q.onload=()=>{V?(V.drawImage(q,0,0,y||T.width,E||T.height),S(T)):b(new Error("Canvas context not found"))},q.onerror=K=>{b(K)},q.src=D}catch(O){b(O)}}),captureAsVideo:async(T,y=30)=>typeof document>"u"?Promise.reject(new Error("Not in browser environment")):new Promise(async(E,S)=>{if(!h.current||!f.current){S(new Error("Animation not initialized"));return}try{let b=document.createElement("canvas"),C=h.current.querySelector("svg");if(!C){S(new Error("SVG element not found"));return}b.width=C.viewBox.baseVal&&C.viewBox.baseVal.width||C.width.baseVal&&C.width.baseVal.value||1080,b.height=C.viewBox.baseVal&&C.viewBox.baseVal.height||C.height.baseVal&&C.height.baseVal.value||1080;let O=b.getContext("2d");if(!O){S(new Error("Could not get canvas context"));return}let k=b.captureStream(y),R=new MediaRecorder(k,{mimeType:"video/webm;codecs=vp9",videoBitsPerSecond:5e6}),D=[];R.ondataavailable=G=>{G.data.size>0&&D.push(G.data)},R.onstop=()=>{let G=new Blob(D,{type:"video/webm"});E(G)},R.start(),f.current.goToAndStop(0,!0),f.current.play();let V=0,q=Math.ceil(y*T),K=async()=>{O.clearRect(0,0,b.width,b.height);try{let U=new XMLSerializer().serializeToString(C),F=`data:image/svg+xml;base64,${btoa(U)}`,Y=new Image;await new Promise(Z=>{Y.onload=Z,Y.src=F}),O.drawImage(Y,0,0,b.width,b.height),V++,V<q?requestAnimationFrame(K):(R.stop(),f.current&&f.current.goToAndStop(0,!0))}catch(G){S(G)}};K()}catch(b){S(b)}}),isLoaded:()=>p}),[p,l]),I1.createElement("div",{ref:h,style:{width:u,height:n,position:i,top:c,left:m,zIndex:$,overflow:"hidden",pointerEvents:"none",...a},className:r})});M1.displayName="LottiePlayer";var k1=M1;import Qy,{useRef as Nd,useEffect as w1}from"react";import{gsap as Bd}from"gsap";import{SplitText as R1}from"gsap/SplitText";typeof window<"u"&&Bd.registerPlugin(R1);var Jy=({currentTime:H,startTime:u,endTime:n})=>{let i=Nd(null),c=Nd(null),m=Nd(null);return w1(()=>{if(!i.current)return;let $=i.current;if(c.current&&(c.current.kill(),c.current=null),m.current){try{m.current.revert()}catch{}m.current=null}try{let P=new R1($,{type:"chars",charsClass:"split-char"});m.current=P;let t=P.chars;if(!t||t.length===0)return;Bd.set(t,{opacity:0,y:40,scale:.5});let _=Bd.timeline({paused:!0});_.to(t,{opacity:1,y:0,scale:1,duration:1.75,ease:"elastic.out(1, 0.3)",stagger:.07}),_.to(t,{opacity:0,y:40,scale:.5,duration:.25,ease:"power2.in",stagger:.02}),c.current=_}catch(P){console.warn("GSAP SplitText not available or failed",P)}return()=>{if(c.current&&(c.current.kill(),c.current=null),m.current){try{m.current.revert()}catch{}m.current=null}}},[u,n]),w1(()=>{if(!c.current)return;let $=n-u;if($<=0)return;let P=(H-u)/$;P=Math.max(0,Math.min(1,P)),c.current.progress(P)},[H,u,n]),Qy.createElement("h1",{ref:i,style:{fontSize:"40px",fontWeight:"bold",fontFamily:'"Parkinsans", sans-serif',color:"white",textAlign:"center",overflow:"hidden",display:"inline-block",whiteSpace:"normal",wordWrap:"break-word"}},"[ Laughter ]")},O1=Jy;import{subtitleManager as H1}from"@phont-ai/subtitles-core";var j1=({animationData:H,speed:u=1,loop:n=!0,style:i={},renderer:c="canvas"})=>H?oa.createElement(k1,{animationData:H,width:"100%",height:"100%",loop:n,autoplay:!0,speed:u,renderer:c,style:i}):null,iS=({animationType:H,activeAnimation:u,currentTime:n,stableKey:i,loadedData:c})=>{switch(H){case"Laughter":return oa.createElement(O1,{key:i,currentTime:n,startTime:u.startTime,endTime:u.extendedEndTime||u.endTime});case"CameraClicking.json":case"Crack.json":case"Vibration.json":return c?oa.createElement(j1,{key:i,animationData:c,speed:1,loop:!0,style:{opacity:.9,mixBlendMode:"normal",filter:"drop-shadow(0 0 10px rgba(0,0,0,0.3))",willChange:"transform",transform:"scale(1.0)"}}):null;case"Siren.json":return c?oa.createElement(j1,{key:i,animationData:c,speed:.8,loop:!0,renderer:"svg",style:{opacity:.85,mixBlendMode:"screen",filter:"drop-shadow(0 0 15px rgba(0,100,255,0.4))",willChange:"transform",transform:"scale(0.9)"}}):null;default:return null}},rS=({animations:H,context:u="live",embedded:n=!1})=>{let[i,c]=Ud(!1),[m,$]=Ud(0),[P,t]=Ud({});U1(()=>{let p=H1.subscribe(x=>{c(x.isClosedCaptionsEnabled),$(x.currentTime)}),A=H1.getState();return c(A.isClosedCaptionsEnabled),$(A.currentTime),()=>p()},[]);let _=H?.[0];U1(()=>{if(!_)return;let p=_.animationFile;if(!p||p==="Laughter"||P[p])return;(async()=>{try{let x;switch(p){case"CameraClicking.json":x=await Promise.resolve().then(()=>Cr(L1()));break;case"Crack.json":x=await Promise.resolve().then(()=>Cr(D1()));break;case"Siren.json":x=await Promise.resolve().then(()=>Cr(N1()));break;case"Vibration.json":x=await Promise.resolve().then(()=>Cr(B1()));break;default:console.warn(`Unknown animation file: ${p}`);return}x&&t(I=>({...I,[p]:x.default||x}))}catch(x){console.error(`Failed to load animation: ${p}`,x)}})()},[_,P]);let a=F1(()=>_?`${_.id}_${_.startTime}_${_.endTime}`:null,[_?.id,_?.startTime,_?.endTime]),r=_?.animationFile,o=r==="Laughter",l=F1(()=>{if(!_)return!1;let p=_.extendedEndTime||_.endTime;return m>=_.startTime&&m<=p},[m,_]);if(!i||!_||!l||!a)return null;let d=oa.createElement(iS,{animationType:r,activeAnimation:_,currentTime:m,stableKey:a,loadedData:P[r]}),f={...n?{position:"relative",width:"100%",height:"100%"}:{position:"fixed",bottom:`${fs.soundbites.bottomVh}vh`,left:"50%",transform:"translateX(-50%)"},width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",pointerEvents:"none",zIndex:fs.soundbites.zIndex};return oa.createElement("div",{style:f},d)},V1=rS;function il({isVodMode:H=!0,boxSize:u=550,width:n=null,height:i=null,bottomVh:c=null,intensity:m=.5,hideWhenPanelsOpen:$=!1,isMetaPanelOpen:P=!1,isPhontControlsOpen:t=!1,config:_={}}){let[a,r]=Cs(!0),[o,l]=Cs(0),[d,h]=Cs(!1),[f,p]=Cs(!1),[A,x]=Cs(!1),I={...fs.soundbites,..._};Hd(()=>{let k=nl.subscribe(()=>{let D=nl.getState();r(D.isClosedCaptionsEnabled),p(D.isSpeaker||!1),l(V=>(V+1)%1e3)}),R=nl.getState();return r(R.isClosedCaptionsEnabled),p(R.isSpeaker||!1),k},[]),Hd(()=>{let k=()=>{x(window.innerWidth<=768)};return k(),window.addEventListener("resize",k),()=>window.removeEventListener("resize",k)},[]),Hd(()=>{let k=()=>{if(typeof document>"u")return;let V=document.querySelectorAll('[class*="debug"], [class*="opacity-60"]').length>0;h(V)};k();let R=setInterval(k,1e3);return()=>clearInterval(R)},[]);let T=aS(()=>nl.getActiveSoundbiteAnimations(H),[H,o]);if(!a||d||$&&(P||t))return null;let E=c!==null?c:A?f?I.mobileBottomVh:I.mobileBottomVhNoSpeaker:f?I.bottomVh:I.bottomVhNoSpeaker,S=n||(A?I.mobileWidth:I.width),b=i||I.height,C={position:"absolute",bottom:`${E}%`,left:"50%",transform:"translateX(-50%)",display:"grid",placeItems:"center",width:S,maxWidth:A?I.maxMobileWidth:"none",height:b,pointerEvents:"none",zIndex:I.zIndex},O=Array.isArray(T)&&T.length>0;return Fd.createElement("div",{style:C},O?Fd.createElement(V1,{animations:T,subtitleExists:!0,context:H?"vod-player":"live",intensity:m,embedded:!0}):Fd.createElement(P1,{isVodMode:H,embedded:!0}))}import Pt,{useState as Wt,useRef as an,useEffect as Hn,useMemo as Sh,useCallback as bh}from"react";import xt,{useState as sS,useEffect as uS,useRef as lS}from"react";import jd from"react";function xs({gts:H,setGTS:u,threshold:n,maxExpression:i}){let c=`Threshold: ${Math.round(n*100)}% | Expressive: ${Math.round(i*100)}%`;return jd.createElement("div",{className:"w-full mb-2"},jd.createElement("input",{type:"range",min:0,max:100,value:Math.round(H*100),onChange:m=>u(Number(m.target.value)/100),className:"w-full accent-black emotion-slider",style:{WebkitAppearance:"none",height:2,background:"#e5e7eb",borderRadius:.5}}),jd.createElement("div",{className:"text-xs text-gray-600 mt-1",style:{fontFamily:"Inter, sans-serif"}},c))}import wn from"react";function Ms({subtitleLanguage:H,availableLanguages:u,currentSubtitleLanguage:n,onLanguageChange:i,isTranslating:c=!1,translatingToLanguage:m,translationProvider:$,translationModel:P}){return wn.createElement("div",{className:"w-full mb-3"},wn.createElement("label",{className:"text-white text-lg font-medium mb-1 flex items-center gap-2",style:{fontFamily:"Inter, sans-serif"}},wn.createElement("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},wn.createElement("path",{d:"M5 8l6 6"}),wn.createElement("path",{d:"m4 14 6-6 2-3"}),wn.createElement("path",{d:"M2 5h12"}),wn.createElement("path",{d:"M7 2h1"}),wn.createElement("path",{d:"m22 22-5-10-5 10"}),wn.createElement("path",{d:"M14 18h6"})),"Translation"),wn.createElement("div",{className:"relative"},wn.createElement("select",{value:H||"",onChange:t=>i(t.target.value||null),disabled:c,className:"w-full bg-black/80 border border-white/30 text-white text-xs px-3 py-2 rounded focus:outline-none focus:border-white/60 transition-all duration-200 appearance-none cursor-pointer",style:{fontFamily:"Inter, sans-serif",backgroundImage:`url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e")`,backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"12px",paddingRight:"28px"}},wn.createElement("option",{value:""},n?u[n]||n.toUpperCase():"Original Language"),Object.entries(u).map(([t,_])=>wn.createElement("option",{key:t,value:t},_))),c&&wn.createElement("div",{className:"absolute inset-0 bg-black rounded flex items-center justify-center"},wn.createElement("div",{className:"text-white text-xs flex items-center gap-2 px-2"},wn.createElement("div",{className:"w-4 h-4 border-2 border-white/30 border-t-white rounded-full animate-spin flex-shrink-0"}),wn.createElement("span",{className:"truncate"},"Translating to"," ",m?u[m]||m.toUpperCase():"selected language","...")))))}import G1 from"react";function Vd({animationMode:H,setAnimationMode:u}){return G1.createElement("div",{className:"flex items-center mb-2 self-start rounded-full bg-black"},["Word","Sentence"].map(n=>G1.createElement("button",{key:n,onClick:i=>{i.stopPropagation(),u(n)},className:`px-4 py-1 md:px-2 md:py-0 rounded-full transition-all duration-200 text-lg font-medium border text-white pointer-events-auto ${H===n?"border-white opacity-100":"border-transparent opacity-70 hover:opacity-100"}`,style:{fontFamily:"Inter, sans-serif"}},n)))}import Ri from"react";function sa({isOn:H,label:u,onToggle:n}){return Ri.createElement("button",{className:"flex items-center gap-4 w-full group",onClick:i=>{i.stopPropagation(),n()},tabIndex:0,"aria-pressed":H},Ri.createElement("span",{className:"inline-block"},Ri.createElement("svg",{width:"45",height:"28",viewBox:"0 0 45 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H?Ri.createElement("rect",{x:"4",y:"5.5",width:"34",height:"17",rx:"8.5",fill:"white",stroke:"#222",strokeWidth:"0.5"}):Ri.createElement("rect",{x:"4",y:"5.5",width:"34",height:"17",rx:"8.5",fill:"#232323"}),Ri.createElement("circle",{cx:H?28:16,cy:"14",r:"6",fill:H?"black":"#D2BEFF",filter:"url(#toggle-shadow)",style:{transition:"cx 0.25s cubic-bezier(0.4,0,0.2,1), fill 0.2s"}}),Ri.createElement("defs",null,Ri.createElement("filter",{id:"toggle-shadow",x:"-30%",y:"-30%",width:"160%",height:"160%"},Ri.createElement("feDropShadow",{dx:"3",dy:"4",stdDeviation:"3",floodColor:"black",floodOpacity:"0.45"}))))),Ri.createElement("span",{className:"text-white text-lg md:text-base font-medium select-none text-left",style:{minWidth:160,fontFamily:"Inter, sans-serif"}},u))}import un,{useState as W1}from"react";import{EMOTION_ANIMATION_URLS as oS}from"@phont-ai/subtitles-core";function Gd({customAnimationUrl:H,setCustomAnimationUrl:u,emotionMappings:n,setEmotionMappings:i}){let[c,m]=W1("anger"),[$,P]=W1("");return un.createElement("div",{className:"w-full space-y-2",style:{maxWidth:"100%",overflowX:"hidden",minWidth:0}},un.createElement("div",{style:{width:"100%",maxWidth:"100%",minWidth:0}},un.createElement("label",{className:"text-white text-xs font-medium mb-1 block",style:{fontFamily:"Inter, sans-serif"}},"Custom Animation URL:"),un.createElement("div",{className:"flex gap-2 w-full",style:{maxWidth:"100%",minWidth:0}},un.createElement("input",{type:"text",value:H,onChange:t=>u(t.target.value),placeholder:"Paste playground URL",className:"flex-1 bg-black/80 border border-white/30 text-white text-xs px-2 py-1.5 rounded focus:outline-none focus:border-white/60 transition-all duration-200 min-w-0",style:{fontFamily:"monospace",maxWidth:"100%",minWidth:0,width:"100%"}}),H&&un.createElement("button",{onClick:()=>u(""),className:"px-2 py-1.5 bg-gray-700 hover:bg-gray-600 text-white text-xs rounded transition-colors flex-shrink-0"},"Clear"))),un.createElement("div",null,un.createElement("label",{className:"text-white text-xs font-medium mb-1 block",style:{fontFamily:"Inter, sans-serif"}},"Map Playground URL to Emotion:"),un.createElement("div",{className:"flex flex-col gap-2 w-full",style:{maxWidth:"100%"}},un.createElement("select",{value:c,onChange:t=>m(t.target.value),className:"w-full bg-black/80 border border-white/30 text-white text-xs px-2 py-1.5 rounded focus:outline-none focus:border-white/60 appearance-none cursor-pointer",style:{fontFamily:"Inter, sans-serif",backgroundImage:`url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e")`,backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"12px",paddingRight:"28px"}},Object.keys(oS).map(t=>un.createElement("option",{key:t,value:t},t))),un.createElement("div",{className:"flex gap-2 w-full",style:{maxWidth:"100%",minWidth:0}},un.createElement("input",{type:"text",value:$,onChange:t=>P(t.target.value),placeholder:"Paste playground URL",className:"flex-1 bg-black/80 border border-white/30 text-white text-xs px-2 py-1.5 rounded focus:outline-none focus:border-white/60 transition-all duration-200 min-w-0",style:{fontFamily:"monospace",maxWidth:"100%",minWidth:0,width:"100%"}}),un.createElement("button",{onClick:()=>{$.trim()&&(i({...n,[c]:$.trim()}),P(""))},disabled:!$.trim(),className:`px-2 py-1.5 rounded text-xs transition-colors flex-shrink-0 ${$.trim()?"bg-blue-600 hover:bg-blue-700 text-white cursor-pointer":"bg-gray-700 text-gray-400 cursor-not-allowed"}`},"Map")))),Object.keys(n).length>0&&un.createElement("div",null,un.createElement("div",{className:"text-white text-xs font-semibold mb-2",style:{fontFamily:"Inter, sans-serif"}},"Active Emotion Mappings:"),un.createElement("div",{className:"flex flex-col gap-2 w-full"},Object.entries(n).map(([t,_])=>_?un.createElement("div",{key:t,className:"w-full px-2 py-1.5 bg-black/80 border border-white/30 rounded text-xs flex items-center gap-2",style:{maxWidth:"100%",minWidth:0}},un.createElement("span",{className:"text-blue-400 font-semibold"},t,":"),un.createElement("span",{className:"text-gray-400 font-mono truncate flex-1 min-w-0",style:{maxWidth:"calc(100% - 80px)"}},_.length>50?`${_.substring(0,50)}...`:_),un.createElement("button",{onClick:()=>{let a={...n};delete a[t],i(a)},className:"px-1.5 py-0.5 bg-red-900 hover:bg-red-800 text-white rounded text-[10px] transition-colors"},"\xD7")):null)),un.createElement("button",{onClick:()=>i({}),className:"mt-2 px-3 py-1.5 bg-red-900 hover:bg-red-800 text-white text-xs rounded transition-colors"},"Clear All Mappings")))}var Wd={emotion:{defaultThreshold:0,maxThreshold:.3}};function kr(H){return Wd.emotion.maxThreshold-(Wd.emotion.maxThreshold-Wd.emotion.defaultThreshold)*H}function sr(H){return .2+.8*H}function qd({isVisible:H=!0,controlsVisible:u=!0,onControlsVisibilityChange:n,isLive:i=!1,currentVideoId:c,gts:m,setGTS:$,subtitleLanguage:P,availableLanguages:t={},currentSubtitleLanguage:_,handleLanguageChange:a,isTranslating:r=!1,translatingToLanguage:o,translationProvider:l,translationModel:d,animationMode:h,setAnimationMode:f,toggles:p,handleToggle:A,customAnimationUrl:x="",setCustomAnimationUrl:I,emotionMappings:T={},setEmotionMappings:y,showSettingsPanel:E=!1,selectedPlayer:S,setSelectedPlayer:b,players:C=[],vodId:O,setVodId:k,vods:R=[],onLogout:D,username:V}){let[q,K]=sS(!1),G=lS(null),U=u;if(uS(()=>{if(!H||!U||!n)return;let Z=te=>{let ne=te.target;if(G.current?.contains(ne))return;let ae=ne;ae.closest("video")||ae.closest("[data-phont-panel]")||ae.tagName==="VIDEO"||ae.closest(".video-player")||ae.closest('[class*="player"]')||n(!1)};return document.addEventListener("mousedown",Z,!0),()=>{document.removeEventListener("mousedown",Z,!0)}},[U,H,n]),!H)return null;let L=kr(m),F=sr(m),Y=E&&(S!==void 0||O!==void 0);return xt.createElement(xt.Fragment,null,U&&xt.createElement("div",{className:"fixed z-[50] pointer-events-none phont-controls-container",style:{bottom:"80px",right:"24px",zIndex:50,transition:"opacity 0.3s ease-out, transform 0.3s ease-out"}},xt.createElement("div",{ref:G,"data-phont-panel":!0,className:"relative flex flex-col items-start w-[min(90vw,260px)] max-w-[260px] bg-black/70 md:bg-black/50 rounded-2xl md:rounded-lg shadow-lg p-5 md:p-4 pointer-events-auto overflow-y-auto max-h-[min(85vh,520px)] h-auto",style:{backdropFilter:"blur(8px)",width:"min(90vw, 260px)",maxWidth:"260px",minWidth:0}},xt.createElement("div",{className:"w-full flex flex-col"},xt.createElement("div",{className:"w-full flex items-center justify-between mb-1 flex-shrink-0"},xt.createElement("span",{className:"text-white font-bold text-lg",style:{fontFamily:"Inter, sans-serif"}},q?"Settings":"Emotion & Voice"),xt.createElement("div",{className:"flex items-center gap-2"},Y&&xt.createElement("button",{onClick:()=>K(!q),className:"p-1 hover:bg-white/10 rounded transition-colors",style:{cursor:"pointer"},type:"button"},xt.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"#ffffff",viewBox:"0 0 256 256"},xt.createElement("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"}))),xt.createElement("button",{onClick:()=>n?.(!1),className:"p-1 hover:bg-white/10 rounded transition-colors",style:{cursor:"pointer"},"aria-label":"Close panel",type:"button"},xt.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"#ffffff",viewBox:"0 0 256 256"},xt.createElement("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))))),q&&Y?xt.createElement("div",{className:"w-full flex flex-col gap-2 overflow-y-auto overflow-x-hidden flex-1 settings-scroll",style:{minHeight:0,maxWidth:"100%",width:"100%",minWidth:0}},I&&y&&xt.createElement(Gd,{customAnimationUrl:x,setCustomAnimationUrl:I,emotionMappings:T,setEmotionMappings:y}),S!==void 0&&b&&C.length>0&&xt.createElement("div",null,xt.createElement("label",{className:"text-white text-xs font-medium mb-1 block",style:{fontFamily:"Inter, sans-serif"}},"Player:"),xt.createElement("select",{value:S,onChange:Z=>b(Z.target.value),className:"w-full bg-black/80 border border-white/30 text-white text-xs px-2 py-1.5 rounded focus:outline-none focus:border-white/60 transition-all duration-200",style:{fontFamily:"Inter, sans-serif"}},C.map(Z=>xt.createElement("option",{key:Z.type,value:Z.type},Z.name)))),O!==void 0&&k&&xt.createElement("div",null,xt.createElement("label",{className:"text-white text-xs font-medium mb-1 block",style:{fontFamily:"Inter, sans-serif"}},"VOD ID:"),xt.createElement("input",{type:"text",value:O,onChange:Z=>k(Z.target.value),placeholder:"VOD ID",className:"w-full bg-black/80 border border-white/30 text-white text-xs px-2 py-1.5 rounded focus:outline-none focus:border-white/60 transition-all duration-200",style:{fontFamily:"Inter, sans-serif"}})),R.length>0&&O!==void 0&&k&&xt.createElement("div",null,xt.createElement("label",{className:"text-white text-xs font-medium mb-1 block",style:{fontFamily:"Inter, sans-serif"}},"Or select:"),xt.createElement("select",{value:O,onChange:Z=>k(Z.target.value),className:"w-full bg-black/80 border border-white/30 text-white text-xs px-2 py-1.5 rounded focus:outline-none focus:border-white/60 transition-all duration-200",style:{fontFamily:"Inter, sans-serif"}},R.map(Z=>{let te=Z.subtitle_available===!0||Z.subtitle_available==="true";return xt.createElement("option",{key:Z._id,value:Z._id},te?"\u2713 ":"",Z.name||Z._id)}))),D&&xt.createElement("div",{className:"pt-2 mt-auto border-t border-white/20"},V&&xt.createElement("div",{className:"text-white text-xs mb-1.5",style:{fontFamily:"Inter, sans-serif"}},"Logged in as: ",xt.createElement("span",{className:"font-semibold"},V)),xt.createElement("button",{onClick:D,className:"w-full bg-red-600/80 hover:bg-red-600 text-white text-xs font-medium px-3 py-1.5 rounded transition-colors",style:{fontFamily:"Inter, sans-serif"},type:"button"},"Logout"))):xt.createElement(xt.Fragment,null,xt.createElement(xs,{gts:m,setGTS:$,threshold:L,maxExpression:F}),!i&&c&&a&&xt.createElement(Ms,{subtitleLanguage:P||null,availableLanguages:t,currentSubtitleLanguage:_||null,onLanguageChange:a,isTranslating:r,translatingToLanguage:o||null,translationProvider:l,translationModel:d}),xt.createElement("div",{className:"flex flex-col gap-1 w-full font-bold toggle-scroll",style:{width:"100%"}},xt.createElement(Vd,{animationMode:h,setAnimationMode:f}),p.length>0&&xt.createElement(sa,{isOn:p[0],label:"Speaker",onToggle:()=>A(0)}),p.length>1&&xt.createElement(sa,{isOn:p[1],label:"Closed Captions",onToggle:()=>A(1)})))))))}import{subtitleManager as Di}from"@phont-ai/subtitles-core";var mr=null;if(typeof window<"u")try{mr=K1()}catch{console.warn("[PlayerTestSuite] hls.js not found. Install it: npm install hls.js")}var uc,lc,$h,fv;function EA(H,u,n){let i=H?.words??[],c=H?.start_time??H?.start??0,m=H?.end_time??H?.end??0,$=u>=c&&u<m;return{text:H?.text??H?.subtitle??i.map(t=>t?.word??"").join(" ")??"",words:i.map(t=>({word:t?.word??"",start:t?.start??c,end:t?.end??m,isActive:!1})),isActive:$,fontSize:40,scale:1,opacity:1,slant:0,weight:400,width:100,textColor:"rgba(255,255,255,1)",translateX:0,translateY:0,stretchY:1,fontFamily:'"Roboto Flex", "Roboto", sans-serif',emotion:"none",emotionIntensity:0}}typeof window<"u"&&import("@phont-ai/subtitles-core").then(H=>{uc=H.PhontClient,lc=H.SubtitleManager,$h=H.selectEmotion,fv=H.subtitleManager}).catch(H=>{console.warn("[PlayerTestSuite] Core SDK not available for vanilla JS player:",H)});function AA({defaultVodId:H="Pooh_Compilation",defaultPlayer:u="html5",apiEndpoint:n,bitmovinLicenseKey:i,threeqDataId:c}){let{phontClient:m,isAuthenticated:$,username:P,logout:t}=bs(n),[_,a]=Wt(u),[r,o]=Wt(!0),l=an(null),d=ct=>/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(ct),h=ct=>/^[0-9a-f]{24}$/i.test(ct),f=()=>c&&d(c)?H==="69382800f8a252ef498f7f90"?"Pooh_Compilation":H||"Pooh_Compilation":c&&!d(c)?c:H==="69382800f8a252ef498f7f90"?"Pooh_Compilation":H||"Pooh_Compilation",[p,A]=Wt(f()),x=bh(()=>c&&d(c)?c:p&&d(p)?p:null,[c,p]),[I,T]=Wt(null),[y,E]=Wt("word"),[S,b]=Wt([]),[C,O]=Wt(!1),[k,R]=Wt(null),[D,V]=Wt(!1);Hn(()=>{fetch("http://127.0.0.1:7242/ingest/4a86bdb3-964f-45da-ba92-4206c16ddc8c",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"packages/react/src/components/PlayerTestSuite.tsx:init",message:"PlayerTestSuite init snapshot",data:{defaultVodId:H,threeqDataId:c,defaultPlayer:u,selectedPlayer:_,vodId:p,manifestUrl:I},timestamp:Date.now(),sessionId:"debug-session",runId:"pre-fix",hypothesisId:"A"})}).catch(()=>{})},[]);let[q,K]=Wt(.7),[G,U]=Wt([!1,!0]);Hn(()=>{Di.toggleClosedCaptions(!0);let ct=Di.getState();return U([ct.isSpeaker||!1,ct.isClosedCaptionsEnabled!==!1]),Di.subscribe(bt=>{U([bt.isSpeaker||!1,bt.isClosedCaptionsEnabled!==!1])})},[]);let[L,F]=Wt(""),[Y,Z]=Wt({}),[te,ne]=Wt(null),[ae,oe]=Wt(!1),[_e,me]=Wt(null),$e={"en-US":"English (US)","en-GB":"English (UK)",de:"German",pl:"Polish",fr:"French",es:"Spanish",it:"Italian",pt:"Portuguese",ru:"Russian",ja:"Japanese",zh:"Chinese",ko:"Korean",nl:"Dutch",sv:"Swedish",da:"Danish",fi:"Finnish",no:"Norwegian",cs:"Czech",sk:"Slovak",hu:"Hungarian",ro:"Romanian",bg:"Bulgarian",hr:"Croatian",sl:"Slovenian",et:"Estonian",lv:"Latvian",lt:"Lithuanian",mt:"Maltese",el:"Greek"},ve=bh(async ct=>{if(!(!m||!p))if(ne(ct),ct){oe(!0),me(ct);try{await Di.switchSubtitleLanguage(ct,p)}catch(vt){console.error("Failed to switch subtitle language:",vt)}finally{oe(!1),me(null)}}else try{await Di.switchSubtitleLanguage(null,p)}catch(vt){console.error("Failed to reset subtitle language:",vt)}},[m,p]),ge=an(null),Te=an(null),[Ae,de]=Wt(null),ie=an(null),[Q,ee]=Wt(null),[ue,he]=Wt(null),[Se,we]=Wt(!1),[De,Ke]=Wt(null),st=an(0),Be=an(!1),Pe=an(null),ke=an(null),Le=an(null),[qe,tt]=Wt(null),[je,at]=Wt(!1),Ze=an(null),[Xe,Oe]=Wt(null),ce=an(null),[ye,Re]=Wt(null),Me=an(null),[Ye,et]=Wt(!1),Je=an(`threeq-player-${Math.random().toString(36).substr(2,9)}`),lt=an(!1),mt=an(!1),gt=an(null),Rt=an(null),pt=an(null),Tt=an(null),qt=an(null),bn=an(null),Et=an(null),Ht=an(null),[en,Yn]=Wt(!1),ei=Is({video:_==="html5"?Ae:null,bitmovin:_==="bitmovin"?Q:null,bitmovinVideo:_==="bitmovin"?ue:null,shaka:_==="shaka"?ke.current:null,shakaVideo:_==="shaka"?qe:null,threeq:_==="threeq"?Xe:null,threeqContainer:_==="threeq"?Ze.current:null,threeqVideo:_==="threeq"?ye:null});Hn(()=>{!$||!m||(O(!0),m.listVods(0,50).then(b).catch(console.error).finally(()=>O(!1)))},[$,m]),Hn(()=>{p&&(Di.clearSubtitleCache(),Di.clearAudioPlaylistCache())},[p]),Hn(()=>{if(!(!m||!p||!$)){if(d(p)){console.log("[PlayerTestSuite] Skipping getVod for 3Q UUID - will use 3Q config API instead");return}!h(p)&&p!=="Pooh_Compilation"&&console.warn('[PlayerTestSuite] vodId format is unusual. Expected MongoDB ObjectId (24 hex chars) or "Pooh_Compilation". Proceeding anyway...'),m.getVod(p).then(ct=>{ct?.manifest&&T(ct.manifest)}).catch(ct=>{d(p)||console.error("[PlayerTestSuite] Error fetching VOD metadata:",ct)})}},[m,p,$]),Hn(()=>{if(_!=="html5"||!ge.current||!I||!$)return;let ct=ge.current;if(de(ct),I.includes(".m3u8")){if(!mr){console.error("[PlayerTestSuite] HLS.js is required for HLS playback. Install it: npm install hls.js");return}Te.current&&Te.current.destroy();let vt=new mr;Te.current=vt,vt.loadSource(I),vt.attachMedia(ct)}else ct.src=I;return()=>{Te.current&&(Te.current.destroy(),Te.current=null)}},[_,I,$]);let $n=Sh(()=>{if(i)return i;if(typeof window<"u"){if(window.__NEXT_DATA__?.env?.NEXT_PUBLIC_BITMOVIN_LICENSE_KEY)return window.__NEXT_DATA__.env.NEXT_PUBLIC_BITMOVIN_LICENSE_KEY;if(typeof process<"u"&&process.env?.NEXT_PUBLIC_BITMOVIN_LICENSE_KEY)return process.env.NEXT_PUBLIC_BITMOVIN_LICENSE_KEY}return typeof process<"u"&&process.env?.NEXT_PUBLIC_BITMOVIN_LICENSE_KEY?process.env.NEXT_PUBLIC_BITMOVIN_LICENSE_KEY:null},[i]),tn=Sh(()=>({key:$n||"",playback:{autoplay:!1,muted:!1}}),[$n]),jn=Sh(()=>I?{hls:I}:null,[I]);Hn(()=>{if(_!=="bitmovin"||typeof window>"u"||document.querySelector('link[href*="bitmovinplayer-ui"]'))return;let vt=document.createElement("link");return vt.rel="stylesheet",vt.href="https://cdn.bitmovin.com/player/web/8/bitmovinplayer-ui.css",vt.onerror=()=>{console.warn("[PlayerTestSuite] Bitmovin UI CSS not available. Controls may not be visible.")},vt.onload=()=>{console.log("[PlayerTestSuite] Bitmovin UI CSS loaded successfully")},document.head.appendChild(vt),()=>{let bt=document.querySelector('link[href*="bitmovinplayer-ui"]');bt&&bt.remove()}},[_]),Hn(()=>{_!=="bitmovin"||De||Promise.resolve().then(()=>(dv(),cv)).then(ct=>{Ke(()=>ct.BitmovinPlayer),we(!0)}).catch(ct=>{console.warn("[PlayerTestSuite] Bitmovin React component not available. Install: npm install bitmovin-player-react",ct),we(!1)})},[_,De]);let vi=bh(ct=>{ct&&ee(vt=>{if(vt===ct)return vt;let bt=_t=>{try{return!_t||typeof _t!="object"?null:_t.getContainer?_t.getContainer():null}catch(It){if(It?.message?.includes("destroyed")||It?.code===1001)return null;throw It}};try{let _t=bt(ct);if(_t){let It=_t.parentElement;It&&(It.style.width="100%",It.style.height="100%",It.style.position="relative"),_t.style.width="100%",_t.style.height="100%";let Vt=_t.querySelector("video");Vt?(Vt.style.width="100%",Vt.style.height="100%",Vt.style.objectFit="contain",console.log("[PlayerTestSuite] Bitmovin video element found and styled"),he(Vt)):(console.warn("[PlayerTestSuite] Bitmovin video element not found in container"),he(null))}}catch(_t){!_t?.message?.includes("destroyed")&&_t?.code!==1001&&console.error("[PlayerTestSuite] Error styling Bitmovin player:",_t)}try{ct.on?.("ready",()=>{console.log("[PlayerTestSuite] Bitmovin player ready event fired"),setTimeout(()=>{try{let _t=bt(ct);if(!_t){console.warn("[PlayerTestSuite] Player container not available (player may be destroyed)");return}let It=_t.querySelector("video");It&&(console.log("[PlayerTestSuite] Video element found after ready event"),It.style.width="100%",It.style.height="100%",It.style.objectFit="contain",he(It))}catch(_t){!_t?.message?.includes("destroyed")&&_t?.code!==1001&&console.warn("[PlayerTestSuite] Could not get video element after ready:",_t)}},100)}),ct.on?.("sourceLoaded",()=>{console.log("[PlayerTestSuite] Bitmovin player source loaded"),setTimeout(()=>{try{let _t=bt(ct);if(!_t){console.warn("[PlayerTestSuite] Player container not available (player may be destroyed)");return}let It=_t.querySelector("video");It&&(console.log("[PlayerTestSuite] Video element found after sourceLoaded event"),It.style.width="100%",It.style.height="100%",It.style.objectFit="contain",he(It))}catch(_t){!_t?.message?.includes("destroyed")&&_t?.code!==1001&&console.warn("[PlayerTestSuite] Could not get video element after sourceLoaded:",_t)}},100)})}catch(_t){!_t?.message?.includes("destroyed")&&_t?.code!==1001&&console.warn("[PlayerTestSuite] Could not attach Bitmovin event listeners:",_t)}return ct})},[]);Hn(()=>()=>{if(_!=="bitmovin"&&Q){try{Q&&typeof Q=="object"&&Q.destroy&&Q.destroy()}catch(ct){!ct?.message?.includes("destroyed")&&ct?.code!==1001&&console.warn("[PlayerTestSuite] Error destroying Bitmovin player:",ct)}ee(null),he(null),Be.current=!1}},[_,Q]),Hn(()=>{if(_!=="shaka"||typeof window>"u")return;if(!je&&!window.shaka){let _t=document.createElement("script");return _t.src="https://cdn.jsdelivr.net/npm/shaka-player@latest/dist/shaka-player.compiled.js",_t.async=!0,_t.onload=()=>{window.shaka?.polyfill&&window.shaka.polyfill.installAll(),at(!0)},document.head.appendChild(_t),()=>{}}if(!je||!window.shaka||!Pe.current||!I)return;let ct=Pe.current;if(ke.current){try{ke.current.destroy()}catch{}ke.current=null}if(Le.current){try{let _t=Le.current;if(_t.isConnected&&_t.parentNode){let It=_t.parentNode;It.contains(_t)&&It.removeChild(_t)}}catch(_t){console.warn("[PlayerTestSuite] Error removing Shaka video element:",_t)}Le.current=null}let vt=document.createElement("video");vt.setAttribute("playsinline","true"),vt.setAttribute("crossorigin","anonymous"),vt.style.width="100%",vt.style.height="100%",vt.style.objectFit="contain",vt.controls=!0,ct.appendChild(vt),Le.current=vt,tt(vt);let bt=new window.shaka.Player(vt);return ke.current=bt,bt.configure({streaming:{bufferingGoal:10,rebufferingGoal:2,bufferBehind:5},abr:{enabled:!0}}),bt.load(I).catch(console.error),()=>{if(ke.current){try{ke.current.destroy()}catch{}ke.current=null}if(Le.current){try{let _t=Le.current;if(_t.isConnected&&_t.parentNode){let It=_t.parentNode;It.contains(_t)&&It.removeChild(_t)}}catch(_t){console.warn("[PlayerTestSuite] Error removing Shaka video element during cleanup:",_t)}Le.current=null}tt(null)}},[_,je,I]),Hn(()=>{if(_!=="threeq"){R(null);return}let ct=x(),vt=!!ct;if(fetch("http://127.0.0.1:7242/ingest/4a86bdb3-964f-45da-ba92-4206c16ddc8c",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"packages/react/src/components/PlayerTestSuite.tsx:threeq-config",message:"3Q config decision",data:{vodId:p,threeqDataId:c,playoutId:ct,is3QDataId:vt,selectedPlayer:_},timestamp:Date.now(),sessionId:"debug-session",runId:"pre-fix",hypothesisId:"A"})}).catch(()=>{}),!vt){R(null);return}V(!0),fetch(`https://playout.3qsdn.com/config/${ct}`).then(bt=>{if(fetch("http://127.0.0.1:7242/ingest/4a86bdb3-964f-45da-ba92-4206c16ddc8c",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"packages/react/src/components/PlayerTestSuite.tsx:threeq-config-res",message:"3Q config fetch response",data:{playoutId:ct,status:bt.status,ok:bt.ok},timestamp:Date.now(),sessionId:"debug-session",runId:"pre-fix",hypothesisId:"E"})}).catch(()=>{}),!bt.ok)throw new Error(`Failed to fetch 3Q config: ${bt.status}`);return bt.json()}).then(bt=>{R(bt),bt.sources?.hls&&T(bt.sources.hls),V(!1)}).catch(bt=>{console.warn("[PlayerTestSuite] Failed to fetch 3Q config, will use playoutId directly:",bt),fetch("http://127.0.0.1:7242/ingest/4a86bdb3-964f-45da-ba92-4206c16ddc8c",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"packages/react/src/components/PlayerTestSuite.tsx:threeq-config-err",message:"3Q config fetch error",data:{playoutId:ct,error:String(bt)},timestamp:Date.now(),sessionId:"debug-session",runId:"pre-fix",hypothesisId:"E"})}).catch(()=>{}),R(null),V(!1)})},[_,c,p,x]),Hn(()=>{if(_!=="threeq"||typeof window>"u"||(fetch("http://127.0.0.1:7242/ingest/4a86bdb3-964f-45da-ba92-4206c16ddc8c",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"packages/react/src/components/PlayerTestSuite.tsx:threeq-init",message:"3Q init preconditions",data:{isAuthenticated:!!$,hasPhontClient:!!m,threeqLoaded:Ye,hasGlobalJs3q:!!window.js3q,vodId:p,threeqDataId:c},timestamp:Date.now(),sessionId:"debug-session",runId:"pre-fix",hypothesisId:"C"})}).catch(()=>{}),!$||!m))return;if(!Ye&&!window.js3q){let Vt=document.createElement("script");return Vt.src="https://player.3qsdn.com/js3q.latest.js",Vt.async=!0,Vt.onload=()=>et(!0),Vt.onerror=()=>{console.error("[PlayerTestSuite] Failed to load 3Q Player SDK from CDN")},document.head.appendChild(Vt),()=>{}}if(!Ye||!window.js3q||!Ze.current||lt.current)return;let ct=x();if(!!ct&&D||!ct)return;let bt=gt.current!==ct;if(bt&&ce.current){console.log("[PlayerTestSuite] PlayoutId changed, destroying old player:",{oldPlayoutId:gt.current,newPlayoutId:ct});try{typeof ce.current.destroy=="function"&&ce.current.destroy()}catch(Vt){console.warn("[PlayerTestSuite] Error destroying old player on playoutId change:",Vt)}ce.current=null,Me.current=null,Oe(null),Re(null),mt.current=!1}if(mt.current&&ce.current&&!bt)return;let _t=Ze.current,It=Je.current;if(ce.current){try{typeof ce.current.destroy=="function"&&ce.current.destroy()}catch(Vt){console.warn("[PlayerTestSuite] Error destroying existing player:",Vt)}ce.current=null,Me.current=null,Oe(null),Re(null),mt.current=!1}try{let Vt={container:It,autoplay:!1,controls:!0},Pn=x();fetch("http://127.0.0.1:7242/ingest/4a86bdb3-964f-45da-ba92-4206c16ddc8c",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"packages/react/src/components/PlayerTestSuite.tsx:threeq-playoutId",message:"3Q playoutId chosen",data:{playoutId:Pn,vodId:p,threeqDataId:c,selectedPlayer:_},timestamp:Date.now(),sessionId:"debug-session",runId:"pre-fix",hypothesisId:"A"})}).catch(()=>{}),Pn&&(Vt.playoutId=Pn,console.log("[PlayerTestSuite] Using playoutId for 3Q Player:",Pn,{threeqDataId:c,vodId:p,source:p?"vodId (user-selected)":"threeqDataId prop"}),console.log("[PlayerTestSuite] 3Q Config (for reference):",{hasConfig:!!k,hlsUrl:k?.sources?.hls,fullConfig:k}));let Kt=new window.js3q(Vt);mt.current=!0,gt.current=Pn,ce.current=Kt,Oe(Kt);let _n=()=>{try{if(!_t||!_t.isConnected)return console.log("[PlayerTestSuite] Container not available or not connected"),!1;if(!ce.current||ce.current!==Kt)return console.log("[PlayerTestSuite] Player not valid"),!1;let Ot=_t.querySelector("video");if(!Ot&&Kt.getContainer)try{let Mt=Kt.getContainer();Mt&&(Ot=Mt.querySelector("video"))}catch{}if(!Ot){let Mt=Array.from(document.querySelectorAll("video"));for(let zt of Mt)if(zt.isConnected&&(_t.contains(zt)||zt.closest(`#${It}`)||_t.contains(zt.parentElement))){Ot=zt;break}}if(!Ot&&Kt.videoElement&&(Ot=Kt.videoElement),Ot&&Ot.isConnected)try{return Ot.style.width="100%",Ot.style.height="100%",Ot.style.objectFit="contain",Me.current=Ot,Re(Ot),!0}catch{return!1}return!1}catch(Ot){return console.warn("[PlayerTestSuite] Error in findAndSetVideoElement:",Ot),!1}},yr=()=>{if(!ce.current||ce.current!==Kt)return;console.log("[PlayerTestSuite] 3Q Player ready event fired"),[100,300,600,1e3,2e3].forEach((Mt,zt)=>{setTimeout(()=>{ce.current===Kt&&!Me.current&&(console.log(`[PlayerTestSuite] Attempt ${zt+1} to find video element (delay: ${Mt}ms)`),_n())},Mt)})},Sr=()=>{if(!ce.current||ce.current!==Kt)return;console.log("[PlayerTestSuite] 3Q Player media.ready event fired"),[100,300,600,1e3].forEach((Mt,zt)=>{setTimeout(()=>{ce.current===Kt&&!Me.current&&(console.log(`[PlayerTestSuite] Media ready - Attempt ${zt+1} to find video element (delay: ${Mt}ms)`),_n())},Mt)})};Kt.on("ready",yr),Kt.on("media.ready",Sr),Kt.on("play",()=>{!ce.current||ce.current!==Kt||(console.log("[PlayerTestSuite] 3Q Player play event fired"),Me.current||_n())}),setTimeout(()=>{ce.current===Kt&&!Me.current&&_n()},200);let Bt=Date.now(),Qt=0,pn=setInterval(()=>{if(ce.current!==Kt){clearInterval(pn);return}if(Me.current){clearInterval(pn);return}if(Date.now()-Bt>1e4&&(Qt===0&&console.warn("[PlayerTestSuite] Video element not found after 10 seconds - player may still be initializing"),Qt++,Qt>1)){clearInterval(pn);return}_n()},500);return()=>{clearInterval(pn),lt.current=!0,mt.current=!1,setTimeout(()=>{let Ot=ce.current;if(Ot){try{typeof Ot.destroy=="function"&&Ot.destroy()}catch(Mt){console.warn("[PlayerTestSuite] Error destroying 3Q player during cleanup:",Mt)}ce.current=null}Me.current=null,gt.current=null,Oe(null),Re(null),setTimeout(()=>{lt.current=!1},50)},0)}}catch(Vt){console.error("[3Q Player] Error:",Vt)}},[_,Ye,p,c,I,k,D,$,m,x]),Hn(()=>{if(_!=="threeq")return;let ct=p||c;if(gt.current!==ct&>.current!==null&&(console.log("[PlayerTestSuite] VOD ID changed, resetting 3Q player initialization:",{oldPlayoutId:gt.current,newPlayoutId:ct}),mt.current=!1,ce.current)){try{typeof ce.current.destroy=="function"&&ce.current.destroy()}catch(vt){console.warn("[PlayerTestSuite] Error destroying player on VOD change:",vt)}ce.current=null,Me.current=null,Oe(null),Re(null)}},[_,p,c]),Hn(()=>{if(_!=="threeq"&&ce.current){lt.current=!0,mt.current=!1;let ct=ce.current;if(ct){try{typeof ct.destroy=="function"&&ct.destroy()}catch(vt){console.warn("[PlayerTestSuite] Error destroying 3Q player when switching:",vt)}ce.current=null}Me.current=null,gt.current=null,Oe(null),Re(null),setTimeout(()=>{lt.current=!1},100)}},[_]),Hn(()=>{if(_!=="vanilla-js"||typeof window>"u"||!$||!m||!Rt.current||!pt.current||!I)return;let ct=null,vt=null,bt=new Map;if(!uc||!lc||!$h){let Bt=setInterval(()=>{uc&&lc&&$h&&(clearInterval(Bt),Yn(!0),It())},100);return()=>clearInterval(Bt)}en||Yn(!0);let _t=Bt=>{Tt.current&&(Tt.current.textContent=Bt)};It();function It(){let Bt=Rt.current,Qt=pt.current;if(!Bt||!Qt)return;_t("Initializing vanilla JS player..."),Sr();let pn="phont_sdk_auth_token",Ot="phont_sdk_session_id",Mt="phont_sdk_api_key",zt=typeof window<"u"?sessionStorage.getItem(pn):null,Xn=typeof window<"u"?sessionStorage.getItem(Ot):null,In=typeof window<"u"?sessionStorage.getItem(Mt):null,Vn=n||process.env.NEXT_PUBLIC_API_BASE_URL||process.env.NEXT_PUBLIC_API_SUB_BASE_URL||"https://demo-api-dev.phont.ai";if(!Vn)throw new Error("API base URL is required. Set NEXT_PUBLIC_API_BASE_URL or NEXT_PUBLIC_API_SUB_BASE_URL environment variable.");let vn={apiBaseUrl:Vn};zt&&Xn?(vn.authToken=zt,vn.sessionId=Xn):In?vn.apiKey=In:process.env.NEXT_PUBLIC_API_KEY&&(vn.apiKey=process.env.NEXT_PUBLIC_API_KEY);let Ai=new uc(vn);bn.current=Ai;let gi=fv||new lc;Et.current=gi,gi.setPhontClient(Ai);let Ni=y==="sentence"?"Sentence":"Word";if(gi.setAnimationMode(Ni),Vt(Ai,gi,p),I&&I.includes(".m3u8"))if(mr&&mr.isSupported()){let Pi=new mr({enableWorker:!0,lowLatencyMode:!1});qt.current=Pi,Pi.loadSource(I),Pi.attachMedia(Bt),Pi.on(mr.Events.MANIFEST_PARSED,()=>{_t("Video loaded! Subtitles syncing...")}),Pi.on(mr.Events.ERROR,(br,Ji)=>{Ji.fatal&&console.error("[PlayerTestSuite] HLS error:",Ji)})}else Bt.canPlayType("application/vnd.apple.mpegurl")&&(Bt.src=I);else I&&(Bt.src=I);return Pn(Bt,gi,Qt,y),()=>{Sr()}}async function Vt(Bt,Qt,pn){try{_t("Loading subtitles..."),ct&&(ct.style.display="none"),vt&&(vt.style.display="none"),await Qt.loadVodSubtitles(pn,null);let Mt=Qt.getState().subtitles?.length||0}catch(Ot){console.error("[PlayerTestSuite] Failed to load subtitles:",Ot),_t(`Error loading subtitles: ${Ot.message||"Unknown error"}`)}}function Pn(Bt,Qt,pn,Ot){let Mt=null,zt=()=>{let Xn=Bt.currentTime;if(!!Bt.paused){Mt=requestAnimationFrame(zt);return}Qt.setCurrentTime(Xn);let Vn=Qt.getSubtitleForTime(Xn);if(!Vn){ct&&(ct.style.display="none"),vt&&(vt.style.display="none"),Mt=requestAnimationFrame(zt);return}let vn=EA(Vn,Xn,Ot);Kt(vn,pn),Mt=requestAnimationFrame(zt)};Mt=requestAnimationFrame(zt),Bt.addEventListener("timeupdate",()=>{Mt!==null&&cancelAnimationFrame(Mt),Mt=requestAnimationFrame(zt)}),Bt.addEventListener("play",()=>{Mt===null&&(Mt=requestAnimationFrame(zt))}),Bt.addEventListener("pause",()=>{Mt!==null&&(cancelAnimationFrame(Mt),Mt=null)}),Ht.current=()=>{Mt!==null&&(cancelAnimationFrame(Mt),Mt=null)},zt()}function Kt(Bt,Qt){if(!Bt||!Bt.isActive){ct&&(ct.style.display="none"),vt&&(vt.style.display="none");return}Bt.words&&Array.isArray(Bt.words)&&Bt.words.length>0?yr(Bt,Qt):_n(Bt,Qt)}function _n(Bt,Qt){let{text:pn,fontSize:Ot,fontFamily:Mt,weight:zt,width:Xn,scale:In,slant:Vn,translateX:vn,translateY:Ai,textColor:gi,opacity:Ni}=Bt,Pi=window.innerWidth,Ji="clamp(2vw, 3vw, 4vw)",Zi=`scale(${In||1}) skewX(${Vn||0}deg) translateX(${vn||0}px) translateY(${Ai||0}px)`,ti=ct;ti||(ti=document.createElement("div"),ti.className="phont-subtitle-vanilla phont-sentence",Qt.appendChild(ti),ct=ti),vt&&(vt.style.display="none"),ti.textContent=pn,ti.style.display="block",ti.style.cssText=`
|
|
299
299
|
position: absolute;
|
|
300
300
|
bottom: 80px;
|
|
301
301
|
left: 50%;
|
|
@@ -340,4 +340,4 @@ Please only use one configuration field to set your userId`)},t.getDeviceInforma
|
|
|
340
340
|
transition: transform 0.05s linear, opacity 0.05s linear, font-weight 0.1s linear, color 0.1s linear;
|
|
341
341
|
text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
|
|
342
342
|
will-change: transform, opacity;
|
|
343
|
-
`});bt.size>pn.length;){let Vn=bt.size-1,vn=bt.get(Vn);vn&&vn.parentNode&&vn.parentNode.removeChild(vn),bt.delete(Vn)}}function Sr(){Ht.current&&(typeof Ht.current=="function"?Ht.current():clearInterval(Ht.current),Ht.current=null),qt.current&&(qt.current.destroy(),qt.current=null),Rt.current&&(Rt.current.src="",Rt.current.removeAttribute("src"),Rt.current.load()),pt.current&&(pt.current.innerHTML="")}return()=>{Sr()}},[_,$,m,I,p,y,en]),Hn(()=>()=>{Te.current&&(Te.current.destroy(),Te.current=null)},[_]);let Rn=[{type:"html5",name:"HTML5 Video",description:"Native HTML5 video with HLS.js"},{type:"bitmovin",name:"Bitmovin Player",description:"Commercial adaptive streaming player"},{type:"shaka",name:"Shaka Player",description:"Google Shaka Player (open source)"},{type:"threeq",name:"3Q Video Player",description:"3Q Video Player Web SDK"},{type:"vanilla-js",name:"Vanilla JS Core",description:"Pure JS with @phont-ai/subtitles-core (no React)"}];return Pt.createElement("div",{style:{width:"100vw",height:"100vh",backgroundColor:"#000",display:"flex",flexDirection:"column",overflow:"hidden",position:"fixed",top:0,left:0}},!$&&Pt.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",padding:"20px"}},Pt.createElement("div",{style:{width:"100%",maxWidth:"600px"}},Pt.createElement(Rd,{apiBaseUrl:n}))),$&&Pt.createElement("div",{style:{flex:1,position:"relative",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"}},!I&&_!=="threeq"?Pt.createElement("div",{style:{color:"#666",textAlign:"center"}},Pt.createElement("h2",null,"Loading video metadata...")):Pt.createElement(Pt.Fragment,null,Pt.createElement("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:1,overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center"}},_==="html5"&&Pt.createElement("video",{ref:ge,style:{width:"100%",height:"100%",objectFit:"contain",maxWidth:"100%",maxHeight:"100%"},controls:!0,playsInline:!0}),_==="bitmovin"&&Pt.createElement("div",{ref:ie,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",zIndex:1}},!$n&&Pt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",color:"#ff6b6b",padding:"20px",textAlign:"center"}},Pt.createElement("div",null,Pt.createElement("p",{style:{fontWeight:"bold",marginBottom:"8px"}},"\u26A0\uFE0F Bitmovin License Key Missing"),Pt.createElement("p",{style:{fontSize:"12px"}},"Please set NEXT_PUBLIC_BITMOVIN_LICENSE_KEY in your .env.local file"))),$n&&!De&&Pt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",color:"#888"}},"Loading Bitmovin Player..."),$n&&!I&&Pt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",color:"#888"}},"Loading video metadata..."),$n&&De&&jn&&Pt.createElement("div",{style:{width:"100%",height:"100%",position:"relative"}},Pt.createElement(De,{key:`bitmovin-${p}-${st.current}`,source:jn,config:tn,playerRef:vi}))),_==="shaka"&&Pt.createElement("div",{ref:Pe,style:{width:"100%",height:"100%"}},!je&&Pt.createElement("div",{style:{color:"#888",padding:"20px"}},"Loading Shaka Player...")),_==="threeq"&&Pt.createElement(Pt.Fragment,null,!Ye&&Pt.createElement("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:"#888",padding:"20px",zIndex:10}},"Loading 3Q Player SDK..."),Ye&&!Xe&&(c||p)&&Pt.createElement("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:"#888",padding:"20px",zIndex:10}},D?"Fetching 3Q config...":"Initializing 3Q Player..."),Ye&&Xe&&!ye&&Pt.createElement("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:"#888",padding:"20px",zIndex:10}},"Waiting for video element..."),Pt.createElement("div",{ref:Ze,id:Je.current,style:{width:"100%",height:"100%",position:"relative",zIndex:1}})),_==="vanilla-js"&&Pt.createElement("div",{style:{width:"100%",height:"100%",position:"relative"}},Pt.createElement("video",{ref:Rt,style:{width:"100%",height:"100%",objectFit:"contain"},controls:!0,playsInline:!0,crossOrigin:"anonymous"}),Pt.createElement("div",{ref:pt,style:{position:"absolute",bottom:0,left:0,right:0,height:"200px",pointerEvents:"none",zIndex:10}}),!en&&Pt.createElement("div",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:"#888"}},"Loading Core SDK..."),en&&Pt.createElement("div",{ref:Tt,style:{position:"absolute",top:"10px",left:"10px",color:"#888",fontSize:"12px",backgroundColor:"rgba(0,0,0,0.5)",padding:"4px 8px",borderRadius:"4px"}},"Ready to initialize..."))),p&&m&&_!=="vanilla-js"&&!d(p)&&Pt.createElement(ss,null,Pt.createElement(_s,{vodId:p,currentTime:ei.currentTime,isPlaying:ei.isPlaying,phontClient:m,mode:"word",language:te,threshold:kr(q),maxExpression:sr(q),subtitleAvailable:!0}),Pt.createElement(il,{isVodMode:!0,intensity:sr(q)})),$&&!r&&Pt.createElement("button",{onClick:ct=>{ct.stopPropagation(),o(!0)},style:{position:"fixed",bottom:"80px",right:"24px",zIndex:60,padding:"4px",backgroundColor:"rgba(0, 0, 0, 0.7)",borderRadius:"6px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.3)",transition:"all 0.2s ease",cursor:"pointer",pointerEvents:"auto",backdropFilter:"blur(12px)",border:"none",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:ct=>{ct.currentTarget.style.backgroundColor="rgba(0, 0, 0, 0.8)"},onMouseLeave:ct=>{ct.currentTarget.style.backgroundColor="rgba(0, 0, 0, 0.7)"},"aria-label":"Show PHONT controls"},Pt.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 256 256",style:{fill:"#ffffff",display:"block"}},Pt.createElement("path",{d:"M205.66,125.66a8,8,0,0,1-11.32,0L128,59.31,61.66,125.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,125.66Z"}))),$&&Pt.createElement(qd,{isVisible:!0,controlsVisible:r,onControlsVisibilityChange:o,isLive:!1,currentVideoId:p,gts:q,setGTS:K,subtitleLanguage:te,availableLanguages:$e,currentSubtitleLanguage:te,handleLanguageChange:ve,isTranslating:ae,translatingToLanguage:_e,animationMode:y==="word"?"Word":"Sentence",setAnimationMode:ct=>{E(ct==="Word"?"word":"sentence"),Di.setAnimationMode(ct)},toggles:G,handleToggle:ct=>{let vt=[...G];vt[ct]=!vt[ct],U(vt),ct===0?Di.toggleSpeaker(vt[0]):ct===1&&Di.toggleClosedCaptions(vt[1])},customAnimationUrl:L,setCustomAnimationUrl:F,emotionMappings:Y,setEmotionMappings:Z,showSettingsPanel:!0,selectedPlayer:_,setSelectedPlayer:ct=>a(ct),players:Rn,vodId:p,setVodId:A,vods:S,onLogout:t,username:P}))))}import jr from"react";function EA({isVisible:H=!0,onPanelMouseEnter:u,onPanelMouseLeave:n,isLive:i=!1,currentVideoId:c,gts:m,setGTS:$,threshold:P,maxExpression:t,subtitleLanguage:_,availableLanguages:a={},currentSubtitleLanguage:r,handleLanguageChange:o,isTranslating:l=!1,translatingToLanguage:d,translationProvider:h,translationModel:f,toggles:p,handleToggle:A}){return H?jr.createElement("div",{className:"fixed flex pointer-events-none z-[104] md:z-[101] items-start justify-center md:items-end md:justify-end px-6 py-6 md:px-0 md:py-0 top-[80px] left-0 right-0 md:top-auto md:left-auto md:right-[20px] md:[bottom:calc(8vh+16px)]"},jr.createElement("div",{"data-phont-panel":!0,className:"relative flex flex-col items-start w-full max-w-sm md:max-w-[260px] md:w-[min(90vw,260px)] bg-black/70 md:bg-black/50 rounded-2xl md:rounded-lg shadow-lg p-5 md:p-4 pointer-events-auto h-auto",style:{backdropFilter:"blur(8px)"},onMouseEnter:u,onMouseLeave:n},jr.createElement("span",{className:"text-white font-bold text-lg",style:{fontFamily:"Inter, sans-serif"}},"Emotion & Voice"),jr.createElement(xs,{gts:m,setGTS:$,threshold:P,maxExpression:t}),!i&&c&&o&&jr.createElement(Ms,{subtitleLanguage:_||null,availableLanguages:a,currentSubtitleLanguage:r||null,onLanguageChange:o,isTranslating:l,translatingToLanguage:d||null,translationProvider:h??void 0,translationModel:f??void 0}),jr.createElement("div",{className:"flex flex-col gap-1 w-full font-bold toggle-scroll",style:{width:"100%"}},p.length>1&&jr.createElement(sa,{isOn:p[1],label:"Closed Captions",onToggle:()=>A(1)})))):null}import{useState as lu,useCallback as hv,useMemo as _v}from"react";import{subtitleManager as cc}from"@phont-ai/subtitles-core";var pv={"en-US":"English (US)",de:"German",fr:"French",es:"Spanish",it:"Italian",pt:"Portuguese",ja:"Japanese",zh:"Chinese",ko:"Korean",ar:"Arabic",hi:"Hindi",tr:"Turkish"};function AA({vodId:H,phontClient:u,initialGts:n=.7,closedCaptionsOn:i=!0,availableLanguages:c=pv}){let[m,$]=lu(n),P=_v(()=>kr(m),[m]),t=_v(()=>sr(m),[m]),[_,a]=lu([!1,i]),[r,o]=lu(null),[l,d]=lu(!1),[h,f]=lu(null),p=hv(x=>{a(I=>{let T=[...I];return T[x]=!T[x],x===0&&cc.toggleSpeaker(T[0]),x===1&&cc.toggleClosedCaptions(T[1]),T})},[]),A=hv(x=>{if(!(!u||!H)){if(!x){o(null),cc.loadVodSubtitles(H,null);return}d(!0),f(x),cc.loadVodSubtitles(H,x).then(()=>o(x)).catch(I=>console.error("Translation error:",I)).finally(()=>{d(!1),f(null)})}},[u,H]);return{gts:m,setGTS:$,threshold:P,maxExpression:t,toggles:_,handleToggle:p,subtitleLanguage:r,handleLanguageChange:A,isTranslating:l,translatingToLanguage:h,availableLanguages:c}}export{ss as AnimationConfigProvider,Vd as AnimationModeToggle,Gd as AnimationUrlConfig,Ts as BitmovinPlayerAdapter,xs as GTSSlider,$s as HTML5VideoAdapter,pv as PHONT_DEFAULT_LANGUAGES,rk as PhontClient,EA as PhontControls,qd as PhontControlsDev,ey as PhontRoot,_s as PhontSubtitles,el as PhontSubtitlesWithUrlAnimations,Wy as PhontVideoPlayer,TA as PlayerTestSuite,Rd as SDKAuth,Es as ShakaPlayerAdapter,il as SoundbiteContainer,bd as StylesheetProvider,Ps as ThreeQPlayerAdapter,sa as ToggleSwitch,Ms as TranslationDropdown,As as VideoJSPlayerAdapter,Zu as WordRenderer,K0 as buildPhontAnimationRequestHeaders,lk as calculateAnimationState,sr as calculateMaxExpression,kr as calculateThreshold,$d as configurePublishedAnimationFetcher,Ku as createPhontAnimationFetcher,uk as createPublishedAnimationResolver,sk as decodeAnimationUrl,ak as subtitleManager,B2 as useAnimationConfig,AA as usePhontVodControls,Od as usePlayerSync,Td as usePublishedAnimationResolver,Cd as useSDKAnimation,bs as useSDKAuth,xr as useStylesheet,us as useUrlAnimations,Is as useVideoPlayer};
|
|
343
|
+
`});bt.size>pn.length;){let Vn=bt.size-1,vn=bt.get(Vn);vn&&vn.parentNode&&vn.parentNode.removeChild(vn),bt.delete(Vn)}}function Sr(){Ht.current&&(typeof Ht.current=="function"?Ht.current():clearInterval(Ht.current),Ht.current=null),qt.current&&(qt.current.destroy(),qt.current=null),Rt.current&&(Rt.current.src="",Rt.current.removeAttribute("src"),Rt.current.load()),pt.current&&(pt.current.innerHTML="")}return()=>{Sr()}},[_,$,m,I,p,y,en]),Hn(()=>()=>{Te.current&&(Te.current.destroy(),Te.current=null)},[_]);let Rn=[{type:"html5",name:"HTML5 Video",description:"Native HTML5 video with HLS.js"},{type:"bitmovin",name:"Bitmovin Player",description:"Commercial adaptive streaming player"},{type:"shaka",name:"Shaka Player",description:"Google Shaka Player (open source)"},{type:"threeq",name:"3Q Video Player",description:"3Q Video Player Web SDK"},{type:"vanilla-js",name:"Vanilla JS Core",description:"Pure JS with @phont-ai/subtitles-core (no React)"}];return Pt.createElement("div",{style:{width:"100vw",height:"100vh",backgroundColor:"#000",display:"flex",flexDirection:"column",overflow:"hidden",position:"fixed",top:0,left:0}},!$&&Pt.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",padding:"20px"}},Pt.createElement("div",{style:{width:"100%",maxWidth:"600px"}},Pt.createElement(Rd,{apiBaseUrl:n}))),$&&Pt.createElement("div",{style:{flex:1,position:"relative",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"}},!I&&_!=="threeq"?Pt.createElement("div",{style:{color:"#666",textAlign:"center"}},Pt.createElement("h2",null,"Loading video metadata...")):Pt.createElement(Pt.Fragment,null,Pt.createElement("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:1,overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center"}},_==="html5"&&Pt.createElement("video",{ref:ge,style:{width:"100%",height:"100%",objectFit:"contain",maxWidth:"100%",maxHeight:"100%"},controls:!0,playsInline:!0}),_==="bitmovin"&&Pt.createElement("div",{ref:ie,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",zIndex:1}},!$n&&Pt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",color:"#ff6b6b",padding:"20px",textAlign:"center"}},Pt.createElement("div",null,Pt.createElement("p",{style:{fontWeight:"bold",marginBottom:"8px"}},"\u26A0\uFE0F Bitmovin License Key Missing"),Pt.createElement("p",{style:{fontSize:"12px"}},"Please set NEXT_PUBLIC_BITMOVIN_LICENSE_KEY in your .env.local file"))),$n&&!De&&Pt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",color:"#888"}},"Loading Bitmovin Player..."),$n&&!I&&Pt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",color:"#888"}},"Loading video metadata..."),$n&&De&&jn&&Pt.createElement("div",{style:{width:"100%",height:"100%",position:"relative"}},Pt.createElement(De,{key:`bitmovin-${p}-${st.current}`,source:jn,config:tn,playerRef:vi}))),_==="shaka"&&Pt.createElement("div",{ref:Pe,style:{width:"100%",height:"100%"}},!je&&Pt.createElement("div",{style:{color:"#888",padding:"20px"}},"Loading Shaka Player...")),_==="threeq"&&Pt.createElement(Pt.Fragment,null,!Ye&&Pt.createElement("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:"#888",padding:"20px",zIndex:10}},"Loading 3Q Player SDK..."),Ye&&!Xe&&(c||p)&&Pt.createElement("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:"#888",padding:"20px",zIndex:10}},D?"Fetching 3Q config...":"Initializing 3Q Player..."),Ye&&Xe&&!ye&&Pt.createElement("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:"#888",padding:"20px",zIndex:10}},"Waiting for video element..."),Pt.createElement("div",{ref:Ze,id:Je.current,style:{width:"100%",height:"100%",position:"relative",zIndex:1}})),_==="vanilla-js"&&Pt.createElement("div",{style:{width:"100%",height:"100%",position:"relative"}},Pt.createElement("video",{ref:Rt,style:{width:"100%",height:"100%",objectFit:"contain"},controls:!0,playsInline:!0,crossOrigin:"anonymous"}),Pt.createElement("div",{ref:pt,style:{position:"absolute",bottom:0,left:0,right:0,height:"200px",pointerEvents:"none",zIndex:10}}),!en&&Pt.createElement("div",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:"#888"}},"Loading Core SDK..."),en&&Pt.createElement("div",{ref:Tt,style:{position:"absolute",top:"10px",left:"10px",color:"#888",fontSize:"12px",backgroundColor:"rgba(0,0,0,0.5)",padding:"4px 8px",borderRadius:"4px"}},"Ready to initialize..."))),p&&m&&_!=="vanilla-js"&&!d(p)&&Pt.createElement(ss,null,Pt.createElement(_s,{vodId:p,currentTime:ei.currentTime,isPlaying:ei.isPlaying,phontClient:m,mode:"word",language:te,threshold:kr(q),maxExpression:sr(q),subtitleAvailable:!0}),Pt.createElement(il,{isVodMode:!0,intensity:sr(q)})),$&&!r&&Pt.createElement("button",{onClick:ct=>{ct.stopPropagation(),o(!0)},style:{position:"fixed",bottom:"80px",right:"24px",zIndex:60,padding:"4px",backgroundColor:"rgba(0, 0, 0, 0.7)",borderRadius:"6px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.3)",transition:"all 0.2s ease",cursor:"pointer",pointerEvents:"auto",backdropFilter:"blur(12px)",border:"none",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:ct=>{ct.currentTarget.style.backgroundColor="rgba(0, 0, 0, 0.8)"},onMouseLeave:ct=>{ct.currentTarget.style.backgroundColor="rgba(0, 0, 0, 0.7)"},"aria-label":"Show PHONT controls"},Pt.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 256 256",style:{fill:"#ffffff",display:"block"}},Pt.createElement("path",{d:"M205.66,125.66a8,8,0,0,1-11.32,0L128,59.31,61.66,125.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,125.66Z"}))),$&&Pt.createElement(qd,{isVisible:!0,controlsVisible:r,onControlsVisibilityChange:o,isLive:!1,currentVideoId:p,gts:q,setGTS:K,subtitleLanguage:te,availableLanguages:$e,currentSubtitleLanguage:te,handleLanguageChange:ve,isTranslating:ae,translatingToLanguage:_e,animationMode:y==="word"?"Word":"Sentence",setAnimationMode:ct=>{E(ct==="Word"?"word":"sentence"),Di.setAnimationMode(ct)},toggles:G,handleToggle:ct=>{let vt=[...G];vt[ct]=!vt[ct],U(vt),ct===0?Di.toggleSpeaker(vt[0]):ct===1&&Di.toggleClosedCaptions(vt[1])},customAnimationUrl:L,setCustomAnimationUrl:F,emotionMappings:Y,setEmotionMappings:Z,showSettingsPanel:!0,selectedPlayer:_,setSelectedPlayer:ct=>a(ct),players:Rn,vodId:p,setVodId:A,vods:S,onLogout:t,username:P}))))}import jr from"react";function PA({isVisible:H=!0,onPanelMouseEnter:u,onPanelMouseLeave:n,isLive:i=!1,currentVideoId:c,gts:m,setGTS:$,threshold:P,maxExpression:t,subtitleLanguage:_,availableLanguages:a={},currentSubtitleLanguage:r,handleLanguageChange:o,isTranslating:l=!1,translatingToLanguage:d,translationProvider:h,translationModel:f,toggles:p,handleToggle:A}){return H?jr.createElement("div",{className:"fixed flex pointer-events-none z-[104] md:z-[101] items-start justify-center md:items-end md:justify-end px-6 py-6 md:px-0 md:py-0 top-[80px] left-0 right-0 md:top-auto md:left-auto md:right-[20px] md:[bottom:calc(8vh+16px)]"},jr.createElement("div",{"data-phont-panel":!0,className:"relative flex flex-col items-start w-full max-w-sm md:max-w-[260px] md:w-[min(90vw,260px)] bg-black/70 md:bg-black/50 rounded-2xl md:rounded-lg shadow-lg p-5 md:p-4 pointer-events-auto h-auto",style:{backdropFilter:"blur(8px)"},onMouseEnter:u,onMouseLeave:n},jr.createElement("span",{className:"text-white font-bold text-lg",style:{fontFamily:"Inter, sans-serif"}},"Emotion & Voice"),jr.createElement(xs,{gts:m,setGTS:$,threshold:P,maxExpression:t}),!i&&c&&o&&jr.createElement(Ms,{subtitleLanguage:_||null,availableLanguages:a,currentSubtitleLanguage:r||null,onLanguageChange:o,isTranslating:l,translatingToLanguage:d||null,translationProvider:h??void 0,translationModel:f??void 0}),jr.createElement("div",{className:"flex flex-col gap-1 w-full font-bold toggle-scroll",style:{width:"100%"}},p.length>1&&jr.createElement(sa,{isOn:p[1],label:"Closed Captions",onToggle:()=>A(1)})))):null}import{useState as lu,useCallback as hv,useMemo as _v}from"react";import{subtitleManager as cc}from"@phont-ai/subtitles-core";var pv={"en-US":"English (US)",de:"German",fr:"French",es:"Spanish",it:"Italian",pt:"Portuguese",ja:"Japanese",zh:"Chinese",ko:"Korean",ar:"Arabic",hi:"Hindi",tr:"Turkish"};function IA({vodId:H,phontClient:u,initialGts:n=.7,closedCaptionsOn:i=!0,availableLanguages:c=pv}){let[m,$]=lu(n),P=_v(()=>kr(m),[m]),t=_v(()=>sr(m),[m]),[_,a]=lu([!1,i]),[r,o]=lu(null),[l,d]=lu(!1),[h,f]=lu(null),p=hv(x=>{a(I=>{let T=[...I];return T[x]=!T[x],x===0&&cc.toggleSpeaker(T[0]),x===1&&cc.toggleClosedCaptions(T[1]),T})},[]),A=hv(x=>{if(!(!u||!H)){if(!x){o(null),cc.loadVodSubtitles(H,null);return}d(!0),f(x),cc.loadVodSubtitles(H,x).then(()=>o(x)).catch(I=>console.error("Translation error:",I)).finally(()=>{d(!1),f(null)})}},[u,H]);return{gts:m,setGTS:$,threshold:P,maxExpression:t,toggles:_,handleToggle:p,subtitleLanguage:r,handleLanguageChange:A,isTranslating:l,translatingToLanguage:h,availableLanguages:c}}export{ss as AnimationConfigProvider,Vd as AnimationModeToggle,Gd as AnimationUrlConfig,Ts as BitmovinPlayerAdapter,xs as GTSSlider,$s as HTML5VideoAdapter,pv as PHONT_DEFAULT_LANGUAGES,ok as PhontClient,PA as PhontControls,qd as PhontControlsDev,ny as PhontRoot,_s as PhontSubtitles,el as PhontSubtitlesWithUrlAnimations,Ky as PhontVideoPlayer,AA as PlayerTestSuite,Rd as SDKAuth,Es as ShakaPlayerAdapter,il as SoundbiteContainer,bd as StylesheetProvider,Ps as ThreeQPlayerAdapter,sa as ToggleSwitch,Ms as TranslationDropdown,As as VideoJSPlayerAdapter,Zu as WordRenderer,K0 as buildPhontAnimationRequestHeaders,dk as calculateAnimationState,sr as calculateMaxExpression,kr as calculateThreshold,$d as configurePublishedAnimationFetcher,Ku as createPhontAnimationFetcher,ck as createPublishedAnimationResolver,lk as decodeAnimationUrl,sk as subtitleManager,B2 as useAnimationConfig,IA as usePhontVodControls,Od as usePlayerSync,Td as usePublishedAnimationResolver,Cd as useSDKAnimation,bs as useSDKAuth,xr as useStylesheet,us as useUrlAnimations,Is as useVideoPlayer};
|