@wscsports/blaze-web-sdk 0.3.11 → 0.3.12
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/package.json +1 -1
- package/publish/292.index.js +1 -1
- package/publish/666.index.js +1 -1
- package/publish/676.index.js +1 -1
- package/publish/index.d.ts +25 -1
- package/publish/index.js +1 -1
package/package.json
CHANGED
package/publish/292.index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a2_0x5de7(){const _0x160672=['calc(','ScaleX','auto','start','split','4628FpWNwe','--cue-','ParseErrorBuilder','<v\x20','join','#000','slice','--cue-right','init','onCue','--cue-outline','--cue-text-shadow','end','PrimaryColour','normal','replace','--cue-white-space','bold','cos','length','font-family','Start','px\x20','font-weight','px\x20solid\x20','center','\x20/\x20var(--overlay-height))','113727ubiDTK','27tAPqaZ','Angle','Style','text','translateY(-50%)','--cue-text-align','underline','then','OutlineColour','deg)','Underline','scaleX(','onError','none','55LUIYIL','parse','rotate(','--cue-width','AlphaLevel','bind','41848nBWjGJ','Italic','--cue-bg-color','Alignment','sin','MarginL','ceil','errors','Outline','test','1389432KcZpuL','text-decoration','StrikeOut','2MFvKCL','BorderStyle','style','50%','--cue-color','MarginR','italic','Shadow','Name','45928AioHhP','webpackChunkBlazeSDK','Bold','2257870YRBvlk','filter','font-size','Fontsize','Default','363090cfvnCx','Dialogue','push','rgba(','MarginV'];a2_0x5de7=function(){return _0x160672;};return a2_0x5de7();}const a2_0xa835e6=a2_0x4229;(function(_0x436b7b,_0x55083c){const _0x336824=a2_0x4229,_0x97a123=_0x436b7b();while(!![]){try{const _0xfe035f=parseInt(_0x336824(0x79))/0x1+-parseInt(_0x336824(0x70))/0x2*(-parseInt(_0x336824(0xa6))/0x3)+parseInt(_0x336824(0x8b))/0x4*(parseInt(_0x336824(0xb5))/0x5)+parseInt(_0x336824(0x6d))/0x6+parseInt(_0x336824(0x81))/0x7+-parseInt(_0x336824(0xbb))/0x8*(parseInt(_0x336824(0xa7))/0x9)+-parseInt(_0x336824(0x7c))/0xa;if(_0xfe035f===_0x55083c)break;else _0x97a123['push'](_0x97a123['shift']());}catch(_0x557653){_0x97a123['push'](_0x97a123['shift']());}}}(a2_0x5de7,0x21d1e));function a2_0x4229(_0x33f4e8,_0x38555a){const _0x5de70e=a2_0x5de7();return a2_0x4229=function(_0x42294b,_0xa72fcc){_0x42294b=_0x42294b-0x64;let _0xdd6ee6=_0x5de70e[_0x42294b];return _0xdd6ee6;},a2_0x4229(_0x33f4e8,_0x38555a);}(window['webpackChunkBlazeSDK']=window[a2_0xa835e6(0x7a)]||[])[a2_0xa835e6(0x83)]([[0x124],{0x14ac:(_0x822e73,_0x43b5cf,_0x33c835)=>{const _0x529d62=a2_0xa835e6;_0x33c835['r'](_0x43b5cf),_0x33c835['d'](_0x43b5cf,{'SSAParser':()=>_0x537dae,'default':()=>_0x27a542});var _0x3ee726=_0x33c835(0x49b);const _0x1b01be=/^Format:[\s\t]*/,_0xc4cd1c=/^Style:[\s\t]*/,_0x410dde=/^Dialogue:[\s\t]*/,_0x42dfaa=/[\s\t]*,[\s\t]*/,_0x34d0d4=/\{[^}]+\}/g,_0x13fc07=/\\N/g,_0x3d935d=/^\[(.*)[\s\t]?Styles\]$/,_0x1478e9=/^\[(.*)[\s\t]?Events\]$/;class _0x537dae{['f'];['O']=0x0;['a']=null;['j']=[];['k']=[];['N']=null;['d'];['P']={};async[_0x529d62(0x93)](_0x5b19c2){const _0xfa0f67=_0x529d62;this['f']=_0x5b19c2,_0x5b19c2[_0xfa0f67(0x6a)]&&(this['d']=(await _0x33c835['e'](0x2a4)[_0xfa0f67(0xae)](_0x33c835[_0xfa0f67(0xba)](_0x33c835,0x2a4)))[_0xfa0f67(0x8d)]);}[_0x529d62(0xb6)](_0x257ae7,_0x1f42a2){const _0x1290c7=_0x529d62;if(this['O'])switch(this['O']){case 0x1:if(''===_0x257ae7)this['O']=0x0;else{if(_0xc4cd1c[_0x1290c7(0x6c)](_0x257ae7)){if(this['N']){const _0x2caae4=_0x257ae7[_0x1290c7(0x9a)](_0xc4cd1c,'')['split'](_0x42dfaa);this['S'](_0x2caae4);}else this['e'](this['d']?.['T']('Style',_0x1f42a2));}else _0x1b01be[_0x1290c7(0x6c)](_0x257ae7)?this['N']=_0x257ae7[_0x1290c7(0x9a)](_0x1b01be,'')['split'](_0x42dfaa):_0x1478e9[_0x1290c7(0x6c)](_0x257ae7)&&(this['N']=null,this['O']=0x2);}break;case 0x2:if(''===_0x257ae7)this['Q']();else{if(_0x410dde[_0x1290c7(0x6c)](_0x257ae7)){if(this['Q'](),this['N']){const _0x1b511f=_0x257ae7[_0x1290c7(0x9a)](_0x410dde,'')[_0x1290c7(0x8a)](_0x42dfaa),_0x585c80=this['U'](_0x1b511f,_0x1f42a2);_0x585c80&&(this['a']=_0x585c80);}else this['e'](this['d']?.['T'](_0x1290c7(0x82),_0x1f42a2));}else this['a']?this['a'][_0x1290c7(0xaa)]+='\x0a'+_0x257ae7[_0x1290c7(0x9a)](_0x34d0d4,'')[_0x1290c7(0x9a)](_0x13fc07,'\x0a'):_0x1b01be['test'](_0x257ae7)?this['N']=_0x257ae7[_0x1290c7(0x9a)](_0x1b01be,'')[_0x1290c7(0x8a)](_0x42dfaa):_0x3d935d[_0x1290c7(0x6c)](_0x257ae7)?(this['N']=null,this['O']=0x1):_0x1478e9[_0x1290c7(0x6c)](_0x257ae7)&&(this['N']=null);}}else''===_0x257ae7||(_0x3d935d['test'](_0x257ae7)?(this['N']=null,this['O']=0x1):_0x1478e9[_0x1290c7(0x6c)](_0x257ae7)&&(this['N']=null,this['O']=0x2));}['done'](){return{'metadata':{},'cues':this['j'],'regions':[],'errors':this['k']};}['Q'](){const _0x26947b=_0x529d62;this['a']&&(this['j'][_0x26947b(0x83)](this['a']),this['f'][_0x26947b(0x94)]?.(this['a']),this['a']=null);}['S'](_0x23b8c6){const _0x38af8d=_0x529d62;let _0xfd08,_0x43feba,_0xd804b5,_0x3fec1e,_0x57c6df=_0x38af8d(0x80),_0x51caeb={},_0x33ae16=_0x38af8d(0xa4),_0x160e40='bottom',_0x44dfd1=1.2,_0x471176=0x3,_0xe3a88c=[];for(let _0x35171c=0x0;_0x35171c<this['N'][_0x38af8d(0x9e)];_0x35171c++){const _0x523233=this['N'][_0x35171c],_0x386240=_0x23b8c6[_0x35171c];switch(_0x523233){case _0x38af8d(0x78):_0x57c6df=_0x386240;break;case'Fontname':_0x51caeb[_0x38af8d(0x9f)]=_0x386240;break;case _0x38af8d(0x7f):_0x51caeb[_0x38af8d(0x7e)]=_0x38af8d(0x86)+_0x386240+_0x38af8d(0xa5);break;case _0x38af8d(0x98):const _0x82280e=_0x5bdb6e(_0x386240);_0x82280e&&(_0x51caeb[_0x38af8d(0x74)]=_0x82280e);break;case _0x38af8d(0x71):_0x471176=parseInt(_0x386240,0xa);break;case'BackColour':_0x3fec1e=_0x5bdb6e(_0x386240);break;case _0x38af8d(0xaf):const _0x25a197=_0x5bdb6e(_0x386240);_0x25a197&&(_0xd804b5=_0x25a197);break;case _0x38af8d(0x7b):parseInt(_0x386240)&&(_0x51caeb[_0x38af8d(0xa2)]=_0x38af8d(0x9c));break;case _0x38af8d(0x64):parseInt(_0x386240)&&(_0x51caeb['font-style']=_0x38af8d(0x76));break;case _0x38af8d(0xb1):parseInt(_0x386240)&&(_0x51caeb['text-decoration']=_0x38af8d(0xad));break;case _0x38af8d(0x6f):parseInt(_0x386240)&&(_0x51caeb[_0x38af8d(0x6e)]='line-through');break;case'Spacing':_0x51caeb['letter-spacing']=_0x386240+'px';break;case _0x38af8d(0xb9):_0x51caeb['opacity']=parseFloat(_0x386240);break;case _0x38af8d(0x87):_0xe3a88c[_0x38af8d(0x83)](_0x38af8d(0xb2)+parseFloat(_0x386240)/0x64+')');break;case'ScaleY':_0xe3a88c[_0x38af8d(0x83)]('scaleY('+parseFloat(_0x386240)/0x64+')');break;case _0x38af8d(0xa8):_0xe3a88c['push'](_0x38af8d(0xb7)+_0x386240+_0x38af8d(0xb0));break;case _0x38af8d(0x77):_0x44dfd1=1.2*parseInt(_0x386240,0xa);break;case _0x38af8d(0x68):_0x51caeb[_0x38af8d(0xb8)]='auto',_0x51caeb['--cue-left']=parseFloat(_0x386240)+'px';break;case _0x38af8d(0x75):_0x51caeb[_0x38af8d(0xb8)]=_0x38af8d(0x88),_0x51caeb['--cue-right']=parseFloat(_0x386240)+'px';break;case'MarginV':_0x43feba=parseFloat(_0x386240);break;case _0x38af8d(0x6b):_0xfd08=parseInt(_0x386240,0xa);break;case _0x38af8d(0x66):const _0x22d42b=parseInt(_0x386240,0xa);switch(_0x22d42b>=0x4&&(_0x160e40=_0x22d42b>=0x7?'top':_0x38af8d(0xa4)),_0x22d42b%0x3){case 0x1:_0x33ae16=_0x38af8d(0x89);break;case 0x2:_0x33ae16=_0x38af8d(0xa4);break;case 0x3:_0x33ae16=_0x38af8d(0x97);}}}if(_0x51caeb['R']=_0x160e40,_0x51caeb[_0x38af8d(0x9b)]=_0x38af8d(0x99),_0x51caeb['--cue-line-height']=_0x38af8d(0x99),_0x51caeb[_0x38af8d(0xac)]=_0x33ae16,_0x38af8d(0xa4)===_0x160e40?(_0x51caeb['--cue-top']=_0x38af8d(0x73),_0xe3a88c[_0x38af8d(0x83)](_0x38af8d(0xab))):_0x51caeb[_0x38af8d(0x8c)+_0x160e40]=(_0x43feba||0x0)+'px',0x1===_0x471176&&(_0x51caeb['--cue-padding-y']='0'),(0x1===_0x471176||_0x3fec1e)&&(_0x51caeb[_0x38af8d(0x65)]=0x1===_0x471176?_0x38af8d(0xb4):_0x3fec1e),0x3===_0x471176&&_0xd804b5&&(_0x51caeb[_0x38af8d(0x95)]=_0xfd08+_0x38af8d(0xa3)+_0xd804b5),0x1===_0x471176&&'number'==typeof _0xfd08){const _0x9d455b=_0x3fec1e??_0x38af8d(0x90);_0x51caeb[_0x38af8d(0x96)]=[_0xd804b5&&_0x55b811(1.2*_0xfd08,1.2*_0x44dfd1,_0xd804b5),_0xd804b5?_0x55b811(_0xfd08*(_0xfd08/0x2),_0x44dfd1*(_0xfd08/0x2),_0x9d455b):_0x55b811(_0xfd08,_0x44dfd1,_0x9d455b)][_0x38af8d(0x7d)](Boolean)[_0x38af8d(0x8f)](',\x20');}_0xe3a88c[_0x38af8d(0x9e)]&&(_0x51caeb['--cue-transform']=_0xe3a88c[_0x38af8d(0x8f)]('\x20')),this['P'][_0x57c6df]=_0x51caeb;}['U'](_0x396c64,_0x12e55e){const _0x1ce75a=_0x529d62,_0x478bb9=this['V'](_0x396c64),_0x25b4ed=this['o'](_0x478bb9[_0x1ce75a(0xa0)],_0x478bb9['End'],_0x12e55e);if(!_0x25b4ed)return;const _0xf57cc8=new _0x3ee726['b'](_0x25b4ed[0x0],_0x25b4ed[0x1],''),_0x1f8b05={...this['P'][_0x478bb9[_0x1ce75a(0xa9)]]||{}},_0x1c48b=_0x478bb9['Name']?_0x1ce75a(0x8e)+_0x478bb9[_0x1ce75a(0x78)]+'>':'',_0x5173f8=_0x1f8b05['R'],_0x2c5a80=_0x478bb9[_0x1ce75a(0x68)]&&parseFloat(_0x478bb9['MarginL']),_0xce5d25=_0x478bb9[_0x1ce75a(0x75)]&&parseFloat(_0x478bb9['MarginR']),_0x595ee0=_0x478bb9[_0x1ce75a(0x85)]&&parseFloat(_0x478bb9[_0x1ce75a(0x85)]);return _0x2c5a80&&(_0x1f8b05[_0x1ce75a(0xb8)]='auto',_0x1f8b05['--cue-left']=_0x2c5a80+'px'),_0xce5d25&&(_0x1f8b05[_0x1ce75a(0xb8)]=_0x1ce75a(0x88),_0x1f8b05[_0x1ce75a(0x92)]=_0xce5d25+'px'),_0x595ee0&&'center'!==_0x5173f8&&(_0x1f8b05[_0x1ce75a(0x8c)+_0x5173f8]=_0x595ee0+'px'),_0xf57cc8[_0x1ce75a(0xaa)]=_0x1c48b+_0x396c64[_0x1ce75a(0x91)](this['N']['length']-0x1)[_0x1ce75a(0x8f)](',\x20')[_0x1ce75a(0x9a)](_0x34d0d4,'')[_0x1ce75a(0x9a)](_0x13fc07,'\x0a'),delete _0x1f8b05['R'],Object['keys'](_0x1f8b05)['length']&&(_0xf57cc8[_0x1ce75a(0x72)]=_0x1f8b05),_0xf57cc8;}['V'](_0x5542b7){const _0x569f81=_0x529d62,_0x348988={};for(let _0x36fe05=0x0;_0x36fe05<this['N'][_0x569f81(0x9e)];_0x36fe05++)_0x348988[this['N'][_0x36fe05]]=_0x5542b7[_0x36fe05];return _0x348988;}['o'](_0x502551,_0x348a7d,_0x2c3c79){const _0x5280cb=(0x0,_0x3ee726['p'])(_0x502551),_0x18bf82=(0x0,_0x3ee726['p'])(_0x348a7d);if(null!==_0x5280cb&&null!==_0x18bf82&&_0x18bf82>_0x5280cb)return[_0x5280cb,_0x18bf82];null===_0x5280cb&&this['e'](this['d']?.['q'](_0x502551,_0x2c3c79)),null===_0x18bf82&&this['e'](this['d']?.['r'](_0x348a7d,_0x2c3c79)),null!=_0x5280cb&&null!==_0x18bf82&&_0x18bf82>_0x5280cb&&this['e'](this['d']?.['s'](_0x5280cb,_0x18bf82,_0x2c3c79));}['e'](_0x4c45cc){const _0x5d9cb3=_0x529d62;if(_0x4c45cc){if(this['k'][_0x5d9cb3(0x83)](_0x4c45cc),this['f']['strict'])throw this['f']['cancel'](),_0x4c45cc;this['f'][_0x5d9cb3(0xb3)]?.(_0x4c45cc);}}}function _0x5bdb6e(_0x325e06){const _0x4e883e=_0x529d62,_0x570de9=parseInt(_0x325e06[_0x4e883e(0x9a)]('&H',''),0x10);return _0x570de9>=0x0?_0x4e883e(0x84)+[0xff&_0x570de9,_0x570de9>>0x8&0xff,_0x570de9>>0x10&0xff,(_0x570de9>>0x18&0xff^0xff)/0xff][_0x4e883e(0x8f)](',')+')':null;}function _0x55b811(_0x17e21a,_0x21337e,_0x2ff257){const _0x1381bd=_0x529d62,_0x3e5204=Math[_0x1381bd(0x69)](0x2*Math['PI']*_0x17e21a);let _0x556a1e='';for(let _0x2093bb=0x0;_0x2093bb<_0x3e5204;_0x2093bb++){const _0x248bdf=0x2*Math['PI']*_0x2093bb/_0x3e5204;_0x556a1e+=_0x17e21a*Math[_0x1381bd(0x9d)](_0x248bdf)+_0x1381bd(0xa1)+_0x21337e*Math[_0x1381bd(0x67)](_0x248bdf)+'px\x200\x20'+_0x2ff257+(_0x2093bb==_0x3e5204-0x1?'':',');}return _0x556a1e;}function _0x27a542(){return new _0x537dae();}}}]);
|
|
1
|
+
'use strict';const a2_0x47cb9f=a2_0x449d;function a2_0x449d(_0x559d0a,_0x15fb6b){const _0x3150d7=a2_0x3150();return a2_0x449d=function(_0x449da5,_0x549c9e){_0x449da5=_0x449da5-0xa1;let _0x39d6ad=_0x3150d7[_0x449da5];return _0x39d6ad;},a2_0x449d(_0x559d0a,_0x15fb6b);}(function(_0x473ac3,_0x27b6bd){const _0x16951d=a2_0x449d,_0x14b1a5=_0x473ac3();while(!![]){try{const _0x5a517e=-parseInt(_0x16951d(0xc9))/0x1+parseInt(_0x16951d(0xad))/0x2*(-parseInt(_0x16951d(0xb9))/0x3)+-parseInt(_0x16951d(0xde))/0x4+-parseInt(_0x16951d(0xb4))/0x5+-parseInt(_0x16951d(0xf0))/0x6*(-parseInt(_0x16951d(0xd9))/0x7)+parseInt(_0x16951d(0xef))/0x8+parseInt(_0x16951d(0xb7))/0x9;if(_0x5a517e===_0x27b6bd)break;else _0x14b1a5['push'](_0x14b1a5['shift']());}catch(_0x5d4e8b){_0x14b1a5['push'](_0x14b1a5['shift']());}}}(a2_0x3150,0x5d2b1));function a2_0x3150(){const _0x2e803c=['font-family','--cue-white-space','push','letter-spacing','Style','underline','end','Outline','auto','--cue-transform','32114MwmMIU','replace','onCue','ParseErrorBuilder','px\x20solid\x20','cos','--cue-text-shadow','3674395rjFKnW','split','normal','9565173JMXPNx','Start','63tfprgx','ceil','keys','translateY(-50%)','then','number','none','MarginL','webpackChunkBlazeSDK','onError','bind','Default','text','--cue-line-height','Fontname','MarginR','115960mmkTFA','cancel','MarginV','center','AlphaLevel','Name','slice','font-weight','done','opacity','bottom','BackColour','join','OutlineColour','Alignment','Shadow','121443JdgHhV','50%','length','BorderStyle','Italic','1779176yUBXAF','deg)','test','--cue-color','Underline','--cue-left','init','--cue-padding-y','sin','--cue-outline','scaleX(','scaleY(','strict','--cue-top','--cue-width','italic','--cue-right','2616688nUMqEK','216LnWQPh','End','parse','bold','Spacing'];a2_0x3150=function(){return _0x2e803c;};return a2_0x3150();}(window[a2_0x47cb9f(0xc1)]=window['webpackChunkBlazeSDK']||[])[a2_0x47cb9f(0xa5)]([[0x124],{0x14ac:(_0x435d58,_0x211a0e,_0x5bff5b)=>{const _0x5d57e5=a2_0x47cb9f;_0x5bff5b['r'](_0x211a0e),_0x5bff5b['d'](_0x211a0e,{'SSAParser':()=>_0x4cf338,'default':()=>_0x4c8de5});var _0x18ece8=_0x5bff5b(0x49b);const _0x4cc618=/^Format:[\s\t]*/,_0xbaf462=/^Style:[\s\t]*/,_0x55ecf0=/^Dialogue:[\s\t]*/,_0x25a4b2=/[\s\t]*,[\s\t]*/,_0x4807d3=/\{[^}]+\}/g,_0x9cc858=/\\N/g,_0x4b9771=/^\[(.*)[\s\t]?Styles\]$/,_0x5ce454=/^\[(.*)[\s\t]?Events\]$/;class _0x4cf338{['f'];['O']=0x0;['a']=null;['j']=[];['k']=[];['N']=null;['d'];['P']={};async[_0x5d57e5(0xe4)](_0x19c2d5){const _0x56effe=_0x5d57e5;this['f']=_0x19c2d5,_0x19c2d5['errors']&&(this['d']=(await _0x5bff5b['e'](0x2a4)[_0x56effe(0xbd)](_0x5bff5b[_0x56effe(0xc3)](_0x5bff5b,0x2a4)))[_0x56effe(0xb0)]);}[_0x5d57e5(0xf2)](_0x3af6ba,_0x352e40){const _0x39b109=_0x5d57e5;if(this['O'])switch(this['O']){case 0x1:if(''===_0x3af6ba)this['O']=0x0;else{if(_0xbaf462[_0x39b109(0xe0)](_0x3af6ba)){if(this['N']){const _0x34b67e=_0x3af6ba[_0x39b109(0xae)](_0xbaf462,'')[_0x39b109(0xb5)](_0x25a4b2);this['S'](_0x34b67e);}else this['e'](this['d']?.['T']('Style',_0x352e40));}else _0x4cc618[_0x39b109(0xe0)](_0x3af6ba)?this['N']=_0x3af6ba['replace'](_0x4cc618,'')[_0x39b109(0xb5)](_0x25a4b2):_0x5ce454[_0x39b109(0xe0)](_0x3af6ba)&&(this['N']=null,this['O']=0x2);}break;case 0x2:if(''===_0x3af6ba)this['Q']();else{if(_0x55ecf0[_0x39b109(0xe0)](_0x3af6ba)){if(this['Q'](),this['N']){const _0x1d305c=_0x3af6ba[_0x39b109(0xae)](_0x55ecf0,'')[_0x39b109(0xb5)](_0x25a4b2),_0x437925=this['U'](_0x1d305c,_0x352e40);_0x437925&&(this['a']=_0x437925);}else this['e'](this['d']?.['T']('Dialogue',_0x352e40));}else this['a']?this['a'][_0x39b109(0xc5)]+='\x0a'+_0x3af6ba[_0x39b109(0xae)](_0x4807d3,'')[_0x39b109(0xae)](_0x9cc858,'\x0a'):_0x4cc618[_0x39b109(0xe0)](_0x3af6ba)?this['N']=_0x3af6ba[_0x39b109(0xae)](_0x4cc618,'')[_0x39b109(0xb5)](_0x25a4b2):_0x4b9771[_0x39b109(0xe0)](_0x3af6ba)?(this['N']=null,this['O']=0x1):_0x5ce454[_0x39b109(0xe0)](_0x3af6ba)&&(this['N']=null);}}else''===_0x3af6ba||(_0x4b9771[_0x39b109(0xe0)](_0x3af6ba)?(this['N']=null,this['O']=0x1):_0x5ce454[_0x39b109(0xe0)](_0x3af6ba)&&(this['N']=null,this['O']=0x2));}[_0x5d57e5(0xd1)](){return{'metadata':{},'cues':this['j'],'regions':[],'errors':this['k']};}['Q'](){const _0x415b50=_0x5d57e5;this['a']&&(this['j'][_0x415b50(0xa5)](this['a']),this['f'][_0x415b50(0xaf)]?.(this['a']),this['a']=null);}['S'](_0x53b3d7){const _0x427a24=_0x5d57e5;let _0x5d41fa,_0x5a4c36,_0x2057cc,_0xadc751,_0x4482f4=_0x427a24(0xc4),_0x586102={},_0x3dfcd2=_0x427a24(0xcc),_0x3a0c94=_0x427a24(0xd3),_0xeda215=1.2,_0x2bd35e=0x3,_0x171bb7=[];for(let _0xb0ce9f=0x0;_0xb0ce9f<this['N']['length'];_0xb0ce9f++){const _0x387595=this['N'][_0xb0ce9f],_0x57de02=_0x53b3d7[_0xb0ce9f];switch(_0x387595){case _0x427a24(0xce):_0x4482f4=_0x57de02;break;case _0x427a24(0xc7):_0x586102[_0x427a24(0xa3)]=_0x57de02;break;case'Fontsize':_0x586102['font-size']='calc('+_0x57de02+'\x20/\x20var(--overlay-height))';break;case'PrimaryColour':const _0x95cb0c=_0x437358(_0x57de02);_0x95cb0c&&(_0x586102[_0x427a24(0xe1)]=_0x95cb0c);break;case _0x427a24(0xdc):_0x2bd35e=parseInt(_0x57de02,0xa);break;case _0x427a24(0xd4):_0xadc751=_0x437358(_0x57de02);break;case _0x427a24(0xd6):const _0x505108=_0x437358(_0x57de02);_0x505108&&(_0x2057cc=_0x505108);break;case'Bold':parseInt(_0x57de02)&&(_0x586102[_0x427a24(0xd0)]=_0x427a24(0xa1));break;case _0x427a24(0xdd):parseInt(_0x57de02)&&(_0x586102['font-style']=_0x427a24(0xed));break;case _0x427a24(0xe2):parseInt(_0x57de02)&&(_0x586102['text-decoration']=_0x427a24(0xa8));break;case'StrikeOut':parseInt(_0x57de02)&&(_0x586102['text-decoration']='line-through');break;case _0x427a24(0xa2):_0x586102[_0x427a24(0xa6)]=_0x57de02+'px';break;case _0x427a24(0xcd):_0x586102[_0x427a24(0xd2)]=parseFloat(_0x57de02);break;case'ScaleX':_0x171bb7['push'](_0x427a24(0xe8)+parseFloat(_0x57de02)/0x64+')');break;case'ScaleY':_0x171bb7[_0x427a24(0xa5)](_0x427a24(0xe9)+parseFloat(_0x57de02)/0x64+')');break;case'Angle':_0x171bb7[_0x427a24(0xa5)]('rotate('+_0x57de02+_0x427a24(0xdf));break;case _0x427a24(0xd8):_0xeda215=1.2*parseInt(_0x57de02,0xa);break;case _0x427a24(0xc0):_0x586102[_0x427a24(0xec)]=_0x427a24(0xab),_0x586102[_0x427a24(0xe3)]=parseFloat(_0x57de02)+'px';break;case _0x427a24(0xc8):_0x586102[_0x427a24(0xec)]=_0x427a24(0xab),_0x586102[_0x427a24(0xee)]=parseFloat(_0x57de02)+'px';break;case _0x427a24(0xcb):_0x5a4c36=parseFloat(_0x57de02);break;case _0x427a24(0xaa):_0x5d41fa=parseInt(_0x57de02,0xa);break;case _0x427a24(0xd7):const _0x460b09=parseInt(_0x57de02,0xa);switch(_0x460b09>=0x4&&(_0x3a0c94=_0x460b09>=0x7?'top':'center'),_0x460b09%0x3){case 0x1:_0x3dfcd2='start';break;case 0x2:_0x3dfcd2=_0x427a24(0xcc);break;case 0x3:_0x3dfcd2=_0x427a24(0xa9);}}}if(_0x586102['R']=_0x3a0c94,_0x586102[_0x427a24(0xa4)]=_0x427a24(0xb6),_0x586102[_0x427a24(0xc6)]=_0x427a24(0xb6),_0x586102['--cue-text-align']=_0x3dfcd2,_0x427a24(0xcc)===_0x3a0c94?(_0x586102[_0x427a24(0xeb)]=_0x427a24(0xda),_0x171bb7[_0x427a24(0xa5)](_0x427a24(0xbc))):_0x586102['--cue-'+_0x3a0c94]=(_0x5a4c36||0x0)+'px',0x1===_0x2bd35e&&(_0x586102[_0x427a24(0xe5)]='0'),(0x1===_0x2bd35e||_0xadc751)&&(_0x586102['--cue-bg-color']=0x1===_0x2bd35e?_0x427a24(0xbf):_0xadc751),0x3===_0x2bd35e&&_0x2057cc&&(_0x586102[_0x427a24(0xe7)]=_0x5d41fa+_0x427a24(0xb1)+_0x2057cc),0x1===_0x2bd35e&&_0x427a24(0xbe)==typeof _0x5d41fa){const _0x5d9481=_0xadc751??'#000';_0x586102[_0x427a24(0xb3)]=[_0x2057cc&&_0xf1c5ba(1.2*_0x5d41fa,1.2*_0xeda215,_0x2057cc),_0x2057cc?_0xf1c5ba(_0x5d41fa*(_0x5d41fa/0x2),_0xeda215*(_0x5d41fa/0x2),_0x5d9481):_0xf1c5ba(_0x5d41fa,_0xeda215,_0x5d9481)]['filter'](Boolean)['join'](',\x20');}_0x171bb7[_0x427a24(0xdb)]&&(_0x586102[_0x427a24(0xac)]=_0x171bb7[_0x427a24(0xd5)]('\x20')),this['P'][_0x4482f4]=_0x586102;}['U'](_0x40ed1e,_0x99c685){const _0x2631d1=_0x5d57e5,_0x253bff=this['V'](_0x40ed1e),_0xd39a6b=this['o'](_0x253bff[_0x2631d1(0xb8)],_0x253bff[_0x2631d1(0xf1)],_0x99c685);if(!_0xd39a6b)return;const _0x1bba10=new _0x18ece8['b'](_0xd39a6b[0x0],_0xd39a6b[0x1],''),_0x1825f9={...this['P'][_0x253bff[_0x2631d1(0xa7)]]||{}},_0x5d2579=_0x253bff[_0x2631d1(0xce)]?'<v\x20'+_0x253bff[_0x2631d1(0xce)]+'>':'',_0xbdb3=_0x1825f9['R'],_0x4f163d=_0x253bff[_0x2631d1(0xc0)]&&parseFloat(_0x253bff[_0x2631d1(0xc0)]),_0x2909f3=_0x253bff[_0x2631d1(0xc8)]&&parseFloat(_0x253bff[_0x2631d1(0xc8)]),_0x31fc1a=_0x253bff[_0x2631d1(0xcb)]&&parseFloat(_0x253bff[_0x2631d1(0xcb)]);return _0x4f163d&&(_0x1825f9[_0x2631d1(0xec)]=_0x2631d1(0xab),_0x1825f9[_0x2631d1(0xe3)]=_0x4f163d+'px'),_0x2909f3&&(_0x1825f9[_0x2631d1(0xec)]=_0x2631d1(0xab),_0x1825f9['--cue-right']=_0x2909f3+'px'),_0x31fc1a&&'center'!==_0xbdb3&&(_0x1825f9['--cue-'+_0xbdb3]=_0x31fc1a+'px'),_0x1bba10[_0x2631d1(0xc5)]=_0x5d2579+_0x40ed1e[_0x2631d1(0xcf)](this['N'][_0x2631d1(0xdb)]-0x1)['join'](',\x20')[_0x2631d1(0xae)](_0x4807d3,'')[_0x2631d1(0xae)](_0x9cc858,'\x0a'),delete _0x1825f9['R'],Object[_0x2631d1(0xbb)](_0x1825f9)[_0x2631d1(0xdb)]&&(_0x1bba10['style']=_0x1825f9),_0x1bba10;}['V'](_0x20e552){const _0x55f0db=_0x5d57e5,_0x10d929={};for(let _0x5767db=0x0;_0x5767db<this['N'][_0x55f0db(0xdb)];_0x5767db++)_0x10d929[this['N'][_0x5767db]]=_0x20e552[_0x5767db];return _0x10d929;}['o'](_0xcfed2f,_0x1b868a,_0x45e447){const _0x725df4=(0x0,_0x18ece8['p'])(_0xcfed2f),_0x426272=(0x0,_0x18ece8['p'])(_0x1b868a);if(null!==_0x725df4&&null!==_0x426272&&_0x426272>_0x725df4)return[_0x725df4,_0x426272];null===_0x725df4&&this['e'](this['d']?.['q'](_0xcfed2f,_0x45e447)),null===_0x426272&&this['e'](this['d']?.['r'](_0x1b868a,_0x45e447)),null!=_0x725df4&&null!==_0x426272&&_0x426272>_0x725df4&&this['e'](this['d']?.['s'](_0x725df4,_0x426272,_0x45e447));}['e'](_0x589f2e){const _0x5c9804=_0x5d57e5;if(_0x589f2e){if(this['k'][_0x5c9804(0xa5)](_0x589f2e),this['f'][_0x5c9804(0xea)])throw this['f'][_0x5c9804(0xca)](),_0x589f2e;this['f'][_0x5c9804(0xc2)]?.(_0x589f2e);}}}function _0x437358(_0x56795a){const _0x4a2ff0=_0x5d57e5,_0x48c89a=parseInt(_0x56795a[_0x4a2ff0(0xae)]('&H',''),0x10);return _0x48c89a>=0x0?'rgba('+[0xff&_0x48c89a,_0x48c89a>>0x8&0xff,_0x48c89a>>0x10&0xff,(_0x48c89a>>0x18&0xff^0xff)/0xff]['join'](',')+')':null;}function _0xf1c5ba(_0x305d31,_0x5a7b64,_0x34075a){const _0x41e009=_0x5d57e5,_0x121d27=Math[_0x41e009(0xba)](0x2*Math['PI']*_0x305d31);let _0x2240d0='';for(let _0x3a64e7=0x0;_0x3a64e7<_0x121d27;_0x3a64e7++){const _0x4444d4=0x2*Math['PI']*_0x3a64e7/_0x121d27;_0x2240d0+=_0x305d31*Math[_0x41e009(0xb2)](_0x4444d4)+'px\x20'+_0x5a7b64*Math[_0x41e009(0xe6)](_0x4444d4)+'px\x200\x20'+_0x34075a+(_0x3a64e7==_0x121d27-0x1?'':',');}return _0x2240d0;}function _0x4c8de5(){return new _0x4cf338();}}}]);
|
package/publish/666.index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a1_0x3306a2=a1_0x44dc;(function(_0x3ce5a3,_0x522e91){const _0x24c931=a1_0x44dc,_0x38aeb7=_0x3ce5a3();while(!![]){try{const _0x3c8c63=-parseInt(_0x24c931(0x18f))/0x1+-parseInt(_0x24c931(0x18e))/0x2*(-parseInt(_0x24c931(0x18c))/0x3)+-parseInt(_0x24c931(0x189))/0x4*(parseInt(_0x24c931(0x182))/0x5)+-parseInt(_0x24c931(0x18a))/0x6*(parseInt(_0x24c931(0x185))/0x7)+-parseInt(_0x24c931(0x184))/0x8+-parseInt(_0x24c931(0x191))/0x9*(-parseInt(_0x24c931(0x17f))/0xa)+parseInt(_0x24c931(0x188))/0xb*(parseInt(_0x24c931(0x190))/0xc);if(_0x3c8c63===_0x522e91)break;else _0x38aeb7['push'](_0x38aeb7['shift']());}catch(_0x12a2dc){_0x38aeb7['push'](_0x38aeb7['shift']());}}}(a1_0x1cfe,0x96d36));function a1_0x44dc(_0x3c91b1,_0x5a1c95){const _0x1cfedb=a1_0x1cfe();return a1_0x44dc=function(_0x44dc79,_0x30de52){_0x44dc79=_0x44dc79-0x17f;let _0x4fefa1=_0x1cfedb[_0x44dc79];return _0x4fefa1;},a1_0x44dc(_0x3c91b1,_0x5a1c95);}function a1_0x1cfe(){const _0x4efddf=['14773kQHKBj','4sGfcUE','28986PxdHee','parse','105IjrhLU','None','9046vtXCfK','630337AdXoCR','20028phJNlU','9LkCrpO','push','onCue','Cue','text','2251980GfwjwD','includes','webpackChunkBlazeSDK','3569090JbTPWH','-->','1903240osSynu','616JrWlrh','join','replace'];a1_0x1cfe=function(){return _0x4efddf;};return a1_0x1cfe();}(window['webpackChunkBlazeSDK']=window[a1_0x3306a2(0x181)]||[])['push']([[0x29a],{0xa6a:(_0x4c7e00,_0x5b5ae0,_0x7dd2fd)=>{const _0x24d5d9=a1_0x3306a2;_0x7dd2fd['r'](_0x5b5ae0),_0x7dd2fd['d'](_0x5b5ae0,{'SRTParser':()=>_0x2f1a8e,'default':()=>_0x13bd72});var _0x7c4ef1=_0x7dd2fd(0x49b);const _0x2e6e52=/,/g;class _0x2f1a8e extends _0x7c4ef1['V']{[_0x24d5d9(0x18b)](_0x1d3671,_0x57c715){const _0x1a9020=_0x24d5d9;if(''===_0x1d3671)this['a']&&(this['j'][_0x1a9020(0x192)](this['a']),this['f'][_0x1a9020(0x193)]?.(this['a']),this['a']=null),this['c']=_0x7c4ef1['a'][_0x1a9020(0x18d)];else{if(this['c']===_0x7c4ef1['a']['Cue'])this['a'][_0x1a9020(0x195)]+=(this['a'][_0x1a9020(0x195)]?'\x0a':'')+_0x1d3671;else{if(_0x1d3671[_0x1a9020(0x180)](_0x1a9020(0x183))){const _0x44076d=this['o'](_0x1d3671,_0x57c715);_0x44076d&&(this['a']=new _0x7c4ef1['b'](_0x44076d[0x0],_0x44076d[0x1],_0x44076d[0x2][_0x1a9020(0x186)]('\x20')),this['a']['id']=this['l'],this['c']=_0x7c4ef1['a'][_0x1a9020(0x194)]);}}}this['l']=_0x1d3671;}['o'](_0x5e2610,_0x793443){const _0x52d1a2=_0x24d5d9;return super['o'](_0x5e2610[_0x52d1a2(0x187)](_0x2e6e52,'.'),_0x793443);}}function _0x13bd72(){return new _0x2f1a8e();}}}]);
|
package/publish/676.index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a3_0x18d499=a3_0x55f8;(function(_0x6543de,_0x27f790){var _0x5445d0=a3_0x55f8,_0x32073f=_0x6543de();while(!![]){try{var _0x54e0f7=-parseInt(_0x5445d0(0x67))/0x1+parseInt(_0x5445d0(0x79))/0x2+parseInt(_0x5445d0(0x71))/0x3*(-parseInt(_0x5445d0(0x81))/0x4)+parseInt(_0x5445d0(0x70))/0x5*(-parseInt(_0x5445d0(0x69))/0x6)+-parseInt(_0x5445d0(0x7e))/0x7*(parseInt(_0x5445d0(0x7b))/0x8)+parseInt(_0x5445d0(0x72))/0x9*(-parseInt(_0x5445d0(0x78))/0xa)+-parseInt(_0x5445d0(0x75))/0xb*(-parseInt(_0x5445d0(0x6d))/0xc);if(_0x54e0f7===_0x27f790)break;else _0x32073f['push'](_0x32073f['shift']());}catch(_0x1d9a59){_0x32073f['push'](_0x32073f['shift']());}}}(a3_0xc711,0x2b534));function a3_0x55f8(_0x14b7ae,_0x7de564){var _0xc71148=a3_0xc711();return a3_0x55f8=function(_0x55f83b,_0x4aa5f6){_0x55f83b=_0x55f83b-0x64;var _0x236afc=_0xc71148[_0x55f83b];return _0x236afc;},a3_0x55f8(_0x14b7ae,_0x7de564);}(window[a3_0x18d499(0x6f)]=window[a3_0x18d499(0x6f)]||[])[a3_0x18d499(0x80)]([[0x2a4],{0x2a4:(_0x4cb554,_0x4e7435,_0x10a61d)=>{var _0x5c1939=a3_0x18d499;_0x10a61d['r'](_0x4e7435),_0x10a61d['d'](_0x4e7435,{'ParseErrorBuilder':()=>_0x1ab95b});var _0x51378e=_0x10a61d(0x49b);const _0x1ab95b={'p':()=>new _0x51378e['P']({'code':_0x51378e['c']['BadSignature'],'reason':_0x5c1939(0x6b),'line':0x1}),'q':(_0x5a6b7b,_0x32d419)=>new _0x51378e['P']({'code':_0x51378e['c'][_0x5c1939(0x74)],'reason':_0x5c1939(0x66)+_0x5a6b7b+_0x5c1939(0x7f)+_0x32d419,'line':_0x32d419}),'r':(_0x581869,_0xa1d4d1)=>new _0x51378e['P']({'code':_0x51378e['c'][_0x5c1939(0x74)],'reason':_0x5c1939(0x6a)+_0x581869+_0x5c1939(0x7f)+_0xa1d4d1,'line':_0xa1d4d1}),'s':(_0x2163db,_0x475d80,_0x332eef)=>new _0x51378e['P']({'code':_0x51378e['c'][_0x5c1939(0x74)],'reason':'cue\x20end\x20timestamp\x20`'+_0x475d80+_0x5c1939(0x65)+_0x2163db+_0x5c1939(0x77)+_0x332eef,'line':_0x332eef}),'w':(_0x446dee,_0x4c9b23,_0xa56e68)=>new _0x51378e['P']({'code':_0x51378e['c'][_0x5c1939(0x73)],'reason':_0x5c1939(0x76)+_0x446dee+_0x5c1939(0x77)+_0xa56e68+_0x5c1939(0x68)+_0x4c9b23+')','line':_0xa56e68}),'v':(_0xe9802a,_0x90757,_0x12fd23)=>new _0x51378e['P']({'code':_0x51378e['c'][_0x5c1939(0x82)],'reason':_0x5c1939(0x6e)+_0xe9802a+'`\x20on\x20line\x20'+_0x12fd23+_0x5c1939(0x68)+_0x90757+')','line':_0x12fd23}),'u':(_0x38f322,_0x14f64a,_0x154f31)=>new _0x51378e['P']({'code':_0x51378e['c'][_0x5c1939(0x73)],'reason':_0x5c1939(0x7a)+_0x38f322+_0x5c1939(0x77)+_0x154f31+_0x5c1939(0x68)+_0x14f64a+')','line':_0x154f31}),'t':(_0x1b1d6a,_0x2d1fb3,_0x3b36df)=>new _0x51378e['P']({'code':_0x51378e['c'][_0x5c1939(0x82)],'reason':_0x5c1939(0x6c)+_0x1b1d6a+_0x5c1939(0x77)+_0x3b36df+_0x5c1939(0x68)+_0x2d1fb3+')','line':_0x3b36df}),'T':(_0x2a248d,_0x1e5e98)=>new _0x51378e['P']({'code':_0x51378e['c'][_0x5c1939(0x64)],'reason':_0x5c1939(0x7d)+_0x2a248d+_0x5c1939(0x7c)+_0x1e5e98,'line':_0x1e5e98})};}}]);function a3_0xc711(){var _0x1ace38=['1256yhVZOd','UnknownSetting','BadFormat','`\x20is\x20greater\x20than\x20start\x20`','cue\x20start\x20timestamp\x20`','255054XmqXfW','\x20(value:\x20','576rNNTBj','cue\x20end\x20timestamp\x20`','missing\x20WEBVTT\x20file\x20header','unknown\x20region\x20setting\x20`','216uPAHfT','unknown\x20cue\x20setting\x20`','webpackChunkBlazeSDK','4180ahepza','15JREKRS','325098IGuWtF','BadSettingValue','BadTimestamp','403392bLICBS','invalid\x20value\x20for\x20cue\x20setting\x20`','`\x20on\x20line\x20','10MFKdDc','125484NmyuKp','invalid\x20value\x20for\x20region\x20setting\x20`','32yNlahL','`\x20block\x20on\x20line\x20','format\x20missing\x20for\x20`','301658srgyzx','`\x20is\x20invalid\x20on\x20line\x20','push'];a3_0xc711=function(){return _0x1ace38;};return a3_0xc711();}
|
package/publish/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare function setGoogleCustomNativeAdsHandler(handler: CustomNativeAdH
|
|
|
18
18
|
export declare function setImaHandler(handler: ImaAdHandler): void;
|
|
19
19
|
export declare function playStory(storyId: string, style?: StoryPlayerStyle): Promise<void>;
|
|
20
20
|
export declare function playStories(dataSource: BlazeDataSourceType, style?: StoryPlayerStyle): Promise<void>;
|
|
21
|
+
export declare function setAbTestParams(abTestParams: BlazeAbTestType): void;
|
|
21
22
|
declare const _default: {
|
|
22
23
|
Initialize: typeof Initialize;
|
|
23
24
|
WidgetGridView: typeof WidgetGridView;
|
|
@@ -37,6 +38,7 @@ declare const _default: {
|
|
|
37
38
|
setExternalUserId: typeof setExternalUserId;
|
|
38
39
|
playStory: typeof playStory;
|
|
39
40
|
playStories: typeof playStories;
|
|
41
|
+
setAbTestParams: typeof setAbTestParams;
|
|
40
42
|
};
|
|
41
43
|
export default _default;
|
|
42
44
|
|
|
@@ -81,6 +83,8 @@ declare class UserEventInfo {
|
|
|
81
83
|
'mac_address': string;
|
|
82
84
|
'user_type': string;
|
|
83
85
|
'is_bot': true;
|
|
86
|
+
'ab_test_id': string;
|
|
87
|
+
'ab_test_variant': string;
|
|
84
88
|
}
|
|
85
89
|
declare class TechEventInfo {
|
|
86
90
|
'device_type': string;
|
|
@@ -1456,6 +1460,7 @@ declare abstract class ConfigServiceClass extends ConfigServiceClass_base implem
|
|
|
1456
1460
|
get doNotTrack(): boolean;
|
|
1457
1461
|
set doNotTrack(value: boolean);
|
|
1458
1462
|
get shouldAllowHorizontalStories(): boolean;
|
|
1463
|
+
set shouldAllowHorizontalStories(value: boolean);
|
|
1459
1464
|
get geoLocation(): string;
|
|
1460
1465
|
set geoLocation(value: string);
|
|
1461
1466
|
get staticContent(): boolean;
|
|
@@ -1684,6 +1689,10 @@ declare abstract class StoryServiceClass extends StoryServiceClass_base implemen
|
|
|
1684
1689
|
}
|
|
1685
1690
|
export declare const StoryService: StoryServiceClass;
|
|
1686
1691
|
|
|
1692
|
+
export type BlazeAbTestType = {
|
|
1693
|
+
id: string;
|
|
1694
|
+
variant: string;
|
|
1695
|
+
};
|
|
1687
1696
|
declare const UserServiceClass_base: {
|
|
1688
1697
|
new (): {};
|
|
1689
1698
|
_instance: UserServiceClass;
|
|
@@ -1692,9 +1701,12 @@ declare const UserServiceClass_base: {
|
|
|
1692
1701
|
declare abstract class UserServiceClass extends UserServiceClass_base implements IService {
|
|
1693
1702
|
_userId: string;
|
|
1694
1703
|
_sessionId: string;
|
|
1704
|
+
_abTest: BlazeAbTestType | null;
|
|
1695
1705
|
constructor();
|
|
1696
1706
|
get userId(): string;
|
|
1697
1707
|
get sessionId(): string;
|
|
1708
|
+
get abTest(): BlazeAbTestType | null;
|
|
1709
|
+
set abTest(abTest: BlazeAbTestType);
|
|
1698
1710
|
init(): Promise<void>;
|
|
1699
1711
|
private ensureSessionId;
|
|
1700
1712
|
assignUserId(): Promise<void>;
|
|
@@ -1863,6 +1875,7 @@ export interface LabelStyle {
|
|
|
1863
1875
|
gap: number;
|
|
1864
1876
|
width: number | 'auto';
|
|
1865
1877
|
color: string;
|
|
1878
|
+
backgroundColor?: string;
|
|
1866
1879
|
height: string | number;
|
|
1867
1880
|
padding: string;
|
|
1868
1881
|
font: string;
|
|
@@ -3071,6 +3084,7 @@ export declare class BlazeWidgetSDK extends BaseWidget {
|
|
|
3071
3084
|
modal: BlazeWidgetStoryModal | BlazeWidgetMomentModal;
|
|
3072
3085
|
boundOnResizeEvent: (this: Window, ev: UIEvent) => void;
|
|
3073
3086
|
boundOnResizeEventDelay: () => void;
|
|
3087
|
+
static get observedAttributes(): string[];
|
|
3074
3088
|
constructor();
|
|
3075
3089
|
connectedCallback(): Promise<void>;
|
|
3076
3090
|
disconnectedCallback(): void;
|
|
@@ -3088,6 +3102,7 @@ export declare class BlazeWidgetSDK extends BaseWidget {
|
|
|
3088
3102
|
handleStaticContentLoad(playReference: playRefType): Promise<void>;
|
|
3089
3103
|
enrichContent(content: IStory[]): Promise<IStory[]>;
|
|
3090
3104
|
setupModalAndLoadContent(contentType: ContentType, playReference: playRefType, content: IStory | IMoment): Promise<void>;
|
|
3105
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
3091
3106
|
private getConfigAttributes;
|
|
3092
3107
|
private initialize;
|
|
3093
3108
|
private injectToHead;
|
|
@@ -3560,11 +3575,13 @@ export declare class BlazeWidgetStoryModal extends BlazeWidgetModal {
|
|
|
3560
3575
|
boundOnResizeEventDelay: (this: Window, ev: UIEvent) => void;
|
|
3561
3576
|
boundOnKeyDown: (ev: KeyboardEvent) => void;
|
|
3562
3577
|
boundOnBeforeUnload: () => void;
|
|
3578
|
+
private currentState;
|
|
3563
3579
|
constructor(parentWidget: HTMLElement, playerLayout: StoryPlayerStyle);
|
|
3564
3580
|
connectedCallback(): void;
|
|
3565
3581
|
disconnectedCallback(): void;
|
|
3566
3582
|
onBeforeUnload(): null | undefined;
|
|
3567
3583
|
setTheme(playerStyle: StoryPlayerStyle): void;
|
|
3584
|
+
updateModalContent(): void;
|
|
3568
3585
|
setModalContent(stories: IStory[], indexOfContentInWidget: number, defaultAdsInfo?: IAdInfo): void;
|
|
3569
3586
|
onKeyDown(ev: KeyboardEvent): void;
|
|
3570
3587
|
close(): void;
|
|
@@ -3588,6 +3605,7 @@ export declare class BlazeWidgetStoryPlayer extends WidgetAbstractPlayer {
|
|
|
3588
3605
|
disconnectedCallback(): void;
|
|
3589
3606
|
setupEventListeners(): void;
|
|
3590
3607
|
applyStyles(): void;
|
|
3608
|
+
updateContentConfig(stories: IStory[]): void;
|
|
3591
3609
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
3592
3610
|
setContent(content: BlazeWidgetStory[]): void;
|
|
3593
3611
|
navigateContent(direction: ContentDirection): void;
|
|
@@ -3694,7 +3712,13 @@ export declare class BlazeWidgetStory extends BlazeWidgetContent {
|
|
|
3694
3712
|
}): void;
|
|
3695
3713
|
muteToggle(): boolean;
|
|
3696
3714
|
resetStoryLocationIndexToLastUnseen(): void;
|
|
3697
|
-
|
|
3715
|
+
private determineAspectRatio;
|
|
3716
|
+
private clearExistingContent;
|
|
3717
|
+
private createPageElement;
|
|
3718
|
+
private setupPageEndedHandler;
|
|
3719
|
+
private createProgressElements;
|
|
3720
|
+
private createProgressPart;
|
|
3721
|
+
setData(story: IStory): void;
|
|
3698
3722
|
get currentPage(): BlazeWidgetVideoBase;
|
|
3699
3723
|
get nextPage(): BlazeWidgetVideoBase;
|
|
3700
3724
|
get prevPage(): BlazeWidgetVideoBase;
|