stream-engine-widgets 0.3.14 → 0.3.16
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/README.md +70 -66
- package/dist/{ArrowForwardIosRounded-Bug0UD4Z.js → ArrowForwardIosRounded-BHHWNUfB.js} +2 -2
- package/dist/ArrowForwardIosRounded-BHHWNUfB.js.map +1 -0
- package/dist/{PlayArrowRounded-DDn8lR83.js → PlayArrowRounded-D1FELNJx.js} +2 -2
- package/dist/PlayArrowRounded-D1FELNJx.js.map +1 -0
- package/dist/blaze-BOFmpQ80.js +528 -0
- package/dist/blaze-BOFmpQ80.js.map +1 -0
- package/dist/{gallery-Bj7HaEKS.js → gallery-GRnjldyr.js} +3 -3
- package/dist/{gallery-Bj7HaEKS.js.map → gallery-GRnjldyr.js.map} +1 -1
- package/dist/{index-DRXk8TB6.js → index-BkAInKCv.js} +894 -156
- package/dist/index-BkAInKCv.js.map +1 -0
- package/dist/{matchItem-Dbtm7f0H.js → matchItem-CL87EJ7i.js} +2 -2
- package/dist/{matchItem-Dbtm7f0H.js.map → matchItem-CL87EJ7i.js.map} +1 -1
- package/dist/{matches-BYGBQOdB.js → matches-CCFg5Xd1.js} +4 -4
- package/dist/{matches-BYGBQOdB.js.map → matches-CCFg5Xd1.js.map} +1 -1
- package/dist/{matchesStandalone-fkyfgYtI.js → matchesStandalone-K-T-YXDH.js} +234 -10
- package/dist/matchesStandalone-K-T-YXDH.js.map +1 -0
- package/dist/{player-BpFZSk7h.js → player-BkFsXlEi.js} +3 -3
- package/dist/{player-BpFZSk7h.js.map → player-BkFsXlEi.js.map} +1 -1
- package/dist/{poster-gBj_BEdS.js → poster-BFthK88T.js} +3 -3
- package/dist/{poster-gBj_BEdS.js.map → poster-BFthK88T.js.map} +1 -1
- package/dist/{posterItem-COVgC8zh.js → posterItem-BojAdnBI.js} +4 -4
- package/dist/{posterItem-COVgC8zh.js.map → posterItem-BojAdnBI.js.map} +1 -1
- package/dist/{scroll-DcdnfMG4.js → scroll-Cm_Q9RJ9.js} +4 -4
- package/dist/{scroll-DcdnfMG4.js.map → scroll-Cm_Q9RJ9.js.map} +1 -1
- package/dist/{stateTimeIndicator-CpCIHbFB.js → stateTimeIndicator-BY_OhJJ6.js} +2 -2
- package/dist/{stateTimeIndicator-CpCIHbFB.js.map → stateTimeIndicator-BY_OhJJ6.js.map} +1 -1
- package/dist/{story-CH4qV2PF.js → story-BbKazkAh.js} +4 -4
- package/dist/story-BbKazkAh.js.map +1 -0
- package/dist/stream-engine-widgets.css +0 -708
- package/dist/stream-engine-widgets.js +1 -1
- package/dist/{useMediaQuery-C8rqxnyT.js → useMediaQuery-Bh9Ciip_.js} +4 -4
- package/dist/{useMediaQuery-C8rqxnyT.js.map → useMediaQuery-Bh9Ciip_.js.map} +1 -1
- package/package.json +1 -5
- package/dist/ArrowForwardIosRounded-Bug0UD4Z.js.map +0 -1
- package/dist/PlayArrowRounded-DDn8lR83.js.map +0 -1
- package/dist/blaze-widget-COvQjzxN.js +0 -536
- package/dist/blaze-widget-COvQjzxN.js.map +0 -1
- package/dist/index-DRXk8TB6.js.map +0 -1
- package/dist/matchesStandalone-fkyfgYtI.js.map +0 -1
- package/dist/story-CH4qV2PF.js.map +0 -1
|
@@ -1,536 +0,0 @@
|
|
|
1
|
-
import { i as importShared, j as jsxRuntimeExports, S as SpinLoader } from './index-DRXk8TB6.js';
|
|
2
|
-
import { g as getDefaultExportFromCjs } from './index-DxAI6Tai.js';
|
|
3
|
-
|
|
4
|
-
function _mergeNamespaces(n, m) {
|
|
5
|
-
for (var i = 0; i < m.length; i++) {
|
|
6
|
-
const e = m[i];
|
|
7
|
-
if (typeof e !== 'string' && !Array.isArray(e)) { for (const k in e) {
|
|
8
|
-
if (k !== 'default' && !(k in n)) {
|
|
9
|
-
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
10
|
-
if (d) {
|
|
11
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: () => e[k]
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
} }
|
|
18
|
-
}
|
|
19
|
-
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: 'Module' }));
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
var publish = {exports: {}};
|
|
23
|
-
|
|
24
|
-
(function (module, exports) {
|
|
25
|
-
!function(a,b){module['exports']=b();}(window,()=>((()=>{var a={0xad8:(a0,a1,a2)=>{a2['r'](a1),a2['d'](a1,{'default':()=>aV});var a3={'update':null,'begin':null,'loopBegin':null,'changeBegin':null,'change':null,'changeComplete':null,'loopComplete':null,'complete':null,'loop':0x1,'direction':'normal','autoplay':!0x0,'timelineOffset':0x0},a4={'duration':0x3e8,'delay':0x0,'endDelay':0x0,'easing':'easeOutElastic(1,\x20.5)','round':0x0},a5=['translateX','translateY','translateZ','rotate','rotateX','rotateY','rotateZ','scale','scaleX','scaleY','scaleZ','skew','skewX','skewY','perspective','matrix','matrix3d'],a6={'CSS':{},'springs':{}};function a7(aW,aX,aY){return Math['min'](Math['max'](aW,aX),aY);}function a8(aW,aX){return aW['indexOf'](aX)>-0x1;}function a9(aW,aX){return aW['apply'](null,aX);}var aa={'arr':function(aW){return Array['isArray'](aW);},'obj':function(aW){return a8(Object['prototype']['toString']['call'](aW),'Object');},'pth':function(aW){return aa['obj'](aW)&&aW['hasOwnProperty']('totalLength');},'svg':function(aW){return aW instanceof SVGElement;},'inp':function(aW){return aW instanceof HTMLInputElement;},'dom':function(aW){return aW['nodeType']||aa['svg'](aW);},'str':function(aW){return 'string'==typeof aW;},'fnc':function(aW){return 'function'==typeof aW;},'und':function(aW){return void 0x0===aW;},'nil':function(aW){return aa['und'](aW)||null===aW;},'hex':function(aW){return /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i['test'](aW);},'rgb':function(aW){return /^rgb/['test'](aW);},'hsl':function(aW){return /^hsl/['test'](aW);},'col':function(aW){return aa['hex'](aW)||aa['rgb'](aW)||aa['hsl'](aW);},'key':function(aW){return !a3['hasOwnProperty'](aW)&&!a4['hasOwnProperty'](aW)&&'targets'!==aW&&'keyframes'!==aW;}};function ab(aW){var aX=/\(([^)]+)\)/['exec'](aW);return aX?aX[0x1]['split'](',')['map'](function(aY){return parseFloat(aY);}):[];}function ac(aW,aX){var aY=ab(aW),aZ=a7(aa['und'](aY[0x0])?0x1:aY[0x0],0.1,0x64),b0=a7(aa['und'](aY[0x1])?0x64:aY[0x1],0.1,0x64),b1=a7(aa['und'](aY[0x2])?0xa:aY[0x2],0.1,0x64),b2=a7(aa['und'](aY[0x3])?0x0:aY[0x3],0.1,0x64),b3=Math['sqrt'](b0/aZ),b4=b1/(0x2*Math['sqrt'](b0*aZ)),b5=b4<0x1?b3*Math['sqrt'](0x1-b4*b4):0x0,b6=b4<0x1?(b4*b3-b2)/b5:-b2+b3;function b7(b8){var b9=aX?aX*b8/0x3e8:b8;return b9=b4<0x1?Math['exp'](-b9*b4*b3)*(0x1*Math['cos'](b5*b9)+b6*Math['sin'](b5*b9)):(0x1+b6*b9)*Math['exp'](-b9*b3),0x0===b8||0x1===b8?b8:0x1-b9;}return aX?b7:function(){var b8=a6['springs'][aW];if(b8)return b8;for(var b9=0x1/0x6,ba=0x0,bb=0x0;;)if(0x1===b7(ba+=b9)){if(++bb>=0x10)break;}else bb=0x0;var bc=ba*b9*0x3e8;return a6['springs'][aW]=bc,bc;};}function ad(aW){return void 0x0===aW&&(aW=0xa),function(aX){return Math['ceil'](a7(aX,0.000001,0x1)*aW)*(0x1/aW);};}var ae,af,ag=(function(){var aW=0.1;function aX(b2,b3){return 0x1-0x3*b3+0x3*b2;}function aY(b2,b3){return 0x3*b3-0x6*b2;}function aZ(b2){return 0x3*b2;}function b0(b2,b3,b4){return ((aX(b3,b4)*b2+aY(b3,b4))*b2+aZ(b3))*b2;}function b1(b2,b3,b4){return 0x3*aX(b3,b4)*b2*b2+0x2*aY(b3,b4)*b2+aZ(b3);}return function(b2,b3,b4,b5){if(0x0<=b2&&b2<=0x1&&0x0<=b4&&b4<=0x1){var b6=new Float32Array(0xb);if(b2!==b3||b4!==b5){for(var b7=0x0;b7<0xb;++b7)b6[b7]=b0(b7*aW,b2,b4);}return function(b8){return b2===b3&&b4===b5||0x0===b8||0x1===b8?b8:b0(function(b9){for(var ba=0x0,bb=0x1;0xa!==bb&&b6[bb]<=b9;++bb)ba+=aW;--bb;var bc=ba+(b9-b6[bb])/(b6[bb+0x1]-b6[bb])*aW,bd=b1(bc,b2,b4);return bd>=0.001?function(be,bf,bg,bh){for(var bi=0x0;bi<0x4;++bi){var bj=b1(bf,bg,bh);if(0x0===bj)return bf;bf-=(b0(bf,bg,bh)-be)/bj;}return bf;}(b9,bc,b2,b4):0x0===bd?bc:function(be,bf,bg,bh,bi){var bj,bk,bl=0x0;do{(bj=b0(bk=bf+(bg-bf)/0x2,bh,bi)-be)>0x0?bg=bk:bf=bk;}while(Math['abs'](bj)>1e-7&&++bl<0xa);return bk;}(b9,ba,ba+aW,b2,b4);}(b8),b3,b5);};}};}()),ah=(ae={'linear':function(){return function(aW){return aW;};}},af={'Sine':function(){return function(aW){return 0x1-Math['cos'](aW*Math['PI']/0x2);};},'Circ':function(){return function(aW){return 0x1-Math['sqrt'](0x1-aW*aW);};},'Back':function(){return function(aW){return aW*aW*(0x3*aW-0x2);};},'Bounce':function(){return function(aW){for(var aX,aY=0x4;aW<((aX=Math['pow'](0x2,--aY))-0x1)/0xb;);return 0x1/Math['pow'](0x4,0x3-aY)-7.5625*Math['pow']((0x3*aX-0x2)/0x16-aW,0x2);};},'Elastic':function(aW,aX){void 0x0===aW&&(aW=0x1),void 0x0===aX&&(aX=0.5);var aY=a7(aW,0x1,0xa),aZ=a7(aX,0.1,0x2);return function(b0){return 0x0===b0||0x1===b0?b0:-aY*Math['pow'](0x2,0xa*(b0-0x1))*Math['sin']((b0-0x1-aZ/(0x2*Math['PI'])*Math['asin'](0x1/aY))*(0x2*Math['PI'])/aZ);};}},['Quad','Cubic','Quart','Quint','Expo']['forEach'](function(aW,aX){af[aW]=function(){return function(aY){return Math['pow'](aY,aX+0x2);};};}),Object['keys'](af)['forEach'](function(aW){var aX=af[aW];ae['easeIn'+aW]=aX,ae['easeOut'+aW]=function(aY,aZ){return function(b0){return 0x1-aX(aY,aZ)(0x1-b0);};},ae['easeInOut'+aW]=function(aY,aZ){return function(b0){return b0<0.5?aX(aY,aZ)(0x2*b0)/0x2:0x1-aX(aY,aZ)(-0x2*b0+0x2)/0x2;};},ae['easeOutIn'+aW]=function(aY,aZ){return function(b0){return b0<0.5?(0x1-aX(aY,aZ)(0x1-0x2*b0))/0x2:(aX(aY,aZ)(0x2*b0-0x1)+0x1)/0x2;};};}),ae);function ai(aW,aX){if(aa['fnc'](aW))return aW;var aY=aW['split']('(')[0x0],aZ=ah[aY],b0=ab(aW);switch(aY){case'spring':return ac(aW,aX);case'cubicBezier':return a9(ag,b0);case'steps':return a9(ad,b0);default:return a9(aZ,b0);}}function aj(aW){try{return document['querySelectorAll'](aW);}catch(aX){return;}}function ak(aW,aX){for(var aY=aW['length'],aZ=arguments['length']>=0x2?arguments[0x1]:void 0x0,b0=[],b1=0x0;b1<aY;b1++)if(b1 in aW){var b2=aW[b1];aX['call'](aZ,b2,b1,aW)&&b0['push'](b2);}return b0;}function al(aW){return aW['reduce'](function(aX,aY){return aX['concat'](aa['arr'](aY)?al(aY):aY);},[]);}function am(aW){return aa['arr'](aW)?aW:(aa['str'](aW)&&(aW=aj(aW)||aW),aW instanceof NodeList||aW instanceof HTMLCollection?[]['slice']['call'](aW):[aW]);}function an(aW,aX){return aW['some'](function(aY){return aY===aX;});}function ao(aW){var aX={};for(var aY in aW)aX[aY]=aW[aY];return aX;}function ap(aW,aX){var aY=ao(aW);for(var aZ in aW)aY[aZ]=aX['hasOwnProperty'](aZ)?aX[aZ]:aW[aZ];return aY;}function aq(aW,aX){var aY=ao(aW);for(var aZ in aX)aY[aZ]=aa['und'](aW[aZ])?aX[aZ]:aW[aZ];return aY;}function ar(aW){var aX=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/['exec'](aW);if(aX)return aX[0x1];}function as(aW,aX){return aa['fnc'](aW)?aW(aX['target'],aX['id'],aX['total']):aW;}function at(aW,aX){return aW['getAttribute'](aX);}function au(aW,aX,aY){if(an([aY,'deg','rad','turn'],ar(aX)))return aX;var aZ=a6['CSS'][aX+aY];if(!aa['und'](aZ))return aZ;var b0=document['createElement'](aW['tagName']),b1=aW['parentNode']&&aW['parentNode']!==document?aW['parentNode']:document['body'];b1['appendChild'](b0),b0['style']['position']='absolute',b0['style']['width']=0x64+aY;var b2=0x64/b0['offsetWidth'];b1['removeChild'](b0);var b3=b2*parseFloat(aX);return a6['CSS'][aX+aY]=b3,b3;}function av(aW,aX,aY){if(aX in aW['style']){var aZ=aX['replace'](/([a-z])([A-Z])/g,'$1-$2')['toLowerCase'](),b0=aW['style'][aX]||getComputedStyle(aW)['getPropertyValue'](aZ)||'0';return aY?au(aW,b0,aY):b0;}}function aw(aW,aX){return aa['dom'](aW)&&!aa['inp'](aW)&&(!aa['nil'](at(aW,aX))||aa['svg'](aW)&&aW[aX])?'attribute':aa['dom'](aW)&&an(a5,aX)?'transform':aa['dom'](aW)&&'transform'!==aX&&av(aW,aX)?'css':null!=aW[aX]?'object':void 0x0;}function ax(aW){if(aa['dom'](aW)){for(var aX,aY=aW['style']['transform']||'',aZ=/(\w+)\(([^)]*)\)/g,b0=new Map();aX=aZ['exec'](aY);)b0['set'](aX[0x1],aX[0x2]);return b0;}}function ay(aW,aX,aY,aZ){switch(aw(aW,aX)){case'transform':return function(b0,b1,b2,b3){var b4=a8(b1,'scale')?0x1:0x0+function(b6){return a8(b6,'translate')||'perspective'===b6?'px':a8(b6,'rotate')||a8(b6,'skew')?'deg':void 0x0;}(b1),b5=ax(b0)['get'](b1)||b4;return b2&&(b2['transforms']['list']['set'](b1,b5),b2['transforms']['last']=b1),b3?au(b0,b5,b3):b5;}(aW,aX,aZ,aY);case'css':return av(aW,aX,aY);case'attribute':return at(aW,aX);default:return aW[aX]||0x0;}}function az(aW,aX){var aY=/^(\*=|\+=|-=)/['exec'](aW);if(!aY)return aW;var aZ=ar(aW)||0x0,b0=parseFloat(aX),b1=parseFloat(aW['replace'](aY[0x0],''));switch(aY[0x0][0x0]){case'+':return b0+b1+aZ;case'-':return b0-b1+aZ;case'*':return b0*b1+aZ;}}function aA(aW,aX){if(aa['col'](aW))return function(b0){return aa['rgb'](b0)?(b2=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g['exec'](b1=b0))?'rgba('+b2[0x1]+',1)':b1:aa['hex'](b0)?function(b3){var b4=b3['replace'](/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(b6,b7,b8,b9){return b7+b7+b8+b8+b9+b9;}),b5=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i['exec'](b4);return 'rgba('+parseInt(b5[0x1],0x10)+','+parseInt(b5[0x2],0x10)+','+parseInt(b5[0x3],0x10)+',1)';}(b0):aa['hsl'](b0)?function(b3){var b4,b5,b6,b7=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g['exec'](b3)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g['exec'](b3),b8=parseInt(b7[0x1],0xa)/0x168,b9=parseInt(b7[0x2],0xa)/0x64,ba=parseInt(b7[0x3],0xa)/0x64,bb=b7[0x4]||0x1;function bc(bf,bg,bh){return bh<0x0&&(bh+=0x1),bh>0x1&&(bh-=0x1),bh<0x1/0x6?bf+0x6*(bg-bf)*bh:bh<0.5?bg:bh<0x2/0x3?bf+(bg-bf)*(0x2/0x3-bh)*0x6:bf;}if(0x0==b9)b4=b5=b6=ba;else {var bd=ba<0.5?ba*(0x1+b9):ba+b9-ba*b9,be=0x2*ba-bd;b4=bc(be,bd,b8+0x1/0x3),b5=bc(be,bd,b8),b6=bc(be,bd,b8-0x1/0x3);}return 'rgba('+0xff*b4+','+0xff*b5+','+0xff*b6+','+bb+')';}(b0):void 0x0;var b1,b2;}(aW);if(/\s/g['test'](aW))return aW;var aY=ar(aW),aZ=aY?aW['substr'](0x0,aW['length']-aY['length']):aW;return aX?aZ+aX:aZ;}function aB(aW,aX){return Math['sqrt'](Math['pow'](aX['x']-aW['x'],0x2)+Math['pow'](aX['y']-aW['y'],0x2));}function aC(aW){for(var aX,aY=aW['points'],aZ=0x0,b0=0x0;b0<aY['numberOfItems'];b0++){var b1=aY['getItem'](b0);b0>0x0&&(aZ+=aB(aX,b1)),aX=b1;}return aZ;}function aD(aW){if(aW['getTotalLength'])return aW['getTotalLength']();switch(aW['tagName']['toLowerCase']()){case'circle':return function(aX){return 0x2*Math['PI']*at(aX,'r');}(aW);case'rect':return function(aX){return 0x2*at(aX,'width')+0x2*at(aX,'height');}(aW);case'line':return function(aX){return aB({'x':at(aX,'x1'),'y':at(aX,'y1')},{'x':at(aX,'x2'),'y':at(aX,'y2')});}(aW);case'polyline':return aC(aW);case'polygon':return function(aX){var aY=aX['points'];return aC(aX)+aB(aY['getItem'](aY['numberOfItems']-0x1),aY['getItem'](0x0));}(aW);}}function aE(aW,aX){var aY=aX||{},aZ=aY['el']||function(b5){for(var b6=b5['parentNode'];aa['svg'](b6)&&aa['svg'](b6['parentNode']);)b6=b6['parentNode'];return b6;}(aW),b0=aZ['getBoundingClientRect'](),b1=at(aZ,'viewBox'),b2=b0['width'],b3=b0['height'],b4=aY['viewBox']||(b1?b1['split']('\x20'):[0x0,0x0,b2,b3]);return {'el':aZ,'viewBox':b4,'x':b4[0x0]/0x1,'y':b4[0x1]/0x1,'w':b2,'h':b3,'vW':b4[0x2],'vH':b4[0x3]};}function aF(aW,aX,aY){function aZ(b6){void 0x0===b6&&(b6=0x0);var b7=aX+b6>=0x1?aX+b6:0x0;return aW['el']['getPointAtLength'](b7);}var b0=aE(aW['el'],aW['svg']),b1=aZ(),b2=aZ(-0x1),b3=aZ(0x1),b4=aY?0x1:b0['w']/b0['vW'],b5=aY?0x1:b0['h']/b0['vH'];switch(aW['property']){case'x':return (b1['x']-b0['x'])*b4;case'y':return (b1['y']-b0['y'])*b5;case'angle':return 0xb4*Math['atan2'](b3['y']-b2['y'],b3['x']-b2['x'])/Math['PI'];}}function aG(aW,aX){var aY=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,aZ=aA(aa['pth'](aW)?aW['totalLength']:aW,aX)+'';return {'original':aZ,'numbers':aZ['match'](aY)?aZ['match'](aY)['map'](Number):[0x0],'strings':aa['str'](aW)||aX?aZ['split'](aY):[]};}function aH(aW){return ak(aW?al(aa['arr'](aW)?aW['map'](am):am(aW)):[],function(aX,aY,aZ){return aZ['indexOf'](aX)===aY;});}function aI(aW){var aX=aH(aW);return aX['map'](function(aY,aZ){return {'target':aY,'id':aZ,'total':aX['length'],'transforms':{'list':ax(aY)}};});}function aJ(aW,aX){var aY=ao(aX);if(/^spring/['test'](aY['easing'])&&(aY['duration']=ac(aY['easing'])),aa['arr'](aW)){var aZ=aW['length'];0x2!==aZ||aa['obj'](aW[0x0])?aa['fnc'](aX['duration'])||(aY['duration']=aX['duration']/aZ):aW={'value':aW};}var b0=aa['arr'](aW)?aW:[aW];return b0['map'](function(b1,b2){var b3=aa['obj'](b1)&&!aa['pth'](b1)?b1:{'value':b1};return aa['und'](b3['delay'])&&(b3['delay']=b2?0x0:aX['delay']),aa['und'](b3['endDelay'])&&(b3['endDelay']=b2===b0['length']-0x1?aX['endDelay']:0x0),b3;})['map'](function(b1){return aq(b1,aY);});}var aK={'css':function(aW,aX,aY){return aW['style'][aX]=aY;},'attribute':function(aW,aX,aY){return aW['setAttribute'](aX,aY);},'object':function(aW,aX,aY){return aW[aX]=aY;},'transform':function(aW,aX,aY,aZ,b0){if(aZ['list']['set'](aX,aY),aX===aZ['last']||b0){var b1='';aZ['list']['forEach'](function(b2,b3){b1+=b3+'('+b2+')\x20';}),aW['style']['transform']=b1;}}};function aL(aW,aX){aI(aW)['forEach'](function(aY){for(var aZ in aX){var b0=as(aX[aZ],aY),b1=aY['target'],b2=ar(b0),b3=ay(b1,aZ,b2,aY),b4=az(aA(b0,b2||ar(b3)),b3),b5=aw(b1,aZ);aK[b5](b1,aZ,b4,aY['transforms'],!0x0);}});}function aM(aW,aX){return ak(al(aW['map'](function(aY){return aX['map'](function(aZ){return function(b0,b1){var b2=aw(b0['target'],b1['name']);if(b2){var b3=function(b5,b6){var b7;return b5['tweens']['map'](function(b8){var b9=function(bi,bj){var bk={};for(var bl in bi){var bm=as(bi[bl],bj);aa['arr'](bm)&&0x1===(bm=bm['map'](function(bn){return as(bn,bj);}))['length']&&(bm=bm[0x0]),bk[bl]=bm;}return bk['duration']=parseFloat(bk['duration']),bk['delay']=parseFloat(bk['delay']),bk;}(b8,b6),ba=b9['value'],bb=aa['arr'](ba)?ba[0x1]:ba,bc=ar(bb),bd=ay(b6['target'],b5['name'],bc,b6),be=b7?b7['to']['original']:bd,bf=aa['arr'](ba)?ba[0x0]:be,bg=ar(bf)||ar(bd),bh=bc||bg;return aa['und'](bb)&&(bb=be),b9['from']=aG(bf,bh),b9['to']=aG(az(bb,bf),bh),b9['start']=b7?b7['end']:0x0,b9['end']=b9['start']+b9['delay']+b9['duration']+b9['endDelay'],b9['easing']=ai(b9['easing'],b9['duration']),b9['isPath']=aa['pth'](ba),b9['isPathTargetInsideSVG']=b9['isPath']&&aa['svg'](b6['target']),b9['isColor']=aa['col'](b9['from']['original']),b9['isColor']&&(b9['round']=0x1),b7=b9,b9;});}(b1,b0),b4=b3[b3['length']-0x1];return {'type':b2,'property':b1['name'],'animatable':b0,'tweens':b3,'duration':b4['end'],'delay':b3[0x0]['delay'],'endDelay':b4['endDelay']};}}(aY,aZ);});})),function(aY){return !aa['und'](aY);});}function aN(aW,aX){var aY=aW['length'],aZ=function(b1){return b1['timelineOffset']?b1['timelineOffset']:0x0;},b0={};return b0['duration']=aY?Math['max']['apply'](Math,aW['map'](function(b1){return aZ(b1)+b1['duration'];})):aX['duration'],b0['delay']=aY?Math['min']['apply'](Math,aW['map'](function(b1){return aZ(b1)+b1['delay'];})):aX['delay'],b0['endDelay']=aY?b0['duration']-Math['max']['apply'](Math,aW['map'](function(b1){return aZ(b1)+b1['duration']-b1['endDelay'];})):aX['endDelay'],b0;}var aO=0x0,aP=[],aQ=(function(){var aW;function aX(aY){for(var aZ=aP['length'],b0=0x0;b0<aZ;){var b1=aP[b0];b1['paused']?(aP['splice'](b0,0x1),aZ--):(b1['tick'](aY),b0++);}aW=b0>0x0?requestAnimationFrame(aX):void 0x0;}return 'undefined'!=typeof document&&document['addEventListener']('visibilitychange',function(){aS['suspendWhenDocumentHidden']&&(aR()?aW=cancelAnimationFrame(aW):(aP['forEach'](function(aY){return aY['_onDocumentVisibility']();}),aQ()));}),function(){aW||aR()&&aS['suspendWhenDocumentHidden']||!(aP['length']>0x0)||(aW=requestAnimationFrame(aX));};}());function aR(){return !!document&&document['hidden'];}function aS(aW){void 0x0===aW&&(aW={});var aX,aY=0x0,aZ=0x0,b0=0x0,b1=0x0,b2=null;function b3(bc){var bd=window['Promise']&&new Promise(function(be){return b2=be;});return bc['finished']=bd,bd;}var b4=function(bc){var bd=ap(a3,bc),be=ap(a4,bc),bf=function(bk,bl){var bm=[],bn=bl['keyframes'];for(var bo in(bn&&(bl=aq(function(bp){for(var bq=ak(al(bp['map'](function(bu){return Object['keys'](bu);})),function(bu){return aa['key'](bu);})['reduce'](function(bu,bv){return bu['indexOf'](bv)<0x0&&bu['push'](bv),bu;},[]),br={},bs=function(bu){var bv=bq[bu];br[bv]=bp['map'](function(bw){var bx={};for(var by in bw)aa['key'](by)?by==bv&&(bx['value']=bw[by]):bx[by]=bw[by];return bx;});},bt=0x0;bt<bq['length'];bt++)bs(bt);return br;}(bn),bl)),bl))aa['key'](bo)&&bm['push']({'name':bo,'tweens':aJ(bl[bo],bk)});return bm;}(be,bc),bg=aI(bc['targets']),bh=aM(bg,bf),bi=aN(bh,be),bj=aO;return aO++,aq(bd,{'id':bj,'children':[],'animatables':bg,'animations':bh,'duration':bi['duration'],'delay':bi['delay'],'endDelay':bi['endDelay']});}(aW);function b5(){var bc=b4['direction'];'alternate'!==bc&&(b4['direction']='normal'!==bc?'normal':'reverse'),b4['reversed']=!b4['reversed'],aX['forEach'](function(bd){return bd['reversed']=b4['reversed'];});}function b6(bc){return b4['reversed']?b4['duration']-bc:bc;}function b7(){aY=0x0,aZ=b6(b4['currentTime'])*(0x1/aS['speed']);}function b8(bc,bd){bd&&bd['seek'](bc-bd['timelineOffset']);}function b9(bc){for(var bd=0x0,be=b4['animations'],bf=be['length'];bd<bf;){var bg=be[bd],bh=bg['animatable'],bi=bg['tweens'],bj=bi['length']-0x1,bk=bi[bj];bj&&(bk=ak(bi,function(bA){return bc<bA['end'];})[0x0]||bk);for(var bl=a7(bc-bk['start']-bk['delay'],0x0,bk['duration'])/bk['duration'],bm=isNaN(bl)?0x1:bk['easing'](bl),bn=bk['to']['strings'],bo=bk['round'],bp=[],bq=bk['to']['numbers']['length'],br=void 0x0,bs=0x0;bs<bq;bs++){var bt=void 0x0,bu=bk['to']['numbers'][bs],bv=bk['from']['numbers'][bs]||0x0;bt=bk['isPath']?aF(bk['value'],bm*bu,bk['isPathTargetInsideSVG']):bv+bm*(bu-bv),bo&&(bk['isColor']&&bs>0x2||(bt=Math['round'](bt*bo)/bo)),bp['push'](bt);}var bw=bn['length'];if(bw){br=bn[0x0];for(var bx=0x0;bx<bw;bx++){bn[bx];var by=bn[bx+0x1],bz=bp[bx];isNaN(bz)||(br+=by?bz+by:bz+'\x20');}}else br=bp[0x0];aK[bg['type']](bh['target'],bg['property'],br,bh['transforms']),bg['currentValue']=br,bd++;}}function ba(bc){b4[bc]&&!b4['passThrough']&&b4[bc](b4);}function bb(bc){var bd=b4['duration'],be=b4['delay'],bf=bd-b4['endDelay'],bg=b6(bc);b4['progress']=a7(bg/bd*0x64,0x0,0x64),b4['reversePlayback']=bg<b4['currentTime'],aX&&function(bh){if(b4['reversePlayback']){for(var bi=b1;bi--;)b8(bh,aX[bi]);}else {for(var bj=0x0;bj<b1;bj++)b8(bh,aX[bj]);}}(bg),!b4['began']&&b4['currentTime']>0x0&&(b4['began']=!0x0,ba('begin')),!b4['loopBegan']&&b4['currentTime']>0x0&&(b4['loopBegan']=!0x0,ba('loopBegin')),bg<=be&&0x0!==b4['currentTime']&&b9(0x0),(bg>=bf&&b4['currentTime']!==bd||!bd)&&b9(bd),bg>be&&bg<bf?(b4['changeBegan']||(b4['changeBegan']=!0x0,b4['changeCompleted']=!0x1,ba('changeBegin')),ba('change'),b9(bg)):b4['changeBegan']&&(b4['changeCompleted']=!0x0,b4['changeBegan']=!0x1,ba('changeComplete')),b4['currentTime']=a7(bg,0x0,bd),b4['began']&&ba('update'),bc>=bd&&(aZ=0x0,b4['remaining']&&!0x0!==b4['remaining']&&b4['remaining']--,b4['remaining']?(aY=b0,ba('loopComplete'),b4['loopBegan']=!0x1,'alternate'===b4['direction']&&b5()):(b4['paused']=!0x0,b4['completed']||(b4['completed']=!0x0,ba('loopComplete'),ba('complete'),!b4['passThrough']&&'Promise'in window&&(b2(),b3(b4)))));}return b3(b4),b4['reset']=function(){var bc=b4['direction'];b4['passThrough']=!0x1,b4['currentTime']=0x0,b4['progress']=0x0,b4['paused']=!0x0,b4['began']=!0x1,b4['loopBegan']=!0x1,b4['changeBegan']=!0x1,b4['completed']=!0x1,b4['changeCompleted']=!0x1,b4['reversePlayback']=!0x1,b4['reversed']='reverse'===bc,b4['remaining']=b4['loop'],aX=b4['children'];for(var bd=b1=aX['length'];bd--;)b4['children'][bd]['reset']();(b4['reversed']&&!0x0!==b4['loop']||'alternate'===bc&&0x1===b4['loop'])&&b4['remaining']++,b9(b4['reversed']?b4['duration']:0x0);},b4['_onDocumentVisibility']=b7,b4['set']=function(bc,bd){return aL(bc,bd),b4;},b4['tick']=function(bc){b0=bc,aY||(aY=b0),bb((b0+(aZ-aY))*aS['speed']);},b4['seek']=function(bc){bb(b6(bc));},b4['pause']=function(){b4['paused']=!0x0,b7();},b4['play']=function(){b4['paused']&&(b4['completed']&&b4['reset'](),b4['paused']=!0x1,aP['push'](b4),b7(),aQ());},b4['reverse']=function(){b5(),b4['completed']=!b4['reversed'],b7();},b4['restart']=function(){b4['reset'](),b4['play']();},b4['remove']=function(bc){aU(aH(bc),b4);},b4['reset'](),b4['autoplay']&&b4['play'](),b4;}function aT(aW,aX){for(var aY=aX['length'];aY--;)an(aW,aX[aY]['animatable']['target'])&&aX['splice'](aY,0x1);}function aU(aW,aX){var aY=aX['animations'],aZ=aX['children'];aT(aW,aY);for(var b0=aZ['length'];b0--;){var b1=aZ[b0],b2=b1['animations'];aT(aW,b2),b2['length']||b1['children']['length']||aZ['splice'](b0,0x1);}aY['length']||aZ['length']||aX['pause']();}aS['version']='3.2.1',aS['speed']=0x1,aS['suspendWhenDocumentHidden']=!0x0,aS['running']=aP,aS['remove']=function(aW){for(var aX=aH(aW),aY=aP['length'];aY--;)aU(aX,aP[aY]);},aS['get']=ay,aS['set']=aL,aS['convertPx']=au,aS['path']=function(aW,aX){var aY=aa['str'](aW)?aj(aW)[0x0]:aW,aZ=aX||0x64;return function(b0){return {'property':b0,'el':aY,'svg':aE(aY),'totalLength':aD(aY)*(aZ/0x64)};};},aS['setDashoffset']=function(aW){var aX=aD(aW);return aW['setAttribute']('stroke-dasharray',aX),aX;},aS['stagger']=function(aW,aX){void 0x0===aX&&(aX={});var aY=aX['direction']||'normal',aZ=aX['easing']?ai(aX['easing']):null,b0=aX['grid'],b1=aX['axis'],b2=aX['from']||0x0,b3='first'===b2,b4='center'===b2,b5='last'===b2,b6=aa['arr'](aW),b7=b6?parseFloat(aW[0x0]):parseFloat(aW),b8=b6?parseFloat(aW[0x1]):0x0,b9=ar(b6?aW[0x1]:aW)||0x0,ba=aX['start']||0x0+(b6?b7:0x0),bb=[],bc=0x0;return function(bd,be,bf){if(b3&&(b2=0x0),b4&&(b2=(bf-0x1)/0x2),b5&&(b2=bf-0x1),!bb['length']){for(var bg=0x0;bg<bf;bg++){if(b0){var bh=b4?(b0[0x0]-0x1)/0x2:b2%b0[0x0],bi=b4?(b0[0x1]-0x1)/0x2:Math['floor'](b2/b0[0x0]),bj=bh-bg%b0[0x0],bk=bi-Math['floor'](bg/b0[0x0]),bl=Math['sqrt'](bj*bj+bk*bk);'x'===b1&&(bl=-bj),'y'===b1&&(bl=-bk),bb['push'](bl);}else bb['push'](Math['abs'](b2-bg));bc=Math['max']['apply'](Math,bb);}aZ&&(bb=bb['map'](function(bm){return aZ(bm/bc)*bc;})),'reverse'===aY&&(bb=bb['map'](function(bm){return b1?bm<0x0?-0x1*bm:-bm:Math['abs'](bc-bm);}));}return ba+(b6?(b8-b7)/bc:b7)*(Math['round'](0x64*bb[be])/0x64)+b9;};},aS['timeline']=function(aW){void 0x0===aW&&(aW={});var aX=aS(aW);return aX['duration']=0x0,aX['add']=function(aY,aZ){var b0=aP['indexOf'](aX),b1=aX['children'];function b2(b8){b8['passThrough']=!0x0;}b0>-0x1&&aP['splice'](b0,0x1);for(var b3=0x0;b3<b1['length'];b3++)b2(b1[b3]);var b4=aq(aY,ap(a4,aW));b4['targets']=b4['targets']||aW['targets'];var b5=aX['duration'];b4['autoplay']=!0x1,b4['direction']=aX['direction'],b4['timelineOffset']=aa['und'](aZ)?b5:az(aZ,b5),b2(aX),aX['seek'](b4['timelineOffset']);var b6=aS(b4);b2(b6),b1['push'](b6);var b7=aN(b1,aW);return aX['delay']=b7['delay'],aX['endDelay']=b7['endDelay'],aX['duration']=b7['duration'],aX['seek'](0x0),aX['reset'](),aX['autoplay']&&aX['play'](),aX;},aX;},aS['easing']=ai,aS['penner']=ah,aS['random']=function(aW,aX){return Math['floor'](Math['random']()*(aX-aW+0x1))+aW;};const aV=aS;},0x25e1:(d,f,g)=>{var h,j=void 0x0!==g['g']?g['g']:'undefined'!=typeof window?window:{},k=g(0x21e);'undefined'!=typeof document?h=document:(h=j['__GLOBAL_DOCUMENT_CACHE@4'])||(h=j['__GLOBAL_DOCUMENT_CACHE@4']=k),d['exports']=h;},0x2670:(d,f,g)=>{var h;h='undefined'!=typeof window?window:void 0x0!==g['g']?g['g']:'undefined'!=typeof self?self:{},d['exports']=h;},0x1c00:(d,f,g)=>{var h;!function(a0,a1,a2,a3){var a4,a5=['','webkit','Moz','MS','ms','o'],a6=a1['createElement']('div'),a7=Math['round'],a8=Math['abs'],a9=Date['now'];function aa(br,bs,bu){return setTimeout(ah(br,bu),bs);}function ab(br,bs,bu){return !!Array['isArray'](br)&&(ac(br,bu[bs],bu),!0x0);}function ac(br,bs,bu){var bv;if(br){if(br['forEach'])br['forEach'](bs,bu);else {if(br['length']!==a3){for(bv=0x0;bv<br['length'];)bs['call'](bu,br[bv],bv,br),bv++;}else {for(bv in br)br['hasOwnProperty'](bv)&&bs['call'](bu,br[bv],bv,br);}}}}function ad(br,bs,bu){var bv='DEPRECATED\x20METHOD:\x20'+bs+'\x0a'+bu+'\x20AT\x20\x0a';return function(){var bw=new Error('get-stack-trace'),bx=bw&&bw['stack']?bw['stack']['replace'](/^[^\(]+?[\n$]/gm,'')['replace'](/^\s+at\s+/gm,'')['replace'](/^Object.<anonymous>\s*\(/gm,'{anonymous}()@'):'Unknown\x20Stack\x20Trace',by=a0['console']&&(a0['console']['warn']||a0['console']['log']);return by&&by['call'](a0['console'],bv,bx),br['apply'](this,arguments);};}a4='function'!=typeof Object['assign']?function(br){if(br===a3||null===br)throw new TypeError('Cannot\x20convert\x20undefined\x20or\x20null\x20to\x20object');for(var bs=Object(br),bu=0x1;bu<arguments['length'];bu++){var bv=arguments[bu];if(bv!==a3&&null!==bv){for(var bw in bv)bv['hasOwnProperty'](bw)&&(bs[bw]=bv[bw]);}}return bs;}:Object['assign'];var ae=ad(function(br,bs,bu){for(var bv=Object['keys'](bs),bw=0x0;bw<bv['length'];)(!bu||bu&&br[bv[bw]]===a3)&&(br[bv[bw]]=bs[bv[bw]]),bw++;return br;},'extend','Use\x20`assign`.'),af=ad(function(br,bs){return ae(br,bs,!0x0);},'merge','Use\x20`assign`.');function ag(br,bs,bu){var bv,bw=bs['prototype'];(bv=br['prototype']=Object['create'](bw))['constructor']=br,bv['_super']=bw,bu&&a4(bv,bu);}function ah(br,bs){return function(){return br['apply'](bs,arguments);};}function ai(br,bs){return 'function'==typeof br?br['apply'](bs&&bs[0x0]||a3,bs):br;}function aj(br,bs){return br===a3?bs:br;}function ak(br,bs,bu){ac(ao(bs),function(bv){br['addEventListener'](bv,bu,!0x1);});}function al(br,bs,bu){ac(ao(bs),function(bv){br['removeEventListener'](bv,bu,!0x1);});}function am(br,bs){for(;br;){if(br==bs)return !0x0;br=br['parentNode'];}return !0x1;}function an(br,bs){return br['indexOf'](bs)>-0x1;}function ao(br){return br['trim']()['split'](/\s+/g);}function ap(br,bs,bu){if(br['indexOf']&&!bu)return br['indexOf'](bs);for(var bv=0x0;bv<br['length'];){if(bu&&br[bv][bu]==bs||!bu&&br[bv]===bs)return bv;bv++;}return -0x1;}function aq(br){return Array['prototype']['slice']['call'](br,0x0);}function ar(br,bs,bu){for(var bv=[],bw=[],bx=0x0;bx<br['length'];){var by=br[bx][bs];ap(bw,by)<0x0&&bv['push'](br[bx]),bw[bx]=by,bx++;}return (bv=bv['sort'](function(bz,bA){return bz[bs]>bA[bs];})),bv;}function as(br,bs){for(var bu,bv,bw=bs[0x0]['toUpperCase']()+bs['slice'](0x1),bx=0x0;bx<a5['length'];){if((bv=(bu=a5[bx])?bu+bw:bs)in br)return bv;bx++;}return a3;}var au=0x1;function av(br){var bs=br['ownerDocument']||br;return bs['defaultView']||bs['parentWindow']||a0;}var aw='ontouchstart'in a0,ax=as(a0,'PointerEvent')!==a3,ay=aw&&/mobile|tablet|ip(ad|hone|od)|android/i['test'](navigator['userAgent']),az='touch',aA='mouse',aB=['x','y'],aC=['clientX','clientY'];function aD(br,bs){var bu=this;this['manager']=br,this['callback']=bs,this['element']=br['element'],this['target']=br['options']['inputTarget'],this['domHandler']=function(bv){ai(br['options']['enable'],[br])&&bu['handler'](bv);},this['init']();}function aE(br,bs,bu){var bv=bu['pointers']['length'],bw=bu['changedPointers']['length'],bx=0x1&bs&&bv-bw==0x0,by=0xc&bs&&bv-bw==0x0;bu['isFirst']=!!bx,bu['isFinal']=!!by,bx&&(br['session']={}),bu['eventType']=bs,function(bz,bA){var bB=bz['session'],bC=bA['pointers'],bD=bC['length'];bB['firstInput']||(bB['firstInput']=aF(bA)),bD>0x1&&!bB['firstMultiple']?bB['firstMultiple']=aF(bA):0x1===bD&&(bB['firstMultiple']=!0x1);var bE=bB['firstInput'],bF=bB['firstMultiple'],bG=bF?bF['center']:bE['center'],bH=bA['center']=aG(bC);bA['timeStamp']=a9(),bA['deltaTime']=bA['timeStamp']-bE['timeStamp'],bA['angle']=aK(bG,bH),bA['distance']=aJ(bG,bH),function(bM,bN){var bO=bN['center'],bP=bM['offsetDelta']||{},bQ=bM['prevDelta']||{},bR=bM['prevInput']||{};0x1!==bN['eventType']&&0x4!==bR['eventType']||(bQ=bM['prevDelta']={'x':bR['deltaX']||0x0,'y':bR['deltaY']||0x0},bP=bM['offsetDelta']={'x':bO['x'],'y':bO['y']}),bN['deltaX']=bQ['x']+(bO['x']-bP['x']),bN['deltaY']=bQ['y']+(bO['y']-bP['y']);}(bB,bA),bA['offsetDirection']=aI(bA['deltaX'],bA['deltaY']);var bI,bJ,bK=aH(bA['deltaTime'],bA['deltaX'],bA['deltaY']);bA['overallVelocityX']=bK['x'],bA['overallVelocityY']=bK['y'],bA['overallVelocity']=a8(bK['x'])>a8(bK['y'])?bK['x']:bK['y'],bA['scale']=bF?(bI=bF['pointers'],aJ((bJ=bC)[0x0],bJ[0x1],aC)/aJ(bI[0x0],bI[0x1],aC)):0x1,bA['rotation']=bF?function(bM,bN){return aK(bN[0x1],bN[0x0],aC)+aK(bM[0x1],bM[0x0],aC);}(bF['pointers'],bC):0x0,bA['maxPointers']=bB['prevInput']?bA['pointers']['length']>bB['prevInput']['maxPointers']?bA['pointers']['length']:bB['prevInput']['maxPointers']:bA['pointers']['length'],function(bM,bN){var bO,bP,bQ,bR,bS=bM['lastInterval']||bN,bT=bN['timeStamp']-bS['timeStamp'];if(0x8!=bN['eventType']&&(bT>0x19||bS['velocity']===a3)){var bU=bN['deltaX']-bS['deltaX'],bV=bN['deltaY']-bS['deltaY'],bW=aH(bT,bU,bV);bP=bW['x'],bQ=bW['y'],bO=a8(bW['x'])>a8(bW['y'])?bW['x']:bW['y'],bR=aI(bU,bV),bM['lastInterval']=bN;}else bO=bS['velocity'],bP=bS['velocityX'],bQ=bS['velocityY'],bR=bS['direction'];bN['velocity']=bO,bN['velocityX']=bP,bN['velocityY']=bQ,bN['direction']=bR;}(bB,bA);var bL=bz['element'];am(bA['srcEvent']['target'],bL)&&(bL=bA['srcEvent']['target']),bA['target']=bL;}(br,bu),br['emit']('hammer.input',bu),br['recognize'](bu),br['session']['prevInput']=bu;}function aF(br){for(var bs=[],bu=0x0;bu<br['pointers']['length'];)bs[bu]={'clientX':a7(br['pointers'][bu]['clientX']),'clientY':a7(br['pointers'][bu]['clientY'])},bu++;return {'timeStamp':a9(),'pointers':bs,'center':aG(bs),'deltaX':br['deltaX'],'deltaY':br['deltaY']};}function aG(br){var bs=br['length'];if(0x1===bs)return {'x':a7(br[0x0]['clientX']),'y':a7(br[0x0]['clientY'])};for(var bu=0x0,bv=0x0,bw=0x0;bw<bs;)bu+=br[bw]['clientX'],bv+=br[bw]['clientY'],bw++;return {'x':a7(bu/bs),'y':a7(bv/bs)};}function aH(br,bs,bu){return {'x':bs/br||0x0,'y':bu/br||0x0};}function aI(br,bs){return br===bs?0x1:a8(br)>=a8(bs)?br<0x0?0x2:0x4:bs<0x0?0x8:0x10;}function aJ(br,bs,bu){bu||(bu=aB);var bv=bs[bu[0x0]]-br[bu[0x0]],bw=bs[bu[0x1]]-br[bu[0x1]];return Math['sqrt'](bv*bv+bw*bw);}function aK(br,bs,bu){bu||(bu=aB);var bv=bs[bu[0x0]]-br[bu[0x0]],bw=bs[bu[0x1]]-br[bu[0x1]];return 0xb4*Math['atan2'](bw,bv)/Math['PI'];}aD['prototype']={'handler':function(){},'init':function(){this['evEl']&&ak(this['element'],this['evEl'],this['domHandler']),this['evTarget']&&ak(this['target'],this['evTarget'],this['domHandler']),this['evWin']&&ak(av(this['element']),this['evWin'],this['domHandler']);},'destroy':function(){this['evEl']&&al(this['element'],this['evEl'],this['domHandler']),this['evTarget']&&al(this['target'],this['evTarget'],this['domHandler']),this['evWin']&&al(av(this['element']),this['evWin'],this['domHandler']);}};var aL={'mousedown':0x1,'mousemove':0x2,'mouseup':0x4};function aM(){this['evEl']='mousedown',this['evWin']='mousemove\x20mouseup',this['pressed']=!0x1,aD['apply'](this,arguments);}ag(aM,aD,{'handler':function(br){var bs=aL[br['type']];0x1&bs&&0x0===br['button']&&(this['pressed']=!0x0),0x2&bs&&0x1!==br['which']&&(bs=0x4),this['pressed']&&(0x4&bs&&(this['pressed']=!0x1),this['callback'](this['manager'],bs,{'pointers':[br],'changedPointers':[br],'pointerType':aA,'srcEvent':br}));}});var aN={'pointerdown':0x1,'pointermove':0x2,'pointerup':0x4,'pointercancel':0x8,'pointerout':0x8},aO={0x2:az,0x3:'pen',0x4:aA,0x5:'kinect'},aP='pointerdown',aQ='pointermove\x20pointerup\x20pointercancel';function aR(){this['evEl']=aP,this['evWin']=aQ,aD['apply'](this,arguments),this['store']=this['manager']['session']['pointerEvents']=[];}a0['MSPointerEvent']&&!a0['PointerEvent']&&(aP='MSPointerDown',aQ='MSPointerMove\x20MSPointerUp\x20MSPointerCancel'),ag(aR,aD,{'handler':function(br){var bs=this['store'],bu=!0x1,bv=br['type']['toLowerCase']()['replace']('ms',''),bw=aN[bv],bx=aO[br['pointerType']]||br['pointerType'],by=bx==az,bz=ap(bs,br['pointerId'],'pointerId');0x1&bw&&(0x0===br['button']||by)?bz<0x0&&(bs['push'](br),bz=bs['length']-0x1):0xc&bw&&(bu=!0x0),bz<0x0||(bs[bz]=br,this['callback'](this['manager'],bw,{'pointers':bs,'changedPointers':[br],'pointerType':bx,'srcEvent':br}),bu&&bs['splice'](bz,0x1));}});var aS={'touchstart':0x1,'touchmove':0x2,'touchend':0x4,'touchcancel':0x8};function aT(){this['evTarget']='touchstart',this['evWin']='touchstart\x20touchmove\x20touchend\x20touchcancel',this['started']=!0x1,aD['apply'](this,arguments);}function aU(br,bs){var bu=aq(br['touches']),bv=aq(br['changedTouches']);return 0xc&bs&&(bu=ar(bu['concat'](bv),'identifier')),[bu,bv];}ag(aT,aD,{'handler':function(br){var bs=aS[br['type']];if(0x1===bs&&(this['started']=!0x0),this['started']){var bu=aU['call'](this,br,bs);0xc&bs&&bu[0x0]['length']-bu[0x1]['length']==0x0&&(this['started']=!0x1),this['callback'](this['manager'],bs,{'pointers':bu[0x0],'changedPointers':bu[0x1],'pointerType':az,'srcEvent':br});}}});var aV={'touchstart':0x1,'touchmove':0x2,'touchend':0x4,'touchcancel':0x8};function aW(){this['evTarget']='touchstart\x20touchmove\x20touchend\x20touchcancel',this['targetIds']={},aD['apply'](this,arguments);}function aX(br,bs){var bu=aq(br['touches']),bv=this['targetIds'];if(0x3&bs&&0x1===bu['length'])return bv[bu[0x0]['identifier']]=!0x0,[bu,bu];var bw,bx,by=aq(br['changedTouches']),bz=[],bA=this['target'];if(bx=bu['filter'](function(bB){return am(bB['target'],bA);}),0x1===bs){for(bw=0x0;bw<bx['length'];)bv[bx[bw]['identifier']]=!0x0,bw++;}for(bw=0x0;bw<by['length'];)bv[by[bw]['identifier']]&&bz['push'](by[bw]),0xc&bs&&delete bv[by[bw]['identifier']],bw++;return bz['length']?[ar(bx['concat'](bz),'identifier'),bz]:void 0x0;}function aY(){aD['apply'](this,arguments);var br=ah(this['handler'],this);this['touch']=new aW(this['manager'],br),this['mouse']=new aM(this['manager'],br),this['primaryTouch']=null,this['lastTouches']=[];}function aZ(br,bs){0x1&br?(this['primaryTouch']=bs['changedPointers'][0x0]['identifier'],b0['call'](this,bs)):0xc&br&&b0['call'](this,bs);}function b0(br){var bs=br['changedPointers'][0x0];if(bs['identifier']===this['primaryTouch']){var bu={'x':bs['clientX'],'y':bs['clientY']};this['lastTouches']['push'](bu);var bv=this['lastTouches'];setTimeout(function(){var bw=bv['indexOf'](bu);bw>-0x1&&bv['splice'](bw,0x1);},0x9c4);}}function b1(br){for(var bs=br['srcEvent']['clientX'],bu=br['srcEvent']['clientY'],bv=0x0;bv<this['lastTouches']['length'];bv++){var bw=this['lastTouches'][bv],bx=Math['abs'](bs-bw['x']),by=Math['abs'](bu-bw['y']);if(bx<=0x19&&by<=0x19)return !0x0;}return !0x1;}ag(aW,aD,{'handler':function(br){var bs=aV[br['type']],bu=aX['call'](this,br,bs);bu&&this['callback'](this['manager'],bs,{'pointers':bu[0x0],'changedPointers':bu[0x1],'pointerType':az,'srcEvent':br});}}),ag(aY,aD,{'handler':function(br,bs,bu){var bv=bu['pointerType']==az,bw=bu['pointerType']==aA;if(!(bw&&bu['sourceCapabilities']&&bu['sourceCapabilities']['firesTouchEvents'])){if(bv)aZ['call'](this,bs,bu);else {if(bw&&b1['call'](this,bu))return;}this['callback'](br,bs,bu);}},'destroy':function(){this['touch']['destroy'](),this['mouse']['destroy']();}});var b2=as(a6['style'],'touchAction'),b3=b2!==a3,b4='compute',b5='auto',b6='manipulation',b7='none',b8='pan-x',b9='pan-y',ba=(function(){if(!b3)return !0x1;var br={},bs=a0['CSS']&&a0['CSS']['supports'];return ['auto','manipulation','pan-y','pan-x','pan-x\x20pan-y','none']['forEach'](function(bu){br[bu]=!bs||a0['CSS']['supports']('touch-action',bu);}),br;}());function bb(br,bs){this['manager']=br,this['set'](bs);}bb['prototype']={'set':function(br){br==b4&&(br=this['compute']()),b3&&this['manager']['element']['style']&&ba[br]&&(this['manager']['element']['style'][b2]=br),this['actions']=br['toLowerCase']()['trim']();},'update':function(){this['set'](this['manager']['options']['touchAction']);},'compute':function(){var br=[];return ac(this['manager']['recognizers'],function(bs){ai(bs['options']['enable'],[bs])&&(br=br['concat'](bs['getTouchAction']()));}),function(bs){if(an(bs,b7))return b7;var bu=an(bs,b8),bv=an(bs,b9);return bu&&bv?b7:bu||bv?bu?b8:b9:an(bs,b6)?b6:b5;}(br['join']('\x20'));},'preventDefaults':function(br){var bs=br['srcEvent'],bu=br['offsetDirection'];if(this['manager']['session']['prevented'])bs['preventDefault']();else {var bv=this['actions'],bw=an(bv,b7)&&!ba[b7],bx=an(bv,b9)&&!ba[b9],by=an(bv,b8)&&!ba[b8];if(bw){var bz=0x1===br['pointers']['length'],bA=br['distance']<0x2,bB=br['deltaTime']<0xfa;if(bz&&bA&&bB)return;}if(!by||!bx)return bw||bx&&0x6&bu||by&&0x18&bu?this['preventSrc'](bs):void 0x0;}},'preventSrc':function(br){this['manager']['session']['prevented']=!0x0,br['preventDefault']();}};var bc=0x20;function bd(br){this['options']=a4({},this['defaults'],br||{}),this['id']=au++,this['manager']=null,this['options']['enable']=aj(this['options']['enable'],!0x0),this['state']=0x1,this['simultaneous']={},this['requireFail']=[];}function be(br){return 0x10&br?'cancel':0x8&br?'end':0x4&br?'move':0x2&br?'start':'';}function bf(br){return 0x10==br?'down':0x8==br?'up':0x2==br?'left':0x4==br?'right':'';}function bg(br,bs){var bu=bs['manager'];return bu?bu['get'](br):br;}function bh(){bd['apply'](this,arguments);}function bi(){bh['apply'](this,arguments),this['pX']=null,this['pY']=null;}function bj(){bh['apply'](this,arguments);}function bk(){bd['apply'](this,arguments),this['_timer']=null,this['_input']=null;}function bl(){bh['apply'](this,arguments);}function bm(){bh['apply'](this,arguments);}function bn(){bd['apply'](this,arguments),this['pTime']=!0x1,this['pCenter']=!0x1,this['_timer']=null,this['_input']=null,this['count']=0x0;}function bo(br,bs){return (bs=bs||{})['recognizers']=aj(bs['recognizers'],bo['defaults']['preset']),new bp(br,bs);}function bp(br,bs){this['options']=a4({},bo['defaults'],bs||{}),this['options']['inputTarget']=this['options']['inputTarget']||br,this['handlers']={},this['session']={},this['recognizers']=[],this['oldCssProps']={},this['element']=br,this['input']=new(this['options']['inputClass']||(ax?aR:ay?aW:aw?aY:aM))(this,aE),this['touchAction']=new bb(this,this['options']['touchAction']),bq(this,!0x0),ac(this['options']['recognizers'],function(bu){var bv=this['add'](new bu[0x0](bu[0x1]));bu[0x2]&&bv['recognizeWith'](bu[0x2]),bu[0x3]&&bv['requireFailure'](bu[0x3]);},this);}function bq(br,bs){var bu,bv=br['element'];bv['style']&&(ac(br['options']['cssProps'],function(bw,bx){bu=as(bv['style'],bx),bs?(br['oldCssProps'][bu]=bv['style'][bu],bv['style'][bu]=bw):bv['style'][bu]=br['oldCssProps'][bu]||'';}),bs||(br['oldCssProps']={}));}bd['prototype']={'defaults':{},'set':function(br){return a4(this['options'],br),this['manager']&&this['manager']['touchAction']['update'](),this;},'recognizeWith':function(br){if(ab(br,'recognizeWith',this))return this;var bs=this['simultaneous'];return bs[(br=bg(br,this))['id']]||(bs[br['id']]=br,br['recognizeWith'](this)),this;},'dropRecognizeWith':function(br){return ab(br,'dropRecognizeWith',this)||(br=bg(br,this),delete this['simultaneous'][br['id']]),this;},'requireFailure':function(br){if(ab(br,'requireFailure',this))return this;var bs=this['requireFail'];return -0x1===ap(bs,br=bg(br,this))&&(bs['push'](br),br['requireFailure'](this)),this;},'dropRequireFailure':function(br){if(ab(br,'dropRequireFailure',this))return this;br=bg(br,this);var bs=ap(this['requireFail'],br);return bs>-0x1&&this['requireFail']['splice'](bs,0x1),this;},'hasRequireFailures':function(){return this['requireFail']['length']>0x0;},'canRecognizeWith':function(br){return !!this['simultaneous'][br['id']];},'emit':function(br){var bs=this,bu=this['state'];function bv(bw){bs['manager']['emit'](bw,br);}bu<0x8&&bv(bs['options']['event']+be(bu)),bv(bs['options']['event']),br['additionalEvent']&&bv(br['additionalEvent']),bu>=0x8&&bv(bs['options']['event']+be(bu));},'tryEmit':function(br){if(this['canEmit']())return this['emit'](br);this['state']=bc;},'canEmit':function(){for(var br=0x0;br<this['requireFail']['length'];){if(!(0x21&this['requireFail'][br]['state']))return !0x1;br++;}return !0x0;},'recognize':function(br){var bs=a4({},br);if(!ai(this['options']['enable'],[this,bs]))return this['reset'](),void(this['state']=bc);0x38&this['state']&&(this['state']=0x1),this['state']=this['process'](bs),0x1e&this['state']&&this['tryEmit'](bs);},'process':function(br){},'getTouchAction':function(){},'reset':function(){}},ag(bh,bd,{'defaults':{'pointers':0x1},'attrTest':function(br){var bs=this['options']['pointers'];return 0x0===bs||br['pointers']['length']===bs;},'process':function(br){var bs=this['state'],bu=br['eventType'],bv=0x6&bs,bw=this['attrTest'](br);return bv&&(0x8&bu||!bw)?0x10|bs:bv||bw?0x4&bu?0x8|bs:0x2&bs?0x4|bs:0x2:bc;}}),ag(bi,bh,{'defaults':{'event':'pan','threshold':0xa,'pointers':0x1,'direction':0x1e},'getTouchAction':function(){var br=this['options']['direction'],bs=[];return 0x6&br&&bs['push'](b9),0x18&br&&bs['push'](b8),bs;},'directionTest':function(br){var bs=this['options'],bu=!0x0,bv=br['distance'],bw=br['direction'],bx=br['deltaX'],by=br['deltaY'];return bw&bs['direction']||(0x6&bs['direction']?(bw=0x0===bx?0x1:bx<0x0?0x2:0x4,bu=bx!=this['pX'],bv=Math['abs'](br['deltaX'])):(bw=0x0===by?0x1:by<0x0?0x8:0x10,bu=by!=this['pY'],bv=Math['abs'](br['deltaY']))),br['direction']=bw,bu&&bv>bs['threshold']&&bw&bs['direction'];},'attrTest':function(br){return bh['prototype']['attrTest']['call'](this,br)&&(0x2&this['state']||!(0x2&this['state'])&&this['directionTest'](br));},'emit':function(br){this['pX']=br['deltaX'],this['pY']=br['deltaY'];var bs=bf(br['direction']);bs&&(br['additionalEvent']=this['options']['event']+bs),this['_super']['emit']['call'](this,br);}}),ag(bj,bh,{'defaults':{'event':'pinch','threshold':0x0,'pointers':0x2},'getTouchAction':function(){return [b7];},'attrTest':function(br){return this['_super']['attrTest']['call'](this,br)&&(Math['abs'](br['scale']-0x1)>this['options']['threshold']||0x2&this['state']);},'emit':function(br){if(0x1!==br['scale']){var bs=br['scale']<0x1?'in':'out';br['additionalEvent']=this['options']['event']+bs;}this['_super']['emit']['call'](this,br);}}),ag(bk,bd,{'defaults':{'event':'press','pointers':0x1,'time':0xfb,'threshold':0x9},'getTouchAction':function(){return [b5];},'process':function(br){var bs=this['options'],bu=br['pointers']['length']===bs['pointers'],bv=br['distance']<bs['threshold'],bw=br['deltaTime']>bs['time'];if(this['_input']=br,!bv||!bu||0xc&br['eventType']&&!bw)this['reset']();else {if(0x1&br['eventType'])this['reset'](),this['_timer']=aa(function(){this['state']=0x8,this['tryEmit']();},bs['time'],this);else {if(0x4&br['eventType'])return 0x8;}}return bc;},'reset':function(){clearTimeout(this['_timer']);},'emit':function(br){0x8===this['state']&&(br&&0x4&br['eventType']?this['manager']['emit'](this['options']['event']+'up',br):(this['_input']['timeStamp']=a9(),this['manager']['emit'](this['options']['event'],this['_input'])));}}),ag(bl,bh,{'defaults':{'event':'rotate','threshold':0x0,'pointers':0x2},'getTouchAction':function(){return [b7];},'attrTest':function(br){return this['_super']['attrTest']['call'](this,br)&&(Math['abs'](br['rotation'])>this['options']['threshold']||0x2&this['state']);}}),ag(bm,bh,{'defaults':{'event':'swipe','threshold':0xa,'velocity':0.3,'direction':0x1e,'pointers':0x1},'getTouchAction':function(){return bi['prototype']['getTouchAction']['call'](this);},'attrTest':function(br){var bs,bu=this['options']['direction'];return 0x1e&bu?bs=br['overallVelocity']:0x6&bu?bs=br['overallVelocityX']:0x18&bu&&(bs=br['overallVelocityY']),this['_super']['attrTest']['call'](this,br)&&bu&br['offsetDirection']&&br['distance']>this['options']['threshold']&&br['maxPointers']==this['options']['pointers']&&a8(bs)>this['options']['velocity']&&0x4&br['eventType'];},'emit':function(br){var bs=bf(br['offsetDirection']);bs&&this['manager']['emit'](this['options']['event']+bs,br),this['manager']['emit'](this['options']['event'],br);}}),ag(bn,bd,{'defaults':{'event':'tap','pointers':0x1,'taps':0x1,'interval':0x12c,'time':0xfa,'threshold':0x9,'posThreshold':0xa},'getTouchAction':function(){return [b6];},'process':function(br){var bs=this['options'],bu=br['pointers']['length']===bs['pointers'],bv=br['distance']<bs['threshold'],bw=br['deltaTime']<bs['time'];if(this['reset'](),0x1&br['eventType']&&0x0===this['count'])return this['failTimeout']();if(bv&&bw&&bu){if(0x4!=br['eventType'])return this['failTimeout']();var bx=!this['pTime']||br['timeStamp']-this['pTime']<bs['interval'],by=!this['pCenter']||aJ(this['pCenter'],br['center'])<bs['posThreshold'];if(this['pTime']=br['timeStamp'],this['pCenter']=br['center'],by&&bx?this['count']+=0x1:this['count']=0x1,this['_input']=br,0x0==this['count']%bs['taps'])return this['hasRequireFailures']()?(this['_timer']=aa(function(){this['state']=0x8,this['tryEmit']();},bs['interval'],this),0x2):0x8;}return bc;},'failTimeout':function(){return this['_timer']=aa(function(){this['state']=bc;},this['options']['interval'],this),bc;},'reset':function(){clearTimeout(this['_timer']);},'emit':function(){0x8==this['state']&&(this['_input']['tapCount']=this['count'],this['manager']['emit'](this['options']['event'],this['_input']));}}),bo['VERSION']='2.0.7',bo['defaults']={'domEvents':!0x1,'touchAction':b4,'enable':!0x0,'inputTarget':null,'inputClass':null,'preset':[[bl,{'enable':!0x1}],[bj,{'enable':!0x1},['rotate']],[bm,{'direction':0x6}],[bi,{'direction':0x6},['swipe']],[bn],[bn,{'event':'doubletap','taps':0x2},['tap']],[bk]],'cssProps':{'userSelect':'none','touchSelect':'none','touchCallout':'none','contentZooming':'none','userDrag':'none','tapHighlightColor':'rgba(0,0,0,0)'}},bp['prototype']={'set':function(br){return a4(this['options'],br),br['touchAction']&&this['touchAction']['update'](),br['inputTarget']&&(this['input']['destroy'](),this['input']['target']=br['inputTarget'],this['input']['init']()),this;},'stop':function(br){this['session']['stopped']=br?0x2:0x1;},'recognize':function(br){var bs=this['session'];if(!bs['stopped']){var bu;this['touchAction']['preventDefaults'](br);var bv=this['recognizers'],bw=bs['curRecognizer'];(!bw||bw&&0x8&bw['state'])&&(bw=bs['curRecognizer']=null);for(var bx=0x0;bx<bv['length'];)bu=bv[bx],0x2===bs['stopped']||bw&&bu!=bw&&!bu['canRecognizeWith'](bw)?bu['reset']():bu['recognize'](br),!bw&&0xe&bu['state']&&(bw=bs['curRecognizer']=bu),bx++;}},'get':function(br){if(br instanceof bd)return br;for(var bs=this['recognizers'],bu=0x0;bu<bs['length'];bu++)if(bs[bu]['options']['event']==br)return bs[bu];return null;},'add':function(br){if(ab(br,'add',this))return this;var bs=this['get'](br['options']['event']);return bs&&this['remove'](bs),this['recognizers']['push'](br),br['manager']=this,this['touchAction']['update'](),br;},'remove':function(br){if(ab(br,'remove',this))return this;if(br=this['get'](br)){var bs=this['recognizers'],bu=ap(bs,br);-0x1!==bu&&(bs['splice'](bu,0x1),this['touchAction']['update']());}return this;},'on':function(br,bs){if(br!==a3&&bs!==a3){var bu=this['handlers'];return ac(ao(br),function(bv){bu[bv]=bu[bv]||[],bu[bv]['push'](bs);}),this;}},'off':function(br,bs){if(br!==a3){var bu=this['handlers'];return ac(ao(br),function(bv){bs?bu[bv]&&bu[bv]['splice'](ap(bu[bv],bs),0x1):delete bu[bv];}),this;}},'emit':function(br,bs){this['options']['domEvents']&&function(bw,bx){var by=a1['createEvent']('Event');by['initEvent'](bw,!0x0,!0x0),by['gesture']=bx,bx['target']['dispatchEvent'](by);}(br,bs);var bu=this['handlers'][br]&&this['handlers'][br]['slice']();if(bu&&bu['length']){bs['type']=br,bs['preventDefault']=function(){bs['srcEvent']['preventDefault']();};for(var bv=0x0;bv<bu['length'];)bu[bv](bs),bv++;}},'destroy':function(){this['element']&&bq(this,!0x1),this['handlers']={},this['session']={},this['input']['destroy'](),this['element']=null;}},a4(bo,{'INPUT_START':0x1,'INPUT_MOVE':0x2,'INPUT_END':0x4,'INPUT_CANCEL':0x8,'STATE_POSSIBLE':0x1,'STATE_BEGAN':0x2,'STATE_CHANGED':0x4,'STATE_ENDED':0x8,'STATE_RECOGNIZED':0x8,'STATE_CANCELLED':0x10,'STATE_FAILED':bc,'DIRECTION_NONE':0x1,'DIRECTION_LEFT':0x2,'DIRECTION_RIGHT':0x4,'DIRECTION_UP':0x8,'DIRECTION_DOWN':0x10,'DIRECTION_HORIZONTAL':0x6,'DIRECTION_VERTICAL':0x18,'DIRECTION_ALL':0x1e,'Manager':bp,'Input':aD,'TouchAction':bb,'TouchInput':aW,'MouseInput':aM,'PointerEventInput':aR,'TouchMouseInput':aY,'SingleTouchInput':aT,'Recognizer':bd,'AttrRecognizer':bh,'Tap':bn,'Pan':bi,'Swipe':bm,'Pinch':bj,'Rotate':bl,'Press':bk,'on':ak,'off':al,'each':ac,'merge':af,'extend':ae,'assign':a4,'inherit':ag,'bindFn':ah,'prefixed':as}),(void 0x0!==a0?a0:'undefined'!=typeof self?self:{})['Hammer']=bo,(h=function(){return bo;}['call'](f,g,f,d))===a3||(d['exports']=h);}(window,document);},0x1407:()=>{!(function(){if('object'==typeof window){if('IntersectionObserver'in window&&'IntersectionObserverEntry'in window&&'intersectionRatio'in window['IntersectionObserverEntry']['prototype'])'isIntersecting'in window['IntersectionObserverEntry']['prototype']||Object['defineProperty'](window['IntersectionObserverEntry']['prototype'],'isIntersecting',{'get':function(){return this['intersectionRatio']>0x0;}});else {var f=(function(){for(var F=window['document'],G=q(F);G;)G=q(F=G['ownerDocument']);return F;}()),j=[],k=null,m=null;w['prototype']['THROTTLE_TIMEOUT']=0x64,w['prototype']['POLL_INTERVAL']=null,w['prototype']['USE_MUTATION_OBSERVER']=!0x0,w['_setupCrossOriginUpdater']=function(){return k||(k=function(F,G){m=F&&G?B(F,G):{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0},j['forEach'](function(H){H['_checkForIntersections']();});}),k;},w['_resetCrossOriginUpdater']=function(){k=null,m=null;},w['prototype']['observe']=function(F){if(!this['_observationTargets']['some'](function(G){return G['element']==F;})){if(!F||0x1!=F['nodeType'])throw new Error('target\x20must\x20be\x20an\x20Element');this['_registerInstance'](),this['_observationTargets']['push']({'element':F,'entry':null}),this['_monitorIntersections'](F['ownerDocument']),this['_checkForIntersections']();}},w['prototype']['unobserve']=function(F){this['_observationTargets']=this['_observationTargets']['filter'](function(G){return G['element']!=F;}),this['_unmonitorIntersections'](F['ownerDocument']),0x0==this['_observationTargets']['length']&&this['_unregisterInstance']();},w['prototype']['disconnect']=function(){this['_observationTargets']=[],this['_unmonitorAllIntersections'](),this['_unregisterInstance']();},w['prototype']['takeRecords']=function(){var F=this['_queuedEntries']['slice']();return this['_queuedEntries']=[],F;},w['prototype']['_initThresholds']=function(F){var G=F||[0x0];return Array['isArray'](G)||(G=[G]),G['sort']()['filter'](function(H,I,J){if('number'!=typeof H||isNaN(H)||H<0x0||H>0x1)throw new Error('threshold\x20must\x20be\x20a\x20number\x20between\x200\x20and\x201\x20inclusively');return H!==J[I-0x1];});},w['prototype']['_parseRootMargin']=function(F){var G=(F||'0px')['split'](/\s+/)['map'](function(H){var I=/^(-?\d*\.?\d+)(px|%)$/['exec'](H);if(!I)throw new Error('rootMargin\x20must\x20be\x20specified\x20in\x20pixels\x20or\x20percent');return {'value':parseFloat(I[0x1]),'unit':I[0x2]};});return G[0x1]=G[0x1]||G[0x0],G[0x2]=G[0x2]||G[0x0],G[0x3]=G[0x3]||G[0x1],G;},w['prototype']['_monitorIntersections']=function(F){var G=F['defaultView'];if(G&&-0x1==this['_monitoringDocuments']['indexOf'](F)){var H=this['_checkForIntersections'],I=null,J=null;this['POLL_INTERVAL']?I=G['setInterval'](H,this['POLL_INTERVAL']):(x(G,'resize',H,!0x0),x(F,'scroll',H,!0x0),this['USE_MUTATION_OBSERVER']&&'MutationObserver'in G&&(J=new G['MutationObserver'](H))['observe'](F,{'attributes':!0x0,'childList':!0x0,'characterData':!0x0,'subtree':!0x0})),this['_monitoringDocuments']['push'](F),this['_monitoringUnsubscribes']['push'](function(){var M=F['defaultView'];M&&(I&&M['clearInterval'](I),y(M,'resize',H,!0x0)),y(F,'scroll',H,!0x0),J&&J['disconnect']();});var K=this['root']&&(this['root']['ownerDocument']||this['root'])||f;if(F!=K){var L=q(F);L&&this['_monitorIntersections'](L['ownerDocument']);}}},w['prototype']['_unmonitorIntersections']=function(F){var G=this['_monitoringDocuments']['indexOf'](F);if(-0x1!=G){var H=this['root']&&(this['root']['ownerDocument']||this['root'])||f,I=this['_observationTargets']['some'](function(L){var M=L['element']['ownerDocument'];if(M==F)return !0x0;for(;M&&M!=H;){var N=q(M);if((M=N&&N['ownerDocument'])==F)return !0x0;}return !0x1;});if(!I){var J=this['_monitoringUnsubscribes'][G];if(this['_monitoringDocuments']['splice'](G,0x1),this['_monitoringUnsubscribes']['splice'](G,0x1),J(),F!=H){var K=q(F);K&&this['_unmonitorIntersections'](K['ownerDocument']);}}}},w['prototype']['_unmonitorAllIntersections']=function(){var F=this['_monitoringUnsubscribes']['slice'](0x0);this['_monitoringDocuments']['length']=0x0,this['_monitoringUnsubscribes']['length']=0x0;for(var G=0x0;G<F['length'];G++)F[G]();},w['prototype']['_checkForIntersections']=function(){if(this['root']||!k||m){var F=this['_rootIsInDom'](),G=F?this['_getRootRect']():{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0};this['_observationTargets']['forEach'](function(H){var I=H['element'],J=z(I),K=this['_rootContainsTarget'](I),L=H['entry'],M=F&&K&&this['_computeTargetAndRootIntersection'](I,J,G),N=null;this['_rootContainsTarget'](I)?k&&!this['root']||(N=G):N={'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0};var O=H['entry']=new v({'time':window['performance']&&performance['now']&&performance['now'](),'target':I,'boundingClientRect':J,'rootBounds':N,'intersectionRect':M});L?F&&K?this['_hasCrossedThreshold'](L,O)&&this['_queuedEntries']['push'](O):L&&L['isIntersecting']&&this['_queuedEntries']['push'](O):this['_queuedEntries']['push'](O);},this),this['_queuedEntries']['length']&&this['_callback'](this['takeRecords'](),this);}},w['prototype']['_computeTargetAndRootIntersection']=function(F,G,H){if('none'!=window['getComputedStyle'](F)['display']){for(var J,K,L,M,N,O,P,Q,R=G,U=D(F),V=!0x1;!V&&U;){var W=null,X=0x1==U['nodeType']?window['getComputedStyle'](U):{};if('none'==X['display'])return null;if(U==this['root']||0x9==U['nodeType']){if(V=!0x0,U==this['root']||U==f)k&&!this['root']?!m||0x0==m['width']&&0x0==m['height']?(U=null,W=null,R=null):W=m:W=H;else {var Y=D(U),Z=Y&&z(Y),a0=Y&&this['_computeTargetAndRootIntersection'](Y,Z,H);Z&&a0?(U=Y,W=B(Z,a0)):(U=null,R=null);}}else {var a1=U['ownerDocument'];U!=a1['body']&&U!=a1['documentElement']&&'visible'!=X['overflow']&&(W=z(U));}if(W&&(J=W,K=R,L=Math['max'](J['top'],K['top']),M=Math['min'](J['bottom'],K['bottom']),N=Math['max'](J['left'],K['left']),Q=M-L,R=(P=(O=Math['min'](J['right'],K['right']))-N)>=0x0&&Q>=0x0&&{'top':L,'bottom':M,'left':N,'right':O,'width':P,'height':Q}||null),!R)break;U=U&&D(U);}return R;}},w['prototype']['_getRootRect']=function(){var F;if(this['root']&&!E(this['root']))F=z(this['root']);else {var G=E(this['root'])?this['root']:f,H=G['documentElement'],I=G['body'];F={'top':0x0,'left':0x0,'right':H['clientWidth']||I['clientWidth'],'width':H['clientWidth']||I['clientWidth'],'bottom':H['clientHeight']||I['clientHeight'],'height':H['clientHeight']||I['clientHeight']};}return this['_expandRectByRootMargin'](F);},w['prototype']['_expandRectByRootMargin']=function(F){var G=this['_rootMarginValues']['map'](function(I,J){return 'px'==I['unit']?I['value']:I['value']*(J%0x2?F['width']:F['height'])/0x64;}),H={'top':F['top']-G[0x0],'right':F['right']+G[0x1],'bottom':F['bottom']+G[0x2],'left':F['left']-G[0x3]};return H['width']=H['right']-H['left'],H['height']=H['bottom']-H['top'],H;},w['prototype']['_hasCrossedThreshold']=function(F,G){var H=F&&F['isIntersecting']?F['intersectionRatio']||0x0:-0x1,I=G['isIntersecting']?G['intersectionRatio']||0x0:-0x1;if(H!==I)for(var J=0x0;J<this['thresholds']['length'];J++){var K=this['thresholds'][J];if(K==H||K==I||K<H!=K<I)return !0x0;}},w['prototype']['_rootIsInDom']=function(){return !this['root']||C(f,this['root']);},w['prototype']['_rootContainsTarget']=function(F){var G=this['root']&&(this['root']['ownerDocument']||this['root'])||f;return C(G,F)&&(!this['root']||G==F['ownerDocument']);},w['prototype']['_registerInstance']=function(){j['indexOf'](this)<0x0&&j['push'](this);},w['prototype']['_unregisterInstance']=function(){var F=j['indexOf'](this);-0x1!=F&&j['splice'](F,0x1);},window['IntersectionObserver']=w,window['IntersectionObserverEntry']=v;}}function q(F){try{return F['defaultView']&&F['defaultView']['frameElement']||null;}catch(G){return null;}}function v(F){this['time']=F['time'],this['target']=F['target'],this['rootBounds']=A(F['rootBounds']),this['boundingClientRect']=A(F['boundingClientRect']),this['intersectionRect']=A(F['intersectionRect']||{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0}),this['isIntersecting']=!!F['intersectionRect'];var G=this['boundingClientRect'],H=G['width']*G['height'],I=this['intersectionRect'],J=I['width']*I['height'];this['intersectionRatio']=H?Number((J/H)['toFixed'](0x4)):this['isIntersecting']?0x1:0x0;}function w(F,G){var H,I,J,K=G||{};if('function'!=typeof F)throw new Error('callback\x20must\x20be\x20a\x20function');if(K['root']&&0x1!=K['root']['nodeType']&&0x9!=K['root']['nodeType'])throw new Error('root\x20must\x20be\x20a\x20Document\x20or\x20Element');this['_checkForIntersections']=(H=this['_checkForIntersections']['bind'](this),I=this['THROTTLE_TIMEOUT'],J=null,function(){J||(J=setTimeout(function(){H(),J=null;},I));}),this['_callback']=F,this['_observationTargets']=[],this['_queuedEntries']=[],this['_rootMarginValues']=this['_parseRootMargin'](K['rootMargin']),this['thresholds']=this['_initThresholds'](K['threshold']),this['root']=K['root']||null,this['rootMargin']=this['_rootMarginValues']['map'](function(L){return L['value']+L['unit'];})['join']('\x20'),this['_monitoringDocuments']=[],this['_monitoringUnsubscribes']=[];}function x(F,G,H,I){'function'==typeof F['addEventListener']?F['addEventListener'](G,H,I):'function'==typeof F['attachEvent']&&F['attachEvent']('on'+G,H);}function y(F,G,H,I){'function'==typeof F['removeEventListener']?F['removeEventListener'](G,H,I):'function'==typeof F['detachEvent']&&F['detachEvent']('on'+G,H);}function z(F){var G;try{G=F['getBoundingClientRect']();}catch(H){}return G?(G['width']&&G['height']||(G={'top':G['top'],'right':G['right'],'bottom':G['bottom'],'left':G['left'],'width':G['right']-G['left'],'height':G['bottom']-G['top']}),G):{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0};}function A(F){return !F||'x'in F?F:{'top':F['top'],'y':F['top'],'bottom':F['bottom'],'left':F['left'],'x':F['left'],'right':F['right'],'width':F['width'],'height':F['height']};}function B(F,G){var H=G['top']-F['top'],I=G['left']-F['left'];return {'top':H,'left':I,'height':G['height'],'width':G['width'],'bottom':H+G['height'],'right':I+G['width']};}function C(F,G){for(var H=G;H;){if(H==F)return !0x0;H=D(H);}return !0x1;}function D(F){var G=F['parentNode'];return 0x9==F['nodeType']&&F!=f?q(F):(G&&G['assignedSlot']&&(G=G['assignedSlot']['parentNode']),G&&0xb==G['nodeType']&&G['host']?G['host']:G);}function E(F){return F&&0x9===F['nodeType'];}}());},0x1023:function(d,f,g){var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});},j=this&&this['__rest']||function(m,p){var q={};for(var r in m)Object['prototype']['hasOwnProperty']['call'](m,r)&&p['indexOf'](r)<0x0&&(q[r]=m[r]);if(null!=m&&'function'==typeof Object['getOwnPropertySymbols']){var u=0x0;for(r=Object['getOwnPropertySymbols'](m);u<r['length'];u++)p['indexOf'](r[u])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](m,r[u])&&(q[r[u]]=m[r[u]]);}return q;};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['API']=void 0x0;const k=g(0x26ed),l=g(0x11c1);f['API']=class{constructor(m){this['options']=m;}get['baseUrl'](){return this['options']['baseUrl'];}['get'](m,p){const q=null!=p?p:{},{init:r}=q,u=j(q,['init']);return this['request'](m,Object['assign']({'init':Object['assign'](Object['assign']({},r),{'method':'GET'})},u));}['post'](m,p){const q=null!=p?p:{},{init:r}=q,u=j(q,['init']);return this['request'](m,Object['assign']({'init':Object['assign'](Object['assign']({},r),{'method':'POST'})},u));}['put'](m,p){const q=null!=p?p:{},{init:r}=q,u=j(q,['init']);return this['request'](m,Object['assign']({'init':Object['assign'](Object['assign']({},r),{'method':'PUT'})},u));}['request'](m,p){return h(this,void 0x0,void 0x0,function*(){var q,u,v;const w=null!==(q=null==p?void 0x0:p['init'])&&void 0x0!==q?q:{},{headers:x}=w,y=j(w,['headers']),z=Object['assign']({'headers':Object['assign'](Object['assign'](Object['assign']({},(null==p?void 0x0:p['auth'])&&{'Authorization':'Bearer\x20'+(null===(u=l['UserService']['getUserTokenDataFromStorage']())||void 0x0===u?void 0x0:u['accessToken'])}),{'Content-Type':'application/json','Accept':'application/json'}),x)},y);try{let A;if((null==p?void 0x0:p['baseUrl'])?A=new URL(p['baseUrl']):(A=new URL(this['baseUrl']+'/'+m),A['searchParams']['set']('ApiKey',l['ConfigService']['apiKey'])),null==p?void 0x0:p['urlSearchParams']){const D=Object['entries'](p['urlSearchParams'])['reduce']((E,[F,G])=>(null!=G&&(E[F]=G),E),{});for(const [E,F]of Object['entries'](D))A['searchParams']['set'](E,F);}let B,C=yield fetch(A,z);return l['ConfigService']['shouldCreateUser']&&C['status']===k['HttpStatus']['Unauthorized']&&(null==p?void 0x0:p['auth'])&&(yield l['UserService']['refreshUserToken'](),z['headers']['Authorization']='Bearer\x20'+(null===(v=l['UserService']['getUserTokenDataFromStorage']())||void 0x0===v?void 0x0:v['accessToken']),C=yield fetch(A,z)),C['ok']&&(B=yield C['json']()),{'data':B,'httpStatus':C['ok']?k['HttpStatus']['Ok']:C['status']};}catch(G){return {'error':G};}});}};},0x66b:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x1023),f);},0x17e9:(d,f)=>{var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ConsentEvent']=f['InteractionEvent']=f['ImaAdEvent']=f['AdEvent']=f['VideoEvent']=f['WidgetEvent']=f['MomentEvent']=f['StoryEvent']=f['AnalyticsEvent']=f['ReferringEventInfo']=f['Category']=void 0x0,function(m){m['Story']='story',m['Moment']='moment',m['Widget']='widget',m['Video']='video',m['Ad']='ad',m['Interaction']='interaction',m['Consent']='consent';}(g||(f['Category']=g={}));class h{}class j{}class k{}class l{}f['ReferringEventInfo']=l,f['AnalyticsEvent']=class{constructor(){this['event_label']='',this['session_id']='',this['user']=new h(),this['tech']=new j(),this['geo']=new k(),this['wsc_internal']={'customer_name':'','customer_id':''},this['page']={'page_url':''},this['referring']=new l();}},f['StoryEvent']=class{},f['MomentEvent']=class{},f['WidgetEvent']=class{},f['VideoEvent']=class{},f['AdEvent']=class{},f['ImaAdEvent']=class{},f['InteractionEvent']=class{},f['ConsentEvent']=class{};},0x13a5:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BaseWidget']=void 0x0;class g extends HTMLElement{constructor(){super(),this['_animationDuration']=0x12c;}['getAttribute'](h){var j;const k=null===(j=super['getAttribute'](h))||void 0x0===j?void 0x0:j['toLocaleLowerCase']();return 'true'===k||'false'===k?JSON['parse'](k):super['getAttribute'](h);}['setStyle'](h){for(const j in h){let k=j['replace'](/[A-Z]/g,l=>'-'+l['toLowerCase']());this['style']['setProperty'](k,h[j]);}}['setAttributes'](h){Object['entries'](h)['forEach'](([j,k])=>{this['setAttribute'](j,k);});}['removeElement'](){this['parentNode']&&this['parentNode']['removeChild'](this);}}f['BaseWidget']=g;},0x227f:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeDataSourceValidations']=f['BlazeDataSourceFactory']=f['BlazeInternalError']=void 0x0;const h=g(0x1133);f['BlazeInternalError']={'LabelExpressionMustNotBeEmpty':'labelExpressionMustNotBeEmpty','InvalidNumberOfMaxItems':'invalidNumberOfMaxItems','IdsMustNotBeEmpty':'idsMustNotBeEmpty','MissingLabelsProperty':'missingLabelsProperty','IdsMustNotHaveSpaces':'idsMustNotHaveSpaces'};class j{static['createLabelsDataSource'](m){const {labels:p,labelsPriority:q,orderType:u,maxItems:v,advancedOrdering:w,personalized:x}=m;try{k['validateFormat']({'type':'labels','labels':p,'labelsPriority':q,'orderType':u,'maxItems':v,'advancedOrdering':w,'personalized':x});}catch(y){}finally{return {'type':'labels','labels':p,'labelsPriority':j['setLabelsPriority'](q),'orderType':u,'maxItems':v,'advancedOrdering':w,'personalized':x};}}static['createIdsDataSource'](l){const {ids:m,orderType:p,advancedOrdering:q}=l;try{k['validateFormat']({'type':'ids','ids':m,'orderType':p,'advancedOrdering':q});}catch(r){}finally{return {'type':'ids','ids':m,'orderType':p,'advancedOrdering':q};}}static['setLabelsPriority'](l){return 'string'==typeof l?l['startsWith']('[')&&l['endsWith'](']')?l:'['+l+']':Array['isArray'](l)?l['every'](m=>m instanceof h['BlazeWidgetLabel'])?'['+l['map'](m=>m['toString']())['join']()+']':'['+l['join']()+']':'';}}f['BlazeDataSourceFactory']=j;class k{static['validateFormat'](l){var m;switch(l['type']){case'labels':if(!l['labels'])throw new Error(f['BlazeInternalError']['MissingLabelsProperty']);if(!(null===(m=l['labels'])||void 0x0===m?void 0x0:m['toString']()['trim']()['length']))throw new Error(f['BlazeInternalError']['LabelExpressionMustNotBeEmpty']);if(void 0x0!==l['maxItems']&&l['maxItems']<=0x0)throw new Error(f['BlazeInternalError']['InvalidNumberOfMaxItems']);break;case'ids':if(!l['ids']||!l['ids']['length'])throw new Error(f['BlazeInternalError']['IdsMustNotBeEmpty']);if(l['ids']['some'](p=>/\s/['test'](p)))throw new Error(f['BlazeInternalError']['IdsMustNotHaveSpaces']);}}}f['BlazeDataSourceValidations']=k;},0x1e68:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['debounce']=void 0x0,f['debounce']=function(g,h){let j=null;function k(...l){j&&clearTimeout(j),j=setTimeout(()=>{g(...l);},h);}return k['cancel']=()=>{j&&(clearTimeout(j),j=null);},k;};},0xb62:function(d,f,g){var h=this&&this['__importDefault']||function(l){return l&&l['__esModule']?l:{'default':l};};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['deviceDetector']=f['DEVICE_EVENTS']=f['Platform']=void 0x0;const j=h(g(0x1c40));f['Platform']={'Console':'console','Mobile':'mobile','Tablet':'tablet','SmartTV':'smarttv','Wearable':'wearable','Embedded':'embedded','Desktop':'desktop'},f['DEVICE_EVENTS']={'SCREEN_ORIENTATION_CHANGE':'screenOrientationChange'};class k{constructor(){this['boundResizeListener']=this['handleResize']['bind'](this),this['parser']=new j['default'](navigator['userAgent']),this['OS']=this['detectOS'](),this['platform']=this['detectPlatform'](),this['browser']=this['detectBrowser'](),this['screenOrientation']=this['getScreenOrientation'](),window['addEventListener']('resize',this['boundResizeListener']);}['removeResizeListener'](){window['removeEventListener']('resize',this['boundResizeListener']);}static['getInstance'](){return k['instance']||(k['instance']=new k()),k['instance'];}['detectOS'](){return this['parser']['getOS']()['name'];}['detectBrowser'](){return this['parser']['getBrowser']()['name'];}get['isDesktop'](){return 'desktop'===this['platform'];}get['isMobile'](){return 'mobile'===this['platform'];}get['isTablet'](){return 'tablet'===this['platform'];}['detectPlatform'](){const l='mobile'===this['parser']['getDevice']()['type'],m='tablet'===this['parser']['getDevice']()['type'];return l?'mobile':m?'tablet':'desktop';}['getScreenOrientation'](){return window['innerHeight']>window['innerWidth']?'portrait':'landscape';}['handleResize'](){this['OS']=this['detectOS'](),this['platform']=this['detectPlatform']();const l=this['screenOrientation'];if(this['screenOrientation']=this['getScreenOrientation'](),l!==this['screenOrientation']){const m={'orientation':this['screenOrientation'],'changedAt':Date['now']()},p=new CustomEvent(f['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],{'detail':m,'bubbles':!0x0,'cancelable':!0x0});window['dispatchEvent'](p);}}['isIOSMobileTabletSafari'](){const l='iOS'===f['deviceDetector']['OS'],m='tablet'===f['deviceDetector']['platform']&&'Mac\x20OS'===f['deviceDetector']['OS'],p='Mobile\x20Safari'===f['deviceDetector']['browser']||'Safari'===f['deviceDetector']['browser'];return l||p||m;}get['isFullscreenSupported'](){return document['fullscreenEnabled']||document['webkitFullscreenEnabled']||document['msFullscreenEnabled'];}}f['deviceDetector']=k['getInstance']();},0xfcf:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['EventsListener']=void 0x0,f['EventsListener']=class{constructor(){this['listeners']=[];}['add'](g,h,j){this['listeners']['find'](k=>k['node']==document&&k['type']==g)||(this['listeners']['push']({'node':document,'type':g,'callback':h}),document['addEventListener'](g,h,j));}['addAttached'](g,h,j,k){this['listeners']['find'](l=>l['node']==g&&l['type']==h)||(this['listeners']['push']({'node':g,'type':h,'callback':j}),g['addEventListener'](h,j,k));}['removeAll'](){for(const g of this['listeners'])try{g['node']['removeEventListener'](g['type'],g['callback']);}catch(h){}this['listeners']=[];}};},0x20ce:function(d,f,g){var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['FullscreenManager']=void 0x0;const j=g(0x1133),k=g(0x774);f['FullscreenManager']=class{constructor(l){this['isFullscreen']=!0x1,this['isProgrammaticChange']=!0x1,this['boundOnFullscreenChange']=this['handleFullscreenChange']['bind'](this),this['container']=l,j['deviceDetector']['isFullscreenSupported']&&this['attachEventListeners']();}['toggleFullscreen'](){return h(this,void 0x0,void 0x0,function*(){try{this['isProgrammaticChange']=!0x0,this['isFullscreen']?yield this['exitFullscreen']():yield this['enterFullscreen']();}catch(l){this['isProgrammaticChange']=!0x1;}});}['waitForFullscreenExit'](){return new Promise(l=>{const m=()=>{this['isFullscreenMode']()||(this['container']['removeEventListener'](k['EVENTS']['FULLSCREEN_CHANGE'],m),this['container']['removeEventListener'](k['EVENTS']['FULLSCREEN_CHANGE_WEBKIT'],m),this['container']['removeEventListener'](k['EVENTS']['FULLSCREEN_CHANGE_MOZ'],m),l());};this['container']['addEventListener'](k['EVENTS']['FULLSCREEN_CHANGE'],m),this['container']['addEventListener'](k['EVENTS']['FULLSCREEN_CHANGE_WEBKIT'],m),this['container']['addEventListener'](k['EVENTS']['FULLSCREEN_CHANGE_MOZ'],m);});}['enterFullscreen'](){return h(this,void 0x0,void 0x0,function*(){try{this['container']['requestFullscreen']?yield this['container']['requestFullscreen']():this['container']['webkitRequestFullscreen']?yield this['container']['webkitRequestFullscreen']():this['container']['msRequestFullscreen']?yield this['container']['msRequestFullscreen']():this['container']instanceof HTMLVideoElement&&this['container']['webkitEnterFullscreen']?this['container']['webkitEnterFullscreen']():this['isProgrammaticChange']=!0x1;}catch(l){this['isProgrammaticChange']=!0x1;}});}['exitFullscreen'](){return h(this,void 0x0,void 0x0,function*(){try{document['exitFullscreen']?yield document['exitFullscreen']():document['webkitExitFullscreen']?yield document['webkitExitFullscreen']():document['msExitFullscreen']?yield document['msExitFullscreen']():this['isProgrammaticChange']=!0x1;}catch(l){this['isProgrammaticChange']=!0x1;}});}['handleFullscreenChange'](){var l;this['isFullscreen']=this['isFullscreenMode'](),this['isProgrammaticChange']?this['isProgrammaticChange']=!0x1:null===(l=this['onFullscreenChangeByBrowser'])||void 0x0===l||l['call'](this);}['isFullscreenMode'](){return Boolean(document['fullscreenElement']===this['container']||document['webkitFullscreenElement']===this['container']||document['msFullscreenElement']===this['container']);}['attachEventListeners'](){document['addEventListener'](k['EVENTS']['FULLSCREEN_CHANGE'],this['boundOnFullscreenChange']),document['addEventListener'](k['EVENTS']['FULLSCREEN_CHANGE_MOZ'],this['boundOnFullscreenChange']),document['addEventListener'](k['EVENTS']['FULLSCREEN_CHANGE_WEBKIT'],this['boundOnFullscreenChange']);}['destroy'](){document['removeEventListener'](k['EVENTS']['FULLSCREEN_CHANGE'],this['boundOnFullscreenChange']),document['removeEventListener'](k['EVENTS']['FULLSCREEN_CHANGE_MOZ'],this['boundOnFullscreenChange']),document['removeEventListener'](k['EVENTS']['FULLSCREEN_CHANGE_WEBKIT'],this['boundOnFullscreenChange']);}};},0x1133:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x17e9),f),j(g(0x13a5),f),j(g(0x1e68),f),j(g(0xb62),f),j(g(0xfcf),f),j(g(0x1bdd),f),j(g(0x255d),f),j(g(0x614),f),j(g(0x1723),f),j(g(0x156e),f),j(g(0x227f),f),j(g(0x20ce),f),j(g(0x257e),f);},0x1bdd:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetLabel']=void 0x0;class g{constructor(h){this['_type']='BlazeWidgetLabel',this['value']=h;}static['singleLabel'](h){return new g(h);}static['mustInclude'](...h){const j=g['createLabel']('and',h);return g['validateAndProceed'](j,'mustInclude'),new g(j);}static['atLeastOneOf'](...h){const j=g['createLabel']('or',h);return g['validateAndProceed'](j,'atLeastOneOf'),new g(j);}['mustInclude'](...h){return g['mustInclude'](this,...h);}['atLeastOneOf'](...h){return g['atLeastOneOf'](this,...h);}['toString'](){return this['value'];}static['createLabel'](h,j){return '['+h+',\x20'+j['map'](k=>k instanceof g?k['toString']():k)['join'](',\x20')+']';}static['validateAndProceed'](h,j){if(!g['isValidLabelFormat'](h,j))throw new Error('Invalid\x20label\x20format\x20for\x20'+j);}static['isValidLabelFormat'](h,j){return ('mustInclude'===j?/^\[and, .+, .+\]$/:/^\[or, .+, .+\]$/)['test'](h);}}f['BlazeWidgetLabel']=g;},0x255d:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LongPressHandler']=void 0x0,f['LongPressHandler']=class{constructor(g){this['options']=g,this['startPress']=()=>{this['pressTimer']=setTimeout(()=>{this['isDuringPress']=!0x0,this['options']['onStart']();},0xc8);},this['endPress']=h=>{clearTimeout(this['pressTimer']),this['isDuringPress']&&(this['options']['onEnd'](),this['isDuringPress']=!0x1,h['preventDefault']());},this['isDuringPress']=!0x1,this['isAttached']=!0x1;}['attach'](g){this['isAttached']||(g['addEventListener']('touchstart',this['startPress']),g['addEventListener']('touchend',this['endPress']),g['addEventListener']('touchcancel',this['endPress']),this['isAttached']=!0x0);}['detach'](g){this['isAttached']&&(g['removeEventListener']('touchstart',this['startPress']),g['removeEventListener']('touchend',this['endPress']),g['removeEventListener']('touchcancel',this['endPress']),this['isAttached']=!0x1);}};},0x614:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Singleton']=void 0x0,f['Singleton']=function(){return class{constructor(){}static['getInstance'](){return this['_instance']||(this['_instance']=new this()),this['_instance'];}};};},0x1723:function(d,f,g){var h=this&&this['__awaiter']||function(k,l,m,p){return new(m||(m=Promise))(function(q,u){function v(y){try{x(p['next'](y));}catch(z){u(z);}}function w(y){try{x(p['throw'](y));}catch(z){u(z);}}function x(y){var z;y['done']?q(y['value']):(z=y['value'],z instanceof m?z:new m(function(A){A(z);}))['then'](v,w);}x((p=p['apply'](k,l||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['throttle']=void 0x0;const j=g(0x2432);f['throttle']=function(k,l){let m=!0x1;return function(...p){return h(this,void 0x0,void 0x0,function*(){m||(k(...p),m=!0x0,yield (0, j['delay'])(l),m=!0x1);});};};},0x156e:function(d,f,g){var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['URLManager']=f['URL_PARAMS']=void 0x0;const j=g(0x1932),k=g(0x11c1),l=g(0x2432);f['URL_PARAMS']={'SESSION_ID':'wsc_session_id','USER_ID':'wsc_user_id','EXCLUDE_CONTENT_ID':'wsc_exclude_content_id'};class m{static['resetLocationAfterContentClose'](){const p=this['getHashMatch'](),q=this['getHash']();if(p){if(q)location['hash']=q;else {const u=''+location['origin']+location['pathname']+location['search'];history['replaceState'](window['history']['state'],document['title'],''+u);}}}static get['shouldModifyUrlWithId'](){return k['ConfigService']['shouldModifyUrlWithStoryId']||k['ConfigService']['shouldModifyUrlWithContentId'];}static['resetLocation'](){if(!this['shouldModifyUrlWithId'])return;const p=''+location['origin']+location['pathname']+location['search'];history['replaceState'](window['history']['state'],document['title'],''+p);}static['updateLocationContentHash'](p){const {contentType:q='',contentId:u='',isAd:v=!0x1}=p;if('SingleContent'===k['VideoPlayerService']['playReference'])return;if(!k['ConfigService']['shouldModifyUrlWithStoryId']||!k['ConfigService']['shouldModifyUrlWithContentId'])return;if(v)return;this['isUpdateLocationByScript']=!0x0;const w=this['getHashMatch'](),x=this['getHash']();u&&!w&&q?this['updateContentInHash'](u,q):!u&&w?x?location['hash']=x:this['resetLocation']():u&&w&&q&&(location['hash']=(null==x?void 0x0:x['length'])>0x1?x+'&blaze/'+q+'/'+u:'blaze/'+q+'/'+u),this['isUpdateLocationByScript']=!0x1;}static['getHashMatch'](){return l['RegexStoryHash']['test'](document['location']['hash'])||l['RegexMomentHash']['test'](document['location']['hash'])||l['RegexVideoHash']['test'](document['location']['hash']);}static['getHash'](){return document['location']['hash']['replace'](l['RegexStoryHash'],'')['replace'](l['RegexMomentHash'],'')['replace'](l['RegexVideoHash'],'');}static['updateContentInHash'](p,q){location['hash']=location['hash']?location['hash']+'&blaze/'+q+'/'+p:'blaze/'+q+'/'+p;}static['appendUrlForPrefetch'](p,q=j['ONE_SECOND']){p&&(document['head']['querySelector']('link[rel=\x22prefetch\x22][href=\x22'+p+'\x22]')||setTimeout(()=>{const u=document['createElement']('link');u['rel']='prefetch',u['href']=p,document['head']['appendChild'](u);},q));}static['navigateToLink'](p){window['location']['href']=p;}static['removeUrlParamFromSearchParams'](p,q){return q['delete'](p),q;}static['removeStringParamsFromCurrentUrl'](p){const q=new URL(window['location']['href']),u=new URLSearchParams(q['search']);'string'==typeof p?u['delete'](p):p['forEach'](v=>u['delete'](v)),q['search']=u['toString'](),window['history']['replaceState'](window['history']['state'],'',q['toString']());}static['updateParamInUrl'](p,q){if(window['location']['search']['includes'](p)){const u=new URLSearchParams(window['location']['search']);u['set'](p,q),this['updateCurrentUrlWithParams'](u);}}static['updateCurrentUrlWithParams'](p){window['history']['replaceState'](window['history']['state'],'',window['location']['href']['split']('?')[0x0]+'?'+p['toString']());}static['navigateTo'](p){return h(this,void 0x0,void 0x0,function*(){if('AUTO_ADVANCE'===p){const q=new URLSearchParams({[f['URL_PARAMS']['SESSION_ID']]:k['UserService']['sessionId'],[f['URL_PARAMS']['USER_ID']]:k['UserService']['userId'],[f['URL_PARAMS']['EXCLUDE_CONTENT_ID']]:k['VideoPlayerService']['currentlyPlayedContentId']});if(!k['ConfigService']['autoAdvanceUrl'])return;const u=new URL(k['ConfigService']['autoAdvanceUrl']);u['search']=q['toString']();const v=u['toString']();this['updateCurrentUrlWithParams'](q),this['navigateToLink'](v);}});}}f['URLManager']=m,m['isUpdateLocationByScript']=!0x1,m['isBackWasCalled']=!0x1,m['isAutoAdvancingEnabled']=!0x1;},0x257e:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VisibilityManager']=void 0x0;const h=g(0x1133),j=g(0x774);f['VisibilityManager']=class{constructor(k){this['controller']=k,this['boundHandleVisibilityChange']=this['handleVisibilityChange']['bind'](this),this['boundHandleFocus']=this['handleFocus']['bind'](this),this['BoundHandleBlur']=this['handleBlur']['bind'](this),this['attachEventListeners']();}['attachEventListeners'](){document['addEventListener'](j['EVENTS']['VISIBILITY_CHANGE'],this['boundHandleVisibilityChange']),window['addEventListener'](j['EVENTS']['BLUR'],this['BoundHandleBlur']),window['addEventListener'](j['EVENTS']['FOCUS'],this['boundHandleFocus']);}['handleVisibilityChange'](){this['controller']['isConnected']&&(document['hidden']?this['handleBlur']():this['handleFocus']());}['handleBlur'](){this['controller']['isConnected']&&(h['deviceDetector']['isDesktop']&&!document['hidden']&&'visible'===document['visibilityState']||(!h['deviceDetector']['isTablet']&&!h['deviceDetector']['isMobile']||'visible'!==document['visibilityState']||document['hidden'])&&(this['controller']['currentVideoItem']['video']['paused']||(this['controller']['resumeAfterFocus']=!0x0,this['controller']['pause']())));}['handleFocus'](){if(this['controller']['isConnected']&&this['controller']['resumeAfterFocus']){this['controller']['resumeAfterFocus']=!0x1;const k='iOS'===h['deviceDetector']['OS'],l='Mobile\x20Safari'===h['deviceDetector']['browser'],m='tablet'===h['deviceDetector']['platform']&&'Mac\x20OS'===h['deviceDetector']['OS'],p=k&&('Safari'===h['deviceDetector']['browser']||'Chrome'===h['deviceDetector']['browser']);if(k||l||p||m)return void this['controller']['pause']();this['controller']['resume']();}}['detach'](){document['removeEventListener'](j['EVENTS']['VISIBILITY_CHANGE'],this['boundHandleVisibilityChange']),window['removeEventListener'](j['EVENTS']['BLUR'],this['BoundHandleBlur']),window['removeEventListener'](j['EVENTS']['FOCUS'],this['boundHandleFocus']);}};},0x443:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeAlert']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super(),this['titleContainer']=document['createElement']('div'),this['textContainer']=document['createElement']('div');}static get['observedAttributes'](){return ['alert-title','alert-text'];}['connectedCallback'](){this['className']='blaze-alert';}['disconnectedCallback'](){}['attributeChangedCallback'](k,l,m){switch(k){case'alert-title':this['titleContainer']['innerHTML']=m,this['appendChild'](this['titleContainer']);break;case'alert-text':this['textContainer']['innerHTML']=m,this['appendChild'](this['textContainer']);}}['setAttribute'](k,l){super['setAttribute'](k,l);}}f['BlazeAlert']=j;},0x89b:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeButton']=f['BUTTON_ATTRIBUTES']=void 0x0;const h=g(0x1133),j=g(0x11c1),k=g(0x2432);f['BUTTON_ATTRIBUTES']={'Disabled':'disabled','BlazeBtnHidden':'blaze-btn-hidden','BlazeBtnVisible':'blaze-btn-visible','Height':'height','Width':'width','IconColor':'icon-color','Order':'order','ButtonDesktopAnimation':'button-desktop-animation'};class l extends h['BaseWidget']{get['refElement'](){var m;return null!==(m=this['shadowRoot'])&&void 0x0!==m?m:this;}constructor(){super(),this['buttonElement']=document['createElement']('button'),this['buttonIcon']='',this['isAnimationOnDesktopInitialized']=!0x1,this['onMouseEnter']=()=>{this['buttonElement']['style']['transform']='scale(1.1)';},this['onMouseLeave']=()=>{this['buttonElement']['style']['transform']='scale(1)';},this['onClick']=()=>{this['buttonElement']['animate']([{'transform':'scale(1)','offset':0x0},{'transform':'scale(0.95)','offset':0.5},{'transform':'scale(1)','offset':0x1}],{'duration':0x64,'easing':'ease-out'});},j['ConfigService']['runInShadowDom']&&this['attachShadow']({'mode':'open'});}static get['observedAttributes'](){return Object['values'](f['BUTTON_ATTRIBUTES']);}['connectedCallback'](){(0, k['mergeStyles'])(this['buttonElement'],{'cursor':'pointer','color':'inherit','border':'none','padding':'0','display':'block','outline':'inherit','height':this['height']||'24px','width':this['width']||'24px','margin':'auto','touchAction':'manipulation','transition':'transform\x200.3s\x20ease'}),this['style']['cursor']='pointer',this['refElement']['append'](this['buttonElement']);}['disconnectedCallback'](){this['buttonElement']['removeEventListener']('mouseenter',this['onMouseEnter']),this['buttonElement']['removeEventListener']('mouseleave',this['onMouseLeave']),this['buttonElement']['removeEventListener']('click',this['onClick']);}['attributeChangedCallback'](m,p,q){switch(m){case f['BUTTON_ATTRIBUTES']['Disabled']:this['setIsDisabled']('true'===q);break;case f['BUTTON_ATTRIBUTES']['BlazeBtnHidden']:this['setIsHidden']('true'===q);break;case f['BUTTON_ATTRIBUTES']['BlazeBtnVisible']:this['setIsVisible']('true'===q);break;case f['BUTTON_ATTRIBUTES']['Height']:this['setHeight'](q);break;case f['BUTTON_ATTRIBUTES']['Width']:this['setWidth'](q);break;case f['BUTTON_ATTRIBUTES']['IconColor']:this['buttonElement']['style']['background']=q;break;case f['BUTTON_ATTRIBUTES']['Order']:this['style']['order']=q;break;case f['BUTTON_ATTRIBUTES']['ButtonDesktopAnimation']:'true'!==q||this['isAnimationOnDesktopInitialized']||(this['isAnimationOnDesktopInitialized']=!0x0,this['buttonElement']['addEventListener']('mouseenter',this['onMouseEnter']),this['buttonElement']['addEventListener']('mouseleave',this['onMouseLeave']),this['buttonElement']['addEventListener']('click',this['onClick']));}}get['height'](){return this['getAttribute']('height');}get['width'](){return this['getAttribute']('width');}['setIconUrl'](m){this['buttonIcon']=m,this['applyIconStyles'](m);}['setIconUrlAnimation'](m){this['buttonIcon']!==m&&(this['buttonIcon']=m,this['buttonElement']['animate']([{'opacity':0x1},{'opacity':0x0}],{'duration':0x4b,'easing':'ease-out','fill':'forwards'})['onfinish']=()=>{this['applyIconStyles'](m),this['buttonElement']['animate']([{'opacity':0x0},{'opacity':0x1}],{'duration':0x4b,'easing':'ease-in','fill':'forwards'});});}['applyIconStyles'](m){(0, k['mergeStyles'])(this['buttonElement'],{'-webkit-mask-image':'url(\x27'+m+'\x27)','mask-image':'url(\x27'+m+'\x27)','-webkit-mask-repeat':'no-repeat','mask-repeat':'no-repeat','-webkit-mask-size':'contain','mask-size':'contain','-webkit-mask-position':'center','mask-position':'center','background-image':'none','-webkit-transform':'translateZ(0)','transform':'translateZ(0)','-webkit-backface-visibility':'hidden','backface-visibility':'hidden'});}['setIsHidden'](m){this['style']['display']=m?'none':'block';}['setIsVisible'](m){this['style']['visibility']=m?'hidden':'visible';}['setIsDisabled'](m){m?(this['buttonElement']['disabled']=!0x0,this['buttonElement']['setAttribute']('disabled',''),(0, k['mergeStyles'])(this['buttonElement'],{'cursor':'initial','background':'rgba(239,\x20239,\x20239,\x200.3)'}),this['style']['cursor']='initial',this['style']['pointerEvents']='none'):(this['buttonElement']['disabled']=!0x1,this['buttonElement']['removeAttribute']('disabled'),(0, k['mergeStyles'])(this['buttonElement'],{'opacity':'1','cursor':'pointer','background':this['getAttribute']('icon-color')}),this['style']['cursor']='pointer',this['style']['pointerEvents']='auto');}['setHeight'](m){this['buttonElement']['style']['height']=m;}['setWidth'](m){this['buttonElement']['style']['width']=m;}}f['BlazeButton']=l;},0x74c:(f,g,h)=>{Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeCallToActionButton']=g['CTA_BUTTON_ATTRIBUTES']=void 0x0;const j=h(0x1133),k=h(0x22d9),m=h(0x115),p=h(0x132a),q=h(0xdf6),u=h(0x2432);g['CTA_BUTTON_ATTRIBUTES']={'HiddenBtn':'hidden-btn','Width':'width','Height':'height','Margin':'margin','Text':'text','Href':'href','IconUrl':'icon-url','IconSize':'icon-size','IconColor':'icon-color','ArrowIconDisplay':'arrow-icon-display','ArrowIconColor':'arrow-icon-color','DisplayIcon':'display-icon'};class v extends j['BaseWidget']{constructor(){super(),this['anchorButtonElement']=document['createElement']('a'),this['iconButtonElement']=k['WidgetsFactory']['create']('blaze-button'),this['iconArrowElement']=k['WidgetsFactory']['create']('blaze-button'),this['ctaTextElement']=k['WidgetsFactory']['create']('blaze-div'),this['isButtonCreated']=!0x1,this['animationTimeouts']=[],this['initializeAttributes'](),this['initializeStyles']();}['initializeAttributes'](){this['setAttribute']('data-testid','cta-button'),this['anchorButtonElement']['setAttribute']('target','_blank'),this['iconButtonElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['Width'],'24px'),this['iconButtonElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['Height'],'24px'),this['iconButtonElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['DisplayIcon'],'false'),this['iconArrowElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['Width'],'26px'),this['iconArrowElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['Height'],'26px'),this['iconArrowElement']['setIconUrl'](m['arrowUpCtaIconSvg']);}['initializeStyles'](){(0, u['mergeStyles'])(this,{'display':'none','cursor':'pointer','outline':'inherit','pointerEvents':'all'}),this['anchorButtonElement']['style']['position']='relative',this['anchorButtonElement']['style']['-webkit-touch-callout']='none',this['anchorButtonElement']['style']['-webkit-user-select']='none',this['setAnchorButtonStyles']({'width':'auto','height':'100%','textDecoration':'none','outline':'1px\x20solid','outlineColor':p['Colors']['White'],'fontWeight':'700','fontSize':'16px','borderRadius':'8px','display':'flex','justifyContent':'center','alignItems':'center','flexDirection':'row'}),this['iconArrowElement']['setStyle']({'display':'none','position':'absolute','top':'-26px'}),this['setCtaTextStyle']({'position':'inline-flex','letterSpacing':'0.3px','display':'inline-flex','flex':'1\x201\x20auto','alignSelf':'center','paddingRight':'20px','whiteSpace':'nowrap'});}static get['observedAttributes'](){return Object['values'](g['CTA_BUTTON_ATTRIBUTES']);}['connectedCallback'](){this['createButton']();}['disconnectedCallback'](){}['attributeChangedCallback'](w,x,y){if(x!==y)switch(w){case g['CTA_BUTTON_ATTRIBUTES']['HiddenBtn']:this['style']['display']='true'===y?'none':'flex';break;case g['CTA_BUTTON_ATTRIBUTES']['Width']:this['anchorButtonElement']['style']['width']=y;break;case g['CTA_BUTTON_ATTRIBUTES']['Margin']:this['anchorButtonElement']['style']['margin']=y;break;case g['CTA_BUTTON_ATTRIBUTES']['Text']:this['ctaTextElement']['innerText']=y;break;case g['CTA_BUTTON_ATTRIBUTES']['Href']:this['anchorButtonElement']['href']=y;break;case g['CTA_BUTTON_ATTRIBUTES']['IconUrl']:this['iconButtonElement']['setIconUrl'](y);break;case g['CTA_BUTTON_ATTRIBUTES']['IconSize']:this['iconButtonElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['Height'],y),this['iconButtonElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['Width'],y);break;case g['CTA_BUTTON_ATTRIBUTES']['IconColor']:this['iconButtonElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['IconColor'],y);break;case g['CTA_BUTTON_ATTRIBUTES']['ArrowIconDisplay']:this['iconButtonElement']['style']['display']='true'===y?'inline-flex':'none';break;case g['CTA_BUTTON_ATTRIBUTES']['ArrowIconColor']:this['iconArrowElement']['style']['display']='true'===y?'flex':'none';break;case g['CTA_BUTTON_ATTRIBUTES']['DisplayIcon']:this['iconArrowElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['IconColor'],y);}}['createButton'](){this['isButtonCreated']||(this['anchorButtonElement']['append'](this['iconButtonElement']),this['anchorButtonElement']['append'](this['ctaTextElement']),this['anchorButtonElement']['append'](this['iconArrowElement']),this['append'](this['anchorButtonElement']),this['isButtonCreated']=!0x0);}['animateElement'](w,x,y,z,A){w['style']['animation']='none',w['offsetWidth'];const B=setTimeout(()=>{const C=q['animationCssMapper'][x];C&&(w['style']['animation']=C+'\x20'+y+'s\x20cubic-bezier(0.4,\x200,\x200,\x200.99)\x20'+A+'\x20forwards'),this['animationTimeouts']=this['animationTimeouts']['filter'](D=>D!==B);},z);this['animationTimeouts']['push'](B);}['animateButton'](w){this['animateElement'](this['anchorButtonElement'],w,0x2,0xdac,0x1);}['animateIcon'](w){this['animateElement'](this['iconArrowElement'],w,0x3,0x3e8,0x3);}['setAnchorButtonStyles'](w){(0, u['mergeStyles'])(this['anchorButtonElement'],w);}['setCtaTextStyle'](w){(0, u['mergeStyles'])(this['ctaTextElement'],w);}['setCtaIconStyles'](w){(0, u['mergeStyles'])(this['iconButtonElement'],w);}['clearAllAnimations'](){this['animationTimeouts']['forEach'](w=>clearTimeout(w)),this['animationTimeouts']=[];}['getIconElement'](){return this['iconButtonElement'];}}g['BlazeCallToActionButton']=v;},0x10da:(f,g,h)=>{Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeCtaButton']=void 0x0;const j=h(0x1133),k=h(0x1932),m=h(0x22d9),p=h(0x115),q=h(0x132a),u=h(0xdf6),v=h(0x2432);class w extends j['BaseWidget']{constructor(){super(),this['isButtonCreated']=!0x1,this['animationTimeouts']=[],this['setAttribute']('data-testid','cta-button'),this['anchorButtonElement']=document['createElement']('a'),this['iconButtonElement']=m['WidgetsFactory']['create']('blaze-button'),this['iconArrowElement']=m['WidgetsFactory']['create']('blaze-button'),this['ctaTextElement']=m['WidgetsFactory']['create']('blaze-div'),(0, v['mergeStyles'])(this,{'display':'none','width':'100%','cursor':'pointer','outline':'inherit','pointerEvents':'all'}),this['anchorButtonElement']['style']['position']='relative',this['anchorButtonElement']['style']['-webkit-touch-callout']='none',this['anchorButtonElement']['style']['-webkit-user-select']='none',this['anchorButtonElement']['setAttribute']('target','_blank'),this['setAnchorButtonStyles']({'width':'100%','height':'100%','textDecoration':'none','outline':'1px\x20solid','outlineColor':q['Colors']['White'],'fontWeight':'700','fontSize':'16px','borderRadius':'8px','display':'flex','justifyContent':'center','alignItems':'center','flexDirection':'column'}),this['iconButtonElement']['setAttribute']('width','24px'),this['iconButtonElement']['setAttribute']('height','24px'),this['iconButtonElement']['setStyle']({'display':'none','alignSelf':'flex-start'}),this['iconArrowElement']['setAttribute']('width','26px'),this['iconArrowElement']['setAttribute']('height','26px'),this['iconArrowElement']['setStyle']({'display':'none','position':'absolute','top':'-26px'}),this['iconArrowElement']['setIconUrl'](p['arrowUpCtaIconSvg']),this['setCtaTextStyle']({'position':'absolute','letterSpacing':'0.3px','overflow':'hidden','textOverflow':'ellipsis','whiteSpace':'nowrap','maxWidth':'75%','textAlign':'center'});}['connectedCallback'](){this['createButton']();}['disconnectedCallback'](){}['attributeChangedCallback'](x,y,z){switch(x){case'hidden-btn':this['style']['display']='true'===z?'none':'flex';break;case'width':this['setWidth'](z);break;case'margin':this['setMargin'](z);break;case'text':this['setCtaText'](z);break;case'href':this['anchorButtonElement']['href']=z;break;case'icon-url':this['iconButtonElement']['setIconUrl'](z);break;case'icon-size':this['iconButtonElement']['setAttribute']('height',z),this['iconButtonElement']['setAttribute']('width',z);break;case'icon-color':this['iconButtonElement']['setAttribute']('icon-color',z);break;case'display-icon':this['iconButtonElement']['style']['display']='true'===z?'flex':'none';break;case'arrow-icon-display':this['iconArrowElement']['style']['display']='true'===z?'flex':'none';break;case'arrow-icon-color':this['iconArrowElement']['setAttribute']('icon-color',z);}}['createButton'](){this['isButtonCreated']||(this['anchorButtonElement']['append'](this['iconButtonElement']),this['anchorButtonElement']['append'](this['ctaTextElement']),this['anchorButtonElement']['append'](this['iconArrowElement']),this['append'](this['anchorButtonElement']),this['isButtonCreated']=!0x0);}['animateButton'](x){this['animateElement'](this['anchorButtonElement'],x,0x2,3.5*k['ONE_SECOND'],0x1);}['animateIcon'](x){this['animateElement'](this['iconArrowElement'],x,0x3,k['ONE_SECOND'],0x3);}['animateElement'](x,y,z,A,B){x['style']['animation']='none',x['offsetWidth'];const C=setTimeout(()=>{const D=u['animationCssMapper'][y];D&&(x['style']['animation']=D+'\x20'+z+'s\x20cubic-bezier(0.4,\x200,\x200,\x200.99)\x20'+B+'\x20forwards'),this['animationTimeouts']=this['animationTimeouts']['filter'](E=>E!==C);},A);this['animationTimeouts']['push'](C);}['setCtaText'](x){this['ctaTextElement']['innerText']=x;}['setWidth'](x){this['anchorButtonElement']['style']['width']=x;}['setMargin'](x){this['anchorButtonElement']['style']['margin']=x;}['setAnchorButtonStyles'](x){(0, v['mergeStyles'])(this['anchorButtonElement'],x);}['setCtaTextStyle'](x){(0, v['mergeStyles'])(this['ctaTextElement'],x);}['setCtaIconStyles'](x){(0, v['mergeStyles'])(this['iconButtonElement'],x);}['clearAllAnimations'](){this['animationTimeouts']['forEach'](x=>clearTimeout(x)),this['animationTimeouts']=[];}}g['BlazeCtaButton']=w,w['observedAttributes']=['hidden-btn','height','width','margin','text','href','icon-url','icon-size','icon-color','arrow-icon-display','arrow-icon-color','display-icon'];},0x1457:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x22c1),f),j(g(0x89b),f),j(g(0x10da),f),j(g(0x74c),f);},0x22c1:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeShareButton']=void 0x0;const h=g(0x1133),j=g(0x22d9),k=g(0x115);class l extends h['BaseWidget']{constructor(){super();}static get['observedAttributes'](){return ['size','button-type'];}get['size'](){return this['getAttribute']('size');}set['size'](m){this['setAttribute']('size',m);}set['type'](m){this['setAttribute']('button-type',m);}get['fontSize'](){switch(this['size']){case'small':return '.5rem';default:case'medium':return '.8rem';case'large':return '1rem';}}['connectedCallback'](){this['onClick']&&this['addEventListener']('click',this['onClick']['bind'](this)),this['setStyle']({'display':'flex','gap':'.3rem','flexDirection':'column','alignItems':'center','maxWidth':'3.5rem'});}['disconnectedCallback'](){this['onClick']&&this['removeEventListener']('click',this['onClick']['bind'](this));}['attributeChangedCallback'](m,p,q){switch(m){case'size':this['onSizeChange'](this['getAttribute'](m));break;case'button-type':this['onTypeChange'](this['getAttribute'](m));}}['onSizeChange'](m='medium'){this['style']['fontSize']=this['fontSize'];}['onTypeChange'](m){'copy-link'===m&&this['createButton']('Copy\x20Link',k['IconLink']);}['createButton'](m,p){const q=j['WidgetsFactory']['create']('blaze-div');q['setStyle']({'display':'flex','alignItems':'center','justifyContent':'center','width':'3rem','height':'3rem','borderRadius':'.3rem','backgroundColor':'#b1b1b1'});const r=j['WidgetsFactory']['create']('blaze-div');r['setStyle']({'display':'block','width':'1.5rem','height':'1.5rem','cursor':'pointer','flexShrink':'0','background':'center\x20center\x20url(\x27'+p+'\x27)\x20no-repeat','backgroundSize':'contain'});const u=j['WidgetsFactory']['create']('blaze-typography');u['text']=m,u['setStyle']({'textAlign':'center'}),q['append'](r),this['append'](q),this['append'](u);}}f['BlazeShareButton']=l;},0x21bf:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeChip']=void 0x0;const h=g(0x1133),j=g(0x132a);class k extends h['BaseWidget']{constructor(){super();}['connectedCallback'](){this['style']['position']='absolute',this['style']['backgroundColor']='',this['style']['justifySelf']='center',this['style']['borderColor']=j['Colors']['White'],this['style']['borderStyle']='solid',this['style']['lineHeight']='1',this['innerText']='';}}f['BlazeChip']=k;},0x596:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeDiv']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super();}}f['BlazeDiv']=j;},0x25e0:function(d,f,g){var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});},j=this&&this['__importDefault']||function(u){return u&&u['__esModule']?u:{'default':u};};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeDrawer']=void 0x0;const k=j(g(0xad8)),m=g(0x1133),p=g(0x22d9);class q extends m['BaseWidget']{constructor(){super(),this['backdropContainer']=p['WidgetsFactory']['create']('blaze-div'),this['drawerContainer']=p['WidgetsFactory']['create']('blaze-div');}get['drawerContainerHeight'](){var u,v;return (null===(u=this['drawerOptions'])||void 0x0===u?void 0x0:u['height'])||(null===(v=this['drawerComponent'])||void 0x0===v?void 0x0:v['style']['height'])||'1rem';}static get['observedAttributes'](){return ['open','background-color','border-color','border-radius'];}['connectedCallback'](){this['append'](this['backdropContainer']),this['append'](this['drawerContainer']);}['disconnectedCallback'](){}['attributeChangedCallback'](u,v,w){switch(u){case'open':this['onOpenChange'](this['getAttribute'](u));break;case'background-color':this['drawerContainer']['setStyle']({'backgroundColor':w});break;case'border-color':this['drawerContainer']['setStyle']({'border':'1px\x20solid\x20'+w});break;case'border-radius':this['drawerContainer']['setStyle']({'borderRadius':w});}}['onOpenChange'](u){return h(this,void 0x0,void 0x0,function*(){u?(this['backdropContainer']['setStyle']({'display':'block'}),this['drawerContainer']['setStyle']({'display':'block'}),yield this['animateDrawer'](!0x0,this['drawerOptions'])):(yield this['animateDrawer'](!0x1,this['drawerOptions']),this['backdropContainer']['setStyle']({'display':'none'}),this['drawerContainer']['setStyle']({'display':'none'}));});}['setAttribute'](u,v){super['setAttribute'](u,v);}['onBackdropClick'](){this['close']();}['init'](u){const {component:v}=u;this['drawerOptions']=u,this['drawerComponent']=v,this['drawerContainer']['append'](v),this['buildBackdrop'](),this['buildModal']();}['buildBackdrop'](){this['backdropContainer']['onclick']=this['onBackdropClick']['bind'](this),this['backdropContainer']['setStyle']({'display':'none','position':'absolute','backgroundColor':'#000','opacity':'.5','top':'0','bottom':'0','left':'0','right':'0','zIndex':'1','borderRadius':'desktop'===m['deviceDetector']['platform']||'tablet'===m['deviceDetector']['platform']?'20px':'0'});}['buildModal'](){this['drawerContainer']['id']='blaze-modal',this['drawerContainer']['setStyle']({'display':'none','position':'absolute','backgroundColor':'#FFF','bottom':'-'+this['drawerContainerHeight'],'left':'0','right':'0','borderTopRightRadius':'.5rem','borderTopLeftRadius':'.5rem','height':this['drawerContainerHeight'],'zIndex':'5'});}['open'](){var u;this['setAttribute']('open','true'),null===(u=this['onOpen'])||void 0x0===u||u['call'](this);}['close'](){var u;this['setAttribute']('open','false'),null===(u=this['onClose'])||void 0x0===u||u['call'](this);}['animateDrawer'](u,v){return h(this,void 0x0,void 0x0,function*(){if(v)return new Promise(w=>{const x=this['querySelector']('#blaze-modal');if(!x)return;let y={'targets':x,'duration':0xc8,'easing':'easeInQuad','complete':()=>w()};if(v){switch(v['anchor']){case'top':case'right':case'left':break;case'bottom':y=Object['assign'](Object['assign']({},y),{'bottom':u?'0':'-'+this['drawerContainerHeight']});}(0, k['default'])(y);}});});}}f['BlazeDrawer']=q;},0x21e0:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeImage']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super(),this['thumbnailElement']=document['createElement']('img'),this['thumbnailElement']['style']['width']='100%',this['thumbnailElement']['style']['objectFit']='cover',this['thumbnailElement']['style']['backgroundPosition']='center',this['thumbnailElement']['style']['backgroundRepeat']='no-repeat',this['thumbnailElement']['style']['background']='transparent',this['thumbnailElement']['style']['borderRadius']='inherit',this['thumbnailElement']['style']['pointerEvents']='none',this['thumbnailElement']['setAttribute']('loading','lazy');}['load'](k){this['thumbnailElement']['src']=k,this['append'](this['thumbnailElement']);}['setHeight'](k){this['thumbnailElement']['style']['height']=k;}['setRatio'](k){this['style']['aspectRatio']=k;}['setBorderRadius'](k){this['style']['borderRadius']=k;}['setAccessibility'](k){this['thumbnailElement']['alt']=k,this['thumbnailElement']['ariaLabel']=k;}}f['BlazeImage']=j;},0x1699:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x443),f),j(g(0x1457),f),j(g(0x21bf),f),j(g(0x596),f),j(g(0x25e0),f),j(g(0x21e0),f),j(g(0xc5e),f),j(g(0x239a),f),j(g(0x1a00),f),j(g(0x14e2),f);},0xc5e:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeLoader']=void 0x0;const h=g(0x164);class j extends HTMLElement{constructor(){super();const k=this['attachShadow']({'mode':'open'}),l=document['createElement']('style');l['textContent']='\x0a\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x2040px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x2040px;\x0a\x20\x20\x20\x20\x20\x20}\x20\x0a\x20\x20\x20\x20',k['appendChild'](l);}static get['observedAttributes'](){return ['color','size'];}['attributeChangedCallback'](k,l,m){'color'===k&&l!==m?this['updateLoaderColor'](m):'size'===k&&l!==m&&this['updateLoaderSize'](m);}['connectedCallback'](){var k;const l=this['getAttribute']('color')||'#fff';this['updateLoaderColor'](l),null===(k=this['animate'])||void 0x0===k||k['call'](this,[{'transform':'rotate(0)'},{'transform':'rotate(360deg)'}],{'duration':0x3e8,'iterations':Number['POSITIVE_INFINITY'],'easing':'linear'});}['updateLoaderSize'](k){(0, h['mergeStyles'])(this,{'width':k,'height':k});}['updateLoaderColor'](k){(0, h['mergeStyles'])(this,{'display':'block','border':'solid\x203px\x20'+k,'borderRadius':'50%','borderRightColor':'transparent','borderBottomColor':'transparent','transition':'transform\x201s\x20linear'});}}f['BlazeLoader']=j;},0x14e2:function(f,g,j){var k=this&&this['__awaiter']||function(D,E,F,G){return new(F||(F=Promise))(function(H,I){function J(M){try{L(G['next'](M));}catch(N){I(N);}}function K(M){try{L(G['throw'](M));}catch(N){I(N);}}function L(M){var N;M['done']?H(M['value']):(N=M['value'],N instanceof F?N:new F(function(O){O(N);}))['then'](J,K);}L((G=G['apply'](D,E||[]))['next']());});},m=this&&this['__importDefault']||function(D){return D&&D['__esModule']?D:{'default':D};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazePlayerMenu']=g['PLAYER_MENU_EVENTS']=void 0x0;const q=m(j(0xad8)),v=j(0x1133),w=j(0x22d9),x=j(0x132a),y=j(0x2432),z=j(0x115),A=j(0x20bd),B=j(0x1932);g['PLAYER_MENU_EVENTS']={'OPEN':'player-menu-open','CLOSE':'player-menu-close','EXPAND':'player-menu-expand','COLLAPSE':'player-menu-collapse'};class C extends v['BaseWidget']{constructor(){super(),this['header']=w['WidgetsFactory']['create']('blaze-div'),this['expander']=w['WidgetsFactory']['create']('blaze-div'),this['backdropContainer']=w['WidgetsFactory']['create']('blaze-div'),this['titleElement']=w['WidgetsFactory']['create']('blaze-typography'),this['closeButton']=w['WidgetsFactory']['create']('blaze-button'),this['menuContainer']=w['WidgetsFactory']['create']('blaze-div'),this['attachShadow']({'mode':'open'});}['connectedCallback'](){this['append'](this['backdropContainer']),this['append'](this['menuContainer']),this['setupEventListeners']();}['disconnectedCallback'](){var D;null===(D=this['detachTouchEventListeners'])||void 0x0===D||D['call'](this),this['detachEventListeners']();}['setAttribute'](D,E){super['setAttribute'](D,E);}['setupEventListeners'](){this['addEventListener'](g['PLAYER_MENU_EVENTS']['OPEN'],this['onOpenChange']),this['addEventListener'](g['PLAYER_MENU_EVENTS']['CLOSE'],this['onOpenChange']),this['addEventListener'](g['PLAYER_MENU_EVENTS']['EXPAND'],this['onExpandedChange']),this['addEventListener'](g['PLAYER_MENU_EVENTS']['COLLAPSE'],this['onExpandedChange']);}['detachEventListeners'](){this['removeEventListener'](g['PLAYER_MENU_EVENTS']['OPEN'],this['onOpenChange']),this['removeEventListener'](g['PLAYER_MENU_EVENTS']['CLOSE'],this['onOpenChange']),this['removeEventListener'](g['PLAYER_MENU_EVENTS']['EXPAND'],this['onExpandedChange']),this['removeEventListener'](g['PLAYER_MENU_EVENTS']['COLLAPSE'],this['onExpandedChange']);}['init'](D){const {component:E,title:F}=D;this['menuOptions']=D,this['menuComponent']=E,this['titleElement']['innerText']=F,this['onclick']=G=>{G['stopPropagation']();},this['buildHeader'](),this['buildBackdrop'](),this['buildModal']();}['buildHeader'](){if(this['expander']['setStyle']({'width':'9.5%','height':'4px','backgroundColor':'#404040','borderRadius':'1rem','margin':'0.5rem\x20auto\x200.8125rem\x20auto','display':v['deviceDetector']['isMobile']?'flex':'none'}),this['titleElement']['setStyle']({'fontFamily':x['Presets']['playerFont'],'color':v['deviceDetector']['isMobile']?x['Colors']['White']:'#bababa','fontSize':v['deviceDetector']['isMobile']?'1rem':'0.75rem','fontWeight':v['deviceDetector']['isMobile']?'600':'400'}),this['header']['setStyle']({'width':'100%','position':'relative','display':'flex','flexDirection':'column','justifyContent':v['deviceDetector']['isMobile']?'flex-start':'center','alignItems':v['deviceDetector']['isMobile']?'center':'flex-start','height':(v['deviceDetector']['isMobile']?0x48:0x38)+'px','padding':'0\x201rem','boxSizing':'border-box'}),this['closeButton']['setStyle']({'position':'absolute','right':'1.5rem','top':'1.5rem','cursor':'pointer','display':v['deviceDetector']['isMobile']?'block':'none'}),this['closeButton']['setIconUrl'](z['closeIconSvg']),this['closeButton']['onclick']=()=>{this['collapse'](),this['close']();},v['deviceDetector']['isMobile']){let D=0x0,E=0x0;const F=I=>{D=I['touches'][0x0]['clientY'];},G=I=>{E=I['touches'][0x0]['clientY'];},H=()=>{const I=D-E;I>0x32?this['expand']():I<-0x32&&this['collapse']();};v['deviceDetector']['isMobile']&&(this['header']['addEventListener']('touchstart',F),this['header']['addEventListener']('touchmove',G),this['header']['addEventListener']('touchend',H),this['detachTouchEventListeners']=()=>{this['header']['removeEventListener']('touchstart',F),this['header']['removeEventListener']('touchmove',G),this['header']['removeEventListener']('touchend',H);});}this['header']['append'](this['closeButton']),this['header']['append'](this['expander']),this['header']['append'](this['titleElement']);}['buildBackdrop'](){this['backdropContainer']['onclick']=this['onBackdropClick']['bind'](this),this['backdropContainer']['setStyle']({'display':'none','position':'absolute','backgroundColor':'#131313','opacity':'.5','top':'0','bottom':'0','left':'0','right':'0','zIndex':B['Z_INDEX']['onTopOfPlayer'],'borderRadius':'desktop'===v['deviceDetector']['platform']||'tablet'===v['deviceDetector']['platform']?'20px':'0'});}['buildModal'](){var D,E;this['menuContainer']['id']='blaze-cc-modal';const F=document['createElement']('style');F['textContent']=A['CUSTOM_SCROLLBAR_TEMPLATE'],null===(D=this['shadowRoot'])||void 0x0===D||D['appendChild'](F);const G=document['createElement']('slot');null===(E=this['shadowRoot'])||void 0x0===E||E['appendChild'](G),(0, y['mergeStyles'])(this['menuComponent'],{'borderRadius':'0\x200\x20.5rem\x20.5rem','height':'calc(100%\x20-\x20'+(v['deviceDetector']['isDesktop']?0x38:0x48)+'px)'}),this['menuContainer']['setStyle']({'display':'none','position':'absolute','backgroundColor':'#282828','bottom':v['deviceDetector']['isMobile']?'-100%':'auto','top':v['deviceDetector']['isMobile']?'auto':'50%','transform':v['deviceDetector']['isMobile']?'none':'translateY(-50%)','maxWidth':'360px','left':'1rem','right':'1rem','margin':v['deviceDetector']['isMobile']?'4.2rem\x20auto\x201.5rem\x20auto':'0\x20auto','borderRadius':'.5rem','boxShadow':'0\x20-8px\x2010px\x202px\x20rgba(0,\x200,\x200,\x200.35)','zIndex':''+(parseInt(B['Z_INDEX']['onTopOfPlayer'])+0x1)}),this['menuContainer']['append'](this['header']),this['menuContainer']['append'](this['menuComponent']);}['open'](){this['dispatchEvent'](new CustomEvent(g['PLAYER_MENU_EVENTS']['OPEN'],{'bubbles':!0x0,'composed':!0x0,'detail':{'open':!0x0}}));}['close'](){this['dispatchEvent'](new CustomEvent(g['PLAYER_MENU_EVENTS']['CLOSE'],{'bubbles':!0x0,'composed':!0x0,'detail':{'open':!0x1}}));}['expand'](){this['dispatchEvent'](new CustomEvent(g['PLAYER_MENU_EVENTS']['EXPAND'],{'bubbles':!0x0,'composed':!0x0,'detail':{'expanded':!0x0}}));}['collapse'](){this['dispatchEvent'](new CustomEvent(g['PLAYER_MENU_EVENTS']['COLLAPSE'],{'bubbles':!0x0,'composed':!0x0,'detail':{'expanded':!0x1}}));}['onBackdropClick'](){this['close']();}['onOpenChange'](D){return k(this,void 0x0,void 0x0,function*(){D['detail']['open']?(this['backdropContainer']['setStyle']({'display':'block'}),this['menuContainer']['setStyle']({'display':'block'}),v['deviceDetector']['isMobile']&&(yield this['animateMenu'](!0x0,!0x1,this['menuOptions']))):(v['deviceDetector']['isMobile']&&(yield this['animateMenu'](!0x1,!0x1,this['menuOptions'])),this['backdropContainer']['setStyle']({'display':'none'}),this['menuContainer']['setStyle']({'display':'none'}));});}['onExpandedChange'](D){return k(this,void 0x0,void 0x0,function*(){yield this['animateMenu'](!0x0,D['detail']['expanded'],this['menuOptions']);});}['animateMenu'](D,E,F){return k(this,void 0x0,void 0x0,function*(){return new Promise(G=>{const H=this['querySelector']('#blaze-cc-modal');if(!H)return;const I=(null==F?void 0x0:F['component']['offsetHeight'])||0x0;let J={'targets':H,'duration':0xc8,'easing':'easeInQuad','complete':()=>G(),'bottom':D?'0':'-100%','height':E?window['innerHeight']-0x38+'px':I+0x48+'px'};(0, q['default'])(J);});});}}g['BlazePlayerMenu']=C;},0x239a:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetItemSkeleton']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(k,l,m,p){super(),this['width']=l,this['thumbnailHeight']=m,this['labelHeight']=p,this['style']['width']=l+'px',this['layoutStyle']=k;}['connectedCallback'](){var k;if(this['shadowRoot'])return;const l=this['attachShadow']({'mode':'open'}),m=document['createElement']('style');m['textContent']='\x0a\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x20/*\x20Ensure\x20the\x20skeleton\x20stays\x20within\x20the\x20element\x20*/\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.thumbnail-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-image:\x20linear-gradient(90deg,\x20#f0f0f0\x2025%,\x20#e0e0e0\x2050%,\x20#f0f0f0\x2075%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-size:\x20400%\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x20'+(null===(k=this['layoutStyle'])||void 0x0===k?void 0x0:k['borderRadius'])+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20animation:\x20loading\x201.5s\x20ease\x20infinite;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.label-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-image:\x20linear-gradient(90deg,\x20#f0f0f0\x2025%,\x20#e0e0e0\x2050%,\x20#f0f0f0\x2075%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-size:\x20400%\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20animation:\x20loading\x201.5s\x20ease\x20infinite;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.thumbnail-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+this['thumbnailHeight']+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.label-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+(this['labelHeight']-(0x0===this['layoutStyle']['labelStyle']['gap']?0x4:this['layoutStyle']['labelStyle']['gap']))+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20bottom:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20@keyframes\x20loading\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x200%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-position:\x20100%\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20100%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-position:\x20-100%\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',l['appendChild'](m);const p=document['createElement']('div');p['classList']['add']('thumbnail-loader');const q=document['createElement']('div');this['layoutStyle']['labelStyle']['isVisible']&&q['classList']['add']('label-loader'),l['appendChild'](p),this['layoutStyle']['labelStyle']['isVisible']&&l['appendChild'](q);}}f['BlazeWidgetItemSkeleton']=j,customElements['get']('blaze-widget-item-skeleton')||customElements['define']('blaze-widget-item-skeleton',j);},0x1a00:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeTypography']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super();}static get['observedAttributes'](){return ['size','text'];}get['size'](){return this['getAttribute']('size');}set['size'](k){this['setAttribute']('size',k);}get['text'](){return this['getAttribute']('size');}set['text'](k){this['setAttribute']('text',k);}['connectedCallback'](){}['disconnectedCallback'](){}['attributeChangedCallback'](k,l,m){switch(k){case'size':this['onSizeChange'](m);break;case'text':this['onTextChange'](m);}}['onSizeChange'](k){this['setStyle']({'fontSize':this['fontSize']});}['onTextChange'](k){this['innerHTML']=k;}get['fontSize'](){switch(this['size']){case'small':return '.5rem';default:case'medium':return '.8rem';case'large':return '1rem';}}}f['BlazeTypography']=j;},0x6a3:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BANNER_REFRESH_INTERVAL']=f['IMA_RATIOS']=void 0x0,f['IMA_RATIOS']={'general':'1x1','horizontal':'640x480','vertical':'1080x1920'},f['BANNER_REFRESH_INTERVAL']=0x7530;},0x7b9:(j,k)=>{var q,z,B,D,F,G,H;Object['defineProperty'](k,'__esModule',{'value':!0x0}),k['exposedFieldsByAction']=k['InteractionAction']=k['ImaAdAction']=k['AdAction']=k['WidgetAction']=k['VideoAction']=k['MomentAction']=k['StoryAction']=void 0x0,function(a9){a9['Start']='story_start',a9['Exit']='story_exit',a9['PageStart']='story_page_start',a9['PageExit']='story_page_exit',a9['CtaClick']='cta_click',a9['Audio']='audio',a9['ShareClick']='share_click',a9['ShareSelect']='share_select',a9['ShareSuccess']='share_success',a9['PlaybackPause']='playback_pause',a9['PlaybackPlay']='playback_play',a9['PlaybackInitialStart']='playback_initial_start',a9['Expand']='expand',a9['Minimize']='minimize',a9['ClosedCaptionsOff']='cc_off',a9['ClosedCaptionsOn']='cc_on',a9['CustomActionButtonClick']='custom_action_button_click';}(q||(k['StoryAction']=q={})),function(a9){a9['MomentsPlaylistStart']='moments_playlist_start',a9['MomentsPlaylistExit']='moments_playlist_exit',a9['MomentStart']='moment_start',a9['MomentExit']='moment_exit',a9['CtaClick']='cta_click',a9['Like']='like',a9['Unlike']='unlike',a9['Audio']='audio',a9['ShareClick']='share_click',a9['ShareSuccess']='share_success',a9['PlaybackPause']='playback_pause',a9['PlaybackPlay']='playback_play',a9['PlaybackInitialStart']='playback_initial_start',a9['ClosedCaptionsOff']='cc_off',a9['ClosedCaptionsOn']='cc_on',a9['CustomActionButtonClick']='custom_action_button_click';}(z||(k['MomentAction']=z={})),function(a9){a9['VideoStart']='video_start',a9['VideoEnd']='video_end',a9['PlaybackPause']='playback_pause',a9['PlaybackPlay']='playback_play',a9['PlaybackInitialStart']='playback_initial_start',a9['Seek']='seek',a9['Like']='like',a9['Unlike']='unlike',a9['Share']='share',a9['Audio']='audio',a9['CtaVisible']='cta_visible',a9['CtaClick']='cta_click',a9['CtaDismissed']='cta_dismissed',a9['ClosedCaptionsOff']='cc_off',a9['ClosedCaptionsOn']='cc_on',a9['ScreenChange']='screen_change';}(B||(k['VideoAction']=B={})),function(a9){a9['Load']='widget_load',a9['Visible']='widget_visible',a9['Click']='widget_click',a9['SDKInit']='sdk_init';}(D||(k['WidgetAction']=D={})),function(a9){a9['Requested']='ad_requested',a9['View']='ad_view',a9['Exit']='ad_exit',a9['Click']='ad_click',a9['BannerRequested']='banner_ad_requested',a9['BannerView']='banner_ad_view',a9['BannerLoad']='banner_ad_load',a9['BannerClick']='banner_ad_click';}(F||(k['AdAction']=F={})),function(a9){a9['REQUESTED']='ima_ad_requested',a9['ALL_ADS_COMPLETED']='ima_all_ads_completed',a9['CLICK']='ima_ad_clicked',a9['COMPLETED']='ima_ad_completed',a9['LOADED']='ima_ad_loaded',a9['PAUSED']='ima_ad_paused',a9['RESUMED']='ima_ad_resumed',a9['SKIPPED']='ima_ad_skipped',a9['STARTED']='ima_ad_started',a9['FIRST_QUARTILE']='ima_ad_first_quartile',a9['MIDPOINT']='ima_ad_midpoint',a9['THIRD_QUARTILE']='ima_ad_third_quartile';}(G||(k['ImaAdAction']=G={})),function(a9){a9['VIEW']='interaction_view',a9['ANSWER']='interaction_answer',a9['AUDIO']='audio',a9['ShareClick']='share_click',a9['ShareSelect']='share_select',a9['ShareSuccess']='share_success',a9['PlaybackPause']='playback_pause',a9['PlaybackPlay']='playback_play';}(H||(k['InteractionAction']=H={}));const J='labels_expression',K='story_id',L='story_title',N='audio_state',O='player_type',Q='content_type',R='playback_action_method',U='cc_state',V='skip_config',W='video_time_start',X='video_time_end',Y='video_end_trigger',Z='screen_change',a0=['timestamp_utc','timestamp_user_tz','sdk_version','sdk_type','event_category','event_action','event_type','generated_user_id','external_user_id','content_extra_info','story_page_content_extra_info'],a1=['origin_widget_id','origin_widget_name','origin_widget_type','origin_placement_id','origin_placement_name'],a2=['placement_id','placement_name','placement_distance','widget_id','widget_size','widget_type','widget_content_count','widget_content_list','content_index','thumbnail_size','thumbnail_aspect_ratio','thumbnail_type','page_view_id'],a3=['content_id',Q,'content_name'],a4=['story_session_id',K,L,'story_page_id','story_page_index','story_page_count','story_page_duration'],a5=['moments_session_id','moment_id','moment_title','moment_index','loop_number','moment_duration'],a6=['video_session_id','video_id','video_title','video_duration','video_start_trigger','cta_config',Z,'player_orientation','device_orientation',N,U],a7=['session_id','locale','user_type','device_type','device_brand','device_model','network_domain','os','os_version','screen_color','screen_resolution','browser','browser_size','browser_version','app_id','app_version','user_agent','connection_type','page_url','referrer_page_type','referrer_page_url','referrer_page_domain','session_referrer_page_type','session_referrer_url','session_referrer_domain','session_referrer_type','advertiser_id','advertiser_name','campaign_id','campaign_name','ad_server','ad_insertion_logic','ad_index','ad_start_trigger','ad_exit_trigger','ad_duration','ad_duration_viewed_percent',R,V],a8=[J,N,O,U];k['exposedFieldsByAction']={[q['Start']]:[...a0,...a1,...a4,...a8,'story_start_trigger'],[q['Exit']]:[...a0,...a1,...a4,...a8,'story_exit_trigger','content_duration_viewed'],[q['PageStart']]:[...a0,...a1,...a4,...a8],[q['PageExit']]:[...a0,...a1,...a4,...a8,'story_page_navigation_type','story_page_navigation_direction','story_page_duration_viewed_percent'],[q['CtaClick']]:[...a0,...a1,...a4,...a8],[q['Audio']]:[...a0,...a1,...a4,...a8],[q['ShareClick']]:[...a0,...a1,...a4,...a8],[q['ShareSelect']]:[...a0,...a1,...a4,...a8],[q['ShareSuccess']]:[...a0,...a1,...a4,...a8],[q['PlaybackPause']]:[...a0,...a1,...a4,...a8,R],[q['PlaybackPlay']]:[...a0,...a1,...a4,...a8,R],[q['PlaybackInitialStart']]:[...a0,...a1,...a4,...a8,R],[q['ClosedCaptionsOff']]:[...a0,...a1,...a4,...a8],[q['ClosedCaptionsOn']]:[...a0,...a1,...a4,...a8],[z['MomentsPlaylistStart']]:[...a0,...a1,...a5,...a8,'moment_start_trigger'],[z['MomentsPlaylistExit']]:[...a0,...a1,...a5,...a8,'moment_exit_trigger'],[z['MomentStart']]:[...a0,...a1,...a5,...a8],[z['MomentExit']]:[...a0,...a1,...a5,...a8,'moment_navigation_type','moment_navigation_direction','moment_duration_viewed_percent'],[z['Like']]:[...a0,...a1,...a5,...a8],[z['Unlike']]:[...a0,...a1,...a5,...a8],['$'+z['CtaClick']]:[...a0,...a1,...a5,...a8],['$'+z['Audio']]:[...a0,...a1,...a5,...a8],['$'+z['ShareClick']]:[...a0,...a1,...a5,...a8],['$'+z['ShareSuccess']]:[...a0,...a1,...a5,...a8],['$'+z['PlaybackPause']]:[...a0,...a1,...a5,...a8,R],['$'+z['PlaybackPlay']]:[...a0,...a1,...a5,...a8,R],['$'+z['PlaybackInitialStart']]:[...a0,...a1,...a5,...a8,R],['$'+z['ClosedCaptionsOn']]:[...a0,...a1,...a5,...a8,U],['$'+z['ClosedCaptionsOff']]:[...a0,...a1,...a5,...a8,U],[B['VideoStart']]:[...a0,...a1,...a8,...a6,W],[B['VideoEnd']]:[...a0,...a1,...a8,...a6,X,Y,'next_video_id'],['#'+B['PlaybackPause']]:[...a0,...a1,...a8,...a6,R,W,Y],['#'+B['PlaybackPlay']]:[...a0,...a1,...a8,...a6,R,W,Y],['#'+B['PlaybackInitialStart']]:[...a0,...a1,...a8,...a6,R,W,Y],[B['Seek']]:[...a0,...a1,...a8,...a6,W,X,'seek_type','seek_total_time','seek_direction'],['#'+B['Like']]:[...a0,...a1,...a8,...a6,W],['#'+B['Unlike']]:[...a0,...a1,...a8,...a6,W],['#'+B['Share']]:[...a0,...a1,...a8,...a6,W],['#'+B['Audio']]:[...a0,...a1,...a8,...a6,W],[B['CtaVisible']]:[...a0,...a1,...a8,...a6,W],['#'+B['CtaClick']]:[...a0,...a1,...a8,...a6,W],[B['CtaDismissed']]:[...a0,...a1,...a8,...a6,W],['#'+B['ClosedCaptionsOff']]:[...a0,...a1,...a8,...a6,W],['#'+B['ClosedCaptionsOn']]:[...a0,...a1,...a8,...a6,W],[B['ScreenChange']]:[...a0,...a1,...a8,...a6,W,Z],[D['Load']]:[...a0,...a2,J,O],[D['Visible']]:[...a0,...a2,J,O],[D['Click']]:[...a0,...a2,...a3,O,J],[F['View']]:[...a0,...a1,...a7,R,N,K,L,V,Q,O],[F['Exit']]:[...a0,...a1,...a7,R,N,K,L,V,Q,O]};},0x238c:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['CcSupportedLanguages']=void 0x0,f['CcSupportedLanguages']=[{'code':'en','name':'English'},{'code':'es','name':'Spanish'},{'code':'fr','name':'French'},{'code':'de','name':'German'},{'code':'nl','name':'Dutch'},{'code':'ja','name':'Japanese'},{'code':'null','name':'Default'}];},0x1d9:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['CLOSED_CAPTIONS_LANGUAGE_CHANGE']=f['LOCAL_STORAGE_KEY_LAST_SELECTED']=f['LOCAL_STORAGE_KEY_RECENT_LANGUAGES']=void 0x0;const h=g(0x1766);f['LOCAL_STORAGE_KEY_RECENT_LANGUAGES']=h['WSC_STORAGE_PREFIX']+'cc-recent-languages',f['LOCAL_STORAGE_KEY_LAST_SELECTED']=h['WSC_STORAGE_PREFIX']+'cc-selected-language',f['CLOSED_CAPTIONS_LANGUAGE_CHANGE']='cc-language-change';},0x1766:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['WSC_STORAGE_PREFIX']=void 0x0,f['WSC_STORAGE_PREFIX']='wsc_ias_';},0x2152:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['WSC_PREFIX']=f['TRANSPARENT']=void 0x0,f['TRANSPARENT']='transparent',f['WSC_PREFIX']='wsc_';},0x3c1:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ASPECT_RATIO_4_3_STRING']=f['ASPECT_RATIO_9_16_STRING']=f['ASPECT_RATIO_16_9_STRING']=f['ASPECT_RATIO_4_3']=f['ASPECT_RATIO_9_16']=f['ASPECT_RATIO_16_9']=f['DESKTOP_PADDING_BOTTOM']=f['TABLET_PADDING_BOTTOM']=void 0x0,f['TABLET_PADDING_BOTTOM']='15px',f['DESKTOP_PADDING_BOTTOM']='40px',f['ASPECT_RATIO_16_9']=0x10/0x9,f['ASPECT_RATIO_9_16']=0x9/0x10,f['ASPECT_RATIO_4_3']=0x4/0x3,f['ASPECT_RATIO_16_9_STRING']='16\x20/\x209',f['ASPECT_RATIO_9_16_STRING']='9\x20/\x2016',f['ASPECT_RATIO_4_3_STRING']='4\x20/\x203';},0x1932:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x6a3),f),j(g(0x7b9),f),j(g(0x3c1),f),j(g(0x24f0),f),j(g(0x1054),f),j(g(0x23b6),f),j(g(0x2152),f),j(g(0x238c),f),j(g(0x1d9),f),j(g(0x1766),f);},0x24f0:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['CountryCodes']=void 0x0,f['CountryCodes']=['AF','AX','AL','DZ','AS','AD','AO','AI','AQ','AG','AR','AM','AW','AU','AT','AZ','BA','BB','BD','BE','BF','BG','BH','BI','BJ','BL','BM','BN','BO','BQ','BR','BS','BT','BV','BW','BY','BZ','CA','CC','CD','CF','CG','CH','CI','CK','CL','CM','CN','CO','CR','CU','CV','CW','CX','CY','CZ','DE','DJ','DK','DM','DO','DZ','EC','EE','EG','EH','ER','ES','ET','FI','FJ','FK','FM','FO','FR','GA','GB','GD','GE','GF','GG','GH','GI','GL','GM','GN','GP','GQ','GR','GS','GT','GU','GW','GY','HK','HM','HN','HR','HT','HU','ID','IE','IL','IM','IN','IO','IQ','IR','IS','IT','JE','JM','JO','JP','KE','KG','KH','KI','KM','KN','KP','KR','KW','KY','KZ','LA','LB','LC','LI','LK','LR','LS','LT','LU','LV','LY','MA','MC','MD','ME','MF','MG','MH','MK','ML','MM','MN','MO','MP','MQ','MR','MS','MT','MU','MV','MW','MX','MY','MZ','NA','NC','NE','NF','NG','NI','NL','NO','NP','NR','NU','NZ','OM','PA','PE','PF','PG','PH','PK','PL','PM','PN','PR','PS','PT','PW','PY','QA','RE','RO','RS','RU','RW','SA','SB','SC','SD','SE','SG','SH','SI','SJ','SK','SL','SM','SN','SO','SR','SS','ST','SV','SX','SY','SZ','TC','TD','TF','TG','TH','TJ','TK','TL','TM','TN','TO','TR','TT','TV','UG','UA','AE','GB','US','UM','UY','UZ','VU','VE','VN','VG','VI','WF','EH','YE','ZM','ZW'];},0x1054:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Z_INDEX']=f['MIN_PADDING_BOTTOM']=f['DEFAULT_CTA_HEIGHT']=void 0x0,f['DEFAULT_CTA_HEIGHT']=0x28,f['MIN_PADDING_BOTTOM']=0xa,f['Z_INDEX']={'base':'0','player':'1','interaction':'2','onTopOfPlayer':'3'};},0xd06:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['CUSTOM_SCROLLBAR_TEMPLATE']=void 0x0,f['CUSTOM_SCROLLBAR_TEMPLATE']='\x0a\x20\x20\x20\x20::-webkit-scrollbar\x20{\x0a\x20\x20\x20\x20\x20\x20width:\x204px;\x20/*\x20Width\x20of\x20the\x20scrollbar\x20*/\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20::-webkit-scrollbar-thumb\x20{\x0a\x20\x20\x20\x20\x20\x20background-color:\x20#404040;\x20/*\x20Scrollbar\x20thumb\x20color\x20*/\x0a\x20\x20\x20\x20\x20\x20border-radius:\x208px;\x20/*\x20Rounded\x20corners\x20*/\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20::-webkit-scrollbar-track\x20{\x0a\x20\x20\x20\x20\x20\x20background:\x20transparent;\x20/*\x20Optional:\x20scrollbar\x20track\x20background\x20*/\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20scrollbar-width:\x20thin;\x20/*\x20Thin\x20scrollbar\x20for\x20Firefox\x20*/\x0a\x20\x20\x20\x20\x20\x20scrollbar-color:\x20#404040\x20transparent;\x20/*\x20Thumb\x20color\x20and\x20track\x20color\x20for\x20Firefox\x20*/\x0a\x20\x20\x20\x20}\x0a\x20\x20';},0x20bd:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0xd06),f);},0x23b6:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['FAIL_TO_LOAD_TIMEOUT_MS']=f['ONE_AND_HALF_SECOND']=f['ONE_SECOND']=void 0x0,f['ONE_SECOND']=0x3e8,f['ONE_AND_HALF_SECOND']=0x5dc,f['FAIL_TO_LOAD_TIMEOUT_MS']=0xbb8;},0x1c93:function(d,f,g){var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Database']=f['DB_NAMES']=void 0x0;const j=g(0x11c1),k={'user':{'keyPath':'id'},'moments':{'keyPath':'id'},'stories':{'keyPath':'id','indexes':[{'name':'story_index','keyPath':'storyId'}]},'videos':{'keyPath':'id'},'interactions':{'keyPath':'id'}};f['DB_NAMES']={'MOMENTS':'moments','INTERACTIONS':'interactions','USER':'user','STORIES':'stories','VIDEOS':'videos'};let l=null,m=null;f['Database']=class{constructor(p){this['options']=p;}['init'](){return h(this,void 0x0,void 0x0,function*(){if(!l){l=setTimeout(()=>{l=null;},0xbb8);try{this['dbInstance']=yield this['openDatabase']();}catch(p){throw p;}finally{l&&(clearTimeout(l),l=null);}}});}['openDatabase'](){return h(this,void 0x0,void 0x0,function*(){return new Promise((p,q)=>{const u=indexedDB['open'](this['options']['databaseName'],this['options']['version']);u['addEventListener']('success',()=>h(this,void 0x0,void 0x0,function*(){const v=u['result'];p(v),yield new Promise(w=>{setTimeout(()=>h(this,void 0x0,void 0x0,function*(){try{yield this['onOpen'](),w();}catch(x){q(x);}}),0x96);});})),u['addEventListener']('upgradeneeded',v=>h(this,void 0x0,void 0x0,function*(){const w=u['result'];try{yield this['onUpgradeNeeded'](w),p(w);}catch(x){q(x);}})),u['addEventListener']('error',v=>h(this,void 0x0,void 0x0,function*(){q(v),yield this['onError'](v);}));});});}['onUpgradeNeeded'](p){return h(this,void 0x0,void 0x0,function*(){var q;try{Array['from'](p['objectStoreNames'])['forEach'](u=>{p['deleteObjectStore'](u);});for(const u in k){const v=p['createObjectStore'](u,{'keyPath':k[u]['keyPath']});null===(q=k[u]['indexes'])||void 0x0===q||q['forEach'](w=>{v['createIndex'](w['name'],w['keyPath'],w['options']);});}}catch(w){throw w;}});}['onOpen'](){return h(this,void 0x0,void 0x0,function*(){try{j['EventBusService']['publish']('BlazeDatabaseServiceOpen');}catch(p){throw p;}});}['onError'](p){return h(this,void 0x0,void 0x0,function*(){yield this['deleteDatabase']();});}['deleteDatabase'](){return h(this,void 0x0,void 0x0,function*(){return new Promise((p,q)=>{const u=indexedDB['deleteDatabase'](this['options']['databaseName']);u['onsuccess']=()=>p(),u['onerror']=v=>q(v),u['onblocked']=()=>{this['dbInstance']&&this['dbInstance']['close'](),p();};});});}['createTransaction'](p,q){try{if(!this['dbInstance'])throw new Error('Database\x20is\x20not\x20initialized.');return this['dbInstance']['transaction']([p],q)['objectStore'](p);}catch(u){return this['throttledReinit'](),null;}}['get'](p,q){return h(this,void 0x0,void 0x0,function*(){try{const u=this['createTransaction'](p,'readonly');if(!u)return {'data':{},'error':new Error('Transaction\x20not\x20created.')};const v=u['get'](q);return yield new Promise((w,x)=>{v['onerror']=()=>{x(new Error('Failed\x20get'));},v['onsuccess']=()=>{w({'data':v['result']});};});}catch(w){throw w;}});}['update'](p,q){return h(this,void 0x0,void 0x0,function*(){try{const u={},v=this['createTransaction'](p,'readwrite');if(!v)return {'data':{},'error':new Error('Transaction\x20not\x20created.')};const w=v['put'](q);return yield new Promise((x,y)=>{w['onerror']=()=>{y(new Error('Failed\x20update'));},w['onsuccess']=()=>{const z=w['result'];x(Object['assign'](Object['assign']({},u),{'data':z}));};});}catch(x){throw x;}});}['throttledReinit'](){m||(m=setTimeout(()=>h(this,void 0x0,void 0x0,function*(){m=null,yield this['init']();}),0x1388));}};},0xe1c:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x1c93),f);},0x2ab:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1266:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2585:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xb8a:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1725:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x191a:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x25e6:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x2ab),f),j(g(0xb8a),f),j(g(0x1725),f),j(g(0x93),f),j(g(0x2006),f),j(g(0x6de),f),j(g(0x1d49),f),j(g(0x19d6),f),j(g(0x2fb),f),j(g(0x12fa),f),j(g(0xab7),f),j(g(0x1b0),f),j(g(0x191a),f),j(g(0x1266),f),j(g(0x2585),f);},0x93:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['INTERACTION_ANALYTICS']=f['ANSWER_FEEDBACK_VIBRATE_PATTERNS']=void 0x0,f['ANSWER_FEEDBACK_VIBRATE_PATTERNS']={'correctAnswerFeedback':[0x0,0x64,0x32,0x32,0x0,0xff,0x0,0xff],'wrongAnswerFeedback':[0x0,0xc8,0x32,0xc8,0x0,0xc8,0x0,0xc8],'selectionFeedback':[0x0,0x50,0x0,0xc8]},f['INTERACTION_ANALYTICS']='INTERACTION_ANALYTICS';},0x2006:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x6de:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1d49:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x19d6:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2fb:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x12fa:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xab7:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1b0:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x87b:(d,f)=>{var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ActionHandlerId']=void 0x0,function(h){h['AddCustomActionButton']='addCustomActionButton';}(g||(f['ActionHandlerId']=g={}));},0x2686:(d,f)=>{var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ButtonState']=void 0x0,function(h){h[h['Play']=0x0]='Play',h[h['Pause']=0x1]='Pause',h[h['Mute']=0x2]='Mute',h[h['Unmute']=0x3]='Unmute';}(g||(f['ButtonState']=g={}));},0x969:(d,f)=>{var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ErrorLoadingCodeMapper']=f['ErrorCode']=void 0x0,function(h){h[h['FailedToFindContainerId']=0x1]='FailedToFindContainerId',h[h['FailedContainerIdHasWidgetAlready']=0x2]='FailedContainerIdHasWidgetAlready',h[h['FailedLoadingAppConfigurations']=0x3]='FailedLoadingAppConfigurations',h[h['FailedLoadingStories']=0x64]='FailedLoadingStories',h[h['FailedEnrichStories']=0x65]='FailedEnrichStories',h[h['FailedToHaveLabels']=0x67]='FailedToHaveLabels',h[h['FailedLoadingMoments']=0x6e]='FailedLoadingMoments',h[h['FailedEnrichMoments']=0x6f]='FailedEnrichMoments',h[h['FailedLoadingVideos']=0x78]='FailedLoadingVideos',h[h['FailedEnrichVideos']=0x79]='FailedEnrichVideos',h[h['VisualViewportScaled']=0x96]='VisualViewportScaled',h[h['VideoError']=0xc8]='VideoError',h[h['PreviewStoryNotFound']=0x12c]='PreviewStoryNotFound',h[h['PreviewStoryLoadFailed']=0x12d]='PreviewStoryLoadFailed',h[h['PreviewMomentNotFound']=0x136]='PreviewMomentNotFound',h[h['PreviewMomentLoadFailed']=0x137]='PreviewMomentLoadFailed';}(g||(f['ErrorCode']=g={})),f['ErrorLoadingCodeMapper']={'story':g['FailedLoadingStories'],'moment':g['FailedLoadingMoments'],'video':g['FailedLoadingVideos']};},0x9ca:(d,f)=>{var g,h;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['InternalEvent']=f['Delegation']=void 0x0,function(j){j['onEventTriggered']='blaze-event-triggered',j['onErrorThrown']='blaze-error-event',j['onPlayerDidAppear']='blaze-player-did-appear',j['onPlayerDismissed']='blaze-player-dismissed',j['onWidgetDataLoadStarted']='blaze-widget-data-load-started',j['onWidgetDataLoadCompleted']='blaze-widget-data-load-completed',j['onWidgetPlayerDismissed']='blaze-widget-player-dismissed',j['onWidgetTriggerCTA']='blaze-widget-trigger-CTA',j['onStoryPlayerDidAppear']='blaze-story-player-did-appear',j['onStoryPlayerDismissed']='blaze-story-player-dismissed',j['onWidgetStoryPlayerDismissed']='blaze-widget-story-player-dismissed';}(g||(f['Delegation']=g={})),function(j){j['NEXT_STORY']='next_story',j['PREV_STORY']='prev_story',j['FULL_SCREEN_CLICK']='full_screen_click',j['AD_ENDED']='ad_ended',j['AD_RESUMED']='ad_resumed',j['AD_STARTED']='ad_started',j['BANNER_ANALYTICS']='banner_analytics',j['PAUSE']='pause',j['RESUME']='resume',j['NEXT_PAGE']='next_page',j['PREVIOUS_PAGE']='previous_page';}(h||(f['InternalEvent']=h={}));},0x1e19:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['HttpStatus']=void 0x0,f['HttpStatus']={'Ok':0xc8,'Created':0xc9,'NoContent':0xcc,'BadRequest':0x190,'Unauthorized':0x191,'Forbidden':0x193,'NotFound':0x194,'InternalServerError':0x1f4};},0x26ed:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x969),f),j(g(0x9ca),f),j(g(0x1e19),f),j(g(0x2686),f),j(g(0x87b),f);},0x21b0:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['WidgetsFactory']=void 0x0,f['WidgetsFactory']=class{static['create'](g,h){return document['createElement'](g,h);}static['define'](g,h,j){customElements['get'](g)||customElements['define'](g,h,j);}static['whenDefined'](g){return customElements['whenDefined'](g);}};},0x22d9:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x21b0),f);},0xe32:(d,f)=>{function g(j){return Array['isArray'](j)&&j['length']>0x0&&j['every'](h);}function h(j){return 'string'==typeof j&&j['trim']()['length']>0x0&&!j['includes']('\x20');}Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['hasValidIds']=f['isValidIds']=void 0x0,f['isValidIds']=g,f['hasValidIds']=function(...j){return j['some'](k=>void 0x0!==k&&g(k));};},0x2033:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x430),f),j(g(0xefb),f),j(g(0xe32),f);},0xefb:(d,f)=>{function g(j){return h(j)||function(l){return Array['isArray'](l)&&l['length']>0x0&&l['every'](h);}(j)||'object'==typeof(k=j)&&null!==k&&'BlazeWidgetLabel'===k['_type']&&'string'==typeof k['value']&&k['value']['trim']()['length']>0x0;var k;}function h(j){return 'string'==typeof j&&j['trim']()['length']>0x0;}Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['hasValidLabels']=f['isValidLabels']=void 0x0,f['isValidLabels']=g,f['hasValidLabels']=function(...j){return j['some'](k=>void 0x0!==k&&g(k));};},0x430:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isWidgetTheme']=void 0x0,f['isWidgetTheme']=function(g){return 'object'==typeof g&&null!==g&&'layoutStyle'in g&&'playerStyle'in g;};},0x115:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x636),f);},0x636:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['checkMarkSvg']=f['linkIconSvg']=f['shareVideosIconSvg']=f['closedCaptionsOffIconSvg']=f['closedCaptionsOnIconSvg']=f['newPageIcon']=f['arrowUpMomentIconSvg']=f['arrowDownMomentIconSvg']=f['fullscreenExitIconSvg']=f['fullscreenEnterIconSvg']=f['externalLinkIconSvg']=f['arrowUpCtaIconSvg']=f['pauseResumeIconSvg']=f['playResumeIconSvg']=f['restartIconSvg']=f['prevPageIconSvg']=f['nextPageIconSvg']=f['prevStoryIconSvg']=f['nextStoryIconSvg']=f['closeIconSvg']=f['shareIconSvg']=f['muteIconSvg']=f['unmuteIconSvg']=f['pauseIconSvg']=f['playIconSvg']=f['IconGlobe']=f['IconLink']=f['ShareIconSvg']=f['likeIconSvg']=f['unlikeIconSvg']=void 0x0,f['unlikeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyOCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjAwMDMgMjVMMTIuMDY3IDIzLjI2NjdDOS44MjI1NSAyMS4yNDQ1IDcuOTY2OTkgMTkuNSA2LjUwMDMzIDE4LjAzMzRDNS4wMzM2NiAxNi41NjY3IDMuODY2OTkgMTUuMjUgMy4wMDAzMyAxNC4wODM0QzIuMTMzNjYgMTIuOTE2NyAxLjUyODEgMTEuODQ0NSAxLjE4MzY2IDEwLjg2NjdDMC44MzkyMTQgOS44ODg5MSAwLjY2Njk5MiA4Ljg4ODkxIDAuNjY2OTkyIDcuODY2NjlDMC42NjY5OTIgNS43Nzc4IDEuMzY2OTkgNC4wMzMzNiAyLjc2Njk5IDIuNjMzMzZDNC4xNjY5OSAxLjIzMzM2IDUuOTExNDQgMC41MzMzNTYgOC4wMDAzMyAwLjUzMzM1NkM5LjE1NTg4IDAuNTMzMzU2IDEwLjI1NTkgMC43Nzc4IDExLjMwMDMgMS4yNjY2OUMxMi4zNDQ4IDEuNzU1NTggMTMuMjQ0OCAyLjQ0NDQ3IDE0LjAwMDMgMy4zMzMzNkMxNC43NTU5IDIuNDQ0NDcgMTUuNjU1OSAxLjc1NTU4IDE2LjcwMDMgMS4yNjY2OUMxNy43NDQ4IDAuNzc3OCAxOC44NDQ4IDAuNTMzMzU2IDIwLjAwMDMgMC41MzMzNTZDMjIuMDg5MiAwLjUzMzM1NiAyMy44MzM3IDEuMjMzMzYgMjUuMjMzNyAyLjYzMzM2QzI2LjYzMzcgNC4wMzMzNiAyNy4zMzM3IDUuNzc3OCAyNy4zMzM3IDcuODY2NjlDMjcuMzMzNyA4Ljg4ODkxIDI3LjE2MTQgOS44ODg5MSAyNi44MTcgMTAuODY2N0MyNi40NzI1IDExLjg0NDUgMjUuODY3IDEyLjkxNjcgMjUuMDAwMyAxNC4wODM0QzI0LjEzMzcgMTUuMjUgMjIuOTY3IDE2LjU2NjcgMjEuNTAwMyAxOC4wMzM0QzIwLjAzMzcgMTkuNSAxOC4xNzgxIDIxLjI0NDUgMTUuOTMzNyAyMy4yNjY3TDE0LjAwMDMgMjVaTTE0LjAwMDMgMjEuNEMxNi4xMzM3IDE5LjQ4ODkgMTcuODg5MiAxNy44NSAxOS4yNjcgMTYuNDgzNEMyMC42NDQ4IDE1LjExNjcgMjEuNzMzNyAxMy45Mjc4IDIyLjUzMzcgMTIuOTE2N0MyMy4zMzM3IDExLjkwNTYgMjMuODg5MiAxMS4wMDU2IDI0LjIwMDMgMTAuMjE2N0MyNC41MTE0IDkuNDI3OCAyNC42NjcgOC42NDQ0NyAyNC42NjcgNy44NjY2OUMyNC42NjcgNi41MzMzNiAyNC4yMjI1IDUuNDIyMjQgMjMuMzMzNyA0LjUzMzM2QzIyLjQ0NDggMy42NDQ0NyAyMS4zMzM3IDMuMjAwMDIgMjAuMDAwMyAzLjIwMDAyQzE4Ljk1NTkgMy4yMDAwMiAxNy45ODkyIDMuNDk0NDcgMTcuMTAwMyA0LjA4MzM2QzE2LjIxMTQgNC42NzIyNSAxNS42MDAzIDUuNDIyMjQgMTUuMjY3IDYuMzMzMzZIMTIuNzMzN0MxMi40MDAzIDUuNDIyMjQgMTEuNzg5MiA0LjY3MjI1IDEwLjkwMDMgNC4wODMzNkMxMC4wMTE0IDMuNDk0NDcgOS4wNDQ3NyAzLjIwMDAyIDguMDAwMzMgMy4yMDAwMkM2LjY2Njk5IDMuMjAwMDIgNS41NTU4OCAzLjY0NDQ3IDQuNjY2OTkgNC41MzMzNkMzLjc3ODEgNS40MjIyNCAzLjMzMzY2IDYuNTMzMzYgMy4zMzM2NiA3Ljg2NjY5QzMuMzMzNjYgOC42NDQ0NyAzLjQ4OTIxIDkuNDI3OCAzLjgwMDMzIDEwLjIxNjdDNC4xMTE0NCAxMS4wMDU2IDQuNjY2OTkgMTEuOTA1NiA1LjQ2Njk5IDEyLjkxNjdDNi4yNjY5OSAxMy45Mjc4IDcuMzU1ODggMTUuMTE2NyA4LjczMzY2IDE2LjQ4MzRDMTAuMTExNCAxNy44NSAxMS44NjcgMTkuNDg4OSAxNC4wMDAzIDIxLjRaIiBmaWxsPSIjRjBGMEYwIi8+Cjwvc3ZnPgo=',f['likeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwIDE4Ljk5OTlMOC41NSAxNy42OTk5QzYuODY2NjcgMTYuMTgzMiA1LjQ3NSAxNC44NzQ5IDQuMzc1IDEzLjc3NDlDMy4yNzUgMTIuNjc0OSAyLjQgMTEuNjg3NCAxLjc1IDEwLjgxMjRDMS4xIDkuOTM3NCAwLjY0NTgzMyA5LjEzMzI0IDAuMzg3NSA4LjM5OTlDMC4xMjkxNjcgNy42NjY1NyAwIDYuOTE2NTcgMCA2LjE0OTlDMCA0LjU4MzI0IDAuNTI1IDMuMjc0OSAxLjU3NSAyLjIyNDlDMi42MjUgMS4xNzQ5IDMuOTMzMzMgMC42NDk5MDIgNS41IDAuNjQ5OTAyQzYuMzY2NjcgMC42NDk5MDIgNy4xOTE2NyAwLjgzMzIzNiA3Ljk3NSAxLjE5OTlDOC43NTgzMyAxLjU2NjU3IDkuNDMzMzMgMi4wODMyNCAxMCAyLjc0OTlDMTAuNTY2NyAyLjA4MzI0IDExLjI0MTcgMS41NjY1NyAxMi4wMjUgMS4xOTk5QzEyLjgwODMgMC44MzMyMzYgMTMuNjMzMyAwLjY0OTkwMiAxNC41IDAuNjQ5OTAyQzE2LjA2NjcgMC42NDk5MDIgMTcuMzc1IDEuMTc0OSAxOC40MjUgMi4yMjQ5QzE5LjQ3NSAzLjI3NDkgMjAgNC41ODMyNCAyMCA2LjE0OTlDMjAgNi45MTY1NyAxOS44NzA4IDcuNjY2NTcgMTkuNjEyNSA4LjM5OTlDMTkuMzU0MiA5LjEzMzI0IDE4LjkgOS45Mzc0IDE4LjI1IDEwLjgxMjRDMTcuNiAxMS42ODc0IDE2LjcyNSAxMi42NzQ5IDE1LjYyNSAxMy43NzQ5QzE0LjUyNSAxNC44NzQ5IDEzLjEzMzMgMTYuMTgzMiAxMS40NSAxNy42OTk5TDEwIDE4Ljk5OTlaIiBmaWxsPSIjRjBGMEYwIi8+Cjwvc3ZnPgo=',f['ShareIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi45NDczIDIzLjM3NDhDMTMuMSAyMy43NTI2IDEzLjQ2NjggMjQgMTMuODc0NCAyNEgxNC4zNzE5QzE0Ljc4OTYgMjQgMTUuMTYzMyAyMy43NDAzIDE1LjMwOSAyMy4zNDg4TDIzLjIzNzUgMi4wNDg1QzIzLjUzNjIgMS4yNDYwNCAyMi43NTM5IDAuNDYzNzg1IDIxLjk1MTUgMC43NjI0OEwwLjY1MTE2IDguNjkwOTNDMC4yNTk2NjUgOC44MzY2NSAwIDkuMjEwMzcgMCA5LjYyODExVjEwLjEyNTZDMCAxMC41MzMyIDAuMjQ3MzQ5IDEwLjkgMC42MjUyMTEgMTEuMDUyN0w5LjQgMTQuNkwxMi45NDczIDIzLjM3NDhaTTE4LjM1MTggNy41MzM4OUwxNC4wNjY3IDE5LjA2NjZMMTIuMDAzNSAxMy44ODIyTDE4LjM1MTggNy41MzM4OVpNMTYuNDY2MyA1LjY0ODEyTDEwLjExNzkgMTEuOTk2NUw0LjkzMzMzIDkuOTMzMzFMMTYuNDY2MyA1LjY0ODEyWiIgZmlsbD0iI0YwRjBGMCIvPgo8L3N2Zz4K',f['IconLink']='data:image/svg+xml;charset=utf-8,<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20width=\x2220\x22\x20height=\x2210\x22\x20viewBox=\x220\x200\x2020\x2010\x22\x20fill=\x22none\x22><path\x20d=\x22M9\x2010H5C3.61667\x2010\x202.4375\x209.5125\x201.4625\x208.5375C0.4875\x207.5625\x200\x206.38333\x200\x205C0\x203.61667\x200.4875\x202.4375\x201.4625\x201.4625C2.4375\x200.4875\x203.61667\x200\x205\x200H9V2H5C4.16667\x202\x203.45833\x202.29167\x202.875\x202.875C2.29167\x203.45833\x202\x204.16667\x202\x205C2\x205.83333\x202.29167\x206.54167\x202.875\x207.125C3.45833\x207.70833\x204.16667\x208\x205\x208H9V10ZM6\x206V4H14V6H6ZM11\x2010V8H15C15.8333\x208\x2016.5417\x207.70833\x2017.125\x207.125C17.7083\x206.54167\x2018\x205.83333\x2018\x205C18\x204.16667\x2017.7083\x203.45833\x2017.125\x202.875C16.5417\x202.29167\x2015.8333\x202\x2015\x202H11V0H15C16.3833\x200\x2017.5625\x200.4875\x2018.5375\x201.4625C19.5125\x202.4375\x2020\x203.61667\x2020\x205C20\x206.38333\x2019.5125\x207.5625\x2018.5375\x208.5375C17.5625\x209.5125\x2016.3833\x2010\x2015\x2010H11Z\x22\x20fill=\x22white\x22\x20fill-opacity=\x220.92\x22/></svg>',f['IconGlobe']='data:image/svg+xml;charset=utf-8,<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2020\x2020\x22\x20fill=\x22none\x22><path\x20d=\x22M10\x2020C8.61667\x2020\x207.31667\x2019.7375\x206.1\x2019.2125C4.88333\x2018.6875\x203.825\x2017.975\x202.925\x2017.075C2.025\x2016.175\x201.3125\x2015.1167\x200.7875\x2013.9C0.2625\x2012.6833\x200\x2011.3833\x200\x2010C0\x208.61667\x200.2625\x207.31667\x200.7875\x206.1C1.3125\x204.88333\x202.025\x203.825\x202.925\x202.925C3.825\x202.025\x204.88333\x201.3125\x206.1\x200.7875C7.31667\x200.2625\x208.61667\x200\x2010\x200C11.3833\x200\x2012.6833\x200.2625\x2013.9\x200.7875C15.1167\x201.3125\x2016.175\x202.025\x2017.075\x202.925C17.975\x203.825\x2018.6875\x204.88333\x2019.2125\x206.1C19.7375\x207.31667\x2020\x208.61667\x2020\x2010C20\x2011.3833\x2019.7375\x2012.6833\x2019.2125\x2013.9C18.6875\x2015.1167\x2017.975\x2016.175\x2017.075\x2017.075C16.175\x2017.975\x2015.1167\x2018.6875\x2013.9\x2019.2125C12.6833\x2019.7375\x2011.3833\x2020\x2010\x2020ZM9\x2017.95V16C8.45\x2016\x207.97917\x2015.8042\x207.5875\x2015.4125C7.19583\x2015.0208\x207\x2014.55\x207\x2014V13L2.2\x208.2C2.15\x208.5\x202.10417\x208.8\x202.0625\x209.1C2.02083\x209.4\x202\x209.7\x202\x2010C2\x2012.0167\x202.6625\x2013.7833\x203.9875\x2015.3C5.3125\x2016.8167\x206.98333\x2017.7\x209\x2017.95ZM15.9\x2015.4C16.2333\x2015.0333\x2016.5333\x2014.6375\x2016.8\x2014.2125C17.0667\x2013.7875\x2017.2875\x2013.3458\x2017.4625\x2012.8875C17.6375\x2012.4292\x2017.7708\x2011.9583\x2017.8625\x2011.475C17.9542\x2010.9917\x2018\x2010.5\x2018\x2010C18\x208.36667\x2017.5458\x206.875\x2016.6375\x205.525C15.7292\x204.175\x2014.5167\x203.2\x2013\x202.6V3C13\x203.55\x2012.8042\x204.02083\x2012.4125\x204.4125C12.0208\x204.80417\x2011.55\x205\x2011\x205H9V7C9\x207.28333\x208.90417\x207.52083\x208.7125\x207.7125C8.52083\x207.90417\x208.28333\x208\x208\x208H6V10H12C12.2833\x2010\x2012.5208\x2010.0958\x2012.7125\x2010.2875C12.9042\x2010.4792\x2013\x2010.7167\x2013\x2011V14H14C14.4333\x2014\x2014.825\x2014.1292\x2015.175\x2014.3875C15.525\x2014.6458\x2015.7667\x2014.9833\x2015.9\x2015.4Z\x22\x20fill=\x22%23131313\x22/></svg>',f['playIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InBsYXlfYXJyb3dfIGhvbGxvdyI+CjxtYXNrIGlkPSJtYXNrMF8yMTA2Xzk5NCIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij4KPHJlY3QgaWQ9IkJvdW5kaW5nIGJveCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSIjRDlEOUQ5Ii8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF8yMTA2Xzk5NCkiPgo8cGF0aCBpZD0icGxheV9hcnJvdyIgZD0iTTggMTlWNUwxOSAxMkw4IDE5Wk0xMCAxNS4zNUwxNS4yNSAxMkwxMCA4LjY1VjE1LjM1WiIgZmlsbD0iI0YwRjBGMCIvPgo8L2c+CjwvZz4KPC9zdmc+Cg==',f['pauseIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InBhdXNlIj4KPG1hc2sgaWQ9Im1hc2swXzIxMTdfMiIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij4KPHJlY3QgaWQ9IkJvdW5kaW5nIGJveCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF8yMTE3XzIpIj4KPHBhdGggaWQ9InBhdXNlXzIiIGQ9Ik0xNCAxOVY1SDE3VjE5SDE0Wk03IDE5VjVIMTBWMTlIN1oiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=',f['unmuteIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InZvbHVtZV91cF8yIj4KPG1hc2sgaWQ9Im1hc2swXzIxMDZfOTg3IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPgo8cmVjdCBpZD0iQm91bmRpbmcgYm94IiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9IiNEOUQ5RDkiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzIxMDZfOTg3KSI+CjxwYXRoIGlkPSJ2b2x1bWVfdXAiIGQ9Ik0xNCAyMC43MjVWMTguNjc1QzE1LjUgMTguMjQxNiAxNi43MDgzIDE3LjQwODMgMTcuNjI1IDE2LjE3NUMxOC41NDE3IDE0Ljk0MTYgMTkgMTMuNTQxNiAxOSAxMS45NzVDMTkgMTAuNDA4MyAxOC41NDE3IDkuMDA4MzEgMTcuNjI1IDcuNzc0OThDMTYuNzA4MyA2LjU0MTY0IDE1LjUgNS43MDgzMSAxNCA1LjI3NDk4VjMuMjI0OThDMTYuMDY2NyAzLjY5MTY0IDE3Ljc1IDQuNzM3NDggMTkuMDUgNi4zNjI0OEMyMC4zNSA3Ljk4NzQ4IDIxIDkuODU4MzEgMjEgMTEuOTc1QzIxIDE0LjA5MTYgMjAuMzUgMTUuOTYyNSAxOS4wNSAxNy41ODc1QzE3Ljc1IDE5LjIxMjUgMTYuMDY2NyAyMC4yNTgzIDE0IDIwLjcyNVpNMyAxNVY4Ljk5OTk4SDdMMTIgMy45OTk5OFYyMEw3IDE1SDNaTTE0IDE2VjcuOTQ5OThDMTQuNzgzMyA4LjMxNjY0IDE1LjM5NTggOC44NjY2NCAxNS44Mzc1IDkuNTk5OThDMTYuMjc5MiAxMC4zMzMzIDE2LjUgMTEuMTMzMyAxNi41IDEyQzE2LjUgMTIuODUgMTYuMjc5MiAxMy42Mzc1IDE1LjgzNzUgMTQuMzYyNUMxNS4zOTU4IDE1LjA4NzUgMTQuNzgzMyAxNS42MzMzIDE0IDE2Wk0xMCA4Ljg0OTk4TDcuODUgMTFINVYxM0g3Ljg1TDEwIDE1LjE1VjguODQ5OThaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvZz4KPC9nPgo8L3N2Zz4K',f['muteIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InZvbHVtZV9tdXRlIj4KPHBhdGggaWQ9InZvbHVtZV9vZmYiIGQ9Ik0xOS44IDIyLjZMMTYuNzc1IDE5LjU3NTFDMTYuMzU4NCAxOS44NDE3IDE1LjkxNjcgMjAuMDcwOSAxNS40NSAyMC4yNjI2QzE0Ljk4MzQgMjAuNDU0MiAxNC41IDIwLjYwODQgMTQgMjAuNzI1VjE4LjY3NUMxNC4yMzM0IDE4LjU5MTcgMTQuNDYyNSAxOC41MDg0IDE0LjY4NzUgMTguNDI1QzE0LjkxMjUgMTguMzQxNyAxNS4xMjUgMTguMjQxNyAxNS4zMjUgMTguMTI1MUwxMiAxNC44VjIwTDcuMDAwMDIgMTVIMy4wMDAwMlY5LjAwMDA1SDYuMjAwMDJMMS40MDAwMiA0LjIwMDA1TDIuODAwMDIgMi44MDAwNUwyMS4yIDIxLjIwMDFMMTkuOCAyMi42Wk0xOS42IDE2LjhMMTguMTUgMTUuMzVDMTguNDMzNCAxNC44MzM0IDE4LjY0NTkgMTQuMjkxNyAxOC43ODc1IDEzLjcyNUMxOC45MjkyIDEzLjE1ODQgMTkgMTIuNTc1MSAxOSAxMS45NzVDMTkgMTAuNDA4NCAxOC41NDE3IDkuMDA4MzggMTcuNjI1IDcuNzc1MDVDMTYuNzA4NCA2LjU0MTcyIDE1LjUgNS43MDgzOCAxNCA1LjI3NTA1VjMuMjI1MDVDMTYuMDY2NyAzLjY5MTcyIDE3Ljc1IDQuNzM3NTUgMTkuMDUgNi4zNjI1NUMyMC4zNSA3Ljk4NzU1IDIxIDkuODU4MzggMjEgMTEuOTc1QzIxIDEyLjg1ODQgMjAuODc5MiAxMy43MDg0IDIwLjYzNzUgMTQuNTI1MUMyMC4zOTU5IDE1LjM0MTcgMjAuMDUgMTYuMSAxOS42IDE2LjhaTTE2LjI1IDEzLjQ1TDE0IDExLjJWNy45NTAwNUMxNC43ODM0IDguMzE2NzIgMTUuMzk1OSA4Ljg2NjcyIDE1LjgzNzUgOS42MDAwNUMxNi4yNzkyIDEwLjMzMzQgMTYuNSAxMS4xMzM0IDE2LjUgMTJDMTYuNSAxMi4yNSAxNi40NzkyIDEyLjQ5NTkgMTYuNDM3NSAxMi43Mzc1QzE2LjM5NTkgMTIuOTc5MiAxNi4zMzM0IDEzLjIxNjcgMTYuMjUgMTMuNDVaTTEyIDkuMjAwMDVMOS40MDAwMyA2LjYwMDA1TDEyIDQuMDAwMDVWOS4yMDAwNVpNMTAgMTUuMTUwMVYxMi44TDguMjAwMDMgMTFINS4wMDAwMlYxM0g3Ljg1MDAzTDEwIDE1LjE1MDFaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvZz4KPC9zdmc+Cg==',f['shareIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InNoYXJlIj4KPHBhdGggaWQ9IlVuaW9uIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyLjY0NzMgMjAuMzc0OEMxMi44IDIwLjc1MjcgMTMuMTY2OCAyMSAxMy41NzQ0IDIxSDEzLjYwNTJDMTQuMDIyOSAyMSAxNC4zOTY3IDIwLjc0MDQgMTQuNTQyNCAyMC4zNDg5TDIwLjIzNzUgNS4wNDg1NkMyMC41MzYyIDQuMjQ2MSAxOS43NTM5IDMuNDYzODUgMTguOTUxNSAzLjc2MjU0TDMuNjUxMTYgOS40NTc2NkMzLjI1OTY2IDkuNjAzMzggMyA5Ljk3NzEgMyAxMC4zOTQ4VjEwLjQyNTdDMyAxMC44MzMyIDMuMjQ3MzUgMTEuMiAzLjYyNTIxIDExLjM1MjhMMTAuMDUgMTMuOTVMMTIuNjQ3MyAyMC4zNzQ4Wk0xNi43NjM4IDguNjUwNDdMMTMuNTUgMTcuM0wxMi4wMDI2IDEzLjQxMTdMMTYuNzYzOCA4LjY1MDQ3Wk0xNS4zNDk3IDcuMjM2MTRMMTAuNTg4NCAxMS45OTc1TDYuNyAxMC40NUwxNS4zNDk3IDcuMjM2MTRaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvZz4KPC9zdmc+Cg==',f['closeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCAzNiAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9ImNsb3NlIj4KPG1hc2sgaWQ9Im1hc2swXzIwODlfNjUxOCIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjM2IiBoZWlnaHQ9IjM2Ij4KPHJlY3QgaWQ9IkJvdW5kaW5nIGJveCIgd2lkdGg9IjM2IiBoZWlnaHQ9IjM2IiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF8yMDg5XzY1MTgpIj4KPHBhdGggaWQ9ImNsb3NlXzIiIGQ9Ik05LjYgMjguNUw3LjUgMjYuNEwxNS45IDE4TDcuNSA5LjZMOS42IDcuNUwxOCAxNS45TDI2LjQgNy41TDI4LjUgOS42TDIwLjEgMThMMjguNSAyNi40TDI2LjQgMjguNUwxOCAyMC4xTDkuNiAyOC41WiIgZmlsbD0iI0YwRjBGMCIvPgo8L2c+CjwvZz4KPC9zdmc+Cg==',f['nextStoryIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InNraXBfbmV4dCI+CjxtYXNrIGlkPSJtYXNrMF8yMDM2XzMyMzYiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjAiIHk9IjAiIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+CjxyZWN0IGlkPSJCb3VuZGluZyBib3giIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC45MiIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfMjAzNl8zMjM2KSI+CjxwYXRoIGlkPSJza2lwX25leHRfMiIgZD0iTTIyIDI0VjhIMjQuNjY2NlYyNEgyMlpNNy4zMzMzMSAyNFY4TDE5LjMzMzMgMTZMNy4zMzMzMSAyNFpNOS45OTk5OCAxOUwxNC41MzMzIDE2TDkuOTk5OTggMTNWMTlaIiBmaWxsPSIjRjBGMEYwIi8+CjwvZz4KPC9nPgo8L3N2Zz4K',f['prevStoryIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InNraXBfcHJldmlvdXMiPgo8bWFzayBpZD0ibWFzazBfMjAzNl8zMjM4IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPgo8cmVjdCBpZD0iQm91bmRpbmcgYm94IiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzIwMzZfMzIzOCkiPgo8cGF0aCBpZD0ic2tpcF9wcmV2aW91c18yIiBkPSJNNy4zMzMzMyAyNFY4SDkuOTk5OTlWMjRINy4zMzMzM1pNMjQuNjY2NyAyNEwxMi42NjY3IDE2TDI0LjY2NjcgOFYyNFpNMjIgMTlWMTNMMTcuNDY2NyAxNkwyMiAxOVoiIGZpbGw9IiNGMEYwRjAiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=',f['nextPageIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOCAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9ImNoZXZyb25fcmlnaHQiPgo8bWFzayBpZD0ibWFzazBfMjAzNl8zMjc3IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjgiIGhlaWdodD0iMjgiPgo8cmVjdCBpZD0iQm91bmRpbmcgYm94IiB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzIwMzZfMzI3NykiPgo8cGF0aCBpZD0iY2hldnJvbl9yaWdodF8yIiBkPSJNMTAuOTY2NiAyMUw5LjMzMzMxIDE5LjM2NjdMMTQuNyAxNEw5LjMzMzMxIDguNjMzMzNMMTAuOTY2NiA3TDE3Ljk2NjYgMTRMMTAuOTY2NiAyMVoiIGZpbGw9IiMxMzEzMTMiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=',f['prevPageIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOCAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9ImNoZXZyb25fbGVmdCI+CjxtYXNrIGlkPSJtYXNrMF8yMDM2XzMyNDAiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjAiIHk9IjAiIHdpZHRoPSIyOCIgaGVpZ2h0PSIyOCI+CjxyZWN0IGlkPSJCb3VuZGluZyBib3giIHdpZHRoPSIyOCIgaGVpZ2h0PSIyOCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC45MiIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfMjAzNl8zMjQwKSI+CjxwYXRoIGlkPSJjaGV2cm9uX2xlZnRfMiIgZD0iTTE2LjMzMzMgMjFMOS4zMzMzMyAxNEwxNi4zMzMzIDdMMTcuOTY2NyA4LjYzMzMzTDEyLjYgMTRMMTcuOTY2NyAxOS4zNjY3TDE2LjMzMzMgMjFaIiBmaWxsPSIjMTMxMzEzIi8+CjwvZz4KPC9nPgo8L3N2Zz4K',f['restartIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzVfNDg5ODEiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjQiIHk9IjQiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+CjxyZWN0IHg9IjQiIHk9IjQiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC45MiIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfNV80ODk4MSkiPgo8cGF0aCBkPSJNMTYgMjRDMTMuNzY2NyAyNCAxMS44NzUgMjMuMjI1IDEwLjMyNSAyMS42NzVDOC43NzUgMjAuMTI1IDggMTguMjMzMyA4IDE2QzggMTMuNzY2NyA4Ljc3NSAxMS44NzUgMTAuMzI1IDEwLjMyNUMxMS44NzUgOC43NzUgMTMuNzY2NyA4IDE2IDhDMTcuMTUgOCAxOC4yNSA4LjIzNzUgMTkuMyA4LjcxMjVDMjAuMzUgOS4xODc1IDIxLjI1IDkuODY2NjcgMjIgMTAuNzVWOEgyNFYxNUgxN1YxM0gyMS4yQzIwLjY2NjcgMTIuMDY2NyAxOS45Mzc1IDExLjMzMzMgMTkuMDEyNSAxMC44QzE4LjA4NzUgMTAuMjY2NyAxNy4wODMzIDEwIDE2IDEwQzE0LjMzMzMgMTAgMTIuOTE2NyAxMC41ODMzIDExLjc1IDExLjc1QzEwLjU4MzMgMTIuOTE2NyAxMCAxNC4zMzMzIDEwIDE2QzEwIDE3LjY2NjcgMTAuNTgzMyAxOS4wODMzIDExLjc1IDIwLjI1QzEyLjkxNjcgMjEuNDE2NyAxNC4zMzMzIDIyIDE2IDIyQzE3LjI4MzMgMjIgMTguNDQxNyAyMS42MzMzIDE5LjQ3NSAyMC45QzIwLjUwODMgMjAuMTY2NyAyMS4yMzMzIDE5LjIgMjEuNjUgMThIMjMuNzVDMjMuMjgzMyAxOS43NjY3IDIyLjMzMzMgMjEuMjA4MyAyMC45IDIyLjMyNUMxOS40NjY3IDIzLjQ0MTcgMTcuODMzMyAyNCAxNiAyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L3N2Zz4K',f['playResumeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InBsYXlfYXJyb3ciPgo8cmVjdCB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHJ4PSIyNCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC42Ii8+CjxwYXRoIGlkPSJwbGF5X2Fycm93XzIiIGQ9Ik0xOCAzNlYxMkwzNiAyNEwxOCAzNloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L3N2Zz4K',f['pauseResumeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InBsYXlfYXJyb3ciPgo8cmVjdCB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHJ4PSIyNCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC42Ii8+CjxwYXRoIGlkPSJwYXVzZSIgZD0iTTI3IDM2VjEySDMzVjM2SDI3Wk0xNSAzNlYxMkgyMVYzNkgxNVoiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L3N2Zz4K',f['arrowUpCtaIconSvg']='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAyMCA4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJtMTggNy43LTAuNy0wLjItNy4zLTQtNy4zIDRjLTAuNyAwLjQtMS42IDAuMi0yLTAuNi0wLjQtMC43LTAuMS0xLjYgMC42LTJsOC00LjRhMiAyIDAgMCAxIDEuNSAwbDggNC40YzAuNyAwLjQgMSAxLjMgMC42IDItMC40IDAuNS0wLjkgMC44LTEuNCAwLjh6Ii8+Cjwvc3ZnPgo=',f['externalLinkIconSvg']='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY3Jvc3NvcmlnaW49ImFub255bW91cyI+CjxwYXRoIGQ9Im0xMiAwYzYuNiAwIDEyIDUuNCAxMiAxMnMtNS40IDEyLTEyIDEyLTEyLTUuNC0xMi0xMiA1LjQtMTIgMTItMTJ6IiBmaWxsLW9wYWNpdHk9Ii4xIi8+CjxwYXRoIGQ9Im0xMy44IDE0LjYgMC4yIDAuNS0wLjIgMC41LTEuNSAxLjRjLTAuNyAwLjctMS43IDEuMS0yLjcgMS4xYTQgNCAwIDAgMS0yLjctMS4xIDMuOSAzLjkgMCAwIDEtMS4xLTIuNyA0IDQgMCAwIDEgMS4xLTIuN2wxLjUtMS41IDAuNS0wLjEgMC41IDAuMiAwLjIgMC41LTAuMiAwLjUtMS41IDEuNWMtMC41IDAuNS0wLjcgMS4xLTAuNyAxLjdzMC4zIDEuMyAwLjcgMS43YzAuNSAwLjUgMS4xIDAuNyAxLjcgMC43czEuMy0wLjMgMS43LTAuN2wxLjUtMS41YzAuMy0wLjMgMC43LTAuMyAxIDB6bTMuMi03LjZhMy45IDMuOSAwIDAgMC0yLjctMS4xIDQgNCAwIDAgMC0yLjcgMS4xbC0xLjUgMS41LTAuMSAwLjQgMC4yIDAuNSAwLjUgMC4yIDAuNS0wLjIgMS41LTEuNWMwLjUtMC41IDEuMS0wLjcgMS43LTAuN3MxLjMgMC4zIDEuNyAwLjdjMC41IDAuNSAwLjcgMS4xIDAuNyAxLjdzLTAuMyAxLjMtMC43IDEuN2wtMS41IDEuNS0wLjIgMC41IDAuMiAwLjUgMC41IDAuMiAwLjUtMC4yIDEuNS0xLjVjMC43LTAuNyAxLjEtMS43IDEuMS0yLjctMC4xLTEtMC41LTEuOS0xLjItMi42em0tNy45IDcuMiAwLjIgMC41IDAuNSAwLjIgMC41LTAuMiA0LjUtNC41IDAuMi0wLjUtMC4yLTAuNWMtMC4zLTAuMi0wLjgtMC4yLTEgMC4xbC00LjUgNC41eiIvPgo8L3N2Zz4K',f['fullscreenEnterIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzkxNTFfNTE4OSIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij4KPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSIjRDlEOUQ5Ii8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF85MTUxXzUxODkpIj4KPHBhdGggZD0iTTUgMjFDNC40NSAyMSAzLjk3OTE3IDIwLjgwNDIgMy41ODc1IDIwLjQxMjVDMy4xOTU4MyAyMC4wMjA4IDMgMTkuNTUgMyAxOVYxNUg1VjE5SDlWMjFINVpNMTUgMjFWMTlIMTlWMTVIMjFWMTlDMjEgMTkuNTUgMjAuODA0MiAyMC4wMjA4IDIwLjQxMjUgMjAuNDEyNUMyMC4wMjA4IDIwLjgwNDIgMTkuNTUgMjEgMTkgMjFIMTVaTTMgOVY1QzMgNC40NSAzLjE5NTgzIDMuOTc5MTcgMy41ODc1IDMuNTg3NUMzLjk3OTE3IDMuMTk1ODMgNC40NSAzIDUgM0g5VjVINVY5SDNaTTE5IDlWNUgxNVYzSDE5QzE5LjU1IDMgMjAuMDIwOCAzLjE5NTgzIDIwLjQxMjUgMy41ODc1QzIwLjgwNDIgMy45NzkxNyAyMSA0LjQ1IDIxIDVWOUgxOVoiIGZpbGw9IiNGMEYwRjAiLz4KPC9nPgo8L3N2Zz4K',f['fullscreenExitIconSvg']='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjNWY2MzY4Ij48cGF0aCBkPSJNMjQwLTEyMHYtMTIwSDEyMHYtODBoMjAwdjIwMGgtODBabTQwMCAwdi0yMDBoMjAwdjgwSDcyMHYxMjBoLTgwWk0xMjAtNjQwdi04MGgxMjB2LTEyMGg4MHYyMDBIMTIwWm01MjAgMHYtMjAwaDgwdjEyMGgxMjB2ODBINjQwWiIvPjwvc3ZnPg==',f['arrowDownMomentIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNjY2NjcgMThWNS43MzMzMkwxLjg2NjY3IDEwLjUzMzNMMCA4LjY2NjY2TDggMC42NjY2NTZMMTYgOC42NjY2NkwxNC4xMzMzIDEwLjUzMzNMOS4zMzMzMyA1LjczMzMyVjE4SDYuNjY2NjdaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+Cjwvc3ZnPgo=',f['arrowUpMomentIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIKICAgICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxnIHRyYW5zZm9ybT0ic2NhbGUoMSAtMSkgdHJhbnNsYXRlKDAgLTE2KSI+CiAgICA8cGF0aCBkPSJNNi42NjY2NyAxOFY1LjczMzMyTDEuODY2NjcgMTAuNTMzM0wwIDguNjY2NjZMOCAwLjY2NjY1NkwxNiA4LjY2NjY2TDE0LjEzMzMgMTAuNTMzM0w5LjMzMzMzIDUuNzMzMzJWMThINi42NjY2N1oiIAogICAgICAgICAgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC45MiIvPgogIDwvZz4KPC9zdmc+',f['newPageIcon']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzk0NDlfOTc2NyIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij4KPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSIjRDlEOUQ5Ii8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF85NDQ5Xzk3NjcpIj4KPHBhdGggZD0iTTUgMjFDNC40NSAyMSAzLjk3OTE3IDIwLjgwNDIgMy41ODc1IDIwLjQxMjVDMy4xOTU4MyAyMC4wMjA4IDMgMTkuNTUgMyAxOVY1QzMgNC40NSAzLjE5NTgzIDMuOTc5MTcgMy41ODc1IDMuNTg3NUMzLjk3OTE3IDMuMTk1ODMgNC40NSAzIDUgM0gxMlY1SDVWMTlIMTlWMTJIMjFWMTlDMjEgMTkuNTUgMjAuODA0MiAyMC4wMjA4IDIwLjQxMjUgMjAuNDEyNUMyMC4wMjA4IDIwLjgwNDIgMTkuNTUgMjEgMTkgMjFINVpNOS43IDE1LjdMOC4zIDE0LjNMMTcuNiA1SDE0VjNIMjFWMTBIMTlWNi40TDkuNyAxNS43WiIgZmlsbD0iI0YwRjBGMCIvPgo8L2c+Cjwvc3ZnPgo=',f['closedCaptionsOnIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzIxOF80NzAiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iI0Q5RDlEOSIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfMjE4XzQ3MCkiPgo8cGF0aCBkPSJNNSAyMEM0LjQ1IDIwIDMuOTc5MTcgMTkuODA0MiAzLjU4NzUgMTkuNDEyNUMzLjE5NTgzIDE5LjAyMDggMyAxOC41NSAzIDE4VjZDMyA1LjQ1IDMuMTk1ODMgNC45NzkxNyAzLjU4NzUgNC41ODc1QzMuOTc5MTcgNC4xOTU4MyA0LjQ1IDQgNSA0SDE5QzE5LjU1IDQgMjAuMDIwOCA0LjE5NTgzIDIwLjQxMjUgNC41ODc1QzIwLjgwNDIgNC45NzkxNyAyMSA1LjQ1IDIxIDZWMThDMjEgMTguNTUgMjAuODA0MiAxOS4wMjA4IDIwLjQxMjUgMTkuNDEyNUMyMC4wMjA4IDE5LjgwNDIgMTkuNTUgMjAgMTkgMjBINVpNNSAxOEgxOVY2SDVWMThaTTcgMTVIMTBDMTAuMjgzMyAxNSAxMC41MjA4IDE0LjkwNDIgMTAuNzEyNSAxNC43MTI1QzEwLjkwNDIgMTQuNTIwOCAxMSAxNC4yODMzIDExIDE0VjEzSDkuNVYxMy41SDcuNVYxMC41SDkuNVYxMUgxMVYxMEMxMSA5LjcxNjY3IDEwLjkwNDIgOS40NzkxNyAxMC43MTI1IDkuMjg3NUMxMC41MjA4IDkuMDk1ODMgMTAuMjgzMyA5IDEwIDlIN0M2LjcxNjY3IDkgNi40NzkxNyA5LjA5NTgzIDYuMjg3NSA5LjI4NzVDNi4wOTU4MyA5LjQ3OTE3IDYgOS43MTY2NyA2IDEwVjE0QzYgMTQuMjgzMyA2LjA5NTgzIDE0LjUyMDggNi4yODc1IDE0LjcxMjVDNi40NzkxNyAxNC45MDQyIDYuNzE2NjcgMTUgNyAxNVpNMTQgMTVIMTdDMTcuMjgzMyAxNSAxNy41MjA4IDE0LjkwNDIgMTcuNzEyNSAxNC43MTI1QzE3LjkwNDIgMTQuNTIwOCAxOCAxNC4yODMzIDE4IDE0VjEzSDE2LjVWMTMuNUgxNC41VjEwLjVIMTYuNVYxMUgxOFYxMEMxOCA5LjcxNjY3IDE3LjkwNDIgOS40NzkxNyAxNy43MTI1IDkuMjg3NUMxNy41MjA4IDkuMDk1ODMgMTcuMjgzMyA5IDE3IDlIMTRDMTMuNzE2NyA5IDEzLjQ3OTIgOS4wOTU4MyAxMy4yODc1IDkuMjg3NUMxMy4wOTU4IDkuNDc5MTcgMTMgOS43MTY2NyAxMyAxMFYxNEMxMyAxNC4yODMzIDEzLjA5NTggMTQuNTIwOCAxMy4yODc1IDE0LjcxMjVDMTMuNDc5MiAxNC45MDQyIDEzLjcxNjcgMTUgMTQgMTVaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvZz4KPC9zdmc+Cg==',f['closedCaptionsOffIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzIxOF80NjQiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iI0Q5RDlEOSIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfMjE4XzQ2NCkiPgo8cGF0aCBkPSJNOS4wMjUwNSA5LjAwMDJMMTAuNTI1IDEwLjUwMDJINy41MDAwNVYxMy41MDAySDkuNTAwMDVWMTMuMDAwMkgxMVYxNC4wMDAyQzExIDE0LjI4MzUgMTAuOTA0MiAxNC41MjEgMTAuNzEyNSAxNC43MTI3QzEwLjUyMDkgMTQuOTA0NCAxMC4yODM0IDE1LjAwMDIgMTAgMTUuMDAwMkg3LjAwMDA1QzYuNzE2NzIgMTUuMDAwMiA2LjQ3OTIyIDE0LjkwNDQgNi4yODc1NSAxNC43MTI3QzYuMDk1ODggMTQuNTIxIDYuMDAwMDUgMTQuMjgzNSA2LjAwMDA1IDE0LjAwMDJWMTAuMDAwMkM2LjAwMDA1IDkuNzE2ODYgNi4wOTU4OCA5LjQ3OTM2IDYuMjg3NTUgOS4yODc3QzYuNDc5MjIgOS4wOTYwMyA2LjcxNjcyIDkuMDAwMiA3LjAwMDA1IDkuMDAwMkg5LjAyNTA1Wk02Ljg3NTA1IDQuMDAwMkgxOUMxOS41NSA0LjAwMDIgMjAuMDIwOSA0LjE5NjAzIDIwLjQxMjUgNC41ODc3QzIwLjgwNDIgNC45NzkzNiAyMSA1LjQ1MDIgMjEgNi4wMDAyVjE4LjEyNTJMMTkgMTYuMTI1MlY2LjAwMDJIOC44NzUwNUw2Ljg3NTA1IDQuMDAwMlpNMTggMTMuMDAwMlYxNC4wMDAyQzE4IDE0LjE1MDIgMTcuOTcwOSAxNC4yOTYgMTcuOTEyNSAxNC40Mzc3QzE3Ljg1NDIgMTQuNTc5NCAxNy43NjY3IDE0LjY5MTkgMTcuNjUgMTQuNzc1MkwxNi4zNzUgMTMuNTAwMkgxNi41VjEzLjAwMDJIMThaTTE2LjUgMTEuMDAwMlYxMC41MDAySDE0LjVWMTEuNjI1MkwxMyAxMC4xMjUyVjEwLjAwMDJDMTMgOS43MTY4NiAxMy4wOTU5IDkuNDc5MzYgMTMuMjg3NSA5LjI4NzdDMTMuNDc5MiA5LjA5NjAzIDEzLjcxNjcgOS4wMDAyIDE0IDkuMDAwMkgxN0MxNy4yODM0IDkuMDAwMiAxNy41MjA5IDkuMDk2MDMgMTcuNzEyNSA5LjI4NzdDMTcuOTA0MiA5LjQ3OTM2IDE4IDkuNzE2ODYgMTggMTAuMDAwMlYxMS4wMDAySDE2LjVaTTQuMjAwMDUgNC4xNzUyTDYuMDI1MDUgNi4wMDAySDUuMDAwMDVWMTguMDAwMkgxNS4xNzVMMC42NzUwNDkgMy41MDAyTDIuMTAwMDUgMi4wNzUyTDIxLjkgMjEuODc1MkwyMC40NzUgMjMuMzAwMkwxNy4xNzUgMjAuMDAwMkg1LjAwMDA1QzQuNDUwMDUgMjAuMDAwMiAzLjk3OTIyIDE5LjgwNDQgMy41ODc1NSAxOS40MTI3QzMuMTk1ODggMTkuMDIxIDMuMDAwMDUgMTguNTUwMiAzLjAwMDA1IDE4LjAwMDJWNi4wMDAyQzMuMDAwMDUgNS41ODM1MyAzLjExMjU1IDUuMjEyNyAzLjMzNzU1IDQuODg3N0MzLjU2MjU1IDQuNTYyNyAzLjg1MDA1IDQuMzI1MiA0LjIwMDA1IDQuMTc1MloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L3N2Zz4K',f['shareVideosIconSvg']='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjNWY2MzY4Ij48cGF0aCBkPSJNNjgwLTgwcS01MCAwLTg1LTM1dC0zNS04NXEwLTYgMy0yOEwyODItMzkycS0xNiAxNS0zNyAyMy41dC00NSA4LjVxLTUwIDAtODUtMzV0LTM1LTg1cTAtNTAgMzUtODV0ODUtMzVxMjQgMCA0NSA4LjV0MzcgMjMuNWwyODEtMTY0cS0yLTctMi41LTEzLjVUNTYwLTc2MHEwLTUwIDM1LTg1dDg1LTM1cTUwIDAgODUgMzV0MzUgODVxMCA1MC0zNSA4NXQtODUgMzVxLTI0IDAtNDUtOC41VDU5OC02NzJMMzE3LTUwOHEyIDcgMi41IDEzLjV0LjUgMTQuNXEwIDgtLjUgMTQuNVQzMTctNDUybDI4MSAxNjRxMTYtMTUgMzctMjMuNXQ0NS04LjVxNTAgMCA4NSAzNXQzNSA4NXEwIDUwLTM1IDg1dC04NSAzNVptMC04MHExNyAwIDI4LjUtMTEuNVQ3MjAtMjAwcTAtMTctMTEuNS0yOC41VDY4MC0yNDBxLTE3IDAtMjguNSAxMS41VDY0MC0yMDBxMCAxNyAxMS41IDI4LjVUNjgwLTE2MFpNMjAwLTQ0MHExNyAwIDI4LjUtMTEuNVQyNDAtNDgwcTAtMTctMTEuNS0yOC41VDIwMC01MjBxLTE3IDAtMjguNSAxMS41VDE2MC00ODBxMCAxNyAxMS41IDI4LjVUMjAwLTQ0MFptNDgwLTI4MHExNyAwIDI4LjUtMTEuNVQ3MjAtNzYwcTAtMTctMTEuNS0yOC41VDY4MC04MDBxLTE3IDAtMjguNSAxMS41VDY0MC03NjBxMCAxNyAxMS41IDI4LjVUNjgwLTcyMFptMCA1MjBaTTIwMC00ODBabTQ4MC0yODBaIi8+PC9zdmc+',f['linkIconSvg']='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjNWY2MzY4Ij48cGF0aCBkPSJNNDQwLTI4MEgyODBxLTgzIDAtMTQxLjUtNTguNVQ4MC00ODBxMC04MyA1OC41LTE0MS41VDI4MC02ODBoMTYwdjgwSDI4MHEtNTAgMC04NSAzNXQtMzUgODVxMCA1MCAzNSA4NXQ4NSAzNWgxNjB2ODBaTTMyMC00NDB2LTgwaDMyMHY4MEgzMjBabTIwMCAxNjB2LTgwaDE2MHE1MCAwIDg1LTM1dDM1LTg1cTAtNTAtMzUtODV0LTg1LTM1SDUyMHYtODBoMTYwcTgzIDAgMTQxLjUgNTguNVQ4ODAtNDgwcTAgODMtNTguNSAxNDEuNVQ2ODAtMjgwSDUyMFoiLz48L3N2Zz4=',f['checkMarkSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzUxMl8xMDY4IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPgo8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9IiNEOUQ5RDkiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzUxMl8xMDY4KSI+CjxwYXRoIGQ9Ik05LjU1MDEgMThMMy44NTAxIDEyLjNMNS4yNzUxIDEwLjg3NUw5LjU1MDEgMTUuMTVMMTguNzI1MSA1Ljk3NDk4TDIwLjE1MDEgNy4zOTk5OEw5LjU1MDEgMThaIiBmaWxsPSIjRjBGMEYwIi8+CjwvZz4KPC9zdmc+Cg==';},0x1fdc:function(j,q,F){var G=this&&this['__awaiter']||function(ap,aq,ar,as){return new(ar||(ar=Promise))(function(at,au){function av(ay){try{ax(as['next'](ay));}catch(az){au(az);}}function aw(ay){try{ax(as['throw'](ay));}catch(az){au(az);}}function ax(ay){var az;ay['done']?at(ay['value']):(az=ay['value'],az instanceof ar?az:new ar(function(aA){aA(az);}))['then'](av,aw);}ax((as=as['apply'](ap,aq||[]))['next']());});};Object['defineProperty'](q,'__esModule',{'value':!0x0}),q['isInitialized']=q['pushConsentEvent']=q['getAppContextManager']=q['setAbTestParams']=q['playContent']=q['playStories']=q['playStory']=q['setImaHandler']=q['setGoogleCustomNativeAdsHandler']=q['resumeCurrentPlayer']=q['pauseCurrentPlayer']=q['DataSourceBuilder']=q['LabelBuilder']=q['Delegations']=q['addDelegateListener']=q['Theme']=q['WidgetEmbeddedStory']=q['WidgetGridView']=q['WidgetRowView']=q['Initialize']=q['setExternalUserId']=q['setGeoLocation']=q['setDoNotTrack']=void 0x0;const H=F(0x26ed),J=F(0x2033),K=F(0x11c1),Q=F(0x132a),U=F(0x2432),V=F(0x23a6),W=F(0x1133),X=F(0x22d9),Y=F(0x1b0d);X['WidgetsFactory']['define']('blaze-sdk',V['BlazeWidgetSDK']);const Z={'environment':'prod','sendAnalytics':!0x0,'doNotTrack':!0x1,'externalUserId':'','geoLocation':'','runInShadowDom':!0x0,'shouldModifyUrlWithStoryId':!0x0,'shouldModifyUrlWithContentId':!0x0,'shouldDismissPlayer':!0x1,'shouldCreateUser':!0x0,'prefetchingPolicy':'default','shouldAllowHorizontalStories':!0x1,'layoutDirection':'LTR','shouldAllowClosedCaptions':!0x1};function a0(ap){K['ConfigService']['doNotTrack']=ap;}function a1(ap){K['ConfigService']['geoLocation']=(0, U['isValidCountryCode'])(ap)?ap:'';}function a2(ap){return G(this,void 0x0,void 0x0,function*(){K['ConfigService']['externalUserId']=ap,yield K['UserService']['refreshUserToken']();});}q['setDoNotTrack']=a0,q['setGeoLocation']=a1,q['setExternalUserId']=a2;let a3=!0x1;function a4(ap,aq={}){if(a3)return Promise['resolve']();a3=!0x0;const ar=(0, U['mergeDeep'])({},Z,aq,{'apiKey':ap});return new Promise(as=>{document['getElementsByTagName']('blaze-sdk')[0x0]?as():X['WidgetsFactory']['whenDefined']('blaze-sdk')['then'](()=>{const {environment:at,sendAnalytics:au,previewMomentUrl:av,previewUrl:aw,doNotTrack:ax,externalUserId:ay,geoLocation:az,runInShadowDom:aA,shouldModifyUrlWithStoryId:aB,shouldModifyUrlWithContentId:aC,shouldDismissPlayer:aD,playerStyleCustomization:aE,shouldCreateUser:aF,prefetchingPolicy:aG,shouldAllowHorizontalStories:aH,shouldAutoAdvance:aI,layoutDirection:aJ,shouldAllowClosedCaptions:aK,disableAutoLoadingContent:aL,staticContentType:aM}=ar,aN=document['createElement']('blaze-sdk');aN['setAttribute']('api-key',ap),aM&&aN['setAttribute']('static-content-type',aM),'boolean'==typeof aF&&aN['setAttribute']('should-create-user',aF['toString']()),'boolean'==typeof aK&&aN['setAttribute']('should-allow-closed-captions',aK['toString']()),'boolean'==typeof aL&&aN['setAttribute']('disable-auto-loading-content',aL['toString']()),aJ&&aN['setAttribute']('layout-direction',aJ),at&&aN['setAttribute']('environment',at),'boolean'==typeof au&&aN['setAttribute']('send-analytics',au['toString']()),'boolean'==typeof aA&&aN['setAttribute']('run-in-shadow-dom',aA['toString']()),'boolean'==typeof aB&&aN['setAttribute']('modifiy-url-with-story-id',aB['toString']()),'boolean'==typeof aC&&aN['setAttribute']('modifiy-url-with-content-id',aC['toString']()),aw&&aN['setAttribute']('preview-url',aw),av&&aN['setAttribute']('preview-moment-url',av),ax&&aN['setAttribute']('do-not-track',ax['toString']()),aH&&aN['setAttribute']('should-allow-horizontal-stories',aH['toString']()),ay&&aN['setAttribute']('external-user-id',ay),az&&aN['setAttribute']('geo-location',(0, U['isValidCountryCode'])(az)?az:''),aE&&aN['setPlayerStyleCustomization'](aE),aD&&aN['setAttribute']('should-dismiss-player',aD['toString']()),aI&&aN['setAttribute']('should-auto-advance',aI['toString']()),aG&&aN['setAttribute']('prefetching-policy',aG);const aO=document['querySelector']('body');aO?(aO['appendChild'](aN),as()):document['addEventListener']('DOMContentLoaded',()=>{const aP=document['querySelector']('body');null==aP||aP['appendChild'](aN),as();});});});}function a5(ap,aq,ar,as){var at;const {orderType:au,storyIds:av,contentIds:aw,maxItemsCount:ax,maxDisplayItemsCount:ay,labels:az,theme:aA,delegates:aB,labelsPriority:aC,perItemStyleOverrides:aD,shouldOrderWidgetByReadStatus:aE,contentType:aF='story',dataSource:aG,actionHandlers:aH}=ar,aI=document['createElement'](ap),aJ=document['querySelector']('#'+aq),aK=null==aJ?void 0x0:aJ['querySelector'](ap);if(aB&&aI['setDelegations'](aB),aJ){if(aK)K['EventService']['dispatch'](document['body'],H['Delegation']['onErrorThrown'],{'errorCode':H['ErrorCode']['FailedContainerIdHasWidgetAlready']});else {aI['setId'](aq),aF&&aI['setAttribute']('content-type',aF),aA?'string'==typeof aA&&aF?'video'===aF?aI['setTheme'](Q['ThemeFactory']['create'](aA,'video')):'moment'===aF?aI['setTheme'](Q['ThemeFactory']['create'](aA,'moment')):'story'===aF&&aI['setTheme'](Q['ThemeFactory']['create'](aA,'story')):(0, J['isWidgetTheme'])(aA)&&aI['setTheme'](aA):aI['setTheme'](as),aD&&aI['updateOverrideStyles'](aD),ax?aI['setMaxItemsSize'](ax):(null==aG?void 0x0:aG['maxItems'])&&aI['setMaxItemsSize'](aG['maxItems']),ay&&aI['setMaxItemsDisplaySize'](ay),au?aI['setAttribute']('order-type',au):(null==aG?void 0x0:aG['orderType'])&&aI['setAttribute']('order-type',aG['orderType']);const aL=Boolean(null==aE||aE)['toString']();aI['setAttribute']('should-order-widget-by-read-status',aL),(null==aG?void 0x0:aG['advancedOrdering'])&&aI['setAttribute']('advanced-ordering',aG['advancedOrdering']),(null==aG?void 0x0:aG['personalized'])&&aI['setPersonalized'](aG['personalized']),aC?aI['setLabelsPriority'](aC):(null==aG?void 0x0:aG['labelsPriority'])&&aI['setLabelsPriority'](aG['labelsPriority']),az?aI['setLabels'](az):'labels'===(null==aG?void 0x0:aG['type'])&&(null==aG?void 0x0:aG['labels'])&&aI['setLabels'](aG['labels']),(null==av?void 0x0:av['length'])?aI['setAttribute']('story-ids',av['join']()):(null==aw?void 0x0:aw['length'])?aI['setAttribute']('content-ids',aw['join']()):'ids'===(null==aG?void 0x0:aG['type'])&&(null===(at=null==aG?void 0x0:aG['ids'])||void 0x0===at?void 0x0:at['length'])&&aI['setAttribute']('content-ids',aG['ids']['join']()),(0, J['hasValidLabels'])(az,null==aG?void 0x0:aG['labels']),(0, J['hasValidIds'])(av,aw,null==aG?void 0x0:aG['ids']),aH&&aI['setActionHandlers'](aH);const aM=document['querySelector']('#'+aq);null==aM||aM['appendChild'](aI);}}else K['EventService']['dispatch'](document['body'],H['Delegation']['onErrorThrown'],{'errorCode':H['ErrorCode']['FailedToFindContainerId']});return aI;}function a6(ap,aq){switch(ap){case'video':return 'row'===aq?Q['ThemeFactory']['create']('row-rectangle-horizontal','video'):Q['ThemeFactory']['create']('grid-2-columns-horizontal','video');case'moment':return 'row'===aq?Q['ThemeFactory']['create']('row-circle','moment'):Q['ThemeFactory']['create']('grid-2-columns','moment');default:return 'row'===aq?Q['ThemeFactory']['create']('row-circle','story'):Q['ThemeFactory']['create']('grid-2-columns','story');}}function a7(ap,aq){return a5('blaze-widget-layout',ap,aq,a6(aq['contentType']||'story','row'));}function a8(ap,aq){return a5('blaze-widget-layout',ap,aq,a6(aq['contentType']||'story','grid'));}function a9(ap,aq){return a5('blaze-widget-embedded-story',ap,aq,Q['ThemeFactory']['create']('grid-2-columns'));}function aa(ap,aq='story'){if('video'===aq)return Q['ThemeFactory']['create'](ap,'video');if('moment'===aq)return Q['ThemeFactory']['create'](ap,'moment');if('story'!==aq&&aq)throw new Error('Invalid\x20content\x20type');return Q['ThemeFactory']['create'](ap,'story');}function ab(ap,aq,ar){document['addEventListener'](ap,aq,ar);}function ac(){return {'singleLabel':ap=>W['BlazeWidgetLabel']['singleLabel'](ap),'mustInclude':(...ap)=>W['BlazeWidgetLabel']['mustInclude'](...ap),'atLeastOneOf':(...ap)=>W['BlazeWidgetLabel']['atLeastOneOf'](...ap)};}function ad(){return {'labels':ap=>W['BlazeDataSourceFactory']['createLabelsDataSource'](ap),'ids':ap=>W['BlazeDataSourceFactory']['createIdsDataSource'](ap)};}function ae(ap){var aq;const ar=null===(aq=document['getElementsByTagName']('blaze-sdk'))||void 0x0===aq?void 0x0:aq[0x0];ar&&K['VideoPlayerService']['isPlaying']===ap&&ar instanceof V['BlazeWidgetSDK']&&ar['modal']['playToggleCurrentStory']();}function af(){ae(!0x0);}function ag(){ae(!0x1);}function ah(ap){K['ConfigService']['googleCustomNativeAdHandler']=ap;}function ai(ap){K['ConfigService']['imaAdHandler']=ap;}function aj(ap,aq,ar){return G(this,void 0x0,void 0x0,function*(){yield al('story',{'dataSource':ad()['ids']({'ids':[ap]}),'style':aq,'actionHandlers':ar});});}function ak(ap,aq,ar){return G(this,void 0x0,void 0x0,function*(){yield al('story',{'dataSource':ap,'style':aq,'actionHandlers':ar});});}function al(ap,aq){return G(this,void 0x0,void 0x0,function*(){var ar,as;try{W['BlazeDataSourceValidations']['validateFormat'](aq['dataSource']),'video'===K['ConfigService']['staticContentType']&&(K['VideoPlayerService']['playReference']='SingleContent'),yield Y['PlayerViewTemplate']['display'](ap,aq['dataSource'],{'actionHandlers':aq['actionHandlers'],'style':null!==(ar=null==aq?void 0x0:aq['style'])&&void 0x0!==ar?ar:am(ap),'orderByReadStatus':null===(as=null==aq?void 0x0:aq['shouldOrderContentByReadStatus'])||void 0x0===as||as});}catch(at){}});}function am(ap){switch(ap){case'video':return Q['Presets']['DefaultVideoStyle'];case'moment':return Q['Presets']['DefaultMomentStyle'];case'story':return Q['Presets']['DefaultStoryStyle'];}}function an(ap){K['UserService']['_abTest']=ap;}function ao(){return K['ConfigService']['appContext'];}q['Initialize']=a4,q['WidgetRowView']=a7,q['WidgetGridView']=a8,q['WidgetEmbeddedStory']=a9,q['Theme']=aa,q['addDelegateListener']=ab,q['Delegations']=H['Delegation'],q['LabelBuilder']=ac,q['DataSourceBuilder']=ad,q['pauseCurrentPlayer']=af,q['resumeCurrentPlayer']=ag,q['setGoogleCustomNativeAdsHandler']=ah,q['setImaHandler']=ai,q['playStory']=aj,q['playStories']=ak,q['playContent']=al,q['setAbTestParams']=an,q['getAppContextManager']=ao,q['pushConsentEvent']=K['AnalyticsService']['pushConsentEvent'],q['isInitialized']=()=>V['BlazeWidgetSDK']['isSdkConnected'](),q['default']={'Initialize':a4,'WidgetGridView':a8,'WidgetRowView':a7,'WidgetEmbeddedStory':a9,'Theme':aa,'addDelegateListener':ab,'setDoNotTrack':a0,'setGeoLocation':a1,'LabelBuilder':ac,'DataSourceBuilder':ad,'Delegations':H['Delegation'],'setGoogleCustomNativeAdsHandler':ah,'setImaHandler':ai,'pauseCurrentPlayer':af,'resumeCurrentPlayer':ag,'setExternalUserId':a2,'playStory':aj,'playStories':ak,'playContent':al,'setAbTestParams':an,'getAppContextManager':ao,'pushConsentEvent':q['pushConsentEvent'],'isInitialized':q['isInitialized']};},0x21d:function(d,f,g){var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['AdService']=void 0x0;const j=g(0x1133),k=g(0x23a6),l={'method':'HEAD','mode':'no-cors'};class m extends(0, j['Singleton'])(){constructor(){super(...arguments),this['canRunAds']=!0x1;}['init'](){return h(this,void 0x0,void 0x0,function*(){try{yield fetch('https://securepubads.g.doubleclick.net/pagead/ppub_config',l),yield fetch('https://imasdk.googleapis.com/js/sdkloader/ima3.js',l),this['canRunAds']=!0x0;}catch(p){this['canRunAds']=!0x1;}});}['pushAdsBetweenStories'](p,q,u,v,w,x,y='Full\x20Screen'){var z;if(!this['canRunAds'])return;if('EveryXStories'!==(null===(z=null==p?void 0x0:p['configuration'])||void 0x0===z?void 0x0:z['adsLocationType'])||v>=u['length']-0x1)return;const A=v-w,B=p['configuration']['adLocationsIndexes'][0x0];if('Web'===p['type']&&p['path']){if(v<w)return;if((A+0x1)%B!=0x0)return;const C='ad-between-stories-'+q['length'],D=new k['BlazeWidgetStory'](x,y),E={'description':'','isLive':!0x1,'pages':[{'id':C+'-page','type':'Ad','duration':0x5,'ignoreReadStatusForStory':!0x1,'hasViewed':!0x1,'createTime':new Date()['toLocaleString'](),'adInfo':p}],'isAd':!0x0,'id':C,'title':'','updateTime':'','createTime':'','thumbnails':[],'hasViewed':!0x1,'extraInfo':{}};D['setData'](E),q['push'](D);}else {if('IMA'===p['type']&&p['tag']){if(v<=w)return;if(A%B!=0x0)return;q[v]['shouldShowImaAdOnStart']=!0x0,q[v]['adInfo']=p;}}}['pushAdsBetweenMoments'](p,q,u,v,w){var x,y,z;if(!this['canRunAds'])return;const A=null!==(y=null===(x=null==p?void 0x0:p['configuration'])||void 0x0===x?void 0x0:x['adLocationsIndexes'][0x0])&&void 0x0!==y?y:0x1;if('Moment'!==(null===(z=null==p?void 0x0:p['configuration'])||void 0x0===z?void 0x0:z['type'])||A>0x1&&v<=w||v>=u['length']-0x1)return;const B=v-w;if('Web'===p['type']&&p['path']){if((B+0x1)%A!=0x0)return;const C='ad-between-moments-'+q['length'],D=new k['BlazeWidgetMoment']();return D['adInfo']=p,D['setData']({'id':C,'type':'Ad','adPath':p['path'],'duration':'5','thumbnails':[],'likes':0x0,'baseLayer':{'type':'Video','content':{'renditions':[]}},'poster':{'rendition':{'url':'','aspectRatio':'Vertical','bitRate':0x0,'fileSize':0x0},'type':'Image'},'cta':{'type':'Web','url':'','text':'','backgroundColor':'','textColor':'','enhancements':null},'momentIndexInPlaylist':0x0,'title':'','updateTime':'','createTime':'','hasViewed':!0x1,'isAd':!0x0,'extraInfo':{}}),q['push'](D),D;}if('IMA'===p['type']&&p['tag']){if(0x0===B)return;if(B%A!=0x0)return;q[v]['shouldShowImaAdOnStart']=!0x0,q[v]['adInfo']=p;}}}f['AdService']=m['getInstance']();},0x1ef4:function(f,g,j){var k=this&&this['__awaiter']||function(B,C,D,E){return new(D||(D=Promise))(function(F,G){function H(K){try{J(E['next'](K));}catch(L){G(L);}}function I(K){try{J(E['throw'](K));}catch(L){G(L);}}function J(K){var L;K['done']?F(K['value']):(L=K['value'],L instanceof D?L:new D(function(M){M(L);}))['then'](H,I);}J((E=E['apply'](B,C||[]))['next']());});},m=this&&this['__importDefault']||function(B){return B&&B['__esModule']?B:{'default':B};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['AnalyticsService']=void 0x0;const p=j(0x1c40),q=j(0x11c1),v=m(j(0x208a)),w=j(0x1133),x=j(0x1932),y=j(0x164),z=j(0x263);class A extends(0, w['Singleton'])(){constructor(){super(...arguments),this['events']=[],this['eventSessionCounter']=0x1;}['init'](){return k(this,void 0x0,void 0x0,function*(){const B=new p['UAParser'](navigator['userAgent']);this['uaParsed']=B['getResult'](),q['ConfigService']['sendAnalytics']&&setInterval(()=>{this['sendAnalyticsData']();},x['ONE_SECOND']);});}['sendAnalyticsData'](){return k(this,void 0x0,void 0x0,function*(){if(q['UserService']['userId']){if(q['UserService']['sessionId']&&this['events']['length'])try{const B=this['events']['map'](C=>{var D,E,F,G,H;return C['user']['generated_user_id']=q['ConfigService']['doNotTrack']?'do_not_track':q['UserService']['userId'],C['user']['external_user_id']=null!==(D=q['ConfigService']['externalUserId'])&&void 0x0!==D?D:'',C['user']['ab_test_id']=null!==(F=null===(E=q['UserService']['abTest'])||void 0x0===E?void 0x0:E['id'])&&void 0x0!==F?F:'',C['user']['ab_test_variant']=null!==(H=null===(G=q['UserService']['abTest'])||void 0x0===G?void 0x0:G['variant'])&&void 0x0!==H?H:'',C['session_id']=q['UserService']['sessionId'],C['widget']&&(C['widget']['page_view_id']=q['UserService']['sessionId']),C;});this['events']=[],yield this['bulkEvent'](B);}catch(C){}}else q['UserService']['assignUserId']();});}['bulkEvent'](B){return k(this,void 0x0,void 0x0,function*(){return B['forEach'](C=>{var D;let E=null!==(D=C['event_action'])&&void 0x0!==D?D:'Unknown\x20Action',F=!0x1;['cta_click','audio','cc_off','cc_on','share_click','share_success','playback_pause','playback_play']['includes'](E)&&('moment'===C['event_category']&&C['moment']?(E='$'+E,F=!0x0):'video'===C['event_category']&&C['video']&&(E='#'+E,F=!0x0));const G=x['exposedFieldsByAction'][E];F&&(E=E['substring'](0x1));const H={},I=(0, y['flattenObject'])(C);if(G){for(const J of G)I['hasOwnProperty'](J)&&(H[J]=I[J]);}q['EventService']['dispatchAnaltyicsEvents'](E,H);}),q['ApiService']['sendAnaltyicsEvents'](B);});}['pushStoryEvent'](B,C,D=void 0x0,E=void 0x0){this['events']['push'](this['setupEvent'](w['Category']['Story'],B['toString'](),C,D,E));}['pushMomentEvent'](B,C,D=void 0x0,E=void 0x0){this['events']['push'](this['setupEvent'](w['Category']['Moment'],B['toString'](),C,D,E));}['pushVideoEvent'](B,C,D=void 0x0,E=void 0x0){this['events']['push'](this['setupEvent'](w['Category']['Video'],B['toString'](),C,D,E));}['pushAdEvent'](B,C,D=void 0x0,E=void 0x0){this['events']['push'](this['setupEvent'](w['Category']['Ad'],B['toString'](),C,D,E));}['pushConsentEvent'](B,C){g['AnalyticsService']['events']['push'](g['AnalyticsService']['setupEvent'](w['Category']['Consent'],B['toString'](),C,void 0x0,void 0x0));}['pushImaAdEvent'](B,C,D=void 0x0,E=void 0x0){this['events']['push'](this['setupEvent'](w['Category']['Ad'],B['toString'](),C,D,E));}['pushInteractionEvent'](B,C,D=void 0x0,E=void 0x0){this['events']['push'](this['setupEvent'](w['Category']['Interaction'],B['toString'](),C,D,E));}['pushWidgetEvent'](B,C,D=void 0x0,E=void 0x0){this['events']['push'](this['setupEvent'](w['Category']['Widget'],B['toString'](),C,D,E));}['setupEvent'](B,D,F,G=void 0x0,H=void 0x0){var J,K,L,N,O,P,Q,R,U,V,W,X,Y,Z;const a0=new w['AnalyticsEvent']();if(a0[B]=F,a0['api_scheme_version']='2',a0['sdk_event_session_counter']=this['eventSessionCounter']++,a0['sdk_event_id']=(0, z['v4'])(),a0['timestamp_utc']=(0, y['formatUTCDate'])(new Date()),a0['timestamp_user_tz']=(0, y['formatDate'])(new Date()),a0['sdk_type']='web',a0['sdk_version']=v['default']['version'],a0['sdk_id']='web',a0['event_action']=D,a0['user']['locale']=null===navigator||void 0x0===navigator?void 0x0:navigator['language'],a0['tech']['user_agent']=null===navigator||void 0x0===navigator?void 0x0:navigator['userAgent'],a0['session_id']=q['UserService']['sessionId'],a0['page']['page_url']=null===location||void 0x0===location?void 0x0:location['href'],this['uaParsed']){a0['tech']['browser']=null===(J=this['uaParsed']['browser'])||void 0x0===J?void 0x0:J['name'],a0['tech']['browser_version']=null===(K=this['uaParsed']['browser'])||void 0x0===K?void 0x0:K['version'],a0['tech']['os']=null===(L=this['uaParsed']['os'])||void 0x0===L?void 0x0:L['name'],a0['tech']['os_version']=null===(N=this['uaParsed']['os'])||void 0x0===N?void 0x0:N['version'],a0['tech']['device_model']=null===(O=this['uaParsed']['device'])||void 0x0===O?void 0x0:O['model'],a0['tech']['device_brand']=null===(P=this['uaParsed']['device'])||void 0x0===P?void 0x0:P['vendor'];const a3={'mobile':'Phone','tablet':'Tablet','undefined':'Desktop'}[null===(Q=this['uaParsed']['device'])||void 0x0===Q?void 0x0:Q['type']]||(null===(R=this['uaParsed']['device'])||void 0x0===R?void 0x0:R['type']);a0['tech']['device_type']=a3;}a0['tech']['screen_resolution']=(null===(U=null===window||void 0x0===window?void 0x0:window['screen'])||void 0x0===U?void 0x0:U['availWidth'])+'x'+(null===(V=null===window||void 0x0===window?void 0x0:window['screen'])||void 0x0===V?void 0x0:V['availHeight']),a0['tech']['screen_color']=null===(X=null===(W=null===window||void 0x0===window?void 0x0:window['screen'])||void 0x0===W?void 0x0:W['colorDepth'])||void 0x0===X?void 0x0:X['toString']();const a1=(null===window||void 0x0===window?void 0x0:window['innerWidth'])||document['documentElement']['clientWidth']||document['body']['clientWidth'],a2=(null===window||void 0x0===window?void 0x0:window['innerHeight'])||document['documentElement']['clientHeight']||document['body']['clientHeight'];if(a0['tech']['browser_size']=a1+'x'+a2,(null===(Y=navigator['connection'])||void 0x0===Y?void 0x0:Y['effectiveType'])&&(a0['tech']['connection_type']=null===(Z=navigator['connection'])||void 0x0===Z?void 0x0:Z['effectiveType']),H&&(a0['referring']=H),G&&(a0['event_label']=G,a0['referring']['labels_expression']=G),a0['event_category']=B['toString'](),B==w['Category']['Widget']&&a0['widget']){a0['widget']['page_view_id']=q['UserService']['sessionId'],a0['widget']['page_size']=a0['tech']['browser_size'];const a4=null===window||void 0x0===window?void 0x0:window['location']['href']['indexOf']('#blaze'),a5=-0x1!==a4?null===window||void 0x0===window?void 0x0:window['location']['href']['slice'](0x0,a4):null===window||void 0x0===window?void 0x0:window['location']['href'];a0['widget']['page_type']=/^(https?:\/\/[^/]+\/?)$/i['test'](a5)?'Homepage':'Category/Article';}return a0;}}g['AnalyticsService']=A['getInstance']();},0xd34:function(f,g,h){var j=this&&this['__awaiter']||function(w,x,y,z){return new(y||(y=Promise))(function(A,B){function C(F){try{E(z['next'](F));}catch(G){B(G);}}function D(F){try{E(z['throw'](F));}catch(G){B(G);}}function E(F){var G;F['done']?A(F['value']):(G=F['value'],G instanceof y?G:new y(function(H){H(G);}))['then'](C,D);}E((z=z['apply'](w,x||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['ApiService']=void 0x0;const k=h(0x11c1),m=h(0x66b),p=h(0x1133),q=h(0x2432),u='UserManagement';class v extends(0, p['Singleton'])(){constructor(){super(...arguments),this['api']={};}['init'](){return j(this,void 0x0,void 0x0,function*(){this['api']=new m['API']({'baseUrl':k['ConfigService']['apiUrl'],'analyticsBaseUrl':k['ConfigService']['analyticsApiUrl']});});}['setAdsOnStories'](w,x){var y;return 'EveryXStories'===(null===(y=null==x?void 0x0:x['configuration'])||void 0x0===y?void 0x0:y['adsLocationType'])?w:k['AdService']['canRunAds']?w['map'](z=>{var A,B,C;const D=null!==(A=null==x?void 0x0:x['configuration'])&&void 0x0!==A?A:null===(B=z['adInfo'])||void 0x0===B?void 0x0:B['configuration'],E=null!==(C=z['adInfo'])&&void 0x0!==C?C:x,F=null==D?void 0x0:D['adLocationsIndexes']['sort']((G,H)=>G-H);switch(null==E?void 0x0:E['type']){case'Web':const G=z['pages']['length'];let H=0x0;null==F||F['forEach'](I=>{G>I&&(z['pages']['splice'](I+H,0x0,{'id':'ad-'+z['id']+'-'+I,'duration':0x5,'ignoreReadStatusForStory':!0x1,'hasViewed':!0x1,'type':'Ad','createTime':new Date()['toLocaleString'](),'adInfo':E}),H++);});break;case'IMA':null==F||F['forEach'](I=>{const J=z['pages']['at'](I);'Content'===(null==J?void 0x0:J['type'])&&(J['adInfo']=E,J['shouldShowImaAd']=!0x0);});}return z;}):w;}['getStoriesByIds'](w){return j(this,void 0x0,void 0x0,function*(){var x,y,z;const {showLiveFirst:A}=w,B=Object['assign'](Object['assign'](Object['assign']({},this['getContentParamsByIds'](w)),A&&{'showLiveFirst':A}),(0, q['getPersonalizedParamsForRequest'])(w['personalized'])),C=yield this['api']['get']('stories/ids',{'urlSearchParams':B});return Object['assign'](Object['assign']({},C),{'result':this['setAdsOnStories'](null!==(y=null===(x=C['data'])||void 0x0===x?void 0x0:x['result'])&&void 0x0!==y?y:[],null===(z=C['data'])||void 0x0===z?void 0x0:z['defaultAdsInfo'])});});}['getStoriesByLabels'](w){return j(this,void 0x0,void 0x0,function*(){var x,y,z;const {showLiveFirst:A,personalized:B}=w,C=Object['assign'](Object['assign'](Object['assign']({},this['getContentParamsByLabels'](w)),A&&{'showLiveFirst':A}),(0, q['getPersonalizedParamsForRequest'])(B)),D=yield this['api']['get']('stories',{'urlSearchParams':C});return Object['assign'](Object['assign']({},D),{'result':this['setAdsOnStories'](null!==(y=null===(x=D['data'])||void 0x0===x?void 0x0:x['result'])&&void 0x0!==y?y:[],null===(z=D['data'])||void 0x0===z?void 0x0:z['defaultAdsInfo'])});});}['getMomentByIds'](w){return j(this,void 0x0,void 0x0,function*(){const x=yield this['api']['get']('moments/ids',{'urlSearchParams':this['getContentParamsByIds'](w)});return Object['assign']({},x);});}['getMomentsByLabels'](w){return j(this,void 0x0,void 0x0,function*(){return yield this['api']['get']('moments',{'urlSearchParams':this['getContentParamsByLabels'](w)});});}['updateMomentLikeStatus'](w){return j(this,void 0x0,void 0x0,function*(){yield this['api']['put']('Moments/like',{'urlSearchParams':w,'auth':!0x0});});}['getStaticStories'](){return j(this,void 0x0,void 0x0,function*(){var w;for(let x=0x1;x<=0x3;x++){const y=null===(w=null===document||void 0x0===document?void 0x0:document['getElementById']('wsc-response'))||void 0x0===w?void 0x0:w['textContent'];if(!y)return null;try{const z=JSON['parse'](y),A=this['setAdsOnStories']([z]);return A['length']>0x0?A[0x0]:null;}catch(B){if(!(x<0x3))return null;yield new Promise(C=>setTimeout(C,0x1f4));}}return null;});}['getVideosByIds'](w){return j(this,void 0x0,void 0x0,function*(){const x=yield this['api']['get']('videos/ids',{'urlSearchParams':this['getContentParamsByIds'](w)});return Object['assign']({},x);});}['getVideosByLabels'](w){return j(this,void 0x0,void 0x0,function*(){const x=yield this['api']['get']('videos',{'urlSearchParams':this['getContentParamsByLabels'](w)});return Object['assign']({},x);});}['updateVideosLikeStatus'](w){return j(this,void 0x0,void 0x0,function*(){yield this['api']['put']('Videos/like',{'urlSearchParams':w,'auth':!0x0});});}['sendAnaltyicsEvents'](w){return j(this,void 0x0,void 0x0,function*(){let x='events';k['ConfigService']['doNotTrack']&&(x+='_do_not_track');const y=k['ConfigService']['analyticsApiUrl']+'/'+x,z={'api_key':k['ConfigService']['apiKey']?k['ConfigService']['apiKey']:''};return yield this['api']['post']('',{'urlSearchParams':z,'baseUrl':y,'init':{'body':JSON['stringify'](w),'keepalive':!0x0}});});}['sendInteractionResponse'](w){return j(this,void 0x0,void 0x0,function*(){yield this['api']['put']('Interactions/Response/'+w['interactionType']+'/'+w['interactionId'],{'init':{'body':JSON['stringify'](w['responseId'])},'auth':!0x0});});}['getUserToken'](w){return this['api']['post'](u,{'init':{'body':JSON['stringify'](w)},'urlSearchParams':{'clientPlatform':'Web'}});}['refreshUserToken'](w){return this['api']['put'](u,{'urlSearchParams':{'clientPlatform':'Web'},'init':{'body':JSON['stringify'](w)}});}['getAppConfigurations'](){return this['api']['get']('AppConfigurations',{'urlSearchParams':{'clientPlatform':'Web'}});}['getContentDefaultParams'](w){return Object['assign']({'clientPlatform':'Web'},w['orderType']&&{'orderType':w['orderType']});}['getContentParamsByLabels'](w){return Object['assign'](Object['assign'](Object['assign'](Object['assign'](Object['assign']({},this['getContentDefaultParams'](w)),k['ConfigService']['geoLocation']&&{'geo':k['ConfigService']['geoLocation']}),{'labelsFilterExpression':w['labels']}),w['maxItems']&&{'maxItems':w['maxItems']['toString']()}),w['labelsPriority']&&{'labelsPriority':w['labelsPriority']});}['getContentParamsByIds'](w){return Object['assign'](Object['assign']({},this['getContentDefaultParams'](w)),{'ids':w['ids']['join'](',')});}}g['ApiService']=v['getInstance']();},0x1e1c:function(f,g,h){var j=this&&this['__awaiter']||function(w,x,y,z){return new(y||(y=Promise))(function(A,B){function C(F){try{E(z['next'](F));}catch(G){B(G);}}function D(F){try{E(z['throw'](F));}catch(G){B(G);}}function E(F){var G;F['done']?A(F['value']):(G=F['value'],G instanceof y?G:new y(function(H){H(G);}))['then'](C,D);}E((z=z['apply'](w,x||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['AppConfigurationService']=void 0x0;const k=h(0x1133),m=h(0x26ed),p=h(0x2432),q=h(0xd34),u=h(0x18a4);class v extends(0, k['Singleton'])(){constructor(){super();}get['appConfigurations'](){return this['_appConfigurations'];}['init'](w){return j(this,void 0x0,void 0x0,function*(){if(w['staticContent']||w['staticContentType'])return;let x=0x3,y=!0x1;for(;x>0x0&&!y;){const z=yield q['ApiService']['getAppConfigurations']();if(z['error']){x--,yield (0, p['delay'])(0xc8);continue;}y=!0x0;const A=z['data'];this['_appConfigurations']=A;}if(!y)throw u['EventService']['dispatch'](document['body'],m['Delegation']['onErrorThrown'],{'errorCode':m['ErrorCode']['FailedLoadingAppConfigurations']}),new Error('Error\x20in\x20getAppConfigurations');});}}g['AppConfigurationService']=v['getInstance']();},0x1f9e:function(d,f,g){var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ConfigService']=void 0x0;const j=g(0x1133),k=g(0x11c1);class l extends(0, j['Singleton'])(){constructor(){super(),this['_sendAnalytics']=!0x0,this['_doNotTrack']=!0x1,this['_staticContent']=!0x1,this['_runInShadowDom']=!0x0,this['_shouldModifyUrlWithStoryId']=!0x0,this['_shouldModifyUrlWithContentId']=!0x0,this['_shouldDismissPlayer']=!0x1,this['_shouldAutoAdvance']=!0x1,this['_shouldCreateUser']=!0x0,this['_shouldAllowHorizontalStories']=!0x1,this['_appContext']={},this['_russiaRegionCDN']='https://blazesdk-prod-cdn-fd.clipro.tv',this['_urls']={'prod':'https://blazesdk-prod-cdn.clipro.tv','prod_RU':this['_russiaRegionCDN'],'prod_BY':this['_russiaRegionCDN'],'uat':'https://blazesdk-uat-cdn.clipro.tv','local':'https://localhost.clipro.tv:5001'},this['_analyticsUrls']={'prod':'https://blaze-audit.clipro.tv/api/eventaudit/v1','uat':'https://blaze-audit-uat.clipro.tv/api/eventaudit/v1','local':'https://blaze-audit-uat.clipro.tv/api/eventaudit/v1'},this['_globalStorageCDN']='https://sdk.mvp.fan',this['_russiaStorageCDN']='https://sdk-fd.mvp.fan',this['_sdkStorageCDNs']={'prod':this['_globalStorageCDN'],'prod_RU':this['_russiaStorageCDN'],'prod_BY':this['_russiaStorageCDN'],'uat':this['_globalStorageCDN'],'local':this['_globalStorageCDN']};}['init'](m){return h(this,void 0x0,void 0x0,function*(){const {apiKey:q,environment:w,sendAnalytics:x,previewMomentUrl:z,previewUrl:A,doNotTrack:B,externalUserId:D,geoLocation:F,staticContent:G,staticContentType:H,runInShadowDom:I,shouldModifyUrlWithStoryId:J,shouldModifyUrlWithContentId:K,shouldDismissPlayer:L,shouldCreateUser:M,prefetchingPolicy:N,shouldAllowHorizontalStories:O,shouldAutoAdvance:P,autoAdvanceUrl:Q,layoutDirection:R,shouldAllowClosedCaptions:T,disableAutoLoadingContent:U}=m;this['environment']=w||'prod',this['prefetchingPolicy']=N||'default',this['_apiKey']=q,this['_previewUrl']=A,this['_previewMomentUrl']=z,this['_externalUserId']=D||'',this['_geoLocation']=F||'',this['_prefetchingPolicy']=N,this['_autoAdvanceUrl']=Q||'',this['_layoutDirection']=R,this['_shouldAllowClosedCaptions']=T,this['_disableAutoLoadingContent']=U,!0x0===G&&(this['_staticContent']=!0x0),H&&(this['_staticContentType']=H),!0x0===B&&(this['_doNotTrack']=!0x0),!0x0===O&&(this['_shouldAllowHorizontalStories']=!0x0),!0x1===x&&(this['_sendAnalytics']=!0x1),!0x1===I&&(this['_runInShadowDom']=!0x1),!0x1===J&&(this['_shouldModifyUrlWithStoryId']=!0x1),!0x1===K&&(this['_shouldModifyUrlWithContentId']=!0x1),!0x0===L&&(this['_shouldDismissPlayer']=!0x0),!0x0===P&&(this['_shouldAutoAdvance']=!0x0),!0x1===M&&(this['_shouldCreateUser']=!0x1);});}['getEnvUrl'](m,p){var q;return null!==(q=m[p+'_'+k['UserCountryService']['userCountry']])&&void 0x0!==q?q:m[p];}['getServiceUrl'](m){return this['getEnvUrl'](this['_urls'],m);}['getAnalyticsUrl'](m){return this['getEnvUrl'](this['_analyticsUrls'],m);}['throwOrLog'](m){if('undefined'!=typeof window&&('localhost'===window['location']['hostname']||'127.0.0.1'===window['location']['hostname']||window['location']['hostname']['includes']('blob.core.windows.net')))throw new Error(m);}get['environment'](){if(!this['_environment'])throw new Error('Environment\x20not\x20set');return this['_environment'];}set['environment'](m){this['_environment']=m;const p=this['getServiceUrl'](m);this['_apiUrl']=p+'/api/blazesdk/v1.3',this['_analyticsApiUrl']=this['getAnalyticsUrl'](m),this['_sdkStorageCDN']=this['getEnvUrl'](this['_sdkStorageCDNs'],m);}get['sendAnalytics'](){return this['_sendAnalytics'];}get['shouldCreateUser'](){return this['_shouldCreateUser'];}get['analyticsApiUrl'](){return this['_analyticsApiUrl'];}get['externalUserId'](){return this['_externalUserId']?this['_externalUserId']:null;}set['externalUserId'](m){this['_externalUserId']=m;}get['doNotTrack'](){return this['_doNotTrack'];}set['doNotTrack'](m){this['_doNotTrack']=m;}get['shouldAllowHorizontalStories'](){return this['_shouldAllowHorizontalStories'];}set['shouldAllowHorizontalStories'](m){this['_shouldAllowHorizontalStories']=m;}get['geoLocation'](){return this['_geoLocation'];}set['geoLocation'](m){this['_geoLocation']=m;}get['staticContent'](){return this['_staticContent'];}set['staticContent'](m){this['_staticContent']=m;}get['staticContentType'](){return this['_staticContentType'];}set['staticContentType'](m){this['_staticContentType']=m;}get['apiUrl'](){if(!this['_apiUrl'])throw new Error('API\x20url\x20not\x20set');return this['_apiUrl'];}get['sdkStorageCDN'](){var m;return this['_sdkStorageCDN']||this['throwOrLog']('SDK\x20Storage\x20CDN\x20not\x20set'),null!==(m=this['_sdkStorageCDN'])&&void 0x0!==m?m:this['_globalStorageCDN'];}get['apiKey'](){if(!this['_apiKey'])throw new Error('API\x20key\x20not\x20set');return this['_apiKey'];}get['previewUrl'](){if(!this['_previewUrl'])throw new Error('Preview\x20url\x20not\x20set');return this['_previewUrl'];}get['previewMomentsUrl'](){if(!this['_previewMomentUrl'])throw new Error('Preview\x20moments\x20url\x20not\x20set');return this['_previewMomentUrl'];}get['runInShadowDom'](){return this['_runInShadowDom'];}get['playerStyleCustomization'](){return this['_playerStyleCustomization'];}set['playerStyleCustomization'](m){this['_playerStyleCustomization']=m;}get['shouldModifyUrlWithStoryId'](){return this['_shouldModifyUrlWithStoryId'];}get['shouldModifyUrlWithContentId'](){return this['_shouldModifyUrlWithContentId'];}get['shouldDismissPlayer'](){return this['_shouldDismissPlayer'];}get['shouldAutoAdvance'](){return this['_shouldAutoAdvance'];}get['autoAdvanceUrl'](){return this['_autoAdvanceUrl'];}get['googleCustomNativeAdHandler'](){return this['_googleCustomNativeAdHandler'];}set['googleCustomNativeAdHandler'](m){this['_googleCustomNativeAdHandler']=m;}get['imaAdHandler'](){return this['_imaAdHandler'];}set['imaAdHandler'](m){this['_imaAdHandler']=m;}get['prefetchingPolicy'](){if(!this['_prefetchingPolicy'])throw new Error('Prefetching\x20policy\x20not\x20set');return this['_prefetchingPolicy'];}set['prefetchingPolicy'](m){this['_prefetchingPolicy']=m;}get['excludeContentId'](){return this['_excludeContentId'];}set['excludeContentId'](m){this['_excludeContentId']=m;}get['layoutDirection'](){return this['_layoutDirection'];}set['layoutDirection'](m){this['_layoutDirection']=m;}get['shouldAllowClosedCaptions'](){return this['_shouldAllowClosedCaptions'];}get['appContext'](){return this['_appContext'];}set['appContext'](m){this['_appContext']=m;}get['disableAutoLoadingContent'](){return this['_disableAutoLoadingContent'];}set['disableAutoLoadingContent'](m){this['_disableAutoLoadingContent']=m;}}f['ConfigService']=l['getInstance']();},0x3e5:function(d,f,g){var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['DatabaseService']=void 0x0;const j=g(0x1133),k=g(0xe1c);class l extends(0, j['Singleton'])(){constructor(){super(...arguments),this['database']={};}['init'](){return h(this,void 0x0,void 0x0,function*(){try{this['database']=new k['Database']({'databaseName':'blaze-store','version':0x5}),yield this['database']['init']();}catch(m){}});}['getUserId'](){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](k['DB_NAMES']['USER'],'user_id');}catch(m){throw m;}});}['updateUserId'](m){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['update'](k['DB_NAMES']['USER'],{'id':'user_id','value':m});}catch(p){throw p;}});}['getPageViewed'](m){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](k['DB_NAMES']['STORIES'],m);}catch(p){throw p;}});}['updatePageViewed'](m,p){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['update'](k['DB_NAMES']['STORIES'],{'id':m,'storyId':p});}catch(q){throw q;}});}['isPageViewed'](m){return h(this,void 0x0,void 0x0,function*(){try{const {data:p,error:q}=yield this['getPageViewed'](m);return !q&&p;}catch(r){return !0x1;}});}['enrichStories'](m){return h(this,void 0x0,void 0x0,function*(){try{Object['keys'](this['database'])['length']||(yield this['init']());for(const p of m)for(const q of p['pages']){const r=yield this['isPageViewed'](q['id']);if(q['hasViewed']=r,'Content'===q['type']&&q['interaction']){const u=yield this['getInteraction'](q['interaction']['id']);(null==u?void 0x0:u['data'])&&!u['error']&&(yield this['updateInteraction']({'id':q['interaction']['id'],'initData':q['interaction']['initData'],'userResponse':u['data']['userResponse']}));}}return m;}catch(v){return m;}});}['updateInteraction'](m){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['update'](k['DB_NAMES']['INTERACTIONS'],m);}catch(p){throw p;}});}['getInteraction'](m){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](k['DB_NAMES']['INTERACTIONS'],m);}catch(p){return null;}});}['updateMomentLike'](m,p){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['update'](k['DB_NAMES']['MOMENTS'],{'id':m,'liked':p,'viewed':!0x0});}catch(q){return null;}});}['getMomentLike'](m){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](k['DB_NAMES']['MOMENTS'],m);}catch(p){return null;}});}['updateViewedMoment'](m){return h(this,void 0x0,void 0x0,function*(){var p,q;try{const r=yield this['getMomentLike'](m),u={'id':m,'viewed':!0x0,'liked':null!==(q=null===(p=null==r?void 0x0:r['data'])||void 0x0===p?void 0x0:p['liked'])&&void 0x0!==q&&q};return yield this['database']['update'](k['DB_NAMES']['MOMENTS'],u);}catch(v){throw null;}});}['getViewedMoment'](m){return h(this,void 0x0,void 0x0,function*(){try{const {data:p}=yield this['database']['get'](k['DB_NAMES']['MOMENTS'],m);return !!p;}catch(q){return !0x1;}});}['enrichMoments'](m){return h(this,void 0x0,void 0x0,function*(){Object['keys'](this['database'])['length']||(yield this['init']());for(const p of m)p['hasViewed']=yield this['getViewedMoment'](p['id']);return m;});}['updateVideoReadStatus'](m,p){return h(this,void 0x0,void 0x0,function*(){if(!m)throw new Error('videoId\x20is\x20required\x20to\x20update\x20read\x20status.');try{const q=yield this['database']['get'](k['DB_NAMES']['VIDEOS'],m);let r;if(q&&q['data'])return;r={'liked':!0x1,'id':m,'currentTime':0x0,'posterCurrentTime':''},yield this['database']['update'](k['DB_NAMES']['VIDEOS'],r);}catch(u){throw u;}});}['getVideoData'](m){return h(this,void 0x0,void 0x0,function*(){if(!m)return null;try{const p=yield this['database']['get'](k['DB_NAMES']['VIDEOS'],m);return p&&p['data']?p['data']:null;}catch(q){return null;}});}['updateVideoData'](m,p){return h(this,void 0x0,void 0x0,function*(){if(!m)throw new Error('videoId\x20is\x20required\x20to\x20update\x20video\x20data.');try{const q=yield this['database']['get'](k['DB_NAMES']['VIDEOS'],m);let r;r=q&&q['data']?Object['assign'](Object['assign']({},q['data']),p):Object['assign']({'liked':!0x1,'id':m,'currentTime':0x0,'posterCurrentTime':''},p),yield this['database']['update'](k['DB_NAMES']['VIDEOS'],r);}catch(u){throw u;}});}['getVideoLike'](m){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](k['DB_NAMES']['VIDEOS'],m);}catch(p){return null;}});}['getVideoPosterById'](m){return h(this,void 0x0,void 0x0,function*(){if(m)try{const p=yield this['database']['get'](k['DB_NAMES']['VIDEOS'],m);return p&&p['data']?p['data']['posterCurrentTime']:void 0x0;}catch(q){return;}});}}f['DatabaseService']=l['getInstance']();},0xd3e:function(d,f,g){var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ErrorService']=void 0x0;const j=g(0x1133);class k extends(0, j['Singleton'])(){['init'](){return h(this,void 0x0,void 0x0,function*(){});}}f['ErrorService']=k['getInstance']();},0x9f3:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['EventBusService']=void 0x0;const h=g(0x1133);class j extends(0, h['Singleton'])(){constructor(){super(...arguments),this['subscribers']={};}['init'](){this['subscribers']={};}['publish'](k,l){const m=this['subscribers'][k];void 0x0!==m&&Object['keys'](m)['forEach'](p=>m[p](l));}['subscribe'](k,l){const m=this['getNextId']();return this['subscribers'][k]||(this['subscribers'][k]={}),this['subscribers'][k][m]=l,{'unsubscribed':()=>{delete this['subscribers'][k][m],0x0===Object['keys'](this['subscribers'][k])['length']&&delete this['subscribers'][k];}};}['getNextId'](){return j['nextId']++;}}j['nextId']=0x0,f['EventBusService']=j['getInstance']();},0x18a4:function(d,f,g){var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['EventService']=void 0x0;const j=g(0x1133),k=g(0x26ed);class l extends(0, j['Singleton'])(){constructor(){super();}['init'](){return h(this,void 0x0,void 0x0,function*(){this['rootElement']=document['querySelector']('blaze-sdk');});}['dispatch'](m,p,q={}){var r;const u=new CustomEvent(p['toString'](),{'bubbles':!0x0,'detail':q,'cancelable':!0x0});return null===(r=m['dispatchEvent'])||void 0x0===r||r['call'](m,u),{'mainEvent':u};}['dispatchAnaltyicsEvents'](m,p){var q,r;const u=new CustomEvent(k['Delegation']['onEventTriggered'],{'bubbles':!0x0,'detail':{'eventType':m,'eventData':p},'cancelable':!0x0});return null===(r=null===(q=this['rootElement'])||void 0x0===q?void 0x0:q['dispatchEvent'])||void 0x0===r||r['call'](q,u),{'mainEvent':u};}}f['EventService']=l['getInstance']();},0x11c1:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x21d),f),j(g(0x1ef4),f),j(g(0xd34),f),j(g(0x1e1c),f),j(g(0x1f9e),f),j(g(0x3e5),f),j(g(0xd3e),f),j(g(0x9f3),f),j(g(0x18a4),f),j(g(0x128c),f),j(g(0xfe7),f),j(g(0x1868),f),j(g(0x331),f),j(g(0x1737),f),j(g(0x1d1c),f),j(g(0x26ff),f),j(g(0xcf),f),j(g(0x26bd),f),j(g(0x1cf8),f),j(g(0x1cad),f),j(g(0x2564),f);},0x128c:function(d,f,g){var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['InteractionService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0, k['Singleton'])(){constructor(){super();}['init'](){return h(this,void 0x0,void 0x0,function*(){});}['updateInteraction'](m){return h(this,void 0x0,void 0x0,function*(){try{yield j['DatabaseService']['updateInteraction'](m);}catch(p){}});}['getInteraction'](m){return h(this,void 0x0,void 0x0,function*(){var p;try{return null===(p=yield j['DatabaseService']['getInteraction'](m))||void 0x0===p?void 0x0:p['data'];}catch(q){return null;}});}}f['InteractionService']=l['getInstance']();},0xfe7:function(d,f,g){var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LikeService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0, k['Singleton'])(){constructor(){super();}['init'](){return h(this,void 0x0,void 0x0,function*(){});}['updateMomentLike'](m,p){return h(this,void 0x0,void 0x0,function*(){try{yield j['DatabaseService']['updateMomentLike'](p,m),yield j['ApiService']['updateMomentLikeStatus']({'momentId':p,'setLiked':m});}catch(q){}});}['isMomentLiked'](m){return h(this,void 0x0,void 0x0,function*(){try{const p=yield j['DatabaseService']['getMomentLike'](m);return !(!p||!p['data'])&&p['data']['liked'];}catch(q){return !0x1;}});}['updateVideoLike'](m,p){return h(this,void 0x0,void 0x0,function*(){try{yield j['DatabaseService']['updateVideoData'](p,{'liked':m}),yield j['ApiService']['updateVideosLikeStatus']({'videoId':p,'setLiked':m});}catch(q){}});}['isVideoLiked'](m){return h(this,void 0x0,void 0x0,function*(){try{const p=yield j['DatabaseService']['getVideoLike'](m);return !(!p||!p['data'])&&p['data']['liked'];}catch(q){return !0x1;}});}}f['LikeService']=l['getInstance']();},0x1868:function(d,f,g){var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LoggerService']=void 0x0;const j=g(0x1133);var k;!function(m){m['INFO']='info',m['WARN']='warn',m['ERROR']='error';}(k||(k={}));class l extends(0, j['Singleton'])(){constructor(){super(),this['isEnabled']=!0x1,this['logStack']=[];}['init'](){return h(this,void 0x0,void 0x0,function*(){const m=window['location']['search'],p=new URLSearchParams(m);this['isEnabled']='true'===p['get']('wsc_debug');});}['getCurrentTime'](){const m=new Date();return m['getHours']()['toString']()['padStart'](0x2,'0')+':'+m['getMinutes']()['toString']()['padStart'](0x2,'0')+':'+m['getSeconds']()['toString']()['padStart'](0x2,'0')+'.'+m['getMilliseconds']()['toString']()['padStart'](0x3,'0');}['logToConsole']({message:m,level:p=k['INFO'],metadata:q={}}){this['getCurrentTime'](),this['logStack']['push']({'message':m,'level':p,'metadata':q});}['log']({message:m,level:p=k['INFO'],metadata:q={}}){this['isEnabled']&&this['logToConsole']({'message':m,'level':p,'metadata':q});}['info'](m,p){this['log']({'message':m,'level':k['INFO'],'metadata':p});}['warn'](m,p){this['log']({'message':m,'level':k['WARN'],'metadata':p});}['error'](m,p){this['log']({'message':m,'level':k['ERROR'],'metadata':p});}['printLogsToScreen'](){this['logStack']['forEach'](m=>{});}}f['LoggerService']=l['getInstance']();},0x1cf8:function(d,f,g){var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['MomentService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0, k['Singleton'])(){['init'](){}['fetchContent'](m){return h(this,void 0x0,void 0x0,function*(){const {type:p,labels:q,ids:u,orderType:v,maxItems:w,labelsPriority:x}=m;let y,z;if('ids'===p&&u)({data:y,error:z}=yield j['ApiService']['getMomentByIds']({'ids':u,'orderType':v}));else {if('labels'===p&&q){const A=Array['isArray'](q)?q['join']():q['toString']();({data:y,error:z}=yield j['ApiService']['getMomentsByLabels']({'labels':A,'orderType':v,'maxItems':w,'labelsPriority':x}));}}return null==y||y['result']['map'](B=>{B['type']='Content';}),y||{'assetsExpiryTime':'','totalItems':0x0,'result':[]};});}['updateMomentReadStatusById'](m){return h(this,void 0x0,void 0x0,function*(){return yield j['DatabaseService']['updateViewedMoment'](m);});}['enrichContent'](m){return h(this,void 0x0,void 0x0,function*(){return yield j['DatabaseService']['enrichMoments'](m);});}}f['MomentService']=l['getInstance']();},0x331:function(d,f,g){var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StartupService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0, k['Singleton'])(){['init'](m){return h(this,void 0x0,void 0x0,function*(){m['staticContent']||(yield j['UserCountryService']['init']()),yield j['ConfigService']['init'](m),yield j['VideoPlayerService']['init'](),yield j['ErrorService']['init'](),yield j['VideoCacheService']['init'](),yield j['ApiService']['init'](),yield j['AppConfigurationService']['init'](m),yield j['UserService']['init'](),yield j['AnalyticsService']['init'](),yield j['WidgetsService']['init'](),yield j['EventService']['init'](),yield j['DatabaseService']['init'](),yield j['AdService']['init'](),yield j['LoggerService']['init'](),yield j['InteractionService']['init'](),yield j['MomentService']['init'](),yield j['StoryService']['init'](),yield j['VideoService']['init']();});}}f['StartupService']=l['getInstance']();},0x1cad:function(d,f,g){var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StoryService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0, k['Singleton'])(){['init'](){}['fetchContent'](m){return h(this,void 0x0,void 0x0,function*(){const {type:p,labels:q,labelsPriority:u,ids:v,orderType:w,maxItems:x,advancedOrdering:y,personalized:z}=m;let A,B;if('ids'===p&&v)({data:A,error:B}=yield j['ApiService']['getStoriesByIds']({'ids':v,'orderType':w,'showLiveFirst':'LiveFirst'===y,'personalized':z}));else {if('labels'===p&&q){const C=Array['isArray'](q)?q['join']():q['toString']();({data:A,error:B}=yield j['ApiService']['getStoriesByLabels']({'labels':C,'orderType':w,'maxItems':x,'labelsPriority':u,'showLiveFirst':'LiveFirst'===y,'personalized':z}));}}return A||{'assetsExpiryTime':'','totalItems':0x0,'result':[]};});}['enrichContent'](m){return h(this,void 0x0,void 0x0,function*(){try{return yield j['DatabaseService']['enrichStories'](m);}catch(p){throw p;}});}}f['StoryService']=l['getInstance']();},0x2564:function(d,f,g){var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['UserCountryService']=void 0x0;const j=g(0x1133);class k extends(0, j['Singleton'])(){constructor(){super(...arguments),this['_userCountry']='';}['init'](){return h(this,void 0x0,void 0x0,function*(){this['_userCountry']=yield this['detectCountry']();});}get['userCountry'](){return this['_userCountry'];}['updateCountry'](){return h(this,void 0x0,void 0x0,function*(){this['_userCountry']=yield this['detectCountry']();});}['getCachedCountry'](){return localStorage['getItem'](k['USER_CACHE_KEY']);}['cacheCountry'](l){localStorage['setItem'](k['USER_CACHE_KEY'],l),localStorage['setItem'](k['USER_CACHE_LAST_UPDATE_KEY'],Date['now']()['toString']());}['getLastUpdate'](){const l=localStorage['getItem'](k['USER_CACHE_LAST_UPDATE_KEY']);return l?Number(l):0x0;}['detectCountry'](){return h(this,void 0x0,void 0x0,function*(){const l=this['getCachedCountry'](),m=this['getLastUpdate'](),p=Date['now']();if(l)return p-m>k['USER_CACHE_UPDATE_INTERVAL_MS']&&this['fetchAndUpdateCountry']()['catch'](()=>{}),l;return (yield this['fetchAndUpdateCountry']())||this['getCountryFromTimezone']();});}['fetchAndUpdateCountry'](){return h(this,void 0x0,void 0x0,function*(){const l=yield this['fetchCountryFromApi']();return l&&this['cacheCountry'](l),l;});}['fetchCountryFromApi'](){return h(this,void 0x0,void 0x0,function*(){const l=k['API_TIMEOUT_MS'];try{const m=new AbortController(),p=setTimeout(()=>m['abort'](),l),q=yield fetch('https://ipapi.co/country/',{'signal':m['signal']});if(clearTimeout(p),q['ok']){const r=(yield q['text']())['trim']()['toUpperCase']();if(0x2===r['length'])return r;}}catch(u){}return '';});}['getCountryFromTimezone'](){try{const l=Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];if(l&&k['timezoneCountryMap'][l])return k['timezoneCountryMap'][l];}catch(m){}return '';}}k['USER_CACHE_KEY']='userCountry',k['USER_CACHE_LAST_UPDATE_KEY']='userCountryLastUpdate',k['USER_CACHE_UPDATE_INTERVAL_MS']=0x36ee80,k['API_TIMEOUT_MS']=0x7d0,k['timezoneCountryMap']={'Europe/Kaliningrad':'RU','Europe/Moscow':'RU','Europe/Simferopol':'RU','Europe/Volgograd':'RU','Europe/Samara':'RU','Asia/Yekaterinburg':'RU','Asia/Omsk':'RU','Asia/Novosibirsk':'RU','Asia/Barnaul':'RU','Asia/Tomsk':'RU','Asia/Novokuznetsk':'RU','Asia/Krasnoyarsk':'RU','Asia/Irkutsk':'RU','Asia/Chita':'RU','Asia/Yakutsk':'RU','Asia/Khandyga':'RU','Asia/Vladivostok':'RU','Asia/Ust-Nera':'RU','Asia/Magadan':'RU','Asia/Sakhalin':'RU','Asia/Srednekolymsk':'RU','Asia/Kamchatka':'RU','Asia/Anadyr':'RU'},f['UserCountryService']=k['getInstance']();},0x1737:function(f,g,j){var k=this&&this['__awaiter']||function(B,C,D,E){return new(D||(D=Promise))(function(F,G){function H(K){try{J(E['next'](K));}catch(L){G(L);}}function I(K){try{J(E['throw'](K));}catch(L){G(L);}}function J(K){var L;K['done']?F(K['value']):(L=K['value'],L instanceof D?L:new D(function(M){M(L);}))['then'](H,I);}J((E=E['apply'](B,C||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['UserService']=void 0x0;const m=j(0x11c1),p=j(0x1133),q=j(0x26ed),v=j(0x2432),w=j(0x1932),x='accessToken',y='refreshToken',z='userId';class A extends(0, p['Singleton'])(){constructor(){super(),this['_userId']='',this['_sessionId']='',this['_abTest']=null,m['EventBusService']['subscribe']('BlazeDatabaseServiceOpen',this['onBlazeDatabaseServiceOpen']['bind'](this));}get['userId'](){return this['_userId'];}get['sessionId'](){return this['_sessionId'];}get['abTest'](){return this['_abTest'];}set['abTest'](B){this['_abTest']=B;}['init'](){return k(this,void 0x0,void 0x0,function*(){m['ConfigService']['shouldCreateUser']&&(yield this['makeSureCurrentExternalUserTokenExists']());const B=new URLSearchParams(window['location']['search'])['get'](p['URL_PARAMS']['SESSION_ID']);B&&(this['_sessionId']=B,p['URLManager']['removeStringParamsFromCurrentUrl'](p['URL_PARAMS']['SESSION_ID']));});}['ensureSessionId'](){this['_sessionId']||(this['_sessionId']=(0, v['getRandomId'])());}['assignUserId'](){return k(this,void 0x0,void 0x0,function*(){this['_userId']=yield this['getUserId']();});}['onBlazeDatabaseServiceOpen'](){return k(this,void 0x0,void 0x0,function*(){try{yield this['assignUserId'](),this['ensureSessionId']();}catch(B){}});}['getUserId'](){return k(this,void 0x0,void 0x0,function*(){if(this['userId'])return this['userId'];let B=yield this['fetchUserIdFromDatabase']();return B||(B=yield this['handleMissingUserId']()),yield m['DatabaseService']['updateUserId'](B),p['URLManager']['removeStringParamsFromCurrentUrl'](p['URL_PARAMS']['USER_ID']),B;});}['fetchUserIdFromDatabase'](){return k(this,void 0x0,void 0x0,function*(){try{const B=(yield m['DatabaseService']['getUserId']())['data'];return B?B['value']:null;}catch(C){return null;}});}['handleMissingUserId'](){return k(this,void 0x0,void 0x0,function*(){return new URLSearchParams(window['location']['search'])['get'](p['URL_PARAMS']['USER_ID'])||(0, v['getRandomId'])();});}['makeSureCurrentExternalUserTokenExists'](){return k(this,void 0x0,void 0x0,function*(){const B=this['getUserTokenDataFromStorage'](),C=this['getStorageItem']('externalId'),D=m['ConfigService']['externalUserId'];B&&C===D||(yield this['getAndStoreNewUserToken']());});}['getAndStoreNewUserToken'](){return k(this,void 0x0,void 0x0,function*(){const B={'externalId':m['ConfigService']['externalUserId']},{data:C,error:D,httpStatus:E}=yield m['ApiService']['getUserToken'](B);!D&&E===q['HttpStatus']['Ok']&&C&&this['storeUserTokenData'](C,B['externalId']);});}['refreshUserToken'](){return k(this,void 0x0,void 0x0,function*(){const B=this['getUserTokenDataFromStorage']();let C=!0x1;if(B){const D={'externalId':m['ConfigService']['externalUserId'],'tokenData':B};let E=0x0;for(;!C&&E<0x3;){const {data:F,error:G,httpStatus:H}=yield m['ApiService']['refreshUserToken'](D);!G&&H===q['HttpStatus']['Ok']&&F?(this['storeUserTokenData'](F,D['externalId']),C=!0x0):(yield (0, v['delay'])(0xc8),E++);}}C||(yield this['getAndStoreNewUserToken']());});}['storeUserTokenData'](B,C){this['setStorageItem'](x,B['accessToken']),this['setStorageItem'](y,B['refreshToken']),this['setStorageItem'](z,B['userId']),this['setStorageItem']('externalId',C);}['getUserTokenDataFromStorage'](){const B=this['getStorageItem'](x),C=this['getStorageItem'](y),D=this['getStorageItem'](z);if(B&&C&&D)return {'accessToken':B,'refreshToken':C,'userId':D};}['setStorageItem'](B,C){const D=w['WSC_STORAGE_PREFIX']+B;C?localStorage['setItem'](D,C):localStorage['removeItem'](D);}['getStorageItem'](B){return localStorage['getItem'](w['WSC_STORAGE_PREFIX']+B);}}g['UserService']=A['getInstance']();},0x1d1c:function(d,f,g){var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoCacheService']=void 0x0;const j=g(0x1133),k=g(0x23b6),l=g(0x11c1);class m extends(0, j['Singleton'])(){constructor(){super(),this['cache']={},this['cacheName']='blaze-video-cache',this['downloadControllers']=new Map(),this['cacheList']=new Map(),this['cacheInitialized']=!0x1,this['sizeLimit']=0x15e00000;}['init'](){return h(this,void 0x0,void 0x0,function*(){this['retryCacheInitialization'](0x3);});}['retryCacheInitialization'](p){return h(this,void 0x0,void 0x0,function*(){for(;p>0x0;)try{return this['cache']=yield caches['open'](this['cacheName']),yield this['clearAllCache'](),this['cacheInitialized']=!0x0,void this['checkCacheSize']();}catch(q){--p>0x0&&(yield new Promise(u=>setTimeout(u,k['ONE_SECOND'])));}});}['checkCacheSize'](){return h(this,void 0x0,void 0x0,function*(){if('storage'in navigator&&'estimate'in navigator['storage'])try{const {usage:p,quota:q}=yield navigator['storage']['estimate']();if(p&&q&&p/0x100000>this['sizeLimit']){let u='',v=new Date();this['cacheList']['forEach']((w,x)=>{w<v&&(v=w,u=x);}),this['deleteCacheVideoByUrl'](u);}}catch(w){}});}['isVideoDownloading'](p){return this['downloadControllers']['has'](p);}['isInitialized'](){return this['cacheInitialized'];}['fetchAndCache'](p){return h(this,void 0x0,void 0x0,function*(){try{const {abort:q,ready:u,signal:v}=yield function(y,z){return h(this,void 0x0,void 0x0,function*(){const A=new AbortController(),B=A['signal'],C=()=>A['abort']();try{return {'abort':C,'ready':yield fetch(y,Object['assign'](Object['assign']({},z),{'signal':B})),'signal':B};}catch(D){throw D;}});}(p,{'mode':'no-cors','priority':'high'});this['downloadControllers']['set'](p,{'abort':q,'ready':u,'signal':v});const w=yield u;if(v['aborted'])return w;const x=w['clone']();return yield this['cacheResponse'](p,x),x;}catch(y){l['LoggerService']['error']('VideoCacheService\x20-\x20fetchAndCache\x20-\x20failed\x20to\x20init\x20cache\x20-\x20'+y);}finally{this['downloadControllers']['delete'](p);}});}['cacheResponse'](p,q){return h(this,void 0x0,void 0x0,function*(){try{this['cacheList']['set'](p,new Date()),yield this['cache']['put'](p,q);}catch(u){l['LoggerService']['error']('VideoCacheService\x20-\x20cacheResponse\x20-\x20failed\x20to\x20cache\x20repsonse\x20-\x20'+u);}finally{this['checkCacheSize']();}});}['addCacheVideoByUrl'](p){return h(this,void 0x0,void 0x0,function*(){return (yield this['cache']['match'](p))||(yield this['fetchAndCache'](p));});}['isVideoCached'](p){return h(this,void 0x0,void 0x0,function*(){return !!(yield this['cache']['match'](p));});}['abortDownload'](p){return h(this,void 0x0,void 0x0,function*(){const q=this['downloadControllers']['get'](p);q&&(q['abort'](),this['downloadControllers']['delete'](p));});}['deleteCacheVideoByUrl'](p){return h(this,void 0x0,void 0x0,function*(){return yield this['cache']['delete'](p)['then'](()=>!0x0)['catch'](q=>(l['LoggerService']['error']('VideoCacheService\x20-\x20deleteCacheVideoByUrl\x20-\x20failed\x20to\x20delete\x20video\x20from\x20cache\x20-\x20'+q),!0x1));});}['clearAllCache'](){return h(this,void 0x0,void 0x0,function*(){try{const p=(yield this['cache']['keys']())['map'](q=>this['deleteCacheVideoByUrl'](q['url']));yield Promise['all'](p);}catch(q){l['LoggerService']['error']('VideoCacheService\x20-\x20clearAllCache\x20-\x20failed\x20to\x20clear\x20cache\x20-\x20'+q);}});}['downloadAndCacheVideo'](p){return h(this,void 0x0,void 0x0,function*(){this['cacheInitialized']&&(this['downloadControllers']['has'](p)||(yield this['addCacheVideoByUrl'](p)));});}['deleteVideoFromCache'](p){return h(this,void 0x0,void 0x0,function*(){this['cacheInitialized']&&(this['abortDownload'](p),(yield this['isVideoCached'](p))&&(yield this['deleteCacheVideoByUrl'](p)));});}}f['VideoCacheService']=m['getInstance']();},0x26ff:function(d,f,g){var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoPlayerService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0, k['Singleton'])(){constructor(){super(),this['_isMuted']=!0x0,this['_isPlaying']=!0x0,this['_isNavigating']=!0x1,this['_isModalOpen']=!0x1,this['_isSeekBarDragging']=!0x1,this['_currentPlayedContentId']='',this['_playerLayoutDisplay']='normal',this['muteStateBeforeAd']='no-ad',this['_playReference']='Widget',this['updateExcludeContentIdFromURL']();}['init'](){return h(this,void 0x0,void 0x0,function*(){});}get['isMuted'](){return this['_isMuted'];}set['isMuted'](m){this['_isMuted']=m;}['updateExcludeContentIdFromURL'](){const m=new URLSearchParams(window['location']['search'])['get'](k['URL_PARAMS']['EXCLUDE_CONTENT_ID']);m&&(j['ConfigService']['excludeContentId']=m,k['URLManager']['removeStringParamsFromCurrentUrl'](k['URL_PARAMS']['EXCLUDE_CONTENT_ID']));}get['currentlyPlayedContentId'](){return this['_currentPlayedContentId'];}set['currentlyPlayedContentId'](m){this['_currentPlayedContentId']=m;}get['isPlaying'](){return this['_isPlaying'];}set['isPlaying'](m){this['_isPlaying']=m;}get['isNavigating'](){return this['_isNavigating'];}set['isNavigating'](m){this['_isNavigating']=m;}get['playReference'](){return this['_playReference'];}set['playReference'](m){this['_playReference']=m;}get['isModalOpen'](){return this['_isModalOpen'];}set['isModalOpen'](m){this['_isModalOpen']=m;}get['isSeekBarDragging'](){return this['_isSeekBarDragging'];}set['isSeekBarDragging'](m){this['_isSeekBarDragging']=m;}get['playerLayout'](){return this['_playerLayoutDisplay'];}set['playerLayout'](m){this['_playerLayoutDisplay']=m;}}f['VideoPlayerService']=l['getInstance']();},0xcf:function(d,f,g){var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0, k['Singleton'])(){['init'](){return h(this,void 0x0,void 0x0,function*(){yield this['loadHlsScript'](0x3);});}['loadHlsScript'](m){return new Promise((p,q)=>{if(window['Hls'])return p();const r=document['createElement']('script');r['type']='text/javascript',r['src']=j['ConfigService']['sdkStorageCDN']+'/web-sdk/js/hls.js@1.5.20.js',r['onload']=()=>{window['Hls']?p():m>0x1?this['loadHlsScript'](m-0x1)['then'](p)['catch'](q):q(new Error('Hls\x20failed\x20to\x20load.'));},r['onerror']=()=>{m>0x1?this['loadHlsScript'](m-0x1)['then'](p)['catch'](q):q(new Error('Failed\x20to\x20load\x20Hls\x20script.'));},document['getElementsByTagName']('blaze-sdk')[0x0]['appendChild'](r);});}['fetchContent'](m){return h(this,void 0x0,void 0x0,function*(){const {type:p,labels:q,ids:u,orderType:v,maxItems:w,labelsPriority:x}=m;let y,z;if('ids'===p&&u)({data:y,error:z}=yield j['ApiService']['getVideosByIds']({'ids':u,'orderType':v}));else {if('labels'===p&&q){const A=Array['isArray'](q)?q['join']():q['toString']();({data:y,error:z}=yield j['ApiService']['getVideosByLabels']({'labels':A,'orderType':v,'maxItems':w,'labelsPriority':x}));}}return null==y||y['result']['map'](B=>{B['type']='Content';}),y||{'assetsExpiryTime':'','totalItems':0x0,'result':[]};});}['enrichContent'](m){return h(this,void 0x0,void 0x0,function*(){for(const p of m)p['hasViewed']=Boolean(yield j['DatabaseService']['getVideoData'](p['id']));return m;});}['getVideoDataById'](m){return h(this,void 0x0,void 0x0,function*(){return yield j['DatabaseService']['getVideoData'](m);});}['updateVideoDataById'](m,p){return h(this,void 0x0,void 0x0,function*(){return yield j['DatabaseService']['updateVideoData'](m,p);});}['markVideoAsViewed'](m,p){return h(this,void 0x0,void 0x0,function*(){return yield j['DatabaseService']['updateVideoReadStatus'](m,p);});}}f['VideoService']=l['getInstance']();},0x26bd:function(f,g,h){var j=this&&this['__awaiter']||function(w,x,y,z){return new(y||(y=Promise))(function(A,B){function C(F){try{E(z['next'](F));}catch(G){B(G);}}function D(F){try{E(z['throw'](F));}catch(G){B(G);}}function E(F){var G;F['done']?A(F['value']):(G=F['value'],G instanceof y?G:new y(function(H){H(G);}))['then'](C,D);}E((z=z['apply'](w,x||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['WidgetsService']=void 0x0;const k=h(0x1133),m=h(0x1699),p=h(0x22d9),q=h(0x774),u=h(0x23a6);class v extends(0, k['Singleton'])(){['init'](){return j(this,void 0x0,void 0x0,function*(){p['WidgetsFactory']['define']('blaze-widget-vast-ad',u['BlazeWidgetVastAd']),p['WidgetsFactory']['define']('blaze-widget-ad',u['BlazeWidgetAd']),p['WidgetsFactory']['define']('blaze-widget-embedded-story',u['BlazeWidgetEmbeddedStory']),p['WidgetsFactory']['define']('blaze-widget-modal',u['BlazeWidgetModal']),p['WidgetsFactory']['define']('blaze-widget-item',u['BlazeWidgetItem']),p['WidgetsFactory']['define']('blaze-widget-layout',u['BlazeWidgetLayout']),p['WidgetsFactory']['define']('blaze-widget-story',u['BlazeWidgetStory']),p['WidgetsFactory']['define']('blaze-widget-story-player',u['BlazeWidgetStoryPlayer']),p['WidgetsFactory']['define']('blaze-widget-story-modal',u['BlazeWidgetStoryModal']),p['WidgetsFactory']['define']('blaze-widget-moment',u['BlazeWidgetMoment']),p['WidgetsFactory']['define']('blaze-widget-moment-player',u['BlazeWidgetMomentPlayer']),p['WidgetsFactory']['define']('blaze-widget-moment-modal',u['BlazeWidgetMomentModal']),p['WidgetsFactory']['define']('blaze-widget-moment-seek-bar',u['BlazeWidgetMomentSeekBar']),p['WidgetsFactory']['define']('blaze-widget-video',u['BlazeWidgetVideo']),p['WidgetsFactory']['define']('blaze-widget-share-modal',u['BlazeWidgetShareModal']),p['WidgetsFactory']['define']('blaze-widget-cc-modal',u['BlazeWidgetClosedCaptionsModal']),p['WidgetsFactory']['define']('blaze-widget-cta-modal',u['BlazeWidgetCtaModal']),p['WidgetsFactory']['define']('blaze-widget-interaction',u['BlazeWidgetInteraction']),p['WidgetsFactory']['define']('blaze-widget-banner-ad',u['BlazeWidgetBannerAd']),p['WidgetsFactory']['define']('blaze-widget-captions',u['BlazeWidgetCaptions']),p['WidgetsFactory']['define']('blaze-video-element',u['BlazeVideoElement']),p['WidgetsFactory']['define']('blaze-video-long-form-overlay',q['BlazeLongFormControlsOverlay']),p['WidgetsFactory']['define']('blaze-widget-video-player',q['BlazeWidgetVideoPlayer']),p['WidgetsFactory']['define']('blaze-video-modal',q['BlazeWidgetVideoModal']),p['WidgetsFactory']['define']('blaze-video-navigation-overlay',q['BlazeVideoNavigationOverlay']),p['WidgetsFactory']['define']('blaze-video-seek-bar',q['BlazeVideoSeekBar']),p['WidgetsFactory']['define']('blaze-loader',m['BlazeLoader']),p['WidgetsFactory']['define']('blaze-chip',m['BlazeChip']),p['WidgetsFactory']['define']('blaze-image',m['BlazeImage']),p['WidgetsFactory']['define']('blaze-alert',m['BlazeAlert']),p['WidgetsFactory']['define']('blaze-modal',m['BlazeDrawer']),p['WidgetsFactory']['define']('blaze-player-menu',m['BlazePlayerMenu']),p['WidgetsFactory']['define']('blaze-div',m['BlazeDiv']),p['WidgetsFactory']['define']('blaze-share-button',m['BlazeShareButton']),p['WidgetsFactory']['define']('blaze-button',m['BlazeButton']),p['WidgetsFactory']['define']('blaze-button-cta',m['BlazeCtaButton']),p['WidgetsFactory']['define']('blaze-call-to-action-button',m['BlazeCallToActionButton']),p['WidgetsFactory']['define']('blaze-typography',m['BlazeTypography']),p['WidgetsFactory']['define']('blaze-timer',q['BlazeTimer']);});}}g['WidgetsService']=v['getInstance']();},0x1b0d:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x22de),f);},0x22de:function(d,f,g){var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['PlayerViewTemplate']=void 0x0;const j=g(0x132a),k=g(0x2382),m=g(0x19b0),p=g(0x1d65);class q{static['display'](u,v,w){return h(this,void 0x0,void 0x0,function*(){const x=this['templates'][u];if(x&&this['validateStyleType'](u,w['style']))switch(u){case'story':case'video':case'moment':return x['render'](v,{'style':w['style'],'actionHandlers':w['actionHandlers']},w['orderByReadStatus']);}});}static['validateStyleType'](u,v){switch(u){case'story':if(!(0, j['isStoryPlayerStyle'])(v))return !0x1;break;case'video':if(!(0, j['isVideoPlayerStyle'])(v))return !0x1;break;case'moment':if(!(0, j['isMomentPlayerStyle'])(v))return !0x1;}return !0x0;}}f['PlayerViewTemplate']=q,q['templates']={'story':new k['StoryModalTemplate'](),'video':new m['VideoModalTemplate'](),'moment':new p['MomentModalTemplate']()};},0x20b2:function(d,f,g){var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BaseModalTemplate']=void 0x0;const j=g(0x26ed),k=g(0x11c1),l=g(0x2473);f['BaseModalTemplate']=class{['render'](m,p,q){return h(this,void 0x0,void 0x0,function*(){let u;try{if(u=this['validateRequirements'](m),!u['isValid']||!u['blazeSdk']||!u['dataSourceStringRep'])return;const {blazeSdk:v,dataSourceStringRep:w}=u,x=yield this['fetchContent'](m);if(!this['validateContentResponse'](x,v,w))return;const y=this['createModal'](document['body'],p['style'],p['actionHandlers']),z=this['getService']();let A=this['filterContent'](x['result']);z['enrichContent']&&(A=yield z['enrichContent'](A)),q&&(A=A['sort'](l['sortContentByViewedStatus'])),this['configureModal'](y,A),this['openModal'](y,v);}catch(B){(null==u?void 0x0:u['blazeSdk'])&&u['dataSourceStringRep']&&this['handleError'](B,u['blazeSdk'],u['dataSourceStringRep']);}});}['validateRequirements'](m){if(!m)return {'isValid':!0x1,'blazeSdk':null,'dataSourceStringRep':void 0x0};const p=document['getElementsByTagName']('blaze-sdk')[0x0];if(!p)return {'isValid':!0x1,'blazeSdk':null,'dataSourceStringRep':void 0x0};const q=(0, l['getDataSourceStringRep'])(m);return q?{'isValid':!0x0,'blazeSdk':p,'dataSourceStringRep':q}:{'isValid':!0x1,'blazeSdk':p,'dataSourceStringRep':void 0x0};}['filterContent'](m){var p;return (null===(p=k['ConfigService']['excludeContentId'])||void 0x0===p?void 0x0:p['length'])?m['filter'](q=>!k['ConfigService']['excludeContentId']['includes'](q['id'])):m;}['validateContentResponse'](m,p,q){var r;return !!(null===(r=null==m?void 0x0:m['result'])||void 0x0===r?void 0x0:r['length'])||(k['EventService']['dispatch'](p,j['Delegation']['onErrorThrown'],{'id':q,'errorCode':this['getErrorCode']()}),!0x1);}['openModal'](m,p){try{p['appendChild'](m),m['open'](),m['onClose']=()=>m['remove']();}catch(q){throw q;}}['handleError'](m,p,q){q&&k['EventService']['dispatch'](p,j['Delegation']['onErrorThrown'],{'id':q,'errorCode':this['getErrorCode'](),'error':m instanceof Error?m['message']:String(m)});}['fetchContent'](m){return h(this,void 0x0,void 0x0,function*(){return this['getService']()['fetchContent'](m);});}};},0x1529:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x20b2),f),j(g(0x2382),f),j(g(0x19b0),f),j(g(0x1d65),f);},0x1d65:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['MomentModalTemplate']=void 0x0;const h=g(0x1529),j=g(0x26ed),k=g(0x11c1),l=g(0x23a6);class m extends h['BaseModalTemplate']{['createModal'](p,q,u){const v=new l['BlazeWidgetMomentModal'](p,q,u);return v['id']='blaze-moment-modal-'+Math['random']()['toString'](0x24),v['playerLayout']=q,v;}['configureModal'](p,q){var u;p['setModalContent'](q,0x0,void 0x0),p['seek'](null!==(u=q[0x0]['id'])&&void 0x0!==u?u:'');}['getService'](){return k['MomentService'];}['getErrorCode'](){return j['ErrorCode']['FailedLoadingMoments'];}}f['MomentModalTemplate']=m;},0x2382:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StoryModalTemplate']=void 0x0;const h=g(0x1529),j=g(0x11c1),k=g(0x23a6),l=g(0x26ed);class m extends h['BaseModalTemplate']{['createModal'](p,q,u){const v=new k['BlazeWidgetStoryModal'](p,q,u);return v['id']='blaze-story-modal-'+Math['random']()['toString'](0x24),v['playerLayout']=q,v;}['configureModal'](p,q){var u;p['setModalContent'](q,0x0,void 0x0),p['player']['contentList']['forEach'](v=>{v['startTrigger']='UI\x20Button',v['resetStoryLocationIndexToLastUnseen']();}),p['seek'](null!==(u=q[0x0]['id'])&&void 0x0!==u?u:'');}['getService'](){return j['StoryService'];}['getErrorCode'](){return l['ErrorCode']['FailedLoadingStories'];}}f['StoryModalTemplate']=m;},0x19b0:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoModalTemplate']=void 0x0;const h=g(0x1529),j=g(0x26ed),k=g(0x11c1),l=g(0xa29);class m extends h['BaseModalTemplate']{['createModal'](p,q){const u=new l['BlazeWidgetVideoModal'](p,q);return u['id']='blaze-video-modal-'+Math['random']()['toString'](0x24),u['playerLayout']=q,u;}['configureModal'](p,q){var u;p['setModalContent'](q),p['seek'](null!==(u=q[0x0]['id'])&&void 0x0!==u?u:'');}['getService'](){return k['VideoService'];}['getErrorCode'](){return j['ErrorCode']['FailedLoadingVideos'];}}f['VideoModalTemplate']=m;},0x116a:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['getDataSourceStringRep']=void 0x0;const h=g(0x1133);f['getDataSourceStringRep']=function(j){var k;if('labels'===j['type']){if('string'==typeof j['labels'])return j['labels'];if(Array['isArray'](j['labels']))return j['labels']['join']();if(j['labels']instanceof h['BlazeWidgetLabel'])return j['labels']['toString']();}else {if('ids'===j['type'])return null===(k=j['ids'])||void 0x0===k?void 0x0:k['join']();}};},0x2473:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x116a),f),j(g(0x79c),f);},0x79c:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['sortContentByViewedStatus']=void 0x0;const h=g(0x2432);f['sortContentByViewedStatus']=function(j,k){let l=j['hasViewed'],m=k['hasViewed'];return (0, h['isStory'])(j)&&(0, h['isStory'])(k)&&(l=j['pages']['every'](p=>p['hasViewed']),m=k['pages']['every'](p=>p['hasViewed'])),l&&!m?0x1:!l&&m?-0x1:0x0;};},0x132a:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x1c8f),f),j(g(0x173),f),j(g(0x1636),f);},0x1c8f:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Presets']=void 0x0;const h=g(0x1932),j=g(0x115),k=g(0x1636);class l{}f['Presets']=l,l['widgetFont']='\x27WSC\x20Open\x20Sans\x27',l['playerFont']='\x27WSC\x20Open\x20Sans\x27',l['iconDefaultStyle']={'isVisible':!0x1,'url':j['externalLinkIconSvg'],'size':'24px','color':'inherit'},l['CtaButtonStyle']={'color':'','backgroundColor':'','borderRadius':'8px','padding':'0','border':'','fontSize':'16px','font':l['playerFont'],'fontWeight':'700','textTransform':'uppercase','isAnimated':!0x1,'isDisplayCtaModal':!0x0,'width':'100%','height':'40px','position':'CENTER','icon':l['iconDefaultStyle']},l['StatusLiveStyle']={'backgroundColor':k['Colors']['ReadGray'],'backgroundImage':'none','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'14px','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['ReadGray'],'text':'LIVE','isVisible':!0x0,'padding':'3px\x209px'},l['StatusLiveUnreadStyle']={'backgroundColor':k['Colors']['LiveChip'],'backgroundImage':'none','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'14px','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['LiveChip'],'text':'LIVE','isVisible':!0x0,'padding':'3px\x209px'},l['StatusReadStyle']={'backgroundColor':k['Colors']['ReadGray'],'backgroundImage':'none','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'14px','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['ReadGray'],'text':'','isVisible':!0x0,'padding':'3px\x209px'},l['StatusUnreadStyle']={'backgroundColor':k['Colors']['Accent'],'backgroundImage':'none','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'14px','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['Accent'],'text':'NEW','isVisible':!0x0,'padding':'3px\x209px'},l['BadgeStyle']={'backgroundColor':'','backgroundImage':'','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'50%','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':'','padding':'0','text':'','isVisible':!0x1,'width':0x18,'height':0x18},l['LabelStyle']={'isVisible':!0x0,'gap':0x8,'width':'auto','color':k['Colors']['LightPrimary'],'padding':'0px','position':'outsideBottom','height':'20px','font':l['widgetFont'],'fontSize':'14px','fontWeight':'bold'},l['Grid2Column']={'thumbnailType':'VERTICAL_TWO_BY_THREE','thumbnailShape':'Rectangle','columns':0x2,'rows':0x0,'itemRatio':0x2/0x3,'lines':0x2,'wordBreak':'break-word','labelStyle':Object['assign'](Object['assign']({},l['LabelStyle']),{'padding':'8px','position':'insideBottomLeft'}),'horizontalItemsSpacing':0x8,'verticalItemsSpacing':0x8,'borderWidth':0x0,'borderRadius':'10px','borderPadding':0x0,'statusLiveStyle':Object['assign'](Object['assign']({},l['StatusLiveStyle']),{'borderWidth':0x0}),'statusLiveUnreadStyle':Object['assign'](Object['assign']({},l['StatusLiveUnreadStyle']),{'borderWidth':0x0}),'statusReadStyle':Object['assign'](Object['assign']({},l['StatusReadStyle']),{'borderWidth':0x0}),'statusUnreadStyle':Object['assign'](Object['assign']({},l['StatusUnreadStyle']),{'borderWidth':0x0}),'statusIndicatorPosition':'insideTopLeft','badgeIndicatorStyle':Object['assign']({},l['BadgeStyle']),'badgePosition':'outsideTopRight','isSkeleton':!0x1},l['Grid3Column']=Object['assign'](Object['assign']({},l['Grid2Column']),{'columns':0x3}),l['Grid2ColumnHorizontal']=Object['assign'](Object['assign']({},l['Grid2Column']),{'columns':0x2,'thumbnailType':'CUSTOM','itemRatio':h['ASPECT_RATIO_16_9']}),l['Grid3ColumnHorizontal']=Object['assign'](Object['assign']({},l['Grid2Column']),{'columns':0x3,'thumbnailType':'CUSTOM','itemRatio':h['ASPECT_RATIO_16_9']}),l['RowCircle']=Object['assign'](Object['assign']({},l['Grid2Column']),{'columns':0x0,'rows':0x1,'thumbnailShape':'Circle','thumbnailType':'SQUARE_ICON','borderWidth':0x2,'borderPadding':0x4,'borderRadius':'50%','itemRatio':0x1,'labelStyle':Object['assign'](Object['assign']({},l['LabelStyle']),{'position':'outsideBottom','color':k['Colors']['Black']}),'statusLiveStyle':Object['assign']({},l['StatusLiveStyle']),'statusLiveUnreadStyle':Object['assign']({},l['StatusLiveUnreadStyle']),'statusReadStyle':Object['assign']({},l['StatusReadStyle']),'statusUnreadStyle':Object['assign'](Object['assign']({},l['StatusUnreadStyle']),{'isVisible':!0x1}),'statusIndicatorPosition':'outsideBottom','badgeIndicatorStyle':Object['assign']({},l['BadgeStyle']),'badgePosition':'outsideTopRight','horizontalItemsSpacing':0xc,'verticalItemsSpacing':0xc}),l['RowRectangle']=Object['assign'](Object['assign']({},l['Grid2Column']),{'columns':0x0,'rows':0x1}),l['RowRectangleAnimated']=Object['assign'](Object['assign']({},l['RowRectangle']),{'thumbnailType':'ANIMATED_THUMBNAIL_POSTER','itemRatio':h['ASPECT_RATIO_9_16']}),l['RowHorizontalRectangle']=Object['assign'](Object['assign']({},l['Grid2Column']),{'columns':0x0,'rows':0x1,'thumbnailType':'CUSTOM','itemRatio':h['ASPECT_RATIO_16_9']}),l['RowHorizontalRectangleAnimated']=Object['assign'](Object['assign']({},l['RowHorizontalRectangle']),{'thumbnailType':'ANIMATED_THUMBNAIL_POSTER'}),l['Default']=Object['assign']({},l['RowCircle']),l['DefaultStoryStyle']={'titleVisible':!0x0,'titleFont':l['playerFont'],'titleFontSize':'12px','titleFontSizeEmbedded':'11px','titleColor':k['Colors']['LightPrimary'],'publishedDateVisible':!0x0,'publishedDateFont':l['playerFont'],'publishedDateFontSize':'12px','publishedDateFontSizeEmbedded':'11px','publishedDateColor':k['Colors']['TimeColor'],'statusLiveStyle':l['StatusLiveUnreadStyle'],'ctaButton':l['CtaButtonStyle'],'iconsPosition':'VERTICAL','iconsButtonPadding':'5px','iconsButtonSize':'28px','iconsButtonEmbeddedSize':'20px','iconsButton':[{'value':'MUTE_UNMUTE','isEmbeddedVisible':!0x0,'isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'PLAY_PAUSE','isEmbeddedVisible':!0x0,'embeddedSize':'20px','isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'SHARE','isEmbeddedVisible':!0x1,'isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'EXIT_PLAYER','isEmbeddedVisible':!0x1,'isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'FULLSCREEN','isEmbeddedVisible':!0x0,'isVisible':!0x1,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'CLOSED_CAPTIONS','isEmbeddedVisible':!0x1,'isVisible':!0x1,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'CUSTOM_ACTION_BUTTON_ONE','isEmbeddedVisible':!0x1,'isVisible':!0x1,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'CUSTOM_ACTION_BUTTON_TWO','isEmbeddedVisible':!0x1,'isVisible':!0x1,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'}],'iconsButtonNavigation':[{'value':'NEXT_PAGE','size':'28px','isVisible':!0x0,'color':k['Colors']['Black'],'backgroundColor':k['Colors']['White'],'borderRadius':'50%','padding':'10px'},{'value':'PREV_PAGE','size':'28px','isVisible':!0x0,'color':k['Colors']['Black'],'backgroundColor':k['Colors']['White'],'borderRadius':'50%','padding':'10px'},{'value':'NEXT_STORY','size':'28px','isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%','padding':'0'},{'value':'PREV_STORY','size':'28px','isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%','padding':'0'}],'iconsButtonOrder':['EXIT_PLAYER','MUTE_UNMUTE','PLAY_PAUSE','SHARE','CLOSED_CAPTIONS','CUSTOM_ACTION_BUTTON_ONE','CUSTOM_ACTION_BUTTON_TWO'],'contentOrder':['LIVE_CHIP','STORY_TITLE','PUBLISHED_DATE'],'icons':{'play':j['playIconSvg'],'pause':j['pauseIconSvg'],'mute':j['muteIconSvg'],'unmute':j['unmuteIconSvg'],'share':j['shareIconSvg'],'fullscreen':j['fullscreenEnterIconSvg'],'closedCaptionsOn':j['closedCaptionsOnIconSvg'],'closedCaptionsOff':j['closedCaptionsOffIconSvg'],'exitMobileTablet':j['closeIconSvg'],'exitDesktop':j['closeIconSvg'],'navigation':{'nextPage':j['nextPageIconSvg'],'prevPage':j['prevPageIconSvg'],'nextStory':j['nextStoryIconSvg'],'prevStory':j['prevStoryIconSvg']}}},l['DefaultMomentStyle']={'headingText':{'font':l['playerFont'],'textSizeMobile':'16px','textSizeTablet':'17px','textSizeDesktop':'18px','textColor':'#F0F0F0','isVisible':!0x1,'contentSource':'TITLE','lineHeight':'1.5','textTransform':'none','fontWeight':'600'},'bodyText':{'font':l['playerFont'],'textSizeMobile':'14px','textSizeTablet':'15px','textSizeDesktop':'16px','textColor':'#F0F0F0','isVisible':!0x0,'contentSource':'TITLE','lineHeight':'1.5','textTransform':'none','fontWeight':'400'},'likeText':{'font':l['playerFont'],'textSizeMobile':'14px','textSizeTablet':'15px','textSizeDesktop':'16px','textColor':k['Colors']['White'],'fontWeight':'700','textTransform':'none','isVisible':!0x0,'lineHeight':'1','likeCountThreshold':0x0},'icons':{'play':j['playIconSvg'],'pause':j['pauseIconSvg'],'mute':j['muteIconSvg'],'unmute':j['unmuteIconSvg'],'share':j['shareIconSvg'],'exit':j['closeIconSvg'],'unlike':j['unlikeIconSvg'],'like':j['likeIconSvg'],'closedCaptionsOn':j['closedCaptionsOnIconSvg'],'closedCaptionsOff':j['closedCaptionsOffIconSvg'],'navigation':{'nextMoment':j['arrowUpMomentIconSvg'],'prevMoment':j['arrowDownMomentIconSvg']}},'buttons':{'mute_unmute':{'mobile':{'isVisible':!0x0,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'tablet':{'isVisible':!0x0,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'desktop':{'isVisible':!0x0,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'','backgroundColor':''}},'exit':{'mobile':{'isVisible':!0x0,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'tablet':{'isVisible':!0x0,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'desktop':{'isVisible':!0x1,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'','backgroundColor':''}},'share':{'mobile':{'isVisible':!0x0,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':!0x0,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':!0x0,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}},'like_unlike':{'mobile':{'isVisible':!0x0,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':!0x0,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':!0x0,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}},'closed_captions':{'mobile':{'isVisible':!0x1,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':!0x1,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':!0x1,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}},'custom_action_button_one':{'mobile':{'isVisible':!0x1,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':!0x1,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':!0x1,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}},'custom_action_button_two':{'mobile':{'isVisible':!0x1,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':!0x1,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':!0x1,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}}},'topIconsButtonOrder':['EXIT_PLAYER','MUTE_UNMUTE'],'bottomIconsButtonOrder':['CUSTOM_ACTION_BUTTON_ONE','CUSTOM_ACTION_BUTTON_TWO','LIKE_UNLIKE','SHARE','CLOSED_CAPTIONS'],'contentBoxHorizontalSpacing':'15px','seekBar':{'isVisible':!0x0,'verticalSpacing':'20px','horizontalSpacing':'15px','playingState':{'isVisible':!0x0,'isThumbVisible':!0x1,'backgroundColor':k['Colors']['Gray'],'progressColor':k['Colors']['White'],'height':'3px','borderRadius':'5px','thumbColor':'','thumbSize':'0px'},'pausedState':{'isVisible':!0x0,'isThumbVisible':!0x0,'backgroundColor':k['Colors']['Gray'],'progressColor':k['Colors']['White'],'height':'5px','borderRadius':'5px','thumbColor':k['Colors']['White'],'thumbSize':'15px'}},'ctaButton':{'borderRadius':'8px','textSize':'16px','font':l['playerFont'],'height':'40px','layoutPositioning':'CTA_BELLOW_BOTTOM_BUTTONS_BOX','horizontalAlignment':'FULL_AVAILABLE_WIDTH','fontWeight':'700','fontFamily':l['playerFont'],'backgroundColor':k['Colors']['Accent'],'borderColor':k['Colors']['Accent'],'icon':{'position':'START','color':k['Colors']['Black'],'url':j['externalLinkIconSvg'],'size':'24px','isVisible':!0x1}}},l['DefaultVideoStyle']={'headingText':{'font':l['playerFont'],'textColor':'#F0F0F0','isVisible':!0x0,'contentSource':'TITLE','textStyle':{'mobile':{'fontSize':'16px','fontWeight':'600','lineHeight':'1.5','letterSpacing':void 0x0,'textTransform':'none'},'tablet':{'fontSize':'17px','fontWeight':'600','lineHeight':'1.5','letterSpacing':void 0x0,'textTransform':'none'},'desktop':{'fontSize':'18px','fontWeight':'600','lineHeight':'1.5','letterSpacing':void 0x0,'textTransform':'none'}}},'buttons':{'mute_unmute':{'mobile':{'width':'24px','height':'24px','color':'','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':'','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':'','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''}},'exit':{'mobile':{'width':'24px','height':'24px','color':'','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':'','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':'','padding':'7px','isVisible':!0x1,'borderRadius':'','backgroundColor':''}},'share':{'mobile':{'width':'24px','height':'24px','color':'','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':'','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':'','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''}},'like_unlike':{'mobile':{'width':'24px','height':'24px','color':'#ffd325','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':'#ffd325','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':'#ffd325','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''}},'play_pause':{'mobile':{'width':'38px','height':'38px','color':'','padding':'12px','isVisible':!0x0,'borderRadius':'50%','backgroundColor':'rgba(51,\x2051,\x2051,\x200.9)'},'tablet':{'width':'42px','height':'42px','color':'','padding':'12px','isVisible':!0x0,'borderRadius':'50%','backgroundColor':'rgba(51,\x2051,\x2051,\x200.9)'},'desktop':{'width':'28px','height':'28px','color':'','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''}},'prev_next':{'mobile':{'width':'36px','height':'36px','color':'','padding':'10px','isVisible':!0x0,'borderRadius':'50%','backgroundColor':'rgba(51,\x2051,\x2051,\x200.9)'},'tablet':{'width':'40px','height':'40px','color':'','padding':'10px','isVisible':!0x0,'borderRadius':'50%','backgroundColor':'rgba(51,\x2051,\x2051,\x200.9)'},'desktop':{'width':'28px','height':'28px','color':'','padding':'7px','isVisible':!0x0,'borderRadius':'0','backgroundColor':''}},'closed_captions':{'mobile':{'width':'24px','height':'24px','color':'','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':'','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':'','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''}},'fullscreen':{'mobile':{'width':'24px','height':'24px','color':'','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':'','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':'','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''}}},'backgroundColor':k['Colors']['Black'],'cta':{'text':{'mobile':{'fontSize':'16px','fontWeight':'700','lineHeight':'17px','letterSpacing':''},'tablet':{'fontSize':'16px','fontWeight':'700','lineHeight':'17px','letterSpacing':''},'desktop':{'fontSize':'16px','fontWeight':'700','lineHeight':'17px','letterSpacing':''}},'height':'40px','visibility':{'duration':0x1388,'behavior':'VisibleAfterOverlayHidden'},'fontFamily':l['playerFont'],'icon':{'position':'START','color':'','size':'24px','isVisible':!0x0,'url':j['linkIconSvg']},'borderColor':'','borderRadius':'20px','horizontalAlignment':'LEFT'},'seekBar':{'isVisible':!0x0,'horizontalMargin':'15px','verticalMargin':'0px','playingState':{'isVisible':!0x0,'isThumbVisible':!0x1,'backgroundColor':'#FFFFFF66','progressColor':'rgba(255,\x20255,\x200,\x201)','height':'5px','borderRadius':'5px','thumbColor':'','thumbSize':'','bufferProgressColor':'#D9D9D955'},'pausedState':{'isVisible':!0x0,'isThumbVisible':!0x0,'backgroundColor':'#FFFFFF66','progressColor':'rgba(255,\x20255,\x200,\x201)','height':'7px','borderRadius':'5px','thumbColor':'rgba(255,\x20255,\x200,\x201)','thumbSize':'15px','bufferProgressColor':'#D9D9D955'}},'icons':{'play':j['playIconSvg'],'pause':j['pauseIconSvg'],'mute':j['muteIconSvg'],'unmute':j['unmuteIconSvg'],'share':j['shareIconSvg'],'fullscreenEnter':j['fullscreenEnterIconSvg'],'fullscreenExit':j['fullscreenExitIconSvg'],'like':j['likeIconSvg'],'unlike':j['unlikeIconSvg'],'exit':j['closeIconSvg'],'closedCaptionsOn':j['closedCaptionsOnIconSvg'],'closedCaptionsOff':j['closedCaptionsOffIconSvg'],'navigation':{'prevVideo':j['prevStoryIconSvg'],'nextVideo':j['nextStoryIconSvg']}}};},0x1636:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Colors']=void 0x0,f['Colors']={'DarkPrimary':'#0D0F14','DarkSecondary':'#232935','DarkTertiary':'#929CB3','LightPrimary':'#F8F9FB','LightSeconday':'#DFE1E4','Accent':'#5AA3FF','LiveChip':'#FF364E','ReadGray':'#9C9C9C','TimeColor':'#B6B7B8','White':'#FFFFFF','Black':'#000000','Gray':'#B6B7B8','Yellow':'#FFD325'};},0x173:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isVideoPlayerStyle']=f['isMomentPlayerStyle']=f['isStoryPlayerStyle']=f['ThemeFactory']=void 0x0;const h=g(0x2432),j=g(0x1c8f);function k(m){return (0, h['cloneDeep'])({'layoutStyle':j['Presets']['Default'],'playerStyle':l(m)});}function l(m){switch(m){case'moment':return j['Presets']['DefaultMomentStyle'];case'story':default:return j['Presets']['DefaultStoryStyle'];case'video':return j['Presets']['DefaultVideoStyle'];}}f['ThemeFactory']=class{static['create'](m='default',p='story'){const q='moment'===p,u='video'===p;switch(q||'story'===p||u||(p='story'),m){case'grid-2-columns':return function(v){return (0, h['cloneDeep'])({'layoutStyle':j['Presets']['Grid2Column'],'playerStyle':l(v)});}(p);case'grid-3-columns':return function(v){return (0, h['cloneDeep'])({'layoutStyle':j['Presets']['Grid3Column'],'playerStyle':l(v)});}(p);case'grid-3-columns-horizontal':return function(v){return (0, h['cloneDeep'])({'layoutStyle':j['Presets']['Grid3ColumnHorizontal'],'playerStyle':l(v)});}(p);case'grid-2-columns-horizontal':return function(v){return (0, h['cloneDeep'])({'layoutStyle':j['Presets']['Grid2ColumnHorizontal'],'playerStyle':l(v)});}(p);case'row-circle':return function(v){return (0, h['cloneDeep'])({'layoutStyle':j['Presets']['RowCircle'],'playerStyle':l(v)});}(p);case'row-rectangle':return function(v){return (0, h['cloneDeep'])({'layoutStyle':j['Presets']['RowRectangle'],'playerStyle':l(v)});}(p);case'row-rectangle-animated':return q||u?function(v){let w;switch(v){case'moment':w=j['Presets']['RowRectangleAnimated'];break;case'video':w=j['Presets']['RowHorizontalRectangleAnimated'];}return (0, h['cloneDeep'])({'layoutStyle':w,'playerStyle':l(v)});}(p):k(p);case'row-rectangle-horizontal':return function(v){return (0, h['cloneDeep'])({'layoutStyle':j['Presets']['RowHorizontalRectangle'],'playerStyle':l(v)});}(p);default:return k(p);}}},f['isStoryPlayerStyle']=function(m){return 'object'==typeof m&&null!==m&&'titleVisible'in m&&'titleFont'in m&&'titleFontSize'in m&&'titleFontSizeEmbedded'in m&&'titleColor'in m&&'publishedDateVisible'in m&&'publishedDateFont'in m&&'publishedDateFontSize'in m&&'publishedDateFontSizeEmbedded'in m&&'publishedDateColor'in m&&'statusLiveStyle'in m&&'ctaButton'in m&&'iconsPosition'in m&&'iconsButton'in m&&'iconsButtonSize'in m&&'iconsButtonEmbeddedSize'in m&&'iconsButtonNavigation'in m&&'iconsButtonPadding'in m&&'iconsButtonOrder'in m&&'contentOrder'in m&&'icons'in m;},f['isMomentPlayerStyle']=function(m){return 'object'==typeof m&&null!==m&&'headingText'in m&&'bodyText'in m&&'likeText'in m&&'buttons'in m&&'icons'in m&&'topIconsButtonOrder'in m&&'bottomIconsButtonOrder'in m;},f['isVideoPlayerStyle']=function(m){return 'object'==typeof m&&null!==m&&'headingText'in m&&'buttons'in m&&'backgroundColor'in m&&'cta'in m&&'seekBar'in m&&'icons'in m;};},0x1155:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xa1c:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['animationCssMapper']=void 0x0,f['animationCssMapper']={'Growing':'grow','Shrinking':'shrink','BottomToTop':'bottomToTop'};},0x12c4:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['AttributeParser']=void 0x0,f['AttributeParser']=function(g){return class extends g{['getIntAttribute'](h,j){const k=this['getAttribute'](h);let l=Number['NaN'];return k&&(l=parseInt(k)),isNaN(l)?j:l;}['getFloatAttribute'](h,j){const k=this['getAttribute'](h);let l=Number['NaN'];return k&&(l=parseFloat(k)),isNaN(l)?j:l;}['getStringAttribute'](h,j){return this['getAttribute'](h)||j;}['getBooleanAttribute'](h,j){const k=this['getAttribute'](h);return k?'true'==k:j;}};};},0x188:(d,f)=>{var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['positionMap']=f['ButtonNavigation']=void 0x0,function(h){h[h['PREV_STORY']=0x0]='PREV_STORY',h[h['NEXT_STORY']=0x1]='NEXT_STORY',h[h['PREV_PAGE']=0x2]='PREV_PAGE',h[h['NEXT_PAGE']=0x3]='NEXT_PAGE';}(g||(f['ButtonNavigation']=g={})),f['positionMap']={'LEFT':'flex-start','CENTER':'center','RIGHT':'flex-end'};},0x83f:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1be7:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xac5:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x25da:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x140f:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xc38:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x25a9:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x4e:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x549:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1e6b:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xdf6:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0xa1c),f),j(g(0x12c4),f),j(g(0x188),f),j(g(0x1be7),f),j(g(0xac5),f),j(g(0x25da),f),j(g(0x140f),f),j(g(0xc38),f),j(g(0x25a9),f),j(g(0x4e),f),j(g(0x549),f),j(g(0x1e6b),f),j(g(0x3ad),f),j(g(0x27c),f),j(g(0x22ae),f),j(g(0x1f6e),f),j(g(0xfba),f),j(g(0x1fa9),f),j(g(0xe72),f),j(g(0xcfc),f),j(g(0x1f89),f),j(g(0x879),f),j(g(0x1093),f),j(g(0x1441),f),j(g(0x1ffb),f),j(g(0x2499),f),j(g(0x1d6e),f),j(g(0xde2),f),j(g(0x2631),f),j(g(0x247c),f),j(g(0x1be7),f),j(g(0x879),f),j(g(0xde2),f),j(g(0x1e6b),f),j(g(0x25da),f),j(g(0x1093),f),j(g(0xa1c),f),j(g(0xcf8),f),j(g(0x1155),f),j(g(0x83f),f);},0x3ad:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x27c:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x22ae:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1f6e:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xfba:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1fa9:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xe72:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['PlayTypeArray']=void 0x0,f['PlayTypeArray']=['Widget','Share','SingleContent','AutoAdvance'];},0xcfc:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1f89:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x879:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1093:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xcf8:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1441:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1ffb:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2499:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1d6e:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['thumbnailMapping']=void 0x0;const g={'SQUARE_ICON':'SquareIcon','VERTICAL_TWO_BY_THREE':'VerticalTwoByThree','GIF':'Gif','ANIMATED_THUMBNAIL_POSTER':'AnimatedThumbnailPoster','CUSTOM':'MainThumbnail'};f['thumbnailMapping']=function(h){return g[h];};},0xde2:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2631:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x247c:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2559:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isImaAdInfo']=void 0x0,f['isImaAdInfo']=function(g){return 'IMA'===g['type'];};},0x1cc6:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['convertCcLanguageToState']=void 0x0;const h=g(0x1932);f['convertCcLanguageToState']=(j,k)=>{const l=null==j?void 0x0:j['find'](p=>''+p['language']===k),m=h['CcSupportedLanguages']['filter'](p=>'null'!==p['code'])['find'](p=>p['code']===k);return k&&(null==j?void 0x0:j['length'])?l?m?k:'Unknown':'Unavailable':'Off';};},0x106d:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['calculateChipSize']=f['getMaxChipSize']=f['createChip']=f['getChipSize']=void 0x0;const h=g(0x2432),j=g(0x22d9);function k(p){const {statusLiveStyle:q,statusLiveUnreadStyle:u,statusReadStyle:v,statusUnreadStyle:w}=p,x=l(q),y=l(u),z=l(v),A=l(w),B=Math['max'](x['width'],y['width'],z['width'],A['width']),C=Math['max'](x['height'],y['height'],z['height'],A['height']);return new DOMRect(0x0,0x0,B,C);}function l(p){const q=j['WidgetsFactory']['create']('blaze-chip');document['body']['append'](q),q['style']['opacity']='0',q['innerText']=p['text'],q['style']['fontSize']=p['textSize'],q['style']['fontFamily']=p['font'],q['style']['backgroundColor']=p['backgroundColor'],q['style']['backgroundImage']=p['backgroundImage'],q['style']['borderColor']=p['borderColor'],q['style']['borderWidth']=p['borderWidth']+'px',q['style']['borderRadius']=p['borderRadius'],q['style']['color']=p['textColor'],q['style']['letterSpacing']=p['letterSpacing'],q['style']['padding']=p['padding'],p['width']&&p['height']&&(q['style']['width']=p['width']+'px',q['style']['height']=p['height']+'px');const u=q['getBoundingClientRect']();return q['remove'](),u;}function m(p,q){if('chip'===p){const {statusLiveStyle:u,statusLiveUnreadStyle:v,statusReadStyle:w,statusUnreadStyle:x}=q;return k({'statusLiveStyle':u,'statusLiveUnreadStyle':v,'statusReadStyle':w,'statusUnreadStyle':x});}return l(q['badgeIndicatorStyle']);}f['getChipSize']=k,f['createChip']=l,f['getMaxChipSize']=m,f['calculateChipSize']=function(p,q,u){const {isOutside:v}=(0, h['calculatePosition'])(q);let w,x=0x0,y=0x0;if(w='chip'===p?u['statusLiveStyle']['isVisible']||u['statusLiveUnreadStyle']['isVisible']||u['statusUnreadStyle']['isVisible']||u['statusReadStyle']['isVisible']:u['badgeIndicatorStyle']['isVisible'],w&&v){const z=m(p,u);'outsideTop'!==q&&'outsideBottom'!==q||(x=Math['floor'](z['height'])),'outsideLeft'!==q&&'outsideRight'!==q||(y=Math['floor'](z['width']));}return {'chipHeight':x,'chipWidth':y};};},0x11e2:function(d,f){var g=this&&this['__awaiter']||function(h,j,k,l){return new(k||(k=Promise))(function(m,p){function q(w){try{v(l['next'](w));}catch(x){p(x);}}function u(w){try{v(l['throw'](w));}catch(x){p(x);}}function v(w){var x;w['done']?m(w['value']):(x=w['value'],x instanceof k?x:new k(function(y){y(x);}))['then'](q,u);}v((l=l['apply'](h,j||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['delay']=void 0x0,f['delay']=function(h){return g(this,void 0x0,void 0x0,function*(){return new Promise(j=>setTimeout(()=>{j();},h));});};},0x2071:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isValidCountryCode']=void 0x0;const h=g(0x1932);f['isValidCountryCode']=function(j){return h['CountryCodes']['includes'](j);};},0x1c14:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isStory']=f['GuardNullOrEmpty']=void 0x0,f['GuardNullOrEmpty']=function(g,h){if(!h)throw new Error(g+'\x20cannot\x20be\x20empty');},f['isStory']=function(g){return 'pages'in g;};},0x164:(f,g)=>{function h(x){return x&&'object'==typeof x&&!Array['isArray'](x);}function j(x,...y){if(!y['length'])return x;const z=y['shift']();if(h(x)&&h(z)){for(const A in z)void 0x0!==z[A]&&(Array['isArray'](z[A])?x[A]=k(x[A]||[],z[A]):h(z[A])?(x[A]||Object['assign'](x,{[A]:{}}),j(x[A],z[A])):Object['assign'](x,{[A]:z[A]}));}return j(x,...y);}function k(x,y){const z=x['every'](B=>'string'==typeof B),A=y['every'](B=>'string'==typeof B);if(z&&A)return [...y];{const B=[...x];return y['forEach'](C=>{const D=B['findIndex'](E=>E['value']===C['value']);-0x1===D?B['push'](C):B[D]=j(B[D],C);}),B;}}function m(x){return x['toString']()['padStart'](0x2,'0');}Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['findParentOfType']=g['isElementInsideTarget']=g['formatLikes']=g['getNestedValue']=g['updateStyle']=g['removeDuplicates']=g['getChangedProperties']=g['applyPlayerStyleChanges']=g['getContentScore']=g['isReadByLastUnIgnoredPageStatus']=g['getMaxValue']=g['mergeStyles']=g['flattenObject']=g['setId']=g['isEmpty']=g['getRandomId']=g['checkAspectRatios']=g['calculatePercentage']=g['formatUTCDate']=g['formatDate']=g['cloneDeep']=g['mergeArrays']=g['mergeDeep']=g['isObject']=g['convertCssUnitToNumber']=g['pixelsToNumber']=g['isCssPropertySupported']=g['formatDuration']=void 0x0,g['formatDuration']=function(x){if(!x||isNaN(x['getTime']()))return '';const y=new Date(),z=Math['abs'](y['getTime']()-x['getTime']()),A=0x36ee80,B=0x5265c00,C=Math['floor'](z/B),D=Math['floor'](z%B/A),E=Math['floor'](z%A/0xea60);if(C>0x1e){const F=Math['floor'](C/30.436875);return F>=0xc?'1y+':F+'mo';}return C>0x0?C+'d':D>0x0?D+'h':E>=0x2?E+'m':'Now';},g['isCssPropertySupported']=function(x){return x in document['body']['style'];},g['pixelsToNumber']=function(x){return parseInt(x['replace']('px',''));},g['convertCssUnitToNumber']=function(x){if('number'==typeof x)return x;if(x['endsWith']('px'))return parseFloat(x);if(x['endsWith']('rem')){const y=parseFloat(getComputedStyle(document['documentElement'])['fontSize']);return parseFloat(x)*y;}if(x['endsWith']('em')){const z=parseFloat(getComputedStyle(document['body'])['fontSize']);return parseFloat(x)*z;}throw new Error('Unsupported\x20CSS\x20unit:\x20'+x);},g['isObject']=h,g['mergeDeep']=j,g['mergeArrays']=k,g['cloneDeep']=function x(y){if(Array['isArray'](y))return y['map'](z=>x(z));if(h(y)){const z={};for(const A in y)Object['prototype']['hasOwnProperty']['call'](y,A)&&(z[A]=x(y[A]));return z;}return y;},g['formatDate']=function(y){return [y['getFullYear'](),m(y['getMonth']()+0x1),m(y['getDate']())]['join']('-')+'\x20'+[m(y['getHours']()),m(y['getMinutes']()),m(y['getSeconds']())]['join'](':');},g['formatUTCDate']=function(y){return [y['getUTCFullYear'](),m(y['getUTCMonth']()+0x1),m(y['getUTCDate']())]['join']('-')+'\x20'+[m(y['getUTCHours']()),m(y['getUTCMinutes']()),m(y['getUTCSeconds']())]['join'](':');},g['calculatePercentage']=function(y,z){return Math['floor'](y/0x64*z['clientHeight'])+'px';},g['checkAspectRatios']=function(y){const z=[{'ratio':'16/9','decimalValue':0x10/0x9},{'ratio':'9/16','decimalValue':0x9/0x10},{'ratio':'2/3','decimalValue':0x2/0x3}];for(const A of z)if(Math['abs'](y-A['decimalValue'])<0.01)return A['ratio'];return 'Custom\x20Ratio';},g['getRandomId']=function(){const y=new Uint8Array(0x4);return crypto['getRandomValues'](y),y['join']('-');},g['isEmpty']=function(y){for(let z in y)if(y['hasOwnProperty'](z)&&Array['isArray'](y[z])&&y[z]['length']>0x0)return !0x1;return !0x0;};let p=0x0;function q(y,z,A,B,C=''){for(let D of Object['keys'](y)){let E=C?C+'.'+D:D;Array['isArray'](y[D])&&Array['isArray'](z[D])?y[D]['length']!==z[D]['length']?B[A]['push'](E):y[D]['forEach']((F,G)=>{'object'==typeof F&&null!==F?Object['keys'](F)['forEach'](H=>{F[H]!==z[D][G][H]&&B[A]['push'](E+'['+G+'].'+H);}):F!==z[D][G]&&B[A]['push'](E+'['+G+']');}):'object'==typeof y[D]&&null!==y[D]&&null!==z[D]?q(y[D],z[D],A,B,E):y[D]!==z[D]&&B[A]['push'](E);}}function u(y,z){const A=new Set(z);return y['filter'](B=>!A['has'](B));}function v(y,z,A){let [B,...C]=z;if(/\[\d+\]/['test'](B)){const [D,E]=B['split'](/[\[\]]/)['filter'](Boolean);0x0===C['length']?y[D][parseInt(E)]=A:v(y[D][parseInt(E)],C,A);}else 0x0===C['length']?y[B]=A:v(y[B],C,A);}function w(y,z){return z['reduce']((A,B)=>{if(/\[\d+\]/['test'](B)){const [C,D]=B['split'](/[\[\]]/)['filter'](Boolean);return A[C][parseInt(D)];}return A[B];},y);}g['setId']=function(y,z='blaze',A=''){y['id']||(y['id']=function(B,C){return p+=0x1,B+'-'+p['toString']()+(C?'-'+C:'');}(z,A));},g['flattenObject']=function y(z){let A={};for(const B in z)if(z['hasOwnProperty'](B)){if('object'!=typeof z[B]||Array['isArray'](z[B]))A[B]=z[B];else {const C=y(z[B]);A=Object['assign'](Object['assign']({},A),C);}}return A;},g['mergeStyles']=function(z,A){return Object['assign'](z['style'],A);},g['getMaxValue']=function(z,A){const B=parseInt(z['replace']('px',''),0xa),C=parseInt(A['replace']('px',''),0xa);return isNaN(B)||C>B?A:z;},g['isReadByLastUnIgnoredPageStatus']=function(z){if(z['pages']['every'](A=>A['ignoreReadStatusForStory']&&A['hasViewed']))return !0x0;for(const A of z['pages']['slice']()['reverse']()){if(A['ignoreReadStatusForStory']&&!A['hasViewed'])return !0x1;if(!A['ignoreReadStatusForStory'])return A['hasViewed'];}return !0x1;},g['getContentScore']=z=>z['hasViewed']?0x2:0x1,g['applyPlayerStyleChanges']=function(z,A,B,C){q(z,A,'GLOBAL',C),C['GLOBAL']=u(C['GLOBAL'],C['LOCAL']),C['GLOBAL']['forEach'](D=>{const E=D['split']('.');let F=w(A,E);v(B,E,F);});},g['getChangedProperties']=q,g['removeDuplicates']=u,g['updateStyle']=v,g['getNestedValue']=w,g['formatLikes']=function(z){return z>=0x186a0?'100K':z>=0x3e8?(Math['floor'](z/0x64)/0xa)['toFixed'](0x1)['replace'](/\.0$/,'')+'K':z['toString']();},g['isElementInsideTarget']=function(z,A){for(const B of A){const C=document['querySelectorAll'](B);for(const D of C)if(D['contains'](z))return !0x0;}return !0x1;},g['findParentOfType']=function(z,A,B){for(;z&&!(z instanceof A)&&z!==B;)z=z['parentElement'];return z instanceof A?z:null;};},0x2432:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x106d),f),j(g(0x11e2),f),j(g(0x2071),f),j(g(0x1c14),f),j(g(0x164),f),j(g(0x2251),f),j(g(0x24f6),f),j(g(0x1729),f),j(g(0xc40),f),j(g(0x2559),f),j(g(0x1cc6),f),j(g(0x2673),f);},0x2251:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['getPersonalizedParamsForRequest']=void 0x0,f['getPersonalizedParamsForRequest']=function(g){if(!g||'object'!=typeof g)return {};switch(g['type']){case'ids':return {'PersonalPlayers':g['players'],'PersonalTeams':g['teams']};case'labels':return {'PersonalLabelFilterExpression':g['labelsFilterExpression'],'PersonalLabelPriority':g['labelsPriority']};default:return {};}};},0xc40:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['calculatePosition']=void 0x0,f['calculatePosition']=function(g){return {'isOutside':g['startsWith']('outside'),'isInside':g['startsWith']('inside'),'isTop':g['includes']('Top'),'isMiddle':g['includes']('Middle'),'isBottom':g['includes']('Bottom'),'isLeft':g['includes']('Left'),'isRight':g['includes']('Right')};};},0x24f6:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['RegexVideoHash']=f['RegexMomentHash']=f['RegexStoryHash']=void 0x0,f['RegexStoryHash']=/\/?[&|?|#](blaze\/story\/[^?|&|#]*)/,f['RegexMomentHash']=/\/?[&|?|#](blaze\/moment\/[^?|&|#]*)/,f['RegexVideoHash']=/\/?[&|?|#](blaze\/video\/[^?|&|#]*)/;},0x2673:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['SharedEventTarget']=void 0x0,f['SharedEventTarget']=new EventTarget();},0x1729:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Stopwatch']=void 0x0,f['Stopwatch']=class{constructor(){this['isRunning']=!0x1,this['extraTime']=0x0,this['startTime']=0x0;}['start'](){this['isRunning']||(this['isRunning']=!0x0,this['startTime']=Date['now']());}['pause'](){this['isRunning']&&(this['isRunning']=!0x1,this['extraTime']+=Date['now']()-this['startTime']);}['durationMS'](){return this['isRunning']?Date['now']()-this['startTime']+this['extraTime']:this['extraTime'];}['reset'](){this['isRunning']=!0x1,this['extraTime']=0x0,this['startTime']=0x0;}};},0x1c09:function(d,f,g){var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LikeVideoCommand']=f['SeekCommand']=f['ToggleFullscreenCommand']=f['UnmuteCommand']=f['MuteCommand']=f['ToggleMuteCommand']=f['PauseCommand']=f['PlayCommand']=void 0x0;const j=g(0x774),k=g(0x11c1);f['PlayCommand']=class{constructor(l){this['playbackStrategy']=l;}['execute'](...l){return this['playbackStrategy']['play']()['then'](m=>(k['VideoPlayerService']['isPlaying']=!0x0,m))['catch'](m=>({'status':j['PlayStatus']['Failed'],'error':m}));}},f['PauseCommand']=class{constructor(l){this['playbackStrategy']=l;}['execute'](...l){this['playbackStrategy']['pause']();}},f['ToggleMuteCommand']=class{constructor(l){this['playbackStrategy']=l;}['execute'](...l){const m=this['playbackStrategy']['isMuted']();this['playbackStrategy']['setMuted'](!m);}},f['MuteCommand']=class{constructor(l){this['playbackStrategy']=l;}['execute'](){this['playbackStrategy']['setMuted'](!0x0),k['VideoPlayerService']['isMuted']=!0x0;}},f['UnmuteCommand']=class{constructor(l){this['playbackStrategy']=l;}['execute'](){this['playbackStrategy']['setMuted'](!0x1),k['VideoPlayerService']['isMuted']=!0x1;}},f['ToggleFullscreenCommand']=class{constructor(l,m){this['playbackStrategy']=l,this['videoElement']=m;}['execute'](...l){return h(this,void 0x0,void 0x0,function*(){var m;yield (null===(m=this['videoElement']['modal'])||void 0x0===m?void 0x0:m['player'])['toggleFullscreen'](),this['playbackStrategy']['toggleFullscreen']();});}},f['SeekCommand']=class{constructor(l){this['playbackStrategy']=l;}['execute'](l){'number'==typeof l&&this['playbackStrategy']['seek'](l);}},f['LikeVideoCommand']=class{constructor(l){this['videoElement']=l;}['execute'](...l){return h(this,void 0x0,void 0x0,function*(){const m=this['videoElement']['getAttribute']('video-id');if(m){const p=!('true'===this['videoElement']['getAttribute']('is-liked'));this['videoElement']['setAttribute']('is-liked',p['toString']()),yield k['LikeService']['updateVideoLike'](p,m);}});}};},0x227:function(d,f,g){var h=this&&this['__awaiter']||function(k,l,m,p){return new(m||(m=Promise))(function(q,u){function v(y){try{x(p['next'](y));}catch(z){u(z);}}function w(y){try{x(p['throw'](y));}catch(z){u(z);}}function x(y){var z;y['done']?q(y['value']):(z=y['value'],z instanceof m?z:new m(function(A){A(z);}))['then'](v,w);}x((p=p['apply'](k,l||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoPlayerCommands']=void 0x0;const j=g(0x774);f['VideoPlayerCommands']=class{constructor(k,l){this['playbackStrategy']=k,this['videoElement']=l,this['commands']=new Map([['play',new j['PlayCommand'](k)],['pause',new j['PauseCommand'](k)],['toggleMute',new j['ToggleMuteCommand'](k)],['mute',new j['MuteCommand'](k)],['unmute',new j['UnmuteCommand'](k)],['toggleFullscreen',new j['ToggleFullscreenCommand'](k,l)],['seek',new j['SeekCommand'](k)],['likeVideo',new j['LikeVideoCommand'](l)]]);}['executeCommand'](k,...l){return h(this,void 0x0,void 0x0,function*(){const m=this['commands']['get'](k);if(m)try{return yield m['execute'](...l);}catch(p){throw p;}});}};},0x6cc:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeTimer']=void 0x0;const h=g(0x22d9),j='00:00';class k extends HTMLElement{constructor(){super(),this['shadow']=this['attachShadow']({'mode':'open'}),this['currentTimeText']=h['WidgetsFactory']['create']('blaze-div'),this['totalTimeText']=h['WidgetsFactory']['create']('blaze-div'),this['totalTimeDivider']=h['WidgetsFactory']['create']('blaze-div');}['connectedCallback'](){this['attachStyles'](),this['createDOM']();}['disconnectedCallback'](){}set['hidden'](l){l?(this['classList']['add']('hidden'),this['style']['display']='none'):(this['style']['display']='flex',setTimeout(()=>{this['removeAttribute']('hidden'),this['classList']['remove']('hidden');},0xfa));}['attachStyles'](){const l=document['createElement']('style');l['textContent']='\x0a\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20opacity\x200.5s\x20ease,\x20transform\x200.5s\x20ease;\x0a\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2012px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20400;\x0a\x20\x20\x20\x20\x20\x20\x20\x20color:\x20#fff;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background:\x20rgba(0,\x200,\x200,\x200.34);\x0a\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x202;\x0a\x20\x20\x20\x20\x20\x20\x20\x20padding:\x205px\x2010px;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20:host(.seeking-layout)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-self:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(0);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20:host(.player-layout)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-self:\x20flex-start;\x0a\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(0);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20:host(.hidden)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(-20px);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.time-text\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20auto;\x0a\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20white-space:\x20nowrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2012px;\x20\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.current-time-text-seeking\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2022px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20auto;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.current-time-text-player\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2012px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20auto;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.divider\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x2010px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20white-space:\x20nowrap;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.hidden\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.visible\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20blaze-div\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-block;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',this['shadow']['appendChild'](l);}['createDOM'](){this['currentTimeText']['classList']['add']('time-text','current-time-text-player'),this['currentTimeText']['textContent']=j,this['totalTimeDivider']['classList']['add']('divider','visible'),this['totalTimeDivider']['textContent']='/',this['totalTimeText']['classList']['add']('time-text','current-time-text-player'),this['totalTimeText']['textContent']=j,this['shadow']['appendChild'](this['currentTimeText']),this['shadow']['appendChild'](this['totalTimeDivider']),this['shadow']['appendChild'](this['totalTimeText']),this['setLayout']('player');}['updateCurrentTime'](l){this['currentTimeText']['textContent']=this['formatTime'](l);}['updateTotalTime'](l){this['totalTimeText']['textContent']=this['formatTime'](l),this['hidden']=!0x1;}['resetTimer'](){this['hidden']=!0x0,this['currentTimeText']['textContent']=j,this['totalTimeText']['textContent']=j;}['setLayout'](l){'seeking'===l?this['applySeekingLayout']():'player'===l&&this['applyPlayerLayout']();}['applySeekingLayout'](){this['totalTimeDivider']['classList']['add']('hidden'),this['totalTimeText']['classList']['add']('hidden'),this['totalTimeDivider']['classList']['remove']('visible'),this['totalTimeText']['classList']['remove']('visible'),this['classList']['add']('seeking-layout'),this['classList']['remove']('player-layout'),this['currentTimeText']['classList']['add']('current-time-text-seeking'),this['currentTimeText']['classList']['remove']('current-time-text-player');}['applyPlayerLayout'](){this['totalTimeDivider']['classList']['add']('visible'),this['totalTimeText']['classList']['add']('visible'),this['totalTimeDivider']['classList']['remove']('hidden'),this['totalTimeText']['classList']['remove']('hidden'),this['classList']['add']('player-layout'),this['classList']['remove']('seeking-layout'),this['currentTimeText']['classList']['add']('current-time-text-player'),this['currentTimeText']['classList']['remove']('current-time-text-seeking');}['formatTime'](l){const m=Math['floor'](l/0xe10),p=Math['floor'](l%0xe10/0x3c),q=Math['floor'](l%0x3c);return m>0x0?this['padZero'](m)+':'+this['padZero'](p)+':'+this['padZero'](q):this['padZero'](p)+':'+this['padZero'](q);}['padZero'](l){return l<0xa?'0'+l:''+l;}}f['BlazeTimer']=k;},0xa5e:(f,g,h)=>{Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeVideoSeekBar']=void 0x0;const j=h(0x774),k=h(0x1133),m=h(0x1932),p=h(0x26ed),q=h(0x22d9),u=h(0x11c1),v=h(0x2432);class w extends HTMLElement{constructor(){super(),this['isInit']=!0x1,this['isMouseIn']=!0x1,this['isClicked']=!0x1,this['isSeeking']=!0x1,this['playbackPart']=q['WidgetsFactory']['create']('blaze-div'),this['progressBarState']='playing',this['videoState']=p['ButtonState']['Play'],this['seekType']='Seek\x20Bar',this['lastProgress']=0x0,this['listeners']=new k['EventsListener'](),this['boundOnTouchMove']=this['handleTouchMove']['bind'](this),this['boundOnMouseMove']=this['handleMouseDrag']['bind'](this),this['boundOnClick']=this['handleOnClick']['bind'](this),this['boundOnMouseOut']=this['handleOnMouseOut']['bind'](this),this['boundOnMouseIn']=this['handleOnMouseIn']['bind'](this),this['boundOnStartDrag']=this['handleOnStartDrag']['bind'](this),this['boundOnEndDrag']=this['handleOnEndDrag']['bind'](this),this['progressBarContainer']=q['WidgetsFactory']['create']('blaze-div'),this['progressBarFill']=q['WidgetsFactory']['create']('blaze-div'),this['progressBarKnob']=q['WidgetsFactory']['create']('blaze-div'),this['progressBarBuffer']=q['WidgetsFactory']['create']('blaze-div'),this['progress']=q['WidgetsFactory']['create']('blaze-div'),this['debouncedSeekBarUpdate']=(0, k['debounce'])(x=>this['updateVideoSeekBar'](x),0x1f4),this['progress']['classList']['add'](m['WSC_PREFIX']+'progress');}['connectedCallback'](){if(!this['isInit']&&this['seekBarStyle']['isVisible']){if(this['isInit']=!0x0,this['addTransitionStyle'](),this['seekBarStyle']){const x=parseFloat(this['seekBarStyle']['playingState']['height']);isNaN(x)&&(this['seekBarStyle']['playingState']['height']='3px');const y=parseFloat(this['seekBarStyle']['pausedState']['height']);isNaN(y)&&(this['seekBarStyle']['pausedState']['height']='5px');}this['setupEventListeners'](),this['styleProgressContainer']();}}['disconnectedCallback'](){this['timeoutPlayingStyle']&&clearTimeout(this['timeoutPlayingStyle']),this['timeoutPauseStyle']&&clearTimeout(this['timeoutPauseStyle']),this['listeners']['removeAll']();}['addTransitionStyle'](){const x=document['createElement']('style');x['textContent']='\x0a\x20\x20\x20\x20\x20\x20.'+m['WSC_PREFIX']+'progress\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20height\x200.3s\x20ease;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',this['appendChild'](x);}['setTheme'](x){this['seekBarStyle']=x,this['styleProgressContainer']();}['createPlaybackPart'](){this['progressBarContainer']['setStyle']({'width':'100%','height':'100%','display':'block'}),this['progressBarFill']['setStyle']({'width':'0%','height':'100%','position':'relative','display':'block'}),this['progressBarKnob']['setStyle']({'borderRadius':'100%','position':'absolute','right':'0px','top':'50%','bottom':'0px','transform':'translateX(50%)\x20translateY(-50%)'}),this['progressBarBuffer']['setStyle']({'width':'0%','position':'absolute','display':'block','backgroundColor':'rgba(217,\x20217,\x20217,\x200.5)','borderRadius':'5px\x200px\x200px\x205px'}),this['progressBarFill']['append'](this['progressBarKnob']),this['playbackPart']=this['progressBarFill'],this['progressBarContainer']['append'](this['progressBarBuffer']),this['progressBarContainer']['append'](this['progressBarFill']),this['progress']['append'](this['progressBarContainer']);}['setupEventListeners'](){this['listeners']['addAttached'](this,'mousedown',this['boundOnStartDrag']),this['listeners']['addAttached'](this,'touchstart',this['boundOnStartDrag']),this['listeners']['add']('mouseup',this['boundOnEndDrag']),this['listeners']['add']('touchend',this['boundOnEndDrag']),this['listeners']['addAttached'](this,'mousemove',this['boundOnMouseMove']),this['listeners']['addAttached'](this,'touchmove',this['boundOnTouchMove']),this['listeners']['addAttached'](this,'click',this['boundOnClick']),this['listeners']['addAttached'](this,'mouseenter',this['boundOnMouseIn']),this['listeners']['addAttached'](this,'mouseleave',this['boundOnMouseOut']);}['handleOnStartDrag'](){var x,y;this['isClicked']||(u['VideoPlayerService']['isSeekBarDragging']=!0x0,this['isSeeking']=!0x0,clearTimeout(this['timeoutPlay']),null===(x=this['onPause'])||void 0x0===x||x['call'](this),this['applyPauseSeekBarStyle'](),k['deviceDetector']['isDesktop']&&document['addEventListener']('mousemove',this['boundOnMouseMove']),(k['deviceDetector']['isMobile']||k['deviceDetector']['isTablet'])&&(null===(y=this['onStartSeeking'])||void 0x0===y||y['call'](this)));}['handleOnEndDrag'](){var x;this['isSeeking']&&(this['isSeeking']=!0x1,k['deviceDetector']['isDesktop']&&document['removeEventListener']('mousemove',this['boundOnMouseMove']),(k['deviceDetector']['isMobile']||k['deviceDetector']['isTablet'])&&(null===(x=this['onEndSeeking'])||void 0x0===x||x['call'](this)),this['timeoutPlayingStyle']=setTimeout(()=>{this['isSeeking']||this['applyPlayingSeekBarStyle']();},0x7d0),this['timeoutPlay']=setTimeout(()=>{var y;u['VideoPlayerService']['isSeekBarDragging']=!0x1,this['isClicked']||null===(y=this['onResume'])||void 0x0===y||y['call'](this);},0x5dc));}['handleOnClick'](x){var y;if(null===(y=this['onPause'])||void 0x0===y||y['call'](this),x['stopPropagation'](),this['isClicked']=!0x0,this['isSeeking'])return;let z;if(x instanceof MouseEvent)z=x['clientX'];else {if(!(x['touches']&&x['touches']['length']>0x0))return;z=x['touches'][0x0]['clientX'];}this['handleSeek'](z,!0x0);}['handleMouseDrag'](x){this['handleSeek'](x['clientX'],0x1===x['buttons']);}['handleTouchMove'](x){x['touches']['length']>0x0&&(this['handleSeek'](x['touches'][0x0]['clientX'],!0x0),x['preventDefault'](),x['stopImmediatePropagation']());}['handleSeek'](x,y){if(!y)return;const z=this['getBoundingClientRect']();let A=(x-z['left'])/z['width'];const B=Math['min'](Math['max'](A,0x0),0x1);this['updateSeekBar'](0x64*B);}['handleOnMouseOut'](){this['isSeeking']||(this['isMouseIn']=!0x1,this['timeoutPlayingStyle']=setTimeout(()=>{this['videoState']!==p['ButtonState']['Pause']&&this['applyPlayingSeekBarStyle']();},0x7d0));}['handleOnMouseIn'](){this['isMouseIn']=!0x0,this['applyPauseSeekBarStyle']();}['updateVideoSeekBar'](x){this['dispatchEvent'](new CustomEvent(j['VIDEO_EVENTS']['SEEK'],{'detail':{'seekTime':x/0x64,'type':this['seekType']},'bubbles':!0x0,'composed':!0x0})),setTimeout(()=>{this['isClicked']=!0x1;},0x3e8);}['styleProgressContainer'](){const x=parseFloat(this['seekBarStyle']['playingState']['height']),y=parseFloat(this['seekBarStyle']['pausedState']['height']),z=Math['max'](x,y);(0, v['mergeStyles'])(this,{'width':'100%','height':z+'px','padding':this['seekBarStyle']['horizontalMargin']+'\x20'+this['seekBarStyle']['verticalMargin']+'\x20\x20','cursor':'pointer','boxSizing':'border-box','zIndex':'2'}),this['progress']['setStyle']({'width':'100%','display':'grid','height':this['seekBarStyle']['playingState']['height'],'position':'relative'}),this['progressBarBuffer']['setStyle']({'height':this['seekBarStyle']['playingState']['height']}),this['createPlaybackPart'](),this['updateProgressBarStyles'](this['progressBarState']),this['append'](this['progress']);}['updateProgressBarStyles'](x){const y=this['seekBarStyle'][x+'State'];this['progressBarContainer']['setStyle']({'borderRadius':y['borderRadius'],'backgroundColor':y['backgroundColor']}),this['progressBarFill']['setStyle']({'borderRadius':y['borderRadius'],'backgroundColor':y['progressColor']}),this['progressBarKnob']['setStyle']({'width':y['thumbSize'],'height':y['thumbSize'],'backgroundColor':y['thumbColor']});}['onContentPaused'](){this['videoState']=p['ButtonState']['Pause'],this['applyPauseSeekBarStyle']();}['onContentResumed'](){this['videoState']=p['ButtonState']['Play'],this['timeoutPlayingStyle']=setTimeout(()=>{this['applyPlayingSeekBarStyle']();},0x7d0);}['updateProgressBar'](x,y){if(this['isSeeking']||this['isClicked']||isNaN(y))return;this['playbackPart']['style']['width']='0%';let z=y?x/y:this['lastProgress'];Number['isNaN'](z)?z=this['lastProgress']:this['lastProgress']=z,this['playbackPart']['style']['width']=0x64*z+'%';}['updateBuffer'](x){this['progressBarBuffer']['style']['width']=x+'%';}['updateSeekBar'](x){const y=Math['min'](Math['max'](x,0x0),0x64);this['playbackPart']['style']['width']=y+'%',this['lastProgress']=y/0x64,this['dispatchEvent'](new CustomEvent(j['VIDEO_EVENTS']['DISPLAY_SEEKED_TIME'],{'detail':{'seekTime':y/0x64},'bubbles':!0x0,'composed':!0x0})),this['debouncedSeekBarUpdate'](y);}['reset'](){this['resetProgressBar'](),this['progress']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarBuffer']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarKnob']['style']['display']=this['seekBarStyle']['playingState']['isThumbVisible']?'block':'none',this['updateProgressBarStyles']('playing');}['resetProgressBar'](){this['playbackPart']['style']['width']='0%',this['updateBuffer'](0x0);}['applyPlayingSeekBarStyle'](){'playing'!==this['progressBarState']&&(this['isMouseIn']||this['videoState']!==p['ButtonState']['Pause']&&(this['timeoutPauseStyle']&&clearTimeout(this['timeoutPauseStyle']),this['progress']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarBuffer']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarKnob']['style']['display']=this['seekBarStyle']['playingState']['isThumbVisible']?'block':'none',this['progressBarState']='playing',this['updateProgressBarStyles']('playing')));}['applyPauseSeekBarStyle'](){'paused'!==this['progressBarState']&&this['videoState']!==p['ButtonState']['Play']&&(this['timeoutPlayingStyle']&&clearTimeout(this['timeoutPlayingStyle']),this['progress']['style']['height']=this['seekBarStyle']['pausedState']['height'],this['progressBarBuffer']['style']['height']=this['seekBarStyle']['pausedState']['height'],this['progressBarKnob']['style']['display']=this['seekBarStyle']['pausedState']['isThumbVisible']?'block':'none',this['progressBarState']='paused',this['updateProgressBarStyles']('paused'));}}g['BlazeVideoSeekBar']=w;},0x1cbd:function(f,g,j){var k=this&&this['__importDefault']||function(D){return D&&D['__esModule']?D:{'default':D};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeLongFormControlsOverlay']=void 0x0;const m=k(j(0xad8)),q=j(0x774),v=j(0x1133),w=j(0x1699),x=j(0x26ed),y=j(0x22d9),z=j(0x11c1),A=j(0x132a),B=j(0x2432);class C extends HTMLElement{constructor(){super(),this['shadow']=this['attachShadow']({'mode':'open'}),this['isInitialize']=!0x1,this['videoInfoText']=y['WidgetsFactory']['create']('blaze-div'),this['bottomContainerCta']=y['WidgetsFactory']['create']('blaze-div'),this['closeButton']=y['WidgetsFactory']['create']('blaze-button'),this['shareButton']=y['WidgetsFactory']['create']('blaze-button'),this['likeButton']=y['WidgetsFactory']['create']('blaze-button'),this['fullscreenButton']=y['WidgetsFactory']['create']('blaze-button'),this['muteButton']=y['WidgetsFactory']['create']('blaze-button'),this['closedCaptionButton']=y['WidgetsFactory']['create']('blaze-button'),this['ctaButton']=new w['BlazeCallToActionButton'](),this['currentMuteState']=x['ButtonState']['Unmute'],this['videoSeekBar']=y['WidgetsFactory']['create']('blaze-video-seek-bar'),this['videoTimer']=y['WidgetsFactory']['create']('blaze-timer'),this['videoNavigationOverlay']=y['WidgetsFactory']['create']('blaze-video-navigation-overlay'),this['gradientOverlayBottom']=y['WidgetsFactory']['create']('blaze-div'),this['gradientOverlayTop']=y['WidgetsFactory']['create']('blaze-div'),this['loader']=y['WidgetsFactory']['create']('blaze-loader'),this['boundOnFullscreenClick']=this['handleFullscreenClick']['bind'](this),this['boundOnShareClick']=this['handleShareClick']['bind'](this),this['boundOnLikeClick']=this['handleLikeClick']['bind'](this),this['boundOnMuteClick']=this['handleMuteClick']['bind'](this),this['boundOnCtaClick']=this['handleCtaClick']['bind'](this),this['boundOnCloseClick']=this['handleCloseClick']['bind'](this),this['boundOnClosedCaptionClick']=this['handleClosedCaptionClick']['bind'](this),this['boundOnScreenOrientationChange']=this['handleScreenOrientationChange']['bind'](this),this['boundOnCtaContainerClick']=this['handleCtaContainerClick']['bind'](this),this['isOverlayChangesBlocked']=!0x1;}['connectedCallback'](){this['initialize'](),this['attachEventListeners']();}['disconnectedCallback'](){this['detachEventListeners']();}['initialize'](){this['isInitialize']||(this['isInitialize']=!0x0,this['attachStyles'](),this['createDOM'](),this['videoSeekBar']['onStartSeeking']=()=>{this['hidePlayerOverlayWhileSeeking']();},this['videoSeekBar']['onEndSeeking']=()=>{this['showPlayerOverlayAfterSeeking']();},this['updateVideoInfoText'](this['title']),this['setAttribute']('hidden','false'));}['hidePlayerOverlayWhileSeeking'](){this['videoNavigationOverlay']['setAttribute'](q['NAVIGATION_OVERLAY_ATTRIBUTES']['Hidden'],'true'),this['muteButton']['setAttribute'](w['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true'),this['closedCaptionButton']['setAttribute'](w['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true'),this['fullscreenButton']['setAttribute'](w['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true'),this['closeButton']['setAttribute'](w['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true'),this['shareButton']['setAttribute'](w['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true'),this['likeButton']['setAttribute'](w['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true');}['showPlayerOverlayAfterSeeking'](){setTimeout(()=>{this['videoNavigationOverlay']['setAttribute'](q['NAVIGATION_OVERLAY_ATTRIBUTES']['Hidden'],'false'),this['muteButton']['setAttribute'](w['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false'),this['closedCaptionButton']['setAttribute'](w['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false'),this['fullscreenButton']['setAttribute'](w['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false'),this['closeButton']['setAttribute'](w['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false'),this['shareButton']['setAttribute'](w['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false'),this['likeButton']['setAttribute'](w['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false');},0x3e8);}['setTheme'](D){this['playerLayout']=D,this['videoSeekBar']['setTheme'](D['seekBar']);const {navigation:E,play:F,pause:G}=D['icons'],{prev_next:H,play_pause:I}=D['buttons'];this['videoNavigationOverlay']['setTheme']({'play':F,'pause':G,'navigation':E,'prev_next':H,'play_pause':I}),this['ctaVisiblity']=D['cta']['visibility'],this['setCtaButtonStyles'](D['cta']),this['setHeadingStyle'](this['videoInfoText'],D['headingText']),this['setButtonStyle'](this['closeButton'],this['getButtonStyle']('exit'),D['icons']['exit']),this['setButtonStyle'](this['shareButton'],this['getButtonStyle']('share'),D['icons']['share']),this['setButtonStyle'](this['likeButton'],this['getButtonStyle']('like_unlike'),D['icons']['like']),this['setButtonStyle'](this['fullscreenButton'],this['getButtonStyle']('fullscreen'),D['icons']['fullscreenEnter']),this['setButtonStyle'](this['muteButton'],this['getButtonStyle']('mute_unmute'),D['icons']['mute']),this['setButtonStyle'](this['closedCaptionButton'],this['getButtonStyle']('closed_captions'),D['icons']['closedCaptionsOff']);}static get['observedAttributes'](){return ['video-title','hidden'];}['attributeChangedCallback'](D,E,F){switch(D){case'video-title':F!==E&&this['updateVideoInfoText'](F);break;case'hidden':F!==E&&('true'===F?this['hidePlayerOverlay']():this['showPlayerOverlay']());}}['showLoader'](){v['deviceDetector']['isMobile']||v['deviceDetector']['isTablet']?this['videoNavigationOverlay']['showLoader']():v['deviceDetector']['isDesktop']&&(this['loader']['style']['display']='block');}['hideLoader'](){v['deviceDetector']['isMobile']||v['deviceDetector']['isTablet']?this['videoNavigationOverlay']['hideLoader']():v['deviceDetector']['isDesktop']&&(this['loader']['style']['display']='none');}['hidePlayerOverlay'](){const D=this['shadow']['querySelector']('#bottom-container-controls');D&&this['animateOverlayVisibility'](D,!0x1,'down');const E=this['shadow']['querySelector']('#top-container');if(E&&this['animateOverlayVisibility'](E,!0x1,'up'),this['ctaVisiblity']){const F=this['shadow']['querySelector']('#bottom-container-cta');'VisibleAfterOverlayHidden'===this['ctaVisiblity']['behavior']&&(this['ctaTimeout']=setTimeout(()=>{null==F||F['classList']['add']('hidden'),this['isCtaRendered']&&this['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['CTA_DISMISS'],{'bubbles':!0x0,'composed':!0x0}));},this['ctaVisiblity']['duration']));}}['showPlayerOverlay'](){const D=this['shadow']['querySelector']('#top-container');D&&this['animateOverlayVisibility'](D,!0x0,'down');const E=this['shadow']['querySelector']('#bottom-container-controls');E&&this['animateOverlayVisibility'](E,!0x0,'up');const F=this['shadow']['querySelector']('#bottom-container-cta');F&&(F['classList']['contains']('hidden')&&this['isCtaRendered']&&this['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['CTA_VISIBILE'],{'bubbles':!0x0,'composed':!0x0})),F['classList']['remove']('hidden')),clearTimeout(this['ctaTimeout']);}['animateOverlayVisibility'](D,E,F='down'){m['default']['remove'](D),E?(D['classList']['remove']('hidden'),(0, m['default'])({'targets':D,'opacity':[0x0,0x1],'translateY':['up'===F?0x14:-0x14,0x0],'duration':0xfa,'easing':'easeOutQuad','begin':()=>{this['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['UPDATE_CLOSED_CAPTIONS_LOCATION'],{'detail':{'top':'70px','left':'10px'},'bubbles':!0x0,'composed':!0x0})),this['gradientOverlayBottom']['classList']['remove']('hidden'),this['gradientOverlayTop']['classList']['remove']('hidden'),this['videoNavigationOverlay']['classList']['remove']('hidden');}})):(0, m['default'])({'targets':D,'opacity':[0x1,0x0],'translateY':[0x0,'up'===F?-0x14:0x14],'duration':0xfa,'easing':'easeInQuad','complete':()=>{D['classList']['add']('hidden'),D['style']['transform']='',this['gradientOverlayBottom']['classList']['add']('hidden'),this['gradientOverlayTop']['classList']['add']('hidden'),this['videoNavigationOverlay']['classList']['add']('hidden'),this['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['UPDATE_CLOSED_CAPTIONS_LOCATION'],{'detail':{'top':'10px','left':'10px'},'bubbles':!0x0,'composed':!0x0}));}});}['handleScreenOrientationChange'](D){if(v['deviceDetector']['isDesktop'])return;const {orientation:E}=D['detail'];v['deviceDetector']['isMobile']&&(this['ctaButton']['setStyle']({'width':'portrait'===E?'100%':'auto'}),this['ctaButton']['setAnchorButtonStyles']({'width':'portrait'===E?'100%':'auto'}));}['setClosedCaptionState'](D){'enabled'===D?(this['closedCaptionButton']['setAttribute']('disabled','false'),this['updateClosedCaptionButtonIcon']()):(this['closedCaptionButton']['setAttribute']('disabled','true'),this['closedCaptionButton']['setIconUrlAnimation'](this['playerLayout']['icons']['closedCaptionsOn']));}get['title'](){return this['getAttribute']('video-title')||'';}set['title'](D){this['setAttribute']('video-title',D);}get['isCtaRendered'](){return 'true'===this['getAttribute']('is-cta-rendered');}set['isCtaRendered'](D){this['setAttribute']('is-cta-rendered',D['toString']());}['setCta'](D){if(D&&D['url']&&D['text']&&D['backgroundColor']&&D['textColor']){this['ctaButton']['setAttribute'](w['CTA_BUTTON_ATTRIBUTES']['Href'],D['url']),this['ctaButton']['setAttribute'](w['CTA_BUTTON_ATTRIBUTES']['Text'],D['text']),this['ctaButton']['setAnchorButtonStyles']({'color':D['textColor'],'background':D['backgroundColor']}),this['ctaButton']['setAttribute'](w['CTA_BUTTON_ATTRIBUTES']['IconColor'],D['textColor']),this['isCtaRendered']=!0x0;const E=this['shadow']['querySelector']('#bottom-container-cta');E&&!E['classList']['contains']('hidden')&&setTimeout(()=>{this['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['CTA_VISIBILE'],{'bubbles':!0x0,'composed':!0x0})),this['ctaButton']['setAttribute'](w['CTA_BUTTON_ATTRIBUTES']['HiddenBtn'],'false');},0xfa);}else this['ctaButton']['setAttribute'](w['CTA_BUTTON_ATTRIBUTES']['HiddenBtn'],'true'),this['isCtaRendered']=!0x1;}['removeCta'](){this['ctaButton']['setAttribute'](w['CTA_BUTTON_ATTRIBUTES']['HiddenBtn'],'true'),this['isCtaRendered']=!0x1;}['setCtaButtonStyles'](D){this['ctaButton']['setStyle']({'height':D['height'],'width':v['deviceDetector']['isMobile']?'100%':'unset'});const E=this['getDeviceStyle'](D['text']);this['ctaButton']['setAnchorButtonStyles']({'fontFamily':D['fontFamily'],'borderRadius':D['borderRadius'],'outline':D['borderColor']?'1px\x20solid\x20'+D['borderColor']:'','width':v['deviceDetector']['isMobile']?'100%':'unset'}),this['ctaButton']['setCtaTextStyle']({'fontSize':E['fontSize'],'fontWeight':E['fontWeight'],'lineHeight':E['lineHeight'],'letterSpacing':E['letterSpacing'],'paddingRight':v['deviceDetector']['isMobile']?'unset':'20px','justifyContent':v['deviceDetector']['isMobile']?'center':'unset'});const F=v['deviceDetector']['screenOrientation'];if(v['deviceDetector']['isMobile']&&(this['ctaButton']['setAnchorButtonStyles']({'width':'landscape'===F?'auto':'100%'}),this['ctaButton']['setCtaTextStyle']({'width':'landscape'===F?'auto':'100%'})),D['icon']['isVisible']){if(this['ctaButton']['setAttribute'](w['CTA_BUTTON_ATTRIBUTES']['IconUrl'],D['icon']['url']),this['ctaButton']['setAttribute'](w['CTA_BUTTON_ATTRIBUTES']['IconSize'],D['icon']['size']),this['ctaButton']['setCtaIconStyles']({'padding':'10px'}),v['deviceDetector']['isMobile']){const G=(0, B['convertCssUnitToNumber'])(D['icon']['size'])+0x14;this['ctaButton']['setCtaTextStyle']({'marginRight':G+'px'});}this['ctaButton']['setAttribute'](w['CTA_BUTTON_ATTRIBUTES']['DisplayIcon'],'true');}else this['ctaButton']['setAttribute'](w['CTA_BUTTON_ATTRIBUTES']['DisplayIcon'],'false');}['handleCtaClick'](D){D['target']===this['ctaButton']&&'landscape'===v['deviceDetector']['screenOrientation']&&v['deviceDetector']['isMobile']?this['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['DISPLAY_HIDE_OVERLAY_FROM_CTA'],{'bubbles':!0x0,'composed':!0x0})):(D['stopPropagation'](),this['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['CTA_CLICKED'],{'detail':{'url':this['ctaButton']['getAttribute']('href')},'bubbles':!0x0,'composed':!0x0})));}['attachStyles'](){const D=document['createElement']('style');D['textContent']='\x0a\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:\x20column;\x0a\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20box-sizing:\x20border-box;\x0a\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20space-between;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20\x22Inter\x22,\x20serif;\x0a\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20all;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x203;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.hidden\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20opacity\x200.5s\x20ease;\x20/*\x20Optional:\x20if\x20you\x20want\x20a\x20fade-out\x20*/\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.gradient-overlay-bottom,\x0a\x20\x20\x20\x20\x20\x20.gradient-overlay-top\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.gradient-overlay-bottom\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x2030%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20bottom:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background:\x20linear-gradient(180deg,\x20rgba(0,\x200,\x200,\x200)\x200%,\x20rgba(0,\x200,\x200,\x200.72)\x20105.77%);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.gradient-overlay-top\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x2030%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background:\x20linear-gradient(0deg,\x20rgba(0,\x200,\x200,\x200)\x200%,\x20rgba(0,\x200,\x200,\x200.72)\x20105.77%);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.top-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20space-between;\x0a\x20\x20\x20\x20\x20\x20\x20\x20column-gap:\x2025%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px\x2010px\x200px\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin:\x20-10px\x20-10px\x200\x20-10px;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.bottom-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:\x20column;\x0a\x20\x20\x20\x20\x20\x20\x20\x20gap:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x203;\x0a\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin:\x20-10px;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.bottom-container-cta\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.bottom-left-icons,\x0a\x20\x20\x20\x20\x20\x20.bottom-right-icons\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20gap:\x2010px;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.bottom-icons-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20space-between;\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.video-info\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.top-right-icons\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20gap:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:\x20column;\x0a\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20flex-start;\x0a\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20all;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.controls\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:\x20column;\x0a\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20all;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20blaze-button\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20all;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20blaze-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x2040%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x2050%;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',this['shadow']['appendChild'](D);}['createDOM'](){this['gradientOverlayBottom']['classList']['add']('gradient-overlay-bottom'),this['gradientOverlayTop']['classList']['add']('gradient-overlay-top'),this['shadow']['appendChild'](this['gradientOverlayTop']),this['shadow']['appendChild'](this['gradientOverlayBottom']),v['deviceDetector']['isDesktop']&&(this['loader']['setAttribute']('color',A['Colors']['White']),this['shadow']['appendChild'](this['loader'])),this['playerLayout']&&(this['videoInfoText']['classList']['add']('video-info'),this['createTopContainer'](),this['createBottomContainer']());}['getDeviceStyle'](D){switch(!0x0){case v['deviceDetector']['isMobile']:return D['mobile'];case v['deviceDetector']['isTablet']:return D['tablet'];case v['deviceDetector']['isDesktop']:default:return D['desktop'];}}['getButtonStyle'](D){return this['getDeviceStyle'](this['playerLayout']['buttons'][D]);}['getLikeButtonStyle'](D){return this['getDeviceStyle'](D);}['getHeadingTextStyle'](D){return this['getDeviceStyle'](D);}['setHeadingStyle'](D,E){const {font:F,textColor:G,isVisible:H}=E,{fontWeight:I,fontSize:J,textTransform:K,lineHeight:L}=this['getHeadingTextStyle'](E['textStyle']);D['setStyle']({'fontFamily':F,'fontWeight':I,'fontSize':J,'color':G,'textTransform':K||'none','lineHeight':L||'normal','visibility':H?'visible':'hidden'});}['setButtonStyle'](D,E,F,G){D['setAttribute'](w['BUTTON_ATTRIBUTES']['Width'],E['width']),D['setAttribute'](w['BUTTON_ATTRIBUTES']['Height'],E['height']),D['setIconUrl'](F),D['setAttribute'](w['BUTTON_ATTRIBUTES']['IconColor'],(null==G?void 0x0:G['iconColor'])||E['color']),v['deviceDetector']['isDesktop']&&D['setAttribute'](w['BUTTON_ATTRIBUTES']['ButtonDesktopAnimation'],'true'),D['setStyle']({'display':'inline-flex','padding':E['padding'],'borderRadius':E['borderRadius'],'backgroundColor':E['backgroundColor']});}['createTopContainer'](){const D=y['WidgetsFactory']['create']('blaze-div');D['classList']['add']('top-container'),D['id']='top-container',this['setHeadingStyle'](this['videoInfoText'],this['playerLayout']['headingText']),D['appendChild'](this['videoInfoText']);const E=y['WidgetsFactory']['create']('blaze-div');if(E['classList']['add']('top-right-icons'),!z['ConfigService']['staticContentType']){const H=this['getButtonStyle']('exit');this['setButtonStyle'](this['closeButton'],H,this['playerLayout']['icons']['exit']),H['isVisible']&&E['appendChild'](this['closeButton']);}const F=this['getButtonStyle']('share');this['setButtonStyle'](this['shareButton'],F,this['playerLayout']['icons']['share']),F['isVisible']&&E['appendChild'](this['shareButton']);const G=this['getButtonStyle']('like_unlike');this['setButtonStyle'](this['likeButton'],G,this['playerLayout']['icons']['unlike'],{'iconColor':A['Colors']['White']}),G['isVisible']&&E['appendChild'](this['likeButton']),E['addEventListener']('click',I=>{I['target']===E&&I['stopPropagation']();}),D['appendChild'](E),this['shadow']['appendChild'](D);}['createBottomContainer'](){const D=y['WidgetsFactory']['create']('blaze-div');D['classList']['add']('bottom-container'),this['bottomContainerCta']['id']='bottom-container-cta',this['bottomContainerCta']['classList']['add']('bottom-container-cta');const E=y['WidgetsFactory']['create']('blaze-div');E['id']='bottom-container-controls',this['bottomContainerCta']['appendChild'](this['ctaButton']);const F=this['createControls']();E['appendChild'](F);const G=y['WidgetsFactory']['create']('blaze-div');G['classList']['add']('bottom-icons-container');const H=this['createBottomLeftIcons']();G['appendChild'](H);const I=this['createBottomRightIcons']();G['appendChild'](I),E['appendChild'](G),D['appendChild'](this['bottomContainerCta']),D['appendChild'](E),D['addEventListener']('click',J=>J['stopPropagation']()),this['shadow']['appendChild'](D);}['createControls'](){const D=y['WidgetsFactory']['create']('blaze-div');return D['classList']['add']('controls'),D['appendChild'](this['videoTimer']),D['appendChild'](this['videoSeekBar']),D;}['createBottomRightIcons'](){const D=y['WidgetsFactory']['create']('blaze-div');D['classList']['add']('bottom-left-icons');const E=this['getButtonStyle']('fullscreen');this['setButtonStyle'](this['fullscreenButton'],E,this['playerLayout']['icons']['fullscreenEnter']);const F=this['getButtonStyle']('mute_unmute');this['setButtonStyle'](this['muteButton'],F,this['playerLayout']['icons']['mute']),F['isVisible']&&D['appendChild'](this['muteButton']);const G=this['getButtonStyle']('closed_captions');return this['setButtonStyle'](this['closedCaptionButton'],G,this['playerLayout']['icons']['closedCaptionsOn']),G['isVisible']&&D['appendChild'](this['closedCaptionButton']),v['deviceDetector']['isFullscreenSupported']&&E['isVisible']&&D['appendChild'](this['fullscreenButton']),D;}['createBottomLeftIcons'](){const D=y['WidgetsFactory']['create']('blaze-div');return D['classList']['add']('bottom-right-icons'),v['deviceDetector']['isDesktop']?(this['videoNavigationOverlay']['platform']='desktop',D['appendChild'](this['videoNavigationOverlay'])):v['deviceDetector']['isTablet']?(this['videoNavigationOverlay']['platform']='tablet',this['shadow']['appendChild'](this['videoNavigationOverlay'])):v['deviceDetector']['isMobile']&&(this['videoNavigationOverlay']['platform']='mobile',this['shadow']['appendChild'](this['videoNavigationOverlay'])),D;}['attachEventListeners'](){this['fullscreenButton']['addEventListener'](q['EVENTS']['CLICK'],this['boundOnFullscreenClick']),this['shareButton']['addEventListener'](q['EVENTS']['CLICK'],this['boundOnShareClick']),this['likeButton']['addEventListener'](q['EVENTS']['CLICK'],this['boundOnLikeClick']),this['muteButton']['addEventListener'](q['EVENTS']['CLICK'],this['boundOnMuteClick']),this['ctaButton']['addEventListener'](q['EVENTS']['CLICK'],this['boundOnCtaClick']),this['closedCaptionButton']['addEventListener'](q['EVENTS']['CLICK'],this['boundOnClosedCaptionClick']),(v['deviceDetector']['isMobile']||v['deviceDetector']['isTablet'])&&this['closeButton']['addEventListener'](q['EVENTS']['CLICK'],this['boundOnCloseClick']),this['bottomContainerCta']['addEventListener'](q['EVENTS']['CLICK'],this['boundOnCtaContainerClick']),window['addEventListener'](v['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnScreenOrientationChange']);}['detachEventListeners'](){this['fullscreenButton']['removeEventListener'](q['EVENTS']['CLICK'],this['boundOnFullscreenClick']),this['shareButton']['removeEventListener'](q['EVENTS']['CLICK'],this['boundOnShareClick']),this['likeButton']['removeEventListener'](q['EVENTS']['CLICK'],this['boundOnLikeClick']),this['muteButton']['removeEventListener'](q['EVENTS']['CLICK'],this['boundOnMuteClick']),this['ctaButton']['removeEventListener'](q['EVENTS']['CLICK'],this['boundOnCtaClick']),this['closedCaptionButton']['removeEventListener'](q['EVENTS']['CLICK'],this['boundOnClosedCaptionClick']),(v['deviceDetector']['isMobile']||v['deviceDetector']['isTablet'])&&this['closeButton']['removeEventListener'](q['EVENTS']['CLICK'],this['boundOnCloseClick']),this['bottomContainerCta']['removeEventListener'](q['EVENTS']['CLICK'],this['boundOnCtaContainerClick']),window['removeEventListener'](v['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnScreenOrientationChange']);}['handleCtaContainerClick'](D){D['stopPropagation'](),this['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['DISPLAY_HIDE_OVERLAY_FROM_CTA'],{'bubbles':!0x0,'composed':!0x0}));}['handleFullscreenClick'](D){D['stopPropagation'](),this['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['FULLSCREEN'],{'bubbles':!0x0,'composed':!0x0}));}['handleShareClick'](D){D['stopPropagation'](),this['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['SHARE'],{'bubbles':!0x0,'composed':!0x0}));}['handleLikeClick'](D){D['stopPropagation'](),this['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['LIKE'],{'bubbles':!0x0,'composed':!0x0}));}['handleCloseClick'](D){D['stopPropagation'](),this['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['CLOSE_PLAYER'],{'detail':{'exitTrigger':'Close\x20Button'},'bubbles':!0x0,'composed':!0x0}));}['handleClosedCaptionClick'](D){D['stopPropagation'](),this['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['CLOSED_CAPTIONS_OPEN_MODAL'],{'bubbles':!0x0,'composed':!0x0}));}['handleMuteClick'](D){D['stopPropagation'](),this['currentMuteState']===x['ButtonState']['Unmute']?(this['currentMuteState']=x['ButtonState']['Mute'],this['updateMuteButtonIcon'](),this['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['MUTE'],{'bubbles':!0x0,'composed':!0x0}))):(this['currentMuteState']=x['ButtonState']['Unmute'],this['updateMuteButtonIcon'](),this['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['UNMUTE'],{'bubbles':!0x0,'composed':!0x0})));}['updateClosedCaptionButtonIcon'](D){const {closedCaptionsOn:E,closedCaptionsOff:F}=this['playerLayout']['icons'];this['closedCaptionButton']['setIconUrlAnimation'](D?E:F);}['setMuteState'](D){this['currentMuteState']=D?x['ButtonState']['Mute']:x['ButtonState']['Unmute'],this['updateMuteButtonIcon']();}['updateMuteButtonIcon'](){const {mute:D,unmute:E}=this['playerLayout']['icons'];this['muteButton']['setIconUrlAnimation'](this['currentMuteState']===x['ButtonState']['Unmute']?E:D);}['toggleMute'](D){this['currentMuteState']=D?x['ButtonState']['Mute']:x['ButtonState']['Unmute'],this['updateMuteButtonIcon']();}['updateMute'](D){this['toggleMute'](D);}['setFullscreenState'](D){const E=null!=D?D:'normal'===z['VideoPlayerService']['playerLayout'];z['VideoPlayerService']['playerLayout']=E?'fullscreen':'normal';const {fullscreenEnter:F,fullscreenExit:G}=this['playerLayout']['icons'];this['fullscreenButton']['setIconUrlAnimation'](E?G:F);}['setVideoDuration'](D){this['videoTimer']['updateTotalTime'](D);}['setCurrentTime'](D){this['videoTimer']['updateCurrentTime'](D);}['updateVideoInfoText'](D){this['videoInfoText']['textContent']=D;}['setLikedState'](D){const {like:E,unlike:F}=this['playerLayout']['icons'];this['likeButton']['setIconUrlAnimation'](D?E:F),this['likeButton']['setAttribute'](w['BUTTON_ATTRIBUTES']['IconColor'],D?this['getLikeButtonStyle'](this['playerLayout']['buttons']['like_unlike'])['color']:A['Colors']['White']);}}g['BlazeLongFormControlsOverlay']=C;},0xfae:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeVideoNavigationOverlay']=f['NAVIGATION_OVERLAY_ATTRIBUTES']=void 0x0;const h=g(0x774),j=g(0x1133),k=g(0x1699),m=g(0x22d9),p=g(0x2432);f['NAVIGATION_OVERLAY_ATTRIBUTES']={'Hidden':'hidden','Layout':'layout','HasPrev':'has-prev','HasNext':'has-next'};class q extends HTMLElement{constructor(){super(),this['shadow']=this['attachShadow']({'mode':'open'}),this['nextButton']=m['WidgetsFactory']['create']('blaze-button'),this['prevButton']=m['WidgetsFactory']['create']('blaze-button'),this['playPauseButton']=m['WidgetsFactory']['create']('blaze-button'),this['isPlaying']=!0x1,this['boundOnPrevClick']=this['onPrevClick']['bind'](this),this['boundOnNextClick']=this['onNextClick']['bind'](this),this['boundOnPlayStopClick']=this['onPlayStopClick']['bind'](this),this['boundOnPlay']=this['setPlaying']['bind'](this,!0x0),this['loader']=m['WidgetsFactory']['create']('blaze-loader');}static get['observedAttributes'](){return Object['values'](f['NAVIGATION_OVERLAY_ATTRIBUTES']);}['attributeChangedCallback'](u,v,w){v!==w&&this['applyAttribute'](u,w);}['applyAttribute'](u,v){switch(u){case f['NAVIGATION_OVERLAY_ATTRIBUTES']['Hidden']:'true'===v?this['hideOverlay']():this['showOverlay']();break;case f['NAVIGATION_OVERLAY_ATTRIBUTES']['HasPrev']:this['setButtonDisabled'](this['prevButton'],'true'!==v?'true':'false');break;case f['NAVIGATION_OVERLAY_ATTRIBUTES']['HasNext']:this['setButtonDisabled'](this['nextButton'],'true'!==v?'true':'false');}}['connectedCallback'](){this['initializeStyles'](),this['setStyle'](),this['createDom'](),this['attachEventListeners']();}['disconnectedCallback'](){this['removeEventListeners']();}['initializeStyles'](){const u=document['createElement']('style');u['textContent']='\x0a\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x205;\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20auto;\x0a\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20opacity\x200.3s\x20ease,\x20visibility\x200.3s\x20ease;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20:host(.hidden)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.middle-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20center;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20blaze-button\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20center;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20blaze-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',this['shadow']['appendChild'](u);}['setStyle'](){switch(this['platform']){case'mobile':case'tablet':(0, p['mergeStyles'])(this,{'position':'absolute','top':'50%','left':'50%','transform':'translate(-50%,\x20-50%)','gap':'20px'});break;case'desktop':(0, p['mergeStyles'])(this,{'position':'relative','gap':'5px'});}}['setTheme'](u){this['navigationStyle']=u;}get['platform'](){return this['_platform']||(this['_platform']=this['getAttribute']('layout')),this['_platform'];}set['platform'](u){this['_platform']=u,this['setAttribute']('layout',u);}['setButtonStyle'](u,v,w){var x,y,z,A;u['setAttribute'](k['BUTTON_ATTRIBUTES']['Width'],v['width']),u['setAttribute'](k['BUTTON_ATTRIBUTES']['Height'],v['height']),u['setIconUrl'](w),j['deviceDetector']['isDesktop']&&u['setAttribute'](k['BUTTON_ATTRIBUTES']['ButtonDesktopAnimation'],'true'),u['setStyle']({'padding':null!==(x=v['padding'])&&void 0x0!==x?x:null,'color':null!==(y=v['color'])&&void 0x0!==y?y:null,'borderRadius':null!==(z=v['borderRadius'])&&void 0x0!==z?z:null,'backgroundColor':null!==(A=v['backgroundColor'])&&void 0x0!==A?A:null});}['createDom'](){if(!this['navigationStyle'])return;this['setButtonStyle'](this['prevButton'],this['navigationStyle']['prev_next'][this['platform']],this['navigationStyle']['navigation']['prevVideo']),this['setButtonStyle'](this['nextButton'],this['navigationStyle']['prev_next'][this['platform']],this['navigationStyle']['navigation']['nextVideo']),this['setButtonStyle'](this['playPauseButton'],this['navigationStyle']['play_pause'][this['platform']],this['navigationStyle']['play']);const u=m['WidgetsFactory']['create']('blaze-div');u['id']='middle-container-play-pause',u['classList']['add']('middle-container'),u['appendChild'](this['playPauseButton']);const v=this['navigationStyle']['prev_next'][this['platform']]['isVisible'];if(v&&this['shadow']['appendChild'](this['prevButton']),this['shadow']['appendChild'](u),v&&this['shadow']['appendChild'](this['nextButton']),this['loader']['setAttribute']('color','#FFD325'),['mobile','tablet']['includes'](this['platform'])){const w=u['getBoundingClientRect']()['width'];u['style']['width']=w+'px';}}['attachEventListeners'](){this['prevButton']['addEventListener'](h['EVENTS']['CLICK'],this['boundOnPrevClick']),this['nextButton']['addEventListener'](h['EVENTS']['CLICK'],this['boundOnNextClick']),this['playPauseButton']['addEventListener'](h['EVENTS']['CLICK'],this['boundOnPlayStopClick']),document['addEventListener'](h['VIDEO_EVENTS']['PLAY'],this['boundOnPlay']);}['removeEventListeners'](){this['prevButton']['removeEventListener'](h['EVENTS']['CLICK'],this['boundOnPrevClick']),this['nextButton']['removeEventListener'](h['EVENTS']['CLICK'],this['boundOnNextClick']),this['playPauseButton']['removeEventListener'](h['EVENTS']['CLICK'],this['boundOnPlayStopClick']),document['removeEventListener'](h['VIDEO_EVENTS']['PLAY'],this['boundOnPlay']);}['setButtonDisabled'](u,v){u['setAttribute'](k['BUTTON_ATTRIBUTES']['Disabled'],v);}['onPrevClick'](u){u['stopPropagation'](),this['dispatchEvent'](new CustomEvent(h['VIDEO_EVENTS']['NAVIGATION_PREV'],{'bubbles':!0x0,'composed':!0x0}));}['onNextClick'](u){u['stopPropagation'](),this['dispatchEvent'](new CustomEvent(h['VIDEO_EVENTS']['NAVIGATION_NEXT'],{'bubbles':!0x0,'composed':!0x0}));}['onPlayStopClick'](u){u['stopPropagation'](),this['setPlaying'](!this['isPlaying']);const v=this['isPlaying']?h['VIDEO_EVENTS']['PLAY']:h['VIDEO_EVENTS']['PAUSE'];this['dispatchEvent'](new CustomEvent(v,{'bubbles':!0x0,'composed':!0x0}));}['setPlaying'](u){if(this['isPlaying']=u,!this['navigationStyle'])return;const {play:v,pause:w}=this['navigationStyle'];this['playPauseButton']['setIconUrlAnimation'](u?w:v);}['showLoader'](){this['playPauseButton']['replaceWith'](this['loader']),this['loader']['style']['display']='block';}['hideLoader'](){this['loader']['replaceWith'](this['playPauseButton']),this['loader']['style']['display']='none';}['hideOverlay'](){this['classList']['add']('hidden');}['showOverlay'](){this['classList']['remove']('hidden');}}f['BlazeVideoNavigationOverlay']=q;},0xa29:function(f,g,j){var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetVideoModal']=void 0x0;const m=j(0x1133),p=j(0x1932),q=j(0x26ed),u=j(0x22d9),v=j(0x11c1),w=j(0x14c);class y extends w['BlazeWidgetModal']{constructor(z,A){super('video'),this['parentWidget']=z,this['playerLayout']=A,this['data']=[],this['boundOnResizeEventDelay']=this['onResizeEventDelay']['bind'](this),this['boundOnKeyDown']=this['onKeyDown']['bind'](this),this['boundOnBeforeUnload']=this['onBeforeUnload']['bind'](this);}get['currentPlayedContent'](){return this['player']['playerContentList'][0x0];}['connectedCallback'](){super['connectedCallback'](),window['addEventListener']('resize',this['boundOnResizeEvent']),window['addEventListener'](m['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnResizeEventDelay']),m['deviceDetector']['isDesktop']&&(window['addEventListener']('keydown',this['boundOnKeyDown']),window['addEventListener']('beforeunload',this['boundOnBeforeUnload'])),this['render']();}['disconnectedCallback'](){var z;super['disconnectedCallback'](),window['removeEventListener']('resize',this['boundOnResizeEvent']),window['removeEventListener'](m['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnResizeEventDelay']),m['deviceDetector']['isDesktop']&&(window['removeEventListener']('keydown',this['boundOnKeyDown']),window['removeEventListener']('beforeunload',this['boundOnBeforeUnload'])),null===(z=this['player'])||void 0x0===z||z['destroy']();}['setTheme'](z){var A;this['playerLayout']=z,this['style']['background']=z['backgroundColor'],null===(A=this['currentPlayedContent'])||void 0x0===A||A['setTheme'](z);}['setModalContent'](z){this['data']=z,this['style']['background']=this['playerLayout']['backgroundColor'];const A=[];for(let B=0x0;B<z['length'];B++){const C=u['WidgetsFactory']['create']('blaze-video-element');C['setTheme'](this['playerLayout']),C['setData'](z[B]),C['setModal'](this),A['push'](C);}this['player']['setContent'](A);}['onBeforeUnload'](){return this['isOpen']&&this['dispatchExitEvent'](),null;}['dispatchExitEvent'](){var z,A;const B=this['currentPlayedContent'];B['event'](p['VideoAction']['VideoEnd'],{'video_end_trigger':'Page\x20Unload'}),v['AnalyticsService']['sendAnalyticsData'](),null===(A=null===(z=B['widgetParentItem'])||void 0x0===z?void 0x0:z['updateWidget'])||void 0x0===A||A['call'](z),B['updateWidgetStatusReadUnread']();}['close'](){const z=Object['create'](null,{'close':{'get':()=>super['close']}});return k(this,void 0x0,void 0x0,function*(){var A;if(!this['isOpen'])return;if(!this['isAllowExitModal']({'shouldDismissPlayer':v['ConfigService']['shouldDismissPlayer'],'playReference':v['VideoPlayerService']['playReference']}))return;const B=this['player']['playerContentList'][0x0];B['exitTrigger']='Escape\x20Button',B['event'](p['VideoAction']['VideoEnd'],{}),v['EventService']['dispatch'](this,q['Delegation']['onPlayerDismissed']),this['parentWidget']&&v['EventService']['dispatch'](this['parentWidget'],q['Delegation']['onWidgetPlayerDismissed'],{'widgetId':this['parentWidget']['id']}),yield this['player']['tryToCloseFullscreen'](),z['close']['call'](this),null===(A=this['onClose'])||void 0x0===A||A['call'](this);});}['open'](){var z;this['isOpen']||v['EventService']['dispatch'](this,q['Delegation']['onPlayerDidAppear']),super['open'](),null===(z=this['onOpen'])||void 0x0===z||z['call'](this);}['play'](){}['onKeyDown'](z){this['isOpen']&&!document['fullscreenElement']&&'Escape'==z['key']&&this['close']();}['onResize'](){super['onResize']();}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},p['ONE_SECOND']/0x2);}}g['BlazeWidgetVideoModal']=y;},0x23e7:function(f,g,j){var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});},m=this&&this['__importDefault']||function(z){return z&&z['__esModule']?z:{'default':z};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetVideoPlayer']=void 0x0;const p=m(j(0xad8)),q=j(0x774),u=j(0x1133),v=j(0x1932),w=j(0x11c1),x=j(0x23a6);class y extends x['WidgetAbstractPlayer']{constructor(){super(),this['boundOnNavigationPrev']=this['handlePrevDirection']['bind'](this),this['boundOnNavigationNext']=this['handleNextDirection']['bind'](this),this['boundOnResize']=this['calculateDesktopStyles']['bind'](this),this['boundOnScreenChangeByBrowser']=this['handleScreenChangeByBrowser']['bind'](this),this['boundOnKeyDown']=this['handleNavigationKeyPress']['bind'](this),this['visibilityManager']=new u['VisibilityManager'](this),this['fullscreenManager']=new u['FullscreenManager'](this),this['resumeAfterFocus']=!0x1,this['numberOfContentInList']=0x1;}['connectedCallback'](){this['append'](this['srcBackground']),this['append'](this['destBackground']),this['append'](this['container']),this['applyStyles'](),this['setupContainer'](),this['setupEventListeners']();}['disconnectedCallback'](){this['detachEventListeners']();}['destroy'](){this['visibilityManager']['detach'](),this['fullscreenManager']['destroy']();}get['currentVideoItem'](){return this['playerContentList'][0x0];}['setupEventListeners'](){u['deviceDetector']['isDesktop']&&(window['addEventListener'](q['EVENTS']['KEYDOWN'],this['boundOnKeyDown']),window['addEventListener'](q['EVENTS']['RESIZE'],this['boundOnResize'])),this['addEventListener'](q['VIDEO_EVENTS']['NAVIGATION_PREV'],this['boundOnNavigationPrev']),this['addEventListener'](q['VIDEO_EVENTS']['NAVIGATION_NEXT'],this['boundOnNavigationNext']),this['fullscreenManager']['onFullscreenChangeByBrowser']=this['boundOnScreenChangeByBrowser'];}['detachEventListeners'](){u['deviceDetector']['isDesktop']&&(window['removeEventListener'](q['EVENTS']['KEYDOWN'],this['boundOnKeyDown']),window['removeEventListener'](q['EVENTS']['RESIZE'],this['boundOnResize'])),this['removeEventListener'](q['VIDEO_EVENTS']['NAVIGATION_PREV'],this['boundOnNavigationPrev']),this['removeEventListener'](q['VIDEO_EVENTS']['NAVIGATION_NEXT'],this['boundOnNavigationNext']);}['tryToCloseFullscreen'](){return k(this,void 0x0,void 0x0,function*(){this['fullscreenManager']&&this['fullscreenManager']['isFullscreenMode']()&&(yield this['fullscreenManager']['exitFullscreen'](),yield this['fullscreenManager']['waitForFullscreenExit']());});}['toggleFullscreen'](){return k(this,void 0x0,void 0x0,function*(){yield this['fullscreenManager']['toggleFullscreen'](),this['updateContainerStyles']();});}['handleScreenChangeByBrowser'](){var z;null===(z=this['currentVideoItem'])||void 0x0===z||z['setPlayerLayoutToNormal'](),this['updateContainerStyles']();}['applyStyles'](){this['setStyle']({'display':'block','overflow':'hidden','height':'100%','width':'100%','minHeight':'100%','position':'relative'});}['setupContainer'](){return k(this,void 0x0,void 0x0,function*(){this['updateContainerStyles']();});}['updateContainerStyles'](){const z=this['calculateDesktopStyles']();this['container']['style']['cssText']='',Object['assign'](this['container']['style'],{'overflow':'hidden','position':'absolute','top':'50%','left':'50%','transform':'translate(-50%,\x20-50%)','display':'flex','justifyContent':'center','alignItems':'center'}),'fullscreen'===w['VideoPlayerService']['playerLayout']?Object['assign'](this['container']['style'],{'width':'100%','height':'100%','top':'0','left':'0','transform':'none','borderRadius':'0'}):u['deviceDetector']['isMobile']||u['deviceDetector']['isTablet']?Object['assign'](this['container']['style'],{'width':'100%','height':'100%','borderRadius':'0'}):Object['assign'](this['container']['style'],z);}['calculateDesktopStyles'](){const z=0x10/0x9,A=0.9*window['innerWidth'],B=0.8*window['innerHeight'];let C=A,D=C/z;return D>B&&(D=B,C=D*z),{'width':C+'px','height':D+'px','objectFit':'contain','borderRadius':'24px'};}['handleDirection'](z){return k(this,void 0x0,void 0x0,function*(){var A,B,C,D;if(!navigator['onLine'])return;const E=this['contentList']['findIndex'](G=>G['data']['id']===this['currentVideoItem']['data']['id']),F=this['contentList']['Backwards'===z?E-0x1:E+0x1];if(!F)return this['pause'](),void this['restart']();if(null===(A=this['onContentChange'])||void 0x0===A||A['call'](this,'Backwards'===z?'PREV':'NEXT'),this['currentVideoItem']['unload'](),w['ConfigService']['shouldAllowClosedCaptions']){const G=null===(B=F['data']['closedCaptions'])||void 0x0===B?void 0x0:B['find'](H=>''+H['language']===localStorage['getItem'](v['LOCAL_STORAGE_KEY_LAST_SELECTED']));this['currentVideoItem']['setClosedCaptions'](null!==(C=null==G?void 0x0:G['files'])&&void 0x0!==C?C:[]),null===(D=this['currentVideoItem']['closedCaptionsModal'])||void 0x0===D||D['reloadData'](F['data']['closedCaptions']),this['currentVideoItem']['videoOverlay']['updateClosedCaptionButtonIcon'](!!G);}yield this['currentVideoItem']['setData'](F['data']),F['widgetParentItem']&&this['currentVideoItem']['setWidgetItemParent'](F['widgetParentItem']),yield this['play']();});}['handlePrevDirection'](){this['handleDirection']('Backwards');}['handleNextDirection'](){this['handleDirection']('Forwards');}['setContent'](z){for(const A of this['playerContentList'])A['remove']();this['playerContentList']=[],this['contentList']=z;}['load'](){return k(this,void 0x0,void 0x0,function*(){yield this['currentVideoItem']['load']();});}['play'](){return k(this,void 0x0,void 0x0,function*(){yield this['load'](),yield this['currentVideoItem']['play'](),this['currentVideoItem']['event'](v['VideoAction']['VideoStart'],{}),this['currentVideoItem']['event'](v['VideoAction']['PlaybackInitialStart'],{}),w['VideoPlayerService']['isPlaying']=!0x0,this['updateOverlayNavigationPlayingState'](!0x0),this['updateOverlayNavigationButtons']();});}['resume'](){return k(this,void 0x0,void 0x0,function*(){yield this['currentVideoItem']['play'](),this['currentVideoItem']['event'](v['VideoAction']['VideoStart'],{}),w['VideoPlayerService']['isPlaying']=!0x0,this['updateOverlayNavigationPlayingState'](!0x0);});}['pause'](){this['currentVideoItem']['pause'](),this['currentVideoItem']['event'](v['VideoAction']['VideoEnd'],{}),w['VideoPlayerService']['isPlaying']=!0x1,this['updateOverlayNavigationPlayingState'](!0x1);}['restart'](){this['currentVideoItem']['video']['currentTime']=0x0,this['currentVideoItem']['videoOverlay']['videoTimer']['updateCurrentTime'](0x0);}['updateOverlayNavigationPlayingState'](z){this['currentVideoItem']['setIsPlaying'](z);}['updateOverlayNavigationButtons'](){const z=this['currentVideoItem']['data']['id'],A=this['contentList']['findIndex'](D=>D['data']['id']===z),B=A<this['contentList']['length']-0x1,C=A>0x0;this['currentVideoItem']['videoOverlay']['videoNavigationOverlay']['setAttribute']('has-next',B['toString']()),this['currentVideoItem']['videoOverlay']['videoNavigationOverlay']['setAttribute']('has-prev',C['toString']());}['handleNavigationKeyPress'](z){if(this['isNavigationBlocked']||this['currentVideoItem']['isPlayingAd']||'video'===w['ConfigService']['staticContentType'])return;let A=null;switch(z['code']){case q['KEY_CODES']['ARROW_LEFT']:A='Backwards';break;case q['KEY_CODES']['ARROW_RIGHT']:A='Forwards';}A&&this['handleDirection'](A);}['createAnimation'](z,A,B){return p['default']['timeline']();}['handleAnimationStart'](z,A){}['handleAnimationCompletion'](z,A){return k(this,void 0x0,void 0x0,function*(){});}['loadAndPlayContent'](){return k(this,void 0x0,void 0x0,function*(){});}['preloadAdjacentContent'](z){return k(this,void 0x0,void 0x0,function*(){});}['prefetchPosters'](){return k(this,void 0x0,void 0x0,function*(){});}['onAnimationEnd'](){}['handleMoveSwipe'](z){}['handleEndSwipe'](z){}['resetStyles'](){}['render'](){this['setupContainer']();}}g['BlazeWidgetVideoPlayer']=y;},0x1789:function(f,g,j){var k=this&&this['__awaiter']||function(D,E,F,G){return new(F||(F=Promise))(function(H,I){function J(M){try{L(G['next'](M));}catch(N){I(N);}}function K(M){try{L(G['throw'](M));}catch(N){I(N);}}function L(M){var N;M['done']?H(M['value']):(N=M['value'],N instanceof F?N:new F(function(O){O(N);}))['then'](J,K);}L((G=G['apply'](D,E||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeVideoElement']=void 0x0;const m=j(0x774),q=j(0x1133),v=j(0x1932),w=j(0x26ed),x=j(0x22d9),y=j(0x11c1),z=j(0x132a),A=j(0x2432),B=j(0x23a6);class C extends B['BlazeWidgetVideoBase']{constructor(){super(),this['shadow']=this['attachShadow']({'mode':'open'}),this['video']=document['createElement']('video'),this['captionsElement']=x['WidgetsFactory']['create']('blaze-widget-captions'),this['shareModal']=x['WidgetsFactory']['create']('blaze-widget-share-modal'),this['widgetVastAd']=new B['BlazeWidgetVastAd']('video',this['getRefferingObject']['bind'](this)),this['adPercentageShownPlaces']=new Map(),this['lastSavedTime']=0x0,this['shouldSaveAfterSeek']=!0x1,this['inactivityEvents']=['mousemove','keydown','scroll','touchstart'],this['contentType']='video',this['data']={},this['isActionBlocked']=!0x1,this['isInitializing']=!0x1,this['isLoaded']=!0x1,this['isPausedManually']=!0x1,this['videoSessionId']=(0, A['getRandomId'])(),this['startTrigger']='',this['exitTrigger']='',this['navigationType']='',this['boundHandleLoaderDisplay']=this['handleLoaderDisplay']['bind'](this),this['boundHandleLoaderHide']=this['handleLoaderHide']['bind'](this),this['boundHandleTimeUpdate']=this['handleVideoTimeUpdate']['bind'](this),this['boundHandleLoadedMetadata']=this['handleLoadedMetadata']['bind'](this),this['boundHandleVideoEnded']=this['handleVideoEnded']['bind'](this),this['boundHandleSeekDebounce']=(0, q['debounce'])(this['handleSeekRequest']['bind'](this),0x3e8),this['boundHandleMouseIn']=this['handleMouseIn']['bind'](this),this['boundHandleMouseOut']=this['handleMouseOut']['bind'](this),this['boundHandleMouseMove']=this['handleMouseMove']['bind'](this),this['boundHandleOverlayEvents']=this['handleOverlayEvents']['bind'](this),this['boundHandleAdStarted']=this['handleAdStarted']['bind'](this),this['boundHandleAdEnded']=this['handleAdEnded']['bind'](this),this['boundHandleLanguageChange']=this['handleLanguageChange']['bind'](this),this['startOverlayAutoHideTimer']=()=>{this['clearOverlayTimer'](),this['inactivityTimeout']=setTimeout(()=>{this['hidePlayerOverlay']();},0x1388);},q['deviceDetector']['isMobile']||q['deviceDetector']['isTablet']?this['boundHandleClick']=(0, q['debounce'])(this['handleClick']['bind'](this),0xfa):this['boundHandleClick']=this['handleClick']['bind'](this);}['connectedCallback'](){this['initialize'](),this['setupEventListeners']();}['disconnectedCallback'](){this['destroy']();}['attributeChangedCallback'](D,E,F){E!==F&&this['applyAttribute'](D,F);}['setTheme'](D){var E;this['playerStyle']=D,null===(E=this['videoOverlay'])||void 0x0===E||E['setTheme'](D);}['setWidgetItemParent'](D){this['widgetParentItem']=D;}['setData'](D){this['data']=D,this['adPercentageShownPlaces']['clear']();}['setModal'](D){this['modal']=D;}['setIsPlaying'](D){this['videoOverlay']['videoNavigationOverlay']['setPlaying'](D);}['load'](){return k(this,void 0x0,void 0x0,function*(){var D;if(this['isLoaded'])return;this['isLoaded']=!0x0,this['isActionBlocked']=!0x0;const {title:E,id:F}=this['data'];this['title']=E,this['videoId']=F;const [G,H]=yield Promise['all']([y['VideoService']['getVideoDataById'](F),y['LikeService']['isVideoLiked'](F),this['setupClosedCaptions']()]),I=(null==G?void 0x0:G['posterCurrentTime'])||this['data']['poster']['rendition']['url'];this['video']['poster']=I,q['deviceDetector']['isIOSMobileTabletSafari']()&&(null===(D=this['posterOverlayElement'])||void 0x0===D||D['setStyle']({'backgroundImage':'url('+I+')'})),this['isLiked']=H,this['lastSavedTime']=(null==G?void 0x0:G['currentTime'])||0x0,this['data']['cta']&&this['setCta'](this['data']['cta']),this['playbackStrategy']['initialize'](this['videoOverlay']);const {url:J,bitRate:K,aspectRatio:L}=this['data']['baseLayer']['content']['renditions'][0x0];this['aspectRatio']=L,this['playbackStrategy']['loadSource'](J,K,this['lastSavedTime']);});}['setupClosedCaptions'](){return k(this,void 0x0,void 0x0,function*(){var D,E;const F=null===(D=this['data']['closedCaptions'])||void 0x0===D?void 0x0:D['find'](G=>''+G['language']===localStorage['getItem'](v['LOCAL_STORAGE_KEY_LAST_SELECTED']));this['videoOverlay']['setClosedCaptionState']((null===(E=this['data']['closedCaptions'])||void 0x0===E?void 0x0:E['length'])?'enabled':'disabled'),this['videoOverlay']['updateClosedCaptionButtonIcon'](!!F),F&&(yield this['setClosedCaptions'](F['files']));});}['setClosedCaptions'](D){return k(this,void 0x0,void 0x0,function*(){var E,F;this['captionsElement']['setAttribute']('is-visible',D&&D['length']?'true':'false'),'Content'===(null===(E=this['data'])||void 0x0===E?void 0x0:E['type'])&&(this['captionsElement']['isConnected']||null===(F=this['shadowRoot'])||void 0x0===F||F['append'](this['captionsElement']),yield this['captionsElement']['initialize'](this['video'],D));});}['setCta'](D){this['videoOverlay']['setCta'](D);}['setTitle'](D){this['videoOverlay']['setAttribute']('video-title',D);}['setLiked'](D){this['videoOverlay']['setLikedState'](D);}['setVideoId'](D){this['video']['setAttribute']('data-video-id',D);}['createSnapshot'](){return k(this,void 0x0,void 0x0,function*(){yield new Promise(J=>setTimeout(J,0x64));const D=document['createElement']('canvas'),E=this['video']['videoWidth'],F=this['video']['videoHeight'];D['width']=E,D['height']=F;const G=D['getContext']('2d');let H='',I=0x0;return G&&(I=this['video']['currentTime'],G['drawImage'](this['video'],0x0,0x0,E,F),H=0x0===D['toDataURL']('image/webp')['indexOf']('data:image/webp')?D['toDataURL']('image/webp',0.5):D['toDataURL']('image/jpeg',0.5)),{'currentTime':I,'snapshotDataUrl':H};});}['unload'](){var D;this['isLoaded']&&(this['isLoaded']=!0x1,this['videoOverlay']['removeCta'](),this['videoOverlay']['videoSeekBar']['reset'](),this['videoOverlay']['videoTimer']['resetTimer'](),this['playbackStrategy']['unload'](),q['deviceDetector']['isIOSMobileTabletSafari']()&&(null===(D=this['posterOverlayElement'])||void 0x0===D||D['setStyle']({'backgroundImage':''})),this['lastMarkedVideoIdAsViewed']=void 0x0);}['initialize'](){var D;this['isInitializing']||(this['isInitializing']=!0x0,this['playbackStrategy']=m['PlaybackStrategyFactory']['createStrategy'](this['video'],'HLS'),this['playerCommands']=new m['VideoPlayerCommands'](this['playbackStrategy'],this),this['videoOverlay']=new m['BlazeLongFormControlsOverlay'](),this['videoOverlay']['setTheme'](this['playerStyle']),this['videoOverlay']['videoTimer']['resetTimer'](),this['videoOverlay']['videoSeekBar']['onPause']=(0, q['debounce'])(()=>{this['pause']();},0x64),this['videoOverlay']['videoSeekBar']['onResume']=()=>k(this,void 0x0,void 0x0,function*(){yield this['play']();}),this['setAttribute']('mute','true'),this['captionsElement']['setAttribute']('hidden','true'),this['setupStyles'](),this['setupVideoElement'](),this['setupOverlay'](),this['setupShareModal'](),y['ConfigService']['shouldAllowClosedCaptions']&&this['configureClosedCaptionsModal'](),q['deviceDetector']['isIOSMobileTabletSafari']()&&this['createPosterOverlay'](),null===(D=this['shadowRoot'])||void 0x0===D||D['appendChild'](this['widgetVastAd']));}['setupStyles'](){const D=document['createElement']('style');D['textContent']='\x0a\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20min-height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20video\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',this['shadow']['appendChild'](D);}['setupVideoElement'](){this['video']['setAttribute']('preload','none'),this['video']['setAttribute']('playsinline','true'),this['video']['setAttribute']('webkit-playsinline','true'),this['video']['controls']=!0x1,this['shadow']['appendChild'](this['video']);}['setupOverlay'](){this['shadow']['appendChild'](this['videoOverlay']);}['setupShareModal'](){this['shareModal']['setStyle']({'zIndex':'5','display':'block','position':'relative','pointerEvents':'auto'}),this['shareModal']['onOpen']=()=>{this['pause']();},this['shadow']['appendChild'](this['shareModal']);}['configureClosedCaptionsModal'](){this['closedCaptionsModal']=new B['BlazeWidgetClosedCaptionsModal'](this['data']['closedCaptions'],'video'),this['closedCaptionsModal']['onClose']=()=>{this['isPausedManually']||(y['VideoPlayerService']['isPlaying']=!0x0,this['setIsPlaying'](!0x0),this['videoOverlay']['videoNavigationOverlay']['setPlaying'](!0x0),this['play']());},this['closedCaptionsModal']['onOpen']=()=>{y['VideoPlayerService']['isPlaying']&&(y['VideoPlayerService']['isPlaying']=!0x1,this['setIsPlaying'](!0x1),this['videoOverlay']['videoNavigationOverlay']['setPlaying'](!0x1),this['pause']());},this['closedCaptionsModal']['onClosedCaptionsEnable']=D=>{this['toggleClosedCaptions'](D);},this['closedCaptionsModal']['onClosedCaptionsDisable']=()=>{this['toggleClosedCaptions']();},this['shadow']['appendChild'](this['closedCaptionsModal']);}['toggleClosedCaptions'](D){var E,F;this['setClosedCaptions']((null===(F=null===(E=this['data']['closedCaptions'])||void 0x0===E?void 0x0:E['find'](H=>''+H['language']===D))||void 0x0===F?void 0x0:F['files'])||[]);const G=(0, A['convertCcLanguageToState'])(this['data']['closedCaptions'],D);this['event']('Off'!==G?v['VideoAction']['ClosedCaptionsOn']:v['VideoAction']['ClosedCaptionsOff'],{});}['setupEventListeners'](){this['video']['addEventListener'](m['EVENTS']['TIMEUPDATE'],this['boundHandleTimeUpdate']),this['video']['addEventListener'](m['EVENTS']['LOADED_METADATA'],this['boundHandleLoadedMetadata']),this['video']['addEventListener'](m['EVENTS']['ENDED'],this['boundHandleVideoEnded']),document['addEventListener'](m['VIDEO_EVENTS']['LOADER_DISPLAY'],this['boundHandleLoaderDisplay']),document['addEventListener'](m['VIDEO_EVENTS']['LOADER_HIDE'],this['boundHandleLoaderHide']),Object['values'](m['VIDEO_EVENTS'])['forEach'](D=>{this['videoOverlay']['addEventListener'](D,this['boundHandleOverlayEvents']);}),q['deviceDetector']['isDesktop']&&(this['addEventListener'](m['EVENTS']['MOUSEENTER'],this['boundHandleMouseIn']),this['addEventListener'](m['EVENTS']['MOUSELEAVE'],this['boundHandleMouseOut']),this['addEventListener'](m['EVENTS']['MOUSEMOVE'],this['boundHandleMouseMove'])),this['addEventListener'](m['EVENTS']['CLICK'],this['boundHandleClick']),this['addEventListener'](w['InternalEvent']['AD_STARTED'],this['boundHandleAdStarted']),this['addEventListener'](w['InternalEvent']['AD_ENDED'],this['boundHandleAdEnded']),A['SharedEventTarget']['addEventListener'](v['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundHandleLanguageChange']),this['inactivityEvents']['forEach'](D=>{document['addEventListener'](D,this['startOverlayAutoHideTimer']);});}['destroy'](){this['playbackStrategy']['destroy'](),this['video']['removeEventListener'](m['EVENTS']['TIMEUPDATE'],this['boundHandleTimeUpdate']),this['video']['removeEventListener'](m['EVENTS']['LOADED_METADATA'],this['boundHandleLoadedMetadata']),this['video']['removeEventListener'](m['EVENTS']['ENDED'],this['boundHandleVideoEnded']),document['removeEventListener'](m['VIDEO_EVENTS']['LOADER_DISPLAY'],this['boundHandleLoaderDisplay']),document['removeEventListener'](m['VIDEO_EVENTS']['LOADER_HIDE'],this['boundHandleLoaderHide']),Object['values'](m['VIDEO_EVENTS'])['forEach'](D=>{this['videoOverlay']['removeEventListener'](D,this['boundHandleOverlayEvents']);}),q['deviceDetector']['isDesktop']&&(this['removeEventListener'](m['EVENTS']['MOUSEENTER'],this['boundHandleMouseIn']),this['removeEventListener'](m['EVENTS']['MOUSELEAVE'],this['boundHandleMouseOut']),this['removeEventListener'](m['EVENTS']['MOUSEMOVE'],this['boundHandleMouseMove'])),this['removeEventListener'](m['EVENTS']['CLICK'],this['boundHandleClick']),this['removeEventListener'](w['InternalEvent']['AD_STARTED'],this['boundHandleAdStarted']),this['removeEventListener'](w['InternalEvent']['AD_ENDED'],this['boundHandleAdEnded']),A['SharedEventTarget']['removeEventListener'](v['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundHandleLanguageChange']),this['inactivityEvents']['forEach'](D=>{document['removeEventListener'](D,this['startOverlayAutoHideTimer']);}),this['clearOverlayTimer']();}['clearOverlayTimer'](){this['inactivityTimeout']&&(clearTimeout(this['inactivityTimeout']),this['inactivityTimeout']=void 0x0);}['handleMouseIn'](){this['clearOverlayTimer'](),this['showPlayerOverlay']();}['handleMouseOut'](){this['startOverlayAutoHideTimer']();}['handleMouseMove'](){this['clearOverlayTimer'](),this['showPlayerOverlay'](),this['startOverlayAutoHideTimer']();}['handleClick'](D){var E,F;if(y['VideoPlayerService']['isSeekBarDragging']||this['isActionBlocked'])return;(null===(E=this['shareModal'])||void 0x0===E?void 0x0:E['isOpen'])&&(null===(F=this['shareModal'])||void 0x0===F||F['close']());const G='true'===this['videoOverlay']['getAttribute']('hidden');if(this['video']['paused']){if(q['deviceDetector']['isMobile']||q['deviceDetector']['isTablet'])return void(G?this['showPlayerOverlay']():this['hidePlayerOverlay'](!0x0));this['play'](),this['isPausedManually']=!0x1,this['showPlayerOverlay'](),this['event'](v['VideoAction']['PlaybackPlay'],{'video_end_trigger':'user_play'});}else {if(q['deviceDetector']['isMobile']||q['deviceDetector']['isTablet'])return void(G?this['showPlayerOverlay']():this['hidePlayerOverlay'](!0x0));this['pause'](),this['isPausedManually']=!0x0,this['showPlayerOverlay'](),this['event'](v['VideoAction']['PlaybackPause'],{'video_end_trigger':'user_pause'});}this['videoOverlay']['videoNavigationOverlay']['setPlaying'](!this['video']['paused']);}['showPlayerOverlay'](){this['videoOverlay']['setAttribute']('hidden','false');}['hidePlayerOverlay'](D){D?this['videoOverlay']['setAttribute']('hidden','true'):this['video']['paused']||y['VideoPlayerService']['isSeekBarDragging']||this['video']['readyState']<0x2||!navigator['onLine']?this['startOverlayAutoHideTimer']():this['videoOverlay']['setAttribute']('hidden','true');}['createPosterOverlay'](){var D,E,F,G;!this['posterOverlayElement']&&(null===(F=null===(E=null===(D=this['data'])||void 0x0===D?void 0x0:D['poster'])||void 0x0===E?void 0x0:E['rendition'])||void 0x0===F?void 0x0:F['url'])&&(this['posterOverlayElement']=x['WidgetsFactory']['create']('blaze-image'),this['posterOverlayElement']['setStyle']({'position':'absolute','top':'0','left':'0','width':'100%','height':'100%','zIndex':'2','display':'flex','alignItems':'center','justifyContent':'center','pointerEvents':'none'}),null===(G=this['shadowRoot'])||void 0x0===G||G['appendChild'](this['posterOverlayElement']),this['updatePosterOverlay']());}['updatePosterOverlay'](){var D,E,F;if(!this['posterOverlayElement']||!(null===(F=null===(E=null===(D=this['data'])||void 0x0===D?void 0x0:D['poster'])||void 0x0===E?void 0x0:E['rendition'])||void 0x0===F?void 0x0:F['url']))return;let G=0x10/0x9;this['video']['videoWidth']&&this['video']['videoHeight']&&(G=this['video']['videoWidth']/this['video']['videoHeight']);const H=G<0x1;this['posterOverlayElement']['setStyle']({'backgroundImage':'url('+this['data']['poster']['rendition']['url']+')','backgroundSize':'contain','backgroundPosition':'center','backgroundRepeat':'no-repeat','backgroundColor':H?'#000000':'transparent'});}['handleVideoEnded'](){return k(this,void 0x0,void 0x0,function*(){this['event'](v['VideoAction']['VideoEnd'],{}),this['navigationType']='Automatic',this['exitTrigger']='Video\x20End';try{yield y['VideoService']['updateVideoDataById'](this['videoId'],{'posterCurrentTime':this['data']['poster']['rendition']['url'],'currentTime':0x0});}catch(D){}this['dispatchEvent'](new CustomEvent(m['VIDEO_EVENTS']['NAVIGATION_NEXT'],{'bubbles':!0x0,'composed':!0x0})),this['showPlayerOverlay'](),this['startOverlayAutoHideTimer']();});}['showLoaderWithDelay'](){this['loaderTimeoutId']&&clearTimeout(this['loaderTimeoutId']),this['loaderTimeoutId']=setTimeout(()=>{this['handleLoaderDisplay']();},0x3e8);}['hideLoader'](){this['loaderTimeoutId']&&(clearTimeout(this['loaderTimeoutId']),this['loaderTimeoutId']=void 0x0),this['handleLoaderHide']();}['handleLoaderDisplay'](){!this['video']['paused']&&this['video']['readyState']>=0x3||this['videoOverlay']['showLoader']();}['handleLoaderHide'](){this['videoOverlay']['hideLoader']();}['handleOverlayEvents'](D){var E,F;switch(D['type']){case m['VIDEO_EVENTS']['MUTE']:this['playerCommands']['executeCommand']('mute'),this['startOverlayAutoHideTimer'](),this['event'](v['VideoAction']['Audio'],{});break;case m['VIDEO_EVENTS']['UNMUTE']:this['playerCommands']['executeCommand']('unmute'),this['startOverlayAutoHideTimer'](),this['event'](v['VideoAction']['Audio'],{});break;case m['VIDEO_EVENTS']['SEEK']:const {seekTime:G,type:H}=D['detail'];this['handleSeek'](G,H);break;case m['VIDEO_EVENTS']['DISPLAY_SEEKED_TIME']:const {seekTime:I}=D['detail'];this['videoOverlay']['videoTimer']['setLayout']('seeking'),this['videoOverlay']['setCurrentTime'](I*this['video']['duration']);break;case m['VIDEO_EVENTS']['FULLSCREEN']:this['event'](v['VideoAction']['ScreenChange'],{'screen_state':{'current_state':'normal'===y['VideoPlayerService']['playerLayout']?'default_view':'full_screen','next_state':'normal'===y['VideoPlayerService']['playerLayout']?'full_screen':'default_view'}}),this['playerCommands']['executeCommand']('toggleFullscreen'),this['startOverlayAutoHideTimer']();break;case m['VIDEO_EVENTS']['SHARE']:this['handleShareClick'](),this['startOverlayAutoHideTimer']();break;case m['VIDEO_EVENTS']['LIKE']:this['playerCommands']['executeCommand']('likeVideo'),this['startOverlayAutoHideTimer'](),this['event'](this['isLiked']?v['VideoAction']['Like']:v['VideoAction']['Unlike'],{});break;case m['VIDEO_EVENTS']['CTA_CLICKED']:this['handleCtaClick'](D),this['showPlayerOverlay']();break;case m['VIDEO_EVENTS']['CTA_DISMISS']:this['event'](v['VideoAction']['CtaDismissed'],{});break;case m['VIDEO_EVENTS']['CTA_VISIBILE']:this['event'](v['VideoAction']['CtaVisible'],{});break;case m['VIDEO_EVENTS']['PLAY']:this['isPausedManually']=!0x1,this['event'](v['VideoAction']['PlaybackPlay'],{'video_end_trigger':'user_play'}),this['play']();break;case m['VIDEO_EVENTS']['PAUSE']:this['isPausedManually']=!0x0,this['event'](v['VideoAction']['PlaybackPause'],{'video_end_trigger':'user_pause'}),this['pause']();break;case m['VIDEO_EVENTS']['NAVIGATION_PREV']:case m['VIDEO_EVENTS']['NAVIGATION_NEXT']:this['event'](v['VideoAction']['VideoEnd'],{}),this['exitTrigger']='Skip';break;case m['VIDEO_EVENTS']['CLOSE_PLAYER']:const {exitTrigger:J}=D['detail'];this['exitTrigger']=J,this['event'](v['VideoAction']['VideoEnd'],{}),null===(E=this['modal'])||void 0x0===E||E['close']();break;case m['VIDEO_EVENTS']['CLOSED_CAPTIONS_OPEN_MODAL']:null===(F=this['closedCaptionsModal'])||void 0x0===F||F['open']();break;case m['VIDEO_EVENTS']['DISPLAY_HIDE_OVERLAY_FROM_CTA']:this['handleClick'](D);break;case m['VIDEO_EVENTS']['UPDATE_CLOSED_CAPTIONS_LOCATION']:const {top:K,left:L}=D['detail'];this['captionsElement']['setAbsolutePosition']({'top':K,'left':L});}}['handleCtaClick'](D){var E,F,G,H,I,J,K,L;const M=D,{url:N}=M['detail'];return this['event'](v['VideoAction']['CtaClick'],{}),(null===(F=null===(E=this['refContentModal'])||void 0x0===E?void 0x0:E['parentWidget'])||void 0x0===F?void 0x0:F['id'])&&y['EventService']['dispatch'](null===(G=this['refContentModal'])||void 0x0===G?void 0x0:G['parentWidget'],w['Delegation']['onWidgetTriggerCTA'],{'widgetId':null===(I=null===(H=this['refContentModal'])||void 0x0===H?void 0x0:H['parentWidget'])||void 0x0===I?void 0x0:I['id'],'actionType':'URL','actionParam':N}),null===(J=this['shareModal'])||void 0x0===J||J['close'](),this['exitTrigger']='CTA\x20Click',this['event'](v['VideoAction']['VideoEnd'],{}),(null===(K=this['video'])||void 0x0===K?void 0x0:K['paused'])||((null===(L=this['modal'])||void 0x0===L?void 0x0:L['player'])['resumeAfterFocus']=!0x0,this['pause']()),!0x0;}['setPlayerLayoutToNormal'](){this['videoOverlay']['setFullscreenState'](!0x1);}['handleSeekRequest'](D,E){return k(this,void 0x0,void 0x0,function*(){const F=this['video']['currentTime'];let G=D;(D>0.99||D*this['video']['duration']>this['video']['duration']-0x5)&&(G=Math['max'](0x0,this['video']['duration']-0x5)/this['video']['duration']);const H=G*this['video']['duration'],I={'seek_total_time':Math['abs'](D*this['video']['duration']-this['video']['currentTime']),'seek_direction':H>F?'Forward':'Backward','seek_type':E};this['lastSeekAction']={'action':E,'currentTime':F,'seekedTime':H},this['event'](v['VideoAction']['Seek'],I),yield this['playerCommands']['executeCommand']('seek',G);const J=this['video']['currentTime'];Math['abs'](J-F)<=0x5&&(this['shouldSaveAfterSeek']=!0x0),y['VideoPlayerService']['isSeekBarDragging']?this['hideLoader']():this['play']();});}['handleSeek'](D,E){this['video']['paused']||this['pause'](),this['showLoaderWithDelay'](),this['videoOverlay']['videoTimer']['setLayout']('seeking'),this['videoOverlay']['setCurrentTime'](D*this['video']['duration']),this['boundHandleSeekDebounce'](D,E);}['handleShareClick'](){var D;let E;y['VideoPlayerService']['isPlaying']&&this['pause'](),E=location['href']['includes']('blaze/video')||'SingleContent'===y['VideoPlayerService']['playReference']?null===window||void 0x0===window?void 0x0:window['location']['href']:location['href']['includes']('#')?location['href']+'&blaze/video/'+this['videoId']:location['href']+'#blaze/video/'+this['videoId'],(null===navigator||void 0x0===navigator?void 0x0:navigator['share'])?navigator['share']({'text':this['data']['title'],'url':E})['then'](()=>{})['catch'](F=>{var G;'AbortError'!==F['name']&&(null===(G=this['shareModal'])||void 0x0===G||G['open'](E));})['finally'](()=>{this['hideLoader'](),y['VideoPlayerService']['isPlaying']&&this['play']();}):null===(D=this['shareModal'])||void 0x0===D||D['open'](E),this['event'](v['VideoAction']['Share'],{});}['pause'](){this['playerCommands']['executeCommand']('pause'),this['videoOverlay']['videoSeekBar']['onContentPaused'](),this['captionsElement']['setAttribute']('text-color','#7E7E7E');}['play'](){return k(this,void 0x0,void 0x0,function*(){var D;if(this['clearOverlayTimer'](),this['tryToPlayAd']({'current':this['data']['extraInfo']}))return;const E=this['data']['poster']['rendition']['url'];this['videoId']&&E&&this['videoId']!==this['lastMarkedVideoIdAsViewed']&&(yield y['VideoService']['markVideoAsViewed'](this['videoId'],E),this['lastMarkedVideoIdAsViewed']=this['videoId'],y['ConfigService']['shouldModifyUrlWithContentId']&&q['URLManager']['updateLocationContentHash']({'contentType':'video','contentId':this['videoId']})),this['showLoaderWithDelay'](),(yield this['playerCommands']['executeCommand']('play'))['status']===m['PlayStatus']['Success']?(this['videoOverlay']['videoSeekBar']['onContentResumed'](),this['videoOverlay']['videoTimer']['setLayout']('player'),this['captionsElement']['setAttribute']('text-color',z['Colors']['White']),this['setIsPlaying'](!0x0),y['VideoPlayerService']['isPlaying']=!0x0,this['data']['hasViewed']||(this['data']['hasViewed']=!0x0,this['updateWidgetStatusReadUnread']()),this['shouldSaveAfterSeek']&&(this['saveCurrentTime'](!0x0),this['shouldSaveAfterSeek']=!0x1)):(this['setIsPlaying'](!0x1),y['VideoPlayerService']['isPlaying']=!0x1),this['hideLoader'](),this['isActionBlocked']=!0x1,this['startOverlayAutoHideTimer'](),null===(D=this['posterOverlayElement'])||void 0x0===D||D['setStyle']({'backgroundImage':''});});}['updateMuteButtonState'](D){this['videoOverlay']['setMuteState'](D);}['handleLoadedMetadata'](){return k(this,void 0x0,void 0x0,function*(){this['videoOverlay']['setVideoDuration'](this['video']['duration']);});}['updateWidgetStatusReadUnread'](){this['widgetParentItem']&&(this['widgetParentItem']['updateWidget'](),this['widgetParentItem']['setChipStyle'](),this['widgetParentItem']['render'](),this['widgetParentItem']['updateWidgetItemPadding']());}['handleVideoTimeUpdate'](){return k(this,void 0x0,void 0x0,function*(){this['video']['duration']&&!this['video']['paused']&&this['videoOverlay']['setCurrentTime'](this['video']['currentTime']),this['videoOverlay']['videoSeekBar']['updateProgressBar'](this['video']['currentTime'],this['video']['duration']),yield this['saveCurrentTime']();});}['saveCurrentTime'](){return k(this,arguments,void 0x0,function*(D=!0x1){if(!(this['video']['currentTime']-this['lastSavedTime']>=0x5||D))return;const E=this['video']['currentTime'];this['lastSavedTime']=D?E:this['video']['currentTime'];try{const {currentTime:F,snapshotDataUrl:G}=yield this['createSnapshot']();yield y['VideoService']['updateVideoDataById'](this['data']['id'],{'posterCurrentTime':G,'currentTime':F});}catch(H){}});}['handleLanguageChange'](D){var E;const F=null===(E=this['data']['closedCaptions'])||void 0x0===E?void 0x0:E['find'](G=>''+G['language']===D['detail']['language']);this['videoOverlay']['updateClosedCaptionButtonIcon'](!!F);}['handleAdStarted'](){this['isPlayingAd']=!0x0,this['pause']();}['handleAdEnded'](){this['widgetVastAd']['adIndex']++,this['isPlayingAd']=!0x1,this['play']();}static get['observedAttributes'](){return ['mute','video-id','video-title','poster','is-liked','loading'];}get['mute'](){return this['video']['muted'];}set['muted'](D){this['setAttribute']('mute',!0x0===D?'true':'false');}get['videoId'](){return this['getAttribute']('video-id')||'';}set['videoId'](D){this['setAttribute']('video-id',D);}get['title'](){return this['getAttribute']('video-title')||'';}set['title'](D){this['setAttribute']('video-title',D);}get['isLiked'](){return 'true'===this['getAttribute']('is-liked');}set['isLiked'](D){this['setAttribute']('is-liked',!0x0===D?'true':'false');}get['isPlayingAd'](){return 'true'===this['getAttribute']('is-playing-ad');}set['isPlayingAd'](D){this['setAttribute']('is-playing-ad',!0x0===D?'true':'false');}['applyAttribute'](D,E){switch(D){case'mute':this['playbackStrategy']['setMuted']('true'===E),this['updateMuteButtonState']('true'===E);break;case'video-id':this['setVideoId'](E);break;case'video-title':this['setTitle'](E);break;case'is-liked':this['setLiked']('true'===E);break;case'loading':q['deviceDetector']['isMobile']||q['deviceDetector']['isTablet'];}}['updatePlayerButtonIcons'](){}['resetPosition'](){}['render'](){}['getRefferingObject'](){var D,E,F;const G=new q['ReferringEventInfo'](),H=(null===(D=this['widgetParentItem'])||void 0x0===D?void 0x0:D['parentRef'])||(null===(E=this['refContentModal'])||void 0x0===E?void 0x0:E['parentWidget']);if(H&&H instanceof B['BlazeWidgetLayout']&&(G['origin_widget_id']=H['id'],G['origin_widget_type']=H['widgetType'](),G['labels_expression']=H['getAttribute']('labels')),y['ConfigService']['staticContentType']&&(G['story_source']='OneBox'),document['referrer']){G['referrer_page_url']=document['referrer'];const I=document['referrer']['indexOf']('#blaze'),J=-0x1!==I?document['referrer']['slice'](0x0,I):document['referrer'];G['referrer_page_type']=/^(https?:\/\/[^/]+\/?)$/i['test'](J)?'Homepage':'Category/Article',G['referrer_page_domain']=document['referrer']?null===(F=new URL(document['referrer']))||void 0x0===F?void 0x0:F['hostname']:'';}return G;}['event'](D,E){return k(this,arguments,void 0x0,function*(F,G,H=void 0x0){var I,J,K;try{const L=this['getRefferingObject']();if('Content'===this['data']['type']){G['video_id']=this['data']['id'],G['video_title']=this['data']['title'],G['cc_state']=(0x0,A['convertCcLanguageToState'])(this['data']['closedCaptions'],localStorage['getItem'](v['LOCAL_STORAGE_KEY_LAST_SELECTED'])),G['video_session_id']=this['videoSessionId'];const M=q['deviceDetector']['screenOrientation'];if(G['player_orientation']=M['toString']()['charAt'](0x0)['toUpperCase']()+M['toString']()['slice'](0x1)['toLowerCase'](),G['device_orientation']='Horizontal'===this['aspectRatio']?'Landscape':'Portrait',G['screen_state']=G['screen_state']||{'current_state':'normal'===y['VideoPlayerService']['playerLayout']?'default_view':'full_screen'},this['data']['cta']['url']){const {duration:N,behavior:O}=this['playerStyle']['cta']['visibility'];G['cta_config']={'visibile_duration':N||0x0,'type':O||''};}else G['cta_config']='';switch(G['audio_state']=y['VideoPlayerService']['isMuted']?'Mute':'Unmute',G['video_start_trigger']=this['startTrigger'],G['video_time_start']=this['video']['currentTime'],G['video_duration']=this['video']['duration'],'true'===(null===(J=null===(I=y['AppConfigurationService']['appConfigurations'])||void 0x0===I?void 0x0:I['configurations'])||void 0x0===J?void 0x0:J['analyticsAddEntitiesInfo'])&&(G['content_extra_info']=JSON['stringify'](this['data']['extraInfo'])),F){case v['VideoAction']['VideoEnd']:G['video_end_trigger']=this['exitTrigger'],G['video_time_end']=this['video']['currentTime'],G['video_time_start']=void 0x0;break;case v['VideoAction']['Seek']:G['video_time_end']=this['lastSeekAction']['seekedTime'],G['video_time_start']=null===(K=this['lastSeekAction'])||void 0x0===K?void 0x0:K['currentTime'];}y['AnalyticsService']['pushVideoEvent'](F,G,H,L);}}catch(P){}});}['tryToPlayAd'](D){return !(!this['data']['adInfo']||!(0, A['isImaAdInfo'])(this['data']['adInfo'])||this['adPercentageShownPlaces']['get'](0x0))&&(this['adPercentageShownPlaces']['set'](0x0,!0x0),this['widgetVastAd']['startAd'](this['video'],this['data']['adInfo'],D));}}g['BlazeVideoElement']=C;},0x290:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['PlaybackStrategyFactory']=void 0x0;const h=g(0x774);f['PlaybackStrategyFactory']=class{static['createStrategy'](j,k){if('HLS'===k)return new h['HLSStrategy'](j);throw new Error('Unsupported\x20playback\x20strategy\x20type:\x20'+k);}};},0x774:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x1c09),f),j(g(0x227),f),j(g(0x6cc),f),j(g(0xa5e),f),j(g(0x1cbd),f),j(g(0xfae),f),j(g(0x1789),f),j(g(0xa29),f),j(g(0x23e7),f),j(g(0x290),f),j(g(0xfc2),f),j(g(0x1e70),f),j(g(0x2045),f);},0x1e70:(d,f)=>{var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['PlayStatus']=void 0x0,function(h){h['Success']='SUCCESS',h['Failed']='FAILED';}(g||(f['PlayStatus']=g={}));},0xfc2:function(d,f,g){var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['HLSStrategy']=void 0x0;const j=g(0x774),k=g(0x2045);f['HLSStrategy']=class{constructor(l){this['hls']=window['Hls'],this['retryCount']=0x0,this['maxRetries']=0x3,this['lastTime']=0x0,this['boundOnManifestParsed']=this['handleManifestParsed']['bind'](this),this['boundOnBufferAppended']=this['handleBufferAppended']['bind'](this),this['boundOnFragParsed']=this['handleFragParsed']['bind'](this),this['boundOnLoadedMetadata']=this['handleLoadedMetadata']['bind'](this),this['boundOnPlaying']=this['handlePlaying']['bind'](this),this['boundOnCanPlay']=this['hideLoader']['bind'](this),this['boundOnError']=this['handleError']['bind'](this),this['boundOnNativeError']=this['handleNativeError']['bind'](this),this['handleOnlineNetworkRecovery']=()=>{var m,p;this['retryCount']=0x0,Hls['isSupported']()&&this['hls']?null===(p=(m=this['hls'])['startLoad'])||void 0x0===p||p['call'](m):this['video']['canPlayType']('application/vnd.apple.mpegurl')&&this['recoverNativeHls']();},this['video']=l;}['initialize'](l){this['videoOverlay']=l,this['video']['addEventListener'](k['EVENTS']['PLAYING'],this['boundOnPlaying']),this['video']['addEventListener'](k['EVENTS']['CAN_PLAY_THROUGH'],this['boundOnCanPlay']);}['loadSource'](l,m,p=0x0){this['initialBitrateBps']=0x3e8*m,this['lastTime']=p,this['video']['setAttribute']('data-original-src',l),Hls['isSupported']()?(this['hls']=new Hls({'enableWorker':!0x0,'enableSoftwareAES':!0x0,'debug':!0x1,'maxBufferLength':0x1e,'maxMaxBufferLength':0x1e,'maxBufferSize':0x989680,'maxBufferHole':0x4,'fragLoadingMaxRetry':0x5,'fragLoadingRetryDelay':0x3e8,'abrMaxWithRealBitrate':!0x0,'abrEwmaFastLive':0x3,'abrEwmaSlowLive':0x9,'abrEwmaFastVoD':0x3,'abrEwmaSlowVoD':0x9,'abrBandWidthFactor':0.95,'abrBandWidthUpFactor':0.7,'capLevelToPlayerSize':!0x0,'startPosition':p}),this['hls']['loadSource'](l),this['hls']['attachMedia'](this['video']),this['hls']['on'](Hls['Events']['MANIFEST_PARSED'],this['boundOnManifestParsed']),this['hls']['on'](Hls['Events']['BUFFER_APPENDED'],this['boundOnBufferAppended']),this['hls']['on'](Hls['Events']['FRAG_PARSED'],this['boundOnFragParsed']),this['hls']['on'](Hls['Events']['ERROR'],this['boundOnError'])):this['video']['canPlayType']('application/vnd.apple.mpegurl')?(this['video']['src']=l,this['video']['currentTime']=p,this['video']['setAttribute']('type','application/x-mpegURL'),this['video']['addEventListener'](k['EVENTS']['ERROR'],this['boundOnNativeError']),this['video']['addEventListener'](k['EVENTS']['LOADED_METADATA'],this['boundOnLoadedMetadata'])):this['video']['dispatchEvent'](new CustomEvent(k['VIDEO_EVENTS']['ERROR'],{'detail':'HLS\x20not\x20supported','bubbles':!0x0,'composed':!0x0}));}['unload'](){this['hls']&&Hls['isSupported']()&&('function'==typeof this['hls']['off']&&'function'==typeof this['hls']['destroy']&&(this['hls']['off'](Hls['Events']['MANIFEST_PARSED'],this['boundOnManifestParsed']),this['hls']['off'](Hls['Events']['BUFFER_APPENDED'],this['boundOnBufferAppended']),this['hls']['off'](Hls['Events']['FRAG_PARSED'],this['boundOnFragParsed']),this['hls']['off'](Hls['Events']['ERROR'],this['boundOnError']),this['hls']['destroy']()),this['hls']=void 0x0),this['video']['removeEventListener'](k['EVENTS']['ERROR'],this['boundOnNativeError']),this['video']['removeEventListener'](k['EVENTS']['PLAYING'],this['boundOnPlaying']),this['video']['removeEventListener'](k['EVENTS']['CAN_PLAY_THROUGH'],this['boundOnCanPlay']),this['video']['removeEventListener'](k['EVENTS']['LOADED_METADATA'],this['boundOnLoadedMetadata']),this['video']['poster']='',clearTimeout(this['playbackWatchdogTimeout']),clearTimeout(this['loaderTimeout']),clearTimeout(this['recoveryTimeout']);}['destroy'](){this['unload']();}['waitForVideoCondition'](l,m,p=0xbb8){return new Promise((q,u)=>{if(l())return void q();const v=setTimeout(()=>{y(),q();},p),w=z=>{y(),q(z);},x=z=>{y(),u(z);},y=()=>{clearTimeout(v),this['video']['removeEventListener'](m,w),this['video']['removeEventListener']('error',x);};this['video']['addEventListener'](m,w,{'once':!0x0}),this['video']['addEventListener']('error',x,{'once':!0x0});});}['play'](){return h(this,void 0x0,void 0x0,function*(){try{this['startPlaybackWatchdog'](),yield this['waitForVideoCondition'](()=>this['video']['readyState']>=0x3,'canplay',0xbb8);const l=this['video']['play']();return l&&'function'==typeof l['then']?yield l:yield this['waitForVideoCondition'](()=>!this['video']['paused'],'playing',0x7d0),{'status':j['PlayStatus']['Success']};}catch(m){return {'status':j['PlayStatus']['Failed'],'error':m};}finally{this['hideLoader']();}});}['startPlaybackWatchdog'](){this['playbackWatchdogTimeout']&&clearTimeout(this['playbackWatchdogTimeout']),this['lastTime']=this['video']['currentTime'],this['playbackWatchdogTimeout']=setTimeout(()=>{this['isSlowConnection']()||(this['video']['paused']||this['video']['readyState']<0x3||this['video']['currentTime']-this['lastTime']<0.1)&&!this['video']['ended']&&this['handlePlaybackTimeout']();},0x1d4c);}['handlePlaybackTimeout'](){var l,m,p,q,r,u;'visible'!==document['visibilityState']||document['hidden']||'function'==typeof document['hasFocus']&&!document['hasFocus']()||(this['showLoader'](),this['hls']?this['video']['error']?null===(m=(l=this['hls'])['recoverMediaError'])||void 0x0===m||m['call'](l):(this['pause'](),null===(q=(p=this['hls'])['detachMedia'])||void 0x0===q||q['call'](p),null===(u=(r=this['hls'])['attachMedia'])||void 0x0===u||u['call'](r,this['video']),this['video']['play']()['catch'](v=>{this['reloadStream']();})):(this['pause'](),this['video']['load'](),this['video']['play']()['catch'](v=>{})));}['pause'](){this['video']['pause'](),clearTimeout(this['playbackWatchdogTimeout']),clearTimeout(this['loaderTimeout']),clearTimeout(this['recoveryTimeout']);}['getDuration'](){return this['video']['duration'];}['isMuted'](){return this['video']['muted'];}['seek'](l){var m,p;if(l<0x0||l>0x1)return;if(!Number['isFinite'](this['video']['duration'])||this['video']['duration']<=0x0)return;const q=l*this['video']['duration'];Number['isFinite'](q)&&q>=0x0&&q<=this['video']['duration']&&(this['video']['currentTime']=q,this['hls']&&(null===(p=(m=this['hls'])['startLoad'])||void 0x0===p||p['call'](m)),clearTimeout(this['recoveryTimeout']),clearTimeout(this['loaderTimeout']),this['loaderTimeout']=setTimeout(()=>{navigator['onLine']&&this['showLoader']();},0x3e8),this['recoveryTimeout']=setTimeout(()=>{var r,u;this['video']['paused']&&(this['hls']&&(null===(u=(r=this['hls'])['recoverMediaError'])||void 0x0===u||u['call'](r)),this['video']['currentTime']=q,this['video']['play']()['catch'](()=>{this['reloadStream']();}));},0x1388),this['seekRecoveryListener']&&(this['video']['removeEventListener'](k['EVENTS']['PLAYING'],this['seekRecoveryListener']),this['seekRecoveryListener']=void 0x0),this['seekRecoveryListener']=()=>{clearTimeout(this['recoveryTimeout']),clearTimeout(this['loaderTimeout']),this['seekRecoveryListener']=void 0x0;},this['video']['addEventListener'](k['EVENTS']['PLAYING'],this['seekRecoveryListener'],{'once':!0x0}));}['setMuted'](l){this['video']['muted']=l;}['toggleMute'](){this['setMuted'](!this['video']['muted']);}['mute'](){this['video']['muted']=!0x0;}['unmute'](){this['video']['muted']=!0x1;}['toggleFullscreen'](){var l;null===(l=this['videoOverlay'])||void 0x0===l||l['setFullscreenState']();}['updateBuffer'](){if(!this['videoOverlay']||0x0===this['video']['duration'])return;const {buffered:l,currentTime:m,duration:p}=this['video'];for(let q=0x0;q<l['length'];q++)if(l['start'](q)<=m&&l['end'](q)>=m){const r=l['end'](q)/p*0x64;this['videoOverlay']['videoSeekBar']['updateBuffer'](r);break;}}['handleManifestParsed'](){var l;if(null===(l=this['hls'])||void 0x0===l?void 0x0:l['levels']['length']){let m=this['hls']['levels']['findIndex'](p=>p['bitrate']>=this['initialBitrateBps']);-0x1===m&&(m=this['hls']['levels']['length']-0x1),this['hls']['currentLevel']=m;}}['handleBufferAppended'](){this['updateBuffer']();}['handleFragParsed'](){this['updateBuffer']();}['handleError'](l,m){var p,q;if(m['type'],m['details'],m['fatal'],m['fatal'])'networkError'===m['type']?this['handleNetworkError']():this['handleMediaError']();else switch(m['details']){case'bufferNudgeOnStall':if(null===(p=this['videoOverlay'])||void 0x0===p||p['showPlayerOverlay'](),this['showLoader'](),this['isSlowConnection']())return;this['nudgePlayback']();break;case'bufferStalledError':null===(q=this['videoOverlay'])||void 0x0===q||q['showPlayerOverlay'](),this['showLoader'](),this['isSlowConnection']();}}['isSlowConnection'](){const l=navigator['connection']||navigator['mozConnection']||navigator['webkitConnection'];if(l){const {effectiveType:m,downlink:p,rtt:q,saveData:r}=l;if(r)return !0x0;if('2g'===m||'slow-2g'===m)return !0x0;if('3g'===m&&(p&&p<1.5||q&&q>0x190))return !0x0;}return !0x1;}['nudgePlayback'](){var l;const m=this['video']['currentTime'];null===(l=this['hls'])||void 0x0===l||l['recoverMediaError'](),setTimeout(()=>{const p=m+0.1;this['video']['currentTime']=p,this['video']['play']()['catch'](q=>{});},0xfa);}['handleNetworkError'](){var l;if(navigator['onLine']){if(this['retryCount']<this['maxRetries']){this['retryCount']++;const m=0x3e8*Math['pow'](0x2,this['retryCount']);setTimeout(()=>{this['hls']?this['hls']['startLoad']():this['recoverNativeHls']();},m);}else this['reloadStream'](),this['retryCount']=0x0;}else window['addEventListener']('online',this['handleOnlineNetworkRecovery'],{'once':!0x0}),this['showLoader'](),null===(l=this['videoOverlay'])||void 0x0===l||l['showPlayerOverlay']();}['recoverNativeHls'](){const l=this['video']['getAttribute']('data-original-src')||this['video']['src'],m=this['video']['currentTime'];this['video']['pause'](),this['video']['removeAttribute']('src'),this['video']['load'](),setTimeout(()=>{this['video']['src']=l,this['video']['currentTime']=m,this['video']['load'](),this['video']['play']()['catch'](p=>{});},0x64);}['handleMediaError'](){var l,m;this['lastTime']=this['video']['currentTime'],Hls['isSupported']()&&this['hls']?(null===(m=(l=this['hls'])['recoverMediaError'])||void 0x0===m||m['call'](l),setTimeout(()=>{this['video']['currentTime']=this['lastTime'],this['video']['play']()['catch'](p=>{this['reloadStream']();});},0x1f4)):this['video']['canPlayType']('application/vnd.apple.mpegurl')&&(this['reloadStream'](),setTimeout(()=>{this['video']['play']()['catch'](p=>{});},0x3e8));}['reloadStream'](){if(this['retryCount']=0x0,Hls['isSupported']()&&this['hls'])this['hls']['detachMedia'](),this['hls']['attachMedia'](this['video']),this['hls']['loadSource'](this['video']['src']),this['hls']['startLoad']();else {if(this['video']['canPlayType']('application/vnd.apple.mpegurl')){const l=this['video']['getAttribute']('data-original-src')||this['video']['src'],m=this['video']['currentTime'];this['video']['pause'](),this['video']['removeAttribute']('src'),this['video']['load'](),setTimeout(()=>{this['video']['src']=l,this['video']['currentTime']=m,this['video']['load']();},0x64);}}}['showLoader'](){this['video']['dispatchEvent'](new CustomEvent(k['VIDEO_EVENTS']['LOADER_DISPLAY'],{'bubbles':!0x0,'composed':!0x0}));}['hideLoader'](){this['video']['dispatchEvent'](new CustomEvent(k['VIDEO_EVENTS']['LOADER_HIDE'],{'bubbles':!0x0,'composed':!0x0}));}['handlePlaying'](){this['hideLoader']();}['handleNativeError'](l){this['handleNetworkError'](),this['video']['dispatchEvent'](new CustomEvent(k['VIDEO_EVENTS']['ERROR'],{'detail':l,'bubbles':!0x0,'composed':!0x0}));}['handleLoadedMetadata'](){this['hideLoader']();}};},0x2045:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VIDEO_EVENTS']=f['EVENTS']=f['KEY_CODES']=void 0x0,f['KEY_CODES']={'ARROW_UP':'ArrowUp','UP':'Up','PAGE_UP':'PageUp','ARROW_DOWN':'ArrowDown','DOWN':'Down','PAGE_DOWN':'PageDown','SPACE':'Space','ARROW_LEFT':'ArrowLeft','ARROW_RIGHT':'ArrowRight','ESCAPE':'Escape'},f['EVENTS']={'KEYDOWN':'keydown','CLICK':'click','MOUSEENTER':'mouseenter','MOUSELEAVE':'mouseleave','MOUSEMOVE':'mousemove','BLUR':'blur','FOCUS':'focus','VISIBILITY_CHANGE':'visibilitychange','CAN_PLAY_THROUGH':'canplaythrough','PLAY':'play','PLAYING':'playing','PAUSE':'pause','PAUSED':'paused','SEEKING':'seeking','SEEKED':'seeked','LOADED_METADATA':'loadedmetadata','RESIZE':'resize','TIMEUPDATE':'timeupdate','ERROR':'error','ENDED':'ended','FULLSCREEN_CHANGE':'fullscreenchange','FULLSCREEN_CHANGE_WEBKIT':'webkitfullscreenchange','FULLSCREEN_CHANGE_MOZ':'mozfullscreenchange','CUE_CHANGE':'cuechange','DRAGSTART':'dragstart','DRAG':'drag','DROP':'drop','BEFOREUNLOAD':'beforeunload','UNLOAD':'unload','RESIZE_WINDOW':'resize'},f['VIDEO_EVENTS']={'PLAY':'play-video','PAUSE':'pause-video','MUTE':'mute-video','UNMUTE':'unmute-video','SEEK':'seek-video','FULLSCREEN':'fullscreen-video','SHARE':'share-video','LIKE':'like-video','TIME_UPDATE':'time-update','NAVIGATION_PREV':'navigate-prev','NAVIGATION_NEXT':'navigate-next','LOADER_DISPLAY':'loader-display','LOADER_HIDE':'loader-hide','ERROR':'video-error','UPDATE_NAVIGATION':'update-navigation','CTA_CLICKED':'cta-clicked','CTA_VISIBILE':'cta-visible','CTA_DISMISS':'cta-dismiss','RESET_INACTIVITY_TIMER':'reset-inactivity-timer','CLOSE_PLAYER':'close-player','CLOSED_CAPTIONS_OPEN_MODAL':'closed-captions-open-modal','DISPLAY_HIDE_OVERLAY_FROM_CTA':'display-hide-overlay-from-cta','DISPLAY_SEEKED_TIME':'display-seeked-time','UPDATE_CLOSED_CAPTIONS_LOCATION':'update-closed-captions-location'};},0x2120:function(f,g,j){var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetAd']=void 0x0;const m=j(0x23a6),p=j(0x1133),q=j(0x1932),u=j(0x26ed),v=j(0x22d9),w=j(0x11c1),x=j(0x132a);class y extends m['BlazeWidgetVideoBase']{constructor(z){super(),this['contentParent']=z,this['isCurrentlyDisplay']=!0x1,this['isAdFailed']=!0x1,this['isPlaying']=!0x1,this['adContainer']=v['WidgetsFactory']['create']('blaze-div'),this['placeholderContainer']=v['WidgetsFactory']['create']('blaze-div'),this['boundMessageEvent']=this['handleMessageEvent']['bind'](this),this['ctaModal']=v['WidgetsFactory']['create']('blaze-widget-cta-modal'),this['initStyles']();}['connectedCallback'](){this['append'](this['ctaModal']),this['render']();}['disconnectedCallback'](){}['render'](){}['handleMessageEvent'](z){switch(z['data']){case'BLAZE_CTA_CLICK':this['event'](q['AdAction']['Click'],{'gesture_type':'CTA\x20Click'});break;case'BLAZE_END_AD':this['contentParent']instanceof m['BlazeWidgetStory']?(this['contentParent']['navigationType']='Automatic',this['contentParent']['goNextPage']()):this['contentParent']instanceof m['BlazeWidgetMoment']&&this['contentParent']['modal']['handleClickNavigation']('NEXT'),this['dispatchEvent'](new CustomEvent(u['InternalEvent']['AD_ENDED'],{'bubbles':!0x0,'cancelable':!0x1}));}}get['currentTime'](){return 0x0;}set['currentTime'](z){}get['duration'](){return 0x0;}get['progress'](){return 0x0;}set['muted'](z){this['changeAdMutedState'](z);}['getGoogletag'](){return window['googletag']||{'cmd':[]};}['getAdIframeRef'](){var z;return document['querySelector']('iframe[id*=\x22'+(null===(z=this['data']['adInfo'])||void 0x0===z?void 0x0:z['path'])+'\x22]');}['changeAdMutedState'](z){if(!this['data'])return;const A=this['getAdIframeRef']();(null==A?void 0x0:A['contentWindow'])&&(z?A['contentWindow']['postMessage']('BLAZE_AD_MUTED','*'):A['contentWindow']['postMessage']('BLAZE_AD_UNMUTED','*'));}['setData'](z){this['data']=z;let A='moment';this['contentParent']instanceof m['BlazeWidgetStory']&&(A=this['contentParent']['mode']['split']('\x20')['join']('-')),this['adContainer']['id']=z['id']+'-'+A,this['appendChild'](this['adContainer']);}['startEnter'](){return k(this,void 0x0,void 0x0,function*(){const z=this['data']['adInfo'];z&&(yield this['isAdContainerConnectedToDOM']())&&(this['isCurrentlyDisplay']||(window['addEventListener']('message',this['boundMessageEvent']),this['placeholderContainer']['style']['display']='flex',this['style']['display']='block',this['style']['height']='100%',this['isCurrentlyDisplay']=!0x0,this['contentParent']['adjustContentView'](),this['failToLoadTimeout']=setTimeout(()=>{var A;this['isCurrentlyDisplay']&&(this['isAdFailed']=!0x0,this['isPlaying']&&(null===(A=this['onFail'])||void 0x0===A||A['call'](this)));},q['FAIL_TO_LOAD_TIMEOUT_MS']),this['event'](q['AdAction']['Requested']),this['getGoogletag']()['cmd']['push'](()=>{var A,B;this['getGoogletag']()['destroySlots']();const C=z['path'],D=F=>{var G;if(F['slot']['getSlotElementId']()===this['adContainer']['id']){if(clearTimeout(this['failToLoadTimeout']),this['failToLoadTimeout']=void 0x0,F['isEmpty'])this['isCurrentlyDisplay']&&(this['isAdFailed']=!0x0,this['isPlaying']&&(null===(G=this['onFail'])||void 0x0===G||G['call'](this)));else {this['placeholderContainer']['style']['display']='none',this['isAdFailed']=!0x1,this['event'](q['AdAction']['View']);const H=this['getAdIframeRef'](),I=null==H?void 0x0:H['contentWindow'],J=null==I?void 0x0:I['document']['body'];J&&(J['style']['direction']=w['ConfigService']['layoutDirection']);}this['getGoogletag']()['pubads']()['removeEventListener']('slotRenderEnded',D);}};this['getGoogletag']()['pubads']()['addEventListener']('slotRenderEnded',D),this['getGoogletag']()['pubads']()['display'](C,['fluid',[0x1,0x1]],this['adContainer']['id']);const E=this['getGoogletag']()['pubads']()['getSlots']()['find'](F=>F['getSlotElementId']()===this['adContainer']['id']);if(E){const F=(null===(B=null===(A=w['ConfigService']['googleCustomNativeAdHandler'])||void 0x0===A?void 0x0:A['provideAdExtraParams'])||void 0x0===B?void 0x0:B['call'](A,{'path':C},this['contentParent']['contentExtraInfo']))||{};if(this['contentParent']instanceof m['BlazeWidgetStory']){const G=this['contentParent']['currentPageIndexWithoutCustomAds'];G&&(F['page_index']=G['toString']());}Object['entries'](F)['forEach'](([H,I])=>{E['setTargeting'](H,I);});}this['getGoogletag']()['enableServices'](),this['getGoogletag']()['pubads']()['refresh']();})));});}['endExit'](){this['destroyAd']();}['play'](){var z;this['isPlaying']=!0x0,this['isAdFailed']&&(null===(z=this['onFail'])||void 0x0===z||z['call'](this));try{const A=this['getAdIframeRef'](),B=null==A?void 0x0:A['contentWindow'],C=null==B?void 0x0:B['document']['body'],D=null==C?void 0x0:C['getElementsByTagName']('video'),E=null==D?void 0x0:D[0x0];E&&'function'==typeof E['play']&&E['getAttribute']('src')&&E['play']();}catch(F){}}get['paused'](){return !0x1;}['pause'](){this['isCurrentlyDisplay']=!0x1,this['isPlaying']=!0x1;try{const z=this['getAdIframeRef'](),A=null==z?void 0x0:z['contentWindow'],B=null==A?void 0x0:A['document']['body'],C=null==B?void 0x0:B['getElementsByTagName']('video'),D=null==C?void 0x0:C[0x0];D&&'function'==typeof D['pause']&&D['getAttribute']('src')&&D['pause']();}catch(E){}}['removeLoader'](){}['loadPoster'](){}['hide'](){this['placeholderContainer']['style']['display']='none',this['changeAdMutedState'](!0x0),this['style']['display']='none',this['isCurrentlyDisplay']=!0x1;}['display'](z){return k(this,void 0x0,void 0x0,function*(){this['onFail']=z;});}['mainElement'](){return this['adContainer'];}['initStyles'](){this['innerHTML']+='\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20blaze-widget-ad\x20iframe\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x20'+('mobile'===p['deviceDetector']['platform']?'0px':'20px')+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20blaze-widget-ad\x20blaze-div\x20div\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20',this['style']['borderRadius']='mobile'===p['deviceDetector']['platform']?'0px':'20px',this['style']['position']='absolute',this['style']['top']='0',this['style']['left']='0',this['style']['right']='0',this['style']['bottom']='0',this['placeholderContainer']['style']['display']='none',this['placeholderContainer']['style']['top']='0',this['placeholderContainer']['style']['position']='absolute',this['placeholderContainer']['style']['background']='black',this['placeholderContainer']['style']['height']='100%',this['placeholderContainer']['style']['width']='100%',this['placeholderContainer']['style']['justifyContent']='center',this['placeholderContainer']['style']['alignItems']='center',this['placeholderContainer']['style']['borderRadius']='mobile'===p['deviceDetector']['platform']?'0px':'20px';const z=document['createElement']('blaze-loader');this['placeholderContainer']['appendChild'](z),this['appendChild'](this['placeholderContainer']);}['isAdContainerConnectedToDOM'](){return new Promise(z=>{var A;(null===(A=this['contentParent']['querySelector']('#'+this['adContainer']['id']))||void 0x0===A?void 0x0:A['isConnected'])?z(!0x0):new MutationObserver((B,C)=>{for(let D of B)if('childList'===D['type']){const E=this['contentParent']['querySelector']('#'+this['adContainer']['id']);E&&E['isConnected']&&(C['disconnect'](),z(!0x0));}})['observe'](document['body'],{'childList':!0x0,'subtree':!0x0});});}['destroyAd'](){this['getGoogletag']()['cmd']['push'](()=>{this['getGoogletag']()['destroySlots']();}),window['removeEventListener']('message',this['boundMessageEvent']);}['handleCtaSwipeUp'](){const z=this['getAdIframeRef'](),A=null==z?void 0x0:z['contentWindow'],B=null==A?void 0x0:A['document']['body'],C=null==B?void 0x0:B['querySelectorAll']('a.cta'),D=null==C?void 0x0:C[0x0];if(!D)return;this['contentParent']instanceof m['BlazeWidgetStory']&&this['event'](q['AdAction']['Click'],{'gesture_type':'Swipe\x20Up'});const E=D['href'],F=D['style']['color']||x['Colors']['Black'],G=D['style']['backgroundColor']||x['Colors']['White'];this['ctaModal']['setAttributes']({'border-color':'#fff','background-color':G,'text-color':F,'icon-color':F,'progress-bar-color':F,'cta-url':E}),this['ctaModal']['open'](),null==A||A['postMessage']('BLAZE_CTA_SWIPE_UP','*'),setTimeout(()=>{p['deviceDetector']['isIOSMobileTabletSafari']()?window['location']['href']=D['href']:window['open'](D['href'],'_blank'),this['ctaModal']['close']();},0x2*q['ONE_SECOND']);}['event'](z,A){var B;const C=this['data']['adInfo'];if(!C)return;const D=this['contentParent']['getRefferingObject'](),E=new p['AdEvent']();switch(z){case q['AdAction']['View']:E['ad_start_trigger']=this['contentParent']['startTrigger'];break;case q['AdAction']['Exit']:E['ad_exit_trigger']=this['contentParent']['exitTrigger'];break;case q['AdAction']['Click']:A&&(E['gesture_type']=A['gesture_type']);}this['contentParent']instanceof m['BlazeWidgetStory']?(E['story_id']=this['contentParent']['data']['id'],E['story_title']=this['contentParent']['data']['title'],E['ad_insertion_logic']='AFTER\x20PAGE\x20INDEX\x202,7'):this['contentParent']instanceof m['BlazeWidgetMoment']&&(E['ad_insertion_logic']='MOMENT'),E['ad_server']='google_ad_manager',E['ad_path']=C['path'],'true'===(null===(B=w['AppConfigurationService']['appConfigurations'])||void 0x0===B?void 0x0:B['configurations']['analyticsAddEntitiesInfo'])&&(E['content_extra_info']=JSON['stringify'](this['contentParent']['data']['extraInfo'])),E['backoffice_campaign_data']=JSON['stringify'](this['data']['adInfo']||{}),w['AnalyticsService']['pushAdEvent'](z,E,void 0x0,D);}}g['BlazeWidgetAd']=y;},0x2151:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetBannerAd']=void 0x0;const h=g(0x1932),j=g(0x26ed),k=g(0x11c1),l=g(0x2432);class m extends HTMLElement{constructor(p){super(),this['adContainer']=document['createElement']('div'),this['isActive']=!0x1,this['parentContnet']=p;}get['googletag'](){return window['googletag']||{'cmd':[]};}['connectedCallback'](){this['setInitialStyles'](),this['setAdContainer']();}['disconnectedCallback'](){this['isActive']=!0x1;}['show'](p){k['AdService']['canRunAds']&&p&&(this['bannerAdInfo']=p,this['googletag']['cmd']['push'](()=>{var q,u;this['isActive']=!0x1,this['googletag']['destroySlots']();const v=p['adUnitId'];this['raiseAnalyticsEventToParent']({'type':h['AdAction']['BannerRequested'],'adUnitId':v});const w=y=>{y['slot']['getSlotElementId']()===this['adContainer']['id']&&(y['isEmpty']||(this['style']['display']='block',this['raiseAnalyticsEventToParent']({'type':h['AdAction']['BannerLoad'],'adUnitId':v}),this['isActive']=!0x0,this['raiseAnalyticsViewBannerAd']()),this['googletag']['pubads']()['removeEventListener']('slotRenderEnded',w));};this['googletag']['pubads']()['addEventListener']('slotRenderEnded',w);const x=(null===(u=null===(q=k['ConfigService']['googleCustomNativeAdHandler'])||void 0x0===q?void 0x0:q['provideAdExtraParams'])||void 0x0===u?void 0x0:u['call'](q,{'path':v},this['parentContnet']['contentExtraInfo']))||{};Object['entries'](x)['forEach'](([y,z])=>{this['googletag']['pubads']()['setTargeting'](y,z);}),this['googletag']['pubads']()['setCentering'](!0x0),this['googletag']['pubads']()['display'](v,[[0x140,0x32]],this['adContainer']['id']),this['googletag']['enableServices'](),this['googletag']['pubads']()['refresh']();}));}['setInitialStyles'](){(0, l['mergeStyles'])(this,{'width':'100%','height':'50px','display':'none','overflow':'hidden'});}['setAdContainer'](){this['adContainer']['id']='ad-banner-'+Date['now'](),this['appendChild'](this['adContainer']);}['raiseAnalyticsEventToParent'](p){this['dispatchEvent'](new CustomEvent(j['InternalEvent']['BANNER_ANALYTICS'],{'bubbles':!0x0,'detail':p}));}['raiseAnalyticsViewBannerAd'](){var p;k['AdService']['canRunAds']&&this['bannerAdInfo']&&this['isActive']&&this['raiseAnalyticsEventToParent']({'type':h['AdAction']['BannerView'],'adUnitId':null===(p=this['bannerAdInfo'])||void 0x0===p?void 0x0:p['adUnitId']});}}f['BlazeWidgetBannerAd']=m;},0x19a9:(f,g,h)=>{Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetVastAd']=void 0x0;const j=h(0x1699),k=h(0x1932),m=h(0x26ed),p=h(0x11c1),q=h(0x2432);let u=window['innerWidth'];class v extends HTMLElement{get['googleIMA'](){var w;return null===(w=window['google'])||void 0x0===w?void 0x0:w['ima'];}constructor(w,x){super(),this['contentType']=w,this['getReferringObject']=x,this['adContainer']=document['createElement']('div'),this['adLoaderContainer']=new j['BlazeLoader'](),this['currentAdTag']='',this['boundedOnBlur']=this['onBlur']['bind'](this),this['boundedOnFocus']=this['onFocus']['bind'](this),this['boundedOnVisibilityChange']=this['onVisibilityChange']['bind'](this),this['boundedOnWindowResize']=this['onWindowResize']['bind'](this),this['adIndex']=0x0,this['initializeGoogleIma']();}['initializeGoogleIma'](){this['googleIMA']&&(this['googleIMA']['settings']['setDisableCustomPlaybackForIOS10Plus'](!0x0),(0, q['mergeStyles'])(this['adContainer'],{'position':'absolute','width':'100%','background':'black','height':'100%','top':'0','left':'0','display':'none','justifyContent':'center','zIndex':'100000'}),(0, q['mergeStyles'])(this['adLoaderContainer'],{'margin':'auto','position':'absolute','top':'50%','left':'50%','transform':'translate(-50%,\x20-50%)','zIndex':'100001','display':'none'}));}['buildImaUrl'](w,x){var y,z;const A=(null===(z=null===(y=p['ConfigService']['imaAdHandler'])||void 0x0===y?void 0x0:y['provideAdExtraParams'])||void 0x0===z?void 0x0:z['call'](y,x))||{},B=new URL(w);B['searchParams']['set']('url',document['location']['href']),B['searchParams']['set']('vpmute',p['VideoPlayerService']['isMuted']?'1':'0'),B['searchParams']['set']('plcmt','1'),B['searchParams']['set']('vpos','midroll');for(const C in A)B['searchParams']['set'](C,A[C]);return B['toString']();}['startAd'](w,x,y){var z,A,B,C,D;if(this['currentAdInfo']=x,!this['googleIMA'])return !0x1;u=window['innerWidth'];const E=this['buildImaUrl'](x['tag'],y);this['adContainer']['style']['display']='flex',this['adsLoader']&&this['videoElement']||(this['appendChild'](this['adLoaderContainer']),this['appendChild'](this['adContainer']),this['videoElement']=w,this['adDisplayContainer']=new this['googleIMA']['AdDisplayContainer'](this['adContainer'],this['videoElement']),this['adsLoader']=new this['googleIMA']['AdsLoader'](this['adDisplayContainer']),null===(z=this['adsLoader'])||void 0x0===z||z['addEventListener'](this['googleIMA']['AdsManagerLoadedEvent']['Type']['ADS_MANAGER_LOADED'],G=>this['onAdsManagerLoaded'](G),!0x1),null===(A=this['adsLoader'])||void 0x0===A||A['addEventListener'](this['googleIMA']['AdErrorEvent']['Type']['AD_ERROR'],this['onAdError']['bind'](this),!0x1),null===(B=this['adsLoader'])||void 0x0===B||B['getSettings']()['setVpaidMode'](google['ima']['ImaSdkSettings']['VpaidMode']['INSECURE']));const F=new this['googleIMA']['AdsRequest']();return F['adTagUrl']=E,this['currentAdTag']=E,F['linearAdSlotWidth']=this['videoElement']['clientWidth'],F['linearAdSlotHeight']=this['videoElement']['clientHeight'],F['nonLinearAdSlotWidth']=this['videoElement']['clientWidth'],F['nonLinearAdSlotHeight']=(null!==(C=this['videoElement']['clientHeight'])&&void 0x0!==C?C:0x0)/0x3,null===(D=this['adsLoader'])||void 0x0===D||D['requestAds'](F),this['onAdEvent']({'type':k['ImaAdAction']['REQUESTED']}),!0x0;}['onAdsManagerLoaded'](w){const x=new this['googleIMA']['AdsRenderingSettings']();x['restoreCustomPlaybackStateOnAdBreakComplete']=!0x0,this['adsManager']=w['getAdsManager'](this['videoElement'],x),this['adsManager']&&(this['adsManager']['addEventListener'](this['googleIMA']['AdErrorEvent']['Type']['AD_ERROR'],this['onAdError']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['CONTENT_PAUSE_REQUESTED'],this['onContentPauseRequested']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['CONTENT_RESUME_REQUESTED'],this['onContentResumeRequested']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['ALL_ADS_COMPLETED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['CLICK'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['COMPLETE'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['LOADED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['PAUSED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['RESUMED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['SKIPPED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['STARTED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['FIRST_QUARTILE'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['MIDPOINT'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['THIRD_QUARTILE'],this['onAdEvent']['bind'](this)),this['loadAds']());}['loadAds'](){if(!this['adsManager']||!this['adDisplayContainer']||!this['videoElement'])return;this['adDisplayContainer']['initialize']();const w=this['videoElement']['getBoundingClientRect'](),x=w['width'],y=w['height'];try{this['adsManager']['init'](x,y,this['googleIMA']['ViewMode']['NORMAL']),this['adsManager']['start']();}catch(z){this['onContentResumeRequested']();}}['onAdEvent'](w){var x;const y={[this['googleIMA']['AdEvent']['Type']['ALL_ADS_COMPLETED']]:k['ImaAdAction']['ALL_ADS_COMPLETED'],[this['googleIMA']['AdEvent']['Type']['CLICK']]:k['ImaAdAction']['CLICK'],[this['googleIMA']['AdEvent']['Type']['COMPLETE']]:k['ImaAdAction']['COMPLETED'],[this['googleIMA']['AdEvent']['Type']['LOADED']]:k['ImaAdAction']['LOADED'],[this['googleIMA']['AdEvent']['Type']['PAUSED']]:k['ImaAdAction']['PAUSED'],[this['googleIMA']['AdEvent']['Type']['RESUMED']]:k['ImaAdAction']['RESUMED'],[this['googleIMA']['AdEvent']['Type']['SKIPPED']]:k['ImaAdAction']['SKIPPED'],[this['googleIMA']['AdEvent']['Type']['STARTED']]:k['ImaAdAction']['STARTED'],[this['googleIMA']['AdEvent']['Type']['FIRST_QUARTILE']]:k['ImaAdAction']['FIRST_QUARTILE'],[this['googleIMA']['AdEvent']['Type']['MIDPOINT']]:k['ImaAdAction']['MIDPOINT'],[this['googleIMA']['AdEvent']['Type']['THIRD_QUARTILE']]:k['ImaAdAction']['THIRD_QUARTILE'],[k['ImaAdAction']['REQUESTED']]:k['ImaAdAction']['REQUESTED']};let z={};if('object'==typeof w&&w&&'getAd'in w&&'function'==typeof w['getAd']&&(z=w['getAd']()['data']),'object'==typeof w&&w&&'type'in w){const A=y[w['type']];p['AnalyticsService']['pushImaAdEvent'](A,{'ad_id':z['adId'],'ad_title':z['title'],'ad_description':z['description'],'ad_system':z['adSystem'],'ad_duration':z['duration'],'skippable':z['skippable'],'skip_time_offset':z['skipTimeOffset'],'advertiser_name':z['advertiserName'],'ima_url':this['currentAdTag'],'audio_state':p['VideoPlayerService']['isMuted']?'muted':'unmuted','content_type':this['contentType'],'ad_index':this['adIndex']['toString'](),'backoffice_campaign_data':JSON['stringify'](this['currentAdInfo']||{})},void 0x0,null===(x=this['getReferringObject'])||void 0x0===x?void 0x0:x['call'](this));}}['onAdError'](){this['onContentResumeRequested']();}['onAdClick'](){setTimeout(()=>{window['focus']();},0x3e8);}['onContentPauseRequested'](){this['adLoaderContainer']['style']['display']='none',this['dispatchEvent'](new CustomEvent(m['InternalEvent']['AD_STARTED'],{'bubbles':!0x0,'composed':!0x0})),this['adContainer']['addEventListener']('click',this['onAdClick']),window['addEventListener']('blur',this['boundedOnBlur']),window['addEventListener']('focus',this['boundedOnFocus']),document['addEventListener']('visibilitychange',this['boundedOnVisibilityChange']),window['addEventListener']('resize',this['boundedOnWindowResize']);}['onContentResumeRequested'](){var w,x;this['adLoaderContainer']['style']['display']='none',this['adContainer']['style']['display']='none',this['dispatchEvent'](new CustomEvent(m['InternalEvent']['AD_ENDED'],{'bubbles':!0x0,'composed':!0x0})),this['adContainer']['removeEventListener']('click',this['onAdClick']),window['removeEventListener']('blur',this['boundedOnBlur']),window['removeEventListener']('focus',this['boundedOnFocus']),document['removeEventListener']('visibilitychange',this['boundedOnVisibilityChange']),window['removeEventListener']('resize',this['boundedOnWindowResize']),null===(w=this['adsManager'])||void 0x0===w||w['destroy'](),null===(x=this['adsLoader'])||void 0x0===x||x['contentComplete']();}['onBlur'](){var w;null===(w=this['adsManager'])||void 0x0===w||w['pause']();}['onFocus'](){var w;null===(w=this['adsManager'])||void 0x0===w||w['resume']();}['onVisibilityChange'](){var w,x;'visible'===document['visibilityState']?null===(w=this['adsManager'])||void 0x0===w||w['resume']():null===(x=this['adsManager'])||void 0x0===x||x['pause']();}['onWindowResize'](){u!==window['innerWidth']&&(u=window['innerWidth'],this['adsManager']&&this['videoElement']&&setTimeout(()=>{var w,x;const y=null===(w=this['videoElement'])||void 0x0===w?void 0x0:w['getBoundingClientRect'](),z=null==y?void 0x0:y['width'],A=null==y?void 0x0:y['height'];z&&A&&(null===(x=this['adsManager'])||void 0x0===x||x['resize'](z,A,this['googleIMA']['ViewMode']['NORMAL']));},0xfa));}}g['BlazeWidgetVastAd']=v;},0x23a6:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x15a2),f),j(g(0x8c0),f),j(g(0x2120),f),j(g(0x2151),f),j(g(0x19a9),f),j(g(0x215f),f),j(g(0x565),f),j(g(0x1492),f),j(g(0x33),f),j(g(0x14c),f),j(g(0x1f70),f),j(g(0xab4),f),j(g(0x1098),f),j(g(0x264),f),j(g(0xf49),f),j(g(0x183e),f),j(g(0x1a96),f),j(g(0x5ee),f),j(g(0x1d16),f),j(g(0x416),f),j(g(0x1345),f),j(g(0xb0b),f),j(g(0x23f9),f),j(g(0x1789),f),j(g(0x1d2f),f);},0xab4:(f,j,k)=>{Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetMomentModal']=void 0x0;const m=k(0x1133),q=k(0x1932),v=k(0x26ed),w=k(0x22d9),x=k(0x11c1),y=k(0x2432),z=k(0x33),A=k(0x14c),B=k(0x1f70),C=k(0x1098);class E extends A['BlazeWidgetModal']{constructor(F,G,H){super('moment'),this['parentWidget']=F,this['playerLayout']=G,this['actionHandlers']=H,this['data']=[],this['playlistSessionId']='',this['navigationButtonsContainerElement']=w['WidgetsFactory']['create']('blaze-div'),this['navigationButtonsContainerElement']['setStyle']({'display':'flex','position':'absolute','right':'36px','flexDirection':'column','justifyContent':'center','alignItems':'normal','height':'100%','gap':'16px'}),'desktop'===m['deviceDetector']['platform']&&(this['prevContentButtonElement']=this['createNavigationButton']('PREV'),this['nextContentButtonElement']=this['createNavigationButton']('NEXT'),this['appendChild'](this['navigationButtonsContainerElement'])),this['boundOnKeyDown']=this['onKeyDown']['bind'](this),this['boundOnResizeEventDelay']=this['onResizeEventDelay']['bind'](this),this['boundOnNavigationChange']=this['onNavigationChange']['bind'](this);}['connectedCallback'](){super['connectedCallback'](),'desktop'===m['deviceDetector']['platform']&&(this['addEventListener'](C['UPDATE_NAVIGATION_BUTTONS_EVENT'],this['boundOnNavigationChange']),window['addEventListener']('keydown',this['boundOnKeyDown']),this['exitButtonElement']['setIconUrl'](this['playerLayout']['icons']['exit'])),window['addEventListener']('resize',this['boundOnResizeEvent']),window['addEventListener'](m['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnResizeEventDelay']),this['render']();}['disconnectedCallback'](){super['disconnectedCallback'](),'desktop'===m['deviceDetector']['platform']&&(this['removeEventListener'](C['UPDATE_NAVIGATION_BUTTONS_EVENT'],this['boundOnNavigationChange']),window['removeEventListener']('keydown',this['boundOnKeyDown']));}['setTheme'](F){this['player']['playerContentList']['forEach'](G=>{G instanceof B['BlazeWidgetMoment']&&G['setTheme'](F);}),this['playerLayout']=F;}['onNavigationChange'](F){var G,H;if('mobile'===m['deviceDetector']['platform']||'tablet'===m['deviceDetector']['platform'])return;const {detail:{prevContentButton:I,nextContentButton:J}}=F;null===(G=this['prevContentButtonElement'])||void 0x0===G||G['setAttribute']('blaze-btn-visible',!0x1===I?'true':'false'),null===(H=this['nextContentButtonElement'])||void 0x0===H||H['setAttribute']('blaze-btn-visible',!0x1===J?'true':'false');}['navigateContent'](F){x['VideoPlayerService']['isNavigating']||(this['player']['contentList'][this['player']['index']]['isActive']=!0x1,this['player']['changeContent'](F));}['createNavigationButton'](F){const G=w['WidgetsFactory']['create']('blaze-button');G['classList']['add']('desktop-button'),G['setStyle']({'display':'inline-flex','zIndex':'9999','padding':'24px','borderRadius':'50%','backgroundColor':'#18181899'});const {nextMoment:H,prevMoment:I}=this['playerLayout']['icons']['navigation'],J='NEXT'===F?H:I;return G['setIconUrl'](J),G['setAttribute']('width','24px'),G['setAttribute']('height','24px'),G['setAttribute']('icon-color','#F0F0F0'),G['addEventListener']('click',()=>this['handleClickNavigation'](F)),this['navigationButtonsContainerElement']['append'](G),G;}['handleClickNavigation'](F){x['VideoPlayerService']['isNavigating']||this['player']['isContentDirectionInPlayerListValid'](F)&&(this['player']['playerContentList'][this['player']['index']]['exitTrigger']='Skip',this['navigateContent'](F));}['setModalContent'](F,G,H){this['data']=F;const I=[];for(let J=0x0;J<F['length'];J++){const K=w['WidgetsFactory']['create']('blaze-widget-moment');this['actionHandlers']&&K['setActionHandlers'](this['actionHandlers']),K['setPlayerStyle'](this['playerLayout']),K['setData'](F[J]),K['setModal'](this),I['push'](K);const L=x['AdService']['pushAdsBetweenMoments'](H,I,F,J,G);L&&L['setModal'](this);}I['forEach']((M,N)=>M['setContentExtraInfo'](this['player']['getContentExtraInfo'](I,N))),this['player']['setContent'](I);}['onKeyDown'](F){this['isOpen']&&'Escape'==F['key']&&(this['player']['playerContentList'][this['player']['index']]['exitTrigger']='Escape\x20Button',this['close']());}['close'](){var F,G;if(!this['isOpen'])return;const H=this['player']['playerContentList'][this['player']['index']];H['event'](q['MomentAction']['MomentExit'],{}),H['event'](q['MomentAction']['MomentsPlaylistExit'],{}),x['EventService']['dispatch'](this,v['Delegation']['onPlayerDismissed']),this['parentWidget']&&(x['EventService']['dispatch'](this['parentWidget'],v['Delegation']['onWidgetPlayerDismissed'],{'widgetId':this['parentWidget']['id']}),H['data']['hasViewed']=!0x0,this['parentWidget']instanceof z['BlazeWidgetLayout']&&this['parentWidget']['widgetItems']['forEach'](I=>{I['content']['id']===H['data']['id']&&(I['setChipStyle'](),I['render']());})),this['playlistSessionId']='',null===(F=this['player'])||void 0x0===F||F['playerContentList']['forEach'](I=>{I['unload']();}),super['close'](),null===(G=this['onClose'])||void 0x0===G||G['call'](this);}['open'](){var F,G,H;this['isOpen']||x['EventService']['dispatch'](this,v['Delegation']['onPlayerDidAppear']),this['playlistSessionId']=(0, y['getRandomId'])(),null===(G=null===(F=this['player'])||void 0x0===F?void 0x0:F['playerContentList'][this['player']['index']])||void 0x0===G||G['load']('direct'),this['player']['prefetchPosters'](),(0, y['delay'])(q['ONE_SECOND'])['then'](()=>{this['player']['preloadAdjacentContent']('NEXT'),this['player']['preloadAdjacentContent']('PREV');}),super['open'](),null===(H=this['onOpen'])||void 0x0===H||H['call'](this);}['play'](){}['setExitButtonDisplay'](){'desktop'===m['deviceDetector']['platform']&&(this['exitButtonWrapperElement']['style']['display']='block');}['render'](){var F;this['setExitButtonDisplay'](),null===(F=this['player'])||void 0x0===F||F['render']();}['onResize'](){super['onResize']();}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},q['ONE_SECOND']/0x2);}}j['BlazeWidgetMomentModal']=E;},0x1098:function(f,g,j){var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});},m=this&&this['__importDefault']||function(z){return z&&z['__esModule']?z:{'default':z};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetMomentPlayer']=g['UPDATE_NAVIGATION_BUTTONS_EVENT']=g['MUTE_UNMUTE_EVENT']=void 0x0;const p=m(j(0xad8)),q=j(0x23a6),u=j(0x1133),v=j(0x1932),w=j(0x11c1),x=j(0x132a);g['MUTE_UNMUTE_EVENT']='muteButtonClicked',g['UPDATE_NAVIGATION_BUTTONS_EVENT']='updateNavigationButtons';class y extends q['WidgetAbstractPlayer']{constructor(){super(),this['isWheelEventHandling']=!0x1,this['boundHandleMuteClicked']=this['handleMuteClicked']['bind'](this),this['numberOfContentInList']=0x5,this['playerFullscreenOverlay']['setStyle']({'backgroundColor':'#010101'});}get['currentMoment'](){return this['playerContentList'][this['index']];}['connectedCallback'](){this['append'](this['srcBackground']),this['append'](this['destBackground']),this['append'](this['container']),this['applyStyles'](),this['setupContainer'](),this['setupEventListeners']();}['disconnectedCallback'](){this['listeners']['removeAll'](),document['removeEventListener'](g['MUTE_UNMUTE_EVENT'],this['boundHandleMuteClicked']);}['setupEventListeners'](){this['setupHammer'](Hammer['DIRECTION_VERTICAL']),this['listeners']['add']('wheel',(0, u['debounce'])(this['handleWheel']['bind'](this),0x0)),this['listeners']['add']('keydown',(0, u['debounce'])(this['handleNavigationKeyPress']['bind'](this),0x0)),document['addEventListener'](g['MUTE_UNMUTE_EVENT'],this['boundHandleMuteClicked']);}['setupContainer'](){this['container']['setStyle']({'display':'grid','overflow':'hidden','position':'relative','gridTemplateColumns':'100%'}),this['adjustContainerStyle'](),this['adjustPlayerContentStyle']();}['updateNavigationButtons'](){const z=this['isContentDirectionInPlayerListValid']('PREV'),A=this['isContentDirectionInPlayerListValid']('NEXT');this['dispatchEvent'](new CustomEvent(g['UPDATE_NAVIGATION_BUTTONS_EVENT'],{'bubbles':!0x0,'detail':{'nextContentButton':A,'prevContentButton':z}}));}['adjustContainerStyle'](){const z=this['getBoundingClientRect']()['height'];let A,B,C=0x28,D=0.004;'mobile'===u['deviceDetector']['platform']?(this['style']['background']=x['Colors']['Black'],D=0x1-0x2*D,C=0x0,A=0x0,B=z):(A=z*D+C/0x2,B=z*(0x1-0x2*D)-0x2*C);const E='repeat(10,\x20'+B+'px)';this['container']['setStyle']({'gap':C+'px','marginTop':A+'px','gridTemplateRows':E});}['adjustPlayerContentStyle'](){'mobile'===u['deviceDetector']['platform']&&this['playerContentList']['forEach'](z=>{z['style']['width']=this['clientWidth']+'px';});}['applyStyles'](){this['setStyle']({'display':'block','overflow':'hidden','height':'100%','width':'100%','position':'relative','background':x['Colors']['Black']});}['attributeChangedCallback'](z,A,B){}['handleMoveSwipe'](z){var A,B,C,D;if(w['VideoPlayerService']['isSeekBarDragging'])return;const E=this['playerContentList']['findIndex'](F=>{var G;return F['id']===(null===(G=this['playerContentList'][this['index']])||void 0x0===G?void 0x0:G['id']);});if(E>-0x1){const F=z['distance']/((null===window||void 0x0===window?void 0x0:window['screen']['height'])/0.85)*0x3e8;switch(z['offsetDirection']){case Hammer['DIRECTION_UP']:null===(A=this['currentNextAnimation'])||void 0x0===A||A['seek'](F);break;case Hammer['DIRECTION_DOWN']:null===(B=this['currentPrevAnimation'])||void 0x0===B||B['seek'](F);break;default:null===(C=this['currentNextAnimation'])||void 0x0===C||C['seek'](0x0),null===(D=this['currentPrevAnimation'])||void 0x0===D||D['seek'](0x0);}}}['handleEndSwipe'](z){const A=this['playerContentList'][this['index']+0x1],B=this['playerContentList'][this['index']-0x1];switch(z['offsetDirection']){case Hammer['DIRECTION_UP']:if(!A)return;this['playerContentList'][this['index']]['exitTrigger']='Swipe',this['processAnimation'](z,A,this['currentNextAnimation']),u['URLManager']['updateLocationContentHash']({'contentType':'moment','contentId':null==A?void 0x0:A['data']['id'],'isAd':null==A?void 0x0:A['data']['isAd']});break;case Hammer['DIRECTION_DOWN']:if(!B)return;this['playerContentList'][this['index']]['exitTrigger']='Swipe',this['processAnimation'](z,B,this['currentPrevAnimation']),u['URLManager']['updateLocationContentHash']({'contentType':'moment','contentId':null==B?void 0x0:B['data']['id'],'isAd':null==B?void 0x0:B['data']['isAd']});break;default:this['reverseAnimation'](z);}}['handlePrevDirection'](){if(Math['floor'](this['numberOfContentInList']/0x2-0x1)===this['index']){const z=this['playerContentList'][0x0]['data']['id'],A=this['contentList']['findIndex'](D=>D['data']['id']===z),B=this['contentList'][A-0x1];if(!B)return;const C=this['playerContentList'][this['playerContentList']['length']-0x1];this['releaseMomentFromMemory'](C),B instanceof q['BlazeWidgetMoment']&&this['updateItemData'](C,B),this['container']['insertBefore'](C,this['container']['firstChild']),this['playerContentList']['pop'](),this['playerContentList']['unshift'](C),this['index']+=0x1;}}['handleNextDirection'](){if(Math['floor'](this['numberOfContentInList']/0x2+0x1)===this['index']){const z=this['playerContentList'][this['playerContentList']['length']-0x1]['data']['id'],A=this['contentList']['findIndex'](D=>D['data']['id']===z),B=this['contentList'][A+0x1];if(!B)return;const C=this['playerContentList'][0x0];this['releaseMomentFromMemory'](C),B instanceof q['BlazeWidgetMoment']&&this['updateItemData'](C,B),this['container']['insertBefore'](C,null),this['playerContentList']['shift'](),this['playerContentList']['push'](C),this['index']-=0x1;}}['releaseMomentFromMemory'](z){const A=z['video'];A instanceof q['BlazeWidgetVideo']&&A['resetVideoState']();}['updateItemData'](z,A){var B,C;const D=z,E=A;D['updateData']({'data':E['data'],'shouldShowImaAdOnStart':E['shouldShowImaAdOnStart'],'adInfo':E['adInfo'],'contentExtraInfo':E['contentExtraInfo']});const F=null===(B=D['refContentModal'])||void 0x0===B?void 0x0:B['parentWidget'];if(F instanceof q['BlazeWidgetLayout']){const G=null===(C=F['widgetItems'])||void 0x0===C?void 0x0:C['find'](H=>H['content']['id']===E['data']['id']);G&&D['setWidgetItemParent'](G);}D['refContentModal']=E['refContentModal'],D['playerStyle']=E['playerStyle'];}['createAnimation'](z,A,B){var C,D;return p['default']['timeline']({'complete':()=>{var E,F,G;null===(E=z['video'])||void 0x0===E||E['endExit'](),null===(G=null===(F=this['playerContentList']['at'](B))||void 0x0===F?void 0x0:F['video'])||void 0x0===G||G['startEnter'](),this['handleAnimationCompletion'](z,A);},'changeBegin':()=>{this['handleAnimationStart'](z,A);},'easing':'easeInOutQuad','autoplay':!0x1})['add']({'targets':[this['container']],'keyframes':[{'translateY':-this['playerContentList'][this['index']]['offsetTop'],'duration':0x0},{'translateY':-(null!==(D=null===(C=this['playerContentList'][B])||void 0x0===C?void 0x0:C['offsetTop'])&&void 0x0!==D?D:this['playerContentList'][this['index']]['offsetTop'])}]});}['handleAnimationStart'](z,A){var B,C,D,E,F;(null===(B=z['shareModal'])||void 0x0===B?void 0x0:B['isOpen'])&&(null===(C=z['shareModal'])||void 0x0===C||C['close']()),(null===(D=z['closedCaptionsModal'])||void 0x0===D?void 0x0:D['isOpen'])&&(null===(E=z['closedCaptionsModal'])||void 0x0===E||E['close']()),null===(F=this['onContentChange'])||void 0x0===F||F['call'](this,A);}['handleAnimationCompletion'](z,A){return k(this,void 0x0,void 0x0,function*(){z['navigationType']='Manual',z['navigationDirection']='NEXT'===A?'Forwards':'Backwards',z['isActive']=!0x1,z['pause'](),this['index']+='NEXT'===A?0x1:-0x1,z['event'](v['MomentAction']['MomentExit'],{}),yield this['handleAnimationEnd'](A),yield this['prefetchPosters'](),yield this['preloadAdjacentContent'](A);});}['loadAndPlayContent'](){return k(this,void 0x0,void 0x0,function*(){this['isNavigationBlocked']=!0x0,w['VideoPlayerService']['isPlaying']=!0x0;const z=this['playerContentList'][this['index']];z&&(yield z['load']('direct'),z['play'](),this['playerContentList']['forEach'](A=>{var B;A['data']['id']!==z['data']['id']&&(A['isActive']=!0x1,null===(B=A['seekBar'])||void 0x0===B||B['setAttribute']('is-active','false'),A['removeResumeButtonFromScreen']());}),z['isActive']=!0x0,this['isNavigationBlocked']=!0x1,w['VideoPlayerService']['isNavigating']=!0x1,w['VideoPlayerService']['isPlaying']=!0x0);});}['setContent'](z){for(const A of this['playerContentList'])A['remove']();this['playerContentList']=[],this['contentList']=[...z];}['preloadAdjacentContent'](z){return k(this,void 0x0,void 0x0,function*(){const A=[this['index']-0x1,this['index']+0x1]['filter'](C=>C>=0x0&&C<this['numberOfContentInList']),B=[this['index']-0x2,this['index']+0x2]['filter'](C=>C>=0x0&&C<this['numberOfContentInList']);A['forEach'](C=>k(this,void 0x0,void 0x0,function*(){const D=this['playerContentList'][C];yield null==D?void 0x0:D['load']();})),setTimeout(()=>{B['forEach'](C=>k(this,void 0x0,void 0x0,function*(){const D=this['playerContentList'][C];yield null==D?void 0x0:D['load']();}));},v['ONE_SECOND']),setTimeout(()=>k(this,void 0x0,void 0x0,function*(){var C,D,E,F,G,H,I,J,K,L;const M=this['playerContentList'][0x0],N=this['playerContentList'][this['playerContentList']['length']-0x1],O=this['contentList']['findIndex'](Q=>Q['data']['id']===N['data']['id']),P=this['contentList']['findIndex'](Q=>Q['data']['id']===M['data']['id']);if(O+0x1<this['contentList']['length']&&'PREV'===z){const Q=null===(G=null===(F=null===(E=null===(D=null===(C=this['contentList'][O+0x1]['data'])||void 0x0===C?void 0x0:C['baseLayer'])||void 0x0===D?void 0x0:D['content'])||void 0x0===E?void 0x0:E['renditions'])||void 0x0===F?void 0x0:F[0x0])||void 0x0===G?void 0x0:G['url'];yield w['VideoCacheService']['deleteVideoFromCache'](Q);}if(P-0x1>=0x0&&'NEXT'===z){const R=null===(L=null===(K=null===(J=null===(I=null===(H=this['contentList'][O-0x1]['data'])||void 0x0===H?void 0x0:H['baseLayer'])||void 0x0===I?void 0x0:I['content'])||void 0x0===J?void 0x0:J['renditions'])||void 0x0===K?void 0x0:K[0x0])||void 0x0===L?void 0x0:L['url'];yield w['VideoCacheService']['deleteVideoFromCache'](R);}}),v['ONE_SECOND']);});}['prefetchPosters'](){return k(this,void 0x0,void 0x0,function*(){var z,A,B,C;this['playerContentList']['forEach'](E=>{var F;return null===(F=E['video'])||void 0x0===F?void 0x0:F['loadPoster']();});const D=this['contentList']['findIndex'](E=>E['data']['id']===this['playerContentList'][this['index']]['data']['id']);for(let E=D+0x1;E<=D+0x3;E++){if(!this['contentList'][E])return;const F=null===(C=null===(B=null===(A=null===(z=this['contentList'][E])||void 0x0===z?void 0x0:z['data'])||void 0x0===A?void 0x0:A['poster'])||void 0x0===B?void 0x0:B['rendition'])||void 0x0===C?void 0x0:C['url'];F&&(yield fetch(F,{'priority':'high','cache':'force-cache'})['then'](()=>{})['catch'](()=>{}));}});}['play'](){const z=this['playerContentList'][this['index']];z['event'](v['MomentAction']['MomentsPlaylistStart'],{}),z['play'](),u['URLManager']['updateLocationContentHash']({'contentType':'moment','contentId':z['data']['id'],'isAd':z['data']['isAd']}),this['updateNavigationButtons']();}['pause'](){this['playerContentList'][this['index']]['pause']();}['onAnimationEnd'](){this['resetAnimation']();for(const z of this['playerContentList'])z['resetPosition']();w['VideoPlayerService']['isPlaying']=!0x0,this['play']();}['handleWheel'](z){var A;if(Math['abs'](z['deltaY'])<=0xf)return;if(this['isNavigationBlocked']||this['isWheelEventHandling'])return;if(null===(A=this['currentMoment']['video'])||void 0x0===A?void 0x0:A['isCurrentlyTryingToRunImaAd'])return;this['isWheelEventHandling']=!0x0;const B=z['deltaY']>0x0?'NEXT':'PREV';this['isContentDirectionInPlayerListValid'](B)?(this['isNavigationBlocked']=!0x0,this['changeContent'](B),setTimeout(()=>{this['isWheelEventHandling']=!0x1;},v['ONE_SECOND'])):this['isWheelEventHandling']=!0x1;}['handleNavigationKeyPress'](z){var A;if(this['isNavigationBlocked'])return;if(null===(A=this['currentMoment']['video'])||void 0x0===A?void 0x0:A['isCurrentlyTryingToRunImaAd'])return;let B=null;switch(z['code']){case'ArrowUp':case'Up':case'PageUp':B='PREV';break;case'ArrowDown':case'Down':case'PageDown':B='NEXT';break;case'Space':return void this['playerContentList'][this['index']]['handlePlayPauseButtonClick']();}this['isContentDirectionInPlayerListValid'](B)&&B&&this['changeContent'](B);}['changeContent'](z){this['isNavigationBlocked']=!0x0,w['VideoPlayerService']['isNavigating']=!0x0;const A=this['animateContent'](z);A&&(A['play'](),A['finished']['then'](()=>{var B;this['updateNavigationButtons'](),u['URLManager']['updateLocationContentHash']({'contentType':'moment','contentId':null===(B=this['playerContentList'][this['index']])||void 0x0===B?void 0x0:B['data']['id'],'isAd':this['playerContentList'][this['index']]['data']['isAd']});}));}['handleMuteClicked'](){this['playerContentList']['forEach'](z=>z['updatePlayerButtonIcons']()),this['playerContentList']['forEach'](z=>z['onMuteUnmuteChange']());}['loadContentBatch'](){}['resetStyles'](){}['render'](){this['adjustContainerStyle'](),this['adjustPlayerContentStyle']();}}g['BlazeWidgetMomentPlayer']=y;},0x1345:(f,g,h)=>{Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetMomentSeekBar']=void 0x0;const j=h(0x1133),k=h(0x1932),m=h(0x22d9),p=h(0x11c1),q=h(0x2432),u={'isActive':'is-active'};class v extends HTMLElement{constructor(w,x){super(),this['video']=w,this['seekBarStyle']=x,this['playbackParts']=[],this['isProgressBarPaused']=!0x1,this['isActive']=!0x1,this['isInit']=!0x1,this['animationFrameId']=null,this['lastProgress']=0x0,this['progressBarContainer']=m['WidgetsFactory']['create']('blaze-div'),this['progressBarFill']=m['WidgetsFactory']['create']('blaze-div'),this['progressBarKnob']=m['WidgetsFactory']['create']('blaze-div'),this['isMouseIn']=!0x1,this['progress']=m['WidgetsFactory']['create']('blaze-div'),this['listeners']=new j['EventsListener'](),this['boundOnTouchMove']=this['onTouchMove']['bind'](this),this['boundOnMouseMove']=this['onMouseMove']['bind'](this),this['boundOnClick']=this['handleOnClick']['bind'](this),this['boundOnStartDrag']=this['handleOnStartDrag']['bind'](this),this['boundOnEndDrag']=this['handleOnEndDrag']['bind'](this),this['boundOnMouseIn']=this['handleOnMouseIn']['bind'](this),this['boundOnMouseOut']=this['handleOnMouseOut']['bind'](this),this['progress']['classList']['add'](k['WSC_PREFIX']+'progress');}static get['observedAttributes'](){return Object['values'](u);}['attributeChangedCallback'](w,x,y){var z,A;w===u['isActive']&&(this['isActive']='true'===y['toLowerCase'](),this['isActive']?this['setupProgressUpdate']():this['stopProgressUpdate'](),null===(A=null===(z=this['playbackParts'])||void 0x0===z?void 0x0:z['forEach'])||void 0x0===A||A['call'](z,B=>B['style']['width']='0%'));}['connectedCallback'](){if(!this['isInit']&&this['seekBarStyle']['isVisible']){if(this['isInit']=!0x0,this['addTransitionStyle'](),this['seekBarStyle']){const w=parseFloat(this['seekBarStyle']['playingState']['height']);isNaN(w)&&(this['seekBarStyle']['playingState']['height']='3px');const x=parseFloat(this['seekBarStyle']['pausedState']['height']);isNaN(x)&&(this['seekBarStyle']['pausedState']['height']='5px');}this['initialize'](),this['styleProgressContainer']();}}['addTransitionStyle'](){const w=document['createElement']('style');w['textContent']='\x0a\x20\x20\x20\x20\x20\x20.'+k['WSC_PREFIX']+'progress\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20height\x200.3s\x20ease;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',this['appendChild'](w);}['onContentPaused'](){this['applyPauseSeekBarStyle']();}['onContentResumed'](w=!0x1){w?this['applyPlayingSeekBarStyle']():setTimeout(()=>{this['applyPlayingSeekBarStyle']();},0x2*k['ONE_SECOND']);}['disconnectedCallback'](){this['stopProgressUpdate']();}['initialize'](){this['setupEventListeners'](),this['render']();}['setVideo'](w){this['video']=w,this['stopProgressUpdate'](),this['setupProgressUpdate'](),this['reset']();}['setupProgressUpdate'](){var w;const x=()=>{var y,z,A;this['playbackParts']['forEach'](D=>D['style']['width']='0%');let B=this['video']['progress'];Number['isNaN'](B)?B=this['lastProgress']:this['lastProgress']=B;const C=null===(z=null===(y=this['playbackParts'])||void 0x0===y?void 0x0:y['at'])||void 0x0===z?void 0x0:z['call'](y,0x0);C&&(C['style']['width']=0x64*B+'%'),this['animationFrameId']=null===(A=window['requestAnimationFrame'])||void 0x0===A?void 0x0:A['call'](window,x);};this['animationFrameId']=null===(w=window['requestAnimationFrame'])||void 0x0===w?void 0x0:w['call'](window,x);}['stopProgressUpdate'](){var w;null!==this['animationFrameId']&&(null===(w=window['cancelAnimationFrame'])||void 0x0===w||w['call'](window,this['animationFrameId']),this['animationFrameId']=null);}['setupEventListeners'](){this['listeners']['addAttached'](this,'mousedown',this['boundOnStartDrag']),this['listeners']['addAttached'](this,'touchstart',this['boundOnStartDrag']),this['listeners']['add']('mouseup',this['boundOnEndDrag']),this['listeners']['add']('touchend',this['boundOnEndDrag']),this['listeners']['addAttached'](this,'mousemove',this['boundOnMouseMove']),this['listeners']['addAttached'](this,'touchmove',this['boundOnTouchMove']),this['listeners']['addAttached'](this,'click',this['boundOnClick']),this['listeners']['addAttached'](this,'mouseenter',this['boundOnMouseIn']),this['listeners']['addAttached'](this,'mouseleave',this['boundOnMouseOut']);}['handleOnStartDrag'](){var w;this['isActive']&&(p['VideoPlayerService']['isSeekBarDragging']=!0x0,null===(w=this['onPause'])||void 0x0===w||w['call'](this),this['applyPauseSeekBarStyle']());}['handleOnEndDrag'](){var w;this['isActive']&&p['VideoPlayerService']['isSeekBarDragging']&&this['isConnected']&&(p['VideoPlayerService']['isSeekBarDragging']=!0x1,null===(w=this['onResume'])||void 0x0===w||w['call'](this),setTimeout(()=>{p['VideoPlayerService']['isSeekBarDragging']||this['applyPlayingSeekBarStyle']();},0x2*k['ONE_SECOND']));}['handleOnClick'](w){if(!this['isActive']||p['VideoPlayerService']['isSeekBarDragging'])return;let x;if(w instanceof MouseEvent)x=w['clientX'];else {if(!(w['touches']&&w['touches']['length']>0x0))return;x=w['touches'][0x0]['clientX'];}this['handleSeek'](x,!0x0);}['onMouseMove'](w){this['handleSeek'](w['clientX'],0x1===w['buttons']);}['onTouchMove'](w){w['touches']['length']>0x0&&(this['handleSeek'](w['touches'][0x0]['clientX'],!0x0),w['preventDefault'](),w['stopImmediatePropagation']());}['handleOnMouseOut'](){this['isActive']&&(p['VideoPlayerService']['isSeekBarDragging']||(this['isMouseIn']=!0x1,setTimeout(()=>{this['applyPlayingSeekBarStyle']();},0x2*k['ONE_SECOND'])));}['handleOnMouseIn'](){this['isActive']&&(this['isMouseIn']=!0x0,this['applyPauseSeekBarStyle']());}['applyPlayingSeekBarStyle'](){this['video']['paused']&&!p['VideoPlayerService']['isPlaying']||this['isProgressBarPaused']&&(this['isMouseIn']||(this['progress']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarKnob']['style']['display']=this['seekBarStyle']['playingState']['isThumbVisible']?'block':'none',this['isProgressBarPaused']=!0x1,this['updateProgressBarStyles']()));}['applyPauseSeekBarStyle'](){this['isProgressBarPaused']||(this['progress']['style']['height']=this['seekBarStyle']['pausedState']['height'],this['progressBarKnob']['style']['display']=this['seekBarStyle']['pausedState']['isThumbVisible']?'block':'none',this['isProgressBarPaused']=!0x0,this['updateProgressBarStyles']());}['reset'](){this['progress']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarKnob']['style']['display']=this['seekBarStyle']['playingState']['isThumbVisible']?'block':'none',this['updateProgressBarStyles']();}['handleSeek'](w,x){if(!x)return;const y=this['getBoundingClientRect']();let z=(w-y['left'])/y['width'];'RTL'===p['ConfigService']['layoutDirection']&&(z=0x1-z);const A=Math['min'](Math['max'](z,0x0),0x1);this['video']['currentTime']=this['video']['duration']*A;}['styleProgressContainer'](){const w=parseFloat(this['seekBarStyle']['playingState']['height']),x=parseFloat(this['seekBarStyle']['pausedState']['height']),y=Math['max'](w,x);(0, q['mergeStyles'])(this,{'height':y+'px','padding':'20px\x20'+this['seekBarStyle']['horizontalSpacing']+'\x20'+this['seekBarStyle']['verticalSpacing']+'\x20'+this['seekBarStyle']['horizontalSpacing'],'cursor':'pointer','boxSizing':'content-box','zIndex':'2'}),this['progress']['setStyle']({'width':'100%','display':'grid','height':this['seekBarStyle']['playingState']['height']}),this['createPlaybackPart'](),this['updateProgressBarStyles'](),this['append'](this['progress']);}['createPlaybackPart'](){this['progressBarContainer']['setStyle']({'width':'100%','height':'100%','display':'block'}),this['progressBarFill']['setStyle']({'width':'0%','height':'100%','position':'relative','display':'block'}),this['progressBarKnob']['setStyle']({'borderRadius':'100%','position':'absolute','right':'0px','top':'50%','bottom':'0px','transform':'translateX(50%)\x20translateY(-50%)'}),this['progressBarFill']['append'](this['progressBarKnob']),this['playbackParts']['push'](this['progressBarFill']),this['progressBarContainer']['appendChild'](this['progressBarFill']),this['progress']['append'](this['progressBarContainer']);}['updateProgressBarStyles'](){this['progressBarContainer']['setStyle']({'borderRadius':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['borderRadius']:this['seekBarStyle']['playingState']['borderRadius'],'backgroundColor':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['backgroundColor']:this['seekBarStyle']['playingState']['backgroundColor']}),this['progressBarFill']['setStyle']({'borderRadius':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['borderRadius']:this['seekBarStyle']['playingState']['borderRadius'],'backgroundColor':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['progressColor']:this['seekBarStyle']['playingState']['progressColor']}),this['progressBarKnob']['setStyle']({'width':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['thumbSize']:this['seekBarStyle']['playingState']['thumbSize'],'height':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['thumbSize']:this['seekBarStyle']['playingState']['thumbSize'],'backgroundColor':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['thumbColor']:this['seekBarStyle']['playingState']['thumbColor']});}['render'](){}}g['BlazeWidgetMomentSeekBar']=v;},0x1f70:function(j,k,q){var w=this&&this['__awaiter']||function(P,Q,R,T){return new(R||(R=Promise))(function(U,V){function W(Z){try{Y(T['next'](Z));}catch(a0){V(a0);}}function X(Z){try{Y(T['throw'](Z));}catch(a0){V(a0);}}function Y(Z){var a0;Z['done']?U(Z['value']):(a0=Z['value'],a0 instanceof R?a0:new R(function(a1){a1(a0);}))['then'](W,X);}Y((T=T['apply'](P,Q||[]))['next']());});};Object['defineProperty'](k,'__esModule',{'value':!0x0}),k['BlazeWidgetMoment']=void 0x0;const x=q(0x23a6),z=q(0x1133),A=q(0x1699),B=q(0x1932),C=q(0x26ed),D=q(0x22d9),E=q(0x636),F=q(0x11c1),G=q(0x132a),H=q(0x164),I=q(0xb58),J=q(0x416),K=q(0x2432),L='(rgba(0,\x200,\x200,\x200.8),\x20transparent)',M='(top,\x20transparent,\x20transparent,\x20transparent,\x20rgba(0,\x200,\x200,\x201))',N='linear-gradient(180deg,\x20transparent,\x20#000\x200%,\x20#000\x2095%,\x20transparent\x20100%)';class O extends I['BlazeWidgetContent']{constructor(P){super(),this['playerStyle']=P,this['modal']={},this['seekBar']=D['WidgetsFactory']['create']('blaze-widget-moment-seek-bar'),this['data']={},this['contentType']='moment',this['momentIndex']=0x0,this['loopNumber']=0x0,this['isLiked']=!0x1,this['actionHandlers']=[],this['topContainer']=D['WidgetsFactory']['create']('blaze-div'),this['bottomContainer']=D['WidgetsFactory']['create']('blaze-div'),this['bottomContentContainer']=D['WidgetsFactory']['create']('blaze-div'),this['buttonsContainer']=D['WidgetsFactory']['create']('blaze-div'),this['bottomContainerCtaAndContent']=D['WidgetsFactory']['create']('blaze-div'),this['bottomContainerCtaContentButtons']=D['WidgetsFactory']['create']('blaze-div'),this['shadowBottomElement']=D['WidgetsFactory']['create']('blaze-div'),this['shadowTopElement']=D['WidgetsFactory']['create']('blaze-div'),this['topButtonsContainer']=D['WidgetsFactory']['create']('blaze-div'),this['bottomButtonsContainer']=D['WidgetsFactory']['create']('blaze-div'),this['likeWrapperElement']=D['WidgetsFactory']['create']('blaze-div'),this['likeCountElement']=D['WidgetsFactory']['create']('blaze-div'),this['closeButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['muteButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['likeButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['shareButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['playPauseButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['closedCaptionButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['customActionButtonOneElement']=D['WidgetsFactory']['create']('blaze-button'),this['customActionButtonTwoElement']=D['WidgetsFactory']['create']('blaze-button'),this['headBodyContainer']=D['WidgetsFactory']['create']('blaze-div'),this['headElement']=D['WidgetsFactory']['create']('blaze-div'),this['bodyElement']=D['WidgetsFactory']['create']('blaze-div'),this['ctaButtonElement']=new A['BlazeCtaButton'](),this['isInit']=!0x1,this['isActive']=!0x1,this['isMomentPausedByPlayPauseButton']=!0x1,this['shouldShowImaAdOnStart']=!0x1,this['elementsToHideOnImaAds']=[],this['elementsToHideOnCustomAds']=[];}['setPlayerStyle'](P){this['playerStyle']=P;}['setActionHandlers'](P){this['actionHandlers']=P;}['connectedCallback'](){this['isInit']||(this['isInit']=!0x0,this['initializeElements'](),this['initializeStyles'](),this['append'](this['container']),this['boundOnBlurEvent']=this['onBlur']['bind'](this),this['boundOnFocusEvent']=this['onFocus']['bind'](this),this['boundOnVisibilityChangeEvent']=this['onVisibilityChange']['bind'](this),this['boundOnCtaClicked']=this['onCtaClick']['bind'](this),this['boundOnLanguageChangeEvent']=this['onLanguageChange']['bind'](this),this['ctaButtonElement']['addEventListener']('click',P=>this['boundOnCtaClicked'](P)),super['connectedCallback'](),this['render']());}['disconnectedCallback'](){this['listeners']['removeAll'](),this['ctaButtonElement']['removeEventListener']('click',this['boundOnCtaClicked']),super['disconnectedCallback']();}['setTheme'](P){this['playerStyle']=P,this['render']();}['initializeStyles'](){this['playerStyle']&&(this['styleMainContainer'](),this['styleShadowElements'](),this['styleButtonsContainer'](),this['styleTopContainer'](),this['styleBottomContainer'](),this['styleBottomContentContainer'](),this['styleHeadBodyContainer']());}['styleMainContainer'](){(0, H['mergeStyles'])(this,{'display':'grid','width':'auto','height':'100%','aspectRatio':B['ASPECT_RATIO_9_16']['toString'](),'margin':'auto','maxHeight':'100%','background':G['Colors']['Black']}),(0, H['mergeStyles'])(this['container'],{'position':'relative','width':'100%','height':'100%'});}['styleBottomContentContainer'](){this['bottomContentContainer']['setStyle']({'display':'flex','justifyContent':'space-between','height':'100%','alignItems':'flex-end','gap':'16px'});}['styleShadowElements'](){this['styleShadowTopElement'](),this['styleShadowBottomElement']();}['styleShadowTopElement'](){this['shadowTopElement']['setStyle']({'background':'linear-gradient'+L,'position':'absolute','width':'100%','height':'100px','top':'0px','borderRadius':'mobile'===z['deviceDetector']['platform']?'0px':'20px','right':'0','left':'0'}),this['shadowTopElement']['style']['background']='linear-gradient'+L,this['shadowTopElement']['style']['background']='-webkit-linear-gradient'+L;}['styleShadowBottomElement'](){this['shadowBottomElement']['setStyle']({'background':'linear-gradient'+M,'position':'absolute','width':'100%','height':'75%','bottom':'0px','borderRadius':'mobile'===z['deviceDetector']['platform']?'0px':'20px','right':'0','left':'0'}),this['shadowBottomElement']['style']['background']='linear-gradient'+M,this['shadowBottomElement']['style']['background']='-webkit-linear-gradient'+M;}['styleButtonsContainer'](){this['topButtonsContainer']['setStyle']({'display':'inline-flex','gap':'10px','position':'relative','flexDirection':'column','zIndex':'4','visibility':'visible','margin':'5px\x205px\x200px\x200px','float':'right'});const P='desktop'===z['deviceDetector']['platform'];this['bottomButtonsContainer']['setStyle']({'display':'flex','gap':P?'32px':'16px','position':P?'absolute':'unset','bottom':P?'0px':'unset','right':P?'-80px':'unset','flexDirection':'column'});}['styleTopContainer'](){this['topContainer']['setStyle']({'position':'absolute','top':'40px','width':'100%','paddingLeft':'16px','paddingRight':'16px','display':'flex','justifyContent':'space-between','boxSizing':'border-box','columnGap':'10px'});}['styleBottomContainer'](){this['bottomContainer']['setStyle']({'position':'absolute','bottom':'0px','left':'0px','width':'100%','display':'flex','flexDirection':'column-reverse','gap':'8px','boxSizing':'border-box','zIndex':'4'});}['styleHeadBodyContainer'](){this['headBodyContainer']['setStyle']({'display':'flex','flexDirection':'column','gap':'0.5rem','width':'100%'});}['styleContent'](P,Q,R){if(!this['playerStyle'])return;let T,U;if('HEADING_CONTENT'===R?T=G['Presets']['DefaultMomentStyle']['headingText']:'BODY_CONTENT'===R&&(T=G['Presets']['DefaultMomentStyle']['bodyText']),!T||!Q)throw new Error('Default\x20Text\x20style\x20and\x20custom\x20style\x20not\x20found');switch(z['deviceDetector']['platform']){case'desktop':U=Q['textSizeDesktop']||T['textSizeDesktop'];break;case'tablet':U=Q['textSizeTablet']||T['textSizeTablet'];break;default:U=Q['textSizeMobile']||T['textSizeMobile'];}P['setStyle']({'display':Q['isVisible']?'-webkit-box':'none','fontSize':U,'fontFamily':Q['font'],'fontWeight':Q['fontWeight'],'color':Q['textColor']||T['textColor'],'textTransform':Q['textTransform'],'lineHeight':Q['lineHeight'],'overflow':'hidden','textOverflow':'ellipsis','WebkitBoxOrient':'vertical','WebkitLineClamp':'2','lineClamp':'2','boxOrient':'vertical','width':'desktop'===z['deviceDetector']['platform']?'75%':'100%'});}['applyLikeStyle'](){var Q,R,U,V,W,X,Y,Z,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,aa,ab,ac,ad;if(!this['playerStyle'])return;let ae,af,ag,ah,ai;switch(this['likeWrapperElement']['setStyle']({'fontFamily':this['playerStyle']['likeText']['font'],'display':'flex','flexDirection':'column','alignItems':'center','gap':'6px'}),'desktop'===z['deviceDetector']['platform']&&this['likeButtonElement']['classList']['add']('desktop-button'),z['deviceDetector']['platform']){case'desktop':ae=null===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['buttons']['like_unlike']['desktop']['padding'],af=null===(R=this['playerStyle'])||void 0x0===R?void 0x0:R['buttons']['like_unlike']['desktop']['borderRadius'],ag=null===(U=this['playerStyle'])||void 0x0===U?void 0x0:U['buttons']['like_unlike']['desktop']['backgroundColor'],ah=null===(V=this['playerStyle'])||void 0x0===V?void 0x0:V['likeText']['font'],ai=null===(W=this['playerStyle'])||void 0x0===W?void 0x0:W['likeText']['textSizeDesktop'];break;case'tablet':ae=null===(X=this['playerStyle'])||void 0x0===X?void 0x0:X['buttons']['like_unlike']['tablet']['padding'],af=null===(Y=this['playerStyle'])||void 0x0===Y?void 0x0:Y['buttons']['like_unlike']['tablet']['borderRadius'],ag=null===(Z=this['playerStyle'])||void 0x0===Z?void 0x0:Z['buttons']['like_unlike']['tablet']['backgroundColor'],ah=null===(a0=this['playerStyle'])||void 0x0===a0?void 0x0:a0['likeText']['font'],ai=null===(a1=this['playerStyle'])||void 0x0===a1?void 0x0:a1['likeText']['textSizeTablet'];break;case'mobile':ae=null===(a2=this['playerStyle'])||void 0x0===a2?void 0x0:a2['buttons']['like_unlike']['mobile']['padding'],af=null===(a3=this['playerStyle'])||void 0x0===a3?void 0x0:a3['buttons']['like_unlike']['mobile']['borderRadius'],ag=null===(a4=this['playerStyle'])||void 0x0===a4?void 0x0:a4['buttons']['like_unlike']['mobile']['backgroundColor'],ah=null===(a5=this['playerStyle'])||void 0x0===a5?void 0x0:a5['likeText']['font'],ai=null===(a6=this['playerStyle'])||void 0x0===a6?void 0x0:a6['likeText']['textSizeMobile'];break;default:ae=null===(a7=this['playerStyle'])||void 0x0===a7?void 0x0:a7['buttons']['like_unlike']['mobile']['padding'],af=null===(a8=this['playerStyle'])||void 0x0===a8?void 0x0:a8['buttons']['like_unlike']['mobile']['borderRadius'],ag=null===(a9=this['playerStyle'])||void 0x0===a9?void 0x0:a9['buttons']['like_unlike']['mobile']['backgroundColor'],ah=null===(aa=this['playerStyle'])||void 0x0===aa?void 0x0:aa['likeText']['font'],ai=null===(ab=this['playerStyle'])||void 0x0===ab?void 0x0:ab['likeText']['textSizeMobile'];}this['likeButtonElement']['setStyle']({'padding':null!=ae?ae:'10px','borderRadius':null!=af?af:'50%','backgroundColor':null!=ag?ag:'#18181899'});const aj=null===(ac=this['playerStyle'])||void 0x0===ac?void 0x0:ac['likeText']['textColor'],ak=null===(ad=this['playerStyle'])||void 0x0===ad?void 0x0:ad['likeText']['fontWeight'];this['likeCountElement']['setStyle']({'fontSize':null!=ai?ai:'14px','color':null!=aj?aj:G['Colors']['White'],'fontWeight':null!=ak?ak:'normal','fontFamily':null!=ah?ah:G['Presets']['playerFont']}),this['likeButtonElement']['setIconUrl'](this['isLiked']?this['playerStyle']['icons']['like']:this['playerStyle']['icons']['unlike']);}['applyShareStyle'](){var P,Q,R,T,U,V,W,X,Y,Z,a0,a1;if(!this['playerStyle'])return;let a2,a3,a4,a5;switch(z['deviceDetector']['platform']){case'desktop':a2=null===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['buttons']['share']['desktop']['padding'],a3=null===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['buttons']['share']['desktop']['borderRadius'],a4=null===(R=this['playerStyle'])||void 0x0===R?void 0x0:R['buttons']['share']['desktop']['backgroundColor'],a5=null===(T=this['playerStyle'])||void 0x0===T?void 0x0:T['buttons']['share']['desktop']['color'];break;case'tablet':a2=null===(U=this['playerStyle'])||void 0x0===U?void 0x0:U['buttons']['share']['tablet']['padding'],a3=null===(V=this['playerStyle'])||void 0x0===V?void 0x0:V['buttons']['share']['tablet']['borderRadius'],a4=null===(W=this['playerStyle'])||void 0x0===W?void 0x0:W['buttons']['share']['tablet']['backgroundColor'],a5=null===(X=this['playerStyle'])||void 0x0===X?void 0x0:X['buttons']['share']['tablet']['color'];break;case'mobile':a2=null===(Y=this['playerStyle'])||void 0x0===Y?void 0x0:Y['buttons']['share']['mobile']['padding'],a3=null===(Z=this['playerStyle'])||void 0x0===Z?void 0x0:Z['buttons']['share']['mobile']['borderRadius'],a4=null===(a0=this['playerStyle'])||void 0x0===a0?void 0x0:a0['buttons']['share']['mobile']['backgroundColor'],a5=null===(a1=this['playerStyle'])||void 0x0===a1?void 0x0:a1['buttons']['share']['mobile']['color'];}this['shareButtonElement']['setStyle']({'padding':null!=a2?a2:'10px','borderRadius':null!=a3?a3:'50%','backgroundColor':null!=a4?a4:'#18181899'}),a5&&this['shareButtonElement']['setAttribute']('icon-color',a5),'desktop'===z['deviceDetector']['platform']&&this['shareButtonElement']['classList']['add']('desktop-button'),this['shareButtonElement']['setIconUrl'](this['playerStyle']['icons']['share']);}['applyCtaButtonStyles'](){var P;if(!(null===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['ctaButton']))throw new Error('CTA\x20button\x20style\x20not\x20found');const {ctaButton:Q,contentBoxHorizontalSpacing:R}=this['playerStyle'];this['setAnchorButtonStyles'](Q),this['setIconAttributes'](Q),this['setLayoutPositioning'](Q),this['setCtaButtonAlignment'](Q),this['setLayoutSpacing'](Q,R);}['setAnchorButtonStyles'](P){this['ctaButtonElement']['setAnchorButtonStyles']({'fontFamily':P['font'],'fontWeight':P['fontWeight'],'borderRadius':P['borderRadius'],'fontSize':P['textSize']});}['setIconAttributes'](P){P['icon']['isVisible']?(this['ctaButtonElement']['setCtaIconStyles']({'padding':'5px'}),this['ctaButtonElement']['setAttribute']('icon-color',P['icon']['color']),this['ctaButtonElement']['setAttribute']('icon-url',P['icon']['url']),this['ctaButtonElement']['setAttribute']('icon-size',P['icon']['size']),this['ctaButtonElement']['setCtaIconStyles']({'padding':'5px'}),this['ctaButtonElement']['setAttribute']('display-icon','true')):this['ctaButtonElement']['setAttribute']('display-icon','false');}['setLayoutPositioning'](P){var Q,R,T;'CTA_NEXT_TO_BOTTOM_BUTTONS_BOX'===P['layoutPositioning']?(this['bottomContainerCtaAndContent']['setStyle']({'display':'flex','flexDirection':'column','height':'100%','gap':'16px','alignSelf':'end','flex':'1'}),this['bottomContainerCtaContentButtons']['setStyle']({'display':'flex','gap':'16px','justifyContent':'space-between','margin':'0px\x20'+(null===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['contentBoxHorizontalSpacing'])}),this['ctaButtonElement']['style']['padding']='0px\x20'+(null===(R=this['playerStyle'])||void 0x0===R?void 0x0:R['contentBoxHorizontalSpacing'])):'CTA_BELLOW_BOTTOM_BUTTONS_BOX'===P['layoutPositioning']&&(this['bottomContentContainer']['style']['margin']='0px\x20'+(null===(T=this['playerStyle'])||void 0x0===T?void 0x0:T['contentBoxHorizontalSpacing']));}['setCtaButtonAlignment'](P){this['ctaButtonElement']['setStyle']({'height':P['height'],'alignSelf':{'START':'flex-start','CENTER':'center','FULL_AVAILABLE_WIDTH':'center','END':'flex-end'}[P['horizontalAlignment']]}),this['ctaButtonElement']['setCtaTextStyle']({'width':'100%'});}['setLayoutSpacing'](P,Q){const R='FULL_AVAILABLE_WIDTH'===P['horizontalAlignment'],T='mobile'===z['deviceDetector']['platform']?'50%':'33.4%';if('CTA_NEXT_TO_BOTTOM_BUTTONS_BOX'===P['layoutPositioning'])this['ctaButtonElement']['style']['width']=R?'100%':T,this['ctaButtonElement']['style']['padding']='0';else {if('CTA_BELLOW_BOTTOM_BUTTONS_BOX'===P['layoutPositioning']){const U=R?'calc(100%\x20-\x20'+0x2*(0, H['convertCssUnitToNumber'])(Q)+'px)':T;this['ctaButtonElement']['style']['width']=U,this['ctaButtonElement']['style']['margin']='0px\x20'+Q;}}}['initializeElements'](){this['configureButtons'](),this['configureContentBody'](),this['configureShareModal'](),this['appendButtonsContainer'](),this['appendBottomContainer'](),this['appendShadowElements'](),this['handleMobileSpecificFeatures']();}['appendShadowElements'](){this['container']['append'](this['shadowTopElement']),this['container']['append'](this['shadowBottomElement']),this['elementsToHideOnImaAds']['push'](this['shadowTopElement'],this['shadowBottomElement']),this['elementsToHideOnCustomAds']['push'](this['shadowTopElement'],this['shadowBottomElement']);}['createButtonElement'](P,Q){const {iconUrl:R,width:T,height:U,color:V,padding:W,borderRadius:X,backgroundColor:Y,onClick:Z}=P;Q['setIconUrl'](R),Q['setAttribute']('height',T),Q['setAttribute']('width',U),V&&Q['setAttribute']('icon-color',V);const a0={'padding':W,'borderRadius':X,'backgroundColor':Y};Object['entries'](a0)['forEach'](([a1,a2])=>{a2&&Q['setStyle']({[a1]:a2});}),Z&&Q['addEventListener']('click',Z);}['configureShareModal'](){this['shareModal']=D['WidgetsFactory']['create']('blaze-widget-share-modal'),this['shareModal']['onClose']=()=>{this['playPauseButtonElement']['setStyle']({'display':'flex'}),this['resume']();},this['shareModal']['onOpen']=()=>this['playPauseButtonElement']['setStyle']({'display':'none'}),this['container']['append'](this['shareModal']);}['configureClosedCaptionsModal'](){this['closedCaptionsModal']=new x['BlazeWidgetClosedCaptionsModal'](this['data']['closedCaptions'],'moment'),this['closedCaptionsModal']['onClose']=()=>{this['isPausedManually']||(F['VideoPlayerService']['isPlaying']=!0x0,this['playPauseButtonElement']['setIconUrl'](''),this['resume']());},this['closedCaptionsModal']['onOpen']=()=>{F['VideoPlayerService']['isPlaying']&&(F['VideoPlayerService']['isPlaying']=!0x1,this['playPauseButtonElement']['setIconUrl'](E['playResumeIconSvg']),this['pause']());},this['closedCaptionsModal']['onClosedCaptionsEnable']=P=>{this['toggleClosedCaptions'](P);},this['closedCaptionsModal']['onClosedCaptionsDisable']=()=>{this['toggleClosedCaptions']();},this['container']['append'](this['closedCaptionsModal']);}['configureButtons'](){return w(this,void 0x0,void 0x0,function*(){var P,Q,R,T,U;if(!(null===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['buttons']))return;const V=this['playerStyle']['buttons'],W=this['playerStyle']['icons'],X=null===(Q=this['actionHandlers'])||void 0x0===Q?void 0x0:Q['filter'](a7=>a7['actionId']===C['ActionHandlerId']['AddCustomActionButton'])['slice'](0x0,0x2);let Y,Z,a0,a1,a2,a3,a4;switch(z['deviceDetector']['platform']){case'mobile':default:Y=V['mute_unmute']['mobile'],Z=V['exit']['mobile'],a0=V['share']['mobile'],a1=V['like_unlike']['mobile'],a2=V['closed_captions']['mobile'],a3=V['custom_action_button_one']['mobile'],a4=V['custom_action_button_two']['mobile'];break;case'tablet':Y=V['mute_unmute']['tablet'],Z=V['exit']['tablet'],a0=V['share']['tablet'],a1=V['like_unlike']['tablet'],a2=V['closed_captions']['tablet'],a3=V['custom_action_button_one']['tablet'],a4=V['custom_action_button_two']['tablet'];break;case'desktop':Y=V['mute_unmute']['desktop'],Z=V['exit']['desktop'],a0=V['share']['desktop'],a1=V['like_unlike']['desktop'],a2=V['closed_captions']['desktop'],a3=V['custom_action_button_one']['desktop'],a4=V['custom_action_button_two']['desktop'];}const a5=!!(X[0x0]&&W['customActionButtonOne']&&a3['isVisible']),a6=!!(X[0x1]&&W['customActionButtonTwo']&&a4['isVisible']);if(a5&&this['createButtonElement']({'iconUrl':W['customActionButtonOne'],'onClick':a7=>this['handleOnCustomActionButtonClick'](a7,X[0x0]['options']),'width':a3['width'],'height':a3['height'],'color':a3['color'],'padding':a3['padding'],'borderRadius':a3['borderRadius'],'backgroundColor':a3['backgroundColor']},this['customActionButtonOneElement']),a6&&this['createButtonElement']({'iconUrl':W['customActionButtonTwo'],'onClick':a7=>this['handleOnCustomActionButtonClick'](a7,X[0x1]['options']),'width':a4['width'],'height':a4['height'],'color':a4['color'],'padding':a4['padding'],'borderRadius':a4['borderRadius'],'backgroundColor':a4['backgroundColor']},this['customActionButtonTwoElement']),Z&&Z['isVisible']&&(this['createButtonElement']({'iconUrl':W['exit'],'onClick':this['handleOnClose']['bind'](this),'width':Z['width'],'height':Z['height'],'color':Z['color'],'padding':Z['padding'],'borderRadius':Z['borderRadius'],'backgroundColor':Z['backgroundColor']},this['closeButtonElement']),this['elementsToHideOnCustomAds']['push'](this['closeButtonElement'])),Y&&Y['isVisible']){const a7=F['VideoPlayerService']['isMuted']?this['playerStyle']['icons']['mute']:this['playerStyle']['icons']['unmute'];this['createButtonElement']({'iconUrl':a7,'onClick':this['handleOnMuteUnmuteToggle']['bind'](this),'width':Y['width'],'height':Y['height'],'color':Y['color'],'padding':Y['padding'],'borderRadius':Y['borderRadius'],'backgroundColor':Y['backgroundColor']},this['muteButtonElement']),'desktop'===z['deviceDetector']['platform']&&this['muteButtonElement']['classList']['add']('mute-unmute-button'),this['elementsToHideOnImaAds']['push'](this['topButtonsContainer']);}if(this['playerStyle']['topIconsButtonOrder']['forEach']((a8,a9)=>{switch(a8){case'MUTE_UNMUTE':Y['isVisible']&&(this['muteButtonElement']['style']['order']=a9['toString'](),this['topButtonsContainer']['append'](this['muteButtonElement']));break;case'EXIT_PLAYER':(null==Z?void 0x0:Z['isVisible'])&&(this['closeButtonElement']['style']['order']=a9['toString'](),this['topButtonsContainer']['append'](this['closeButtonElement']));break;case'CUSTOM_ACTION_BUTTON_ONE':a5&&(this['customActionButtonOneElement']['style']['order']=a9['toString'](),this['topButtonsContainer']['append'](this['customActionButtonOneElement']));break;case'CUSTOM_ACTION_BUTTON_TWO':a6&&(this['customActionButtonTwoElement']['style']['order']=a9['toString'](),this['topButtonsContainer']['append'](this['customActionButtonTwoElement']));}}),a1&&a1['isVisible']){this['isLiked']=yield F['LikeService']['isMomentLiked'](this['data']['id']);const a8=this['isLiked']?this['playerStyle']['icons']['like']:this['playerStyle']['icons']['unlike'];this['createButtonElement']({'iconUrl':a8,'onClick':this['handleOnLikeClick']['bind'](this),'width':a1['width'],'height':a1['height'],'color':a1['color'],'padding':a1['padding'],'borderRadius':a1['borderRadius'],'backgroundColor':a1['backgroundColor']},this['likeButtonElement']),this['likeWrapperElement']['append'](this['likeButtonElement'],this['likeCountElement']);}if(a0&&a0['isVisible']&&this['createButtonElement']({'iconUrl':this['playerStyle']['icons']['share'],'onClick':this['handleOnShareClick']['bind'](this),'width':a0['width'],'height':a0['height'],'color':a0['color'],'padding':a0['padding'],'borderRadius':a0['borderRadius'],'backgroundColor':a0['backgroundColor']},this['shareButtonElement']),a2&&a2['isVisible']&&F['ConfigService']['shouldAllowClosedCaptions']){const a9=null===(R=this['data']['closedCaptions'])||void 0x0===R?void 0x0:R['find'](aa=>''+aa['language']===localStorage['getItem'](B['LOCAL_STORAGE_KEY_LAST_SELECTED']));this['createButtonElement']({'iconUrl':a9?this['playerStyle']['icons']['closedCaptionsOn']:this['playerStyle']['icons']['closedCaptionsOff'],'onClick':this['handleOnClosedCaptionClick']['bind'](this),'width':a2['width'],'height':a2['height'],'color':a2['color'],'padding':a2['padding'],'borderRadius':a2['borderRadius'],'backgroundColor':a2['backgroundColor']},this['closedCaptionButtonElement']),(null===(T=this['data']['closedCaptions'])||void 0x0===T?void 0x0:T['length'])?this['closedCaptionButtonElement']['setAttribute']('disabled','false'):this['closedCaptionButtonElement']['setAttribute']('disabled','true'),this['configureClosedCaptionsModal'](),'desktop'===z['deviceDetector']['platform']&&this['closedCaptionButtonElement']['classList']['add']('desktop-button');}else null===(U=this['video'])||void 0x0===U||U['setAttribute']('is-captions-visible','false');this['playerStyle']['bottomIconsButtonOrder']['forEach']((aa,ab)=>{switch(aa){case'LIKE_UNLIKE':a1['isVisible']&&(this['likeWrapperElement']['style']['order']=ab['toString'](),this['bottomButtonsContainer']['append'](this['likeWrapperElement']));break;case'SHARE':a0['isVisible']&&(this['shareButtonElement']['style']['order']=ab['toString'](),this['bottomButtonsContainer']['append'](this['shareButtonElement']));break;case'CLOSED_CAPTIONS':a2['isVisible']&&(this['closedCaptionButtonElement']['style']['order']=ab['toString'](),this['bottomButtonsContainer']['append'](this['closedCaptionButtonElement']));break;case'CUSTOM_ACTION_BUTTON_ONE':a5&&(this['customActionButtonOneElement']['style']['order']=ab['toString'](),this['bottomButtonsContainer']['append'](this['customActionButtonOneElement']));break;case'CUSTOM_ACTION_BUTTON_TWO':a6&&(this['customActionButtonTwoElement']['style']['order']=ab['toString'](),this['bottomButtonsContainer']['append'](this['customActionButtonTwoElement']));}});});}['appendButtonsContainer'](){this['container']['append'](this['topButtonsContainer']);}['handleMobileSpecificFeatures'](){this['createPlayPauseButton']();}['configureContentBody'](){this['bodyElement']['onclick']=this['onContentClick']['bind'](this),this['bodyElement']['onscroll']=()=>{const P=this['bodyElement']['scrollTop'],Q=this['bodyElement']['scrollHeight'],R=this['bodyElement']['clientHeight'];0x0===P?this['bodyElement']['setStyle']({'maskImage':N}):P+R>=Q?this['bodyElement']['setStyle']({'maskImage':'linear-gradient(0deg,\x20transparent,\x20#000\x200%,\x20#000\x2090%,\x20transparent\x20100%)'}):this['bodyElement']['setStyle']({'maskImage':'linear-gradient(transparent,\x20rgb(0,\x200,\x200)\x205%,\x20rgb(0,\x200,\x200)\x2095%,\x20transparent\x20100%),\x20linear-gradient(0deg,\x20transparent,\x20rgb(0,\x200,\x200)\x205%,\x20rgb(0,\x200,\x200)\x2095%,\x20transparent\x20100%)'});};}['appendBottomContainer'](){this['headBodyContainer']['append'](this['headElement']),this['headBodyContainer']['append'](this['bodyElement']),this['bottomContentContainer']['append'](this['headBodyContainer']),this['updateLayoutPositioning'](),this['elementsToHideOnImaAds']['push'](this['bottomContainer']),this['elementsToHideOnCustomAds']['push'](this['bottomContainer']);}['updateLayoutPositioning'](){var P;switch(this['bottomContainer']['innerHTML']='',null===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['ctaButton']['layoutPositioning']){case'CTA_BELLOW_BOTTOM_BUTTONS_BOX':default:this['bottomContentContainer']['append'](this['bottomButtonsContainer']),this['bottomContainer']['append'](this['seekBar']),this['bottomContainer']['append'](this['ctaButtonElement']),this['bottomContainer']['append'](this['bottomContentContainer']);break;case'CTA_NEXT_TO_BOTTOM_BUTTONS_BOX':this['bottomContainerCtaAndContent']['append'](this['bottomContentContainer']),this['bottomContainerCtaAndContent']['append'](this['ctaButtonElement']),this['bottomContainerCtaContentButtons']['append'](this['bottomContainerCtaAndContent']),this['bottomContainerCtaContentButtons']['append'](this['bottomButtonsContainer']),this['bottomContainer']['append'](this['seekBar']),this['bottomContainer']['append'](this['bottomContainerCtaContentButtons']);}this['container']['append'](this['bottomContainer']);}['createPlayPauseButton'](){this['playPauseButtonElement']['setAttribute']('height','55px'),this['playPauseButtonElement']['setAttribute']('width','55px'),this['playPauseButtonElement']['setIconUrl'](''),this['playPauseButtonElement']['setStyle']({'display':'flex','position':'absolute','zIndex':'3','margin':'auto','width':'100%','height':'85%','top':'0'}),this['boundPlayPauseButtonClick']=this['handlePlayPauseButtonClick']['bind'](this),this['playPauseButtonElement']['addEventListener']('click',this['boundPlayPauseButtonClick']),this['elementsToHideOnImaAds']['push'](this['playPauseButtonElement']),this['container']['append'](this['playPauseButtonElement']);}['handlePlayPauseButtonClick'](){var P;if('Ad'===this['data']['type'])return;const Q=null===(P=this['video'])||void 0x0===P?void 0x0:P['paused'];this['playPauseButtonElement']['setIconUrl'](Q?'':E['playResumeIconSvg']),this['isMomentPausedByPlayPauseButton']=!Q,this['playToggle']();}['setModal'](P){this['modal']=P;}['onLanguageChange'](P){var Q,R,T,U;const V=(null===(Q=this['data']['closedCaptions'])||void 0x0===Q?void 0x0:Q['find'](W=>''+W['language']===P['detail']['language']))?null===(R=this['playerStyle'])||void 0x0===R?void 0x0:R['icons']['closedCaptionsOn']:null===(T=this['playerStyle'])||void 0x0===T?void 0x0:T['icons']['closedCaptionsOff'];null===(U=this['closedCaptionButtonElement'])||void 0x0===U||U['setIconUrl'](V||'');}['onVisibilityChange'](){this['isActive']&&this['isConnected']&&(document['hidden']||this['onFocus'](),document['hidden']&&this['onBlur']());}['onBlur'](){this['isActive']&&this['isConnected']&&this['video']&&(document['hidden']||'desktop'!==z['deviceDetector']['platform']||'visible'!==document['visibilityState'])&&(this['playPauseButtonElement']['setIconUrl'](E['playResumeIconSvg']),this['video']['paused']||(this['resumeAfterfocus']=!0x0,this['pause'](),F['VideoPlayerService']['isPlaying']=!0x1,this['updatePlayerButtonIcons'](),this['event'](B['MomentAction']['MomentsPlaylistExit'],{}),this['event'](B['MomentAction']['MomentExit'],{})));}['onFocus'](){var P;if(!this['isActive']||!this['isConnected']||!this['video'])return;const Q='Ad'===(null===(P=this['video']['data'])||void 0x0===P?void 0x0:P['type']);if((this['video']['paused']||Q)&&this['resumeAfterfocus']){this['resumeAfterfocus']=!0x1;const R='iOS'===z['deviceDetector']['OS'],T='Mobile\x20Safari'===z['deviceDetector']['browser'],U='tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS'],V=R&&('Safari'===z['deviceDetector']['browser']||'Chrome'===z['deviceDetector']['browser']);if(!Q&&(R||T||V||U))return void this['playPauseButtonElement']['setIconUrl'](E['playResumeIconSvg']);this['resume'](),F['VideoPlayerService']['isPlaying']=!0x0,this['updatePlayerButtonIcons']();}}['onContentClick'](){'2'===this['bodyElement']['style']['webkitLineClamp']?this['expandBodyText']('10'):this['collapseBodyText']('2');}['expandBodyText'](P){const Q=this['bodyElement']['clientHeight'];this['bodyElement']['style']['webkitLineClamp']=P;const R=this['bodyElement']['clientHeight'];this['bodyElement']['scrollHeight']>this['bodyElement']['clientHeight']&&(this['bodyElement']['style']['overflow']='auto',this['bodyElement']['setStyle']({'maskImage':N})),Q<R&&this['bottomContainer']['setStyle']({'backgroundImage':'linear-gradient(0deg,\x20rgb(0\x200\x200)\x200%,\x20rgb(0\x200\x200\x20/\x200%)\x20100%)'});}['collapseBodyText'](P){this['bodyElement']['style']['webkitLineClamp']=P,this['bodyElement']['style']['overflow']='hidden',this['bodyElement']['setStyle']({'backgroundImage':''}),this['bottomContainer']['setStyle']({'backgroundImage':''});}['onMuteUnmuteChange'](){this['video']&&(this['video']['muted']=F['VideoPlayerService']['isMuted']);}['updatePlayerButtonIcons'](){var P,Q;this['video']&&this['playerStyle']&&(this['muteButtonElement']['setIconUrl'](F['VideoPlayerService']['isMuted']?null===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['icons']['mute']:null===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['icons']['unmute']),this['closeButtonElement']['setIconUrl'](this['playerStyle']['icons']['exit']));}['handleOnClosedCaptionClick'](){var P;null===(P=this['closedCaptionsModal'])||void 0x0===P||P['open']();}['toggleClosedCaptions'](P){const Q=(0, K['convertCcLanguageToState'])(this['data']['closedCaptions'],P);this['event']('Off'!==Q?B['MomentAction']['ClosedCaptionsOn']:B['MomentAction']['ClosedCaptionsOff'],{});}['handleOnShareClick'](){return w(this,void 0x0,void 0x0,function*(){var P;if(!this['isActive'])return;let Q;this['event'](B['MomentAction']['ShareClick'],{}),this['pause'](),Q=location['href']['includes']('blaze/moment')?null===window||void 0x0===window?void 0x0:window['location']['href']:location['href']['includes']('#')?location['href']+'&blaze/moment/'+this['data']['id']:location['href']+'#blaze/moment/'+this['data']['id'];const R='Mac\x20OS'===z['deviceDetector']['OS']&&'Chrome'===z['deviceDetector']['browser'];(null===navigator||void 0x0===navigator?void 0x0:navigator['share'])||R?null===(P=this['shareModal'])||void 0x0===P||P['open'](Q):navigator['share']({'text':this['data']['title'],'url':Q})['then'](()=>{this['event'](B['MomentAction']['ShareSuccess'],{});})['catch'](()=>{})['finally'](()=>{this['resume']();});});}['loadMoments'](){return w(this,void 0x0,void 0x0,function*(){});}['load'](){return w(this,arguments,void 0x0,function*(P='cache'){var Q;yield null===(Q=this['video'])||void 0x0===Q?void 0x0:Q['load'](P);});}['unload'](){return w(this,void 0x0,void 0x0,function*(){var P;yield null===(P=this['video'])||void 0x0===P?void 0x0:P['unload']();});}['playToggle'](){this['isActive']&&this['video']&&(this['event'](this['video']['paused']?B['MomentAction']['PlaybackPlay']:B['MomentAction']['PlaybackPause'],{'playback_action_method':'Click'}),this['video']['paused']?(this['resume'](),this['isPausedManually']=!0x1):(this['pause'](),this['isPausedManually']=!0x0));}['handleOnMuteUnmuteToggle'](){if(!this['isActive'])return;const P=!F['VideoPlayerService']['isMuted'];F['VideoPlayerService']['isMuted']=P,this['event'](B['MomentAction']['Audio'],{}),this['video']&&(this['video']['muted']=F['VideoPlayerService']['isMuted']),document['dispatchEvent'](new Event(x['MUTE_UNMUTE_EVENT']));}['setData'](P){var Q,R;P&&(this['data']=P,this['updateContent']({'title':P['title'],'description':(null==P?void 0x0:P['description'])||'','subtitle':(null==P?void 0x0:P['subtitle'])||''}),this['updateCta'](this['data']['cta']),this['updateLikeCount'](this['data']['likes']),this['momentIndex']=P['momentIndexInPlaylist'],this['originalVideoRef']||(this['originalVideoRef']=new J['BlazeWidgetVideo'](this),this['originalVideoRef']['setData'](this['data']),this['originalVideoRef']['onended']=this['restartVideo']['bind'](this)),'Ad'===this['data']['type']?(this['video']=new x['BlazeWidgetAd'](this),this['video']['setData'](Object['assign']({'id':this['data']['id'],'type':'Ad','duration':0x0,'hasViewed':!0x1,'ignoreReadStatusForStory':!0x1,'createTime':new Date()['toLocaleString']()},'Web'===(null===(Q=this['adInfo'])||void 0x0===Q?void 0x0:Q['type'])&&{'adInfo':this['adInfo']})),this['video']['onended']=this['restartVideo']['bind'](this)):'Video'===this['data']['baseLayer']['type']&&(this['video']=this['originalVideoRef']),this['video']&&this['container']['prepend'](this['video']),this['video']&&(this['seekBar']['remove'](),this['seekBar']=new x['BlazeWidgetMomentSeekBar'](this['video'],(null===(R=this['playerStyle'])||void 0x0===R?void 0x0:R['seekBar'])||G['Presets']['DefaultMomentStyle']['seekBar']),this['bottomContainer']['prepend'](this['seekBar'])),this['seekBar']['onResume']=(0, z['debounce'])(()=>w(this,void 0x0,void 0x0,function*(){this['isMomentPausedByPlayPauseButton']&&this['event'](B['MomentAction']['PlaybackPlay'],{}),this['resume']();}),0x64),this['seekBar']['onPause']=(0, z['debounce'])(()=>w(this,void 0x0,void 0x0,function*(){this['pause']();}),0x64),this['adjustContentView'](),this['render']());}['updateData'](P){return w(this,void 0x0,void 0x0,function*(){var Q,R,T;const {data:U,shouldShowImaAdOnStart:V,adInfo:W,contentExtraInfo:X}=P;this['isLiked']=!0x1,this['playerStyle']&&this['likeButtonElement']['setIconUrl'](null===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['icons']['unlike']),null===(R=this['video'])||void 0x0===R||R['remove'](),this['setData'](U),this['data']=U,this['shouldShowImaAdOnStart']=V,this['adInfo']=W,this['contentExtraInfo']=X,null===(T=this['video'])||void 0x0===T||T['setData'](U),this['video']&&this['seekBar']['setVideo'](this['video']),this['pause']();});}['updateContent'](P){if(this['playerStyle']){switch(this['playerStyle']['headingText']['contentSource']){case'TITLE':this['headElement']['innerHTML']=P['title'];break;case'SUBTITLE':this['headElement']['innerHTML']=P['subtitle'];}switch(this['playerStyle']['bodyText']['contentSource']){case'TITLE':this['bodyElement']['innerHTML']=P['title'];break;case'SUBTITLE':this['bodyElement']['innerHTML']=P['subtitle'];break;case'DESCRIPTION':this['bodyElement']['innerHTML']=P['description'];}}}['updateLikeCount'](P){return w(this,void 0x0,void 0x0,function*(){var Q,R,T,U;const {id:V,likes:W}=this['data'];this['isLiked']=yield F['LikeService']['isMomentLiked'](V);let X=null!=P?P:W;if(X=this['isLiked']?X+0x1:X,this['likeCountElement']){const Y=this['isLiked']?null===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['icons']['like']:null===(R=this['playerStyle'])||void 0x0===R?void 0x0:R['icons']['unlike'],Z=null===(U=null===(T=this['playerStyle'])||void 0x0===T?void 0x0:T['likeText'])||void 0x0===U?void 0x0:U['likeCountThreshold'],a0=0x0===X||Z&&X<Z?'hidden':'visible';Y&&this['likeButtonElement']['setIconUrl'](Y),this['likeCountElement']['innerText']=(0, H['formatLikes'])(X),this['likeCountElement']['style']['visibility']=a0;}});}['updateCta'](P){P&&P['url']&&P['text']&&P['backgroundColor']&&P['textColor']?(this['ctaButtonElement']['setAttribute']('href',P['url']),this['ctaButtonElement']['setAttribute']('text',P['text']),this['ctaButtonElement']['setAnchorButtonStyles']({'color':P['textColor'],'background':P['backgroundColor']}),this['ctaButtonElement']['setAttribute']('hidden-btn','false'),this['bottomContainer']['setStyle']({'justifyContent':'flex-start'})):(this['ctaButtonElement']['setAttribute']('hidden-btn','true'),this['bottomContainer']['setStyle']({'justifyContent':'center'}));}['onCtaClick'](P){var Q,R,T,U,V,W,X;return this['event'](B['MomentAction']['CtaClick'],{}),(null===(R=null===(Q=this['refContentModal'])||void 0x0===Q?void 0x0:Q['parentWidget'])||void 0x0===R?void 0x0:R['id'])&&F['EventService']['dispatch'](null===(T=this['refContentModal'])||void 0x0===T?void 0x0:T['parentWidget'],C['Delegation']['onWidgetTriggerCTA'],{'widgetId':null===(V=null===(U=this['refContentModal'])||void 0x0===U?void 0x0:U['parentWidget'])||void 0x0===V?void 0x0:V['id'],'actionType':'URL','actionParam':this['ctaButtonElement']['getAttribute']('href')}),null===(W=this['shareModal'])||void 0x0===W||W['close'](),this['exitTrigger']='CTA\x20Click',this['event'](B['MomentAction']['MomentExit'],{}),this['event'](B['MomentAction']['MomentsPlaylistExit'],{}),(null===(X=this['video'])||void 0x0===X?void 0x0:X['paused'])||(this['resumeAfterfocus']=!0x0,this['pause']()),!0x0;}['play'](){var P;this['isConnected']&&(this['sessionId']=(0, H['getRandomId'])(),this['video']&&(this['video']['shouldShowImaAd']=this['shouldShowImaAdOnStart'],'Content'===(null===(P=this['video']['data'])||void 0x0===P?void 0x0:P['type'])&&(this['event'](B['MomentAction']['MomentStart'],{}),this['video']['data']['adInfo']=this['adInfo']),this['event'](B['MomentAction']['PlaybackInitialStart'],{}),this['adjustContentView'](),this['updatePlayerButtonIcons'](),this['video']['muted']=F['VideoPlayerService']['isMuted'],this['video']['display'](()=>{this['modal']['handleClickNavigation']('NEXT');}),this['video']['play'](),F['VideoPlayerService']['isPlaying']=!0x0,this['isActive']=!0x0,this['seekBar']['setAttribute']('is-active','true'),this['seekBar']['onContentResumed'](!0x0),F['MomentService']['updateMomentReadStatusById'](this['data']['id']),this['data']['hasViewed']=!0x0,this['updateWidgetStatusReadUnread']()));}['handleOnCustomActionButtonClick'](P,Q){Q['onClick'](P,this['data']['entities']),this['event'](B['MomentAction']['CustomActionButtonClick'],{'custom_action_button_name':Q['buttonName']});}['handleOnClose'](){this['pause'](),this['modal']['close']();}['handleOnLikeClick'](){var P,Q;this['isLiked']=!this['isLiked'],this['event'](this['isLiked']?B['MomentAction']['Like']:B['MomentAction']['Unlike'],{}),F['LikeService']['updateMomentLike'](this['isLiked'],this['data']['id']);const R=this['isLiked']?null===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['icons']['like']:null===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['icons']['unlike'];R&&this['likeButtonElement']['setIconUrl'](R),this['updateLikeCount']();}['pause'](){var P;null===(P=this['video'])||void 0x0===P||P['pause'](),F['VideoPlayerService']['isPlaying']=!0x1,this['updatePlayerButtonIcons'](),this['isActive']&&this['seekBar']['onContentPaused']();}['resume'](){var P;this['video']&&('Content'!==this['data']['type']||(null===(P=this['video'])||void 0x0===P?void 0x0:P['paused']))&&(this['video']['play'](),F['VideoPlayerService']['isPlaying']=!0x0,this['updatePlayerButtonIcons'](),this['removeResumeButtonFromScreen'](),this['seekBar']['onContentResumed'](!0x1));}['removeResumeButtonFromScreen'](){this['playPauseButtonElement']['setIconUrl'](''),this['isMomentPausedByPlayPauseButton']=!0x1;}['resetPosition'](){this['video']&&this['video']['currentTime']>=0.2&&(this['video']['currentTime']=0x0);}['restartVideo'](){this['video']&&(this['resetPosition'](),this['video']['muted']=F['VideoPlayerService']['isMuted'],F['VideoPlayerService']['isPlaying']&&this['video']['play'](),this['loopNumber']++);}['adjustContentView'](){var P,Q,R,T,U,V,W;return (null===(P=this['video'])||void 0x0===P?void 0x0:P['shouldShowImaAd'])?(this['elementsToHideOnImaAds']['forEach'](X=>{X&&(X['style']['visibility']='hidden');}),null===(Q=this['modal']['nextContentButtonElement'])||void 0x0===Q||Q['setAttribute']('disabled','true'),null===(R=this['modal']['prevContentButtonElement'])||void 0x0===R||R['setAttribute']('disabled','true'),this['topButtonsContainer']['style']['marginTop']='30px',this['topButtonsContainer']['querySelectorAll']('blaze-button')['forEach'](X=>{X['style']['display']=X===this['muteButtonElement']?'flex':'none';}),void this['video']['setAttribute']('is-captions-visible','false')):'Ad'===(null===(U=null===(T=this['video'])||void 0x0===T?void 0x0:T['data'])||void 0x0===U?void 0x0:U['type'])?(this['elementsToHideOnCustomAds']['forEach'](X=>{X&&(X['style']['visibility']='hidden');}),'no-ad'===F['VideoPlayerService']['muteStateBeforeAd']&&(F['VideoPlayerService']['muteStateBeforeAd']=F['VideoPlayerService']['isMuted']?'mute':'unmute'),'unmute'===F['VideoPlayerService']['muteStateBeforeAd']&&(F['VideoPlayerService']['isMuted']=!0x0,this['updatePlayerButtonIcons']()),this['topButtonsContainer']['style']['marginTop']='30px',this['topButtonsContainer']['querySelectorAll']('blaze-button')['forEach'](X=>{X['style']['display']=X===this['muteButtonElement']?'flex':'none';}),void this['video']['setAttribute']('is-captions-visible','false')):([...this['elementsToHideOnCustomAds'],...this['elementsToHideOnImaAds']]['forEach'](X=>{X&&(X['style']['visibility']='visible');}),null===(V=this['modal']['nextContentButtonElement'])||void 0x0===V||V['setAttribute']('disabled','false'),null===(W=this['modal']['prevContentButtonElement'])||void 0x0===W||W['setAttribute']('disabled','false'),'no-ad'!==F['VideoPlayerService']['muteStateBeforeAd']&&(F['VideoPlayerService']['isMuted']='mute'===F['VideoPlayerService']['muteStateBeforeAd'],F['VideoPlayerService']['muteStateBeforeAd']='no-ad',document['dispatchEvent'](new Event(x['MUTE_UNMUTE_EVENT']))),this['topButtonsContainer']['style']['marginTop']='5px',void this['topButtonsContainer']['querySelectorAll']('blaze-button')['forEach'](X=>{X['style']['display']='flex';}));}['event'](P,Q){return w(this,arguments,void 0x0,function*(R,T,U=void 0x0){var V,W,X;try{const Y=this['getRefferingObject']();if('Content'===this['data']['type']){switch(T['moment_id']=this['data']['id'],T['moment_title']=this['data']['title'],T['moment_index']=this['momentIndex'],T['audio_state']=F['VideoPlayerService']['isMuted']?'Mute':'Unmute',T['cc_state']=(0x0,K['convertCcLanguageToState'])(this['data']['closedCaptions'],localStorage['getItem'](B['LOCAL_STORAGE_KEY_LAST_SELECTED'])),T['loop_number']=this['loopNumber']['toString'](),T['moments_session_id']=this['modal']['playlistSessionId'],(null===(V=this['video'])||void 0x0===V?void 0x0:V['duration'])?T['moment_duration']=this['video']['duration']:T['moment_duration']=yield this['video']['getVideoDuration'](),'true'===(null===(W=F['AppConfigurationService']['appConfigurations'])||void 0x0===W?void 0x0:W['configurations']['analyticsAddEntitiesInfo'])&&(T['content_extra_info']=JSON['stringify'](this['data']['extraInfo'])),R){case B['MomentAction']['MomentsPlaylistStart']:T['moment_start_trigger']=this['startTrigger'];break;case B['MomentAction']['MomentsPlaylistExit']:T['moment_exit_trigger']=this['exitTrigger'];break;case B['MomentAction']['MomentExit']:T['moment_navigation_type']=this['navigationType'],T['moment_navigation_direction']=this['navigationDirection'],T['moment_duration_viewed_percent']=Number((0x64*((null===(X=this['video'])||void 0x0===X?void 0x0:X['progress'])||0x0))['toFixed'](0x3));}F['AnalyticsService']['pushMomentEvent'](R,T,U,Y);}}catch(Z){}});}['render'](){this['data']&&this['video']&&this['playerStyle']&&(this['updatePlayerButtonIcons'](),this['updateLayoutPositioning'](),this['styleContent'](this['headElement'],this['playerStyle']['headingText'],'HEADING_CONTENT'),this['styleContent'](this['bodyElement'],this['playerStyle']['bodyText'],'BODY_CONTENT'),this['applyLikeStyle'](),this['applyShareStyle'](),this['applyCtaButtonStyles']());}}k['BlazeWidgetMoment']=O;},0x5ee:(f,g,h)=>{Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetStoryModal']=void 0x0;const j=h(0x23a6),k=h(0x1133),m=h(0x1932),p=h(0x26ed),q=h(0x11c1),u=h(0x2432),v=h(0x14c);class w extends v['BlazeWidgetModal']{constructor(x,y,z){super('story'),this['parentWidget']=x,this['playerLayout']=y,this['actionHandlers']=z,this['currentState']=null,this['player']['onClose']=this['close']['bind'](this),this['player']['dispatchExitStoryEvents']=this['dispatchExitStoryEvents']['bind'](this),this['boundOnResizeEventDelay']=this['onResizeEventDelay']['bind'](this),this['boundOnKeyDown']=this['onKeyDown']['bind'](this),this['boundOnBeforeUnload']=this['onBeforeUnload']['bind'](this);const A=document['createElement']('style');A['textContent']='@keyframes\x20shrink{\x0a\x20\x20\x20\x20\x20\x20\x20\x200%{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:scale(1)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x2015%{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:scale(.96)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x2030%{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:scale(1)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20100%{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:scale(1)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@keyframes\x20grow{\x0a\x20\x20\x20\x20\x20\x20\x20\x200%{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:scale(1)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x2015%{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:scale(1.04)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x2030%{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:scale(1)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20100%{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:scale(1)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@keyframes\x20bottomToTop\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x200%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(100%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x2050%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(-50%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20100%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(0%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',this['appendChild'](A);}['connectedCallback'](){super['connectedCallback'](),window['addEventListener']('resize',this['boundOnResizeEvent']),window['addEventListener'](k['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnResizeEventDelay']),window['addEventListener']('keydown',this['boundOnKeyDown']),window['addEventListener']('beforeunload',this['boundOnBeforeUnload']),(0, u['mergeStyles'])(this,{'display':'none','boxSizing':'border-box'});}['disconnectedCallback'](){super['disconnectedCallback'](),window['removeEventListener'](k['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnResizeEventDelay']),window['removeEventListener']('resize',this['boundOnResizeEvent']),window['removeEventListener']('keydown',this['boundOnKeyDown']),window['removeEventListener']('beforeunload',this['boundOnBeforeUnload']);}['onBeforeUnload'](){if(k['deviceDetector']['isDesktop'])return this['isOpen']&&this['dispatchExitStoryEvents'](),null;}['setTheme'](x){this['player']['playerContentList']['forEach'](y=>{y instanceof j['BlazeWidgetStory']&&y['setTheme'](x);}),this['playerLayout']=x;}['updateModalContent'](){this['currentState']&&this['player']['updateContentConfig'](this['currentState']['stories']);}['setModalContent'](x,y,z){this['currentState']={'stories':x,'indexOfContentInWidget':y,'defaultAdsInfo':z};const A=[];for(let B=0x0;B<x['length'];B++){const C=new j['BlazeWidgetStory'](this['playerLayout'],'Full\x20Screen',this['actionHandlers']);C['setData'](x[B]),A['push'](C),q['AdService']['pushAdsBetweenStories'](z,A,x,B,y,this['playerLayout']);}this['player']['setContent'](A);}['onKeyDown'](x){if(this['isOpen']&&'Escape'==x['key']){const y=this['player']['playerContentList'][this['player']['index']];if(y['currentPage']['isAd'])return;y['exitTrigger']='Escape\x20Button',y['navigationType']='',y['navigationDirection']='',y['close'](),this['close']();}}['close'](){var x,y,z,A;if(!this['isOpen'])return;if('SingleContent'===q['VideoPlayerService']['playReference']&&!q['ConfigService']['shouldDismissPlayer'])return;this['dispatchPlayerEvents'](),super['close'](),null===(x=this['player'])||void 0x0===x||x['playerContentList']['forEach'](C=>{C['unload'](),C instanceof j['BlazeWidgetStory']&&(C['currentPage']['pause'](),C['pages']['forEach'](D=>{D['paused']||D['pause']();}));});const B=this['player']['playerContentList'][this['player']['index']];null===(y=null==B?void 0x0:B['currentPage'])||void 0x0===y||y['startExit'](),null===(z=null==B?void 0x0:B['currentPage'])||void 0x0===z||z['endExit'](),null===(A=this['onClose'])||void 0x0===A||A['call'](this,{'storyId':B['data']['id'],'pageIndex':B['pageIndex']});}['dispatchExitStoryEvents'](){var x,y,z;const A=this['player']['playerContentList'][this['player']['index']];A['event'](m['StoryAction']['PageExit'],{}),A['event'](m['StoryAction']['Exit'],{}),q['AnalyticsService']['sendAnalyticsData'](),null===(x=A['pause'])||void 0x0===x||x['call'](A),null===(z=null===(y=A['widgetParentItem'])||void 0x0===y?void 0x0:y['updateWidget'])||void 0x0===z||z['call'](y),A['updateWidgetStatusReadUnread']();}['dispatchPlayerEvents'](){q['EventService']['dispatch'](this,p['Delegation']['onStoryPlayerDismissed']),q['EventService']['dispatch'](this,p['Delegation']['onPlayerDismissed']),this['parentWidget']&&(q['EventService']['dispatch'](this['parentWidget'],p['Delegation']['onWidgetPlayerDismissed'],{'widgetId':this['parentWidget']['id']}),q['EventService']['dispatch'](this['parentWidget'],p['Delegation']['onWidgetStoryPlayerDismissed'],{'widgetId':this['parentWidget']['id']}));}['open'](x){var y;super['open'](x);const z=new CustomEvent('onPlayerReady',{'bubbles':!0x0,'composed':!0x0});this['dispatchEvent'](z),null===(y=this['onOpen'])||void 0x0===y||y['call'](this),q['EventService']['dispatch'](this,p['Delegation']['onStoryPlayerDidAppear']),q['EventService']['dispatch'](this,p['Delegation']['onPlayerDidAppear']);}['play'](){}['playToggleCurrentStory'](){this['player']['playToggleCurrentStory']();}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},m['ONE_SECOND']/0x2);}}g['BlazeWidgetStoryModal']=w;},0x1d16:function(f,g,j){var k=this&&this['__awaiter']||function(D,E,F,G){return new(F||(F=Promise))(function(H,I){function J(M){try{L(G['next'](M));}catch(N){I(N);}}function K(M){try{L(G['throw'](M));}catch(N){I(N);}}function L(M){var N;M['done']?H(M['value']):(N=M['value'],N instanceof F?N:new F(function(O){O(N);}))['then'](J,K);}L((G=G['apply'](D,E||[]))['next']());});},m=this&&this['__importDefault']||function(D){return D&&D['__esModule']?D:{'default':D};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetStoryPlayer']=void 0x0;const q=m(j(0xad8)),v=j(0x23a6),w=j(0x1133),x=j(0x1932),y=j(0x11c1),z=j(0x132a),A=j(0x2432),B=j(0x8c0);class C extends B['WidgetAbstractPlayer']{constructor(){super(),this['boundOnKeyDown']=(0, w['throttle'])(this['handleNavigationKeyPress']['bind'](this),x['ONE_SECOND']/0x4);}['connectedCallback'](){this['isBlazeWidgetStory'](this['playerContentList'])&&(this['append'](this['srcBackground']),this['append'](this['destBackground'])),this['append'](this['playerFullscreenOverlay']),this['append'](this['container']),this['applyStyles'](),this['muteVideoOnIOSOrMacTablet'](),this['setupEventListeners'](),this['render']();}['disconnectedCallback'](){this['listeners']['removeAll'](),null===window||void 0x0===window||window['removeEventListener']('focus',this['onFocus']),this['cleanupHammer']();}['setupEventListeners'](){this['listeners']['add']('keydown',this['boundOnKeyDown']),null===window||void 0x0===window||window['addEventListener']('focus',this['onFocus']['bind'](this)),this['setupHammer'](Hammer['DIRECTION_HORIZONTAL']);}['applyStyles'](){(0, A['mergeStyles'])(this,{'display':'block','overflow':'hidden','height':'100%','width':'100%','position':'relative','background':z['Colors']['Black'],'boxSizing':'border-box'}),this['container']['setStyle']({'display':'grid','position':'relative','height':'100%'});}['updateContentConfig'](D){(null==D?void 0x0:D['length'])&&D['length']===this['playerContentList']['length']&&D['forEach']((E,F)=>{const G=this['playerContentList'][F];if(G['data']['id']===E['id'])try{G['setData'](E),G['render'](),G['load'](),G['play']();}catch(H){}});}['attributeChangedCallback'](D,E,F){}['setContent'](D){this['playerContentList']=[];for(const E of this['contentList'])E['remove']();D['forEach'](F=>{F['pages']['forEach'](G=>G['requestFrameCallback']=this['renderPlayerBackground']['bind'](this));}),this['contentList']=[...D],this['contentList']['forEach']((F,G)=>{F['onNextStory']=H=>{F['navigationType']=H,F['navigationDirection']='Forwards',this['navigateContent']('NEXT');},F['onPrevStory']=H=>{F['navigationType']=H,F['navigationDirection']='Backwards',this['navigateContent']('PREV');},F['onClose']=()=>{F['exitTrigger']='Close\x20Button',F['navigationType']='',F['navigationDirection']='',this['close']();},F['setContentExtraInfo'](this['getContentExtraInfo'](this['contentList'],G));}),D['forEach'](F=>F['refWidget']=this['contentList']);}['navigateContent'](D){var E,F;if(this['isNavigationBlocked'])return;let G;switch(D){case'PREV':G=this['index']-0x1;break;case'NEXT':G=this['index']+0x1;break;default:return;}const H=this['playerContentList'][this['index']];if(G<0x0||G===this['playerContentList']['length'])return void('PREV'===D?(H['resetPosition'](),H['play']()):'NEXT'===D&&(H['exitTrigger']='Stories\x20Completed',null===(E=H['refContentModal'])||void 0x0===E||E['dispatchExitStoryEvents'](),this['close']()));this['isNavigationBlocked']=!0x0,y['VideoPlayerService']['isNavigating']=!0x1;const I=this['playerContentList'][G];w['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==I?void 0x0:I['data']['id'],'isAd':null==I?void 0x0:I['data']['isAd']}),null==I||I['updatePlayerButtonIcons'](),this['blockInteractionWithUserInterface'](),null===(F=this['animateContent'](D))||void 0x0===F||F['play'](),y['VideoPlayerService']['isNavigating']=!0x1;}['onFocus'](){this['resetPosition']();}['handleMoveSwipe'](D){var E,F,G,H,I,J,K,L,M;const N=this['contentList']['findIndex'](O=>{var P;return O['id']===(null===(P=this['playerContentList'][this['index']])||void 0x0===P?void 0x0:P['id']);});if(!(null===(E=this['playerContentList'][this['index']])||void 0x0===E?void 0x0:E['currentPage']['isCurrentlyTryingToRunImaAd'])&&N>-0x1){const O=D['distance']/((null===window||void 0x0===window?void 0x0:window['screen']['width'])/0.75)*this['_animationDuration'];switch(D['offsetDirection']){case this['directionForwards']:if('SingleContent'===y['VideoPlayerService']['playReference'])return void(y['ConfigService']['autoAdvanceUrl']&&!w['URLManager']['isAutoAdvancingEnabled']&&(w['URLManager']['isAutoAdvancingEnabled']=!0x0,this['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>w['URLManager']['navigateTo']('AUTO_ADVANCE')})));if(N===this['contentList']['length']-0x1)return void(Math['abs'](D['deltaX'])>=0x32&&this['animateCloseWithDirection']({'direction':'VerticalForwards'}));null===(F=this['playerContentList'][this['playerContentList']['length']-0x1])||void 0x0===F||F['load'](),null===(G=this['currentNextAnimation'])||void 0x0===G||G['seek'](O);break;case this['directionBackwards']:if('SingleContent'===y['VideoPlayerService']['playReference'])return;if(0x0===N)return void(Math['abs'](D['deltaX'])>=0x32&&this['animateCloseWithDirection']({'direction':'HorizontalBackwards'}));null===(H=this['playerContentList'][0x0])||void 0x0===H||H['load'](),null===(I=this['currentPrevAnimation'])||void 0x0===I||I['seek'](O);break;case Hammer['DIRECTION_UP']:if(Math['abs'](D['deltaY'])>=0xf){const P=this['playerContentList'][this['index']];if(P['isCtaWasClickedOrSwiped'])return;if(P['currentPage']['isAd'])return;const Q='none'!==P['ctaButtonElement']['style']['display'],R=null===(K=null===(J=P['currentPage']['data']['cta'])||void 0x0===J?void 0x0:J['enhancements'])||void 0x0===K?void 0x0:K['hasSwipeUp'],S=P['currentPage']instanceof v['BlazeWidgetVideo'],T=P['currentPage']instanceof v['BlazeWidgetAd'];if(S&&Q&&R){P['isCtaWasClickedOrSwiped']=!0x0;const U=new Event('swipeup');P['handleCtaAction'](U,'Swipe\x20Up');}else T&&(P['isCtaWasClickedOrSwiped']=!0x0,P['currentPage']['handleCtaSwipeUp'](),(0, A['delay'])(x['ONE_SECOND'])['then'](()=>P['isCtaWasClickedOrSwiped']=!0x1));}return;default:null===(L=this['currentNextAnimation'])||void 0x0===L||L['seek'](0x0),null===(M=this['currentPrevAnimation'])||void 0x0===M||M['seek'](0x0);}}}['handleEndSwipe'](D){var E;const F=this['playerContentList'][this['index']+0x1],G=this['playerContentList'][this['index']-0x1],H=this['contentList']['findIndex'](I=>{var J;return I['id']===(null===(J=this['playerContentList'][this['index']])||void 0x0===J?void 0x0:J['id']);});if(!(null===(E=this['playerContentList'][this['index']])||void 0x0===E?void 0x0:E['currentPage']['isCurrentlyTryingToRunImaAd']))switch(D['offsetDirection']){case this['directionForwards']:if(H===this['contentList']['length']-0x1)return;this['playerContentList'][this['index']]['exitTrigger']='Swipe',this['playerContentList'][this['index']]['navigationType']='Manual',this['processAnimation'](D,F,this['currentNextAnimation']),w['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==F?void 0x0:F['data']['id'],'isAd':null==F?void 0x0:F['data']['isAd']});break;case this['directionBackwards']:this['playerContentList'][this['index']]['exitTrigger']='Swipe',this['playerContentList'][this['index']]['navigationType']='Manual',this['processAnimation'](D,G,this['currentPrevAnimation']),w['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==G?void 0x0:G['data']['id'],'isAd':null==G?void 0x0:G['data']['isAd']});break;case Hammer['DIRECTION_DOWN']:if('mobile'===w['deviceDetector']['platform']&&D['deltaY']>0x1e&&Math['abs'](D['deltaX'])<=0x46){if('SingleContent'===y['VideoPlayerService']['playReference'])return;this['playerContentList'][this['index']]['exitTrigger']='Swipe\x20Down',this['animateCloseWithDirection']({'direction':'VerticalForwards'});}return;case Hammer['DIRECTION_UP']:return;default:this['reverseAnimation'](D);}}['handlePrevDirection'](){const D=this['playerContentList'][0x0],E=this['contentList'][this['contentList']['indexOf'](D)-0x1];E&&!this['container']['contains'](E)&&(E['updatePlayerButtonIcons'](),E['updateCTAButtonPosition'](),E['currentPage']['loadPoster'](),this['container']['prepend'](E),this['playerContentList']['splice'](0x0,0x0,E),this['index']+=0x1);}['handleNextDirection'](){const D=this['contentList'][this['contentList']['indexOf'](this['playerContentList'][this['playerContentList']['length']-0x1])+0x1];D&&!this['container']['contains'](D)&&(D['updatePlayerButtonIcons'](),D['updateCTAButtonPosition'](),D['currentPage']['loadPoster'](),this['container']['append'](D),this['playerContentList']['push'](D));}['resetStyles'](){this['style']['background']='#000',this['style']['transform']='translate(0,\x200)',this['style']['opacity']='',this['container']['style']['opacity']='';}['play'](D){var E,F;const G=this['playerContentList'][this['index']];if(D&&!isNaN(null!==(E=null==D?void 0x0:D['pageIndex'])&&void 0x0!==E?E:0x0)&&(G['pageIndex']=null!==(F=null==D?void 0x0:D['pageIndex'])&&void 0x0!==F?F:0x0),w['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==G?void 0x0:G['data']['id'],'isAd':null==G?void 0x0:G['data']['isAd']}),G){G['load']();const H=G['shouldShowImaAdOnStart'];G['shouldShowImaAdOnStart']=!0x1,G['play'](),G['shouldShowImaAdOnStart']=H,this['playerContentList']['forEach'](I=>{G['data']['id']!==I['data']['id']&&(I['displayCurrentStoryPageAndHideTheRest'](),I['updateCTAButtonPosition']());}),setTimeout(()=>{var I;switch(y['ConfigService']['prefetchingPolicy']){case'low':null===(I=this['playerContentList'][this['playerContentList']['length']-0x1])||void 0x0===I||I['load']();break;case'default':this['playerContentList']['forEach'](J=>{G['data']['id']!==J['data']['id']&&J['load']();});}},0x3*x['ONE_SECOND']);}}['loadAndPlayContent'](){return k(this,void 0x0,void 0x0,function*(){this['isNavigationBlocked']=!0x0,y['VideoPlayerService']['isPlaying']=!0x0;const D=this['playerContentList'][this['index']];D&&(yield D['load']('direct'),D['play'](),this['playerContentList']['forEach'](E=>{E['data']['id']!==D['data']['id']&&(E['isActive']=!0x1);}),D['isActive']=!0x0,this['isNavigationBlocked']=!0x1,y['VideoPlayerService']['isNavigating']=!0x1,y['VideoPlayerService']['isPlaying']=!0x0);});}['handleAnimationCompletion'](D,E){var F;D&&(D['navigationDirection']='NEXT'===E?'Forwards':'Backwards',D['event'](x['StoryAction']['PageExit'],{}),D['event'](x['StoryAction']['Exit'],{}),D['isActive']=!0x1,D['updateWidgetStatusReadUnread'](),D['currentPage']['muted']=!0x0,D['pause']()),null===(F=this['onContentChange'])||void 0x0===F||F['call'](this,E),this['index']+='NEXT'===E?0x1:-0x1,this['handleAnimationEnd'](E),D['currentPage']['endExit']();}['createAnimation'](D,E,F){const G=this['playerContentList'][F],H=this['offsetWidth']*('RTL'===y['ConfigService']['layoutDirection']?-0x1:0x1);return q['default']['timeline']({'complete':()=>{y['VideoPlayerService']['isModalOpen']&&this['handleAnimationCompletion'](D,E);},'changeBegin':()=>{this['handleAnimationStart'](D,G);},'easing':'easeOutQuad','autoplay':!0x1})['add']({'targets':[this['container']],'keyframes':[{'translateX':-this['index']*H,'duration':0x0},{'translateX':-F*H,'duration':this['_animationDuration']}]},0x0)['add']({'targets':[D],'keyframes':[{'scale':0.8,'duration':0.15*this['_animationDuration']},{'scale':0x1,'duration':0.85*this['_animationDuration'],'delay':0.15*this['_animationDuration']},{'transform':'translate(calc('+H+'px\x20-\x20100%),\x200)'}]},0x0)['add']({'targets':[G],'keyframes':[{'scale':0.8,'duration':0.15*this['_animationDuration']},{'scale':0x1,'duration':0.85*this['_animationDuration'],'delay':0.15*this['_animationDuration']},{'transform':'translate(calc('+H+'px\x20-\x20100%),\x200)'}]},0x0);}['handleAnimationStart'](D,E){var F,G;E['currentPage']['loadPoster'](),E['updatePublishedDate'](),E['updatePlayerButtonIcons'](),null==D||D['pause'](),D['currentPage']['muted']=!0x0,(null===(F=D['shareModal'])||void 0x0===F?void 0x0:F['isOpen'])&&(null===(G=D['shareModal'])||void 0x0===G||G['close']()),D['currentPage']['startExit'](),E['currentPage']['startEnter']();}['animateCloseWithDirection'](D){const {direction:E,callback:F,exitTrigger:G='Swipe',navigationType:H='Manual'}=D;let I;switch(E){case'HorizontalForwards':case'VerticalForwards':I='Forwards';break;case'HorizontalBackwards':case'VerticalBackwards':I='Backwards';}if(this['isCloseAnimationStarted'])return;this['isCloseAnimationStarted']=!0x0;const J=q['default']['timeline']({'complete':()=>{this['isCloseAnimationStarted']=!0x1,this['close']();},'changeBegin':()=>{const K=this['playerContentList'][this['index']];K&&(K['pause'](),K['currentPage']['muted']=!0x0),K['exitTrigger']=G,K['navigationType']=H,K['navigationDirection']=I,K['event'](x['StoryAction']['Exit'],{}),K['event'](x['StoryAction']['PageExit'],{}),y['AnalyticsService']['sendAnalyticsData']();},'easing':'easeOutQuad'});J['add'](Object['assign'](Object['assign'](Object['assign'](Object['assign']({'targets':[this['container']]},'HorizontalBackwards'===E&&{'translateX':'RTL'===y['ConfigService']['layoutDirection']?'-100%':'100%'}),y['ConfigService']['shouldAutoAdvance']&&'SingleContent'===y['VideoPlayerService']['playReference']&&'HorizontalForwards'===E&&{'translateX':'-100%'}),'VerticalForwards'===E&&{'translateY':'100%'}),{'opacity':0x0,'duration':0x1f4})),this['resetPosition'](),this['style']['background']='',J['play'](),J['finished']['then'](()=>{null==F||F();});}['handleNavigationKeyPress'](D){const E=this['playerContentList'][this['index']],F='SingleContent'===y['VideoPlayerService']['playReference'],G=E['isLastPage']();if(!F||!G)return y['VideoPlayerService']['isNavigating']=!0x1,!!this['focus']&&('ArrowLeft'==D['key']||'Left'==D['key']?(y['VideoPlayerService']['isPlaying']=!0x0,'RTL'===y['ConfigService']['layoutDirection']?E['goNextPage']():E['goPrevPage']()):'ArrowRight'!=D['key']&&'Right'!=D['key']||(y['VideoPlayerService']['isPlaying']=!0x0,'RTL'===y['ConfigService']['layoutDirection']?E['goPrevPage']():E['goNextPage']()),!0x1);y['ConfigService']['shouldAutoAdvance']&&(this['renderPlayerBackground'](!0x0),this['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>w['URLManager']['navigateTo']('AUTO_ADVANCE')}));}['render'](){const D=this['getBoundingClientRect']()['width'];this['container']['style']['gridTemplateColumns']='repeat(10,\x20'+D+'px)',this['container']['style']['transform']='';}['loadContentBatch'](){}['playToggleCurrentStory'](){this['playerContentList'][this['index']]['playToggle']();}}g['BlazeWidgetStoryPlayer']=C;},0x1a96:function(f,j,k){var m=this&&this['__awaiter']||function(J,K,L,M){return new(L||(L=Promise))(function(N,O){function P(S){try{R(M['next'](S));}catch(T){O(T);}}function Q(S){try{R(M['throw'](S));}catch(T){O(T);}}function R(S){var T;S['done']?N(S['value']):(T=S['value'],T instanceof L?T:new L(function(U){U(T);}))['then'](P,Q);}R((M=M['apply'](J,K||[]))['next']());});};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetStory']=void 0x0;const q=k(0x23a6),w=k(0xb58),x=k(0x1699),z=k(0x1133),A=k(0x1932),B=k(0x26ed),C=k(0x22d9),D=k(0x115),E=k(0x11c1),F=k(0x132a),G=k(0xdf6),H=k(0x2432);class I extends w['BlazeWidgetContent']{get['currentPageIndexWithoutCustomAds'](){return this['pageIndex']-this['pages']['slice'](0x0,this['pageIndex'])['filter'](J=>{var K;return 'Ad'===(null===(K=J['data'])||void 0x0===K?void 0x0:K['type']);})['length'];}constructor(J,K,L=[],M){var N;super(),this['playerStyle']=J,this['mode']=K,this['actionHandlers']=L,this['aspectRatio']=M,this['pages']=[],this['data']={},this['isStoryLoadCompletedTriggered']=!0x1,this['isStoryActive']=!0x1,this['isResumeOnFocusExecuted']=!0x1,this['isCtaWasClickedOrSwiped']=!0x1,this['pageIndex']=0x0,this['contentType']='story',this['resumeAfterfocus']=!0x1,this['totalPlayStopwatch']=new H['Stopwatch'](),this['navigationTimeout']=null,this['lastPageIndexToResume']=0x0,this['elementsToHideOnWebAds']=[],this['elementsToHideOnImaAds']=[],this['requestAnimationId']=null,this['shouldShowImaAdOnStart']=!0x1,this['lastBannerRefreshInWatchTimeMS']=0x0,this['boundOnResumeEvent']=this['onResumeEvent']['bind'](this),this['boundOnPauseEvent']=this['onPauseEvent']['bind'](this),this['boundOnNextPageEvent']=this['onNextPageEvent']['bind'](this),this['boundOnPrevPageEvent']=this['onPrevPageEvent']['bind'](this),this['playbackParts']=[],(0, H['mergeStyles'])(this['container'],{'position':'relative','width':'100%','height':'100%','minHeight':'100%','background':'#000000'}),this['shadowTopElement']=document['createElement']('div'),this['shadowTopElement']['style']['background']='linear-gradient(rgba(0,\x200,\x200,\x200.7),\x20transparent)',this['shadowTopElement']['style']['background']='-webkit-linear-gradient(rgba(0,\x200,\x200,\x200.7),\x20transparent)',this['shadowTopElement']['style']['position']='absolute',this['shadowTopElement']['style']['width']='100%',this['shadowTopElement']['style']['height']='30%',this['shadowTopElement']['style']['top']='0px',this['shadowTopElement']['style']['borderRadius']=this['getContainerBorderRadius'](),this['shadowTopElement']['style']['zIndex']=A['Z_INDEX']['onTopOfPlayer'],this['shadowTopElement']['style']['pointerEvents']='none',this['container']['appendChild'](this['shadowTopElement']);const O=C['WidgetsFactory']['create']('blaze-div');if((0, H['mergeStyles'])(O,{'position':'absolute','top':'0%','left':'0%','right':'0%','height':'3px','opacity':'80%','margin':'16px','zIndex':A['Z_INDEX']['onTopOfPlayer']}),this['progressElement']=document['createElement']('div'),(0, H['mergeStyles'])(this['progressElement'],{'width':'100%','height':'100%','display':'grid'}),O['append'](this['progressElement']),this['container']['append'](O),'mobile'===z['deviceDetector']['platform']||'tablet'===z['deviceDetector']['platform']){const a2=()=>{E['VideoPlayerService']['isPlaying']&&!E['VideoPlayerService']['isNavigating']&&(this['event'](A['StoryAction']['PlaybackPause'],{'playback_action_method':'Press'}),this['pause']());},a3=()=>{E['VideoPlayerService']['isPlaying']&&!E['VideoPlayerService']['isNavigating']&&(this['event'](A['StoryAction']['PlaybackPlay'],{'playback_action_method':'Release'}),this['resume']());};if('Embedded'!==K){const a4=new z['LongPressHandler']({'onStart':a2,'onEnd':a3});a4['attach'](this['container']),this['longPressHandler']=a4;}}const P=()=>{var a5,a6,a7;null===(a5=this['shareModal'])||void 0x0===a5||a5['close'](),null===(a6=this['closedCaptionsModal'])||void 0x0===a6||a6['close'](),this['exitTrigger']='Skip',this['navigationType']='Manual',this['navigationDirection']='Backwards','SingleContent'!==E['VideoPlayerService']['playReference']||0x0!==this['pageIndex']?('SingleContent'===E['VideoPlayerService']['playReference']&&this['revertNextPageButtonToPreviousAction'](),null===(a7=this['resumeAfterBlurButton'])||void 0x0===a7||a7['setAttribute']('blaze-btn-hidden','true'),E['VideoPlayerService']['isPlaying']=!0x0,this['goPrevPage']()):this['currentPage']['currentTime']=0x0;},Q=()=>{var a5,a6,a7,a8,a9;null===(a5=this['shareModal'])||void 0x0===a5||a5['close'](),null===(a6=this['closedCaptionsModal'])||void 0x0===a6||a6['close'](),this['exitTrigger']='Skip',this['navigationType']='Manual',this['navigationDirection']='Forwards','SingleContent'===E['VideoPlayerService']['playReference']&&this['hasNoMorePagesToPlay']()?E['ConfigService']['shouldAutoAdvance']&&((null===(a7=this['refContentModal'])||void 0x0===a7?void 0x0:a7['player'])['renderPlayerBackground'](!0x0),(null===(a8=this['refContentModal'])||void 0x0===a8?void 0x0:a8['player'])['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>z['URLManager']['navigateTo']('AUTO_ADVANCE')})):(null===(a9=this['resumeAfterBlurButton'])||void 0x0===a9||a9['setAttribute']('blaze-btn-hidden','true'),E['VideoPlayerService']['isPlaying']=!0x0,this['goNextPage'](this['navigationType']));},R=C['WidgetsFactory']['create']('blaze-button');R['setAttribute']('data-testid','blaze-widget-story-prev-page-button'),R['setStyle']({'position':'absolute','top':'0','right':'0','bottom':'15%','left':'0','width':'30%','height':'85%','opacity':'0','-webkit-tap-highlight-color':'transparent','zIndex':A['Z_INDEX']['player']});const U=C['WidgetsFactory']['create']('blaze-button');U['setAttribute']('data-testid','blaze-widget-story-next-page-button'),U['setStyle']({'position':'absolute','top':'0','right':'RTL'===E['ConfigService']['layoutDirection']?'30%':'0','bottom':'15%','left':'RTL'===E['ConfigService']['layoutDirection']?'0':'30%','width':'70%','height':'85%','opacity':'0','-webkit-tap-highlight-color':'transparent','zIndex':A['Z_INDEX']['player']}),R['addEventListener']('click',(0, z['throttle'])(P,0x64)),U['addEventListener']('click',(0, z['throttle'])(Q,0x64)),this['container']['append'](R),this['container']['append'](U),this['topContainer']=C['WidgetsFactory']['create']('blaze-div'),this['topContainer']['setStyle']({'position':'absolute','top':'40px','width':'100%','paddingLeft':'16px','paddingRight':'16px','display':'flex','justifyContent':'space-between','boxSizing':'border-box','columnGap':'10px','zIndex':A['Z_INDEX']['onTopOfPlayer']}),this['contentWrapper']=C['WidgetsFactory']['create']('blaze-div'),this['contentWrapper']['setStyle']({'minWidth':'0','display':'flex','flex':'3','gap':'8px','alignItems':'baseline'}),this['contentChip']=C['WidgetsFactory']['create']('blaze-div'),this['contentChip']['setStyle']({'display':'flex','alignItems':'center','height':'17px','boxSizing':'border-box','fontWeight':'600','alignSelf':'flex-start','borderRadius':this['playerStyle']['statusLiveStyle']['borderRadius'],'padding':this['playerStyle']['statusLiveStyle']['padding'],'fontFamily':this['playerStyle']['statusLiveStyle']['font'],'color':this['playerStyle']['statusLiveStyle']['textColor'],'borderWidth':this['playerStyle']['statusLiveStyle']['borderWidth']+'px'}),this['contentTitle']=C['WidgetsFactory']['create']('blaze-div'),this['contentTitle']['innerText']='',this['contentTitle']['setStyle']({'margin':'0px','textOverflow':'ellipsis','overflow':'hidden','whiteSpace':'nowrap','fontWeight':'600','color':this['playerStyle']['titleColor'],'display':this['playerStyle']['titleVisible']?'inline':'none','fontFamily':this['playerStyle']['titleFont']}),this['contentPublishedDate']=C['WidgetsFactory']['create']('blaze-div'),this['contentPublishedDate']['innerText']='',this['contentPublishedDate']['setStyle']({'fontWeight':'600','color':this['playerStyle']['publishedDateColor'],'display':this['playerStyle']['publishedDateVisible']?'inline':'none','fontFamily':this['playerStyle']['publishedDateFont']}),this['contentWrapper']['append'](this['contentTitle']),this['contentWrapper']['append'](this['contentChip']),this['contentWrapper']['append'](this['contentPublishedDate']),this['topContainer']['append'](this['contentWrapper']),this['container']['append'](this['topContainer']),this['buttonsContainer']=C['WidgetsFactory']['create']('blaze-div'),this['buttonsContainer']['setStyle']({'display':'flex','height':'30px','gap':'1rem','zIndex':A['Z_INDEX']['onTopOfPlayer']});const V='iOS'===z['deviceDetector']['OS'],W='Mobile\x20Safari'===z['deviceDetector']['browser'],X='tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS'],Y=V&&('Safari'===z['deviceDetector']['browser']||'Chrome'===z['deviceDetector']['browser']),Z=null===(N=this['actionHandlers'])||void 0x0===N?void 0x0:N['filter'](a5=>a5['actionId']===B['ActionHandlerId']['AddCustomActionButton'])['slice'](0x0,0x2),a0=!(!Z[0x0]||!this['playerStyle']['icons']['customActionButtonOne']),a1=!(!Z[0x1]||!this['playerStyle']['icons']['customActionButtonTwo']);(V||W||Y||X)&&'Embedded'!==this['mode']&&this['createResumeAfterBlurButton'](),'desktop'===z['deviceDetector']['platform']&&this['isButtonVisible']('PLAY_PAUSE')&&(this['playButtonElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['play'],'eventType':'click','clickHandler':()=>this['playToggle'](),'dataTestId':'blaze-widget-story-play-button'})),a0&&this['isButtonVisible']('CUSTOM_ACTION_BUTTON_ONE')&&(this['customActionButtonOneElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['customActionButtonOne'],'eventType':'click','clickHandler':a5=>this['onCustomActionButtonClick'](a5,L[0x0]['options']),'dataTestId':'blaze-widget-story-custom-action-button-one'})),a1&&this['isButtonVisible']('CUSTOM_ACTION_BUTTON_TWO')&&(this['customActionButtonTwoElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['customActionButtonTwo'],'eventType':'click','clickHandler':a5=>this['onCustomActionButtonClick'](a5,L[0x1]['options']),'dataTestId':'blaze-widget-story-custom-action-button-two'})),this['isButtonVisible']('MUTE_UNMUTE')&&(this['muteButtonElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['mute'],'eventType':'click','clickHandler':this['muteToggle']['bind'](this),'dataTestId':'blaze-widget-story-mute-button'})),this['isButtonVisible']('SHARE')&&(this['shareButtonElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['share'],'eventType':'click','clickHandler':this['onShareClick']['bind'](this),'dataTestId':'blaze-widget-story-share-button'})),this['isButtonVisible']('EXIT_PLAYER')&&(this['exitMobileTabletButtonElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['exitMobileTablet'],'eventType':'click','clickHandler':a5=>{null==a5||a5['stopPropagation'](),this['exitTrigger']='Close\x20Button',this['navigationDirection']='',this['navigationType']='',this['close'](!0x0);},'dataTestId':'blaze-widget-story-exit-button'})),this['isButtonVisible']('FULLSCREEN')&&(this['fullScreenElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['fullscreen'],'eventType':'click','clickHandler':this['onExpandClick']['bind'](this)})),this['isButtonVisible']('CLOSED_CAPTIONS')&&E['ConfigService']['shouldAllowClosedCaptions']&&(this['closedCaptionsButtonElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['closedCaptionsOff'],'eventType':'click','clickHandler':this['onClosedCaptionClick']['bind'](this)})),this['topContainer']['append'](this['buttonsContainer']),this['bottomContainer']=C['WidgetsFactory']['create']('blaze-div'),this['bottomContainer']['setStyle']({'position':'absolute','bottom':'desktop'===z['deviceDetector']['platform']&&'Full\x20Screen'===K?'-100px':'0','width':'100%','height':'auto','padding':'0px\x2025px\x20'+('Embedded'===K?this['getEmbeddedBottomContainerPaddingBottom']():'40px'),'display':'flex','flexFlow':'column','boxSizing':'border-box','zIndex':A['Z_INDEX']['onTopOfPlayer']}),this['bottomButtonsWrapper']=C['WidgetsFactory']['create']('blaze-div'),this['bottomButtonsWrapper']['setStyle']({'display':'flex','flexDirection':'column','width':'100%','alignItems':'center','gap':'8px'}),this['bottomContainer']['append'](this['bottomButtonsWrapper']),this['ctaButtonElement']=new x['BlazeCtaButton'](),this['ctaButtonElement']['setStyle']({'justifyContent':G['positionMap']['CENTER']}),this['ctaButtonElement']['setAnchorButtonStyles']({'width':'tablet'===z['deviceDetector']['platform']?'60%':'100%','fontFamily':this['playerStyle']['ctaButton']['font']}),this['ctaButtonElement']['setAttribute']('hidden-btn','true'),this['ctaButtonElement']['addEventListener']('click',a5=>this['handleCtaAction'](a5,'CTA\x20Click')),this['updateCtaButtonLayout'](),this['bottomButtonsWrapper']['append'](this['ctaButtonElement']),this['bannerAdElement']=new q['BlazeWidgetBannerAd'](this),'mobile'===z['deviceDetector']['platform']&&'Embedded'!==K?this['bottomButtonsWrapper']['append'](this['bannerAdElement']):'Embedded'!==K&&(this['bannerAdElement']['style']['position']='absolute',this['bannerAdElement']['style']['bottom']='10px',this['container']['append'](this['bannerAdElement'])),this['container']['append'](this['bottomContainer']),('desktop'===z['deviceDetector']['platform']&&'Full\x20Screen'===this['mode']||'desktop'===z['deviceDetector']['platform']&&'Embedded'===this['mode']&&'Horizontal'===this['aspectRatio'])&&(this['nextPageButton']=this['createNavigationButtonsAndAppendToWidgetStoryContainer']({'iconUrl':this['playerStyle']['icons']['navigation']['nextPage'],'position':'Embedded'===this['mode']?'right':'left','margin':'Embedded'===this['mode']?'73px':'32px','clickHandler':Q,'buttonType':'NEXT_PAGE'}),'SingleContent'===E['VideoPlayerService']['playReference']&&(this['originalNextPageDesktopClickListener']=Q,this['restartStoryOnClickEvent']=()=>{this['playPage'](0x0),this['revertNextPageButtonToPreviousAction']();}),this['prevPageButton']=this['createNavigationButtonsAndAppendToWidgetStoryContainer']({'iconUrl':this['playerStyle']['icons']['navigation']['prevPage'],'position':'Embedded'===this['mode']?'left':'right','margin':'Embedded'===this['mode']?'73px':'32px','clickHandler':P,'buttonType':'PREV_PAGE'}),this['nextStoryButton']=this['createNavigationButtonsAndAppendToWidgetStoryContainer']({'iconUrl':this['playerStyle']['icons']['navigation']['nextStory'],'position':'Embedded'===this['mode']?'right':'left','margin':'Embedded'===this['mode']?'24px':'100px','clickHandler':(0, z['throttle'])(()=>{var a5,a6,a7,a8;if(this['exitTrigger']='Skip','SingleContent'===E['VideoPlayerService']['playReference']&&E['ConfigService']['shouldAutoAdvance'])return (null===(a5=this['refContentModal'])||void 0x0===a5?void 0x0:a5['player'])['renderPlayerBackground'](!0x0),void(null===(a6=this['refContentModal'])||void 0x0===a6?void 0x0:a6['player'])['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>z['URLManager']['navigateTo']('AUTO_ADVANCE')});null===(a7=this['onNextStory'])||void 0x0===a7||a7['call'](this,'Manual'),this['dispatchEvent'](new CustomEvent(B['InternalEvent']['NEXT_STORY'],{'bubbles':!0x0,'cancelable':!0x1})),null===(a8=this['shareModal'])||void 0x0===a8||a8['close'](),this['currentPage']['muted']=!0x0;},A['ONE_SECOND']/0x4),'buttonType':'NEXT_STORY'}),this['prevStoryButton']=this['createNavigationButtonsAndAppendToWidgetStoryContainer']({'iconUrl':this['playerStyle']['icons']['navigation']['prevStory'],'position':'Embedded'===this['mode']?'left':'right','margin':'Embedded'===this['mode']?'24px':'100px','clickHandler':(0, z['throttle'])(()=>{var a5,a6;this['exitTrigger']='Skip',null===(a5=this['onPrevStory'])||void 0x0===a5||a5['call'](this,'Manual'),this['dispatchEvent'](new CustomEvent(B['InternalEvent']['PREV_STORY'],{'bubbles':!0x0,'cancelable':!0x1})),null===(a6=this['shareModal'])||void 0x0===a6||a6['close'](),this['currentPage']['muted']=!0x0;},A['ONE_SECOND']/0x4),'buttonType':'PREV_STORY'})),this['elementsToHideOnWebAds']['push'](this['bottomContainer'],this['contentTitle'],this['contentPublishedDate'],this['contentChip'],this['fullScreenElement'],this['closedCaptionsButtonElement'],O,this['shadowTopElement'],this['buttonsContainer'],this['bannerAdElement']),this['elementsToHideOnImaAds']['push'](this['bottomContainer'],this['contentTitle'],this['contentPublishedDate'],this['contentChip'],O,this['shadowTopElement'],this['buttonsContainer'],this['muteButtonElement'],this['fullScreenElement'],this['closedCaptionsButtonElement'],this['shareModal'],R,U,this['topContainer'],this['bannerAdElement']),'Embedded'===this['mode']&&(this['elementsToHideOnWebAds']['push'](this['nextPageButton'],this['prevPageButton'],this['nextStoryButton'],this['prevStoryButton']),this['elementsToHideOnImaAds']['push'](this['nextPageButton'],this['prevPageButton'],this['nextStoryButton'],this['prevStoryButton'])),this['addEventListener'](B['InternalEvent']['BANNER_ANALYTICS'],a5=>{const a6=a5['detail'];this['bannerAdEvent'](a6);});}['isButtonVisible'](J){let K;return K=['MUTE_UNMUTE','EXIT_PLAYER','PLAY_PAUSE','SHARE','FULLSCREEN','CLOSED_CAPTIONS','CUSTOM_ACTION_BUTTON_ONE','CUSTOM_ACTION_BUTTON_TWO']['includes'](J)?this['playerStyle']['iconsButton']['find'](L=>L['value']===J):this['playerStyle']['iconsButtonNavigation']['find'](L=>L['value']===J),'Embedded'===this['mode']&&(null==K?void 0x0:K['isEmbeddedVisible'])||'Full\x20Screen'===this['mode']&&(null==K?void 0x0:K['isVisible']);}['createPlayerButtonsAndAppendToButtonsContainer'](J){const {iconUrl:K,eventType:L,clickHandler:M}=J,N=C['WidgetsFactory']['create']('blaze-button');return N['addEventListener'](L,M),N['setIconUrl'](K),J['dataTestId']&&N['setAttribute']('data-testid',J['dataTestId']),this['buttonsContainer']['append'](N),N;}['createNavigationButtonsAndAppendToWidgetStoryContainer'](J){const {buttonType:K,iconUrl:L,position:M,margin:N,clickHandler:O}=J,P=this['playerStyle']['iconsButtonNavigation']['find'](S=>S['value']===K),Q='RTL'===E['ConfigService']['layoutDirection']?'left'===M?'right':'left':M,R=C['WidgetsFactory']['create']('blaze-button');return R['setStyle']({'position':'absolute',[Q]:'Embedded'===this['mode']?'0':'100%','top':'50%','transform':'RTL'===E['ConfigService']['layoutDirection']?'rotate(180deg)\x20translateY(50%)':'translateY(-50%)',['left'===Q?'marginLeft':'marginRight']:N,'zIndex':'Embedded'===this['mode']?A['Z_INDEX']['onTopOfPlayer']:'auto'}),P&&this['applyIconStyle'](R,P,L),R['addEventListener']('click',O),R['setAttribute']('data-testid','blaze-widget-story-'+K+'-button'),this['container']['append'](R),R;}['createResumeAfterBlurButton'](){this['resumeAfterBlurButton']=C['WidgetsFactory']['create']('blaze-button'),this['resumeAfterBlurButton']['setIconUrl'](D['playResumeIconSvg']),this['resumeAfterBlurButton']['setAttribute']('height','96px'),this['resumeAfterBlurButton']['setAttribute']('width','96px'),this['resumeAfterBlurButton']['setStyle']({'display':'none','position':'fixed','borderRadius':'50%','zIndex':'99999','top':'20%','padding':'40%','margin':'auto'}),this['resumeAfterBlurButton']['addEventListener']('click',()=>{var J,K;if(this['resume'](),0x0===this['querySelectorAll']('style')['length']){const L=document['createElement']('style');L['innerHTML']='\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20@keyframes\x20fadeOut\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20from\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20to\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20',this['append'](L);}null===(J=this['resumeAfterBlurButton'])||void 0x0===J||J['setIconUrl'](D['pauseResumeIconSvg']),null===(K=this['resumeAfterBlurButton'])||void 0x0===K||K['setStyle']({'opacity':'0','pointerEvents':'none','animation':'fadeOut\x200.5s\x20forwards'}),setTimeout(()=>{var M,N;null===(M=this['resumeAfterBlurButton'])||void 0x0===M||M['setIconUrl'](D['playResumeIconSvg']),null===(N=this['resumeAfterBlurButton'])||void 0x0===N||N['setStyle']({'opacity':'1','pointerEvents':'auto','animation':'unset','display':'none'});},A['ONE_SECOND']);}),this['container']['append'](this['resumeAfterBlurButton']);}['applyIconStyle'](J,K,L){J['setIconUrl'](L),J['style']['display']=K['isVisible']?'block':'none',(null==K?void 0x0:K['padding'])&&'Embedded'!==this['mode']?J['style']['padding']=K['padding']:'Embedded'===this['mode']&&(J['style']['padding']='5px'),(null==K?void 0x0:K['borderRadius'])&&(J['style']['borderRadius']=K['borderRadius']),(null==K?void 0x0:K['backgroundColor'])&&(J['style']['backgroundColor']=K['backgroundColor']),(null==K?void 0x0:K['size'])&&'Embedded'!==this['mode']?(J['setAttribute']('width',K['size']),J['setAttribute']('height',K['size'])):(null==K?void 0x0:K['embeddedSize'])&&'Embedded'===this['mode']&&(J['setAttribute']('width',K['embeddedSize']),J['setAttribute']('height',K['embeddedSize'])),(null==K?void 0x0:K['color'])&&J['setAttribute']('icon-color',K['color']);}['onCustomActionButtonClick'](J,K){K['onClick'](J,this['data']['entities']),this['event'](A['StoryAction']['CustomActionButtonClick'],{'custom_action_button_name':K['buttonName']});}['onLanguageChange'](J){var K,L,M,N;const O=(null===(K=this['data']['pages'][this['pageIndex']]['closedCaptions'])||void 0x0===K?void 0x0:K['find'](P=>''+P['language']===J['detail']['language']))?null===(L=this['playerStyle'])||void 0x0===L?void 0x0:L['icons']['closedCaptionsOn']:null===(M=this['playerStyle'])||void 0x0===M?void 0x0:M['icons']['closedCaptionsOff'];null===(N=this['closedCaptionsButtonElement'])||void 0x0===N||N['setIconUrl'](O||'');}['onShareClick'](){return m(this,void 0x0,void 0x0,function*(){var J;let K;this['event'](A['StoryAction']['ShareClick'],{}),E['VideoPlayerService']['isPlaying']&&this['pause'](),K='SingleContent'===E['VideoPlayerService']['playReference']||location['href']['includes']('blaze/story')?null===window||void 0x0===window?void 0x0:window['location']['href']:location['href']['includes']('#')?location['href']+'&blaze/story/'+this['data']['id']:location['href']+'#blaze/story/'+this['data']['id'],(null===navigator||void 0x0===navigator?void 0x0:navigator['share'])?navigator['share']({'text':this['data']['title'],'url':K})['then'](()=>{this['event'](A['StoryAction']['ShareSuccess'],{});})['catch'](L=>{var M;'AbortError'!==L['name']&&(null===(M=this['shareModal'])||void 0x0===M||M['open'](K));})['finally'](()=>{E['VideoPlayerService']['isPlaying']&&this['resume']();}):null===(J=this['shareModal'])||void 0x0===J||J['open'](K);});}['onClosedCaptionClick'](){var J;null===(J=this['closedCaptionsModal'])||void 0x0===J||J['open']();}['updateCtaButtonLayout'](){var J;this['ctaButtonElement']['setStyle']({'height':'Embedded'===this['mode']?this['getEmbeddedCtaButtonHeight']():null!==(J=this['playerStyle']['ctaButton']['height'])&&void 0x0!==J?J:A['DEFAULT_CTA_HEIGHT']+'px'}),'Horizontal'===this['aspectRatio']&&this['ctaButtonElement']['setStyle']({'width':this['playerStyle']['ctaButton']['width']===F['Presets']['CtaButtonStyle']['width']?'50%':this['playerStyle']['ctaButton']['width']}),'Embedded'===this['mode']&&('mobile'===z['deviceDetector']['platform']?this['ctaButtonElement']['setStyle']({'maxWidth':'Horizontal'===this['aspectRatio']?'150px':'100%'}):'tablet'===z['deviceDetector']['platform']?this['ctaButtonElement']['setStyle']({'maxWidth':'200px'}):this['ctaButtonElement']['setStyle']({'maxWidth':'320px'})),this['bottomContainer']['setStyle']({'paddingLeft':'CENTER'!==this['playerStyle']['ctaButton']['position']?'10px':'25px','paddingRight':'CENTER'!==this['playerStyle']['ctaButton']['position']?'10px':'25px'}),this['bottomButtonsWrapper']['setStyle']({'alignItems':G['positionMap'][this['playerStyle']['ctaButton']['position']]}),this['ctaButtonElement']['setStyle']({'justifyContent':G['positionMap'][this['playerStyle']['ctaButton']['position']]}),this['ctaButtonElement']['setAnchorButtonStyles']({'fontSize':'Embedded'===this['mode']?'14px':this['playerStyle']['ctaButton']['fontSize'],'fontFamily':this['playerStyle']['ctaButton']['font'],'fontWeight':this['playerStyle']['ctaButton']['fontWeight'],'textTransform':this['playerStyle']['ctaButton']['textTransform'],'borderRadius':this['playerStyle']['ctaButton']['borderRadius'],'border':this['playerStyle']['ctaButton']['border']}),this['ctaButtonElement']['setCtaIconStyles']({'display':this['playerStyle']['ctaButton']['icon']['isVisible']?'inline-flex':'none','padding':this['playerStyle']['ctaButton']['padding']}),this['ctaButtonElement']['setAttribute']('icon-url',this['playerStyle']['ctaButton']['icon']['url']),this['ctaButtonElement']['setAttribute']('icon-size',this['playerStyle']['ctaButton']['icon']['size']);}['updateChip'](){this['playerStyle']['statusLiveStyle']['isVisible']&&this['data']['isLive']?(this['contentChip']['style']['display']='flex',this['contentChip']['style']['backgroundColor']=this['playerStyle']['statusLiveStyle']['backgroundColor'],this['contentChip']['textContent']=this['playerStyle']['statusLiveStyle']['text']):this['contentChip']['style']['display']='none';}['setTheme'](J){this['playerStyle']=J,this['render']();}['disableStoriesNavigationButtons'](){this['nextStoryButton']&&this['prevStoryButton']&&(this['updateNavButton']('DISABLED',this['nextStoryButton']),this['updateNavButton']('DISABLED',this['prevStoryButton']));}['disablePageNavigationButtons'](){this['prevPageButton']&&this['nextPageButton']&&(this['updateNavButton']('DISABLED',this['nextPageButton']),this['updateNavButton']('DISABLED',this['prevPageButton']));}['setButtonNavigationAsDisabled'](J){'ALL'===J?(this['disableStoriesNavigationButtons'](),this['disablePageNavigationButtons']()):'STORIES_NAVIGATION_ONLY'===J&&this['disableStoriesNavigationButtons']();}['adjustContentView'](){var J,K,L,M,N,O,P,Q,R,S,T,U,V,W;if([...this['elementsToHideOnWebAds'],...this['elementsToHideOnImaAds']]['forEach'](Y=>{Y&&(Y['style']['visibility']='visible');}),E['ConfigService']['shouldAllowClosedCaptions']){const Y=null===(J=this['currentPage']['data']['closedCaptions'])||void 0x0===J?void 0x0:J['find'](Z=>Z['language']===localStorage['getItem'](A['LOCAL_STORAGE_KEY_LAST_SELECTED']));this['currentPage']['setAttribute']('is-captions-visible',Boolean(Y)['toString']());}const X='desktop'===z['deviceDetector']['platform'];return 'Ad'===(null===(K=this['currentPage']['data'])||void 0x0===K?void 0x0:K['type'])||this['data']['isAd']?(this['elementsToHideOnWebAds']['forEach'](Z=>{Z&&(Z['style']['visibility']='hidden');}),X&&(null===(N=null===(M=null===(L=this['refContentModal'])||void 0x0===L?void 0x0:L['player'])||void 0x0===M?void 0x0:M['renderPlayerBackground'])||void 0x0===N||N['call'](M,!0x0),E['ConfigService']['shouldDismissPlayer']&&(null===(O=this['refContentModal'])||void 0x0===O||O['exitButtonWrapperElement']['setStyle']({'display':'none'}))),E['VideoPlayerService']['muteStateBeforeAd']=E['VideoPlayerService']['isMuted']?'mute':'unmute',this['setPlayerButtonPosition']('AD'),this['setButtonNavigationAsDisabled']('STORIES_NAVIGATION_ONLY'),'unmute'===E['VideoPlayerService']['muteStateBeforeAd']&&this['muteToggle'](),void this['currentPage']['setAttribute']('is-captions-visible','false')):this['currentPage']['shouldShowImaAd']?(this['elementsToHideOnImaAds']['forEach'](Z=>{Z&&(Z['style']['visibility']='hidden');}),null===(P=this['longPressHandler'])||void 0x0===P||P['detach'](this['container']),X&&(null===(S=null===(R=null===(Q=this['refContentModal'])||void 0x0===Q?void 0x0:Q['player'])||void 0x0===R?void 0x0:R['renderPlayerBackground'])||void 0x0===S||S['call'](R,!0x0),E['ConfigService']['shouldDismissPlayer']&&(null===(T=this['refContentModal'])||void 0x0===T||T['exitButtonWrapperElement']['setStyle']({'display':'none'}))),this['setButtonNavigationAsDisabled']('ALL'),void this['currentPage']['setAttribute']('is-captions-visible','false')):('no-ad'!==E['VideoPlayerService']['muteStateBeforeAd']&&(null===(U=this['bannerAdElement'])||void 0x0===U||U['show'](this['data']['bannerAdInfo']),'iOS'===z['deviceDetector']['OS']||'tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS']?E['VideoPlayerService']['isMuted']||this['muteToggle']():'mute'!==E['VideoPlayerService']['muteStateBeforeAd']||E['VideoPlayerService']['isMuted']?'unmute'===E['VideoPlayerService']['muteStateBeforeAd']&&E['VideoPlayerService']['isMuted']&&this['muteToggle']():this['muteToggle'](),E['VideoPlayerService']['muteStateBeforeAd']='no-ad'),null===(V=this['longPressHandler'])||void 0x0===V||V['attach'](this['container']),this['setPlayerButtonPosition']('NO_AD'),E['ConfigService']['shouldDismissPlayer']&&(null===(W=this['refContentModal'])||void 0x0===W||W['render']()),void this['updatePlayerButtonsState'](!0x0));}['setPlayerButtonPosition'](J){var K,L,M,N,O;if('AD'===J)'HORIZONTAL'===this['playerStyle']['iconsPosition']?'LTR'===E['ConfigService']['layoutDirection']?(this['buttonsContainer']['style']['flexDirection']='row-reverse',null===(K=this['muteButtonElement'])||void 0x0===K||K['setAttribute']('order','-1')):(this['topContainer']['style']['flexDirection']='row',this['buttonsContainer']['style']['flexDirection']='row-reverse',null===(L=this['muteButtonElement'])||void 0x0===L||L['setAttribute']('order','-1')):'LTR'===E['ConfigService']['layoutDirection']?null===(M=this['muteButtonElement'])||void 0x0===M||M['setAttribute']('order','-1'):(null===(N=this['muteButtonElement'])||void 0x0===N||N['setAttribute']('order','-1'),this['topContainer']['style']['flexDirection']='row');else {const P=this['playerStyle']['iconsButtonOrder']['indexOf']('MUTE_UNMUTE');null===(O=this['muteButtonElement'])||void 0x0===O||O['setAttribute']('order',String(P)),'HORIZONTAL'===this['playerStyle']['iconsPosition']?'LTR'===E['ConfigService']['layoutDirection']?(this['buttonsContainer']['style']['flexDirection']='row',this['topContainer']['style']['flexDirection']='row'):(this['topContainer']['style']['flexDirection']='row',this['buttonsContainer']['style']['flexDirection']='row'):'LTR'===E['ConfigService']['layoutDirection']||(this['topContainer']['style']['flexDirection']='row');}}['updatePlayerButtonIcons'](){var J,K,L,M,N;const O=E['VideoPlayerService']['isPlaying']?this['playerStyle']['icons']['pause']:this['playerStyle']['icons']['play'],P=E['VideoPlayerService']['isMuted']?this['playerStyle']['icons']['mute']:this['playerStyle']['icons']['unmute'];if(this['playButtonElement']&&this['playButtonElement']['setIconUrl'](O),this['muteButtonElement']&&this['muteButtonElement']['setIconUrl'](P),this['closedCaptionsButtonElement']){if((null===(J=this['data']['pages'][this['pageIndex']]['closedCaptions'])||void 0x0===J?void 0x0:J['length'])>0x0){const Q=localStorage['getItem'](A['LOCAL_STORAGE_KEY_LAST_SELECTED']),R=(null===(K=this['data']['pages'][this['pageIndex']]['closedCaptions'])||void 0x0===K?void 0x0:K['find'](S=>''+S['language']===Q))?null===(L=this['playerStyle'])||void 0x0===L?void 0x0:L['icons']['closedCaptionsOn']:null===(M=this['playerStyle'])||void 0x0===M?void 0x0:M['icons']['closedCaptionsOff'];null===(N=this['closedCaptionsButtonElement'])||void 0x0===N||N['setAttribute']('disabled','false'),this['closedCaptionsButtonElement']['setIconUrl'](R);}else this['closedCaptionsButtonElement']['setAttribute']('disabled','true'),this['closedCaptionsButtonElement']['setIconUrl'](this['playerStyle']['icons']['closedCaptionsOff']);}}['handleCtaAction'](J,K){var L,M,N,O,P,Q,R,S;return this['event'](A['StoryAction']['CtaClick'],{'gesture_type':K}),(null===(L=this['shareModal'])||void 0x0===L?void 0x0:L['isOpen'])&&(null===(M=this['shareModal'])||void 0x0===M||M['close']()),this['playerStyle']['ctaButton']['isDisplayCtaModal']&&(z['deviceDetector']['isMobile']||z['deviceDetector']['isTablet'])&&(null===(N=this['ctaModal'])||void 0x0===N||N['open']()),J['preventDefault'](),J['stopImmediatePropagation'](),(0, H['delay'])(A['ONE_AND_HALF_SECOND'])['then'](()=>{var T,U;const V=this['ctaButtonElement']['querySelector']('a');'iOS'===z['deviceDetector']['OS']||'Safari'===z['deviceDetector']['browser']?V&&(window['location']['href']=V['href']):(null==V||V['dispatchEvent'](new MouseEvent('click',{'bubbles':!0x1,'cancelable':!0x0,'view':window})),(null===(T=this['ctaModal'])||void 0x0===T?void 0x0:T['isOpen'])&&(null===(U=this['ctaModal'])||void 0x0===U||U['close']())),this['isCtaWasClickedOrSwiped']=!0x1;}),(null===(P=null===(O=this['refContentModal'])||void 0x0===O?void 0x0:O['parentWidget'])||void 0x0===P?void 0x0:P['id'])&&E['EventService']['dispatch'](null===(Q=this['refContentModal'])||void 0x0===Q?void 0x0:Q['parentWidget'],B['Delegation']['onWidgetTriggerCTA'],{'widgetId':null===(S=null===(R=this['refContentModal'])||void 0x0===R?void 0x0:R['parentWidget'])||void 0x0===S?void 0x0:S['id'],'actionType':'URL','actionParam':this['ctaButtonElement']['getAttribute']('href')}),this['exitTrigger']=K,this['event'](A['StoryAction']['PageExit'],{}),this['event'](A['StoryAction']['Exit'],{}),this['pause'](),this['resumeAfterfocus']=!0x0,!0x0;}['playToggle'](J){var K;const L=null!==(K=null==J?void 0x0:J['customIsPlaying'])&&void 0x0!==K?K:E['VideoPlayerService']['isPlaying'];this['event'](L?A['StoryAction']['PlaybackPause']:A['StoryAction']['PlaybackPlay'],{'playback_action_method':'Click'}),L?(this['pause'](),this['isPausedManually']=!0x0):(this['resume'](),this['isPausedManually']=!0x1),'boolean'!=typeof(null==J?void 0x0:J['customIsPlaying'])&&(E['VideoPlayerService']['isPlaying']=!L),this['updatePlayerButtonIcons']();}['muteToggle'](){this['event'](A['StoryAction']['Audio'],{}),E['VideoPlayerService']['isMuted']=!E['VideoPlayerService']['isMuted'];const J=this['pages'][this['pageIndex']];return J['muted']=E['VideoPlayerService']['isMuted'],this['updatePlayerButtonIcons'](),J['muted'];}['resetStoryLocationIndexToLastUnseen'](){let J=0x0;for(let K=this['data']['pages']['length']-0x1;K>=0x0;K--){const L=this['data']['pages'][K],M=this['data']['pages'][K-0x1];if(L&&M&&!L['hasViewed']&&M['hasViewed']){J=K;break;}}if(this['pageIndex']=J,this['pages'][this['pageIndex']]['shouldShowImaAd']=!0x1,this['pages'][this['pageIndex']]instanceof q['BlazeWidgetAd']){const N=this['pageIndex']>=this['data']['pages']['length']-0x1;this['pageIndex']=N?0x0:this['pageIndex']+0x1;}}['determineAspectRatio'](J){var K,L;const M=null===(L=null===(K=J['pages'][0x0])||void 0x0===K?void 0x0:K['baseLayer'])||void 0x0===L?void 0x0:L['content']['renditions']['find'](N=>'Horizontal'===N['aspectRatio']);return E['ConfigService']['shouldAllowHorizontalStories']&&('Full\x20Screen'===this['mode']&&'desktop'===z['deviceDetector']['platform']||'Embedded'===this['mode']&&'Horizontal'===this['aspectRatio'])&&M?'Horizontal':'Vertical';}['clearExistingContent'](){var J,K;null===(J=this['pages'])||void 0x0===J||J['forEach'](L=>{var M;return null===(M=null==L?void 0x0:L['remove'])||void 0x0===M?void 0x0:M['call'](L);}),this['pages']=[],null===(K=this['playbackParts'])||void 0x0===K||K['forEach'](L=>{(null==L?void 0x0:L['parentNode'])instanceof Element&&L['parentNode']['remove']();}),this['playbackParts']=[];}['createPageElement'](J){const K='Ad'===J['type']?new q['BlazeWidgetAd'](this):new q['BlazeWidgetVideo'](this);return K instanceof q['BlazeWidgetVideo']&&(K['muted']=!0x0),K['setData'](J),this['setupPageEndedHandler'](K),K;}['setupPageEndedHandler'](J){J['onended']=()=>{this['pageIndex']===this['pages']['length']-0x1&&(this['exitTrigger']='Story\x20Completed'),this['navigationType']='Automatic',this['navigationDirection']='Forwards',E['VideoPlayerService']['isPlaying']=!0x0,this['goNextPage'](this['navigationType']);};}['createProgressElements'](J){const K=J['filter'](L=>'Ad'!==L['type'])['length'];this['progressElement']['style']['gridTemplateColumns']='repeat('+K+',\x201fr)',this['progressElement']['style']['gap']='4px',J['forEach'](L=>{const {part:M,filler:N}=this['createProgressPart']();'Ad'===L['type']&&(M['style']['display']='none'),this['playbackParts']['push'](N),this['progressElement']['append'](M);});}['createProgressPart'](){const J=document['createElement']('div');(0, H['mergeStyles'])(J,{'width':'100%','height':'100%','backgroundColor':'gray','borderRadius':'5px'});const K=document['createElement']('div');return (0, H['mergeStyles'])(K,{'width':'100%','height':'100%','backgroundColor':F['Colors']['White'],'borderRadius':'5px'}),J['appendChild'](K),{'part':J,'filler':K};}['setData'](J){this['data']=J,this['aspectRatio']=this['determineAspectRatio'](J),this['setAttribute']('name',J['title']),this['clearExistingContent'](),this['contentTitle']['innerText']=J['title'],this['contentPublishedDate']['innerText']=(0, H['formatDuration'])(new Date(J['createTime'])),this['pages']=J['pages']['map'](K=>this['createPageElement'](K)),this['createProgressElements'](J['pages']),this['pages']['forEach'](K=>this['container']['prepend'](K)),this['updateChip'](),this['adjustContentView']();}get['currentPage'](){return this['pages'][this['pageIndex']];}get['nextPage'](){return this['pages'][this['pageIndex']+0x1];}get['prevPage'](){return this['pages'][this['pageIndex']-0x1];}['prefetchAdjacentPages'](){var J,K,L;const M=N=>Math['abs'](N-this['pageIndex'])<=0x2;switch(E['ConfigService']['prefetchingPolicy']){case'low':null===(J=this['pages'][this['pageIndex']+0x1])||void 0x0===J||J['load']();break;case'default':null===(K=this['pages'][this['pageIndex']+0x1])||void 0x0===K||K['load'](),null===(L=this['pages'][this['pageIndex']+0x2])||void 0x0===L||L['load']();}this['pages']['forEach']((N,O)=>{M(O)||null==N||N['unload']();});}['loadStoryPostersByDistance'](J){var K;const L=Math['max'](0x0,this['pageIndex']-J),M=Math['min'](this['pages']['length']-0x1,this['pageIndex']+J);for(let N=L;N<=M;N++)null===(K=this['pages'][N])||void 0x0===K||K['loadPoster']();}['revertNextPageButtonToPreviousAction'](){this['originalNextPageDesktopClickListener']&&this['nextPageButton']&&this['restartStoryOnClickEvent']&&(this['nextPageButton']['removeEventListener']('click',this['restartStoryOnClickEvent']),this['nextPageButton']['addEventListener']('click',this['originalNextPageDesktopClickListener']),this['nextPageButton']['setIconUrl'](this['playerStyle']['icons']['navigation']['nextPage']));}['displayRestartStoryButton'](){this['nextPageButton']&&this['originalNextPageDesktopClickListener']&&this['restartStoryOnClickEvent']&&(this['nextPageButton']['setIconUrl'](D['restartIconSvg']),this['nextPageButton']['removeEventListener']('click',this['originalNextPageDesktopClickListener']),this['nextPageButton']['addEventListener']('click',this['restartStoryOnClickEvent']));}['playPage'](J){var K,L,M;if(this['loadStoryPostersByDistance'](0x2),this['navigationTimeout']&&clearTimeout(this['navigationTimeout']),J<0x0){if('SingleContent'===E['VideoPlayerService']['playReference']||'Share'===E['VideoPlayerService']['playReference'])return this['currentPage']['restartVideo'](),void this['updateCta'](0x0);null===(K=this['onPrevStory'])||void 0x0===K||K['call'](this,this['navigationType']),this['dispatchEvent'](new CustomEvent(B['InternalEvent']['PREV_STORY'],{'bubbles':!0x0,'cancelable':!0x1}));}else {if(J>this['pages']['length']-0x1){if('SingleContent'===E['VideoPlayerService']['playReference'])return void this['updateCta'](this['pages']['length']-0x1);null===(L=this['onNextStory'])||void 0x0===L||L['call'](this,this['navigationType']),this['dispatchEvent'](new CustomEvent(B['InternalEvent']['NEXT_STORY'],{'bubbles':!0x0,'cancelable':!0x1}));}else this['isActive']=!0x0,null===(M=this['closedCaptionsModal'])||void 0x0===M||M['reloadData'](this['pages'][J]['data']['closedCaptions']),this['switchToPage'](J),'Automatic'===this['navigationType']?this['startPage'](J):this['navigationTimeout']=setTimeout(()=>{E['VideoPlayerService']['isPlaying']&&this['startPage'](J);},A['ONE_SECOND']/0x3);}}['updatePublishedDate'](J){const K=void 0x0===J?this['pageIndex']:J,L=new Date(Date['parse'](this['data']['pages'][K]['createTime']));this['contentPublishedDate']['innerText']=(0, H['formatDuration'])(L);}['switchToPage'](J){var K,L,M;if(this['updatePublishedDate'](J),this['updateCTAButtonPosition'](),J===this['pageIndex'])this['updateCTAButtonPosition']();else {this['ctaButtonElement']['clearAllAnimations'](),this['updateCta'](J),this['pages'][this['pageIndex']]['hide'](),this['pages'][this['pageIndex']]['pause'](),this['pages'][this['pageIndex']]['removeLoader']();const P=this['pageIndex'];setTimeout(()=>{this['pages'][P]['currentTime']=0x0;},A['ONE_SECOND']/0x4,this);}J!==this['pageIndex']&&this['currentPage']['endExit']();const N=J-this['pageIndex'];this['pageIndex']=J,this['markAsRead'](),this['currentPage']['muted']=E['VideoPlayerService']['isMuted'],'scale(1)'!==this['style']['transform']&&(this['style']['transform']='scale(1)'),this['updatePlayerButtonIcons'](),'Ad'!==(null===(K=this['currentPage']['data'])||void 0x0===K?void 0x0:K['type'])&&this['adjustContentView']();const O=this['currentPage']instanceof q['BlazeWidgetAd'];(this['currentPage']['shouldShowImaAd']&&!this['shouldShowImaAdOnStart']||O&&!this['data']['isAd'])&&this['setContentExtraInfo'](this['getPagesContentExtraInfo'](O)),null===(L=this['currentPage'])||void 0x0===L||L['display'](()=>{N>=0x0?this['goNextPage']():this['goPrevPage']();}),this['currentPage']['endEnter'](),'Ad'!==(null===(M=this['currentPage']['data'])||void 0x0===M?void 0x0:M['type'])&&this['event'](A['StoryAction']['PageStart'],{}),this['event'](A['StoryAction']['PlaybackInitialStart'],{});}['startPage'](J){var K,L,M,N;this['pageIndex']=J,null===(K=this['currentPage'])||void 0x0===K||K['load'](),null===(L=this['currentPage'])||void 0x0===L||L['play'](),'Embedded'===this['mode']&&this['currentPage']['setAttribute']('is-captions-visible','false'),this['updatePlayerButtonIcons']();const O=this['totalPlayStopwatch']['durationMS']();0x0===O||O-this['lastBannerRefreshInWatchTimeMS']>A['BANNER_REFRESH_INTERVAL']?(null===(M=this['bannerAdElement'])||void 0x0===M||M['show'](this['data']['bannerAdInfo']),this['lastBannerRefreshInWatchTimeMS']=O):null===(N=this['bannerAdElement'])||void 0x0===N||N['raiseAnalyticsViewBannerAd'](),this['totalPlayStopwatch']['start'](),this['prefetchAdjacentPages']();}['unload'](){this['pages']['forEach'](J=>J['unload']());}['removeFromCache'](){this['pages']['forEach'](J=>{var K,L,M,N,O,P;if('Content'===(null===(K=J['data'])||void 0x0===K?void 0x0:K['type'])){const Q=null===(P=null===(O=null===(N=null===(M=null===(L=null==J?void 0x0:J['data'])||void 0x0===L?void 0x0:L['baseLayer'])||void 0x0===M?void 0x0:M['content'])||void 0x0===N?void 0x0:N['renditions'])||void 0x0===O?void 0x0:O[0x0])||void 0x0===P?void 0x0:P['url'];Q&&E['VideoCacheService']['isInitialized']()&&E['VideoCacheService']['deleteCacheVideoByUrl'](Q);}});}['displayCurrentStoryPageAndHideTheRest'](){var J;this['currentPage']['display'](()=>{this['goNextPage']();});const K=null===(J=this['currentPage']['data'])||void 0x0===J?void 0x0:J['id'];this['pages']['forEach'](L=>{var M;(null===(M=L['data'])||void 0x0===M?void 0x0:M['id'])!==K&&L['hide'](),('iOS'===z['deviceDetector']['OS']||'tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS'])&&(L['muted']=!0x0);});}['load'](){this['loadStoryPostersByDistance'](0x2),this['currentPage']['load'](),this['displayCurrentStoryPageAndHideTheRest']();}['play'](){var J;if(this['sessionId']=(0, H['getRandomId'])(),this['totalPlayStopwatch']['reset'](),this['lastBannerRefreshInWatchTimeMS']=0x0,this['event'](A['StoryAction']['Start'],{}),this['startTrigger']='',this['exitTrigger']='',this['shouldShowImaAdOnStart']){const K=this['pages'][this['pageIndex']];if('Content'===(null===(J=K['data'])||void 0x0===J?void 0x0:J['type'])){const L=K['data'];K['shouldShowImaAd']=!0x0,L['adInfo']=this['adInfo'];}}E['VideoPlayerService']['currentlyPlayedContentId']=this['data']['id'],this['playPage'](this['pageIndex']);}['bannerAdEvent'](J){var K;const L=this['getRefferingObject'](),M=new z['AdEvent']();M['session_id']=this['sessionId'],M['story_id']=this['data']['id'],M['story_title']=this['data']['title'],M['content_type']='story','Content'===(null===(K=this['currentPage']['data'])||void 0x0===K?void 0x0:K['type'])&&(M['story_page_id']=this['currentPage']['data']['id'],M['story_page_index']=this['currentPageIndexWithoutCustomAds']),M['ad_unit_id']=J['adUnitId'],M['backoffice_campaign_data']=JSON['stringify'](this['data']['bannerAdInfo']||{}),E['AnalyticsService']['pushAdEvent'](J['type'],M,void 0x0,L);}['event'](J,K){return m(this,arguments,void 0x0,function*(L,M,N=void 0x0){var O,P;try{const Q=this['data']['pages'][this['pageIndex']],R=this['pages'][this['pageIndex']],S=this['getRefferingObject']();if('Content'===Q['type']){M['player_type']=this['mode'],M['story_page_count']=this['pages']['length'],R['duration']?M['story_page_duration']=R['duration']:M['story_page_duration']=yield R['getVideoDuration'](),M['story_page_duration_viewed_percent']=Number((0x64*(R['progress']||0x0))['toFixed'](0x3)),M['story_page_id']=Q['id'],M['player_orientation']=this['aspectRatio'];const T=null===window||void 0x0===window?void 0x0:window['location']['href']['indexOf']('#blaze'),U=-0x1!==T?null===window||void 0x0===window?void 0x0:window['location']['href']['slice'](0x0,T):null===window||void 0x0===window?void 0x0:window['location']['href'];switch(M['story_page_type']=/^(https?:\/\/[^/]+\/?)$/i['test'](U)?'Homepage':'Category/Article',M['story_page_index']=this['currentPageIndexWithoutCustomAds'],M['is_last_page']=this['pageIndex']==this['pages']['length']-0x1,M['audio_state']=E['VideoPlayerService']['isMuted']?'Mute':'Unmute',M['story_session_id']=this['sessionId'],M['content_duration_viewed']=this['totalPlayStopwatch']['durationMS'](),M['cc_state']=(0x0,H['convertCcLanguageToState'])(Q['closedCaptions'],localStorage['getItem'](A['LOCAL_STORAGE_KEY_LAST_SELECTED'])),M['story_page_parent_id']=Q['parentStoryId'],M['story_composition_type']=this['data']['compositionType'],'Enrichment'===(null===(O=Q['interaction'])||void 0x0===O?void 0x0:O['type'])&&(M['enrichment_layer_id']=Q['interaction']['id'],M['enrichment_layer_url']=Q['interaction']['htmlUrl']),'true'===(null===(P=E['AppConfigurationService']['appConfigurations'])||void 0x0===P?void 0x0:P['configurations']['analyticsAddEntitiesInfo'])&&(M['content_extra_info']=JSON['stringify'](this['data']['extraInfo']),M['story_page_content_extra_info']=JSON['stringify'](Q['extraInfo'])),L){case A['StoryAction']['Start']:M['story_start_id']=this['data']['id'],M['story_start_trigger']=this['startTrigger'];break;case A['StoryAction']['Exit']:M['story_exit_trigger']=this['exitTrigger'];break;case A['StoryAction']['PageExit']:M['story_page_navigation_direction']=this['navigationDirection'],M['story_page_navigation_type']=this['navigationType'];}}if('Content'===Q['type']){if(L===A['StoryAction']['PageStart']&&this['currentPage']['shouldShowImaAd'])return;if(E['AnalyticsService']['pushStoryEvent'](L,Object['assign']({'story_id':this['data']['id'],'story_title':this['data']['title']},M),N,S),Q['interaction']){const V=L;Object['values'](A['InteractionAction'])['includes'](V)&&E['AnalyticsService']['pushInteractionEvent'](V,{'interaction_id':Q['interaction']['id'],'interaction_type':Q['interaction']['type'],'content_id':this['data']['id'],'content_title':this['data']['title'],'content_page_id':Q['id'],'content_type':'story','content_session_id':E['UserService']['sessionId'],'audio_state':E['VideoPlayerService']['isMuted']?'Mute':'Unmute'});}}}catch(W){}});}['updateContainerLayout'](){var J,K,L,M,N,O,P,Q;if(this['style']['aspectRatio']='Horizontal'===this['aspectRatio']?String(A['ASPECT_RATIO_16_9']):String(A['ASPECT_RATIO_9_16']),this['style']['boxSizing']='content-box',this['container']['style']['borderRadius']=this['getContainerBorderRadius'](),'mobile'===z['deviceDetector']['platform'])this['container']['style']['background']='#000',this['style']['width']='100%',this['style']['height']='100%',this['style']['minHeight']='100%';else {const R=(0, H['isCssPropertySupported'])('aspectRatio');if('Horizontal'===this['aspectRatio']){const S=(null===(J=this['nextStoryButton'])||void 0x0===J?void 0x0:J['style']['marginLeft'])||'0px',T=(null===(K=this['nextStoryButton'])||void 0x0===K?void 0x0:K['style']['marginRight'])||'0px',U=(null===(L=this['prevStoryButton'])||void 0x0===L?void 0x0:L['style']['marginRight'])||'0px',V=(null===(M=this['prevStoryButton'])||void 0x0===M?void 0x0:M['style']['marginLeft'])||'0px',W=null!==(O=null===(N=this['nextStoryButton'])||void 0x0===N?void 0x0:N['clientWidth'])&&void 0x0!==O?O:0x0,X=null!==(Q=null===(P=this['prevStoryButton'])||void 0x0===P?void 0x0:P['clientWidth'])&&void 0x0!==Q?Q:0x0;this['style']['width']='calc(75%\x20-\x20'+S+'\x20-\x20'+T+'\x20-\x20'+W+'px\x20-\x20'+U+'\x20-\x20'+V+'\x20-\x20'+X+'px)',this['style']['maxHeight']='80vh',R?this['style']['aspectRatio']='16\x20/\x209':this['style']['height']='auto';}else this['style']['width']='auto',this['style']['height']='87%';this['style']['minHeight']='tablet'===z['deviceDetector']['platform']?'90%':'unset',this['style']['paddingBottom']='tablet'===z['deviceDetector']['platform']?'0':'40px',R||(this['style']['width']='100%',this['style']['height']='100%',this['style']['borderRadius']='0px'),!R||'tablet'!==z['deviceDetector']['platform']&&'desktop'!==z['deviceDetector']['platform']||setTimeout(()=>{if('Firefox'===z['deviceDetector']['browser']&&'Vertical'===this['aspectRatio'])this['style']['height']='87vh';else {const {width:Y}=this['getBoundingClientRect'](),Z=('Horizontal'===this['aspectRatio']?A['ASPECT_RATIO_9_16']:A['ASPECT_RATIO_16_9'])*Y;this['style']['height']=Math['round'](Z)+'px',this['style']['width']=Math['round'](Y)+'px';}},0x0);}}['addOrRemoveEventListeners'](J){[{'event':B['InternalEvent']['RESUME'],'handler':this['boundOnResumeEvent']},{'event':B['InternalEvent']['PAUSE'],'handler':this['boundOnPauseEvent']},{'event':B['InternalEvent']['NEXT_PAGE'],'handler':this['boundOnNextPageEvent']},{'event':B['InternalEvent']['PREVIOUS_PAGE'],'handler':this['boundOnPrevPageEvent']}]['forEach'](({event:K,handler:L})=>{'add'===J?this['addEventListener'](K,L):this['removeEventListener'](K,L);});}['connectedCallback'](){(0, H['setId'])(this,'blaze-story'),this['addOrRemoveEventListeners']('add'),this['style']['borderRadius']=this['getContainerBorderRadius'](),this['style']['margin']='auto',this['style']['width']='auto',this['style']['minHeight']='100%',this['updateContainerLayout'](),this['shareModal']=C['WidgetsFactory']['create']('blaze-widget-share-modal'),this['shareModal']['onClose']=this['onShareModalClose']['bind'](this),this['shareModal']['onClick']=this['onShareModalButtonClick']['bind'](this),E['ConfigService']['shouldAllowClosedCaptions']&&this['isButtonVisible']('CLOSED_CAPTIONS')&&this['configureClosedCaptionsModal'](),this['ctaModal']=C['WidgetsFactory']['create']('blaze-widget-cta-modal'),this['container']['append'](this['shareModal']),this['container']['append'](this['ctaModal']),this['append'](this['container']);const J=()=>{if(this['pages']['length']<=0x0)return void(null===window||void 0x0===window||window['requestAnimationFrame'](J));for(let L=0x0;L<this['playbackParts']['length'];L++)this['playbackParts'][L]['style']['width']='0%';for(let M=0x0;M<this['pageIndex'];M++)this['playbackParts'][M]['style']['width']='100%';const K=this['pages'][this['pageIndex']]['progress'];this['playbackParts'][this['pageIndex']]['style']['width']=0x64*K+'%',null===window||void 0x0===window||window['requestAnimationFrame'](J);};null===window||void 0x0===window||window['requestAnimationFrame'](J),this['render'](),this['boundOnBlurEvent']=this['onBlur']['bind'](this),this['boundOnFocusEvent']=this['onFocus']['bind'](this),this['boundOnVisibilityChangeEvent']=this['onVisibilityChange']['bind'](this),this['boundOnLanguageChangeEvent']=this['onLanguageChange']['bind'](this),super['connectedCallback']();}['onShareModalClose'](){E['VideoPlayerService']['isPlaying']&&this['resume']();}['configureClosedCaptionsModal'](){this['closedCaptionsModal']=new q['BlazeWidgetClosedCaptionsModal'](this['currentPage']['data']['closedCaptions'],'story'),this['closedCaptionsModal']['onClose']=()=>{this['isPausedManually']||(E['VideoPlayerService']['isPlaying']=!0x0,this['updatePlayerButtonIcons'](),this['resume']());},this['closedCaptionsModal']['onOpen']=()=>{E['VideoPlayerService']['isPlaying']&&(E['VideoPlayerService']['isPlaying']=!0x1,this['updatePlayerButtonIcons'](),this['pause']());},this['closedCaptionsModal']['onClosedCaptionsEnable']=J=>{this['toggleClosedCaptions'](J);},this['closedCaptionsModal']['onClosedCaptionsDisable']=()=>{this['toggleClosedCaptions']();},this['container']['append'](this['closedCaptionsModal']);}['toggleClosedCaptions'](J){const K=(0, H['convertCcLanguageToState'])(this['data']['pages'][this['pageIndex']]['closedCaptions'],J);this['event']('Off'!==K?A['StoryAction']['ClosedCaptionsOn']:A['StoryAction']['ClosedCaptionsOff'],{});}['updateStoryProgress'](){if(this['pages']['length']<=0x0)return void(this['requestAnimationId']=null===window||void 0x0===window?void 0x0:window['requestAnimationFrame'](this['updateStoryProgress']['bind'](this)));for(let K=0x0;K<this['playbackParts']['length'];K++)this['playbackParts'][K]['style']['width']='0%';for(let L=0x0;L<this['pageIndex'];L++)this['playbackParts'][L]['style']['width']='100%';const J=this['pages'][this['pageIndex']]['progress'];this['playbackParts'][this['pageIndex']]['style']['width']=0x64*J+'%',this['isActive']&&(this['requestAnimationId']=null===window||void 0x0===window?void 0x0:window['requestAnimationFrame'](this['updateStoryProgress']['bind'](this)));}['onShareModalButtonClick'](J){return m(this,void 0x0,void 0x0,function*(){this['event'](A['StoryAction']['ShareSelect'],{});try{yield navigator['clipboard']['readText']()['then'](K=>{K===document['location']['href']&&this['event'](A['StoryAction']['ShareSuccess'],{});});}catch(K){}});}['onVisibilityChange'](){this['isActive']&&this['isConnected']&&(this['lastPageIndexToResume']=this['pageIndex'],document['hidden']||this['onFocus'](),document['hidden']&&this['onBlur']());}['onBlur'](){var J;this['isActive']&&this['isConnected']&&(document['hidden']||'desktop'!==z['deviceDetector']['platform']||'visible'!==document['visibilityState'])&&((null===(J=document['activeElement'])||void 0x0===J?void 0x0:J['id']['includes']('interaction'))||(this['lastPageIndexToResume']=this['pageIndex'],this['currentPage']['paused']||(this['resumeAfterfocus']=!0x0,this['pause'](),E['VideoPlayerService']['isPlaying']=!0x1,this['updatePlayerButtonIcons'](),this['event'](A['StoryAction']['PageExit'],{}),this['event'](A['StoryAction']['Exit'],{}))));}['onFocus'](){var J,K,L,M,N;if(this['isActive']&&this['isConnected']&&(this['lastPageIndexToResume']=this['pageIndex'],(this['currentPage']['paused']||'Ad'===(null===(J=this['currentPage']['data'])||void 0x0===J?void 0x0:J['type']))&&this['resumeAfterfocus'])){this['resumeAfterfocus']=!0x1,(null===(K=this['ctaModal'])||void 0x0===K?void 0x0:K['isOpen'])&&(null===(L=this['ctaModal'])||void 0x0===L||L['close']());const O='iOS'===z['deviceDetector']['OS'],P='Mobile\x20Safari'===z['deviceDetector']['browser'],Q='tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS'],R=O&&('Safari'===z['deviceDetector']['browser']||'Chrome'===z['deviceDetector']['browser']);if(O||P||R||Q)return void('Ad'===(null===(M=this['currentPage']['data'])||void 0x0===M?void 0x0:M['type'])?this['resume']():null===(N=this['resumeAfterBlurButton'])||void 0x0===N||N['setAttribute']('blaze-btn-hidden','false'));this['resume'](),E['VideoPlayerService']['isPlaying']=!0x0,this['updatePlayerButtonIcons']();}}['close'](J){return m(this,void 0x0,void 0x0,function*(){var K,L,M,N;this['resumeAfterfocus']=!0x1,'SingleContent'===E['VideoPlayerService']['playReference']||(this['event'](A['StoryAction']['PageExit'],{}),this['event'](A['StoryAction']['Exit'],{}),null===(K=this['pause'])||void 0x0===K||K['call'](this),null===(M=null===(L=this['widgetParentItem'])||void 0x0===L?void 0x0:L['updateWidget'])||void 0x0===M||M['call'](L),yield this['updateWidgetStatusReadUnread']()),(E['ConfigService']['shouldDismissPlayer']||E['ConfigService']['shouldAutoAdvance'])&&(this['event'](A['StoryAction']['PageExit'],{}),this['event'](A['StoryAction']['Exit'],{}),E['AnalyticsService']['sendAnalyticsData']()),J&&(null===(N=this['onClose'])||void 0x0===N||N['call'](this));});}['pause'](){this['currentPage']['pause'](),this['totalPlayStopwatch']['pause']();}['resume'](){this['currentPage']['play'](),this['totalPlayStopwatch']['start']();}['resetPosition'](){this['pages'][this['pageIndex']]['currentTime']=0x0;}['updateWidgetStatusReadUnread'](){var J,K,L,M,N,O,P,Q;null===(K=null===(J=this['widgetParentItem'])||void 0x0===J?void 0x0:J['updateWidget'])||void 0x0===K||K['call'](J),null===(M=null===(L=this['widgetParentItem'])||void 0x0===L?void 0x0:L['setChipStyle'])||void 0x0===M||M['call'](L),null===(O=null===(N=this['widgetParentItem'])||void 0x0===N?void 0x0:N['render'])||void 0x0===O||O['call'](N),null===(Q=null===(P=this['widgetParentItem'])||void 0x0===P?void 0x0:P['updateWidgetItemPadding'])||void 0x0===Q||Q['call'](P);}['markAsRead'](){return m(this,void 0x0,void 0x0,function*(){const J=this['pages'][this['pageIndex']];if(J['data']){J['data']['hasViewed']=!0x0;const {data:K,error:L}=yield E['DatabaseService']['updatePageViewed'](J['data']['id'],this['data']['id']);return !L&&K;}});}['hasNoMorePagesToPlay'](){return this['pageIndex']+0x1>this['pages']['length']-0x1;}['isLastPage'](){return this['pageIndex']===this['pages']['length']-0x1;}['isAutomaticNavigation'](J){return 'Automatic'===J;}['handleLastPageAutomaticNavigation'](){var J,K;E['ConfigService']['shouldAutoAdvance']?((null===(J=this['refContentModal'])||void 0x0===J?void 0x0:J['player'])['renderPlayerBackground'](!0x0),(null===(K=this['refContentModal'])||void 0x0===K?void 0x0:K['player'])['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>z['URLManager']['navigateTo']('AUTO_ADVANCE')})):this['displayRestartStoryButton']();}['goNextPage'](J){E['VideoPlayerService']['isNavigating']||this['currentPage']['isCurrentlyTryingToRunImaAd']||('SingleContent'===E['VideoPlayerService']['playReference']&&this['isLastPage']()&&this['isAutomaticNavigation'](J)?this['handleLastPageAutomaticNavigation']():(this['pageIndex']+0x1<this['pages']['length']&&(this['event'](A['StoryAction']['PageExit'],{}),this['pages'][this['pageIndex']]['startExit'](),this['pages'][this['pageIndex']+0x1]['startEnter']()),this['playPage'](this['pageIndex']+0x1)));}['goPrevPage'](){E['VideoPlayerService']['isNavigating']||this['currentPage']['isCurrentlyTryingToRunImaAd']||('SingleContent'!==E['VideoPlayerService']['playReference']||0x0!==this['pageIndex']?(this['pageIndex']>0x0&&(this['event'](A['StoryAction']['PageExit'],{}),this['pages'][this['pageIndex']]['startExit'](),this['pages'][this['pageIndex']-0x1]['startEnter']()),this['playPage'](this['pageIndex']-0x1)):this['currentPage']['currentTime']=0x0);}['disconnectedCallback'](){var J,K;this['addOrRemoveEventListeners']('remove'),this['removeChild'](this['container']),null===(J=this['shareModal'])||void 0x0===J||J['remove'](),null===(K=this['ctaModal'])||void 0x0===K||K['remove'](),this['ctaButtonElement']['setAttribute']('hidden-btn','true'),super['disconnectedCallback']();}['updateCTAButtonPosition'](){const J=this['pages'][this['pageIndex']];if(!J)return;const K=J['getBoundingClientRect']();if(K['width']){const L=K['width']*A['ASPECT_RATIO_16_9'],M=(Math['round'](K['height']-L)-(this['playerStyle']['ctaButton']['height']?parseInt(this['playerStyle']['ctaButton']['height']):A['DEFAULT_CTA_HEIGHT']))/0x2;let N;switch(z['deviceDetector']['platform']){case'tablet':N='Embedded'===this['mode']?this['getEmbeddedBottomContainerPaddingBottom']():'15px';break;case'desktop':N='Embedded'===this['mode']?this['getEmbeddedBottomContainerPaddingBottom']():'40px';break;default:N='Embedded'===this['mode']?this['getEmbeddedBottomContainerPaddingBottom']():Math['max'](M,A['MIN_PADDING_BOTTOM'])+'px';}this['bottomContainer']['style']['paddingBottom']=N;}}['updateCta'](J){var K,L,M;if(null==J)return;const N=this['pages'][J];if('Content'===(null===(K=null==N?void 0x0:N['data'])||void 0x0===K?void 0x0:K['type'])&&(null===(L=null==N?void 0x0:N['data'])||void 0x0===L?void 0x0:L['cta']['type'])){this['updateCTAButtonPosition']();const {color:O,backgroundColor:P,isDisplayCtaModal:Q,isAnimated:R,icon:S}=this['playerStyle']['ctaButton'],{textColor:T,backgroundColor:U,enhancements:V,text:W,url:X}=N['data']['cta'];this['ctaButtonElement']['setAttributes']({'text':W,'href':X});const Y=O||T,Z=P||U;this['ctaButtonElement']['setAnchorButtonStyles']({'color':Y,'background':Z}),Q&&(z['deviceDetector']['isMobile']||z['deviceDetector']['isTablet'])&&(null===(M=this['ctaModal'])||void 0x0===M||M['setAttributes']({'border-color':'#fff','background-color':Z,'text-color':Y,'icon-color':Y,'progress-bar-color':Y,'cta-url':N['data']['cta']['url']})),this['updateCtaButtonWidth'](),this['setCtaButtonAttributes'](S['isVisible'],Z,Y),this['handleCtaButtonAnimation'](V,R),this['ctaButtonElement']['setAttribute']('hidden-btn','false');}else this['ctaButtonElement']['setAttribute']('hidden-btn','true');}['updateCtaButtonWidth'](){this['ctaButtonElement']['anchorButtonElement']['clientWidth']>0x0&&this['ctaButtonElement']['setCtaTextStyle']({'width':0.75*this['ctaButtonElement']['anchorButtonElement']['clientWidth']+'px'});}['animateCtaButton'](J,K){this['ctaButtonElement']['animateIcon'](J),this['ctaButtonElement']['animateButton'](K);}['handleCtaButtonAnimation'](J,K){if(z['deviceDetector']['isMobile']||z['deviceDetector']['isTablet'])switch(!0x0){case null==J?void 0x0:J['hasSwipeUp']:this['animateCtaButton']('BottomToTop',J['animationType']),this['setCtaIconVisibility'](!0x0);break;case K:this['animateCtaButton']('BottomToTop','Shrinking');}}['setCtaButtonAttributes'](J,K,L){this['ctaButtonElement']['setAttribute']('arrow-icon-color',K),this['ctaButtonElement']['setAttribute']('icon-color',L),this['setCtaIconVisibility'](J);}['setCtaIconVisibility'](J){(z['deviceDetector']['isMobile']||z['deviceDetector']['isTablet'])&&this['ctaButtonElement']['setAttribute']('arrow-icon-display',!0x0===J?'true':'false');}['updatePlayerButtonsState'](J){'desktop'!==z['deviceDetector']['platform']||this['currentPage']['isAd']||(this['updateButtonState'](G['ButtonNavigation']['PREV_STORY'],this['prevStoryButton']),this['updateButtonState'](G['ButtonNavigation']['NEXT_STORY'],this['nextStoryButton']),J&&(this['updateButtonState'](G['ButtonNavigation']['PREV_PAGE'],this['prevPageButton']),this['updateButtonState'](G['ButtonNavigation']['NEXT_PAGE'],this['nextPageButton'])));}['updateButtonState'](J,K){if(!K)return;const L=this['isNavigationButtonActive'](J)?'ACTIVE':'DISABLED';this['updateNavButton'](L,K);}['isSingleContentWithAutoAdvance'](J){return 'SingleContent'===E['VideoPlayerService']['playReference']&&E['ConfigService']['shouldAutoAdvance']&&J===G['ButtonNavigation']['NEXT_STORY'];}['isStoryPagesNavigation'](J){return J===G['ButtonNavigation']['NEXT_PAGE']||J===G['ButtonNavigation']['PREV_PAGE'];}['isNavigationButtonActive'](J){var K,L;if(this['isSingleContentWithAutoAdvance'](J))return !0x0;if(this['isStoryPagesNavigation'](J))return !0x0;if(this['refWidget']){const M=null===(K=this['refWidget'])||void 0x0===K?void 0x0:K['indexOf'](this);if(-0x1!==M){if(J===G['ButtonNavigation']['NEXT_STORY'])return M<(null===(L=this['refWidget'])||void 0x0===L?void 0x0:L['length'])-0x1;if(J===G['ButtonNavigation']['PREV_STORY'])return M>0x0;}}return !0x1;}['updateNavButton'](J,K){'ACTIVE'===J?K['setAttribute']('disabled','false'):K['setAttribute']('disabled','true');}['updatePlayerButtonsStyleAttributes'](){var J,K;let L=0x0;const M=Math['round'](0x64*window['devicePixelRatio'])/0x64,N=window['innerWidth'],O=window['innerHeight'],P=N<0x1f4||O<0x2ee,Q={'smallScreen':{'range1':{'sizeReduce':0x2,'gap':'0.3rem'},'range2':{'sizeReduce':0x3,'gap':'0.15rem'}},'largeScreen':{1.1:{'sizeReduce':0x0,'gap':'0.8rem'},1.25:{'sizeReduce':0x1,'gap':'0.6rem'},1.5:{'sizeReduce':0x2,'gap':'0.4rem'},1.75:{'sizeReduce':0x3,'gap':'0.1rem'}}};if('desktop'===z['deviceDetector']['platform']&&'HORIZONTAL'===this['playerStyle']['iconsPosition']){let R;R=P?M>=1.5?Q['smallScreen']['range2']:Q['smallScreen']['range1']:Q['largeScreen'][String(M)]||{'sizeReduce':0x0,'gap':'1rem'},L=R['sizeReduce'],this['buttonsContainer']['style']['gap']=R['gap'];}if('HORIZONTAL'===this['playerStyle']['iconsPosition']?this['buttonsContainer']['setStyle']({'justifyContent':'end','alignSelf':'end','alignItems':'baseline','flexDirection':'Ad'===(null===(K=null===(J=this['currentPage'])||void 0x0===J?void 0x0:J['data'])||void 0x0===K?void 0x0:K['type'])?'row-reverse':'row'}):this['buttonsContainer']['setStyle']({'alignItems':'flex-end','flexDirection':'column'}),'mobile'!==z['deviceDetector']['platform']&&'tablet'!==z['deviceDetector']['platform']||(L=0x0),'Embedded'===this['mode'])this['contentTitle']['style']['fontSize']=this['playerStyle']['titleFontSizeEmbedded'],this['contentPublishedDate']['style']['fontSize']=this['playerStyle']['publishedDateFontSizeEmbedded'];else {const S=(0, H['convertCssUnitToNumber'])(this['playerStyle']['titleFontSize']),T=(0, H['convertCssUnitToNumber'])(this['playerStyle']['publishedDateFontSize']),U='mobile'===z['deviceDetector']['platform']?S-L+'px':S+0x2-L+'px',V='mobile'===z['deviceDetector']['platform']?T-L+'px':T+0x2-L+'px';this['contentTitle']['style']['fontSize']=U,this['contentPublishedDate']['style']['fontSize']=V;}if(this['contentChip']['style']['borderRadius']=this['playerStyle']['statusLiveStyle']['borderRadius'],this['contentChip']['style']['padding']=this['playerStyle']['statusLiveStyle']['padding'],this['contentChip']['style']['color']=this['playerStyle']['statusLiveStyle']['textColor'],this['contentChip']['style']['borderWidth']=this['playerStyle']['statusLiveStyle']['borderWidth']+'px',this['contentChip']['style']['fontFamily']=this['playerStyle']['statusLiveStyle']['font'],this['contentChip']['style']['fontSize']=this['playerStyle']['statusLiveStyle']['textSize'],this['contentTitle']['style']['fontFamily']=this['playerStyle']['titleFont'],this['contentTitle']['style']['color']=this['playerStyle']['titleColor'],this['contentTitle']['style']['display']=this['playerStyle']['titleVisible']?'inline':'none',this['contentPublishedDate']['style']['fontFamily']=this['playerStyle']['publishedDateFont'],this['contentPublishedDate']['style']['color']=this['playerStyle']['publishedDateColor'],this['contentPublishedDate']['style']['display']=this['playerStyle']['publishedDateVisible']?'inline':'none',this['isButtonVisible']('MUTE_UNMUTE')&&this['muteButtonElement']&&(this['setPlayerButtonSize'](this['muteButtonElement'],'MUTE_UNMUTE'),this['setPlayerButtonColors'](this['muteButtonElement'],'MUTE_UNMUTE'),this['setPlayerButtonPaddings'](this['muteButtonElement'])),this['isButtonVisible']('SHARE')&&this['shareButtonElement']&&(this['setPlayerButtonSize'](this['shareButtonElement'],'SHARE'),this['setPlayerButtonColors'](this['shareButtonElement'],'SHARE'),this['setPlayerButtonPaddings'](this['shareButtonElement'])),this['isButtonVisible']('PLAY_PAUSE')&&this['playButtonElement']&&(this['setPlayerButtonSize'](this['playButtonElement'],'PLAY_PAUSE'),this['setPlayerButtonColors'](this['playButtonElement'],'PLAY_PAUSE'),this['setPlayerButtonPaddings'](this['playButtonElement'])),this['isButtonVisible']('FULLSCREEN')&&this['fullScreenElement']&&(this['setPlayerButtonSize'](this['fullScreenElement'],'FULLSCREEN'),this['setPlayerButtonColors'](this['fullScreenElement'],'FULLSCREEN'),this['setPlayerButtonPaddings'](this['fullScreenElement'])),this['isButtonVisible']('EXIT_PLAYER')&&this['exitMobileTabletButtonElement']&&(this['setPlayerButtonSize'](this['exitMobileTabletButtonElement'],'EXIT_PLAYER'),this['setPlayerButtonColors'](this['exitMobileTabletButtonElement'],'EXIT_PLAYER'),this['setPlayerButtonPaddings'](this['exitMobileTabletButtonElement'])),this['isButtonVisible']('CLOSED_CAPTIONS')&&this['closedCaptionsButtonElement']&&(this['setPlayerButtonSize'](this['closedCaptionsButtonElement'],'CLOSED_CAPTIONS'),this['setPlayerButtonColors'](this['closedCaptionsButtonElement'],'CLOSED_CAPTIONS'),this['setPlayerButtonPaddings'](this['closedCaptionsButtonElement'])),this['isButtonVisible']('CUSTOM_ACTION_BUTTON_ONE')&&this['customActionButtonOneElement']&&(this['setPlayerButtonSize'](this['customActionButtonOneElement'],'CUSTOM_ACTION_BUTTON_ONE'),this['setPlayerButtonColors'](this['customActionButtonOneElement'],'CUSTOM_ACTION_BUTTON_ONE'),this['setPlayerButtonPaddings'](this['customActionButtonOneElement'])),this['isButtonVisible']('CUSTOM_ACTION_BUTTON_TWO')&&this['customActionButtonTwoElement']&&(this['setPlayerButtonSize'](this['customActionButtonTwoElement'],'CUSTOM_ACTION_BUTTON_TWO'),this['setPlayerButtonColors'](this['customActionButtonTwoElement'],'CUSTOM_ACTION_BUTTON_TWO'),this['setPlayerButtonPaddings'](this['customActionButtonTwoElement'])),this['isButtonVisible']('NEXT_PAGE')&&this['nextPageButton']){const W=this['playerStyle']['iconsButtonNavigation']['find'](X=>'NEXT_PAGE'===X['value']);W&&this['applyIconStyle'](this['nextPageButton'],W,this['playerStyle']['icons']['navigation']['nextPage']);}if(this['isButtonVisible']('PREV_PAGE')&&this['prevPageButton']){const X=this['playerStyle']['iconsButtonNavigation']['find'](Y=>'PREV_PAGE'===Y['value']);X&&this['applyIconStyle'](this['prevPageButton'],X,this['playerStyle']['icons']['navigation']['prevPage']);}if(this['isButtonVisible']('NEXT_STORY')&&this['nextStoryButton']){const Y=this['playerStyle']['iconsButtonNavigation']['find'](Z=>'NEXT_STORY'===Z['value']);Y&&this['applyIconStyle'](this['nextStoryButton'],Y,this['playerStyle']['icons']['navigation']['nextStory']);}if(this['isButtonVisible']('PREV_STORY')&&this['prevStoryButton']){const Z=this['playerStyle']['iconsButtonNavigation']['find'](a0=>'PREV_STORY'===a0['value']);Z&&this['applyIconStyle'](this['prevStoryButton'],Z,this['playerStyle']['icons']['navigation']['prevStory']);}}['setPlayerButtonPaddings'](J){this['playerStyle']['iconsButtonPadding']&&(J['style']['padding']=this['playerStyle']['iconsButtonPadding'],J['style']['margin']=this['playerStyle']['iconsButtonPadding']['split']('\x20')['map'](K=>'-'+K)['join']('\x20'));}['setPlayerButtonColors'](J,K){const L=this['playerStyle']['iconsButton']['find'](M=>M['value']===K);(null==L?void 0x0:L['color'])&&J['setAttribute']('icon-color',null==L?void 0x0:L['color']),(null==L?void 0x0:L['backgroundColor'])&&'transparent'!==L['backgroundColor']&&(null==L?void 0x0:L['borderRadius'])&&(J['style']['backgroundColor']=L['backgroundColor'],J['style']['borderRadius']=L['borderRadius']);}['setPlayerButtonSize'](J,K){const L=this['playerStyle']['iconsButton']['find'](M=>M['value']===K);if(J&&L&&this['playerStyle']['iconsButtonSize']&&this['playerStyle']['iconsButtonEmbeddedSize']){let M='Embedded'===this['mode']?this['playerStyle']['iconsButtonEmbeddedSize']:this['playerStyle']['iconsButtonSize'];'Full\x20Screen'===this['mode']&&'mobile'===z['deviceDetector']['platform']&&(M=(0, H['convertCssUnitToNumber'])(M)-0x4+'px'),J['setAttribute']('width',M),J['setAttribute']('height',M);}}['getEmbeddedCtaButtonHeight'](){let J;return J='desktop'===z['deviceDetector']['platform']?'38px':'tablet'===z['deviceDetector']['platform']||'Horizontal'===this['aspectRatio']?'34px':'43px',J;}['getEmbeddedBottomContainerPaddingBottom'](){let J;return J='desktop'===z['deviceDetector']['platform']?'40px':'Horizontal'===this['aspectRatio']?'8px':'32px',J;}['getContainerBorderRadius'](){let J;return J='desktop'===z['deviceDetector']['platform']?'Embedded'===this['mode']&&'Horizontal'===this['aspectRatio']?'8px':'20px':'tablet'===z['deviceDetector']['platform']?'Embedded'===this['mode']&&'Horizontal'===this['aspectRatio']?'4px':'20px':'Embedded'===this['mode']?'8px':'0px',J;}['updatePlayerButtonsOrder'](){const J={'MUTE_UNMUTE':this['muteButtonElement'],'EXIT_PLAYER':this['exitMobileTabletButtonElement'],'PLAY_PAUSE':this['playButtonElement'],'SHARE':this['shareButtonElement'],'FULLSCREEN':this['fullScreenElement'],'CLOSED_CAPTIONS':this['closedCaptionsButtonElement'],'CUSTOM_ACTION_BUTTON_ONE':this['customActionButtonOneElement'],'CUSTOM_ACTION_BUTTON_TWO':this['customActionButtonTwoElement']};this['playerStyle']['iconsButtonOrder']['forEach']((K,L)=>{const M=J[K];M&&M['setAttribute']('order',L['toString']());});}['updatePlayerContentOrder'](){const J={'LIVE_CHIP':this['contentChip'],'STORY_TITLE':this['contentTitle'],'PUBLISHED_DATE':this['contentPublishedDate']};this['playerStyle']['contentOrder']['forEach']((K,L)=>{const M=J[K];M&&(M['style']['order']=L['toString']());});}['displayExitButtonOnMobileTablet'](){if(!this['exitMobileTabletButtonElement'])return;if(!['mobile','tablet']['includes'](z['deviceDetector']['platform']))return void(this['exitMobileTabletButtonElement']['style']['display']='none');const J=['SingleContent','AutoAdvance']['includes'](E['VideoPlayerService']['playReference'])&&!E['ConfigService']['shouldDismissPlayer']||!this['isButtonVisible']('EXIT_PLAYER');this['exitMobileTabletButtonElement']['style']['display']=J?'none':'block';}['resetLayout'](){}['render'](){var J;this['updateContainerLayout'](),this['updatePlayerContentOrder'](),this['updatePlayerButtonsOrder'](),this['updatePlayerButtonIcons'](),this['updatePlayerButtonsState'](!0x0),this['updatePlayerButtonsStyleAttributes'](),this['updateCtaButtonLayout'](),this['updateCta'](this['pageIndex']),this['displayExitButtonOnMobileTablet'](),this['shadowTopElement']['style']['borderRadius']=this['getContainerBorderRadius'](),this['style']['borderRadius']=this['getContainerBorderRadius'](),null===(J=this['pages'])||void 0x0===J||J['forEach'](K=>null==K?void 0x0:K['render']());}['onExpandClick'](){this['dispatchEvent'](new CustomEvent(B['InternalEvent']['FULL_SCREEN_CLICK'],{'bubbles':!0x0,'cancelable':!0x1})),this['event'](A['StoryAction']['Expand'],{});}['onResumeEvent'](){this['resume'](),E['VideoPlayerService']['isPlaying']=!0x0,this['updatePlayerButtonIcons']();}['onPauseEvent'](){this['pause'](),E['VideoPlayerService']['isPlaying']=!0x1,this['updatePlayerButtonIcons']();}['onNextPageEvent'](){this['goNextPage']();}['onPrevPageEvent'](){this['goPrevPage']();}['getPagesContentExtraInfo'](J){var K,L;const M=J?this['pageIndex']+0x1:this['pageIndex'],N=this['pageIndex']>0x0?this['pages'][this['pageIndex']-0x1]:void 0x0,O=M<this['pages']['length']?this['pages'][M]:void 0x0;return {'previous':null===(K=null==N?void 0x0:N['data'])||void 0x0===K?void 0x0:K['extraInfo'],'current':this['data']['extraInfo'],'next':null===(L=null==O?void 0x0:O['data'])||void 0x0===L?void 0x0:L['extraInfo']};}}j['BlazeWidgetStory']=I;},0x23f9:function(d,f,g){var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetCaptions']=void 0x0;const j=g(0x12b0),k=g(0x132a);class l extends HTMLElement{constructor(){super(),this['parser']=new j['WebVTT']['Parser'](window,j['WebVTT']['StringDecoder']()),this['container']=document['createElement']('div'),this['observer']=new MutationObserver(this['checkContainerContent']['bind'](this)),this['captions']=null,this['video']=null,this['startTime']=0x0,this['cues']=[];const m=this['attachShadow']({'mode':'open'});this['container']['className']='captions-container',m['appendChild'](this['container']),this['boundTimeUpdate']=this['handleTimeUpdate']['bind'](this),this['boundSeekUpdate']=this['handleSeekUpdate']['bind'](this);}static get['observedAttributes'](){return ['is-visible','text-color'];}['connectedCallback'](){this['setupStyles']();}['disconnectedCallback'](){this['cleanup']();}['attributeChangedCallback'](m,p,q){if('is-visible'===m&&p!==q){const r='false'!==q;this['updateVisibility'](r);}else 'text-color'===m&&p!==q&&(this['container']['style']['color']=q);}['checkContainerContent'](){var m;const p=(null!==(m=this['container']['textContent'])&&void 0x0!==m?m:'')['trim']()['length']>0x0;this['container']['style']['display']=p?'block':'none';}['handleTimeUpdate'](m){this['video']&&this['updateCaptions'](this['video']['currentTime']-this['startTime']);}['handleSeekUpdate'](m){this['video']&&this['updateCaptions'](this['video']['currentTime']-this['startTime']);}['setupTimeUpdateHandling'](){var m,p;null===(m=this['video'])||void 0x0===m||m['addEventListener']('timeupdate',this['boundTimeUpdate']),null===(p=this['video'])||void 0x0===p||p['addEventListener']('seeked',this['boundSeekUpdate']);}['cleanup'](){var m,p;null===(m=this['video'])||void 0x0===m||m['removeEventListener']('timeupdate',this['boundTimeUpdate']),null===(p=this['video'])||void 0x0===p||p['removeEventListener']('seeked',this['boundSeekUpdate']),this['observer']['disconnect']();}['updateVisibility'](m){const p=null!=m?m:'false'!==this['getAttribute']('is-visible');this['style']['display']=p?'block':'none';}['setupStyles'](){var m,p;const q=document['createElement']('style');q['textContent']='\x0a\x20\x20\x20\x20\x20\x20.captions-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x2070px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background:\x20rgba(51,\x2051,\x2051,\x200.5);\x0a\x20\x20\x20\x20\x20\x20\x20\x20color:\x20'+(null!==(m=this['getAttribute']('text-color'))&&void 0x0!==m?m:k['Colors']['White'])+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x203;\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20max-width:\x2075%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20unicode-bidi:\x20plaintext;\x0a\x20\x20\x20\x20\x20\x20\x20\x20white-space:\x20pre-wrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20word-break:\x20break-word;\x0a\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20\x22Inter\x22,\x20sans-serif;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-optical-sizing:\x20auto;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-style:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2014px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20700;\x0a\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x2022.4px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',null===(p=this['shadowRoot'])||void 0x0===p||p['appendChild'](q);}['initialize'](m,p){return h(this,void 0x0,void 0x0,function*(){this['video']=m,this['captions']=p,this['observer']['observe'](this['container'],{'childList':!0x0,'subtree':!0x0,'characterData':!0x0}),yield this['setupCaptions']();});}['setupCaptions'](){return h(this,void 0x0,void 0x0,function*(){var m;if(this['video']&&(null===(m=this['captions'])||void 0x0===m?void 0x0:m['length']))try{const p=this['captions']['find'](u=>u['url']['endsWith']('.vtt'));if(!p)return;const q=yield fetch(p['url']);if(!q['ok'])throw new Error('HTTP\x20error!\x20status:\x20'+q['status']);const r=yield q['text']();this['cues']=[],this['parser']['oncue']=u=>{this['cues']['push'](new VTTCue(u['startTime']+this['startTime'],u['endTime']+this['startTime'],u['text']));},this['parser']['onflush']=()=>{this['updateCaptions'](0x0),this['setupTimeUpdateHandling']();},this['parser']['parse'](r),this['parser']['flush']();}catch(u){this['updateVisibility'](!0x1);}});}['updateCaptions'](m){this['video']&&(this['container']['innerHTML']='',this['cues']['forEach'](p=>{p['startTime']<=m&&p['endTime']>=m&&(this['container']['innerHTML']=p['text']);}),this['checkContainerContent']());}['setAbsolutePosition'](m){const {top:p,left:q,right:r,bottom:u}=m;this['container']['style']['top']=null!=p?p:'unset',this['container']['style']['left']=null!=q?q:'unset',this['container']['style']['right']=null!=r?r:'unset',this['container']['style']['bottom']=null!=u?u:'unset';}}f['BlazeWidgetCaptions']=l;},0x1d2f:function(f,g,j){var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetClosedCaptionsModal']=void 0x0;const m=j(0x1133),p=j(0x1699),q=j(0x1932),u=j(0x22d9),v=j(0x115),w=j(0x132a),x=j(0x2432);class y extends m['BaseWidget']{constructor(z,A){super(),this['data']=z,this['contentType']=A,this['closedCaptionsContainer']=u['WidgetsFactory']['create']('blaze-div'),this['closedCaptionsMenu']=u['WidgetsFactory']['create']('blaze-player-menu'),this['shadow']=this['attachShadow']({'mode':'open'});}['connectedCallback'](){return k(this,void 0x0,void 0x0,function*(){this['boundLanguageChangeEvent']=this['onLanguageChange']['bind'](this),this['boundOnMenuOpen']=this['onMenuOpen']['bind'](this),this['boundOnMenuClose']=this['onMenuClose']['bind'](this),this['boundOnMenuExpand']=this['onMenuExpand']['bind'](this),this['boundOnMenuCollapse']=this['onMenuCollapse']['bind'](this),this['setupEventListeners'](),this['render']();});}['disconnectedCallback'](){this['detachEventListeners']();}['setupEventListeners'](){this['addEventListener'](p['PLAYER_MENU_EVENTS']['OPEN'],this['boundOnMenuOpen']),this['addEventListener'](p['PLAYER_MENU_EVENTS']['CLOSE'],this['boundOnMenuClose']),this['addEventListener'](p['PLAYER_MENU_EVENTS']['EXPAND'],this['boundOnMenuExpand'],!0x0),this['addEventListener'](p['PLAYER_MENU_EVENTS']['COLLAPSE'],this['boundOnMenuCollapse'],!0x0),x['SharedEventTarget']['addEventListener'](q['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundLanguageChangeEvent']);}['detachEventListeners'](){this['removeEventListener'](p['PLAYER_MENU_EVENTS']['OPEN'],this['boundOnMenuOpen']),this['removeEventListener'](p['PLAYER_MENU_EVENTS']['CLOSE'],this['boundOnMenuClose']),this['removeEventListener'](p['PLAYER_MENU_EVENTS']['EXPAND'],this['boundOnMenuExpand']),this['removeEventListener'](p['PLAYER_MENU_EVENTS']['COLLAPSE'],this['boundOnMenuCollapse']),x['SharedEventTarget']['removeEventListener'](q['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundLanguageChangeEvent']);}['onLanguageChange'](){this['closedCaptionsContainer']['innerHTML']='',this['fillContainerWithOptions']();}['onMenuOpen'](){var z;null===(z=this['onOpen'])||void 0x0===z||z['call'](this);}['onMenuClose'](){var z;null===(z=this['onClose'])||void 0x0===z||z['call'](this),(0, x['mergeStyles'])(this['closedCaptionsContainer'],{'height':'fit-content','maxHeight':0x3*(m['deviceDetector']['isMobile']?0x4a:0x38)+'px'});}['onMenuExpand'](){(0, x['mergeStyles'])(this['closedCaptionsContainer'],{'maxHeight':'initial'});}['onMenuCollapse'](){(0, x['mergeStyles'])(this['closedCaptionsContainer'],{'height':'fit-content','maxHeight':0x3*(m['deviceDetector']['isMobile']?0x4a:0x38)+'px'});}['open'](){this['closedCaptionsMenu']['open']();}['close'](){this['closedCaptionsMenu']['close']();}get['isOpen'](){return !0x0===this['closedCaptionsMenu']['getAttribute']('open');}['reloadData'](z){this['data']=z,this['closedCaptionsContainer']['innerHTML']='',this['fillContainerWithOptions']();}['handleCcOptionClick'](z,A,B){var C,D;if(this['closedCaptionsContainer']['querySelectorAll']('.selected')['forEach'](E=>{E['classList']['remove']('selected');}),A['classList']['add']('selected'),B){const E=JSON['parse'](localStorage['getItem'](q['LOCAL_STORAGE_KEY_RECENT_LANGUAGES'])||'[]'),F=E['findIndex'](G=>G===B['code']);-0x1!==F&&E['splice'](F,0x1),E['unshift'](B['code']),localStorage['setItem'](q['LOCAL_STORAGE_KEY_RECENT_LANGUAGES'],JSON['stringify'](E['slice'](0x0,0x1))),localStorage['setItem'](q['LOCAL_STORAGE_KEY_LAST_SELECTED'],B['code']||'null');}else localStorage['removeItem'](q['LOCAL_STORAGE_KEY_LAST_SELECTED']);x['SharedEventTarget']['dispatchEvent'](new CustomEvent(q['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],{'detail':{'language':null==B?void 0x0:B['code']},'bubbles':!0x0,'composed':!0x0})),B?null===(C=this['onClosedCaptionsEnable'])||void 0x0===C||C['call'](this,B['code']):null===(D=this['onClosedCaptionsDisable'])||void 0x0===D||D['call'](this),this['close']();}['buildCcOption'](z,A){const B=u['WidgetsFactory']['create']('blaze-div'),C=u['WidgetsFactory']['create']('blaze-div'),D=u['WidgetsFactory']['create']('blaze-div'),E=u['WidgetsFactory']['create']('blaze-image'),F=u['WidgetsFactory']['create']('blaze-div');if(C['setStyle']({'display':'flex','flexDirection':'row','alignItems':'center','gap':'8px','flex':'1','overflow':'hidden'}),z&&'null'!==z['code']){const G=u['WidgetsFactory']['create']('blaze-div');G['classList']['add']('country-code'),G['setStyle']({'backgroundColor':'#bababa','borderRadius':'2px','fontFamily':w['Presets']['playerFont'],'fontSize':'10px','fontWeight':'900','color':'#333333','lettersSpacing':'1px','display':'flex','alignItems':'center','justifyContent':'center','height':'16px','width':'23px'}),G['innerText']=z['code']['toUpperCase'](),C['append'](G);}if(C['append'](F),D['setStyle']({'display':'flex','flexDirection':'row','alignItems':'center','gap':'16px','flexShrink':'0'}),null==A?void 0x0:A['isNotAvailable']){const H=u['WidgetsFactory']['create']('blaze-typography');H['innerText']='Not\x20available',B['classList']['add']('not-available'),D['append'](H);}return D['append'](E),E['classList']['add']('check-mark'),E['load'](v['checkMarkSvg']),F['setStyle']({'whiteSpace':'nowrap','overflow':'hidden','textOverflow':'ellipsis','flex':'1'}),F['innerText']=(null==z?void 0x0:z['name'])||'Off',B['classList']['add']('cc-option'),(null==A?void 0x0:A['isSelected'])&&B['classList']['add']('selected'),B['setStyle']({'display':'flex','flexDirection':'row','justifyContent':'space-between','height':(m['deviceDetector']['isMobile']?0x4a:0x38)+'px','padding':'0\x2016px','gap':'18px','alignItems':'center','color':w['Colors']['White'],'flexShrink':'0','flexGrow':'0','borderTop':(null==A?void 0x0:A['isFirstRecentlySelected'])?'1px\x20solid\x20#404040':'none','borderBottom':(null==A?void 0x0:A['isLastRecentlySelected'])?'1px\x20solid\x20#404040':'none','cursor':(null==A?void 0x0:A['isNotAvailable'])?'not-allowed':'pointer'}),B['append'](C),B['append'](D),(null==A?void 0x0:A['isNotAvailable'])||(B['onclick']=I=>this['handleCcOptionClick'](I,B,z)),B;}['fillContainerWithOptions'](){const z=localStorage['getItem'](q['LOCAL_STORAGE_KEY_LAST_SELECTED']),A=JSON['parse'](localStorage['getItem'](q['LOCAL_STORAGE_KEY_RECENT_LANGUAGES'])||'[]'),B=q['CcSupportedLanguages']['filter'](D=>{var E;return (null===(E=this['data'])||void 0x0===E?void 0x0:E['find'](F=>''+F['language']===D['code']))&&!A['find'](F=>F===D['code']);}),C=A['map'](D=>q['CcSupportedLanguages']['find'](E=>E['code']===D));this['closedCaptionsContainer']['append'](this['buildCcOption'](null,{'isSelected':!z})),C['forEach']((D,E)=>{var F;const G={'isFirstRecentlySelected':0x0===E,'isLastRecentlySelected':E===C['length']-0x1&&!!B['length'],'isNotAvailable':!(null===(F=this['data'])||void 0x0===F?void 0x0:F['find'](I=>''+I['language']===D['code'])),'isSelected':z===D['code']},H=this['buildCcOption'](D,G);this['closedCaptionsContainer']['append'](H);}),B['forEach'](D=>{const E=this['buildCcOption'](D);this['closedCaptionsContainer']['append'](E);}),this['closedCaptionsContainer']['setStyle']({'height':'fit-content'});}['render'](){const z=document['createElement']('style');z['textContent']='\x0a\x20\x20\x20\x20\x20\x20.cc-option\x20.check-mark\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.cc-option.selected\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20700;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.cc-option.not-available\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20color:\x20#5d5d5d\x20!important;\x0a\x20\x20\x20\x20\x20\x20}\x20\x0a\x0a\x20\x20\x20\x20\x20\x20.cc-option.not-available\x20.country-code\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#5d5d5d\x20!important;\x0a\x20\x20\x20\x20\x20\x20}\x20\x0a\x0a\x20\x20\x20\x20\x20\x20.cc-option.selected\x20.check-mark\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',this['shadow']['append'](z),this['shadow']['append'](this['closedCaptionsMenu']),this['closedCaptionsContainer']['setStyle']({'display':'flex','overflowY':'scroll','flexDirection':'column','fontSize':'.875rem','fontFamily':w['Presets']['playerFont'],'color':'#000','maxHeight':0x3*(m['deviceDetector']['isMobile']?0x4a:0x38)+'px'}),this['fillContainerWithOptions'](),this['closedCaptionsMenu']['init']({'title':'Closed\x20captions','component':this['closedCaptionsContainer']}),'video'===this['contentType']&&m['deviceDetector']['isDesktop']&&(0, x['mergeStyles'])(this['closedCaptionsMenu']['menuContainer'],{'width':'320px','top':'auto','bottom':'80px','margin':'initial','right':'1rem','left':'initial','transform':'none'});}}g['BlazeWidgetClosedCaptionsModal']=y;},0xb58:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetContent']=void 0x0;const h=g(0x23a6),j=g(0x1133),k=g(0x1932),m=g(0x11c1),p=g(0x2432);class q extends HTMLElement{constructor(){super(),this['pageIndex']=0x0,this['startTrigger']='',this['exitTrigger']='',this['navigationType']='',this['navigationDirection']='',this['listeners']=new j['EventsListener'](),this['isActive']=!0x1,this['isResumeOnFocusExecuted']=!0x1,this['isNavigationPending']=!0x1,this['isPausedManually']=!0x1,this['resumeAfterfocus']=!0x1,this['contentExtraInfo']=void 0x0,this['widgetParentItem']={},this['sessionId']='',this['container']=document['createElement']('div'),this['container']['style']['touchAction']='manipulation',this['container']['style']['cssText']+='-webkit-user-select:\x20none;';}['connectedCallback'](){window['addEventListener']('focus',this['boundOnFocusEvent']),window['addEventListener']('blur',this['boundOnBlurEvent']),window['addEventListener']('visibilitychange',this['boundOnVisibilityChangeEvent']),p['SharedEventTarget']['addEventListener'](k['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundOnLanguageChangeEvent']);}['disconnectedCallback'](){window['removeEventListener']('blur',this['boundOnFocusEvent']),window['removeEventListener']('focus',this['boundOnBlurEvent']),window['removeEventListener']('visibilitychange',this['boundOnVisibilityChangeEvent']),p['SharedEventTarget']['removeEventListener'](k['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundOnLanguageChangeEvent']);}['setWidgetItemParent'](u){this['widgetParentItem']=u;}['updateWidgetStatusReadUnread'](){var u,v,w,x,y,z,A,B;null===(v=null===(u=this['widgetParentItem'])||void 0x0===u?void 0x0:u['updateWidget'])||void 0x0===v||v['call'](u),null===(x=null===(w=this['widgetParentItem'])||void 0x0===w?void 0x0:w['setChipStyle'])||void 0x0===x||x['call'](w),null===(z=null===(y=this['widgetParentItem'])||void 0x0===y?void 0x0:y['render'])||void 0x0===z||z['call'](y),null===(B=null===(A=this['widgetParentItem'])||void 0x0===A?void 0x0:A['updateWidgetItemPadding'])||void 0x0===B||B['call'](A);}['getRefferingObject'](){var u,v,w;const x=new j['ReferringEventInfo'](),y=(null===(u=this['widgetParentItem'])||void 0x0===u?void 0x0:u['parentRef'])||(null===(v=this['refContentModal'])||void 0x0===v?void 0x0:v['parentWidget']);if(y&&y instanceof h['BlazeWidgetLayout']&&(x['origin_widget_id']=y['id'],x['origin_widget_type']=y['widgetType'](),x['labels_expression']=y['getAttribute']('labels')),(m['ConfigService']['staticContent']||m['ConfigService']['staticContentType'])&&(x['story_source']='OneBox'),document['referrer']){x['referrer_page_url']=document['referrer'];const z=document['referrer']['indexOf']('#blaze'),A=-0x1!==z?document['referrer']['slice'](0x0,z):document['referrer'];x['referrer_page_type']=/^(https?:\/\/[^/]+\/?)$/i['test'](A)?'Homepage':'Category/Article',x['referrer_page_domain']=document['referrer']?null===(w=new URL(document['referrer']))||void 0x0===w?void 0x0:w['hostname']:'';}return x;}['setContentExtraInfo'](u){this['contentExtraInfo']=u;}['render'](){}}f['BlazeWidgetContent']=q;},0xb0b:function(f,g,j){var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});},m=this&&this['__importDefault']||function(z){return z&&z['__esModule']?z:{'default':z};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetCtaModal']=void 0x0;const p=m(j(0xad8)),q=j(0x1133),u=j(0x1932),v=j(0x22d9),w=j(0x115),x=j(0x132a);class y extends q['BaseWidget']{constructor(){var z;super(),this['isOpen']=!0x1,this['ctaContainer']=v['WidgetsFactory']['create']('blaze-div'),this['ctaDrawer']=v['WidgetsFactory']['create']('blaze-modal'),this['ctaUrl']=v['WidgetsFactory']['create']('blaze-typography'),this['iconShare']=v['WidgetsFactory']['create']('blaze-button'),this['iconExternalLink']=v['WidgetsFactory']['create']('blaze-button'),this['textContainer']=v['WidgetsFactory']['create']('blaze-div'),this['labelText']=v['WidgetsFactory']['create']('blaze-typography'),this['progressBar']=v['WidgetsFactory']['create']('blaze-div'),this['fullscreenOverlay']=v['WidgetsFactory']['create']('blaze-div'),this['ctaDrawer']['onClose']=null===(z=this['onDrawerClose'])||void 0x0===z?void 0x0:z['bind'](this);}['connectedCallback'](){return k(this,void 0x0,void 0x0,function*(){this['ctaContainer']['setStyle']({'display':'flex','flexDirection':'column','height':'2.5rem','fontSize':'.8rem','fontFamily':x['Presets']['playerFont'],'color':'#000'}),this['progressBar']['id']='progress-bar',this['progressBar']['setStyle']({'height':'3px','width':'0','backgroundColor':'#fff','position':'absolute','bottom':'0','left':'0'}),this['fullscreenOverlay']['id']='fullscreen-overlay',this['fullscreenOverlay']['setStyle']({'position':'fixed','top':'0','left':'0','width':'100%','height':'100%','display':'none','zIndex':'1000'}),this['render']();});}['disconnectedCallback'](){this['removeChild'](this['ctaDrawer']);}['attributeChangedCallback'](z,A,B){switch(z){case'cta-url':this['ctaUrl']['text']=B;break;case'background-color':this['ctaDrawer']['setAttribute']('background-color',B);break;case'icon-color':this['iconExternalLink']['setAttribute']('icon-color',B),this['iconShare']['setAttribute']('icon-color',B);break;case'text-color':this['ctaUrl']['setStyle']({'color':B}),this['labelText']['setStyle']({'color':B});break;case'border-color':this['ctaDrawer']['setAttribute']('border-color',B);break;case'progress-bar-color':this['progressBar']['setStyle']({'backgroundColor':B});}}['animateProgressBar'](z){let A={'targets':'#progress-bar','width':z?'100%':'0','duration':z?u['ONE_AND_HALF_SECOND']:0x1,'easing':'easeInQuad'};(0, p['default'])(A);}['onDrawerClose'](){this['animateProgressBar'](!0x1);}['open'](){this['ctaDrawer']['open'](),this['animateProgressBar'](!0x0),this['fullscreenOverlay']['setStyle']({'display':'block'}),this['isOpen']=!0x0;}['close'](){this['ctaDrawer']['close'](),this['animateProgressBar'](!0x1),this['fullscreenOverlay']['setStyle']({'display':'none'}),this['isOpen']=!0x1;}['render'](){this['ctaDrawer']['init']({'anchor':'bottom','component':this['ctaContainer']}),this['append'](this['ctaDrawer']),this['iconShare']['setIconUrl'](w['externalLinkIconSvg']),this['iconShare']['setAttribute']('icon-color','#000'),this['textContainer']['setStyle']({'display':'flex','alignSelf':'center','maxWidth':'75%'}),this['labelText']=v['WidgetsFactory']['create']('blaze-typography'),this['labelText']['text']='Opening',this['labelText']['setStyle']({'fontWeight':'bold','marginRight':'0.5rem'}),this['ctaUrl']['setStyle']({'overflow':'hidden','textOverflow':'ellipsis','whiteSpace':'nowrap','display':'inline-block'}),this['textContainer']['append'](this['labelText']),this['textContainer']['append'](this['ctaUrl']);const z=v['WidgetsFactory']['create']('blaze-div');z['setStyle']({'display':'flex','gap':'1rem','padding':'0.5rem','alignItems':'center','justifyContent':'space-between'}),this['iconExternalLink']=v['WidgetsFactory']['create']('blaze-button'),this['iconExternalLink']['setIconUrl'](w['newPageIcon']),this['iconExternalLink']['setAttribute']('icon-color','#000'),z['append'](this['iconShare']),z['append'](this['textContainer']),z['append'](this['iconExternalLink']),this['ctaContainer']['append'](z),this['ctaDrawer']['setAttribute']('border-radius','1rem\x201rem\x200\x200'),this['ctaContainer']['append'](this['progressBar']),this['append'](this['fullscreenOverlay']);}}g['BlazeWidgetCtaModal']=y,y['observedAttributes']=['cta-url','background-color','icon-color','text-color','border-color','progress-bar-color'];},0x215f:function(f,j,k){var m=this&&this['__awaiter']||function(F,G,H,I){return new(H||(H=Promise))(function(J,K){function L(O){try{N(I['next'](O));}catch(P){K(P);}}function M(O){try{N(I['throw'](O));}catch(P){K(P);}}function N(O){var P;O['done']?J(O['value']):(P=O['value'],P instanceof H?P:new H(function(Q){Q(P);}))['then'](L,M);}N((I=I['apply'](F,G||[]))['next']());});};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetEmbeddedStory']=void 0x0;const q=k(0x23a6),v=k(0x1fdc),w=k(0x1133),x=k(0x1699),y=k(0x26ed),z=k(0x11c1),A=k(0x132a),B=k(0x2432),C=k(0x1a96),D={'Labels':'labels','LabelsPriority':'labels-priority','OrderType':'order-type','MaxItems':'max-items','StoryIds':'story-ids'};class E extends w['BaseWidget']{get['theme'](){return this['getTheme']();}constructor(){super(),this['contents']=[],this['intersectionObserver']=new IntersectionObserver(this['handleIntersection']['bind'](this),{'threshold':0.5}),this['isIntersecting']=!0x1,this['currentStoryPlayerIndex']=0x0,this['stories']=[],this['shouldReloadData']=!0x0,this['isCurrentPlayerFirstPlay']=!0x0,this['bindedOnPlayerDidAppear']=this['onPlayerDidAppear']['bind'](this),this['bindedOnPlayerDismissed']=this['onPlayerDismissed']['bind'](this);}['setPersonalized'](F){}static get['observedAttributes'](){return Object['values'](D);}['connectedCallback'](){this['innerHTML']+='\x0a\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20@keyframes\x20fadeInAnimation\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x200%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20100%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20blaze-widget-story\x20{\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20animation:\x20fadeInAnimation\x20ease\x200.5s;\x0a\x20\x20\x20\x20\x20\x20\x20\x20animation-iteration-count:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20animation-fill-mode:\x20forwards;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20</style>',this['style']['direction']=z['ConfigService']['layoutDirection'],this['intersectionObserver']['observe'](this),this['addEventListener'](y['InternalEvent']['NEXT_STORY'],this['nextStory']),this['addEventListener'](y['InternalEvent']['PREV_STORY'],this['prevStory']),this['addEventListener'](y['InternalEvent']['FULL_SCREEN_CLICK'],this['onFullScreenClickHandler'],!0x0),this['addEventListener'](y['InternalEvent']['AD_ENDED'],this['onCustomNativeAdEnded']),this['addEventListener'](y['InternalEvent']['AD_RESUMED'],this['onVastAdResumedEnded']),document['addEventListener'](v['Delegations']['onPlayerDidAppear'],this['bindedOnPlayerDidAppear']),document['addEventListener'](v['Delegations']['onPlayerDismissed'],this['bindedOnPlayerDismissed']),this['reloadLogic']();}['disconnectedCallback'](){this['removeEventListener'](y['InternalEvent']['NEXT_STORY'],this['nextStory']),this['removeEventListener'](y['InternalEvent']['PREV_STORY'],this['prevStory']),this['removeEventListener'](y['InternalEvent']['FULL_SCREEN_CLICK'],this['onFullScreenClickHandler'],!0x0),this['removeEventListener'](y['InternalEvent']['AD_ENDED'],this['onCustomNativeAdEnded']),this['removeEventListener'](y['InternalEvent']['AD_RESUMED'],this['onVastAdResumedEnded']),document['removeEventListener'](v['Delegations']['onPlayerDidAppear'],this['bindedOnPlayerDidAppear']),document['removeEventListener'](v['Delegations']['onPlayerDismissed'],this['bindedOnPlayerDismissed']);}['attributeChangedCallback'](F,G,H){switch(F){case D['Labels']:case D['LabelsPriority']:case D['StoryIds']:if(!G)break;this['reloadLogic']();}}['updateDataSource'](F){}['getTheme'](){return this['preset']||A['ThemeFactory']['create']('default');}['setTheme'](F){let G;G='string'==typeof F?A['ThemeFactory']['create'](F):F,this['preset']=G,this['modal']=this['createModal']();}['setLabels'](F,G){this['setReloadData'](G);let H='';if('string'==typeof F)H=F;else {if(Array['isArray'](F))H=F['join']();else {if(!(F instanceof w['BlazeWidgetLabel']))throw new Error('fail\x20to\x20set\x20labels\x20-\x20'+F+',\x20labels\x20must\x20be\x20string,\x20array\x20of\x20strings,\x20or\x20BlazeWidgetLabel...');H=F['toString']();}}this['setAttribute'](D['Labels'],H);}['setLabelsPriority'](F,G){this['setReloadData'](G);let H='';if('string'==typeof F)H=F['startsWith']('[')&&F['endsWith'](']')?F:'['+F+']';else {if(!Array['isArray'](F))throw new Error('Failed\x20to\x20set\x20labels\x20priority\x20-\x20'+F+'.\x20Labels\x20priority\x20must\x20be\x20a\x20string,\x20array\x20of\x20strings,\x20or\x20array\x20of\x20BlazeWidgetLabel.');H=F['every'](I=>I instanceof w['BlazeWidgetLabel'])?'['+F['map'](I=>I['toString']())['join']()+']':'['+F['join']();}this['setAttribute'](D['LabelsPriority'],H);}['setContentIds'](F,G){this['setReloadData'](G),this['setAttribute'](D['StoryIds'],F['join']());}['reload'](){this['shouldReloadData']=!0x0,this['reloadLogic']();}['reloadLogic'](){this['shouldReloadData']&&this['loadStories']();}['setReloadData'](F){this['shouldReloadData']='object'!=typeof F||!F['hasOwnProperty']('shouldReloadData')||'boolean'!=typeof F['shouldReloadData']||F['shouldReloadData'];}['updateWidgetUI'](){}['setMaxItemsDisplaySize'](F){}['setDelegations'](F){for(const G in F)this['addEventListener'](G,F[G]);}['updateOverrideStyles'](F){}['setId'](F){this['id']='widget-embedded-story-'+F;}['setMaxItemsSize'](F){this['setAttribute'](D['MaxItems'],F['toString']());}get['currentStoryPlayer'](){return this['contents'][this['currentStoryPlayerIndex']];}['loadStories'](){return m(this,void 0x0,void 0x0,function*(){var F,G;z['EventService']['dispatch'](this,y['Delegation']['onWidgetDataLoadStarted'],{'widgetId':this['id']}),this['removeCurrentStoryPlayer'](),this['showSkeleton'](),this['contents']=[];const H=this['getAttribute'](D['MaxItems']),I=this['getAttribute'](D['Labels']),J=this['getAttribute'](D['OrderType']),K=this['getAttribute'](D['StoryIds']),L=null==K?void 0x0:K['split'](','),M=this['getAttribute'](D['LabelsPriority']),{data:N}=(null==L?void 0x0:L['length'])&&!I?yield z['ApiService']['getStoriesByIds']({'ids':L,'orderType':J}):yield z['ApiService']['getStoriesByLabels']({'labels':I,'orderType':J,'maxItems':H,'labelsPriority':M});this['defaultAdsInfo']=null==N?void 0x0:N['defaultAdsInfo'];let O=null!==(F=null==N?void 0x0:N['result'])&&void 0x0!==F?F:[];const P=Object['assign'](Object['assign']({},this['theme']['playerStyle']),{'iconsPosition':'VERTICAL','iconsButtonPadding':'7px'});try{O=yield z['DatabaseService']['enrichStories'](O),O['forEach'](R=>{R['hasViewed']=(0x0,B['isReadByLastUnIgnoredPageStatus'])(R);});}catch(R){z['EventService']['dispatch'](this,y['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':y['ErrorCode']['FailedEnrichStories']});}this['getAttribute']('should-order-widget-by-read-status')&&'Manual'!==J&&O['sort']((S,T)=>{const U=S['hasViewed']?0x1:0x2;return (T['hasViewed']?0x1:0x2)-U;}),O['forEach']((S,T)=>{var U,V,W,X;const Y=new C['BlazeWidgetStory'](P,'Embedded',void 0x0,(null===(U=this['parentElement'])||void 0x0===U?void 0x0:U['clientWidth'])&&(null===(V=this['parentElement'])||void 0x0===V?void 0x0:V['clientHeight'])&&(null===(W=this['parentElement'])||void 0x0===W?void 0x0:W['clientWidth'])>=(null===(X=this['parentElement'])||void 0x0===X?void 0x0:X['clientHeight'])?'Horizontal':'Vertical');Y['startTrigger']='Embedded\x20Player\x20in\x20Viewport',Y['setData'](S),Y['resetStoryLocationIndexToLastUnseen'](),this['contents']['push'](Y),z['AdService']['pushAdsBetweenStories'](this['defaultAdsInfo'],this['contents'],O,T,0x0,P,'Embedded');}),this['contents']['forEach'](S=>{S['refWidget']=this['contents'];});const Q=this['contents']['at'](0x0);Q&&(Q['shouldShowImaAdOnStart']=!0x1),this['setCurrentStoryPlayer'](0x0),null===(G=this['currentStoryPlayer'])||void 0x0===G||G['currentPage']['startEnter'](),z['EventService']['dispatch'](this,y['Delegation']['onWidgetDataLoadCompleted'],{'widgetId':this['id'],'storyCount':O['length']}),this['hideSkeleton'](),this['stories']=O;});}['setCurrentStoryPlayer'](F,G){var H;null===(H=this['currentStoryPlayer'])||void 0x0===H||H['currentPage']['endExit'](),this['removeCurrentStoryPlayer'](),this['isCurrentPlayerFirstPlay']=!0x0;const I=F<0x0,J=F>=this['contents']['length'];I||J?(this['currentStoryPlayerIndex']=0x0,J&&this['contents']['forEach'](K=>K['resetStoryLocationIndexToLastUnseen']())):this['currentStoryPlayerIndex']=F,this['currentStoryPlayer']&&(isNaN(Number(G))||(this['currentStoryPlayer']['pageIndex']=null!=G?G:0x0),this['appendChild'](this['currentStoryPlayer']),this['currentStoryPlayer']['load'](),this['isIntersecting']&&(this['isCurrentPlayerFirstPlay']?(this['isCurrentPlayerFirstPlay']=!0x1,this['currentStoryPlayer']['play']()):this['currentStoryPlayer']['playToggle']({'customIsPlaying':!0x1})),this['currentStoryPlayer']['currentPage']['startEnter'](),this['currentStoryPlayer']['currentPage']['endEnter']());}['handleIntersection'](F){const G=F['find'](H=>H['target']===this);G&&(this['isIntersecting']=G['isIntersecting'],this['currentStoryPlayer']&&(this['isIntersecting']?this['playCurrentStoryPage']():this['pauseCurrentStoryPage']()));}['nextStory'](){var F,G,H;null===(G=null===(F=this['currentStoryPlayer'])||void 0x0===F?void 0x0:F['pages']['at'](-0x1))||void 0x0===G||G['pause'](),null===(H=this['currentStoryPlayer'])||void 0x0===H||H['currentPage']['startExit'](),this['setCurrentStoryPlayer'](this['currentStoryPlayerIndex']+0x1);}['prevStory'](){var F,G,H;null===(G=null===(F=this['currentStoryPlayer'])||void 0x0===F?void 0x0:F['pages']['at'](0x0))||void 0x0===G||G['pause'](),null===(H=this['currentStoryPlayer'])||void 0x0===H||H['currentPage']['startExit'](),this['setCurrentStoryPlayer'](this['currentStoryPlayerIndex']-0x1);}['removeCurrentStoryPlayer'](){var F;null===(F=this['currentStoryPlayer'])||void 0x0===F||F['remove']();}['createModal'](){this['updatePlayerStyle']();const F=this['modal']?this['modal']:new q['BlazeWidgetStoryModal'](this,this['theme']['playerStyle']);return this['modal']&&this['modal']['setTheme'](this['theme']['playerStyle']),F['setModalContent'](this['stories'],0x0,this['defaultAdsInfo']),F['onClose']=this['handleModalClose']['bind'](this),F;}['handleModalClose'](F){if(z['VideoPlayerService']['isPlaying']=!0x0,null==F?void 0x0:F['storyId']){const G=this['contents']['findIndex'](I=>I['data']['id']===F['storyId']);if(-0x1===G)return;const H=this['contents'][G]['shouldShowImaAdOnStart'];this['contents'][G]['shouldShowImaAdOnStart']=!0x1,this['setCurrentStoryPlayer'](G,null==F?void 0x0:F['pageIndex']),this['contents'][G]['shouldShowImaAdOnStart']=H;}}['updatePlayerStyle'](){const F=(0, B['mergeDeep'])(A['ThemeFactory']['create']('default')['playerStyle'],z['ConfigService']['playerStyleCustomization']);(0, B['applyPlayerStyleChanges'])(A['ThemeFactory']['create']('default')['playerStyle'],F,this['theme']['playerStyle'],{'GLOBAL':[],'LOCAL':[]});}['openFullscreen'](){this['currentStoryPlayer']&&(this['pauseCurrentStoryPage'](),this['modal']=this['createModal'](),this['appendModalToBlazeSDK'](this['modal']),this['modal']['seek'](this['currentStoryPlayer']['data']['id']),this['modal']['open']({'pageIndex':this['currentStoryPlayer']['pageIndex']}));}['appendModalToBlazeSDK'](F){const G=document['getElementsByTagName']('blaze-sdk')[0x0];G&&G['append'](F);}['onFullScreenClickHandler'](F){F['stopPropagation'](),this['openFullscreen']();}['pauseCurrentStoryPage'](){var F,G,H,I,J;(null===(F=this['currentStoryPlayer'])||void 0x0===F?void 0x0:F['currentPage']['paused'])||(null===(G=this['currentStoryPlayer'])||void 0x0===G||G['playToggle']({'customIsPlaying':!0x0}),(null===(H=this['currentStoryPlayer'])||void 0x0===H?void 0x0:H['currentPage']['isCurrentlyTryingToRunImaAd'])&&(null===(J=null===(I=this['currentStoryPlayer'])||void 0x0===I?void 0x0:I['currentPage']['adsManager'])||void 0x0===J||J['pause']()));}['playCurrentStoryPage'](){var F,G,H,I,J,K,L,M,N;if(!this['isIntersecting'])return;if(!(null===(F=this['currentStoryPlayer'])||void 0x0===F?void 0x0:F['currentPage']['paused']))return;const O=(null===(G=this['currentStoryPlayer'])||void 0x0===G?void 0x0:G['currentPage']['isCurrentlyTryingToRunImaAd'])||'Ad'===(null===(I=null===(H=this['currentStoryPlayer'])||void 0x0===H?void 0x0:H['currentPage']['data'])||void 0x0===I?void 0x0:I['type']);(null===(J=this['currentStoryPlayer'])||void 0x0===J?void 0x0:J['currentPage']['isCurrentlyTryingToRunImaAd'])&&(null===(L=null===(K=this['currentStoryPlayer'])||void 0x0===K?void 0x0:K['currentPage']['adsManager'])||void 0x0===L||L['resume']()),O||(z['VideoPlayerService']['isPlaying']=!0x0,this['isCurrentPlayerFirstPlay']?(this['isCurrentPlayerFirstPlay']=!0x1,null===(M=this['currentStoryPlayer'])||void 0x0===M||M['play']()):null===(N=this['currentStoryPlayer'])||void 0x0===N||N['playToggle']({'customIsPlaying':!0x1}));}['onCustomNativeAdEnded'](){var F;this['isIntersecting']||null===(F=this['currentStoryPlayer'])||void 0x0===F||F['pause']();}['onVastAdResumedEnded'](){var F,G;this['isIntersecting']||null===(G=null===(F=this['currentStoryPlayer'])||void 0x0===F?void 0x0:F['currentPage']['adsManager'])||void 0x0===G||G['pause']();}['showSkeleton'](){var F,G,H,I;this['skeleton']||(this['skeleton']=new x['BlazeWidgetItemSkeleton'](this['theme']['layoutStyle'],null!==(G=null===(F=this['parentElement'])||void 0x0===F?void 0x0:F['clientWidth'])&&void 0x0!==G?G:0x0,null!==(I=null===(H=this['parentElement'])||void 0x0===H?void 0x0:H['clientHeight'])&&void 0x0!==I?I:0x0,0x0),this['appendChild'](this['skeleton']));}['hideSkeleton'](){this['skeleton']&&(this['removeChild'](this['skeleton']),this['skeleton']=void 0x0);}['onPlayerDidAppear'](F){this['onOtherModalOpenedClosed'](F,()=>this['pauseCurrentStoryPage']());}['onPlayerDismissed'](F){this['onOtherModalOpenedClosed'](F,()=>this['playCurrentStoryPage']());}['onOtherModalOpenedClosed'](F,G){const H=F;this['id']!==H['detail']['widgetId']&&G();}}j['BlazeWidgetEmbeddedStory']=E;},0x565:function(f,g,h){var j=this&&this['__awaiter']||function(x,y,z,A){return new(z||(z=Promise))(function(B,C){function D(G){try{F(A['next'](G));}catch(H){C(H);}}function E(G){try{F(A['throw'](G));}catch(H){C(H);}}function F(G){var H;G['done']?B(G['value']):(H=G['value'],H instanceof z?H:new z(function(I){I(H);}))['then'](D,E);}F((A=A['apply'](x,y||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetInteraction']=void 0x0;const k=h(0x1133),m=h(0x1932),p=h(0x25e6),q=h(0x26ed),u=h(0x11c1),v=h(0x2432);class w extends k['BaseWidget']{constructor(){super(...arguments),this['iframe']=document['createElement']('iframe'),this['isIframeLoaded']=!0x1,this['isInitialized']=!0x1,this['isActive']=!0x1,this['shouldForceHide']=!0x1,this['responseHandler']=this['onUserResponse']['bind'](this),this['focusMainWindowHandler']=this['focusMainWindow']['bind'](this),this['orientationChangeHandler']=this['orientationChange']['bind'](this);}['connectedCallback'](){(0, v['mergeStyles'])(this,{'position':'relative','display':'block','width':'100%','overflow':'hidden','borderRadius':'mobile'===k['deviceDetector']['platform']?'0px':'20px'});}['loadInteraction'](z){var B,D,F,G,H,J,K,L,N,O,Q,R,U,V,W,X,Y,Z,a0,a1,a2,a3;this['interaction']=z,this['iframe']['id']='interaction-'+this['interaction']['id'],this['iframe']['src']=this['interaction']['htmlUrl'],this['iframe']['onload']=()=>{this['isIframeLoaded']=!0x0,!this['isInitialized']&&this['isActive']&&this['initInteraction']();},window['addEventListener']('blur',this['focusMainWindowHandler']),this['orientationChangeHandler'](),window['addEventListener']('resize',this['orientationChangeHandler']);const a4=(0, v['isCssPropertySupported'])('aspectRatio');(0, v['mergeStyles'])(this['iframe'],{'position':'absolute','border':'none','zIndex':m['Z_INDEX']['interaction']}),this['isActive']?this['showIframe']():this['hideIframe']();const {bounds:a5}=z;if(a5){a4&&'Player'===(null===(B=a5['position'])||void 0x0===B?void 0x0:B['yRelativeTo'])?this['style']['aspectRatio']=m['ASPECT_RATIO_9_16_STRING']:this['style']['height']='100%';const a6='translateX('+('RTL'===u['ConfigService']['layoutDirection']?-0x1:0x1)*(null!==(F=null===(D=a5['position'])||void 0x0===D?void 0x0:D['xOffset'])&&void 0x0!==F?F:0x0)+'px)\x20translateY('+(null!==(H=null===(G=a5['position'])||void 0x0===G?void 0x0:G['yOffset'])&&void 0x0!==H?H:'0')+'px)',a7={'BottomToTop':{},'TopToTop':{'top':(null!==(K=null===(J=a5['position'])||void 0x0===J?void 0x0:J['yOffset'])&&void 0x0!==K?K:'0')+'px'},'BottomToBottom':{'bottom':(null!==(N=null===(L=a5['position'])||void 0x0===L?void 0x0:L['yOffset'])&&void 0x0!==N?N:'0')+'px'},'TopToBottom':{},'CenterToTop':{},'CenterToBottom':{},'CenterY':{'top':'0','bottom':'0','marginTop':'auto','marginBottom':'auto','transform':a6}},a8={'StartToStart':{'insetInlineStart':(null!==(Q=null===(O=a5['position'])||void 0x0===O?void 0x0:O['xOffset'])&&void 0x0!==Q?Q:'0')+'px'},'EndToEnd':{'insetInlineEnd':(null!==(U=null===(R=a5['position'])||void 0x0===R?void 0x0:R['xOffset'])&&void 0x0!==U?U:'0')+'px'},'StartToEnd':{},'EndToStart':{},'CenterToStart':{},'CenterToEnd':{},'CenterX':{'insetInlineStart':'0','insetInlineEnd':'0','marginInline':'auto','transform':a6}};(0, v['mergeStyles'])(this['iframe'],Object['assign'](Object['assign'](Object['assign']({},a7[null!==(W=null===(V=a5['position'])||void 0x0===V?void 0x0:V['yPosition'])&&void 0x0!==W?W:'TopToTop']),a8[null!==(Y=null===(X=a5['position'])||void 0x0===X?void 0x0:X['xPosition'])&&void 0x0!==Y?Y:'StartToStart']),{'height':(null===(Z=a5['size'])||void 0x0===Z?void 0x0:Z['absoluteHeight'])?a5['size']['absoluteHeight']+'px':0x64*(null!==(a1=null===(a0=a5['size'])||void 0x0===a0?void 0x0:a0['heightRatio'])&&void 0x0!==a1?a1:0x0)+'%','width':(null===(a2=a5['size'])||void 0x0===a2?void 0x0:a2['widthRatio'])?0x64*a5['size']['widthRatio']+'%':(null===(a3=a5['size'])||void 0x0===a3?void 0x0:a3['absoluteWidth'])+'px'}));}else a4?this['style']['aspectRatio']=m['ASPECT_RATIO_9_16_STRING']:this['style']['height']='100%',(0, v['mergeStyles'])(this['iframe'],{'top':0x64*this['interaction']['topOffset']+'%','insetInlineStart':0x64*this['interaction']['leftOffset']+'%','height':0x64*this['interaction']['relativeHeight']+'%','width':0x64*this['interaction']['relativeWidth']+'%'});this['appendChild'](this['iframe']);}['showInteraction'](x){this['interaction']||(this['interaction']=x),this['interaction']&&!this['isActive']&&(this['pushAnalyticsEvent'](m['InteractionAction']['VIEW'],{'client_enrichment_url':this['interaction']['clientEnrichmentUrl']}),this['isActive']=!0x0,this['isIframeLoaded']&&!this['isInitialized']&&this['initInteraction'](),this['shouldForceHide']||this['showIframe'](),window['addEventListener']('message',this['responseHandler']));}['hideInteraction'](){this['interaction']&&this['isActive']&&(this['isActive']=!0x1,this['isInitialized']=!0x1,this['hideIframe'](),window['removeEventListener']('message',this['responseHandler']));}['unloadInteraction'](){this['isIframeLoaded']=!0x1,this['iframe']['remove'](),window['removeEventListener']('blur',this['focusMainWindowHandler']),window['removeEventListener']('message',this['responseHandler']),window['removeEventListener']('resize',this['orientationChangeHandler']);}['onUserResponse'](x){return j(this,void 0x0,void 0x0,function*(){if(this['interaction']&&this['isActive']&&x['source']===this['iframe']['contentWindow'])switch(x['data']['type']){case'USER_RESPONSE':u['InteractionService']['updateInteraction']({'id':this['interaction']['id'],'initData':x['data']['data']['newInitData'],'userResponse':x['data']['data']['userResponse']}),u['ApiService']['sendInteractionResponse']({'interactionId':this['interaction']['id'],'interactionType':this['interaction']['type'],'responseId':x['data']['data']['userResponse']}),this['pushAnalyticsEvent'](m['InteractionAction']['ANSWER'],{'interaction_selected_answer':x['data']['data']['userResponse']});break;case'hapticFeedback':case'USER_VIBRATE':const y=x['data']['data']['type'];'vibrate'in navigator&&navigator['vibrate'](p['ANSWER_FEEDBACK_VIBRATE_PATTERNS'][y]);break;case'play':this['dispatchEvent'](new CustomEvent(q['InternalEvent']['RESUME'],{'bubbles':!0x0}));break;case'pause':this['dispatchEvent'](new CustomEvent(q['InternalEvent']['PAUSE'],{'bubbles':!0x0}));break;case'goToNextPage':this['dispatchEvent'](new CustomEvent(q['InternalEvent']['NEXT_PAGE'],{'bubbles':!0x0}));break;case'goToPreviousPage':this['dispatchEvent'](new CustomEvent(q['InternalEvent']['PREVIOUS_PAGE'],{'bubbles':!0x0}));break;case'setAppContext':u['ConfigService']['appContext']=x['data']['data'];}});}['pushAnalyticsEvent'](x,y){if(!this['interaction'])return;const z={'action':x,'body':Object['assign']({'interaction_id':this['interaction']['id'],'interaction_type':this['interaction']['type'],'interaction_text':this['interaction']['initData']},y)};this['dispatchEvent'](new CustomEvent(p['INTERACTION_ANALYTICS'],{'detail':z}));}['focusMainWindow'](){document['activeElement']===this['iframe']&&setTimeout(()=>{window['focus']();},0x0);}['initInteraction'](){return j(this,void 0x0,void 0x0,function*(){var x;if(!this['interaction'])return;let y,z;try{const A=yield u['InteractionService']['getInteraction'](this['interaction']['id']);y=null==A?void 0x0:A['initData'],z=null==A?void 0x0:A['userResponse'];}catch(B){}y=null!=y?y:this['interaction']['initData'],null===(x=this['iframe']['contentWindow'])||void 0x0===x||x['postMessage']({'type':'invokeInitInteraction','initData':JSON['parse'](y),'designOverrides':JSON['parse'](this['interaction']['designOverridesStr']),'userAnswer':z,'userContext':u['ConfigService']['appContext']},'*'),this['isInitialized']=!0x0;});}['orientationChange'](){this['shouldForceHide']='mobile'===k['deviceDetector']['platform']&&'landscape'===k['deviceDetector']['screenOrientation'],this['isActive']&&(this['shouldForceHide']?this['hideIframe']():this['showIframe']());}['hideIframe'](){this['iframe']['style']['visibility']='hidden',this['iframe']['style']['pointerEvents']='none';}['showIframe'](){this['iframe']['style']['visibility']='visible',this['iframe']['style']['pointerEvents']='auto';}}g['BlazeWidgetInteraction']=w;},0x1492:(f,g,h)=>{Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetItem']=void 0x0;const j=h(0x1133),k=h(0x1932),m=h(0x22d9),p=h(0x11c1),q=h(0xdf6),u=h(0x2432);class v extends j['BaseWidget']{get['parentRef'](){let w=this['parentElement'];const x=this['getRootNode']();return x instanceof ShadowRoot&&(w=x['host']),w;}constructor(w){super(),this['options']=w,this['thumbnailString']='',this['analyticsCalls']={},this['chipType']='statusReadStyle',this['statusIndicatorSettings']={'backgroundColor':'#ffffff','backgroundImage':'none','textColor':'#fffff','font':'initial','textSize':'10px','letterSpacing':'initial','borderRadius':'initial','borderColor':'#ffffff','thumbnailBorderColor':'#ffffff','text':'','borderWidth':0x2,'isVisible':!0x1,'padding':'3px\x209px'},this['paddingItem']={'top':'0','left':'0','right':'0','bottom':'0'},this['debouncedIntersectionAction']=(0, j['debounce'])(()=>{this['parentRef']['setFirstVisibleItem'](),this['parentRef']['currentlyAnimatedItem']=this['parentRef']['firstVisibleItem'],this['parentRef']['widgetItems']['forEach'](z=>{null==z||z['loadNewThumbnail']();});},0x3e8);const {layout:x,content:y}=w;this['content']=y,this['layoutStyle']=x,this['statusIndicatorSettings']['borderRadius']='Circle'===this['layoutStyle']['thumbnailShape']?'50%':'0',this['statusIndicatorSettings']['borderWidth']=this['layoutStyle']['borderWidth'],this['thumbnailType']=this['layoutStyle']['thumbnailType'],this['setAttribute']('title',y['title']),this['wrapper']=m['WidgetsFactory']['create']('blaze-div'),this['container']=m['WidgetsFactory']['create']('blaze-div'),this['label']=m['WidgetsFactory']['create']('blaze-div'),this['labelBackground']=m['WidgetsFactory']['create']('blaze-div'),this['labelContainer']=m['WidgetsFactory']['create']('blaze-div'),this['thumbnail']=m['WidgetsFactory']['create']('blaze-image'),this['chip']=m['WidgetsFactory']['create']('blaze-chip'),this['badge']=m['WidgetsFactory']['create']('blaze-chip'),this['intersectionObserver']=new IntersectionObserver(this['handleIntersection']['bind'](this),{'root':this['parentRef'],'threshold':[0x0,0.01,0.99,0x1]}),this['boundOnWidgetClick']=this['handleWidgetClick']['bind'](this);}['initializeWidget'](){this['thumbnailType']=(0, q['thumbnailMapping'])(this['layoutStyle']['thumbnailType']),this['setupDOMElements'](),this['setData'](this['content']),this['setupEventListeners'](),this['intersectionObserver']['observe'](this);}['connectedCallback'](){(0, u['setId'])(this,'blaze-widget-item'),this['setAttribute']('data-testid','blaze-widget-item-'+this['content']['id']),this['initializeWidget'](),this['updateLabel'](),this['setChipStyle'](),this['render']();}['updateWidget'](){var w;null===(w=this['parentRef'])||void 0x0===w||w['updateWidgetsData']();}['updateWidgetItemPadding'](){var w;null===(w=this['parentRef'])||void 0x0===w||w['setMaxPaddingOnWidgetItems']();}['updateWidgetItemStyle'](w){this['resetWidgetItemStyles'](),this['setTheme'](w);}['setupDOMElements'](){this['setStyle']({'display':'grid','position':'relative','cursor':'pointer'}),this['wrapper']['setStyle']({'position':'relative','display':'grid'}),this['container']['setStyle']({'background':'transparent','position':'relative','display':'grid'}),this['labelBackground']['setStyle']({'position':'absolute','top':'0','right':'0','bottom':'0','left':'0','height':'33.34%','borderRadius':'inherit','display':'none'}),this['thumbnail']['setStyle']({'lineHeight':'0'}),this['label']['setStyle']({'margin':'0px','justifySelf':'center','justifyContent':'center','textAlign':'center','overflow':'hidden','boxSizing':'border-box','fontWeight':this['layoutStyle']['labelStyle']['fontWeight'],'width':'100%','color':'transparent','borderRadius':'4px','maxWidth':'max(50%,\x2048px)','maxHeight':'24px'}),this['labelContainer']['setStyle']({'display':'inline-block'}),(0, u['mergeStyles'])(this['chip'],{'display':this['isLive']?'inline':'none','transform':'unset','fontWeight':'bold','inset':'unset'}),(0, u['mergeStyles'])(this['badge'],{'justifyContent':'center','alignItems':'center','inset':'unset'}),this['append'](this['wrapper']),this['container']['append'](this['labelBackground']),this['container']['append'](this['thumbnail']),this['wrapper']['append'](this['container']),this['labelContainer']['append'](this['label']),this['container']['append'](this['chip']),this['container']['append'](this['badge']);}['setupEventListeners'](){this['addEventListener']('click',this['boundOnWidgetClick']);}['handleWidgetClick'](){var w;this['event'](k['WidgetAction']['Click'],{}),null===(w=this['onClick'])||void 0x0===w||w['call'](this);}['disconnectedCallback'](){this['removeEventListener']('click',this['boundOnWidgetClick']),this['intersectionObserver']['disconnect']();}['handleIntersection'](){this['parentRef']['isAnimatedThumbnail']()&&this['debouncedIntersectionAction']();}['setData'](w){this['content']=w,this['content']&&this['label']&&(this['label']['textContent']=this['content']['title']),'isLive'in this['content']&&(this['isLive']=this['content']['isLive']),this['parentRef']['isAnimatedThumbnail']()&&this['parentRef']['widgetItems'][0x0]===this&&(this['parentRef']['currentlyAnimatedItem']=this),this['thumbnailString']=this['getThumbnailUrl'](),this['thumbnail']['setAccessibility'](this['content']['title']),this['thumbnail']['load'](this['thumbnailString']);}['isFullyVisibleInParent'](){const w=this['getBoundingClientRect'](),x=this['parentRef']['getBoundingClientRect']();return w['top']>=x['top']&&w['bottom']<=x['bottom']&&w['left']>=x['left']&&w['right']<=x['right'];}['loadNewThumbnail'](){const w=this['getThumbnailUrl']();if(this['thumbnailString']===w)return;const x=new Image();x['src']=w,x['onload']=()=>{this['thumbnail']['load'](w),this['thumbnailString']=w;};}['getThumbnailUrl'](){var w,x,y,z,A,B,C,D;let E,F=null===(y=null===(x=null===(w=this['content'])||void 0x0===w?void 0x0:w['thumbnails'][0x0])||void 0x0===x?void 0x0:x['rendition'])||void 0x0===y?void 0x0:y['url'];return E='AnimatedThumbnailPoster'===this['thumbnailType']?this['parentRef']['currentlyAnimatedItem']===this?'Gif':'AnimatedThumbnailPoster':this['thumbnailType'],F=null!==(D=null===(C=null===(B=null===(A=null===(z=this['content'])||void 0x0===z?void 0x0:z['thumbnails'])||void 0x0===A?void 0x0:A['find'](G=>G['type']==E))||void 0x0===B?void 0x0:B['rendition'])||void 0x0===C?void 0x0:C['url'])&&void 0x0!==D?D:F,F||'';}['setThumbnailBorderColor'](w){this['container']['setStyle']({'borderColor':w});}['updateLabel'](){this['label']['setStyle']({'color':this['layoutStyle']['labelStyle']['color'],'background':'initial','borderRadius':'initial','maxWidth':'initial','maxHeight':'initial'}),this['labelBackground']['setStyle']({'display':'block'});}['resetWidgetItemStyles'](){this['paddingItem']={'top':'0','left':'0','right':'0','bottom':'0'},this['chip']['setStyle']({'top':'initial','bottom':'initial','left':'initial','right':'initial','transform':'initial','alignSelf':'initial','display':'none'}),this['badge']['setStyle']({'top':'initial','bottom':'initial','left':'initial','right':'initial','transform':'initial','alignSelf':'initial','display':'none','padding':'0'}),this['wrapper']['setStyle']({'padding':'0'});}['updateContainerStyles'](){const {borderWidth:w,borderRadius:x,borderPadding:y}=this['layoutStyle'],{thumbnailBorderColor:z,backgroundColor:A}=this['statusIndicatorSettings'],B=w!==this['statusIndicatorSettings']['borderWidth']?this['statusIndicatorSettings']['borderWidth']:w;this['container']['style']['borderWidth']=B+'px',this['container']['style']['borderStyle']='solid',this['container']['style']['borderRadius']=x,this['container']['style']['padding']=y+'px';const C=z||A;this['setThumbnailBorderColor'](C);}['updateLabelStyles'](){const w=this['layoutStyle']['labelStyle'],x=w['position']['startsWith']('inside'),y=w['position']['startsWith']('outside');this['label']['setStyle']({'fontFamily':w['font'],'fontDisplay':'swap','fontSize':w['fontSize'],'lineHeight':w['height']+'px'}),this['labelContainer']['setStyle']({'padding':w['padding']}),0x1===this['layoutStyle']['lines']?this['label']['setStyle']({'display':'block','textOverflow':'ellipsis','whiteSpace':'nowrap','wordBreak':this['layoutStyle']['wordBreak'],'maxWidth':this['clientWidth']+'px'}):(this['label']['setStyle']({'textOverflow':'initial','whiteSpace':'initial'}),this['label']['style']['display']='-webkit-box',this['label']['style']['webkitLineClamp']=this['layoutStyle']['lines']['toString'](),this['label']['style']['webkitBoxOrient']='vertical',this['label']['style']['wordBreak']=this['layoutStyle']['wordBreak']),w['isVisible']||(this['label']['style']['display']='none',this['labelBackground']['style']['display']='none'),y&&this['updateOutsideLabelStyles'](w),x&&this['updateInsideLabelStyles'](w);}['updateInsideLabelStyles'](w){const {isInside:x,isTop:y,isMiddle:z,isBottom:A,isLeft:B,isRight:C}=(0, u['calculatePosition'])(w['position']);switch(this['style']['gap']='0px',this['container']['appendChild'](this['labelContainer']),this['labelContainer']['setStyle']({'position':'absolute','gridRow':'unset','width':'-webkit-fill-available'}),this['labelBackground']['setStyle']({'background':'#000'}),!0x0){case x&&y:this['labelContainer']['setStyle']({'alignSelf':'start'}),this['labelBackground']['style']['top']='0',this['labelBackground']['style']['background']='linear-gradient(to\x20bottom,\x20rgba(0,0,0,1),\x20rgba(0,0,0,0))',this['labelBackground']['style']['background']='-webkit-linear-gradient(top,\x20rgba(0,0,0,1),\x20rgba(0,0,0,0))';break;case x&&z:this['labelContainer']['setStyle']({'alignSelf':'center'}),this['labelBackground']['style']['top']='33.34%',this['labelBackground']['style']['background']='linear-gradient(to\x20bottom,\x20rgba(0,0,0,0),\x20rgba(0,0,0,1),\x20rgba(0,0,0,0))',this['labelBackground']['style']['background']='-webkit-linear-gradient(top,\x20rgba(0,0,0,0),\x20rgba(0,0,0,1),\x20rgba(0,0,0,0))';break;case x&&A:this['labelContainer']['setStyle']({'alignSelf':'end'}),this['labelBackground']['style']['top']='66.67%',this['labelBackground']['style']['background']='linear-gradient(to\x20bottom,\x20rgba(0,0,0,0),\x20rgba(0,0,0,1))',this['labelBackground']['style']['background']='-webkit-linear-gradient(top,\x20rgba(0,0,0,0),\x20rgba(0,0,0,1),\x20rgba(0,0,0,0));';}switch(w['backgroundColor']&&(this['labelBackground']['style']['background']=w['backgroundColor']),!0x0){case x&&B:this['label']['setStyle']({'textAlign':w['textAlign']||'start'});break;case x&&C:this['label']['setStyle']({'textAlign':w['textAlign']||'end'});break;default:this['label']['setStyle']({'textAlign':w['textAlign']||'center'});}}['updateOutsideLabelStyles'](w){const x='outsideBottom'===w['position'],y='outsideTop'===w['position'];switch(this['appendChild'](this['labelContainer']),this['labelContainer']['setStyle']({'position':'initial'}),this['labelBackground']['setStyle']({'display':'none'}),this['style']['gap']=(w['isVisible']?w['gap']:0x0)+'px',!0x0){case x:this['labelContainer']['setStyle']({'gridRow':'2'}),this['setStyle']({'gridTemplateRows':'min-content\x20min-content','gridTemplateColumns':'initial'}),this['container']['setStyle']({'alignContent':'flex-start'});break;case y:this['labelContainer']['setStyle']({'gridRow':'1'}),this['setStyle']({'gridTemplateRows':'min-content\x20min-content','gridTemplateColumns':'initial','alignContent':'space-between'}),this['container']['setStyle']({'alignSelf':'flex-end'});}w['textAlign']&&this['label']['setStyle']({'textAlign':w['textAlign']});}['updateThumbnailStyles'](){if(this['layoutStyle']&&this['thumbnail']){const w=(0, u['checkAspectRatios'])(this['layoutStyle']['itemRatio']);'16/9'===w?this['thumbnail']['setHeight']('-webkit-fill-available'):'9/16'===w&&this['thumbnail']['setHeight']('100%'),this['thumbnail']['setStyle']({'aspectRatio':this['layoutStyle']['itemRatio']['toString'](),'borderRadius':this['layoutStyle']['borderRadius']});}}['updateStatusIndicatorStyle'](w){const x='chip'===w?this['statusIndicatorSettings']:this['layoutStyle']['badgeIndicatorStyle'],z='chip'===w?this['layoutStyle']['statusIndicatorPosition']:this['layoutStyle']['badgePosition'],A='chip'===w?this['chip']:this['badge'];if(!x['isVisible'])return void(A['style']['display']='none');'badge'===w&&this['layoutStyle']['badgeIndicatorStyle']['padding']&&(A['style']['padding']=this['layoutStyle']['badgeIndicatorStyle']['padding'],A['style']['zIndex']='1');const {isOutside:B,isInside:C,isTop:D,isMiddle:E,isBottom:F,isLeft:G,isRight:H}=(0, u['calculatePosition'])(z);let I=0x0,J=0x0;if('badge'===w)x['width']&&(J=Math['floor'](x['width']/0x2)),x['height']&&(I=Math['floor'](x['height']/0x2));else {const N=(0, u['createChip'])(this['statusIndicatorSettings']);J=Math['floor'](N['width']/0x2),I=Math['floor'](N['height']/0x2);}const K='Circle'===this['layoutStyle']['thumbnailShape'],L=this['statusIndicatorSettings']['borderWidth'],M='badge'===w?x['borderWidth']:this['statusIndicatorSettings']['borderWidth'];B?this['handleOutsidePosition']({'isTop':D,'isBottom':F,'isLeft':G,'isRight':H,'height':I,'width':J,'isCircleThumbnail':K,'borderWidthElement':M,'borderWidthThumbnail':L},A):C&&this['handleInsidePosition']({'isTop':D,'isMiddle':E,'isBottom':F,'isLeft':G,'isRight':H,'height':I,'isCircleThumbnail':K,'borderWidthElement':M,'borderWidthThumbnail':L},A),this['applyCommonStyles'](w);}['handleOutsidePosition'](w,x){const {isTop:y,isBottom:z,isLeft:A,isRight:B,height:C,width:D,isCircleThumbnail:E,borderWidthElement:F,borderWidthThumbnail:G}=w;if(y?(x['style']['top']='-'+C+'px',B||A||(this['wrapper']['style']['paddingTop']=C-G+'px',this['paddingItem']['top']=C-G+'px')):z&&(x['style']['bottom']='-'+C+'px',B||A||(this['wrapper']['style']['paddingBottom']=C-G+'px',this['paddingItem']['bottom']=C-G+'px')),A||B){const H=A?'left':'right',I=z||y,J=E&&I?'0':'-'+D+'px',K=A?'paddingLeft':'paddingRight';x['setStyle']({[H]:J,'alignSelf':'center'});const L=E&&I?'0':D+'px';if(this['wrapper']['setStyle']({[K]:L}),this['paddingItem'][H]=L,z||y){const M=z?'bottom':'top';x['setStyle']({[M]:E?'0':'-'+C+'px'});const N=z?'paddingBottom':'paddingTop';this['wrapper']['setStyle']({[N]:E?'0':C+'px'}),this['paddingItem'][M]=L;}}}['handleInsidePosition'](w,x){const {isTop:y,isMiddle:z,isBottom:A,isLeft:B,isRight:C,isCircleThumbnail:D}=w,E={},F=(0, u['calculatePercentage'])(0x5,this['container']),G=(0, u['calculatePercentage'])(0xf,this['container']);(y||A)&&(E['top']=y?D?z?F:G:'4px':'',E['bottom']=A?D?z?F:G:'4px':''),z&&(E['alignSelf']='center'),(B||C)&&(E['left']=B?D?z?F:G:'4px':'',E['right']=C?D?z?F:G:'4px':''),B||C||y||A||(E['textAlign']='center'),x['setStyle'](E);}['applyCommonStyles'](w){var x,y,z,A;const B='chip'===w?this['statusIndicatorSettings']:this['layoutStyle']['badgeIndicatorStyle'],C='chip'===w?this['chip']:this['badge'],D={'fontSize':B['textSize'],'backgroundColor':B['backgroundColor'],'borderColor':B['borderColor'],'borderWidth':B['borderWidth']+'px','borderRadius':B['borderRadius'],'color':B['textColor'],'letterSpacing':B['letterSpacing'],'fontFamily':B['font'],'fontDisplay':'swap','padding':B['padding']};if('badge'===w&&(D['height']=B['height']+'px',D['width']=B['width']+'px'),'none'!==B['backgroundImage']&&(new Image()['src']=B['backgroundImage'],D['backgroundImage']='url(\x27'+B['backgroundImage']+'\x27)',D['backgroundSize']='cover',D['backgroundRepeat']='no-repeat',D['backgroundPosition']='center'),B['positionOffset']&&(D['marginLeft']=null!==(x=B['positionOffset']['left'])&&void 0x0!==x?x:null,D['marginTop']=null!==(y=B['positionOffset']['top'])&&void 0x0!==y?y:null,D['marginRight']=null!==(z=B['positionOffset']['right'])&&void 0x0!==z?z:null,D['marginBottom']=null!==(A=B['positionOffset']['bottom'])&&void 0x0!==A?A:null),'chip'===w){const F=B['thumbnailBorderColor']||B['borderColor'];this['setThumbnailBorderColor'](F);}C['setStyle'](D),C['innerText']=B['text'];const E=0x0!==C['innerText']['length'];C['style']['display']=B['isVisible']&&(E||'none'!==B['backgroundImage'])?'flex':'none';}['setTheme'](w){this['layoutStyle']=w,this['initializeAndRenderWidget']();}['initializeAndRenderWidget'](){this['initializeWidget'](),this['updateLabel'](),this['setChipStyle'](),this['render']();}['getPaddingOnContainer'](){return this['paddingItem'];}['setPaddingOnContainer'](w){this['paddingItem']=w,this['wrapper']['setStyle']({'paddingTop':w['top'],'paddingBottom':w['bottom'],'paddingLeft':w['left'],'paddingRight':w['right']});}['setChipStyle'](){var w;const x=null===(w=this['content'])||void 0x0===w?void 0x0:w['hasViewed'];this['isLive']?x?(this['statusIndicatorSettings']=this['layoutStyle']['statusLiveStyle'],this['chipType']='statusLiveStyle'):(this['statusIndicatorSettings']=this['layoutStyle']['statusLiveUnreadStyle'],this['chipType']='statusLiveUnreadStyle'):x?(this['statusIndicatorSettings']=this['layoutStyle']['statusReadStyle'],this['chipType']='statusReadStyle'):(this['statusIndicatorSettings']=this['layoutStyle']['statusUnreadStyle'],this['chipType']='statusUnreadStyle');}['event'](w,x,z=void 0x0){var A,B,C,D,E,F,G,H,I,J,K;if(w==k['WidgetAction']['Load']||w==k['WidgetAction']['Visible']){if(this['analyticsCalls'][w])return;this['analyticsCalls'][w]=!0x0;}try{const L=this['parentRef'],M=L['getBoundingClientRect']();x['widget_id']=L['id'],x['widget_name']=L['id'],x['widget_size']=Math['round'](null==M?void 0x0:M['width'])+'x'+Math['round'](null==M?void 0x0:M['height']),x['widget_type']=null===(A=L['widgetType'])||void 0x0===A?void 0x0:A['call'](L),x['widget_content_count']=null===(B=null==L?void 0x0:L['content'])||void 0x0===B?void 0x0:B['length'],x['widget_content_list']=null===(C=null==L?void 0x0:L['content'])||void 0x0===C?void 0x0:C['map'](O=>O['id'])['join'](),x['content_id']=null===(D=this['content'])||void 0x0===D?void 0x0:D['id'],x['content_index']=null===(G=Array['from'](null!==(F=null===(E=null==this?void 0x0:this['parentNode'])||void 0x0===E?void 0x0:E['children'])&&void 0x0!==F?F:[]))||void 0x0===G?void 0x0:G['indexOf'](this),x['content_name']=null===(H=this['content'])||void 0x0===H?void 0x0:H['title'],x['content_type']=this['contentType']?this['contentType']['charAt'](0x0)['toUpperCase']()+this['contentType']['slice'](0x1):'',x['placement_distance']=Math['round']((null==M?void 0x0:M['top'])||0x0)['toString'](),x['thumbnail_aspect_ratio']=null===(I=this['layoutStyle'])||void 0x0===I?void 0x0:I['itemRatio']['toString'](),x['thumbnail_type']=null===(J=this['layoutStyle'])||void 0x0===J?void 0x0:J['thumbnailShape'],x['thumbnail_size']=(null==L?void 0x0:L['thumbnailWidth'])+'x'+(null==L?void 0x0:L['thumbnailHeight']);const N=new j['ReferringEventInfo']();N['origin_widget_id']=L['id'],N['origin_widget_name']=L['id'],N['origin_widget_type']=null===(K=L['widgetType'])||void 0x0===K?void 0x0:K['call'](L),N['labels_expression']=L['getAttribute']('labels'),document['referrer']&&(N['referrer_page_url']=document['referrer']),p['AnalyticsService']['pushWidgetEvent'](w,Object['assign']({},x),z,N);}catch(O){}}['render'](){this['updateContainerStyles'](),this['updateLabelStyles'](),this['updateThumbnailStyles'](),this['updateStatusIndicatorStyle']('chip'),this['updateStatusIndicatorStyle']('badge');}}g['BlazeWidgetItem']=v;},0x33:function(j,k,q){var w=this&&this['__awaiter']||function(P,Q,R,T){return new(R||(R=Promise))(function(U,V){function W(Z){try{Y(T['next'](Z));}catch(a0){V(a0);}}function X(Z){try{Y(T['throw'](Z));}catch(a0){V(a0);}}function Y(Z){var a0;Z['done']?U(Z['value']):(a0=Z['value'],a0 instanceof R?a0:new R(function(a1){a1(a0);}))['then'](W,X);}Y((T=T['apply'](P,Q||[]))['next']());});};Object['defineProperty'](k,'__esModule',{'value':!0x0}),k['BlazeWidgetLayout']=void 0x0,q(0x1407);const x=q(0x1133),z=q(0x1699),A=q(0x1932),B=q(0x26ed),C=q(0x22d9),D=q(0x2033),E=q(0x11c1),F=q(0x132a),G=q(0xdf6),H=q(0x2432),I=q(0xa29),J=q(0xab4),K=q(0x5ee),L=q(0x1492),M=q(0x264);let N=window['innerWidth'];class O extends M['BlazeWidgetScrollable']{get['refElement'](){var P;return null!==(P=this['shadowRoot'])&&void 0x0!==P?P:this;}constructor(){super(),this['content']=[],this['perItemStyleOverrides']={'playerId':[],'teamId':[],'gameId':[],'roundId':[]},this['activeOverridesLayoutThemes']={'playerId':[],'teamId':[],'gameId':[],'roundId':[]},this['isWidgetVisible']=!0x1,this['widgetHeight']=0x0,this['parentHeight']=void 0x0,this['intersectionObserver']=new IntersectionObserver(this['handleIntersection']['bind'](this)),this['analyticsStack']={},this['actionHandlers']=[],this['shouldReloadWhenPlayerIsClosed']=!0x1,this['shouldReloadData']=!0x0,this['sortContent']=()=>{const P=this['getAttribute']('advanced-ordering');if('story'===this['getContentType']()){const Q='LiveFirst'===P,R=T=>{let U=0x0;return Q&&(U+=T['isLive']?0x0:0x1),U+=(0, H['getContentScore'])(T),U;};this['content']['sort']((T,U)=>R(T)-R(U));}else this['content']['sort']((T,U)=>(0, H['getContentScore'])(T)-(0, H['getContentScore'])(U));},E['ConfigService']['runInShadowDom']&&this['attachShadow']({'mode':'open'}),this['widgetItems']=[],this['content']=[],this['heightObserver']=new MutationObserver(this['handleHeightChangeMutation']['bind'](this)),this['onResizeEvent']=(0, x['debounce'])(this['onResize']['bind'](this),0x4b),this['onMouseMoveEvent']=(0, x['debounce'])(P=>{let Q=(this['shadowRoot']||document)['elementFromPoint'](P['clientX'],P['clientY']);const R=(0, H['findParentOfType'])(Q,L['BlazeWidgetItem'],this);if(R&&this['currentlyAnimatedItem']!==R){const T=this['currentlyAnimatedItem'];this['currentlyAnimatedItem']=R,null==T||T['loadNewThumbnail'](),this['currentlyAnimatedItem']['loadNewThumbnail']();}},0x32),this['onMouseLeaveEvent']=()=>{var P,Q;'function'==typeof this['onMouseMoveEvent']['cancel']&&this['onMouseMoveEvent']['cancel']();const R=this['currentlyAnimatedItem'];this['currentlyAnimatedItem']=null!==(P=this['firstVisibleItem'])&&void 0x0!==P?P:this['widgetItems'][0x0],null==R||R['loadNewThumbnail'](),null===(Q=this['currentlyAnimatedItem'])||void 0x0===Q||Q['loadNewThumbnail']();};}['connectedCallback'](){var P,Q,R;if((0, H['setId'])(this,'blaze-layout'),super['connectedCallback'](),this['parentElement']&&new ResizeObserver(()=>{this['render']();})['observe'](this['parentElement']),this['isAnimatedThumbnail']()&&x['deviceDetector']['isDesktop']&&(this['addEventListener']('mousemove',this['onMouseMoveEvent']),this['addEventListener']('mouseleave',this['onMouseLeaveEvent'])),null===window||void 0x0===window||window['addEventListener']('resize',this['onResizeEvent']),null===window||void 0x0===window||window['addEventListener'](x['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['onResizeEventDelay']['bind'](this)),this['intersectionObserver']['observe'](this),E['LoggerService']['info']('DeviceDetector:\x20'+x['deviceDetector']['OS']+'\x20|\x20'+x['deviceDetector']['platform']+'\x20|\x20'+x['deviceDetector']['browser']+'\x20|\x20'+x['deviceDetector']['screenOrientation']),this['setStyle']({'display':'grid','gridAutoFlow':'column','width':'auto','height':'100%','outline':'none','direction':E['ConfigService']['layoutDirection']}),this['parentElement']&&(this['parentHeight']=this['parentElement']['clientHeight'],this['heightObserver']['observe'](this['parentElement'],{'attributes':!0x0,'attributeFilter':['style','class']})),this['widgetHeight']=this['clientHeight'],this['innerHTML']+='<style>blaze-widget-layout::-webkit-scrollbar,blaze-div::-webkit-scrollbar\x20{display:\x20none;}\x20blaze-widget-layout,blaze-div\x20{-ms-overflow-style:\x20none;\x20scrollbar-width:\x20none;}</style>',this['theme']['layoutStyle']['isSkeleton']){const {itemRatio:U,columns:V,rows:W,lines:X,labelStyle:Y,horizontalItemsSpacing:Z,verticalItemsSpacing:a0}=this['theme']['layoutStyle'],{maxBadgeHeight:a1,maxBadgeWidth:a2,maxChipHeight:a3,maxChipWidth:a4}=this['getStatusIndicatorBadgeAndChipSizes'](),a5=a3/0x2+a1/0x2,a6=a2/0x2+a4/0x2;let a7=0x0,a8=0x0;const a9=-0x1!==Y['position']['indexOf']('outside');if(Y['isVisible']&&a9){const af=this['calculateLabelSizes'](Y,X);a7=af['labelAdditionalWidth'],a8=af['labelAdditionalHeight'];}const aa=this['getParentHeightWithoutPadding']()||this['parentHeight']||this['clientHeight']||this['widgetHeight'];let ab,ac;this['skeletonContainer']=C['WidgetsFactory']['create']('blaze-div'),this['skeletonContainer']['style']['display']='grid',this['skeletonContainer']['style']['columnGap']=Z+'px',this['skeletonContainer']['style']['rowGap']=a0+'px',this['skeletonContainer']['style']['overflow']='hidden',this['skeletonContainer']['style']['gridAutoFlow']='column';let ad=0x4;0x1==W&&0x0==V?(this['skeletonContainer']['style']['gap']=Z+'px',ab=aa-a8-a5,ac=this['calculateWidthForRow'](ab,U,a6,a7),this['skeletonContainer']['style']['overflowX']='auto',ad=this['clientWidth']/ac+0x1,this['skeletonContainer']['style']['gridTemplateColumns']='repeat('+ad+',\x20'+ac+'px)'):(ac=(aa-(V-0x1)*Z)/V,(null===(P=this['parentElement'])||void 0x0===P?void 0x0:P['clientWidth'])&&(ac=((null===(Q=this['parentElement'])||void 0x0===Q?void 0x0:Q['clientWidth'])-(V-0x1)*Z)/V),ab=(ac-a7-a6)/U+a5+a8,this['skeletonContainer']['style']['gridTemplateColumns']='1fr\x20'['repeat'](V),this['skeletonContainer']['style']['height']=0x2*ab+'px');const ae=this['getAttribute']('max-display-items-count')||this['getAttribute']('max-items');0x1==ae&&(ad=ae);for(let ag=0x0;ag<ad;ag++){const ah=new z['BlazeWidgetItemSkeleton'](this['theme']['layoutStyle'],Math['floor'](ac),Math['floor'](ab),a8);null===(R=this['skeletonContainer'])||void 0x0===R||R['append'](ah);}this['refElement']['append'](this['skeletonContainer']);}}['disconnectedCallback'](){var P,Q,R;super['disconnectedCallback'](),null===window||void 0x0===window||window['removeEventListener']('resize',this['onResizeEvent']),null===window||void 0x0===window||window['removeEventListener'](x['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['onResizeEventDelay']),this['removeEventListener']('keydown',this['onKeyDown']),this['isAnimatedThumbnail']()&&x['deviceDetector']['isDesktop']&&(this['removeEventListener']('mousemove',this['onMouseMoveEvent']),this['removeEventListener']('mouseleave',this['onMouseLeaveEvent'])),null===(P=this['storysModal'])||void 0x0===P||P['remove'](),null===(Q=this['momentsModal'])||void 0x0===Q||Q['remove'](),null===(R=this['videosModal'])||void 0x0===R||R['remove'](),this['heightObserver']['disconnect'](),x['deviceDetector']['removeResizeListener']();}['getContentType'](){return this['getAttribute']('content-type')||'story';}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},A['ONE_SECOND']/0x2);}['onResize'](){var P,Q,R,T,U,V,W,X,Y,Z,a0,a1,a2,a3,a4;N!==window['innerWidth']&&(N=window['innerWidth'],this['storysModal']&&(null===(P=this['storysModal'])||void 0x0===P||P['render'](),null===(R=null===(Q=this['storysModal'])||void 0x0===Q?void 0x0:Q['player'])||void 0x0===R||R['render'](),null===(U=null===(T=this['storysModal'])||void 0x0===T?void 0x0:T['player'])||void 0x0===U||U['resetPosition'](),null===(X=null===(W=null===(V=this['storysModal'])||void 0x0===V?void 0x0:V['player'])||void 0x0===W?void 0x0:W['contentList'])||void 0x0===X||X['forEach'](a5=>null==a5?void 0x0:a5['render']())),this['momentsModal']&&(null===(Y=this['momentsModal'])||void 0x0===Y||Y['render'](),null===(a0=null===(Z=this['momentsModal'])||void 0x0===Z?void 0x0:Z['player'])||void 0x0===a0||a0['resetPosition'](),null===(a3=null===(a2=null===(a1=this['momentsModal'])||void 0x0===a1?void 0x0:a1['player'])||void 0x0===a2?void 0x0:a2['contentList'])||void 0x0===a3||a3['forEach'](a5=>null==a5?void 0x0:a5['render']())),this['videosModal']&&(null===(a4=this['videosModal'])||void 0x0===a4||a4['render']()));}['handleHeightChangeMutation'](P){var Q,R,T,U,V;for(const W of P)if('style'===W['attributeName']||'class'===W['attributeName']){const X=this['getParentHeightWithoutPadding']();if(null!=X&&X!==this['parentHeight']){this['parentHeight']=X;const Y=this['content']['length']>0x0,Z=[null===(R=null===(Q=this['storysModal'])||void 0x0===Q?void 0x0:Q['player'])||void 0x0===R?void 0x0:R['contentList'],null===(U=null===(T=this['momentsModal'])||void 0x0===T?void 0x0:T['player'])||void 0x0===U?void 0x0:U['contentList'],null===(V=this['videosModal'])||void 0x0===V?void 0x0:V['player']['contentList']]['some'](a0=>{var a1;return (null!==(a1=null==a0?void 0x0:a0['length'])&&void 0x0!==a1?a1:0x0)>0x0;});Z&&Y&&this['render']();}}}['handleIntersection'](P){const Q=P['find'](R=>R['target']===this);Q&&Q['isIntersecting']&&(this['isWidgetVisible']=!0x0,this['widgetItems']['length']&&(this['event'](A['WidgetAction']['Visible'],{}),this['intersectionObserver']['disconnect']()));}['attributeChangedCallback'](P,Q,R){if(R)switch(P){case'labels':case'labels-priority':this['hasAttribute']('labels')&&this['loadContent']();break;case'story-ids':case'content-ids':this['hasAttribute']('labels')||this['loadContent']();break;case'preset':this['setTheme'](R);break;case'max-display-items-count':if(isNaN(Number(R)))break;const T=Number(R);this['widgetItems']['length']&&this['widgetItems']['forEach']((U,V)=>{U['style']['display']=V<T?'grid':'none';}),this['updateWidgetDisplay']();break;case'max-items':(this['hasAttribute']('labels')||this['hasAttribute']('content-ids')||this['hasAttribute']('story-ids'))&&this['loadContent']();}else 'labels'===P&&E['EventService']['dispatch'](this,B['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':B['ErrorCode']['FailedToHaveLabels']});}['onKeyDown'](P){var Q,R,T;const U='ArrowRight'===P['key']||'ArrowLeft'===P['key'];(null===(Q=this['storysModal'])||void 0x0===Q?void 0x0:Q['isOpen'])&&U&&P['preventDefault'](),(null===(R=this['momentsModal'])||void 0x0===R?void 0x0:R['isOpen'])&&U&&P['preventDefault'](),(null===(T=this['videosModal'])||void 0x0===T?void 0x0:T['isOpen'])&&U&&P['preventDefault']();}['onContentChange'](P){var Q;const R='RTL'===E['ConfigService']['layoutDirection']?-0x1:0x1,T=(this['thumbnailWidth']||0x0)*R;switch(P){case'NEXT':this['scrollLeft']+=T;break;case'PREV':this['scrollLeft']-=T;}if(this['isAnimatedThumbnail']()){this['setFirstVisibleItem']();const U=this['currentlyAnimatedItem'];this['currentlyAnimatedItem']=this['firstVisibleItem'],null==U||U['loadNewThumbnail'](),null===(Q=this['firstVisibleItem'])||void 0x0===Q||Q['loadNewThumbnail']();}}['onPlayerClose'](){this['shouldReloadWhenPlayerIsClosed']&&(this['loadContent'](),this['shouldReloadWhenPlayerIsClosed']=!0x1);}['onPlayerOpen'](){}['setFirstVisibleItem'](){const P=this['widgetItems']['filter'](R=>R['isFullyVisibleInParent']()),Q=P['reduce']((R,T)=>{const U=T['getBoundingClientRect'](),V=R['getBoundingClientRect']();return U['left']<V['left']?T:R;},P[0x0]);this['firstVisibleItem']=Q;}['getParentHeightWithoutPadding'](){var P;if(this['parentElement']){const Q=window['getComputedStyle'](this['parentElement']),R=parseFloat(Q['paddingTop'])+parseFloat(Q['paddingBottom']);return (this['parentElement']['clientHeight']||(null!==(P=this['parentHeight'])&&void 0x0!==P?P:0x0))-R||null;}return null;}['setId'](P){this['id']='widget-layout-'+P;}['setReloadData'](P){this['shouldReloadData']='object'!=typeof P||!P['hasOwnProperty']('shouldReloadData')||'boolean'!=typeof P['shouldReloadData']||P['shouldReloadData'];}['addDelegateListener'](P,Q,R){C['WidgetsFactory']['whenDefined']('blaze-widget-story-modal')['then'](()=>{var T;null===(T=this['storysModal'])||void 0x0===T||T['addEventListener'](P,Q,R);});}set['storyIds'](P){this['setAttribute']('story-ids',P);}set['contentIds'](P){this['setAttribute']('content-ids',P);}['setContentIds'](P,Q){var R;this['setReloadData'](Q),((null===(R=this['getAttribute']('story-ids'))||void 0x0===R?void 0x0:R['split'](','))||[])['length']>0x0?this['storyIds']=P['join']():this['contentIds']=P['join']();}['setLabelsPriority'](P,Q){if(!P)return void this['setAttribute']('labels-priority','');this['setReloadData'](Q);let R='';if('string'==typeof P)R=P['startsWith']('[')&&P['endsWith'](']')?P:'['+P+']';else {if(!Array['isArray'](P))throw new Error('Failed\x20to\x20set\x20labels\x20priority\x20-\x20'+P+'.\x20Labels\x20priority\x20must\x20be\x20a\x20string,\x20array\x20of\x20strings,\x20or\x20array\x20of\x20BlazeWidgetLabel.');R=P['every'](T=>T instanceof x['BlazeWidgetLabel'])?'['+P['map'](T=>T['toString']())['join']()+']':'['+P['join']();}this['setAttribute']('labels-priority',R);}['setActionHandlers'](P){this['actionHandlers']=P;}['setLabels'](P,Q){this['setReloadData'](Q);let R='';if('string'==typeof P)R=P;else {if(Array['isArray'](P))R=P['join']();else {if(!(P instanceof x['BlazeWidgetLabel']))throw new Error('fail\x20to\x20set\x20labels\x20-\x20'+P+',\x20labels\x20must\x20be\x20string,\x20array\x20of\x20strings,\x20or\x20BlazeWidgetLabel...');R=P['toString']();}}this['setAttribute']('labels',R);}['getTheme'](){switch(this['getAttribute']('content-type')){case'moment':return this['preset']||F['ThemeFactory']['create']('default','moment');case'story':return this['preset']||F['ThemeFactory']['create']('default','story');case'video':return this['preset']||F['ThemeFactory']['create']('default','video');default:return this['preset']||F['ThemeFactory']['create']('default');}}['setTheme'](P){var Q,R,T,U;const V=this['getAttribute']('content-type');let W;if('string'==typeof P){if('moment'!==V&&'story'!==V&&'video'!==V&&V)throw new Error('Invalid\x20content\x20type');W='moment'===V?F['ThemeFactory']['create'](P,'moment'):'story'===V?F['ThemeFactory']['create'](P,'story'):F['ThemeFactory']['create'](P,'video');}else {if(!(0, D['isWidgetTheme'])(P))throw new Error('Invalid\x20theme\x20type');if((0, F['isStoryPlayerStyle'])(P['playerStyle'])&&'story'!==V)throw new Error('Invalid\x20theme\x20type\x20-\x20story\x20player\x20style\x20for\x20'+V+'\x20content\x20type');if((0, F['isMomentPlayerStyle'])(P['playerStyle'])&&'moment'!==V)throw new Error('Invalid\x20theme\x20type\x20-\x20moment\x20player\x20style\x20for\x20'+V+'\x20content\x20type');if((0, F['isVideoPlayerStyle'])(P['playerStyle'])&&'video'!==V)throw new Error('Invalid\x20theme\x20type\x20-\x20video\x20player\x20style\x20for\x20'+V+'\x20content\x20type');W=P;}this['preset']=W,null===(Q=this['widgetItems'])||void 0x0===Q||Q['forEach'](X=>X['setTheme'](W['layoutStyle'])),null===(R=this['storysModal'])||void 0x0===R||R['setTheme'](W['playerStyle']),null===(T=this['momentsModal'])||void 0x0===T||T['setTheme'](W['playerStyle']),null===(U=this['videosModal'])||void 0x0===U||U['setTheme'](W['playerStyle']),this['content']['length']&&this['render']();}get['theme'](){return this['getTheme']();}['updateOverrideStyles'](P){var Q;for(const R of Object['keys'](P)){const T=R;this['perItemStyleOverrides']['hasOwnProperty'](T)&&(null===(Q=P[T])||void 0x0===Q||Q['forEach'](U=>{var V,W;const X=null===(V=this['perItemStyleOverrides'][T])||void 0x0===V?void 0x0:V['findIndex'](Y=>Y['name']===U['name']);if(-0x1!==X){const Y=this['perItemStyleOverrides'][T];Y&&void 0x0!==X&&(Y[X]=U);}else null===(W=this['perItemStyleOverrides'][T])||void 0x0===W||W['push'](U);}));}}['reload'](){this['storysModal']&&this['storysModal']['isOpen']||this['momentsModal']&&this['momentsModal']['isOpen']||this['videosModal']&&this['videosModal']['isOpen']?this['shouldReloadWhenPlayerIsClosed']=!0x0:(this['shouldReloadData']=!0x0,this['loadContent']());}['updateActiveLayoutThemesPerItemWithEntity'](P,Q,R){const T=this['activeOverridesLayoutThemes'][P];if(T){const U=T['findIndex'](V=>V['name']===Q);-0x1!==U&&T['splice'](U,0x1),T['push']({'name':Q,'theme':R});}else this['activeOverridesLayoutThemes'][P]=[{'name':Q,'theme':R}];}['updateWidgetUI'](){this['widgetItems']['forEach'](P=>{P['content']['entities']&&this['perItemStyleOverrides']&&Object['entries'](P['content']['entities'])['forEach'](([Q,R])=>{var T;R&&this['perItemStyleOverrides'][Q]&&(null===(T=this['perItemStyleOverrides'][Q])||void 0x0===T||T['forEach'](U=>{U['name']===R&&(P['updateWidgetItemStyle'](U['theme']['layoutStyle']),this['updateActiveLayoutThemesPerItemWithEntity'](Q,R,U['theme']));}));});}),this['setMaxPaddingOnWidgetItems'](),this['render']();}['setMaxPaddingOnWidgetItems'](){const P={'top':'0','bottom':'0','left':'0','right':'0'},Q={'top':!0x1,'bottom':!0x1,'left':!0x1,'right':!0x1};this['widgetItems']['forEach'](R=>{const T=R['getPaddingOnContainer']();P['top']=(0, H['getMaxValue'])(P['top'],T['top']),P['left']=(0, H['getMaxValue'])(P['left'],T['left']),P['right']=(0, H['getMaxValue'])(P['right'],T['right']),P['bottom']=(0, H['getMaxValue'])(P['bottom'],T['bottom']);const U=R['layoutStyle']['badgePosition'],V=R['layoutStyle']['statusIndicatorPosition'],W=U['toLocaleLowerCase']()['includes']('top')||V['toLocaleLowerCase']()['includes']('top'),X=U['toLocaleLowerCase']()['includes']('bottom')||V['toLocaleLowerCase']()['includes']('bottom'),Y=U['toLocaleLowerCase']()['includes']('right')||V['toLocaleLowerCase']()['includes']('right'),Z=U['toLocaleLowerCase']()['includes']('left')||V['toLocaleLowerCase']()['includes']('left'),a0=U['toLocaleLowerCase']()['includes']('outside')||V['toLocaleLowerCase']()['includes']('outside'),a1=R['layoutStyle']['badgeIndicatorStyle']['isVisible']||R['layoutStyle'][R['chipType']]['isVisible'];a0&&a1&&(W&&(Q['top']=!0x0),X&&(Q['bottom']=!0x0),Y&&(Q['right']=!0x0),Z&&(Q['left']=!0x0));}),P['top']=Q['top']?P['top']:'0px',P['bottom']=Q['bottom']?P['bottom']:'0px',P['left']=Q['left']?P['left']:'0px',P['right']=Q['right']?P['right']:'0px',this['widgetItems']['forEach'](R=>{R['setPaddingOnContainer'](P);});}['updateDataSource'](P){if(!P)return;const {type:Q,ids:R,labels:T,orderType:U,maxItems:V,labelsPriority:W}=P,X={'shouldReloadData':!0x1};(T||R)&&(this['setOrderType'](U),this['setMaxItemsSize'](V,X),this['setPersonalized'](P['personalized']),'ids'===Q&&R?(this['setContentIds'](R,X),this['setLabelsPriority']('',X),this['setLabels']('',X)):'labels'===Q&&T&&(this['setLabels'](T,X),this['setLabelsPriority']((null==W?void 0x0:W['toString']())||'',X),this['setContentIds']([],X)));}['setDelegations'](P){for(const Q in P)this['addEventListener'](Q,P[Q]);}['setOrderType'](P){this['setAttribute']('order-type',P||'');}['setMaxItemsDisplaySize'](P){this['setAttribute']('max-display-items-count',P['toString']());}['setMaxItemsSize'](P,Q){this['setReloadData'](Q),this['setAttribute']('max-items',(null==P?void 0x0:P['toString']())||'');}['updatePlayerStyle'](){const P=(0, H['mergeDeep'])(F['ThemeFactory']['create']('default')['playerStyle'],E['ConfigService']['playerStyleCustomization']);(0, H['applyPlayerStyleChanges'])(F['ThemeFactory']['create']('default')['playerStyle'],P,this['theme']['playerStyle'],{'GLOBAL':[],'LOCAL':[]});}['createModal'](P){'video'===P?customElements['whenDefined']('blaze-video-modal')['then'](()=>{var Q,R,T;this['videosModal']||(this['videosModal']=new I['BlazeWidgetVideoModal'](this,this['theme']['playerStyle']),this['videosModal']['onContentChange']=null===(Q=this['onContentChange'])||void 0x0===Q?void 0x0:Q['bind'](this),this['videosModal']['onClose']=null===(R=this['onPlayerClose'])||void 0x0===R?void 0x0:R['bind'](this),this['videosModal']['onOpen']=null===(T=this['onPlayerOpen'])||void 0x0===T?void 0x0:T['bind'](this),this['appendModalToBlazeSDK'](this['videosModal']));}):'moment'===P?customElements['whenDefined']('blaze-widget-moment-modal')['then'](()=>{var Q,R,T;this['momentsModal']||(this['momentsModal']=new J['BlazeWidgetMomentModal'](this,this['theme']['playerStyle'],this['actionHandlers']),this['momentsModal']['onContentChange']=null===(Q=this['onContentChange'])||void 0x0===Q?void 0x0:Q['bind'](this),this['momentsModal']['onClose']=null===(R=this['onPlayerClose'])||void 0x0===R?void 0x0:R['bind'](this),this['momentsModal']['onOpen']=null===(T=this['onPlayerOpen'])||void 0x0===T?void 0x0:T['bind'](this),this['appendModalToBlazeSDK'](this['momentsModal']));}):'story'!==P&&''!==P||customElements['whenDefined']('blaze-widget-story-modal')['then'](()=>{var Q,R,T;this['storysModal']||(this['updatePlayerStyle'](),this['storysModal']=new K['BlazeWidgetStoryModal'](this,this['theme']['playerStyle'],this['actionHandlers']),this['storysModal']['onContentChange']=null===(Q=this['onContentChange'])||void 0x0===Q?void 0x0:Q['bind'](this),this['storysModal']['onClose']=null===(R=this['onPlayerClose'])||void 0x0===R?void 0x0:R['bind'](this),this['storysModal']['onOpen']=null===(T=this['onPlayerOpen'])||void 0x0===T?void 0x0:T['bind'](this),this['appendModalToBlazeSDK'](this['storysModal']));});}['appendModalToBlazeSDK'](P){const Q=document['getElementsByTagName']('blaze-sdk')[0x0];Q&&Q['append'](P);}static get['observedAttributes'](){return ['story-ids','content-ids','content-type','max-display-items-count','max-items','labels-priority','labels','order-type','preset'];}['onItemClick'](P,Q){var R,T,U,V,W;window['visualViewport']&&window['visualViewport']['scale']>0x1&&E['EventService']['dispatch'](this,B['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':B['ErrorCode']['VisualViewportScaled']});const X=this['getAttribute']('content-type'),Y='story'===X||!X,Z='moment'===X,a0='video'===X;if(this['isAnimatedThumbnail']()&&x['deviceDetector']['isDesktop']){const a1=this['currentlyAnimatedItem'];this['currentlyAnimatedItem']=this['firstVisibleItem'],null==a1||a1['loadNewThumbnail'](),null===(R=this['currentlyAnimatedItem'])||void 0x0===R||R['loadNewThumbnail']();}if(a0&&this['videosModal'])return this['videosModal']['setModalContent'](this['content']),E['VideoPlayerService']['playReference']='Widget',this['videosModal']['player']['contentList']['forEach']((a2,a3)=>{a2['startTrigger']='Widget',a2['refContentModal']=this['videosModal'],a2['widgetParentItem']=this['widgetItems'][a3],a2['playerStyle']=this['theme']['playerStyle'];}),this['videosModal']['seek'](null!==(T=P['content']['id'])&&void 0x0!==T?T:''),void this['videosModal']['open']();if(Z&&this['momentsModal']){const a2=this['momentsModal']['player']['contentList']['findIndex'](a3=>{var a4;return a3['data']['id']===(null===(a4=P['content'])||void 0x0===a4?void 0x0:a4['id']);});return this['momentsModal']['setModalContent'](this['content'],a2,this['defaultAdsInfo']),this['momentsModal']['player']['contentList']['forEach']((a3,a4)=>{a3['momentIndex']=a4;}),E['VideoPlayerService']['playReference']='Widget',this['momentsModal']['player']['contentList']['forEach']((a3,a4)=>{var a5;a3['startTrigger']='Widget',a3['refContentModal']=this['momentsModal'],a3['widgetParentItem']=this['widgetItems'][a4],a3['playerStyle']=this['theme']['playerStyle'],a3['data']['id']===(null===(a5=P['content'])||void 0x0===a5?void 0x0:a5['id'])&&a3['load']();}),this['momentsModal']['seek'](null!==(U=P['content']['id'])&&void 0x0!==U?U:''),void this['momentsModal']['open']();}if(Y&&this['storysModal']){const a3=this['storysModal']['player']['contentList']['findIndex'](a4=>{var a5;return a4['data']['id']===(null===(a5=P['content'])||void 0x0===a5?void 0x0:a5['id']);});return this['storysModal']['setModalContent'](this['content'],a3,this['defaultAdsInfo']),E['VideoPlayerService']['playReference']='Widget',this['storysModal']['parentWidget']=this,this['storysModal']['player']['contentList']['forEach']((a4,a5)=>{var a6;a4['startTrigger']='Widget',a4['refContentModal']=this['storysModal'],a4['widgetParentItem']=this['widgetItems'][a5],a4['resetStoryLocationIndexToLastUnseen'](),a4['data']['id']===(null===(a6=P['content'])||void 0x0===a6?void 0x0:a6['id'])&&a4['load']();}),this['storysModal']['seek'](null!==(W=null===(V=P['content'])||void 0x0===V?void 0x0:V['id'])&&void 0x0!==W?W:''),void this['storysModal']['open']();}}['loadContent'](){return w(this,void 0x0,void 0x0,function*(){var P,Q;const R=this['getAttribute']('content-type'),T='story'===R||!R,U='moment'===R,V='video'===R;if(this['createModal'](R),!this['shouldReloadData'])return;const W=this['getAttribute']('max-items'),X=this['getAttribute']('labels'),Y=this['getAttribute']('labels-priority'),Z=this['getAttribute']('order-type'),a0=this['getAttribute']('advanced-ordering'),a1=this['personalized'],a2=this['getAttribute']('story-ids'),a3=null==a2?void 0x0:a2['split'](','),a4=this['getAttribute']('content-ids'),a5=null==a4?void 0x0:a4['split'](',');let a6=[];try{let a7;if(E['EventService']['dispatch'](this,B['Delegation']['onWidgetDataLoadStarted'],{'widgetId':this['id']}),T){const a8=(null==X?void 0x0:X['length'])?'labels':(null==a3?void 0x0:a3['length'])||(null==a5?void 0x0:a5['length'])?'ids':'labels';a7=yield E['StoryService']['fetchContent']({'type':a8,'ids':a3||a5,'labels':X,'orderType':Z,'maxItems':W,'labelsPriority':Y,'advancedOrdering':a0,'personalized':a1});}else U?a7=yield E['MomentService']['fetchContent']({'type':(null==X?void 0x0:X['length'])?'labels':(null==a4?void 0x0:a4['length'])?'ids':'labels','ids':a5,'labels':X,'orderType':Z,'maxItems':W,'labelsPriority':Y}):V&&(a7=yield E['VideoService']['fetchContent']({'type':(null==X?void 0x0:X['length'])?'labels':(null==a4?void 0x0:a4['length'])?'ids':'labels','ids':a5,'labels':X,'orderType':Z,'maxItems':W,'labelsPriority':Y}));if(a7&&(a6=a7['result'],this['defaultAdsInfo']=null==a7?void 0x0:a7['defaultAdsInfo']),!a6['length'])throw new Error(B['ErrorCode']['FailedLoadingStories']['toString']());a7&&a7['assetsExpiryTime']&&this['handleAssetsExpiry'](a7);}catch(a9){return null===(P=this['skeletonContainer'])||void 0x0===P||P['remove'](),E['EventService']['dispatch'](this,B['Delegation']['onWidgetDataLoadCompleted'],{'widgetId':this['id'],'storyCount':0x0,'contentCount':0x0}),void E['EventService']['dispatch'](this,B['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':B['ErrorCode']['FailedLoadingStories']});}try{T?this['content']=yield E['StoryService']['enrichContent'](a6):U?this['content']=yield E['MomentService']['enrichContent'](a6):V&&(this['content']=yield E['VideoService']['enrichContent'](a6));}catch(aa){this['content']=a6,E['EventService']['dispatch'](this,B['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':B['ErrorCode']['FailedEnrichStories']});}null===(Q=this['skeletonContainer'])||void 0x0===Q||Q['remove']();for(const ab of this['widgetItems'])null==ab||ab['remove']();this['widgetItems']=[],this['handleWidgetContent'](),this['render'](),this['reorderWidgets'](),T?this['handleStoryContent']():U?this['handleMomentContent']():V&&this['handleVideoContent'](),this['widgetItems']['forEach'](ac=>this['refElement']['appendChild'](ac)),this['reorderWidgets'](),E['EventService']['dispatch'](this,B['Delegation']['onWidgetDataLoadCompleted'],{'widgetId':this['id'],'storyCount':this['content']['length'],'contentCount':this['content']['length']}),this['isWidgetVisible']&&this['widgetItems']['length']&&this['event'](A['WidgetAction']['Visible'],{},this['getAttribute']('labels')),this['event'](A['WidgetAction']['Load'],{},this['getAttribute']('labels')),this['updateWidgetUI']();});}['handleStoryContent'](){var P,Q,R;if(null===(P=this['storysModal'])||void 0x0===P||P['setModalContent'](this['content'],0x0),!(0, F['isStoryPlayerStyle'])(this['theme']['playerStyle']))throw new Error('Invalid\x20player\x20style\x20for\x20story\x20content');null===(Q=this['storysModal'])||void 0x0===Q||Q['setTheme'](this['theme']['playerStyle']),'default'===E['ConfigService']['prefetchingPolicy']&&(null===(R=this['storysModal'])||void 0x0===R||R['player']['contentList'][0x0]['load']());}['handleVideoContent'](){var P,Q;if(null===(P=this['videosModal'])||void 0x0===P||P['setModalContent'](this['content']),!(0, F['isVideoPlayerStyle'])(this['theme']['playerStyle']))throw new Error('Invalid\x20player\x20style\x20for\x20video\x20content');null===(Q=this['videosModal'])||void 0x0===Q||Q['setTheme'](this['theme']['playerStyle']);}['handleMomentContent'](){var P,Q,R;if(!(0, F['isMomentPlayerStyle'])(this['theme']['playerStyle']))throw new Error('Invalid\x20player\x20style\x20for\x20moment\x20content');null===(P=this['momentsModal'])||void 0x0===P||P['setModalContent'](this['content'],0x0,this['defaultAdsInfo']),null===(Q=this['momentsModal'])||void 0x0===Q||Q['setTheme'](this['theme']['playerStyle']),'default'===E['ConfigService']['prefetchingPolicy']&&(null===(R=this['momentsModal'])||void 0x0===R||R['player']['contentList'][0x0]['load']());}['handleAssetsExpiry'](P){const Q=new Date(Date['parse'](P['assetsExpiryTime']));clearTimeout(this['reloadTimeout']),this['reloadTimeout']=setTimeout(()=>{this['loadContent']();},Q['getTime']()-Date['now']()-0x493e0);}['handleWidgetContent'](){var P;let Q=this['getTheme']();null===(P=this['content'])||void 0x0===P||P['forEach']((R,T)=>{R['entities']&&Object['entries'](R['entities'])['forEach'](([V,W])=>{var X;W&&this['perItemStyleOverrides']&&this['perItemStyleOverrides'][V]&&(null===(X=this['perItemStyleOverrides'][V])||void 0x0===X||X['forEach'](Y=>{Y['name']===W&&(Q=Y['theme'],this['updateActiveLayoutThemesPerItemWithEntity'](V,W,Y['theme']));}));});const U=new L['BlazeWidgetItem']({'layout':Q['layoutStyle'],'content':R});U['onClick']=()=>this['onItemClick'](U,T),U['contentType']=this['getAttribute']('content-type')||'story',this['widgetItems']['push'](U);});}['calculateChipSizes'](P){const {chipWidth:Q,chipHeight:R}=(0, H['calculateChipSize'])('badge',P['layoutStyle']['badgePosition'],P['layoutStyle']),{chipWidth:T,chipHeight:U}=(0, H['calculateChipSize'])('chip',P['layoutStyle']['statusIndicatorPosition'],P['layoutStyle']);return {'badge':{'width':Q,'height':R},'chip':{'width':T,'height':U}};}['getStatusIndicatorBadgeAndChipSizes'](){let P=0x0,Q=0x0,R=0x0,T=0x0;if((0, H['isEmpty'])(this['activeOverridesLayoutThemes'])){const {badge:U,chip:V}=this['calculateChipSizes'](this['theme']),{badgePosition:W,statusIndicatorPosition:X}=this['theme']['layoutStyle'],{maxBadgeHeight:Y,maxBadgeWidth:Z,maxChipHeight:a0,maxChipWidth:a1}=this['getMaxSizes'](U,V,W,X);P=Y,Q=Z,R=a0,T=a1;}else Object['keys'](this['activeOverridesLayoutThemes'])['forEach'](a2=>{var a3;const a4=a2;null===(a3=this['activeOverridesLayoutThemes'][a4])||void 0x0===a3||a3['forEach'](a5=>{const {badge:a6,chip:a7}=this['calculateChipSizes'](a5['theme']),{badgePosition:a8,statusIndicatorPosition:a9}=a5['theme']['layoutStyle'],{maxBadgeHeight:aa,maxBadgeWidth:ab,maxChipHeight:ac,maxChipWidth:ad}=this['getMaxSizes'](a6,a7,a8,a9);P=Math['max'](P,aa),Q=Math['max'](Q,ab),R=Math['max'](R,ac),T=Math['max'](T,ad);});});return {'maxBadgeHeight':P,'maxBadgeWidth':Q,'maxChipHeight':R,'maxChipWidth':T};}['isAnimatedThumbnail'](){return 'AnimatedThumbnailPoster'===(0, G['thumbnailMapping'])(this['getTheme']()['layoutStyle']['thumbnailType']);}['getMaxSizes'](P,Q,R,T){let U,V,W,X;return R===T?(U=Math['max'](P['height'],Q['height']),V=Math['max'](P['width'],Q['width']),W=U,X=V):(U=P['height'],V=P['width'],W=Q['height'],X=Q['width']),{'maxBadgeHeight':U,'maxBadgeWidth':V,'maxChipHeight':W,'maxChipWidth':X};}['render'](){var P;if(this['theme']){const {itemRatio:Q,columns:R,rows:T,lines:U,labelStyle:V,verticalItemsSpacing:W,horizontalItemsSpacing:X}=this['theme']['layoutStyle'];this['style']['overflowX']='',this['style']['columnGap']=X+'px',this['style']['rowGap']=W+'px',this['style']['gridAutoFlow']='row',this['style']['overflow']='hidden',this['style']['color']=V['color'];const Y=this['maxSize'](),Z=Y!==this['content']['length']?this['content']['slice'](0x0,Y):this['content'],{maxBadgeHeight:a0,maxBadgeWidth:a1,maxChipHeight:a2,maxChipWidth:a3}=this['getStatusIndicatorBadgeAndChipSizes'](),a4=a2/0x2+a0/0x2,a5=a1/0x2+a3/0x2;let a7=0x0,a8=0x0;const a9=-0x1!==V['position']['indexOf']('outside');if(V['isVisible']&&a9){const ad=this['calculateLabelSizes'](V,U);ad['labelWidth'],a7=ad['labelAdditionalWidth'],a8=ad['labelAdditionalHeight'];}let aa,ab;const ac=this['getParentHeightWithoutPadding']()||this['parentHeight']||this['clientHeight']||this['widgetHeight'];0x1==T&&0x0==R?(aa=ac-a8-a4,ab=this['calculateWidthForRow'](aa,Q,a5,a7),this['style']['gridTemplateColumns']='repeat('+(null!==(P=Z['length'])&&void 0x0!==P?P:0x0)+',\x20'+ab+'px)',this['style']['overflowX']='auto'):(ab=(ac-(R-0x1)*X)/R,aa=(ab-a7-a5)/Q+a4+a8,this['style']['gridTemplateColumns']='1fr\x20'['repeat'](R),this['style']['overflow']='auto'),this['thumbnailHeight']=Math['floor'](aa),this['thumbnailWidth']=Math['floor'](ab),this['style']['height']='auto';}}['calculateWidthForRow'](P,Q,R,T){return P*Q+R+T;}['calculateLabelSizes'](P,Q){let R=P['width'],T=0x0,U=(0, H['convertCssUnitToNumber'])(P['height'])*Q;const {isOutside:V,isInside:W,isLeft:X,isRight:Y}=(0, H['calculatePosition'])(P['position']);return V?X||Y||(U+=P['gap']+(P['padding']?0x2*parseInt(P['padding'],0xa):0x0)):W&&(X||Y?(T='auto'===R?0x0:+R,U=0x0):U+=P['gap']),{'labelWidth':R,'labelAdditionalWidth':T,'labelAdditionalHeight':U};}['event'](P,Q,R=void 0x0){var T,U,V,W;if(P==A['WidgetAction']['Load']||P==A['WidgetAction']['Visible']){if(this['analyticsStack'][P])return;this['analyticsStack'][P]=!0x0;}try{const X=this['getBoundingClientRect']();Q['widget_id']=this['id'],Q['widget_content_count']=null===(T=this['widgetItems'])||void 0x0===T?void 0x0:T['length'],Q['widget_content_list']=(null===(U=this['content'])||void 0x0===U?void 0x0:U['length'])?JSON['stringify'](this['content']['map'](Z=>Z['id'])):'',Q['widget_size']=X['width']&&X['height']?Math['round'](X['width'])+'x'+Math['round'](X['height']):'',Q['widget_type']=null===(V=this['widgetType'])||void 0x0===V?void 0x0:V['call'](this),Q['placement_distance']=Math['round'](X['top'])['toString'](),Q['content_type']=null===(W=this['getAttribute']('content-type'))||void 0x0===W?void 0x0:W['replace'](/^\w/,Z=>Z['toUpperCase']()),Q['thumbnail_aspect_ratio']=this['theme']['layoutStyle']['itemRatio']['toString'](),Q['thumbnail_type']=this['thumbnailShape'],Q['thumbnail_size']=this['thumbnailWidth']&&this['thumbnailHeight']?this['thumbnailWidth']+'x'+this['thumbnailHeight']:'';const Y=new x['ReferringEventInfo']();Y['labels_expression']=this['getAttribute']('labels'),document['referrer']&&(Y['referrer_page_url']=document['referrer']),E['AnalyticsService']['pushWidgetEvent'](P,Object['assign']({},Q),R,Y);}catch(Z){}}['reorderWidgets'](){if(this['updateWidgetsData'](),this['getAttribute']('should-order-widget-by-read-status')){'Manual'!=this['getAttribute']('order-type')&&this['sortContent']();for(const P of this['content']){const Q=this['widgetItems']['findIndex'](T=>{var U;return (null===(U=T['content'])||void 0x0===U?void 0x0:U['id'])===P['id'];}),R=this['content']['indexOf'](P);if(Q>0x0){const T=this['widgetItems'][Q],U=this['widgetItems'][R];this['widgetItems'][R]=T,this['widgetItems'][Q]=U;}}}this['updateWidgetDisplay']();}['updateWidgetsData'](){const P=this['getAttribute']('content-type');if('story'===P||!P){for(const Q of this['content'])Q['hasViewed']=(0, H['isReadByLastUnIgnoredPageStatus'])(Q);}}['updateWidgetDisplay'](){let P=this['maxSize']();P&&this['widgetItems']['forEach']((Q,R)=>{Q['style']['display']=R<P?'grid':'none';});}['maxSize'](){var P,Q;const R=this['theme']['layoutStyle']['columns'],T=this['theme']['layoutStyle']['rows'],U=this['getAttribute']('max-display-items-count');let V=R*T,W=0x0;return W=null!==(Q=null===(P=this['content'])||void 0x0===P?void 0x0:P['length'])&&void 0x0!==Q?Q:0x0,0x0==V&&(V=W),U&&(V=U),V=Math['max'](Math['min'](W,V),0x0),V;}['connectWidgets'](){if(this['isConnected'])for(const P in this['widgetItems']){const Q=this['widgetItems'][P];Q['isConnected']||this['refElement']['appendChild'](Q);}}get['thumbnailShape'](){var P;return (null===(P=this['theme'])||void 0x0===P?void 0x0:P['layoutStyle']['thumbnailShape'])||this['getAttribute']('thumbnail-shape');}['widgetType'](){return this['theme']['layoutStyle']['columns']>0x1?'Grid':'Row';}['setPersonalized'](P){this['personalized']=P;}}k['BlazeWidgetLayout']=O;},0x14c:function(f,g,j){var k=this&&this['__importDefault']||function(D){return D&&D['__esModule']?D:{'default':D};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetModal']=void 0x0;const m=k(j(0x1c00)),q=j(0x23a6),v=j(0x1133),w=j(0x1932),x=j(0x22d9),y=j(0x115),z=j(0x11c1);let A=window['innerWidth'],B=window['innerHeight'];class C extends v['BaseWidget']{constructor(D){if(super(),this['isOpen']=!0x1,this['exitButtonElement']={},this['exitButtonWrapperElement']={},this['blazeSdk']=document['getElementsByTagName']('blaze-sdk')[0x0],this['hammer']=null,this['isMultiTouch']=!0x1,this['player']=x['WidgetsFactory']['create']('blaze-widget-'+D+'-player'),'desktop'===v['deviceDetector']['platform']){const E=document['createElement']('style');E['textContent']='.desktop-button:hover{background-color:\x20#333333\x20!important;}.mute-unmute-button:hover{scale:\x201.1;}',this['appendChild'](E),this['exitButtonWrapperElement']=x['WidgetsFactory']['create']('blaze-div'),this['exitButtonWrapperElement']['setAttribute']('data-testid','blaze-widget-story-exit-button'),this['exitButtonElement']=x['WidgetsFactory']['create']('blaze-button');}this['boundOnResizeEvent']=(0, v['debounce'])(this['onResize']['bind'](this),0x4b),this['boundOnPopStateEvent']=this['handlePopState']['bind'](this),this['player']['onContentChange']=this['handleOnContentChange']['bind'](this);}['connectedCallback'](){window['addEventListener']('resize',this['boundOnResizeEvent']),window['addEventListener']('popstate',this['boundOnPopStateEvent']),this['setStyle']({'display':'none','position':'fixed','top':'0%','left':'0%','width':'100%','height':'100%','minHeight':'100%','justifyContent':'center','zIndex':'10000','direction':z['ConfigService']['layoutDirection']}),v['deviceDetector']['isDesktop']&&(this['exitButtonWrapperElement']['setStyle']({'position':'absolute','borderRadius':'40px','background':'#18181899','padding':'8px','top':'20px','right':'20px','zIndex':'99999','display':'block','cursor':'pointer'}),this['exitButtonWrapperElement']['classList']['add']('desktop-button'),this['exitButtonElement']['setIconUrl'](y['closeIconSvg']),this['exitButtonElement']['setAttribute']('height','30px'),this['exitButtonElement']['setAttribute']('width','30px'),this['exitButtonWrapperElement']['addEventListener']('click',()=>{const D=this['player']['playerContentList'][this['player']['index']];D['exitTrigger']='Close\x20Button',D instanceof q['BlazeWidgetStory']&&D['close'](),D instanceof q['BlazeVideoElement']&&D['event'](w['VideoAction']['VideoEnd'],{}),this['close']();}),this['exitButtonWrapperElement']['append'](this['exitButtonElement']),this['append'](this['exitButtonWrapperElement'])),this['setupHammer'](),this['render']();}['disconnectedCallback'](){this['cleanupHammer'](),window['removeEventListener']('resize',this['boundOnResizeEvent']),window['removeEventListener']('popstate',this['boundOnPopStateEvent']);}['isRealResizeEvent'](){return ('iOS'!==v['deviceDetector']['OS']||A!==window['innerWidth']||B!==window['innerHeight'])&&(B=window['innerHeight'],A=window['innerWidth'],!0x0);}['onResize'](){var D,E,F,G;this['isRealResizeEvent']()&&(null===(D=this['player'])||void 0x0===D||D['render'](),null===(E=this['player'])||void 0x0===E||E['resetPosition'](),null===(G=null===(F=this['player'])||void 0x0===F?void 0x0:F['contentList'])||void 0x0===G||G['forEach'](H=>null==H?void 0x0:H['render']()),this['render']());}['handleOnContentChange'](D){var E;null===(E=this['onContentChange'])||void 0x0===E||E['call'](this,D);}['handlePopState'](){var D,E;this['isOpen']&&(v['URLManager']['isUpdateLocationByScript']||v['URLManager']['isBackWasCalled']||(this['player']['close'](),this['close'](),this['player']instanceof q['BlazeWidgetStoryPlayer']&&(null===(E=(D=this['player'])['dispatchExitStoryEvents'])||void 0x0===E||E['call'](D)),v['URLManager']['resetLocation'](),v['URLManager']['isBackWasCalled']=!0x0));}['seek'](D){this['player']['seekContentById'](D);}['setupHammer'](){this['hammer']||(this['hammer']=new m['default']['Manager'](this),this['hammer']['add'](new m['default']['Pan']({'direction':m['default']['DIRECTION_ALL']})),this['hammer']['add'](new m['default']['Pinch']({'enable':!0x0})),this['hammer']['on']('panstart',this['handlePanStart']),this['hammer']['on']('pan',this['handlePan']),this['hammer']['on']('doubletap',this['handleDoubleTap']),this['hammer']['on']('pinch',this['handlePinchOut']),this['style']['touchAction']='pinch-zoom');}['handlePanStart'](D){this['isMultiTouch']=D['pointers']['length']>0x1;}['handlePan'](D){this['isMultiTouch']||D['preventDefault']();}['handleDoubleTap'](D){D['preventDefault']();}['handlePinchOut'](D){D['preventDefault']();}['cleanupHammer'](){this['hammer']&&(this['hammer']['off']('panstart',this['handlePanStart']),this['hammer']['off']('pan',this['handlePan']),this['hammer']['off']('doubletap',this['handleDoubleTap']),this['hammer']['destroy'](),this['hammer']=null);}['open'](D){v['URLManager']['isBackWasCalled']=!0x1,v['URLManager']['appendUrlForPrefetch'](z['ConfigService']['autoAdvanceUrl']),z['VideoPlayerService']['isPlaying']=!0x0,z['VideoPlayerService']['isModalOpen']=!0x0,this['isOpen']=!0x0,this['blazeSdk']['dataset']['scrollX']=''+window['scrollX'],this['blazeSdk']['dataset']['scrollY']=''+window['scrollY'],document['body']['style']['overflow']='hidden',this['style']['opacity']='0',this['style']['display']='flex',this['append'](this['player']),this['player']['resetAnimation'](),this['player']['play'](D),setTimeout(()=>{this['style']['transition']='opacity\x200.3s\x20ease',this['style']['opacity']='1';},0x0);}['close'](){this['isOpen']=!0x1,z['VideoPlayerService']['isModalOpen']=!0x1,this['style']['opacity']='0',document['body']['style']['overflow']&&document['body']['style']['removeProperty']('overflow'),window['scrollTo'](parseInt(this['blazeSdk']['dataset']['scrollX']||'0',0xa),parseInt(this['blazeSdk']['dataset']['scrollY']||'0',0xa)),delete this['blazeSdk']['dataset']['scrollX'],delete this['blazeSdk']['dataset']['scrollY'],z['VideoCacheService']['isInitialized']()&&z['VideoCacheService']['clearAllCache'](),z['ConfigService']['shouldModifyUrlWithStoryId']||z['ConfigService']['shouldModifyUrlWithContentId']?v['URLManager']['updateLocationContentHash']({}):v['URLManager']['resetLocationAfterContentClose'](),this['player']['remove'](),z['VideoPlayerService']['isPlaying']=!0x1,setTimeout(()=>{this['style']['display']='none';},w['ONE_SECOND']/0x3);}['isAllowExitModal'](D){return !!D['shouldDismissPlayer']||!['SingleContent','AutoAdvance']['includes'](D['playReference'])&&(void 0x0===D['customButtonVisibility']||D['customButtonVisibility']);}['render'](){if('desktop'===v['deviceDetector']['platform']){const D=this['player']['playerContentList'][this['player']['index']],E=this['isAllowExitModal']({'shouldDismissPlayer':z['ConfigService']['shouldDismissPlayer'],'playReference':z['VideoPlayerService']['playReference'],'customButtonVisibility':D instanceof q['BlazeWidgetStory']?null==D?void 0x0:D['isButtonVisible']('EXIT_PLAYER'):void 0x0});this['exitButtonWrapperElement']['style']['display']=E?'block':'none';}}}g['BlazeWidgetModal']=C;},0x8c0:(f,g,j)=>{Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['WidgetAbstractPlayer']=void 0x0;const k=j(0x1133),m=j(0x1932),p=j(0x22d9),q=j(0x11c1),v=j(0x132a),w=j(0x2432),x=j(0x1f70),y=j(0x1a96),z=['blaze-widget-cc-modal'];class A extends k['BaseWidget']{constructor(){super(),this['index']=0x0,this['numberOfContentInList']=0x3,this['contentList']=[],this['playerContentList']=[],this['hammer']={},this['gestureActionLimitThreshold']=0x19,this['edgeScreenThreshold']=0x1e,this['isEdgeThreshold']=!0x1,this['isNavigationBlocked']=!0x1,this['isCloseAnimationStarted']=!0x1,this['listeners']=new k['EventsListener'](),this['boundHandlePanStart']=this['handlePanStart']['bind'](this),this['boundHandlePanMove']=this['handlePanMove']['bind'](this),this['boundHandlePanEnd']=this['handlePanEnd']['bind'](this),this['container']=p['WidgetsFactory']['create']('blaze-div'),this['srcBackground']=document['createElement']('canvas'),this['destBackground']=document['createElement']('canvas'),this['playerFullscreenOverlay']=p['WidgetsFactory']['create']('blaze-div'),this['playerFullscreenOverlay']['setStyle']({'position':'fixed','left':'0','top':'0','width':'100%','height':'100%','zIndex':'99999','display':'none'}),this['srcBackground']['width']=0x3,this['srcBackground']['height']=0x3,this['destBackground']['width']=0x3,this['destBackground']['height']=0x3,(0, w['mergeStyles'])(this['srcBackground'],{'position':'absolute','width':'100%','height':'100%','top':'0','right':'0','bottom':'0','left':'0'}),(0, w['mergeStyles'])(this['destBackground'],{'position':'absolute','width':'100%','height':'100%','top':'0','right':'0','bottom':'0','left':'0','opacity':'0%'});}['seekContentById'](B){this['cleanPlayerContentList']();const C=this['contentList']['findIndex'](D=>D['data']['id']==B);if(this['isBlazeWidgetStory'](this['contentList'])){const D=Math['max'](0x0,C-Math['floor'](this['numberOfContentInList']/0x2)),E=Math['min'](this['contentList']['length']-0x1,C+Math['floor'](this['numberOfContentInList']/0x2));for(let F=D;F<=E;F++){const G=this['contentList'][F];G&&(this['playerContentList']['push'](G),this['container']['append'](G));}}else {if(this['isBlazeWidgetMoment'](this['contentList'])){let H=C-Math['floor']((this['numberOfContentInList']-0x1)/0x2),I=C+Math['ceil']((this['numberOfContentInList']-0x1)/0x2);H<0x0&&(I-=H,H=0x0),I>=this['contentList']['length']&&(H-=I-this['contentList']['length']+0x1,I=this['contentList']['length']-0x1),H=Math['max'](0x0,H);for(let J=H;J<=I;J++){const K=this['contentList'][J],L=K['cloneNode'](!0x0);L['setModal'](K['modal']),L['playerStyle']=K['playerStyle'],L['setData'](K['data']),L['shouldShowImaAdOnStart']=K['shouldShowImaAdOnStart'],L['adInfo']=K['adInfo'],L['setWidgetItemParent'](K['widgetParentItem']),L['momentIndex']=K['momentIndex'],L['refContentModal']=K['refContentModal'],L['startTrigger']=K['startTrigger'],L['actionHandlers']=K['actionHandlers'],L['contentExtraInfo']=K['contentExtraInfo'],L['video']&&K['video']&&(L['video']['requestFrameCallback']=K['video']['requestFrameCallback']),L&&(this['playerContentList']['push'](L),this['container']['append'](L));}}else {if(this['isBlazeWidgetVideo'](this['contentList'])){const M=this['contentList'][C],N=M['cloneNode'](!0x0);M['modal']&&N['setModal'](M['modal']),N['playerStyle']=M['playerStyle'],N['setData'](M['data']),M['widgetParentItem']&&N['setWidgetItemParent'](M['widgetParentItem']),N['refContentModal']=M['refContentModal'],N['startTrigger']=M['startTrigger'],N&&(this['playerContentList']['push'](N),this['container']['append'](N));}}}this['index']=this['playerContentList']['findIndex'](O=>O['data']['id']==B);}['cleanPlayerContentList'](){for(const B of this['playerContentList'])null==B||B['remove']();this['playerContentList']=[];}['muteVideoOnIOSOrMacTablet'](){if(this['isBlazeWidgetMoment'](this['contentList'])||this['isBlazeWidgetVideo'](this['contentList']))return;const B='iOS'===k['deviceDetector']['OS'],C='tablet'===k['deviceDetector']['platform']&&'Mac\x20OS'===k['deviceDetector']['OS'];(B||C)&&(q['VideoPlayerService']['isMuted']=!0x0);}['setupHammer'](B=Hammer['DIRECTION_HORIZONTAL']){this['hammer']=new Hammer['Manager'](this);const C=new Hammer['Pan']({'direction':B,'threshold':0x5}),D=new Hammer['Swipe']({'direction':B,'threshold':0x5});this['hammer']['add'](C),this['hammer']['add'](D)['recognizeWith'](C),this['hammer']['on']('panstart',this['boundHandlePanStart']),this['hammer']['on']('panmove',this['boundHandlePanMove']),this['hammer']['on']('panend',this['boundHandlePanEnd']),this['style']['touchAction']='pinch-zoom';}['cleanupHammer'](){this['hammer']['off']('panstart',this['boundHandlePanStart']),this['hammer']['off']('panmove',this['boundHandlePanMove']),this['hammer']['off']('panend',this['boundHandlePanEnd']),this['hammer']['destroy']();}['handlePanStart'](B){'SingleContent'===q['VideoPlayerService']['playReference']&&!q['ConfigService']['shouldAutoAdvance']||(B['preventDefault'](),'mobile'===k['deviceDetector']['platform']&&(this['isEdgeThreshold']=this['isTouchOnScreenEdges'](B['center']['x'],this['offsetWidth']),this['isEdgeThreshold'])||B['maxPointers']>0x1||this['isNavigationBlocked']||this['setAnimationContent']());}['handlePanMove'](B){B['preventDefault'](),(0, w['isElementInsideTarget'])(B['target'],z)||'desktop'!==k['deviceDetector']['platform']&&(this['isNavigationBlocked']||this['isEdgeThreshold']||(B['maxPointers']>0x1?this['reverseAnimation'](B):(B['deltaTime']>0x5*m['ONE_SECOND']&&this['isBlazeWidgetStory'](this['contentList'])&&(this['resetPosition'](),q['VideoPlayerService']['isNavigating']=!0x1),this['index']<0x0&&(this['index']=0x0),this['handleMoveSwipe'](B))));}['handlePanEnd'](B){B['preventDefault'](),(0, w['isElementInsideTarget'])(B['target'],z)||'desktop'!==k['deviceDetector']['platform']&&(this['isNavigationBlocked']||this['isEdgeThreshold']||'SingleContent'===q['VideoPlayerService']['playReference']&&!q['ConfigService']['shouldAutoAdvance']||this['handleEndSwipe'](B));}['reverseAnimation'](B){var C,D,E,F;('SingleContent'!==q['VideoPlayerService']['playReference']||q['ConfigService']['shouldAutoAdvance'])&&((this['isBlazeWidgetMoment'](this['playerContentList'])?B['deltaY']:B['deltaX'])>0x0?(this['processAnimation'](B,this['playerContentList'][this['index']],this['currentPrevAnimation']),null===(C=this['animateContent']('PREV'))||void 0x0===C||C['seek'](0x0),null===(D=this['currentPrevAnimation'])||void 0x0===D||D['seek'](0x0)):(this['processAnimation'](B,this['playerContentList'][this['index']],this['currentNextAnimation']),null===(E=this['animateContent']('NEXT'))||void 0x0===E||E['seek'](0x0),null===(F=this['currentNextAnimation'])||void 0x0===F||F['seek'](0x0)),q['VideoPlayerService']['isNavigating']=!0x1);}['setAnimationContent'](){this['currentPrevAnimation']=void 0x0,this['currentNextAnimation']=void 0x0;const B=this['playerContentList'][this['index']-0x1];this['playerContentList'][this['index']+0x1]&&(this['currentNextAnimation']=this['animateContent']('NEXT')),B&&(this['currentPrevAnimation']=this['animateContent']('PREV'));}['isTouchOnScreenEdges'](B,C){const D=C/0xc,E=B<=D,F=B<=this['edgeScreenThreshold'];if(E||F)return !0x0;const G=C-B<=D,H=B>C-this['edgeScreenThreshold'];return !(!G&&!H);}['blockInteractionWithUserInterface'](){((()=>{this['playerFullscreenOverlay']['style']['display']='block',setTimeout(()=>{this['playerFullscreenOverlay']['style']['display']='none',this['isNavigationBlocked']=!0x1;},m['ONE_SECOND']);})());}['renderPlayerBackground'](B){var C,D,E,F;if('mobile'===k['deviceDetector']['platform']||'tablet'===k['deviceDetector']['platform'])return;const G=this['srcBackground']['getContext']('2d'),H=this['destBackground']['getContext']('2d');if(!G||!H)return;if(B)return null===(C=this['backgroundAnimation'])||void 0x0===C||C['cancel'](),G['fillStyle']=v['Colors']['Black'],G['fillRect'](0x0,0x0,this['srcBackground']['width'],this['srcBackground']['height']),H['fillStyle']=v['Colors']['Black'],void H['fillRect'](0x0,0x0,this['srcBackground']['width'],this['srcBackground']['height']);const I=this['playerContentList'][this['index']];let J;if('pages'in I){const L=I,M=I['pageIndex'];J=L['pages'][M];}else J=I['video'];if('Ad'===(null===(D=null==J?void 0x0:J['data'])||void 0x0===D?void 0x0:D['type'])||(null==J?void 0x0:J['isAd']))return;const K=null==J?void 0x0:J['mainElement']();null===(E=this['backgroundAnimation'])||void 0x0===E||E['pause'](),(null===(F=this['backgroundAnimation'])||void 0x0===F?void 0x0:F['currentTime'])&&(G['globalAlpha']=+this['backgroundAnimation']['currentTime']/0xbb8),G['drawImage'](this['destBackground'],0x0,0x0,this['srcBackground']['width'],this['srcBackground']['height']),G['globalAlpha']=0x1,K&&H['drawImage'](K,0x0,0x0,this['srcBackground']['width'],this['srcBackground']['height']),this['backgroundAnimation']=this['destBackground']['animate']([{'opacity':'0'},{'opacity':'100'}],{'duration':0xbb8,'iterations':0x1,'easing':'ease-in','fill':'both'});}['appendToDomBasedOnNavigation'](B){switch(B){case'PREV':this['handlePrevDirection']();break;case'NEXT':this['handleNextDirection']();}}['resetAnimation'](){this['currentPrevAnimation']=void 0x0,this['currentNextAnimation']=void 0x0,this['resetPosition']();}['close'](){var B;if('SingleContent'!==q['VideoPlayerService']['playReference']||q['ConfigService']['shouldDismissPlayer'])try{this['playerContentList']['forEach'](C=>{'pages'in C&&C['pages']['forEach'](D=>{D['paused']||D['pause']();});}),null===(B=this['onClose'])||void 0x0===B||B['call'](this);}catch(C){}}['animateContent'](B){let C='NEXT'===B?this['index']+0x1:this['index']-0x1;if(C<0x0||C>=this['playerContentList']['length'])return;const D=this['playerContentList'][C],E=this['playerContentList'][this['index']];return E&&D?this['createAnimation'](E,B,C):void 0x0;}get['directionBackwards'](){return 'RTL'===q['ConfigService']['layoutDirection']?Hammer['DIRECTION_LEFT']:Hammer['DIRECTION_RIGHT'];}get['directionForwards'](){return 'RTL'===q['ConfigService']['layoutDirection']?Hammer['DIRECTION_RIGHT']:Hammer['DIRECTION_LEFT'];}['processAnimation'](B,C,D){if(!this['isEdgeThreshold']&&!this['isNavigationBlocked']&&!q['VideoPlayerService']['isSeekBarDragging']&&D){if(D['completed'])return;this['isNavigationBlocked']=!0x0,q['VideoPlayerService']['isNavigating']=!0x0;let E=0x0;'tablet'===k['deviceDetector']['platform']&&(E='portrait'===k['deviceDetector']['screenOrientation']?0x7:0xc);const F=Math['abs'](B['velocityY'])>0.01;if(D['progress']>=this['gestureActionLimitThreshold']-E||F){this['blockInteractionWithUserInterface']();const G=B['direction']===this['directionForwards']||B['direction']===Hammer['DIRECTION_UP'],H=B['direction']===this['directionBackwards']||B['direction']===Hammer['DIRECTION_DOWN'];G?C['navigationDirection']='Forwards':H&&(C['navigationDirection']='Backwards'),D['play'](),D['finished']['then'](()=>{q['VideoPlayerService']['isNavigating']=!0x1;});}else this['handleSmallGestures'](D,this['playerContentList'][this['index']]);}}['unloadFromPlayerList'](){if(this['isBlazeWidgetMoment'](this['contentList']))return;let B;this['playerContentList']['length']>this['numberOfContentInList']&&(this['index']>0x1?(B=this['playerContentList']['shift'](),this['index']-=0x1):B=this['playerContentList']['pop'](),null==B||B['unload'](),null==B||B['remove']());}['handleAnimationEnd'](B){this['appendToDomBasedOnNavigation'](B),this['unloadFromPlayerList']();for(const C of this['playerContentList'])C['resetPosition']();this['resetAnimation'](),this['muteVideoOnIOSOrMacTablet'](),this['loadAndPlayContent']();}['handleSmallGestures'](B,C){B['complete']=()=>{this['isNavigationBlocked']=!0x1;},B['changeComplete']=()=>{q['VideoPlayerService']['isPlaying']&&C['resume']();},B['reverse'](),B['play'](),B['finished']['then'](()=>{q['VideoPlayerService']['isNavigating']=!0x1,C instanceof y['BlazeWidgetStory']?C['currentPage']['muted']=q['VideoPlayerService']['isMuted']:C instanceof x['BlazeWidgetMoment']&&C['video']&&(C['video']['muted']=q['VideoPlayerService']['isMuted']);});}['resetPosition'](){var B,C,D,E;'SingleContent'===q['VideoPlayerService']['playReference']&&!q['ConfigService']['shouldAutoAdvance']||(null===(C=null===(B=this['animateContent']('NEXT'))||void 0x0===B?void 0x0:B['seek'])||void 0x0===C||C['call'](B,0x0),null===(E=null===(D=this['animateContent']('PREV'))||void 0x0===D?void 0x0:D['seek'])||void 0x0===E||E['call'](D,0x0),this['resetStyles']());}['isContentDirectionInPlayerListValid'](B){if(!B)return !0x1;const C='NEXT'===B?0x1:-0x1,D=this['playerContentList'][this['index']],E=this['contentList']['findIndex'](F=>F['data']['id']===D['data']['id']);return !(E+C<0x0)&&Boolean(this['contentList'][E+C]);}['isBlazeWidgetStory'](B){return Array['isArray'](B)&&B['every'](C=>'story'===C['contentType']);}['isBlazeWidgetMoment'](B){return Array['isArray'](B)&&B['every'](C=>'moment'===C['contentType']);}['isBlazeWidgetVideo'](B){return Array['isArray'](B)&&B['every'](C=>'video'===C['contentType']);}['getContentExtraInfo'](B,C){var D,E;const F=C>0x0?B[C-0x1]:void 0x0,G=C<B['length']-0x1?B[C+0x1]:void 0x0;return {'previous':null===(D=null==F?void 0x0:F['data'])||void 0x0===D?void 0x0:D['extraInfo'],'next':null===(E=null==G?void 0x0:G['data'])||void 0x0===E?void 0x0:E['extraInfo']};}}g['WidgetAbstractPlayer']=A;},0x264:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetScrollable']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super(),this['buttonsState']=[],this['totalMovement']=0x0,this['boundOnClickEvent']=this['onClick']['bind'](this),this['boundOnMouseWheelEvent']=this['onMouseWheel']['bind'](this),this['boundOnMouseMoveEvent']=this['onMouseMove']['bind'](this);}['connectedCallback'](){this['style']['userSelect']='none',this['addEventListener']('click',this['boundOnClickEvent'],!0x0),this['addEventListener']('mousemove',this['boundOnMouseMoveEvent']),this['addEventListener']('wheel',this['boundOnMouseWheelEvent']);}['disconnectedCallback'](){this['removeEventListener']('click',this['boundOnClickEvent']),this['removeEventListener']('mousemove',this['boundOnMouseMoveEvent']),this['removeEventListener']('wheel',this['boundOnMouseWheelEvent']);}['onClick'](k){this['totalMovement']>0xa&&(k['preventDefault'](),k['stopPropagation'](),k['stopImmediatePropagation']());}['onMouseMove'](k){0x1&~k['buttons']?this['totalMovement']=0x0:(this['scrollBy']({'top':-k['movementY'],'left':-k['movementX']}),(k['movementX']>0x0||k['movementX']<0x0)&&(this['totalMovement']+=Math['abs'](k['movementX'])),(k['movementY']>0x0||k['movementY']<0x0)&&(this['totalMovement']+=Math['abs'](k['movementY'])));}['onMouseWheel'](k){this['scrollBy']({'top':0x0,'left':k['deltaX']});}['render'](){}}f['BlazeWidgetScrollable']=j;},0xf49:function(f,g,j){var k=this&&this['__awaiter']||function(D,E,F,G){return new(F||(F=Promise))(function(H,I){function J(M){try{L(G['next'](M));}catch(N){I(N);}}function K(M){try{L(G['throw'](M));}catch(N){I(N);}}function L(M){var N;M['done']?H(M['value']):(N=M['value'],N instanceof F?N:new F(function(O){O(N);}))['then'](J,K);}L((G=G['apply'](D,E||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetSDK']=void 0x0;const m=j(0x23a6),q=j(0x1133),v=j(0x1932),w=j(0x26ed),x=j(0x11c1),y=j(0x132a),z=j(0x2432),A=j(0x774);let B=window['innerWidth'];class C extends q['BaseWidget']{static['isSdkConnected'](){return C['_isSdkConnected'];}static get['observedAttributes'](){return ['should-allow-horizontal-stories'];}constructor(){super(),this['boundOnResizeEvent']=(0, q['debounce'])(this['onResize']['bind'](this),0x4b),this['boundOnResizeEventDelay']=this['onResizeEventDelay']['bind'](this);}['connectedCallback'](){return k(this,void 0x0,void 0x0,function*(){window['addEventListener']('resize',this['boundOnResizeEvent']),window['addEventListener'](q['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnResizeEventDelay']);const D=this['getConfigAttributes']();yield this['initialize'](D);const E=new CustomEvent('onBlazeSDKConnect',{'bubbles':!0x0,'composed':!0x0});C['_isSdkConnected']=!0x0,this['dispatchEvent'](E),this['pushInitEvent'](),x['ConfigService']['disableAutoLoadingContent']||this['handleLoadingContent']();});}['disconnectedCallback'](){window['removeEventListener']('resize',this['boundOnResizeEvent']),window['removeEventListener'](q['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnResizeEventDelay']);}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},v['ONE_SECOND']/0x2);}['onResize'](){var D,E,F,G,H,I;B!==window['innerWidth']&&(B=window['innerWidth'],this['modal']&&(null===(D=this['modal'])||void 0x0===D||D['render'](),this['modal']instanceof m['BlazeWidgetStoryModal']&&(null===(F=null===(E=this['modal'])||void 0x0===E?void 0x0:E['player'])||void 0x0===F||F['render'](),null===(I=null===(H=null===(G=this['modal'])||void 0x0===G?void 0x0:G['player'])||void 0x0===H?void 0x0:H['contentList'])||void 0x0===I||I['forEach'](J=>null==J?void 0x0:J['render']()))));}['handleLoadingContent'](){const {isStoryMatch:D,storyId:E,isMomentMatch:F,momentId:G,isVideoMatch:H,videoId:I}=this['extractContentIdsFromUrl']();D&&E?this['handleContentLoad']('story','Share',E):F&&G?this['handleContentLoad']('moment','Share',G):H&&I?this['handleContentLoad']('video','Share',I):x['ConfigService']['staticContent']&&this['handleStaticContentLoad']('SingleContent');}['extractContentIdsFromUrl'](){var D,E,F,G,H,I;const J=location['href']['match'](z['RegexStoryHash']),K=location['href']['match'](z['RegexMomentHash']),L=location['href']['match'](z['RegexVideoHash']);return {'isStoryMatch':!!J,'storyId':J?null===(E=null===(D=J[0x1])||void 0x0===D?void 0x0:D['split']('/'))||void 0x0===E?void 0x0:E[0x2]:null,'isMomentMatch':!!K,'momentId':K?null===(G=null===(F=K[0x1])||void 0x0===F?void 0x0:F['split']('/'))||void 0x0===G?void 0x0:G[0x2]:null,'isVideoMatch':!!L,'videoId':L?null===(I=null===(H=L[0x1])||void 0x0===H?void 0x0:H['split']('/'))||void 0x0===I?void 0x0:I[0x2]:null};}['setPlayerStyleCustomization'](D){x['ConfigService']['playerStyleCustomization']=D;}['handleContentLoad'](D,E,F){return k(this,void 0x0,void 0x0,function*(){var G,H,I;if((null===document||void 0x0===document?void 0x0:document['querySelector']('#blaze-standalone-player'))||!(null==F?void 0x0:F['length']))return;const J=F['split'](',');if(null===(G=this['modal'])||void 0x0===G||G['remove'](),null==J?void 0x0:J['length']){const K={'type':'ids','ids':J};let L;switch(D){case'story':L=yield x['StoryService']['fetchContent'](K);break;case'moment':L=yield x['MomentService']['fetchContent'](K);break;case'video':L=yield x['VideoService']['fetchContent'](K);}null==L||L['result']['map'](M=>{M['type']='Content';}),0x0===(null===(H=null==L?void 0x0:L['result'])||void 0x0===H?void 0x0:H['length'])?x['EventService']['dispatch'](this,w['Delegation']['onErrorThrown'],{'id':J[0x0],'errorCode':w['ErrorLoadingCodeMapper'][D]}):this['setupModalAndLoadContent'](D,E,null===(I=null==L?void 0x0:L['result'])||void 0x0===I?void 0x0:I[0x0]);}});}['handleStaticContentLoad'](D){return k(this,void 0x0,void 0x0,function*(){const E=yield x['ApiService']['getStaticStories']();E&&this['setupModalAndLoadContent']('story',D,E);});}['setupModalAndLoadContent'](D,E,F){return k(this,void 0x0,void 0x0,function*(){var G;let H;switch(D){case'moment':H=y['ThemeFactory']['create']('default','moment'),this['modal']=new m['BlazeWidgetMomentModal'](this,H['playerStyle']);break;case'video':H=y['ThemeFactory']['create']('default','video'),H['playerStyle']['buttons']['prev_next']['desktop']['isVisible']=!0x1,H['playerStyle']['buttons']['prev_next']['mobile']['isVisible']=!0x1,H['playerStyle']['buttons']['prev_next']['tablet']['isVisible']=!0x1,this['modal']=new A['BlazeWidgetVideoModal'](this,H['playerStyle']);break;default:H=y['ThemeFactory']['create']('default','story');const J=(0, z['mergeDeep'])(H['playerStyle'],x['ConfigService']['playerStyleCustomization'])||H['playerStyle'];this['modal']=new m['BlazeWidgetStoryModal'](this,J);}this['modal']['id']='blaze-standalone-player',x['VideoPlayerService']['playReference']=E,this['append'](this['modal']);const I=new m['BlazeWidgetItem']({'layout':H['layoutStyle'],'content':F});if(this['modal']instanceof m['BlazeWidgetStoryModal']){const K=yield x['StoryService']['enrichContent']([F]);this['modal']['setModalContent'](K,0x0);}else {if(this['modal']instanceof m['BlazeWidgetMomentModal']){const L=yield x['MomentService']['enrichContent']([F]);this['modal']['setModalContent'](L,0x0);}else {if(this['modal']instanceof A['BlazeWidgetVideoModal']){const M=yield x['VideoService']['enrichContent']([F]);this['modal']['setModalContent'](M);}}}this['modal']['player']['contentList']['forEach'](N=>k(this,void 0x0,void 0x0,function*(){N['startTrigger']=E,N['refContentModal']=this['modal'],N['widgetParentItem']=I,N instanceof m['BlazeWidgetStory']&&N['resetStoryLocationIndexToLastUnseen'](),(N instanceof m['BlazeWidgetStory']||N instanceof m['BlazeWidgetMoment'])&&(yield N['load']('direct')),N['setWidgetItemParent'](I);})),this['modal']['seek'](null!==(G=F['id'])&&void 0x0!==G?G:''),this['modal']['open'](),this['modal']['onClose']=()=>{var N;null===(N=this['modal'])||void 0x0===N||N['remove']();};});}['attributeChangedCallback'](D,E,F){'should-allow-horizontal-stories'===D&&E!==F&&(x['ConfigService']['shouldAllowHorizontalStories']='true'===F,this['modal']instanceof m['BlazeWidgetStoryModal']&&this['modal']['updateModalContent']());}['getConfigAttributes'](){const D=this['getAttribute']('api-key'),E=this['getAttribute']('environment')||'prod',F=this['getAttribute']('send-analytics'),G=this['getAttribute']('run-in-shadow-dom'),H=this['getAttribute']('preview-url'),I=this['getAttribute']('preview-moment-url'),J=this['getAttribute']('do-not-track'),K=this['getAttribute']('external-user-id'),L=this['getAttribute']('geo-location'),M=this['getAttribute']('static-content'),N=this['getAttribute']('static-content-type'),O=this['getAttribute']('modifiy-url-with-story-id'),P=this['getAttribute']('modifiy-url-with-content-id'),Q=this['getAttribute']('should-dismiss-player'),R=this['getAttribute']('should-create-user'),T=this['getAttribute']('prefetching-policy')||'default',U=this['getAttribute']('should-allow-horizontal-stories'),V=this['getAttribute']('should-auto-advance'),W=this['getAttribute']('auto-advance-url'),X=this['getAttribute']('layout-direction'),Y=this['getAttribute']('should-allow-closed-captions'),Z=this['getAttribute']('disable-auto-loading-content');if(!D&&!H&&!I)throw new Error('Please\x20provide\x20API\x20Key');return {'apiKey':D,'environment':E,'sendAnalytics':F,'previewMomentUrl':I,'previewUrl':H,'doNotTrack':J,'externalUserId':K,'geoLocation':L,'staticContent':M,'staticContentType':N,'runInShadowDom':G,'shouldModifyUrlWithStoryId':O,'shouldModifyUrlWithContentId':P,'shouldDismissPlayer':Q,'shouldCreateUser':R,'prefetchingPolicy':T,'shouldAllowHorizontalStories':U,'shouldAutoAdvance':V,'autoAdvanceUrl':W,'layoutDirection':X,'shouldAllowClosedCaptions':Y,'disableAutoLoadingContent':Z};}['initialize'](D){return k(this,void 0x0,void 0x0,function*(){yield x['StartupService']['init'](D),yield this['injectFontResource'](),yield this['injectGoogleTag'](),yield this['injectIma']();});}['injectToHead'](D,E){return k(this,void 0x0,void 0x0,function*(){document['querySelectorAll'](D)['length']||(yield new Promise((F,G)=>{E['addEventListener']('load',()=>{F();}),E['addEventListener']('error',()=>{G('Failed\x20to\x20load\x20element:\x20'+E['outerHTML']);}),document['head']['append'](E);}));});}['injectFontResource'](){return k(this,void 0x0,void 0x0,function*(){const D=x['ConfigService']['sdkStorageCDN']+'/web-sdk/assets/fonts.css',E=document['createElement']('link');E['setAttribute']('rel','preload'),E['setAttribute']('href',D),E['setAttribute']('as','style'),E['setAttribute']('onload','this.onload=null;this.rel=\x27stylesheet\x27'),yield this['injectToHead']('[href*=\x22'+D+'\x22]',E);const F=document['createElement']('link');F['setAttribute']('rel','stylesheet'),F['setAttribute']('href','https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'),yield this['injectToHead']('[href=\x22https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap\x22]',F);});}['injectGoogleTag'](){return k(this,void 0x0,void 0x0,function*(){if(!x['AdService']['canRunAds'])return;const D=document['createElement']('script');D['setAttribute']('src','https://securepubads.g.doubleclick.net/tag/js/gpt.js'),D['setAttribute']('async',''),this['injectToHead']('[src*=\x22securepubads.g.doubleclick.net/tag/js/gpt.js\x22]',D);});}['injectIma'](){return k(this,void 0x0,void 0x0,function*(){if(!x['AdService']['canRunAds'])return;const D=document['createElement']('script');D['setAttribute']('src','//imasdk.googleapis.com/js/sdkloader/ima3.js'),D['setAttribute']('async',''),this['injectToHead']('[src*=\x22imasdk.googleapis.com/js/sdkloader/ima3.js\x22]',D);});}['pushInitEvent'](){const D=new q['ReferringEventInfo']();document['referrer']&&(D['referrer_page_url']=document['referrer']),x['AnalyticsService']['pushWidgetEvent'](v['WidgetAction']['SDKInit'],{},void 0x0,D);}}g['BlazeWidgetSDK']=C,C['_isSdkConnected']=!0x1;},0x183e:function(d,f,g){var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetShareModal']=void 0x0;const j=g(0x1133),k=g(0x22d9),m=g(0x115),p=g(0x132a);class q extends j['BaseWidget']{constructor(){var u,v;super(),this['shareUrl']='',this['shareContainer']=k['WidgetsFactory']['create']('blaze-div'),this['shareDrawer']=k['WidgetsFactory']['create']('blaze-modal'),this['shareDrawer']['onOpen']=null===(u=this['onDarwerOpen'])||void 0x0===u?void 0x0:u['bind'](this),this['shareDrawer']['onClose']=null===(v=this['onDrawerClose'])||void 0x0===v?void 0x0:v['bind'](this);}['connectedCallback'](){return h(this,void 0x0,void 0x0,function*(){this['shareContainer']['setStyle']({'display':'flex','flexDirection':'column','height':'12rem','fontSize':'.8rem','fontFamily':p['Presets']['playerFont'],'color':'#000'}),this['render']();});}['disconnectedCallback'](){this['removeChild'](this['shareDrawer']);}['attributeChangedCallback'](u,v,w){}['onDarwerOpen'](){var u;null===(u=this['onOpen'])||void 0x0===u||u['call'](this);}['onDrawerClose'](){var u;null===(u=this['onClose'])||void 0x0===u||u['call'](this);}['open'](u){this['shareUrl']=u,this['shareDrawer']['open']();}['close'](){this['shareDrawer']['close']();}get['isOpen'](){return !0x0===this['shareDrawer']['getAttribute']('open');}['renderButtons'](){const u=k['WidgetsFactory']['create']('blaze-div');u['setStyle']({'display':'flex','gap':'1rem','padding':'1rem\x201.5rem','alignItems':'center'}),[{'type':'copy-link','onClick':()=>{(null===navigator||void 0x0===navigator?void 0x0:navigator['clipboard'])&&navigator['clipboard']['writeText'](this['shareUrl']),this['close']();}}]['forEach'](v=>{const w=k['WidgetsFactory']['create']('blaze-share-button');w['type']=v['type'],w['onClick']=x=>{var y;v['onClick'](x),null===(y=this['onClick'])||void 0x0===y||y['call'](this,w);},u['append'](w);}),this['shareContainer']['append'](u),this['shareDrawer']['init']({'anchor':'bottom','component':this['shareContainer']}),this['append'](this['shareDrawer']);}['renderTitle'](){const u=k['WidgetsFactory']['create']('blaze-div');u['setStyle']({'display':'flex','gap':'1rem','borderBottom':'solid\x201px\x20#d1d1d1','padding':'1rem\x201.5rem','alignItems':'center'});const v=k['WidgetsFactory']['create']('blaze-div');v['setStyle']({'display':'flex','alignItems':'center','justifyContent':'center','width':'3rem','height':'3rem','borderRadius':'.3rem','border':'solid\x201px\x20#d1d1d1'});const w=k['WidgetsFactory']['create']('blaze-div');w['setStyle']({'display':'block','width':'1.5rem','height':'1.5rem','cursor':'pointer','flexShrink':'0','background':'center\x20center\x20url(\x27'+m['IconGlobe']+'\x27)\x20no-repeat','backgroundSize':'contain'});const x=k['WidgetsFactory']['create']('blaze-typography');x['text']=location['origin'],v['append'](w),u['append'](v),u['append'](x),this['shareContainer']['append'](u);}['render'](){this['renderTitle'](),this['renderButtons']();}}f['BlazeWidgetShareModal']=q;},0x15a2:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetVideoBase']=void 0x0;class g extends HTMLElement{constructor(){super();}['setData'](h){this['data']=h;}['loadPoster'](){throw new Error('Method\x20not\x20implemented.');}['play'](){throw new Error('unimplemented');}['restartVideo'](){throw new Error('Method\x20not\x20implemented.');}['pause'](){throw new Error('unimplemented');}get['paused'](){throw new Error('unimplemented');}get['currentTime'](){throw new Error('unimplemented');}set['currentTime'](h){throw new Error('unimplemented');}get['muted'](){throw new Error('unimplemented');}get['isAd'](){return this['_isAd'];}set['isAd'](h){this['_isAd']=h;}['removeLoader'](){throw new Error('Method\x20not\x20implemented.');}['load'](){}['unload'](){}['display'](h){}['hide'](){}set['muted'](h){throw new Error('unimplemented');}get['duration'](){throw new Error('unimplemented');}get['progress'](){const h=this['currentTime']/this['duration'];return h>0x1?0x1:h<0x0?0x0:h;}['mainElement'](){throw new Error('unimplemented');}['requestFrameCallback'](h){throw new Error('unimplemented');}['connectedCallback'](){throw new Error('unimplemented');}['disconnectedCallback'](){throw new Error('unimplemented');}['render'](){throw new Error('unimplemented');}['startEnter'](){}['startExit'](){}['endEnter'](){}['endExit'](){}}f['BlazeWidgetVideoBase']=g;},0x416:function(f,j,k){var m=this&&this['__awaiter']||function(F,G,H,I){return new(H||(H=Promise))(function(J,K){function L(O){try{N(I['next'](O));}catch(P){K(P);}}function M(O){try{N(I['throw'](O));}catch(P){K(P);}}function N(O){var P;O['done']?J(O['value']):(P=O['value'],P instanceof H?P:new H(function(Q){Q(P);}))['then'](L,M);}N((I=I['apply'](F,G||[]))['next']());});};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetVideo']=void 0x0;const q=k(0x23a6),v=k(0x1133),w=k(0x1932),x=k(0x25e6),y=k(0x26ed),z=k(0x22d9),A=k(0x11c1),B=k(0x132a),C=k(0x2432);let D=window['innerWidth'];class E extends q['BlazeWidgetVideoBase']{static get['observedAttributes'](){return ['is-captions-visible'];}constructor(F){var G;super(),this['contentParent']=F,this['interactionElement']=z['WidgetsFactory']['create']('blaze-widget-interaction'),this['captionsElement']=z['WidgetsFactory']['create']('blaze-widget-captions'),this['eventRenderBackgroundPercentageTriggered']=[!0x1,!0x1],this['lastErrorExecutionTime']=0x0,this['isVideoStartPlaying']=!0x1,this['isError']=!0x0,this['isLoaded']=!0x1,this['isVideoRunning']=!0x1,this['maxRetryTimes']=0x5,this['shouldShowImaAd']=!0x1,this['isCurrentlyTryingToRunImaAd']=!0x1,this['hasPoster']=!0x1,this['source']=document['createElement']('source'),this['video']=document['createElement']('video'),this['loader']=z['WidgetsFactory']['create']('blaze-loader'),this['adContainer']=document['createElement']('div'),this['adLoaderContainer']=z['WidgetsFactory']['create']('blaze-loader'),this['style']['width']='100%',this['style']['height']='100%',this['style']['position']='absolute',this['style']['top']='0',this['style']['right']='0',this['style']['bottom']='0',this['style']['left']='0',this['style']['display']='block',this['loader']['style']['top']='45%',this['loader']['style']['margin']='0\x20auto',this['video']['style']['top']='0',this['video']['style']['objectFit']='contain',this['video']['style']['position']='absolute',this['video']['style']['width']='100%',this['video']['style']['maxHeight']='100%','Horizontal'===(null===(G=this['contentParent'])||void 0x0===G?void 0x0:G['aspectRatio'])&&(this['video']['style']['height']='100%'),this['adLoaderContainer']['style']['margin']='auto';}['attributeChangedCallback'](F,G,H){'is-captions-visible'===F&&G!==H&&this['captionsElement']['setAttribute']('is-visible',H);}['connectedCallback'](){var F;this['boundLanguageChangeEvent']=this['onLanguageChange']['bind'](this),this['setAttribute']('data-testid','blaze-widget-story-video-'+(null===(F=this['data'])||void 0x0===F?void 0x0:F['id'])),this['video']['onended']=this['onended'],this['videoFrameCallback']=this['requestFrameCallback'],this['video']['currentTime']=0x0,this['video']['controls']=!0x1,this['video']['preload']='none',this['video']['playsInline']=!0x0,this['video']['setAttribute']('webkit-playsinline','true'),this['video']['addEventListener']('playing',()=>{this['isVideoStartPlaying']=!0x0,this['removeLoader']();}),this['video']['addEventListener']('pause',()=>{this['isVideoStartPlaying']=!0x1,this['removeLoader']();}),this['video']['addEventListener']('canplaythrough',()=>m(this,void 0x0,void 0x0,function*(){this['video']['paused']&&this['isVideoStartPlaying']&&(this['isVideoRunning']&&(yield this['video']['play']()),yield this['startPlayVideo'](this['video'],this['maxRetryTimes']));})),this['video']['addEventListener']('error',G=>{var H,I;const J=null===(H=null==G?void 0x0:G['target'])||void 0x0===H?void 0x0:H['error'];if((null==J?void 0x0:J['code'])===MediaError['MEDIA_ERR_DECODE']){const K=new Date()['getTime']();K-this['lastErrorExecutionTime']>=0x1388&&(this['lastErrorExecutionTime']=K,A['LoggerService']['error']('BlazeWidgetStoryVideo\x20-\x20onerror\x20Attempting\x20to\x20handle\x20MEDIA_ERR_DECODE\x20error\x20for\x20video:\x20'+(null===(I=this['videoUrl'])||void 0x0===I?void 0x0:I['split']('/')[0x5])),this['source']&&this['videoUrl']&&this['video']&&0x0===this['video']['currentTime']&&(this['video']['removeChild'](this['source']),this['video']['preload']='none',this['video']['load'](),this['source']['setAttribute']('src',this['videoUrl']),this['source']['setAttribute']('type','video/mp4'),this['video']['append'](this['source']),this['video']['load'](),this['tryReloadVideo'](this['maxRetryTimes'])));}else A['LoggerService']['error']('BlazeWidgetStoryVideo\x20-\x20onerror:\x20Unhandled\x20video\x20error\x20-\x20Code:\x20'+(null==J?void 0x0:J['code'])+',\x20Message:\x20'+(null==J?void 0x0:J['message']));}),this['video']['addEventListener']('timeupdate',()=>{var G;const H=this['video']['currentTime']/this['video']['duration']*0x64,I=[0x1,0x32];for(let J=0x0;J<I['length'];J++)H>=I[J]&&!this['eventRenderBackgroundPercentageTriggered'][J]&&(null===(G=this['videoFrameCallback'])||void 0x0===G||G['call'](this),this['eventRenderBackgroundPercentageTriggered'][J]=!0x0);}),this['appendChild'](this['video']),C['SharedEventTarget']['addEventListener'](w['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundLanguageChangeEvent']),this['adContainer']['style']['position']='absolute',this['adContainer']['style']['top']='0',this['adContainer']['style']['left']='0',this['adContainer']['style']['width']='100%',this['adContainer']['style']['height']='100%',this['adContainer']['style']['justifyContent']='center',this['adContainer']['style']['display']='none',this['adContainer']['style']['zIndex']='2',this['adLoaderContainer']['style']['margin']='auto',this['render']();}['disconnectedCallback'](){this['removeLoader'](),C['SharedEventTarget']['removeEventListener'](w['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundLanguageChangeEvent']);}['setData'](F){var G,H,I,J,K;if(this['data']=F,this['data']&&'Content'===this['data']['type']){const L=null!==(I=null===(H=null===(G=this['data']['baseLayer'])||void 0x0===G?void 0x0:G['content'])||void 0x0===H?void 0x0:H['renditions'])&&void 0x0!==I?I:[];this['videoUrl']=null!==(K=null===(J=L['find'](M=>M['aspectRatio']===this['contentParent']['aspectRatio']))||void 0x0===J?void 0x0:J['url'])&&void 0x0!==K?K:L[0x0]['url'],this['shouldShowImaAd']=Boolean(F['shouldShowImaAd']);}}['getGoogleIMA'](){var F;return null===(F=window['google'])||void 0x0===F?void 0x0:F['ima'];}['isEnableInteractions'](F){return 'Content'===(null==F?void 0x0:F['type'])&&'Vertical'===this['contentParent']['aspectRatio'];}['loadClosedCaptions'](){return m(this,void 0x0,void 0x0,function*(){var F,G,H,I,J,K;if(!A['ConfigService']['shouldAllowClosedCaptions'])return;if('Content'!==(null===(F=this['data'])||void 0x0===F?void 0x0:F['type']))return;if(!(null===(H=null===(G=this['data'])||void 0x0===G?void 0x0:G['closedCaptions'])||void 0x0===H?void 0x0:H['length'])||!(null===(J=null===(I=this['data']['closedCaptions'][0x0])||void 0x0===I?void 0x0:I['files'])||void 0x0===J?void 0x0:J['length']))return;if(this['contentParent']instanceof q['BlazeWidgetStory']&&'Embedded'===this['contentParent']['mode'])return;this['captionsElement']['isConnected']||this['append'](this['captionsElement']);const L=null===(K=this['data']['closedCaptions'])||void 0x0===K?void 0x0:K['find'](M=>''+M['language']===localStorage['getItem'](w['LOCAL_STORAGE_KEY_LAST_SELECTED']));L&&(yield this['captionsElement']['initialize'](this['video'],L['files']));});}['getVideoDuration'](F){return new Promise((G,H)=>{const I=!F,J=null!=F?F:document['createElement']('video');if(I){if(J['preload']='metadata',!this['videoUrl'])return void H(0x0);J['src']=this['videoUrl'];}if(!isNaN(J['duration']))return void G(J['duration']);const K=()=>{const N=J['duration'];M(),G(N);},L=()=>{M(),H(0x0);},M=()=>{J['removeEventListener']('loadedmetadata',K),J['removeEventListener']('error',L),I&&(J['src']='');};J['addEventListener']('loadedmetadata',K),J['addEventListener']('error',L);});}['loadPoster'](){var F,G,H,I,J,K,L,M,N,O;if('Content'===(null===(F=this['data'])||void 0x0===F?void 0x0:F['type'])&&!this['video']['hasAttribute']('poster')){const P=null!==(H=null===(G=this['data']['thumbnail'])||void 0x0===G?void 0x0:G['renditions'])&&void 0x0!==H?H:[],Q=null===(I=null==P?void 0x0:P['find'](U=>U['aspectRatio']===this['contentParent']['aspectRatio']))||void 0x0===I?void 0x0:I['url'],R=null===(J=null==P?void 0x0:P[0x0])||void 0x0===J?void 0x0:J['url'],S=(null===(L=null===(K=this['data']['thumbnail'])||void 0x0===K?void 0x0:K['rendition'])||void 0x0===L?void 0x0:L['url'])||(null===(N=null===(M=this['data']['poster'])||void 0x0===M?void 0x0:M['rendition'])||void 0x0===N?void 0x0:N['url']),T=null!==(O=null!=Q?Q:R)&&void 0x0!==O?O:S;T&&(this['video']['poster']=T,this['hasPoster']=!0x0);}}['display'](){this['style']['visibility']='visible',this['shouldShowImaAd']?(this['isCurrentlyTryingToRunImaAd']=!0x0,this['adLoaderContainer']['style']['display']=B['Colors']['Black'],this['adContainer']['style']['background']=B['Colors']['Black'],this['adContainer']['appendChild'](this['adLoaderContainer']),this['appendChild'](this['adContainer']),this['adContainer']['style']['display']='flex'):this['isEnableInteractions'](this['data'])&&this['interactionElement']['showInteraction'](this['data']['interaction']);}['hide'](){this['adsManager']&&(this['adsManager']['destroy'](),this['isCurrentlyTryingToRunImaAd']=!0x1),this['adContainer']['style']['display']='none',this['style']['visibility']='hidden',this['interactionElement']['hideInteraction']();}['load'](){return m(this,arguments,void 0x0,function*(F='cache'){var G;if(!this['isLoaded']&&'Content'===(null===(G=this['data'])||void 0x0===G?void 0x0:G['type'])&&this['data']&&this['videoUrl']){this['isLoaded']=!0x0,yield this['loadClosedCaptions'](),this['loadInteraction']();try{'cache'===F&&(yield A['VideoCacheService']['downloadAndCacheVideo'](this['videoUrl'])),this['source']['hasAttribute']('src')||(this['source']['setAttribute']('type','video/mp4'),'Safari'===v['deviceDetector']['browser']&&'desktop'===v['deviceDetector']['platform']||!this['hasPoster']?this['source']['setAttribute']('src',this['videoUrl']+'#t=0.01'):this['source']['setAttribute']('src',this['videoUrl'])),this['video']['querySelector']('source')||this['video']['append'](this['source']),this['video']['preload']='auto',this['video']['load']();}catch(H){}}});}['unload'](){return m(this,void 0x0,void 0x0,function*(){var F;this['isLoaded']&&'Content'===(null===(F=this['data'])||void 0x0===F?void 0x0:F['type'])&&this['data']&&(this['interactionElement']['unloadInteraction'](),this['captionsElement']['remove'](),this['videoUrl']&&(yield A['VideoCacheService']['deleteVideoFromCache'](this['videoUrl'])),this['resetVideoState']());});}['resetVideoState'](){this['video']['preload']='none',this['video']['pause'](),this['video']['removeAttribute']('poster'),this['source']['removeAttribute']('src'),this['source']['remove'](),this['video']['load'](),this['isVideoStartPlaying']=!0x1,this['isLoaded']=!0x1,this['isVideoRunning']=!0x1,this['removeLoader']();}['removeLoader'](){clearTimeout(this['loaderTimeoutRefAppending']),this['loader']&&this['loader']['isConnected']&&this['loader']['remove']();}['startPlayVideo'](F,G){return m(this,void 0x0,void 0x0,function*(){var H;G<=0x0?A['LoggerService']['error']('BlazeWidgetStoryVideo\x20-\x20startPlayVideo:\x20Max\x20retry\x20times\x20reached,\x20unable\x20to\x20play\x20video.\x20'+(null===(H=this['videoUrl'])||void 0x0===H?void 0x0:H['split']('/')[0x5])):this['isVideoStartPlaying']&&(yield F['play']()['then'](()=>{this['isError']=!0x1,this['isVideoRunning']=!0x0;})['catch'](()=>{var I;A['LoggerService']['error']('BlazeWidgetStoryVideo\x20-\x20catch:\x20startPlayVideo:\x20Error\x20while\x20trying\x20to\x20play\x20video.\x20Retrying...\x20'+(null===(I=this['videoUrl'])||void 0x0===I?void 0x0:I['split']('/')[0x5])),this['tryReloadVideo'](G-0x1);})['finally'](()=>{this['removeLoader']();}));});}['tryReloadVideo'](F){var G;if(this['video']){if(this['maxRetryTimes']=F,this['maxRetryTimes']<=0x0)return void A['LoggerService']['warn']('BlazeWidgetStoryVideo\x20-\x20reloadVideo:\x20Max\x20retry\x20times\x20reached.\x20Stopping\x20retries.');null===(G=this['video'])||void 0x0===G||G['load'](),this['startPlayVideo'](this['video'],this['maxRetryTimes']-0x1);}}['tryToAddLoader'](){var F,G;if(this['video']){if((null===(F=this['video'])||void 0x0===F?void 0x0:F['currentTime'])>0x0)return;if(!this['video']['paused']||this['video']['ended'])return;}this['loader']&&!(null===(G=this['loader'])||void 0x0===G?void 0x0:G['isConnected'])&&(this['loaderTimeoutRefAppending']=setTimeout(()=>{this['loader']&&this['append'](this['loader']);},w['ONE_SECOND']/0x2));}['play'](){return m(this,void 0x0,void 0x0,function*(){if(this['shouldShowImaAd'])return this['shouldShowImaAd']=!0x1,void(yield this['initializeIMA']());A['VideoPlayerService']['isPlaying']=!0x0,this['isVideoStartPlaying']=!0x0,this['eventRenderBackgroundPercentageTriggered']=[!0x1,!0x1],this['tryToAddLoader'](),this['video']&&this['video']['readyState']>=0x2&&(yield this['startPlayVideo'](this['video'],this['maxRetryTimes']));});}['pause'](){this['isVideoStartPlaying']=!0x1,this['video']['pause'](),this['removeLoader']();}set['currentTime'](F){var G;(null===(G=this['video'])||void 0x0===G?void 0x0:G['currentTime'])&&(this['video']['currentTime']=F);}get['currentTime'](){var F;return (null===(F=this['video'])||void 0x0===F?void 0x0:F['currentTime'])||0x0;}get['duration'](){var F;return (null===(F=this['video'])||void 0x0===F?void 0x0:F['duration'])||0x0;}['videoDurationMetrics'](){return m(this,void 0x0,void 0x0,function*(){yield this['getVideoDuration']()['then'](F=>F)['catch'](F=>{});});}['requestFrameCallback'](F){var G,H,I;try{(null===(G=this['video'])||void 0x0===G?void 0x0:G['requestVideoFrameCallback'])?null===(I=null===(H=this['video'])||void 0x0===H?void 0x0:H['requestVideoFrameCallback'])||void 0x0===I||I['call'](H,F):this['videoFrameCallback']=F;}catch(J){}}['mainElement'](){return this['video'];}get['paused'](){return !this['isVideoStartPlaying'];}get['muted'](){var F;return Boolean(null===(F=this['video'])||void 0x0===F?void 0x0:F['muted']);}set['muted'](F){this['video']['muted']=F;}get['isAd'](){var F;return this['isCurrentlyTryingToRunImaAd']||'Ad'===(null===(F=this['data'])||void 0x0===F?void 0x0:F['type']);}['render'](){this['video']&&(this['video']['style']['borderRadius']='mobile'===v['deviceDetector']['platform']?'0px':'20px');}['restartVideo'](){this['video']['paused']?(this['video']['currentTime']=0x0,this['load'](),this['play']()):this['video']['currentTime']=0x0;}['initializeIMA'](){return m(this,void 0x0,void 0x0,function*(){var F,G,H,I,J,K,L;const M=this['data'];if(!this['adContainer']||'IMA'!==(null===(F=M['adInfo'])||void 0x0===F?void 0x0:F['type']))return;this['getGoogleIMA']()['settings']['setDisableCustomPlaybackForIOS10Plus'](!0x0),this['adDisplayContainer']=new(this['getGoogleIMA']())['AdDisplayContainer'](this['adContainer'],this['video']);const N=new(this['getGoogleIMA']())['AdsLoader'](this['adDisplayContainer']);N['addEventListener'](this['getGoogleIMA']()['AdsManagerLoadedEvent']['Type']['ADS_MANAGER_LOADED'],P=>this['onAdsManagerLoaded'](P),!0x1),N['addEventListener'](this['getGoogleIMA']()['AdErrorEvent']['Type']['AD_ERROR'],this['onAdError']['bind'](this),!0x1),N['getSettings']()['setVpaidMode'](google['ima']['ImaSdkSettings']['VpaidMode']['INSECURE']),this['video']['addEventListener']('ended',N['contentComplete']());const O=new(this['getGoogleIMA']())['AdsRequest']();O['adTagUrl']=yield this['buildImaUrl'](M['adInfo'],M['index'],null===(G=this['contentParent'])||void 0x0===G?void 0x0:G['contentExtraInfo']),O['linearAdSlotWidth']=null===(H=this['video'])||void 0x0===H?void 0x0:H['clientWidth'],O['linearAdSlotHeight']=null===(I=this['video'])||void 0x0===I?void 0x0:I['clientHeight'],O['nonLinearAdSlotWidth']=null===(J=this['video'])||void 0x0===J?void 0x0:J['clientWidth'],O['nonLinearAdSlotHeight']=(null!==(L=null===(K=this['video'])||void 0x0===K?void 0x0:K['clientHeight'])&&void 0x0!==L?L:0x0)/0x3,this['onAdEvent']({'type':w['ImaAdAction']['REQUESTED']}),N['requestAds'](O);});}['buildImaUrl'](F,G,H){return m(this,void 0x0,void 0x0,function*(){var I,J,K;const L=(null===(J=null===(I=A['ConfigService']['imaAdHandler'])||void 0x0===I?void 0x0:I['provideAdExtraParams'])||void 0x0===J?void 0x0:J['call'](I,H))||{},M=new URL(F['tag']);M['searchParams']['set']('url',document['location']['href']),M['searchParams']['set']('vpmute',A['VideoPlayerService']['isMuted']?'1':'0'),M['searchParams']['set']('plcmt','1'),M['searchParams']['set']('vpos','midroll'),M['searchParams']['set']('vpa','click'),this['setSearchParamIfNotNullOrZero'](M,'content_len',yield this['getVideoDuration'](this['video'])['catch'](()=>0x0)),this['setSearchParamIfNotNullOrZero'](M,'content_title',null===(K=this['contentParent'])||void 0x0===K?void 0x0:K['data']['title']),M['searchParams']['set']('language',navigator['language']);for(const O in L)M['searchParams']['set'](O,L[O]);this['buildAndSetCustParams'](F,M,G);const N=M['searchParams']['get']('sz');if(N){const P='Horizontal'===this['contentParent']['aspectRatio']?w['IMA_RATIOS']['vertical']:w['IMA_RATIOS']['horizontal'];M['searchParams']['set']('sz',N['split']('|')['filter'](Q=>Q!==P)['join']('|'));}switch(F['adProvider']){case'Aniview':this['addAniviewMacrosToUrl'](M);break;case'GoogleAds':this['addGoogleAdsMacrosToUrl'](M);}return M['toString']();});}['buildAndSetCustParams'](F,G,H){const I=Object['entries'](F['context']||{})['reduce']((L,[M,N])=>(null!=N&&(L[M]=String(N)),L),{});null!=H&&(I['page_index']=String(H));let J=G['searchParams']['get']('cust_params')||'';const K=Object['entries'](I)['map'](([L,M])=>L+'='+M);if(K['length']>0x0&&(J=J?J+'&'+K['join']('&'):K['join']('&')),J&&G['searchParams']['set']('cust_params',J),'Aniview'===F['adProvider']){for(const L in I)G['searchParams']['set'](L,I[L]);}}['setSearchParamIfNotNullOrZero'](F,G,H){'number'==typeof H&&(H=H['toString']()),H&&F['searchParams']['set'](G,H);}['addAniviewMacrosToUrl'](F){var G,H;this['setSearchParamIfNotNullOrZero'](F,'AV_WIDTH',null===(G=this['video'])||void 0x0===G?void 0x0:G['clientWidth']),this['setSearchParamIfNotNullOrZero'](F,'AV_HEIGHT',null===(H=this['video'])||void 0x0===H?void 0x0:H['clientHeight']);}['addGoogleAdsMacrosToUrl'](F){var G,H;this['setSearchParamIfNotNullOrZero'](F,'width',null===(G=this['video'])||void 0x0===G?void 0x0:G['clientWidth']),this['setSearchParamIfNotNullOrZero'](F,'height',null===(H=this['video'])||void 0x0===H?void 0x0:H['clientHeight']);}['onAdsManagerLoaded'](F){const G=new(this['getGoogleIMA']())['AdsRenderingSettings']();G['restoreCustomPlaybackStateOnAdBreakComplete']=!0x0,this['adsManager']=F['getAdsManager'](this['video'],G),this['adsManager']['addEventListener'](this['getGoogleIMA']()['AdErrorEvent']['Type']['AD_ERROR'],this['onAdError']['bind'](this)),this['adsManager']['addEventListener'](this['getGoogleIMA']()['AdEvent']['Type']['CONTENT_PAUSE_REQUESTED'],this['onContentPauseRequested']['bind'](this)),this['adsManager']['addEventListener'](this['getGoogleIMA']()['AdEvent']['Type']['CONTENT_RESUME_REQUESTED'],this['onContentResumeRequested']['bind'](this)),this['adsManager']['addEventListener'](this['getGoogleIMA']()['AdEvent']['Type']['ALL_ADS_COMPLETED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['getGoogleIMA']()['AdEvent']['Type']['CLICK'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['getGoogleIMA']()['AdEvent']['Type']['COMPLETE'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['getGoogleIMA']()['AdEvent']['Type']['LOADED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['getGoogleIMA']()['AdEvent']['Type']['PAUSED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['getGoogleIMA']()['AdEvent']['Type']['RESUMED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['getGoogleIMA']()['AdEvent']['Type']['RESUMED'],()=>{this['dispatchEvent'](new CustomEvent(y['InternalEvent']['AD_RESUMED'],{'bubbles':!0x0,'cancelable':!0x1}));}),this['adsManager']['addEventListener'](this['getGoogleIMA']()['AdEvent']['Type']['SKIPPED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['getGoogleIMA']()['AdEvent']['Type']['STARTED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['getGoogleIMA']()['AdEvent']['Type']['FIRST_QUARTILE'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['getGoogleIMA']()['AdEvent']['Type']['MIDPOINT'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['getGoogleIMA']()['AdEvent']['Type']['THIRD_QUARTILE'],this['onAdEvent']['bind'](this)),window['addEventListener']('blur',this['onBlur']['bind'](this)),window['addEventListener']('focus',this['onFocus']['bind'](this)),document['addEventListener']('visibilitychange',this['onVisibile']['bind'](this)),window['addEventListener']('resize',this['onWindowResize']['bind'](this)),this['loadAds']();}['onAdEvent'](F){var G,H,I,J,K,L,M;const N={[this['getGoogleIMA']()['AdEvent']['Type']['ALL_ADS_COMPLETED']]:w['ImaAdAction']['ALL_ADS_COMPLETED'],[this['getGoogleIMA']()['AdEvent']['Type']['CLICK']]:w['ImaAdAction']['CLICK'],[this['getGoogleIMA']()['AdEvent']['Type']['COMPLETE']]:w['ImaAdAction']['COMPLETED'],[this['getGoogleIMA']()['AdEvent']['Type']['LOADED']]:w['ImaAdAction']['LOADED'],[this['getGoogleIMA']()['AdEvent']['Type']['PAUSED']]:w['ImaAdAction']['PAUSED'],[this['getGoogleIMA']()['AdEvent']['Type']['RESUMED']]:w['ImaAdAction']['RESUMED'],[this['getGoogleIMA']()['AdEvent']['Type']['SKIPPED']]:w['ImaAdAction']['SKIPPED'],[this['getGoogleIMA']()['AdEvent']['Type']['STARTED']]:w['ImaAdAction']['STARTED'],[this['getGoogleIMA']()['AdEvent']['Type']['FIRST_QUARTILE']]:w['ImaAdAction']['FIRST_QUARTILE'],[this['getGoogleIMA']()['AdEvent']['Type']['MIDPOINT']]:w['ImaAdAction']['MIDPOINT'],[this['getGoogleIMA']()['AdEvent']['Type']['THIRD_QUARTILE']]:w['ImaAdAction']['THIRD_QUARTILE'],[w['ImaAdAction']['REQUESTED']]:w['ImaAdAction']['REQUESTED']},O=null===(G=this['contentParent'])||void 0x0===G?void 0x0:G['getRefferingObject'](),P=null===(I=null===(H=null==F?void 0x0:F['getAd'])||void 0x0===H?void 0x0:H['call'](F))||void 0x0===I?void 0x0:I['data'],Q=N[null==F?void 0x0:F['type']],R=null===(J=this['data'])||void 0x0===J?void 0x0:J['adInfo'];A['AnalyticsService']['pushImaAdEvent'](Q,{'story_id':null===(K=this['contentParent'])||void 0x0===K?void 0x0:K['data']['id'],'story_title':null===(L=this['contentParent'])||void 0x0===L?void 0x0:L['data']['title'],'ad_id':null==P?void 0x0:P['adId'],'ad_title':null==P?void 0x0:P['title'],'ad_description':null==P?void 0x0:P['description'],'ad_system':null==P?void 0x0:P['adSystem'],'ad_duration':null==P?void 0x0:P['duration'],'skippable':null==P?void 0x0:P['skippable'],'skip_time_offset':null==P?void 0x0:P['skipTimeOffset'],'advertiser_name':null==P?void 0x0:P['advertiserName'],'ima_url':null==R?void 0x0:R['tag'],'ima_ad_provider':null==R?void 0x0:R['adProvider'],'player_orientation':null===(M=this['contentParent'])||void 0x0===M?void 0x0:M['aspectRatio'],'backoffice_campaign_data':JSON['stringify']((null==R?void 0x0:R['context'])||{})},void 0x0,O);}['onWindowResize'](){D!==window['innerWidth']&&(D=window['innerWidth'],this['adsManager']&&this['video']&&setTimeout(()=>{const F=this['video']['getBoundingClientRect'](),G=F['width'],H=F['height'];this['adsManager']['resize'](G,H,this['getGoogleIMA']()['ViewMode']['NORMAL']);},w['ONE_SECOND']/0x4));}['onVisibile'](){this['adsManager']&&(document['hidden']?this['adsManager']['pause']():this['adsManager']['resume']());}['onBlur'](){this['adsManager']&&this['adsManager']['pause']();}['onFocus'](){this['adsManager']&&this['adsManager']['resume']();}['onAdError'](){this['onContentResumeRequested']();}['loadAds'](){if(this['adDisplayContainer']['initialize'](),!this['video'])return;const F=this['video']['getBoundingClientRect'](),G=F['width'],H=F['height'];try{this['adsManager']['init'](G,H,this['getGoogleIMA']()['ViewMode']['NORMAL']),this['adsManager']['start']();}catch(I){this['onContentResumeRequested']();}}['onContentPauseRequested'](){this['removeAdLoader'](),this['pause'](),this['interactionElement']['hideInteraction']();}['onContentResumeRequested'](){var F;this['adsManager']&&(this['adsManager']['destroy'](),this['adsManager']=null,window['removeEventListener']('blur',this['onBlur']),window['removeEventListener']('focus',this['onFocus']),document['removeEventListener']('visibilitychange',this['onVisibile']),window['removeEventListener']('resize',this['onWindowResize'])),this['adContainer']&&(this['adContainer']['innerHTML']=''),this['removeAdLoader'](),this['adContainer']['remove'](),document['hidden']||this['play'](),this['isCurrentlyTryingToRunImaAd']=!0x1,null===(F=this['contentParent'])||void 0x0===F||F['adjustContentView'](),this['isEnableInteractions'](this['data'])&&this['interactionElement']['showInteraction'](),this['contentParent']instanceof q['BlazeWidgetStory']&&this['contentParent']['event'](w['StoryAction']['PageStart'],{}),this['dispatchEvent'](new CustomEvent(y['InternalEvent']['AD_ENDED'],{'bubbles':!0x0,'cancelable':!0x1}));}['removeAdLoader'](){this['adLoaderContainer']&&this['adContainer']&&(this['adLoaderContainer']['style']['display']='none',this['adContainer']['style']['background']='transparent');}['loadInteraction'](){if(!this['isEnableInteractions'](this['data']))return;const F=this['data']['interaction'];F&&(this['interactionElement']['addEventListener'](x['INTERACTION_ANALYTICS'],this['handleInteractionEvent']['bind'](this)),this['appendChild'](this['interactionElement']),this['interactionElement']['loadInteraction'](F));}['onLanguageChange'](F){return m(this,void 0x0,void 0x0,function*(){var G,H;const I=null===(G=this['data']['closedCaptions'])||void 0x0===G?void 0x0:G['find'](J=>''+J['language']===F['detail']['language']);yield this['captionsElement']['initialize'](this['video'],null!==(H=null==I?void 0x0:I['files'])&&void 0x0!==H?H:[]),this['setAttribute']('is-captions-visible',I?'true':'false');});}['handleInteractionEvent'](F){var G,H;A['AnalyticsService']['pushInteractionEvent'](F['detail']['action'],Object['assign'](Object['assign']({},F['detail']['body']),{'content_id':this['contentParent']['data']['id'],'content_title':this['contentParent']['data']['title'],'content_page_id':null===(G=this['data'])||void 0x0===G?void 0x0:G['id'],'content_type':'story','content_session_id':A['UserService']['sessionId'],'audio_state':A['VideoPlayerService']['isMuted']?'Mute':'Unmute','content_extra_info':'true'===(null===(H=A['AppConfigurationService']['appConfigurations'])||void 0x0===H?void 0x0:H['configurations']['analyticsAddEntitiesInfo'])?JSON['stringify'](this['contentParent']['data']['extraInfo']):void 0x0}),void 0x0,this['contentParent']['getRefferingObject']());}}j['BlazeWidgetVideo']=E;},0x1c40:function(d,f,g){var h;!function(a0,a1){var a2='function',a3='undefined',a4='object',a5='string',a6='major',a7='model',a8='name',a9='type',aa='vendor',ab='version',ac='architecture',ad='console',ae='mobile',af='tablet',ag='smarttv',ah='wearable',ai='embedded',aj='Amazon',ak='Apple',al='ASUS',am='BlackBerry',an='Browser',ao='Chrome',ap='Firefox',aq='Google',ar='Huawei',as='LG',at='Microsoft',au='Motorola',av='Opera',aw='Samsung',ax='Sharp',ay='Sony',az='Xiaomi',aA='Zebra',aB='Facebook',aC='Chromium\x20OS',aD='Mac\x20OS',aE='\x20Browser',aF=function(aQ){for(var aR={},aS=0x0;aS<aQ['length'];aS++)aR[aQ[aS]['toUpperCase']()]=aQ[aS];return aR;},aG=function(aQ,aR){return typeof aQ===a5&&-0x1!==aH(aR)['indexOf'](aH(aQ));},aH=function(aQ){return aQ['toLowerCase']();},aI=function(aQ,aR){if(typeof aQ===a5)return aQ=aQ['replace'](/^\s\s*/,''),typeof aR===a3?aQ:aQ['substring'](0x0,0x1f4);},aJ=function(aQ,aR){for(var aS,aT,aU,aV,aW,aX,aY=0x0;aY<aR['length']&&!aW;){var aZ=aR[aY],b0=aR[aY+0x1];for(aS=aT=0x0;aS<aZ['length']&&!aW&&aZ[aS];)if(aW=aZ[aS++]['exec'](aQ)){for(aU=0x0;aU<b0['length'];aU++)aX=aW[++aT],typeof(aV=b0[aU])===a4&&aV['length']>0x0?0x2===aV['length']?typeof aV[0x1]==a2?this[aV[0x0]]=aV[0x1]['call'](this,aX):this[aV[0x0]]=aV[0x1]:0x3===aV['length']?typeof aV[0x1]!==a2||aV[0x1]['exec']&&aV[0x1]['test']?this[aV[0x0]]=aX?aX['replace'](aV[0x1],aV[0x2]):a1:this[aV[0x0]]=aX?aV[0x1]['call'](this,aX,aV[0x2]):a1:0x4===aV['length']&&(this[aV[0x0]]=aX?aV[0x3]['call'](this,aX['replace'](aV[0x1],aV[0x2])):a1):this[aV]=aX||a1;}aY+=0x2;}},aK=function(aQ,aR){for(var aS in aR)if(typeof aR[aS]===a4&&aR[aS]['length']>0x0){for(var aT=0x0;aT<aR[aS]['length'];aT++)if(aG(aR[aS][aT],aQ))return '?'===aS?a1:aS;}else {if(aG(aR[aS],aQ))return '?'===aS?a1:aS;}return aR['hasOwnProperty']('*')?aR['*']:aQ;},aL={'ME':'4.90','NT\x203.11':'NT3.51','NT\x204.0':'NT4.0',0x7d0:'NT\x205.0','XP':['NT\x205.1','NT\x205.2'],'Vista':'NT\x206.0',0x7:'NT\x206.1',0x8:'NT\x206.2',8.1:'NT\x206.3',0xa:['NT\x206.4','NT\x2010.0'],'RT':'ARM'},aM={'browser':[[/\b(?:crmo|crios)\/([\w\.]+)/i],[ab,[a8,'Chrome']],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[ab,[a8,'Edge']],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[a8,ab],[/opios[\/ ]+([\w\.]+)/i],[ab,[a8,av+'\x20Mini']],[/\bop(?:rg)?x\/([\w\.]+)/i],[ab,[a8,av+'\x20GX']],[/\bopr\/([\w\.]+)/i],[ab,[a8,av]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[ab,[a8,'Baidu']],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[ab,[a8,'Maxthon']],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[a8,ab],[/quark(?:pc)?\/([-\w\.]+)/i],[ab,[a8,'Quark']],[/\bddg\/([\w\.]+)/i],[ab,[a8,'DuckDuckGo']],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[ab,[a8,'UC'+an]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[ab,[a8,'WeChat']],[/konqueror\/([\w\.]+)/i],[ab,[a8,'Konqueror']],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[ab,[a8,'IE']],[/ya(?:search)?browser\/([\w\.]+)/i],[ab,[a8,'Yandex']],[/slbrowser\/([\w\.]+)/i],[ab,[a8,'Smart\x20Lenovo\x20'+an]],[/(avast|avg)\/([\w\.]+)/i],[[a8,/(.+)/,'$1\x20Secure\x20'+an],ab],[/\bfocus\/([\w\.]+)/i],[ab,[a8,ap+'\x20Focus']],[/\bopt\/([\w\.]+)/i],[ab,[a8,av+'\x20Touch']],[/coc_coc\w+\/([\w\.]+)/i],[ab,[a8,'Coc\x20Coc']],[/dolfin\/([\w\.]+)/i],[ab,[a8,'Dolphin']],[/coast\/([\w\.]+)/i],[ab,[a8,av+'\x20Coast']],[/miuibrowser\/([\w\.]+)/i],[ab,[a8,'MIUI'+aE]],[/fxios\/([\w\.-]+)/i],[ab,[a8,ap]],[/\bqihoobrowser\/?([\w\.]*)/i],[ab,[a8,'360']],[/\b(qq)\/([\w\.]+)/i],[[a8,/(.+)/,'$1Browser'],ab],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[a8,/(.+)/,'$1'+aE],ab],[/samsungbrowser\/([\w\.]+)/i],[ab,[a8,aw+'\x20Internet']],[/metasr[\/ ]?([\d\.]+)/i],[ab,[a8,'Sogou\x20Explorer']],[/(sogou)mo\w+\/([\d\.]+)/i],[[a8,'Sogou\x20Mobile'],ab],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[a8,ab],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[a8],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[ab,a8],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[a8,aB],ab],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[a8,ab],[/\bgsa\/([\w\.]+) .*safari\//i],[ab,[a8,'GSA']],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[ab,[a8,'TikTok']],[/headlesschrome(?:\/([\w\.]+)| )/i],[ab,[a8,ao+'\x20Headless']],[/ wv\).+(chrome)\/([\w\.]+)/i],[[a8,ao+'\x20WebView'],ab],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[ab,[a8,'Android\x20'+an]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[a8,ab],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[ab,[a8,'Mobile\x20Safari']],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[ab,a8],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[a8,[ab,aK,{'1.0':'/8',1.2:'/1',1.3:'/3','2.0':'/412','2.0.2':'/416','2.0.3':'/417','2.0.4':'/419','?':'/'}]],[/(webkit|khtml)\/([\w\.]+)/i],[a8,ab],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[a8,'Netscape'],ab],[/(wolvic|librewolf)\/([\w\.]+)/i],[a8,ab],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[ab,[a8,ap+'\x20Reality']],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[a8,[ab,/_/g,'.']],[/(cobalt)\/([\w\.]+)/i],[a8,[ab,/master.|lts./,'']]],'cpu':[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[ac,'amd64']],[/(ia32(?=;))/i],[[ac,aH]],[/((?:i[346]|x)86)[;\)]/i],[[ac,'ia32']],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[ac,'arm64']],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[ac,'armhf']],[/windows (ce|mobile); ppc;/i],[[ac,'arm']],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[ac,/ower/,'',aH]],[/(sun4\w)[;\)]/i],[[ac,'sparc']],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[ac,aH]]],'device':[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[a7,[aa,aw],[a9,af]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[a7,[aa,aw],[a9,ae]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[a7,[aa,ak],[a9,ae]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[a7,[aa,ak],[a9,af]],[/(macintosh);/i],[a7,[aa,ak]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[a7,[aa,ax],[a9,ae]],[/(?:honor)([-\w ]+)[;\)]/i],[a7,[aa,'Honor'],[a9,ae]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[a7,[aa,ar],[a9,af]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[a7,[aa,ar],[a9,ae]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[a7,/_/g,'\x20'],[aa,az],[a9,ae]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[a7,/_/g,'\x20'],[aa,az],[a9,af]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[a7,[aa,'OPPO'],[a9,ae]],[/\b(opd2\d{3}a?) bui/i],[a7,[aa,'OPPO'],[a9,af]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[a7,[aa,'Vivo'],[a9,ae]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[a7,[aa,'Realme'],[a9,ae]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[a7,[aa,au],[a9,ae]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[a7,[aa,au],[a9,af]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[a7,[aa,as],[a9,af]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[a7,[aa,as],[a9,ae]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[a7,[aa,'Lenovo'],[a9,af]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[a7,/_/g,'\x20'],[aa,'Nokia'],[a9,ae]],[/(pixel c)\b/i],[a7,[aa,aq],[a9,af]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[a7,[aa,aq],[a9,ae]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[a7,[aa,ay],[a9,ae]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[a7,'Xperia\x20Tablet'],[aa,ay],[a9,af]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[a7,[aa,'OnePlus'],[a9,ae]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[a7,[aa,aj],[a9,af]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[a7,/(.+)/g,'Fire\x20Phone\x20$1'],[aa,aj],[a9,ae]],[/(playbook);[-\w\),; ]+(rim)/i],[a7,aa,[a9,af]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[a7,[aa,am],[a9,ae]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[a7,[aa,al],[a9,af]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[a7,[aa,al],[a9,ae]],[/(nexus 9)/i],[a7,[aa,'HTC'],[a9,af]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[aa,[a7,/_/g,'\x20'],[a9,ae]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[a7,[aa,'TCL'],[a9,af]],[/(itel) ((\w+))/i],[[aa,aH],a7,[a9,aK,{'tablet':['p10001l','w7001'],'*':'mobile'}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[a7,[aa,'Acer'],[a9,af]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[a7,[aa,'Meizu'],[a9,ae]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[a7,[aa,'Ulefone'],[a9,ae]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[a7,[aa,'Energizer'],[a9,ae]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[a7,[aa,'Cat'],[a9,ae]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[a7,[aa,'Smartfren'],[a9,ae]],[/droid.+; (a(?:015|06[35]|142p?))/i],[a7,[aa,'Nothing'],[a9,ae]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[aa,a7,[a9,ae]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[aa,a7,[a9,af]],[/(surface duo)/i],[a7,[aa,at],[a9,af]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[a7,[aa,'Fairphone'],[a9,ae]],[/(u304aa)/i],[a7,[aa,'AT&T'],[a9,ae]],[/\bsie-(\w*)/i],[a7,[aa,'Siemens'],[a9,ae]],[/\b(rct\w+) b/i],[a7,[aa,'RCA'],[a9,af]],[/\b(venue[\d ]{2,7}) b/i],[a7,[aa,'Dell'],[a9,af]],[/\b(q(?:mv|ta)\w+) b/i],[a7,[aa,'Verizon'],[a9,af]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[a7,[aa,'Barnes\x20&\x20Noble'],[a9,af]],[/\b(tm\d{3}\w+) b/i],[a7,[aa,'NuVision'],[a9,af]],[/\b(k88) b/i],[a7,[aa,'ZTE'],[a9,af]],[/\b(nx\d{3}j) b/i],[a7,[aa,'ZTE'],[a9,ae]],[/\b(gen\d{3}) b.+49h/i],[a7,[aa,'Swiss'],[a9,ae]],[/\b(zur\d{3}) b/i],[a7,[aa,'Swiss'],[a9,af]],[/\b((zeki)?tb.*\b) b/i],[a7,[aa,'Zeki'],[a9,af]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[aa,'Dragon\x20Touch'],a7,[a9,af]],[/\b(ns-?\w{0,9}) b/i],[a7,[aa,'Insignia'],[a9,af]],[/\b((nxa|next)-?\w{0,9}) b/i],[a7,[aa,'NextBook'],[a9,af]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[aa,'Voice'],a7,[a9,ae]],[/\b(lvtel\-)?(v1[12]) b/i],[[aa,'LvTel'],a7,[a9,ae]],[/\b(ph-1) /i],[a7,[aa,'Essential'],[a9,ae]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[a7,[aa,'Envizen'],[a9,af]],[/\b(trio[-\w\. ]+) b/i],[a7,[aa,'MachSpeed'],[a9,af]],[/\btu_(1491) b/i],[a7,[aa,'Rotor'],[a9,af]],[/(shield[\w ]+) b/i],[a7,[aa,'Nvidia'],[a9,af]],[/(sprint) (\w+)/i],[aa,a7,[a9,ae]],[/(kin\.[onetw]{3})/i],[[a7,/\./g,'\x20'],[aa,at],[a9,ae]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[a7,[aa,aA],[a9,af]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[a7,[aa,aA],[a9,ae]],[/smart-tv.+(samsung)/i],[aa,[a9,ag]],[/hbbtv.+maple;(\d+)/i],[[a7,/^/,'SmartTV'],[aa,aw],[a9,ag]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[aa,as],[a9,ag]],[/(apple) ?tv/i],[aa,[a7,ak+'\x20TV'],[a9,ag]],[/crkey/i],[[a7,ao+'cast'],[aa,aq],[a9,ag]],[/droid.+aft(\w+)( bui|\))/i],[a7,[aa,aj],[a9,ag]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[a7,[aa,ax],[a9,ag]],[/(bravia[\w ]+)( bui|\))/i],[a7,[aa,ay],[a9,ag]],[/(mitv-\w{5}) bui/i],[a7,[aa,az],[a9,ag]],[/Hbbtv.*(technisat) (.*);/i],[aa,a7,[a9,ag]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[aa,aI],[a7,aI],[a9,ag]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[a9,ag]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[aa,a7,[a9,ad]],[/droid.+; (shield) bui/i],[a7,[aa,'Nvidia'],[a9,ad]],[/(playstation [345portablevi]+)/i],[a7,[aa,ay],[a9,ad]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[a7,[aa,at],[a9,ad]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[a7,[aa,aw],[a9,ah]],[/((pebble))app/i],[aa,a7,[a9,ah]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[a7,[aa,ak],[a9,ah]],[/droid.+; (glass) \d/i],[a7,[aa,aq],[a9,ah]],[/droid.+; (wt63?0{2,3})\)/i],[a7,[aa,aA],[a9,ah]],[/droid.+; (glass) \d/i],[a7,[aa,aq],[a9,ah]],[/(pico) (4|neo3(?: link|pro)?)/i],[aa,a7,[a9,ah]],[/; (quest( \d| pro)?)/i],[a7,[aa,aB],[a9,ah]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[aa,[a9,ai]],[/(aeobc)\b/i],[a7,[aa,aj],[a9,ai]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[a7,[a9,ae]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[a7,[a9,af]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[a9,af]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[a9,ae]],[/(android[-\w\. ]{0,9});.+buil/i],[a7,[aa,'Generic']]],'engine':[[/windows.+ edge\/([\w\.]+)/i],[ab,[a8,'EdgeHTML']],[/(arkweb)\/([\w\.]+)/i],[a8,ab],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[ab,[a8,'Blink']],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[a8,ab],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[ab,a8]],'os':[[/microsoft (windows) (vista|xp)/i],[a8,ab],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[a8,[ab,aK,aL]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[ab,aK,aL],[a8,'Windows']],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[ab,/_/g,'.'],[a8,'iOS']],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[a8,aD],[ab,/_/g,'.']],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[ab,a8],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[a8,ab],[/\(bb(10);/i],[ab,[a8,am]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[ab,[a8,'Symbian']],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[ab,[a8,ap+'\x20OS']],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[ab,[a8,'webOS']],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[ab,[a8,'watchOS']],[/crkey\/([\d\.]+)/i],[ab,[a8,ao+'cast']],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[a8,aC],ab],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[a8,ab],[/(sunos) ?([\w\.\d]*)/i],[[a8,'Solaris'],ab],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[a8,ab]]},aN=function(aQ,aR){if(typeof aQ===a4&&(aR=aQ,aQ=a1),!(this instanceof aN))return new aN(aQ,aR)['getResult']();var aS=typeof a0!==a3&&a0['navigator']?a0['navigator']:a1,aT=aQ||(aS&&aS['userAgent']?aS['userAgent']:''),aU=aS&&aS['userAgentData']?aS['userAgentData']:a1,aV=aR?function(aX,aY){var aZ={};for(var b0 in aX)aY[b0]&&aY[b0]['length']%0x2==0x0?aZ[b0]=aY[b0]['concat'](aX[b0]):aZ[b0]=aX[b0];return aZ;}(aM,aR):aM,aW=aS&&aS['userAgent']==aT;return this['getBrowser']=function(){var aX,aY={};return aY[a8]=a1,aY[ab]=a1,aJ['call'](aY,aT,aV['browser']),aY[a6]=typeof(aX=aY[ab])===a5?aX['replace'](/[^\d\.]/g,'')['split']('.')[0x0]:a1,aW&&aS&&aS['brave']&&typeof aS['brave']['isBrave']==a2&&(aY[a8]='Brave'),aY;},this['getCPU']=function(){var aX={};return aX[ac]=a1,aJ['call'](aX,aT,aV['cpu']),aX;},this['getDevice']=function(){var aX={};return aX[aa]=a1,aX[a7]=a1,aX[a9]=a1,aJ['call'](aX,aT,aV['device']),aW&&!aX[a9]&&aU&&aU['mobile']&&(aX[a9]=ae),aW&&'Macintosh'==aX[a7]&&aS&&typeof aS['standalone']!==a3&&aS['maxTouchPoints']&&aS['maxTouchPoints']>0x2&&(aX[a7]='iPad',aX[a9]=af),aX;},this['getEngine']=function(){var aX={};return aX[a8]=a1,aX[ab]=a1,aJ['call'](aX,aT,aV['engine']),aX;},this['getOS']=function(){var aX={};return aX[a8]=a1,aX[ab]=a1,aJ['call'](aX,aT,aV['os']),aW&&!aX[a8]&&aU&&aU['platform']&&'Unknown'!=aU['platform']&&(aX[a8]=aU['platform']['replace'](/chrome os/i,aC)['replace'](/macos/i,aD)),aX;},this['getResult']=function(){return {'ua':this['getUA'](),'browser':this['getBrowser'](),'engine':this['getEngine'](),'os':this['getOS'](),'device':this['getDevice'](),'cpu':this['getCPU']()};},this['getUA']=function(){return aT;},this['setUA']=function(aX){return aT=typeof aX===a5&&aX['length']>0x1f4?aI(aX,0x1f4):aX,this;},this['setUA'](aT),this;};aN['VERSION']='1.0.40',aN['BROWSER']=aF([a8,ab,a6]),aN['CPU']=aF([ac]),aN['DEVICE']=aF([a7,aa,a9,ad,ae,ag,af,ah,ai]),aN['ENGINE']=aN['OS']=aF([a8,ab]),typeof f!==a3?(d['exports']&&(f=d['exports']=aN),f['UAParser']=aN):g['amdO']?(h=function(){return aN;}['call'](f,g,f,d))===a1||(d['exports']=h):typeof a0!==a3&&(a0['UAParser']=aN);var aO=typeof a0!==a3&&(a0['jQuery']||a0['Zepto']);if(aO&&!aO['ua']){var aP=new aN();aO['ua']=aP['getResult'](),aO['ua']['get']=function(){return aP['getUA']();},aO['ua']['set']=function(aQ){aP['setUA'](aQ);var aR=aP['getResult']();for(var aS in aR)aO['ua'][aS]=aR[aS];};}}('object'==typeof window?window:this);},0x263:(j,k,q)=>{var z;q['r'](k),q['d'](k,{'NIL':()=>a9,'parse':()=>V,'stringify':()=>K,'v1':()=>U,'v3':()=>a4,'v4':()=>a5,'v5':()=>a8,'validate':()=>G,'version':()=>aa});var B=new Uint8Array(0x10);function D(){if(!z&&!(z='undefined'!=typeof crypto&&crypto['getRandomValues']&&crypto['getRandomValues']['bind'](crypto)||'undefined'!=typeof msCrypto&&'function'==typeof msCrypto['getRandomValues']&&msCrypto['getRandomValues']['bind'](msCrypto)))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return z(B);}const F=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,G=function(ab){return 'string'==typeof ab&&F['test'](ab);};for(var H=[],J=0x0;J<0x100;++J)H['push']((J+0x100)['toString'](0x10)['substr'](0x1));const K=function(ab){var ac=arguments['length']>0x1&&void 0x0!==arguments[0x1]?arguments[0x1]:0x0,ad=(H[ab[ac+0x0]]+H[ab[ac+0x1]]+H[ab[ac+0x2]]+H[ab[ac+0x3]]+'-'+H[ab[ac+0x4]]+H[ab[ac+0x5]]+'-'+H[ab[ac+0x6]]+H[ab[ac+0x7]]+'-'+H[ab[ac+0x8]]+H[ab[ac+0x9]]+'-'+H[ab[ac+0xa]]+H[ab[ac+0xb]]+H[ab[ac+0xc]]+H[ab[ac+0xd]]+H[ab[ac+0xe]]+H[ab[ac+0xf]])['toLowerCase']();if(!G(ad))throw TypeError('Stringified\x20UUID\x20is\x20invalid');return ad;};var L,N,Q=0x0,R=0x0;const U=function(ab,ac,ad){var ae=ac&&ad||0x0,af=ac||new Array(0x10),ag=(ab=ab||{})['node']||L,ah=void 0x0!==ab['clockseq']?ab['clockseq']:N;if(null==ag||null==ah){var ai=ab['random']||(ab['rng']||D)();null==ag&&(ag=L=[0x1|ai[0x0],ai[0x1],ai[0x2],ai[0x3],ai[0x4],ai[0x5]]),null==ah&&(ah=N=0x3fff&(ai[0x6]<<0x8|ai[0x7]));}var aj=void 0x0!==ab['msecs']?ab['msecs']:Date['now'](),ak=void 0x0!==ab['nsecs']?ab['nsecs']:R+0x1,al=aj-Q+(ak-R)/0x2710;if(al<0x0&&void 0x0===ab['clockseq']&&(ah=ah+0x1&0x3fff),(al<0x0||aj>Q)&&void 0x0===ab['nsecs']&&(ak=0x0),ak>=0x2710)throw new Error('uuid.v1():\x20Can\x27t\x20create\x20more\x20than\x2010M\x20uuids/sec');Q=aj,R=ak,N=ah;var am=(0x2710*(0xfffffff&(aj+=0xb1d069b5400))+ak)%0x100000000;af[ae++]=am>>>0x18&0xff,af[ae++]=am>>>0x10&0xff,af[ae++]=am>>>0x8&0xff,af[ae++]=0xff&am;var an=aj/0x100000000*0x2710&0xfffffff;af[ae++]=an>>>0x8&0xff,af[ae++]=0xff&an,af[ae++]=an>>>0x18&0xf|0x10,af[ae++]=an>>>0x10&0xff,af[ae++]=ah>>>0x8|0x80,af[ae++]=0xff&ah;for(var ao=0x0;ao<0x6;++ao)af[ae+ao]=ag[ao];return ac||K(af);},V=function(ab){if(!G(ab))throw TypeError('Invalid\x20UUID');var ac,ad=new Uint8Array(0x10);return ad[0x0]=(ac=parseInt(ab['slice'](0x0,0x8),0x10))>>>0x18,ad[0x1]=ac>>>0x10&0xff,ad[0x2]=ac>>>0x8&0xff,ad[0x3]=0xff&ac,ad[0x4]=(ac=parseInt(ab['slice'](0x9,0xd),0x10))>>>0x8,ad[0x5]=0xff&ac,ad[0x6]=(ac=parseInt(ab['slice'](0xe,0x12),0x10))>>>0x8,ad[0x7]=0xff&ac,ad[0x8]=(ac=parseInt(ab['slice'](0x13,0x17),0x10))>>>0x8,ad[0x9]=0xff&ac,ad[0xa]=(ac=parseInt(ab['slice'](0x18,0x24),0x10))/0x10000000000&0xff,ad[0xb]=ac/0x100000000&0xff,ad[0xc]=ac>>>0x18&0xff,ad[0xd]=ac>>>0x10&0xff,ad[0xe]=ac>>>0x8&0xff,ad[0xf]=0xff&ac,ad;};function W(ab,ac,ad){function ae(af,ag,ah,ai){if('string'==typeof af&&(af=function(al){al=unescape(encodeURIComponent(al));for(var am=[],an=0x0;an<al['length'];++an)am['push'](al['charCodeAt'](an));return am;}(af)),'string'==typeof ag&&(ag=V(ag)),0x10!==ag['length'])throw TypeError('Namespace\x20must\x20be\x20array-like\x20(16\x20iterable\x20integer\x20values,\x200-255)');var aj=new Uint8Array(0x10+af['length']);if(aj['set'](ag),aj['set'](af,ag['length']),(aj=ad(aj))[0x6]=0xf&aj[0x6]|ac,aj[0x8]=0x3f&aj[0x8]|0x80,ah){ai=ai||0x0;for(var ak=0x0;ak<0x10;++ak)ah[ai+ak]=aj[ak];return ah;}return K(aj);}try{ae['name']=ab;}catch(af){}return ae['DNS']='6ba7b810-9dad-11d1-80b4-00c04fd430c8',ae['URL']='6ba7b811-9dad-11d1-80b4-00c04fd430c8',ae;}function X(ab){return 0xe+(ab+0x40>>>0x9<<0x4)+0x1;}function Y(ab,ac){var ad=(0xffff&ab)+(0xffff&ac);return (ab>>0x10)+(ac>>0x10)+(ad>>0x10)<<0x10|0xffff&ad;}function Z(ab,ac,ad,ae,af,ag){return Y((ah=Y(Y(ac,ab),Y(ae,ag)))<<(ai=af)|ah>>>0x20-ai,ad);var ah,ai;}function a0(ab,ac,ad,ae,af,ag,ah){return Z(ac&ad|~ac&ae,ab,ac,af,ag,ah);}function a1(ab,ac,ad,ae,af,ag,ah){return Z(ac&ae|ad&~ae,ab,ac,af,ag,ah);}function a2(ab,ac,ad,ae,af,ag,ah){return Z(ac^ad^ae,ab,ac,af,ag,ah);}function a3(ab,ac,ad,ae,af,ag,ah){return Z(ad^(ac|~ae),ab,ac,af,ag,ah);}const a4=W('v3',0x30,function(ab){if('string'==typeof ab){var ac=unescape(encodeURIComponent(ab));ab=new Uint8Array(ac['length']);for(var ad=0x0;ad<ac['length'];++ad)ab[ad]=ac['charCodeAt'](ad);}return function(ae){for(var af=[],ag=0x20*ae['length'],ah='0123456789abcdef',ai=0x0;ai<ag;ai+=0x8){var aj=ae[ai>>0x5]>>>ai%0x20&0xff,ak=parseInt(ah['charAt'](aj>>>0x4&0xf)+ah['charAt'](0xf&aj),0x10);af['push'](ak);}return af;}(function(ae,af){ae[af>>0x5]|=0x80<<af%0x20,ae[X(af)-0x1]=af;for(var ag=0x67452301,ah=-0x10325477,ai=-0x67452302,aj=0x10325476,ak=0x0;ak<ae['length'];ak+=0x10){var al=ag,am=ah,an=ai,ao=aj;ag=a0(ag,ah,ai,aj,ae[ak],0x7,-0x28955b88),aj=a0(aj,ag,ah,ai,ae[ak+0x1],0xc,-0x173848aa),ai=a0(ai,aj,ag,ah,ae[ak+0x2],0x11,0x242070db),ah=a0(ah,ai,aj,ag,ae[ak+0x3],0x16,-0x3e423112),ag=a0(ag,ah,ai,aj,ae[ak+0x4],0x7,-0xa83f051),aj=a0(aj,ag,ah,ai,ae[ak+0x5],0xc,0x4787c62a),ai=a0(ai,aj,ag,ah,ae[ak+0x6],0x11,-0x57cfb9ed),ah=a0(ah,ai,aj,ag,ae[ak+0x7],0x16,-0x2b96aff),ag=a0(ag,ah,ai,aj,ae[ak+0x8],0x7,0x698098d8),aj=a0(aj,ag,ah,ai,ae[ak+0x9],0xc,-0x74bb0851),ai=a0(ai,aj,ag,ah,ae[ak+0xa],0x11,-0xa44f),ah=a0(ah,ai,aj,ag,ae[ak+0xb],0x16,-0x76a32842),ag=a0(ag,ah,ai,aj,ae[ak+0xc],0x7,0x6b901122),aj=a0(aj,ag,ah,ai,ae[ak+0xd],0xc,-0x2678e6d),ai=a0(ai,aj,ag,ah,ae[ak+0xe],0x11,-0x5986bc72),ag=a1(ag,ah=a0(ah,ai,aj,ag,ae[ak+0xf],0x16,0x49b40821),ai,aj,ae[ak+0x1],0x5,-0x9e1da9e),aj=a1(aj,ag,ah,ai,ae[ak+0x6],0x9,-0x3fbf4cc0),ai=a1(ai,aj,ag,ah,ae[ak+0xb],0xe,0x265e5a51),ah=a1(ah,ai,aj,ag,ae[ak],0x14,-0x16493856),ag=a1(ag,ah,ai,aj,ae[ak+0x5],0x5,-0x29d0efa3),aj=a1(aj,ag,ah,ai,ae[ak+0xa],0x9,0x2441453),ai=a1(ai,aj,ag,ah,ae[ak+0xf],0xe,-0x275e197f),ah=a1(ah,ai,aj,ag,ae[ak+0x4],0x14,-0x182c0438),ag=a1(ag,ah,ai,aj,ae[ak+0x9],0x5,0x21e1cde6),aj=a1(aj,ag,ah,ai,ae[ak+0xe],0x9,-0x3cc8f82a),ai=a1(ai,aj,ag,ah,ae[ak+0x3],0xe,-0xb2af279),ah=a1(ah,ai,aj,ag,ae[ak+0x8],0x14,0x455a14ed),ag=a1(ag,ah,ai,aj,ae[ak+0xd],0x5,-0x561c16fb),aj=a1(aj,ag,ah,ai,ae[ak+0x2],0x9,-0x3105c08),ai=a1(ai,aj,ag,ah,ae[ak+0x7],0xe,0x676f02d9),ag=a2(ag,ah=a1(ah,ai,aj,ag,ae[ak+0xc],0x14,-0x72d5b376),ai,aj,ae[ak+0x5],0x4,-0x5c6be),aj=a2(aj,ag,ah,ai,ae[ak+0x8],0xb,-0x788e097f),ai=a2(ai,aj,ag,ah,ae[ak+0xb],0x10,0x6d9d6122),ah=a2(ah,ai,aj,ag,ae[ak+0xe],0x17,-0x21ac7f4),ag=a2(ag,ah,ai,aj,ae[ak+0x1],0x4,-0x5b4115bc),aj=a2(aj,ag,ah,ai,ae[ak+0x4],0xb,0x4bdecfa9),ai=a2(ai,aj,ag,ah,ae[ak+0x7],0x10,-0x944b4a0),ah=a2(ah,ai,aj,ag,ae[ak+0xa],0x17,-0x41404390),ag=a2(ag,ah,ai,aj,ae[ak+0xd],0x4,0x289b7ec6),aj=a2(aj,ag,ah,ai,ae[ak],0xb,-0x155ed806),ai=a2(ai,aj,ag,ah,ae[ak+0x3],0x10,-0x2b10cf7b),ah=a2(ah,ai,aj,ag,ae[ak+0x6],0x17,0x4881d05),ag=a2(ag,ah,ai,aj,ae[ak+0x9],0x4,-0x262b2fc7),aj=a2(aj,ag,ah,ai,ae[ak+0xc],0xb,-0x1924661b),ai=a2(ai,aj,ag,ah,ae[ak+0xf],0x10,0x1fa27cf8),ag=a3(ag,ah=a2(ah,ai,aj,ag,ae[ak+0x2],0x17,-0x3b53a99b),ai,aj,ae[ak],0x6,-0xbd6ddbc),aj=a3(aj,ag,ah,ai,ae[ak+0x7],0xa,0x432aff97),ai=a3(ai,aj,ag,ah,ae[ak+0xe],0xf,-0x546bdc59),ah=a3(ah,ai,aj,ag,ae[ak+0x5],0x15,-0x36c5fc7),ag=a3(ag,ah,ai,aj,ae[ak+0xc],0x6,0x655b59c3),aj=a3(aj,ag,ah,ai,ae[ak+0x3],0xa,-0x70f3336e),ai=a3(ai,aj,ag,ah,ae[ak+0xa],0xf,-0x100b83),ah=a3(ah,ai,aj,ag,ae[ak+0x1],0x15,-0x7a7ba22f),ag=a3(ag,ah,ai,aj,ae[ak+0x8],0x6,0x6fa87e4f),aj=a3(aj,ag,ah,ai,ae[ak+0xf],0xa,-0x1d31920),ai=a3(ai,aj,ag,ah,ae[ak+0x6],0xf,-0x5cfebcec),ah=a3(ah,ai,aj,ag,ae[ak+0xd],0x15,0x4e0811a1),ag=a3(ag,ah,ai,aj,ae[ak+0x4],0x6,-0x8ac817e),aj=a3(aj,ag,ah,ai,ae[ak+0xb],0xa,-0x42c50dcb),ai=a3(ai,aj,ag,ah,ae[ak+0x2],0xf,0x2ad7d2bb),ah=a3(ah,ai,aj,ag,ae[ak+0x9],0x15,-0x14792c6f),ag=Y(ag,al),ah=Y(ah,am),ai=Y(ai,an),aj=Y(aj,ao);}return [ag,ah,ai,aj];}(function(ae){if(0x0===ae['length'])return [];for(var af=0x8*ae['length'],ag=new Uint32Array(X(af)),ah=0x0;ah<af;ah+=0x8)ag[ah>>0x5]|=(0xff&ae[ah/0x8])<<ah%0x20;return ag;}(ab),0x8*ab['length']));}),a5=function(ab,ac,ad){var ae=(ab=ab||{})['random']||(ab['rng']||D)();if(ae[0x6]=0xf&ae[0x6]|0x40,ae[0x8]=0x3f&ae[0x8]|0x80,ac){ad=ad||0x0;for(var af=0x0;af<0x10;++af)ac[ad+af]=ae[af];return ac;}return K(ae);};function a6(ab,ac,ad,ae){switch(ab){case 0x0:return ac&ad^~ac&ae;case 0x1:case 0x3:return ac^ad^ae;case 0x2:return ac&ad^ac&ae^ad&ae;}}function a7(ab,ac){return ab<<ac|ab>>>0x20-ac;}const a8=W('v5',0x50,function(ab){var ac=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6],ad=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0];if('string'==typeof ab){var ae=unescape(encodeURIComponent(ab));ab=[];for(var af=0x0;af<ae['length'];++af)ab['push'](ae['charCodeAt'](af));}else Array['isArray'](ab)||(ab=Array['prototype']['slice']['call'](ab));ab['push'](0x80);for(var ag=ab['length']/0x4+0x2,ah=Math['ceil'](ag/0x10),ai=new Array(ah),aj=0x0;aj<ah;++aj){for(var ak=new Uint32Array(0x10),al=0x0;al<0x10;++al)ak[al]=ab[0x40*aj+0x4*al]<<0x18|ab[0x40*aj+0x4*al+0x1]<<0x10|ab[0x40*aj+0x4*al+0x2]<<0x8|ab[0x40*aj+0x4*al+0x3];ai[aj]=ak;}ai[ah-0x1][0xe]=0x8*(ab['length']-0x1)/Math['pow'](0x2,0x20),ai[ah-0x1][0xe]=Math['floor'](ai[ah-0x1][0xe]),ai[ah-0x1][0xf]=0x8*(ab['length']-0x1)&0xffffffff;for(var am=0x0;am<ah;++am){for(var an=new Uint32Array(0x50),ao=0x0;ao<0x10;++ao)an[ao]=ai[am][ao];for(var ap=0x10;ap<0x50;++ap)an[ap]=a7(an[ap-0x3]^an[ap-0x8]^an[ap-0xe]^an[ap-0x10],0x1);for(var aq=ad[0x0],ar=ad[0x1],as=ad[0x2],at=ad[0x3],au=ad[0x4],av=0x0;av<0x50;++av){var aw=Math['floor'](av/0x14),ax=a7(aq,0x5)+a6(aw,ar,as,at)+au+ac[aw]+an[av]>>>0x0;au=at,at=as,as=a7(ar,0x1e)>>>0x0,ar=aq,aq=ax;}ad[0x0]=ad[0x0]+aq>>>0x0,ad[0x1]=ad[0x1]+ar>>>0x0,ad[0x2]=ad[0x2]+as>>>0x0,ad[0x3]=ad[0x3]+at>>>0x0,ad[0x4]=ad[0x4]+au>>>0x0;}return [ad[0x0]>>0x18&0xff,ad[0x0]>>0x10&0xff,ad[0x0]>>0x8&0xff,0xff&ad[0x0],ad[0x1]>>0x18&0xff,ad[0x1]>>0x10&0xff,ad[0x1]>>0x8&0xff,0xff&ad[0x1],ad[0x2]>>0x18&0xff,ad[0x2]>>0x10&0xff,ad[0x2]>>0x8&0xff,0xff&ad[0x2],ad[0x3]>>0x18&0xff,ad[0x3]>>0x10&0xff,ad[0x3]>>0x8&0xff,0xff&ad[0x3],ad[0x4]>>0x18&0xff,ad[0x4]>>0x10&0xff,ad[0x4]>>0x8&0xff,0xff&ad[0x4]];}),a9='00000000-0000-0000-0000-000000000000',aa=function(ab){if(!G(ab))throw TypeError('Invalid\x20UUID');return parseInt(ab['substr'](0xe,0x1),0x10);};},0x12b0:(d,f,g)=>{var h=g(0x2670),j=d['exports']={'WebVTT':g(0x18a7),'VTTCue':g(0xb8),'VTTRegion':g(0x1703)};h['vttjs']=j,h['WebVTT']=j['WebVTT'];var k=j['VTTCue'],m=j['VTTRegion'],p=h['VTTCue'],q=h['VTTRegion'];j['shim']=function(){h['VTTCue']=k,h['VTTRegion']=m;},j['restore']=function(){h['VTTCue']=p,h['VTTRegion']=q;},h['VTTCue']||j['shim']();},0x18a7:(j,k,q)=>{var w=q(0x25e1),x=Object['create']||(function(){function W(){}return function(X){if(0x1!==arguments['length'])throw new Error('Object.create\x20shim\x20only\x20accepts\x20one\x20parameter.');return W['prototype']=X,new W();};}());function z(W,X){this['name']='ParsingError',this['code']=W['code'],this['message']=X||W['message'];}function A(W){function X(Z,a0,a1,a2){return 0xe10*(0x0|Z)+0x3c*(0x0|a0)+(0x0|a1)+(0x0|a2)/0x3e8;}var Y=W['match'](/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return Y?Y[0x3]?X(Y[0x1],Y[0x2],Y[0x3]['replace'](':',''),Y[0x4]):Y[0x1]>0x3b?X(Y[0x1],Y[0x2],0x0,Y[0x4]):X(0x0,Y[0x1],Y[0x2],Y[0x4]):null;}function B(){this['values']=x(null);}function D(W,X,Y,Z){var a0=Z?W['split'](Z):[W];for(var a1 in a0)if('string'==typeof a0[a1]){var a2=a0[a1]['split'](Y);0x2===a2['length']&&X(a2[0x0]['trim'](),a2[0x1]['trim']());}}function F(W,X,Y){var Z=W;function a0(){var a2=A(W);if(null===a2)throw new z(z['Errors']['BadTimeStamp'],'Malformed\x20timestamp:\x20'+Z);return W=W['replace'](/^[^\sa-zA-Z-]+/,''),a2;}function a1(){W=W['replace'](/^\s+/,'');}if(a1(),X['startTime']=a0(),a1(),'-->'!==W['substr'](0x0,0x3))throw new z(z['Errors']['BadTimeStamp'],'Malformed\x20time\x20stamp\x20(time\x20stamps\x20must\x20be\x20separated\x20by\x20\x27-->\x27):\x20'+Z);W=W['substr'](0x3),a1(),X['endTime']=a0(),a1(),function(a2,a3){var a4=new B();D(a2,function(a5,a6){switch(a5){case'region':for(var a7=Y['length']-0x1;a7>=0x0;a7--)if(Y[a7]['id']===a6){a4['set'](a5,Y[a7]['region']);break;}break;case'vertical':a4['alt'](a5,a6,['rl','lr']);break;case'line':var a8=a6['split'](','),a9=a8[0x0];a4['integer'](a5,a9),a4['percent'](a5,a9)&&a4['set']('snapToLines',!0x1),a4['alt'](a5,a9,['auto']),0x2===a8['length']&&a4['alt']('lineAlign',a8[0x1],['start','center','end']);break;case'position':a8=a6['split'](','),a4['percent'](a5,a8[0x0]),0x2===a8['length']&&a4['alt']('positionAlign',a8[0x1],['start','center','end']);break;case'size':a4['percent'](a5,a6);break;case'align':a4['alt'](a5,a6,['start','center','end','left','right']);}},/:/,/\s/),a3['region']=a4['get']('region',null),a3['vertical']=a4['get']('vertical','');try{a3['line']=a4['get']('line','auto');}catch(a5){}a3['lineAlign']=a4['get']('lineAlign','start'),a3['snapToLines']=a4['get']('snapToLines',!0x0),a3['size']=a4['get']('size',0x64);try{a3['align']=a4['get']('align','center');}catch(a6){a3['align']=a4['get']('align','middle');}try{a3['position']=a4['get']('position','auto');}catch(a7){a3['position']=a4['get']('position',{'start':0x0,'left':0x0,'center':0x32,'middle':0x32,'end':0x64,'right':0x64},a3['align']);}a3['positionAlign']=a4['get']('positionAlign',{'start':'start','left':'start','center':'center','middle':'center','end':'end','right':'end'},a3['align']);}(W,X);}z['prototype']=x(Error['prototype']),z['prototype']['constructor']=z,z['Errors']={'BadSignature':{'code':0x0,'message':'Malformed\x20WebVTT\x20signature.'},'BadTimeStamp':{'code':0x1,'message':'Malformed\x20time\x20stamp.'}},B['prototype']={'set':function(W,X){this['get'](W)||''===X||(this['values'][W]=X);},'get':function(W,X,Y){return Y?this['has'](W)?this['values'][W]:X[Y]:this['has'](W)?this['values'][W]:X;},'has':function(W){return W in this['values'];},'alt':function(W,X,Y){for(var Z=0x0;Z<Y['length'];++Z)if(X===Y[Z]){this['set'](W,X);break;}},'integer':function(W,X){/^-?\d+$/['test'](X)&&this['set'](W,parseInt(X,0xa));},'percent':function(W,X){return !!(X['match'](/^([\d]{1,3})(\.[\d]*)?%$/)&&(X=parseFloat(X))>=0x0&&X<=0x64)&&(this['set'](W,X),!0x0);}};var G=w['createElement']&&w['createElement']('textarea'),H={'c':'span','i':'i','b':'b','u':'u','ruby':'ruby','rt':'rt','v':'span','lang':'span'},I={'white':'rgba(255,255,255,1)','lime':'rgba(0,255,0,1)','cyan':'rgba(0,255,255,1)','red':'rgba(255,0,0,1)','yellow':'rgba(255,255,0,1)','magenta':'rgba(255,0,255,1)','blue':'rgba(0,0,255,1)','black':'rgba(0,0,0,1)'},J={'v':'title','lang':'lang'},K={'rt':'ruby'};function L(W,X){function Y(){if(!X)return null;var aa,ab=X['match'](/^([^<]*)(<[^>]*>?)?/);return aa=ab[0x1]?ab[0x1]:ab[0x2],X=X['substr'](aa['length']),aa;}function Z(aa,ab){return !K[ab['localName']]||K[ab['localName']]===aa['localName'];}function a0(aa,ab){var ac=H[aa];if(!ac)return null;var ad=W['document']['createElement'](ac),ae=J[aa];return ae&&ab&&(ad[ae]=ab['trim']()),ad;}for(var a1,a2,a3=W['document']['createElement']('div'),a4=a3,a5=[];null!==(a1=Y());)if('<'!==a1[0x0])a4['appendChild'](W['document']['createTextNode']((a2=a1,G['innerHTML']=a2,a2=G['textContent'],G['textContent']='',a2)));else {if('/'===a1[0x1]){a5['length']&&a5[a5['length']-0x1]===a1['substr'](0x2)['replace']('>','')&&(a5['pop'](),a4=a4['parentNode']);continue;}var a6,a7=A(a1['substr'](0x1,a1['length']-0x2));if(a7){a6=W['document']['createProcessingInstruction']('timestamp',a7),a4['appendChild'](a6);continue;}var a8=a1['match'](/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!a8)continue;if(!(a6=a0(a8[0x1],a8[0x3])))continue;if(!Z(a4,a6))continue;if(a8[0x2]){var a9=a8[0x2]['split']('.');a9['forEach'](function(aa){var ab=/^bg_/['test'](aa),ac=ab?aa['slice'](0x3):aa;if(I['hasOwnProperty'](ac)){var ad=ab?'background-color':'color',ae=I[ac];a6['style'][ad]=ae;}}),a6['className']=a9['join']('\x20');}a5['push'](a8[0x1]),a4['appendChild'](a6),a4=a6;}return a3;}var M=[[0x5be,0x5be],[0x5c0,0x5c0],[0x5c3,0x5c3],[0x5c6,0x5c6],[0x5d0,0x5ea],[0x5f0,0x5f4],[0x608,0x608],[0x60b,0x60b],[0x60d,0x60d],[0x61b,0x61b],[0x61e,0x64a],[0x66d,0x66f],[0x671,0x6d5],[0x6e5,0x6e6],[0x6ee,0x6ef],[0x6fa,0x70d],[0x70f,0x710],[0x712,0x72f],[0x74d,0x7a5],[0x7b1,0x7b1],[0x7c0,0x7ea],[0x7f4,0x7f5],[0x7fa,0x7fa],[0x800,0x815],[0x81a,0x81a],[0x824,0x824],[0x828,0x828],[0x830,0x83e],[0x840,0x858],[0x85e,0x85e],[0x8a0,0x8a0],[0x8a2,0x8ac],[0x200f,0x200f],[0xfb1d,0xfb1d],[0xfb1f,0xfb28],[0xfb2a,0xfb36],[0xfb38,0xfb3c],[0xfb3e,0xfb3e],[0xfb40,0xfb41],[0xfb43,0xfb44],[0xfb46,0xfbc1],[0xfbd3,0xfd3d],[0xfd50,0xfd8f],[0xfd92,0xfdc7],[0xfdf0,0xfdfc],[0xfe70,0xfe74],[0xfe76,0xfefc],[0x10800,0x10805],[0x10808,0x10808],[0x1080a,0x10835],[0x10837,0x10838],[0x1083c,0x1083c],[0x1083f,0x10855],[0x10857,0x1085f],[0x10900,0x1091b],[0x10920,0x10939],[0x1093f,0x1093f],[0x10980,0x109b7],[0x109be,0x109bf],[0x10a00,0x10a00],[0x10a10,0x10a13],[0x10a15,0x10a17],[0x10a19,0x10a33],[0x10a40,0x10a47],[0x10a50,0x10a58],[0x10a60,0x10a7f],[0x10b00,0x10b35],[0x10b40,0x10b55],[0x10b58,0x10b72],[0x10b78,0x10b7f],[0x10c00,0x10c48],[0x1ee00,0x1ee03],[0x1ee05,0x1ee1f],[0x1ee21,0x1ee22],[0x1ee24,0x1ee24],[0x1ee27,0x1ee27],[0x1ee29,0x1ee32],[0x1ee34,0x1ee37],[0x1ee39,0x1ee39],[0x1ee3b,0x1ee3b],[0x1ee42,0x1ee42],[0x1ee47,0x1ee47],[0x1ee49,0x1ee49],[0x1ee4b,0x1ee4b],[0x1ee4d,0x1ee4f],[0x1ee51,0x1ee52],[0x1ee54,0x1ee54],[0x1ee57,0x1ee57],[0x1ee59,0x1ee59],[0x1ee5b,0x1ee5b],[0x1ee5d,0x1ee5d],[0x1ee5f,0x1ee5f],[0x1ee61,0x1ee62],[0x1ee64,0x1ee64],[0x1ee67,0x1ee6a],[0x1ee6c,0x1ee72],[0x1ee74,0x1ee77],[0x1ee79,0x1ee7c],[0x1ee7e,0x1ee7e],[0x1ee80,0x1ee89],[0x1ee8b,0x1ee9b],[0x1eea1,0x1eea3],[0x1eea5,0x1eea9],[0x1eeab,0x1eebb],[0x10fffd,0x10fffd]];function N(W){for(var X=0x0;X<M['length'];X++){var Y=M[X];if(W>=Y[0x0]&&W<=Y[0x1])return !0x0;}return !0x1;}function O(W){var X=[],Y='';if(!W||!W['childNodes'])return 'ltr';function Z(a2,a3){for(var a4=a3['childNodes']['length']-0x1;a4>=0x0;a4--)a2['push'](a3['childNodes'][a4]);}function a0(a2){if(!a2||!a2['length'])return null;var a3=a2['pop'](),a4=a3['textContent']||a3['innerText'];if(a4){var a5=a4['match'](/^.*(\n|\r)/);return a5?(a2['length']=0x0,a5[0x0]):a4;}return 'ruby'===a3['tagName']?a0(a2):a3['childNodes']?(Z(a2,a3),a0(a2)):void 0x0;}for(Z(X,W);Y=a0(X);)for(var a1=0x0;a1<Y['length'];a1++)if(N(Y['charCodeAt'](a1)))return 'rtl';return 'ltr';}function P(){}function Q(W,X,Y){P['call'](this),this['cue']=X,this['cueDiv']=L(W,X['text']);var Z={'color':'rgba(255,\x20255,\x20255,\x201)','backgroundColor':'rgba(0,\x200,\x200,\x200.8)','position':'relative','left':0x0,'right':0x0,'top':0x0,'bottom':0x0,'display':'inline','writingMode':''===X['vertical']?'horizontal-tb':'lr'===X['vertical']?'vertical-lr':'vertical-rl','unicodeBidi':'plaintext'};this['applyStyles'](Z,this['cueDiv']),this['div']=W['document']['createElement']('div'),Z={'direction':O(this['cueDiv']),'writingMode':''===X['vertical']?'horizontal-tb':'lr'===X['vertical']?'vertical-lr':'vertical-rl','unicodeBidi':'plaintext','textAlign':'middle'===X['align']?'center':X['align'],'font':Y['font'],'whiteSpace':'pre-line','position':'absolute'},this['applyStyles'](Z),this['div']['appendChild'](this['cueDiv']);var a0=0x0;switch(X['positionAlign']){case'start':case'line-left':a0=X['position'];break;case'center':a0=X['position']-X['size']/0x2;break;case'end':case'line-right':a0=X['position']-X['size'];}''===X['vertical']?this['applyStyles']({'left':this['formatStyle'](a0,'%'),'width':this['formatStyle'](X['size'],'%')}):this['applyStyles']({'top':this['formatStyle'](a0,'%'),'height':this['formatStyle'](X['size'],'%')}),this['move']=function(a1){this['applyStyles']({'top':this['formatStyle'](a1['top'],'px'),'bottom':this['formatStyle'](a1['bottom'],'px'),'left':this['formatStyle'](a1['left'],'px'),'right':this['formatStyle'](a1['right'],'px'),'height':this['formatStyle'](a1['height'],'px'),'width':this['formatStyle'](a1['width'],'px')});};}function R(W){var X,Y,Z,a0;if(W['div']){Y=W['div']['offsetHeight'],Z=W['div']['offsetWidth'],a0=W['div']['offsetTop'];var a1=(a1=W['div']['childNodes'])&&(a1=a1[0x0])&&a1['getClientRects']&&a1['getClientRects']();W=W['div']['getBoundingClientRect'](),X=a1?Math['max'](a1[0x0]&&a1[0x0]['height']||0x0,W['height']/a1['length']):0x0;}this['left']=W['left'],this['right']=W['right'],this['top']=W['top']||a0,this['height']=W['height']||Y,this['bottom']=W['bottom']||a0+(W['height']||Y),this['width']=W['width']||Z,this['lineHeight']=void 0x0!==X?X:W['lineHeight'];}function U(W,X,Y,Z){var a0=new R(X),a1=X['cue'],a2=function(ab){if('number'==typeof ab['line']&&(ab['snapToLines']||ab['line']>=0x0&&ab['line']<=0x64))return ab['line'];if(!ab['track']||!ab['track']['textTrackList']||!ab['track']['textTrackList']['mediaElement'])return -0x1;for(var ac=ab['track'],ad=ac['textTrackList'],ae=0x0,af=0x0;af<ad['length']&&ad[af]!==ac;af++)'showing'===ad[af]['mode']&&ae++;return -0x1*++ae;}(a1),a3=[];if(a1['snapToLines']){var a4;switch(a1['vertical']){case'':a3=['+y','-y'],a4='height';break;case'rl':a3=['+x','-x'],a4='width';break;case'lr':a3=['-x','+x'],a4='width';}var a5=a0['lineHeight'],a6=a5*Math['round'](a2),a7=Y[a4]+a5,a8=a3[0x0];Math['abs'](a6)>a7&&(a6=a6<0x0?-0x1:0x1,a6*=Math['ceil'](a7/a5)*a5),a2<0x0&&(a6+=''===a1['vertical']?Y['height']:Y['width'],a3=a3['reverse']()),a0['move'](a8,a6);}else {var a9=a0['lineHeight']/Y['height']*0x64;switch(a1['lineAlign']){case'center':a2-=a9/0x2;break;case'end':a2-=a9;}switch(a1['vertical']){case'':X['applyStyles']({'top':X['formatStyle'](a2,'%')});break;case'rl':X['applyStyles']({'left':X['formatStyle'](a2,'%')});break;case'lr':X['applyStyles']({'right':X['formatStyle'](a2,'%')});}a3=['+y','-x','+x','-y'],a0=new R(X);}var aa=function(ab,ac){for(var ad,ae=new R(ab),af=0x1,ag=0x0;ag<ac['length'];ag++){for(;ab['overlapsOppositeAxis'](Y,ac[ag])||ab['within'](Y)&&ab['overlapsAny'](Z);)ab['move'](ac[ag]);if(ab['within'](Y))return ab;var ah=ab['intersectPercentage'](Y);af>ah&&(ad=new R(ab),af=ah),ab=new R(ae);}return ad||ae;}(a0,a3);X['move'](aa['toCSSCompatValues'](Y));}function V(){}P['prototype']['applyStyles']=function(W,X){for(var Y in(X=X||this['div'],W))W['hasOwnProperty'](Y)&&(X['style'][Y]=W[Y]);},P['prototype']['formatStyle']=function(W,X){return 0x0===W?0x0:W+X;},Q['prototype']=x(P['prototype']),Q['prototype']['constructor']=Q,R['prototype']['move']=function(W,X){switch(X=void 0x0!==X?X:this['lineHeight'],W){case'+x':this['left']+=X,this['right']+=X;break;case'-x':this['left']-=X,this['right']-=X;break;case'+y':this['top']+=X,this['bottom']+=X;break;case'-y':this['top']-=X,this['bottom']-=X;}},R['prototype']['overlaps']=function(W){return this['left']<W['right']&&this['right']>W['left']&&this['top']<W['bottom']&&this['bottom']>W['top'];},R['prototype']['overlapsAny']=function(W){for(var X=0x0;X<W['length'];X++)if(this['overlaps'](W[X]))return !0x0;return !0x1;},R['prototype']['within']=function(W){return this['top']>=W['top']&&this['bottom']<=W['bottom']&&this['left']>=W['left']&&this['right']<=W['right'];},R['prototype']['overlapsOppositeAxis']=function(W,X){switch(X){case'+x':return this['left']<W['left'];case'-x':return this['right']>W['right'];case'+y':return this['top']<W['top'];case'-y':return this['bottom']>W['bottom'];}},R['prototype']['intersectPercentage']=function(W){return Math['max'](0x0,Math['min'](this['right'],W['right'])-Math['max'](this['left'],W['left']))*Math['max'](0x0,Math['min'](this['bottom'],W['bottom'])-Math['max'](this['top'],W['top']))/(this['height']*this['width']);},R['prototype']['toCSSCompatValues']=function(W){return {'top':this['top']-W['top'],'bottom':W['bottom']-this['bottom'],'left':this['left']-W['left'],'right':W['right']-this['right'],'height':this['height'],'width':this['width']};},R['getSimpleBoxPosition']=function(W){var X=W['div']?W['div']['offsetHeight']:W['tagName']?W['offsetHeight']:0x0,Y=W['div']?W['div']['offsetWidth']:W['tagName']?W['offsetWidth']:0x0,Z=W['div']?W['div']['offsetTop']:W['tagName']?W['offsetTop']:0x0;return {'left':(W=W['div']?W['div']['getBoundingClientRect']():W['tagName']?W['getBoundingClientRect']():W)['left'],'right':W['right'],'top':W['top']||Z,'height':W['height']||X,'bottom':W['bottom']||Z+(W['height']||X),'width':W['width']||Y};},V['StringDecoder']=function(){return {'decode':function(W){if(!W)return '';if('string'!=typeof W)throw new Error('Error\x20-\x20expected\x20string\x20data.');return decodeURIComponent(encodeURIComponent(W));}};},V['convertCueToDOMTree']=function(W,X){return W&&X?L(W,X):null;},V['processCues']=function(W,X,Y){if(!W||!X||!Y)return null;for(;Y['firstChild'];)Y['removeChild'](Y['firstChild']);var Z=W['document']['createElement']('div');if(Z['style']['position']='absolute',Z['style']['left']='0',Z['style']['right']='0',Z['style']['top']='0',Z['style']['bottom']='0',Z['style']['margin']='1.5%',Y['appendChild'](Z),function(a4){for(var a5=0x0;a5<a4['length'];a5++)if(a4[a5]['hasBeenReset']||!a4[a5]['displayState'])return !0x0;return !0x1;}(X)){var a0=[],a1=R['getSimpleBoxPosition'](Z),a2={'font':Math['round'](0.05*a1['height']*0x64)/0x64+'px\x20sans-serif'};!(function(){for(var a4,a5,a6=0x0;a6<X['length'];a6++)a5=X[a6],a4=new Q(W,a5,a2),Z['appendChild'](a4['div']),U(0x0,a4,a1,a0),a5['displayState']=a4['div'],a0['push'](R['getSimpleBoxPosition'](a4));}());}else {for(var a3=0x0;a3<X['length'];a3++)Z['appendChild'](X[a3]['displayState']);}},V['Parser']=function(W,X,Y){Y||(Y=X,X={}),X||(X={}),this['window']=W,this['vttjs']=X,this['state']='INITIAL',this['buffer']='',this['decoder']=Y||new TextDecoder('utf8'),this['regionList']=[];},V['Parser']['prototype']={'reportOrThrowError':function(W){if(!(W instanceof z))throw W;this['onparsingerror']&&this['onparsingerror'](W);},'parse':function(W){var X,Y=this;function Z(){for(var a4=Y['buffer'],a5=0x0;a5<a4['length']&&'\x0d'!==a4[a5]&&'\x0a'!==a4[a5];)++a5;var a6=a4['substr'](0x0,a5);return '\x0d'===a4[a5]&&++a5,'\x0a'===a4[a5]&&++a5,Y['buffer']=a4['substr'](a5),a6;}W&&(Y['buffer']+=Y['decoder']['decode'](W,{'stream':!0x0}));try{var a0;if('INITIAL'===Y['state']){if(!/\r\n|\n/['test'](Y['buffer']))return this;var a1=(a0=Z())['match'](/^WEBVTT([ \t].*)?$/);if(!a1||!a1[0x0])throw new z(z['Errors']['BadSignature']);Y['state']='HEADER';}for(var a2=!0x1;Y['buffer'];){if(!/\r\n|\n/['test'](Y['buffer']))return this;switch(a2?a2=!0x1:a0=Z(),Y['state']){case'HEADER':/:/['test'](a0)?(X=a0)['match'](/X-TIMESTAMP-MAP/)?D(X,function(a4,a5){'X-TIMESTAMP-MAP'===a4&&function(a6){var a7=new B();D(a6,function(a8,a9){switch(a8){case'MPEGT':a7['integer'](a8+'S',a9);break;case'LOCA':a7['set'](a8+'L',A(a9));}},/[^\d]:/,/,/),Y['ontimestampmap']&&Y['ontimestampmap']({'MPEGTS':a7['get']('MPEGTS'),'LOCAL':a7['get']('LOCAL')});}(a5);},/=/):D(X,function(a4,a5){'Region'===a4&&function(a6){var a7=new B();if(D(a6,function(a9,aa){switch(a9){case'id':a7['set'](a9,aa);break;case'width':a7['percent'](a9,aa);break;case'lines':a7['integer'](a9,aa);break;case'regionanchor':case'viewportanchor':var ab=aa['split'](',');if(0x2!==ab['length'])break;var ac=new B();if(ac['percent']('x',ab[0x0]),ac['percent']('y',ab[0x1]),!ac['has']('x')||!ac['has']('y'))break;a7['set'](a9+'X',ac['get']('x')),a7['set'](a9+'Y',ac['get']('y'));break;case'scroll':a7['alt'](a9,aa,['up']);}},/=/,/\s/),a7['has']('id')){var a8=new(Y['vttjs']['VTTRegion']||Y['window']['VTTRegion'])();a8['width']=a7['get']('width',0x64),a8['lines']=a7['get']('lines',0x3),a8['regionAnchorX']=a7['get']('regionanchorX',0x0),a8['regionAnchorY']=a7['get']('regionanchorY',0x64),a8['viewportAnchorX']=a7['get']('viewportanchorX',0x0),a8['viewportAnchorY']=a7['get']('viewportanchorY',0x64),a8['scroll']=a7['get']('scroll',''),Y['onregion']&&Y['onregion'](a8),Y['regionList']['push']({'id':a7['get']('id'),'region':a8});}}(a5);},/:/):a0||(Y['state']='ID');continue;case'NOTE':a0||(Y['state']='ID');continue;case'ID':if(/^NOTE($|[ \t])/['test'](a0)){Y['state']='NOTE';break;}if(!a0)continue;Y['cue']=new(Y['vttjs']['VTTCue']||Y['window']['VTTCue'])(0x0,0x0,'');try{Y['cue']['align']='center';}catch(a4){Y['cue']['align']='middle';}if(Y['state']='CUE',-0x1===a0['indexOf']('-->')){Y['cue']['id']=a0;continue;}case'CUE':try{F(a0,Y['cue'],Y['regionList']);}catch(a5){Y['reportOrThrowError'](a5),Y['cue']=null,Y['state']='BADCUE';continue;}Y['state']='CUETEXT';continue;case'CUETEXT':var a3=-0x1!==a0['indexOf']('-->');if(!a0||a3&&(a2=!0x0)){Y['oncue']&&Y['oncue'](Y['cue']),Y['cue']=null,Y['state']='ID';continue;}Y['cue']['text']&&(Y['cue']['text']+='\x0a'),Y['cue']['text']+=a0['replace'](/\u2028/g,'\x0a')['replace'](/u2029/g,'\x0a');continue;case'BADCUE':a0||(Y['state']='ID');continue;}}}catch(a6){Y['reportOrThrowError'](a6),'CUETEXT'===Y['state']&&Y['cue']&&Y['oncue']&&Y['oncue'](Y['cue']),Y['cue']=null,Y['state']='INITIAL'===Y['state']?'BADWEBVTT':'BADCUE';}return this;},'flush':function(){var W=this;try{if(W['buffer']+=W['decoder']['decode'](),(W['cue']||'HEADER'===W['state'])&&(W['buffer']+='\x0a\x0a',W['parse']()),'INITIAL'===W['state'])throw new z(z['Errors']['BadSignature']);}catch(X){W['reportOrThrowError'](X);}return W['onflush']&&W['onflush'](),this;}},j['exports']=V;},0xb8:d=>{var f={'':0x1,'lr':0x1,'rl':0x1},g={'start':0x1,'center':0x1,'end':0x1,'left':0x1,'right':0x1,'auto':0x1,'line-left':0x1,'line-right':0x1};function h(k){return 'string'==typeof k&&!!g[k['toLowerCase']()]&&k['toLowerCase']();}function j(k,q,w){this['hasBeenReset']=!0x1;var x='',z=!0x1,A=k,B=q,C=w,D=null,E='',F=!0x0,G='auto',H='start',I='auto',J='auto',K=0x64,L='center';Object['defineProperties'](this,{'id':{'enumerable':!0x0,'get':function(){return x;},'set':function(M){x=''+M;}},'pauseOnExit':{'enumerable':!0x0,'get':function(){return z;},'set':function(M){z=!!M;}},'startTime':{'enumerable':!0x0,'get':function(){return A;},'set':function(M){if('number'!=typeof M)throw new TypeError('Start\x20time\x20must\x20be\x20set\x20to\x20a\x20number.');A=M,this['hasBeenReset']=!0x0;}},'endTime':{'enumerable':!0x0,'get':function(){return B;},'set':function(M){if('number'!=typeof M)throw new TypeError('End\x20time\x20must\x20be\x20set\x20to\x20a\x20number.');B=M,this['hasBeenReset']=!0x0;}},'text':{'enumerable':!0x0,'get':function(){return C;},'set':function(M){C=''+M,this['hasBeenReset']=!0x0;}},'region':{'enumerable':!0x0,'get':function(){return D;},'set':function(M){D=M,this['hasBeenReset']=!0x0;}},'vertical':{'enumerable':!0x0,'get':function(){return E;},'set':function(M){var N=function(O){return 'string'==typeof O&&!!f[O['toLowerCase']()]&&O['toLowerCase']();}(M);if(!0x1===N)throw new SyntaxError('Vertical:\x20an\x20invalid\x20or\x20illegal\x20direction\x20string\x20was\x20specified.');E=N,this['hasBeenReset']=!0x0;}},'snapToLines':{'enumerable':!0x0,'get':function(){return F;},'set':function(M){F=!!M,this['hasBeenReset']=!0x0;}},'line':{'enumerable':!0x0,'get':function(){return G;},'set':function(M){if('number'!=typeof M&&'auto'!==M)throw new SyntaxError('Line:\x20an\x20invalid\x20number\x20or\x20illegal\x20string\x20was\x20specified.');G=M,this['hasBeenReset']=!0x0;}},'lineAlign':{'enumerable':!0x0,'get':function(){return H;},'set':function(M){var N=h(M);N&&(H=N,this['hasBeenReset']=!0x0);}},'position':{'enumerable':!0x0,'get':function(){return I;},'set':function(M){if(M<0x0||M>0x64)throw new Error('Position\x20must\x20be\x20between\x200\x20and\x20100.');I=M,this['hasBeenReset']=!0x0;}},'positionAlign':{'enumerable':!0x0,'get':function(){return J;},'set':function(M){var N=h(M);N&&(J=N,this['hasBeenReset']=!0x0);}},'size':{'enumerable':!0x0,'get':function(){return K;},'set':function(M){if(M<0x0||M>0x64)throw new Error('Size\x20must\x20be\x20between\x200\x20and\x20100.');K=M,this['hasBeenReset']=!0x0;}},'align':{'enumerable':!0x0,'get':function(){return L;},'set':function(M){var N=h(M);if(!N)throw new SyntaxError('align:\x20an\x20invalid\x20or\x20illegal\x20alignment\x20string\x20was\x20specified.');L=N,this['hasBeenReset']=!0x0;}}}),this['displayState']=void 0x0;}j['prototype']['getCueAsHTML']=function(){return WebVTT['convertCueToDOMTree'](window,this['text']);},d['exports']=j;},0x1703:d=>{var f={'':!0x0,'up':!0x0};function g(h){return 'number'==typeof h&&h>=0x0&&h<=0x64;}d['exports']=function(){var h=0x64,j=0x3,k=0x0,m=0x64,p=0x0,q=0x64,u='';Object['defineProperties'](this,{'width':{'enumerable':!0x0,'get':function(){return h;},'set':function(v){if(!g(v))throw new Error('Width\x20must\x20be\x20between\x200\x20and\x20100.');h=v;}},'lines':{'enumerable':!0x0,'get':function(){return j;},'set':function(v){if('number'!=typeof v)throw new TypeError('Lines\x20must\x20be\x20set\x20to\x20a\x20number.');j=v;}},'regionAnchorY':{'enumerable':!0x0,'get':function(){return m;},'set':function(v){if(!g(v))throw new Error('RegionAnchorX\x20must\x20be\x20between\x200\x20and\x20100.');m=v;}},'regionAnchorX':{'enumerable':!0x0,'get':function(){return k;},'set':function(v){if(!g(v))throw new Error('RegionAnchorY\x20must\x20be\x20between\x200\x20and\x20100.');k=v;}},'viewportAnchorY':{'enumerable':!0x0,'get':function(){return q;},'set':function(v){if(!g(v))throw new Error('ViewportAnchorY\x20must\x20be\x20between\x200\x20and\x20100.');q=v;}},'viewportAnchorX':{'enumerable':!0x0,'get':function(){return p;},'set':function(v){if(!g(v))throw new Error('ViewportAnchorX\x20must\x20be\x20between\x200\x20and\x20100.');p=v;}},'scroll':{'enumerable':!0x0,'get':function(){return u;},'set':function(v){var w=function(x){return 'string'==typeof x&&!!f[x['toLowerCase']()]&&x['toLowerCase']();}(v);!0x1===w||(u=w);}}});};},0x21e:()=>{},0x208a:d=>{d['exports']=JSON['parse']('{\x22name\x22:\x22@wscsports/blaze-web-sdk\x22,\x22version\x22:\x220.13.4\x22,\x22main\x22:\x22publish/index\x22,\x22types\x22:\x22publish/index\x22,\x22files\x22:[\x22publish/*\x22],\x22scripts\x22:{\x22start:dev\x22:\x22webpack-dev-server\x20--config\x20webpack.config.dev\x22,\x22start:dev-docker\x22:\x22docker\x20compose\x20up\x20--build\x22,\x22build:pr\x22:\x22webpack\x20--config\x20webpack.config.prod-pr.js\x22,\x22build:dev\x22:\x22webpack\x20--config\x20webpack.config.dev-pr.js\x22,\x22build:prod\x22:\x22webpack\x20--config\x20webpack.config.prod.js\x22,\x22publish:latest\x22:\x22npm\x20run\x20build:prod\x20&&\x20npm\x20publish\x20--access\x20public\x20--tag\x20latest\x22,\x22publish:beta\x22:\x22npm\x20run\x20build:prod\x20&&\x20npm\x20publish\x20--access\x20public\x20--tag\x20beta\x22,\x22version-download\x22:\x22node\x20./version-downloader.js\x22,\x22test\x22:\x22npx\x20playwright\x20test\x22,\x22test:debug\x22:\x22npx\x20playwright\x20test\x20--debug\x22},\x22devDependencies\x22:{\x22@playwright/test\x22:\x22^1.44.1\x22,\x22@types/animejs\x22:\x22^3.1.7\x22,\x22@types/google_interactive_media_ads_types\x22:\x22^1.20241219.0\x22,\x22@types/hammerjs\x22:\x22^2.0.45\x22,\x22@types/ua-parser-js\x22:\x22^0.7.36\x22,\x22@types/uuid\x22:\x22^10.0.0\x22,\x22@types/videojs-vtt.js\x22:\x22^0.15.3\x22,\x22css-loader\x22:\x22^6.8.1\x22,\x22fs-extra\x22:\x22^11.1.1\x22,\x22glob-promise\x22:\x22^6.0.5\x22,\x22html-webpack-plugin\x22:\x22^5.5.3\x22,\x22intersection-observer\x22:\x22^0.12.2\x22,\x22javascript-obfuscator\x22:\x22^4.0.2\x22,\x22media-captions\x22:\x22^0.0.18\x22,\x22npm-registry-fetch\x22:\x22^16.0.0\x22,\x22style-loader\x22:\x22^3.3.3\x22,\x22ts-loader\x22:\x22^9.4.4\x22,\x22typescript\x22:\x22^5.4.2\x22,\x22typescript-declaration-webpack-plugin\x22:\x22^0.3.0\x22,\x22videojs-vtt.js\x22:\x22^0.15.5\x22,\x22webpack\x22:\x22^5.88.1\x22,\x22webpack-cli\x22:\x22^5.1.4\x22,\x22webpack-dev-server\x22:\x22^4.15.1\x22,\x22webpack-obfuscator\x22:\x22^3.5.1\x22},\x22dependencies\x22:{\x22animejs\x22:\x22^3.2.1\x22,\x22hammerjs\x22:\x22^2.0.8\x22,\x22ua-parser-js\x22:\x22^1.0.36\x22,\x22uuid\x22:\x22^8.3.2\x22}}');}},b={};function c(d){var f=b[d];if(void 0x0!==f)return f['exports'];var g=b[d]={'exports':{}};return a[d]['call'](g['exports'],g,g['exports'],c),g['exports'];}return c['amdO']={},c['d']=(d,f)=>{for(var g in f)c['o'](f,g)&&!c['o'](d,g)&&Object['defineProperty'](d,g,{'enumerable':!0x0,'get':f[g]});},c['g']=(function(){if('object'==typeof globalThis)return globalThis;try{return this||new Function('return\x20this')();}catch(d){if('object'==typeof window)return window;}}()),c['o']=(d,f)=>Object['prototype']['hasOwnProperty']['call'](d,f),c['r']=d=>{'undefined'!=typeof Symbol&&Symbol['toStringTag']&&Object['defineProperty'](d,Symbol['toStringTag'],{'value':'Module'}),Object['defineProperty'](d,'__esModule',{'value':!0x0});},c(0x1fdc);})()));
|
|
26
|
-
} (publish));
|
|
27
|
-
|
|
28
|
-
var publishExports = publish.exports;
|
|
29
|
-
const index = /*@__PURE__*/getDefaultExportFromCjs(publishExports);
|
|
30
|
-
|
|
31
|
-
const BlazeSDK = /*#__PURE__*/_mergeNamespaces({
|
|
32
|
-
__proto__: null,
|
|
33
|
-
default: index
|
|
34
|
-
}, [publishExports]);
|
|
35
|
-
|
|
36
|
-
class BlazeSDKManager {
|
|
37
|
-
_initializedKeys = /* @__PURE__ */ new Set();
|
|
38
|
-
_pendingInitializations = /* @__PURE__ */ new Map();
|
|
39
|
-
_sdkReady = false;
|
|
40
|
-
_eventListeners = /* @__PURE__ */ new Map();
|
|
41
|
-
_connectionListeners = [];
|
|
42
|
-
/**
|
|
43
|
-
* Initialize Blaze SDK for a specific API key
|
|
44
|
-
*/
|
|
45
|
-
async initialize(apiKey, options = {}) {
|
|
46
|
-
if (!apiKey) {
|
|
47
|
-
throw new Error("API key is required");
|
|
48
|
-
}
|
|
49
|
-
if (this._initializedKeys?.has(apiKey)) {
|
|
50
|
-
return Promise.resolve();
|
|
51
|
-
}
|
|
52
|
-
if (this._pendingInitializations.has(apiKey)) {
|
|
53
|
-
return this._pendingInitializations?.get(apiKey);
|
|
54
|
-
}
|
|
55
|
-
const initPromise = this._performInitialization(apiKey, options);
|
|
56
|
-
this._pendingInitializations.set(apiKey, initPromise);
|
|
57
|
-
try {
|
|
58
|
-
await initPromise;
|
|
59
|
-
this._initializedKeys.add(apiKey);
|
|
60
|
-
this._pendingInitializations.delete(apiKey);
|
|
61
|
-
} catch (error) {
|
|
62
|
-
this._pendingInitializations.delete(apiKey);
|
|
63
|
-
throw error;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Perform actual SDK initialization
|
|
68
|
-
*/
|
|
69
|
-
async _performInitialization(apiKey, options = {}) {
|
|
70
|
-
return new Promise((resolve, reject) => {
|
|
71
|
-
const timeout = setTimeout(() => {
|
|
72
|
-
reject(new Error("SDK initialization timeout"));
|
|
73
|
-
}, 1e4);
|
|
74
|
-
const onConnect = () => {
|
|
75
|
-
clearTimeout(timeout);
|
|
76
|
-
this._sdkReady = true;
|
|
77
|
-
document.removeEventListener("onBlazeSDKConnect", onConnect);
|
|
78
|
-
resolve();
|
|
79
|
-
};
|
|
80
|
-
this._connectionListeners.push(onConnect);
|
|
81
|
-
document.addEventListener("onBlazeSDKConnect", onConnect);
|
|
82
|
-
if (!publishExports.isInitialized()) {
|
|
83
|
-
publishExports.Initialize(apiKey, {
|
|
84
|
-
geoLocation: options.geoLocation || "",
|
|
85
|
-
doNotTrack: options.doNotTrack,
|
|
86
|
-
externalUserId: options.externalUserId,
|
|
87
|
-
...options
|
|
88
|
-
});
|
|
89
|
-
} else {
|
|
90
|
-
clearTimeout(timeout);
|
|
91
|
-
resolve();
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Check if SDK is ready
|
|
97
|
-
*/
|
|
98
|
-
isReady() {
|
|
99
|
-
return this._sdkReady;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* Get Blaze SDK instance
|
|
103
|
-
*/
|
|
104
|
-
getSDK() {
|
|
105
|
-
if (!this.isReady()) {
|
|
106
|
-
throw new Error("Blaze SDK not initialized");
|
|
107
|
-
}
|
|
108
|
-
return BlazeSDK;
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* Cleanup all event listeners
|
|
112
|
-
*/
|
|
113
|
-
cleanup() {
|
|
114
|
-
this._connectionListeners.forEach((listener) => {
|
|
115
|
-
document.removeEventListener("onBlazeSDKConnect", listener);
|
|
116
|
-
});
|
|
117
|
-
this._connectionListeners = [];
|
|
118
|
-
this._eventListeners.clear();
|
|
119
|
-
this._sdkReady = false;
|
|
120
|
-
this._initializedKeys.clear();
|
|
121
|
-
this._pendingInitializations.clear();
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
const blazeSDKManager = new BlazeSDKManager();
|
|
125
|
-
|
|
126
|
-
const LAYOUT_TO_FACTORY = Object.freeze({
|
|
127
|
-
"row-circle": "WidgetRowView",
|
|
128
|
-
"row-rectangle": "WidgetGridView",
|
|
129
|
-
"grid-2-columns": "WidgetGridView",
|
|
130
|
-
"grid-3-columns": "WidgetGridView",
|
|
131
|
-
"row-rectangle-horizontal": "WidgetGridView",
|
|
132
|
-
"grid-2-columns-horizontal": "WidgetGridView",
|
|
133
|
-
"grid-3-columns-horizontal": "WidgetGridView",
|
|
134
|
-
"embedded-story": "WidgetEmbeddedStory"
|
|
135
|
-
});
|
|
136
|
-
function determineWidgetType(layout) {
|
|
137
|
-
return LAYOUT_TO_FACTORY[layout] || "WidgetRowView";
|
|
138
|
-
}
|
|
139
|
-
function convertAPIResponseToConfig(apiResponse) {
|
|
140
|
-
const settings = apiResponse.settings;
|
|
141
|
-
const validLayouts = [
|
|
142
|
-
"grid-2-columns",
|
|
143
|
-
"grid-3-columns",
|
|
144
|
-
"row-circle",
|
|
145
|
-
"row-rectangle",
|
|
146
|
-
"row-rectangle-animated",
|
|
147
|
-
"row-rectangle-horizontal",
|
|
148
|
-
"grid-2-columns-horizontal",
|
|
149
|
-
"grid-3-columns-horizontal",
|
|
150
|
-
"default"
|
|
151
|
-
];
|
|
152
|
-
const normalizedLayout = validLayouts.includes(settings.layout) ? settings.layout : "default";
|
|
153
|
-
return {
|
|
154
|
-
containerId: apiResponse.containerId || `blaze-widget-${crypto.randomUUID ? crypto.randomUUID() : Math.random().toString(36).substring(2, 15)}`,
|
|
155
|
-
widgetType: apiResponse.type,
|
|
156
|
-
apiKey: settings.apiToken,
|
|
157
|
-
contentType: settings.contentType,
|
|
158
|
-
layout: settings.layout,
|
|
159
|
-
themeLayout: normalizedLayout,
|
|
160
|
-
maxItems: settings.maxItems,
|
|
161
|
-
maxDisplayItems: settings.maxDisplayItems,
|
|
162
|
-
style: settings.style,
|
|
163
|
-
selector: settings.selector,
|
|
164
|
-
height: settings.height || "300px",
|
|
165
|
-
width: settings.width || "100%",
|
|
166
|
-
isGeoRestricted: settings.isGeoRestricted
|
|
167
|
-
};
|
|
168
|
-
}
|
|
169
|
-
function sanitizeStyleObject(obj) {
|
|
170
|
-
const cleaned = Object.fromEntries(Object.entries(obj || {}).filter(([, v]) => v !== void 0));
|
|
171
|
-
if (cleaned.text === void 0) cleaned.text = "";
|
|
172
|
-
return cleaned;
|
|
173
|
-
}
|
|
174
|
-
function applyThemeConfiguration(theme, styleConfig) {
|
|
175
|
-
const layoutStyle = theme.layoutStyle;
|
|
176
|
-
if (!layoutStyle) return;
|
|
177
|
-
if (styleConfig?.shouldAllowHorizontalStories !== void 0) {
|
|
178
|
-
layoutStyle.shouldAllowHorizontalStories = styleConfig.shouldAllowHorizontalStories;
|
|
179
|
-
}
|
|
180
|
-
if (styleConfig?.layoutDirection !== void 0) {
|
|
181
|
-
layoutStyle.layoutDirection = styleConfig.layoutDirection;
|
|
182
|
-
}
|
|
183
|
-
if (styleConfig?.horizontalItemsSpacing !== void 0) {
|
|
184
|
-
layoutStyle.horizontalItemsSpacing = styleConfig.horizontalItemsSpacing;
|
|
185
|
-
}
|
|
186
|
-
if (styleConfig?.verticalItemsSpacing !== void 0) {
|
|
187
|
-
layoutStyle.verticalItemsSpacing = styleConfig.verticalItemsSpacing;
|
|
188
|
-
}
|
|
189
|
-
if (styleConfig?.columns !== void 0) {
|
|
190
|
-
layoutStyle.columns = styleConfig.columns;
|
|
191
|
-
}
|
|
192
|
-
if (styleConfig?.lines !== void 0) {
|
|
193
|
-
layoutStyle.lines = styleConfig.lines;
|
|
194
|
-
}
|
|
195
|
-
if (styleConfig?.wordBreak !== void 0) {
|
|
196
|
-
layoutStyle.wordBreak = styleConfig.wordBreak;
|
|
197
|
-
}
|
|
198
|
-
if (styleConfig?.borderWidth !== void 0) {
|
|
199
|
-
layoutStyle.borderWidth = styleConfig.borderWidth;
|
|
200
|
-
}
|
|
201
|
-
if (styleConfig?.borderRadius !== void 0) {
|
|
202
|
-
layoutStyle.borderRadius = styleConfig.borderRadius;
|
|
203
|
-
}
|
|
204
|
-
if (styleConfig?.borderPadding !== void 0) {
|
|
205
|
-
layoutStyle.borderPadding = styleConfig.borderPadding;
|
|
206
|
-
}
|
|
207
|
-
if (styleConfig?.badgePosition !== void 0) {
|
|
208
|
-
layoutStyle.badgePosition = styleConfig.badgePosition;
|
|
209
|
-
}
|
|
210
|
-
if (styleConfig?.statusIndicatorPosition !== void 0) {
|
|
211
|
-
layoutStyle.statusIndicatorPosition = styleConfig.statusIndicatorPosition;
|
|
212
|
-
}
|
|
213
|
-
if (styleConfig?.labelStyle) {
|
|
214
|
-
const labelStyle = layoutStyle.labelStyle;
|
|
215
|
-
const apiLabelStyle = styleConfig.labelStyle;
|
|
216
|
-
if (apiLabelStyle.isVisible !== void 0) labelStyle.isVisible = apiLabelStyle.isVisible;
|
|
217
|
-
if (apiLabelStyle.gap !== void 0) {
|
|
218
|
-
labelStyle.gap = typeof apiLabelStyle.gap === "string" && apiLabelStyle.gap.endsWith("px") ? parseFloat(apiLabelStyle.gap) : apiLabelStyle.gap;
|
|
219
|
-
}
|
|
220
|
-
if (apiLabelStyle.width !== void 0) labelStyle.width = apiLabelStyle.width;
|
|
221
|
-
if (apiLabelStyle.color !== void 0) labelStyle.color = apiLabelStyle.color;
|
|
222
|
-
if (apiLabelStyle.backgroundColor !== void 0) labelStyle.backgroundColor = apiLabelStyle.backgroundColor;
|
|
223
|
-
if (apiLabelStyle.padding !== void 0) labelStyle.padding = apiLabelStyle.padding;
|
|
224
|
-
if (apiLabelStyle.position !== void 0) labelStyle.position = apiLabelStyle.position;
|
|
225
|
-
if (apiLabelStyle.font !== void 0) labelStyle.font = apiLabelStyle.font;
|
|
226
|
-
if (apiLabelStyle.fontSize !== void 0) labelStyle.fontSize = apiLabelStyle.fontSize;
|
|
227
|
-
if (apiLabelStyle.fontWeight !== void 0) labelStyle.fontWeight = apiLabelStyle.fontWeight;
|
|
228
|
-
}
|
|
229
|
-
if (styleConfig?.statusLiveStyle) {
|
|
230
|
-
layoutStyle.statusLiveStyle = sanitizeStyleObject(styleConfig.statusLiveStyle);
|
|
231
|
-
}
|
|
232
|
-
if (styleConfig?.statusLiveUnreadStyle) {
|
|
233
|
-
layoutStyle.statusLiveUnreadStyle = sanitizeStyleObject(styleConfig.statusLiveUnreadStyle);
|
|
234
|
-
}
|
|
235
|
-
if (styleConfig?.statusReadStyle) {
|
|
236
|
-
layoutStyle.statusReadStyle = sanitizeStyleObject(styleConfig.statusReadStyle);
|
|
237
|
-
}
|
|
238
|
-
if (styleConfig?.statusUnreadStyle) {
|
|
239
|
-
layoutStyle.statusUnreadStyle = sanitizeStyleObject(styleConfig.statusUnreadStyle);
|
|
240
|
-
}
|
|
241
|
-
if (styleConfig?.badgeIndicatorStyle) {
|
|
242
|
-
const badge = sanitizeStyleObject(styleConfig.badgeIndicatorStyle);
|
|
243
|
-
if (badge.radius && !badge.borderRadius) {
|
|
244
|
-
badge.borderRadius = badge.radius;
|
|
245
|
-
delete badge.radius;
|
|
246
|
-
}
|
|
247
|
-
layoutStyle.badgeIndicatorStyle = badge;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
function buildSDKConfig(config, options) {
|
|
251
|
-
const sdk = blazeSDKManager.getSDK();
|
|
252
|
-
let dataSource;
|
|
253
|
-
if (config.selector.source === "content" && config.selector.content?.items.length) {
|
|
254
|
-
dataSource = sdk.DataSourceBuilder().ids({
|
|
255
|
-
ids: config.selector.content.items,
|
|
256
|
-
orderType: config.selector.sortBy
|
|
257
|
-
});
|
|
258
|
-
} else if (config.selector.source === "labels" && config.selector.labels) {
|
|
259
|
-
const labelGroups = config.selector.labels.labelGroups || [];
|
|
260
|
-
const priorityGroups = config.selector.labels.priorityGroups || [];
|
|
261
|
-
const groupExpressions = [];
|
|
262
|
-
labelGroups.forEach((group) => {
|
|
263
|
-
if (group.andLabels.length === 1) {
|
|
264
|
-
groupExpressions.push(sdk.LabelBuilder().singleLabel(group.andLabels[0]));
|
|
265
|
-
} else if (group.andLabels.length > 1) {
|
|
266
|
-
const [firstLabel, ...otherLabels] = group.andLabels;
|
|
267
|
-
const baseLabel = sdk.LabelBuilder().singleLabel(firstLabel);
|
|
268
|
-
const otherLabelExpressions = otherLabels.map((label) => sdk.LabelBuilder().singleLabel(label));
|
|
269
|
-
groupExpressions.push(sdk.LabelBuilder().mustInclude(baseLabel, ...otherLabelExpressions));
|
|
270
|
-
}
|
|
271
|
-
});
|
|
272
|
-
const priorityExpressions = priorityGroups.filter((group) => group.andLabels.length > 0).map((group) => {
|
|
273
|
-
if (group.andLabels.length === 1) {
|
|
274
|
-
return sdk.LabelBuilder().singleLabel(group.andLabels[0]);
|
|
275
|
-
}
|
|
276
|
-
const [firstLabel, ...otherLabels] = group.andLabels;
|
|
277
|
-
const baseLabel = sdk.LabelBuilder().singleLabel(firstLabel);
|
|
278
|
-
const otherLabelExpressions = otherLabels.map((label) => sdk.LabelBuilder().singleLabel(label));
|
|
279
|
-
return sdk.LabelBuilder().mustInclude(baseLabel, ...otherLabelExpressions);
|
|
280
|
-
});
|
|
281
|
-
if (groupExpressions.length === 0) {
|
|
282
|
-
throw new Error("No valid label groups provided");
|
|
283
|
-
}
|
|
284
|
-
const finalLabelExpression = groupExpressions.length === 1 ? groupExpressions[0] : sdk.LabelBuilder().atLeastOneOf(...groupExpressions);
|
|
285
|
-
dataSource = sdk.DataSourceBuilder().labels({
|
|
286
|
-
labels: finalLabelExpression,
|
|
287
|
-
labelsPriority: priorityExpressions.length > 0 ? priorityExpressions : void 0,
|
|
288
|
-
orderType: config?.selector?.sortBy,
|
|
289
|
-
maxItems: config.maxItems
|
|
290
|
-
});
|
|
291
|
-
} else {
|
|
292
|
-
throw new Error("Invalid selector configuration: must provide either valid content items or label groups");
|
|
293
|
-
}
|
|
294
|
-
const normalizedLayout = config.themeLayout || "default";
|
|
295
|
-
let theme;
|
|
296
|
-
if (config.contentType === "moment") {
|
|
297
|
-
theme = sdk.Theme(normalizedLayout, "moment");
|
|
298
|
-
} else if (config.contentType === "video") {
|
|
299
|
-
theme = sdk.Theme(normalizedLayout, "video");
|
|
300
|
-
} else {
|
|
301
|
-
theme = sdk.Theme(normalizedLayout, "story");
|
|
302
|
-
}
|
|
303
|
-
if (config?.style) {
|
|
304
|
-
applyThemeConfiguration(theme, config.style);
|
|
305
|
-
}
|
|
306
|
-
const defaultDelegates = {
|
|
307
|
-
[sdk.Delegations.onWidgetDataLoadCompleted]: (e) => {
|
|
308
|
-
if (options?.hideContainerWhenEmpty !== false && e.detail.contentCount === 0) {
|
|
309
|
-
const container = typeof document !== "undefined" ? document.getElementById(config.containerId) : null;
|
|
310
|
-
if (container) container.style.display = "none";
|
|
311
|
-
}
|
|
312
|
-
if (options?.eventHandlers?.onDataLoadCompleted) {
|
|
313
|
-
options.eventHandlers.onDataLoadCompleted({
|
|
314
|
-
contentCount: e.detail.contentCount,
|
|
315
|
-
containerId: config.containerId,
|
|
316
|
-
eventType: "data-load-completed"
|
|
317
|
-
});
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
};
|
|
321
|
-
return {
|
|
322
|
-
dataSource,
|
|
323
|
-
theme,
|
|
324
|
-
maxDisplayItemsCount: config.maxDisplayItems,
|
|
325
|
-
contentType: config.contentType,
|
|
326
|
-
shouldOrderWidgetByReadStatus: true,
|
|
327
|
-
delegates: {
|
|
328
|
-
...defaultDelegates,
|
|
329
|
-
...options?.delegates || {}
|
|
330
|
-
}
|
|
331
|
-
};
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
class WidgetManager {
|
|
335
|
-
widgets = /* @__PURE__ */ new Map();
|
|
336
|
-
/**
|
|
337
|
-
* Convert BlazeWidgetAPIResponse to WidgetConfig
|
|
338
|
-
*/
|
|
339
|
-
convertAPIResponseToConfig(apiResponse) {
|
|
340
|
-
return convertAPIResponseToConfig(apiResponse);
|
|
341
|
-
}
|
|
342
|
-
/**
|
|
343
|
-
* Create a new widget instance
|
|
344
|
-
*/
|
|
345
|
-
async createWidget(config) {
|
|
346
|
-
const widgetConfig = "type" in config && config.type === "blaze" ? {
|
|
347
|
-
...this.convertAPIResponseToConfig(config),
|
|
348
|
-
// Preserve eventHandlers if they exist (added by BlazeWidget.tsx)
|
|
349
|
-
..."eventHandlers" in config ? { eventHandlers: config.eventHandlers } : {}
|
|
350
|
-
} : config;
|
|
351
|
-
if (this.widgets.has(widgetConfig?.containerId)) {
|
|
352
|
-
this.destroyWidget(widgetConfig.containerId);
|
|
353
|
-
}
|
|
354
|
-
if (!blazeSDKManager.isReady()) {
|
|
355
|
-
const shouldSetGeo = Boolean(widgetConfig.isGeoRestricted);
|
|
356
|
-
const geoLocation = shouldSetGeo ? widgetConfig.viewerCountry : void 0;
|
|
357
|
-
await blazeSDKManager.initialize(widgetConfig.apiKey, {
|
|
358
|
-
...shouldSetGeo && geoLocation ? { geoLocation } : {}
|
|
359
|
-
});
|
|
360
|
-
}
|
|
361
|
-
const sdk = blazeSDKManager.getSDK();
|
|
362
|
-
if (!sdk) {
|
|
363
|
-
throw new Error("Blaze SDK not initialized");
|
|
364
|
-
}
|
|
365
|
-
const sdkConfig = buildSDKConfig(widgetConfig, {
|
|
366
|
-
eventHandlers: widgetConfig.eventHandlers
|
|
367
|
-
});
|
|
368
|
-
const widgetType = determineWidgetType(widgetConfig.layout);
|
|
369
|
-
let widget;
|
|
370
|
-
switch (widgetType) {
|
|
371
|
-
case "WidgetGridView":
|
|
372
|
-
widget = sdk.WidgetGridView(widgetConfig.containerId, sdkConfig);
|
|
373
|
-
break;
|
|
374
|
-
case "WidgetRowView":
|
|
375
|
-
widget = sdk.WidgetRowView(widgetConfig.containerId, sdkConfig);
|
|
376
|
-
break;
|
|
377
|
-
case "WidgetEmbeddedStory":
|
|
378
|
-
widget = sdk.WidgetEmbeddedStory(widgetConfig.containerId, sdkConfig);
|
|
379
|
-
break;
|
|
380
|
-
default:
|
|
381
|
-
throw new Error(`Unsupported widget type: ${widgetType}`);
|
|
382
|
-
}
|
|
383
|
-
this.widgets.set(widgetConfig.containerId, widget);
|
|
384
|
-
return widget;
|
|
385
|
-
}
|
|
386
|
-
/**
|
|
387
|
-
* Destroy a widget instance
|
|
388
|
-
*/
|
|
389
|
-
destroyWidget(containerId) {
|
|
390
|
-
const widget = this.widgets.get(containerId);
|
|
391
|
-
if (widget) {
|
|
392
|
-
try {
|
|
393
|
-
if (widget && typeof widget.remove === "function" && widget.parentElement) {
|
|
394
|
-
widget.remove();
|
|
395
|
-
}
|
|
396
|
-
} finally {
|
|
397
|
-
this.widgets.delete(containerId);
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
/**
|
|
402
|
-
* Update an existing widget
|
|
403
|
-
*/
|
|
404
|
-
updateWidget(containerId, config) {
|
|
405
|
-
const widget = this.widgets.get(containerId);
|
|
406
|
-
if (!widget) return;
|
|
407
|
-
if (config?.selector?.source === "labels" && config.selector.labels) {
|
|
408
|
-
const sdk = blazeSDKManager.getSDK();
|
|
409
|
-
const labelGroups = config.selector.labels.labelGroups || [];
|
|
410
|
-
const priorityGroups = config.selector.labels.priorityGroups || [];
|
|
411
|
-
const groupExpressions = [];
|
|
412
|
-
labelGroups.forEach((group) => {
|
|
413
|
-
if (group.andLabels.length === 1) {
|
|
414
|
-
groupExpressions.push(sdk.LabelBuilder().singleLabel(group.andLabels[0]));
|
|
415
|
-
} else if (group.andLabels.length > 1) {
|
|
416
|
-
const [firstLabel, ...otherLabels] = group.andLabels;
|
|
417
|
-
const baseLabel = sdk.LabelBuilder().singleLabel(firstLabel);
|
|
418
|
-
const otherLabelExpressions = otherLabels.map((label) => sdk.LabelBuilder().singleLabel(label));
|
|
419
|
-
groupExpressions.push(sdk.LabelBuilder().mustInclude(baseLabel, ...otherLabelExpressions));
|
|
420
|
-
}
|
|
421
|
-
});
|
|
422
|
-
const priorityExpressions = priorityGroups.filter((group) => group.andLabels.length > 0).map((group) => {
|
|
423
|
-
if (group.andLabels.length === 1) {
|
|
424
|
-
return sdk.LabelBuilder().singleLabel(group.andLabels[0]);
|
|
425
|
-
}
|
|
426
|
-
const [firstLabel, ...otherLabels] = group.andLabels;
|
|
427
|
-
const baseLabel = sdk.LabelBuilder().singleLabel(firstLabel);
|
|
428
|
-
const otherLabelExpressions = otherLabels.map((label) => sdk.LabelBuilder().singleLabel(label));
|
|
429
|
-
return sdk.LabelBuilder().mustInclude(baseLabel, ...otherLabelExpressions);
|
|
430
|
-
});
|
|
431
|
-
if (groupExpressions.length > 0) {
|
|
432
|
-
const finalLabelExpression = groupExpressions.length === 1 ? groupExpressions[0] : sdk.LabelBuilder().atLeastOneOf(...groupExpressions);
|
|
433
|
-
widget.updateDataSource(
|
|
434
|
-
sdk.DataSourceBuilder().labels({
|
|
435
|
-
labels: finalLabelExpression,
|
|
436
|
-
labelsPriority: priorityExpressions.length > 0 ? priorityExpressions : void 0,
|
|
437
|
-
orderType: config?.selector?.sortBy,
|
|
438
|
-
maxItems: config.maxItems
|
|
439
|
-
})
|
|
440
|
-
);
|
|
441
|
-
}
|
|
442
|
-
} else if (config?.selector?.source === "content" && config.selector.content?.items?.length) {
|
|
443
|
-
const sdk = blazeSDKManager.getSDK();
|
|
444
|
-
widget.updateDataSource(
|
|
445
|
-
sdk.DataSourceBuilder().ids({
|
|
446
|
-
ids: config.selector.content.items,
|
|
447
|
-
orderType: config.selector.sortBy
|
|
448
|
-
})
|
|
449
|
-
);
|
|
450
|
-
}
|
|
451
|
-
if (config?.maxDisplayItems) {
|
|
452
|
-
widget.setMaxItemsDisplaySize(config.maxDisplayItems);
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
/**
|
|
456
|
-
* Reload a widget
|
|
457
|
-
*/
|
|
458
|
-
reloadWidget(containerId) {
|
|
459
|
-
const widget = this.widgets.get(containerId);
|
|
460
|
-
if (widget && typeof widget.reload === "function") {
|
|
461
|
-
widget.reload();
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
const widgetManager = new WidgetManager();
|
|
466
|
-
|
|
467
|
-
const {useEffect,useRef,useState,useCallback} = await importShared('react');
|
|
468
|
-
const BlazeWidget = ({
|
|
469
|
-
data,
|
|
470
|
-
viewerCountry,
|
|
471
|
-
eventHandlers
|
|
472
|
-
}) => {
|
|
473
|
-
const containerRef = useRef(null);
|
|
474
|
-
const [loading, setLoading] = useState(false);
|
|
475
|
-
const [error, setError] = useState(null);
|
|
476
|
-
const widgetRef = useRef(null);
|
|
477
|
-
const initializeWidget = useCallback(async (widgetData) => {
|
|
478
|
-
try {
|
|
479
|
-
setLoading(true);
|
|
480
|
-
setError(null);
|
|
481
|
-
if (!containerRef?.current) return;
|
|
482
|
-
const widgetContainerId = widgetData.containerId || `blaze-widget-${crypto.randomUUID ? crypto.randomUUID() : Math.random().toString(36).substring(2, 15)}`;
|
|
483
|
-
if (containerRef?.current) {
|
|
484
|
-
containerRef.current.id = widgetContainerId;
|
|
485
|
-
const width = widgetData?.settings?.width || "100%";
|
|
486
|
-
const height = widgetData?.settings?.height || "300px";
|
|
487
|
-
containerRef.current.style.setProperty("width", width, "important");
|
|
488
|
-
containerRef.current.style.setProperty("height", height, "important");
|
|
489
|
-
containerRef.current.style.setProperty("min-height", height, "important");
|
|
490
|
-
}
|
|
491
|
-
const isGeoRestricted = Boolean(widgetData?.settings?.isGeoRestricted || widgetData?.isGeoRestricted);
|
|
492
|
-
let effectiveViewerCountry = viewerCountry || widgetData?.viewerCountry;
|
|
493
|
-
if (isGeoRestricted && !effectiveViewerCountry && typeof navigator !== "undefined") {
|
|
494
|
-
const lang = navigator.language || (Array.isArray(navigator.languages) ? navigator.languages[0] : "");
|
|
495
|
-
const region = lang && lang.includes("-") ? lang.split("-")[1] : "";
|
|
496
|
-
if (region && region.length === 2) {
|
|
497
|
-
effectiveViewerCountry = region.toUpperCase();
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
const config = {
|
|
501
|
-
...widgetData,
|
|
502
|
-
// surface geo flags to manager/config
|
|
503
|
-
isGeoRestricted,
|
|
504
|
-
viewerCountry: effectiveViewerCountry,
|
|
505
|
-
containerId: widgetContainerId,
|
|
506
|
-
// Pass event handlers for Blaze SDK delegates - MUST be last
|
|
507
|
-
eventHandlers
|
|
508
|
-
};
|
|
509
|
-
const widgetInstance = await widgetManager.createWidget(config);
|
|
510
|
-
widgetRef.current = widgetInstance;
|
|
511
|
-
} catch (err) {
|
|
512
|
-
console.error("Failed to initialize Blaze widget:", err);
|
|
513
|
-
const errorMessage = err instanceof Error ? err.message : "Unknown error";
|
|
514
|
-
setError(errorMessage);
|
|
515
|
-
} finally {
|
|
516
|
-
setLoading(false);
|
|
517
|
-
}
|
|
518
|
-
}, []);
|
|
519
|
-
useEffect(() => {
|
|
520
|
-
if (!data) return;
|
|
521
|
-
initializeWidget(data);
|
|
522
|
-
}, [data, initializeWidget]);
|
|
523
|
-
useEffect(() => {
|
|
524
|
-
return () => {
|
|
525
|
-
if (widgetRef?.current && containerRef?.current) {
|
|
526
|
-
widgetManager.destroyWidget(containerRef.current.id);
|
|
527
|
-
widgetRef.current = null;
|
|
528
|
-
}
|
|
529
|
-
};
|
|
530
|
-
}, []);
|
|
531
|
-
if (error) return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {});
|
|
532
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: containerRef.current?.id, ref: containerRef, children: loading && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-full h-full flex items-center justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(SpinLoader, { className: "w-[50px] h-[50px]" }) }) });
|
|
533
|
-
};
|
|
534
|
-
|
|
535
|
-
export { BlazeWidget as default };
|
|
536
|
-
//# sourceMappingURL=blaze-widget-COvQjzxN.js.map
|