(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[72357],{611:function(e,t,n){var i={"./bg-BG/compiled-messages.js":[98643,11119,91451],"./cs-CZ/compiled-messages.js":[20011,40038,17085],"./da-DK/compiled-messages.js":[93083,5698,14132],"./el-GR/compiled-messages.js":[17732,11286,692],"./en-GB/compiled-messages.js":[26337,678,29229],"./en-US/compiled-messages.js":[83406,91906,94683],"./es-419/compiled-messages.js":[2476,3976,57229],"./es-ES/compiled-messages.js":[34111,80896,88917],"./et-EE/compiled-messages.js":[69528,10554,32780],"./fi-FI/compiled-messages.js":[21986,98910,5182],"./fil-PH/compiled-messages.js":[3883,22269,27581],"./fr-CA/compiled-messages.js":[28038,16289,83023],"./fr-FR/compiled-messages.js":[96825,88014,77564],"./he-IL/compiled-messages.js":[89829,36382,73005],"./hr-HR/compiled-messages.js":[30216,85675,50815],"./hu-HU/compiled-messages.js":[96965,73119,68664],"./id-ID/compiled-messages.js":[5652,5014,21477],"./lt-LT/compiled-messages.js":[61940,77679,18029],"./lv-LV/compiled-messages.js":[77190,10643,29088],"./mk-MK/compiled-messages.js":[84814,91034,86066],"./ms-MY/compiled-messages.js":[82039,19627,72180],"./nb-NO/compiled-messages.js":[25433,76888,49277],"./nl-NL/compiled-messages.js":[39902,42492,4101],"./pl-PL/compiled-messages.js":[93203,31747,25989],"./pseudo-LOC/compiled-messages.js":[28597,37482,18449],"./pseudo-LONG/compiled-messages.js":[74834,24853,87949],"./pt-BR/compiled-messages.js":[11008,7622,28232],"./pt-PT/compiled-messages.js":[31333,70088,31544],"./ro-RO/compiled-messages.js":[25325,68443,22317],"./ru-RU/compiled-messages.js":[78212,80332,17415],"./sk-SK/compiled-messages.js":[21255,23236,89332],"./sl-SI/compiled-messages.js":[13544,37724,85238],"./sr-Latn-RS/compiled-messages.js":[95461,5462,73694],"./sv-SE/compiled-messages.js":[50342,95691,37797],"./th-TH/compiled-messages.js":[39611,14622,65652],"./tr-TR/compiled-messages.js":[59894,28558,44060],"./uk-UA/compiled-messages.js":[5322,49325,69078],"./zh-Hans-SG/compiled-messages.js":[74272,70233,86323],"./zh-Hant-HK/compiled-messages.js":[75351,40455,96555],"./zh-Hant-TW/compiled-messages.js":[87211,48154,83269]};function a(e){if(!n.o(i,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=i[e],a=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n.t(a,23)})}a.keys=function(){return Object.keys(i)},a.id=611,e.exports=a},33626:function(e,t,n){var i={"./bg-BG/compiled-messages.js":[34045,11119,91451],"./cs-CZ/compiled-messages.js":[87494,40038,17085],"./da-DK/compiled-messages.js":[32049,5698,14132],"./el-GR/compiled-messages.js":[26241,11286,692],"./en-GB/compiled-messages.js":[46166,678,29229],"./en-US/compiled-messages.js":[98921,91906,94683],"./es-419/compiled-messages.js":[59663,3976,57229],"./es-ES/compiled-messages.js":[47519,80896,88917],"./et-EE/compiled-messages.js":[46442,10554,32780],"./fi-FI/compiled-messages.js":[98207,98910,5182],"./fil-PH/compiled-messages.js":[18267,22269,27581],"./fr-CA/compiled-messages.js":[11390,16289,83023],"./fr-FR/compiled-messages.js":[55578,88014,77564],"./he-IL/compiled-messages.js":[55101,36382,73005],"./hr-HR/compiled-messages.js":[17996,85675,50815],"./hu-HU/compiled-messages.js":[78118,73119,68664],"./id-ID/compiled-messages.js":[52381,5014,21477],"./lt-LT/compiled-messages.js":[30865,77679,18029],"./lv-LV/compiled-messages.js":[78750,10643,29088],"./mk-MK/compiled-messages.js":[86432,91034,86066],"./ms-MY/compiled-messages.js":[4237,19627,72180],"./nb-NO/compiled-messages.js":[48478,76888,49277],"./nl-NL/compiled-messages.js":[36834,42492,4101],"./pl-PL/compiled-messages.js":[55624,31747,25989],"./pseudo-LOC/compiled-messages.js":[48358,37482,18449],"./pseudo-LONG/compiled-messages.js":[85935,24853,87949],"./pt-BR/compiled-messages.js":[58283,7622,28232],"./pt-PT/compiled-messages.js":[41213,70088,31544],"./ro-RO/compiled-messages.js":[30261,68443,22317],"./ru-RU/compiled-messages.js":[55455,80332,17415],"./sk-SK/compiled-messages.js":[86082,23236,89332],"./sl-SI/compiled-messages.js":[28723,37724,85238],"./sr-Latn-RS/compiled-messages.js":[56886,5462,73694],"./sv-SE/compiled-messages.js":[37274,95691,37797],"./th-TH/compiled-messages.js":[81067,14622,65652],"./tr-TR/compiled-messages.js":[84657,28558,44060],"./uk-UA/compiled-messages.js":[37940,49325,69078],"./zh-Hans-SG/compiled-messages.js":[24428,70233,86323],"./zh-Hant-HK/compiled-messages.js":[31703,40455,96555],"./zh-Hant-TW/compiled-messages.js":[77915,48154,83269]};function a(e){if(!n.o(i,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=i[e],a=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n.t(a,23)})}a.keys=function(){return Object.keys(i)},a.id=33626,e.exports=a},81093:function(e,t,n){var i={"./dplus/language-packs/bg-BG/compiled-messages.js":[98643,11119],"./dplus/language-packs/cs-CZ/compiled-messages.js":[20011,40038],"./dplus/language-packs/da-DK/compiled-messages.js":[93083,5698],"./dplus/language-packs/el-GR/compiled-messages.js":[17732,11286],"./dplus/language-packs/en-GB/compiled-messages.js":[26337,678],"./dplus/language-packs/en-US/compiled-messages.js":[83406,91906],"./dplus/language-packs/es-419/compiled-messages.js":[2476,3976],"./dplus/language-packs/es-ES/compiled-messages.js":[34111,80896],"./dplus/language-packs/et-EE/compiled-messages.js":[69528,10554],"./dplus/language-packs/fi-FI/compiled-messages.js":[21986,98910],"./dplus/language-packs/fil-PH/compiled-messages.js":[3883,22269],"./dplus/language-packs/fr-CA/compiled-messages.js":[28038,16289],"./dplus/language-packs/fr-FR/compiled-messages.js":[96825,88014],"./dplus/language-packs/he-IL/compiled-messages.js":[89829,36382],"./dplus/language-packs/hr-HR/compiled-messages.js":[30216,85675],"./dplus/language-packs/hu-HU/compiled-messages.js":[96965,73119],"./dplus/language-packs/id-ID/compiled-messages.js":[5652,5014],"./dplus/language-packs/lt-LT/compiled-messages.js":[61940,77679],"./dplus/language-packs/lv-LV/compiled-messages.js":[77190,10643],"./dplus/language-packs/mk-MK/compiled-messages.js":[84814,91034],"./dplus/language-packs/ms-MY/compiled-messages.js":[82039,19627],"./dplus/language-packs/nb-NO/compiled-messages.js":[25433,76888],"./dplus/language-packs/nl-NL/compiled-messages.js":[39902,42492],"./dplus/language-packs/pl-PL/compiled-messages.js":[93203,31747],"./dplus/language-packs/pseudo-LOC/compiled-messages.js":[28597,37482],"./dplus/language-packs/pseudo-LONG/compiled-messages.js":[74834,24853],"./dplus/language-packs/pt-BR/compiled-messages.js":[11008,7622],"./dplus/language-packs/pt-PT/compiled-messages.js":[31333,70088],"./dplus/language-packs/ro-RO/compiled-messages.js":[25325,68443],"./dplus/language-packs/ru-RU/compiled-messages.js":[78212,80332],"./dplus/language-packs/sk-SK/compiled-messages.js":[21255,23236],"./dplus/language-packs/sl-SI/compiled-messages.js":[13544,37724],"./dplus/language-packs/sr-Latn-RS/compiled-messages.js":[95461,5462],"./dplus/language-packs/sv-SE/compiled-messages.js":[50342,95691],"./dplus/language-packs/th-TH/compiled-messages.js":[39611,14622],"./dplus/language-packs/tr-TR/compiled-messages.js":[59894,28558],"./dplus/language-packs/uk-UA/compiled-messages.js":[5322,49325],"./dplus/language-packs/zh-Hans-SG/compiled-messages.js":[74272,70233],"./dplus/language-packs/zh-Hant-HK/compiled-messages.js":[75351,40455],"./dplus/language-packs/zh-Hant-TW/compiled-messages.js":[87211,48154],"./hbomax/language-packs/bg-BG/compiled-messages.js":[98809,622],"./hbomax/language-packs/cs-CZ/compiled-messages.js":[61262,53309],"./hbomax/language-packs/da-DK/compiled-messages.js":[40372,77945],"./hbomax/language-packs/el-GR/compiled-messages.js":[58368,24416],"./hbomax/language-packs/en-GB/compiled-messages.js":[85474,94939],"./hbomax/language-packs/en-US/compiled-messages.js":[44045,64037],"./hbomax/language-packs/es-419/compiled-messages.js":[27178,91639],"./hbomax/language-packs/es-ES/compiled-messages.js":[87880,226],"./hbomax/language-packs/et-EE/compiled-messages.js":[21952,21946],"./hbomax/language-packs/fi-FI/compiled-messages.js":[92146,97961],"./hbomax/language-packs/fil-PH/compiled-messages.js":[64672,9116],"./hbomax/language-packs/fr-CA/compiled-messages.js":[37503,5922],"./hbomax/language-packs/fr-FR/compiled-messages.js":[95184,88758],"./hbomax/language-packs/he-IL/compiled-messages.js":[3516,44513],"./hbomax/language-packs/hr-HR/compiled-messages.js":[18645,37020],"./hbomax/language-packs/hu-HU/compiled-messages.js":[94351,24288],"./hbomax/language-packs/id-ID/compiled-messages.js":[41147,88338],"./hbomax/language-packs/lt-LT/compiled-messages.js":[83479,49095],"./hbomax/language-packs/lv-LV/compiled-messages.js":[65304,42194],"./hbomax/language-packs/mk-MK/compiled-messages.js":[7188,86184],"./hbomax/language-packs/ms-MY/compiled-messages.js":[94199,12174],"./hbomax/language-packs/nb-NO/compiled-messages.js":[18603,14096],"./hbomax/language-packs/nl-NL/compiled-messages.js":[69603,67035],"./hbomax/language-packs/pl-PL/compiled-messages.js":[37316,59979],"./hbomax/language-packs/pseudo-LOC/compiled-messages.js":[72224,44394],"./hbomax/language-packs/pseudo-LONG/compiled-messages.js":[38912,80622],"./hbomax/language-packs/pt-BR/compiled-messages.js":[29371,35406],"./hbomax/language-packs/pt-PT/compiled-messages.js":[32119,852],"./hbomax/language-packs/ro-RO/compiled-messages.js":[21104,65919],"./hbomax/language-packs/ru-RU/compiled-messages.js":[88123,69428],"./hbomax/language-packs/sk-SK/compiled-messages.js":[21599,89523],"./hbomax/language-packs/sl-SI/compiled-messages.js":[43830,10572],"./hbomax/language-packs/sr-Latn-RS/compiled-messages.js":[67093,22757],"./hbomax/language-packs/sv-SE/compiled-messages.js":[88769,35029],"./hbomax/language-packs/th-TH/compiled-messages.js":[27470,57250],"./hbomax/language-packs/tr-TR/compiled-messages.js":[3339,99525],"./hbomax/language-packs/uk-UA/compiled-messages.js":[94707,57594],"./hbomax/language-packs/zh-Hans-SG/compiled-messages.js":[49206,7099],"./hbomax/language-packs/zh-Hant-HK/compiled-messages.js":[88095,66959],"./hbomax/language-packs/zh-Hant-TW/compiled-messages.js":[10045,17078],"./language-packs/bg-BG/compiled-messages.js":[34045,91451,18171],"./language-packs/cs-CZ/compiled-messages.js":[87494,57667],"./language-packs/da-DK/compiled-messages.js":[32049,29545],"./language-packs/el-GR/compiled-messages.js":[26241,692,81751],"./language-packs/en-GB/compiled-messages.js":[46166,4433],"./language-packs/en-US/compiled-messages.js":[98921,83779],"./language-packs/es-419/compiled-messages.js":[59663,80701],"./language-packs/es-ES/compiled-messages.js":[47519,28602],"./language-packs/et-EE/compiled-messages.js":[46442,21441],"./language-packs/fi-FI/compiled-messages.js":[98207,29757],"./language-packs/fil-PH/compiled-messages.js":[18267,44669],"./language-packs/fr-CA/compiled-messages.js":[11390,28026],"./language-packs/fr-FR/compiled-messages.js":[55578,90333],"./language-packs/he-IL/compiled-messages.js":[55101,52324],"./language-packs/hr-HR/compiled-messages.js":[17996,3030],"./language-packs/hu-HU/compiled-messages.js":[78118,68664,19925],"./language-packs/id-ID/compiled-messages.js":[52381,70367],"./language-packs/lt-LT/compiled-messages.js":[30865,61368],"./language-packs/lv-LV/compiled-messages.js":[78750,40164],"./language-packs/mk-MK/compiled-messages.js":[86432,86066,64046],"./language-packs/ms-MY/compiled-messages.js":[4237,41316],"./language-packs/nb-NO/compiled-messages.js":[48478,20318],"./language-packs/nl-NL/compiled-messages.js":[36834,53606],"./language-packs/pl-PL/compiled-messages.js":[55624,83739],"./language-packs/pseudo-LOC/compiled-messages.js":[48358,18449,7315],"./language-packs/pseudo-LONG/compiled-messages.js":[85935,87949,42942],"./language-packs/pt-BR/compiled-messages.js":[58283,4500],"./language-packs/pt-PT/compiled-messages.js":[41213,85335],"./language-packs/ro-RO/compiled-messages.js":[30261,94252],"./language-packs/ru-RU/compiled-messages.js":[55455,17415,60728],"./language-packs/sk-SK/compiled-messages.js":[86082,68996],"./language-packs/sl-SI/compiled-messages.js":[28723,93916],"./language-packs/sr-Latn-RS/compiled-messages.js":[56886,56463],"./language-packs/sv-SE/compiled-messages.js":[37274,73058],"./language-packs/th-TH/compiled-messages.js":[81067,65652,39166],"./language-packs/tr-TR/compiled-messages.js":[84657,17157],"./language-packs/uk-UA/compiled-messages.js":[37940,69078,96221],"./language-packs/zh-Hans-SG/compiled-messages.js":[24428,68125],"./language-packs/zh-Hant-HK/compiled-messages.js":[31703,35021],"./language-packs/zh-Hant-TW/compiled-messages.js":[77915,8861]};function a(e){if(!n.o(i,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=i[e],a=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n.t(a,23)})}a.keys=function(){return Object.keys(i)},a.id=81093,e.exports=a},93107:function(e,t,n){var i={"./az-Latn-AZ/index":[89553,77570,36180],"./bg-BG/index":[46688,77570,19308],"./ca-AD/index":[52492,77570,53411],"./cs-CZ/index":[9774,77570,53640],"./da-DK/index":[56484,77570,22404],"./da-GL/index":[68606,77570,99112],"./de-AT/index":[22468,77570,63347],"./de-BE/index":[28719,77570,51386],"./de-CH/index":[42488,77570,71757],"./de-DE/index":[19154,77570,21767],"./de-IT/index":[32137,77570,11883],"./de-LI/index":[20360,77570,13994],"./de-LU/index":[49650,77570,27282],"./el-CY/index":[75277,77570,19106],"./el-GR/index":[92003,77570,95202],"./en-AG/index":[8054,77570,59193],"./en-AI/index":[54460,77570,89043],"./en-AS/index":[87322,77570,85201],"./en-AT/index":[69305,77570,92399],"./en-AU/index":[16243,77570,17207],"./en-BB/index":[99903,77570,11233],"./en-BE/index":[94620,77570,35454],"./en-BM/index":[92850,77570,3787],"./en-BS/index":[42687,77570,27302],"./en-BZ/index":[11162,77570,50065],"./en-CA/index":[73161,77570,87296],"./en-CH/index":[54146,77570,86481],"./en-CY/index":[36353,77570,64475],"./en-DE/index":[76491,77570,11376],"./en-DK/index":[17882,77570,84965],"./en-DM/index":[75367,77570,865],"./en-FI/index":[45045,77570,30834],"./en-FK/index":[93853,77570,14007],"./en-GB/index":[83832,77570,23445],"./en-GD/index":[58409,77570,44124],"./en-GI/index":[31961,77570,49066],"./en-GU/index":[61701,77570,33942],"./en-GY/index":[12195,77570,89011],"./en-HK/index":[10919,77570,5960],"./en-IE/index":[96853,77570,20283],"./en-IL/index":[60785,77570,17286],"./en-IO/index":[3390,77570,64266],"./en-JM/index":[25542,77570,46997],"./en-KN/index":[72470,77570,46891],"./en-KY/index":[35716,77570,31442],"./en-LC/index":[65563,77570,32852],"./en-MP/index":[62530,77570,61498],"./en-MS/index":[36539,77570,25190],"./en-MT/index":[38709,77570,35235],"./en-MY/index":[24815,77570,50461],"./en-NL/index":[69658,77570,97312],"./en-NZ/index":[99585,77570,66583],"./en-PH/index":[96395,77570,99395],"./en-PN/index":[62143,77570,93229],"./en-PR/index":[46222,77570,59633],"./en-SE/index":[53165,77570,45203],"./en-SG/index":[35946,77570,92880],"./en-SH/index":[29366,77570,38548],"./en-SI/index":[99378,77570,37680],"./en-TC/index":[7281,77570,21459],"./en-TT/index":[32107,77570,72644],"./en-UM/index":[6728,77570,76396],"./en-US/index":[63161,77570,42206],"./en-VC/index":[85346,77570,79118],"./en-VG/index":[79308,77570,1421],"./en-VI/index":[31175,77570,7832],"./es-419/index":[8392,77570,17314],"./es-AR/index":[19494,77570,18417],"./es-BO/index":[9523,77570,46541],"./es-BR/index":[36660,77570,85797],"./es-BZ/index":[52049,77570,96255],"./es-CL/index":[700,77570,40716],"./es-CO/index":[29131,77570,40335],"./es-CR/index":[56336,77570,43942],"./es-DO/index":[71106,77570,9564],"./es-EA/index":[76235,77570,7e3],"./es-EC/index":[59831,77570,79198],"./es-ES/index":[83556,77570,52007],"./es-GT/index":[16499,77570,23715],"./es-HN/index":[58035,77570,43152],"./es-IC/index":[86003,77570,99200],"./es-MX/index":[74387,77570,37813],"./es-NI/index":[4765,77570,9147],"./es-PA/index":[37981,77570,25472],"./es-PE/index":[30836,77570,86411],"./es-PH/index":[28769,77570,32839],"./es-PR/index":[66299,77570,10326],"./es-PY/index":[48931,77570,88664],"./es-SV/index":[24935,77570,11743],"./es-US/index":[88195,77570,63041],"./es-UY/index":[96271,77570,40002],"./es-VE/index":[62558,77570,85631],"./et-EE/index":[19723,77570,63606],"./fi-FI/index":[86840,77570,49101],"./fil-PH/index":[50215,77570,71812],"./fo-FO/index":[48291,77570,34703],"./fr-BE/index":[92900,77570,1294],"./fr-BL/index":[85048,77570,27037],"./fr-CA/index":[91357,77570,3992],"./fr-CH/index":[8601,77570,9093],"./fr-FR/index":[14819,77570,89717],"./fr-GF/index":[21476,77570,29200],"./fr-GP/index":[65302,77570,6226],"./fr-HT/index":[54112,77570,96646],"./fr-LU/index":[73724,77570,6455],"./fr-MC/index":[39344,77570,8231],"./fr-MF/index":[46821,77570,8657],"./fr-MQ/index":[52255,77570,61163],"./fr-NC/index":[44e3,77570,6777],"./fr-PF/index":[71768,77570,56625],"./fr-PM/index":[45164,77570,84895],"./fr-RE/index":[28967,77570,27657],"./fr-WF/index":[96093,77570,46748],"./fr-YT/index":[93848,77570,30217],"./he-IL/index":[70211,77570,42223],"./hr-BA/index":[65245,77570,27498],"./hr-HR/index":[38112,77570,45649],"./hu-HU/index":[60684,77570,74918],"./hy-AM/index":[39760,77570,22377],"./id-ID/index":[5798,77570,73203],"./is-IS/index":[12346,77570,6013],"./it-CH/index":[38131,77570,18634],"./it-IT/index":[86309,77570,80081],"./ka-GE/index":[74838,77570,91477],"./lt-LT/index":[89600,77570,90752],"./lv-LV/index":[52580,77570,98989],"./mk-MK/index":[39937,77570,44006],"./ms-MY/index":[17056,77570,74594],"./ms-SG/index":[1112,77570,70369],"./mt-MT/index":[96134,77570,41687],"./nb-NO/index":[55138,77570,38259],"./nb-SJ/index":[28185,77570,42818],"./nl-AW/index":[48320,77570,5817],"./nl-BE/index":[20022,77570,90691],"./nl-CW/index":[9286,77570,19957],"./nl-NL/index":[69948,77570,11522],"./nl-SR/index":[55070,77570,41707],"./pl-PL/index":[70800,77570,20723],"./pseudo-LOC/index":[78207,77570,3702],"./pseudo-LONG/index":[59667,77570,59036],"./pt-BR/index":[74395,77570,48151],"./pt-CH/index":[19158,77570,3629],"./pt-LU/index":[46630,77570,26061],"./pt-PT/index":[5186,77570,83793],"./ro-MD/index":[50722,77570,39868],"./ro-RO/index":[9970,77570,50865],"./ru-KG/index":[91729,77570,64367],"./ru-KZ/index":[61325,77570,79495],"./ru-MD/index":[48055,77570,41397],"./ru-RU/index":[97253,77570,77657],"./ru-UA/index":[61353,77570,50657],"./sk-SK/index":[98847,77570,20478],"./sl-SI/index":[7821,77570,14143],"./sq-AL/index":[37339,77570,87417],"./sq-MK/index":[67993,77570,9575],"./sq-XK/index":[26505,77570,136],"./sr-Latn-BA/index":[22772,77570,79342],"./sr-Latn-ME/index":[97769,77570,17941],"./sr-Latn-RS/index":[57603,77570,80051],"./sr-Latn-XK/index":[37517,77570,27651],"./sv-AX/index":[40255,77570,92923],"./sv-FI/index":[64683,77570,76585],"./sv-SE/index":[61149,77570,43279],"./th-TH/index":[15612,77570,35092],"./tr-CY/index":[59765,77570,57064],"./tr-TR/index":[27585,77570,30365],"./uk-UA/index":[6063,77570,61401],"./uz-Latn-UZ/index":[20148,77570,90861],"./zh-Hans-HK/index":[64874,77570,81329],"./zh-Hans-SG/index":[67812,77570,84307],"./zh-Hant-HK/index":[49310,77570,60354],"./zh-Hant-TW/index":[72188,77570,79903]};function a(e){if(!n.o(i,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=i[e],a=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n.t(a,23)})}a.keys=function(){return Object.keys(i)},a.id=93107,e.exports=a},60726:function(e,t,n){"use strict";function i(){for(var e=arguments.length,t=Array(e),n=0;n{let n=16*Math.random();return n=(e+n)%16|0,e=Math.floor(e/16),("x"===t?n:3&n|8).toString(16)})}n.d(t,{b:function(){return i}})},72357:function(e,t,n){"use strict";n.d(t,{$0n:function(){return a.$0},$Kq:function(){return a.$K},$_C:function(){return a.$_},AUC:function(){return a.AU},AVK:function(){return i.AV},AcR:function(){return a.Ac},Aml:function(){return a.Am},BGx:function(){return o.Content3Up},BdH:function(){return a.Bd},BxH:function(){return a.Bx},C$s:function(){return s.C$},C7A:function(){return r.C7},EtS:function(){return a.Et},F0C:function(){return a.F0},FBB:function(){return a.FB},FMm:function(){return a.FM},FR9:function(){return a.FR},FZl:function(){return a.FZ},G4e:function(){return a.G4},GqH:function(){return a.Gq},H4o:function(){return a.H4},HEN:function(){return a.HE},Ib1:function(){return a.Ib},J9r:function(){return a.J9},JAP:function(){return a.JA},JMe:function(){return a.JM},JpL:function(){return a.Jp},K8p:function(){return a.K8},KK5:function(){return a.KK},LF3:function(){return o.ContentPage},LZ3:function(){return a.LZ},LlC:function(){return a.Ll},Ltx:function(){return a.Lt},MTz:function(){return a.MT},MV7:function(){return a.MV},NIN:function(){return a.NI},Ng9:function(){return a.Ng},ONC:function(){return a.ON},OdZ:function(){return a.Od},Ojn:function(){return a.Oj},PZe:function(){return a.PZ},Pq$:function(){return a.Pq},Q6E:function(){return r.Q6},QGm:function(){return a.QG},Qjt:function(){return a.Qj},RPL:function(){return a.RP},SPt:function(){return a.SP},SYy:function(){return a.SY},SrM:function(){return a.Sr},TrA:function(){return a.Tr},UG6:function(){return a.UG},UO1:function(){return a.UO},V$k:function(){return l.stadiumTheme},VMD:function(){return o.Hero},VTF:function(){return a.VT},W0D:function(){return l.globalStyles},W_F:function(){return a.W_},XcR:function(){return a.Xc},Xwk:function(){return a.Xw},Y4O:function(){return a.Y4},Z3O:function(){return a.Z3},Z8u:function(){return a.Z8},ZD_:function(){return a.ZD},ZaI:function(){return a.Z},_LR:function(){return a._L},_OZ:function(){return a._O},_vC:function(){return s._v},_wJ:function(){return a._w},_yN:function(){return o.Content5Up},aBN:function(){return a.aB},aPh:function(){return a.aP},aZV:function(){return l.useStadiumTheme},afz:function(){return a.af},bAm:function(){return a.bA},bOc:function(){return s.bO},bZG:function(){return a.bZ},cJo:function(){return a.cJ},cpd:function(){return i.cp},dse:function(){return a.ds},eDo:function(){return a.eD},eFL:function(){return a.eF},eKK:function(){return a.eK},eoK:function(){return a.eo},fJ$:function(){return r.fJ},fK1:function(){return a.fK},fqI:function(){return a.fq},g$r:function(){return a.g$},hP3:function(){return a.hP},iCi:function(){return a.iC},iLU:function(){return a.iL},iXe:function(){return a.iX},inh:function(){return a.in},ja1:function(){return r.j},kBX:function(){return r.kB},kR_:function(){return s.kR},kor:function(){return a.ko},l31:function(){return a.l3},lT5:function(){return a.lT},lmx:function(){return a.lm},lr9:function(){return a.lr},mBz:function(){return a.mB},mXs:function(){return a.mX},mmd:function(){return a.mm},nI6:function(){return r.nI},nQG:function(){return a.nQ},nko:function(){return a.nk},noS:function(){return a.no},pUJ:function(){return a.pU},pWh:function(){return a.pW},paQ:function(){return a.p},q4B:function(){return a.q4},qo7:function(){return a.qo},s01:function(){return a.s0},sK7:function(){return a.g1},sKi:function(){return a.sK},sZi:function(){return a.sZ},smW:function(){return a.sm},tGw:function(){return a.tG},tmR:function(){return r.tm},toI:function(){return a.to},tpq:function(){return a.tp},uCu:function(){return a.uC},uWB:function(){return a.uW},ugU:function(){return a.ug},upT:function(){return a.up},v0h:function(){return a.v0},vJS:function(){return a.vJ},vPn:function(){return a.vP},vV7:function(){return a.vV},vdf:function(){return a.vd},vf$:function(){return a.vf},wIc:function(){return a.wI},x2j:function(){return a.x2},x7j:function(){return a.x7},xF8:function(){return a.xF},xje:function(){return a.xj},y$r:function(){return a.y$},yHC:function(){return a.yH},yHo:function(){return a.e1},yWY:function(){return a.yW},yh$:function(){return a.yh},zS3:function(){return a.zS},zph:function(){return a.zp}});var i=n(46734),a=n(73194),r=n(44593),s=n(26095),o=n(55685),l=n(18865);n(71022)},46734:function(e,t,n){"use strict";n.d(t,{AV:function(){return i},_4:function(){return a},MB:function(){return r},R2:function(){return s},cp:function(){return o.c}});let i={bp_01:0,bp_02:440,bp_03:600,bp_04:800,bp_05:1100,bp_06:1400,bp_07:1800,mobile_grid:0,tablet_grid:600,desktop_grid:1100,mobile__nav:0,desktop__nav:1100},a={background:{default:"#000000ff"},visualization__color:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},visualization__primary:{main:"#541fc3ff",light:"#541fc3ff",dark:"#541fc3ff",mainChannel:"#541fc3ff",lightChannel:"#541fc3ff",darkChannel:"#541fc3ff"},visualization__secondary:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},visualization__tertiary:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},visualization__drivechart__light_green:{main:"#00b66aff",light:"#00b66aff",dark:"#00b66aff",mainChannel:"#00b66aff",lightChannel:"#00b66aff",darkChannel:"#00b66aff"},visualization__drivechart__dark_green:{main:"#008f55ff",light:"#008f55ff",dark:"#008f55ff",mainChannel:"#008f55ff",lightChannel:"#008f55ff",darkChannel:"#008f55ff"},visualization__drivechart__end_zone:{main:"#c9c9c9ff",light:"#c9c9c9ff",dark:"#c9c9c9ff",mainChannel:"#c9c9c9ff",lightChannel:"#c9c9c9ff",darkChannel:"#c9c9c9ff"},visualization__drivechart__goal_post_top:{main:"#f6e05eff",light:"#f6e05eff",dark:"#f6e05eff",mainChannel:"#f6e05eff",lightChannel:"#f6e05eff",darkChannel:"#f6e05eff"},visualization__drivechart__goal_post_bottom:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},visualization__drivechart__yardline:{main:"#ffd60aff",light:"#ffd60aff",dark:"#ffd60aff",mainChannel:"#ffd60aff",lightChannel:"#ffd60aff",darkChannel:"#ffd60aff"},visualization__drivechart__arrow:{main:"#e9173dff",light:"#e9173dff",dark:"#e9173dff",mainChannel:"#e9173dff",lightChannel:"#e9173dff",darkChannel:"#e9173dff"},visualization__drivechart__driveline:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},visualization__drivechart__marker:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},surface__level_1:{main:"#000000ff",light:"#000000ff",dark:"#000000ff",mainChannel:"#000000ff",lightChannel:"#000000ff",darkChannel:"#000000ff"},surface__level_2:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},surface__level_3:{main:"#27262aff",light:"#27262aff",dark:"#27262aff",mainChannel:"#27262aff",lightChannel:"#27262aff",darkChannel:"#27262aff"},surface__level_4:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},surface__accent__live:{main:"#e9173dff",light:"#e9173dff",dark:"#e9173dff",mainChannel:"#e9173dff",lightChannel:"#e9173dff",darkChannel:"#e9173dff"},surface__accent__success:{main:"#00e788ff",light:"#00e788ff",dark:"#00e788ff",mainChannel:"#00e788ff",lightChannel:"#00e788ff",darkChannel:"#00e788ff"},surface__accent__warning:{main:"#ffd60aff",light:"#ffd60aff",dark:"#ffd60aff",mainChannel:"#ffd60aff",lightChannel:"#ffd60aff",darkChannel:"#ffd60aff"},surface__accent__error:{main:"#e9173dff",light:"#e9173dff",dark:"#e9173dff",mainChannel:"#e9173dff",lightChannel:"#e9173dff",darkChannel:"#e9173dff"},surface__accent__discovery:{main:"#8752f6ff",light:"#8752f6ff",dark:"#8752f6ff",mainChannel:"#8752f6ff",lightChannel:"#8752f6ff",darkChannel:"#8752f6ff"},surface__inverse:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},surface__indicator__green:{main:"#02cc77ff",light:"#02cc77ff",dark:"#02cc77ff",mainChannel:"#02cc77ff",lightChannel:"#02cc77ff",darkChannel:"#02cc77ff"},surface__indicator__light_green:{main:"#78ffc8ff",light:"#78ffc8ff",dark:"#78ffc8ff",mainChannel:"#78ffc8ff",lightChannel:"#78ffc8ff",darkChannel:"#78ffc8ff"},surface__indicator__blue:{main:"#2f7effff",light:"#2f7effff",dark:"#2f7effff",mainChannel:"#2f7effff",lightChannel:"#2f7effff",darkChannel:"#2f7effff"},surface__indicator__light_blue:{main:"#40cbe0ff",light:"#40cbe0ff",dark:"#40cbe0ff",mainChannel:"#40cbe0ff",lightChannel:"#40cbe0ff",darkChannel:"#40cbe0ff"},surface__indicator__red:{main:"#e9173dff",light:"#e9173dff",dark:"#e9173dff",mainChannel:"#e9173dff",lightChannel:"#e9173dff",darkChannel:"#e9173dff"},surface__indicator__orange:{main:"#ff8200ff",light:"#ff8200ff",dark:"#ff8200ff",mainChannel:"#ff8200ff",lightChannel:"#ff8200ff",darkChannel:"#ff8200ff"},surface__indicator__yellow:{main:"#ffd60aff",light:"#ffd60aff",dark:"#ffd60aff",mainChannel:"#ffd60aff",lightChannel:"#ffd60aff",darkChannel:"#ffd60aff"},surface__indicator__grey:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},surface__indicator__grey_darker:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},surface__indicator__green_badge:{main:"#02cc77ff",light:"#02cc77ff",dark:"#02cc77ff",mainChannel:"#02cc77ff",lightChannel:"#02cc77ff",darkChannel:"#02cc77ff"},surface__level_5:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},surface__level_6:{main:"#ddddddff",light:"#ddddddff",dark:"#ddddddff",mainChannel:"#ddddddff",lightChannel:"#ddddddff",darkChannel:"#ddddddff"},surface__brand__default:{main:"#8752f6ff",light:"#8752f6ff",dark:"#8752f6ff",mainChannel:"#8752f6ff",lightChannel:"#8752f6ff",darkChannel:"#8752f6ff"},surface__brand__light:{main:"#ae87ffff",light:"#ae87ffff",dark:"#ae87ffff",mainChannel:"#ae87ffff",lightChannel:"#ae87ffff",darkChannel:"#ae87ffff"},surface__brand__lighter:{main:"#d1bbffff",light:"#d1bbffff",dark:"#d1bbffff",mainChannel:"#d1bbffff",lightChannel:"#d1bbffff",darkChannel:"#d1bbffff"},surface__brand__dark:{main:"#6927f4ff",light:"#6927f4ff",dark:"#6927f4ff",mainChannel:"#6927f4ff",lightChannel:"#6927f4ff",darkChannel:"#6927f4ff"},surface__brand__darker:{main:"#541fc3ff",light:"#541fc3ff",dark:"#541fc3ff",mainChannel:"#541fc3ff",lightChannel:"#541fc3ff",darkChannel:"#541fc3ff"},surface__alwaysdark:{main:"#000000ff",light:"#000000ff",dark:"#000000ff",mainChannel:"#000000ff",lightChannel:"#000000ff",darkChannel:"#000000ff"},surface__alwayslight:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},foreground__primary:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},foreground__secondary:{main:"#c9c9c9ff",light:"#c9c9c9ff",dark:"#c9c9c9ff",mainChannel:"#c9c9c9ff",lightChannel:"#c9c9c9ff",darkChannel:"#c9c9c9ff"},foreground__tertiary:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},foreground__inverse:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},foreground__accent__success:{main:"#02cc77ff",light:"#02cc77ff",dark:"#02cc77ff",mainChannel:"#02cc77ff",lightChannel:"#02cc77ff",darkChannel:"#02cc77ff"},foreground__accent__error:{main:"#ff4d6dff",light:"#ff4d6dff",dark:"#ff4d6dff",mainChannel:"#ff4d6dff",lightChannel:"#ff4d6dff",darkChannel:"#ff4d6dff"},foreground__accent__live:{main:"#ff4d6dff",light:"#ff4d6dff",dark:"#ff4d6dff",mainChannel:"#ff4d6dff",lightChannel:"#ff4d6dff",darkChannel:"#ff4d6dff"},foreground__accent__primary:{main:"#d782ffff",light:"#d782ffff",dark:"#d782ffff",mainChannel:"#d782ffff",lightChannel:"#d782ffff",darkChannel:"#d782ffff"},foreground__accent__secondary:{main:"#ffd60aff",light:"#ffd60aff",dark:"#ffd60aff",mainChannel:"#ffd60aff",lightChannel:"#ffd60aff",darkChannel:"#ffd60aff"},foreground__accent__fire:{main:"#e9173dff",light:"#e9173dff",dark:"#e9173dff",mainChannel:"#e9173dff",lightChannel:"#e9173dff",darkChannel:"#e9173dff"},foreground__accent__max:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},foreground__accent__fanduel:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},foreground__disabled:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},foreground__link__primary__default:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},foreground__link__primary__disabled:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},foreground__link__primary__hovered:{main:"#c9c9c9ff",light:"#c9c9c9ff",dark:"#c9c9c9ff",mainChannel:"#c9c9c9ff",lightChannel:"#c9c9c9ff",darkChannel:"#c9c9c9ff"},foreground__link__primary__vistited:{main:"#c9c9c9ff",light:"#c9c9c9ff",dark:"#c9c9c9ff",mainChannel:"#c9c9c9ff",lightChannel:"#c9c9c9ff",darkChannel:"#c9c9c9ff"},foreground__link__secondary__default:{main:"#ae87ffff",light:"#ae87ffff",dark:"#ae87ffff",mainChannel:"#ae87ffff",lightChannel:"#ae87ffff",darkChannel:"#ae87ffff"},foreground__link__secondary__disabled:{main:"#8752f6ff",light:"#8752f6ff",dark:"#8752f6ff",mainChannel:"#8752f6ff",lightChannel:"#8752f6ff",darkChannel:"#8752f6ff"},foreground__link__secondary__hovered:{main:"#d1bbffff",light:"#d1bbffff",dark:"#d1bbffff",mainChannel:"#d1bbffff",lightChannel:"#d1bbffff",darkChannel:"#d1bbffff"},foreground__link__secondary__vistited:{main:"#d1bbffff",light:"#d1bbffff",dark:"#d1bbffff",mainChannel:"#d1bbffff",lightChannel:"#d1bbffff",darkChannel:"#d1bbffff"},foreground__placeholder:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},foreground__oncolor_light:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},foreground__oncolor_dark:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},foreground__active:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},foreground__inactive:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},foreground__oncolor_light_inactive:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},border__loud:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},border__quiet:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},border__inverse:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},border__default:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},border__live:{main:"#e9173dff",light:"#e9173dff",dark:"#e9173dff",mainChannel:"#e9173dff",lightChannel:"#e9173dff",darkChannel:"#e9173dff"},border__demarcation:{main:"#02cc77ff",light:"#02cc77ff",dark:"#02cc77ff",mainChannel:"#02cc77ff",lightChannel:"#02cc77ff",darkChannel:"#02cc77ff"},border__oncolor_light:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},border__oncolor_quiet:{main:"#ddddddff",light:"#ddddddff",dark:"#ddddddff",mainChannel:"#ddddddff",lightChannel:"#ddddddff",darkChannel:"#ddddddff"},border__error:{main:"#e9173dff",light:"#e9173dff",dark:"#e9173dff",mainChannel:"#e9173dff",lightChannel:"#e9173dff",darkChannel:"#e9173dff"},border__success:{main:"#02cc77ff",light:"#02cc77ff",dark:"#02cc77ff",mainChannel:"#02cc77ff",lightChannel:"#02cc77ff",darkChannel:"#02cc77ff"},action__surface__loud__default:{main:"#6927f4ff",light:"#6927f4ff",dark:"#6927f4ff",mainChannel:"#6927f4ff",lightChannel:"#6927f4ff",darkChannel:"#6927f4ff"},action__surface__loud__focused:{main:"#8752f6ff",light:"#8752f6ff",dark:"#8752f6ff",mainChannel:"#8752f6ff",lightChannel:"#8752f6ff",darkChannel:"#8752f6ff"},action__surface__loud__disabled:{main:"#2a1062ff",light:"#2a1062ff",dark:"#2a1062ff",mainChannel:"#2a1062ff",lightChannel:"#2a1062ff",darkChannel:"#2a1062ff"},action__surface__loud__pressed:{main:"#541fc3ff",light:"#541fc3ff",dark:"#541fc3ff",mainChannel:"#541fc3ff",lightChannel:"#541fc3ff",darkChannel:"#541fc3ff"},action__surface__loud__active:{main:"#6927f4ff",light:"#6927f4ff",dark:"#6927f4ff",mainChannel:"#6927f4ff",lightChannel:"#6927f4ff",darkChannel:"#6927f4ff"},action__surface__loud__inactive:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},action__surface__loud__hovered:{main:"#8752f6ff",light:"#8752f6ff",dark:"#8752f6ff",mainChannel:"#8752f6ff",lightChannel:"#8752f6ff",darkChannel:"#8752f6ff"},action__surface__neutral__default:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},action__surface__neutral__focused:{main:"#ddddddff",light:"#ddddddff",dark:"#ddddddff",mainChannel:"#ddddddff",lightChannel:"#ddddddff",darkChannel:"#ddddddff"},action__surface__neutral__disabled:{main:"#27262aff",light:"#27262aff",dark:"#27262aff",mainChannel:"#27262aff",lightChannel:"#27262aff",darkChannel:"#27262aff"},action__surface__neutral__pressed:{main:"#c9c9c9ff",light:"#c9c9c9ff",dark:"#c9c9c9ff",mainChannel:"#c9c9c9ff",lightChannel:"#c9c9c9ff",darkChannel:"#c9c9c9ff"},action__surface__neutral__active:{main:"#03fc96ff",light:"#03fc96ff",dark:"#03fc96ff",mainChannel:"#03fc96ff",lightChannel:"#03fc96ff",darkChannel:"#03fc96ff"},action__surface__neutral__inactive:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},action__surface__neutral__hovered:{main:"#ddddddff",light:"#ddddddff",dark:"#ddddddff",mainChannel:"#ddddddff",lightChannel:"#ddddddff",darkChannel:"#ddddddff"},action__surface__outline__default:{main:"#ffffff00",light:"#ffffff00",dark:"#ffffff00",mainChannel:"#ffffff00",lightChannel:"#ffffff00",darkChannel:"#ffffff00"},action__surface__outline__focused:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},action__surface__outline__disabled:{main:"#27262aff",light:"#27262aff",dark:"#27262aff",mainChannel:"#27262aff",lightChannel:"#27262aff",darkChannel:"#27262aff"},action__surface__outline__pressed:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},action__surface__outline__hovered:{main:"#27262aff",light:"#27262aff",dark:"#27262aff",mainChannel:"#27262aff",lightChannel:"#27262aff",darkChannel:"#27262aff"},action__surface__ghost__default:{main:"#00000000",light:"#00000000",dark:"#00000000",mainChannel:"#00000000",lightChannel:"#00000000",darkChannel:"#00000000"},action__surface__ghost__focused:{main:"#ffffff33",light:"#ffffff33",dark:"#ffffff33",mainChannel:"#ffffff33",lightChannel:"#ffffff33",darkChannel:"#ffffff33"},action__surface__ghost__disabled:{main:"#00000000",light:"#00000000",dark:"#00000000",mainChannel:"#00000000",lightChannel:"#00000000",darkChannel:"#00000000"},action__surface__ghost__pressed:{main:"#27262aff",light:"#27262aff",dark:"#27262aff",mainChannel:"#27262aff",lightChannel:"#27262aff",darkChannel:"#27262aff"},action__surface__ghost__hovered:{main:"#ffffff33",light:"#ffffff33",dark:"#ffffff33",mainChannel:"#ffffff33",lightChannel:"#ffffff33",darkChannel:"#ffffff33"},action__surface__ghost__active:{main:"#ffffff1a",light:"#ffffff1a",dark:"#ffffff1a",mainChannel:"#ffffff1a",lightChannel:"#ffffff1a",darkChannel:"#ffffff1a"},action__surface__quiet__default:{main:"#27262aff",light:"#27262aff",dark:"#27262aff",mainChannel:"#27262aff",lightChannel:"#27262aff",darkChannel:"#27262aff"},action__surface__quiet__focused:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},action__surface__quiet__disabled:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},action__surface__quiet__pressed:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},action__surface__quiet__hovered:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},action__surface__quiet__active_quiet:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},action__surface__quiet__active_loud:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},action__border__loud__default:{main:"#8752f6ff",light:"#8752f6ff",dark:"#8752f6ff",mainChannel:"#8752f6ff",lightChannel:"#8752f6ff",darkChannel:"#8752f6ff"},action__border__loud__focused:{main:"#ae87ffff",light:"#ae87ffff",dark:"#ae87ffff",mainChannel:"#ae87ffff",lightChannel:"#ae87ffff",darkChannel:"#ae87ffff"},action__border__loud__disabled:{main:"#3f1792ff",light:"#3f1792ff",dark:"#3f1792ff",mainChannel:"#3f1792ff",lightChannel:"#3f1792ff",darkChannel:"#3f1792ff"},action__border__loud__pressed:{main:"#ae87ffff",light:"#ae87ffff",dark:"#ae87ffff",mainChannel:"#ae87ffff",lightChannel:"#ae87ffff",darkChannel:"#ae87ffff"},action__border__loud__active:{main:"#8752f6ff",light:"#8752f6ff",dark:"#8752f6ff",mainChannel:"#8752f6ff",lightChannel:"#8752f6ff",darkChannel:"#8752f6ff"},action__border__loud__hovered:{main:"#ae87ffff",light:"#ae87ffff",dark:"#ae87ffff",mainChannel:"#ae87ffff",lightChannel:"#ae87ffff",darkChannel:"#ae87ffff"},action__border__outline__default:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},action__border__outline__focused:{main:"#f2f5f6ff",light:"#f2f5f6ff",dark:"#f2f5f6ff",mainChannel:"#f2f5f6ff",lightChannel:"#f2f5f6ff",darkChannel:"#f2f5f6ff"},action__border__outline__disabled:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},action__border__outline__pressed:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},action__border__outline__hovered:{main:"#c9c9c9ff",light:"#c9c9c9ff",dark:"#c9c9c9ff",mainChannel:"#c9c9c9ff",lightChannel:"#c9c9c9ff",darkChannel:"#c9c9c9ff"},action__border__outline__active:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},action__border__neutral__focused:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},action__border__neutral__disabled:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},action__border__neutral__default:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},action__border__quiet__focused:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},action__border__quiet__active:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},action__border__ghost__focused:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},opacity__0:{main:"#00000000",light:"#00000000",dark:"#00000000",mainChannel:"#00000000",lightChannel:"#00000000",darkChannel:"#00000000"},opacity__10:{main:"#0000001a",light:"#0000001a",dark:"#0000001a",mainChannel:"#0000001a",lightChannel:"#0000001a",darkChannel:"#0000001a"},opacity__20:{main:"#00000033",light:"#00000033",dark:"#00000033",mainChannel:"#00000033",lightChannel:"#00000033",darkChannel:"#00000033"},opacity__30:{main:"#ffffff4d",light:"#ffffff4d",dark:"#ffffff4d",mainChannel:"#ffffff4d",lightChannel:"#ffffff4d",darkChannel:"#ffffff4d"},opacity__40:{main:"#00000066",light:"#00000066",dark:"#00000066",mainChannel:"#00000066",lightChannel:"#00000066",darkChannel:"#00000066"},opacity__50:{main:"#ffffff80",light:"#ffffff80",dark:"#ffffff80",mainChannel:"#ffffff80",lightChannel:"#ffffff80",darkChannel:"#ffffff80"},opacity__60:{main:"#00000099",light:"#00000099",dark:"#00000099",mainChannel:"#00000099",lightChannel:"#00000099",darkChannel:"#00000099"},opacity__70:{main:"#000000b3",light:"#000000b3",dark:"#000000b3",mainChannel:"#000000b3",lightChannel:"#000000b3",darkChannel:"#000000b3"},opacity__80:{main:"#000000cc",light:"#000000cc",dark:"#000000cc",mainChannel:"#000000cc",lightChannel:"#000000cc",darkChannel:"#000000cc"},opacity__90:{main:"#000000e6",light:"#000000e6",dark:"#000000e6",mainChannel:"#000000e6",lightChannel:"#000000e6",darkChannel:"#000000e6"},element__toast:{main:"#ffffffe6",light:"#ffffffe6",dark:"#ffffffe6",mainChannel:"#ffffffe6",lightChannel:"#ffffffe6",darkChannel:"#ffffffe6"},element__input:{main:"#27262aff",light:"#27262aff",dark:"#27262aff",mainChannel:"#27262aff",lightChannel:"#27262aff",darkChannel:"#27262aff"},element__switch__ios__off_track:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},element__switch__ios__off_knob:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},element__switch__ios__on_track:{main:"#8752f6ff",light:"#8752f6ff",dark:"#8752f6ff",mainChannel:"#8752f6ff",lightChannel:"#8752f6ff",darkChannel:"#8752f6ff"},element__switch__ios__on_knob:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},element__switch__android__on_track:{main:"#dfd0ffff",light:"#dfd0ffff",dark:"#dfd0ffff",mainChannel:"#dfd0ffff",lightChannel:"#dfd0ffff",darkChannel:"#dfd0ffff"},element__switch__android__on_knob:{main:"#541fc3ff",light:"#541fc3ff",dark:"#541fc3ff",mainChannel:"#541fc3ff",lightChannel:"#541fc3ff",darkChannel:"#541fc3ff"},element__switch__android__off_track:{main:"#ddddddff",light:"#ddddddff",dark:"#ddddddff",mainChannel:"#ddddddff",lightChannel:"#ddddddff",darkChannel:"#ddddddff"},element__switch__android__off_knob:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},element__pagination__selected:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},element__pagination__unselected:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},element__arrow__default:{main:"#000000cc",light:"#000000cc",dark:"#000000cc",mainChannel:"#000000cc",lightChannel:"#000000cc",darkChannel:"#000000cc"},element__arrow__hover:{main:"#ffffff1a",light:"#ffffff1a",dark:"#ffffff1a",mainChannel:"#ffffff1a",lightChannel:"#ffffff1a",darkChannel:"#ffffff1a"},element__arrow__pressed:{main:"#ffffff33",light:"#ffffff33",dark:"#ffffff33",mainChannel:"#ffffff33",lightChannel:"#ffffff33",darkChannel:"#ffffff33"},element__arrow__focused:{main:"#ffffff1a",light:"#ffffff1a",dark:"#ffffff1a",mainChannel:"#ffffff1a",lightChannel:"#ffffff1a",darkChannel:"#ffffff1a"},element__arrow__disabled:{main:"#000000cc",light:"#000000cc",dark:"#000000cc",mainChannel:"#000000cc",lightChannel:"#000000cc",darkChannel:"#000000cc"},gradient__poll__gradient_start:{main:"#541fc3ff",light:"#541fc3ff",dark:"#541fc3ff",mainChannel:"#541fc3ff",lightChannel:"#541fc3ff",darkChannel:"#541fc3ff"},gradient__poll__gradient_end:{main:"#b60122ff",light:"#b60122ff",dark:"#b60122ff",mainChannel:"#b60122ff",lightChannel:"#b60122ff",darkChannel:"#b60122ff"},gradient__lighter__gradient_start:{main:"#00000066",light:"#00000066",dark:"#00000066",mainChannel:"#00000066",lightChannel:"#00000066",darkChannel:"#00000066"},gradient__lighter__gradient_middle:{main:"#00000033",light:"#00000033",dark:"#00000033",mainChannel:"#00000033",lightChannel:"#00000033",darkChannel:"#00000033"},gradient__lighter__gradient_end:{main:"#00000000",light:"#00000000",dark:"#00000000",mainChannel:"#00000000",lightChannel:"#00000000",darkChannel:"#00000000"},gradient__light__gradient_start:{main:"#000000b3",light:"#000000b3",dark:"#000000b3",mainChannel:"#000000b3",lightChannel:"#000000b3",darkChannel:"#000000b3"},gradient__light__gradient_middle:{main:"#00000033",light:"#00000033",dark:"#00000033",mainChannel:"#00000033",lightChannel:"#00000033",darkChannel:"#00000033"},gradient__light__gradient_end:{main:"#00000000",light:"#00000000",dark:"#00000000",mainChannel:"#00000000",lightChannel:"#00000000",darkChannel:"#00000000"},gradient__default__gradient_start:{main:"#000000cc",light:"#000000cc",dark:"#000000cc",mainChannel:"#000000cc",lightChannel:"#000000cc",darkChannel:"#000000cc"},gradient__default__gradient_middle:{main:"#00000066",light:"#00000066",dark:"#00000066",mainChannel:"#00000066",lightChannel:"#00000066",darkChannel:"#00000066"},gradient__default__gradient_end:{main:"#00000000",light:"#00000000",dark:"#00000000",mainChannel:"#00000000",lightChannel:"#00000000",darkChannel:"#00000000"},gradient__dark__gradient_start:{main:"#000000ff",light:"#000000ff",dark:"#000000ff",mainChannel:"#000000ff",lightChannel:"#000000ff",darkChannel:"#000000ff"},gradient__dark__gradient_middle:{main:"#00000066",light:"#00000066",dark:"#00000066",mainChannel:"#00000066",lightChannel:"#00000066",darkChannel:"#00000066"},gradient__dark__gradient_end:{main:"#00000000",light:"#00000000",dark:"#00000000",mainChannel:"#00000000",lightChannel:"#00000000",darkChannel:"#00000000"},gradient__darker__gradient_start:{main:"#000000ff",light:"#000000ff",dark:"#000000ff",mainChannel:"#000000ff",lightChannel:"#000000ff",darkChannel:"#000000ff"},gradient__darker__gradient_middle:{main:"#000000cc",light:"#000000cc",dark:"#000000cc",mainChannel:"#000000cc",lightChannel:"#000000cc",darkChannel:"#000000cc"},gradient__darker__gradient_end:{main:"#00000000",light:"#00000000",dark:"#00000000",mainChannel:"#00000000",lightChannel:"#00000000",darkChannel:"#00000000"},gradient__brand__gradient_start:{main:"#6927f4ff",light:"#6927f4ff",dark:"#6927f4ff",mainChannel:"#6927f4ff",lightChannel:"#6927f4ff",darkChannel:"#6927f4ff"},gradient__brand__gradient_middle:{main:"#541fc3cc",light:"#541fc3cc",dark:"#541fc3cc",mainChannel:"#541fc3cc",lightChannel:"#541fc3cc",darkChannel:"#541fc3cc"},gradient__brand__gradient_end:{main:"#541fc300",light:"#541fc300",dark:"#541fc300",mainChannel:"#541fc300",lightChannel:"#541fc300",darkChannel:"#541fc300"},gradient__over_surface_3__gradient_start:{main:"#27262aff",light:"#27262aff",dark:"#27262aff",mainChannel:"#27262aff",lightChannel:"#27262aff",darkChannel:"#27262aff"},gradient__over_surface_3__gradient_middle:{main:"#27262ae6",light:"#27262ae6",dark:"#27262ae6",mainChannel:"#27262ae6",lightChannel:"#27262ae6",darkChannel:"#27262ae6"},gradient__over_surface_3__gradient_end:{main:"#27262a00",light:"#27262a00",dark:"#27262a00",mainChannel:"#27262a00",lightChannel:"#27262a00",darkChannel:"#27262a00"},gradient__skeleton_loading__gradient_start:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},gradient__skeleton_loading__gradient_end:{main:"#27262aff",light:"#27262aff",dark:"#27262aff",mainChannel:"#27262aff",lightChannel:"#27262aff",darkChannel:"#27262aff"},gradient__surface_2__gradient_start:{main:"#1a1a1ab3",light:"#1a1a1ab3",dark:"#1a1a1ab3",mainChannel:"#1a1a1ab3",lightChannel:"#1a1a1ab3",darkChannel:"#1a1a1ab3"},gradient__surface_2__gradient_end:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},gradient__surface_2__gradient_middle:{main:"#1a1a1ae6",light:"#1a1a1ae6",dark:"#1a1a1ae6",mainChannel:"#1a1a1ae6",lightChannel:"#1a1a1ae6",darkChannel:"#1a1a1ae6"},gradient__spinner__gradient_start:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},gradient__spinner__gradient_middle:{main:"#ffffffb3",light:"#ffffffb3",dark:"#ffffffb3",mainChannel:"#ffffffb3",lightChannel:"#ffffffb3",darkChannel:"#ffffffb3"},gradient__spinner__gradient_end:{main:"#ffffff00",light:"#ffffff00",dark:"#ffffff00",mainChannel:"#ffffff00",lightChannel:"#ffffff00",darkChannel:"#ffffff00"},shadow__default:{main:"#00000080",light:"#00000080",dark:"#00000080",mainChannel:"#00000080",lightChannel:"#00000080",darkChannel:"#00000080"},background__alt__surface_01:{main:"#ddddddff",light:"#ddddddff",dark:"#ddddddff",mainChannel:"#ddddddff",lightChannel:"#ddddddff",darkChannel:"#ddddddff"}},r={padding__none:"0rem",padding__xxs:"0.4rem",padding__xs:"0.8rem",padding__sm:"1.2rem",padding__md:"1.6rem",padding__lg:"2rem",padding__xl:"2.4rem",padding__2xl:"3.2rem",padding__3xl:"4rem",padding__xxxs:"0.2rem",padding__4xl:"4.8rem",padding__5xl:"6.4rem",padding__xxxxs:"0.1rem",padding__negative4:"-0.4rem",padding__negative12:"-1.2rem",padding__6xl:"7.2rem",padding__7xl:"8rem",padding__8xl:"8.8rem",padding__9xl:"9.6rem",padding__10xl:"10.4rem",padding__11xl:"11.2rem",radius__none:"0rem",radius__rounded:"11.2rem",radius__xs:"0.8rem",radius__md:"1.6rem",radius__lg:"2rem",radius__xxs:"0.4rem",radius__xxxs:"0.2rem",radius__sm:"1.2rem",border__none:"0rem",border__xs:"0.05rem",border__sm:"0.1rem",border__md:"0.2rem",border__lg:"0.4rem",size__none:"0rem",size__xxxxs:"0.1rem",size__xxxs:"0.2rem",size__xxs:"0.4rem",size__xs:"0.8rem",size__sm:"1.2rem",size__md:"1.6rem",size__lg:"2rem",size__xl:"2.4rem",size__2xl:"3.2rem",size__3xl:"4rem",size__4xl:"4.8rem",size__5xl:"6.4rem",size__6xl:"7.2rem",size__7xl:"8rem",size__8xl:"8.8rem",bp_01__layout_grid__margin:"2rem",bp_01__layout_grid__gap:"1.2rem",bp_01__layout_grid__gutter:"0.8rem",bp_01__layout_grid__columns:"0.4rem",bp_02__layout_grid__margin:"2rem",bp_02__layout_grid__gap:"1.2rem",bp_02__layout_grid__gutter:"0.8rem",bp_02__layout_grid__columns:"0.4rem",bp_03__layout_grid__margin:"4rem",bp_03__layout_grid__gap:"1.2rem",bp_03__layout_grid__gutter:"1.6rem",bp_03__layout_grid__columns:"0.8rem",bp_04__layout_grid__margin:"4rem",bp_04__layout_grid__gap:"2.4rem",bp_04__layout_grid__gutter:"1.6rem",bp_04__layout_grid__columns:"0.8rem",bp_05__layout_grid__margin:"3.2rem",bp_05__layout_grid__gap:"2.4rem",bp_05__layout_grid__gutter:"2.4rem",bp_05__layout_grid__columns:"2rem",bp_06__layout_grid__margin:"3.2rem",bp_06__layout_grid__gap:"3.2rem",bp_06__layout_grid__gutter:"2.4rem",bp_06__layout_grid__columns:"2rem",bp_07__layout_grid__margin:"3.2rem",bp_07__layout_grid__gap:"3.2rem",bp_07__layout_grid__gutter:"2.4rem",bp_07__layout_grid__columns:"2rem",default__cards__top_bottom:"2rem",default__cards__left_right:"2rem",default__cards__gap:"2rem",default__cards__radius:"1.2rem",default__action__left_right:"1.2rem",default__action__top_bottom:"0.8rem",default__action__radius:"1.2rem",default__action__square:"0.8rem",default__badges__radius:"11.2rem",default__badges__top_bottom:"0.2rem",default__badges__left_right:"0.8rem",small__cards__top_bottom:"0.8rem",small__cards__left_right:"0.8rem",small__cards__gap:"0.8rem",small__cards__radius:"0.8rem",small__action__left_right:"0.8rem",small__action__top_bottom:"0.4rem",small__action__radius:"0.8rem",small__action__square:"0.4rem",small__badges__radius:"11.2rem",small__badges__top_bottom:"0.2rem",small__badges__left_right:"0.4rem",medium__cards__top_bottom:"1.6rem",medium__cards__left_right:"1.6rem",medium__cards__gap:"1.6rem",medium__cards__radius:"1.6rem",medium__action__left_right:"1.2rem",medium__action__top_bottom:"0.8rem",medium__action__radius:"1.2rem",medium__action__square:"0.8rem",medium__badges__radius:"11.2rem",medium__badges__top_bottom:"0.2rem",medium__badges__left_right:"0.4rem",large__cards__top_bottom:"2rem",large__cards__left_right:"2rem",large__cards__gap:"2rem",large__cards__radius:"0rem",large__action__left_right:"1.6rem",large__action__top_bottom:"1.2rem",large__action__radius:"1.6rem",large__action__square:"1.2rem",large__badges__radius:"11.2rem",large__badges__top_bottom:"0.8rem",large__badges__left_right:"0.4rem"},s={background:{default:"#f2f5f6ff"},visualization__color:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},visualization__primary:{main:"#78ffc8ff",light:"#78ffc8ff",dark:"#78ffc8ff",mainChannel:"#78ffc8ff",lightChannel:"#78ffc8ff",darkChannel:"#78ffc8ff"},visualization__secondary:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},visualization__tertiary:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},visualization__drivechart__light_green:{main:"#00b66aff",light:"#00b66aff",dark:"#00b66aff",mainChannel:"#00b66aff",lightChannel:"#00b66aff",darkChannel:"#00b66aff"},visualization__drivechart__dark_green:{main:"#008f55ff",light:"#008f55ff",dark:"#008f55ff",mainChannel:"#008f55ff",lightChannel:"#008f55ff",darkChannel:"#008f55ff"},visualization__drivechart__end_zone:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},visualization__drivechart__goal_post_top:{main:"#e8a803ff",light:"#e8a803ff",dark:"#e8a803ff",mainChannel:"#e8a803ff",lightChannel:"#e8a803ff",darkChannel:"#e8a803ff"},visualization__drivechart__goal_post_bottom:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},visualization__drivechart__yardline:{main:"#f6e05eff",light:"#f6e05eff",dark:"#f6e05eff",mainChannel:"#f6e05eff",lightChannel:"#f6e05eff",darkChannel:"#f6e05eff"},visualization__drivechart__arrow:{main:"#e9173dff",light:"#e9173dff",dark:"#e9173dff",mainChannel:"#e9173dff",lightChannel:"#e9173dff",darkChannel:"#e9173dff"},visualization__drivechart__driveline:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},visualization__drivechart__marker:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},surface__level_1:{main:"#f2f5f6ff",light:"#f2f5f6ff",dark:"#f2f5f6ff",mainChannel:"#f2f5f6ff",lightChannel:"#f2f5f6ff",darkChannel:"#f2f5f6ff"},surface__level_2:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},surface__level_3:{main:"#f2f5f6ff",light:"#f2f5f6ff",dark:"#f2f5f6ff",mainChannel:"#f2f5f6ff",lightChannel:"#f2f5f6ff",darkChannel:"#f2f5f6ff"},surface__level_4:{main:"#eeeeeeff",light:"#eeeeeeff",dark:"#eeeeeeff",mainChannel:"#eeeeeeff",lightChannel:"#eeeeeeff",darkChannel:"#eeeeeeff"},surface__accent__live:{main:"#e9173dff",light:"#e9173dff",dark:"#e9173dff",mainChannel:"#e9173dff",lightChannel:"#e9173dff",darkChannel:"#e9173dff"},surface__accent__success:{main:"#02cc77ff",light:"#02cc77ff",dark:"#02cc77ff",mainChannel:"#02cc77ff",lightChannel:"#02cc77ff",darkChannel:"#02cc77ff"},surface__accent__warning:{main:"#ffd60aff",light:"#ffd60aff",dark:"#ffd60aff",mainChannel:"#ffd60aff",lightChannel:"#ffd60aff",darkChannel:"#ffd60aff"},surface__accent__error:{main:"#e9173dff",light:"#e9173dff",dark:"#e9173dff",mainChannel:"#e9173dff",lightChannel:"#e9173dff",darkChannel:"#e9173dff"},surface__accent__discovery:{main:"#6927f4ff",light:"#6927f4ff",dark:"#6927f4ff",mainChannel:"#6927f4ff",lightChannel:"#6927f4ff",darkChannel:"#6927f4ff"},surface__inverse:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},surface__indicator__green:{main:"#004f2fff",light:"#004f2fff",dark:"#004f2fff",mainChannel:"#004f2fff",lightChannel:"#004f2fff",darkChannel:"#004f2fff"},surface__indicator__light_green:{main:"#008f55ff",light:"#008f55ff",dark:"#008f55ff",mainChannel:"#008f55ff",lightChannel:"#008f55ff",darkChannel:"#008f55ff"},surface__indicator__blue:{main:"#0060fcff",light:"#0060fcff",dark:"#0060fcff",mainChannel:"#0060fcff",lightChannel:"#0060fcff",darkChannel:"#0060fcff"},surface__indicator__light_blue:{main:"#1a8ca0ff",light:"#1a8ca0ff",dark:"#1a8ca0ff",mainChannel:"#1a8ca0ff",lightChannel:"#1a8ca0ff",darkChannel:"#1a8ca0ff"},surface__indicator__red:{main:"#e9173dff",light:"#e9173dff",dark:"#e9173dff",mainChannel:"#e9173dff",lightChannel:"#e9173dff",darkChannel:"#e9173dff"},surface__indicator__orange:{main:"#ad5800ff",light:"#ad5800ff",dark:"#ad5800ff",mainChannel:"#ad5800ff",lightChannel:"#ad5800ff",darkChannel:"#ad5800ff"},surface__indicator__yellow:{main:"#ce7c00ff",light:"#ce7c00ff",dark:"#ce7c00ff",mainChannel:"#ce7c00ff",lightChannel:"#ce7c00ff",darkChannel:"#ce7c00ff"},surface__indicator__grey:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},surface__indicator__grey_darker:{main:"#27262aff",light:"#27262aff",dark:"#27262aff",mainChannel:"#27262aff",lightChannel:"#27262aff",darkChannel:"#27262aff"},surface__indicator__green_badge:{main:"#00b66aff",light:"#00b66aff",dark:"#00b66aff",mainChannel:"#00b66aff",lightChannel:"#00b66aff",darkChannel:"#00b66aff"},surface__level_5:{main:"#ddddddff",light:"#ddddddff",dark:"#ddddddff",mainChannel:"#ddddddff",lightChannel:"#ddddddff",darkChannel:"#ddddddff"},surface__level_6:{main:"#c9c9c9ff",light:"#c9c9c9ff",dark:"#c9c9c9ff",mainChannel:"#c9c9c9ff",lightChannel:"#c9c9c9ff",darkChannel:"#c9c9c9ff"},surface__brand__default:{main:"#6927f4ff",light:"#6927f4ff",dark:"#6927f4ff",mainChannel:"#6927f4ff",lightChannel:"#6927f4ff",darkChannel:"#6927f4ff"},surface__brand__light:{main:"#8752f6ff",light:"#8752f6ff",dark:"#8752f6ff",mainChannel:"#8752f6ff",lightChannel:"#8752f6ff",darkChannel:"#8752f6ff"},surface__brand__lighter:{main:"#ae87ffff",light:"#ae87ffff",dark:"#ae87ffff",mainChannel:"#ae87ffff",lightChannel:"#ae87ffff",darkChannel:"#ae87ffff"},surface__brand__dark:{main:"#541fc3ff",light:"#541fc3ff",dark:"#541fc3ff",mainChannel:"#541fc3ff",lightChannel:"#541fc3ff",darkChannel:"#541fc3ff"},surface__brand__darker:{main:"#3f1792ff",light:"#3f1792ff",dark:"#3f1792ff",mainChannel:"#3f1792ff",lightChannel:"#3f1792ff",darkChannel:"#3f1792ff"},surface__alwaysdark:{main:"#000000ff",light:"#000000ff",dark:"#000000ff",mainChannel:"#000000ff",lightChannel:"#000000ff",darkChannel:"#000000ff"},surface__alwayslight:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},foreground__primary:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},foreground__secondary:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},foreground__tertiary:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},foreground__inverse:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},foreground__accent__success:{main:"#004f2fff",light:"#004f2fff",dark:"#004f2fff",mainChannel:"#004f2fff",lightChannel:"#004f2fff",darkChannel:"#004f2fff"},foreground__accent__error:{main:"#e9173dff",light:"#e9173dff",dark:"#e9173dff",mainChannel:"#e9173dff",lightChannel:"#e9173dff",darkChannel:"#e9173dff"},foreground__accent__live:{main:"#e9173dff",light:"#e9173dff",dark:"#e9173dff",mainChannel:"#e9173dff",lightChannel:"#e9173dff",darkChannel:"#e9173dff"},foreground__accent__primary:{main:"#a94ad6ff",light:"#a94ad6ff",dark:"#a94ad6ff",mainChannel:"#a94ad6ff",lightChannel:"#a94ad6ff",darkChannel:"#a94ad6ff"},foreground__accent__secondary:{main:"#ffd60aff",light:"#ffd60aff",dark:"#ffd60aff",mainChannel:"#ffd60aff",lightChannel:"#ffd60aff",darkChannel:"#ffd60aff"},foreground__accent__fire:{main:"#e9173dff",light:"#e9173dff",dark:"#e9173dff",mainChannel:"#e9173dff",lightChannel:"#e9173dff",darkChannel:"#e9173dff"},foreground__accent__max:{main:"#002be7ff",light:"#002be7ff",dark:"#002be7ff",mainChannel:"#002be7ff",lightChannel:"#002be7ff",darkChannel:"#002be7ff"},foreground__accent__fanduel:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},foreground__disabled:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},foreground__link__primary__default:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},foreground__link__primary__disabled:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},foreground__link__primary__hovered:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},foreground__link__primary__vistited:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},foreground__link__secondary__default:{main:"#6927f4ff",light:"#6927f4ff",dark:"#6927f4ff",mainChannel:"#6927f4ff",lightChannel:"#6927f4ff",darkChannel:"#6927f4ff"},foreground__link__secondary__disabled:{main:"#ae87ffff",light:"#ae87ffff",dark:"#ae87ffff",mainChannel:"#ae87ffff",lightChannel:"#ae87ffff",darkChannel:"#ae87ffff"},foreground__link__secondary__hovered:{main:"#8752f6ff",light:"#8752f6ff",dark:"#8752f6ff",mainChannel:"#8752f6ff",lightChannel:"#8752f6ff",darkChannel:"#8752f6ff"},foreground__link__secondary__vistited:{main:"#8752f6ff",light:"#8752f6ff",dark:"#8752f6ff",mainChannel:"#8752f6ff",lightChannel:"#8752f6ff",darkChannel:"#8752f6ff"},foreground__placeholder:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},foreground__oncolor_light:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},foreground__oncolor_dark:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},foreground__active:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},foreground__inactive:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},foreground__oncolor_light_inactive:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},border__loud:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},border__quiet:{main:"#eeeeeeff",light:"#eeeeeeff",dark:"#eeeeeeff",mainChannel:"#eeeeeeff",lightChannel:"#eeeeeeff",darkChannel:"#eeeeeeff"},border__inverse:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},border__default:{main:"#c9c9c9ff",light:"#c9c9c9ff",dark:"#c9c9c9ff",mainChannel:"#c9c9c9ff",lightChannel:"#c9c9c9ff",darkChannel:"#c9c9c9ff"},border__live:{main:"#e9173dff",light:"#e9173dff",dark:"#e9173dff",mainChannel:"#e9173dff",lightChannel:"#e9173dff",darkChannel:"#e9173dff"},border__demarcation:{main:"#00b66aff",light:"#00b66aff",dark:"#00b66aff",mainChannel:"#00b66aff",lightChannel:"#00b66aff",darkChannel:"#00b66aff"},border__oncolor_light:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},border__oncolor_quiet:{main:"#ddddddff",light:"#ddddddff",dark:"#ddddddff",mainChannel:"#ddddddff",lightChannel:"#ddddddff",darkChannel:"#ddddddff"},border__error:{main:"#e9173dff",light:"#e9173dff",dark:"#e9173dff",mainChannel:"#e9173dff",lightChannel:"#e9173dff",darkChannel:"#e9173dff"},border__success:{main:"#00653cff",light:"#00653cff",dark:"#00653cff",mainChannel:"#00653cff",lightChannel:"#00653cff",darkChannel:"#00653cff"},action__surface__loud__default:{main:"#6927f4ff",light:"#6927f4ff",dark:"#6927f4ff",mainChannel:"#6927f4ff",lightChannel:"#6927f4ff",darkChannel:"#6927f4ff"},action__surface__loud__focused:{main:"#8752f6ff",light:"#8752f6ff",dark:"#8752f6ff",mainChannel:"#8752f6ff",lightChannel:"#8752f6ff",darkChannel:"#8752f6ff"},action__surface__loud__disabled:{main:"#d1bbffff",light:"#d1bbffff",dark:"#d1bbffff",mainChannel:"#d1bbffff",lightChannel:"#d1bbffff",darkChannel:"#d1bbffff"},action__surface__loud__pressed:{main:"#8752f6ff",light:"#8752f6ff",dark:"#8752f6ff",mainChannel:"#8752f6ff",lightChannel:"#8752f6ff",darkChannel:"#8752f6ff"},action__surface__loud__active:{main:"#6927f4ff",light:"#6927f4ff",dark:"#6927f4ff",mainChannel:"#6927f4ff",lightChannel:"#6927f4ff",darkChannel:"#6927f4ff"},action__surface__loud__inactive:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},action__surface__loud__hovered:{main:"#8752f6ff",light:"#8752f6ff",dark:"#8752f6ff",mainChannel:"#8752f6ff",lightChannel:"#8752f6ff",darkChannel:"#8752f6ff"},action__surface__neutral__default:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},action__surface__neutral__focused:{main:"#c9c9c9ff",light:"#c9c9c9ff",dark:"#c9c9c9ff",mainChannel:"#c9c9c9ff",lightChannel:"#c9c9c9ff",darkChannel:"#c9c9c9ff"},action__surface__neutral__disabled:{main:"#ddddddff",light:"#ddddddff",dark:"#ddddddff",mainChannel:"#ddddddff",lightChannel:"#ddddddff",darkChannel:"#ddddddff"},action__surface__neutral__pressed:{main:"#27262aff",light:"#27262aff",dark:"#27262aff",mainChannel:"#27262aff",lightChannel:"#27262aff",darkChannel:"#27262aff"},action__surface__neutral__active:{main:"#03fc96ff",light:"#03fc96ff",dark:"#03fc96ff",mainChannel:"#03fc96ff",lightChannel:"#03fc96ff",darkChannel:"#03fc96ff"},action__surface__neutral__inactive:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},action__surface__neutral__hovered:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},action__surface__outline__default:{main:"#ffffff00",light:"#ffffff00",dark:"#ffffff00",mainChannel:"#ffffff00",lightChannel:"#ffffff00",darkChannel:"#ffffff00"},action__surface__outline__focused:{main:"#eeeeeeff",light:"#eeeeeeff",dark:"#eeeeeeff",mainChannel:"#eeeeeeff",lightChannel:"#eeeeeeff",darkChannel:"#eeeeeeff"},action__surface__outline__disabled:{main:"#eeeeeeff",light:"#eeeeeeff",dark:"#eeeeeeff",mainChannel:"#eeeeeeff",lightChannel:"#eeeeeeff",darkChannel:"#eeeeeeff"},action__surface__outline__pressed:{main:"#eeeeeeff",light:"#eeeeeeff",dark:"#eeeeeeff",mainChannel:"#eeeeeeff",lightChannel:"#eeeeeeff",darkChannel:"#eeeeeeff"},action__surface__outline__hovered:{main:"#f2f5f6ff",light:"#f2f5f6ff",dark:"#f2f5f6ff",mainChannel:"#f2f5f6ff",lightChannel:"#f2f5f6ff",darkChannel:"#f2f5f6ff"},action__surface__ghost__default:{main:"#ffffff00",light:"#ffffff00",dark:"#ffffff00",mainChannel:"#ffffff00",lightChannel:"#ffffff00",darkChannel:"#ffffff00"},action__surface__ghost__focused:{main:"#0000001a",light:"#0000001a",dark:"#0000001a",mainChannel:"#0000001a",lightChannel:"#0000001a",darkChannel:"#0000001a"},action__surface__ghost__disabled:{main:"#ffffff00",light:"#ffffff00",dark:"#ffffff00",mainChannel:"#ffffff00",lightChannel:"#ffffff00",darkChannel:"#ffffff00"},action__surface__ghost__pressed:{main:"#ddddddff",light:"#ddddddff",dark:"#ddddddff",mainChannel:"#ddddddff",lightChannel:"#ddddddff",darkChannel:"#ddddddff"},action__surface__ghost__hovered:{main:"#0000001a",light:"#0000001a",dark:"#0000001a",mainChannel:"#0000001a",lightChannel:"#0000001a",darkChannel:"#0000001a"},action__surface__ghost__active:{main:"#0000000d",light:"#0000000d",dark:"#0000000d",mainChannel:"#0000000d",lightChannel:"#0000000d",darkChannel:"#0000000d"},action__surface__quiet__default:{main:"#ddddddff",light:"#ddddddff",dark:"#ddddddff",mainChannel:"#ddddddff",lightChannel:"#ddddddff",darkChannel:"#ddddddff"},action__surface__quiet__focused:{main:"#ddddddff",light:"#ddddddff",dark:"#ddddddff",mainChannel:"#ddddddff",lightChannel:"#ddddddff",darkChannel:"#ddddddff"},action__surface__quiet__disabled:{main:"#eeeeeeff",light:"#eeeeeeff",dark:"#eeeeeeff",mainChannel:"#eeeeeeff",lightChannel:"#eeeeeeff",darkChannel:"#eeeeeeff"},action__surface__quiet__pressed:{main:"#c9c9c9ff",light:"#c9c9c9ff",dark:"#c9c9c9ff",mainChannel:"#c9c9c9ff",lightChannel:"#c9c9c9ff",darkChannel:"#c9c9c9ff"},action__surface__quiet__hovered:{main:"#eeeeeeff",light:"#eeeeeeff",dark:"#eeeeeeff",mainChannel:"#eeeeeeff",lightChannel:"#eeeeeeff",darkChannel:"#eeeeeeff"},action__surface__quiet__active_quiet:{main:"#c9c9c9ff",light:"#c9c9c9ff",dark:"#c9c9c9ff",mainChannel:"#c9c9c9ff",lightChannel:"#c9c9c9ff",darkChannel:"#c9c9c9ff"},action__surface__quiet__active_loud:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},action__border__loud__default:{main:"#ae87ffff",light:"#ae87ffff",dark:"#ae87ffff",mainChannel:"#ae87ffff",lightChannel:"#ae87ffff",darkChannel:"#ae87ffff"},action__border__loud__focused:{main:"#d1bbffff",light:"#d1bbffff",dark:"#d1bbffff",mainChannel:"#d1bbffff",lightChannel:"#d1bbffff",darkChannel:"#d1bbffff"},action__border__loud__disabled:{main:"#dfd0ffff",light:"#dfd0ffff",dark:"#dfd0ffff",mainChannel:"#dfd0ffff",lightChannel:"#dfd0ffff",darkChannel:"#dfd0ffff"},action__border__loud__pressed:{main:"#ae87ffff",light:"#ae87ffff",dark:"#ae87ffff",mainChannel:"#ae87ffff",lightChannel:"#ae87ffff",darkChannel:"#ae87ffff"},action__border__loud__active:{main:"#ae87ffff",light:"#ae87ffff",dark:"#ae87ffff",mainChannel:"#ae87ffff",lightChannel:"#ae87ffff",darkChannel:"#ae87ffff"},action__border__loud__hovered:{main:"#ae87ffff",light:"#ae87ffff",dark:"#ae87ffff",mainChannel:"#ae87ffff",lightChannel:"#ae87ffff",darkChannel:"#ae87ffff"},action__border__outline__default:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},action__border__outline__focused:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},action__border__outline__disabled:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},action__border__outline__pressed:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},action__border__outline__hovered:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},action__border__outline__active:{main:"#27262aff",light:"#27262aff",dark:"#27262aff",mainChannel:"#27262aff",lightChannel:"#27262aff",darkChannel:"#27262aff"},action__border__neutral__focused:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},action__border__neutral__disabled:{main:"#c9c9c9ff",light:"#c9c9c9ff",dark:"#c9c9c9ff",mainChannel:"#c9c9c9ff",lightChannel:"#c9c9c9ff",darkChannel:"#c9c9c9ff"},action__border__neutral__default:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},action__border__quiet__focused:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},action__border__quiet__active:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},action__border__ghost__focused:{main:"#99989fff",light:"#99989fff",dark:"#99989fff",mainChannel:"#99989fff",lightChannel:"#99989fff",darkChannel:"#99989fff"},opacity__0:{main:"#ffffff00",light:"#ffffff00",dark:"#ffffff00",mainChannel:"#ffffff00",lightChannel:"#ffffff00",darkChannel:"#ffffff00"},opacity__10:{main:"#ffffff1a",light:"#ffffff1a",dark:"#ffffff1a",mainChannel:"#ffffff1a",lightChannel:"#ffffff1a",darkChannel:"#ffffff1a"},opacity__20:{main:"#ffffff33",light:"#ffffff33",dark:"#ffffff33",mainChannel:"#ffffff33",lightChannel:"#ffffff33",darkChannel:"#ffffff33"},opacity__30:{main:"#0000004d",light:"#0000004d",dark:"#0000004d",mainChannel:"#0000004d",lightChannel:"#0000004d",darkChannel:"#0000004d"},opacity__40:{main:"#ffffff66",light:"#ffffff66",dark:"#ffffff66",mainChannel:"#ffffff66",lightChannel:"#ffffff66",darkChannel:"#ffffff66"},opacity__50:{main:"#00000080",light:"#00000080",dark:"#00000080",mainChannel:"#00000080",lightChannel:"#00000080",darkChannel:"#00000080"},opacity__60:{main:"#ffffff99",light:"#ffffff99",dark:"#ffffff99",mainChannel:"#ffffff99",lightChannel:"#ffffff99",darkChannel:"#ffffff99"},opacity__70:{main:"#ffffffb3",light:"#ffffffb3",dark:"#ffffffb3",mainChannel:"#ffffffb3",lightChannel:"#ffffffb3",darkChannel:"#ffffffb3"},opacity__80:{main:"#ffffffcc",light:"#ffffffcc",dark:"#ffffffcc",mainChannel:"#ffffffcc",lightChannel:"#ffffffcc",darkChannel:"#ffffffcc"},opacity__90:{main:"#ffffffe6",light:"#ffffffe6",dark:"#ffffffe6",mainChannel:"#ffffffe6",lightChannel:"#ffffffe6",darkChannel:"#ffffffe6"},element__toast:{main:"#000000e6",light:"#000000e6",dark:"#000000e6",mainChannel:"#000000e6",lightChannel:"#000000e6",darkChannel:"#000000e6"},element__input:{main:"#eeeeeeff",light:"#eeeeeeff",dark:"#eeeeeeff",mainChannel:"#eeeeeeff",lightChannel:"#eeeeeeff",darkChannel:"#eeeeeeff"},element__switch__ios__off_track:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},element__switch__ios__off_knob:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},element__switch__ios__on_track:{main:"#8752f6ff",light:"#8752f6ff",dark:"#8752f6ff",mainChannel:"#8752f6ff",lightChannel:"#8752f6ff",darkChannel:"#8752f6ff"},element__switch__ios__on_knob:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},element__switch__android__on_track:{main:"#8752f6ff",light:"#8752f6ff",dark:"#8752f6ff",mainChannel:"#8752f6ff",lightChannel:"#8752f6ff",darkChannel:"#8752f6ff"},element__switch__android__on_knob:{main:"#dfd0ffff",light:"#dfd0ffff",dark:"#dfd0ffff",mainChannel:"#dfd0ffff",lightChannel:"#dfd0ffff",darkChannel:"#dfd0ffff"},element__switch__android__off_track:{main:"#c9c9c9ff",light:"#c9c9c9ff",dark:"#c9c9c9ff",mainChannel:"#c9c9c9ff",lightChannel:"#c9c9c9ff",darkChannel:"#c9c9c9ff"},element__switch__android__off_knob:{main:"#3d3c41ff",light:"#3d3c41ff",dark:"#3d3c41ff",mainChannel:"#3d3c41ff",lightChannel:"#3d3c41ff",darkChannel:"#3d3c41ff"},element__pagination__selected:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},element__pagination__unselected:{main:"#68676dff",light:"#68676dff",dark:"#68676dff",mainChannel:"#68676dff",lightChannel:"#68676dff",darkChannel:"#68676dff"},element__arrow__default:{main:"#ffffffcc",light:"#ffffffcc",dark:"#ffffffcc",mainChannel:"#ffffffcc",lightChannel:"#ffffffcc",darkChannel:"#ffffffcc"},element__arrow__hover:{main:"#0000001a",light:"#0000001a",dark:"#0000001a",mainChannel:"#0000001a",lightChannel:"#0000001a",darkChannel:"#0000001a"},element__arrow__pressed:{main:"#00000033",light:"#00000033",dark:"#00000033",mainChannel:"#00000033",lightChannel:"#00000033",darkChannel:"#00000033"},element__arrow__focused:{main:"#0000001a",light:"#0000001a",dark:"#0000001a",mainChannel:"#0000001a",lightChannel:"#0000001a",darkChannel:"#0000001a"},element__arrow__disabled:{main:"#ffffffcc",light:"#ffffffcc",dark:"#ffffffcc",mainChannel:"#ffffffcc",lightChannel:"#ffffffcc",darkChannel:"#ffffffcc"},gradient__poll__gradient_start:{main:"#78ffc8ff",light:"#78ffc8ff",dark:"#78ffc8ff",mainChannel:"#78ffc8ff",lightChannel:"#78ffc8ff",darkChannel:"#78ffc8ff"},gradient__poll__gradient_end:{main:"#629effff",light:"#629effff",dark:"#629effff",mainChannel:"#629effff",lightChannel:"#629effff",darkChannel:"#629effff"},gradient__lighter__gradient_start:{main:"#ffffff66",light:"#ffffff66",dark:"#ffffff66",mainChannel:"#ffffff66",lightChannel:"#ffffff66",darkChannel:"#ffffff66"},gradient__lighter__gradient_middle:{main:"#ffffff33",light:"#ffffff33",dark:"#ffffff33",mainChannel:"#ffffff33",lightChannel:"#ffffff33",darkChannel:"#ffffff33"},gradient__lighter__gradient_end:{main:"#ffffff00",light:"#ffffff00",dark:"#ffffff00",mainChannel:"#ffffff00",lightChannel:"#ffffff00",darkChannel:"#ffffff00"},gradient__light__gradient_start:{main:"#ffffffb3",light:"#ffffffb3",dark:"#ffffffb3",mainChannel:"#ffffffb3",lightChannel:"#ffffffb3",darkChannel:"#ffffffb3"},gradient__light__gradient_middle:{main:"#ffffff33",light:"#ffffff33",dark:"#ffffff33",mainChannel:"#ffffff33",lightChannel:"#ffffff33",darkChannel:"#ffffff33"},gradient__light__gradient_end:{main:"#ffffff00",light:"#ffffff00",dark:"#ffffff00",mainChannel:"#ffffff00",lightChannel:"#ffffff00",darkChannel:"#ffffff00"},gradient__default__gradient_start:{main:"#ffffffcc",light:"#ffffffcc",dark:"#ffffffcc",mainChannel:"#ffffffcc",lightChannel:"#ffffffcc",darkChannel:"#ffffffcc"},gradient__default__gradient_middle:{main:"#ffffff66",light:"#ffffff66",dark:"#ffffff66",mainChannel:"#ffffff66",lightChannel:"#ffffff66",darkChannel:"#ffffff66"},gradient__default__gradient_end:{main:"#ffffff00",light:"#ffffff00",dark:"#ffffff00",mainChannel:"#ffffff00",lightChannel:"#ffffff00",darkChannel:"#ffffff00"},gradient__dark__gradient_start:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},gradient__dark__gradient_middle:{main:"#ffffff66",light:"#ffffff66",dark:"#ffffff66",mainChannel:"#ffffff66",lightChannel:"#ffffff66",darkChannel:"#ffffff66"},gradient__dark__gradient_end:{main:"#ffffff00",light:"#ffffff00",dark:"#ffffff00",mainChannel:"#ffffff00",lightChannel:"#ffffff00",darkChannel:"#ffffff00"},gradient__darker__gradient_start:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},gradient__darker__gradient_middle:{main:"#ffffffcc",light:"#ffffffcc",dark:"#ffffffcc",mainChannel:"#ffffffcc",lightChannel:"#ffffffcc",darkChannel:"#ffffffcc"},gradient__darker__gradient_end:{main:"#ffffff00",light:"#ffffff00",dark:"#ffffff00",mainChannel:"#ffffff00",lightChannel:"#ffffff00",darkChannel:"#ffffff00"},gradient__brand__gradient_start:{main:"#6927f4ff",light:"#6927f4ff",dark:"#6927f4ff",mainChannel:"#6927f4ff",lightChannel:"#6927f4ff",darkChannel:"#6927f4ff"},gradient__brand__gradient_middle:{main:"#541fc3cc",light:"#541fc3cc",dark:"#541fc3cc",mainChannel:"#541fc3cc",lightChannel:"#541fc3cc",darkChannel:"#541fc3cc"},gradient__brand__gradient_end:{main:"#541fc300",light:"#541fc300",dark:"#541fc300",mainChannel:"#541fc300",lightChannel:"#541fc300",darkChannel:"#541fc300"},gradient__over_surface_3__gradient_start:{main:"#eeeeeeff",light:"#eeeeeeff",dark:"#eeeeeeff",mainChannel:"#eeeeeeff",lightChannel:"#eeeeeeff",darkChannel:"#eeeeeeff"},gradient__over_surface_3__gradient_middle:{main:"#eeeeeee6",light:"#eeeeeee6",dark:"#eeeeeee6",mainChannel:"#eeeeeee6",lightChannel:"#eeeeeee6",darkChannel:"#eeeeeee6"},gradient__over_surface_3__gradient_end:{main:"#eeeeee00",light:"#eeeeee00",dark:"#eeeeee00",mainChannel:"#eeeeee00",lightChannel:"#eeeeee00",darkChannel:"#eeeeee00"},gradient__skeleton_loading__gradient_start:{main:"#f2f5f6ff",light:"#f2f5f6ff",dark:"#f2f5f6ff",mainChannel:"#f2f5f6ff",lightChannel:"#f2f5f6ff",darkChannel:"#f2f5f6ff"},gradient__skeleton_loading__gradient_end:{main:"#ddddddff",light:"#ddddddff",dark:"#ddddddff",mainChannel:"#ddddddff",lightChannel:"#ddddddff",darkChannel:"#ddddddff"},gradient__surface_2__gradient_start:{main:"#ffffffb3",light:"#ffffffb3",dark:"#ffffffb3",mainChannel:"#ffffffb3",lightChannel:"#ffffffb3",darkChannel:"#ffffffb3"},gradient__surface_2__gradient_end:{main:"#ffffffff",light:"#ffffffff",dark:"#ffffffff",mainChannel:"#ffffffff",lightChannel:"#ffffffff",darkChannel:"#ffffffff"},gradient__surface_2__gradient_middle:{main:"#ffffffe6",light:"#ffffffe6",dark:"#ffffffe6",mainChannel:"#ffffffe6",lightChannel:"#ffffffe6",darkChannel:"#ffffffe6"},gradient__spinner__gradient_start:{main:"#1a1a1aff",light:"#1a1a1aff",dark:"#1a1a1aff",mainChannel:"#1a1a1aff",lightChannel:"#1a1a1aff",darkChannel:"#1a1a1aff"},gradient__spinner__gradient_middle:{main:"#1a1a1ab3",light:"#1a1a1ab3",dark:"#1a1a1ab3",mainChannel:"#1a1a1ab3",lightChannel:"#1a1a1ab3",darkChannel:"#1a1a1ab3"},gradient__spinner__gradient_end:{main:"#1a1a1a00",light:"#1a1a1a00",dark:"#1a1a1a00",mainChannel:"#1a1a1a00",lightChannel:"#1a1a1a00",darkChannel:"#1a1a1a00"},shadow__default:{main:"#0000001a",light:"#0000001a",dark:"#0000001a",mainChannel:"#0000001a",lightChannel:"#0000001a",darkChannel:"#0000001a"},background__alt__surface_01:{main:"#ddddddff",light:"#ddddddff",dark:"#ddddddff",mainChannel:"#ddddddff",lightChannel:"#ddddddff",darkChannel:"#ddddddff"}};var o=n(47724)},47724:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});let i={fontFamily:"",htmlFontSize:10,bp_small__headings__display__large:{fontSize:"4rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"4.4rem"},bp_small__headings__display__medium:{fontSize:"3.2rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"3.5200000000000005rem"},bp_small__headings__display__small:{fontSize:"2.4rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.6399999999999997rem"},bp_small__headings__header__large:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Druk Text Wide, Druk Text Wide Fallback Helvetica, Druk Text Wide Fallback Arial, sans-serif",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.54rem"},bp_small__headings__header__medium:{fontSize:"1.2rem",textDecoration:"none",fontFamily:"Druk Text Wide, Druk Text Wide Fallback Helvetica, Druk Text Wide Fallback Arial, sans-serif",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.44rem"},bp_small__headings__header__small:{fontSize:"1rem",textDecoration:"none",fontFamily:"Druk Text Wide, Druk Text Wide Fallback Helvetica, Druk Text Wide Fallback Arial, sans-serif",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.2rem"},bp_small__headings__subheader__large:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.54rem"},bp_small__headings__subheader__medium:{fontSize:"1.2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.3199999999999998rem"},bp_small__headings__subheader__small:{fontSize:"1rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.1rem"},bp_small__headings__title__large:{fontSize:"2.4rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.88rem"},bp_small__headings__title__medium:{fontSize:"2rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.4rem"},bp_small__headings__title__small:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.92rem"},bp_small__headings__special_title__large:{fontSize:"3.2rem",textDecoration:"none",fontFamily:"Gazpacho, Gazpacho Fallback",fontWeight:900,fontStyle:"italic",letterSpacing:"0.128rem",lineHeight:"5.2rem"},bp_small__headings__special_title__medium:{fontSize:"2rem",textDecoration:"none",fontFamily:"Gazpacho, Gazpacho Fallback",fontWeight:900,fontStyle:"italic",letterSpacing:"0.08rem",lineHeight:"3.25rem"},bp_small__headings__special_title__small:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Gazpacho, Gazpacho Fallback",fontWeight:900,fontStyle:"italic",letterSpacing:"0.064rem",lineHeight:"2.6rem"},bp_small__body__body__large:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.92rem"},bp_small__body__body__large_strong:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.92rem"},bp_small__body__body__medium:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.6800000000000002rem"},bp_small__body__body__medium_strong:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.6800000000000002rem"},bp_small__body__body__small:{fontSize:"1.2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.44rem"},bp_small__body__body__small_strong:{fontSize:"1.2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.44rem"},bp_small__body__article__large:{fontSize:"2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"3.25rem"},bp_small__body__article__large_strong:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.6rem"},bp_small__body__article__medium:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.6rem"},bp_small__body__article__medium_strong:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.275rem"},bp_small__body__article__small:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.275rem"},bp_small__body__article__small_strong:{fontSize:"1.2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.95rem"},bp_small__ui__metadata__large:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.4rem"},bp_small__ui__metadata__large_strong:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.4rem"},bp_small__ui__metadata__medium:{fontSize:"1.2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.2rem"},bp_small__ui__metadata__medium_strong:{fontSize:"1.2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.2rem"},bp_small__ui__metadata__small:{fontSize:"1rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1rem"},bp_small__ui__metadata__small_strong:{fontSize:"1rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1rem"},bp_small__ui__score__large:{fontSize:"4rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"4.4rem"},bp_small__ui__score__medium:{fontSize:"2rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.2rem"},bp_small__ui__score__small:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.7600000000000002rem"},bp_small__ui__label__large:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:500,fontStyle:"normal",letterSpacing:"0.05rem",lineHeight:"1.6rem"},bp_small__ui__label__large_strong:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0.05rem",lineHeight:"1.6rem"},bp_small__ui__label__medium:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:500,fontStyle:"normal",letterSpacing:"0.02rem",lineHeight:"1.4rem"},bp_small__ui__label__medium_strong:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0.02rem",lineHeight:"1.4rem"},bp_small__ui__label__small:{fontSize:"1rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:500,fontStyle:"normal",letterSpacing:"0.01rem",lineHeight:"1rem"},bp_small__ui__label__small_strong:{fontSize:"1rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0.01rem",lineHeight:"1rem"},bp_small__ui__link__large:{fontSize:"2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.4rem"},bp_small__ui__link__large_strong:{fontSize:"2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.4rem"},bp_small__ui__link__medium:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.92rem"},bp_small__ui__link__medium_strong:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.92rem"},bp_small__ui__link__small:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.6800000000000002rem"},bp_small__ui__link__small_strong:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.6800000000000002rem"},bp_large__headings__display__large:{fontSize:"7.6rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"8.36rem"},bp_large__headings__display__medium:{fontSize:"4.8rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"5.279999999999999rem"},bp_large__headings__display__small:{fontSize:"3.2rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"3.5200000000000005rem"},bp_large__headings__header__large:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Druk Text Wide, Druk Text Wide Fallback Helvetica, Druk Text Wide Fallback Arial, sans-serif",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.7600000000000002rem"},bp_large__headings__header__medium:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Druk Text Wide, Druk Text Wide Fallback Helvetica, Druk Text Wide Fallback Arial, sans-serif",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.6800000000000002rem"},bp_large__headings__header__small:{fontSize:"1.2rem",textDecoration:"none",fontFamily:"Druk Text Wide, Druk Text Wide Fallback Helvetica, Druk Text Wide Fallback Arial, sans-serif",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.44rem"},bp_large__headings__subheader__large:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.7600000000000002rem"},bp_large__headings__subheader__medium:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.54rem"},bp_large__headings__subheader__small:{fontSize:"1.2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.3199999999999998rem"},bp_large__headings__title__large:{fontSize:"3.2rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"3.84rem"},bp_large__headings__title__medium:{fontSize:"2.4rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.88rem"},bp_large__headings__title__small:{fontSize:"2rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.4rem"},bp_large__headings__special_title__large:{fontSize:"4rem",textDecoration:"none",fontFamily:"Gazpacho, Gazpacho Fallback",fontWeight:900,fontStyle:"italic",letterSpacing:"0.16rem",lineHeight:"6.5rem"},bp_large__headings__special_title__medium:{fontSize:"3.2rem",textDecoration:"none",fontFamily:"Gazpacho, Gazpacho Fallback",fontWeight:900,fontStyle:"italic",letterSpacing:"0.128rem",lineHeight:"5.2rem"},bp_large__headings__special_title__small:{fontSize:"2.4rem",textDecoration:"none",fontFamily:"Gazpacho, Gazpacho Fallback",fontWeight:900,fontStyle:"italic",letterSpacing:"0.096rem",lineHeight:"3.9rem"},bp_large__body__body__large:{fontSize:"2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.4rem"},bp_large__body__body__large_strong:{fontSize:"2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.4rem"},bp_large__body__body__medium:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.92rem"},bp_large__body__body__medium_strong:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.92rem"},bp_large__body__body__small:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.6800000000000002rem"},bp_large__body__body__small_strong:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.6800000000000002rem"},bp_large__body__article__large:{fontSize:"2.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"3.9rem"},bp_large__body__article__large_strong:{fontSize:"2.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"3.9rem"},bp_large__body__article__medium:{fontSize:"2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"3.25rem"},bp_large__body__article__medium_strong:{fontSize:"2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"3.25rem"},bp_large__body__article__small:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.6rem"},bp_large__body__article__small_strong:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.6rem"},bp_large__ui__metadata__large:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.6rem"},bp_large__ui__metadata__large_strong:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.6rem"},bp_large__ui__metadata__medium:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.4rem"},bp_large__ui__metadata__medium_strong:{fontSize:"1.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.4rem"},bp_large__ui__metadata__small:{fontSize:"1.2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:400,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.2rem"},bp_large__ui__metadata__small_strong:{fontSize:"1.2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:600,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.2rem"},bp_large__ui__label__large:{fontSize:"2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.2rem"},bp_large__ui__label__large_strong:{fontSize:"2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.2rem"},bp_large__ui__label__medium:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.7600000000000002rem"},bp_large__ui__label__medium_strong:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.7600000000000002rem"},bp_large__ui__label__small:{fontSize:"1.2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.3199999999999998rem"},bp_large__ui__label__small_strong:{fontSize:"1.2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.3199999999999998rem"},bp_large__ui__score__large:{fontSize:"7.6rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"7.6rem"},bp_large__ui__score__medium:{fontSize:"6rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"6rem"},bp_large__ui__score__small:{fontSize:"4.8rem",textDecoration:"none",fontFamily:"Druk Text, Druk Text Fallback Helvetica, Druk Text Fallback Arial, sans-serif",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"4.8rem"},bp_large__ui__link__large:{fontSize:"2.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.88rem"},bp_large__ui__link__large_strong:{fontSize:"2.4rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.88rem"},bp_large__ui__link__medium:{fontSize:"2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.4rem"},bp_large__ui__link__medium_strong:{fontSize:"2rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"2.4rem"},bp_large__ui__link__small:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:500,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.92rem"},bp_large__ui__link__small_strong:{fontSize:"1.6rem",textDecoration:"none",fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",fontWeight:700,fontStyle:"normal",letterSpacing:"0rem",lineHeight:"1.92rem"}}},4339:function(e,t,n){"use strict";n.r(t),n.d(t,{ArticleSlide:function(){return d}});var i=n(90991),a=n(72163),r=n(60901),s=n(17613),o=n(84336),l=n(18865);let d=(0,a.forwardRef)((e,t)=>{let{ad:n,headline:a,subtitle:d,media:c,children:u,id:f,..._}=e,h=(0,l.useStadiumTheme)();return(0,i.jsx)(r.Z,{id:f,ref:t,sx:{backgroundColor:h.vars.palette.surface__level_1.mainChannel},..._,children:(0,i.jsxs)(s.Z,{useFlexGap:!0,spacing:{bp_01:h.vars.dimensions.padding__md},sx:{px:{bp_01:0,bp_02:"calc(".concat(h.vars.dimensions.padding__md," + ").concat(h.vars.dimensions.bp_02__layout_grid__margin,")"),bp_03:"calc(".concat(h.vars.dimensions.padding__md," + ").concat(h.vars.dimensions.bp_03__layout_grid__margin,")"),bp_04:"calc(".concat(h.vars.dimensions.padding__md," + ").concat(h.vars.dimensions.bp_04__layout_grid__margin,")"),bp_05:0},pt:h.vars.dimensions.padding__sm,pb:h.vars.dimensions.padding__xs,alignItems:"center","& > :not(.media)":{px:{bp_01:"calc(".concat(h.vars.dimensions.padding__md," + ").concat(h.vars.dimensions.bp_01__layout_grid__margin,")"),bp_02:0}},"& table":{margin:"auto"}},children:[n,a&&(0,i.jsx)(o.Z,{id:"".concat(f,"/title"),variant:"bp_small__headings__title__large",color:h.vars.palette.foreground__primary.mainChannel,component:"h2",children:a}),d&&(0,i.jsx)(o.Z,{id:"".concat(f,"/subtitle"),variant:"bp_small__body__body__large",color:h.vars.palette.foreground__tertiary.mainChannel,children:d}),c&&(0,i.jsx)(r.Z,{className:"media",width:"100%",children:c}),u]})})})},17992:function(e,t,n){"use strict";n.r(t),n.d(t,{AutoHeight:function(){return l}});var i=n(90991),a=n(72163),r=n(78485),s=n(60901);let o=(0,r.ZP)(s.Z)(e=>{let{theme:t}=e;return{boxSizing:"content-box",height:"0",overflow:"hidden",transition:t.transitions.create(["height"],{duration:t.transitions.duration.short})}}),l=(0,a.forwardRef)((e,t)=>{let{className:n,children:r,sx:l}=e,d=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,()=>d.current);let c=(0,a.useCallback)(e=>{if(!e)return;let t=new ResizeObserver(e=>{var t;let n=null===(t=e[0].contentRect)||void 0===t?void 0:t.height;d.current&&(d.current.style.height="".concat(n,"px"))});return t.observe(e),()=>{t.disconnect()}},[]);return(0,i.jsx)(o,{className:n,ref:d,sx:l,children:(0,i.jsx)(s.Z,{ref:c,children:r})})})},49338:function(e,t,n){"use strict";n.d(t,{t:function(){return i.AutoHeight}});var i=n(17992)},80530:function(e,t,n){"use strict";n.d(t,{BettingCard:function(){return c}});var i=n(90991),a=n(30750),r=n(17613),s=n(47367),o=n(84336),l=n(60901),d=n(18865);let c=e=>{let{title:t,footer:n,button:c,children:u,id:f,sx:_={}}=e,h=(0,d.useStadiumTheme)();return(0,i.jsxs)(a.Z,{id:f,component:r.Z,gap:h.vars.dimensions.padding__sm,minHeight:"21.6rem",flexDirection:"column",sx:{justifyContent:"space-between",padding:"".concat(h.vars.dimensions.medium__cards__top_bottom," ").concat(h.vars.dimensions.medium__cards__left_right),borderRadius:h.vars.dimensions.medium__cards__radius,..._},children:[(0,i.jsx)(s.Z,{sx:{marginTop:"auto"},title:(0,i.jsx)(o.Z,{variant:"bp_small__headings__title__small",id:"".concat(f,"/title"),children:t})}),(0,i.jsx)(r.Z,{gap:h.vars.dimensions.padding__xs,direction:"row",id:"".concat(f,"/odds"),children:u}),c,(0,i.jsx)(l.Z,{textAlign:"center",height:"2.6rem",sx:{display:"flex",flexDirection:"column"},id:"".concat(f,"/footer"),children:n})]})}},51805:function(e,t,n){"use strict";n.d(t,{BettingDisclaimer:function(){return l}});var i=n(90991),a=n(80531),r=n(84336),s=n(18865),o=n(31983);let l=e=>{let{text:t,id:n,LinkComponent:l=a.Z,...d}=e,c=(0,s.useStadiumTheme)();return(0,i.jsx)(r.Z,{id:n,...d,component:l,variant:"bp_small__ui__metadata__small",sx:{display:"block",color:"".concat(c.palette.foreground__tertiary.mainChannel),textAlign:"center"},children:(0,i.jsx)(o.F,{htmlString:t})})}},17571:function(e,t,n){"use strict";n.d(t,{BettingHeader:function(){return c},BettingHeaderTeam:function(){return u},BettingHeaderTeamAlignment:function(){return a}});var i,a,r=n(90991),s=n(17613),o=n(84336),l=n(18865),d=n(80885);let c=e=>{let{home:t,visitor:n,subtitle:i}=e,a=(0,l.useStadiumTheme)();return(0,r.jsxs)(s.Z,{direction:"column",gap:a.vars.dimensions.padding__xs,children:[(0,r.jsxs)(s.Z,{direction:"row",gap:a.vars.dimensions.padding__sm,alignItems:"center",children:[t,t&&n&&(0,r.jsx)(o.Z,{variant:"bp_large__body__body__small",children:"vs"}),n]}),i]})};(i=a||(a={})).Left="left",i.Right="right";let u=e=>{let{id:t,logo:n,name:i,color:c,alignment:u}=e,f=(0,l.useStadiumTheme)();return(0,r.jsxs)(s.Z,{direction:u===a.Right?"row-reverse":"row",spacing:f.vars.dimensions.padding__sm,alignItems:"center",children:[(0,r.jsx)(d.T,{id:"".concat(t,"/logo"),src:null!=n?n:"",background:c}),(0,r.jsx)(o.Z,{id:"".concat(t,"/name"),variant:"bp_large__headings__header__large",children:i})]})}},58373:function(e,t,n){"use strict";n.d(t,{BettingLink:function(){return d}});var i=n(90991),a=n(72163),r=n(80531),s=n(60901),o=n(84336),l=n(18865);let d=(0,a.forwardRef)((e,t)=>{let{text:n,logo:a,id:d,onClick:c,LinkComponent:u=r.Z,...f}=e,_=(0,l.useStadiumTheme)();return(0,i.jsxs)(s.Z,{id:d,gap:_.dimensions.padding__xxs,alignItems:"center",justifyContent:"center",display:"flex",ref:t,onClick:c,...f,children:[(0,i.jsx)(o.Z,{id:"".concat(d,"/text"),variant:"bp_small__ui__metadata__small",color:_.vars.palette.foreground__tertiary.mainChannel,children:n}),(0,i.jsx)(r.Z,{id:"".concat(d,"/link"),...f,component:u,children:(0,i.jsx)(s.Z,{component:"img",src:a,alt:n,loading:"lazy",maxHeight:"3rem",maxWidth:"10rem","aria-labelledby":d})})]})})},5801:function(e,t,n){"use strict";n.d(t,{BettingOdds:function(){return d}});var i=n(90991),a=n(72163),r=n(78485),s=n(60901),o=n(84336);let l=(0,r.ZP)(s.Z)(e=>{let{theme:t}=e;return{display:"flex",height:t.vars.dimensions.size__4xl,padding:"".concat(t.vars.dimensions.padding__xs," ").concat(t.vars.dimensions.padding__md),flexDirection:"column",justifyContent:"center",alignItems:"center",gap:t.vars.dimensions.padding__xxxs,flex:"1 0 0",borderRadius:t.vars.dimensions.radius__sm,background:t.vars.palette.surface__level_3.mainChannel,border:"".concat(t.vars.dimensions.border__sm," solid transparent"),"&:hover, &:focus":{borderColor:t.vars.palette.action__border__quiet__active.mainChannel}}}),d=(0,a.forwardRef)((e,t)=>{let{top:n,bottom:a,id:r,onMouseOver:s,onMouseOut:d,...c}=e;return(0,i.jsxs)(l,{id:r,ref:t,component:"button",onMouseOver:s,onMouseOut:d,...c,children:[n,(0,i.jsx)(o.Z,{id:"".concat(r,"/bottom"),variant:"bp_small__body__body__large_strong",color:"foreground__accent__success.mainChannel",textAlign:"center",children:a})]})})},72739:function(e,t,n){"use strict";n.d(t,{BettingTeam:function(){return c}});var i=n(90991),a=n(78485),r=n(60901),s=n(84336),o=n(18865),l=n(69246);let d=(0,a.ZP)(r.Z)(e=>{let{theme:t}=e;return{display:"flex",justifyContent:"center",alignItems:"center",gap:t.vars.dimensions.padding__xxxs,alignSelf:"stretch"}}),c=e=>{let{logo:t,name:n,id:a}=e,r=(0,o.useStadiumTheme)();return(0,i.jsxs)(d,{id:"".concat(a),children:[t&&(0,i.jsx)(l.JG,{id:"".concat(a,"/logo"),src:t,alt:"".concat(n," logo"),width:r.vars.dimensions.size__md,height:r.vars.dimensions.size__md}),(0,i.jsx)(s.Z,{id:"".concat(a,"/name"),variant:"bp_large__ui__metadata__small",color:"foreground__primary.mainChannel",children:n})]})}},5112:function(e,t,n){"use strict";n.d(t,{BrContainer:function(){return r}});var i=n(78485),a=n(12986);let r=(0,i.ZP)(a.Z)(e=>{let{theme:t}=e;return{[t.getColorSchemeSelector("dark")]:{background:"linear-gradient(0deg, #000000 30.16%, rgba(0, 0, 0, 0) 85.44%), url(".concat("/_next/static/media/background_dot_dark.f64be998.png",") lightgray"),backgroundColor:"#1A1A1A"},[t.getColorSchemeSelector("light")]:{background:"linear-gradient(0deg, #FFFFFF 30.16%, rgba(255, 255, 255, 0.00) 99.26%), url(".concat("/_next/static/media/background_dot_light.07f08ff4.png",") lightgray"),backgroundColor:"#C9C9C9"},backgroundSize:"8px"}})},61737:function(e,t,n){"use strict";n.d(t,{BrGrid:function(){return r}});var i=n(78485),a=n(60901);let r=(0,i.ZP)(a.Z)(e=>{let{theme:t}=e;return{display:"grid",width:"100%",maxWidth:t.mixins.contentMaxWidth,margin:"0 auto",gridGap:t.vars.dimensions.bp_01__layout_grid__gap,gridTemplateColumns:"repeat(4, 1fr)",[t.breakpoints.up("bp_02")]:{gridGap:t.vars.dimensions.bp_02__layout_grid__gap,gridTemplateColumns:"repeat(4, 1fr)"},[t.breakpoints.up("bp_03")]:{gridGap:t.vars.dimensions.bp_03__layout_grid__gap,gridTemplateColumns:"repeat(8, 1fr)"},[t.breakpoints.up("bp_04")]:{gridGap:t.vars.dimensions.bp_04__layout_grid__gap,gridTemplateColumns:"repeat(8, 1fr)"},[t.breakpoints.up("bp_05")]:{padding:t.vars.dimensions.bp_05__layout_grid__margin,gridGap:t.vars.dimensions.bp_05__layout_grid__gap,gridTemplateColumns:"repeat(20, 1fr)"},[t.breakpoints.up("bp_06")]:{padding:t.vars.dimensions.bp_06__layout_grid__margin,gridGap:t.vars.dimensions.bp_06__layout_grid__gap,gridTemplateColumns:"repeat(20, 1fr)"},[t.breakpoints.up("bp_07")]:{padding:t.vars.dimensions.bp_07__layout_grid__margin,gridGap:t.vars.dimensions.bp_07__layout_grid__gap,gridTemplateColumns:"repeat(20, 1fr)"}}})},99750:function(e,t,n){"use strict";n.d(t,{Campaign:function(){return l},WunderkindType:function(){return a}});var i,a,r=n(90991),s=n(60901);(i=a||(a={})).Newsletter="Newsletter",i.DesktopNavBarDropdown="DesktopNavBarDropdown",i.MobileNavBarDropdown="MobileNavBarDropdown",i.Homepage="Homepage",i.Mobile="Mobile";let o={[a.Newsletter]:"footer newsletterSubsModule",[a.DesktopNavBarDropdown]:"navBarDropdown__wunderkindPlaceholder",[a.MobileNavBarDropdown]:"mobileSideMenu__wunderkindPlaceholder",[a.Homepage]:"homepage__wunderkindPlaceholder",[a.Mobile]:"wunderkind__mobile"},l=e=>{let{id:t,dataTestId:n,type:i,...a}=e;return(0,r.jsx)(s.Z,{id:t,"data-testid":n,sx:{display:"flex",justifyContent:"center"},...a,children:(0,r.jsx)(s.Z,{id:o[i],className:o[i]})})}},30011:function(e,t,n){"use strict";n.d(t,{_:function(){return i.WunderkindType},l:function(){return i.Campaign}});var i=n(99750)},6025:function(e,t,n){"use strict";n.d(t,{Carousel:function(){return u}});var i=n(90991),a=n(72163),r=n(60901),s=n(17613),o=n(94972),l=n(18865),d=n(93404),c=n(26234);let u=e=>{let{settings:t,children:n,header:u,id:f,className:_,sx:h={},onPrevNavClick:m,onNextNavClick:p,prevNavProps:g,nextNavProps:v,...b}=e,x=(0,l.useStadiumTheme)(),{emblaRef:y,visibleIndexes:k,showNavButtons:C,prevBtnDisabled:S,nextBtnDisabled:E,onPrevButtonClick:T,onNextButtonClick:P}=(0,c.v)(t);return(0,i.jsxs)(r.Z,{className:_,children:[(0,i.jsxs)(s.Z,{direction:"row",minHeight:x.vars.dimensions.size__3xl,justifyContent:"space-between",alignItems:"center",id:"".concat(f,"/header"),className:"carousel-header",children:[null!=u?u:(0,i.jsx)(r.Z,{}),C&&(0,i.jsxs)(s.Z,{direction:"row",spacing:x.vars.dimensions.padding__xs,id:"".concat(f,"/header/arrows"),children:[(0,i.jsx)(o.Z,{onClick:e=>{null==m||m(e),T(),e.currentTarget.blur()},variant:"outline","aria-label":"Previous Content",title:"Previous Content",sx:{minWidth:x.vars.dimensions.size__3xl},disabled:S,id:"".concat(f,"/header/arrows_prev"),"data-testid":"".concat(f,"/header/arrows_prev"),...g,...b,children:(0,i.jsx)(d.Y4,{})}),(0,i.jsx)(o.Z,{onClick:e=>{null==p||p(e),P(),e.currentTarget.blur()},variant:"outline","aria-label":"Next Content",title:"Next Content",sx:{minWidth:x.vars.dimensions.size__3xl},disabled:E,id:"".concat(f,"/header/arrows_next"),"data-testid":"".concat(f,"/header/arrows_next"),...v,...b,children:(0,i.jsx)(d.LZ,{})})]})]}),(0,i.jsx)(r.Z,{sx:{overflow:"hidden",...h},ref:y,id:"".concat(f,"/content"),children:(0,i.jsx)(s.Z,{direction:"row",spacing:x.vars.dimensions.padding__md,pt:x.vars.dimensions.padding__md,children:a.Children.map(n,(e,t)=>a.isValidElement(e)?a.cloneElement(e,{"aria-hidden":!k.includes(t),tabIndex:k.includes(t)?0:-1}):e)})})]})}},70980:function(e,t,n){"use strict";n.d(t,{CondensedCarousel:function(){return _},CondensedCarouselLabel:function(){return h}});var i=n(90991),a=n(60901),r=n(94972),s=n(84336),o=n(78485),l=n(24100),d=n(18865),c=n(93404),u=n(26234);let f="container",_=e=>{let{settings:t,children:n,id:s,className:o,sx:_={}}=e,h=(0,d.useStadiumTheme)(),{emblaRef:p,showNavButtons:g,prevBtnDisabled:v,nextBtnDisabled:b,onPrevButtonClick:x,onNextButtonClick:y}=(0,u.v)({...t,container:".".concat(f)});return(0,i.jsx)(a.Z,{sx:{pt:"2rem",..._},className:o,ref:p,id:"".concat(s,"/content"),children:(0,i.jsx)(a.Z,{sx:{overflow:"hidden"},children:(0,i.jsxs)(a.Z,{position:"relative",sx:{mt:h.vars.dimensions.bp_05__layout_grid__gap},children:[g&&!v&&(0,i.jsx)(m,{left:0,id:"".concat(s,"/header/arrows_prev"),"data-testid":"".concat(s,"/header/arrows_prev"),"aria-label":"Previous Content",title:"Previous Content",children:(0,i.jsx)(r.Z,{onClick:e=>{x(),e.currentTarget.blur()},variant:"outline",sx:{marginLeft:h.vars.dimensions.padding__lg,marginRight:"1rem",backgroundColor:h.vars.palette.element__arrow__default.mainChannel},children:(0,i.jsx)(c.Y4,{})})}),(0,i.jsx)(l.Z,{className:f,direction:"row",spacing:h.vars.dimensions.padding__xs,children:n}),g&&!b&&(0,i.jsx)(m,{right:0,id:"".concat(s,"/header/arrows_next"),"data-testid":"".concat(s,"/header/arrows_next"),"aria-label":"Next Content",title:"Next Content",children:(0,i.jsx)(r.Z,{onClick:e=>{y(),e.currentTarget.blur()},variant:"outline",sx:{marginLeft:"1rem",marginRight:h.vars.dimensions.padding__lg,backgroundColor:h.vars.palette.element__arrow__default.mainChannel},children:(0,i.jsx)(c.LZ,{})})})]})})})},h=e=>{let{children:t}=e,n=(0,d.useStadiumTheme)();return(0,i.jsx)(a.Z,{position:"relative",children:(0,i.jsx)(s.Z,{variant:"bp_small__headings__subheader__medium",color:"foreground__secondary.mainChannel",textTransform:"uppercase",whiteSpace:"nowrap",position:"absolute",width:"100%",overflow:"hidden",textOverflow:"ellipsis",top:"calc(-".concat(n.typography.bp_small__headings__subheader__medium.fontSize," - ").concat(n.vars.dimensions.padding__xs,")"),children:t})})},m=(0,o.ZP)(a.Z)(e=>{let{theme:t,right:n}=e;return{[t.getColorSchemeSelector("dark")]:{background:t.mixins.gradient__darker(0===n?"270deg":"90deg")},[t.getColorSchemeSelector("light")]:{background:t.mixins.gradient__lighter(0===n?"270deg":"90deg")},position:"absolute",top:0,minWidth:t.vars.dimensions.size__3xl,zIndex:1,height:"100%",display:"flex",alignItems:"center"}})},26234:function(e,t,n){"use strict";n.d(t,{v:function(){return l}});var i=n(72163),a=n(99150),r=n(26095);let s=(e,t)=>{let n=(0,i.useCallback)(e=>{let t=document.activeElement,n=Array.from(document.querySelectorAll("button:not([tabindex='-1']), [tabindex]:not([tabindex='-1'])")),i=n.indexOf(t);if(-1!==i){let t=n[i+(e.shiftKey?-1:1)];t&&t.focus()}},[]);return{onKeyDown:(0,i.useCallback)(i=>{let a=document.activeElement;if("Tab"!==i.key||!t||"a"===a.tagName.toLowerCase())return;i.preventDefault();let r=t.slidesInView(),s=r.map(e=>t.slideNodes()[e]).flatMap(e=>Array.from(e.querySelectorAll('button:not([tabindex="-1"]), [tabindex]:not([tabindex="-1"])')));if(0===s.length)return;let o=s.indexOf(document.activeElement),l=i.shiftKey?o-1:o+1;e(),l>=s.length?t.canScrollNext()?(t.scrollNext(),setTimeout(()=>{let e=t.selectedScrollSnap()+1,a=t.slideNodes()[e];if(a&&r.includes(e)){let e=a.querySelector('button:not([tabindex="-1"]), [tabindex]:not([tabindex="-1"])');e&&e.focus()}else n(i)},0)):n(i):l<0?n(i):s[l].focus()},[t])}},o={align:"start"},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,{isTouch:t}=(0,r._v)(),[n,l]=(0,i.useState)(!1),[d,c]=(0,i.useState)(!0),[u,f]=(0,i.useState)(!0),[_,h]=(0,i.useState)([]),[m,p]=(0,a.Z)(e),g=(0,i.useCallback)(e=>{let n=e.canScrollPrev()||e.canScrollNext();l(!t&&n),c(!e.canScrollPrev()),f(!e.canScrollNext())},[]),v=(0,i.useCallback)(()=>{p&&h(p.slidesInView())},[p]),{onKeyDown:b}=s(v,p),x=(0,i.useCallback)(()=>{null==p||p.scrollPrev()},[p]),y=(0,i.useCallback)(()=>{null==p||p.scrollNext()},[p]);return(0,i.useEffect)(()=>{if(p)return g(p),p.on("init",v),p.on("reInit",g),p.on("select",g),p.on("scroll",v),p.on("slideFocus",v),p.containerNode().addEventListener("keydown",b),()=>p.destroy()},[p,g,v]),{emblaRef:m,showNavButtons:n,prevBtnDisabled:d,nextBtnDisabled:u,onPrevButtonClick:x,onNextButtonClick:y,visibleIndexes:_}}},81964:function(e,t,n){"use strict";n.d(t,{ChannelHeader:function(){return l}});var i=n(90991),a=n(17613),r=n(84336),s=n(18865),o=n(80885);let l=e=>{let{id:t,logo:n,background:l,headline:d,overline:c,sx:u}=e,f=(0,s.useStadiumTheme)();return(0,i.jsxs)(a.Z,{id:"".concat(t,"/channel_header"),display:"flex",direction:"row",alignItems:"center",gap:f.vars.dimensions.padding__sm,sx:u,children:[(0,i.jsx)(o.T,{id:"".concat(t,"/logo"),src:n,background:l,size:f.vars.dimensions.size__5xl,imgProps:{sx:{height:f.vars.dimensions.size__3xl,width:f.vars.dimensions.size__3xl}},sx:{border:"".concat(f.vars.dimensions.border__md," solid"),borderColor:f.vars.palette.border__quiet.mainChannel,borderRadius:f.vars.dimensions.radius__sm}}),(0,i.jsxs)(a.Z,{display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",alignSelf:"stretch",children:[c&&(0,i.jsx)(r.Z,{variant:"bp_small__headings__subheader__medium",color:f.vars.palette.foreground__primary.mainChannel,textTransform:"uppercase",children:c}),(0,i.jsx)(r.Z,{component:"h1",variant:"bp_small__headings__display__medium",color:f.vars.palette.foreground__primary.mainChannel,textTransform:"uppercase",flexGrow:"0.07",children:d})]})]})}},75936:function(e,t,n){"use strict";n.d(t,{LiveChip:function(){return d}});var i=n(90991),a=n(41970),r=n(84336),s=n(18865),o=n(71022),l=n(93404);let d=e=>{let t=(0,s.useStadiumTheme)();return(0,i.jsx)(a.Z,{color:"surface__accent__live",size:"small",label:(0,i.jsx)(r.Z,{variant:"bp_small__ui__label__medium",children:o.a.Live}),icon:(0,i.jsx)(l.OM,{}),...e,sx:{height:"unset",py:t.vars.dimensions.default__badges__top_bottom,px:t.vars.dimensions.default__badges__left_right,gap:t.vars.dimensions.padding__xxxs,"& .MuiChip-label":{px:0},"& .MuiChip-icon":{m:0,width:t.vars.dimensions.size__sm,height:t.vars.dimensions.size__sm,fontSize:"unset"}}})}},82518:function(e,t,n){"use strict";n.d(t,{s:function(){return i.LiveChip}});var i=n(75936)},68287:function(e,t,n){"use strict";n.r(t),n.d(t,{ContentCard:function(){return h}});var i=n(90991),a=n(72163),r=n(30750),s=n(17613),o=n(60901),l=n(34177),d=n(84336),c=n(78485),u=n(52866),f=n(18865),_=n(77810);let h=(0,a.forwardRef)((e,t)=>{let{id:n,component:c,href:u,gap:_,media:h,headline:p,onClick:g,variant:v="bp_small__body__body__large",overline:b,description:x,sx:y={},className:k,direction:C,playable:S,...E}=e,T=(0,f.useStadiumTheme)(),P=null!=_?_:T.vars.dimensions.padding__xs,w=b||p||x,A=(0,a.useMemo)(()=>{if(!("object"!=typeof C||Array.isArray(C)))return Object.keys(C).reduce((e,t)=>(e[t]="row"===C[t]?"26rem":"none",e),{})},[C]);return(0,i.jsx)(r.Z,{id:n,sx:{borderRadius:{bp_01:"0",bp_03:T.vars.dimensions.default__cards__radius},...y},className:k,"data-testid":n,ref:t,...E,children:(0,i.jsx)(m,{href:u,component:null!=c?c:"div",onClick:g,...E,children:(0,i.jsxs)(s.Z,{gap:P,useFlexGap:!0,direction:C,children:[(0,i.jsx)(o.Z,{id:"".concat(n,"/media"),flexBasis:A,flexShrink:0,children:h}),w&&(0,i.jsxs)(l.Z,{component:s.Z,gap:T.vars.dimensions.padding__xs,sx:{alignItems:"flex-start",flexDirection:"column",flex:"1 0 0"},children:[b,p,x&&(0,i.jsx)(d.Z,{id:"".concat(n,"/description"),variant:v,color:"foreground__secondary.mainChannel",children:x})]})]})})})}),m=(0,c.ZP)(u.Z)(e=>{let{gap:t,theme:n}=e;return{display:"flex",flexDirection:"column",overflow:"hidden",alignItems:"stretch",color:n.vars.palette.surface__level_2.mainChannel,gap:t,"&:hover":{color:n.vars.palette.surface__level_2.mainChannel,[".".concat(_.M.scaleable)]:{transform:"scale(1)"},[".".concat(_.R.title)]:{color:n.vars.palette.foreground__link__primary__hovered.mainChannel},[".".concat(_.R.thumbnail)]:{color:"#c9c9c9ff"}},[".".concat(_.M.scaleable)]:{transition:"transform .3s cubic-bezier(.33,.96,.59,1.15)",transform:"scale(1.045)"},[".".concat(_.R.title)]:{transition:n.transitions.create(["color"],{easing:"linear "})}}})},87451:function(e,t,n){"use strict";n.r(t),n.d(t,{ContentCardOverline:function(){return d}});var i=n(90991),a=n(17613),r=n(84336),s=n(44593),o=n(18865),l=n(93404);let d=e=>{let{id:t,headline:n,timestamp:d}=e,c=(0,o.useStadiumTheme)(),u=(0,s.Z9)(d);return(0,i.jsxs)(a.Z,{id:"".concat(t,"/source"),color:"foreground__secondary.mainChannel",direction:"row",alignItems:"flex-end",gap:c.vars.dimensions.padding__xxs,divider:(0,i.jsx)(r.Z,{variant:"bp_small__body__body__small",color:"inherit",children:"•"}),children:[n&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.xP,{fontSize:"small"}),(0,i.jsx)(r.Z,{display:"flex",alignItems:"center",gap:c.vars.dimensions.padding__xxs,variant:"bp_small__body__body__small_strong",color:"inherit",children:n})]}),u&&(0,i.jsx)(r.Z,{variant:"bp_small__body__body__small",color:"inherit",children:u})]})}},11573:function(e,t,n){"use strict";n.r(t),n.d(t,{ContentHeader:function(){return l}});var i=n(90991),a=n(72163),r=n(17613),s=n(84336),o=n(18865);let l=(0,a.forwardRef)((e,t)=>{let{headline:n,author:a,breadcrumbs:l,postDate:d,social:c,media:u,accreditation:f,caption:_,id:h,sx:m={},...p}=e,g=(0,o.useStadiumTheme)();return(0,i.jsxs)(r.Z,{id:h,ref:t,sx:{backgroundColor:g.vars.palette.surface__level_2.mainChannel,...m},...p,children:[u,(0,i.jsxs)(s.Z,{py:g.vars.dimensions.padding__sm,px:g.vars.dimensions.padding__lg,id:"".concat(h,"/caption"),variant:"bp_small__body__body__small",color:g.vars.palette.foreground__primary.mainChannel,children:[_,f&&(0,i.jsx)(s.Z,{id:"".concat(h,"/accreditation"),variant:"bp_small__body__body__small",color:g.vars.palette.foreground__tertiary.mainChannel,pl:g.vars.dimensions.padding__xxs,children:f})]}),(0,i.jsxs)(r.Z,{spacing:g.vars.dimensions.padding__xs,py:g.vars.dimensions.padding__lg,pl:g.vars.dimensions.padding__lg,pr:g.vars.dimensions.padding__5xl,children:[l,(0,i.jsx)(s.Z,{id:"".concat(h,"/title"),component:"h1",color:g.vars.palette.foreground__primary.mainChannel,sx:{typography:{bp_01:"bp_small__headings__title__large",bp_05:"bp_large__headings__title__large"}},children:n}),(0,i.jsxs)(r.Z,{spacing:g.vars.dimensions.padding__xxs,children:[a&&(0,i.jsx)(s.Z,{id:"".concat(h,"/author"),variant:"bp_small__body__body__small",color:g.vars.palette.foreground__tertiary.mainChannel,children:a}),(0,i.jsx)(s.Z,{id:"".concat(h,"/post_date"),variant:"bp_small__body__body__small",color:g.vars.palette.foreground__tertiary.mainChannel,children:d})]}),c&&(0,i.jsx)(r.Z,{pt:g.vars.dimensions.padding__xs,children:c})]})]})})},20707:function(e,t,n){"use strict";n.d(t,{DatePickerHeader:function(){return y}});var i=n(90991),a=n(72163),r=n(60901),s=n(78485),o=n(82266),l=n(62297),d=n.n(l),c=n(18865),u=n(94972),f=n(36795),_=n(8154),h=n(53326),m=n(94560),p=n(62586),g=n(46734);let v=(0,s.ZP)(p.ce)(e=>{let{theme:t}=e;return{".MuiPickersCalendarHeader-root":{margin:0,padding:"0 0 ".concat(t.vars.dimensions.padding__md," 0")},".MuiPickersCalendarHeader-label":{...g.cp.bp_small__headings__title__medium},".MuiPickersDay-root, .MuiDayCalendar-weekDayLabel":{...g.cp.bp_small__ui__metadata__large_strong,color:t.vars.palette.foreground__primary.mainChannel},".MuiPickersArrowSwitcher-root":{gap:"10px"},".MuiButtonBase-root.MuiIconButton-root.MuiPickersArrowSwitcher-button":{padding:t.vars.dimensions.padding__none,borderRadius:t.vars.dimensions.radius__xxs,svg:{height:"24px",width:"24px"}},".MuiButtonBase-root.MuiIconButton-root.MuiPickersArrowSwitcher-button:hover":{backgroundColor:t.vars.palette.element__arrow__hover.mainChannel},".MuiButtonBase-root.MuiIconButton-root.MuiPickersArrowSwitcher-button:active":{backgroundColor:t.vars.palette.element__arrow__pressed.mainChannel},".MuiButtonBase-root.MuiPickersDay-root:hover":{backgroundColor:t.vars.palette.action__surface__loud__default.mainChannel},".MuiPickersDay-root:not(.Mui-selected)":{borderRadius:t.vars.dimensions.radius__xs},".MuiPickersDay-root.Mui-selected:hover, .MuiPickersDay-root.Mui-selected, .MuiButtonBase-root.MuiPickersDay-root.Mui-selected ":{backgroundColor:t.vars.palette.action__surface__loud__pressed.mainChannel,borderRadius:t.vars.dimensions.radius__xs,color:t.vars.palette.foreground__oncolor_light.mainChannel},".MuiButtonBase-root.MuiPickersDay-dayOutsideMonth":{color:t.vars.palette.foreground__disabled.mainChannel},".MuiDateCalendar-root":{backgroundColor:t.vars.palette.surface__level_3.mainChannel,padding:"".concat(t.vars.dimensions.padding__lg," ").concat(t.vars.dimensions.padding__lg," 0 ").concat(t.vars.dimensions.padding__lg),borderRadius:t.vars.dimensions.radius__xs,height:"300px"},".MuiDialogActions-root":{backgroundColor:t.vars.palette.surface__level_3.mainChannel,padding:"0 ".concat(t.vars.dimensions.padding__lg," ").concat(t.vars.dimensions.padding__lg," ").concat(t.vars.dimensions.padding__lg),borderRadius:"0 0 ".concat(t.vars.dimensions.radius__xs," ").concat(t.vars.dimensions.radius__xs),".MuiButtonBase-root.MuiButton-loud":{width:"100%",borderRadius:t.vars.dimensions.default__action__radius,backgroundColor:t.vars.palette.action__surface__outline__default.mainChannel,border:"2px solid ".concat(t.vars.palette.action__border__outline__default.mainChannel),boxShadow:"none",color:t.vars.palette.foreground__primary.mainChannel,...g.cp.bp_small__ui__label__large}},".MuiPickersLayout-contentWrapper":{backgroundColor:t.vars.palette.surface__level_3.mainChannel}}});function b(e){let{setOpen:t,id:n,disabled:a,InputProps:{ref:r}={}}=e,s=(0,c.useStadiumTheme)();return(0,i.jsx)(u.Z,{disabled:a,ref:r,id:n,"aria-label":"Open date picker",onClick:()=>null==t?void 0:t(e=>!e),"data-testid":"date-pick-button",sx:{padding:s.vars.dimensions.default__action__square,borderRadius:s.vars.dimensions.default__action__radius,color:"inherit","&:hover":{backgroundColor:s.vars.palette.action__surface__ghost__hovered.mainChannel},"&:active":{backgroundColor:s.vars.palette.action__surface__ghost__pressed.mainChannel}},children:(0,i.jsx)(m.CalendarIcon,{fill:"currentColor",id:"".concat(n,"/calendar-icon")})})}let x=(e,t)=>{let{value:n,...r}=e,[s,o]=a.useState(!1);return(0,i.jsx)(f._,{dateAdapter:_.y,localeText:t,children:(0,i.jsx)(h.M,{closeOnSelect:!0,slots:{layout:v,field:b,...r.slots},slotProps:{field:{setOpen:o},actionBar:()=>({actions:[]}),toolbar:{hidden:!0}},...r,open:s,value:n,onClose:()=>o(!1),onOpen:()=>o(!0),showDaysOutsideCurrentMonth:!0})})},y=(0,a.forwardRef)((e,t)=>{let{id:n,value:s,buffer:l,children:u,onChange:f,..._}=e,h=(0,c.useStadiumTheme)(),m=(0,o.t)()(),p=a.Children.toArray(u).map(e=>e.props.value).join(","),[g,v]=(0,a.useState)({width:0}),b=a.useMemo(()=>a.Children.toArray(u).filter(e=>a.isValidElement(e)).map(e=>e).flat(),[p]),y=(0,a.useCallback)(e=>{let t=!0,n=new ResizeObserver(()=>{var e,n;if(t){t=!1;return}let i=null===(n=null===(e=S(s))||void 0===e?void 0:e.ref)||void 0===n?void 0:n.current;T(i,"instant"),v(E(i))});return n.observe(e),()=>n.disconnect()},[s]),S=e=>b.find(t=>t.props.value===e),E=e=>e?{width:e.getBoundingClientRect().width}:{width:0},T=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto";null==e||e.scrollIntoView({behavior:t,inline:"center",block:"nearest"})};return(0,a.useEffect)(()=>{var e,t;let n=null===(t=null===(e=S(s))||void 0===e?void 0:e.ref)||void 0===t?void 0:t.current;m?T(n,"smooth"):T(n),v(E(n))},[s]),(0,a.useEffect)(()=>{var e,t,n,i;let a=b.find(e=>e.props.active),r=null===(i=null===(n=S(null!==(t=null===(e=null==a?void 0:a.props)||void 0===e?void 0:e.value)&&void 0!==t?t:s))||void 0===n?void 0:n.ref)||void 0===i?void 0:i.current;T(r,"instant"),v(E(r))},[p]),(0,i.jsxs)(r.Z,{id:n,ref:y,display:"flex",alignItems:"center",borderRadius:h.vars.dimensions.radius__sm,gap:h.vars.dimensions.padding__sm,sx:{backgroundColor:h.vars.palette.surface__level_2.mainChannel},px:{mobile_grid:h.vars.dimensions.padding__xs,tablet_grid:h.vars.dimensions.padding__2xl},children:[(0,i.jsxs)(r.Z,{position:"relative",width:"100%",children:[(0,i.jsx)(r.Z,{overflow:"hidden",children:(0,i.jsxs)(r.Z,{display:"flex",ref:t,..._,children:[(0,i.jsx)(C,{component:l}),b,(0,i.jsx)(C,{component:l})]})}),(0,i.jsx)(k,{style:{...g},id:"".concat(n,"/indicator")})]}),(0,i.jsx)(x,{value:d()(s),onChange:f})]})}),k=(0,s.ZP)(r.Z)(e=>{let{theme:t}=e;return{background:t.vars.palette.foreground__primary.mainChannel,bottom:"0",position:"absolute",left:0,right:0,margin:"auto",height:t.vars.dimensions.border__md}}),C=(0,s.ZP)(r.Z)(()=>({flexBasis:"33%",flexShrink:0}))},42126:function(e,t,n){"use strict";n.d(t,{DatePickerHeaderItem:function(){return c}});var i=n(90991),a=n(72163),r=n(60901),s=n(84336),o=n(78485),l=n(58680),d=n(18865);let c=(0,a.forwardRef)((e,t)=>{let{id:n,onClick:a,active:o,headline:l,subtitle:c,...f}=e,_=(0,d.useStadiumTheme)();return(0,i.jsxs)(r.Z,{id:n,onClick:e=>a(e),component:u,ref:t,sx:{color:o?_.vars.palette.foreground__primary.mainChannel:_.vars.palette.foreground__tertiary.mainChannel},...f,children:[(0,i.jsx)(s.Z,{id:"".concat(n,"/dates/headline"),variant:"bp_small__body__body__medium_strong",children:l}),(0,i.jsx)(s.Z,{id:"".concat(n,"/dates/subtitle"),variant:"bp_small__body__body__small",whiteSpace:"nowrap",children:c})]})}),u=(0,o.ZP)(l.Z)(e=>{let{theme:t}=e;return{display:"flex",backgroundColor:"transparent",justifyContent:"center",alignItems:"center",flexDirection:"column",gap:t.vars.dimensions.padding__xxs,height:"8rem",boxShadow:"none","&:hover, &:focus, &:active":{color:t.vars.palette.foreground__primary.mainChannel,backgroundColor:"transparent",boxShadow:"none"},flexBasis:"33%",flexShrink:0}})},80751:function(e,t,n){"use strict";n.r(t),n.d(t,{Dropdown:function(){return b},DropdownItem:function(){return v}});var i=n(90991),a=n(32274),r=n(21260),s=n(18865),o=n(93404),l=n(78485),d=n(1151),c=n(83821),u=n(60901),f=n(33663);let _=(0,l.ZP)(d.Z)(e=>{let{theme:t}=e;return{fontSize:"1.6rem",height:t.vars.dimensions.size__3xl,padding:"".concat(t.vars.dimensions.padding__xs," ").concat(t.vars.dimensions.padding__md),marginBottom:t.vars.dimensions.padding__xs,borderRadius:t.vars.dimensions.radius__xs,"&.Mui-selected":{background:t.vars.palette.action__surface__loud__default.mainChannel,"&:hover":{backgroundColor:t.vars.palette.action__surface__ghost__hovered.mainChannel}},"&:hover":{backgroundColor:t.vars.palette.action__surface__ghost__hovered.mainChannel},"&:active":{backgroundColor:t.vars.palette.action__surface__ghost__pressed.mainChannel},"&:focus":{boxShadow:"inset 0 0 0 0.2rem ".concat(t.vars.palette.action__border__ghost__focused.mainChannel),backgroundColor:t.vars.palette.action__surface__ghost__focused.mainChannel}}}),h=(0,l.ZP)(c.Z)(e=>{let{theme:t}=e,n=t.vars.dimensions.padding__xs,i=t.vars.dimensions.padding__sm,a=t.vars.dimensions.padding__md;return{fontSize:"1.4rem",borderRadius:t.vars.dimensions.radius__xs,border:"".concat(t.vars.dimensions.border__sm," solid ").concat(t.vars.palette.action__border__outline__default.mainChannel),minWidth:"12.8rem",minHeight:"3.2rem",gap:n,".MuiSelect-select":{display:"flex",alignItems:"center",padding:"".concat(n," ").concat(i," ").concat(n," ").concat(a)}}}),m=(0,l.ZP)(u.Z)(e=>{let{theme:t}=e;return{background:t.vars.palette.surface__level_3.mainChannel,width:"100%",display:"flex",justifyContent:"center",position:"sticky",top:0,zIndex:1,paddingTop:t.vars.dimensions.padding__xs,paddingBottom:t.vars.dimensions.padding__sm}}),p=(0,l.ZP)("div")(e=>{let{theme:t}=e;return{width:50,height:5,background:t.vars.palette.surface__level_4.mainChannel,borderRadius:t.dimensions.radius__rounded,left:"calc(50% - 1.5rem)"}}),g=(0,l.ZP)(f.Z)(e=>{let{theme:t}=e;return{".MuiDrawer-paper":{background:t.vars.palette.surface__level_3.mainChannel,borderRadius:t.vars.dimensions.radius__xs,maxHeight:"40rem",...t.mixins.scroll}}}),v=e=>{let{value:t,selected:n,onClick:a,children:r,...s}=e;return(0,i.jsx)(_,{value:t,onClick:a,selected:n,...s,children:r})},b=e=>{let{id:t,value:n,open:l,onOpen:d=()=>{},onClose:c=()=>{},alignment:u,children:f,..._}=e,v=(0,s.useStadiumTheme)(),b=(0,a.Z)(v.breakpoints.down("bp_02"));return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(h,{id:t,value:n,displayEmpty:!0,IconComponent:b&&l?o.Hf:o.ve,onClose:c,onOpen:d,open:!b&&l,MenuProps:{disableAutoFocusItem:!0,open:!b&&l,sx:{".MuiPaper-root":{background:v.vars.palette.surface__level_3.mainChannel,height:"35rem",padding:"".concat(v.vars.dimensions.padding__sm," ").concat(v.vars.dimensions.padding__xs),borderRadius:v.vars.dimensions.radius__xs,...v.mixins.scroll},ul:{padding:0}},anchorOrigin:{vertical:"bottom",horizontal:null!=u?u:"right"},transformOrigin:{vertical:-10,horizontal:null!=u?u:"right"}},..._,children:f}),(0,i.jsxs)(g,{open:b&&l,onClose:c,anchor:"bottom",onOpen:()=>{},children:[(0,i.jsx)(m,{children:(0,i.jsx)(p,{})}),(0,i.jsx)(r.Z,{sx:{padding:"".concat(v.vars.dimensions.padding__md," ").concat(v.vars.dimensions.padding__lg)},children:f})]})]})}},75622:function(e,t,n){"use strict";n.r(t),n.d(t,{Footer:function(){return l}});var i=n(90991),a=n(60901),r=n(99750),s=n(3539),o=n(18865);let l=e=>{let{children:t,copyright:n,id:l}=e,d=(0,o.useStadiumTheme)();return(0,i.jsx)("footer",{id:l,children:(0,i.jsxs)(a.Z,{bgcolor:d.vars.palette.surface__level_1.mainChannel,borderTop:d.vars.palette.border__quiet.mainChannel,paddingBottom:{bp_01:d.vars.dimensions.padding__lg,bp_05:d.vars.dimensions.padding__4xl},paddingTop:{bp_01:d.vars.dimensions.padding__lg,bp_05:d.vars.dimensions.padding__xl},px:{bp_01:d.vars.dimensions.padding__lg,bp_05:d.vars.dimensions.padding__xl},textAlign:"center",display:"flex",justifyContent:"center",flexDirection:"column",alignItems:"center",alignSelf:"stretch",children:[(0,i.jsxs)(a.Z,{maxWidth:"870px",children:[(0,i.jsx)(s.BRLogoIcon,{sx:{fontSize:64,height:"auto",padding:"8px 0"},"data-testid":"footer-logo-br",id:"".concat(l,"/br_logo_icon")}),(0,i.jsx)(r.Campaign,{sx:{minHeight:"25rem","@-moz-document url-prefix()":{minHeight:"0rem"}},type:r.WunderkindType.Newsletter,dataTestId:"footer-wunderkind-newsletter-campaign",id:"footer-wunderkind-newsletter-campaign"}),t]}),(0,i.jsx)(a.Z,{"data-testid":"footer-copyright",id:"".concat(l,"/copyright"),padding:"2rem 0",maxWidth:"60rem",margin:"auto",sx:{typography:"bp_small__body__body__small",color:d.vars.palette.foreground__primary.mainChannel},children:n})]})})}},55696:function(e,t,n){"use strict";n.r(t),n.d(t,{FooterLink:function(){return s}});var i=n(90991),a=n(80531),r=n(18865);let s=e=>{let{children:t,...n}=e,s=(0,r.useStadiumTheme)();return(0,i.jsx)(a.Z,{...n,sx:{"&:hover":{color:s.vars.palette.foreground__link__primary__hovered.mainChannel},color:s.vars.palette.foreground__link__primary__default.mainChannel,textDecoration:"none"},variant:"bp_small__ui__link__small",id:n.id,children:t})}},42598:function(e,t,n){"use strict";n.r(t),n.d(t,{FooterLinks:function(){return l}});var i=n(90991),a=n(72163),r=n(17613),s=n(12866),o=n(18865);let l=e=>{let{children:t,id:n}=e,l=(0,o.useStadiumTheme)(),d=a.Children.toArray(t);return(0,i.jsx)(r.Z,{"data-testid":"footer-links",direction:"row",gap:l.vars.dimensions.padding__xs,flexWrap:"wrap",justifyContent:"center",padding:{bp_01:"0 ".concat(l.vars.dimensions.bp_01__layout_grid__gutter),bp_05:"0 ".concat(l.vars.dimensions.bp_05__layout_grid__gutter)},id:n,children:d.reduce((e,t,a)=>(e.push(t,a(0,i.jsx)(l.Z,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:(0,i.jsx)("path",{d:"M3 12.0452C3 16.5226 6.24 20.2312 10.515 21L10.5683 20.9562C10.5656 20.9557 10.563 20.9552 10.5604 20.9547V14.5779H8.31035V12.0452H10.5604V10.0552C10.5604 7.79393 12.0004 6.5276 14.0704 6.5276C14.7004 6.5276 15.4204 6.61805 16.0504 6.7085V9.01504H14.8804C13.8004 9.01504 13.5304 9.55775 13.5304 10.2814V12.0452H15.9154L15.5104 14.5779H13.5304V20.9547C13.5028 20.9598 13.4753 20.9647 13.4478 20.9694L13.485 21C17.76 20.2312 21 16.5226 21 12.0452C21 7.07035 16.95 3 12 3C7.05 3 3 7.07035 3 12.0452Z",fill:"white"})}),c=e=>(0,i.jsx)(l.Z,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:(0,i.jsx)("path",{d:"M12.0122 7.38433C9.45359 7.38433 7.39645 9.44147 7.39645 12C7.39645 14.5586 9.45359 16.6158 12.0122 16.6158C14.5707 16.6158 16.6279 14.5586 16.6279 12C16.6279 9.44147 14.5707 7.38433 12.0122 7.38433ZM12.0122 15.0086C10.3665 15.0086 9.01645 13.6586 9.01645 12.0129C9.01645 10.3672 10.3665 9.01718 12.0122 9.01718C13.6579 9.01718 15.0079 10.3672 15.0079 12.0129C15.0079 13.6586 13.6579 15.0086 12.0122 15.0086ZM17.8879 7.19147C17.8879 7.79575 17.3993 8.27147 16.8079 8.27147C16.2164 8.27147 15.7279 7.7829 15.7279 7.19147C15.7279 6.60004 16.2164 6.11147 16.8079 6.11147C17.3993 6.11147 17.8879 6.60004 17.8879 7.19147ZM20.9479 8.28433C20.8836 6.84433 20.5493 5.55861 19.495 4.51718C18.4407 3.4629 17.155 3.14147 15.715 3.06433C14.2365 2.97433 9.77502 2.97433 8.28359 3.06433C6.84359 3.12861 5.57074 3.4629 4.51645 4.51718C3.46217 5.57147 3.14074 6.84433 3.06359 8.28433C2.97359 9.77575 2.97359 14.2243 3.06359 15.7158C3.12788 17.1558 3.46217 18.4415 4.51645 19.4829C5.57074 20.5372 6.84359 20.8586 8.28359 20.9358C9.77502 21.0258 14.2236 21.0258 15.715 20.9358C17.155 20.8715 18.4407 20.5372 19.4822 19.4829C20.5364 18.4286 20.8579 17.1558 20.935 15.7158C21.025 14.2243 21.025 9.77575 20.935 8.29718L20.9479 8.28433ZM19.0193 17.31C18.7107 18.0943 18.0936 18.6986 17.3093 19.02C16.1265 19.4958 13.3107 19.38 11.9993 19.38C10.6879 19.38 7.87217 19.4829 6.68931 19.02C5.90502 18.7115 5.30074 18.0943 4.97931 17.31C4.50359 16.1272 4.61931 13.3115 4.61931 12C4.61931 10.6886 4.51645 7.8729 4.97931 6.69004C5.28788 5.90575 5.90502 5.30147 6.68931 4.98004C7.87217 4.50433 10.6879 4.62004 11.9993 4.62004C13.3107 4.62004 16.1265 4.51718 17.3093 4.98004C18.0936 5.28861 18.6979 5.90575 19.0193 6.69004C19.495 7.8729 19.3793 10.6886 19.3793 12C19.3793 13.3115 19.4822 16.1272 19.0193 17.31Z",fill:"white"})}),u=e=>{let{facebook:t,twitter:n,instagram:l,tikTok:u,id:f,onClick:_,LinkComponent:h}=e,m=(0,s.useStadiumTheme)();return(0,i.jsxs)(a.Z,{direction:"row",gap:m.vars.dimensions.padding__3xl,alignItems:"flex-start",flexWrap:"wrap",justifyContent:"center",py:m.vars.dimensions.padding__xl,"data-testid":"footer-links-social",id:f,children:[t&&(0,i.jsx)(r.Z,{href:t,LinkComponent:h,"data-testid":"footer-links-social-facebook",title:"facebook","aria-label":"Open Bleacher Report Facebook Page",id:"".concat(f,"/facebook_icon_button"),onClick:_,children:(0,i.jsx)(d,{htmlColor:"white",sx:{fontSize:36},id:"".concat(f,"/facebook_icon_button/facebook_icon")})}),n&&(0,i.jsx)(r.Z,{href:n,LinkComponent:h,"data-testid":"footer-links-social-twitter",title:"X","aria-label":"Open Bleacher Report X Page",id:"".concat(f,"/x_icon_button"),onClick:_,children:(0,i.jsx)(o.Jf,{htmlColor:"white",sx:{fontSize:36},id:"".concat(f,"/x_icon_button/x_icon")})}),l&&(0,i.jsx)(r.Z,{href:l,LinkComponent:h,"data-testid":"footer-links-social-instagram",title:"instagram","aria-label":"Open Bleacher Report Instagram Page",id:"".concat(f,"/instagram_icon_button"),onClick:_,children:(0,i.jsx)(c,{htmlColor:"white",sx:{fontSize:36},id:"".concat(f,"/instagram_icon_button/instagram_icon")})}),u&&(0,i.jsx)(r.Z,{href:u,LinkComponent:h,"data-testid":"footer-links-social-tikTok",title:"tikTok","aria-label":"Open Bleacher Report TikTok Page",id:"".concat(f,"/tikTok_icon_button"),onClick:_,children:(0,i.jsx)(o.HT,{htmlColor:"white",sx:{fontSize:36},id:"".concat(f,"/tikTok_icon_button/tikTok_icon")})})]})}},96871:function(e,t,n){"use strict";n.r(t),n.d(t,{BoxScore:function(){return v}});var i=n(72163),a=n(90991),r=n(21444),s=n(12679),o=n(2586),l=n(84),d=n(58997),c=n(84336),u=n(32047),f=n(18865),_=n(2452),h=n(80531),m=n(17613),p=n(60901);let g=e=>{let{id:t,name:n,position:i,wasSubstitute:r,formatting:s,link:o,statValues:u,sx:_,onClick:g,LinkComponent:v=h.Z,...b}=e,x=(0,f.useStadiumTheme)();return(0,a.jsxs)(l.Z,{id:t,sx:{..._},children:[(0,a.jsx)(d.Z,{sx:{borderBottom:"none",paddingLeft:"0"},children:(0,a.jsxs)(m.Z,{direction:"row",alignItems:"center",spacing:x.vars.dimensions.padding__xs,children:[(0,a.jsx)(c.Z,{variant:"bp_small__headings__title__small",color:"foreground__primary.mainChannel",noWrap:!0,children:(null==o?void 0:o.href)?(0,a.jsx)(h.Z,{component:v,href:o.href,style:{textDecoration:"none",color:"inherit"},onClick:g,...b,children:n}):(0,a.jsx)(p.Z,{children:n})}),(0,a.jsx)(c.Z,{variant:"bp_small__ui__metadata__small",color:"foreground__tertiary.mainChannel",noWrap:!0,children:i})]})}),null==u?void 0:u.map((e,t)=>(0,a.jsx)(d.Z,{align:"center",sx:{minWidth:x.vars.dimensions.size__3xl,borderBottom:"none"},children:(0,a.jsx)(c.Z,{variant:"bp_small__ui__metadata__large",color:"foreground__primary.mainChannel",noWrap:!0,children:e})},"stat-".concat(e)))]},n)},v=e=>{let{id:t,title:n="BOX SCORE",headers:h,players:m,sx:p,LinkComponent:v="div",...b}=e,x=(0,f.useStadiumTheme)();return(0,a.jsx)(_.u,{id:t,sx:p,children:(0,a.jsx)(r.Z,{sx:{overflowX:"auto"},children:(0,a.jsxs)(s.Z,{size:"small",sx:{minWidth:"fit-content"},stickyHeader:!0,children:[(0,a.jsx)(o.Z,{children:(0,a.jsxs)(l.Z,{children:[(0,a.jsx)(d.Z,{align:"left",sx:{borderBottom:"solid 1px ".concat(x.vars.palette.border__default.mainChannel),whiteSpace:"nowrap",background:x.vars.palette.surface__level_2.mainChannel,paddingLeft:"0"},children:(0,a.jsx)(c.Z,{variant:"bp_small__headings__header__small",textTransform:"uppercase",children:n})}),null==h?void 0:h.map(e=>(0,a.jsx)(d.Z,{align:"center",sx:{borderBottom:"solid 1px ".concat(x.vars.palette.border__default.mainChannel),minWidth:x.vars.dimensions.size__3xl,whiteSpace:"nowrap",background:x.vars.palette.surface__level_2.mainChannel},children:(0,a.jsx)(c.Z,{variant:"bp_small__ui__metadata__medium_strong",noWrap:!0,children:e})},"".concat(t,"/").concat(e)))]})}),(0,a.jsx)(u.Z,{id:t,sx:p,children:null==m?void 0:m.map(e=>(0,i.createElement)(g,{...e,key:e.id,sx:p,LinkComponent:v,...b}))})]})})})}},83090:function(e,t,n){"use strict";n.r(t),n.d(t,{CardActionLink:function(){return s}});var i=n(90991),a=n(60901),r=n(84336);let s=e=>{let{id:t,label:n="See All",sx:s,onClick:o,component:l,typographySx:d,...c}=e;return(0,i.jsx)(a.Z,{component:l,sx:s,onClick:o,...c,children:(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__medium_strong",color:"foreground__primary.mainChannel",sx:d,whiteSpace:"nowrap",children:n})})}},77065:function(e,t,n){"use strict";n.r(t),n.d(t,{GamecastWrapper:function(){return r}});var i=n(78485),a=n(60901);let r=(0,i.ZP)(a.Z,{shouldForwardProp:e=>!["onFeedChange","previousMeetings","pageTabs","displayTab","requestTabChange"].includes(e)})(e=>{let{theme:t}=e;return{display:"flex",background:t.vars.palette.surface__level_2.mainChannel,borderRadius:"none",width:"100%",[t.breakpoints.up("bp_01")]:{padding:"".concat(t.vars.dimensions.default__cards__top_bottom," ").concat(t.vars.dimensions.default__cards__left_right)},[t.breakpoints.up("bp_02")]:{padding:"".concat(t.vars.dimensions.padding__xl," ").concat(t.vars.dimensions.padding__3xl)},[t.breakpoints.up("bp_03")]:{borderRadius:t.vars.dimensions.medium__cards__radius,padding:"".concat(t.vars.dimensions.padding__xl," ").concat(t.vars.dimensions.default__cards__left_right)},[t.breakpoints.up("bp_04")]:{padding:"".concat(t.vars.dimensions.padding__xl," ").concat(t.vars.dimensions.padding__3xl)},[t.breakpoints.up("bp_05")]:{padding:"".concat(t.vars.dimensions.padding__xl," ").concat(t.vars.dimensions.padding__3xl)}}})},17725:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var i=n(90991),a=n(24100),r=n(18865),s=n(93404);let o=e=>{let{w:t="32px",h:n="32px",avatarUrl:o,id:l,alt:d}=e,c=(0,r.useStadiumTheme)();return(0,i.jsx)(a.Z,{id:l,borderRadius:c.vars.dimensions.radius__rounded,width:t,height:n,alignItems:"center",justifyContent:"center",sx:{backgroundColor:c.vars.palette.surface__level_4.mainChannel,border:"solid 1px ".concat(c.vars.palette.border__default.mainChannel)},"data-testid":"player-avatar",children:o?(0,i.jsx)("img",{src:o,alt:null!=d?d:"avatar",width:t,height:n,style:{borderRadius:c.vars.dimensions.radius__rounded,objectFit:"cover"}}):(0,i.jsx)(s.m2,{sx:{scale:"0.75"}})})}},90392:function(e,t,n){"use strict";n.d(t,{v:function(){return c}});var i=n(90991),a=n(17613),r=n(84336);let s=e=>(0,i.jsx)(r.Z,{...e,children:e.children});var o=n(18865),l=n(45418),d=n(17725);let c=e=>{let{id:t,subject:n,playerName:r,playerPosition:c,status:u,statusColor:f,avatarUrl:_}=e,h=(0,o.useStadiumTheme)();return(0,i.jsxs)(a.Z,{id:t,flexDirection:"row",alignItems:"center",gap:h.vars.dimensions.padding__xs,justifyContent:"space-between",children:[(0,i.jsxs)(a.Z,{flexDirection:"row",alignItems:"center",gap:h.vars.dimensions.padding__xs,flex:"3",children:[(0,i.jsx)(d.A,{id:"".concat(t,"/player-avatar"),avatarUrl:_,alt:"".concat(r,"-avatar")}),(0,i.jsxs)(a.Z,{flexDirection:"row",alignItems:"center",gap:h.vars.dimensions.padding__xxs,children:[(0,i.jsx)(s,{variant:"bp_small__headings__title__small",children:r}),(0,i.jsx)(s,{variant:"bp_small__ui__metadata__small",children:c})]})]}),(0,i.jsx)(a.Z,{flex:"2",children:(0,i.jsx)(s,{variant:"bp_small__ui__metadata__large",children:n})}),u&&(0,i.jsxs)(a.Z,{flexDirection:"row",alignItems:"center",flex:"1",justifyContent:"flex-end",children:[(0,i.jsx)(s,{variant:"bp_small__ui__metadata__large_strong",children:u}),!!f&&(0,i.jsx)(l.EllipseIcon,{fill:f,stroke:"none",sx:{scale:"0.5"}})]})]})}},2452:function(e,t,n){"use strict";n.d(t,{e:function(){return i.CardActionLink},u:function(){return a.GamecastWrapper}});var i=n(83090),a=n(77065)},9027:function(e,t,n){"use strict";n.d(t,{GameInfo:function(){return u}});var i=n(90991),a=n(12866),r=n(17613),s=n(78485),o=n(84336),l=n(60901),d=n(18865),c=n(2452);let u=e=>{let{id:t,title:n,entries:s=[],previousRecord:o,showEntryLogos:l=!1,className:c,...u}=e,b=(0,d.useStadiumTheme)();return(0,i.jsxs)(f,{className:c,id:t,...u,children:[(0,i.jsx)(_,{children:n}),(0,i.jsx)(a.Z,{sx:{borderColor:b.vars.palette.divider,marginBottom:b.vars.dimensions.padding__xs}}),(0,i.jsx)(r.Z,{sx:{paddingBottom:b.vars.dimensions.default__cards__gap},children:s.map((e,n)=>(0,i.jsxs)(h,{children:[(0,i.jsx)(m,{children:e.title}),(0,i.jsx)(p,{children:e.value})]},"".concat(t,"_entry_").concat(n)))}),o&&(0,i.jsxs)(g,{children:[(0,i.jsx)(v,{children:o.teamOne.map((e,t)=>"W"===e?(0,i.jsx)(x,{children:e},"team_one_".concat(t)):"L"===e?(0,i.jsx)(y,{children:e},"team_one_".concat(t)):(0,i.jsx)(k,{children:e},"team_one_".concat(t)))}),(0,i.jsx)(v,{children:o.teamTwo.map((e,t)=>"W"===e?(0,i.jsx)(x,{children:e},"team_two_".concat(t)):"L"===e?(0,i.jsx)(y,{children:e},"team_two_".concat(t)):(0,i.jsx)(k,{children:e},"team_two_".concat(t)))})]})]})},f=(0,s.ZP)(c.u)(e=>{let{theme:t}=e;return{flexDirection:"column",alignItems:"flex-start",fontFamily:t.typography.fontFamily}}),_=(0,s.ZP)(o.Z)(e=>{let{theme:t}=e;return{...t.typography.bp_small__headings__header__small,color:t.vars.palette.foreground__primary.mainChannel,paddingBottom:t.vars.dimensions.padding__sm}}),h=(0,s.ZP)(l.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"row",alignItems:"flex-start",paddingTop:t.vars.dimensions.padding__md}}),m=(0,s.ZP)(o.Z)(e=>{let{theme:t}=e;return{...t.typography.bp_small__ui__label__medium_strong,color:t.vars.palette.foreground__primary.mainChannel,width:" 12rem"}}),p=(0,s.ZP)(o.Z)(e=>{let{theme:t}=e;return{...t.typography.bp_small__ui__label__medium,color:t.vars.palette.foreground__secondary.mainChannel}}),g=(0,s.ZP)(l.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"row",alignItems:"flex-start",alignSelf:"stretch",gap:t.vars.dimensions.padding__4xl,paddingTop:t.vars.dimensions.padding__xs}}),v=(0,s.ZP)(l.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"row",gap:t.vars.dimensions.padding__xs}}),b=(0,s.ZP)(l.Z)(e=>{let{theme:t}=e;return{display:"flex",alignItems:"center",justifyContent:"center",width:"20px",height:"20px",borderRadius:t.dimensions.radius__rounded,...t.typography.bp_small__ui__label__small,flexShrink:0}}),x=(0,s.ZP)(b)(e=>{let{theme:t}=e;return{backgroundColor:t.vars.palette.surface__indicator__green.mainChannel,color:t.vars.palette.foreground__oncolor_dark.mainChannel}}),y=(0,s.ZP)(b)(e=>{let{theme:t}=e;return{backgroundColor:t.vars.palette.surface__indicator__red.mainChannel,color:t.vars.palette.foreground__oncolor_light.mainChannel}}),k=(0,s.ZP)(b)(e=>{let{theme:t}=e;return{backgroundColor:t.vars.palette.surface__indicator__grey.mainChannel,color:t.vars.palette.foreground__oncolor_dark.mainChannel}})},39104:function(e,t,n){"use strict";n.r(t),n.d(t,{GameStart:function(){return u}});var i=n(90991),a=n(12866),r=n(78485),s=n(60901),o=n(84336),l=n(18865),d=n(93404),c=n(2452);let u=e=>{var t,n,r,s,o;let{id:u,gameState:C,className:S,sx:E,...T}=e,P=(0,l.useStadiumTheme)(),{balls:w,strikes:A,outs:I,runners:M,atBatPlayer:R,pitchingPlayer:D}=C;return(0,i.jsxs)(c.u,{className:S,id:u,...T,sx:{gap:"5.8rem",justifyContent:"center",alignItems:"center",...E},children:[(0,i.jsxs)(f,{children:[(0,i.jsx)(_,{children:(0,i.jsx)(d.H4,{first:M.first,second:M.second,third:M.third,sx:{width:"6rem",height:"6rem"}})}),(0,i.jsxs)(h,{children:[(0,i.jsxs)(m,{children:[(0,i.jsx)(g,{children:"B"}),(0,i.jsx)(g,{children:"S"}),(0,i.jsx)(g,{children:"O"})]}),(0,i.jsx)(a.Z,{sx:{borderColor:P.vars.palette.divider}}),(0,i.jsxs)(p,{children:[(0,i.jsx)(v,{children:w.toString()}),(0,i.jsx)(v,{children:A.toString()}),(0,i.jsx)(v,{children:I.toString()})]})]})]}),(0,i.jsxs)(b,{children:[(0,i.jsxs)(x,{children:[(0,i.jsx)(y,{children:"Pitching:"}),(0,i.jsx)(k,{children:null!==(t=null==D?void 0:D.player)&&void 0!==t?t:"-"})]}),(0,i.jsxs)(x,{children:[(0,i.jsx)(y,{children:"Pitches:"}),(0,i.jsx)(k,{children:null!==(n=null==D?void 0:D.totalPitches)&&void 0!==n?n:"-"})]}),(0,i.jsxs)(x,{children:[(0,i.jsx)(y,{children:"Batting"}),(0,i.jsx)(k,{children:null!==(r=null==R?void 0:R.player)&&void 0!==r?r:"-"})]}),(0,i.jsxs)(x,{children:[(0,i.jsx)(y,{children:"Avg."}),(0,i.jsx)(k,{children:null!==(o=null===(s=null==R?void 0:R.avg)||void 0===s?void 0:s.toFixed(3).substring(1))&&void 0!==o?o:"-"})]})]})]})},f=(0,r.ZP)(s.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.padding__2xl}}),_=(0,r.ZP)(s.Z)(e=>{let{theme:t}=e;return{display:"flex",alignItems:"center",justifyContent:"center"}}),h=(0,r.ZP)(s.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column"}}),m=(0,r.ZP)(s.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.padding__xs,paddingBottom:t.vars.dimensions.padding__sm}}),p=(0,r.ZP)(s.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.padding__xs,paddingTop:t.vars.dimensions.padding__sm}}),g=(0,r.ZP)(o.Z)(e=>{let{theme:t}=e;return{...t.typography.bp_small__ui__metadata__medium_strong,color:t.vars.palette.foreground__primary.mainChannel,justifyContent:"center",alignItems:"center",textAlign:"center",width:"2.8rem"}}),v=(0,r.ZP)(o.Z)(e=>{let{theme:t}=e;return{...t.typography.bp_small__ui__metadata__large,color:t.vars.palette.foreground__primary.mainChannel,justifyContent:"center",alignItems:"center",textAlign:"center",width:"2.8rem"}}),b=(0,r.ZP)(s.Z)(e=>{let{theme:t}=e;return{display:"flex",flexWrap:"wrap",gap:"".concat(t.vars.dimensions.padding__sm," ").concat(t.vars.dimensions.padding__md)}}),x=(0,r.ZP)(s.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",alignItems:"flex-start",width:t.vars.dimensions.size__5xl,minWidth:"45%",flexGrow:0,marginBottom:t.vars.dimensions.padding__sm,gap:t.vars.dimensions.padding__xxs}}),y=(0,r.ZP)(o.Z)(e=>{let{theme:t}=e;return{...t.typography.bp_small__ui__metadata__medium,color:t.vars.palette.foreground__primary.mainChannel}}),k=(0,r.ZP)(o.Z)(e=>{let{theme:t}=e;return{...t.typography.bp_small__ui__metadata__medium,color:t.vars.palette.foreground__secondary.mainChannel}});t.default=u},83347:function(e,t,n){"use strict";n.r(t),n.d(t,{Injuries:function(){return h}});var i=n(90991),a=n(18865),r=n(2452),s=n(17613),o=n(84336),l=n(78485),d=n(80885),c=n(90392);let u=e=>{let{id:t,title:n,logo:r,entries:l}=e,u=(0,a.useStadiumTheme)();return(0,i.jsxs)(s.Z,{id:t,width:"100%",children:[(0,i.jsxs)(_,{children:[(0,i.jsx)(d.T,{src:null!=r?r:"",alt:"".concat(n," logo"),size:u.vars.dimensions.size__xl,background:"transparent"}),(0,i.jsx)(o.Z,{variant:"bp_small__headings__header__small",textTransform:"uppercase",children:n})]}),(0,i.jsx)(f,{children:l.map((e,n)=>{var a,r;return(0,i.jsx)(c.v,{id:"".concat(t,"/status/").concat(null!==(a=e.text)&&void 0!==a?a:n),subject:e.description,playerName:e.text,playerPosition:e.position,status:e.status,statusColor:e.statusColor,avatarUrl:e.logo},"".concat(t,"/status/").concat(null!==(r=e.text)&&void 0!==r?r:n))})})]})},f=(0,l.ZP)(s.Z)(e=>{let{theme:t}=e;return{gap:t.vars.dimensions.padding__sm,paddingTop:t.vars.dimensions.padding__sm}}),_=(0,l.ZP)(s.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.padding__xs,paddingBottom:t.vars.dimensions.padding__sm,borderBottom:"solid 1px ".concat(t.vars.palette.border__default.mainChannel),marginBottom:t.vars.dimensions.padding__xs}}),h=e=>{let{id:t,teamInjuries:n,title:s,sx:o}=e,l=(0,a.useStadiumTheme)();return(0,i.jsx)(r.u,{id:t,sx:{flexDirection:"column",gap:l.vars.dimensions.padding__2xl,...o},children:n.map((e,n)=>{var a,r;return(0,i.jsx)(u,{id:"".concat(t,"/team/").concat(null!==(a=e.id)&&void 0!==a?a:n),entries:e.entries,logo:e.logo,title:s},"".concat(t,"/team/").concat(null!==(r=e.id)&&void 0!==r?r:n))})})}},94948:function(e,t,n){"use strict";n.d(t,{LeagueRankings:function(){return u}});var i=n(90991),a=n(84336),r=n(17613),s=n(78485),o=n(18865),l=n(80885),d=n(2452),c=n(72713);let u=e=>{var t,n;let{id:s,title:u="League Rankings",homeTeam:h,awayTeam:m,entries:p,sx:g}=e,v=(0,o.useStadiumTheme)();return(0,i.jsxs)(d.u,{id:s,sx:{display:"block",...g},children:[(0,i.jsx)(f,{children:(0,i.jsx)(a.Z,{textTransform:"uppercase",display:"block",variant:"bp_small__headings__header__small",children:u})}),(0,i.jsxs)(r.Z,{gap:v.vars.dimensions.size__md,children:[(0,i.jsxs)(r.Z,{direction:"row",justifyContent:"space-between",children:[(0,i.jsxs)(_,{children:[(0,i.jsx)(l.T,{src:null!==(t=h.logo)&&void 0!==t?t:"",alt:"".concat(h.name," logo"),size:v.vars.dimensions.size__2xl,background:"transparent"}),(0,i.jsx)(a.Z,{variant:"bp_small__headings__header__small",children:h.name})]}),(0,i.jsxs)(_,{children:[(0,i.jsx)(a.Z,{variant:"bp_small__headings__header__small",children:m.name}),(0,i.jsx)(l.T,{src:null!==(n=m.logo)&&void 0!==n?n:"",alt:"".concat(m.name," logo"),size:v.vars.dimensions.size__2xl,background:"transparent"})]})]}),p.map(e=>(0,i.jsx)(c.n,{id:"".concat(e.id,"-teamranks"),homeTeam:e.homeTeam,awayTeam:e.awayTeam,title:e.title},e.id))]})]})},f=(0,s.ZP)(r.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",justifyContent:"space-between",paddingBottom:t.vars.dimensions.padding__sm,borderBottom:"solid 1px ".concat(t.vars.palette.border__default.mainChannel),marginBottom:t.vars.dimensions.size__sm}}),_=(0,s.ZP)(r.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.padding__xs}})},72713:function(e,t,n){"use strict";n.d(t,{k:function(){return u},n:function(){return d}});var i=n(90991),a=n(84336),r=n(78485),s=n(60901),o=n(24100),l=n(18865);let d=e=>{var t,n;let{id:r,className:s,title:d,homeTeam:f,awayTeam:_}=e,h=(0,l.useStadiumTheme)();return(0,i.jsxs)(o.Z,{id:r,width:"100%",gap:h.vars.dimensions.size__xs,className:s,children:[(0,i.jsxs)(o.Z,{direction:"row",justifyContent:"space-between",children:[(0,i.jsx)(c,{mainValue:null==f?void 0:f.mainValue,secondaryValue:null==f?void 0:f.secondaryValue}),(0,i.jsx)(a.Z,{variant:"bp_small__ui__metadata__large",color:"foreground__primary.mainChannel",children:d}),(0,i.jsx)(c,{mainValue:null==_?void 0:_.mainValue,reverse:!0,secondaryValue:null==_?void 0:_.secondaryValue})]}),(0,i.jsxs)(o.Z,{direction:"row",gap:h.vars.dimensions.padding__xs,children:[(0,i.jsx)(u,{progressColor:null!==(t=null==f?void 0:f.proressColor)&&void 0!==t?t:h.vars.palette.surface__indicator__blue.mainChannel,progress:null==f?void 0:f.proportion}),(0,i.jsx)(u,{progressColor:null!==(n=null==_?void 0:_.proressColor)&&void 0!==n?n:h.vars.palette.surface__indicator__green.mainChannel,progress:null==_?void 0:_.proportion})]})]})},c=e=>{let{mainValue:t,secondaryValue:n,reverse:r}=e,s=(0,l.useStadiumTheme)();return(0,i.jsxs)(o.Z,{direction:r?"row-reverse":"row",gap:s.vars.dimensions.size__xs,children:[(0,i.jsx)(a.Z,{variant:"bp_small__ui__metadata__large_strong",color:"foreground__primary.mainChannel",children:t}),n&&(0,i.jsx)(a.Z,{variant:"bp_small__ui__metadata__large",color:"foreground__tertiary.mainChannel",children:n})]})},u=(0,r.ZP)(s.Z,{shouldForwardProp:e=>!["progressColor","progress"].includes(e.toString())})(e=>{let{theme:t,progressColor:n,progress:i}=e;return{backgroundColor:n,height:t.vars.dimensions.size__xs,flexDirection:"row",width:"".concat(1e3*i,"%"),alignItems:"center",gap:t.vars.dimensions.padding__xs,borderRadius:t.vars.dimensions.size__xs}})},73384:function(e,t,n){"use strict";n.r(t),n.d(t,{Lineup:function(){return w}});var i=n(90991),a=n(78485),r=n(17613),s=n(73698),o=n(18865),l=n(2452),d=n(60901);let c=()=>(0,i.jsxs)(g,{"data-testid":"field",children:[(0,i.jsx)(u,{"data-testid":"goal-top"}),(0,i.jsx)(f,{"data-testid":"center"}),(0,i.jsx)(u,{sx:{transform:"rotate(180deg)"},"data-testid":"goal-bottom"})]}),u=e=>{let{sx:t,...n}=e;return(0,i.jsxs)(r.Z,{alignItems:"center",sx:t,"data-testid":n["data-testid"],children:[(0,i.jsx)(h,{width:215,height:79,children:(0,i.jsx)(h,{width:110,height:40})}),(0,i.jsx)(p,{"data-testid":"".concat(n["data-testid"],"-penalty-area")})]})},f=e=>{let t=(0,o.useStadiumTheme)().vars.dimensions.size__xl;return(0,i.jsxs)(r.Z,{alignItems:"center",position:"relative","data-testid":e["data-testid"],children:[(0,i.jsx)(_,{"data-testid":"midline"}),(0,i.jsx)(m,{width:81,height:81,"data-testid":"center-circle-outer",children:(0,i.jsx)(m,{width:t,height:t,"data-testid":"center-circle-inner"})})]})},_=(0,a.ZP)(d.Z)(e=>{let{theme:t}=e;return{width:"100%",borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:t.vars.palette.border__loud.mainChannel,top:"50%",position:"absolute"}}),h=(0,a.ZP)(r.Z)(e=>{let{theme:t}=e;return{alignItems:"center",borderWidth:"1px",borderStyle:"solid",borderColor:t.vars.palette.border__loud.mainChannel,borderTop:"none",zIndex:1,backgroundColor:t.vars.palette.surface__level_2.mainChannel}}),m=(0,a.ZP)(r.Z)(e=>{let{theme:t}=e;return{alignItems:"center",justifyContent:"center",borderWidth:"1px",borderStyle:"solid",borderColor:t.vars.palette.border__loud.mainChannel,borderRadius:"50%"}}),p=(0,a.ZP)(r.Z)(e=>{let{theme:t}=e;return{borderWidth:"1px",borderStyle:"solid",borderColor:t.vars.palette.border__loud.mainChannel,width:"85px",height:"75px",transform:"translateY(-60%)",borderRadius:"50%"}}),g=(0,a.ZP)(r.Z)(e=>{let{theme:t}=e;return{justifyContent:"space-between",height:"100%",borderTop:"solid 1px ".concat(t.vars.palette.border__loud.mainChannel),borderBottom:"solid 1px ".concat(t.vars.palette.border__loud.mainChannel),position:"absolute",width:"100%"}});var v=n(20260);let b=e=>{let{id:t,homeTeamLineup:n,awayTeamLineup:a,awayTeamBackgroundColor:r,awayTeamColor:s,homeTeamBackgroundColor:o,homeTeamColor:l}=e,d=[...a].reverse();return(0,i.jsxs)(y,{"data-testid":"test-lineup/soccer-field",children:[(0,i.jsx)(c,{}),(0,i.jsx)(k,{children:n.map((e,n)=>(0,i.jsx)(x,{children:e.map(e=>(0,i.jsx)(v.Player,{id:"".concat(t,"/player-").concat(e.uniformNumber),playerName:e.player,uniformNumber:e.uniformNumber,teamColor:o,labelColor:l,wasSubstituted:e.wasSubstituted},"".concat(e.uniformNumber)))},"".concat(t,"-home-team-").concat(e,"-").concat(n)))}),(0,i.jsx)(k,{flexDirection:"column-reverse",children:d.map((e,n)=>(0,i.jsx)(x,{children:e.map(e=>(0,i.jsx)(v.Player,{id:"".concat(t,"/player-").concat(e.uniformNumber),awayTeam:!0,playerName:e.player,uniformNumber:e.uniformNumber,teamColor:r,labelColor:s,wasSubstituted:e.wasSubstituted},"".concat(e.uniformNumber)))},"".concat(t,"-away-team-").concat(e,"-").concat(n)))})]})},x=(0,a.ZP)(r.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",justifyContent:"center",gap:t.vars.dimensions.padding__sm}}),y=(0,a.ZP)(r.Z)(e=>{let{theme:t}=e;return{width:"100%",height:"100%",position:"relative"}}),k=(0,a.ZP)(r.Z)(e=>{let{theme:t}=e;return{marginTop:"40px",marginBottom:"40px",paddingLeft:t.vars.dimensions.default__cards__left_right,paddingRight:t.vars.dimensions.default__cards__left_right,justifyContent:"space-between",zIndex:1,gap:t.vars.dimensions.size__xs,flex:1}});var C=n(84336),S=n(80885);let E=e=>{let{formation:t,teamName:n,logo:a}=e,r=(0,o.useStadiumTheme)();return(0,i.jsxs)(T,{children:[(0,i.jsxs)(P,{children:[(0,i.jsx)(S.T,{src:null!=a?a:"",alt:"".concat(n," logo"),size:r.vars.dimensions.size__xl,background:"transparent"}),(0,i.jsx)(C.Z,{variant:"bp_small__body__body__medium_strong",children:n})]}),(0,i.jsxs)(C.Z,{variant:"bp_small__ui__metadata__large",children:["(",t,")"]})]})},T=(0,a.ZP)(r.Z)(e=>{let{theme:t}=e;return{padding:"".concat(t.vars.dimensions.default__cards__top_bottom," ").concat(t.vars.dimensions.default__cards__left_right),flexDirection:"row",alignItems:"center",justifyContent:"space-between"}}),P=(0,a.ZP)(r.Z)(e=>{let{theme:t}=e;return{gap:t.vars.dimensions.padding__sm,flexDirection:"row",alignItems:"center"}}),w=e=>{var t,n,a,r;let{id:d,homeTeam:c,awayTeam:u,sx:f}=e,_=(0,o.useStadiumTheme)(),h=null!==(n=null===(t=null==c?void 0:c.colors)||void 0===t?void 0:t[0])&&void 0!==n?n:void 0,m=null!==(r=null===(a=null==u?void 0:u.colors)||void 0===a?void 0:a[0])&&void 0!==r?r:void 0,p=(0,s.default)(m,_.vars.palette.foreground__oncolor_dark.mainChannel,_.vars.palette.foreground__oncolor_light.mainChannel),g=(0,s.default)(h,_.vars.palette.foreground__oncolor_dark.mainChannel,_.vars.palette.foreground__oncolor_light.mainChannel);return(0,i.jsx)(l.u,{id:d,"data-testid":"test-lineup",sx:{justifyContent:"center",alignItems:"center",...f},children:(0,i.jsxs)(A,{children:[(0,i.jsx)(E,{teamName:c.name,formation:c.formation,logo:c.logo}),(0,i.jsx)(b,{homeTeamBackgroundColor:h,homeTeamColor:g,homeTeamLineup:c.lineup,awayTeamBackgroundColor:m,awayTeamColor:p,awayTeamLineup:u.lineup,id:"".concat(d,"/soccer-field")}),(0,i.jsx)(E,{teamName:u.name,formation:u.formation,logo:u.logo})]})})},A=(0,a.ZP)(r.Z)(e=>{let{theme:t}=e;return{width:"100%",[t.breakpoints.up("bp_04")]:{width:"393px"},[t.breakpoints.up("bp_05")]:{width:"508px"},height:"100%"}})},20260:function(e,t,n){"use strict";n.r(t),n.d(t,{Player:function(){return c}});var i=n(90991),a=n(84336),r=n(78485),s=n(17613),o=n(46734),l=n(18865),d=n(93404);let c=e=>{let{id:t,playerName:n,wasSubstituted:r,uniformNumber:s,teamColor:o,labelColor:c,awayTeam:_}=e,h=(0,l.useStadiumTheme)(),m=s.toString().padStart(2,"0");return(0,i.jsxs)(u,{id:t,"data-testid":t,children:[(0,i.jsx)(f,{awayTeam:_,teamColor:o,labelColor:c,"data-testid":"player-indicator",children:m}),(0,i.jsx)(a.Z,{"data-testid":"player-name",variant:"bp_small__ui__metadata__small",color:h.vars.palette.foreground__primary.mainChannel,children:n}),r&&(0,i.jsx)(d.xY,{fill:h.vars.palette.surface__indicator__red.mainChannel,"data-testid":"score-arrow"})]})},u=(0,r.ZP)(s.Z)(e=>{let{theme:t}=e;return{alignItems:"center",gap:t.vars.dimensions.padding__xxs,width:"20%"}}),f=(0,r.ZP)(s.Z,{shouldForwardProp:e=>!["awayTeam","labelColor","teamColor"].includes(e.toString())})(e=>{let{theme:t,awayTeam:n,labelColor:i,teamColor:a}=e;return{...o.cp.bp_small__ui__label__small_strong,background:null!=a?a:n?t.vars.palette.surface__indicator__grey_darker.mainChannel:t.vars.palette.surface__indicator__grey.mainChannel,color:null!=i?i:n?t.vars.palette.border__oncolor_light.mainChannel:t.vars.palette.foreground__inverse.mainChannel,alignItems:"center",justifyContent:"center",borderRadius:t.vars.dimensions.radius__rounded,borderColor:t.vars.palette.border__loud.mainChannel,borderWidth:t.vars.dimensions.border__sm,borderStyle:"solid",width:t.vars.dimensions.size__xl,height:t.vars.dimensions.size__xl}})},32521:function(e,t,n){"use strict";n.r(t),n.d(t,{LiveOdds:function(){return f}});var i=n(90991),a=n(21444),r=n(12679),s=n(2586),o=n(32047),l=n(60901),d=n(18865),c=n(2452),u=n(38476);let f=e=>{let{header:t,footer:n,teams:f,id:_,sx:h={}}=e,m=(0,d.useStadiumTheme)();return(0,i.jsxs)(c.u,{id:_,sx:{flexDirection:"column",alignItems:"flex-start",gap:m.vars.dimensions.padding__sm,...h},children:[(0,i.jsx)(a.Z,{sx:{overflowX:"auto"},children:(0,i.jsxs)(r.Z,{size:"small",sx:{minWidth:"fit-content"},children:[(0,i.jsx)(s.Z,{children:t}),(0,i.jsx)(o.Z,{children:(0,i.jsx)(u.TeamsOdds,{teams:f})})]})}),(0,i.jsx)(l.Z,{id:"".concat(_,"/footer"),children:n})]})}},12126:function(e,t,n){"use strict";n.r(t),n.d(t,{LiveOddsHeader:function(){return c}});var i=n(90991),a=n(84),r=n(58997),s=n(84336),o=n(78485),l=n(60901),d=n(18865);let c=e=>{let{id:t,title:n,overUnderHeader:o="O/U",spreadHeader:l="Spread",moneylineHeader:c="Moneyline"}=e,f=(0,d.useStadiumTheme)();return(0,i.jsxs)(a.Z,{sx:{height:"auto",padding:0,borderBottom:"1px solid ".concat(f.vars.palette.divider),"& > .MuiTableCell-root":{align:"center",border:"none","&:first-of-type":{paddingLeft:0}}},children:[(0,i.jsx)(r.Z,{sx:{minWidth:f.vars.dimensions.size__3xl},children:(0,i.jsx)(u,{sx:{justifyContent:"flex-start"},children:(0,i.jsx)(s.Z,{id:"".concat(t,"/title"),variant:"bp_small__headings__header__small",textTransform:"uppercase",color:"foreground__primary.mainChannel",children:n})})}),(0,i.jsx)(r.Z,{children:(0,i.jsx)(u,{children:(0,i.jsx)(s.Z,{id:"".concat(t,"/spread"),variant:"bp_small__ui__metadata__medium_strong",color:"foreground__primary.mainChannel",children:l})})}),(0,i.jsx)(r.Z,{children:(0,i.jsx)(u,{children:(0,i.jsx)(s.Z,{id:"".concat(t,"/overUnder"),variant:"bp_small__ui__metadata__medium_strong",color:"foreground__primary.mainChannel",children:o})})}),(0,i.jsx)(r.Z,{children:(0,i.jsx)(u,{children:(0,i.jsx)(s.Z,{id:"".concat(t,"/moneyline"),variant:"bp_small__ui__metadata__medium_strong",color:"foreground__primary.mainChannel",children:c})})})]})},u=(0,o.ZP)(l.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",width:"100%",height:t.vars.dimensions.size__4xl}})},11211:function(e,t,n){"use strict";n.r(t),n.d(t,{OddsAttribution:function(){return o}});var i=n(90991),a=n(17613),r=n(84336),s=n(60901);let o=e=>{let{id:t,attribution:n,logoUrl:o,logoAlt:l,component:d="div",sx:c,...u}=e;return(0,i.jsxs)(a.Z,{direction:"row",alignItems:"center",gap:"0.625rem",id:t,sx:c,component:d,...u,children:[(0,i.jsx)(r.Z,{id:"".concat(t,"/name"),variant:"bp_small__ui__metadata__small",children:n}),(0,i.jsx)(s.Z,{component:"img",src:o,alt:l,loading:"lazy",height:"3rem",width:"10rem"})]})}},38476:function(e,t,n){"use strict";n.r(t),n.d(t,{TeamsOdds:function(){return f}});var i=n(90991),a=n(84),r=n(58997),s=n(17613),o=n(84336),l=n(78485),d=n(60901),c=n(18865),u=n(80885);let f=e=>{let{teams:t}=e,n=(0,c.useStadiumTheme)();return(0,i.jsx)(i.Fragment,{children:t.map((e,t)=>{var l;return(0,i.jsxs)(a.Z,{id:e.id,sx:{height:"auto","& > .MuiTableCell-root":{align:"center",border:"none",padding:"".concat(n.vars.dimensions.padding__xxs," ").concat(n.vars.dimensions.padding__xxs)},"&:first-of-type":{td:{paddingTop:n.vars.dimensions.padding__md}}},children:[(0,i.jsx)(r.Z,{sx:{minWidth:n.vars.dimensions.size__3xl},children:(0,i.jsx)(_,{children:(0,i.jsxs)(s.Z,{direction:"row",spacing:1,alignItems:"center",children:[(0,i.jsx)(u.T,{id:"".concat(e.id,"/logo"),src:null!==(l=e.logoUrl)&&void 0!==l?l:"",alt:"".concat(e.teamName," logo"),size:n.vars.dimensions.size__lg,background:"transparent"}),(0,i.jsx)(o.Z,{id:"".concat(e.id,"/name"),variant:"bp_small__headings__title__small",color:"foreground__primary.mainChannel",children:e.teamName})]})})}),(0,i.jsx)(r.Z,{children:(0,i.jsx)(h,{children:e.spread})}),(0,i.jsx)(r.Z,{children:(0,i.jsx)(h,{children:e.overUnder})}),(0,i.jsx)(r.Z,{children:(0,i.jsx)(h,{children:e.moneyline})})]},e.id)})})},_=(0,l.ZP)(d.Z)({display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",width:"100%"}),h=(0,l.ZP)(d.Z)(e=>{let{theme:t}=e;return{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:t.vars.palette.surface__level_3.mainChannel,borderRadius:t.vars.dimensions.radius__sm,height:t.vars.dimensions.size__4xl,padding:t.vars.dimensions.padding__md}})},85572:function(e,t,n){"use strict";n.r(t),n.d(t,{Odds:function(){return u}});var i=n(90991),a=n(84336),r=n(60901),s=n(17613),o=n(78485),l=n(18865),d=n(80885),c=n(2452);let u=e=>{let{id:t,title:n,teams:o,description:u,body:h,percentage:m,actionLink:p,payoutText:g,attribution:v,sx:b}=e,x=(0,l.useStadiumTheme)();return(0,i.jsxs)(c.u,{id:t,sx:{flexDirection:"column",justifyContent:"flex-start",gap:x.vars.dimensions.default__cards__gap,...b},children:[(0,i.jsxs)(f,{children:[(0,i.jsx)(a.Z,{textTransform:"uppercase",variant:"bp_small__headings__header__small",children:n}),(0,i.jsx)(r.Z,{children:v})]}),u&&(0,i.jsx)(a.Z,{variant:"bp_small__body__body__medium",children:u}),(0,i.jsxs)(s.Z,{direction:"row",justifyContent:"space-between",alignItems:"stretch",children:[(0,i.jsx)(s.Z,{direction:"column",gap:x.vars.dimensions.size__xs,justifyContent:"space-around",children:o.map(e=>{var t;return(0,i.jsxs)(_,{children:[(0,i.jsx)(d.T,{src:null!==(t=e.logo)&&void 0!==t?t:"",alt:"".concat(e.name," logo"),size:x.vars.dimensions.size__2xl,background:"transparent"}),(0,i.jsx)(a.Z,{variant:"bp_small__headings__title__small",children:e.name})]},e.name)})}),(0,i.jsx)(s.Z,{justifyContent:"center",children:h})]}),m,(0,i.jsxs)(s.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[(0,i.jsx)(r.Z,{children:g}),p&&(0,i.jsx)(r.Z,{children:p})]})]})},f=(0,o.ZP)(s.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",justifyContent:"space-between",paddingBottom:t.vars.dimensions.padding__sm,borderBottom:"solid 1px ".concat(t.vars.palette.border__default.mainChannel)}}),_=(0,o.ZP)(s.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.padding__xs}})},73600:function(e,t,n){"use strict";n.r(t),n.d(t,{OddsActionLink:function(){return o}});var i=n(90991),a=n(84336),r=n(78485),s=n(82652);let o=e=>{let{id:t,label:n,component:r="div",sx:s,...o}=e;return(0,i.jsx)(l,{id:t,sx:s,component:r,...o,children:(0,i.jsx)(a.Z,{variant:"bp_small__ui__label__medium",color:"foreground__inverse.mainChannel",children:n})})},l=(0,r.ZP)(s.Z)(e=>{let{theme:t}=e;return{display:"flex",minWidth:"5.25rem",alignItems:"center",justifyContent:"center",gap:t.vars.dimensions.padding__xs,background:t.vars.palette.action__surface__neutral__default.mainChannel,borderRadius:t.vars.dimensions.default__action__radius,padding:"".concat(t.vars.dimensions.default__action__top_bottom," ").concat(t.vars.dimensions.default__action__left_right)}})},83492:function(e,t,n){"use strict";n.r(t),n.d(t,{OddsInfo:function(){return u},OddsOutcome:function(){return c}});var i=n(90991),a=n(17613),r=n(84336),s=n(78485),o=n(82652),l=n(18865),d=n(93404);let c=e=>{let{id:t,outcomes:n,onMouseOut:s,onMouseOver:o,sx:c}=e,f=(0,l.useStadiumTheme)(),_=n.some(e=>e.didWin);return(0,i.jsx)(a.Z,{id:t,gap:f.vars.dimensions.size__xs,direction:"row",sx:c,children:n.map((e,n)=>(0,i.jsxs)(u,{onMouseOver:()=>{var t;null==o||o(null!==(t=e.payoutText)&&void 0!==t?t:null)},onMouseOut:()=>{null==s||s(null)},children:[(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__small",children:e.line}),(0,i.jsxs)(a.Z,{direction:"row",alignItems:"center",justifyContent:"center",children:[_&&(0,i.jsx)(d.nQ,{fill:f.vars.palette.foreground__accent__success.mainChannel,"data-testid":e.didWin?"win-check":"win-check-spacer",sx:{visibility:e.didWin?"visible":"hidden"}}),(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__large_strong",color:"foreground__accent__success.mainChannel",whiteSpace:"nowrap",children:e.odds}),_&&(0,i.jsx)(d.nQ,{fill:f.vars.palette.foreground__accent__success.mainChannel,"data-testid":"win-check-spacer",sx:{visibility:"hidden"}})]})]},"".concat(t,"/outcome/").concat(n)))})},u=(0,s.ZP)(o.Z)(e=>{let{theme:t}=e;return{display:"flex",height:t.vars.dimensions.size__4xl,padding:t.vars.dimensions.padding__md,flexDirection:"column",justifyContent:"center",alignItems:"center",gap:t.vars.dimensions.padding__xxxs,flex:"1 0 0",minWidth:"5rem",borderRadius:t.vars.dimensions.radius__sm,background:t.vars.palette.surface__level_3.mainChannel,border:"".concat(t.vars.dimensions.border__sm," solid transparent"),"&:hover, &:focus":{borderColor:t.vars.palette.action__border__quiet__active.mainChannel}}})},62669:function(e,t,n){"use strict";n.r(t),n.d(t,{OddsPercentage:function(){return c}});var i=n(90991),a=n(17613),r=n(84336),s=n(78485),o=n(18865),l=n(80885),d=n(72713);let c=e=>{var t,n,s,c;let{id:_,homeTeam:h,awayTeam:m,sx:p,showLogos:g=!0}=e,v=(0,o.useStadiumTheme)();return(0,i.jsxs)(a.Z,{id:_,width:"100%",gap:v.vars.dimensions.size__xs,sx:p,children:[h.proportion&&m.proportion&&(0,i.jsxs)(a.Z,{direction:"row",gap:v.vars.dimensions.padding__xs,children:[(0,i.jsx)(d.k,{progressColor:null!==(t=h.progressColor)&&void 0!==t?t:v.vars.palette.surface__brand__dark.mainChannel,progress:h.proportion}),(0,i.jsx)(d.k,{progressColor:null!==(n=m.progressColor)&&void 0!==n?n:v.vars.palette.surface__brand__light.mainChannel,progress:m.proportion})]}),(0,i.jsxs)(a.Z,{direction:"row",justifyContent:"space-between",children:[(0,i.jsxs)(u,{children:[g&&(0,i.jsx)(l.T,{src:null!==(s=h.logo)&&void 0!==s?s:"",alt:"".concat(h.name," logo"),size:v.vars.dimensions.size__xl,background:"transparent"}),(0,i.jsxs)(f,{children:[(null==h?void 0:h.prefix)&&(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__medium",children:h.prefix}),(null==h?void 0:h.betPercentage)&&(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__medium",children:h.betPercentage})]},m.name)]},h.name),(0,i.jsxs)(u,{children:[(0,i.jsxs)(f,{children:[(null==m?void 0:m.prefix)&&(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__medium",children:m.prefix}),(null==m?void 0:m.betPercentage)&&(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__medium",children:m.betPercentage})]},m.name),g&&(0,i.jsx)(l.T,{src:null!==(c=m.logo)&&void 0!==c?c:"",alt:"".concat(m.name," logo"),size:v.vars.dimensions.size__xl,background:"transparent"})]},m.name)]})]})},u=(0,s.ZP)(a.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.padding__xxs}}),f=(0,s.ZP)(a.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.padding__xxxs}})},72846:function(e,t,n){"use strict";n.r(t),n.d(t,{OddsStatsThreeBody:function(){return l}});var i=n(90991),a=n(17613),r=n(84336),s=n(18865),o=n(83492);let l=e=>{let{id:t,stats:n,onMouseOut:l,onMouseOver:d,sx:c}=e,u=(0,s.useStadiumTheme)();return(0,i.jsx)(a.Z,{id:t,gap:u.vars.dimensions.size__xs,direction:"row",sx:c,children:n.map(e=>(0,i.jsxs)(a.Z,{direction:"column",gap:u.vars.dimensions.padding__xs,alignItems:"center",width:"100%",children:[e.header&&(0,i.jsx)(r.Z,{variant:"bp_small__headings__title__small",children:e.header}),(0,i.jsx)(o.OddsInfo,{onMouseOver:()=>{var t;null==d||d(null!==(t=e.payoutText)&&void 0!==t?t:null)},onMouseOut:()=>{null==l||l(null)},children:(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__large_strong",color:"foreground__accent__success.mainChannel",children:e.odds})})]},e.header))})}},28090:function(e,t,n){"use strict";n.r(t),n.d(t,{PitchingInfo:function(){return c}});var i=n(72163),a=n(90991),r=n(84336),s=n(17613),o=n(18865),l=n(2452),d=n(5248);let c=e=>{let{id:t,title:n="Pitching",entries:c,sx:u}=e,f=(0,o.useStadiumTheme)();return(0,a.jsxs)(l.u,{id:t,sx:{flexDirection:"column",...u},children:[(0,a.jsx)(r.Z,{textTransform:"uppercase",display:"block",variant:"bp_small__headings__header__small",sx:{paddingBottom:f.vars.dimensions.padding__sm,borderBottom:"solid 1px ".concat(f.vars.palette.border__default.mainChannel),marginBottom:f.vars.dimensions.size__xl},children:n}),(0,a.jsx)(s.Z,{gap:f.vars.dimensions.size__md,children:c.map((e,n)=>(0,i.createElement)(d.PitchingInfoEntry,{...e,key:(null==e?void 0:e.id)?"".concat(t,"/entry/").concat(e.id):"".concat(t,"/entry/").concat(n),id:(null==e?void 0:e.id)?"".concat(t,"/entry/").concat(e.id):"".concat(t,"/entry/").concat(n)}))})]})}},5248:function(e,t,n){"use strict";n.r(t),n.d(t,{PitchingInfoEntry:function(){return s}});var i=n(90991),a=n(17613),r=n(84336);let s=e=>{let{id:t,title:n,value:s}=e;return(0,i.jsxs)(a.Z,{id:t,direction:"row",children:[(0,i.jsx)(r.Z,{variant:"bp_small__ui__label__medium_strong",sx:{minWidth:"12rem"},children:n}),(0,i.jsx)(r.Z,{variant:"bp_small__ui__label__medium",color:"foreground__tertiary.mainChannel",children:s})]})}},29514:function(e,t,n){"use strict";n.r(t),n.d(t,{PlayByPlay:function(){return v}});var i,a,r=n(72163),s=n(90991),o=n(84336),l=n(17613),d=n(18865),c=n(2452),u=n(60901),f=n(78485),_=n(53512);let h=e=>{let{ballFill:t,...n}=e;return(0,s.jsx)(_.Z,{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:(0,s.jsx)("path",{d:"M6.61837 3.36633C5.99796 3.61735 5.44184 3.98776 4.96429 4.46429C4.48673 4.94184 4.11735 5.49796 3.86633 6.11837C3.62347 6.71735 3.5 7.35102 3.5 8C3.5 8.64898 3.62347 9.28265 3.86633 9.88163C4.11837 10.502 4.48776 11.0582 4.96429 11.5357C5.44184 12.0133 5.99796 12.3827 6.61837 12.6337C7.21735 12.8765 7.85102 13 8.5 13C9.14898 13 9.78265 12.8765 10.3816 12.6337C11.002 12.3816 11.5582 12.0122 12.0357 11.5357C12.5133 11.0582 12.8827 10.502 13.1337 9.88163C13.3765 9.28265 13.5 8.64898 13.5 8C13.5 7.35102 13.3765 6.71735 13.1337 6.11837C12.8827 5.49796 12.5122 4.94184 12.0357 4.46429C11.5582 3.98673 11.002 3.61735 10.3816 3.36633C9.78265 3.12347 9.15 3 8.5 3C7.85102 3 7.21735 3.12347 6.61837 3.36633ZM4.75 10.1051C4.50918 9.95408 4.28673 9.77959 4.09082 9.57449C3.79082 8.72959 3.7398 7.81531 3.93878 6.94796C4.03265 6.76327 4.13878 6.58673 4.25918 6.41633C4.29592 6.36429 4.33061 6.30918 4.37041 6.25816L5.49898 6.92551C5.49898 6.93469 5.49898 6.94388 5.49898 6.95408C5.49592 7.56122 5.55816 8.16327 5.68061 8.75714C5.68061 8.7602 5.68163 8.76122 5.68163 8.76429L4.80612 10.1367C4.78673 10.1276 4.76837 10.1163 4.75 10.1051ZM8.1051 12.4245C8.3 12.5235 8.5 12.6082 8.70612 12.6755C7.83163 12.7143 6.94898 12.5092 6.16837 12.0612L8.0602 12.398C8.07449 12.4082 8.08878 12.4163 8.1051 12.4245ZM8.09796 12.0827L5.86633 11.6847C5.6051 11.3673 5.37041 11.0316 5.16837 10.6735C5.11735 10.5827 5.05918 10.4939 5.01633 10.398L5.89082 9.02755C5.9102 9.03265 5.93163 9.03776 5.95612 9.04388C6.50306 9.1898 7.05918 9.29388 7.62041 9.37551C7.65306 9.37959 7.68061 9.38367 7.70408 9.38673L8.75204 11.199C8.57041 11.4541 8.38673 11.7092 8.19796 11.9602C8.16531 12.0031 8.13265 12.0429 8.09796 12.0827ZM11.8112 11.3112C11.6337 11.4888 11.4449 11.649 11.2469 11.7918C11.2143 11.5306 11.1571 11.2735 11.0776 11.0235L12.1959 8.93776C12.5041 8.79796 12.801 8.63878 13.0765 8.44082C13.1122 8.41531 13.1429 8.38673 13.1653 8.3551C13.0857 9.43367 12.6337 10.4888 11.8112 11.3112ZM11.7612 8.60612C11.8031 8.68571 11.8439 8.76531 11.8847 8.84694L10.8051 10.8612C10.799 10.8622 10.7929 10.8643 10.7867 10.8653C10.2031 10.9745 9.61429 11.0327 9.02143 11.0357L7.94388 9.17143C8.11122 8.8602 8.27755 8.54694 8.44286 8.23469C8.5551 8.02245 8.66429 7.80918 8.77449 7.5949L11.0051 7.36531C11.2776 7.76633 11.5367 8.17551 11.7612 8.60612ZM11.3092 6.21633C11.2031 6.49592 11.0898 6.77245 10.9776 7.05L8.80408 7.27347C8.77857 7.23878 8.75102 7.2051 8.72245 7.17347C8.46633 6.88265 8.20714 6.59388 7.95 6.30408C7.95204 6.30102 7.9551 6.29898 7.95714 6.29592C7.85306 6.19184 7.74898 6.08775 7.6449 5.98367L8.25 4.16224C8.29184 4.15102 8.33367 4.14184 8.37653 4.13776C8.7051 4.10408 9.03469 4.06633 9.36429 4.04694C9.56633 4.03571 9.76939 4.02959 9.97449 4.04388L11.4714 5.73061C11.4194 5.89388 11.3694 6.05714 11.3092 6.21633ZM11.8112 4.68878C12.2245 5.10204 12.5439 5.57347 12.7694 6.07653C12.4898 5.88367 12.1908 5.72551 11.8765 5.59694C11.8276 5.57653 11.7776 5.55918 11.7265 5.54184L10.2541 3.88061C10.2643 3.80918 10.2694 3.73673 10.2714 3.66429C10.8316 3.89286 11.3571 4.23469 11.8112 4.68878ZM7.00102 3.57755C7.00714 3.58163 7.00918 3.58571 7.01327 3.58673C7.35 3.70306 7.65612 3.87449 7.9449 4.07755L7.37959 5.77959C7.37653 5.78061 7.37347 5.78163 7.37143 5.78265C7.25612 5.83061 7.13775 5.87347 7.02449 5.92551C6.5551 6.13878 6.09796 6.37449 5.66735 6.65816L4.55102 5.99796C4.55306 5.96327 4.55816 5.92755 4.57041 5.89592C4.6449 5.69592 4.71939 5.49592 4.80408 5.3C4.86939 5.14898 4.94388 5.00408 5.02449 4.86122C5.07755 4.80306 5.13265 4.7449 5.18878 4.68775C5.71837 4.15918 6.3449 3.78367 7.01122 3.56122C7.00714 3.56633 7.00408 3.57245 7.00102 3.57755Z",fill:null!=t?t:"white"})})};var m=n(26946);(i=a||(a={})).RedCard="RedCard",i.Score="Score",i.Substitution="Substitution",i.YellowCard="YellowCard",i.YellowRedCard="YellowRedCard";let p=e=>{let{id:t,gameProgress:n,teamOne:i,teamTwo:r}=e,c=(0,d.useStadiumTheme)();function f(e){switch(e){case a.RedCard:return(0,s.jsx)(u.Z,{id:"eventIcon",width:10,height:15,sx:{backgroundColor:c.vars.palette.surface__indicator__red.mainChannel}});case a.Score:return(0,s.jsx)(h,{id:"eventIcon",ballFill:"currentColor"});case a.Substitution:return(0,s.jsx)(m.E,{id:"eventIcon"});case a.YellowCard:return(0,s.jsx)(u.Z,{id:"eventIcon",width:10,height:15,sx:{backgroundColor:c.vars.palette.surface__accent__warning.mainChannel}});case a.YellowRedCard:return(0,s.jsxs)(u.Z,{id:"eventIcon",position:"relative",width:10,height:15,children:[(0,s.jsx)(u.Z,{position:"absolute",width:10,height:15,sx:{backgroundColor:c.vars.palette.surface__accent__warning.mainChannel}}),(0,s.jsx)(u.Z,{position:"absolute",width:10,height:15,sx:{backgroundColor:c.vars.palette.surface__indicator__red.mainChannel},style:{clipPath:"polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 15px))"}})]})}}let _=(null==r?void 0:r.secondaryPlayer)?"flex-start":"center";return(0,s.jsxs)(g,{id:t,children:[(0,s.jsxs)(l.Z,{id:"".concat(t,"/").concat(null==i?void 0:i.id),flexDirection:"row",alignItems:_,gap:c.vars.dimensions.padding__xs,flex:"2",children:[f(null==i?void 0:i.type),(0,s.jsxs)(l.Z,{flexDirection:"column",alignItems:"center",gap:c.vars.dimensions.padding__xxs,children:[(0,s.jsx)(o.Z,{variant:"bp_small__headings__title__small",children:null==i?void 0:i.primaryPlayer}),(null==i?void 0:i.secondaryPlayer)&&(0,s.jsx)(o.Z,{variant:"bp_small__headings__title__small",children:i.secondaryPlayer})]})]}),(0,s.jsx)(l.Z,{flex:"1",alignItems:"center",children:(0,s.jsx)(o.Z,{variant:"bp_small__ui__metadata__large",color:"foreground__tertiary.mainChannel",children:n})}),(0,s.jsxs)(l.Z,{id:"".concat(t,"/").concat(null==r?void 0:r.id),flexDirection:"row",justifyContent:"flex-end",alignItems:"center",gap:c.vars.dimensions.padding__xs,flex:"2",children:[(0,s.jsxs)(l.Z,{flexDirection:"column",alignItems:"center",gap:c.vars.dimensions.padding__xxs,children:[(0,s.jsx)(o.Z,{variant:"bp_small__headings__title__small",children:null==r?void 0:r.primaryPlayer}),(null==r?void 0:r.secondaryPlayer)&&(0,s.jsx)(o.Z,{variant:"bp_small__headings__title__small",children:r.secondaryPlayer})]}),f(null==r?void 0:r.type)]})]})},g=(0,f.ZP)(l.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.padding__xs,justifyContent:"space-between",width:"100%"}}),v=e=>{let{id:t,title:n="Play By Play",events:i,sx:a}=e,u=(0,d.useStadiumTheme)();return(0,s.jsxs)(c.u,{id:t,sx:{flexDirection:"column",...a},children:[(0,s.jsx)(o.Z,{textTransform:"uppercase",display:"block",variant:"bp_small__headings__header__small",sx:{paddingBottom:u.vars.dimensions.padding__sm,borderBottom:"solid 1px ".concat(u.vars.palette.border__default.mainChannel),marginBottom:u.vars.dimensions.size__sm},children:n}),(0,s.jsx)(l.Z,{gap:u.vars.dimensions.size__md,children:i.map((e,n)=>(0,r.createElement)(p,{...e,key:(null==e?void 0:e.id)?"".concat(t,"/event/").concat(e.id):"".concat(t,"/event/").concat(n),id:(null==e?void 0:e.id)?"".concat(t,"/event/").concat(e.id):"".concat(t,"/event/").concat(n)}))})]})}},33658:function(e,t,n){"use strict";n.r(t),n.d(t,{PlaySummary:function(){return _}});var i=n(90991),a=n(84336),r=n(17613),s=n(78485),o=n(18865),l=n(2452),d=n(60901),c=n(80885);let u=e=>{let{id:t,play:n}=e,r=(0,o.useStadiumTheme)();return(0,i.jsxs)(f,{id:t,children:[(null==n?void 0:n.logo)?(0,i.jsx)(c.T,{src:null==n?void 0:n.logo,alt:"".concat(null==n?void 0:n.teamName," logo"),size:r.vars.dimensions.size__2xl,background:"transparent"}):(0,i.jsx)(d.Z,{sx:{width:r.vars.dimensions.size__2xl,height:r.vars.dimensions.size__2xl,flexShrink:0}}),(0,i.jsx)(a.Z,{variant:"bp_small__ui__metadata__large",color:"foreground__tertiary.mainChannel",whiteSpace:"nowrap",children:null==n?void 0:n.gameProgressPrimary}),(0,i.jsx)(a.Z,{variant:"bp_small__ui__metadata__large",color:"foreground__primary.mainChannel",children:null==n?void 0:n.summary})]})},f=(0,s.ZP)(r.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.padding__xs,width:"100%"}}),_=e=>{let{id:t,plays:n,title:s="Play Summary",actionLink:d,sx:c}=e,f=(0,o.useStadiumTheme)();return(0,i.jsxs)(l.u,{id:t,sx:{flexDirection:"column",...c},children:[(0,i.jsxs)(h,{children:[(0,i.jsx)(a.Z,{textTransform:"uppercase",display:"block",variant:"bp_small__headings__header__small",children:s}),d]}),(0,i.jsx)(r.Z,{gap:f.vars.dimensions.size__md,children:n.map(e=>(0,i.jsx)(u,{play:e,id:t},e.sequence))})]})},h=(0,s.ZP)(r.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",justifyContent:"space-between",paddingBottom:t.vars.dimensions.padding__sm,borderBottom:"solid 1px ".concat(t.vars.palette.border__default.mainChannel),marginBottom:t.vars.dimensions.size__sm}})},77372:function(e,t,n){"use strict";n.r(t),n.d(t,{PlayersOnIce:function(){return h}});var i=n(90991),a=n(84336),r=n(17613),s=n(18865),o=n(2452),l=n(78485),d=n(80885),c=n(90392);let u=e=>{let{id:t,logo:n,teamName:o,players:l}=e,u=(0,s.useStadiumTheme)();return(0,i.jsxs)(r.Z,{id:t,width:"100%",children:[(0,i.jsxs)(f,{children:[(0,i.jsx)(d.T,{src:null!=n?n:"",alt:"".concat(o," logo"),size:u.vars.dimensions.size__2xl,background:"transparent"}),(0,i.jsx)(a.Z,{variant:"bp_small__headings__header__small",children:o})]}),(0,i.jsx)(_,{children:l.map(e=>(0,i.jsx)(c.v,{id:e.id,subject:e.subject,playerName:e.playerName,status:e.status,avatarUrl:e.avatarUrl},e.id))})]})},f=(0,l.ZP)(r.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.padding__xs,paddingBottom:t.vars.dimensions.padding__sm,marginBottom:t.vars.dimensions.padding__xs,paddingTop:t.vars.dimensions.padding__xs}}),_=(0,l.ZP)(r.Z)(e=>{let{theme:t}=e;return{gap:t.vars.dimensions.padding__sm,paddingTop:t.vars.dimensions.padding__sm}}),h=e=>{let{id:t,teams:n,title:l="Players On Ice",sx:d}=e,c=(0,s.useStadiumTheme)();return(0,i.jsxs)(o.u,{id:t,sx:{flexDirection:"column",...d},children:[(0,i.jsx)(a.Z,{textTransform:"uppercase",display:"block",variant:"bp_small__headings__header__small",sx:{paddingBottom:c.vars.dimensions.padding__sm,borderBottom:"solid 1px ".concat(c.vars.palette.border__default.mainChannel),marginBottom:c.vars.dimensions.padding__xs},children:l}),(0,i.jsx)(r.Z,{gap:c.vars.dimensions.padding__2xl,children:null==n?void 0:n.map(e=>(0,i.jsx)(u,{...e},e.id))})]})}},97548:function(e,t,n){"use strict";n.r(t),n.d(t,{Plays:function(){return m}});var i=n(90991),a=n(72163),r=n(60901),s=n(94972),o=n(66237),l=n(17613),d=n(78485),c=n(84336),u=n(18865),f=n(93404),_=n(80885),h=n(2452);let m=e=>{let{id:t,title:n,playIds:d,plays:c,useGameProgressSecondary:m=!1,collapsible:E=!1,collapsed:T=!1,subtitle:P,className:w,sx:A,...I}=e,M=(0,u.useStadiumTheme)(),[R,D]=(0,a.useState)(T);return(0,i.jsxs)(h.u,{className:w,id:t,...I,sx:{flexDirection:"column",...A},children:[(0,i.jsxs)(p,{children:[(0,i.jsx)(g,{children:n}),(0,i.jsxs)(r.Z,{flexDirection:"row",display:"flex",alignItems:"center",children:[P,E&&(0,i.jsx)(s.Z,{sx:{padding:0},onClick:()=>{D(!R)},children:R?(0,i.jsx)(f.Hf,{sx:{height:M.vars.dimensions.size__md,width:M.vars.dimensions.size__md,color:M.vars.palette.foreground__primary.mainChannel}}):(0,i.jsx)(f.ve,{sx:{height:M.vars.dimensions.size__md,width:M.vars.dimensions.size__md,color:M.vars.palette.foreground__primary.mainChannel}})})]})]}),(0,i.jsx)(o.Z,{in:!R,timeout:"auto",children:(0,i.jsx)(v,{children:0===d.length?(0,i.jsx)(S,{children:"No plays available"}):(0,i.jsx)(l.Z,{spacing:0,children:d.map(e=>{var t,n;let a=c[e.toString()];if(!a)return null;let s=a.teamOneScoringPlay||a.teamTwoScoringPlay||a.boldPenalty,o=m&&a.gameProgressSecondary||a.gameProgressPrimary;return(0,i.jsxs)(b,{children:[(null==a?void 0:a.logo)?(0,i.jsx)(_.T,{src:null==a?void 0:a.logo,alt:"".concat(null==a?void 0:a.teamName," logo"),size:M.vars.dimensions.size__2xl,background:"transparent"}):(0,i.jsx)(r.Z,{sx:{width:M.vars.dimensions.size__2xl,height:M.vars.dimensions.size__2xl,flexShrink:0}}),(0,i.jsx)(x,{children:o}),(0,i.jsx)(y,{isBold:s,children:a.summary}),(0,i.jsxs)(k,{children:[(0,i.jsx)(C,{isBold:a.teamOneScoringPlay,children:null!==(t=a.scoreTeamOne)&&void 0!==t?t:""}),(0,i.jsx)(C,{isBold:a.teamTwoScoringPlay,children:null!==(n=a.scoreTeamTwo)&&void 0!==n?n:""})]})]},e)})})})})]})},p=(0,d.ZP)(r.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingBottom:t.vars.dimensions.padding__sm,marginBottom:t.vars.dimensions.padding__xs,borderBottom:"1px solid ".concat(t.vars.palette.border__default.mainChannel)}}),g=(0,d.ZP)(c.Z)(e=>{let{theme:t}=e;return{...t.typography.bp_small__headings__header__small,color:t.vars.palette.foreground__primary.mainChannel}}),v=(0,d.ZP)(r.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",paddingTop:t.vars.dimensions.padding__sm}}),b=(0,d.ZP)(r.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start",gap:t.vars.dimensions.padding__md,"&:not(:last-child)":{paddingBottom:t.vars.dimensions.padding__md}}}),x=(0,d.ZP)(c.Z)(e=>{let{theme:t}=e;return{...t.typography.bp_small__ui__metadata__large,color:t.vars.palette.foreground__secondary.mainChannel,minWidth:"4.2rem"}}),y=(0,d.ZP)(c.Z,{shouldForwardProp:e=>"isBold"!==e})(e=>{let{theme:t,isBold:n}=e;return{...n?t.typography.bp_small__ui__metadata__large_strong:t.typography.bp_small__ui__metadata__large,color:t.vars.palette.foreground__primary.mainChannel,flex:1}}),k=(0,d.ZP)(r.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.padding__xxs,minWidth:"4rem",justifyContent:"flex-end",flexShrink:0}}),C=(0,d.ZP)(c.Z,{shouldForwardProp:e=>"isBold"!==e})(e=>{let{theme:t,isBold:n}=e;return{...n?t.typography.bp_small__ui__metadata__large_strong:t.typography.bp_small__ui__metadata__large,color:t.vars.palette.foreground__primary.mainChannel,minWidth:"2.8rem",textAlign:"center"}}),S=(0,d.ZP)(c.Z)(e=>{let{theme:t}=e;return{...t.typography.bp_small__ui__label__medium,color:t.vars.palette.foreground__secondary.mainChannel,textAlign:"center",padding:t.vars.dimensions.padding__xl}});t.default=m},85182:function(e,t,n){"use strict";n.r(t),n.d(t,{PreviousMeetings:function(){return _}});var i=n(72163),a=n(90991),r=n(84336),s=n(17613),o=n(18865),l=n(2452),d=n(78485),c=n(80885);let u=e=>{var t,n;let{id:i,gameProgressPrimary:l,gameProgressFooter:d,teamOne:u,teamTwo:_}=e,h=(0,o.useStadiumTheme)();return(0,a.jsxs)(f,{id:i,children:[(0,a.jsxs)(s.Z,{flexDirection:"row",justifyContent:"space-between",children:[(0,a.jsxs)(s.Z,{id:"".concat(i,"/").concat(u.id),flexDirection:"row",alignItems:"center",gap:h.vars.dimensions.padding__xs,flex:"2",children:[(0,a.jsx)(c.T,{src:null!==(t=null==u?void 0:u.logo)&&void 0!==t?t:"",alt:"".concat(null==u?void 0:u.abbrev," logo"),size:h.vars.dimensions.size__2xl,background:"transparent"}),(0,a.jsx)(s.Z,{flexDirection:"row",alignItems:"center",gap:h.vars.dimensions.padding__xxs,children:(0,a.jsx)(r.Z,{variant:"bp_small__headings__title__small",color:"foreground__primary.mainChannel",children:u.abbrev})})]}),(0,a.jsxs)(s.Z,{alignItems:"center",flexDirection:"row",justifyContent:"space-between",flex:"2",children:[(0,a.jsx)(r.Z,{variant:"bp_small__ui__metadata__large_strong",color:"foreground__primary.mainChannel",children:u.score}),(0,a.jsx)(r.Z,{variant:"bp_small__ui__label__medium",color:"foreground__primary.mainChannel",children:l}),(0,a.jsx)(r.Z,{variant:"bp_small__ui__metadata__large_strong",color:"foreground__primary.mainChannel",children:_.score})]}),(0,a.jsxs)(s.Z,{id:"".concat(i,"/").concat(_.id),flexDirection:"row",justifyContent:"flex-end",alignItems:"center",gap:h.vars.dimensions.padding__xs,flex:"2",children:[(0,a.jsx)(s.Z,{flexDirection:"row",alignItems:"center",gap:h.vars.dimensions.padding__xxs,children:(0,a.jsx)(r.Z,{variant:"bp_small__headings__title__small",color:"foreground__primary.mainChannel",children:_.abbrev})}),(0,a.jsx)(c.T,{src:null!==(n=null==_?void 0:_.logo)&&void 0!==n?n:"",alt:"".concat(null==_?void 0:_.abbrev," logo"),size:h.vars.dimensions.size__2xl,background:"transparent"})]})]}),(0,a.jsx)(s.Z,{id:"".concat(i,"-footer"),flexDirection:"row",alignItems:"center",justifyContent:"center",width:"100%",children:(0,a.jsx)(r.Z,{variant:"bp_small__ui__metadata__medium",color:"foreground__tertiary.mainChannel",children:d})})]})},f=(0,d.ZP)(s.Z)(e=>{let{theme:t}=e;return{flexDirection:"column",alignItems:"stretch",gap:t.vars.dimensions.padding__xs,justifyContent:"center",width:"100%"}}),_=e=>{let{id:t,previousMeetings:n,sx:d}=e,c=(0,o.useStadiumTheme)();return(0,a.jsxs)(l.u,{id:t,sx:{flexDirection:"column",...d},children:[(0,a.jsx)(r.Z,{textTransform:"uppercase",display:"block",variant:"bp_small__headings__header__small",sx:{paddingBottom:c.vars.dimensions.padding__sm,borderBottom:"solid 1px ".concat(c.vars.palette.border__default.mainChannel),marginBottom:c.vars.dimensions.size__sm},children:"Previous Meetings"}),(0,a.jsx)(s.Z,{gap:c.vars.dimensions.size__xl,children:null==n?void 0:n.map((e,t)=>{var n;return(0,i.createElement)(u,{...e,key:null!==(n=e.id)&&void 0!==n?n:t})})})]})}},61148:function(e,t,n){"use strict";n.r(t),n.d(t,{Scoreboard:function(){return g}});var i=n(90991),a=n(2452),r=n(60901),s=n(84336),o=n(18865),l=n(80885);let d=e=>{let{id:t,team:n,component:a,...d}=e,c=(0,o.useStadiumTheme)(),{logo:u,abbrev:f,odds:_,name:h}=n;return(0,i.jsxs)(r.Z,{id:t,component:a,sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:{bp_01:c.vars.dimensions.padding__xxs,bp_03:c.vars.dimensions.padding__xs}},onClick:null==n?void 0:n.onClick,...d,children:[(0,i.jsx)(l.T,{src:null!=u?u:"",alt:"".concat(h," logo"),sx:{width:{bp_01:c.vars.dimensions.size__2xl,bp_03:c.vars.dimensions.size__5xl},height:{bp_01:c.vars.dimensions.size__2xl,bp_03:c.vars.dimensions.size__5xl}},background:"transparent"}),(0,i.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:{bp_01:c.vars.dimensions.padding__xxxs,bp_04:c.vars.dimensions.padding__xxs}},children:[(0,i.jsx)(s.Z,{variant:"bp_small__ui__metadata__large_strong",whiteSpace:"nowrap",sx:{color:c.vars.palette.foreground__primary.mainChannel,textAlign:"center",fontFeatureSettings:"'liga' off, 'clig' off;"},children:f}),(0,i.jsx)(s.Z,{variant:"bp_small__ui__metadata__small",whiteSpace:"nowrap",sx:{color:c.vars.palette.foreground__secondary.mainChannel,textAlign:"center",fontFeatureSettings:"'liga' off, 'clig' off;"},children:_})]})]})};var c=n(17613),u=n(93404),f=n(53512);let _=e=>(0,i.jsxs)(f.Z,{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"4",viewBox:"0 0 9 4",fill:"none",...e,fontSize:"inherit",children:[(0,i.jsx)("mask",{id:"path-1-inside-1_8836_2788",fill:"white",children:(0,i.jsx)("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H7C8.10457 0 9 0.895431 9 2C9 3.10457 8.10457 4 7 4H2C0.89543 4 0 3.10457 0 2Z"})}),(0,i.jsx)("path",{d:"M2 0V1H7V0V-1H2V0ZM7 4V3H2V4V5H7V4ZM2 4V3C1.44772 3 1 2.55228 1 2H0H-1C-1 3.65685 0.343146 5 2 5V4ZM9 2H8C8 2.55228 7.55228 3 7 3V4V5C8.65685 5 10 3.65685 10 2H9ZM7 0V1C7.55228 1 8 1.44772 8 2H9H10C10 0.343146 8.65685 -1 7 -1V0ZM2 0V-1C0.343146 -1 -1 0.343146 -1 2H0H1C1 1.44772 1.44772 1 2 1V0Z",fill:"currentColor",mask:"url(#path-1-inside-1_8836_2788)"})]}),h=e=>(0,i.jsx)(f.Z,{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"4",viewBox:"0 0 9 4",fill:"none",...e,fontSize:"inherit",children:(0,i.jsx)("rect",{width:"9",height:"4",rx:"2",fill:"currentColor"})}),m=e=>{let{id:t,totalTimeouts:n,timeoutRemaining:a}=e,r=(0,o.useStadiumTheme)();if(void 0===n||void 0===a)return null;let s=n-a;return(0,i.jsx)(c.Z,{"data-testid":t,id:t,display:"flex",direction:"row",alignItems:"flex-start",gap:r.vars.dimensions.padding__xxxs,children:Array.from({length:n},(e,t)=>t).map(e=>s-- >0?(0,i.jsx)(h,{},e):(0,i.jsx)(_,{},e))})},p=e=>{let{id:t,team:n,isTeamTwo:a}=e,{score:l,hasPossession:d,isRedZone:f,totalTimeouts:_,timeoutRemaining:h,bonus:p,doubleBonus:g,hasPowerPlay:v}=n,b=(0,o.useStadiumTheme)(),x=()=>d?f?b.vars.palette.foreground__accent__live.mainChannel:b.vars.palette.foreground__primary.mainChannel:"none";return(0,i.jsxs)(r.Z,{id:t,alignItems:"center",justifyContent:"center",display:"flex",padding:"none",children:[a&&(0,i.jsx)(u.Ib,{"data-testid":"football-icon-left",height:b.vars.dimensions.size__md,width:b.vars.dimensions.size__md,fill:x()}),(0,i.jsxs)(c.Z,{direction:"column",justifyContent:"center",alignItems:"center",gap:b.vars.dimensions.padding__xs,children:[(0,i.jsxs)(s.Z,{variant:"bp_small__ui__metadata__medium",whiteSpace:"nowrap",color:v?b.vars.palette.foreground__accent__live.mainChannel:b.vars.palette.foreground__secondary.mainChannel,children:[p&&"BONUS",g&&"2BONUS",v&&"PP"]}),(0,i.jsx)(s.Z,{whiteSpace:"nowrap",variant:"bp_small__ui__score__large",color:"foreground__primary.mainChannel",children:l}),void 0!==_&&void 0!==h&&(0,i.jsx)(m,{id:"".concat(t,"/timeouts"),totalTimeouts:_,timeoutRemaining:h})]}),!a&&(0,i.jsx)(u.Ib,{"data-testid":"football-icon-right",height:b.vars.dimensions.size__md,width:b.vars.dimensions.size__md,fill:x()})]})},g=e=>{var t,n;let{id:r,teamOne:s,teamTwo:o,status:l,sx:c,component:u="div",...f}=e;return(0,i.jsxs)(a.u,{id:r,sx:{justifyContent:"space-between",...c},children:[(0,i.jsx)(d,{id:"".concat(r,"/").concat(null==s?void 0:s.name,"/logo"),team:s,component:u,href:null!==(t=null==s?void 0:s.url)&&void 0!==t?t:"",...f}),(0,i.jsx)(p,{id:"".concat(r,"/").concat(null==s?void 0:s.name,"/score"),team:s}),l,(0,i.jsx)(p,{id:"".concat(r,"/").concat(null==o?void 0:o.name,"/score"),team:o,isTeamTwo:!0}),(0,i.jsx)(d,{id:"".concat(r,"/").concat(null==o?void 0:o.name,"/logo"),team:o,component:u,href:null!==(n=null==o?void 0:o.url)&&void 0!==n?n:"",...f})]})}},25592:function(e,t,n){"use strict";n.r(t),n.d(t,{ScoreTable:function(){return c}});var i=n(90991),a=n(17613),r=n(84336),s=n(60901),o=n(78485),l=n(18865),d=n(80885);let c=e=>{let{id:t,headerValues:n,title:o,teamScores:c,mlbScores:f}=e,_=(0,l.useStadiumTheme)();return(0,i.jsxs)(a.Z,{id:t,flexDirection:"row",gap:_.vars.dimensions.padding__md,children:[(0,i.jsxs)(a.Z,{flex:"1",gap:_.vars.dimensions.padding__xs,children:[(0,i.jsx)(r.Z,{display:"block",variant:"bp_small__ui__metadata__medium_strong",color:"foreground__tertiary.mainChannel",children:o}),c.map(e=>{var t;return(0,i.jsxs)(u,{children:[(0,i.jsx)(d.T,{src:null!==(t=e.logo)&&void 0!==t?t:"",alt:"".concat(e.name," logo"),size:_.vars.dimensions.size__2xl,background:"transparent"}),(0,i.jsx)(r.Z,{variant:f?"bp_small__ui__metadata__medium":"bp_small__headings__title__small",color:"foreground__primary.mainChannel",children:e.name}),(0,i.jsxs)(r.Z,{variant:"bp_small__ui__metadata__small",color:"foreground__tertiary.mainChannel",children:["(",e.record,")"]})]},"player-".concat(e.name))})]}),(0,i.jsx)(s.Z,{sx:{overflowX:"auto"},children:(0,i.jsxs)(a.Z,{width:"fit-content",gap:_.vars.dimensions.padding__xs,children:[(0,i.jsx)(a.Z,{direction:"row",gap:_.vars.dimensions.padding__md,children:n.map((e,t)=>(0,i.jsx)(s.Z,{textAlign:"center",flex:"1",children:(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__medium_strong",color:"foreground__tertiary.mainChannel",children:e})},"".concat(e,"-").concat(t)))}),c.map(e=>(0,i.jsx)(a.Z,{children:(0,i.jsx)(a.Z,{direction:"row",gap:_.vars.dimensions.padding__md,children:e.scoreValues.map((e,t)=>(0,i.jsx)(s.Z,{textAlign:"center",flex:"1",children:(0,i.jsx)(r.Z,{variant:f?"bp_small__ui__metadata__medium":"bp_small__ui__metadata__large",color:"foreground__tertiary.mainChannel",children:e})},"".concat(e,"-").concat(t)))})},e.name))]})})]})},u=(0,o.ZP)(a.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.padding__xs}})},62471:function(e,t,n){"use strict";n.r(t),n.d(t,{ScoringSummary:function(){return d}});var i=n(90991),a=n(84336),r=n(17613),s=n(78485),o=n(2452),l=n(25592);let d=e=>{let{id:t,title:n="SCORING SUMMARY",actionLink:s,headers:d,teams:u,mlbScores:f,sx:_}=e;return(0,i.jsxs)(o.u,{id:t,sx:{flexDirection:"column",..._},children:[(0,i.jsxs)(c,{children:[(0,i.jsx)(a.Z,{textTransform:"uppercase",display:"block",variant:"bp_small__headings__header__small",children:n}),s]}),(0,i.jsx)(r.Z,{children:(0,i.jsx)(l.ScoreTable,{id:"".concat(t,"/scores-header"),title:"Teams",headerValues:d,teamScores:u,mlbScores:f})})]})},c=(0,s.ZP)(r.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",justifyContent:"space-between",paddingBottom:t.vars.dimensions.padding__sm,borderBottom:"solid 1px ".concat(t.vars.palette.border__default.mainChannel),marginBottom:t.vars.dimensions.size__sm}})},2845:function(e,t,n){"use strict";n.r(t),n.d(t,{SeasonLeaders:function(){return f}});var i=n(72163),a=n(90991),r=n(84336),s=n(17613),o=n(78485),l=n(18865),d=n(80885),c=n(2452),u=n(69067);let f=e=>{var t,n,o,f,h,m;let{id:p,title:g="Season Leaders",teams:{teamOne:v,teamTwo:b},entries:x,sx:y}=e,k=(0,l.useStadiumTheme)();return(0,a.jsxs)(c.u,{id:p,sx:{flexDirection:"column",...y},children:[(0,a.jsx)(r.Z,{textTransform:"uppercase",display:"block",variant:"bp_small__headings__header__small",sx:{paddingBottom:k.vars.dimensions.padding__sm,borderBottom:"solid 1px ".concat(k.vars.palette.border__default.mainChannel),marginBottom:k.vars.dimensions.size__sm},children:g}),(0,a.jsxs)(s.Z,{gap:k.vars.dimensions.size__2xl,children:[(0,a.jsxs)(s.Z,{direction:"row",justifyContent:"space-between",children:[(0,a.jsxs)(_,{children:[(0,a.jsx)(d.T,{src:null!==(t=v.logo)&&void 0!==t?t:"",alt:"".concat(v.name," logo"),size:k.vars.dimensions.size__2xl,background:null!==(o=null===(n=null==v?void 0:v.colors)||void 0===n?void 0:n[0])&&void 0!==o?o:"transparent"}),(0,a.jsx)(r.Z,{variant:"bp_small__headings__title__small",children:v.name})]}),(0,a.jsxs)(_,{children:[(0,a.jsx)(r.Z,{variant:"bp_small__headings__title__small",children:b.name}),(0,a.jsx)(d.T,{src:null!==(f=b.logo)&&void 0!==f?f:"",alt:"".concat(b.name," logo"),size:k.vars.dimensions.size__2xl,background:null!==(m=null===(h=null==b?void 0:b.colors)||void 0===h?void 0:h[0])&&void 0!==m?m:"transparent"})]})]}),x.map((e,t)=>{var n;return(0,i.createElement)(u.SeasonLeadersEntry,{...e,key:null!==(n=e.id)&&void 0!==n?n:t})})]})]})},_=(0,o.ZP)(s.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.padding__xs}})},69067:function(e,t,n){"use strict";n.r(t),n.d(t,{SeasonLeadersEntry:function(){return d}});var i=n(90991),a=n(17613),r=n(84336),s=n(78485),o=n(18865),l=n(17725);let d=e=>{let{id:t,description:n,teamOne:s,teamTwo:d}=e,u=(0,o.useStadiumTheme)();return(0,i.jsxs)(c,{id:t,children:[(0,i.jsx)(a.Z,{id:"".concat(t,"/").concat(s.id),alignItems:"flex-start",gap:u.vars.dimensions.padding__xs,flex:"2",children:(0,i.jsxs)(a.Z,{alignItems:"center",width:"10rem",gap:u.vars.dimensions.padding__xs,children:[(0,i.jsx)(l.A,{w:"40px",h:"40px",id:"player-avatar",avatarUrl:s.logo}),(0,i.jsxs)(a.Z,{alignItems:"center",children:[(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__large_strong",children:s.name}),(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__medium",color:"foreground__tertiary.mainChannel",children:s.value})]})]})}),(0,i.jsx)(a.Z,{flex:"1",alignItems:"center",children:(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__large",color:"foreground__primary.mainChannel",children:n})}),(0,i.jsx)(a.Z,{id:"".concat(t,"/").concat(d.id),alignItems:"flex-end",gap:u.vars.dimensions.padding__xs,flex:"2",children:(0,i.jsxs)(a.Z,{alignItems:"center",width:"10rem",gap:u.vars.dimensions.padding__xs,children:[(0,i.jsx)(l.A,{w:"40px",h:"40px",id:"player-avatar",avatarUrl:d.logo}),(0,i.jsxs)(a.Z,{alignItems:"center",children:[(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__large_strong",children:d.name}),(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__medium",color:"foreground__tertiary.mainChannel",children:d.value})]})]})})]})},c=(0,s.ZP)(a.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.padding__xs,justifyContent:"space-between",width:"100%"}})},27623:function(e,t,n){"use strict";n.r(t),n.d(t,{SeasonPerformance:function(){return _}});var i=n(72163),a=n(90991),r=n(84336),s=n(17613),o=n(18865),l=n(80885),d=n(2452),c=n(78485);let u=e=>{let{id:t,teamOne:n,teamTwo:i,description:l}=e,d=(0,o.useStadiumTheme)();return(0,a.jsxs)(f,{id:t,children:[(0,a.jsx)(s.Z,{flexDirection:"row",alignItems:"center",gap:d.vars.dimensions.padding__xs,flex:"2",children:(0,a.jsx)(r.Z,{variant:"bp_small__ui__metadata__large_strong",color:"foreground__primary.mainChannel",children:null==n?void 0:n.value})}),(0,a.jsx)(s.Z,{alignItems:"center",flexDirection:"row",justifyContent:"space-between",children:(0,a.jsx)(r.Z,{variant:"bp_small__ui__metadata__large",color:"foreground__tertiary.mainChannel",children:l})}),(0,a.jsx)(s.Z,{flexDirection:"row",justifyContent:"flex-end",alignItems:"center",gap:d.vars.dimensions.padding__xs,flex:"2",children:(0,a.jsx)(r.Z,{variant:"bp_small__ui__metadata__large_strong",color:"foreground__primary.mainChannel",children:null==i?void 0:i.value})})]})},f=(0,c.ZP)(s.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.padding__xs,justifyContent:"center",width:"100%"}}),_=e=>{var t,n;let{id:c,title:f="Season Performance",teams:_,entries:h,sx:m}=e,p=(0,o.useStadiumTheme)();return(0,a.jsxs)(d.u,{id:c,sx:{flexDirection:"column",...m},children:[(0,a.jsx)(r.Z,{textTransform:"uppercase",display:"block",variant:"bp_small__headings__header__small",sx:{paddingBottom:p.vars.dimensions.padding__sm,borderBottom:"solid 1px ".concat(p.vars.palette.border__default.mainChannel),marginBottom:p.vars.dimensions.size__xs},children:f}),(0,a.jsxs)(s.Z,{gap:p.vars.dimensions.size__md,flexDirection:"column",paddingTop:p.vars.dimensions.padding__md,children:[(0,a.jsxs)(s.Z,{flexDirection:"row",justifyContent:"space-between",children:[(0,a.jsxs)(s.Z,{id:"".concat(c,"/").concat(null==_?void 0:_.teamOne.id),flexDirection:"row",alignItems:"center",gap:p.vars.dimensions.padding__xs,flex:"2",children:[(0,a.jsx)(l.T,{src:null!==(t=null==_?void 0:_.teamOne.logo)&&void 0!==t?t:"",alt:"".concat(null==_?void 0:_.teamOne.name," logo"),size:p.vars.dimensions.size__2xl,background:"transparent"}),(0,a.jsx)(s.Z,{flexDirection:"row",alignItems:"center",gap:p.vars.dimensions.padding__xxs,children:(0,a.jsx)(r.Z,{variant:"bp_small__headings__title__small",color:"foreground__primary.mainChannel",children:null==_?void 0:_.teamOne.name})})]}),(0,a.jsxs)(s.Z,{id:"".concat(c,"/").concat(null==_?void 0:_.teamTwo.id),flexDirection:"row",justifyContent:"flex-end",alignItems:"center",gap:p.vars.dimensions.padding__xs,flex:"2",children:[(0,a.jsx)(s.Z,{flexDirection:"row",alignItems:"center",gap:p.vars.dimensions.padding__xxs,children:(0,a.jsx)(r.Z,{variant:"bp_small__headings__title__small",color:"foreground__primary.mainChannel",children:null==_?void 0:_.teamTwo.name})}),(0,a.jsx)(l.T,{src:null!==(n=null==_?void 0:_.teamTwo.logo)&&void 0!==n?n:"",alt:"".concat(null==_?void 0:_.teamTwo.name," logo"),size:p.vars.dimensions.size__2xl,background:"transparent"})]})]}),(0,a.jsx)(s.Z,{gap:p.vars.dimensions.size__md,children:null==h?void 0:h.map((e,t)=>{var n;return(0,i.createElement)(u,{...e,key:null!==(n=e.id)&&void 0!==n?n:t})})})]})]})}},54035:function(e,t,n){"use strict";n.d(t,{SlideButtonGroup:function(){return c}});var i=n(90991),a=n(72163),r=n(91708),s=n(60901),o=n(18575),l=n(78485),d=n(46734);let c=e=>{let{value:t,options:n,onChange:s,sx:o,className:l,pillSx:d}=e,c=(0,a.useRef)(null),[h,m]=(0,a.useState)({width:0,transform:"translateX(0px)"});return(0,a.useEffect)(()=>{let e=c.current;if(!e)return;let n=[...e.querySelectorAll("button")].find(e=>e.dataset.value===t);if(n){let{offsetLeft:e,offsetWidth:t}=n;m({width:t,transform:"translateX(".concat(e,"px)")})}},[t]),(0,i.jsxs)(u,{ref:c,sx:o,className:l,children:[(0,i.jsx)(f,{style:h,sx:d}),(0,i.jsx)(r.Z,{value:t,exclusive:!0,onChange:s,children:n.map(e=>(0,i.jsx)(_,{value:e,"data-value":e.value,"data-selected":t===e.value,children:e.name},e.value))})]})},u=(0,l.ZP)(s.Z)(e=>{let{theme:t}=e;return{position:"relative",display:"inline-flex",backgroundColor:"transparent",borderRadius:t.vars.dimensions.radius__sm,padding:t.vars.dimensions.padding__xxs,border:"".concat(t.vars.dimensions.border__sm," solid ").concat(t.vars.palette.border__default.mainChannel),"& .MuiButtonBase-root[data-selected=true]":{color:t.vars.palette.foreground__inverse.mainChannel,backgroundColor:"transparent"}}}),f=(0,l.ZP)(s.Z)(e=>{let{theme:t}=e;return{position:"absolute",top:4,left:0,height:"calc(100% - 8px)",backgroundColor:t.vars.palette.action__surface__neutral__default.mainChannel,borderRadius:t.vars.dimensions.radius__xs,transition:"transform 0.3s ease, width 0.3s ease",zIndex:0}}),_=(0,l.ZP)(o.Z)(e=>{let{theme:t}=e;return{zIndex:1,border:"none",textTransform:"none",padding:t.vars.dimensions.padding__xs,...d.cp.bp_small__ui__label__medium_strong}})},18618:function(e,t,n){"use strict";n.r(t),n.d(t,{Standings:function(){return _}});var i=n(90991),a=n(21444),r=n(12679),s=n(2586),o=n(84),l=n(58997),d=n(84336),c=n(18865),u=n(2452),f=n(15841);let _=e=>{let{id:t,title:n="STANDINGS",headers:_,teams:h,sx:m,teamTableSx:p}=e,g=(0,c.useStadiumTheme)();return(0,i.jsx)(u.u,{id:t,sx:m,children:(0,i.jsx)(a.Z,{sx:{overflowX:"auto"},children:(0,i.jsxs)(r.Z,{size:"small",sx:{minWidth:"fit-content"},stickyHeader:!0,children:[(0,i.jsx)(s.Z,{children:(0,i.jsxs)(o.Z,{children:[(0,i.jsx)(l.Z,{sx:{borderBottom:"solid 1px ".concat(g.vars.palette.border__default.mainChannel),whiteSpace:"nowrap",background:g.vars.palette.surface__level_2.mainChannel},children:(0,i.jsx)(d.Z,{variant:"bp_small__headings__header__small",textTransform:"uppercase",children:n})}),_.map(e=>(0,i.jsx)(l.Z,{align:"center",sx:{borderBottom:"solid 1px ".concat(g.vars.palette.border__default.mainChannel),minWidth:g.vars.dimensions.size__3xl,whiteSpace:"nowrap",background:g.vars.palette.surface__level_2.mainChannel},children:(0,i.jsx)(d.Z,{variant:"bp_small__ui__metadata__medium_strong",noWrap:!0,children:e})},"".concat(t,"/").concat(e)))]})}),(0,i.jsx)(f.StandingsScoreTable,{id:"".concat(t,"/scores"),teamScores:h,sx:p})]})})})}},15841:function(e,t,n){"use strict";n.r(t),n.d(t,{StandingsScoreTable:function(){return u}});var i=n(90991),a=n(32047),r=n(84),s=n(58997),o=n(17613),l=n(84336),d=n(18865),c=n(80885);let u=e=>{let{id:t,teamScores:n,sx:u}=e,f=(0,d.useStadiumTheme)();return(0,i.jsx)(a.Z,{id:t,sx:u,children:n.map((e,t)=>{var n,a,d;let u=(null===(n=e.separator)||void 0===n?void 0:n.index)===t,_=!!e.color,h=u?"0.06rem solid ".concat(null!==(d=null===(a=e.separator)||void 0===a?void 0:a.color)&&void 0!==d?d:f.vars.palette.border__demarcation.mainChannel):"none";return(0,i.jsxs)(r.Z,{children:[(0,i.jsx)(s.Z,{sx:{borderBottom:h,..._&&{borderLeft:"0.25rem solid ".concat(e.color)}},children:(0,i.jsxs)(o.Z,{direction:"row",alignItems:"center",spacing:f.vars.dimensions.padding__xs,children:[(0,i.jsx)(l.Z,{variant:"bp_small__ui__metadata__small",color:"foreground__tertiary.mainChannel",noWrap:!0,children:e.record}),(0,i.jsx)(c.T,{src:e.logo,alt:"".concat(e.name," logo"),size:f.vars.dimensions.size__2xl,background:"transparent"}),(0,i.jsx)(l.Z,{variant:"bp_small__headings__title__small",color:"foreground__primary.mainChannel",noWrap:!0,children:e.name})]})}),e.scoreValues.map((e,n)=>(0,i.jsx)(s.Z,{align:"center",sx:{minWidth:f.vars.dimensions.size__3xl,borderBottom:h},children:(0,i.jsx)(l.Z,{variant:"bp_small__ui__metadata__large",color:"foreground__tertiary.mainChannel",noWrap:!0,children:e})},"score-".concat(t,"-").concat(n)))]},e.name)})})}},34132:function(e,t,n){"use strict";n.r(t),n.d(t,{SubstitutionList:function(){return u}});var i=n(90991),a=n(84336),r=n(17613),s=n(18865),o=n(2452),l=n(26946),d=n(80885);let c=e=>{let{logo:t,name:n,substitutions:o}=e,c=(0,s.useStadiumTheme)(),u=null==o?void 0:o.filter(e=>!!e.wasSubstituted);return(0,i.jsxs)(r.Z,{direction:"column",gap:c.dimensions.size__md,children:[(0,i.jsxs)(r.Z,{direction:"row",gap:c.dimensions.padding__xs,children:[(0,i.jsx)(d.T,{src:null!=t?t:"",alt:"".concat(n," logo"),size:c.vars.dimensions.size__xl,background:"transparent"}),(0,i.jsx)(a.Z,{whiteSpace:"nowrap",variant:"bp_small__headings__title__small",children:n})]}),null==u?void 0:u.map(e=>(0,i.jsxs)(r.Z,{direction:"row",gap:c.dimensions.padding__xs,children:[(0,i.jsx)(a.Z,{variant:"bp_small__ui__metadata__large",children:e.substitutionTime}),(0,i.jsx)(l.E,{}),(0,i.jsxs)(r.Z,{direction:"column",children:[(0,i.jsx)(a.Z,{whiteSpace:"nowrap",variant:"bp_small__ui__metadata__large",children:e.player}),(0,i.jsx)(a.Z,{whiteSpace:"nowrap",variant:"bp_small__ui__metadata__large",children:e.substitutionPlayer})]})]},"".concat(e.player)))]})},u=e=>{let{entries:t,title:n="Substitutions",sx:l}=e,d=(0,s.useStadiumTheme)();return(0,i.jsxs)(o.u,{sx:{display:"block",alignItems:"start",justifyContent:"space-between",...l},children:[(0,i.jsx)(a.Z,{textTransform:"uppercase",display:"block",variant:"bp_small__headings__header__small",sx:{paddingBottom:d.vars.dimensions.padding__sm,borderBottom:"solid 1px ".concat(d.vars.palette.border__default.mainChannel),marginBottom:d.vars.dimensions.size__sm},children:n}),(0,i.jsx)(r.Z,{direction:"row",gap:d.dimensions.large__cards__gap,justifyContent:"space-between",children:null==t?void 0:t.map(e=>(0,i.jsx)(c,{logo:e.logo,name:e.name,substitutions:e.substitutions},e.name))})]})}},81708:function(e,t,n){"use strict";n.r(t),n.d(t,{SummaryGroup:function(){return f}});var i=n(72163),a=n(90991),r=n(84336),s=n(17613),o=n(18865),l=n(2452),d=n(78485);let c=e=>{let{id:t,title:n,description:i}=e;return(0,a.jsxs)(u,{id:t,children:[(0,a.jsx)(r.Z,{variant:"bp_small__headings__subheader__large",color:"foreground__primary.mainChannel",children:n}),(0,a.jsx)(r.Z,{variant:"bp_small__body__body__medium",color:"foreground__primary.mainChannel",children:i})]})},u=(0,d.ZP)(s.Z)(e=>{let{theme:t}=e;return{flexDirection:"column",alignItems:"flex-start",gap:t.vars.dimensions.padding__xs,justifyContent:"space-between",width:"100%"}}),f=e=>{let{id:t,title:n="Summary",entries:d,sx:u}=e,f=(0,o.useStadiumTheme)();return(0,a.jsxs)(l.u,{id:t,sx:{flexDirection:"column",...u},children:[(0,a.jsx)(r.Z,{textTransform:"uppercase",display:"block",variant:"bp_small__headings__header__small",sx:{paddingBottom:f.vars.dimensions.padding__sm,borderBottom:"solid 1px ".concat(f.vars.palette.border__default.mainChannel),marginBottom:f.vars.dimensions.size__sm},children:n}),(0,a.jsx)(s.Z,{gap:f.vars.dimensions.padding__xl,children:null==d?void 0:d.map(e=>(0,i.createElement)(c,{...e,key:e.id}))})]})}},83427:function(e,t,n){"use strict";n.r(t),n.d(t,{Venue:function(){return l}});var i=n(90991),a=n(60901),r=n(84336),s=n(18865),o=n(2452);let l=e=>{let{id:t,venue:n,location:l,weatherPrimary:d,weatherSecondary:c,weatherEmoji:u,starterList:f,sx:_}=e,h=(0,s.useStadiumTheme)();return(0,i.jsxs)(o.u,{id:t,"data-testid":t,sx:{flexDirection:"column",gap:h.vars.dimensions.default__cards__gap,..._},children:[(0,i.jsxs)(a.Z,{display:"flex",alignItems:"center",gap:h.vars.dimensions.padding__xs,alignSelf:"stretch",children:[(0,i.jsxs)(a.Z,{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",gap:h.vars.dimensions.padding__xxs,flex:"1 0 0",children:[(0,i.jsx)(r.Z,{variant:"bp_small__headings__header__medium",color:h.vars.palette.foreground__primary.mainChannel,children:n}),(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__large",color:h.vars.palette.foreground__tertiary.mainChannel,children:l})]}),(0,i.jsxs)(a.Z,{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:h.vars.dimensions.padding__xs,children:[(0,i.jsxs)(a.Z,{textAlign:"right",display:"flex",flexDirection:"column",children:[(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__small",color:h.vars.palette.foreground__tertiary.mainChannel,children:d}),(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__small",color:h.vars.palette.foreground__tertiary.mainChannel,children:c})]}),(0,i.jsx)(r.Z,{display:"flex",width:"2.4rem",height:"2.1rem",flexDirection:"column",justifyContent:"flex-end",children:u})]})]}),f&&(0,i.jsx)(a.Z,{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:h.vars.dimensions.padding__sm,alignSelf:"stretch",children:(0,i.jsxs)(a.Z,{display:"flex",alignItems:"flex-start",gap:h.vars.dimensions.padding__md,children:[(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__large_strong",color:h.vars.palette.foreground__primary.mainChannel,children:"Starters"}),(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__large",color:h.vars.palette.foreground__tertiary.mainChannel,children:f})]})})]})}},31544:function(e,t,n){"use strict";n.d(t,{Headline:function(){return u}});var i=n(90991),a=n(72163),r=n(60901),s=n(17613),o=n(84336),l=n(44593),d=n(18865),c=n(77810);let u=(0,a.forwardRef)((e,t)=>{let{id:n,variant:a="bp_large__headings__title__small",startAdornment:u,author:f,timestamp:_,component:h,gap:m,headline:p,titleProps:g,titleComponent:v="span",className:b,headlineAriaHidden:x=!1,sx:y={},...k}=e,C=(0,d.useStadiumTheme)(),S=(0,l.Z9)(_),E=null!=h?h:r.Z,T=null!=m?m:C.vars.dimensions.padding__xs;return(0,i.jsxs)(s.Z,{id:n,sx:y,direction:"row",spacing:T,component:E,alignItems:"flex-start",useFlexGap:!0,ref:t,...k,children:[u,(0,i.jsxs)(s.Z,{direction:"column",spacing:C.vars.dimensions.padding__xxs,children:[(0,i.jsx)(o.Z,{id:"".concat(n,"/title"),variant:a,textAlign:"left",className:null!=b?b:c.R.title,component:v,sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",color:{bp_01:"foreground__primary.mainChannel",bp_05:"foreground__primary.mainChannel"},...g},"aria-hidden":x,children:p}),(f||_)&&(0,i.jsxs)(s.Z,{direction:"row",spacing:C.vars.dimensions.padding__xs,children:[f&&(0,i.jsx)(o.Z,{id:"".concat(n,"/author"),variant:"bp_small__ui__metadata__medium",color:"foreground__secondary.mainChannel",children:f}),_&&(0,i.jsx)(o.Z,{id:"".concat(n,"/timestamp"),variant:"bp_small__ui__metadata__medium",color:"foreground__tertiary.mainChannel",children:S})]})]})]})})},94847:function(e,t,n){"use strict";n.d(t,{s:function(){return i.Headline}});var i=n(31544)},92581:function(e,t,n){"use strict";n.r(t),n.d(t,{Headlines:function(){return o}});var i=n(90991),a=n(84336),r=n(24100),s=n(18865);let o=e=>{let{children:t,id:n,header:o,className:l,titleComponent:d="span",sx:c={}}=e,u=(0,s.useStadiumTheme)();return(0,i.jsxs)(r.Z,{id:n,sx:c,className:l,gap:u.vars.dimensions.padding__lg,children:[o&&(0,i.jsx)(a.Z,{"data-testid":"headlines-header",variant:"bp_small__headings__header__medium",component:d,children:o}),t]})}},31983:function(e,t,n){"use strict";n.d(t,{F:function(){return A}});var i={};n.r(i),n.d(i,{a:function(){return k},blockquote:function(){return x},div:function(){return P},h1:function(){return _},h2:function(){return h},h3:function(){return m},h4:function(){return p},h5:function(){return g},h6:function(){return v},iframe:function(){return w},img:function(){return y},li:function(){return E},ol:function(){return S},p:function(){return b},span:function(){return T},ul:function(){return C}});var a=n(90991),r=n(72163),s=n(74708),o=n(26095),l=n(84336),d=n(6979),c=n(80531),u=n(36320),f=n(60743);let _=e=>{let{children:t,...n}=e;return(0,a.jsx)(l.Z,{...n,variant:"bp_large__headings__title__large",component:"h1",children:t})},h=e=>{let{children:t,...n}=e;return(0,a.jsx)(l.Z,{...n,variant:"bp_large__headings__title__medium",component:"h2",children:t})},m=e=>{let{children:t,...n}=e;return(0,a.jsx)(l.Z,{...n,variant:"bp_large__headings__title__small",component:"h3",children:t})},p=e=>{let{children:t,...n}=e;return(0,a.jsx)(l.Z,{...n,variant:"bp_small__headings__title__large",component:"h4",children:t})},g=e=>{let{children:t,...n}=e;return(0,a.jsx)(l.Z,{...n,variant:"bp_small__headings__title__medium",component:"h5",children:t})},v=e=>{let{children:t,...n}=e;return(0,a.jsx)(l.Z,{...n,variant:"bp_small__headings__title__small",component:"h6",children:t})},b=e=>{let{children:t,...n}=e;return(0,a.jsx)(l.Z,{...n,variant:"bp_large__body__article__small",component:"p",sx:{whiteSpace:"normal",wordBreak:"break-word"},children:t})},x=e=>{let{children:t,...n}=e;return(0,a.jsxs)(l.Z,{...n,component:"blockquote",sx:{typography:{bp_01:"bp_small__headings__special_title__small",bp_05:"bp_large__headings__special_title__small"},textAlign:"center"},children:['"',t,'"']})},y=e=>{let{children:t,...n}=e;return(0,a.jsx)(d.Z,{component:"img",...n})},k=e=>{let{children:t,...n}=e;return(0,a.jsx)(l.Z,{...n,variant:"bp_small__ui__link__medium_strong",color:"foreground__link__secondary__default.mainChannel",component:c.Z,target:"_blank",rel:"noopener noreferrer",sx:{fontSize:"inherit",overflowWrap:"break-word",whiteSpace:"normal"},children:t})},C=e=>{let{children:t,...n}=e;return(0,a.jsx)(u.Z,{...n,dense:!0,component:"ul",sx:{listStyle:"disc"},children:t})},S=e=>{let{children:t,...n}=e;return(0,a.jsx)(u.Z,{...n,dense:!0,component:"ol",sx:{listStyle:"decimal"},children:t})},E=e=>{let{children:t,...n}=e;return(0,a.jsx)(f.ZP,{...n,sx:{display:"list-item"},children:t})},T=e=>{let{children:t,...n}=e;return(0,a.jsx)(l.Z,{...n,variant:"bp_large__body__article__small",component:"span",sx:{whiteSpace:"normal",wordBreak:"break-word"},children:t})},P=e=>{let{children:t,...n}=e;return(0,a.jsx)(l.Z,{...n,variant:"bp_large__body__article__small",component:"div",sx:{whiteSpace:"normal",wordBreak:"break-word"},children:t})},w=e=>{let{children:t,...n}=e;return(0,a.jsx)("iframe",{title:"External Content",...n,children:t})},A=e=>{let{htmlString:t="",componentMap:n={}}=e;return(0,r.useMemo)(()=>{let e={replace:function e(t){let n={...i,...t};return i=>{var r;let{tagName:l,children:d,attribs:c}=i;if(!l)return i;let u=(0,o.W1)(c),f=(0,s.e_)(u),_=null!==(r=n[l])&&void 0!==r?r:l;return(null==d?void 0:d.length)?(0,a.jsx)(_,{...f,children:(0,s.du)(d,{replace:e(t)})}):(0,a.jsx)(_,{...f})}}(n)},r=function(e){let t=/&(#\d+|#x[0-9a-fA-F]+|[a-zA-Z][a-zA-Z0-9]+);/.test(e)&&(0,s.ZP)(e);return"string"==typeof t?t:e}(t);return(0,s.ZP)(r,e)},[t,n])}},69589:function(e,t,n){"use strict";n.r(t),n.d(t,{EmbedMedia:function(){return d}});var i=n(90991),a=n(72163),r=n(60901),s=n(47366),o=n(26095);let l=()=>{},d=e=>{let{id:t,aspectRatio:n="3/2",sx:d,className:c,mediaRef:u,onError:f=l,onLoad:_=l,url:h,loading:m,timeout:p=3e3,title:g}=e,v=(0,a.useRef)(),[b]=(0,s.l)(()=>{v.current&&(0,o.S_)(v.current)||f(Error("Embed media timed out"))},p);return(0,i.jsx)(r.Z,{component:"iframe",id:"".concat(t,"/embed_media"),src:h,onLoad:function(){b(),_()},allowFullScreen:!0,title:g,ref:e=>{e&&(v.current=e),u&&("function"==typeof u?u(e):u.current=e)},sx:{...d,width:"100%",aspectRatio:n,border:"none"},className:c,loading:m})}},46798:function(e,t,n){"use strict";n.r(t),n.d(t,{FallBackMedia:function(){return d},FallbackError:function(){return c}});var i=n(90991),a=n(60901),r=n(84336),s=n(78485),o=n(18865),l=n(93404);let d=e=>{let{className:t,sx:n={},variant:r="placeholder",id:s,aspectRatio:l="3/2",children:d}=e,c=(0,o.useStadiumTheme)();return(0,i.jsxs)(a.Z,{id:s,"data-testid":s,display:"flex",className:t,flexDirection:"column",justifyContent:"center",alignItems:"center",sx:{backgroundColor:c.vars.palette.surface__level_4.mainChannel,aspectRatio:l,...n},gap:c.vars.dimensions.medium__cards__gap,children:[(0,i.jsx)(u,{id:"".concat(s,"/br_logo"),variant:r}),d]})},c=e=>{let{id:t,message:n}=e,s=(0,o.useStadiumTheme)();return(0,i.jsxs)(a.Z,{id:t,display:"flex",gap:s.vars.dimensions.small__cards__gap,alignItems:"center",children:[(0,i.jsx)(l.Pz,{id:"".concat(t,"/icon"),fontSize:"small"}),(0,i.jsx)(r.Z,{id:"".concat(t,"/message"),variant:"bp_small__body__body__medium",color:s.vars.palette.surface__inverse.mainChannel,children:n})]})},u=(0,s.ZP)(l.i0)(e=>{let{variant:t,theme:n}=e;return{"@keyframes pulsate":{"0%":{opacity:1},"50%":{opacity:.4},"100%":{opacity:1}},animation:"loading"===t?"pulsate 2s ease-in-out 0.5s infinite":"",width:n.vars.dimensions.size__5xl,height:n.vars.dimensions.size__5xl}})},45870:function(e,t,n){"use strict";n.r(t),n.d(t,{GamecastMedia:function(){return o}});var i=n(90991),a=n(82518),r=n(77810),s=n(50713);let o=e=>{let{id:t,className:n,home:o,visitor:l,aspectRatio:d,mediaRef:c,overlay:u,onError:f,status:_,sx:h,isLive:m=!1,...p}=e;return(0,i.jsxs)(s.EE,{ref:c,id:t,...p,sx:{aspectRatio:d,...h},children:[(0,i.jsxs)(s.lE,{className:"".concat(r.M.scaleable," ").concat(null!=n?n:""),children:[m&&(0,i.jsx)(s.Ag,{children:(0,i.jsx)(a.s,{id:"".concat(t,"/live")})}),(0,i.jsxs)(s.RH,{children:[m&&(0,i.jsx)(s.EN,{children:(0,i.jsx)(a.s,{id:"".concat(t,"/live_small")})}),_]}),(0,i.jsx)(s.SZ,{left:0,children:o}),(0,i.jsx)(s.SZ,{right:0,children:l})]}),u]})}},50713:function(e,t,n){"use strict";n.d(t,{Ag:function(){return c},EE:function(){return l},EN:function(){return f},GAMECAST_BREAKPOINTS:function(){return a},RH:function(){return u},SZ:function(){return _},lE:function(){return d}});var i,a,r=n(78485),s=n(60901),o=n(84336);(i=a||(a={})).XSmall="222px",i.Small="369px",i.Medium="615px",i.Large="664px",i.XLarge="763px";let l=(0,r.ZP)(s.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",position:"relative",containerName:"gamecast-card-body",containerType:"size",borderRadius:t.vars.dimensions.size__md,overflow:"hidden"}}),d=(0,r.ZP)(s.Z)({display:"flex",flexDirection:"row",width:"100%",height:"100%",position:"relative"}),c=(0,r.ZP)(s.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",zIndex:"1",position:"absolute",alignItems:"flex-start",justifyContent:"flex-start",padding:t.vars.dimensions.padding__sm,["@container gamecast-card-body (max-width: ".concat(a.Medium,")")]:{display:"none"}}}),u=(0,r.ZP)(s.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",zIndex:"2",position:"absolute",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",gap:t.vars.dimensions.small__cards__gap,["@container gamecast-card-body (min-width: ".concat(a.Small,")")]:{gap:0},["@container gamecast-card-body (min-width: ".concat(a.Medium,")")]:{padding:"".concat(t.vars.dimensions.padding__xl," 0")}}}),f=(0,r.ZP)(s.Z)({display:"none",["@container gamecast-card-body (max-width: ".concat(a.Medium,")")]:{display:"block"}});(0,r.ZP)(o.Z)(e=>{let{theme:t}=e;return{color:t.vars.palette.foreground__oncolor_light.mainChannel,["@container gamecast-card-body (min-width: ".concat(a.Small,")")]:{padding:t.vars.dimensions.padding__none}}}),(0,r.ZP)(o.Z)(e=>{let{theme:t}=e;return{display:"block",color:t.vars.palette.foreground__oncolor_light.mainChannel,["@container gamecast-card-body (max-width: ".concat(a.Medium,")")]:{display:"none"}}});let _=(0,r.ZP)(s.Z)(()=>({width:"56%",height:"100%",position:"absolute",top:"0"}))},67926:function(e,t,n){"use strict";n.d(t,{G:function(){return a.GAMECAST_BREAKPOINTS},S:function(){return i.GamecastMedia}});var i=n(45870),a=n(50713)},32191:function(e,t,n){"use strict";n.r(t),n.d(t,{GamecastMediaTeam:function(){return v},TeamAlignment:function(){return a}});var i,a,r=n(90991),s=n(78485),o=n(60901),l=n(84336),d=n(80885),c=n(67926);let u=(0,s.ZP)(o.Z)({display:"flex",flexDirection:"column",containerName:"gamecast-team-card-body",containerType:"size",width:"100%",height:"100%",top:0,position:"absolute",overflow:"hidden",borderRadius:"inherit"}),f=(0,s.ZP)(o.Z,{shouldForwardProp:e=>"clipDirection"!==e})(e=>{let{backgroundColor:t,clipDirection:n}=e;return{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:n===a.Right?"flex-start":"flex-end",width:"100%",height:"100%",background:t,clipPath:"polygon(".concat(n===a.Left?"20%":"0%"," 0%, 100% 0%, ").concat(n===a.Right?"80%":"100%"," 100%, 0% 100%)"),position:"relative",paddingRight:n===a.Left?"1.5rem":0,paddingLeft:n===a.Right?"1.5rem":0,["@container gamecast-card-body (min-width: ".concat(c.G.Small,")")]:{paddingRight:n===a.Left?"1.31rem":0,paddingLeft:n===a.Right?"1.31rem":0},["@container gamecast-card-body (min-width: ".concat(c.G.Medium,")")]:{paddingRight:n===a.Left?"2.56rem":0,paddingLeft:n===a.Right?"2.56rem":0},["@container gamecast-card-body (min-width: ".concat(c.G.Large,")")]:{paddingRight:n===a.Left?"2.75rem":0,paddingLeft:n===a.Right?"2.75rem":0},["@container gamecast-card-body (min-width: ".concat(c.G.XLarge,")")]:{paddingRight:n===a.Left?"3.69rem":0,paddingLeft:n===a.Right?"3.69rem":0}}}),_=(0,s.ZP)(o.Z,{shouldForwardProp:e=>"logoPosition"!==e})(e=>{let{logoPosition:t}=e;return{display:"flex",flexDirection:"column",gap:"0.4rem",justifyContent:"center",alignItems:"center",zIndex:"2",["@container gamecast-team-card-body (min-width: ".concat(c.G.XSmall,")")]:{flexDirection:t===a.Left?"row":"row-reverse",gap:"2.4rem"}}}),h=(0,s.ZP)(d.T,{shouldForwardProp:e=>"logoBackground"!==e})(e=>{let{theme:t}=e;return{width:t.vars.dimensions.size__4xl,height:t.vars.dimensions.size__4xl,["@container gamecast-team-card-body (min-width: ".concat(c.G.XSmall,")")]:{width:t.vars.dimensions.size__6xl,height:t.vars.dimensions.size__6xl},["@container gamecast-team-card-body (min-width: ".concat(c.G.Small,")")]:{width:t.vars.dimensions.size__7xl,height:t.vars.dimensions.size__7xl},["@container gamecast-team-card-body (min-width: ".concat(c.G.XLarge,")")]:{width:t.vars.dimensions.size__8xl,height:t.vars.dimensions.size__8xl}}}),m=(0,s.ZP)(l.Z)(e=>{let{theme:t}=e;return{color:t.vars.palette.foreground__oncolor_light.mainChannel,fontSize:"2rem",["@container gamecast-card-body (min-width: ".concat(c.G.Small,")")]:{fontSize:"4rem"},["@container gamecast-card-body (min-width: ".concat(c.G.Large,")")]:{fontSize:"7.6rem"}}}),p=(0,s.ZP)(l.Z,{shouldForwardProp:e=>"logoPosition"!==e})(e=>{let{theme:t,logoPosition:n}=e;return{color:t.vars.palette.foreground__oncolor_light.mainChannel,fontSize:"7.5rem",opacity:.15,position:"absolute",lineHeight:0,...n===a.Left?{top:"8%",left:"-5%"}:{},...n===a.Right?{bottom:"8%",right:"-5%"}:{},["@container gamecast-card-body (min-width: ".concat(c.G.Large,")")]:{fontSize:"12rem"},["@container gamecast-card-body (min-width: ".concat(c.G.XLarge,")")]:{fontSize:"20rem"}}}),g=(0,s.ZP)(o.Z,{shouldForwardProp:e=>"logoPosition"!==e})(e=>{let{theme:t,logoPosition:n}=e;return{position:"absolute",background:t.mixins.gradient__default("0deg"),width:"100%",height:"100%",zIndex:"1",...n===a.Left?{left:0}:{},...n===a.Right?{right:0}:{}}});(i=a||(a={})).Right="right",i.Left="left",i.None="none";let v=e=>{let{id:t,logo:n,score:i,color:s,alignment:o,shortName:l,logoBackground:d="transparent"}=e;return(0,r.jsx)(u,{id:t,children:(0,r.jsxs)(f,{backgroundColor:s,clipDirection:o===a.Left?a.Right:a.Left,"data-testid":t,children:[(0,r.jsx)(g,{logoPosition:o}),(0,r.jsx)(p,{logoPosition:o,variant:"bp_small__headings__title__large",id:"".concat(t,"/shortName"),children:l}),(0,r.jsxs)(_,{logoPosition:o,"data-testid":"team-card-body",children:[(0,r.jsx)(h,{id:"".concat(t,"/logo"),src:n,background:d,"data-testid":"team-card-logo"}),(0,r.jsx)(m,{variant:"bp_large__ui__score__large",id:"".concat(t,"/score"),children:i})]})]})})}},4979:function(e,t,n){"use strict";n.r(t),n.d(t,{ImageMedia:function(){return _}});var i=n(90991),a=n(72163),r=n(60901),s=n(77810),o=n(58884),l=n(84336),d=n(18865);let c=e=>{let{id:t,children:n}=e,a=(0,d.useStadiumTheme)();return(0,i.jsx)(r.Z,{position:"absolute",bottom:0,right:0,display:"flex",padding:a.dimensions.padding__sm,children:(0,i.jsx)(l.Z,{color:"foreground__oncolor_light.mainChannel",id:t,variant:"bp_small__ui__metadata__small",sx:{width:"100%"},children:n})})};var u=n(66066);let f=()=>{},_=(0,a.forwardRef)((e,t)=>{let{id:n,aspectRatio:l="3/2",sx:d,className:_,mediaRef:h,onError:m=f,onLoad:p=f,src:g,mediaWidth:v={},loading:b="lazy",alt:x,overlay:y,headline:k,copyright:C,isAboveFold:S=!1,mediaSx:E}=e,T=(0,a.useCallback)(e=>{(null==e?void 0:e.complete)&&(null==e?void 0:e.naturalWidth)===0?P():e&&w()},[]);function P(){m(Error("Image did not load"))}function w(){p()}return(0,i.jsxs)(r.Z,{position:"relative",ref:t,children:[(0,i.jsxs)(r.Z,{id:"".concat(n,"/picture"),display:"block","data-testid":"".concat(n,"/picture"),ref:h,component:"picture",sx:d,className:"".concat(s.M.scaleable," ").concat(null!=_?_:""),position:"relative",children:[(0,i.jsx)(o.c,{src:g,mediaWidth:v}),(0,i.jsx)(r.Z,{id:"".concat(n,"/img"),ref:T,component:"img",display:"block",src:g,loading:b,alt:x,title:x,sx:{width:"100%",height:"auto",aspectRatio:l,objectFit:"cover",objectPosition:"center",...E},fetchPriority:S?"high":void 0,onError:P,onLoad:w})]}),y,"string"==typeof k&&(0,i.jsx)(u.MediaOverlay,{id:"".concat(n,"/headline"),children:k}),C&&(0,i.jsx)(c,{id:"".concat(n,"/copyright"),children:C})]})})},58884:function(e,t,n){"use strict";n.d(t,{c:function(){return r}});var i=n(90991),a=n(44593);let r=e=>{let{src:t,mediaWidth:n={bp_01:320,bp_02:480,bp_03:640,bp_04:800,bp_05:960,bp_06:1120,bp_07:1280}}=e;if(!t)return null;let r=t?/\.avif([?#].*)?$/i.exec(t)?"avif":/\.webp([?#].*)?$/i.exec(t)?"webp":/\.png([?#].*)?$/i.exec(t)?"png":/\.jpe?g([?#].*)?$/i.exec(t)?"jpg":t.includes("avif")?"avif":t.includes("webp")?"webp":t.includes("png")?"png":t.includes("jpg")||t.includes("jpeg")?"jpg":void 0:void 0,s=r&&"image/".concat(r),o=(0,a.d9)(t,{width:null==n?void 0:n.bp_01,format:r}),l=(0,a.d9)(t,{width:null==n?void 0:n.bp_02,format:r}),d=(0,a.d9)(t,{width:null==n?void 0:n.bp_03,format:r}),c=(0,a.d9)(t,{width:null==n?void 0:n.bp_04,format:r}),u=(0,a.d9)(t,{width:null==n?void 0:n.bp_05,format:r}),f=(0,a.d9)(t,{width:null==n?void 0:n.bp_06,format:r}),_=(0,a.d9)(t,{width:null==n?void 0:n.bp_07,format:r}),h=(0,a.i_)({bp_01:{src:o,width:null==n?void 0:n.bp_01},bp_02:{src:l,width:null==n?void 0:n.bp_02},bp_03:{src:d,width:null==n?void 0:n.bp_03},bp_04:{src:c,width:null==n?void 0:n.bp_04},bp_05:{src:u,width:null==n?void 0:n.bp_05},bp_06:{src:f,width:null==n?void 0:n.bp_06},bp_07:{src:_,width:null==n?void 0:n.bp_07}});return(0,i.jsx)("source",{type:s,srcSet:h.srcSet,sizes:h.sizes})}},28176:function(e,t,n){"use strict";n.r(t),n.d(t,{ImageWithFallback:function(){return d}});var i=n(90991),a=n(72163),r=n(60901),s=n(18865),o=n(93404);let l=()=>{},d=e=>{let{id:t,src:n,onError:d=l,...c}=e,u=(0,s.useStadiumTheme)(),[f,_]=(0,a.useState)(),h=(0,a.useCallback)(e=>{(null==e?void 0:e.complete)&&(null==e?void 0:e.naturalWidth)===0&&m()},[]);function m(){d(),_(Error("Image did not load"))}return!n||f?(0,i.jsx)(r.Z,{width:c.width,height:c.height,children:(0,i.jsx)(o.i0,{sx:{...c.sx,fontSize:u.vars.dimensions.size__md,transform:"translateY(-2px)"},id:"".concat(t,"/br-brand")})}):(0,i.jsx)(r.Z,{component:"img",id:t,"data-testid":t,ref:h,src:n,onError:m,...c})}},14351:function(e,t,n){"use strict";n.r(t),n.d(t,{Media:function(){return c}});var i=n(90991),a=n(72163),r=n(60901),s=n(50624),o=n(18865);let l=e=>!!e&&e.$$typeof==Symbol.for("react.forward_ref");var d=n(46798);let c=(0,a.forwardRef)((e,t)=>{let{aspectRatio:n="3/2",errorFallback:c,borderRadius:u,id:f,media:_,className:h,onClick:m,onError:p,sx:g={},lazy:v=!1,fallBackAspectRatio:b,...x}=e,y=(0,a.useRef)(null),k=(0,s.S)(y,{}),C=(0,o.useStadiumTheme)(),S=void 0===u?C.vars.dimensions.medium__cards__radius:u,[E,T]=(0,a.useState)(),[P,w]=(0,a.useState)(!0),[A,I]=(0,a.useState)(!v),M=P&&b?b:n,R=null!=b?b:n,D=(0,a.useRef)();return(0,a.useImperativeHandle)(t,()=>l(_)?D.current:void 0,[]),(0,a.useEffect)(()=>{(null==k?void 0:k.isIntersecting)&&I(!0)},[k]),(0,i.jsxs)(r.Z,{ref:y,width:"100%",borderRadius:S,overflow:"hidden",position:"relative",sx:{aspectRatio:M,...g},className:h,onClick:m,children:[P&&(0,i.jsx)(r.Z,{position:"absolute",width:"100%",children:(0,i.jsx)(d.FallBackMedia,{id:"".concat(f,"/loading_fallback"),aspectRatio:R,variant:"loading"})}),E&&(null!=c?c:(0,i.jsx)(d.FallBackMedia,{id:"".concat(f,"/error_fallback"),aspectRatio:R,children:(0,i.jsx)(d.FallbackError,{id:"".concat(f,"/error_fallback/message"),message:E.message})})),!E&&A&&(0,i.jsx)(r.Z,{position:"relative",children:(0,i.jsx)(_,{ref:D,aspectRatio:n,id:f,...x,onError:function(e){p&&p(e),T(e),w(!1)},onLoad:function(){T(void 0),w(!1)}})})]})})},66066:function(e,t,n){"use strict";n.r(t),n.d(t,{MediaOverlay:function(){return o}});var i=n(90991),a=n(60901),r=n(84336),s=n(18865);let o=e=>{let{id:t,children:n,sx:o,titleComponent:l="span"}=e,d=(0,s.useStadiumTheme)();return(0,i.jsx)(a.Z,{position:"absolute",bottom:0,left:0,display:"flex",width:"100%",padding:d.dimensions.padding__sm,sx:{background:d.mixins.gradient__overlay("0deg"),...o},children:(0,i.jsx)(r.Z,{color:"foreground__oncolor_light.mainChannel",id:t,variant:"bp_small__headings__title__large",sx:{width:"100%"},component:l,children:n})})}},76683:function(e,t,n){"use strict";n.r(t),n.d(t,{TagMedia:function(){return o}});var i=n(90991),a=n(18865),r=n(80885);let s=()=>{},o=e=>{let{alt:t,src:n,aspectRatio:o="3/2",background:l,id:d,sx:c,size:u,className:f,onLoad:_=s}=e,h=(0,a.useStadiumTheme)(),m=null!=u?u:h.vars.dimensions.size__5xl;return(0,i.jsx)(r.T,{id:d,background:l,className:f,src:n,alt:t,sx:{width:"100%",height:"auto",aspectRatio:o,padding:h.vars.dimensions.padding__md,...c},imgProps:{sx:{width:m,height:m},onLoad:function(){_()}}})}},41958:function(e,t,n){"use strict";n.r(t),n.d(t,{VideoMedia:function(){return b}});var i,a,r,s,o=n(90991),l=n(72163),d=n(60901),c=n(86808),u=n(18865),f=n(78485),_=n(46734),h=n(67754);(i=r||(r={})).PLAYBACK_CONTROLS="playback_controls",i.SKIP="skip",i.ERROR="error",i.BUFFERING="buffering",i.CAPTIONS="caption_renderer_overlay",i.TRACK_SELECTOR="track_selector",i.UP_NEXT="up_next",i.RATINGS_ADVISORIES="ratings_advisories",i.AD="ad",i.PAUSE_AD="pause_ad",i.BRIGHTLINE="brightline",i.TICKET_STUB="ticket_stub",i.CAST="cast",i.PLAYER_DEBUG="player_debug",i.VERTICAL_CONTROLS="vertical_controls",i.VPAID="vpaid",i.CONTENT_DISCOVERY="content_discovery",(a=s||(s={})).BACK_BUTTON="player-ux-back-button",a.PLAY_PAUSE_BUTTON="player-ux-play-pause-button",a.VOLUMN_TOGGLE="player-ux-volume-toggle",a.FULLSCREEN="player-ux-fullscreen-button",a.TIMESTAMP="player-ux-scrubber-timestamp",a.SCRUBBER_POSITION="player-ux-scrubber-position",a.SCRUBBER_TRACK="player-ux-scrubber-track",a.ERROR_MESSAGE_TITLE="player-ux-error-title",a.ERROR_MESSAGE_SUBTITLE="player-ux-error-subtitle",a.ERROR_MESSAGE_LINK="player-ux-error-link",a.ERROR_MESSAGE_CODE="player-ux-error-code",a.ERROR_SESSION_ID="player-ux-error-session-id",a.ERROR_EXIT_BUTTON="player-ux-error-exit",a.ERROR_TRY_AGAIN_BUTTON="player-ux-error-try-again",a.SUBTITLE_HEADER="player-ux-text-tracks-header",a.AUDIO_HEADER="player-ux-audio-tracks-header",a.SUBTITLE_OPTION="player-ux-text-track-button",a.AUDIO_OPTION="player-ux-audio-track-button",a.GO_LIVE_BUTTON="player-ux-go-live",a.AD_TIMER="player-ux-ad-timer",a.AD_LABEL="player-ux-ad-label",a.AD_LEARN_MORE="ad-learn-more-button";let m=e=>"[data-testid='".concat(e,"']"),p={BackButton:"".concat(m(r.PLAYBACK_CONTROLS)," ").concat(m(s.BACK_BUTTON)),PlayPauseButton:"".concat(m(r.PLAYBACK_CONTROLS)," ").concat(m(s.PLAY_PAUSE_BUTTON)),VolumnToggle:"".concat(m(r.PLAYBACK_CONTROLS)," ").concat(m(s.VOLUMN_TOGGLE)),FullScreen:"".concat(m(r.PLAYBACK_CONTROLS)," ").concat(m(s.FULLSCREEN)),TimeStamp:"".concat(m(r.PLAYBACK_CONTROLS)," ").concat(m(s.TIMESTAMP)),ScrubberPosition:"".concat(m(r.PLAYBACK_CONTROLS)," ").concat(m(s.SCRUBBER_POSITION)),ScrubberTrack:"".concat(m(r.PLAYBACK_CONTROLS)," ").concat(m(s.SCRUBBER_TRACK)),LiveBackButton:"".concat(m(r.PLAYBACK_CONTROLS)," ").concat(m(s.GO_LIVE_BUTTON)),AudioHeader:"".concat(m(r.TRACK_SELECTOR)," ").concat(m(s.AUDIO_HEADER)),SubtitleHeader:"".concat(m(r.TRACK_SELECTOR)," ").concat(m(s.SUBTITLE_HEADER)),TrackOption:"".concat(m(r.TRACK_SELECTOR)," p"),ErrorWrapper:"".concat(m(r.ERROR)," > div"),ErrorHeader:"".concat(m(r.ERROR)," ").concat(m(s.ERROR_MESSAGE_TITLE)),ErrorMessage:"".concat(m(r.ERROR)," ").concat(m(s.ERROR_MESSAGE_SUBTITLE)),ErrorLink:"".concat(m(r.ERROR)," ").concat(m(s.ERROR_MESSAGE_LINK)),ErrorCode:"".concat(m(r.ERROR)," ").concat(m(s.ERROR_MESSAGE_CODE)),ErrorExitButton:"".concat(m(r.ERROR)," ").concat(m(s.ERROR_EXIT_BUTTON)),ErrorSessionId:"".concat(m(r.ERROR)," ").concat(m(s.ERROR_SESSION_ID)),UpNext:"".concat(m(r.UP_NEXT)," button"),ErrorTryAgainButton:"".concat(m(r.ERROR)," ").concat(m(s.ERROR_TRY_AGAIN_BUTTON)),ErrorContactMessage:"".concat(m(r.ERROR)," ").concat(m(s.ERROR_MESSAGE_SUBTITLE)," + p"),AdLabel:"span".concat(m(s.AD_LABEL)),AdTimer:"".concat(m(s.AD_TIMER)," span"),AdLearnMore:"a".concat(m(s.AD_LEARN_MORE))},g=(0,f.ZP)(h.nk)(e=>{let{theme:t,displayBackButton:n=!0,isFullscreen:i=!1,isLive:a=!1}=e;return{"& #overlay-root":{fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial",[p.BackButton]:{...n?{}:{display:"none",visibility:"hidden"}},[p.PlayPauseButton]:{[t.breakpoints.down("bp_02")]:{...i?{}:{width:"2.4rem",height:"2.4rem",marginTop:"-1rem",padding:"0.3rem"}}},[p.VolumnToggle]:{[t.breakpoints.down("bp_02")]:{...i?{}:{padding:"0.6rem"}}},[p.FullScreen]:{[t.breakpoints.down("bp_02")]:{...i?{}:{padding:"0.6rem 2.2rem 0.6rem 0.6rem"}}},[p.TimeStamp]:{..._.cp.bp_small__ui__label__small,[t.breakpoints.up("bp_02")]:{..._.cp.bp_small__ui__label__medium}},["".concat(p.ScrubberPosition,", ").concat(p.ScrubberTrack)]:{...a?{visibility:"hidden"}:{}},["".concat(p.AudioHeader,", ").concat(p.SubtitleHeader)]:{..._.cp.bp_small__ui__label__medium},[p.TrackOption]:{..._.cp.bp_small__ui__label__small,[t.breakpoints.up("bp_02")]:{..._.cp.bp_small__ui__label__large}},[p.ErrorWrapper]:{background:t.mixins.gradient__wemo__default(),p:{..._.cp.bp_small__body__body__medium}},[p.ErrorHeader]:{..._.cp.bp_small__headings__title__medium},["".concat(p.ErrorMessage,", ").concat(p.ErrorLink,", ").concat(p.ErrorCode,", ").concat(p.ErrorContactMessage)]:{..._.cp.bp_small__ui__label__small,[t.breakpoints.up("bp_02")]:{..._.cp.bp_small__ui__label__medium}},["".concat(p.ErrorExitButton,", ").concat(p.ErrorTryAgainButton)]:{backgroundColor:t.vars.palette.background__alt__surface_01.mainChannel,width:147,padding:"6px 16px",span:{..._.cp.bp_small__ui__label__large_strong,color:"#000"}},[p.ErrorSessionId]:{..._.cp.bp_small__body__body__medium},["".concat(p.AdLabel,", ").concat(p.AdTimer)]:{..._.cp.bp_small__ui__metadata__small,[t.breakpoints.up("bp_02")]:{..._.cp.bp_small__ui__metadata__large}},["".concat(p.AdLabel,", ").concat(p.AdTimer,", ").concat(p.AdLearnMore)]:{fontFamily:"book"},["".concat(p.UpNext)]:{cursor:"pointer"},"p, span":{fontFamily:"Proxima Nova, Proxima Nova Fallback Helvetica, Proxima Nova Fallback Arial"}}}}),v=()=>{},b=(0,l.forwardRef)((e,t)=>{let{id:n,aspectRatio:i="16/9",sx:a={},className:r,mediaRef:s,onLoad:f=v,config:_,metadata:h,playbackEnabled:m=!0,thumbnail:p,...b}=e,x=(0,u.useStadiumTheme)(),[y,k]=(0,l.useState)(!1);return((0,l.useEffect)(()=>{_&&h&&f()},[_,h]),(0,l.useEffect)(()=>{let e=()=>{k(!!document.fullscreenElement)};return document.addEventListener("fullscreenchange",e),document.addEventListener("webkitfullscreenchange",e),()=>{document.removeEventListener("fullscreenchange",e),document.removeEventListener("webkitfullscreenchange",e)}},[]),m)?(0,o.jsx)(d.Z,{ref:t,position:"relative",className:r,id:n,sx:{aspectRatio:i,background:_&&h?"linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 97%)":"",backgroundColor:_&&h?x.vars.palette.surface__level_3.mainChannel:"",...a},children:_&&h&&(0,o.jsx)(g,{id:"".concat(n,"/video"),config:_,metadata:h,displayBackButton:null==_?void 0:_.displayBackButton,isFullscreen:y,isLive:h.initialStreamMode===c.Aw.LIVE,ref:s,...b,sx:{aspectRatio:i}})}):(0,o.jsx)(d.Z,{className:r,sx:a,ref:t,children:p})})},43974:function(e,t,n){"use strict";n.r(t),n.d(t,{XAuthor:function(){return c}});var i=n(90991),a=n(60901),r=n(84336),s=n(83982),o=n(18865),l=n(93404),d=n(80885);let c=e=>{let{id:t,name:n,profileImage:c,verified:u,timestamp:f}=e,_=(0,o.useStadiumTheme)(),h=(0,s.useTimestamp)(f);return(0,i.jsxs)(a.Z,{sx:{display:"flex",alignItems:"top"},children:[(0,i.jsx)(d.T,{id:"".concat(t,"/avatar"),src:null!=c?c:"",size:_.vars.dimensions.size__xl,sx:{marginRight:1,borderRadius:_.vars.dimensions.radius__rounded,padding:0,objectFit:"cover"}}),(0,i.jsxs)(a.Z,{children:[(0,i.jsxs)(r.Z,{variant:"bp_small__body__body__small_strong",sx:{fontWeight:"bold",display:"flex",alignItems:"center",gap:_.vars.dimensions.padding__xxs},children:[n," ",u&&(0,i.jsx)(l.Qw,{fontSize:"inherit"})]}),(0,i.jsx)(r.Z,{variant:"bp_small__ui__metadata__medium",color:"foreground__tertiary.mainChannel",component:"p",children:h})]})]})}},67518:function(e,t,n){"use strict";n.r(t),n.d(t,{XBrandedMedia:function(){return f},XQuote:function(){return _}});var i=n(90991),a=n(72163),r=n(17613),s=n(60901),o=n(84336),l=n(78485);let d=(e,t,n,i)=>{(0,a.useLayoutEffect)(()=>{function a(){if(!n||"object"!=typeof e||"object"!=typeof t||!(null==e?void 0:e.current)||!(null==t?void 0:t.current))return;let a=e.current,r=t.current,s=parseFloat(getComputedStyle(a).paddingTop),o=parseFloat(getComputedStyle(a).paddingBottom),l=a.getBoundingClientRect().height-(Number.isNaN(s)?0:s)-(Number.isNaN(o)?0:o),d=r.getBoundingClientRect().height,c=Array.from(i?a.querySelectorAll(i):[]).map(e=>e.getBoundingClientRect().height).reduce((e,t)=>e+t,0);n(d>l-(null!=c?c:0))}return a(),window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}},[])};var c=n(18865);let u=(0,l.ZP)(s.Z)(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",alignItems:"flex-start",overflow:"hidden",padding:t.vars.dimensions.padding__sm,borderRadius:t.dimensions.default__cards__radius,border:"".concat(t.vars.dimensions.border__sm," solid ").concat(t.vars.palette.border__default.mainChannel),backgroundColor:t.vars.palette.surface__level_2.mainChannel,position:"relative"}}),f=(0,a.forwardRef)((e,t)=>{let{id:n,mediaRef:a,className:l,url:f,component:_,author:h,text:m,media:p,quote:g,footer:v,sx:b={},aspectRatio:x="81/145",onClick:y,onContainerOverflow:k,...C}=e,S=(0,c.useStadiumTheme)();return d(t,a,k,'[id$="/footer"]'),(0,i.jsxs)(u,{component:null!=_?_:"div",href:f,id:n,"data-testid":"".concat(n,"/x-media"),sx:{aspectRatio:x,...b},className:"xBrandedMedia ".concat(l),ref:t,onClick:y,...C,children:[(0,i.jsxs)(r.Z,{ref:a,gap:S.vars.dimensions.padding__sm,maxWidth:"100%",children:[h,p&&(0,i.jsx)(s.Z,{borderRadius:S.vars.dimensions.size__sm,overflow:"hidden",children:p}),m&&(0,i.jsx)(o.Z,{variant:"bp_small__body__body__medium",children:m}),g]}),v]})}),_=(0,l.ZP)(f)(e=>{let{theme:t}=e;return{padding:t.vars.dimensions.padding__xs,borderRadius:t.vars.dimensions.radius__xs,border:"".concat(t.vars.dimensions.border__sm," solid ").concat(t.vars.palette.border__quiet.mainChannel),backgroundColor:t.vars.palette.surface__level_3.mainChannel}})},86279:function(e,t,n){"use strict";n.r(t),n.d(t,{XFooter:function(){return l}});var i=n(90991),a=n(60901),r=n(84336),s=n(18865),o=n(93404);let l=e=>{let{id:t,contentOverflow:n=!1}=e,l=(0,s.useStadiumTheme)();return(0,i.jsxs)(a.Z,{id:t,bottom:"0",display:"flex",width:"100%",left:"0",alignItems:"center",justifyContent:"space-between",position:"absolute",py:l.vars.dimensions.padding__xs,px:l.vars.dimensions.padding__sm,borderTop:n?"".concat(l.vars.dimensions.border__sm," solid ").concat(l.vars.palette.border__default.mainChannel):"none",sx:{backgroundColor:l.vars.palette.surface__level_2.mainChannel,borderBottomRightRadius:l.vars.dimensions.default__cards__radius,borderBottomLeftRadius:l.vars.dimensions.default__cards__radius},className:"xFooter",children:[(0,i.jsx)(r.Z,{variant:"bp_small__body__body__small_strong",fontSize:l.typography.bp_small__body__body__small.fontSize,children:"View on X"}),(0,i.jsx)(o.Jf,{})]})}},3024:function(e,t,n){"use strict";n.r(t),n.d(t,{XMedia:function(){return o}});var i=n(90991),a=n(72163),r=n(60901);let s=()=>{},o=e=>{let{aspectRatio:t="3/2",id:n,sx:o={},className:l,mediaRef:d,onLoad:c=s,onError:u=s,postId:f,createTweet:_}=e,h=(0,a.useCallback)(e=>{d&&"function"==typeof d?d(e):d&&(d.current=e),e&&_&&_(f,e,{lang:"en"}).then(e=>{void 0===e?(console.log("error",e),u(Error("Failed to load post id: ".concat(f)))):c()})},[n,_]);return(0,i.jsx)(r.Z,{id:n,ref:h,display:"flex",justifyContent:"center",sx:{aspectRatio:t,...o},className:l})}},13629:function(e,t,n){"use strict";n.r(t),n.d(t,{XVideoThumbnail:function(){return d}});var i=n(90991),a=n(72163),r=n(60901),s=n(51222),o=n(46798),l=n(4979);let d=e=>{let{id:t,src:n,alt:d="Video thumbnail",aspectRatio:c="16/9",mediaWidth:u,sx:f,mediaSx:_}=e,[h,m]=(0,a.useState)();return(0,i.jsxs)(r.Z,{id:t,display:"block",position:"relative",width:"100%",children:[(!n||h)&&(0,i.jsx)(o.FallBackMedia,{id:"".concat(t,"/fallback_media"),aspectRatio:c}),n&&(0,i.jsx)(l.ImageMedia,{id:"".concat(t,"/image_media"),src:n,aspectRatio:c,alt:d,mediaWidth:u,onError:m,sx:f,mediaSx:_}),(0,i.jsx)(s.o,{"data-testid":"".concat(t,"/play_button"),sx:{fill:"white",stroke:"none",fontSize:"28px",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}})]})}},69246:function(e,t,n){"use strict";n.d(t,{xF:function(){return i.EmbedMedia},FM:function(){return r.FallBackMedia},Gq:function(){return p.G},SP:function(){return p.S},VT:function(){return g.GamecastMediaTeam},xj:function(){return s.ImageMedia},JG:function(){return a.ImageWithFallback},pU:function(){return h.Media},sK:function(){return m.MediaOverlay},vf:function(){return o.TagMedia},bA:function(){return g.TeamAlignment},PZ:function(){return l.VideoMedia},Od:function(){return _.XAuthor},ds:function(){return c.XBrandedMedia},UG:function(){return f.XFooter},iC:function(){return d.XMedia},$K:function(){return c.XQuote},FR:function(){return u.XVideoThumbnail}});var i=n(69589),a=n(28176),r=n(46798),s=n(4979),o=n(76683),l=n(41958),d=n(3024),c=n(67518),u=n(13629),f=n(86279),_=n(43974),h=n(14351),m=n(66066);n(58884);var p=n(67926),g=n(32191)},17470:function(e,t,n){"use strict";n.d(t,{ChannelNavBar:function(){return _}});var i=n(90991),a=n(72163),r=n(32274),s=n(17613),o=n(84336),l=n(210),d=n(44593),c=n(18865),u=n(8758),f=n(97959);let _=e=>{var t,n;let{id:_,data:h,className:m,onDropdownOpen:p,onDropdownClose:g,onTopBarVisibilityChange:v,activeId:b,activeDropdownId:x,sx:y,onClick:k,LinkComponent:C,isDropdownOpen:S,tabIndex:E}=e,T=(0,c.useStadiumTheme)(),P=(0,r.Z)(T.breakpoints.down("desktop__nav")),[w]=null!==(t=null==h?void 0:h.children)&&void 0!==t?t:[],{calculateDirection:A}=(0,d.C7)({downThreshold:100});function I(e){var t;let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(null===(t=null==e?void 0:e.children)||void 0===t?void 0:t.length)&&p(f.Y,e,n)}let M=(0,l.z)(()=>{var e;v&&v("down"===A(null!==(e=window.scrollY)&&void 0!==e?e:0))},[],200);return(0,a.useEffect)(()=>{if(P)return window.addEventListener("scroll",M,{passive:!0}),()=>{window.removeEventListener("scroll",M)}},[P]),(0,i.jsxs)(s.Z,{direction:"row",display:"flex",width:"100%",minHeight:{mobile__nav:T.vars.dimensions.size__4xl,desktop__nav:T.vars.dimensions.size__5xl},className:m,sx:y,children:[(0,i.jsx)(o.Z,{variant:"bp_small__headings__title__large",display:"flex",justifyContent:"center",alignItems:"center",sx:{pr:"1rem",marginTop:{mobile__nav:"-0.3rem",desktop__nav:"-0.5rem"},flexShrink:0},id:"".concat(_,"/title"),children:h.title}),(0,i.jsx)(s.Z,{id:_,direction:"row",alignItems:"stretch",sx:{overflowY:"hidden",...T.mixins.noScroll},children:null===(n=null==w?void 0:w.children)||void 0===n?void 0:n.map(e=>{var t;return(0,i.jsx)(u.O,{id:"".concat(_,"/links/").concat(e.id),href:e.url,LinkComponent:C,onMouseEnter:()=>I(e),onMouseLeave:()=>g(),sx:{px:"1rem",flexShrink:0,"& span":{color:b!==e.id||x?T.vars.palette.foreground__oncolor_light_inactive.mainChannel:T.vars.palette.foreground__oncolor_light.mainChannel,borderBottomColor:b!==e.id||x?"transparent":T.vars.palette.border__oncolor_light.mainChannel}},selected:b===e.id,tabIndex:E,variant:"bp_small__ui__label__large_strong",expandable:!!(null===(t=null==e?void 0:e.children)||void 0===t?void 0:t.length),expanded:x===e.id,onClick:t=>{S?g():I(e),null==k||k(t)},handleExpandableKeyUp:t=>{var n;return n=x===e.id,void("Enter"===t.code&&(n?g(!0):I(e,!0)))},children:e.title},"".concat(_,"/links/").concat(e.id))})})]})}},97427:function(e,t,n){"use strict";n.d(t,{DefaultNavBar:function(){return l}});var i=n(90991),a=n(17613),r=n(18865),s=n(42477),o=n(8758);let l=e=>{var t,n,l;let{id:d,data:c,onDropdownOpen:u,onDropdownClose:f,className:_,activeId:h,activeDropdownId:m,sx:p,onClick:g,LinkComponent:v,tabIndex:b}=e,x=(0,r.useStadiumTheme)(),[y,k]=null!==(t=c.children)&&void 0!==t?t:[];function C(e){var t;let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(null===(t=e.children)||void 0===t?void 0:t.length)&&u(s.D,e,n)}return(0,i.jsxs)(a.Z,{id:d,className:_,direction:"row",display:{mobile__nav:"none",desktop__nav:"flex"},height:"var(--br-navbar_height)",width:"100%",alignSelf:"center",sx:p,children:[(0,i.jsx)(a.Z,{direction:"row",alignItems:"stretch",children:null===(n=null==y?void 0:y.children)||void 0===n?void 0:n.slice(0,5).map(e=>{var t;return(0,i.jsx)(o.O,{id:"".concat(d,"/links/").concat(e.id),href:e.url,onMouseEnter:()=>C(e),onMouseLeave:()=>f(),sx:{px:x.vars.dimensions.padding__xs},selected:h===e.id,expandable:!!(null===(t=null==e?void 0:e.children)||void 0===t?void 0:t.length),expanded:m===e.id,onClick:g,LinkComponent:v,tabIndex:b,handleExpandableKeyUp:t=>{var n;return n=m===e.id,void("Enter"===t.code&&(n?f(!0):C(e,!0)))},children:e.title},e.id)})}),(0,i.jsx)(a.Z,{direction:"row",alignItems:"center",marginLeft:"auto",children:null===(l=null==k?void 0:k.children)||void 0===l?void 0:l.map(e=>(0,i.jsx)(o.O,{id:"".concat(d,"/secondary/").concat(e.id),href:e.url,LinkComponent:v,variant:"bp_small__ui__label__large",sx:{px:x.vars.dimensions.padding__xs},selected:h===e.id,onClick:g,tabIndex:b,expandable:!1,children:e.title},e.id))})]})}},42477:function(e,t,n){"use strict";n.d(t,{D:function(){return u}});var i=n(90991),a=n(82652),r=n(24100),s=n(18865),o=n(80885),l=n(65329),d=n(74686),c=n(21034);let u=e=>{var t,n;let{id:u,data:f,activeId:_,onClick:h,LinkComponent:m,onDropdownCampaignBlur:p}=e,g=(0,s.useStadiumTheme)(),[v,...b]=null!==(t=null==f?void 0:f.children)&&void 0!==t?t:[];return(0,i.jsxs)(a.Z,{id:u,display:"grid",gridTemplateColumns:"1fr repeat(4, minmax(16rem, 1fr)) 1fr",gap:g.vars.dimensions.padding__lg,children:[(0,i.jsx)(a.Z,{display:"grid",gridColumn:"span 1",children:(0,i.jsx)(r.Z,{height:"fit-content",children:(0,i.jsx)(d.LinkGroup,{headline:null==v?void 0:v.title,id:"".concat(u,"/").concat(null==v?void 0:v.id),sx:{alignItems:"flex-start",color:g.vars.palette.foreground__tertiary.mainChannel,display:"grid",gridColumn:"span 1",gridTemplateColumns:{desktop__nav:"minmax(0, 16rem)"}},headlineProps:{sx:{paddingLeft:g.vars.dimensions.padding__sm}},children:null===(n=null==v?void 0:v.children)||void 0===n?void 0:n.map(e=>(0,i.jsx)(c.f,{id:"".concat(u,"/leagues/").concat(null==e?void 0:e.id),href:e.url,selected:_===e.id,variant:"bp_small__headings__title__medium",color:"foreground__link__primary__default",sx:{padding:"".concat(g.vars.dimensions.default__action__top_bottom," ").concat(g.vars.dimensions.default__action__left_right)},onClick:h,LinkComponent:m,children:null==e?void 0:e.title},"".concat(u,"/leagues/").concat(null==e?void 0:e.id)))})})}),(0,i.jsx)(a.Z,{display:"grid",gridColumn:{bp_05:"span 3",bp_06:"span 4"},gridTemplateColumns:"subgrid",sx:{gridRowGap:g.vars.dimensions.padding__2xl,gridColumnGap:g.vars.dimensions.padding__xl},children:null==b?void 0:b.map(e=>{var t;return(0,i.jsx)(d.LinkGroup,{headline:e.title,id:"".concat(u,"/").concat(e.id),sx:{alignItems:"flex-start",color:g.vars.palette.foreground__tertiary.mainChannel},headlineProps:{sx:{paddingLeft:g.vars.dimensions.padding__sm}},children:null===(t=null==e?void 0:e.children)||void 0===t?void 0:t.map(e=>{var t;return(0,i.jsx)(c.f,{id:"".concat(u,"/teams/").concat(e.id),href:e.url,variant:"bp_small__ui__label__large",color:"foreground__link__primary__default",selected:_===e.id,startIcon:(0,i.jsx)(o.T,{src:null!==(t=e.logo)&&void 0!==t?t:"",sx:{backgroundColor:"inherit",padding:0},size:g.vars.dimensions.size__lg}),sx:{minHeight:g.vars.dimensions.size__3xl,padding:"0 ".concat(g.vars.dimensions.default__action__left_right)},onClick:h,LinkComponent:m,children:e.title},"".concat(u,"/teams/").concat(e.id))})},"".concat(u,"/").concat(e.id))})}),(0,i.jsx)(l.Z,{gridColumn:"span 1",id:"".concat(u,"/campaign-container"),onBlur:p})]})}},65329:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(90991),a=n(60901),r=n(30011);let s=e=>{let{id:t,...n}=e;return(0,i.jsx)(a.Z,{id:t,...n,children:(0,i.jsx)(r.l,{type:r._.DesktopNavBarDropdown,id:"".concat(t,"/campaign"),ml:"auto","data-testid":"navbar-wunderkind-campaign"})})}},74686:function(e,t,n){"use strict";n.d(t,{LinkGroup:function(){return o}});var i=n(90991),a=n(17613),r=n(84336),s=n(18865);let o=e=>{let{headline:t,children:n,sx:o,id:l,headlineProps:d}=e,c=(0,s.useStadiumTheme)();return(0,i.jsxs)(a.Z,{gap:c.vars.dimensions.padding__xxs,sx:o,id:l,children:[t&&(0,i.jsx)(r.Z,{...d,variant:"bp_small__headings__header__small",id:"".concat(l,"/title"),children:t}),n]})}},21034:function(e,t,n){"use strict";n.d(t,{f:function(){return l}});var i=n(90991),a=n(84336),r=n(78485),s=n(58680),o=n(93404);let l=e=>{let{selected:t,expandable:n,expanded:r,children:s,LinkComponent:l,variant:c="bp_small__ui__label__large",...u}=e;return(0,i.jsx)(d,{variant:"ghost",selected:t,endIcon:n?(0,i.jsx)(o.LZ,{fill:"currentColor"}):void 0,component:l,...u,children:(0,i.jsx)(a.Z,{variant:c,children:s})})},d=(0,r.ZP)(s.Z)(e=>{let{selected:t,theme:n}=e;return{borderRadius:n.vars.dimensions.radius__xs,justifyContent:"flex-start",textAlign:"left",...t&&{backgroundColor:n.vars.palette.action__surface__ghost__active.mainChannel},"& .MuiButton-endIcon":{marginLeft:"auto"}}})},8758:function(e,t,n){"use strict";n.d(t,{O:function(){return u}});var i=n(90991),a=n(84336),r=n(78485),s=n(58680),o=n(18865),l=n(93404),d=n(60901);let c=e=>{let{id:t,tabIndex:n,component:a,...r}=e;return(0,i.jsx)(d.Z,{id:t,focusable:!0,tabIndex:n,component:a,...r})},u=e=>{let{selected:t,expandable:n,expanded:r,children:s,id:d,LinkComponent:u,variant:_="bp_small__headings__title__large",handleExpandableKeyUp:h,tabIndex:m=0,...p}=e,g=(0,o.useStadiumTheme)();return(0,i.jsx)(f,{id:"".concat(d,"/menu-link"),variant:"ghost",selected:t,expanded:r&&!t,tabIndex:m,endIcon:n?(0,i.jsx)(c,{id:r?"".concat(d,"/menu-link/arrow-up-icon"):"".concat(d,"/menu-link/arrow-down-icon"),component:r?l.Hf:l.ve,fill:"currentColor",tabIndex:r?0:m,onKeyUp:h,alt:r?"Open menu":"Close menu","data-testid":r?"arrow-up-icon":"arrow-down-icon",sx:{height:"100%","&:focus-visible":{...g.mixins.focusVisible,outlineOffset:"-0.15rem"},"&:hover, &:active, &:focus":{backgroundColor:"transparent",color:g.vars.palette.foreground__oncolor_light.mainChannel}}}):void 0,component:u,...p,children:(0,i.jsx)(a.Z,{variant:_,color:t?g.vars.palette.border__oncolor_light.mainChannel:"inherit",children:s})})},f=(0,r.ZP)(s.Z,{shouldForwardProp:e=>"expanded"!==e})(e=>{let{theme:t,selected:n,expanded:i}=e;return{borderRadius:0,height:"100%",padding:0,minWidth:0,color:i?"".concat(t.vars.palette.foreground__oncolor_light.mainChannel," !important"):"","& span":{zIndex:1,display:"flex",alignItems:"center",height:"100%",backgroundColor:"transparent",color:i?"".concat(t.vars.palette.foreground__oncolor_light.mainChannel," !important"):"",borderBottom:"2px solid transparent",borderBottomColor:n?"".concat(t.vars.palette.border__oncolor_light.mainChannel," ").concat(i?"!important":""):"transparent"},"& .MuiButton-endIcon":{marginLeft:0,paddingLeft:"4px"},"&:hover, &:active, &:focus":{backgroundColor:"transparent",color:t.vars.palette.foreground__oncolor_light.mainChannel},"&:after":{content:i&&"''",width:0,height:0,border:"solid transparent",borderWidth:"0 6px 7px 6px",borderBottomColor:t.vars.palette.surface__level_2.mainChannel,position:"absolute",bottom:"-2px"},"&:before":{content:i&&"''",width:0,height:0,border:"solid transparent",borderWidth:"0 7px 8px 7px",borderBottomColor:t.vars.palette.border__default.mainChannel,position:"absolute",bottom:"-2px"}}})},48831:function(e,t,n){"use strict";n.d(t,{Navigation:function(){return M},NavigationLogo:function(){return I},SHORT_NAVBAR:function(){return A},TALL_NAVBAR:function(){return w}});var i=n(90991),a=n(72163),r=n(32274),s=n(60901),o=n(35813),l=n(17613),d=n(94972),c=n(20381),u=n(74418),f=n(78485),_=n(41136),h=n(74800),m=n(46734),p=n(18865),g=n(49338),v=n(93404),b=n(42477),x=n(11526),y=n.n(x),k=JSON.parse('{"v":"4.8.0","meta":{"g":"LottieFiles AE 3.5.7","a":"","k":"","d":"","tc":""},"fr":60,"ip":0,"op":118,"w":500,"h":500,"nm":"BURGER_MENU_EXIT_V2","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":2,"ty":4,"nm":"Shape Layer 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":10,"s":[-45]},{"t":16,"s":[0]}],"ix":10},"p":{"s":true,"x":{"a":0,"k":249.75,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.569],"y":[0.754]},"o":{"x":[0.181],"y":[0.419]},"t":22,"s":[250.375]},{"i":{"x":[0.734],"y":[0.9]},"o":{"x":[0.349],"y":[0.561]},"t":25,"s":[209.717]},{"i":{"x":[0.769],"y":[8.345]},"o":{"x":[0.422],"y":[7.938]},"t":29,"s":[190.472]},{"i":{"x":[0.61],"y":[1.002]},"o":{"x":[0.248],"y":[0.752]},"t":30,"s":[190.375]},{"i":{"x":[0.72],"y":[0.599]},"o":{"x":[0.344],"y":[0.003]},"t":32,"s":[192.397]},{"i":{"x":[0.776],"y":[1]},"o":{"x":[0.426],"y":[0.57]},"t":35,"s":[190.907]},{"t":36,"s":[190.375]}],"ix":4}},"a":{"a":0,"k":[-0.25,-59.125,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":16,"s":[85,85,100]},{"t":22,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-108,-60.062],[108,-60.312]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":25,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":16,"s":[44]},{"t":22,"s":[0]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":16,"s":[56]},{"t":22,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":16,"op":130,"st":16,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Shape Layer 3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[249.75,250.375,0],"ix":2},"a":{"a":0,"k":[-0.25,-59.125,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-108,-60.062],[108,-60.312]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":25,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":3,"nm":"Trim Paths 2","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":22,"op":128,"st":17,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Shape Layer 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":249.75,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.584],"y":[0.836]},"o":{"x":[0.177],"y":[0.526]},"t":22,"s":[250.375]},{"i":{"x":[0.714],"y":[0.974]},"o":{"x":[0.354],"y":[0.68]},"t":26,"s":[303.154]},{"i":{"x":[0.724],"y":[0.261]},"o":{"x":[0.384],"y":[-0.103]},"t":29,"s":[311.309]},{"i":{"x":[0.639],"y":[0.967]},"o":{"x":[0.289],"y":[0.701]},"t":30,"s":[310.375]},{"i":{"x":[0.724],"y":[0.566]},"o":{"x":[0.354],"y":[-0.068]},"t":32,"s":[308.316]},{"i":{"x":[0.768],"y":[1]},"o":{"x":[0.42],"y":[0.566]},"t":35,"s":[309.798]},{"t":36,"s":[310.375]}],"ix":4}},"a":{"a":0,"k":[-0.25,-59.125,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-108,-60.062],[108,-60.312]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":25,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 2","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":22,"op":128,"st":17,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Shape Layer 5","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":90,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-76,-76],[76,76]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":24,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[1],"y":[1]},"o":{"x":[0.312],"y":[0]},"t":0,"s":[0]},{"t":16,"s":[45]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[1],"y":[1]},"o":{"x":[0.312],"y":[0]},"t":0,"s":[100]},{"t":16,"s":[55]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":16,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Shape Layer 4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-76,-76],[76,76]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":24,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[1],"y":[1]},"o":{"x":[0.312],"y":[0]},"t":0,"s":[0]},{"t":16,"s":[45]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[1],"y":[1]},"o":{"x":[0.312],"y":[0]},"t":0,"s":[100]},{"t":16,"s":[55]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":16,"st":0,"bm":0},{"ddd":0,"ind":9,"ty":3,"nm":"Null 4","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":250,"ix":3},"y":{"a":0,"k":250,"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":118,"st":0,"bm":0}],"markers":[]}'),C=JSON.parse('{"v":"4.8.0","meta":{"g":"LottieFiles AE 3.5.7","a":"","k":"","d":"","tc":""},"fr":60,"ip":0,"op":118,"w":500,"h":500,"nm":"BURGER_MENU_ENTER_V2","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":2,"ty":4,"nm":"Shape Layer 1","parent":7,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0,"y":0.997},"o":{"x":1,"y":0.005},"t":0,"s":[-0.25,-59.625,0],"to":[0,0,0],"ti":[0,0,0]},{"t":7,"s":[-0.25,0.375,0]}],"ix":2},"a":{"a":0,"k":[-0.25,-59.125,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-108,-60.062],[108,-60.312]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":25,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":7,"s":[0]},{"t":12,"s":[44]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":7,"s":[100]},{"t":12,"s":[56]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":13,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Shape Layer 5","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":90,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-76,-76],[76,76]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":24,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.688],"y":[1]},"o":{"x":[0],"y":[0]},"t":13,"s":[45]},{"i":{"x":[0.699],"y":[2.004]},"o":{"x":[0.333],"y":[0]},"t":19,"s":[0]},{"i":{"x":[0.605],"y":[1]},"o":{"x":[0.276],"y":[0.719]},"t":26,"s":[3.251]},{"t":36,"s":[0]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.688],"y":[1]},"o":{"x":[0],"y":[0]},"t":13,"s":[55]},{"i":{"x":[0.687],"y":[1.118]},"o":{"x":[0.333],"y":[0]},"t":19,"s":[100]},{"i":{"x":[0.605],"y":[1]},"o":{"x":[0.276],"y":[0.719]},"t":26,"s":[96.749]},{"t":36,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":13,"op":131,"st":13,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Shape Layer 4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-76,-76],[76,76]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":24,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.688],"y":[1]},"o":{"x":[0],"y":[0]},"t":13,"s":[45]},{"i":{"x":[0.699],"y":[2.004]},"o":{"x":[0.333],"y":[0]},"t":19,"s":[0]},{"i":{"x":[0.605],"y":[1]},"o":{"x":[0.276],"y":[0.719]},"t":26,"s":[3.251]},{"t":36,"s":[0]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.688],"y":[1]},"o":{"x":[0],"y":[0]},"t":13,"s":[55]},{"i":{"x":[0.687],"y":[1.118]},"o":{"x":[0.333],"y":[0]},"t":19,"s":[100]},{"i":{"x":[0.605],"y":[1]},"o":{"x":[0.276],"y":[0.719]},"t":26,"s":[96.749]},{"t":36,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":13,"op":131,"st":13,"bm":0},{"ddd":0,"ind":7,"ty":3,"nm":"Null 4","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":250,"ix":3},"y":{"a":0,"k":250,"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":118,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Shape Layer 3","parent":7,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-0.25,0.375,0],"ix":2},"a":{"a":0,"k":[-0.25,-59.125,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-108,-60.062],[108,-60.312]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":25,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":3,"nm":"Trim Paths 2","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":8,"st":0,"bm":0},{"ddd":0,"ind":9,"ty":4,"nm":"Shape Layer 2","parent":7,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0,"y":0.997},"o":{"x":1,"y":0.006},"t":0,"s":[-0.25,60.375,0],"to":[0,0,0],"ti":[0,0,0]},{"t":8,"s":[-0.25,0.375,0]}],"ix":2},"a":{"a":0,"k":[-0.25,-59.125,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-108,-60.062],[108,-60.312]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":25,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 2","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":8,"st":0,"bm":0}],"markers":[]}');let S=e=>{let{open:t,height:n,width:r}=e,[o,l]=(0,a.useState)(),[d,c]=(0,a.useState)(),u=e=>{let{animationDiv:t,animationData:n,setAnimation:i}=e;if(t){let e=y().loadAnimation({container:t,animationData:n,renderer:"svg",loop:!1,autoplay:!1});e.goToAndStop(n.op-1,!0),i(e)}},f=(0,a.useCallback)(e=>{u({animationDiv:e,animationData:C,setAnimation:l})},[]),_=(0,a.useCallback)(e=>{u({animationDiv:e,animationData:k,setAnimation:c})},[]);return(0,a.useEffect)(()=>{o&&d&&(t?o.goToAndPlay(0,!0):d.goToAndPlay(0,!0))},[t]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.Z,{ref:f,sx:{display:o&&t?"flex":"none",height:n,width:r,marginLeft:"-50%"},"data-testid":"nav_icon_open"}),(0,i.jsx)(s.Z,{ref:_,sx:{display:d&&!t?"flex":"none",height:n,width:r,marginLeft:"-50%"},"data-testid":"nav_icon_close"}),(0,i.jsx)(s.Z,{sx:{display:o&&d?"none":"flex",height:n,width:r,marginLeft:"-50%"},"data-testid":"nav_icon_placeholder",children:(0,i.jsx)(v.Oq,{id:t?"open":"close"})})]})};var E=n(97959);let T=(0,h.default)(()=>n.e(12005).then(n.bind(n,12005)).then(e=>e.DesktopGlobalDropdown),{loadableGenerated:{webpack:()=>[12005]},ssr:!0}),P=(0,h.default)(()=>n.e(57012).then(n.bind(n,57012)).then(e=>e.MobileDrawer),{loadableGenerated:{webpack:()=>[57012]},ssr:!0}),w={mobile__nav:"calc(".concat(m.MB.size__4xl," + ").concat(m.MB.size__4xl,")"),desktop__nav:"calc(".concat(m.MB.size__5xl,")")},A={mobile__nav:m.MB.size__4xl,desktop__nav:m.MB.size__5xl},I=()=>(0,i.jsx)(v.ZD,{fontSize:"inherit",sx:{height:"auto",display:"flex",width:{mobile__nav:"40px",desktop__nav:"48px"}}}),M=e=>{let{id:t,globalMenuData:n,navBarData:f,navBar:h,slug:m,logo:v,onClick:x,LinkComponent:y,dropdownExcluded:k=[]}=e,C=(0,a.useRef)(null),{activeDropdownId:w,showDropdown:A,showMobileDrawer:M,handleDrawerOpen:D,handleDrawerClose:N,handleDropdownOpen:L,handleDropdownExit:j,handleDropdownClose:O,Dropdown:B,data:F}=function(e){let[t,n]=(0,a.useState)(),[i,r]=(0,a.useState)(!1),[s,o]=(0,a.useState)(!1),[l,d]=(0,a.useState)();return{showDropdown:i,showMobileDrawer:s,handleDrawerOpen:function(){o(!0)},handleDrawerClose:function(){o(!1)},handleDropdownOpen:function(e,t){r(!0),d(()=>e),n(t)},handleDropdownClose:function(){var t;(null===(t=e.current)||void 0===t?void 0:t.matches(":hover"))||r(!1)},handleDropdownExit:function(){r(!1),d(void 0),n(void 0)},Dropdown:l,data:t,activeDropdownId:i?null==t?void 0:t.id:void 0}}(C),Z=function(e,t){let[n,i]=(0,a.useState)([]),r="".concat(t.startsWith("/")?"":"/").concat(t.toLowerCase().trim()),s=(0,a.useCallback)(e=>e&&e.toLowerCase().trim()===r,[t]);(0,a.useEffect)(()=>{i((function e(t,n,i){if(!n)return[];for(let a of n)if(s(a.url)||a.children&&e(t,a.children,i).length){t.push(a.id);break}return t})([],[e],r).reverse())},[e,t]);let o=(0,a.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=Math.min(n.length,e+t);return n.slice(Math.max(e,0),i).join("/")},[n]),l=(0,a.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return o(0,e)},[n,o]),d=(0,a.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return o(n.length-e,e)},[n,o]);return{at:o,first:l,last:d,full:(0,a.useCallback)(()=>n.join("/"),[n])}}(f,null!=m?m:""),z=(0,p.useStadiumTheme)(),H=(0,r.Z)(z.breakpoints.down("desktop__nav")),U=B===T||M,V=B===E.Y||B===b.D,[$,G]=(0,a.useState)(0),[W,K]=(0,a.useState)(null),q=(0,a.useRef)(null);(0,a.useEffect)(()=>{N(),j()},[H]),(0,a.useEffect)(()=>{G(V||U?-1:0)},[V,U]);let Y=e=>{var t,n,i;!e.currentTarget.contains(e.relatedTarget)&&(G(0),U&&(null===(n=null===(t=q.current)||void 0===t?void 0:t.focus)||void 0===n||n.call(t)),V&&W&&(null===(i=W.focus)||void 0===i||i.call(W)))};return(0,i.jsx)(_.i,{open:U||V,disableRestoreFocus:!0,disableAutoFocus:!0,children:(0,i.jsxs)(s.Z,{onMouseLeave:function(){var e,t,n;null===(t=null===(e=q.current)||void 0===e?void 0:e.blur)||void 0===t||t.call(e),null===(n=null==W?void 0:W.blur)||void 0===n||n.call(W),K(null)},children:[(0,i.jsx)(R,{component:o.Z,justifyContent:"flex-end",sx:{transition:z.transitions.create("height")},children:(0,i.jsxs)(l.Z,{direction:{mobile__nav:"column",desktop__nav:"row"},px:{mobile__nav:0,desktop__nav:z.vars.dimensions.size__2xl},maxWidth:z.mixins.contentMaxWidth,marginX:"auto",width:"100%",children:[(0,i.jsxs)(l.Z,{direction:"row",alignItems:"center",justifyContent:{mobile__nav:"space-between",desktop__nav:"flex-start"},height:{mobile__nav:z.vars.dimensions.size__4xl,desktop__nav:z.vars.dimensions.size__5xl},mr:{desktop__nav:z.vars.dimensions.padding__lg},px:{mobile__nav:z.vars.dimensions.size__lg,desktop__nav:0},"data-mui-color-scheme":"dark",children:[(0,i.jsx)(d.Z,{ref:q,id:"".concat(t,"/menu_button"),"data-testid":"hamburger-button",onClick:function(){A&&O(),H?M?N():D():U?O():L(T,n)},tabIndex:U?0:$,sx:{padding:0,display:"flex","&:focus-visible":{...z.mixins.focusVisible,outlineOffset:"-0.15rem"}},"aria-label":U?"Close Menu":"Open Menu",children:(0,i.jsx)(S,{open:U,height:48,width:48})}),(0,i.jsx)(s.Z,{fontSize:{mobile__nav:z.vars.dimensions.size__2xl,desktop__nav:z.vars.dimensions.size__4xl},"aria-label":"Bleacher Report Home",title:"BR Logo","data-testid":"br-logo-box",children:v||(0,i.jsx)(I,{})}),(0,i.jsx)(s.Z,{display:{mobile__nav:"block",desktop__nav:"none"},width:z.vars.dimensions.size__3xl})]}),(0,i.jsx)(h,{id:"".concat(t,"/nav_bar"),data:f,onDropdownOpen:function(e,n){var i;let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=document.getElementById("".concat(t,"/nav_bar/links/").concat(n.id,"/menu-link"));r&&(K(r),a&&(null===(i=r.focus)||void 0===i||i.call(r))),L(e,n)},onDropdownClose:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];W&&t&&(null===(e=W.focus)||void 0===e||e.call(W)),O()},isDropdownOpen:A,onTopBarVisibilityChange:function(e){document.body.classList.toggle("-shortNav",e)},activeId:Z.at(2),activeDropdownId:w,LinkComponent:y,tabIndex:$,sx:{ml:{mobile__nav:z.vars.dimensions.padding__lg,desktop__nav:0},pr:{mobile__nav:z.vars.dimensions.padding__lg,desktop__nav:0},"&:has(a:hover, a:focus, button:hover, button:focus, + div:hover)":{"a, button":{boxShadow:"none"},"a:hover, button:hover":{span:{color:z.vars.palette.foreground__oncolor_light.mainChannel}}},"a, button":{color:A?z.vars.palette.foreground__tertiary.mainChannel:z.vars.palette.foreground__oncolor_light.mainChannel},"a:focus-visible, button:focus-visible":{...z.mixins.focusVisible}},onClick:x})]})}),(0,i.jsx)(c.ZP,{"data-testid":"mobile-drawer",open:M,anchor:"left",PaperProps:{sx:{backgroundColor:z.vars.palette.surface__level_2.mainChannel,backgroundImage:"none",width:"32rem",padding:"".concat(z.vars.dimensions.padding__lg," ").concat(z.vars.dimensions.padding__md," ").concat(z.vars.dimensions.padding__3xl),...z.mixins.scroll}},ModalProps:{slotProps:{backdrop:{onClick:N,sx:{...z.mixins.blur}}}},children:(0,i.jsx)(P,{id:"".concat(t,"/mobile_drawer"),activeId:Z.last(),data:n,activePaths:Z,handleDrawerClose:N,onClick:x,LinkComponent:y,dropdownExcluded:k})}),(0,i.jsx)(u.Z,{in:A,mountOnEnter:!0,unmountOnExit:!0,onMouseLeave:"navbar"===w?void 0:O,onExited:j,onBlur:Y,children:(0,i.jsx)(s.Z,{ref:C,sx:{backgroundColor:z.vars.palette.surface__level_2.mainChannel,top:"var(--br-navbar_height)",zIndex:5},width:"100%",position:"fixed",children:(0,i.jsx)(s.Z,{maxWidth:z.mixins.contentMaxWidth,margin:"auto",padding:"".concat(z.vars.dimensions.padding__xl," ").concat(z.vars.dimensions.padding__2xl," ").concat(z.vars.dimensions.padding__3xl),maxHeight:"80vh",sx:{overflow:"auto",overscrollBehavior:"contain",...z.mixins.scroll},children:(0,i.jsx)(g.t,{sx:{margin:"auto",width:"100%"},children:B&&(0,i.jsx)(B,{id:"".concat(t,"/dropdown"),data:F,activeId:Z.last(),activePaths:Z,className:"menu",onClick:x,LinkComponent:y,dropdownExcluded:k,onDropdownCampaignBlur:Y})})})})})]})})},R=(0,f.ZP)(s.Z)(e=>{let{theme:t}=e;return{height:"var(--br-navbar_height)","a, button":{color:t.vars.palette.foreground__oncolor_light.mainChannel,transition:t.transitions.create("color",{duration:t.transitions.duration.shorter})}}})},97959:function(e,t,n){"use strict";n.d(t,{Y:function(){return d}});var i=n(90991),a=n(82652),r=n(18865),s=n(80885),o=n(74686),l=n(21034);let d=e=>{var t;let{id:n,data:d,LinkComponent:c,onClick:u}=e,f=(0,r.useStadiumTheme)(),_=null!==(t=d.children)&&void 0!==t?t:[];return(0,i.jsx)(a.Z,{id:n,display:"grid",gridTemplateColumns:{mobile__nav:"repeat(1, 1fr)",bp_02:"repeat(2, minmax(16rem, 1fr))",bp_03:"repeat(3, minmax(16rem, 1fr))",desktop__nav:"repeat(6, minmax(16rem, 1fr))"},sx:{gridRowGap:f.vars.dimensions.padding__2xl,gridColumnGap:f.vars.dimensions.padding__xl},children:null==_?void 0:_.map(e=>{var t;return(0,i.jsx)(o.LinkGroup,{headline:e.title,id:"".concat(n,"/").concat(e.id),headlineProps:{sx:{paddingLeft:f.vars.dimensions.padding__sm}},children:null===(t=e.children)||void 0===t?void 0:t.map(e=>{var t;return(0,i.jsx)(l.f,{id:"".concat(n,"/teams/").concat(e.id),variant:"bp_small__ui__label__large",href:e.url,color:"foreground__link__primary__default",startIcon:(0,i.jsx)(s.T,{src:null!==(t=e.logo)&&void 0!==t?t:"",sx:{backgroundColor:"inherit",padding:0},size:f.vars.dimensions.size__lg}),onClick:u,sx:{minHeight:f.vars.dimensions.size__3xl,padding:"0 ".concat(f.vars.dimensions.default__action__left_right)},LinkComponent:c,children:e.title},e.id)})},e.id)})})}},66059:function(e,t,n){"use strict";n.r(t),n.d(t,{Outbrain:function(){return l}});var i=n(90991),a=n(72163),r=n(1268),s=n(60901),o=n(18865);let l=e=>{let{id:t,slug:n,country:l="US"}=e,d=(0,o.useStadiumTheme)(),[c,u]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{u(!0)},[]),(0,i.jsx)(s.Z,{id:t,className:"outbrain-container","data-testid":"outbrain-container",sx:{zIndex:0,...c&&"dark"===d.palette.mode&&{".ob-rec-text":{color:"white !important"},".ob-rec-description":{color:"white !important"},".ob-widget-header":{color:"white !important"}},[d.breakpoints.down("bp_04")]:{".ob-widget":{width:"100% !important",minWidth:"0 !important"}}},children:(0,i.jsx)(r.OutbrainWidget,{dataSrc:"https://bleacherreport.com/".concat(n),dataWidgetId:"AR_".concat("US"===l?"8":"9")})})};t.default=l},21765:function(e,t,n){"use strict";n.d(t,{PinnedContent:function(){return c}});var i=n(90991),a=n(95944),r=n(17613),s=n(60901),o=n(84336),l=n(94972),d=n(18865);let c=e=>{let{id:t,media:n,headline:c,overline:u,onDismiss:f,sx:_={},onClick:h}=e,m=(0,d.useStadiumTheme)();return(0,i.jsxs)(r.Z,{id:t,gap:m.vars.dimensions.padding__md,direction:"row",width:"100%",paddingX:m.vars.dimensions.padding__sm,paddingY:m.vars.dimensions.padding__md,sx:{backgroundColor:m.vars.palette.surface__level_3.mainChannel,..._},children:[(0,i.jsx)(s.Z,{borderRadius:m.vars.dimensions.small__cards__radius,overflow:"hidden",onClick:h,sx:{flexBasis:"100%"},children:n}),(0,i.jsxs)(r.Z,{gap:m.vars.dimensions.padding__xs,sx:{flexBasis:"100%"},children:[(0,i.jsx)(o.Z,{id:"".concat(t,"/overline"),variant:"bp_small__ui__label__small_strong",color:"foreground__tertiary.mainChannel",component:"h2",children:u}),(0,i.jsx)(o.Z,{id:"".concat(t,"/title"),variant:"bp_small__headings__title__small",color:"foreground__primary.mainChannel",children:c})]}),(0,i.jsx)(l.Z,{id:"".concat(t,"/close_button"),onClick:()=>{f&&f()},size:"small",sx:{alignSelf:"flex-start",width:"16px",height:"16px"},children:(0,i.jsx)(a.Z,{fontSize:"small"})})]})}},57920:function(e,t,n){"use strict";n.d(t,{Reveal:function(){return l}});var i=n(90991),a=n(72163),r=n(60901),s=n(50624);let o=()=>{},l=e=>{let{children:t,threshold:n,height:l,onVisibilityChange:d=o}=e,[c,u]=(0,a.useState)(!1),f=(0,a.useRef)(null);n&&!l&&console.log("Unable to set an intersection threshold without specifying a height");let _=Array.isArray(n)?n:[n],h=(0,s.S)(f,{root:null,rootMargin:"0px",threshold:l?_:[0]});return(0,a.useEffect)(()=>{h&&!c&&(u(h.isIntersecting),d(h.isIntersecting))},[h]),(0,i.jsx)("div",{ref:f,children:c?t:(0,i.jsx)(r.Z,{height:l})})}},40005:function(e,t,n){"use strict";n.d(t,{ArrowDownIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>{let{id:t,...n}=e;return(0,i.jsx)(a.Z,{width:"21",height:"21",viewBox:"0 0 21 21",xmlns:"http://www.w3.org/2000/svg",...n,children:(0,i.jsx)("g",{id:t,children:(0,i.jsx)("path",{id:"".concat(t,"/icon"),d:"M10.5832 13.9562L4.6665 8.0395L5.83317 6.87283L10.5832 11.6228L15.2498 6.95617L16.4165 8.12283L10.5832 13.9562Z"})})})}},10008:function(e,t,n){"use strict";n.d(t,{ArrowLeftIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsx)(a.Z,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{d:"M14.1 19.1L7 12L14 5L15.4 6.4L9.8 12L15.5 17.7L14.1 19.1Z"})})},46562:function(e,t,n){"use strict";n.d(t,{ArrowRightIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsx)(a.Z,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{d:"M9.4 19.1L8 17.7L13.7 12L8.1 6.4L9.5 5L16.5 12L9.4 19.1Z"})})},99009:function(e,t,n){"use strict";n.d(t,{ArrowUpIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>{let{id:t,...n}=e;return(0,i.jsx)(a.Z,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:(0,i.jsx)("g",{id:t,children:(0,i.jsx)("path",{id:"".concat(t,"/icon"),d:"M9.91634 6.80662L15.833 12.7233L14.6663 13.89L9.91634 9.13995L5.24968 13.8066L4.08301 12.64L9.91634 6.80662Z",fill:"currentColor"})})})}},47290:function(e,t,n){"use strict";n.d(t,{BRBrandIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>{let{id:t,...n}=e;return(0,i.jsxs)(a.Z,{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",id:t,...n,children:[(0,i.jsx)("g",{id:t,opacity:"0.4",clipPath:"url(#".concat(t,"/clip0_21787_74)"),children:(0,i.jsxs)("g",{id:"".concat(t,"/ic_BR-logo"),children:[(0,i.jsx)("path",{d:"M19.5363 36.194L17.7684 34.3999H13.2297V43.1999H17.7684L19.5363 41.4058V36.194Z",fill:"white"}),(0,i.jsx)("path",{d:"M13.2297 20.7999V29.5999H17.7684L19.5363 27.8058V22.594L17.7684 20.7999H13.2297Z",fill:"white"}),(0,i.jsx)("path",{d:"M49.3628 20.7999H44.7937V29.5999H49.3628L51.1426 27.8058V22.594L49.3628 20.7999Z",fill:"white"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M64.5 8H0.5V56H64.5V8ZM8.5 16H19.7279L24.2666 20.6059V29.7941L22.0928 32L24.2666 34.2059V43.3941L19.7279 48H8.5V16ZM52.5577 33.1683L56.5001 48H51.7385L48.1235 34.4H44.7944V48H40.0328V16H51.3358L55.9049 20.6059V29.7941L52.5577 33.1683ZM28.1203 38.8571L36.1788 30.8234V25.1428L28.1203 33.1764V38.8571Z",fill:"white"})]})}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"".concat(t,"/clip0_21787_74"),children:(0,i.jsx)("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)"})})})]})}},3539:function(e,t,n){"use strict";n.d(t,{BRLogoIcon:function(){return s}});var i=n(90991),a=n(53512),r=n(18865);let s=e=>{let t=(0,r.useStadiumTheme)();return(0,i.jsxs)(a.Z,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 1200",...e,children:[(0,i.jsx)("title",{children:"Bleacher Report"}),(0,i.jsxs)("g",{children:[(0,i.jsx)("rect",{width:"1600",height:"1200",fill:t.vars.palette.foreground__primary.mainChannel}),(0,i.jsx)("path",{fill:t.vars.palette.foreground__inverse.mainChannel,d:"M484.85 200H200v800h284.85L600 884.85v-229.7L544.85 600 600 544.85v-229.7zM320 540V320h115.15L480 364.85v130.3L435.15 540zm115.15 120L480 704.85v130.3L435.15 880H320V660zM1415 1000l-99.35-370.79 84.35-84.36v-229.7L1284.85 200H1000v800h120V660h83.9l91.1 340zm-295-680h115.15l44.85 44.85v130.3L1235.15 540H1120zM700 770.71l200-200V429.29l-200 200v141.42z"})]})]})}},94560:function(e,t,n){"use strict";n.d(t,{CalendarIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>{let{id:t,...n}=e;return(0,i.jsx)(a.Z,{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:(0,i.jsx)("g",{id:t,children:(0,i.jsx)("path",{id:"".concat(t,"/icon"),d:"M4.5 9V6H22.2V4H18.3V2H16.3V4H8.3V2H6.3V4H2.5L2.6 21H22.4V9H4.5ZM20.4 14H16.3V11H20.4V14ZM10.3 14V11H14.4V14H10.3ZM14.4 16V19H10.3V16H14.4ZM8.4 11V14H4.5V11H8.4ZM4.6 16H8.5V19H4.6V16ZM16.3 19V16H20.4V19H16.3Z"})})})}},13960:function(e,t,n){"use strict";n.d(t,{CancelIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsxs)(a.Z,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","data-testid":"caret-icon",...e,children:[(0,i.jsx)("path",{d:"M12 10.6L15 7.5L16.4 8.9L13.4 12L16.4 15L15 16.4L12 13.4L9 16.4L7.6 15L10.6 12L7.5 8.9L8.9 7.5L12 10.6Z"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 12C2 6.5 6.5 2 12 2C17.5 2 22 6.5 22 12C22 17.5 17.5 22 12 22C6.5 22 2 17.5 2 12ZM4 11.9C4 16.3 7.6 19.9 12 19.9C16.4 19.9 20 16.3 20 11.9C20 7.5 16.4 3.9 12 3.9C7.6 3.9 4 7.5 4 11.9Z"})]})},3731:function(e,t,n){"use strict";n.d(t,{CaretIcon:function(){return a}});var i=n(90991);let a=e=>(0,i.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-testid":"caret-icon",...e,children:(0,i.jsx)("g",{id:"16/Scores_Arrow_Down",children:(0,i.jsx)("path",{id:"Icon",d:"M3.50391 6.27344H11.5039L10.7039 7.27344L7.50391 11.2734L3.50391 6.27344Z",fill:e.fill})})})},56117:function(e,t,n){"use strict";n.d(t,{CaretUpIcon:function(){return a}});var i=n(90991);let a=e=>(0,i.jsx)("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-testid":"caret-up-icon",...e,children:(0,i.jsx)("path",{d:"M14.8799 13.9473H4.87988L5.87988 12.6973L9.87988 7.69727L14.8799 13.9473Z",fill:e.fill})})},758:function(e,t,n){"use strict";n.d(t,{CheckIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>{var t;return(0,i.jsx)(a.Z,{...e,children:(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M8.4 18.6L3 13.3L4.4 11.8L8.4 15.8L19.6 5L21 6.4L8.4 18.6Z",fill:null!==(t=null==e?void 0:e.fill)&&void 0!==t?t:"white"})})})}},79482:function(e,t,n){"use strict";n.d(t,{CloseIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsx)(a.Z,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:(0,i.jsx)("path",{d:"M17.3848 4.65696L11.7279 10.3138L6.07107 4.65696L4.65685 6.07117L10.3137 11.728L4.65685 17.3849L6.07107 18.7991L11.7279 13.1422L17.3848 18.7991L18.799 17.3849L13.1421 11.728L18.799 6.07117L17.3848 4.65696Z"})})},21516:function(e,t,n){"use strict";n.d(t,{CommentsIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsx)(a.Z,{...e,children:(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",children:[(0,i.jsx)("path",{d:"M12.2497 14.5002L8.11634 11.1002H1.58301V1.8335H14.9163V11.1002H13.583V3.16683H2.91634V9.76683H8.58301L10.9163 11.7002V9.76683H12.2497V14.5002Z"}),(0,i.jsx)("path",{d:"M12.2497 4.4335H4.24967V5.76683H12.2497V4.4335Z"}),(0,i.jsx)("path",{d:"M4.24967 7.10016H8.24967V8.4335H4.24967V7.10016Z"})]})})},45418:function(e,t,n){"use strict";n.d(t,{EllipseIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsx)(a.Z,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 9 9",width:"9",height:"9","data-testid":"ellipse-icon",...e,children:(0,i.jsx)("circle",{cx:"4.5",cy:"4.5",r:"3.5",stroke:e.stroke||"currentColor",fill:e.fill})})},59718:function(e,t,n){"use strict";n.d(t,{ErrorIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsx)(a.Z,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 12C2 17.5065 6.48345 21.99 12 21.99V22C17.5165 22 22 17.5165 22 12C22 6.48345 17.5165 2 12 2C6.48345 2 2 6.49348 2 12ZM4.00602 12C4.00602 7.58676 7.59679 4.00602 12 4.00602C16.4132 4.00602 19.994 7.58676 19.994 12C19.994 16.4132 16.4132 19.994 12 19.994C7.58676 19.994 4.00602 16.4132 4.00602 12ZM13.0041 9.81348V14.0261H10.998V9.81348V6.0522H13.0041V9.81348ZM11.0078 15.9919H13.0138V17.9979H11.0078V15.9919Z",fill:"white"})})},75470:function(e,t,n){"use strict";n.d(t,{FacebookIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsx)(a.Z,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 12.0452C3 16.5226 6.24 20.2312 10.515 21L10.5683 20.9562C10.5656 20.9557 10.563 20.9552 10.5604 20.9547V14.5779H8.31035V12.0452H10.5604V10.0552C10.5604 7.79393 12.0004 6.5276 14.0704 6.5276C14.7004 6.5276 15.4204 6.61805 16.0504 6.7085V9.01504H14.8804C13.8004 9.01504 13.5304 9.55775 13.5304 10.2814V12.0452H15.9154L15.5104 14.5779H13.5304V20.9547C13.5028 20.9598 13.4753 20.9647 13.4478 20.9694L13.485 21C17.76 20.2312 21 16.5226 21 12.0452C21 7.07035 16.95 3 12 3C7.05 3 3 7.07035 3 12.0452Z"})})},20970:function(e,t,n){"use strict";n.d(t,{FireIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsx)(a.Z,{...e,children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",children:(0,i.jsx)("path",{d:"M13.3333 8.66671C13.1333 7.06671 12.1333 6.13337 11.3333 5.33337C10.4667 4.46671 9.73333 3.73337 9.53333 2.26671L9.46667 1.33337L8.53333 1.80004C7 2.60004 6.53333 4.00004 6.46667 5.20004C5.86667 4.80004 5.6 4.20004 5.6 4.20004L5.2 3.46671L4.53333 4.00004C3.26667 5.00004 2 6.93337 2 9.13337C2 10.8 2.73333 12.2667 4.2 13.4C5.26667 14.2667 6.53333 14.6667 7.86667 14.6667C8.86667 14.6667 9.86667 14.4 10.8 13.8667C12.6667 12.8 13.6 10.8667 13.3333 8.66671ZM5.66667 12.8C5.46667 12.6 5.06667 11.8667 5.66667 10.9334C6.13333 10.2667 6.4 9.66671 6.53333 9.13337C6.93333 9.46671 7.4 10.0667 7.4 11.1334V12.1334L8.33333 11.7334C8.4 11.7334 9.2 11.3334 9.86667 10.5334C10.0667 11.2 10.2 12.0667 9.6 13C8.46667 13.4667 7 13.5334 5.66667 12.8ZM11.4 11.6C11.4 10.3334 10.8667 9.20004 10.4 8.66671L9.6 7.73337L9.2 8.86671C9.06667 9.33337 8.8 9.66671 8.53333 9.93337C8.13333 8.40004 6.93333 7.66671 6.2 7.46671L5.46667 7.26671L5.4 8.06671C5.4 8.06671 5.26667 9.00004 4.53333 10.1334C4.26667 10.5334 4.13333 10.9334 4.06667 11.3334C3.6 10.6667 3.33333 9.93337 3.33333 9.13337C3.33333 7.73337 4.06667 6.40004 4.86667 5.53337C5.26667 6.00004 6 6.66671 7.13333 6.93337L8.2 7.20004L7.93333 6.06671C7.93333 6.00004 7.53333 4.53337 8.46667 3.53337C8.86667 4.80004 9.66667 5.60004 10.4 6.33337C11.2 7.13337 11.8667 7.80004 12 8.93337C12.1333 9.93337 11.9333 10.8667 11.4 11.6Z"})})})},96944:function(e,t,n){"use strict";n.d(t,{Field:function(){return u}});var i=n(90991),a=n(53512),r=n(18865);let s=(e,t,n)=>e+(t-e)*n,o={x:s(43.5711,77.4219,.5),y:59.537},l={x:s(461.726,427.875,.5),y:59.537},d=(e,t,n,i)=>s("left"===i?t:n,"left"===i?n:t,e/100),c=function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:7;return"".concat([e,t-i].join(",")," ").concat([e+("left"===n?-i:i),t].join(",")," ").concat([e,t+i].join(","))},u=e=>{let t=(0,r.useStadiumTheme)(),{currentPosition:n,startingPosition:s,firstDownPosition:u,direction:f,..._}=e,h=d(s,o.x,l.x,f),m=d(n,o.x,l.x,f),p=d(u,77.4219,427.875,f),g=d(u,43.5711,461.726,f);return(0,i.jsxs)(a.Z,{width:"506",height:"111",viewBox:"0 0 506 111",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:[(0,i.jsx)("path",{d:"M504.648 84.7747H0.648438L41.8313 41.5361H462.158L504.648 84.7747Z",fill:"#008F55"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M84.1806 84.7747L110.426 41.5361H76.3069L42.1875 84.7747H84.1806ZM181.29 41.5361L168.167 84.7747H126.174L145.858 41.5361H181.29ZM218.034 41.5361L211.472 84.7747H252.649V41.5361H218.034ZM293.774 84.7747L287.264 41.5361H323.719L336.738 84.7747H293.774ZM378.401 84.7747L358.872 41.5361H394.024L420.063 84.7747H378.401Z",fill:"#00B66A"}),(0,i.jsx)("path",{d:"M427.875 41.5361L461.726 84.7747H504.649L462.144 41.5361H427.875Z",fill:"#99989F"}),(0,i.jsx)("path",{d:"M77.4219 41.5361L43.5711 84.7747H0.648102L41.8599 41.5361H77.4219Z",fill:"#99989F"}),(0,i.jsx)("path",{d:"M10.1074 55.0479C10.1074 63.3447 10.1074 60.3579 10.1074 64.5063",stroke:"#3D3C41",strokeWidth:"2",strokeLinecap:"round"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.0729 1C26.0729 0.723858 25.849 0.5 25.5729 0.5C25.2967 0.5 25.0729 0.723858 25.0729 1V37.7199C25.0729 37.8596 25.0144 37.9929 24.9117 38.0876L18.7772 43.7415C16.6222 43.7833 14.9265 44.2367 13.6113 45.0125V9.10724C13.6113 8.8311 13.3875 8.60724 13.1113 8.60724C12.8352 8.60724 12.6113 8.8311 12.6113 9.10724V45.7236C12.1605 46.1072 11.7687 46.5399 11.4307 47.0155C10.0122 49.011 9.60742 51.6736 9.60742 54.3723C9.60742 54.6485 9.83128 54.8723 10.1074 54.8723C10.3836 54.8723 10.6074 54.6485 10.6074 54.3723C10.6074 51.7374 11.0103 49.3329 12.2457 47.5948C12.3597 47.4345 12.4814 47.2789 12.6113 47.1288V47.3618C12.6113 48.6689 14.1668 49.3507 15.1279 48.4648L25.5894 38.8229C25.8976 38.5389 26.0729 38.1389 26.0729 37.7199V1ZM13.6113 46.2084V47.3618C13.6113 47.7975 14.1298 48.0248 14.4502 47.7295L17.6154 44.8123C15.8949 44.9921 14.5947 45.4904 13.6113 46.2084Z",fill:"#E8A803"}),(0,i.jsx)("path",{d:"M495.791 55.0479C495.791 63.3447 495.791 60.3579 495.791 64.5063",stroke:"#3D3C41",strokeWidth:"2",strokeLinecap:"round"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M479.826 1C479.826 0.723858 480.049 0.5 480.326 0.5C480.602 0.5 480.826 0.723858 480.826 1V37.7199C480.826 37.8596 480.884 37.9929 480.987 38.0876L487.121 43.7415C489.276 43.7833 490.972 44.2367 492.287 45.0125V9.10724C492.287 8.8311 492.511 8.60724 492.787 8.60724C493.063 8.60724 493.287 8.8311 493.287 9.10724V45.7236C493.738 46.1072 494.13 46.5399 494.468 47.0155C495.886 49.011 496.291 51.6736 496.291 54.3723C496.291 54.6485 496.067 54.8723 495.791 54.8723C495.515 54.8723 495.291 54.6485 495.291 54.3723C495.291 51.7374 494.888 49.3329 493.653 47.5948C493.539 47.4345 493.417 47.2789 493.287 47.1288V47.3618C493.287 48.6689 491.732 49.3507 490.771 48.4648L480.309 38.8229C480.001 38.5389 479.826 38.1389 479.826 37.7199V1ZM492.287 46.2084V47.3618C492.287 47.7975 491.769 48.0248 491.448 47.7295L488.283 44.8123C490.003 44.9921 491.304 45.4904 492.287 46.2084Z",fill:"#E8A803"}),(0,i.jsx)("path",{d:"M245.334 103.986L245.844 103.436C246.284 103.996 246.864 104.316 247.684 104.316C248.594 104.316 249.224 103.696 249.224 102.886C249.224 102.006 248.594 101.446 247.694 101.446C247.104 101.446 246.604 101.636 246.154 102.076L245.544 101.866V98.2655H249.624V99.0055H246.374V101.326C246.694 101.006 247.264 100.726 247.934 100.726C249.044 100.726 250.054 101.486 250.054 102.856C250.054 104.216 249.024 105.056 247.684 105.056C246.554 105.056 245.834 104.646 245.334 103.986ZM251.082 101.606C251.082 99.9755 251.802 98.1655 253.632 98.1655C255.452 98.1655 256.182 99.9755 256.182 101.606C256.182 103.226 255.452 105.056 253.632 105.056C251.802 105.056 251.082 103.226 251.082 101.606ZM255.332 101.606C255.332 100.276 254.902 98.9055 253.632 98.9055C252.362 98.9055 251.932 100.276 251.932 101.606C251.932 102.936 252.362 104.316 253.632 104.316C254.902 104.316 255.332 102.936 255.332 101.606Z",fill:t.vars.palette.foreground__primary.mainChannel}),(0,i.jsx)("path",{d:"M376.028 104.936H371.448V104.276C373.848 102.386 375.148 101.276 375.148 100.126C375.148 99.2755 374.448 98.9055 373.758 98.9055C372.958 98.9055 372.338 99.2455 371.948 99.7455L371.438 99.2155C371.948 98.5455 372.818 98.1655 373.758 98.1655C374.868 98.1655 375.998 98.7955 375.998 100.126C375.998 101.486 374.618 102.726 372.758 104.196H376.028V104.936ZM377.297 101.606C377.297 99.9755 378.017 98.1655 379.847 98.1655C381.667 98.1655 382.397 99.9755 382.397 101.606C382.397 103.226 381.667 105.056 379.847 105.056C378.017 105.056 377.297 103.226 377.297 101.606ZM381.547 101.606C381.547 100.276 381.117 98.9055 379.847 98.9055C378.577 98.9055 378.147 100.276 378.147 101.606C378.147 102.936 378.577 104.316 379.847 104.316C381.117 104.316 381.547 102.936 381.547 101.606Z",fill:t.vars.palette.foreground__primary.mainChannel}),(0,i.jsx)("path",{d:"M120.891 104.936H116.311V104.276C118.711 102.386 120.011 101.276 120.011 100.126C120.011 99.2755 119.311 98.9055 118.621 98.9055C117.821 98.9055 117.201 99.2455 116.811 99.7455L116.301 99.2155C116.811 98.5455 117.681 98.1655 118.621 98.1655C119.731 98.1655 120.861 98.7955 120.861 100.126C120.861 101.486 119.481 102.726 117.621 104.196H120.891V104.936ZM122.16 101.606C122.16 99.9755 122.88 98.1655 124.71 98.1655C126.53 98.1655 127.26 99.9755 127.26 101.606C127.26 103.226 126.53 105.056 124.71 105.056C122.88 105.056 122.16 103.226 122.16 101.606ZM126.41 101.606C126.41 100.276 125.98 98.9055 124.71 98.9055C123.44 98.9055 123.01 100.276 123.01 101.606C123.01 102.936 123.44 104.316 124.71 104.316C125.98 104.316 126.41 102.936 126.41 101.606Z",fill:t.vars.palette.foreground__primary.mainChannel}),(0,i.jsx)("line",{x1:p,y1:41.5361,x2:g,y2:84.7747,stroke:"#F6E05E",strokeWidth:1,strokeLinecap:"round"}),(0,i.jsx)("line",{x1:h,y1:59.537,x2:m,y2:59.537,stroke:"white",strokeWidth:"2"}),(0,i.jsx)("circle",{cx:h,cy:59.537,r:4.7,fill:"white"}),(0,i.jsx)("polygon",{points:c(m,59.537,f),fill:"#E9173D",stroke:"#68676D",strokeLinejoin:"round"})]})}},26946:function(e,t,n){"use strict";n.d(t,{E:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsxs)(a.Z,{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,i.jsx)("path",{d:"M8 13.1631H16L15.2 14.1631L12 18.1631L8 13.1631Z",fill:"#02CC77"}),(0,i.jsx)("path",{d:"M16 11.1631L8 11.1631L8.8 10.1631L12 6.16309L16 11.1631Z",fill:"#FF4D6D"})]})},51751:function(e,t,n){"use strict";n.d(t,{LightningBolt:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsx)(a.Z,{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",...e,children:(0,i.jsx)("path",{d:"M9.442 4.55018H6.74171C6.51789 4.55018 6.34912 4.37096 6.39037 4.17708L7.19938 0.374351C7.2727 0.0297109 6.74843 -0.14685 6.54229 0.15306L2.05228 6.68562C1.90797 6.89558 2.07949 7.1639 2.35802 7.1639H5.05035C5.27279 7.1639 5.44121 7.34103 5.40231 7.53405L4.57705 11.6287C4.50722 11.9751 5.03659 12.1465 5.23777 11.8425L9.75077 5.02397C9.88978 4.81394 9.71789 4.55018 9.442 4.55018Z",fill:"white"})})},4757:function(e,t,n){"use strict";n.d(t,{LinkIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsx)(a.Z,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{d:"M11.1 18H6C4.3 18 2.875 17.425 1.725 16.275C0.575 15.125 0 13.7 0 12C0 10.3 0.575 8.875 1.725 7.725C2.875 6.575 4.3 6 6 6H11.1V7.8H6C4.8 7.8 3.8 8.2 3 9C2.2 9.8 1.8 10.8 1.8 12C1.8 13.2 2.2 14.2 3 15C3.8 15.8 4.8 16.2 6 16.2H11.1V18ZM7.35 12.9V11.1H16.65V12.9H7.35ZM12.9 18V16.2H18C19.2 16.2 20.2 15.8 21 15C21.8 14.2 22.2 13.2 22.2 12C22.2 10.8 21.8 9.8 21 9C20.2 8.2 19.2 7.8 18 7.8H12.9V6H18C19.7 6 21.125 6.575 22.275 7.725C23.425 8.875 24 10.3 24 12C24 13.7 23.425 15.125 22.275 16.275C21.125 17.425 19.7 18 18 18H12.9Z"})})},17133:function(e,t,n){"use strict";n.d(t,{LoadingIcon:function(){return u}});var i=n(90991),a=n(72163),r=n(60901),s=n(11526),o=n.n(s),l=JSON.parse('{"v":"4.8.0","meta":{"g":"LottieFiles AE 3.5.8","a":"","k":"","d":"","tc":""},"fr":60,"ip":0,"op":371,"w":500,"h":500,"nm":"Spinner Animation","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":3,"nm":"Null 26","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.672,0.672,0.667],"y":[0.951,0.951,1.003]},"o":{"x":[0.34,0.34,0.333],"y":[0.649,0.649,0]},"t":0,"s":[172,172,100]},{"i":{"x":[0.61,0.61,0.667],"y":[0.935,0.935,1.02]},"o":{"x":[0.313,0.313,0.333],"y":[-0.038,-0.038,-0.016]},"t":3,"s":[164.861,164.861,100]},{"i":{"x":[0.649,0.649,0.667],"y":[0.125,0.125,1]},"o":{"x":[0.317,0.317,0.333],"y":[-0.148,-0.148,-0.005]},"t":19,"s":[211.121,211.121,100]},{"t":23,"s":[207,207,100]}],"ix":6}},"ao":0,"ip":0,"op":44,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Lead 2","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[40.2,40.2,100],"ix":6}},"ao":0,"shapes":[{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":0,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false}],"ip":0,"op":44,"st":-9,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Lead ","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[40.2,40.2,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[28]},{"t":23,"s":[0]}],"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":43,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":44,"st":-9,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Cover","parent":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[28]},{"t":23,"s":[0]}],"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":50,"ix":1},"e":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":44,"st":-9,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Tail ","parent":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":-286.509,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"gs","o":{"a":0,"k":100,"ix":9},"w":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[28]},{"t":23,"s":[0]}],"ix":10},"g":{"p":3,"k":{"a":0,"k":[0,1,1,1,0.824,0.5,0.5,0.5,1,0,0,0,0,1,0.272,0.5,1,0],"ix":8}},"s":{"a":0,"k":[-149,-98],"ix":4},"e":{"a":0,"k":[-195,76],"ix":5},"t":1,"lc":1,"lj":1,"ml":4,"ml2":{"a":0,"k":4,"ix":13},"bm":0,"nm":"Gradient Stroke 1","mn":"ADBE Vector Graphic - G-Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":44,"st":-9,"bm":0}]},{"id":"comp_1","layers":[{"ddd":0,"ind":1,"ty":3,"nm":"Null 26","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.777,0.777,0.667],"y":[0.403,0.403,-15.109]},"o":{"x":[0.467,0.467,0.333],"y":[0,0,0]},"t":0,"s":[0,0,100]},{"i":{"x":[0.422,0.422,0.667],"y":[0.981,0.981,-13.178]},"o":{"x":[0.483,0.483,0.333],"y":[0.335,0.335,21.065]},"t":13,"s":[30.041,30.041,100]},{"i":{"x":[0.596,0.596,0.667],"y":[0.244,0.244,1]},"o":{"x":[0.269,0.269,0.333],"y":[-0.055,-0.055,5.838]},"t":30,"s":[181.904,181.904,100]},{"i":{"x":[0.638,0.638,0.564],"y":[0.969,0.969,1]},"o":{"x":[0.287,0.287,0.182],"y":[0.704,0.704,0]},"t":37,"s":[172,172,100]},{"i":{"x":[0.828,0.828,0.841],"y":[1,1,1]},"o":{"x":[0.4,0.4,0.38],"y":[-0.069,-0.069,0]},"t":39,"s":[170.037,170.037,100]},{"t":43,"s":[172,172,100]}],"ix":6}},"ao":0,"ip":0,"op":43,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Lead 2","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[40.2,40.2,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[192]},{"t":37,"s":[0]}],"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":0,"s":[100,100]},{"t":37,"s":[100,100]}],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":0,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false}],"ip":0,"op":43,"st":-9,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Lead ","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[40.2,40.2,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":28,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":43,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":43,"st":-9,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Cover","parent":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":28,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":50,"ix":1},"e":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":43,"st":-9,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Tail ","parent":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":-286.509,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"gs","o":{"a":0,"k":100,"ix":9},"w":{"a":0,"k":28,"ix":10},"g":{"p":3,"k":{"a":0,"k":[0,1,1,1,0.824,0.5,0.5,0.5,1,0,0,0,0,1,0.272,0.5,1,0],"ix":8}},"s":{"a":0,"k":[-149,-98],"ix":4},"e":{"a":0,"k":[-195,76],"ix":5},"t":1,"lc":1,"lj":1,"ml":4,"ml2":{"a":0,"k":4,"ix":13},"bm":0,"nm":"Gradient Stroke 1","mn":"ADBE Vector Graphic - G-Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":43,"st":-9,"bm":0}]},{"id":"comp_2","layers":[{"ddd":0,"ind":1,"ty":3,"nm":"Null 26","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[172,172,100],"ix":6}},"ao":0,"ip":0,"op":95,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Lead ","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"t":110,"s":[360]}],"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[40.2,40.2,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":28,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":40,"s":[43]},{"t":82.7265625,"s":[50]}],"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":95,"st":-9,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Cover","parent":2,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":53.188,"s":[186]},{"t":110,"s":[363]}],"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":28,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":50,"ix":1},"e":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":95,"st":-9,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Tail ","parent":2,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[-286.509]},{"t":53.1875,"s":[-172.509]}],"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"gs","o":{"a":0,"k":100,"ix":9},"w":{"a":0,"k":28,"ix":10},"g":{"p":3,"k":{"a":0,"k":[0,1,1,1,0.824,0.5,0.5,0.5,1,0,0,0,0,1,0.272,0.5,1,0],"ix":8}},"s":{"a":0,"k":[-149,-98],"ix":4},"e":{"a":0,"k":[-195,76],"ix":5},"t":1,"lc":1,"lj":1,"ml":4,"ml2":{"a":0,"k":4,"ix":13},"bm":0,"nm":"Gradient Stroke 1","mn":"ADBE Vector Graphic - G-Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":95,"st":-9,"bm":0}]}],"layers":[{"ddd":0,"ind":1,"ty":0,"nm":"ANIMATION_OUT","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[86,86,100],"ix":6}},"ao":0,"w":500,"h":500,"ip":327,"op":371,"st":327,"bm":0},{"ddd":0,"ind":2,"ty":0,"nm":"ANIMATION_IN","refId":"comp_1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[86,86,100],"ix":6}},"ao":0,"w":500,"h":500,"ip":0,"op":43,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":0,"nm":"Looper","refId":"comp_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[86,86,100],"ix":6}},"ao":0,"w":500,"h":500,"ip":232,"op":327,"st":232,"bm":0},{"ddd":0,"ind":4,"ty":0,"nm":"Looper","refId":"comp_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[86,86,100],"ix":6}},"ao":0,"w":500,"h":500,"ip":137,"op":232,"st":137,"bm":0},{"ddd":0,"ind":5,"ty":0,"nm":"Looper","refId":"comp_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[86,86,100],"ix":6}},"ao":0,"w":500,"h":500,"ip":42,"op":137,"st":42,"bm":0}],"markers":[]}'),d=JSON.parse('{"v":"4.8.0","meta":{"g":"LottieFiles AE 3.5.8","a":"","k":"","d":"","tc":""},"fr":60,"ip":0,"op":371,"w":500,"h":500,"nm":"Spinner Animation - Light Mode","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":3,"nm":"Null 26","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.672,0.672,0.667],"y":[0.951,0.951,1.003]},"o":{"x":[0.34,0.34,0.333],"y":[0.649,0.649,0]},"t":0,"s":[172,172,100]},{"i":{"x":[0.61,0.61,0.667],"y":[0.935,0.935,1.02]},"o":{"x":[0.313,0.313,0.333],"y":[-0.038,-0.038,-0.016]},"t":3,"s":[164.861,164.861,100]},{"i":{"x":[0.649,0.649,0.667],"y":[0.125,0.125,1]},"o":{"x":[0.317,0.317,0.333],"y":[-0.148,-0.148,-0.005]},"t":19,"s":[211.121,211.121,100]},{"t":23,"s":[207,207,100]}],"ix":6}},"ao":0,"ip":0,"op":44,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Lead 2","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[40.2,40.2,100],"ix":6}},"ao":0,"shapes":[{"ty":"fl","c":{"a":0,"k":[0.101960784314,0.101960784314,0.101960784314,1],"ix":4},"o":{"a":0,"k":0,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false}],"ip":0,"op":44,"st":-9,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Lead ","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[40.2,40.2,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[28]},{"t":23,"s":[0]}],"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":43,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":44,"st":-9,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Cover","parent":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[28]},{"t":23,"s":[0]}],"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":50,"ix":1},"e":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":44,"st":-9,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Tail ","parent":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":-286.509,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"gs","o":{"a":0,"k":100,"ix":9},"w":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[28]},{"t":23,"s":[0]}],"ix":10},"g":{"p":3,"k":{"a":0,"k":[0,0.102,0.102,0.102,0.824,0.051,0.051,0.051,1,0,0,0,0,1,0.272,0.5,1,0],"ix":8}},"s":{"a":0,"k":[-149,-98],"ix":4},"e":{"a":0,"k":[-195,76],"ix":5},"t":1,"lc":1,"lj":1,"ml":4,"ml2":{"a":0,"k":4,"ix":13},"bm":0,"nm":"Gradient Stroke 1","mn":"ADBE Vector Graphic - G-Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":44,"st":-9,"bm":0}]},{"id":"comp_1","layers":[{"ddd":0,"ind":1,"ty":3,"nm":"Null 26","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.777,0.777,0.667],"y":[0.403,0.403,-15.109]},"o":{"x":[0.467,0.467,0.333],"y":[0,0,0]},"t":0,"s":[0,0,100]},{"i":{"x":[0.422,0.422,0.667],"y":[0.981,0.981,-13.178]},"o":{"x":[0.483,0.483,0.333],"y":[0.335,0.335,21.065]},"t":13,"s":[30.041,30.041,100]},{"i":{"x":[0.596,0.596,0.667],"y":[0.244,0.244,1]},"o":{"x":[0.269,0.269,0.333],"y":[-0.055,-0.055,5.838]},"t":30,"s":[181.904,181.904,100]},{"i":{"x":[0.638,0.638,0.564],"y":[0.969,0.969,1]},"o":{"x":[0.287,0.287,0.182],"y":[0.704,0.704,0]},"t":37,"s":[172,172,100]},{"i":{"x":[0.828,0.828,0.841],"y":[1,1,1]},"o":{"x":[0.4,0.4,0.38],"y":[-0.069,-0.069,0]},"t":39,"s":[170.037,170.037,100]},{"t":43,"s":[172,172,100]}],"ix":6}},"ao":0,"ip":0,"op":43,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Lead 2","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[40.2,40.2,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[192]},{"t":37,"s":[0]}],"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":0,"s":[100,100]},{"t":37,"s":[100,100]}],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.101960784314,0.101960784314,0.101960784314,1],"ix":4},"o":{"a":0,"k":0,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false}],"ip":0,"op":43,"st":-9,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Lead ","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[40.2,40.2,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":28,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":43,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":43,"st":-9,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Cover","parent":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":28,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":50,"ix":1},"e":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":43,"st":-9,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Tail ","parent":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":-286.509,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"gs","o":{"a":0,"k":100,"ix":9},"w":{"a":0,"k":28,"ix":10},"g":{"p":3,"k":{"a":0,"k":[0,0.102,0.102,0.102,0.824,0.051,0.051,0.051,1,0,0,0,0,1,0.272,0.5,1,0],"ix":8}},"s":{"a":0,"k":[-149,-98],"ix":4},"e":{"a":0,"k":[-195,76],"ix":5},"t":1,"lc":1,"lj":1,"ml":4,"ml2":{"a":0,"k":4,"ix":13},"bm":0,"nm":"Gradient Stroke 1","mn":"ADBE Vector Graphic - G-Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":43,"st":-9,"bm":0}]},{"id":"comp_2","layers":[{"ddd":0,"ind":1,"ty":3,"nm":"Null 26","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[172,172,100],"ix":6}},"ao":0,"ip":0,"op":95,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Lead ","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"t":110,"s":[360]}],"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[40.2,40.2,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":28,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":40,"s":[43]},{"t":82.7265625,"s":[50]}],"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":95,"st":-9,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Cover","parent":2,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":53.188,"s":[186]},{"t":110,"s":[363]}],"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":28,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":50,"ix":1},"e":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":95,"st":-9,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Tail ","parent":2,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[-286.509]},{"t":53.1875,"s":[-172.509]}],"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-56.579,0],[0,-56.579],[56.579,0],[0,56.579]],"o":[[56.579,0],[0,56.579],[-56.579,0],[0,-56.579]],"v":[[0,-102.445],[102.445,0],[0,102.445],[-102.445,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"gs","o":{"a":0,"k":100,"ix":9},"w":{"a":0,"k":28,"ix":10},"g":{"p":3,"k":{"a":0,"k":[0,0.102,0.102,0.102,0.824,0.051,0.051,0.051,1,0,0,0,0,1,0.272,0.5,1,0],"ix":8}},"s":{"a":0,"k":[-149,-98],"ix":4},"e":{"a":0,"k":[-195,76],"ix":5},"t":1,"lc":1,"lj":1,"ml":4,"ml2":{"a":0,"k":4,"ix":13},"bm":0,"nm":"Gradient Stroke 1","mn":"ADBE Vector Graphic - G-Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":95,"st":-9,"bm":0}]}],"layers":[{"ddd":0,"ind":1,"ty":0,"nm":"ANIMATION_OUT","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[86,86,100],"ix":6}},"ao":0,"w":500,"h":500,"ip":327,"op":371,"st":327,"bm":0},{"ddd":0,"ind":2,"ty":0,"nm":"ANIMATION_IN","refId":"comp_1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[86,86,100],"ix":6}},"ao":0,"w":500,"h":500,"ip":0,"op":43,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":0,"nm":"Looper","refId":"comp_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[86,86,100],"ix":6}},"ao":0,"w":500,"h":500,"ip":232,"op":327,"st":232,"bm":0},{"ddd":0,"ind":4,"ty":0,"nm":"Looper","refId":"comp_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[86,86,100],"ix":6}},"ao":0,"w":500,"h":500,"ip":137,"op":232,"st":137,"bm":0},{"ddd":0,"ind":5,"ty":0,"nm":"Looper","refId":"comp_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[86,86,100],"ix":6}},"ao":0,"w":500,"h":500,"ip":42,"op":137,"st":42,"bm":0}],"markers":[]}'),c=n(18865);let u=e=>{let{height:t,width:n}=e,s=(0,c.useStadiumTheme)(),[u,f]=(0,a.useState)(),_=e=>{let{animationDiv:t,animationData:n,setAnimation:i}=e;t&&i(o().loadAnimation({container:t,animationData:n,renderer:"svg",loop:!0,autoplay:!0}))},h=(0,a.useCallback)(e=>{_({animationDiv:e,animationData:"dark"===s.palette.mode?l:d,setAnimation:f})},[]);return(0,i.jsx)(r.Z,{ref:h,display:u?"flex":"none",width:n,height:t})}},80782:function(e,t,n){"use strict";n.d(t,{MenuIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>{let{id:t,...n}=e;return(0,i.jsxs)(a.Z,{...n,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 500 500",width:"528",height:"528",preserveAspectRatio:"xMidYMid meet",style:{width:"100%",height:"100%",transform:"translate3d(0px, 0px, 0px)",contentVisibility:"visible",backgroundColor:"transparent"},children:[(0,i.jsxs)("defs",{children:[(0,i.jsx)("clipPath",{id:"__lottie_element_2_".concat(t),children:(0,i.jsx)("rect",{width:"500",height:"500",x:"0",y:"0"})}),(0,i.jsx)("clipPath",{id:"__lottie_element_4_".concat(t),children:(0,i.jsx)("path",{d:"M0,0 L500,0 L500,500 L0,500z"})}),(0,i.jsx)("clipPath",{id:"__lottie_element_24_".concat(t),children:(0,i.jsx)("path",{d:"M0,0 L500,0 L500,500 L0,500z"})})]}),(0,i.jsxs)("g",{clipPath:"url(#__lottie_element_2_".concat(t,")"),children:[(0,i.jsxs)("g",{clipPath:"url(#__lottie_element_24_".concat(t,")"),transform:"matrix(1,0,0,1,0,0)",opacity:"1",style:{display:"block"},children:[(0,i.jsx)("g",{style:{display:"none"},children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{strokeLinecap:"butt",strokeLinejoin:"miter",fillOpacity:"0",strokeMiterlimit:"4"})})}),(0,i.jsx)("g",{style:{display:"none"},children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{strokeLinecap:"butt",strokeLinejoin:"miter",fillOpacity:"0",strokeMiterlimit:"4"})})}),(0,i.jsx)("g",{transform:"matrix(1,0,0,1,250,369.5)",opacity:"1",style:{display:"block"},children:(0,i.jsxs)("g",{opacity:"1",transform:"matrix(1,0,0,1,0,0)",children:[(0,i.jsx)("path",{fill:"rgb(0,0,0)",fillOpacity:"1",d:" M-108,-60.0620002746582 C-108,-60.0620002746582 108,-60.3120002746582 108,-60.3120002746582"}),(0,i.jsx)("path",{strokeLinecap:"butt",strokeLinejoin:"miter",fillOpacity:"0",strokeMiterlimit:"4",stroke:"rgb(255,255,255)",strokeOpacity:"1",strokeWidth:"25",d:" M-108,-60.0620002746582 C-108,-60.0620002746582 108,-60.3120002746582 108,-60.3120002746582"})]})}),(0,i.jsx)("g",{transform:"matrix(1,0,0,1,250,309.5)",opacity:"1",style:{display:"block"},children:(0,i.jsxs)("g",{opacity:"1",transform:"matrix(1,0,0,1,0,0)",children:[(0,i.jsx)("path",{fill:"rgb(0,0,0)",fillOpacity:"1",d:" M-108,-60.0620002746582 C-108,-60.0620002746582 108,-60.3120002746582 108,-60.3120002746582"}),(0,i.jsx)("path",{strokeLinecap:"butt",strokeLinejoin:"miter",fillOpacity:"0",strokeMiterlimit:"4",stroke:"rgb(255,255,255)",strokeOpacity:"1",strokeWidth:"25",d:" M-108,-60.0620002746582 C-108,-60.0620002746582 108,-60.3120002746582 108,-60.3120002746582"})]})}),(0,i.jsx)("g",{transform:"matrix(1,0,0,1,250,249.5)",opacity:"1",style:{display:"block"},children:(0,i.jsxs)("g",{opacity:"1",transform:"matrix(1,0,0,1,0,0)",children:[(0,i.jsx)("path",{fill:"rgb(0,0,0)",fillOpacity:"1",d:" M-108,-60.0620002746582 C-108,-60.0620002746582 108,-60.3120002746582 108,-60.3120002746582"}),(0,i.jsx)("path",{strokeLinecap:"butt",strokeLinejoin:"miter",fillOpacity:"0",strokeMiterlimit:"4",stroke:"rgb(255,255,255)",strokeOpacity:"1",strokeWidth:"25",d:" M-108,-60.0620002746582 C-108,-60.0620002746582 108,-60.3120002746582 108,-60.3120002746582"})]})})]}),(0,i.jsxs)("g",{clipPath:"url(#__lottie_element_4_".concat(t,")"),transform:"matrix(1,0,0,1,0,0)",opacity:"1",style:{display:"none"},children:[(0,i.jsx)("g",{transform:"matrix(1,0,0,1,250,369.5)",opacity:"1",style:{display:"block"},children:(0,i.jsxs)("g",{opacity:"1",transform:"matrix(1,0,0,1,0,0)",children:[(0,i.jsx)("path",{fill:"rgb(0,0,0)",fillOpacity:"1",d:" M-108,-60.0620002746582 C-108,-60.0620002746582 108,-60.3120002746582 108,-60.3120002746582"}),(0,i.jsx)("path",{strokeLinecap:"butt",strokeLinejoin:"miter",fillOpacity:"0",strokeMiterlimit:"4",stroke:"rgb(255,255,255)",strokeOpacity:"1",strokeWidth:"25",d:" M-108,-60.0620002746582 C-108,-60.0620002746582 108,-60.3120002746582 108,-60.3120002746582"})]})}),(0,i.jsx)("g",{transform:"matrix(1,0,0,1,250,309.5)",opacity:"1",style:{display:"block"},children:(0,i.jsxs)("g",{opacity:"1",transform:"matrix(1,0,0,1,0,0)",children:[(0,i.jsx)("path",{fill:"rgb(0,0,0)",fillOpacity:"1",d:" M-108,-60.0620002746582 C-108,-60.0620002746582 108,-60.3120002746582 108,-60.3120002746582"}),(0,i.jsx)("path",{strokeLinecap:"butt",strokeLinejoin:"miter",fillOpacity:"0",strokeMiterlimit:"4",stroke:"rgb(255,255,255)",strokeOpacity:"1",strokeWidth:"25",d:" M-108,-60.0620002746582 C-108,-60.0620002746582 108,-60.3120002746582 108,-60.3120002746582"})]})}),(0,i.jsx)("g",{style:{display:"none"},children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{strokeLinecap:"butt",strokeLinejoin:"miter",fillOpacity:"0",strokeMiterlimit:"4"})})}),(0,i.jsx)("g",{style:{display:"none"},children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{strokeLinecap:"butt",strokeLinejoin:"miter",fillOpacity:"0",strokeMiterlimit:"4"})})}),(0,i.jsx)("g",{transform:"matrix(1,0,0,1,250,249.5)",opacity:"1",style:{display:"block"},children:(0,i.jsxs)("g",{opacity:"1",transform:"matrix(1,0,0,1,0,0)",children:[(0,i.jsx)("path",{fill:"rgb(0,0,0)",fillOpacity:"1",d:" M-108,-60.0620002746582 C-108,-60.0620002746582 108,-60.3120002746582 108,-60.3120002746582"}),(0,i.jsx)("path",{strokeLinecap:"butt",strokeLinejoin:"miter",fillOpacity:"0",strokeMiterlimit:"4",stroke:"rgb(255,255,255)",strokeOpacity:"1",strokeWidth:"25",d:" M-108,-60.0620002746582 C-108,-60.0620002746582 108,-60.3120002746582 108,-60.3120002746582"})]})})]})]})]})}},72529:function(e,t,n){"use strict";n.d(t,{OverflowIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsx)(a.Z,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 3H10V7H14V3ZM14 10H10V14H14V10ZM10 17H14V21H10V17Z"})})},51222:function(e,t,n){"use strict";n.d(t,{o:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsx)(a.Z,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{d:"M19.6661 11.1552C20.286 11.5478 20.286 12.4522 19.6661 12.8448L7.53505 20.5278C6.86923 20.9495 6 20.4711 6 19.683L6 4.31702C6 3.5289 6.86924 3.05051 7.53505 3.4722L19.6661 11.1552Z"})})},99279:function(e,t,n){"use strict";n.d(t,{ProfileIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsx)(a.Z,{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36",fill:"none","data-testid":"profile-icon",...e,children:(0,i.jsx)("g",{opacity:"0.4",children:(0,i.jsx)("path",{d:"M24.3997 15.0133H23.6886C24.5419 13.8756 25.1108 12.4533 25.1108 10.8889C25.1108 6.90666 21.9819 3.77777 17.9997 3.77777C14.0175 3.77777 10.8886 6.90666 10.8886 10.8889C10.8886 12.4533 11.4575 13.8756 12.3108 15.0133H11.7419C8.18637 15.0133 5.19971 18 5.19971 21.5556V32.3644H25.1108V29.52H8.04415V21.5556C8.04415 19.5644 9.75082 18 11.7419 18H24.3997C26.3908 18 27.9553 19.5644 27.9553 21.5556V32.3644H30.7997V21.5556C30.7997 18 27.9553 15.0133 24.3997 15.0133ZM13.8753 10.8889C13.8753 8.61333 15.7242 6.62222 17.9997 6.62222C20.2753 6.62222 22.2664 8.61333 22.2664 10.8889C22.2664 13.1644 20.2753 15.0133 17.9997 15.0133C15.7242 15.0133 13.8753 13.1644 13.8753 10.8889Z",fill:"currentColor"})})})},83231:function(e,t,n){"use strict";n.d(t,{ShareIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>{let{id:t,...n}=e;return(0,i.jsx)(a.Z,{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:(0,i.jsx)("g",{id:t,children:(0,i.jsx)("path",{id:"".concat(t,"/icon"),d:"M8.80065 14.215V10.7017C7.45398 10.7417 4.28732 11.0217 2.52065 12.7883L1.33398 13.975L1.38732 12.295C1.38732 12.2283 1.66065 5.90833 8.80732 5.535V2.375L14.834 8.18167L8.80732 14.215H8.80065ZM9.10732 9.36167C9.33398 9.36167 9.46732 9.36167 9.50065 9.36833L10.134 9.40167V10.995L12.9273 8.20167L10.134 5.515V6.855H9.46732C5.21398 6.855 3.64065 9.12167 3.05398 10.7417C5.29398 9.48833 8.08065 9.36167 9.10065 9.36167H9.10732Z"})})})}},3667:function(e,t,n){"use strict";n.d(t,{TikTokIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsx)(a.Z,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"#000000",...e,children:(0,i.jsx)("path",{d:"M19.589 6.686a4.793 4.793 0 0 1-3.77-4.245V2h-3.445v13.672a2.896 2.896 0 0 1-5.201 1.743l-.002-.001.002.001a2.895 2.895 0 0 1 3.183-4.51v-3.5a6.329 6.329 0 0 0-5.394 10.692 6.33 6.33 0 0 0 10.857-4.424V8.687a8.182 8.182 0 0 0 4.773 1.526V6.79a4.831 4.831 0 0 1-1.003-.104z"})})},16382:function(e,t,n){"use strict";n.d(t,{TurnerLogoIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsxs)(a.Z,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 601.7 105.2",...e,children:[(0,i.jsx)("title",{children:"Turner Broadcasting"}),(0,i.jsx)("path",{d:"M502.3 63.5c1.7-7.2 2.7-13.3 2.7-19.3C505 19.6 488.5.1 460.5.1 430 .1 405.7 22.9 401 52.6c-5 31.5 14.3 52.5 44.2 52.5 23.6 0 43.5-13.3 53.7-33.5h-36.1c-4.5 4.7-10.5 6-15.7 5.9-10.4-.2-15.3-6.3-15.4-14h70.6zm-43.7-36.9c9.2 0 15.4 5.8 15.1 14.5h-37c3.5-8.5 11.8-14.5 21.9-14.5zM579 .6c-12.5 0-22.8 10.2-22.8 22.6 0 12.6 10.3 22.9 22.8 22.9 12.6 0 22.9-10.3 22.7-22.9C601.9 10.7 591.6.6 579 .6zM364.9 0c-11.4 0-25.3 6.9-32 16l3.8-13.4h-32.4l-17.7 100.2h34.8l10-56.7c1.7-9.4 9-15.9 17.7-15.9 8.4 0 12.4 6.9 10.9 15.9l-10 56.7h34.8l10.9-61.5C400.1 16 387.8 0 364.9 0zM5.7 2.6h91.6l-5.7 32.2H63.8l-12 67.9H17l12-67.9H0M105.3 2.6h34.8l-9.8 55.7c-1.7 9.6 2.7 15.3 11.2 15.3 8.7 0 15.5-6 17.2-15.3l9.8-55.7h34.8L193.9 56c-6 33.4-27.7 49-56.9 49-29.8 0-46.9-16.3-41.1-49.2l9.4-53.2zM194.6 102.7h34.7L247 2.6h-34.8M270.2.6c-12.4 0-22.8 10.2-22.8 22.6 0 12.6 10.3 22.9 22.8 22.9 12.6 0 22.9-10.3 22.8-22.9.1-12.5-10.2-22.6-22.8-22.6zM503.3 102.7H538L555.7 2.6h-34.8"})]})},67040:function(e,t,n){"use strict";n.d(t,{VerifiedCheckIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsx)(a.Z,{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 1C3.23858 1 1 3.23858 1 6C1 8.76142 3.23858 11 6 11C8.76142 11 11 8.76142 11 6C11 3.23858 8.76142 1 6 1ZM4.95 7.05L3.7 5.8L3 6.5L4.95 8.5L8.7 4.7L8 4L4.95 7.05Z",fill:"white"})})},70107:function(e,t,n){"use strict";n.d(t,{XLogoIcon:function(){return r}});var i=n(90991),a=n(53512);let r=e=>(0,i.jsx)(a.Z,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{d:"M13.7124 10.6218L20.4133 3H18.8254L13.0071 9.61788L8.35992 3H3L10.0274 13.0074L3 21H4.58799L10.7324 14.0113L15.6401 21H21L13.7124 10.6218ZM5.16016 4.16971H7.59923L18.8262 19.8835H16.3871L5.16016 4.16971Z"})})},93404:function(e,t,n){"use strict";n.d(t,{ve:function(){return i.ArrowDownIcon},Y4:function(){return a.ArrowLeftIcon},LZ:function(){return r.ArrowRightIcon},Hf:function(){return s.ArrowUpIcon},i0:function(){return _.BRBrandIcon},ZD:function(){return o.BRLogoIcon},FB:function(){return m.CancelIcon},xY:function(){return y.CaretIcon},nQ:function(){return k.CheckIcon},Tw:function(){return p.CloseIcon},Pz:function(){return f.ErrorIcon},Vq:function(){return l.FacebookIcon},pW:function(){return A},OM:function(){return g.LightningBolt},xP:function(){return d.LinkIcon},Oq:function(){return b.MenuIcon},JA:function(){return T},vJ:function(){return N},m2:function(){return h.ProfileIcon},H4:function(){return M},sZ:function(){return L},Ib:function(){return j},aA:function(){return c.ShareIcon},HT:function(){return x.TikTokIcon},Qw:function(){return v.VerifiedCheckIcon},Jf:function(){return u.XLogoIcon}});var i=n(40005),a=n(10008),r=n(46562),s=n(99009),o=n(3539),l=n(75470),d=n(4757);n(16382);var c=n(83231),u=n(70107),f=n(59718),_=n(47290);n(20970),n(21516);var h=n(99279);n(72529),n(94560);var m=n(13960),p=n(79482),g=n(51751),v=n(67040),b=n(80782);n(17133);var x=n(3667),y=n(3731);n(56117);var k=n(758),C=n(90991),S=n(17613),E=n(45418);let T=e=>{let{id:t,outs:n,size:i,stroke:a,fill:r}=e;return(0,C.jsxs)(S.Z,{id:"".concat(t,"/scorecard/header/outs"),direction:"row",alignItems:"center",gap:"0.4rem",children:[(0,C.jsx)(E.EllipseIcon,{style:{width:null!=i?i:"0.9rem",height:null!=i?i:"0.9rem"},fill:n<=0?"none":r,stroke:a}),(0,C.jsx)(E.EllipseIcon,{style:{width:null!=i?i:"0.9rem",height:null!=i?i:"0.9rem"},fill:n<2?"none":r,stroke:a})]})};var P=n(53512);let w=e=>(0,C.jsx)(P.Z,{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",...e,children:(0,C.jsx)("path",{d:"M11.5039 10.5H3.50391L4.30391 9.5L7.50391 5.5L11.5039 10.5Z",fill:e.fill||"currentColor"})}),A=e=>{let{phase:t,isTopInning:n,sx:i}=e;return(0,C.jsxs)(S.Z,{id:"id/scorecard/header/inning",direction:"row",alignItems:"center",children:[(0,C.jsx)(w,{"data-testid":"ScoreCaretIcon",sx:{transform:n?void 0:"scale(-1)",...i}})," ",t]})},I=e=>{let{first:t,second:n,third:i,...a}=e;return(0,C.jsxs)(P.Z,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24","data-testid":"MLBDiamondIcon",...a,children:[(0,C.jsx)("path",{fillRule:n?"nonzero":"evenodd",clipRule:n?"nonzero":"evenodd",d:"M6.76562 8.20027L11.999 13.4005L17.2323 8.20027L11.999 3L6.76562 8.20027ZM11.999 4.40972L8.18431 8.20027L11.999 11.9908L15.8136 8.20027L11.999 4.40972Z",fill:a.fill||"currentColor"}),(0,C.jsx)("path",{fillRule:i?"nonzero":"evenodd",clipRule:i?"nonzero":"evenodd",d:"M0 15.0499L5.23334 20.2502L10.4667 15.0499L5.23334 9.84961L0 15.0499ZM5.23334 11.2593L1.41869 15.0499L5.23334 18.8404L9.048 15.0499L5.23334 11.2593Z",fill:a.fill||"currentColor"}),(0,C.jsx)("path",{fillRule:t?"nonzero":"evenodd",clipRule:t?"nonzero":"evenodd",d:"M18.7665 20.2502L13.5332 15.0499L18.7665 9.84961L23.9999 15.0499L18.7665 20.2502ZM14.9519 15.0499L18.7665 11.2593L22.5812 15.0499L18.7665 18.8404L14.9519 15.0499Z",fill:a.fill||"currentColor"})]})},M=e=>{let{first:t,second:n,third:i,sx:a}=e;return(0,C.jsx)(I,{first:t,second:n,third:i,sx:a})};var R=n(60901),D=n(18865);let N=e=>{let{clock:t,period:n,separator:i,currentLap:a,totalLaps:r}=e,s=(0,D.useStadiumTheme)();return(0,C.jsxs)(S.Z,{direction:"row",gap:s.vars.dimensions.size__xxs,divider:i,children:[n&&(0,C.jsx)(R.Z,{children:n}),t&&(0,C.jsx)(R.Z,{children:t}),a&&(0,C.jsx)(R.Z,{children:a}),r&&(0,C.jsx)(R.Z,{children:r})]})},L=e=>(0,C.jsxs)(P.Z,{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",...e,children:[(0,C.jsx)("path",{d:"M6.12009 5.2282C6.0868 5.1779 6.053 5.12573 6.01851 5.0725C5.93385 4.94182 5.84502 4.80473 5.74937 4.67309C5.63234 4.51217 5.50245 4.36071 5.37256 4.20926L5.36665 4.20238C5.3265 4.15575 5.30684 4.13293 5.37527 4.07809C5.88602 3.67038 6.4536 3.3722 7.08274 3.19978C7.32407 3.13339 7.57417 3.09444 7.82268 3.05573L7.90468 3.04292C8.07584 3.01587 8.25172 2.99559 8.42423 3.00032C8.96204 3.0152 9.49309 3.0774 10.0086 3.24373C10.6195 3.44116 11.1728 3.74205 11.6606 4.1315L11.4107 4.47853C11.2265 4.7343 11.0415 4.99115 10.8549 5.24984C10.8312 5.23843 10.8066 5.2263 10.7814 5.21386C10.7289 5.18797 10.6736 5.16069 10.6174 5.13557C10.3854 5.0328 10.1824 5.10717 10.1168 5.3161C10.0708 5.46214 10.1324 5.62036 10.269 5.69541C10.3437 5.73657 10.4198 5.77501 10.4905 5.81075C10.5196 5.8255 10.5479 5.8398 10.5748 5.85363L10.5123 6.07838C10.4502 6.30226 10.3886 6.52443 10.3232 6.74546C10.3157 6.77047 10.265 6.7982 10.2352 6.7982C10.1482 6.7982 10.0608 6.7913 9.97362 6.78442C9.94827 6.78242 9.92294 6.78042 9.89764 6.77859C9.74745 6.76777 9.6568 6.85432 9.6108 6.9794C9.57021 7.09096 9.58645 7.20658 9.66695 7.3053C9.7434 7.39861 9.84284 7.43647 9.95987 7.44323C10.0208 7.44661 10.0837 7.45067 10.1419 7.4669C10.1642 7.47298 10.1912 7.51355 10.1919 7.53924C10.1937 7.68476 10.1936 7.83027 10.1935 7.97578C10.1934 8.10677 10.1933 8.23788 10.1946 8.36887C10.196 8.5379 10.1946 8.53858 10.0106 8.55007C9.84352 8.56089 9.68725 8.59673 9.61689 8.77726C9.56615 8.90707 9.59051 9.02946 9.68251 9.12817C9.76437 9.21539 9.86855 9.25461 9.99505 9.22554C10.0683 9.20901 10.1432 9.2004 10.2153 9.1921C10.2465 9.18851 10.2771 9.18499 10.3069 9.18091C10.3705 9.39202 10.4324 9.5964 10.4935 9.7982L10.5944 10.1316C10.5458 10.1549 10.4989 10.1776 10.4528 10.1999C10.4014 10.2248 10.3508 10.2493 10.3002 10.2736C10.1189 10.3601 10.058 10.5623 10.1358 10.7327C10.2136 10.903 10.4124 10.9571 10.5944 10.8706L10.8677 10.7401L11.1243 11.1038C11.2947 11.3452 11.465 11.5866 11.6389 11.8334C10.6201 12.6684 9.42883 13.0768 8.0941 12.9876C7.055 12.9179 6.1255 12.5278 5.33941 11.8672C5.52437 11.6098 5.70522 11.3577 5.8878 11.1033L6.14309 10.7475L6.21709 10.7803C6.29355 10.814 6.38225 10.8532 6.46984 10.8949C6.66331 10.9862 6.90753 10.7813 6.90212 10.5967C6.89738 10.4331 6.8277 10.3405 6.69376 10.2742C6.59837 10.2269 6.50299 10.1789 6.41842 10.1363L6.45965 9.99233C6.5324 9.73811 6.60382 9.48853 6.67955 9.24041C6.68631 9.2181 6.73299 9.19241 6.75938 9.19376C6.83785 9.19849 6.91565 9.21269 6.99277 9.23027C7.15107 9.26678 7.36755 9.14508 7.40475 8.99294C7.46293 8.75697 7.32154 8.60484 7.11792 8.57171C7.04914 8.56078 6.98036 8.55078 6.91365 8.54107L6.81823 8.52708V7.47298C6.85334 7.46762 6.88911 7.46167 6.92535 7.45563C6.99875 7.44341 7.07408 7.43087 7.14971 7.42227C7.28569 7.40672 7.43249 7.23228 7.42708 7.08556C7.42099 6.92531 7.28501 6.77926 7.13348 6.78062C7.03229 6.78158 6.9311 6.78809 6.8324 6.79444C6.79318 6.79696 6.75436 6.79946 6.71608 6.80158L6.42857 5.8631C6.46659 5.84017 6.50613 5.81756 6.5463 5.79459C6.63763 5.74236 6.73219 5.68828 6.81958 5.62442C6.93459 5.54058 6.91497 5.40941 6.87912 5.29514C6.83582 5.15721 6.73773 5.08215 6.60311 5.10311C6.49456 5.11973 6.38823 5.15148 6.27807 5.18437C6.22689 5.19965 6.17488 5.21518 6.12144 5.22955L6.12009 5.2282Z",fill:"currentColor"}),(0,C.jsx)("path",{d:"M5.82314 6.13711C5.7916 6.15203 5.76185 6.16777 5.73293 6.18277C5.67156 6.2146 5.61426 6.24431 5.55322 6.26219C5.4646 6.28789 5.36313 6.31088 5.27654 6.29262C5.12433 6.26084 5.05329 6.12697 5.04247 5.98768C5.03232 5.8511 5.11688 5.7436 5.24136 5.67869C5.30133 5.64741 5.36242 5.61753 5.43019 5.58439C5.46791 5.56594 5.5077 5.54648 5.55052 5.5252L5.37121 5.28991C5.2202 5.09194 5.07278 4.89867 4.92747 4.70437L4.9254 4.70161C4.88204 4.6436 4.86073 4.61508 4.83833 4.6142C4.81668 4.61335 4.79401 4.6383 4.74944 4.68738L4.74752 4.68949C4.42957 5.03771 4.18197 5.43054 3.9797 5.85516C3.71857 6.40351 3.55621 6.98093 3.51427 7.58405C3.47977 8.08101 3.50412 8.58 3.61912 9.07088C3.71722 9.48806 3.85522 9.89306 4.05411 10.2717C4.18731 10.5258 4.35021 10.766 4.51183 11.0042L4.53916 11.0445C4.59668 11.1294 4.66693 11.206 4.739 11.2845C4.77202 11.3205 4.80543 11.3569 4.83817 11.3948C4.85106 11.3789 4.86329 11.3641 4.87493 11.35C4.90238 11.3169 4.9266 11.2877 4.94844 11.2568C5.00752 11.1739 5.06645 11.0908 5.12537 11.0077C5.24322 10.8416 5.36112 10.6753 5.48016 10.5104C5.51669 10.4597 5.50181 10.4374 5.45175 10.4144C5.37395 10.3779 5.29548 10.3407 5.22106 10.2981C5.01406 10.1797 4.98361 9.94039 5.15071 9.77339C5.27857 9.64627 5.42469 9.69022 5.56608 9.73552C5.61795 9.7519 5.66677 9.77714 5.722 9.8057C5.74887 9.8196 5.77727 9.83429 5.80826 9.84911C5.85141 9.70958 5.8932 9.57335 5.93478 9.43782C5.97077 9.32051 6.0066 9.20371 6.04301 9.08575C5.97094 9.07416 5.90444 9.06384 5.84012 9.05385L5.71964 9.03504C5.56811 9.01138 5.40778 8.80786 5.43551 8.67466C5.48016 8.46235 5.64929 8.3447 5.8387 8.38527C5.90385 8.39939 5.97085 8.40522 6.04236 8.41145C6.07703 8.41447 6.11279 8.41759 6.14989 8.42178V7.56782C6.11595 7.57333 6.08366 7.57819 6.05255 7.58287C5.98819 7.59256 5.92887 7.60149 5.8705 7.6138C5.63373 7.66316 5.45513 7.50291 5.43754 7.28925C5.42401 7.129 5.58569 6.97282 5.7582 6.95524C5.82273 6.94847 5.88695 6.9384 5.95309 6.92802C5.9861 6.92285 6.01959 6.91759 6.05383 6.91264L5.82314 6.13711Z",fill:"currentColor"}),(0,C.jsx)("path",{d:"M10.8633 7.59758V8.42044C10.8769 8.41834 10.8906 8.41515 10.9033 8.41271C10.9271 8.4081 10.9497 8.40375 10.9723 8.40286C11.0029 8.40159 11.0337 8.39947 11.0645 8.39735C11.1477 8.39164 11.2309 8.38592 11.3119 8.39678C11.4823 8.41977 11.575 8.55229 11.5669 8.72673C11.5608 8.86602 11.4113 9.01883 11.2706 9.03505C11.2022 9.04296 11.1344 9.05374 11.0638 9.06499C11.0317 9.07009 10.9991 9.07529 10.9655 9.08036C11.0433 9.33729 11.1191 9.58543 11.1982 9.84372C11.2135 9.83666 11.2285 9.82971 11.2432 9.82288C11.3076 9.79304 11.3677 9.76519 11.4282 9.73824C11.5527 9.68347 11.686 9.66724 11.8037 9.73215C11.9099 9.79098 11.9796 9.8951 11.9633 10.0276C11.9484 10.1493 11.9011 10.2514 11.7739 10.3035C11.7107 10.3292 11.6505 10.3615 11.5825 10.3981C11.5486 10.4163 11.5127 10.4356 11.4735 10.4556L11.5118 10.5094C11.7178 10.7993 11.9212 11.0854 12.127 11.3745C14.0591 9.34473 13.8426 6.29466 12.1561 4.61243C11.9018 4.89843 11.6711 5.20067 11.4857 5.5455C11.5208 5.56269 11.5545 5.58016 11.5874 5.59727C11.6557 5.63265 11.7208 5.66646 11.7888 5.6929C11.9221 5.74361 11.9978 5.9789 11.9471 6.08776C11.8666 6.26085 11.7002 6.35416 11.5331 6.29399C11.4601 6.26771 11.389 6.23598 11.3097 6.20062C11.2706 6.18319 11.2296 6.16488 11.1854 6.14591C11.1717 6.19193 11.1581 6.2377 11.1446 6.28326C11.0855 6.48204 11.0275 6.67707 10.9736 6.87344C10.9702 6.88628 11.0149 6.9255 11.0419 6.93158C11.0877 6.94232 11.1343 6.94945 11.1809 6.9566C11.2224 6.96296 11.264 6.96932 11.3051 6.97824C11.4532 7.01002 11.5588 7.12767 11.5655 7.26222C11.573 7.41232 11.4776 7.56783 11.3261 7.59217C11.2229 7.60904 11.1169 7.60513 11.0086 7.60114C10.9606 7.59937 10.9122 7.59758 10.8633 7.59758Z",fill:"currentColor"})]}),j=e=>{let{fill:t,...n}=e;return(0,C.jsx)(P.Z,{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",...n,children:(0,C.jsx)("path",{fill:t,d:"M14.1745 7.5957C13.2924 6.53223 12.1329 5.75868 10.8454 5.34283V7.32502C10.8454 7.56247 10.6525 7.75487 10.4145 7.75487C10.1764 7.75487 9.98354 7.56247 9.98354 7.32502V5.12156C9.6381 5.05553 9.28608 5.01487 8.93055 5V7.32502C8.93055 7.56247 8.73766 7.75487 8.49962 7.75487C8.26158 7.75487 8.06869 7.56247 8.06869 7.32502V5C7.71273 5.01487 7.36115 5.05553 7.01571 5.12156V7.32459C7.01571 7.56203 6.82282 7.75444 6.58478 7.75444C6.34674 7.75444 6.15385 7.56203 6.15385 7.32459V5.34283C4.86677 5.75825 3.70725 6.53223 2.82523 7.5957C2.39167 8.11825 2.39167 8.87475 2.82523 9.3973C4.19254 11.0459 6.22618 12 8.37118 12H8.62894C10.7739 12 12.8071 11.0459 14.1749 9.3973C14.6084 8.87475 14.6084 8.11825 14.1749 7.5957H14.1745Z"})})}},12637:function(e,t,n){"use strict";n.d(t,{EventListing:function(){return o}});var i=n(90991),a=n(17613),r=n(84336),s=n(18865);let o=e=>{let{id:t,eventName:n,stadium:o,location:l,eventType:d}=e,c=(0,s.useStadiumTheme)();return(0,i.jsxs)(a.Z,{gap:c.vars.dimensions.small__cards__gap,id:t,children:[(0,i.jsx)(r.Z,{variant:"bp_small__headings__title__large",color:c.vars.palette.foreground__primary.mainChannel,children:n}),(0,i.jsxs)(a.Z,{children:[(0,i.jsx)(r.Z,{variant:"bp_small__body__body__medium",color:c.vars.palette.foreground__primary.mainChannel,children:o}),(0,i.jsx)(r.Z,{variant:"bp_small__body__body__medium",color:c.vars.palette.foreground__primary.mainChannel,children:l})]}),(0,i.jsx)(r.Z,{variant:"bp_small__body__body__small",color:c.vars.palette.foreground__tertiary.mainChannel,children:d})]})}},45155:function(e,t,n){"use strict";n.d(t,{ScoreSet:function(){return v}});var i=n(90991),a=n(60901),r=n(17613),s=n(18865),o=n(24100),l=n(78485),d=n(84336),c=n(46734),u=n(28548);let f=(0,l.ZP)(r.Z,{shouldForwardProp:e=>"isWinner"!==e})(e=>{let{theme:t,isWinner:n}=e;return{...c.cp.bp_small__ui__score__small,color:n?t.vars.palette.foreground__inverse.mainChannel:t.vars.palette.foreground__tertiary.mainChannel,textAlign:"right",textTransform:"uppercase",["@container scorecard-body (min-width: ".concat(u.vm.Normal,")")]:{...c.cp.bp_small__ui__score__medium,color:n?t.vars.palette.foreground__inverse.mainChannel:t.vars.palette.foreground__tertiary.mainChannel}}});(0,l.ZP)(d.Z,{shouldForwardProp:e=>"isWinner"!==e})(e=>{let{theme:t,isWinner:n}=e;return{...c.cp.bp_small__ui__metadata__small,color:n?t.vars.palette.foreground__inverse.mainChannel:t.vars.palette.foreground__tertiary.mainChannel,textAlign:"right",textTransform:"uppercase",["@container scorecard-body (min-width: ".concat(u.vm.Normal,")")]:{...c.cp.bp_small__ui__metadata__small,color:n?t.vars.palette.foreground__inverse.mainChannel:t.vars.palette.foreground__tertiary.mainChannel}}});let _=(0,l.ZP)(d.Z,{shouldForwardProp:e=>"isWinner"!==e})(e=>{let{theme:t,isWinner:n}=e;return{...c.cp.bp_small__ui__score__small,backgroundColor:t.vars.palette.surface__level_4.mainChannel,color:n?t.vars.palette.foreground__inverse.mainChannel:t.vars.palette.foreground__tertiary.mainChannel,textAlign:"right",textTransform:"uppercase",["@container scorecard-body (min-width: ".concat(u.vm.Normal,")")]:{...c.cp.bp_small__ui__score__medium,backgroundColor:n?t.vars.palette.surface__inverse.mainChannel:t.vars.palette.surface__level_4.mainChannel,borderRadius:t.vars.dimensions.radius__xxs,padding:"".concat(t.vars.dimensions.padding__xxs," ").concat(t.vars.dimensions.padding__xxs," ").concat(t.vars.dimensions.padding__xxs," ").concat(t.vars.dimensions.padding__xxxs),color:n?t.vars.palette.foreground__inverse.mainChannel:t.vars.palette.foreground__tertiary.mainChannel}}}),h=(0,l.ZP)(r.Z,{shouldForwardProp:e=>"isWinner"!==e})(e=>{let{theme:t,isWinner:n}=e;return{...c.cp.bp_small__headings__subheader__medium,backgroundColor:t.vars.palette.opacity__20.mainChannel,color:n?t.vars.palette.foreground__primary.mainChannel:t.vars.palette.foreground__tertiary.mainChannel,textAlign:"right",textTransform:"uppercase",width:"22px",height:"22px",["@container scorecard-body (min-width: ".concat(u.vm.Normal,")")]:{...c.cp.bp_small__headings__subheader__medium,backgroundColor:t.vars.palette.opacity__20.mainChannel,borderRadius:t.vars.dimensions.radius__xxs,padding:"2px 4px",color:n?t.vars.palette.foreground__inverse.mainChannel:t.vars.palette.foreground__tertiary.mainChannel}}}),m=e=>{let{score:t}=e;return(0,i.jsx)(_,{isWinner:t.isWinner,"data-testid":"score-set-box",children:(0,i.jsxs)(o.Z,{direction:"row",alignItems:"center",children:[(0,i.jsx)(f,{alignItems:"center",justifyContent:"center",sx:{minWidth:"24px"},isWinner:t.isWinner,children:t.score}),t.subScore&&(0,i.jsx)(h,{alignItems:"center",justifyContent:"center",isWinner:t.isWinner,children:t.subScore})]})})},p=(0,l.ZP)(r.Z,{shouldForwardProp:e=>"isWinner"!==e})(e=>{let{theme:t,isWinner:n}=e;return{...c.cp.bp_small__ui__score__small,color:n?t.vars.palette.foreground__primary.mainChannel:t.vars.palette.foreground__tertiary.mainChannel,textAlign:"right",textTransform:"uppercase",["@container scorecard-body (min-width: ".concat(u.vm.Normal,")")]:{...c.cp.bp_small__ui__score__medium,color:n?t.vars.palette.foreground__primary.mainChannel:t.vars.palette.foreground__tertiary.mainChannel}}}),g=(0,l.ZP)(d.Z,{shouldForwardProp:e=>"isWinner"!==e})(e=>{let{theme:t,isWinner:n}=e;return{...c.cp.bp_small__ui__metadata__small,color:n?t.vars.palette.foreground__primary.mainChannel:t.vars.palette.foreground__tertiary.mainChannel,textAlign:"right",textTransform:"uppercase",["@container scorecard-body (min-width: ".concat(u.vm.Normal,")")]:{...c.cp.bp_small__ui__metadata__small,color:n?t.vars.palette.foreground__primary.mainChannel:t.vars.palette.foreground__tertiary.mainChannel}}}),v=e=>{let{id:t,isLive:n,scores:o,condensed:l=!1}=e,d=(0,s.useStadiumTheme)();return(0,i.jsx)(a.Z,{id:"".concat(t,"/ScoreSet"),display:"flex",alignItems:"center",gap:d.vars.dimensions.padding__xs,children:o.map((e,t)=>t===o.length-1&&n&&!l?(0,i.jsx)(m,{score:e},"score-box-".concat(t)):(0,i.jsxs)(r.Z,{direction:"row",children:[(0,i.jsx)(p,{isWinner:e.isWinner,children:e.score}),void 0!==e.subScore&&(0,i.jsx)(g,{isWinner:e.isWinner,children:e.subScore})]},"score-box-".concat(t)))})}},33512:function(e,t,n){"use strict";n.d(t,{ScoresCard:function(){return l}});var i=n(90991),a=n(82652),r=n(4860);let s=e=>{let{id:t,status:n,endDate:a,moneyline:s,outs:o,playPeriod:l,inning:d,runners:c}=e;return(0,i.jsxs)(r.Dn,{id:t,children:[n,(0,i.jsx)(r.Z4,{id:"".concat(t,"/general_stats"),children:s}),(!!d||!!l||!!o||!!c||!!a)&&(0,i.jsxs)(r.Vq,{id:"".concat(t,"/baseball_stats"),children:[d,l,o,c,a]})]})};var o=n(28548);let l=e=>{let{id:t,footer:n,children:r,sx:l,teamsGap:d,eventListing:c,component:u,...f}=e,{moneyline:_,endDate:h,playPeriod:m,runners:p,inning:g,outs:v,status:b,...x}=f;return(0,i.jsx)(o.i3,{sx:l,component:null!=u?u:a.Z,...x,children:(0,i.jsxs)(o.ug,{id:t,children:[(0,i.jsx)(s,{id:"".concat(t,"/header"),moneyline:_,endDate:h,playPeriod:m,runners:p,inning:g,outs:v,status:b}),c,r&&(0,i.jsx)(o.jT,{id:"".concat(t,"/teams"),direction:"column",gap:d,children:r}),n]})})}},28548:function(e,t,n){"use strict";n.d(t,{i3:function(){return l},jT:function(){return c},ug:function(){return d},vm:function(){return a}});var i,a,r=n(78485),s=n(60901),o=n(17613);(i=a||(a={})).Condensed="150px",i.Normal="280px";let l=(0,r.ZP)(s.Z)({containerName:"scorecard-body",containerType:"inline-size"}),d=(0,r.ZP)(o.Z)(e=>{let{theme:t}=e;return{flexDirection:"column",justifyContent:"flex-start",position:"relative",gap:t.vars.dimensions.padding__xxs,padding:"".concat(t.vars.dimensions.small__cards__top_bottom," ").concat(t.vars.dimensions.small__cards__left_right),borderRadius:t.vars.dimensions.small__cards__radius,backgroundColor:t.vars.palette.surface__level_2.mainChannel,["@container scorecard-body (min-width: ".concat(a.Normal,")")]:{gap:t.vars.dimensions.medium__cards__gap,padding:t.vars.dimensions.padding__md,borderRadius:t.vars.dimensions.medium__cards__radius}}}),c=(0,r.ZP)(o.Z)(e=>{let{theme:t,gap:n}=e;return{gap:t.vars.dimensions.padding__xxs,["@container scorecard-body (min-width: ".concat(a.Normal,")")]:{gap:null!=n?n:t.vars.dimensions.medium__cards__gap}}})},45209:function(e,t,n){"use strict";n.d(t,{ScoresCardFooter:function(){return d}});var i=n(90991),a=n(84336),r=n(60901),s=n(44593),o=n(18865),l=n(28548);let d=e=>{let{id:t,text:n,caution:d}=e,c=(0,o.useStadiumTheme)(),u=(0,s.j$)(n,100);return(0,i.jsxs)(a.Z,{id:t,variant:"bp_small__body__body__small",color:c.vars.palette.foreground__tertiary.mainChannel,sx:{display:"none",["@container scorecard-body (min-width: ".concat(l.vm.Normal,")")]:{display:"flex"}},children:[d&&(0,i.jsx)(r.Z,{component:"span","data-testid":"scorescard-footer-caution",sx:{backgroundColor:c.vars.palette.surface__indicator__yellow.mainChannel,borderRadius:c.vars.dimensions.size__xxxs,marginRight:c.vars.dimensions.padding__xxs,width:c.vars.dimensions.size__sm,height:c.vars.dimensions.size__sm}}),u]})}},4860:function(e,t,n){"use strict";n.d(t,{Dn:function(){return c},ScoresCardCaution:function(){return h},ScoresCardLiveChip:function(){return _},ScoresCardLiveLabel:function(){return m},Vq:function(){return f},Z4:function(){return u}});var i=n(78485),a=n(17613),r=n(41970),s=n(60901),o=n(84336),l=n(46734),d=n(28548);let c=(0,i.ZP)(a.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",justifyContent:"space-between",alignItems:"center",width:"100%"}}),u=(0,i.ZP)(a.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",alignItems:"center",gap:t.vars.dimensions.size__md,display:"none",["@container scorecard-body (min-width: ".concat(d.vm.Normal,")")]:{display:"flex"}}}),f=(0,i.ZP)(a.Z)(e=>{let{theme:t}=e;return{flexDirection:"row",flexShrink:0,alignItems:"center",gap:t.vars.dimensions.size__xs,...l.cp.bp_small__ui__metadata__medium_strong,color:t.vars.palette.foreground__secondary.mainChannel,["@container scorecard-body (min-width: ".concat(d.vm.Normal,")")]:{gap:t.vars.dimensions.size__md,...l.cp.bp_small__body__body__medium,color:t.vars.palette.foreground__primary.mainChannel}}}),_=(0,i.ZP)(r.Z)(e=>{let{theme:t}=e;return{background:t.vars.palette.surface__accent__live.mainChannel,height:"auto",borderRadius:t.vars.dimensions.small__badges__radius,padding:0,".MuiChip-label":{...l.cp.bp_small__ui__label__small,color:t.vars.palette.foreground__oncolor_light.mainChannel,padding:"".concat(t.vars.dimensions.small__badges__top_bottom," ").concat(t.vars.dimensions.small__badges__left_right)},["@container scorecard-body (min-width: ".concat(d.vm.Normal,")")]:{display:"none"}}}),h=(0,i.ZP)(s.Z)(e=>{let{theme:t}=e;return{background:t.vars.palette.surface__indicator__yellow.mainChannel,height:t.vars.dimensions.size__xs,width:t.vars.dimensions.size__xs,border:"".concat(t.vars.dimensions.border__xs," solid ").concat(t.vars.palette.border__loud.mainChannel),borderRadius:t.vars.dimensions.radius__xxxs}}),m=(0,i.ZP)(o.Z)(e=>{let{theme:t}=e;return{...l.cp.bp_small__body__body__medium_strong,color:t.vars.palette.foreground__accent__live.mainChannel,display:"none",["@container scorecard-body (min-width: ".concat(d.vm.Normal,")")]:{display:"block"}}})},32979:function(e,t,n){"use strict";n.d(t,{TeamListing:function(){return c}});var i=n(90991),a=n(72163),r=n(60901),s=n(18865),o=n(53512);let l=e=>(0,i.jsx)(o.Z,{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"16",viewBox:"0 0 10 16",fill:"none",...e,children:(0,i.jsx)("path",{d:"M10 4L10 12L9 11.2L5 8L10 4Z"})});var d=n(30884);let c=e=>{let{id:t,teamName:n,possession:o,odds:c,score:u,isWinner:f,sx:_}=e,h=(0,s.useStadiumTheme)();return(0,i.jsxs)(d.J9,{id:"".concat(t,"/team_listing"),children:[n,(0,i.jsxs)(r.Z,{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:h.vars.dimensions.padding__xs,sx:{..._},children:[o,c&&(a.isValidElement(c)?c:(0,i.jsx)(d.hm,{children:c})),u,f&&(0,i.jsx)(l,{fill:"currentColor",fontSize:"small",sx:{position:"absolute",right:"0"}})]})]})}},30884:function(e,t,n){"use strict";n.d(t,{J9:function(){return l},Z:function(){return c},hm:function(){return d}});var i=n(78485),a=n(17613),r=n(84336),s=n(46734),o=n(28548);let l=(0,i.ZP)(a.Z)(()=>({flexDirection:"row",display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"})),d=(0,i.ZP)(r.Z)(e=>{let{theme:t}=e;return{display:"none",["@container scorecard-body (min-width: ".concat(o.vm.Normal,")")]:{display:"flex",...s.cp.bp_small__ui__metadata__medium,color:t.vars.palette.foreground__tertiary.mainChannel,textAlign:"right"}}}),c=(0,i.ZP)(r.Z,{shouldForwardProp:e=>"isWinner"!==e})(e=>{let{theme:t,isWinner:n}=e;return{...s.cp.bp_small__ui__score__small,color:!1===n?t.vars.palette.foreground__tertiary.mainChannel:t.vars.palette.foreground__primary.mainChannel,textAlign:"right",textTransform:"uppercase",["@container scorecard-body (min-width: ".concat(o.vm.Normal,")")]:{...s.cp.bp_small__ui__score__medium,color:!1===n?t.vars.palette.foreground__tertiary.mainChannel:t.vars.palette.foreground__primary.mainChannel}}})},31679:function(e,t,n){"use strict";n.d(t,{TeamScore:function(){return r}});var i=n(90991),a=n(30884);let r=e=>{let{id:t,score:n,isWinner:r,sx:s}=e;return n?(0,i.jsx)(a.Z,{id:t,isWinner:r,sx:s,children:n}):null}},26195:function(e,t,n){"use strict";n.d(t,{TeamName:function(){return m}});var i=n(90991),a=n(72163),r=n(60901),s=n(18865),o=n(78485),l=n(84336),d=n(46734),c=n(28548);let u=(0,o.ZP)(l.Z)(e=>{let{theme:t}=e;return{marginLeft:"auto",color:t.vars.palette.foreground__tertiary.mainChannel,...d.cp.bp_small__ui__score__small,lineHeight:"110%",alignSelf:"center",["@container scorecard-body (min-width: ".concat(c.vm.Normal,")")]:{marginLeft:"0",...d.cp.bp_small__ui__metadata__medium,lineHeight:t.vars.dimensions.size__md,alignSelf:"flex-end"}}}),f=(0,o.ZP)(l.Z,{shouldForwardProp:e=>"isWinner"!==e})(e=>{let{theme:t,isWinner:n}=e;return{...d.cp.bp_small__ui__score__small,textTransform:"uppercase",color:!1===n?t.vars.palette.foreground__tertiary.mainChannel:t.vars.palette.foreground__primary.mainChannel,["@container scorecard-body (min-width: ".concat(c.vm.Normal,")")]:{textTransform:"none",...d.cp.bp_small__headings__title__medium,color:t.vars.palette.foreground__primary.mainChannel}}}),_=(0,o.ZP)(l.Z,{shouldForwardProp:e=>!["isWinner","rankPosition"].includes(e.toString())})(e=>{let{theme:t,isWinner:n,rankPosition:i}=e;return{...d.cp.bp_small__ui__metadata__small,color:!1===n?t.vars.palette.foreground__tertiary.mainChannel:t.vars.palette.foreground__primary.mainChannel,width:"auto",minWidth:"0.6rem",["@container scorecard-body (min-width: ".concat(c.vm.Normal,")")]:{...d.cp.bp_small__ui__metadata__large,color:t.vars.palette.foreground__primary.mainChannel,width:"left"===i?t.vars.dimensions.size__sm:"1.8rem"}}}),h=(0,o.ZP)(r.Z)(e=>{let{theme:t}=e;return{gap:t.vars.dimensions.padding__xxxs,display:"flex",alignItems:"center",["@container scorecard-body (min-width: ".concat(c.vm.Normal,")")]:{gap:t.vars.dimensions.padding__xs}}}),m=e=>{let{id:t,isWinner:n,logo:o,name:l,rank:d,rankPosition:c="right",record:m,logoWidth:p}=e,g=(0,s.useStadiumTheme)();return(0,i.jsxs)(r.Z,{id:"".concat(t,"/teamName"),display:"flex",alignItems:"center",gap:g.vars.dimensions.padding__xs,children:[d&&"left"===c&&(0,i.jsx)(_,{isWinner:n,rankPosition:c,children:d}),o&&(0,i.jsx)(r.Z,{width:null!=p?p:g.vars.dimensions.size__xl,height:g.vars.dimensions.size__xl,children:o}),(0,i.jsxs)(h,{children:[d&&"right"===c&&(0,i.jsx)(_,{isWinner:n,rankPosition:c,children:d}),a.isValidElement(l)?l:(0,i.jsx)(f,{isWinner:n,children:l})]}),m&&(0,i.jsx)(u,{children:m})]})}},32908:function(e,t,n){"use strict";n.d(t,{Share:function(){return _}});var i=n(90991),a=n(17613),r=n(18865),s=n(32274),o=n(94972),l=n(44593),d=n(93404);let c=e=>{let{url:t,id:n,onClick:a,...c}=e,u=(0,r.useStadiumTheme)(),{copy:f}=(0,l.AS)(),{share:_}=(0,l.Sy)(),h=(0,s.Z)(u.breakpoints.down("bp_04"));return(0,i.jsxs)(o.Z,{variant:"ghost",title:h?"share":"copy","aria-label":h?"Share URL":"Copy URL to clipboard",onClick:function(e){h?_(t):f(t),null==a||a(e)},...c,children:[(0,i.jsx)(d.aA,{"data-testid":n,id:n,fontSize:"inherit",htmlColor:u.vars.palette.foreground__primary.mainChannel,sx:{display:{mobile__nav:"block",desktop__nav:"none"}}}),(0,i.jsx)(d.xP,{"data-testid":n,id:n,fontSize:"inherit",htmlColor:u.vars.palette.foreground__primary.mainChannel,sx:{display:{mobile__nav:"none",desktop__nav:"block"}}})]})},u=e=>{let{url:t,id:a,onClick:s,...l}=e,c=(0,r.useStadiumTheme)();return(0,i.jsx)(o.Z,{variant:"ghost",title:"share","aria-label":"Share on Facebook",onClick:e=>{let i=new URLSearchParams({u:t,display:"popup",ref:"plugin",src:"share_button"});n.g.open("https://www.facebook.com/sharer/sharer.php?".concat(i.toString()),"_blank","width=550,height=420"),null==s||s(e)},...l,children:(0,i.jsx)(d.Vq,{id:a,fontSize:"inherit",htmlColor:c.vars.palette.foreground__primary.mainChannel})})},f=e=>{let{url:t,id:a,onClick:s,...l}=e,c=(0,r.useStadiumTheme)();return(0,i.jsx)(o.Z,{variant:"ghost",title:"X","aria-label":"Share on X platform",onClick:e=>{let i=new URLSearchParams({url:t,via:"BleacherReport"});n.g.open("https://twitter.com/intent/tweet?".concat(i.toString()),"_blank","width=550,height=420"),null==s||s(e)},...l,children:(0,i.jsx)(d.Jf,{id:a,"date-testid":a,fontSize:"inherit",htmlColor:c.vars.palette.foreground__primary.mainChannel})})},_=e=>{let{url:t,id:n,onClick:s,...o}=e,l=(0,r.useStadiumTheme)();return(0,i.jsxs)(a.Z,{id:n,direction:"row",gap:l.vars.dimensions.padding__md,"data-testid":n,children:[(0,i.jsx)(f,{id:"".concat(n,"/x"),url:t,onClick:s,...o,"data-analytics-element-action":"X button"}),(0,i.jsx)(u,{id:"".concat(n,"/facebook"),url:t,onClick:s,...o,"data-analytics-element-action":"Facebook button"}),(0,i.jsx)(c,{id:"".concat(n,"/clipboard"),url:t,onClick:s,...o,"data-analytics-element-action":"Clipboard button"})]})}},15342:function(e,t,n){"use strict";n.d(t,{TagBreadcrumbs:function(){return c}});var i=n(90991),a=n(30812),r=n(17613),s=n(42908),o=n(84336),l=n(80531),d=n(18865);let c=e=>{let{tags:t,logo:n,id:c,LinkComponent:u}=e,f=(0,d.useStadiumTheme)();return(0,i.jsxs)(r.Z,{direction:"row",spacing:f.vars.dimensions.padding__xs,id:c,alignItems:"center",children:[n,(0,i.jsx)(s.Z,{id:"".concat(c,"/breadcrumbs"),separator:(0,i.jsx)(a.Z,{fontSize:"small",id:"".concat(c,"/seperator")}),"aria-label":"breadcrumb",children:t.map(e=>(0,i.jsx)(o.Z,{component:null!=u?u:l.Z,href:e.slug.startsWith("/")?e.slug:"/".concat(e.slug),id:"".concat(c,"/breadcrumbs/").concat(e.displayName),variant:"bp_small__body__body__small_strong",color:f.vars.palette.foreground__primary.mainChannel,children:e.displayName},e.displayName))})]})}},99641:function(e,t,n){"use strict";n.d(t,{TagLogo:function(){return o}});var i=n(90991),a=n(58308),r=n(18865),s=n(93404);let o=e=>{let{alt:t="tag-logo",src:n,background:o,id:l,sx:d,size:c,className:u,imgProps:f}=e,_=(0,r.useStadiumTheme)(),h=null!=c?c:_.vars.dimensions.size__2xl;return(0,i.jsx)(a.Z,{alt:t,src:n,id:l,className:u,imgProps:{id:"".concat(l,"/image"),...f},sx:{bgcolor:o,padding:_.vars.dimensions.padding__xxs,width:h,height:h,...d},children:(0,i.jsx)(s.ZD,{id:"".concat(l,"/icon"),sx:{bgcolor:_.vars.palette.foreground__primary.mainChannel,width:"inherit",height:"inherit",fontSize:{size:c}}})})}},80885:function(e,t,n){"use strict";n.d(t,{T:function(){return i.TagLogo}});var i=n(99641)},23218:function(e,t,n){"use strict";n.r(t),n.d(t,{DefaultPlayerConfig:function(){return nb}});var i,a,r,s,o,l,d,c,u,f,_,h,m,p,g,v,b=n(90575),x=n(68604),y=n(84248),k=n(86808);let C={errorCode:"error.internet.no.connection",errorMessage:"No internet connection available"},S={numeric:1e6,string:"pir"},E={numeric:9e6,string:"general"},T={numeric:0,string:"network"},P={numeric:0,string:"service.response"},w={numeric:0,string:"connectivity.lost"},A={numeric:3e5,string:"http.request"},I={numeric:4e5,string:"http.response"},M={numeric:798,string:"connection.failure"},R={numeric:796,string:"protocol.failure"},D={numeric:793,string:"malformed.url"},N={numeric:899,string:"timed.out"},L={numeric:896,string:"invalid.content.type"},j={numeric:999,string:"unknown"};var O=n(50635),B=n(44115),F=n(18906),Z=n(19403),z=n(73117),H=n(78177);class U{createConsumer(){return{playbackState$:this._playbackStateEvent$.asObservable(),playerError$:this._playerError$.asObservable(),availableTextTracks$:this._availableTextTracks$.asObservable(),selectedTextTrack$:this._selectedTextTrack$.asObservable(),availableAudioTracks$:this._availableAudioTracks$.asObservable(),selectedAudioTrack$:this._selectedAudioTrack$.asObservable(),activeTextCues$:this._activeTextCues$.asObservable(),playbackProgress$:this._playbackProgress$.asObservable(),timelineUpdate$:this._timelineUpdatedEvent$.asObservable(),videoCodecChange$:this._videoCodecChange$.asObservable(),videoSizeChange$:this._videoSizeChange$.asObservable(),videoBitrateChange$:this._videoBitrateChange$.asObservable(),videoFramerateChange$:this._videoFramerateChange$.asObservable(),audioBitrateChange$:this._audioBitrateChange$.asObservable(),audioCodecChange$:this._audioCodecChange$.asObservable(),activeRangeChange$:this._activeRangeChange$.asObservable(),rangeComplete$:this._rangeComplete$.asObservable(),scrubAction$:this._scrubAction$.asObservable(),volumeChange$:this._volumeChange$.asObservable(),fullscreenChange$:this._fullscreenChange$.asObservable(),adRollEvent$:this._adRollEvent$.asObservable(),adEvent$:this._adEvent$.asObservable(),adClick$:this._adClick$.asObservable(),videoStatsChange$:this._videoStatsChange$.asObservable(),networkRequest$:this._networkRequestEvent$.asObservable(),multiViewTimedMetadata$:this._mvTimedMetadata$.asObservable(),presentationTimedMetadata$:this._presentationTimedMetadata$.asObservable(),errorEvents$:this._playerError$.asObservable(),lifecycleEvent$:this._lifecycleEvent$.asObservable(),videoRenditionChange$:this._videoRenditionChange$.asObservable(),playbackStateEvents$:(0,F.T)(this._playbackStateEvent$.pipe((0,Z.U)(e=>({...e,type:e.playbackEventType,timestampMs:e.timestamp}))),this._playbackProgress$.pipe((0,Z.U)(e=>{let t={...e.playheadData,pdt:void 0!==e.playheadData.utcPlayheadMs?e.playheadData.utcPlayheadMs/1e3:void 0};return{...e,type:"PlaybackProgressEvent",timestampMs:e.timestamp,playheadData:t}})),this._adRollEvent$.pipe((0,Z.U)(e=>({...e,type:e.type+"Event",timestampMs:e.timestamp}))),this._adEvent$.pipe((0,Z.U)(e=>({...e,type:e.type+"Event",timestampMs:e.timestamp}))))}}updatePlaybackSessionId(e){this._playbackSessionId=e}publishPlaybackProgress(e,t,n){this._playbackProgress$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),playheadData:{streamPlayheadMs:e,contentPlayheadMs:t,utcPlayheadMs:n}})}publishPlaybackState(e){this._playbackStateEvent$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),playbackEventType:e})}publishPlaybackInfoResolutionStartEvent(e,t,n){let i={playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),playbackEventType:"PlaybackInfoResolutionStartEvent",contentMetadata:e,mediaEngineData:t,autoplay:n};this._playbackStateEvent$.next(i)}publishPlaybackInfoResolutionEndEvent(e,t){let n={playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),playbackEventType:"PlaybackInfoResolutionEndEvent",playable:e,capabilities:t};this._playbackStateEvent$.next(n)}publishPlaybackSessionInvalidatedEvent(e){let t={playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),playbackEventType:"PlaybackSessionInvalidatedEvent",reason:e};this._playbackStateEvent$.next(t)}publishFirstFrameRenderEvent(e){let t={playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),playbackEventType:"FirstFrameRenderEvent",activeStreamInfo:e};this._playbackStateEvent$.next(t)}publishSeekStartEvent(e){let t={playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),playbackEventType:"SeekStartEvent",intendedSeekPositionMs:e.intendedSeekPositionMs,adjustedSeekPosition:e.adjustedSeekPosition,currentPlayheadData:e.currentPlayheadData,seekReason:e.seekReason};this._playbackStateEvent$.next(t)}publishPlayerError(e,t,n,i,a,r,s){let o={playerId:this._playerId,playbackEventType:"ErrorEvent",playbackSessionId:this._playbackSessionId,timestamp:Date.now(),errorCode:e,errorMessage:t,classification:s,httpContext:a,stackTrace:n,activeStreamInfo:i,errorSource:r};this._playbackStateEvent$.next(o),this._playerError$.next(o)}publishAvailableTextTracks(e){this._availableTextTracks$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),availableTextTracks:e})}publishSelectedTextTrack(e){this._selectedTextTrack$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),selectedTextTrack:e})}publishAvailableAudioTracks(e){this._availableAudioTracks$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),availableAudioTracks:e})}publishSelectedAudioTrack(e){this._selectedAudioTrack$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),selectedAudioTrack:e})}publishActiveTextCues(e){this._activeTextCues$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),activeTextCues:e})}publishTimelineUpdate(e,t,n,i,a){let r;void 0!==i&&(r=i?"Dynamic":"Static"),this._timelineUpdatedEvent$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),timeline:e,contentDurationMs:t,liveStartTime:n,manifestType:r,seekableRange:a})}publishVideoCodecChange(e){this._videoCodecChange$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),videoCodec:e})}publishVideoSizeChange(e,t){this._videoSizeChange$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),videoHeight:e,videoWidth:t})}publishVideoBitrateChange(e){this._videoBitrateChange$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),videoBitrate:e})}publishVideoFramerateChange(e){this._videoFramerateChange$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),videoFrameRate:e})}publishVideoStatsChange(e){this._videoStatsChange$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),videoStats:e})}publishNetworkRequest(e){this._networkRequestEvent$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),request:e})}publishAudioBitrateChange(e){this._audioBitrateChange$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),audioBitrate:e})}publishAudioCodecChange(e){this._audioCodecChange$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),audioCodec:e})}publishActiveRangeChange(e,t){this._activeRangeChange$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),atRangeStart:e,range:t})}publishRangeComplete(){this._rangeComplete$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now()})}publishScrubAction(e,t){this._scrubAction$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),scrubbedPositionMs:e,terminal:t})}publishVolumeChange(e,t){this._volumeChange$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),currentVolume:e,restoreVolume:t})}publishFullscreenChange(e){this._fullscreenChange$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),isFullscreen:e})}publishAdRollStart(e,t,n,i){this._adRollEvent$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),type:"AdRollStart",adPod:e,podIndex:t,totalAdsInPod:n,payload:i})}publishAdRollEnd(e,t,n,i){this._adRollEvent$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),type:"AdRollEnd",adPod:e,podIndex:t,totalAdsInPod:n,payload:i})}publishAdStart(e,t,n,i){this._adEvent$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),type:"AdStart",ad:e,adIndexInPod:t,totalAdsInPod:n,payload:i})}publishAdComplete(e,t,n,i){this._adEvent$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),type:"AdComplete",ad:e,adIndexInPod:t,totalAdsInPod:n,payload:i})}publishAdFirstQuartile(e,t,n,i){this._adEvent$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),type:"AdFirstQuartile",ad:e,adIndexInPod:t,totalAdsInPod:n,payload:i})}publishAdMidpoint(e,t,n,i){this._adEvent$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),type:"AdMidpoint",ad:e,adIndexInPod:t,totalAdsInPod:n,payload:i})}publishAdThirdQuartile(e,t,n,i){this._adEvent$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),type:"AdThirdQuartile",ad:e,adIndexInPod:t,totalAdsInPod:n,payload:i})}publishAdClick(){this._adClick$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),type:"AdClick"})}publishPlaybackSessionInitiatedEvent(e,t,n,i,a){let r={playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),playbackEventType:"PlaybackSessionInitiatedEvent",contentMetadata:e,playerWidth:t,playerHeight:n,playerName:i,playerVersion:a};this._playbackStateEvent$.next(r)}publishForegroundEntered(){this._lifecycleEvent$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,lifecycleEventType:"ForegroundEnteredEvent",timestamp:Date.now()})}publishBackgroundEntered(){this._lifecycleEvent$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,lifecycleEventType:"BackgroundEnteredEvent",timestamp:Date.now()})}publishMultiviewTimedMetadata(e){this._mvTimedMetadata$.next(e)}publishPresentationTimedMetadata(e){this._presentationTimedMetadata$.next(e)}publishRenditionChange(e){this._videoRenditionChange$.next({playerId:this._playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),renditionChange:e})}constructor(e){this._playbackSessionId="",this._playerId=e,this._playbackProgress$=new z.x,this._playbackStateEvent$=new z.x,this._playerError$=new z.x,this._availableTextTracks$=new H.t(1),this._selectedTextTrack$=new H.t(1),this._availableAudioTracks$=new z.x,this._selectedAudioTrack$=new z.x,this._activeTextCues$=new z.x,this._timelineUpdatedEvent$=new z.x,this._videoCodecChange$=new z.x,this._videoSizeChange$=new z.x,this._videoBitrateChange$=new z.x,this._videoFramerateChange$=new z.x,this._audioBitrateChange$=new z.x,this._audioCodecChange$=new z.x,this._activeRangeChange$=new z.x,this._rangeComplete$=new z.x,this._scrubAction$=new z.x,this._volumeChange$=new H.t(1),this._fullscreenChange$=new z.x,this._adRollEvent$=new z.x,this._adEvent$=new z.x,this._adClick$=new z.x,this._videoStatsChange$=new z.x,this._lifecycleEvent$=new z.x,this._networkRequestEvent$=new z.x,this._mvTimedMetadata$=new z.x,this._presentationTimedMetadata$=new z.x,this._videoRenditionChange$=new z.x}}var V=n(81888);let $=e=>"string"==typeof e.name?e.name:"function"==typeof e.name?(0,e.name)():"unknown";class G{constructor(e){this.deviceModels=e.device_models_rule.device_models,this.modelListType=e.device_models_rule.model_list_type,this.configPaylod=e.value,this.pirConfig=this.configPaylod.pir}}var W=n(25792);let K=(e,t,n)=>({numeric:e.numeric+t.numeric+n.numeric,string:e.string+":"+t.string+"::"+n.string});var q=n(26716);class Y{destroy(){document.removeEventListener("fullscreenchange",this._onFullscreenChange),document.removeEventListener("webkitfullscreenchange",this._onWebkitFullscreenChange),this._cleanUpVideoElement()}enterFullscreen(){void 0!==this._element.webkitRequestFullscreen?this._element.webkitRequestFullscreen():void 0!==this._element.requestFullscreen?this._element.requestFullscreen().then(()=>{}).catch(()=>{this._attemptVideoElementFullscreen()}):this._attemptVideoElementFullscreen()}exitFullscreen(){void 0!==document.webkitExitFullscreen?document.webkitExitFullscreen():document.exitFullscreen().then(()=>{}).catch(()=>{})}isFullscreen(){return this._isFullscreen}_handleFullscreenChange(e){this._isFullscreen=e,this._eventBus.publishFullscreenChange(e)}_attemptVideoElementFullscreen(){this._cleanUpVideoElement(),this._videoElement=this._element.getElementsByTagName("video")[0],this._videoElement.webkitEnterFullscreen&&(this._videoElement.webkitEnterFullscreen(),this._videoElement.addEventListener("webkitbeginfullscreen",this._onVideoBeginsFullScreen),this._videoElement.addEventListener("webkitendfullscreen",this._onVideoEndsFullScreen))}_onVideoBeginsFullScreen(){this._handleFullscreenChange(!0)}_onVideoEndsFullScreen(){this._handleFullscreenChange(!1)}_cleanUpVideoElement(){this._videoElement&&(this._videoElement.removeEventListener("webkitbeginfullscreen",this._onVideoBeginsFullScreen),this._videoElement.removeEventListener("webkitendfullscreen",this._onVideoEndsFullScreen),this._videoElement=void 0)}constructor(e,t,n){this._onFullscreenChange=()=>{this._handleFullscreenChange(!!document.fullscreenElement)},this._onWebkitFullscreenChange=()=>{this._handleFullscreenChange(!!document.webkitFullscreenElement)},this._element=e,this._eventBus=t,this._logger=n,this._isFullscreen=!1,document.addEventListener("fullscreenchange",this._onFullscreenChange),document.addEventListener("webkitfullscreenchange",this._onWebkitFullscreenChange)}}let X="MediaSessionManager";class J{activateHandlers(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];this._setUpActionHandlers(e)}destroy(){this._cleanUpActionHandlers(),this._unsubscribeFromEvents()}_subscribeToEvents(){"mediaSession"in navigator!=!1&&(this._subscriptions.push(this._eventConsumer.playbackState$.subscribe(e=>{switch(e.playbackEventType){case"PlayingEvent":navigator.mediaSession.playbackState="playing";break;case"PausedEvent":navigator.mediaSession.playbackState="paused";break;case"PlaybackInfoResolutionStartEvent":navigator.mediaSession.playbackState="none";try{navigator.mediaSession.metadata=new window.MediaMetadata({title:e.contentMetadata.title,artist:"",album:"",artwork:[]})}catch(e){this._logger.w(X,"Error received attempting to set metadata to system ".concat(e.message))}break;case"PlaybackSessionEndEvent":navigator.mediaSession.playbackState="none"}})),this._subscriptions.push(this._eventConsumer.timelineUpdate$.subscribe(e=>{this._currentDurationMs=e.contentDurationMs})),void 0!==navigator.mediaSession.setPositionState&&"function"==typeof navigator.mediaSession.setPositionState?this._subscriptions.push(this._eventConsumer.playbackProgress$.subscribe(e=>{if(void 0!==this._currentDurationMs&&e.playheadData.contentPlayheadMs>=0&&e.playheadData.contentPlayheadMs{e.seekOffset?this._engineAdapter.skip(1e3*e.seekOffset):this._engineAdapter.skip(1e4)}),this._setActionHandler("seekbackward",e=>{if(e.seekOffset){let t=1e3*e.seekOffset;this._engineAdapter.skip(t>0?-t:t)}else this._engineAdapter.skip(-1e4)}),this._setActionHandler("seekto",e=>{if(void 0===e.seekTime||null===e.seekTime)return;let t=1e3*e.seekTime;this._engineAdapter.seek(t)}),this._setActionHandler("stop",async()=>{try{await this._engineAdapter.stop()}catch(e){this._logger.e(X,"Media Session Failed to stop"+e)}});else for(let e of["play","pause","seekforward","seekbackward","seekto"])this._setActionHandler(e,()=>{});this._setActionHandler("skipad",()=>{}),this._setActionHandler("nexttrack",()=>{}),this._setActionHandler("previoustrack",()=>{})}}_cleanUpActionHandlers(){for(let e of this._handledActions.slice())this._setActionHandler(e,null)}constructor(e,t,n){this._handledActions=[],this._eventConsumer=e,this._engineAdapter=t,this._logger=n,this._subscriptions=[],this._subscribeToEvents()}}var Q=n(90643),ee=n(57865),et=n(47206);let en=e=>"isLegacyPlugin"in e&&"isAdTechPlugin"in e?e.isLegacyPlugin&&e.isAdTechPlugin():"getContentPositionMs"in e&&"getPlaybackTimelineData"in e&&"getStreamPositionMs"in e&&"getResolvedSeekToPosition"in e&&"setPlayerCallbacks"in e,ei=e=>"Ad"===e||"KIDS_BUMPER"===e||"FILLER"===e||"VPAID_FILLER"===e||"SPONSOR"===e;class ea{init(e,t){return this._activeInitialPosition=t,Promise.resolve()}setLivePresentationStartTime(e){this._livePresentationStartTime=e}setLiveStartTime(e){this._firstLiveStartTimeS||(this._firstLiveStartTimeS=e),this._liveStartTimeS=e}getPlayheadData(e){return{streamPlayheadMs:e,contentPlayheadMs:e,utcPlayheadMs:this._getUtcPlayheadMs(e)}}getStreamPlayhead(e){return e}getResumeStartPosition(e){var t;return null!==(t=this._activeInitialPosition)&&void 0!==t?t:e}getFirstLiveStartTimeS(){return this._firstLiveStartTimeS}onDurationChange(e){this._publishTimelineUpdate(this._createDefaultTimeline(e))}onManifestParsed(e,t){}onPeriodChange(e){}onUserInitiatedSeek(e){this._playerCallback.seekTo(e,e)}onUserInitiatedSeekUTC(e){this._playerCallback.seekToUTC(e,e)}_createDefaultTimeline(e){return{id:"CONTENT_TIMELINE",type:"Timeline",startTime:e.start,endTime:e.end,contentStartTime:e.start,contentEndTime:e.end,children:[]}}_publishTimelineUpdate(e){this._timeline=e,this._playerCallback.onTimelineUpdate(e)}_getUtcPlayheadMs(e){var t;if(void 0!==this._livePresentationStartTime)return e+(null!==(t=this._firstLiveStartTimeS)&&void 0!==t?t:0)*1e3+1e3*this._livePresentationStartTime}resetPreviousSessionValues(){this._firstLiveStartTimeS=void 0}constructor(e,t){this._logger=e,this._playerCallback=t}}let er="AdTimeline";class es extends ea{async init(e,t){return await super.init(e,t),this._wasTimelinePublished=!1,this._pendingTimelineToPublish=void 0,this._isInitialized=!1,this._activeResumeStartPosition=void 0,this._contentTimeline=void 0,this._activeStreamInfo=e,this._setUpCallbacks(),this._sendTimelineData().finally(()=>{!this._wasTimelinePublished&&this._pendingTimelineToPublish&&this._publishTimelineUpdate(this._pendingTimelineToPublish),this._isInitialized=!0})}getPlayheadData(e){let t=super._getUtcPlayheadMs(e),n=Math.max(0,this._adTechPlugin.getContentPositionMs(null!=t?t:e));return{streamPlayheadMs:e,contentPlayheadMs:n,utcPlayheadMs:t}}getStreamPlayhead(e){return this._adTechPlugin.getStreamPositionMs(e)}getResumeStartPosition(e){var t;if(void 0!==this._activeResumeStartPosition)return this._activeResumeStartPosition;let n=null!==(t=this._activeInitialPosition)&&void 0!==t?t:e;return"number"==typeof n&&0!==n?this.getStreamPlayhead(n):n}onUserInitiatedSeek(e){let t=this._adTechPlugin.getResolvedSeekToPosition(e);this._playerCallback.seekTo(e,t)}onDurationChange(e){var t;if(!this._wasTimelinePublished||(null===(t=this._activeStreamInfo)||void 0===t?void 0:t.streamMode)!==k.Aw.VOD){let t=this._createDefaultTimeline(e);this._isInitialized?this._publishTimelineUpdate(t):this._pendingTimelineToPublish=t}}onManifestParsed(e,t){if(super.onManifestParsed(e,t),"com.sparx.sdk.breakEvent.v1"===t.type){let e=t.rawValue;if("base64"===t.encodingType)try{e=window.atob(t.rawValue)}catch(e){this._logger.e(er,"failed to decode AdSparx data - "+e.message)}let n={type:t.type,messageData:e};this._adTechPlugin.onTimedMetadata({data:[n]})}}_publishTimelineUpdate(e){this._wasTimelinePublished=!0,this._pendingTimelineToPublish=void 0,super._publishTimelineUpdate(e)}_setUpCallbacks(){this._adTechPlugin.setPlayerCallbacks({getCurrentTime:()=>{var e,t;let n=this._playerCallback.getCurrentPlayhead();return{streamPlayheadMs:null!==(e=null==n?void 0:n.streamPlayheadMs)&&void 0!==e?e:0,contentPlayheadMs:null!==(t=null==n?void 0:n.contentPlayheadMs)&&void 0!==t?t:0,utcPlayheadMs:null==n?void 0:n.utcPlayheadMs}},getVideoPlayerElement:()=>this._videoElement,onChapterStarted:e=>{var t;if((null===(t=this._activeStreamInfo)||void 0===t?void 0:t.streamMode)!==k.Aw.VOD)this._playerCallback.onActiveRangeChanged({children:[],contentEndTime:0,contentStartTime:0,endTime:0,startTime:0,id:"live-total-range",type:"ContentChapter"},!1);else if(void 0!==this._contentTimeline&&e.chapterIndex>=0&&e.chapterIndex{this._logger.d(er,"Called seekTo with position: "+e),this._playerCallback.seekTo(e,e)},onAdBreakStarted:e=>{var t;this._logger.d(er,"AdBreakStarted");let{adPod:n,podIndex:i,totalAdsInPod:a}=this._convertAdBreakEvent(e);this._playerCallback.onAdRollStart(n,i,a,e),void 0!==this._adBreaks&&i>=0&&i{this._logger.d(er,"AdBreakEnded");let{adPod:t,podIndex:n,totalAdsInPod:i}=this._convertAdBreakEvent(e);this._playerCallback.onAdRollEnd(t,n,i,e)},onAdStarted:e=>{this._logger.d(er,"AdStarted");let{ad:t,adIndex:n,totalAdsInPod:i}=this._convertAdEvent(e);this._playerCallback.onAdStart(t,n,i,e)},onAdComplete:e=>{this._logger.d(er,"AdComplete");let{ad:t,adIndex:n,totalAdsInPod:i}=this._convertAdEvent(e);this._playerCallback.onAdComplete(t,n,i,e)},onAdFirstQuartile:e=>{this._logger.d(er,"onAdFirstQuartile");let{ad:t,adIndex:n,totalAdsInPod:i}=this._convertAdEvent(e);this._playerCallback.onAdFirstQuartile(t,n,i,e)},onAdMidpoint:e=>{this._logger.d(er,"onAdMidpoint");let{ad:t,adIndex:n,totalAdsInPod:i}=this._convertAdEvent(e);this._playerCallback.onAdMidpoint(t,n,i,e)},onAdThirdQuartile:e=>{this._logger.d(er,"onAdThirdQuartile");let{ad:t,adIndex:n,totalAdsInPod:i}=this._convertAdEvent(e);this._playerCallback.onAdThirdQuartile(t,n,i,e)}})}_convertAdData(e){let t;return null==e?{durationMs:0}:(ei(e.type)&&(t=e.type),{id:e.ad_id,durationMs:e.durationMs,type:t})}_convertAdEvent(e){var t,n;return void 0===e?{ad:this._convertAdData(void 0),adIndex:0,totalAdsInPod:0}:{ad:this._convertAdData(e.ad),adIndex:null!==(t=e.adIndexInBreak)&&void 0!==t?t:0,totalAdsInPod:(null!==(n=e.break)&&void 0!==n?n:{ads:[]}).ads.length}}_convertAdBreak(e){var t;if(void 0===e)return{ads:[],durationMs:0,startMs:0};let n=null!==(t=e.ads)&&void 0!==t?t:[],i=[];for(let e=0;e"ContentChapter"===e.type&&e.contentStartTime!==e.contentEndTime)}_sendTimelineData(){var e,t,n,i,a,r;if(!(null===(e=this._activeStreamInfo)||void 0===e?void 0:e.timelinePayload))return Promise.resolve();let s=this._activeStreamInfo.timelinePayload?JSON.parse(this._activeStreamInfo.timelinePayload):{vendorAttributes:{breaks:[]}},o=null!==(t=this._activeStreamInfo.streamMode)&&void 0!==t?t:k.Aw.VOD,l=null!==(n=this._activeStreamInfo.provider)&&void 0!==n?n:"gps";return(null===(i=null==s?void 0:s.vendorAttributes)||void 0===i?void 0:i.breaks)&&(s.vendorAttributes.breaks=s.vendorAttributes.breaks.map(e=>({...e,ads:(null==e?void 0:e.ads)!==null?e.ads:[]}))),this._adTechPlugin.getPlaybackTimelineData({data:{attributes:{features:null!==(r=null===(a=this._activeStreamInfo.playbackSessionConfig)||void 0===a?void 0:a.features)&&void 0!==r?r:[],ssaiInfo:s,streaming:[{streamMode:o,provider:l}],...void 0!==this._activeInitialPosition&&"number"==typeof this._activeInitialPosition&&{viewingHistory:{position:this._activeInitialPosition,viewed:this._activeInitialPosition>0}},userInfo:this._activeStreamInfo.userInfo}}}).then(e=>{this._logger.d(er,"getPlaybackTimelineData\n"+JSON.stringify(e,null,2));let t=e.breaks,n=[];for(let e=0;e{this._logger.e(er,"getPlaybackTimelineData Error - "+e.message)})}constructor(e,t,n,i){super(e,i),this._isInitialized=!1,this._wasTimelinePublished=!1,this._adTechPlugin=t,this._videoElement=n}}var eo=n(91160),el=n(2537);let ed="TracksEventAdapter",ec=(e,t)=>{if(void 0!==t&&void 0!==t.language&&0!==e.length)return e.find(e=>e.role===t.role&&e.language===t.language)},eu=(e,t)=>e.filter((n,i)=>e.findIndex(e=>t(n,e))===i);class ef{setStreamInfo(e){this._streamInfo=e,this._timeline=(0,W.$D)(this._streamInfo,this._adPods,this._contentDurationMs,this._playerCallback.getStreamPlayhead)}onAvailableEngineTracksChanged(e,t,n,i){var a;if(this._logger.d(ed,"Period change event, got new audio tracks: ".concat(JSON.stringify(e))+" and text tracks: ".concat(JSON.stringify(t))),this._streamInfo){let e=void 0!==i?null===(a=this._timeline)||void 0===a?void 0:a[i]:void 0,t=void 0!==e?e.contentStartTime:n,r=(0,W.Sr)(t,this._streamInfo);this._pirAudioTracks=null==r?void 0:r.audioTracks,this._pirTextTracks=null==r?void 0:r.textTracks,this._originalAudioTrack=null==r?void 0:r.originalAudioSelection,this._originalTextTrack=null==r?void 0:r.originalTextSelection}this._handleAvailableEngineAudioTrackChange(e),this._handleAvailableEngineTextTrackChange(t),this.selectTracks()}selectTracks(){let e=this._availableAudioTracks,t=this._userSelectedAudioTrack,n=this._originalAudioTrack,i=ec(e,t)||ec(e,n)||e[0],a=this._availableTextTracks,r=this._userSelectedTextTrack,s=(null==r?void 0:r.role)===eo.m.CLOSED_CAPTION?{...r,role:eo.m.SUBTITLE}:(null==r?void 0:r.role)===eo.m.SUBTITLE?{...r,role:eo.m.CLOSED_CAPTION}:void 0,o=this._originalTextTrack,l={language:null==i?void 0:i.forcedTextLanguage,role:eo.m.FORCED},d=!1===this._isTextTrackEnabled,c=ec(a,r)||ec(a,d?void 0:s)||ec(a,d?void 0:o)||ec(a,l)||void 0;this._playbackEngine.selectTextTrack(c),this._playbackEngine.selectAudioTrack(i)}selectAudioTrack(e){var t;if(this._logger.d(ed,"Selecting audio track ".concat(JSON.stringify(e),"}.")),e===this._selectedAudioTrack){this._logger.d(ed,"Requested track ".concat(e," is already active."));return}let n=this._availableAudioTracks.length;for(let i=0;i{if(this._availableEngineAudioTracks.some(t=>t.role===e.role&&t.language.toLowerCase()===e.language.toLowerCase()))return e}):this._availableAudioTracks=this._availableEngineAudioTracks;let n=eu(this._availableAudioTracks,(e,t)=>e.displayName===t.displayName&&e.role===t.role&&e.language===t.language);this._eventBus.publishAvailableAudioTracks(n)}_handleAvailableEngineTextTrackChange(e){var t;this._logger.d(ed,"Got new available text tracks event: ".concat(JSON.stringify(e))),this._availableEngineTextTracks=e,(null===(t=this._pirTextTracks)||void 0===t?void 0:t.length)?this._availableTextTracks=this._pirTextTracks.filter(e=>{if(this._availableEngineTextTracks.some(t=>t.role===e.role&&t.language.toLowerCase()===e.language.toLowerCase()))return e}):this._availableTextTracks=this._availableEngineTextTracks;let n=this._availableTextTracks.filter(e=>e.role!==eo.m.FORCED);this._eventBus.publishAvailableTextTracks(null!=n?n:[])}constructor(e,t,n,i,a){var r,s,o,l,d;this._availableEngineAudioTracks=[],this._availableAudioTracks=[],this._availableEngineTextTracks=[],this._availableTextTracks=[],this._pirAudioTracks=[],this._pirTextTracks=[],this._contentDurationMs=0,this._playbackEngine=e,this._eventBus=t,this._logger=n,this._playerCallback=i,this._playerUserPreferences=a,this._timelineUpdateSubscription=this._eventBus.createConsumer().timelineUpdate$.subscribe(e=>{let t=e.timeline.children.filter(e=>"AdPod"===e.type);this._adPods=t,this._contentDurationMs=e.contentDurationMs,this._timeline=(0,W.$D)(this._streamInfo,this._adPods,this._contentDurationMs,this._playerCallback.getStreamPlayhead)}),this._selectedAudioTrackSubscription=e.selectedAudioTrack$.subscribe(e=>{this._logger.d(ed,"Got new selected audio track: ".concat(JSON.stringify(e))),this._selectedAudioTrack=e,e&&this._eventBus.publishSelectedAudioTrack(e)}),this._selectedTextTrackSubscription=e.selectedTextTrack$.subscribe(e=>{this._logger.d(ed,"Got new selected text track: ".concat(JSON.stringify(e))),this._selectedTextTrack=e,this._eventBus.publishSelectedTextTrack(e)});let c=null==a?void 0:a.getCurrentUserPreference();this._isTextTrackEnabled=null===(r=null==c?void 0:c.text)||void 0===r?void 0:r.enabled,void 0!==c&&(c.text&&(null===(s=c.text)||void 0===s?void 0:s.enabled)!==!1&&(null===(o=c.text.languages)||void 0===o?void 0:o.length)>0&&(this._userSelectedTextTrack={role:c.text.role,language:c.text.languages[0]}),c.audio&&(null===(l=c.audio.languages)||void 0===l?void 0:l.length)>0&&(this._userSelectedAudioTrack={role:null!==(d=c.audio.role)&&void 0!==d?d:el.u.PROGRAM,language:c.audio.languages[0]}))}}let e_="SkipController";class eh{skipStart(e){if(this._logger.d(e_,"Starting skip with: "+e),void 0===this._skipSession){let t=this._callbacks.getCurrentContentTimeMs(),n=t.currentContentTimeMs;this._skipSession={skipMetadata:t,currentSkipPositionMs:n,skipDurationMs:e},this._skipTickTimer=window.setInterval(()=>{if(this._skipSession){let e=this._skipSession.currentSkipPositionMs+this._skipSession.skipDurationMs;e<0?e=0:e>=this._skipSession.skipMetadata.currentContentDurationMs&&(e=this._skipSession.skipMetadata.currentContentDurationMs-1e3),this._skipSession.currentSkipPositionMs=e;let t=0===this._skipSession.currentSkipPositionMs||this._skipSession.currentSkipPositionMs>=this._skipSession.skipMetadata.currentContentDurationMs-1e3;this._eventBus.publishScrubAction(e,t),t&&this.skipStop()}else this._logger.w(e_,"Skip ticked with no active session, cancelling"),window.clearInterval(this._skipTickTimer)},1e3)}else this._logger.d(e_,"Found existing skip session, updating"),this._skipSession.skipDurationMs=e}skipStop(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._logger.d(e_,"Stopping skip"),window.clearInterval(this._skipTickTimer),void 0!==this._skipSession&&(e||this._callbacks.seekTo(this._skipSession.currentSkipPositionMs),this._skipSession=void 0)}constructor(e,t,n){this._eventBus=e,this._logger=t,this._callbacks=n}}class em{constructor(e,t,n){this._eventBus=e,this._playbackEngine=t,this._logger=n}}class ep extends em{setVolume(e){0===e?this.setMute(!0):this._playbackEngine.setVolume(e)}setMute(e){e?(this._restoreVolume=this._lastKnownVolume,this._playbackEngine.setVolume(0)):(this._playbackEngine.setVolume(this._restoreVolume||1),this._restoreVolume=void 0)}destroy(){this._volumeSubscription.unsubscribe()}constructor(e,t,n,i){var a,r;super(e,t,n),this._lastKnownVolume=1,this._restoreVolume=void 0,this._playerUserPreferences=i;let s=null===(r=null===(a=this._playerUserPreferences)||void 0===a?void 0:a.getCurrentUserPreference())||void 0===r?void 0:r.volume;s&&(this._lastKnownVolume=s.volume,this._restoreVolume=s.restoreVolume),this._volumeSubscription=t.volume$.subscribe(t=>{this._lastKnownVolume=t,e.publishVolumeChange(this._lastKnownVolume,this._restoreVolume)})}}let eg="EngineAdapter";class ev{async load(e,t,n){return this._logger.d(eg,"Loading StreamInfo "+JSON.stringify(e)),!0===this._isTimelineReady&&(this._isTimelineReady=!1,this._unsubscribeTimelineStreams(),this._lastObservedDuration=-1,this._lastObservedPlayheadData=void 0,this._lastObservedTimeline=void 0,this._lastObservedSeekableRange=void 0,this._livePresentationStartTime=void 0,this._liveStartTime=void 0),this._activeStreamInfo=e,await this._timelineManager.init(this._activeStreamInfo,t),this._isTimelineReady=!0,this._observeTimelineStreams(),this._tracksEventAdapter.setStreamInfo(this._activeStreamInfo),this._instrumentationMonitor.startFlow(eg,"MediaEngineLoad",["PlayerLoad"]),this._playbackEngine.load(this._activeStreamInfo,this._timelineManager.getResumeStartPosition(t),n)}pause(){this._playbackEngine.pause()}play(){this._playbackEngine.play()}seek(e){if(this._isLive){this.seekUtc(e);return}if(this._isEngineReady&&this._isTimelineReady&&void 0!==this._timelineManager){let t="number"==typeof e?e:this._resolveRelativePositionToContentPositionMs(e);this._timelineManager.onUserInitiatedSeek(t)}else this._logger.d(eg,"Seeking before timeline is ready, ignoring")}seekUtc(e){if(this._isEngineReady&&this._isTimelineReady&&void 0!==this._timelineManager){let t="number"==typeof e?e:this._resolvePlaybackPositionToUTC(e);this._timelineManager.onUserInitiatedSeek(t)}else this._logger.d(eg,"Seeking before timeline is ready, ignoring")}skip(e){this._isEngineReady&&this._lastObservedPlayheadData&&this._isTimelineReady&&void 0!==this._timelineManager?this._isLive?this._timelineManager.onUserInitiatedSeek(Math.max(this._lastObservedPlayheadData.utcPlayheadMs+e,0)):this._timelineManager.onUserInitiatedSeek(Math.max(this._lastObservedPlayheadData.contentPlayheadMs+e,0)):this._logger.d(eg,"Attempted skipping before playhead is known, ignoring")}skipStart(e){this._skipController.skipStart(e)}skipStop(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._skipController.skipStop(e)}selectAudioTrack(e){this._tracksEventAdapter.selectAudioTrack(e)}selectTextTrack(e){this._tracksEventAdapter.selectTextTrack(e)}setResizeMode(e){this._playbackEngine.setResizeMode(e)}setVolume(e){this._volumeEventAdapter.setVolume(e)}setMute(e){this._volumeEventAdapter.setMute(e)}stop(){return this._skipController.skipStop(!0),this._playbackEngine.stop()}destroy(){this._tracksEventAdapter.destroy(),this._volumeEventAdapter.destroy(),this._skipController.skipStop(!0);let e=this._subscriptions.length;for(let t=0;t(this._instrumentationMonitor.completeFlow("ObtainDeviceCapabilities"),e)).catch(e=>{throw this._instrumentationMonitor.failFlow("ObtainDeviceCapabilities",e,!1),e})}getThumbnailUrl(e,t,n){return void 0!==this._timelineManager&&0!==e?this._playbackEngine.getThumbnailUrl(this._timelineManager.getStreamPlayhead(e),t,n):Promise.resolve(void 0)}getPlayerNameAndVersion(){return{name:this._playbackEngine.getPlayerName(),version:this._playbackEngine.getPlayerVersion(),labsConfigVersion:this._playbackEngine.getPlayerLabsConfigVersion()}}updateSeekableRange(e){this._lastObservedSeekableRange=e,this._lastObservedTimeline&&this._eventBus.publishTimelineUpdate(this._lastObservedTimeline,this._lastObservedDuration,this._liveStartTime,this._isLive,this._lastObservedSeekableRange)}_resolveRelativePositionToContentPositionMs(e){let t;if(!1===this._isTimelineReady||void 0===this._lastObservedTimeline)return 0;switch(e){case"LIVE_EDGE":t=this._lastObservedTimeline.contentEndTime;break;case"START_OVER":t=this._lastObservedTimeline.contentStartTime;break;default:this._logger.w(eg,"Unknown relative position discovered "+e),t=0}return t}_resolvePlaybackPositionToUTC(e){var t,n;let i;if(!1===this._isTimelineReady||void 0===this._lastObservedTimeline)return 0;switch(e){case"LIVE_EDGE":i=this._utcToTimelineOffset+this._lastObservedTimeline.endTime;break;case"START_OVER":i=null!==(n=null===(t=this._lastObservedSeekableRange)||void 0===t?void 0:t.seekableRangeStart)&&void 0!==n?n:0;break;default:this._logger.w(eg,"Unknown relative position discovered "+e),i=0}return i}_observeActiveTextCues(e){return e.subscribe(e=>{this._eventBus.publishActiveTextCues(e)})}_observeAvailableTracks(e){return e.subscribe(e=>{let t=this._timelineManager.getPlayheadData(e.enginePositionMs);this._tracksEventAdapter.onAvailableEngineTracksChanged(e.engineAudioTracks,e.engineTextTracks,t.contentPlayheadMs,e.enginePeriodIndex)})}_observeVideoSize(e){return e.subscribe(e=>{this._eventBus.publishVideoSizeChange(e.height,e.width)})}_observeVideoBitrate(e){return e.subscribe(e=>{this._eventBus.publishVideoBitrateChange(e)})}_observeVideoFramerate(e){return e.subscribe(e=>{this._eventBus.publishVideoFramerateChange(e)})}_observeVideoCodec(e){return e.subscribe(e=>{this._eventBus.publishVideoCodecChange(e)})}_observeAudioBitrate(e){return e.subscribe(e=>{this._eventBus.publishAudioBitrateChange(e)})}_observeAudioCodec(e){return e.subscribe(e=>{this._eventBus.publishAudioCodecChange(e)})}_observeDuration(e){return e.subscribe(e=>{var t;null===(t=this._timelineManager)||void 0===t||t.onDurationChange(e)})}_observeManifestData(e,t){return t.subscribe(e=>{var t;null===(t=this._timelineManager)||void 0===t||t.onManifestParsed([],e)})}_observePeriodChange(e){return e.subscribe(e=>{var t;null===(t=this._timelineManager)||void 0===t||t.onPeriodChange(e)})}_observeMVTimedMetadata(e){return e.subscribe(e=>{this._eventBus.publishMultiviewTimedMetadata(e)})}_observeCurrentTime(e){return e.subscribe(e=>{var t;let n=null===(t=this._timelineManager)||void 0===t?void 0:t.getPlayheadData(e);void 0!==n&&(this._lastObservedPlayheadData=n,this._eventBus.publishPlaybackProgress(n.streamPlayheadMs,n.contentPlayheadMs,n.utcPlayheadMs))})}_observeNetworkRequest(e){return e.subscribe(e=>{this._eventBus.publishNetworkRequest(e)})}_observeLivePresentationStartTime(e){return e.subscribe(e=>{var t;this._livePresentationStartTime=null!=e?e:0,null===(t=this._timelineManager)||void 0===t||t.setLivePresentationStartTime(e)})}_observeLiveStartTime(e){return e.subscribe(e=>{var t;this._liveStartTime=e,null===(t=this._timelineManager)||void 0===t||t.setLiveStartTime(e)})}_observeIsLive(e){return e.subscribe(e=>{this._isLive=e,void 0!==this._lastObservedTimeline&&this._eventBus.publishTimelineUpdate(this._lastObservedTimeline,this._lastObservedDuration,this._liveStartTime,e,this._lastObservedSeekableRange)})}_observeError(e){return e.subscribe(e=>{let t=this._playerStateMachine.onError(e.errorCode,e.errorMessage,e.stackTrace,this._activeStreamInfo,e.httpContext,void 0,e.classification);if(!this._isEngineReady){let n=!t.changed,i=Error("Media Engine failed to load. code:".concat(e.errorCode," message: ").concat(e.errorMessage));i.stack=e.stackTrace,this._instrumentationMonitor.failFlow("MediaEngineLoad",i,n)}})}_observePlaybackState(e){return e.subscribe(e=>{switch(e){case et.w.PREPARING:this._isEngineReady=!1,this._timelineManager.resetPreviousSessionValues();break;case et.w.PREPARED:this._instrumentationMonitor.completeFlow("MediaEngineLoad"),this._activeStreamInfo?this._playerStateMachine.onFirstFrameRendered(this._activeStreamInfo):this._logger.e(eg,"activeStreamInfo was undefined when firing first frame rendered"),this._instrumentationMonitor.completeFlow("PlayerLoad"),this._isEngineReady=!0;break;case et.w.PLAYING:this._playerStateMachine.onPlaying();break;case et.w.PAUSED:this._playerStateMachine.onPaused();break;case et.w.BUFFERING:this._playerStateMachine.onBuffering();break;case et.w.ENDED:this._playerStateMachine.onPlaybackCompleted();break;case et.w.ERROR:this._logger.d(eg,"Got error engine state, check error stream for details")}})}_observeTimelineStreams(){this._timelineSubscriptions.push(this._observeManifestData(this._availableVideoPeriodsReplay$,this._timedMetadataReplay$)),this._timelineSubscriptions.push(this._observePeriodChange(this._videoPeriodReplay$)),this._timelineSubscriptions.push(this._observeCurrentTime(this._streamCurrentTime$)),this._timelineSubscriptions.push(this._observeLivePresentationStartTime(this._livePresentationStartTimeReplay$)),this._timelineSubscriptions.push(this._observeLiveStartTime(this._liveStartReplay$)),this._timelineSubscriptions.push(this._observeIsLive(this._playbackEngine.isLive$))}_observeVideoStats(e,t,n,i,a,r,s,o,l,d,c){let u=e.pipe((0,Q.O)(void 0)),f=t.pipe((0,Q.O)(void 0)),_=n.pipe((0,Q.O)([])),h=i.pipe((0,Q.O)(0)),m=a.pipe((0,Q.O)({})),p=r.pipe((0,Q.O)({height:0,width:0})),g=s.pipe((0,Q.O)(0)),v=o.pipe((0,Q.O)({})),b=l.pipe((0,Q.O)("")),x=d.pipe((0,Q.O)("")),y=c.pipe((0,Q.O)(""));return(0,ee.a)([u,f,_,h,m,p,g,v,b,x,y]).subscribe(e=>{var t,n,i;let[a,r,s,o,l,d,c,u,f,_,h]=e,m={totalFrames:a,droppedFrames:r,bufferedRange:s,video:{bitrate:o,codec:l.videoCodec||"",resolution:d},audio:{bitrate:c,codec:u.audioCodec||"",language:f},text:{format:_,language:h},playerEngineVersion:null!==(t=this._playerEngineVersion)&&void 0!==t?t:"",currentTimeMs:null!==(i=null===(n=this._lastObservedPlayheadData)||void 0===n?void 0:n.streamPlayheadMs)&&void 0!==i?i:0};this._eventBus.publishVideoStatsChange(m)})}_observeRenditionChange(e){return e.subscribe(e=>{this._eventBus.publishRenditionChange(e)})}_unsubscribeTimelineStreams(){let e=this._timelineSubscriptions.length;for(let t=0;tthis._lastObservedPlayheadData,this._onTimelineUpdate=e=>{var t;if(this._logger.d(eg,"Timeline startTime:".concat(e.startTime,", Timeline endTime:").concat(e.endTime)),void 0!==this._livePresentationStartTime){let n=(null!==(t=this._timelineManager.getFirstLiveStartTimeS())&&void 0!==t?t:0)*1e3;this._utcToTimelineOffset=1e3*this._livePresentationStartTime+n,this._lastObservedSeekableRange=(0,q.$V)(this._utcToTimelineOffset+e.startTime,this._utcToTimelineOffset+e.endTime)}this._lastObservedDuration=e.endTime-e.startTime,this._lastObservedTimeline=e,this._eventBus.publishTimelineUpdate(e,this._lastObservedDuration,this._liveStartTime,this._isLive,this._lastObservedSeekableRange)},this._onActiveRangeChanged=(e,t)=>{this._eventBus.publishActiveRangeChange(t,e)},this._seekInternal=(e,t)=>{if(this._isLive){this._seekInternalUTC(e,t);return}let n="number"==typeof e?e:this._timelineManager.getStreamPlayhead(this._resolveRelativePositionToContentPositionMs(e)),i="number"==typeof t?t:this._timelineManager.getStreamPlayhead(this._resolveRelativePositionToContentPositionMs(t));this._playerStateMachine.onSeeking({intendedSeekPositionMs:n,adjustedSeekPosition:i,currentPlayheadData:this._lastObservedPlayheadData,seekReason:"UserTriggered"}),this._playbackEngine.seek(i)},this._seekInternalUTC=(e,t)=>{let n=("number"==typeof e?e:this._resolvePlaybackPositionToUTC(e))-this._utcToTimelineOffset,i=("number"==typeof t?t:this._resolvePlaybackPositionToUTC(t))-this._utcToTimelineOffset;this._playerStateMachine.onSeeking({intendedSeekPositionMs:n,adjustedSeekPosition:i,currentPlayheadData:this._lastObservedPlayheadData,seekReason:"UserTriggered"}),this._playbackEngine.seek(i)},this._onAdRollStart=(e,t,n,i)=>{this._eventBus.publishAdRollStart(e,t,n,i)},this._onAdRollEnd=(e,t,n,i)=>{this._eventBus.publishAdRollEnd(e,t,n,i)},this._onAdStart=(e,t,n,i)=>{this._eventBus.publishAdStart(e,t,n,i)},this._onAdComplete=(e,t,n,i)=>{this._eventBus.publishAdComplete(e,t,n,i)},this._onAdFirstQuartile=(e,t,n,i)=>{this._eventBus.publishAdFirstQuartile(e,t,n,i)},this._onAdMidpoint=(e,t,n,i)=>{this._eventBus.publishAdMidpoint(e,t,n,i)},this._onAdThirdQuartile=(e,t,n,i)=>{this._eventBus.publishAdThirdQuartile(e,t,n,i)},this._createTimelineCallbacks=()=>({getCurrentPlayhead:this._getCurrentPlayhead,onTimelineUpdate:this._onTimelineUpdate,onActiveRangeChanged:this._onActiveRangeChanged,seekTo:this._seekInternal,seekToUTC:this._seekInternalUTC,onAdRollStart:this._onAdRollStart,onAdRollEnd:this._onAdRollEnd,onAdStart:this._onAdStart,onAdComplete:this._onAdComplete,onAdFirstQuartile:this._onAdFirstQuartile,onAdMidpoint:this._onAdMidpoint,onAdThirdQuartile:this._onAdThirdQuartile}),this._createTrackEventAdapterCallback=()=>({getCurrentPlayhead:this._getCurrentPlayhead,getStreamPlayhead:e=>this._timelineManager.getStreamPlayhead(e)}),this._playbackEngine=e.create(i),this._eventBus=t,this._playerStateMachine=n,this._logger=a,this._playerUserPreferences=o,this._instrumentationMonitor=r,this._playerEngineVersion=this._playbackEngine.getPlayerVersion(),void 0!==s&&en(s)?this._timelineManager=new es(this._logger,s,this._playbackEngine.getVideoElement(),this._createTimelineCallbacks()):this._timelineManager=new ea(this._logger,this._createTimelineCallbacks()),this._skipController=new eh(t,a,{getCurrentContentTimeMs:()=>{var e,t;return{currentContentTimeMs:null!==(t=null===(e=this._lastObservedPlayheadData)||void 0===e?void 0:e.contentPlayheadMs)&&void 0!==t?t:0,currentContentDurationMs:this._lastObservedDuration}},seekTo:e=>this.seek(e)}),this._tracksEventAdapter=new ef(this._playbackEngine,this._eventBus,this._logger,this._createTrackEventAdapterCallback(),o),this._volumeEventAdapter=new ep(this._eventBus,this._playbackEngine,this._logger,this._playerUserPreferences),this._subscriptions.push(this._observeActiveTextCues(this._playbackEngine.activeTextCues$)),this._subscriptions.push(this._observeAvailableTracks(this._playbackEngine.availableTracks$)),this._subscriptions.push(this._observeVideoSize(this._playbackEngine.videoSize$)),this._subscriptions.push(this._observeVideoBitrate(this._playbackEngine.videoBitrateBps$)),this._subscriptions.push(this._observeVideoFramerate(this._playbackEngine.videoFramerate$)),this._subscriptions.push(this._observeVideoCodec(this._playbackEngine.videoCodec$)),this._subscriptions.push(this._observeAudioBitrate(this._playbackEngine.audioBitrateBps$)),this._subscriptions.push(this._observeAudioCodec(this._playbackEngine.audioCodec$)),this._subscriptions.push(this._observeError(this._playbackEngine.error$)),this._subscriptions.push(this._observePlaybackState(this._playbackEngine.playbackState$)),this._subscriptions.push(this._observeDuration(this._playbackEngine.streamDuration$)),this._subscriptions.push(this._observeVideoStats(this._playbackEngine.totalFrames$,this._playbackEngine.droppedFrames$,this._playbackEngine.bufferedRange$,this._playbackEngine.videoBitrateBps$,this._playbackEngine.videoCodec$,this._playbackEngine.videoSize$,this._playbackEngine.audioBitrateBps$,this._playbackEngine.audioCodec$,this._playbackEngine.audioTrackLanguage$,this._playbackEngine.textTrackFormat$,this._playbackEngine.textTrackLanguage$)),this._subscriptions.push(this._playbackEngine.availableVideoPeriods$.subscribe(this._availableVideoPeriodsReplay$)),this._subscriptions.push(this._playbackEngine.timedMetadata$.subscribe(this._timedMetadataReplay$)),void 0!==this._playbackEngine.mvTimedMetadata$&&this._subscriptions.push(this._observeMVTimedMetadata(this._playbackEngine.mvTimedMetadata$)),this._subscriptions.push(this._playbackEngine.videoPeriod$.subscribe(this._videoPeriodReplay$)),this._subscriptions.push(this._playbackEngine.streamCurrentTime$.subscribe(this._streamCurrentTime$)),this._subscriptions.push(this._observeNetworkRequest(this._playbackEngine.streamNetworkRequest$)),this._subscriptions.push(this._observeRenditionChange(this._playbackEngine.videoRenditionChange$)),this._playbackEngine.liveStart$&&this._subscriptions.push(this._playbackEngine.liveStart$.subscribe(this._liveStartReplay$)),this._subscriptions.push(this._playbackEngine.liveEnd$.subscribe(this._liveEndReplay$)),this._subscriptions.push(this._playbackEngine.livePresentationStartTime$.subscribe(this._livePresentationStartTimeReplay$))}}var eb=n(80183);let ex=["missing.header.user.agent","not.found","access.denied.geoblocked","access.denied.missingpackage","concurrentstreams.exceeded","access.denied.outside.playable.windows","access.denied.before.playable.windows","access.denied.after.playable.windows","access.denied.age.restricted","access.denied.by.partner","download.copy.limit.reached","download.limit.reached","download.movie.limit.reached","download.series.limit.reached","download.parental.control","download.declined","missing.header.request.context","internal.server.error","playback.declined","device.location.missing","inside.blackout.area","media.capabilities.error","error.reauthentication.required","access.denied.vpn.usage","access.denied.preview.exhausted","access.denied.asset.not.streamable","concurrentstreams.contentsegment.exceeded"],ey=e=>ex.includes(e),ek=e=>"ERR_CANCELED"===e||"ECONNABORTED"===e;(i=u||(u={}))[i.Unknown=0]="Unknown",i[i.Initialized=1]="Initialized",i[i.MetadataFetchStarted=2]="MetadataFetchStarted",i[i.ContentResolved=3]="ContentResolved",i[i.FirstFrameRendered=4]="FirstFrameRendered",i[i.Playing=5]="Playing",i[i.Paused=6]="Paused",i[i.Buffering=7]="Buffering",i[i.Seeking=8]="Seeking",i[i.Completed=9]="Completed",i[i.Error=10]="Error",i[i.SessionEnded=11]="SessionEnded",(a=f||(f={}))[a.Initialize=0]="Initialize",a[a.MetadataFetchStart=1]="MetadataFetchStart",a[a.ContentResolve=2]="ContentResolve",a[a.FirstFrameRender=3]="FirstFrameRender",a[a.Play=4]="Play",a[a.Pause=5]="Pause",a[a.Buffer=6]="Buffer",a[a.Seek=7]="Seek",a[a.Complete=8]="Complete",a[a.Error=9]="Error",a[a.SessionEnd=10]="SessionEnd",a[a.PlaybackSessionInvalidatedEvent=11]="PlaybackSessionInvalidatedEvent";class eC{onInitialized(){this._updateState(f.Initialize)}onPlaybackInfoResolutionStart(e,t,n){let{changed:i}=this._updateState(f.MetadataFetchStart);i&&this._eventBus.publishPlaybackInfoResolutionStartEvent(e,t,n)}onPlaybackInfoResolutionEnd(e,t){let{changed:n}=this._updateState(f.ContentResolve);n&&this._eventBus.publishPlaybackInfoResolutionEndEvent(e,t)}onFirstFrameRendered(e){let{changed:t}=this._updateState(f.FirstFrameRender);t&&this._eventBus.publishFirstFrameRenderEvent(e)}onPlaying(){this._updateState(f.Play).changed&&this._eventBus.publishPlaybackState("PlayingEvent")}onPaused(){this._updateState(f.Pause).changed&&this._eventBus.publishPlaybackState("PausedEvent")}onBuffering(){this._updateState(f.Buffer).changed&&this._eventBus.publishPlaybackState("BufferingStartEvent")}onSeeking(e){this._seekStateData!==e&&(this._updateState(f.Seek).changed||this._state===u.Seeking)&&(this._seekStateData=e,this._eventBus.publishSeekStartEvent(e))}onPlaybackCompleted(){this._updateState(f.Complete).changed&&this._eventBus.publishPlaybackState("PlaybackCompleteEvent")}_isErrorDueToDrmEntitlements(e){var t;return void 0!==e&&(null===(t=e[0])||void 0===t?void 0:t.expirationReason)==="entitlement"}onError(e,t,n,i,a,r,s){if(this._activeErrorCode===e)return{previousState:this._state,changed:!1};let o=this._updateState(f.Error);return(o.changed||this._state===u.Error)&&(this._activeErrorCode=e,this._errorClassificationConfig&&(this._errorClassificationConfig.classificationEnabled?this._errorClassificationConfig.disabledClassifications.some(e=>e===(null==s?void 0:s.numeric))&&(s=void 0):s=void 0),this._isErrorDueToDrmEntitlements(null==i?void 0:i.drm)?this._eventBus.publishPlaybackSessionInvalidatedEvent(B.P.EntitlementsExpiredReason):ey(e)||ek(e)||!this._networkStatusMonitor?this._eventBus.publishPlayerError(e,t,n,i,a,r,s):this._networkStatusMonitor.hasNetworkConnection().then(async o=>{var l;if(o&&await (null===(l=this._networkStatusMonitor)||void 0===l?void 0:l.canConnectToServer())){this._eventBus.publishPlayerError(e,t,n,i,a,r,s);return}let d=K(E,T,w);this._eventBus.publishPlayerError(C.errorCode,C.errorMessage,n,i,a,r,d)}).catch(()=>{this._eventBus.publishPlayerError(e,t,n,i,a,r,s)})),o}onPlaybackSessionEnded(){this._updateState(f.SessionEnd).changed&&this._eventBus.publishPlaybackState("PlaybackSessionEndEvent")}_updateState(e){let t=this._state;switch(this._state){case u.Unknown:t=this._transitionFromUnknown(e);break;case u.Initialized:t=this._transitionFromInitialized(e);break;case u.MetadataFetchStarted:t=this._transitionFromMetadataFetchStarted(e);break;case u.ContentResolved:t=this._transitionFromContentResolved(e);break;case u.FirstFrameRendered:t=this._transitionFromFirstFrameRendered(e);break;case u.Playing:t=this._transitionFromPlaying(e);break;case u.Paused:t=this._transitionFromPaused(e);break;case u.Buffering:t=this._transitionFromBuffering(e);break;case u.Seeking:t=this._transitionFromSeeking(e);break;case u.Completed:t=this._transitionFromCompleted(e);break;case u.Error:t=this._transitionFromError(e),this._activeErrorCode=void 0;break;case u.SessionEnded:t=this._transitionFromSessionEnded(e)}void 0!==this._seekStateData&&(t===u.Playing||t===u.Paused||t===u.Completed||t===u.Error||t===u.SessionEnded)&&(this._eventBus.publishPlaybackState("SeekEndEvent"),this._seekStateData=void 0);let n=this._state;return this._state=t,{previousState:n,changed:n!==this._state}}setVideoStartFailureInterceptor(e){this._videoStartFailureInterceptor=e}_transitionFromUnknown(e){switch(e){case f.Initialize:return u.Initialized;case f.Error:return u.Error;default:this._logTransitionFail("Unknown",e)}return this._state}_transitionFromInitialized(e){switch(e){case f.MetadataFetchStart:return u.MetadataFetchStarted;case f.Error:return u.Error;case f.SessionEnd:return u.SessionEnded;default:this._logTransitionFail("Initialized",e)}return this._state}_transitionFromMetadataFetchStarted(e){switch(e){case f.ContentResolve:return u.ContentResolved;case f.Error:return u.Error;case f.SessionEnd:return u.SessionEnded;default:this._logTransitionFail("MetadataFetchStarted",e)}return this._state}_transitionFromContentResolved(e){var t;switch(e){case f.FirstFrameRender:return u.FirstFrameRendered;case f.Error:if(null===(t=this._videoStartFailureInterceptor)||void 0===t?void 0:t.call(this))break;return u.Error;case f.SessionEnd:return u.SessionEnded;default:this._logTransitionFail("ContentResolved",e)}return this._state}_transitionFromFirstFrameRendered(e){switch(e){case f.Play:return u.Playing;case f.Pause:return u.Paused;case f.Error:return u.Error;case f.SessionEnd:return u.SessionEnded;default:this._logTransitionFail("FirstFrameRendered",e)}return this._state}_transitionFromPlaying(e){switch(e){case f.Pause:return u.Paused;case f.Seek:return u.Seeking;case f.Buffer:return u.Buffering;case f.Complete:return u.Completed;case f.Error:return u.Error;case f.SessionEnd:return u.SessionEnded;default:this._logTransitionFail("Playing",e)}return this._state}_transitionFromPaused(e){switch(e){case f.Play:return u.Playing;case f.Seek:return u.Seeking;case f.Buffer:return u.Buffering;case f.Complete:return u.Completed;case f.Error:return u.Error;case f.SessionEnd:return u.SessionEnded;default:this._logTransitionFail("Paused",e)}return this._state}_transitionFromBuffering(e){let t;switch(e){case f.Play:t=u.Playing;break;case f.Pause:t=u.Paused;break;case f.Seek:t=u.Seeking;break;case f.Complete:t=u.Completed;break;case f.Error:t=u.Error;break;case f.SessionEnd:t=u.SessionEnded;break;default:this._logTransitionFail("Buffering",e)}return void 0!==t?(this._eventBus.publishPlaybackState("BufferingEndEvent"),t):this._state}_transitionFromSeeking(e){switch(e){case f.Play:return u.Playing;case f.Pause:return u.Paused;case f.Buffer:return u.Buffering;case f.Complete:return u.Completed;case f.Error:return u.Error;case f.SessionEnd:return u.SessionEnded;default:this._logTransitionFail("Seeking",e)}return this._state}_transitionFromCompleted(e){switch(e){case f.Seek:return u.Seeking;case f.Error:return u.Error;case f.SessionEnd:return u.SessionEnded;default:this._logTransitionFail("Completed",e)}return this._state}_transitionFromError(e){switch(e){case f.MetadataFetchStart:return u.MetadataFetchStarted;case f.SessionEnd:return u.SessionEnded;default:this._logTransitionFail("Error",e)}return this._state}_transitionFromSessionEnded(e){return e===f.MetadataFetchStart?u.MetadataFetchStarted:(this._logTransitionFail("SessionEnded",e),this._state)}_logTransitionFail(e,t){this._logger.d("PlayerStateMachine","Failed to transition from ".concat(e," to ").concat(f[t]))}constructor(e,t,n){this._state=u.Unknown,this._seekStateData=void 0,this._activeErrorCode=void 0,this._eventBus=e,this._logger=t,this._networkStatusMonitor=eb.C.instance.getNetworkStatusMonitor(),this._errorClassificationConfig=n}}class eS{getThumbnailUrl(e,t,n){return this._engineAdapter.getThumbnailUrl(e,t,n)}constructor(e,t){this._engineAdapter=e,this._logger=t}}class eE{getVolume(){return this._lastKnownVolume}isMuted(){return 0===this._lastKnownVolume}setMute(e){this._engineAdapter.setMute(e)}setVolume(e){let t=e;t<0?t=0:t>1&&(t=1),this._engineAdapter.setVolume(t)}destroy(){this._volumeChangeSubscription.unsubscribe()}constructor(e,t,n){this._lastKnownVolume=1,this._engineAdapter=e,this._logger=n,this._volumeChangeSubscription=t.volumeChange$.subscribe(e=>{this._lastKnownVolume=e.currentVolume})}}var eT=n(52803);let eP="default",ew="InstrumentationMonitor";class eA{startFlow(e,t,n,i){var a,r,s,o;let l,d,c,u;let f=i||eP;for(let e=0;e{switch(e.playbackEventType){case"PlaybackInfoResolutionStartEvent":this._playbackSessionId=e.playbackSessionId,this._contentMetadata=e.contentMetadata;break;case"PlaybackInfoResolutionEndEvent":this._playable=e.playable;break;case"FirstFrameRenderEvent":this._streamType=e.activeStreamInfo.streamInfoType}}))}}class eI{startFlow(){return""}completeFlow(){}cancelFlow(){}failFlow(){}}(r=_||(_={})).CONTINUE_LOADING="CONTINUE_LOADING",r.CANCEL_LOADING="CANCEL_LOADING";var eM=n(81658);class eR{_onTimedMetadataEvent(e){this._eventsDb.push(e),this._eventsDb.length>1&&this._eventsDb.sort((e,t)=>e.presentationTimeMs-t.presentationTimeMs)}_onResetEvent(){this._eventsDb=[]}_onPlaybackProgressEvent(e){var t;let n=e.playheadData.streamPlayheadMs,i=null===(t=this._eventsDb[0])||void 0===t?void 0:t.presentationTimeMs;void 0!==i&&n>=i&&this._publishPresentationTimedMetadata()}_publishPresentationTimedMetadata(){this._eventBus.publishPresentationTimedMetadata({timestamp:new Date,metadata:this._eventsDb[0]}),this._eventsDb.shift()}destroy(){for(let e of this._subscriptions)e.unsubscribe();this._onResetEvent(),this._subscriptions=[]}constructor(e){this._eventsDb=[],this._subscriptions=[],this._eventBus=e,this._playerEvents=e.createConsumer(),this._subscriptions.push(this._playerEvents.playbackProgress$.subscribe(e=>{this._onPlaybackProgressEvent(e)})),this._subscriptions.push(this._playerEvents.multiViewTimedMetadata$.subscribe(e=>{this._onTimedMetadataEvent(e)})),this._subscriptions.push(this._playerEvents.playbackState$.pipe((0,eM.h)(e=>{let{playbackEventType:t}=e;return"SeekEndEvent"===t||"PlaybackInfoResolutionStartEvent"===t})).subscribe(e=>{let{playbackEventType:t}=e;this._onResetEvent()}))}}let eD="Player";class eN{onForegroundEntered(){var e;if(!this._isBackgrounded||!this._lastLoadedContentMetadata){this._logger.w(eD,"onForegroundEntered() before onBackgroundEntered(), ignoring.");return}(this._logger.d(eD,"Foregrounding Player"),this._eventBus.publishForegroundEntered(),null===(e=this._overlayCoordinator)||void 0===e||e.forceHideUI(!1),this._lastLoadedContentMetadata.initialStreamMode===k.Aw.CHANNEL)?this._lastDVREnabled?this.load(this._lastLoadedContentMetadata,this._lastPositionMs||0):this.load(this._lastLoadedContentMetadata,"LIVE_EDGE"):this.load(this._lastLoadedContentMetadata,this._lastPositionMs||0)}onBackgroundEntered(){var e;if(this._logger.d(eD,"onBackgroundEntered"),!this._isLoaded||this._isDestroyed||this._isStopped){this._logger.w(eD,"onBackgroundEntered() before load or after stop/destroy, ignoring.");return}this._eventBus.publishBackgroundEntered(),null===(e=this._overlayCoordinator)||void 0===e||e.forceHideUI(!0),this.stop(),this._isBackgrounded=!0}_load(e,t,n){var i;this._lastLoadedContentMetadata=e,this._isBackgrounded&&(this._logger.d(eD,"Foregrounding Player"),null===(i=this._overlayCoordinator)||void 0===i||i.forceHideUI(!1)),this._isLoaded=!1,this._isStopped=!1,void 0===e.initialPlaybackPosition&&(e.initialPlaybackPosition=t),this._playerStateMachine.setVideoStartFailureInterceptor(void 0),this._playerStateMachine.onPlaybackInfoResolutionStart(e,this._playbackEngineAdapter.getPlayerNameAndVersion(),n),this._playbackEngineAdapter.getEngineCapabilities().then(async t=>{var n;return this._logger.d(eD,"Got capabilities: ".concat(JSON.stringify(t,null,2))),this._instrumentationMonitor.startFlow(eD,"PlaybackInfoResolution",["PlayerLoad"]),{playable:await this._playbackInfoResolver.resolve(e,t,this._playbackSessionId,this._playbackEngineAdapter.getPlayerNameAndVersion(),this._remoteConfig,null===(n=this._playerUserPreferences)||void 0===n?void 0:n.getCurrentUserPreference()),capabilities:t}}).catch(e=>{throw e.errSource="pir",this._instrumentationMonitor.failFlow("PlaybackInfoResolution",e,!1),e.classification=this._parsePirErrorClassification(e),e}).then(e=>{let{playable:t,capabilities:n}=e;return this._instrumentationMonitor.completeFlow("PlaybackInfoResolution"),this._isFirstLoad=!1,this._playerStateMachine.onPlaybackInfoResolutionEnd(t,n),t}).then(e=>{var i;if(this._isDestroyed||this._isStopped){this._logger.w(eD,"Playback response returned after stop/destroy, ignoring");return}let a=(0,W.r8)(e,0);if(void 0===a)throw Error("No primary stream info available on returned playable.");let r=(0,W.r8)(e,1);return void 0!==r&&this._playerStateMachine.setVideoStartFailureInterceptor(()=>(this._playerStateMachine.setVideoStartFailureInterceptor(void 0),this._logger.d(eD,"Loading fallback manifest"),this._playbackEngineAdapter.load(r,this._getAdjustedStartPosition(r,t),n).catch(e=>{this._logger.e(eD,"Something went wrong loading fallback: ".concat(e),e.stack),this._playerStateMachine.onError(e.name,e.message,e.stack,void 0,void 0,void 0,e.classification)}),!0)),this._enableMediaSessionHandlers=this._lastDVREnabled=null===(i=null==e?void 0:e.extras)||void 0===i?void 0:i.transportControlsEnabled,this._playbackEngineAdapter.load(a,this._getAdjustedStartPosition(a,t),n)}).then(()=>{this._mediaSessionManager.activateHandlers(this._enableMediaSessionHandlers)}).catch(e=>{this._logger.e(eD,"Something went wrong resolving playback info: ".concat(e),e.stack),this._playerStateMachine.onError(e.name,e.message,e.stack,void 0,e.context,e.errSource,e.classification)})}load(e,t,n){if(this._logger.d(eD,"Loading contentMetadata "+JSON.stringify(e)),this._isDestroyed){this._logger.w(eD,"Player already destroyed when calling load, returning early");return}this._isFirstLoad?this._loadSetup(e,t,n):(this._updatePlaybackSessionId(),this.stop().awaitable.then(()=>{this._loadSetup(e,t,n)}).catch(()=>{this._logger.e(eD,"Error when trying to stop media engine")}))}pause(){this._playbackEngineAdapter.pause()}play(){this._playbackEngineAdapter.play()}seek(e){this._playbackEngineAdapter.seek(e)}skip(e){this._playbackEngineAdapter.skip(e)}skipStart(e){this._playbackEngineAdapter.skipStart(e)}skipStop(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._playbackEngineAdapter.skipStop(e)}stop(){var e,t;let n=null!==(t=null===(e=this._playbackEngineAdapter.stop())||void 0===e?void 0:e.catch(e=>{this._logger.e(eD,"Error calling stop on engine adapter ".concat(e))}).finally(()=>{this._playerStateMachine.onPlaybackSessionEnded()}))&&void 0!==t?t:Promise.resolve();return this._isLoaded=!1,this._isStopped=!0,this._enableMediaSessionHandlers=void 0,{awaitable:n}}destroy(){var e,t,n,i,a;eT.b.instance.event({playerId:this.playerId,component:eD,creationTimestampMs:Date.now(),eventName:"PlayerDestroyed",playbackSessionId:this._playbackSessionId,payload:{}}),null===(e=this._playerLifecycleNotifier)||void 0===e||e.setListener(void 0),this._playerStateMachine.onPlaybackSessionEnded();let r=null!==(n=null===(t=this._playbackEngineAdapter.destroy())||void 0===t?void 0:t.catch(e=>this._logger.e(eD,"Error calling destroy on engine adapter ".concat(e))))&&void 0!==n?n:Promise.resolve();this._fullscreenControls.destroy(),null===(i=this._presentationTimedmetaDispatcher)||void 0===i||i.destroy(),this._volumeControls.destroy(),this._mediaSessionManager.destroy();let s=this._plugins.length;for(let e=0;e{this._playbackEngineAdapter.selectTextTrack(e)},selectAudioTrack:e=>{this._playbackEngineAdapter.selectAudioTrack(e)}}}volumeControls(){return this._volumeControls}thumbnailControls(){return this._thumbnailControls}setVideoResizeMode(e){this._playbackEngineAdapter.setResizeMode(e)}_updatePlaybackSessionId(){this._playbackSessionId=(0,y.b)(),this._eventBus.updatePlaybackSessionId(this._playbackSessionId)}_isUTCStartPositionForLive(e,t){return!!(t&&e.streamMode&&e.streamMode!==k.Aw.VOD)}_getAdjustedUTCPosition(e){return this._lastDVREnabled?e:"LIVE_EDGE"}_getAdjustedStartPosition(e,t){let n=t;if("number"==typeof n&&"number"==typeof t){if(this._isUTCStartPositionForLive(e,t))return this._getAdjustedUTCPosition(t);if(t<0)n=0;else if(t>0&&!this._isBackgrounded){let i=(0,W.I9)(e);void 0!==i&&(t>=i.durationMs-1e3&&(n=i.durationMs-1e3),n+=i.startMs)}}return n}_loadSetup(e,t,n){e.initialStreamMode!==k.Aw.VOD&&this._setupLiveEventMetadataListener(e),this._instrumentationMonitor.startFlow(eD,"PlayerLoad",[]);let i=this._playbackEngineAdapter.getPlayerNameAndVersion();if(this._eventBus.publishPlaybackSessionInitiatedEvent(e,this._rootElement.clientWidth,this._rootElement.clientHeight,i.name,i.version),this._playerLoadInterruptCallback)this._instrumentationMonitor.startFlow(eD,"LoadInterruptInvocation",["PlayerLoad"]),this._playerLoadInterruptCallback(e).then(n=>{this._logger.d(eD,"PlayerLoadInterruptResult returned ".concat(n)),n===_.CONTINUE_LOADING?(this._instrumentationMonitor.completeFlow("LoadInterruptInvocation"),this._load(e,t)):(this._instrumentationMonitor.cancelFlow("LoadInterruptInvocation",_.CANCEL_LOADING,!1),this._eventBus.publishPlaybackSessionInvalidatedEvent(B.P.LoadInterruptReason))}).catch(e=>{this._logger.e(eD,"_playerLoadInterruptCallback errored out: ".concat(e),e.stack),this._instrumentationMonitor.cancelFlow("LoadInterruptInvocation",_.CANCEL_LOADING,!1),this._eventBus.publishPlaybackSessionInvalidatedEvent(B.P.LoadInterruptReason)});else{this._load(e,t,n);return}}_parsePirErrorClassification(e){var t;if((null===(t=e.context)||void 0===t?void 0:t.statusCode)!==void 0&&0!==e.context.statusCode){let t=this._muxErrorCodeMapping?(0,V.a)("pir",e.name,this._muxErrorCodeMapping):"";return t&&"1000999"!==t?K(S,P,{numeric:parseInt(t)-S.numeric-P.numeric,string:e.name}):K(S,I,{numeric:e.context.statusCode,string:"".concat(e.context.statusCode)})}return"ERR_INVALID_URL"===e.name?K(S,A,D):"ERR_BAD_REQUEST"===e.name?K(S,A,R):"ERR_BAD_RESPONSE"===e.name?K(S,I,L):"ECONNABORTED"===e.name||"ETIMEDOUT"===e.name?K(S,I,N):"ERR_NETWORK"===e.name?K(S,A,M):K(S,A,j)}_setupLiveEventMetadataListener(e){let t=eb.C.instance.getEpgContentMetadataUpdater();null==t||t.initialize(this.events());let n=null==t?void 0:t.listenForNextContentMetadataUpdatePosition(e),i=null==n?void 0:n.subscribe(t=>{var n,i,a,r,s,o;if(e.extras&&(null==t?void 0:t.extras)){let l=null!==(n=e.extras.PROGRAM_START_TIME_MS)&&void 0!==n?n:e.extras.AIRING_START_TIME_MS,d=null!==(i=e.extras.PROGRAM_END_TIME_MS)&&void 0!==i?i:e.extras.AIRING_END_TIME_MS,c=null!==(a=t.extras.PROGRAM_START_TIME_MS)&&void 0!==a?a:e.extras.AIRING_START_TIME_MS,u=null!==(r=t.extras.PROGRAM_END_TIME_MS)&&void 0!==r?r:t.extras.AIRING_END_TIME_MS,f=(0,q.$V)(null!==(s=(0,q.Ro)(l))&&void 0!==s?s:0,null!==(o=(0,q.Ro)(d))&&void 0!==o?o:Number.MAX_VALUE,(0,q.Ro)(c),(0,q.Ro)(u));this._playbackEngineAdapter.updateSeekableRange(f)}});i&&this._subscriptions.push(i)}constructor(e,t,n,i,a,r,s,o,l,d,c,u,f){var _,h,m;let p;this._playbackSessionId="",this._plugins=[],this._subscriptions=[],this._isFirstLoad=!0,this._isLoaded=!1,this._isStopped=!1,this._isBackgrounded=!1,this._isDestroyed=!1,this._isPaused=!0,this._lastPositionMs=0,this.playerId=e,this._eventBus=new U(e),this._playbackInfoResolver=i,this._timelineProviderFactory=r,this._playerUserPreferences=s,this._logger=o,this._overlayCoordinator=u,this._playerLifecycleNotifier=d,null===(_=this._playerLifecycleNotifier)||void 0===_||_.setListener(this),this._playerLoadInterruptCallback=c,this._designMapper=f,this._rootElement=l,this._muxErrorCodeMapping=t.muxErrorCodeMapping,eT.b.instance.setEventConsumer(this._eventBus.createConsumer(),this.playerId),this._updatePlaybackSessionId(),this._logger.d(eD,"playerConfig = ".concat(JSON.stringify(t))),this._playerStateMachine=new eC(this._eventBus,this._logger,t.errorClassification),eb.C.instance.getInstrumentationConfiguration().instrumentationEnabled?this._instrumentationMonitor=new eA(this._eventBus.createConsumer(),this._logger,this.playerId):this._instrumentationMonitor=new eI,this._playbackInfoResolver.setInstrumentationMonitor(this._instrumentationMonitor),this._playbackInfoResolver.setPublishNetworkRequest&&this._playbackInfoResolver.setPublishNetworkRequest(e=>{this._eventBus.publishNetworkRequest(e)}),this._logger.d(eD,"Creating plugins");let g=a.length;for(let t=0;te.name)+"]"),this._playbackEngineAdapter=new ev(n,this._eventBus,this._playerStateMachine,l,this._logger,this._instrumentationMonitor,p,this._playerUserPreferences),this._playbackEngineAdapter.setResizeMode(null!==(h=t.resizeMode)&&void 0!==h?h:"contain"),this._fullscreenControls=new Y(l,this._eventBus,this._logger),this._presentationTimedmetaDispatcher=new eR(this._eventBus),this._volumeControls=new eE(this._playbackEngineAdapter,this._eventBus.createConsumer(),this._logger),this._thumbnailControls=new eS(this._playbackEngineAdapter,this._logger),null===(m=this._overlayCoordinator)||void 0===m||m.initialize(this._eventBus.createConsumer(),this,l,e,this._logger),this._playerStateMachine.onInitialized(),this._mediaSessionManager=new J(this._eventBus.createConsumer(),this._playbackEngineAdapter,this._logger);let v=this.events();this._subscriptions.push(v.playerError$.subscribe(e=>{if(this._logger.e(eD,"Player received error, stopping playback session: ".concat(e.playbackSessionId," code:").concat(e.errorCode," message: ").concat(e.errorMessage)),!this._isLoaded){let t=Error("Player failed to load. code:".concat(e.errorCode," message: ").concat(e.errorMessage));t.stack=e.stackTrace,this._instrumentationMonitor.failFlow("PlayerLoad",t,!1)}this.stop()}));let b=t.resiliencyConfigCore||O.f;this._remoteConfig=new G(b),this._subscriptions.push(v.playbackState$.subscribe(e=>{switch(e.playbackEventType){case"PlayingEvent":this._isPaused=!1;break;case"PausedEvent":this._isPaused=!0;break;case"FirstFrameRenderEvent":this._isLoaded=!0,this._isBackgrounded&&(this._isPaused?this.pause():this.play(),this._isBackgrounded=!1)}})),this._subscriptions.push(v.playbackProgress$.subscribe(e=>{this._lastPositionMs=e.playheadData.contentPlayheadMs}))}}class eL{toString(){return"".concat(this.playerGlobalScopeId,":").concat(this.sequenceNumber,":").concat(this.timestampMs)}constructor(e,t){this.sequenceNumber=e,this.playerGlobalScopeId=t,this.timestampMs=Date.now()}}class ej{static get instance(){return ej._instance}generate(){return new eL(this._currentSequenceNumber++,ej._playerGlobalScopeId)}constructor(){this._currentSequenceNumber=1}}ej._instance=new ej,ej._playerGlobalScopeId=(0,y.b)();class eO{setLogger(e){return this._logger=e,this}setPluginCreators(e){return this._pluginCreators=e,this}setTimelineProviderFactory(e){return this._timelineProviderFactory=e,this}setPlayerUserPreferences(e){return this._playerUserPreferences=e,this}setPlayerLifecycleNotifier(e){return this._playerLifecycleNotifier=e,this}setPlayerLoadInterruptCallback(e){return this._playerLoadInterruptCallback=e,this}setCustomStyling(e){return this._designMapper=e,this}buildPlayer(e){let t=ej.instance.generate(),n=new eN(t,this._config,this._playbackEngineCreator,this._playbackInfoResolver,this._pluginCreators,this._timelineProviderFactory,this._playerUserPreferences,this._logger,e,this._playerLifecycleNotifier,this._playerLoadInterruptCallback);return eb.C.instance.getPlayerManager().internal.addPlayerInstance(n),this._playbackInfoResolver.setPlayerId(t),n}buildPlayerWithUI(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this._designMapper&&t.setStylingOverrides(this._designMapper),this._config.safeZoneObservable&&t.setObservableSafeZone(this._config.safeZoneObservable),n.direction&&(e.setAttribute("dir",n.direction),t.setOverlayDirection(n.direction));let i=ej.instance.generate(),a=new eN(i,this._config,this._playbackEngineCreator,this._playbackInfoResolver,this._pluginCreators,this._timelineProviderFactory,this._playerUserPreferences,this._logger,e,this._playerLifecycleNotifier,this._playerLoadInterruptCallback,t);return eb.C.instance.getPlayerManager().internal.addPlayerInstance(a),this._playbackInfoResolver.setPlayerId(i),a}constructor(e,t,n){this._pluginCreators=[],this._logger=new x.k,this._config=e,this._playbackInfoResolver=n,this._playbackEngineCreator=t}}var eB=n(33175),eF=n(53998),eZ=n(61142),ez=n(50324),eH=n(71147),eU=n(54229),eV=n(21997),e$=n(51106),eG=n(89434),eW=n(60570),eK=n(5177),eq=n(42136),eY=n(84980),eX=n(79808),eJ=n(2096),eQ=n(29066),e0=n(68444),e1=n(97437);let e2={"0100":e1.J.AUDIO,"0101":e1.J.VIDEO_SD,"0102":e1.J.VIDEO_HD,"0103":e1.J.VIDEO_UHD1,"0104":e1.J.VIDEO_UHD2,"0105":e1.J.VIDEO_FHD},e5=e=>{var t;return null!==(t=e2[e.substring(0,4)])&&void 0!==t?t:e1.J.UNKNOWN};var e6=n(64827);n(48679),n(97503);var e4=n(61572);n(68137),n(89578),(s=h||(h={})).UNKNOWN="unknown",s.SL150="sl150",s.SL2000="sl2000",s.SL3000="sl3000",(o=m||(m={})).L1="l1",o.L2="l2",o.L3="l3",(l=p||(p={}))[l.HDCP_LEVEL_UNKNOWN=0]="HDCP_LEVEL_UNKNOWN",l[l.HDCP_NONE=1]="HDCP_NONE",l[l.HDCP_V1=2]="HDCP_V1",l[l.HDCP_V2=3]="HDCP_V2",l[l.HDCP_V2_1=4]="HDCP_V2_1",l[l.HDCP_V2_2=5]="HDCP_V2_2",l[l.HDCP_V2_3=6]="HDCP_V2_3",l[l.HDCP_NO_DIGITAL_OUTPUT=7]="HDCP_NO_DIGITAL_OUTPUT",(d=g||(g={})).FOUR_THREE="4:3",d.SIXTEEN_NINE="16:9",d.TWENTY_ONE_NINE="21:9";var e3=n(10088),e7=n(72949);class e9 extends e3.o{getKeyTypesWhichMayBeRestricted(){if(void 0!==this.hdcpLevel)switch(this.hdcpLevel){case p.HDCP_V2_2:case p.HDCP_V2_3:return new e7.HashSet;case p.HDCP_V2:case p.HDCP_V2_1:return new e7.HashSet([e1.J.VIDEO_UHD1,e1.J.VIDEO_UHD2]);case p.HDCP_V1:return new e7.HashSet([e1.J.VIDEO_FHD,e1.J.VIDEO_UHD1,e1.J.VIDEO_UHD2]);case p.HDCP_NONE:return new e7.HashSet([e1.J.VIDEO_FHD,e1.J.VIDEO_HD,e1.J.VIDEO_UHD1,e1.J.VIDEO_UHD2])}return super.getKeyTypesWhichMayBeRestricted()}constructor(e,t){super(e),this.hdcpLevel=t}}var e8=n(7088),te=n(15589);let tt=[{codec:'video/mp4; codecs="hev1.1.6.H156.B0"',profile:"main10",level:"5.2"},{codec:'video/mp4; codecs="hev1.1.6.H153.B0"',profile:"main10",level:"5.1"},{codec:'video/mp4; codecs="hev1.1.6.H150.B0"',profile:"main10",level:"5"},{codec:'video/mp4; codecs="hev1.1.6.H123.B0"',profile:"main10",level:"4.1"},{codec:'video/mp4; codecs="hev1.1.6.H120.B0"',profile:"main10",level:"4"},{codec:'video/mp4; codecs="hev1.1.6.L156.B0"',profile:"main",level:"5.2"},{codec:'video/mp4; codecs="hev1.1.6.L153.B0"',profile:"main",level:"5.1"},{codec:'video/mp4; codecs="hev1.1.6.L150.B0"',profile:"main",level:"5"},{codec:'video/mp4; codecs="hev1.1.6.L123.B0"',profile:"main",level:"4.1"},{codec:'video/mp4; codecs="hev1.1.6.L120.B0"',profile:"main",level:"4"},{codec:'video/mp4; codecs="hev1.1.6.L93.B0"',profile:"main",level:"3.1"},{codec:'video/mp4; codecs="hev1.1.6.L90.B0"',profile:"main",level:"3"},{codec:'video/mp4; codecs="hev1.1.6.L63.B0"',profile:"main",level:"2.1"},{codec:'video/mp4; codecs="hev1.1.6.L60.B0"',profile:"main",level:"2"},{codec:'video/mp4; codecs="hev1.1.6.L30.B0"',profile:"main",level:"1"}],tn={codec:te.iL.H265,maxLevel:"5.2",profiles:["main10","main"]},ti=[{codec:'video/mp4; codecs="avc1.640034"',profile:"high",level:"5.2"},{codec:'video/mp4; codecs="avc1.640033"',profile:"high",level:"5.1"},{codec:'video/mp4; codecs="avc1.640032"',profile:"high",level:"5"},{codec:'video/mp4; codecs="avc1.64002a"',profile:"high",level:"4.2"},{codec:'video/mp4; codecs="avc1.640029"',profile:"high",level:"4.1"},{codec:'video/mp4; codecs="avc1.640028"',profile:"high",level:"4"},{codec:'video/mp4; codecs="avc1.640020"',profile:"high",level:"3.2"},{codec:'video/mp4; codecs="avc1.64001f"',profile:"high",level:"3.1"},{codec:'video/mp4; codecs="avc1.64001e"',profile:"high",level:"3"},{codec:'video/mp4; codecs="avc1.640016"',profile:"high",level:"2.2"},{codec:'video/mp4; codecs="avc1.640015"',profile:"high",level:"2.1"},{codec:'video/mp4; codecs="avc1.640014"',profile:"high",level:"2"},{codec:'video/mp4; codecs="avc1.64000d"',profile:"high",level:"1.3"},{codec:'video/mp4; codecs="avc1.64000c"',profile:"high",level:"1.2"},{codec:'video/mp4; codecs="avc1.64000b"',profile:"high",level:"1.1"},{codec:'video/mp4; codecs="avc1.64000a"',profile:"high",level:"1"},{codec:'video/mp4; codecs="avc1.4d0034"',profile:"main",level:"5.2"},{codec:'video/mp4; codecs="avc1.4d0033"',profile:"main",level:"5.1"},{codec:'video/mp4; codecs="avc1.4d0032"',profile:"main",level:"5"},{codec:'video/mp4; codecs="avc1.4d002a"',profile:"main",level:"4.2"},{codec:'video/mp4; codecs="avc1.4d0029"',profile:"main",level:"4.1"},{codec:'video/mp4; codecs="avc1.4d0028"',profile:"main",level:"4"},{codec:'video/mp4; codecs="avc1.4d0020"',profile:"main",level:"3.2"},{codec:'video/mp4; codecs="avc1.4d001f"',profile:"main",level:"3.1"},{codec:'video/mp4; codecs="avc1.4d001e"',profile:"main",level:"3"},{codec:'video/mp4; codecs="avc1.4d0016"',profile:"main",level:"2.2"},{codec:'video/mp4; codecs="avc1.4d0015"',profile:"main",level:"2.1"},{codec:'video/mp4; codecs="avc1.4d0014"',profile:"main",level:"2"},{codec:'video/mp4; codecs="avc1.4d000d"',profile:"main",level:"1.3"},{codec:'video/mp4; codecs="avc1.4d000c"',profile:"main",level:"1.2"},{codec:'video/mp4; codecs="avc1.4d000b"',profile:"main",level:"1.1"},{codec:'video/mp4; codecs="avc1.4d000a"',profile:"main",level:"1"},{codec:'video/mp4; codecs="avc1.420034"',profile:"baseline",level:"5.2"},{codec:'video/mp4; codecs="avc1.420033"',profile:"baseline",level:"5.1"},{codec:'video/mp4; codecs="avc1.420032"',profile:"baseline",level:"5"},{codec:'video/mp4; codecs="avc1.42002a"',profile:"baseline",level:"4.2"},{codec:'video/mp4; codecs="avc1.420029"',profile:"baseline",level:"4.1"},{codec:'video/mp4; codecs="avc1.420028"',profile:"baseline",level:"4"},{codec:'video/mp4; codecs="avc1.420020"',profile:"baseline",level:"3.2"},{codec:'video/mp4; codecs="avc1.42001f"',profile:"baseline",level:"3.1"},{codec:'video/mp4; codecs="avc1.42001e"',profile:"baseline",level:"3"},{codec:'video/mp4; codecs="avc1.420016"',profile:"baseline",level:"2.2"},{codec:'video/mp4; codecs="avc1.420015"',profile:"baseline",level:"2.1"},{codec:'video/mp4; codecs="avc1.420014"',profile:"baseline",level:"2"},{codec:'video/mp4; codecs="avc1.42000d"',profile:"baseline",level:"1.3"},{codec:'video/mp4; codecs="avc1.42000c"',profile:"baseline",level:"1.2"},{codec:'video/mp4; codecs="avc1.42000b"',profile:"baseline",level:"1.1"},{codec:'video/mp4; codecs="avc1.42000a"',profile:"baseline",level:"1"}],ta={codec:te.iL.H264,maxLevel:"5.2",profiles:["high","main","baseline"]},tr=[{codec:'audio/mp4; codecs="mp4a.40.2"',profile:"lc"},{codec:'audio/mp4; codecs="mp4a.40.5"',profile:"hev"},{codec:'audio/mp4; codecs="mp4a.40.29"',profile:"hev2"}],ts={codec:te.dg.AAC,profiles:["lc","hev","hev2"]},to=[{codec:'audio/mp4; codecs="ac-3";'}],tl={codec:te.dg.AC3,profiles:[]},td="atmos",tc=[{codec:'audio/mp4; codecs="ec-3"'}],tu={codec:te.dg.EAC3,profiles:[]},tf=[{robustness:"HW_SECURE_ALL",level:te.YH.L1},{robustness:"HW_SECURE_DECODE",level:te.YH.L1},{robustness:"HW_SECURE_CRYPTO",level:te.YH.L2},{robustness:"SW_SECURE_DECODE",level:te.YH.L3},{robustness:"SW_SECURE_CRYPTO",level:te.YH.L3}],t_=[{robustness:"3000",level:te.xi.SL3000},{robustness:"2000",level:te.xi.SL2000},{robustness:"150",level:te.xi.SL150},{level:te.xi.UNKNOWN}],th=[{keySystem:"com.apple.fps.3_0",version:"3.0",initDataTypes:["cenc"]},{keySystem:"com.apple.fps.2_0",version:"2.0",initDataTypes:["sinf"]},{keySystem:"com.apple.fps.1_0",version:"1.0",initDataTypes:["cenc"]}],tm=[{level:te.xi.SL3000,robustness:"3000",minHdcpVersion:"2.2"},{level:te.xi.SL2000,robustness:"2000",minHdcpVersion:"1.0"}];class tp{async getCapabilities(){return{audioDecoders:void 0!==this._config.supportedAudioCodecs?this._getOverrideAudioDecodingCapabilities(this._config.supportedAudioCodecs):await this._getAudioDecodingCapabilities(),displayProperties:await this._getDisplayProperties(),drmInfo:await this._getDrmCapabilities(),manifests:this._getManifestsCapabilities(),segments:this._getSegmentsCapabilities(),videoDecoders:void 0!==this._config.supportedVideoCodecs?this._getOverrideVideoDecodingCapabilities(this._config.supportedVideoCodecs):this._getVideoDecodingCapabilities()}}async _getAudioDecodingCapabilities(){let e,t,n;let i=tr.length;for(let t=0;t{if(void 0!==n)switch(e.keySystem){case eW.v.FAIRPLAY_2_0:n.schema===k.L1.FAIRPLAY&&tS(e,n);break;case eW.v.WIDEVINE:n.schema===k.L1.WIDEVINE&&tS(e,n);break;case eW.v.PLAYREADY:case eW.v.PLAYREADY_SL3000:n.schema===k.L1.PLAYREADY&&tS(e,n);break;case eW.v.CLEARKEY:n.schema===k.L1.CLEARKEY&&tS(e,n)}return e}},i)}}function tS(e,t){let n=t.licenseServerUrl;void 0!==n&&(e.licenseServerUri=()=>Promise.resolve(n)),void 0!==t.certificateUrl&&t.schema===k.L1.FAIRPLAY&&(e.serverCertificate=new ty.Uri(t.certificateUrl)),"entitlement"===t.expirationReason&&(e.expirationReason=tk.n.ENTITLEMENT)}var tE=n(25802);class tT extends tE.Y{hasVerifiedMediaPath(){var e;return null!==(e=this.hasVerifiedMediaPathOverride)&&void 0!==e?e:super.hasVerifiedMediaPath()}constructor(e,t,n){super(e,t),this.hasVerifiedMediaPathOverride=n}}var tP=n(8854),tw=n(35548),tA=n(8347),tI=n(84634),tM=n(70445);class tR{getPlayerVersion(){return eH.J.getPlayerVersion()}getPlayerName(){return"GLUON_BROWSER"}getPlayerLabsConfigVersion(){return this._config.labConfigsVersion}load(e,t,n){return this._queueLoadPromise(async()=>{await this._clearPlayItem(),this._player.onError.once(this,e=>{this._setPlaybackState(et.w.ERROR),this._errorManager.reportGluonError(e)}),this._player.onWarning.on(this,e=>{this._systemInterface.logWarn(e.toString()),this._errorManager.reportGluonWarning(e)}),this._setPlaybackState(et.w.PREPARING);try{await this._load(e,t,n)}catch(e){this._errorManager.reportError(e);return}this._player.onStateChanged.on(this,e=>this._handlePlayerStateChange(e)),this._player.onStateChanged.on(this,this._handleInitialPosition),this._player.onTextCueChange.on(this,e=>this._activeTextCues$.next(e))})}play(){this._player.setRateWhenReady(1).catch(e=>{this._errorManager.reportError(e)})}pause(){this._player.setRateWhenReady(0).catch(e=>{this._errorManager.reportError(e)})}_convertSeekToSeconds(e){return e>0?e/1e3:this._dontSeekToZeroWorkaround?1:0}seek(e){var t;let n=this._convertSeekToSeconds(e);this._lastEmittedDuration&&((n+=null!==(t=this._firstDurationRangeStart)&&void 0!==t?t:0)>=this._lastEmittedDuration.end&&(n=this._lastEmittedDuration.end-1),this._setPlaybackState(et.w.SEEKING),this._player.setPositionWhenReady(n).catch(e=>{this._errorManager.reportError(e)}))}selectAudioTrack(e){if(void 0!==e){let{language:t,role:n}=e,i=this._getAudioTrackAttributes(n),a=this._getSupplimentalProperties(e.additionalProperties);this._audioTrackPreference={streamType:eG.j.AUDIO,language:t,attributes:i,...a&&{supplementalProperties:a}},this._applyTracksPreferences(),this._selectedAudioTrack$.next(e)}}_getAudioTrackAttributes(e){return e===el.u.DESCRIPTIVE?eK._.AUDIODESCRIPTION:eK._.NONE}_getSupplimentalProperties(e){var t;let n=null===(t=null==e?void 0:e.get)||void 0===t?void 0:t.call(e,eX.M.PIR_TRACK_ADDITIONAL_PROPERTIES_TAG_KEY);if(void 0!==n)return[{schemeId:"urn:wbd:supplemental-property:multiview:track-tag",value:n}]}selectTextTrack(e){if(void 0!==e){let{language:t,role:n,format:i}=e,a=this._getTextTrackAttributes(n,i),r=this._getSupplimentalProperties(e.additionalProperties);this._textTrackPreference={streamType:eG.j.TEXT,language:t,attributes:a,...r&&{supplementalProperties:r}}}else this._textTrackPreference=void 0;this._applyTracksPreferences(),this._selectedTextTrack$.next(e)}_getTextTrackAttributes(e,t){let n=eK._.NONE;if(t===eo.v.CEA_608||t===eo.v.CEA_708)n=eK._.TEXTEMBEDDEDCAPTION;else switch(e){case eo.m.CLOSED_CAPTION:n=eK._.TEXTCAPTION;break;case eo.m.FORCED:n=eK._.TEXTFORCEDSUBTITLE}return n}setResizeMode(e){switch(e){case"contain":case"resizeToFit":this._videoElement.style.height="100%",this._videoElement.style.width="100%",this._videoElement.style.objectFit="contain";break;case"scale":this._videoElement.style.height="",this._videoElement.style.width="100%",this._videoElement.style.objectFit="contain";break;case"resizeToFill":this._videoElement.style.height="100%",this._videoElement.style.width="100%",this._videoElement.style.objectFit="cover"}}setVolume(e){this._player.setVolumeWhenReady(e).then(()=>{this._volume$.next(e)}).catch(e=>{this._errorManager.reportError(e)})}stop(){return this._queueLoadPromise(()=>this._clearPlayItem())}destroy(){var e;return null===(e=this._videoElement.parentElement)||void 0===e||e.removeChild(this._videoElement),Promise.resolve(this.stop()).finally(()=>{this._videoElementWrapper.destroy(),this._systemInterface.networkResponseEvent.off(this),this._loadPromiseChain.onError.off(this),this._loadPromiseChain.onWarning.off(this),this._loadPromiseChain.destroy()})}getEngineCapabilities(){return this._capabilitiesProvider.getCapabilities()}getVideoElement(){return this._videoElement}async getThumbnailUrl(e,t,n){var i,a,r,s;let o=null===(a=null===(i=this._player.getSession())||void 0===i?void 0:i.getLoadedData())||void 0===a?void 0:a.manifest,l=(null===(r=this._player.getSession())||void 0===r?void 0:r.isLive)&&null!==(s=this._firstDurationRangeStart)&&void 0!==s?s:0;if(void 0!==o){let i=await o.getImage({targetHeight:t,targetWidth:n,timeSeconds:e/1e3+l});if(void 0!==i)return i.createUri}}async _load(e,t,n){var i,a;let r,s,o,l;let d=this._getPlaybackSessionOptions();!0===this._config.enableCMCD&&void 0!==this._config.cmcdOptions&&(r=new tM.bi(this._config.cmcdOptions),d.cmcd=r),this._addPirBasedInitialTrackSelection(d,e,t);let c=new eU.N(this._systemInterface,d);c.onReceiveTimedEvent.on(this,e=>this._handleTimedEvent(e)),c.metricBus.bandwidthEstimation.on(this,e=>{tR._LAST_BANDWIDTH=e}),await this._player.setRateWhenReady(!1===n?0:1);let u=e.url;this._drmConfig=null===(i=e.drm)||void 0===i?void 0:i[0],"number"==typeof t?(o=t/1e3,l=e.streamMode&&e.streamMode!==k.Aw.VOD?"absolute-utc":"relative-to-content-start"):"START_OVER"===t?s=!1:"LIVE_EDGE"===t&&(s=!0);let f={cmcd:r,timeoutMS:1e4,periodsFlattening:!0,sharedWidevineInit:(null===(a=this._drmConfig)||void 0===a?void 0:a.provider)!==k.uZ.VERIZON};this._addManifestOptions(f);let _=tC.create(this._systemInterface,u,this._drmConfig,f);void 0!==this._displaySwapper&&this._player.onPeriodLoaded.once(this,this._maybeChangeDisplayMode.bind(this)),this._player.onPeriodLoaded.on(this,e=>this._handlePeriodLoad(e)),this._requestFilters.add(this._cdnRequestFilter),this._useSupplementalCodecsOverride=await this._systemInterface.useSupplementalCodecsOverride(),this._player.attach(c,_.load(),{startAtLivePoint:s,position:o,positionOrigin:l}).then(()=>{this._ensureSessionAttached()}).catch(e=>{this._errorManager.reportError(e)})}_ensureSessionAttached(){var e;let t=null===(e=this._player.getSession())||void 0===e?void 0:e.getLoadedBuffer();void 0!==t&&(this._handleContentRangeChange(t.getContentRange()),t.onContentRangeChange.off(this),t.onContentRangeChange.on(this,e=>this._handleContentRangeChange(e)))}_getPeriodIndex(e){var t,n,i;return(null!==(i=null===(n=null===(t=this._player.getSession())||void 0===t?void 0:t.getLoadedBuffer())||void 0===n?void 0:n.getPeriods())&&void 0!==i?i:[]).findIndex(t=>t.id===e.id)}_addManifestOptions(e){var t,n,i,a,r,s,o,l,d,c,u;(null===(t=this._config.networkRequestRetry)||void 0===t?void 0:t.manifestTimeoutMS)&&(e.timeoutMS=null===(n=this._config.networkRequestRetry)||void 0===n?void 0:n.manifestTimeoutMS),(null===(i=this._config.networkRequestRetry)||void 0===i?void 0:i.manifestProgressTimeoutMS)&&(e.progressTimeoutMS=null===(a=this._config.networkRequestRetry)||void 0===a?void 0:a.manifestProgressTimeoutMS),((null===(r=this._config.networkRequestRetry)||void 0===r?void 0:r.liveManifestTimeoutMS)||(null===(s=this._config.networkRequestRetry)||void 0===s?void 0:s.liveManifestProgressTimeoutMS))&&(e.liveManifestNetworkOverridesOptions=null!==(o=e.liveManifestNetworkOverridesOptions)&&void 0!==o?o:{},(null===(l=this._config.networkRequestRetry)||void 0===l?void 0:l.liveManifestTimeoutMS)&&(e.liveManifestNetworkOverridesOptions.timeoutMS=null===(d=this._config.networkRequestRetry)||void 0===d?void 0:d.liveManifestTimeoutMS),(null===(c=this._config.networkRequestRetry)||void 0===c?void 0:c.liveManifestProgressTimeoutMS)&&(e.liveManifestNetworkOverridesOptions.progressTimeoutMS=null===(u=this._config.networkRequestRetry)||void 0===u?void 0:u.liveManifestProgressTimeoutMS))}_addBufferOptions(e){var t,n,i,a,r,s;e.bufferOptions=null!==(t=e.bufferOptions)&&void 0!==t?t:{},(null===(n=this._config.networkRequestRetry)||void 0===n?void 0:n.bufferRetryOptions)&&(e.bufferOptions.bufferRetryOptions=this._config.networkRequestRetry.bufferRetryOptions),(null===(i=this._config.bufferOptions)||void 0===i?void 0:i.noAudio)!==void 0&&(e.bufferOptions.noAudio=this._config.bufferOptions.noAudio),(null===(a=this._config.bufferOptions)||void 0===a?void 0:a.noReloadBetweenCompatiblePeriods)!==void 0&&(e.bufferOptions.noReloadBetweenCompatiblePeriods=this._config.bufferOptions.noReloadBetweenCompatiblePeriods),(null===(r=this._config.bufferOptions)||void 0===r?void 0:r.disableSmoothnessTracker)!==void 0&&(e.bufferOptions.disableSmoothnessTracker=this._config.bufferOptions.disableSmoothnessTracker),(null===(s=this._config.bufferOptions)||void 0===s?void 0:s.segmentDownloadDuringDrmInitialization)!==void 0&&(e.bufferOptions.segmentDownloadDuringDrmInitialization=this._config.bufferOptions.segmentDownloadDuringDrmInitialization)}_addAbrOptions(e){var t,n,i,a,r,s,o,l,d;e.abrOptions=null!==(t=e.abrOptions)&&void 0!==t?t:{};let c=tR._LAST_BANDWIDTH;if(this._config.bandwidthOverride)e.abrOptions.initialBandwidth=this._config.bandwidthOverride;else if((null===(n=this._config.abrOptions)||void 0===n?void 0:n.initialBandwidth)&&void 0===c)e.abrOptions.initialBandwidth=this._config.abrOptions.initialBandwidth;else if(void 0!==c){let t=void 0!==this._config.initialBandwidthFactor?Math.max(0,Math.min(1,this._config.initialBandwidthFactor)):1;e.abrOptions.initialBandwidth=c*t}(null===(i=this._config.abrOptions)||void 0===i?void 0:i.bandwidthForecastPolicy)!==void 0&&(e.abrOptions.bandwidthForecastPolicy=this._config.abrOptions.bandwidthForecastPolicy),(null===(a=this._config.abrOptions)||void 0===a?void 0:a.maxBandwidth)&&(e.abrOptions.maxBandwidth=null===(r=this._config.abrOptions)||void 0===r?void 0:r.maxBandwidth),(null===(s=this._config.abrOptions)||void 0===s?void 0:s.protocol)&&(e.abrOptions.protocol=null===(o=this._config.abrOptions)||void 0===o?void 0:o.protocol),(null===(l=this._config.abrOptions)||void 0===l?void 0:l.avoidDownshiftBufferLevelSeconds)!==void 0&&(e.abrOptions.avoidDownshiftBufferLevelSeconds=this._config.abrOptions.avoidDownshiftBufferLevelSeconds),(null===(d=this._config.abrOptions)||void 0===d?void 0:d.grandMeanSampleSize)!==void 0&&(e.abrOptions.grandMeanSampleSize=this._config.abrOptions.grandMeanSampleSize)}_getPlaybackSessionOptions(){var e,t,n,i;let a;this._config.rewriteSingleKeyPlayReadyInitData&&(a={drmOptions:{rewriteSingleKeyPlayReadyInitData:this._config.rewriteSingleKeyPlayReadyInitData}});let r=new tT(e5,a,this._config.hasVerifiedMediaPathOverride);return this._addBufferOptions(r),this._addAbrOptions(r),r.variantsToSizeOptions=null!==(e=r.variantsToSizeOptions)&&void 0!==e?e:{},(null===(t=this._config.resolutionOverrides)||void 0===t?void 0:t.maxResolution)!==void 0?r.variantsToSizeOptions.maxSize=this._config.resolutionOverrides.maxResolution:r.variantsToSizeOptions.capToSize=!0,(null===(n=this._config.resolutionOverrides)||void 0===n?void 0:n.minResolution)!==void 0&&(r.variantsToSizeOptions.minSize=this._config.resolutionOverrides.minResolution),(null===(i=this._config.resolutionOverrides)||void 0===i?void 0:i.failWhenOutOfBounds)!==void 0?r.variantsToSizeOptions.fallbackToNearest=!this._config.resolutionOverrides.failWhenOutOfBounds:r.variantsToSizeOptions.fallbackToNearest=!0,r}_resolveKeyType(e){var t;return(null===(t=this._drmConfig)||void 0===t?void 0:t.provider)===k.uZ.BOLT?e5(e):e1.J.UNKNOWN}_getSystemInterface(){let e=this._resolveKeyType.bind(this),t=function(e){switch(e){case 0:return tw.i.DEBUG;case 1:return tw.i.WARN;case 2:return tw.i.ERROR;default:return tw.i.NONE}}(this._config.logLevel);return new e9({modifyNetworkRequest:e=>{var t,n;e.type===tI.p.LICENSE&&(this._config.licenseRequestTimeout&&(e.timeoutMS=this._config.licenseRequestTimeout),(null===(t=this._drmConfig)||void 0===t?void 0:t.provider)===k.uZ.CONAX&&(null===(n=this._drmConfig)||void 0===n?void 0:n.token)&&e$.NetworkHelpers.setLicenseHeaderValue(e,"Preauthorization",this._drmConfig.token)),this._requestFilters.forEach(t=>t(e))},resolveKeyType:e,getLogLevel:function(){return t},requiredStallSkippingWorkaround:this._stallSkipping(),requiresDontSeekToZeroWorkaround:this._seekToZero(),requiresSeekOnTrackChangeWorkaround:this._seekOnTrackChange(),requiredMultiPeriodWorkaround:this._multiPeriodLevel(),requiresMediaKeysAttachedForUnencrypted:this._requiresMediaKeysForUnencrypted(),requireSingleKey:this._singleKey(),supportedHdrModes:this._getSupportedHdrModes(),canPlayDolbyAtmos:this._canPlayDolbyAtmos(),supportedKeySystems:this._getSupportedKeySystems(),usePrefixedEme:this._config.usePrefixedEme,needsTimelineOffset:this._config.needsTimelineOffset,decodeTimeRewriteLimit:this._config.decodeTimeRewriteLimit,injectPsshIntoInitSegments:this._config.injectPsshIntoInitSegments,stripDolbyVisionBox:this._config.stripDolbyVisionBox,prefixedMediaKeySupport:this._config.prefixedMediaKeySupport,enableVideoElementDomPoke:this._config.enableVideoElementDomPoke,disableRemotePlayback:this._config.disableRemotePlaybackOnVideoElement,enableManagedMediaSource:this._config.enableManagedMediaSource},this._config.hdcpConfig)}_getSupportedHdrModes(){let e=this._config.supportedVideoCodecs;return e?function(){let t=[];return e.dvh&&t.push(eq.K.DVH),e.hevcHdr&&t.push(eq.K.HEVC_HDR),t}:void 0}_canPlayDolbyAtmos(){let e=this._config.supportedAudioCodecs;return e?function(){return e.atmos}:void 0}_seekToZero(){let e=this._config.dontSeekToZero;return void 0!==e?function(){return e}:void 0}_multiPeriodLevel(){let e=this._config.multiPeriod;return void 0!==e?function(){return e}:void 0}_stallSkipping(){var e;let t=null!==(e=this._config.stallSkipping)&&void 0!==e?e:eY.Ol.STALLED;return function(){return t}}_singleKey(){let e=this._config.requireSingleKey;return void 0!==e?function(){return e}:void 0}_seekOnTrackChange(){let e=this._config.seekOnTrackChange;return void 0!==e?function(){return e}:void 0}_requiresMediaKeysForUnencrypted(){let e=this._config.mediaKeysAttachedForUnencrypted;return void 0!==e?function(){return e}:void 0}_getSupportedKeySystems(){return[eW.v.PLAYREADY_SL3000,eW.v.PLAYREADY,eW.v.WIDEVINE,eW.v.FAIRPLAY_2_0,eW.v.CLEARKEY]}_handleContentRangeChange(e){var t;this._maybeEmitDuration(e),this._isLive$.next(null===(t=this._player.getSession())||void 0===t?void 0:t.isLive)}_maybeEmitDuration(e){var t,n,i;if(void 0!==e){this._liveStart$.next(null===(t=this._player.getSession())||void 0===t?void 0:t.getLiveStart()),this._lastEmittedDuration=e,void 0===this._firstDurationRangeStart&&(this._firstDurationRangeStart=e.start,this._multiviewTimedMetadataForPublication.forEach(t=>this._publishMultiviewTimedMetadata(t,e.start)),this._multiviewTimedMetadataForPublication=[]);let a=null!==(i=null===(n=this._player.getSession())||void 0===n?void 0:n.getLiveEdge())&&void 0!==i?i:e.end;this._streamDuration$.next({start:(e.start-this._firstDurationRangeStart)*1e3,end:(a-this._firstDurationRangeStart)*1e3})}}_applyTracksPreferences(){if(this._player.getSession()){let e=void 0!==this._textTrackPreference;this._player.setTextEnabled(e),this._player.setTrackPreferences(this._getTracksPreferences()).catch(e=>{this._errorManager.reportError(e)})}}_getTracksPreferences(){let e=[];return this._audioTrackPreference&&e.push(this._audioTrackPreference),this._textTrackPreference&&e.push(this._textTrackPreference),e}_populateAudioTracks(e){let t=[],n=e.audio,i=n.length;for(let e=0;e0){let i=null!==(t=e.video[0].embeddedCaptions)&&void 0!==t?t:[],a=i.length;for(let e=0;e=r&&t0&&(e.trackPreferences=i)}}_getPirTrackPreferences(e,t){let n=[];if(e.videoPeriods&&e.videoPeriods.length>0){let i;switch(t){case"START_OVER":i=e.videoPeriods[0];break;case"LIVE_EDGE":i=e.videoPeriods[e.videoPeriods.length-1];break;default:"number"==typeof t&&(i=this._getVideoPeriodByPosition(e.videoPeriods,t))}if(i){if(i.originalAudioSelection){let{language:e,role:t}=i.originalAudioSelection,a=this._getAudioTrackAttributes(t);n.push({streamType:eG.j.AUDIO,language:e,attributes:a})}if(i.originalTextSelection){let{language:e,role:t,format:a}=i.originalTextSelection,r=this._getTextTrackAttributes(t,a);n.push({streamType:eG.j.TEXT,language:e,attributes:r})}}}return n}_setPlaybackState(e){this._playbackState!==e&&(this._playbackState=e,this._playbackState$.next(this._playbackState))}_setDroppedFrames(e){void 0!==e&&void 0!==this._totalFrames&&this._totalFrames>0&&this._droppedFrames!==e&&(this._droppedFrames=e,this._droppedFrames$.next(this._droppedFrames))}_setTotalFrames(e){void 0!==e&&e>0&&this._totalFrames!==e&&(this._totalFrames=e,this._totalFrames$.next(this._totalFrames))}_setBufferedRange(e){void 0!==e&&this._bufferedRange!==e&&(this._bufferedRange=e,this._bufferedRange$.next(this._bufferedRange))}_setAudioDetails(e){var t;if(void 0!==e){let n=null!==(t=e.bandwidth)&&void 0!==t?t:0;this._audioBitrateBps!==n&&(this._audioBitrateBps=n,this._audioBitrateBps$.next(this._audioBitrateBps)),this._audioTrackLanguage!==e.language&&(this._audioTrackLanguage=e.language,this._audioTrackLanguage$.next(this._audioTrackLanguage));let i=this._calculateAudioCodecData(e);(void 0===this._audioCodec||i.audioCodec!==this._audioCodec.audioCodec||i.isSpatial!==this._audioCodec.isSpatial)&&(this._audioCodec=i,this._audioCodec$.next(i))}}_calculateAudioCodecData(e){if(void 0===e.codecs)return{};{let t=eV.CodecUtil.getAudioGroup(e)===e6.j.EC3_ATMOS;return{audioCodec:e.codecs,isSpatial:t}}}_setTextDetails(e){void 0!==e&&(this._textTrackFormat!==e.mimeType&&(this._textTrackFormat=e.mimeType,this._textTrackFormat$.next(this._textTrackFormat)),this._textTrackLanguage!==e.language&&(this._textTrackLanguage=e.language,this._textTrackLanguage$.next(this._textTrackLanguage)))}_setVideoDetails(e){var t,n,i;if(void 0===e)return;let a=!1,r=null!==(t=e.bandwidth)&&void 0!==t?t:0,s={height:null!==(n=e.height)&&void 0!==n?n:0,width:null!==(i=e.width)&&void 0!==i?i:0};if(this._videoBitrateBps!==r&&(this._videoBitrateBps=r,this._videoBitrateBps$.next(this._videoBitrateBps),a=!0),this._videoFramerate!==e.frameRate&&void 0!==e.frameRate&&(this._videoFramerate=e.frameRate,this._videoFramerate$.next(this._videoFramerate),a=!0),(void 0===this._videoSize||this._videoSize.height!==s.height||this._videoSize.width!==s.width)&&(this._videoSize=s,this._videoSize$.next(this._videoSize),a=!0,this._config.needsVideoRatioAdjustments&&this._currentVariantId!==(null==e?void 0:e.id))){let t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=g.SIXTEEN_NINE,i=+(16/9).toFixed(5);if(e&&t){let a=.9*(i=+(e/t).toFixed(5));a<4/3?n=g.FOUR_THREE:a<16/9?n=g.SIXTEEN_NINE:a<21/9&&(n=g.TWENTY_ONE_NINE)}return console.debug("[Playback Engine] New video aspect ratio is: ".concat(n," and video ratio: ").concat(i)),{aspectRatio:n,videoRatio:i}}(this._videoSize.width,this._videoSize.height);this._currentVariantId=null==e?void 0:e.id,this._currentAspectRatio===t.aspectRatio?console.debug("[Playback Engine] Video ratio have been already set to ".concat(t.aspectRatio)):this._calculateVideoResolution(t)}let o=this._calculateVideoCodecData(e);(void 0===this._videoCodec||this._videoCodec.videoCodec!==o.videoCodec||this._videoCodec.dynamicRange!==o.dynamicRange)&&(this._videoCodec=o,this._videoCodec$.next(o),a=!0),a&&this._videoRenditionChange$.next({videoBitrate:r,videoCodec:o.videoCodec,videoFramerate:this._videoFramerate,videoHeight:s.height,videoWidth:s.width})}_calculateVideoResolution(e){this._currentAspectRatio=e.aspectRatio;let{videoWidth:t,videoHeight:n,margin:i}=function(e){let t=window.innerWidth,n=window.innerHeight,i=t,a=Math.round(i/e),r="";if(a>n){let s=Math.round((t-(i=Math.round((a=n)*e)))/2),o=t-i-s;r="0 ".concat(s,"px 0 ").concat(o,"px")}else{let e=Math.round((n-a)/2),t=n-a-e;r="".concat(e,"px 0 ").concat(t,"px 0")}return{margin:r,videoHeight:a,videoWidth:i}}(e.videoRatio);console.debug("[Playback Engine] Applying video resolution:\n ratio - ".concat(e.videoRatio,"\n width - ").concat(t,"\n height - ").concat(n,"\n margin - ").concat(i)),this._videoElement.style.height="".concat(n,"px"),this._videoElement.style.width="".concat(t,"px"),this._videoElement.style.margin=i}_calculateVideoCodecData(e){if(void 0===e.codecs)return{};{let t=eJ.o.UNKNOWN;switch(eV.CodecUtil.getVideoDynamicRange(e,this._useSupplementalCodecsOverride)){case tP.r.SDR:t=eJ.o.SDR;break;case tP.r.HDR10:t=eJ.o.HDR10;break;case tP.r.DOLBY_VISION_5:case tP.r.DOLBY_VISION_8_1:t=eJ.o.DOLBY_VISION;break;default:t=eJ.o.UNKNOWN}return{videoCodec:e.codecs,colorGamut:t,dynamicRange:t}}}async _clearPlayItem(){var e;this._removeBufferPhaseListener();try{let t=this._player.getSession();await this._player.detach(),void 0!==t&&(t.metricBus.bandwidthEstimation.off(this),null===(e=t.getLoadedBuffer())||void 0===e||e.onContentRangeChange.off(this),t.onReceiveTimedEvent.off(this))}catch(e){this._errorManager.reportError(e)}this._player.onStateChanged.off(this),this._player.onError.off(this),this._player.onWarning.off(this),this._player.onTextCueChange.off(this),this._player.onPeriodLoaded.off(this),this._stopPositionReporting(),this._lastEmittedDuration=void 0,this._availableTracks=void 0,this._drmConfig=void 0,this._droppedFrames=void 0,this._totalFrames=void 0,this._bufferedRange=void 0,this._audioBitrateBps=void 0,this._audioCodec=void 0,this._audioTrackLanguage=void 0,this._textTrackFormat=void 0,this._textTrackLanguage=void 0,this._videoBitrateBps=void 0,this._videoFramerate=void 0,this._videoCodec=void 0,this._videoSize=void 0,this._firstDurationRangeStart=void 0,this._multiviewTimedMetadataForPublication=[],this._changedDisplayMode&&void 0!==this._displaySwapper&&(await this._displaySwapper.requestDisplayMode("SDR"),this._changedDisplayMode=!1)}_queueLoadPromise(e){return this._loadPromiseChain.runWithoutReturn({type:"QueueLoad"},e)}_startPositionReporting(){var e,t;void 0===this._positionReportingTimer&&(this._handlePositionReporting(),this._positionReportingTimer=window.setInterval(()=>{this._handlePositionReporting()},(null===(t=null===(e=this._config)||void 0===e?void 0:e.workaroundOptions)||void 0===t?void 0:t.timeUpdateThrottling)?1e3:250))}_stopPositionReporting(){void 0!==this._positionReportingTimer&&(window.clearInterval(this._positionReportingTimer),this._positionReportingTimer=void 0)}_handlePositionReporting(){var e;this._lastEmittedDuration&&this._streamCurrentTime$.next((this._currentPosition-(null!==(e=this._firstDurationRangeStart)&&void 0!==e?e:0))*1e3)}_handleTracksChange(e){this._availableTracks={engineAudioTracks:this._populateAudioTracks(e),engineTextTracks:this._populateTextTracks(e),enginePositionMs:1e3*this._currentPosition,enginePeriodIndex:this._getPeriodIndex(e)},this._availableTracks$.next(this._availableTracks)}_handlePeriodLoad(e){this._handleTracksChange(e),this._ensureSessionAttached(),this._videoPeriod$.next({})}_removeBufferPhaseListener(){var e,t;null===(t=null===(e=this._player.getSession())||void 0===e?void 0:e.getLoadedBuffer())||void 0===t||t.onBufferItemPhaseChange.off(this)}_checkBufferPhaseChangeForHdr(e){if(e.pipeline.type!==eG.j.VIDEO)return;let t=e.pipeline.getSourceType(),n=this._config.supportedVideoCodecs;if(void 0!==this._displaySwapper&&void 0!==n&&void 0!==t&&(!0===n.dvh||!0===n.hevcHdr)){let e;let n=eV.CodecUtil.getVideoGroup(t);n===eq.K.DVH?e="DOVI":n===eq.K.HEVC_HDR&&(e="HDR10"),void 0!==e&&(this._changedDisplayMode=!0,this._displaySwapper.requestDisplayMode(e).catch(e=>{this._errorManager.reportGluonError(e)}))}this._removeBufferPhaseListener()}_maybeChangeDisplayMode(){var e,t;null===(t=null===(e=this._player.getSession())||void 0===e?void 0:e.getLoadedBuffer())||void 0===t||t.onBufferItemPhaseChange.on(this,this._checkBufferPhaseChangeForHdr.bind(this))}_handleNetworkResponseEvent(e){var t;let{originalRequest:n,...i}=e,a=tR._getResponseTypeByGluonNetworkResponseType(e.responseType),r=this._getRequestTypeFromResponse(n),s={...i,responseType:a,requestType:r};if(e.responseType===tA.p.COMPLETED&&void 0!==e.responseStart){let i=this._getRequestLabeledBitrate(n),a=this._getRequestMediaDuration(n),r=this._getRequestVideoHeight(n),o=this._getRequestVideoWidth(n);s={...s,bytesLoaded:null!==(t=e.bytesLoaded)&&void 0!==t?t:0,requestLabeledBitrate:i,requestMediaDuration:a,requestVideoHeight:r,requestVideoWidth:o}}this._streamNetworkRequest$.next(s)}static _getResponseTypeByGluonNetworkResponseType(e){switch(e){case tA.p.CANCELED:return eQ.x.CANCELED;case tA.p.COMPLETED:return eQ.x.COMPLETED;case tA.p.FAILED:return eQ.x.FAILED}}_getRequestLabeledBitrate(e){let t;return void 0!==e&&(e.type===tI.p.AUDIO||e.type===tI.p.VIDEO||e.type===tI.p.TEXT)&&"media"===e.segmentContext.type&&(t=e.segmentContext.encodedBitrateBps),t}_getRequestVideoHeight(e){let t;return void 0!==e&&e.type===tI.p.VIDEO&&"media"===e.segmentContext.type&&(t=e.segmentContext.videoHeight),t}_getRequestVideoWidth(e){let t;return void 0!==e&&e.type===tI.p.VIDEO&&"media"===e.segmentContext.type&&(t=e.segmentContext.videoWidth),t}_getRequestMediaDuration(e){let t;return void 0!==e&&(e.type===tI.p.AUDIO||e.type===tI.p.VIDEO||e.type===tI.p.TEXT)&&"media"===e.segmentContext.type&&(t=e.segmentContext.end-e.segmentContext.start),t}_getRequestTypeFromResponse(e){let t;if(void 0!==e)switch(e.type){case tI.p.LICENSE:t=eQ.p.ENCRYPTION;break;case tI.p.AUDIO:t="init"===e.segmentContext.type?eQ.p.AUDIO_INIT:eQ.p.AUDIO;break;case tI.p.VIDEO:t="init"===e.segmentContext.type?eQ.p.VIDEO_INIT:eQ.p.VIDEO;break;case tI.p.MANIFEST:t="video"===e.manifestContext.mediaType&&("init"===e.manifestContext.objectType||"sidx"===e.manifestContext.objectType)?eQ.p.VIDEO_INIT:"audio"===e.manifestContext.mediaType&&("init"===e.manifestContext.objectType||"sidx"===e.manifestContext.objectType)?eQ.p.AUDIO_INIT:eQ.p.MANIFEST;break;case tI.p.TEXT:t=eQ.p.SUBTITLE}return null!=t?t:eQ.p.MEDIA}_handlePlayerStateChange(e){var t;switch(void 0!==e.videoState&&(this._currentPosition=e.videoState.currentTime,this._setTotalFrames(e.videoState.totalVideoFrames),this._setDroppedFrames(e.videoState.droppedVideoFrames),this._setBufferedRange(null!==(t=e.videoState.buffered)&&void 0!==t?t:void 0)),void 0!==e.variant&&(this._setVideoDetails(e.variant.videoDetails),this._setAudioDetails(e.variant.audioDetails),this._setTextDetails(e.variant.textDetails)),e.playbackState){case ez.q.ENDED:this._setPlaybackState(et.w.ENDED);break;case ez.q.SEEKING:this._playbackState!==et.w.PREPARING&&this._setPlaybackState(et.w.SEEKING);break;case ez.q.STALLED:this._playbackState!==et.w.PREPARING&&this._setPlaybackState(et.w.BUFFERING);break;default:if(void 0!==e.videoState&&e.playbackState===ez.q.READY){this._playbackState===et.w.PREPARING&&this._setPlaybackState(et.w.PREPARED);let t=e.videoState.playbackRate>0?et.w.PLAYING:et.w.PAUSED;this._setPlaybackState(t)}}}_publishMultiviewTimedMetadata(e,t){let n={id:String(e.id),scheme:e.schemeIdUri,messageData:e.value,presentationTimeMs:(e.start-t)*1e3,durationMs:e.end===Number.MAX_VALUE?Number.MAX_VALUE:(e.end-e.start)*1e3};""!==n.messageData&&this._mvTimedMetadata$.next(n)}_handleTimedEvent(e){if(e.type===eF.o.SCHEME){if(e.schemeIdUri.includes("multiview"))void 0!==this._firstDurationRangeStart?this._publishMultiviewTimedMetadata(e,this._firstDurationRangeStart):this._multiviewTimedMetadataForPublication.push(e);else{let t={encodingType:e.encoding,rawValue:e.value,type:e.schemeIdUri};this._timedMetadata$.next(t)}}}static create(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=document.createElement("video");return i.setAttribute("data-testId","VideoElement"),new this(e,i,t,n)}constructor(e,t,n,i){var a,r,s,o,l,d,c;this._activeTextCues$=new z.x,this.activeTextCues$=this._activeTextCues$.asObservable(),this._audioBitrateBps$=new z.x,this.audioBitrateBps$=this._audioBitrateBps$.asObservable(),this._audioCodec$=new z.x,this.audioCodec$=this._audioCodec$.asObservable(),this._audioTrackLanguage$=new z.x,this.audioTrackLanguage$=this._audioTrackLanguage$.asObservable(),this._availableTracks$=new z.x,this.availableTracks$=this._availableTracks$.asObservable(),this._bandwidth$=new z.x,this.bandwidth$=this._bandwidth$.asObservable(),this._bufferedRange$=new z.x,this.bufferedRange$=this._bufferedRange$.asObservable(),this._cdn$=new z.x,this.cdn$=this._cdn$.asObservable(),this._currentPDT$=new z.x,this.currentPDT$=this._currentPDT$.asObservable(),this._droppedFrames$=new z.x,this.droppedFrames$=this._droppedFrames$.asObservable(),this._error$=new z.x,this.error$=this._error$.asObservable(),this._isLive$=new z.x,this.isLive$=this._isLive$.asObservable().pipe((0,e0.x)()),this._liveEnd$=new z.x,this.liveEnd$=this._liveEnd$.asObservable(),this._liveStart$=new z.x,this.liveStart$=this._liveStart$.asObservable(),this._livePresentationStartTime$=new z.x,this.livePresentationStartTime$=this._livePresentationStartTime$.asObservable(),this._playbackLicenseExpired$=new z.x,this.playbackLicenseExpired$=this._playbackLicenseExpired$.asObservable(),this._playbackState$=new z.x,this.playbackState$=this._playbackState$.asObservable(),this._seekableRange$=new z.x,this.seekableRange$=this._seekableRange$.asObservable(),this._selectedAudioTrack$=new z.x,this.selectedAudioTrack$=this._selectedAudioTrack$.asObservable(),this._selectedTextTrack$=new z.x,this.selectedTextTrack$=this._selectedTextTrack$.asObservable(),this._streamCurrentTime$=new z.x,this.streamCurrentTime$=this._streamCurrentTime$.asObservable(),this._streamNetworkRequest$=new z.x,this.streamNetworkRequest$=this._streamNetworkRequest$.asObservable(),this._streamDuration$=new z.x,this.streamDuration$=this._streamDuration$.asObservable(),this._textTrackFormat$=new z.x,this.textTrackFormat$=this._textTrackFormat$.asObservable(),this._textTrackLanguage$=new z.x,this.textTrackLanguage$=this._textTrackLanguage$.asObservable(),this._timedMetadata$=new z.x,this.timedMetadata$=this._timedMetadata$.asObservable(),this._mvTimedMetadata$=new z.x,this.mvTimedMetadata$=this._mvTimedMetadata$.asObservable(),this._totalFrames$=new z.x,this.totalFrames$=this._totalFrames$.asObservable(),this._videoBitrateBps$=new z.x,this.videoBitrateBps$=this._videoBitrateBps$.asObservable(),this._videoFramerate$=new z.x,this.videoFramerate$=this._videoFramerate$.asObservable(),this._videoCodec$=new z.x,this.videoCodec$=this._videoCodec$.asObservable(),this._availableVideoPeriods$=new z.x,this.availableVideoPeriods$=this._availableVideoPeriods$.asObservable(),this._videoPeriod$=new z.x,this.videoPeriod$=this._videoPeriod$.asObservable(),this._videoRenditionChange$=new z.x,this.videoRenditionChange$=this._videoRenditionChange$.asObservable(),this._videoSize$=new z.x,this.videoSize$=this._videoSize$.asObservable(),this._volume$=new z.x,this.volume$=this._volume$.asObservable(),this._warning$=new z.x,this.warning$=this._warning$.asObservable(),this._errorManager=new tb(this._error$,this._warning$),this._requestFilters=new Set,this._playbackState=et.w.CLOSED,this._currentPosition=0,this._changedDisplayMode=!1,this._multiviewTimedMetadataForPublication=[],this._useSupplementalCodecsOverride=!1,this._dontSeekToZeroWorkaround=!1,this._cdnRequestFilter=e=>{if(e.type===tI.p.VIDEO||e.type===tI.p.AUDIO){this._requestFilters.delete(this._cdnRequestFilter);let t=new URL(e.resource);this._cdn$.next(t.hostname)}},this._handleInitialPosition=e=>{var t,n;(null===(t=e.videoState)||void 0===t?void 0:t.currentTime)!==void 0&&(this._livePresentationStartTime$.next(null===(n=this._player.getSession())||void 0===n?void 0:n.getLivePresentationStartTime()),this._startPositionReporting(),this._player.onStateChanged.off(this,this._handleInitialPosition))},this._videoElement=t,this._config=n,this._displaySwapper=i,void 0!==n.dontSeekToZero&&(this._dontSeekToZeroWorkaround=n.dontSeekToZero),void 0===this._config.hdcpConfig&&(this._config.hdcpConfig=p.HDCP_LEVEL_UNKNOWN),e.appendChild(this._videoElement),this.setResizeMode("contain"),this._systemInterface=this._getSystemInterface(),!0!==n.disableNetworkRequestEvent&&this._systemInterface.networkResponseEvent.on(this,e=>this._handleNetworkResponseEvent(e)),this._loadPromiseChain=new eZ.SequentialTaskRunner(this._systemInterface),this._loadPromiseChain.onError.on(this,e=>this._errorManager.reportGluonError(e)),this._loadPromiseChain.onWarning.on(this,e=>this._errorManager.reportGluonWarning(e)),this._capabilitiesProvider=new tp(e,n),this._videoElementWrapper=this._systemInterface.wrapBrowserElement(this._videoElement),this._player=new eH.J(this._systemInterface,this._videoElementWrapper,{relativeBuffer:(null===(a=n.bufferOptions)||void 0===a?void 0:a.bufferingGoal)?{start:0,end:n.bufferOptions.bufferingGoal}:void 0,relativeAppend:(null===(r=n.bufferOptions)||void 0===r?void 0:r.appendGoal)?{start:0,end:n.bufferOptions.appendGoal}:void 0,bufferForPlaybackSeconds:null===(s=n.bufferOptions)||void 0===s?void 0:s.bufferForPlaybackSeconds,gapSkipMaxSeconds:null===(o=n.gapSkip)||void 0===o?void 0:o.gapSkipMaxSeconds,gapSkipMinBufferSeconds:null===(l=n.gapSkip)||void 0===l?void 0:l.gapSkipMinBufferSeconds,seekSnapping:n.seekSnapping,seekSnappingMode:n.enableSyncSeekSnapping?"sync":void 0,...(null===(c=null===(d=this._config)||void 0===d?void 0:d.workaroundOptions)||void 0===c?void 0:c.timeUpdateThrottling)&&{playerUpdateSeconds:1,bufferUpdateSeconds:2}})}}class tD{create(e){return tR.create(e,this._config,this._displaySwapper)}constructor(e,t){this._config=e,this._displaySwapper=t}}var tN=n(52728);let tL={aar:"aa",abk:"ab",afr:"af",aka:"ak",alb:"sq",amh:"am",ara:"ar",arg:"an",arm:"hy",asm:"as",ava:"av",ave:"ae",aym:"ay",aze:"az",bak:"ba",bam:"bm",baq:"eu",bel:"be",ben:"bn",bih:"bh",bis:"bi",bod:"bo",bos:"bs",bre:"br",bul:"bg",bur:"my",cat:"ca",ces:"cs",cha:"ch",che:"ce",chi:"zh",chu:"cu",chv:"cv",cor:"kw",cos:"co",cre:"cr",cym:"cy",cze:"cs",dan:"da",deu:"de",div:"dv",dut:"nl",dzo:"dz",ell:"el",eng:"en",epo:"eo",est:"et",eus:"eu",ewe:"ee",fao:"fo",fas:"fa",fij:"fj",fin:"fi",fra:"fr",fre:"fr",fry:"fy",ful:"ff",geo:"ka",ger:"de",gla:"gd",gle:"ga",glg:"gl",glv:"gv",gre:"el",grn:"gn",guj:"gu",hat:"ht",hau:"ha",heb:"he",her:"hz",hin:"hi",hmo:"ho",hrv:"hr",hun:"hu",hye:"hy",ibo:"ig",ice:"is",ido:"io",iii:"ii",iku:"iu",ile:"ie",ina:"ia",ind:"id",ipk:"ik",isl:"is",ita:"it",jav:"jv",jpn:"ja",kal:"kl",kan:"kn",kas:"ks",kat:"ka",kau:"kr",kaz:"kk",khm:"km",kik:"ki",kin:"rw",kir:"ky",kom:"kv",kon:"kg",kor:"ko",kua:"kj",kur:"ku",lao:"lo",lat:"la",lav:"lv",lim:"li",lin:"ln",lit:"lt",ltz:"lb",lub:"lu",lug:"lg",mac:"mk",mah:"mh",mal:"ml",mao:"mi",mar:"mr",may:"ms",mkd:"mk",mlg:"mg",mlt:"mt",mon:"mn",mri:"mi",msa:"ms",mya:"my",nau:"na",nav:"nv",nbl:"nr",nde:"nd",ndo:"ng",nep:"ne",nld:"nl",nno:"nn",nob:"nb",nor:"no",nya:"ny",oci:"oc",oji:"oj",ori:"or",orm:"om",oss:"os",pan:"pa",per:"fa",pli:"pi",pol:"pl",por:"pt",pus:"ps",que:"qu",roh:"rm",ron:"ro",rum:"ro",run:"rn",rus:"ru",sag:"sg",san:"sa",sin:"si",slk:"sk",slo:"sk",slv:"sl",sme:"se",smo:"sm",sna:"sn",snd:"sd",som:"so",sot:"st",spa:"es",sqi:"sq",srd:"sc",srp:"sr",ssw:"ss",sun:"su",swa:"sw",swe:"sv",tah:"ty",tam:"ta",tat:"tt",tel:"te",tgk:"tg",tgl:"tl",tha:"th",tib:"bo",tir:"ti",ton:"to",tsn:"tn",tso:"ts",tuk:"tk",tur:"tr",twi:"tw",uig:"ug",ukr:"uk",urd:"ur",uzb:"uz",ven:"ve",vie:"vi",vol:"vo",wel:"cy",wln:"wa",wol:"wo",xho:"xh",yid:"yi",yor:"yo",zha:"za",zho:"zh",zul:"zu"},tj=e=>{var t,n;let i=e.split("-"),a=(null!==(t=i[0])&&void 0!==t?t:"").toLowerCase(),r=null!==(n=i[1])&&void 0!==n?n:"",s=tL[a];return(void 0!==s&&(a=s),""!==r)?a+"-"+r.toUpperCase():a};var tO=n(24914),tB=n(1214),tF=n(60953),tZ=n(86636);let tz=[{codec:'video/mp4; codecs="hev1.1.6.H156.B0"',profile:"main10",level:"5.2"},{codec:'video/mp4; codecs="hev1.1.6.H153.B0"',profile:"main10",level:"5.1"},{codec:'video/mp4; codecs="hev1.1.6.H150.B0"',profile:"main10",level:"5"},{codec:'video/mp4; codecs="hev1.1.6.H123.B0"',profile:"main10",level:"4.1"},{codec:'video/mp4; codecs="hev1.1.6.H120.B0"',profile:"main10",level:"4"},{codec:'video/mp4; codecs="hev1.1.6.L156.B0"',profile:"main",level:"5.2"},{codec:'video/mp4; codecs="hev1.1.6.L153.B0"',profile:"main",level:"5.1"},{codec:'video/mp4; codecs="hev1.1.6.L150.B0"',profile:"main",level:"5"},{codec:'video/mp4; codecs="hev1.1.6.L123.B0"',profile:"main",level:"4.1"},{codec:'video/mp4; codecs="hev1.1.6.L120.B0"',profile:"main",level:"4"},{codec:'video/mp4; codecs="hev1.1.6.L93.B0"',profile:"main",level:"3.1"},{codec:'video/mp4; codecs="hev1.1.6.L90.B0"',profile:"main",level:"3"},{codec:'video/mp4; codecs="hev1.1.6.L63.B0"',profile:"main",level:"2.1"},{codec:'video/mp4; codecs="hev1.1.6.L60.B0"',profile:"main",level:"2"},{codec:'video/mp4; codecs="hev1.1.6.L30.B0"',profile:"main",level:"1"}];te.iL.H265;let tH=[{codec:'video/mp4; codecs="avc1.640034"',profile:"high",level:"5.2"},{codec:'video/mp4; codecs="avc1.640033"',profile:"high",level:"5.1"},{codec:'video/mp4; codecs="avc1.640032"',profile:"high",level:"5"},{codec:'video/mp4; codecs="avc1.64002a"',profile:"high",level:"4.2"},{codec:'video/mp4; codecs="avc1.640029"',profile:"high",level:"4.1"},{codec:'video/mp4; codecs="avc1.640028"',profile:"high",level:"4"},{codec:'video/mp4; codecs="avc1.640020"',profile:"high",level:"3.2"},{codec:'video/mp4; codecs="avc1.64001f"',profile:"high",level:"3.1"},{codec:'video/mp4; codecs="avc1.64001e"',profile:"high",level:"3"},{codec:'video/mp4; codecs="avc1.640016"',profile:"high",level:"2.2"},{codec:'video/mp4; codecs="avc1.640015"',profile:"high",level:"2.1"},{codec:'video/mp4; codecs="avc1.640014"',profile:"high",level:"2"},{codec:'video/mp4; codecs="avc1.64000d"',profile:"high",level:"1.3"},{codec:'video/mp4; codecs="avc1.64000c"',profile:"high",level:"1.2"},{codec:'video/mp4; codecs="avc1.64000b"',profile:"high",level:"1.1"},{codec:'video/mp4; codecs="avc1.64000a"',profile:"high",level:"1"},{codec:'video/mp4; codecs="avc1.4d0034"',profile:"main",level:"5.2"},{codec:'video/mp4; codecs="avc1.4d0033"',profile:"main",level:"5.1"},{codec:'video/mp4; codecs="avc1.4d0032"',profile:"main",level:"5"},{codec:'video/mp4; codecs="avc1.4d002a"',profile:"main",level:"4.2"},{codec:'video/mp4; codecs="avc1.4d0029"',profile:"main",level:"4.1"},{codec:'video/mp4; codecs="avc1.4d0028"',profile:"main",level:"4"},{codec:'video/mp4; codecs="avc1.4d0020"',profile:"main",level:"3.2"},{codec:'video/mp4; codecs="avc1.4d001f"',profile:"main",level:"3.1"},{codec:'video/mp4; codecs="avc1.4d001e"',profile:"main",level:"3"},{codec:'video/mp4; codecs="avc1.4d0016"',profile:"main",level:"2.2"},{codec:'video/mp4; codecs="avc1.4d0015"',profile:"main",level:"2.1"},{codec:'video/mp4; codecs="avc1.4d0014"',profile:"main",level:"2"},{codec:'video/mp4; codecs="avc1.4d000d"',profile:"main",level:"1.3"},{codec:'video/mp4; codecs="avc1.4d000c"',profile:"main",level:"1.2"},{codec:'video/mp4; codecs="avc1.4d000b"',profile:"main",level:"1.1"},{codec:'video/mp4; codecs="avc1.4d000a"',profile:"main",level:"1"},{codec:'video/mp4; codecs="avc1.420034"',profile:"baseline",level:"5.2"},{codec:'video/mp4; codecs="avc1.420033"',profile:"baseline",level:"5.1"},{codec:'video/mp4; codecs="avc1.420032"',profile:"baseline",level:"5"},{codec:'video/mp4; codecs="avc1.42002a"',profile:"baseline",level:"4.2"},{codec:'video/mp4; codecs="avc1.420029"',profile:"baseline",level:"4.1"},{codec:'video/mp4; codecs="avc1.420028"',profile:"baseline",level:"4"},{codec:'video/mp4; codecs="avc1.420020"',profile:"baseline",level:"3.2"},{codec:'video/mp4; codecs="avc1.42001f"',profile:"baseline",level:"3.1"},{codec:'video/mp4; codecs="avc1.42001e"',profile:"baseline",level:"3"},{codec:'video/mp4; codecs="avc1.420016"',profile:"baseline",level:"2.2"},{codec:'video/mp4; codecs="avc1.420015"',profile:"baseline",level:"2.1"},{codec:'video/mp4; codecs="avc1.420014"',profile:"baseline",level:"2"},{codec:'video/mp4; codecs="avc1.42000d"',profile:"baseline",level:"1.3"},{codec:'video/mp4; codecs="avc1.42000c"',profile:"baseline",level:"1.2"},{codec:'video/mp4; codecs="avc1.42000b"',profile:"baseline",level:"1.1"},{codec:'video/mp4; codecs="avc1.42000a"',profile:"baseline",level:"1"}];te.iL.H264;let tU=[{codec:'audio/mp4; codecs="mp4a.40.2"',profile:"lc"},{codec:'audio/mp4; codecs="mp4a.40.5"',profile:"hev"},{codec:'audio/mp4; codecs="mp4a.40.29"',profile:"hev2"}];te.dg.AAC;let tV=[{codec:'audio/mp4; codecs="ac-3";'}];te.dg.AC3;let t$=[{codec:'audio/mp4; codecs="ec-3"'}];te.dg.EAC3;let tG=[{keySystem:"com.apple.fps.3_0",version:"3.0",initDataTypes:["cenc"]},{keySystem:"com.apple.fps.2_0",version:"2.0",initDataTypes:["sinf"]},{keySystem:"com.apple.fps.1_0",version:"1.0",initDataTypes:["cenc"]}];class tW{async getCapabilities(){return{audioDecoders:await this._getAudioDecodingCapabilities(),displayProperties:await this._getDisplayProperties(),drmInfo:await this._getDrmCapabilities(),manifests:this._getManifestsCapabilities(),segments:this._getSegmentsCapabilities(),videoDecoders:this._getVideoDecodingCapabilities()}}async _getAudioDecodingCapabilities(){let e,t,n;let i=tU.length;for(let t=0;t{let t="";return"string"==typeof e?t=e:"object"==typeof e&&null!==e&&(t=JSON.stringify(e)),t};class tY{getMetadata(e,t,n,i){if(e){let a=e.length;for(let r=0;rthis._memorySize&&this._seenMetadata.delete(this._seenMetadata.values().next().value)}}}}constructor(e=100){this._seenMetadata=new Set,this._memorySize=e}}(c=v||(v={})).SERVER_CERTIFICATE_REQUEST_FAILURE="1001",c.LICENSE_REQUEST_FAILURE="2001",c.INIT_DATA_ERROR="3001",c.WEBKIT_KEY_ERROR="4001",c.VIDEO_ELEMENT_GENERAL="10001",c.PLAY_CALL_ERROR="11001";let tX=async e=>fetch(e).then(e=>e.ok?e.arrayBuffer():Promise.reject({code:v.SERVER_CERTIFICATE_REQUEST_FAILURE,data:"HTTP code: ".concat(e.status)})).then(e=>new Uint8Array(e)).catch(e=>Promise.reject({code:v.SERVER_CERTIFICATE_REQUEST_FAILURE,data:"Error: ".concat(tq(e))})),tJ=e=>{let{licenseServerUrl:t,drmToken:n,message:i}=e;return fetch(t,{method:"POST",headers:{"Content-Type":"application/octet-stream",Accept:"application/json",...n?{PreAuthorization:n}:{}},body:i}).then(e=>200===e.status?e.json():Promise.reject({code:v.LICENSE_REQUEST_FAILURE,data:"HTTP code: ".concat(e.status)})).catch(e=>Promise.reject({code:v.LICENSE_REQUEST_FAILURE,data:"Error: ".concat(tq(e))}))},tQ=e=>ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(e),t0=e=>{let t=unescape(encodeURIComponent(e)),n=new Uint8Array(t.length);for(let e=0;e{let t="";for(let n of e)t+=String.fromCharCode(n);return t},t2=e=>new Uint16Array(new ArrayBuffer(2*e.length)).map((t,n)=>e.charCodeAt(n)),t5=(e,t)=>{let n=window.btoa(t1(tQ(e.message)));return t0(JSON.stringify({assetId:window.btoa(t1(new Uint8Array(t))),spc:n}))},t6=(e,t)=>{var n;let i=new TextDecoder("utf-16").decode(e);if(t===k.uZ.CONAX||t===k.uZ.BOLT)return{assetId:t2(window.atob(i.split("skd://")[1].split("?")[0])),initData:e};let a=i.split("skd://")[1];return{assetId:t2(null!==(n=new URLSearchParams(a.split("?")[1]).get("b"))&&void 0!==n?n:a.split("?")[1]),licenseServerUrl:"https://"+a,initData:e}},t4=(e,t,n)=>{let i=(ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):new Uint8Array(t)).slice(4),a=new ArrayBuffer(12+i.byteLength+n.byteLength+e.byteLength),r=0,s=e=>{new DataView(a).setUint32(r,e.byteLength,!0),new Uint8Array(a,r+=4,e.byteLength).set(ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(e)),r+=e.byteLength};return s(i),s(n),s(e),a},t3=e=>{let t=window.atob(e);return Uint8Array.from(t,e=>e.charCodeAt(0))},t7=e=>{},t9=e=>{let t=[],n=e.length;for(let i=0;i[].slice.call(e).filter(e=>{let{kind:t}=e;return"metadata"===t}).map(e=>("hidden"!==e.mode&&(e.mode="hidden"),e)),ne=(e,t)=>{let n=[],i=e.length;for(let t=0;t{if(i.some((t,i)=>i!==n&&t.role===e.role&&t.language===e.language)){let n=e.label.toLowerCase().includes("atmos");return t?n:!n}return!0})},nt=(e,t)=>{let n;for(let i=0;i{let{initData:o}=e;if(!o){t7("init data missing in webkitneedkey event");return}let{assetId:l,licenseServerUrl:d}=t6(o,r),c=tQ(t4(n,o,l)),u=s.createSession(t,c);if(!u){t7("could not create key session");return}let f=e=>{let t="verizon"===r?d:i;if(!t){t7("licenseServerUrl not found");return}tJ({licenseServerUrl:t,drmToken:a||"",message:r===k.uZ.BOLT?t5(e,l):e.message}).then(e=>{let t;return t=r===k.uZ.CONAX?t3(e.CkcMessage):t3(e.ckc),u.update(t)}).catch(e=>{t7("error fetching license = ".concat(e))})};return u.addEventListener("webkitkeymessage",f,!1),()=>{u.removeEventListener("webkitkeymessage",f)}},ni=e=>e.map(e=>({...e,language:tj(e.language)})),na=(e,t,n,i,a)=>{let r=e?e.engineTextTracks:[],s=e?e.engineAudioTracks:[];return"text"===t?r=t9(n):"audio"===t&&(s=ne(n,i)),{engineTextTracks:ni(r),engineAudioTracks:ni(s),enginePositionMs:1e3*a}},nr=e=>{let t=e.indexOf("<");for(;t>=0;){let n=e.indexOf(">",t);if(-1===n)break;t=(e=e.substring(0,t)+e.substring(n+1)).indexOf("<")}return e.replace(/&(lt|gt|nbsp|amp);/g,(e,t)=>{switch(t){case"lt":return"<";case"gt":return">";case"nbsp":return" ";case"amp":return"&";default:return""}}).trim()};var ns=JSON.parse('{"//":"Generated by app-manifest-plugin task","appVersion":"10.11.0.64","packageVersion":"1.8.38","commitHash":"d7f00dd8","packageName":"@wbd/player-sdk-safari-engine","createdAt":"Mon, 28 Jul 2025 17:31:05 GMT"}');class no{getPlayerVersion(){return null==ns?void 0:ns.packageVersion}getPlayerName(){return"SAFARI_BROWSER"}getPlayerLabsConfigVersion(){}async load(e,t,n){var i,a,r,s;if(this._reset(),this._setPlaybackState(et.w.PREPARING),this._metadataReader=new tY,this._shouldAutoPlay=void 0===n||n,this._setupVideoElementEventListeners(),"START_OVER"===t?this._videoElement.currentTime=.1:"LIVE_EDGE"===t?this._setToLiveEdge=!0:this._videoElement.currentTime=t/1e3,e&&e.drm&&e.drm.length>0){let t="com.apple.fps.1_0",n="video/mp4";if(null===window.WebKitMediaKeys||void 0===window.WebKitMediaKeys){this._errorManager.reportError({code:v.WEBKIT_KEY_ERROR,data:"WebkitMediaKeys not available",stackTrace:null!==(i=Error().stack)&&void 0!==i?i:""});return}if(!window.WebKitMediaKeys.isTypeSupported(t,n)){this._errorManager.reportError({code:v.WEBKIT_KEY_ERROR,data:'key system "'.concat(t,'", "').concat(n,'" not supported'),stackTrace:null!==(a=Error().stack)&&void 0!==a?a:""});return}if(this._videoElement.webkitSetMediaKeys(new window.WebKitMediaKeys(t)),!this._videoElement.webkitKeys){this._errorManager.reportError({code:v.WEBKIT_KEY_ERROR,data:"unable to set MediaKeys",stackTrace:null!==(r=Error().stack)&&void 0!==r?r:""});return}let{certificateUrl:o,licenseServerUrl:l,token:d,provider:c}=e.drm[0];if(!o){this._errorManager.reportError({code:v.SERVER_CERTIFICATE_REQUEST_FAILURE,data:"no certificateUrl",stackTrace:null!==(s=Error().stack)&&void 0!==s?s:""});return}tX(o).then(t=>{let i=e=>{let i=nn(e,n,t,l||"",d||"",c||k.uZ.CONAX,this._videoElement.webkitKeys);i&&this._subscriptions.push(this._removeEventListeners$.subscribe(i))};this._videoElement.addEventListener("webkitneedkey",i,!1),this._subscriptions.push(this._removeEventListeners$.subscribe(()=>{this._videoElement.removeEventListener("webkitneedkey",i)})),this._initiatePlayback(e.url)}).catch(e=>{var t,n;this._errorManager.reportError({code:v.SERVER_CERTIFICATE_REQUEST_FAILURE,data:"error fetching FairPlay license = ".concat(JSON.stringify(e)),stackTrace:null!==(n=null!==(t=e.stack)&&void 0!==t?t:Error().stack)&&void 0!==n?n:""})})}else this._initiatePlayback(e.url)}play(){this._videoElement.play().catch(e=>{var t;this._errorManager.reportWarning({code:v.PLAY_CALL_ERROR,data:"play() on video element error = ".concat(tq(e)),stackTrace:null!==(t=Error().stack)&&void 0!==t?t:""})})}pause(){this._videoElement.pause()}seek(e){this._setPlaybackState(et.w.SEEKING),this._videoElement.currentTime=e/1e3}selectAudioTrack(e){t7("SafariPlaybackEngine.selectAudioTrack audioTrackSelection = ".concat(e));let t=this._videoElement.audioTracks;for(let n=0;n0),this._videoElement.volume=e,this._volume$.next(e)}stop(){this._reset()}destroy(){var e;null===(e=this._videoElement.parentElement)||void 0===e||e.removeChild(this._videoElement),this._reset(),this._removeEventListeners$.complete(),this._internalPlaying$.complete(),this._internalTimeUpdate$.complete(),this._internalWaiting$.complete()}_reset(){this._videoElement.src="",this._videoElement.removeAttribute("src"),this._firstPreparedSent=!1,this._setToLiveEdge=!1,this._shouldAutoPlay=!0,this._removeEventListeners$.next(void 0),void 0!==this._positionReportingTimer&&(window.clearInterval(this._positionReportingTimer),this._positionReportingTimer=void 0),this._textTrackEnabled=!1,this._textTrackCueSubscribers={},this._subscriptions.forEach(e=>e.unsubscribe())}getEngineCapabilities(){return this._capabilities?Promise.resolve(this._capabilities):this._capabilitiesProvider.getCapabilities().then(e=>(void 0!==e.audioDecoders.eac3&&e.audioDecoders.eac3.profiles.includes("atmos")&&(this._isDeviceAtmosCapable=!0),this._capabilities=e,this._capabilities))}getVideoElement(){return this._videoElement}async getThumbnailUrl(e,t,n){t7("SafariPlaybackEngine.getThumbnailUrl timeMs = ".concat(e,", height = ").concat(t," width = ").concat(n))}static create(e){return new this(e,document.createElement("video"))}_setupTextTrackCues(e){if(e){let t=e.language+e.kind+e.label;if(!this._textTrackCueSubscribers[t]){let n=(0,tB.R)(e,"cuechange").pipe((0,Z.U)(()=>{if(!this._textTrackEnabled){this._activeTextCues$.next([]);return}let t=[].slice.call(null==e?void 0:e.activeCues).map(e=>{let{text:t}=e;return t.split("\n").map(e=>({text:nr(e),position:{positionAlignment:tO.c.CENTER,textAlignment:tO.c.CENTER}}))}).flat();this._activeTextCues$.next(t)})).subscribe();this._textTrackCueSubscribers[t]=n,this._subscriptions.push(n)}}else this._textTrackEnabled=!1,this._activeTextCues$.next([])}_initiatePlayback(e){this._videoElement.setAttribute("playsinline",""),this._videoElement.src=e,!0===this._shouldAutoPlay&&this._videoElement.play().catch(e=>{var t;return this._errorManager.reportWarning({code:v.PLAY_CALL_ERROR,data:"play() on video element error = ".concat(tq(e)),stackTrace:null!==(t=Error().stack)&&void 0!==t?t:""})})}_sendAvailableTracks(e,t){this._availableTracks=na(this._availableTracks,t,e.target,this._isDeviceAtmosCapable,this._currentPosition),this._availableTracks$.next(this._availableTracks)}_setupVideoElementEventListeners(){this._subscriptions.push((0,F.T)(this._internalPlaying$,this._internalWaiting$,this._internalTimeUpdate$).pipe((0,Z.U)(()=>this._videoElement.readyState<=HTMLMediaElement.HAVE_CURRENT_DATA),(0,Z.U)(e=>{e&&this._setPlaybackState(et.w.BUFFERING)}),(0,tF.d)(1)).subscribe(()=>{})),this._timedMetadataTracks$=(0,F.T)((0,tB.R)(this._videoElement.textTracks,"addtrack"),(0,tB.R)(this._videoElement.textTracks,"removetrack")).pipe((0,Z.U)(()=>this._videoElement.textTracks),(0,Z.U)(e=>t8(e)),(0,tF.d)(1)),this._subscriptions.push((0,ee.a)(this._timedMetadataTracks$,this._internalTimeUpdate$).pipe((0,Z.U)(e=>{let[t]=e,n=[];return t.forEach(e=>{this._metadataReader.getMetadata(e.cues,"X-COM-SPARX-INFO","com.sparx.sdk.breakEvent.v1",n)}),n}),(0,eM.h)(e=>e.length>0),(0,e0.x)(),(0,tF.d)(1)).subscribe(e=>{this._timedMetadata$.next(e[0])})),this._subscriptions.push((0,F.T)((0,tB.R)(this._videoElement.textTracks,"addtrack"),(0,tB.R)(this._videoElement.textTracks,"removetrack")).pipe((0,Z.U)(e=>this._sendAvailableTracks(e,"text")),(0,tF.d)(1)).subscribe(()=>{})),this._subscriptions.push((0,F.T)((0,tB.R)(this._videoElement.audioTracks,"addtrack"),(0,tB.R)(this._videoElement.audioTracks,"removetrack")).pipe((0,Z.U)(e=>this._sendAvailableTracks(e,"audio")),(0,tF.d)(1)).subscribe(()=>{}));let e=()=>{if(this._setToLiveEdge){let e=this._videoElement.seekable,t=e.length-1;if(t>=0){let n=e.end(t)-1;this._videoElement.currentTime=n>0?n:0}else this._videoElement.currentTime=0;this._setToLiveEdge=!1}},t=()=>{this._setPlaybackState(et.w.PREPARED)},n=()=>this._setPlaybackState(et.w.SEEKING),i=()=>{this._setPlaybackState(et.w.PLAYING),this._internalPlaying$.next(void 0)},a=()=>this._setPlaybackState(et.w.PAUSED),r=()=>this._setPlaybackState(et.w.ENDED),s=e=>this._internalWaiting$.next(void 0),o=e=>{let t="error event by video element, event: ".concat(JSON.stringify(e));null!==this._videoElement.error&&(t="videoElement Error - code : ".concat(this._videoElement.error.code," message : ").concat(this._videoElement.error.message)),this._errorManager.reportError({code:v.VIDEO_ELEMENT_GENERAL,data:t,stackTrace:Error().stack||""}),this._setPlaybackState(et.w.ERROR)},l=()=>{void 0===this._positionReportingTimer&&this._videoElement.currentTime>=0&&(this._handlePositionReporting(),this._positionReportingTimer=window.setInterval(()=>{this._handlePositionReporting()},250))},d=()=>{var e,t;let n={height:null!==(e=this._videoElement.videoHeight)&&void 0!==e?e:0,width:null!==(t=this._videoElement.videoWidth)&&void 0!==t?t:0};this._videoSize$.next(n)};this._videoElement.addEventListener("canplay",t,!1),this._videoElement.addEventListener("seeked",t,!1),this._videoElement.addEventListener("loadeddata",e,!1),this._videoElement.addEventListener("seeking",n,!1),this._videoElement.addEventListener("playing",i,!1),this._videoElement.addEventListener("pause",a,!1),this._videoElement.addEventListener("timeupdate",l,!1),this._videoElement.addEventListener("ended",r,!1),this._videoElement.addEventListener("waiting",s,!1),this._videoElement.addEventListener("error",o,!1),this._videoElement.addEventListener("loadedmetadata",d,!1),this._videoElement.addEventListener("resize",d,!1),this._subscriptions.push(this._removeEventListeners$.subscribe(()=>{this._videoElement.removeEventListener("canplay",t),this._videoElement.removeEventListener("seeked",t),this._videoElement.removeEventListener("loadeddata",e),this._videoElement.removeEventListener("seeking",n),this._videoElement.removeEventListener("playing",i),this._videoElement.removeEventListener("pause",a),this._videoElement.removeEventListener("timeupdate",l),this._videoElement.removeEventListener("ended",r),this._videoElement.removeEventListener("waiting",s),this._videoElement.removeEventListener("error",o),this._videoElement.removeEventListener("loadedmetadata",d),this._videoElement.removeEventListener("resize",d)}))}_setPlaybackState(e){if(this._playbackState!==e){if(e===et.w.PREPARED){if(this._playbackState===et.w.SEEKING||this._playbackState===et.w.BUFFERING&&this._firstPreparedSent){this._playbackState=this._videoElement.paused?et.w.PAUSED:et.w.PLAYING,this._playbackState$.next(this._playbackState);return}this._firstPreparedSent=!0}this._playbackState=e,this._playbackState$.next(this._playbackState)}}_handlePositionReporting(){var e,t,n;this._internalTimeUpdate$.next(void 0);let i=this._videoElement.duration;if(isNaN(i))return;let a=i===1/0;if(a){let t;if(!((t=null===(e=this._videoElement)||void 0===e?void 0:e.getStartDate())instanceof Date&&!isNaN(t.getTime())))return}if(0===this._currentPosition&&(this._isLive$.next(a),a)){let e=null===(n=null===(t=this._videoElement)||void 0===t?void 0:t.getStartDate())||void 0===n?void 0:n.getTime();this._livePresentationStartTime$.next(e/1e3||0)}this._currentPosition=this._videoElement.currentTime,this._streamCurrentTime$.next(1e3*this._currentPosition),this._liveEnd$.next(void 0)}constructor(e,t){this._firstPreparedSent=!1,this._activeTextCues$=new z.x,this.activeTextCues$=this._activeTextCues$.asObservable(),this._audioBitrateBps$=new z.x,this.audioBitrateBps$=this._audioBitrateBps$.asObservable(),this._audioCodec$=new z.x,this.audioCodec$=this._audioCodec$.asObservable(),this._audioTrackLanguage$=new z.x,this.audioTrackLanguage$=this._audioTrackLanguage$.asObservable(),this._availableTracks$=new z.x,this.availableTracks$=this._availableTracks$.asObservable(),this._bandwidth$=new z.x,this.bandwidth$=this._bandwidth$.asObservable(),this._bufferedRange$=new z.x,this.bufferedRange$=this._bufferedRange$.asObservable(),this._cdn$=new z.x,this.cdn$=this._cdn$.asObservable(),this._currentPDT$=new z.x,this.currentPDT$=this._currentPDT$.asObservable(),this._droppedFrames$=new z.x,this.droppedFrames$=this._droppedFrames$.asObservable(),this._error$=new z.x,this.error$=this._error$.asObservable(),this._isLive$=new z.x,this.isLive$=this._isLive$.asObservable(),this._liveEnd$=new z.x,this.liveEnd$=this._liveEnd$.asObservable(),this._livePresentationStartTime$=new z.x,this.livePresentationStartTime$=this._livePresentationStartTime$.asObservable(),this._playbackLicenseExpired$=new z.x,this.playbackLicenseExpired$=this._playbackLicenseExpired$.asObservable(),this._playbackState$=new z.x,this.playbackState$=this._playbackState$.asObservable(),this._seekableRange$=new z.x,this.seekableRange$=this._seekableRange$.asObservable(),this._selectedAudioTrack$=new z.x,this.selectedAudioTrack$=this._selectedAudioTrack$.asObservable(),this._selectedTextTrack$=new z.x,this.selectedTextTrack$=this._selectedTextTrack$.asObservable(),this._streamCurrentTime$=new z.x,this.streamCurrentTime$=this._streamCurrentTime$.asObservable(),this._streamNetworkRequest$=new z.x,this.streamNetworkRequest$=this._streamNetworkRequest$.asObservable(),this._textTrackFormat$=new z.x,this.textTrackFormat$=this._textTrackFormat$.asObservable(),this._textTrackLanguage$=new z.x,this.textTrackLanguage$=this._textTrackLanguage$.asObservable(),this._timedMetadata$=new z.x,this.timedMetadata$=this._timedMetadata$.asObservable(),this._timedMetadataTracks$=new z.x().asObservable(),this._metadataReader=new tY,this._totalFrames$=new z.x,this.totalFrames$=this._totalFrames$.asObservable(),this._videoBitrateBps$=new z.x,this.videoBitrateBps$=this._videoBitrateBps$.asObservable(),this._videoFramerate$=new z.x,this.videoFramerate$=this._videoFramerate$.asObservable(),this._videoCodec$=new z.x,this.videoCodec$=this._videoCodec$.asObservable(),this._availableVideoPeriods$=new z.x,this.availableVideoPeriods$=this._availableVideoPeriods$.asObservable(),this._videoPeriod$=new z.x,this.videoPeriod$=this._videoPeriod$.asObservable(),this._videoSize$=new z.x,this.videoSize$=this._videoSize$.asObservable(),this._videoRenditionChange$=new z.x,this.videoRenditionChange$=this._videoRenditionChange$.asObservable(),this._volume$=new z.x,this.volume$=this._volume$.asObservable(),this._warning$=new z.x,this.warning$=this._warning$.asObservable(),this._playbackState=et.w.CLOSED,this._errorManager=new tK(this._error$,this._warning$),this._subscriptions=[],this._currentPosition=0,this._isDeviceAtmosCapable=!1,this._textTrackCueSubscribers={},this._textTrackEnabled=!1,this._setToLiveEdge=!1,this._shouldAutoPlay=!0,this._videoElement=t,e.appendChild(this._videoElement),this.setResizeMode("contain"),this._capabilitiesProvider=new tW(e),this._removeEventListeners$=new z.x,this._internalPlaying$=new z.x,this._internalTimeUpdate$=new z.x,this._internalWaiting$=new z.x,this.streamDuration$=(0,tB.R)(this._videoElement,"progress").pipe((0,Z.U)(e=>{let{target:t}=e,n=t.seekable,i=n.length-1;return{start:0,end:(n.end(i)-n.start(0))*1e3}}),(0,tZ.g)("end"),(0,tF.d)(1))}}class nl{create(e){return no.create(e)}constructor(){}}var nd=n(65127),nc=n.n(nd);let nu={"x-cdn":"","content-type":"","x-request-id":"","cf-ray":"","x-amz-cf-id":"","x-akamai-request-id":""},nf=Object.freeze({player_software_name:void 0,player_software_version:void 0,player_is_paused:!1,player_playhead_time:0,video_encoding_variant:void 0,video_source_duration:0,video_source_height:0,video_source_width:0,video_source_mime_type:void 0,video_source_url:void 0,video_cdn:void 0,view_session_id:void 0,view_dropped_frame_count:void 0,custom_6:void 0,custom_7:void 0,custom_8:void 0}),n_=Object.freeze({video_duration:void 0,video_id:"",video_title:"",player_is_paused:!1,player_playhead_time:void 0,player_source_duration:1/0,video_source_duration:void 0,video_source_width:0,video_source_height:0});class nh{getStateData(){return this._stateData}getViewData(){return this._viewData}getPlayheadTime(){return this._stateData.player_playhead_time}generatePlayerID(){return"000000".concat((2176782336*Math.random()).toString(36)).slice(-6)}destroyMuxView(){this._isInitialized&&(this._isInitialized=!1,nc().emit(this.playerId,"destroy"))}destroy(){for(let e of(this._logger&&this._logger.d("MuxPlugin","destroy"),this.destroyMuxView(),this._subscriptions))e.unsubscribe();this._resetData()}_resetData(){this._drmEnabled=!1,this._autoplay=!0,this._isAdPlaying=!1,this._subscriptions=[],this._stateData={...nf},this._viewData={...n_}}processPlaybackStateEvent(e){switch(e.playbackEventType){case"PlaybackInfoResolutionStartEvent":this.handlePlaybackInfoResolutionStartEvent(e);break;case"PlaybackInfoResolutionEndEvent":this.handlePlaybackInfoResolutionEndEvent(e);break;case"FirstFrameRenderEvent":this.handleFirstFrameRenderEvent(e);break;case"BufferingEndEvent":this.handleBufferingEndEvent();break;case"BufferingStartEvent":this.handleBufferingStartEvent();break;case"ErrorEvent":this.handleErrorEvent(e);break;case"PausedEvent":this.handlePausedEvent();break;case"PlaybackCompleteEvent":this.handlePlaybackCompleteEvent();break;case"PlaybackSessionEndEvent":this.handlePlaybackSessionEndEvent();break;case"PlayingEvent":this.handlePlayingEvent();break;case"SeekEndEvent":this.handleSeekEndEvent();break;case"SeekStartEvent":this.handleSeekStartEvent();break;case"PlaybackSessionInvalidatedEvent":this.handlePlaybackSessionInvalidatedEvent()}}processPlaybackProgressEvent(e){this._stateData.player_playhead_time=e.playheadData.contentPlayheadMs,nc().emit(this.playerId,"timeupdate",{player_playhead_time:this._stateData.player_playhead_time,view_dropped_frame_count:this._stateData.view_dropped_frame_count})}processCodecChangeEvent(e){let[t,n]=e;this._calculateCustomAudioValue(t),this._calculateCustomVideoValue(n)}processVideoStatsChangeEvent(e){let t=e.videoStats.droppedFrames;void 0!==t&&(this._stateData.view_dropped_frame_count=t)}processNetworkRequestEvent(e){var t;let n={request_start:e.request.requestStart,request_hostname:e.request.requestHostname,request_type:null===(t=e.request)||void 0===t?void 0:t.requestType,request_url:e.request.requestUrl};switch(e.request.responseType){case eQ.x.COMPLETED:{let t={...n,request_bytes_loaded:e.request.bytesLoaded,request_response_end:e.request.responseEnd,request_response_start:e.request.responseStart};void 0!==e.request.responseHeaders&&(t.request_response_headers=this._headersStringToObject(e.request.responseHeaders)),void 0!==e.request.requestVideoHeight&&(t.request_video_height=e.request.requestVideoHeight),void 0!==e.request.requestVideoWidth&&(t.request_video_width=e.request.requestVideoWidth),void 0!==e.request.requestMediaDuration&&(t.request_media_duration=e.request.requestMediaDuration),void 0!==e.request.requestLabeledBitrate&&(t.request_labeled_bitrate=e.request.requestLabeledBitrate),nc().emit(this.playerId,"requestcompleted",t);break}case eQ.x.FAILED:nc().emit(this.playerId,"requestfailed",{...n,request_error:e.request.error,request_error_code:e.request.errorCode,request_error_text:e.request.errorText});break;case eQ.x.CANCELED:nc().emit(this.playerId,"requestcanceled",n)}}_headersStringToObject(e){let t={};if(!e)return t;for(let n of e.split("\r\n")){let[e,...i]=n.split(": ");if(e&&i.length){let n=e.toLowerCase();Object.keys(nu).includes(n)&&(t[n]=i.join(": "))}}return t}_calculateCustomAudioValue(e){let t="unknown",n=null==e?void 0:e.audioCodec;switch(null==n?void 0:n.audioCodec){case"mp4a.40.2":t="aac";break;case"mp4a.40.5":t="heaac-v1";break;case"ec-3":t=(null==n?void 0:n.isSpatial)?"atmos":"eac3";break;default:t="unknown"}this._stateData.custom_7=t}_calculateCustomVideoValue(e){var t,n,i;let a="unknown",r=e.videoCodec,s=null==r?void 0:r.videoCodec;a=(null===(t=null==s?void 0:s.toLowerCase())||void 0===t?void 0:t.startsWith("avc1"))?"avc":(null===(n=null==s?void 0:s.toLowerCase())||void 0===n?void 0:n.startsWith("hvc1"))||(null===(i=null==s?void 0:s.toLowerCase())||void 0===i?void 0:i.startsWith("dvhe"))?"hevc":"unknown",this._stateData.custom_6=a,this._stateData.custom_8=null==r?void 0:r.dynamicRange}processVideoSizeChangeEvent(e){this._stateData.video_source_width=e.videoWidth,this._stateData.video_source_height=e.videoHeight}processTimelineUpdateEvent(e){this._stateData.video_source_duration=e.contentDurationMs,this._viewData.video_source_duration=e.contentDurationMs,this._viewData.video_duration=e.contentDurationMs}processAdRollEvent(e){"AdRollStart"===e.type?(this._isAdPlaying=!0,nc().emit(this.playerId,"pause"),nc().emit(this.playerId,"adbreakstart")):"AdRollEnd"===e.type&&(this._isAdPlaying=!1,nc().emit(this.playerId,"adbreakend"),nc().emit(this.playerId,"play"),nc().emit(this.playerId,"playing"))}processAdEvent(e){"AdStart"===e.type?(nc().emit(this.playerId,"adplay"),nc().emit(this.playerId,"adplaying")):"AdComplete"===e.type?nc().emit(this.playerId,"adended"):"AdFirstQuartile"===e.type?nc().emit(this.playerId,"adfirstquartile"):"AdMidpoint"===e.type?nc().emit(this.playerId,"admidpoint"):"AdThirdQuartile"===e.type&&nc().emit(this.playerId,"adthirdquartile")}processRenditionChangeEvent(e){nc().emit(this.playerId,"renditionchange",{video_source_bitrate:e.renditionChange.videoBitrate,video_source_codec:e.renditionChange.videoCodec,video_source_fps:e.renditionChange.videoFramerate,video_source_height:e.renditionChange.videoHeight,video_source_width:e.renditionChange.videoWidth})}handleBufferingEndEvent(){nc().emit(this.playerId,"rebufferend")}handleBufferingStartEvent(){nc().emit(this.playerId,"rebufferstart")}handleErrorEvent(e){var t,n,i,a,r,s,o,l;e.activeStreamInfo&&this._applyStreamInfo(e.activeStreamInfo);let d=(null===(t=e.activeStreamInfo)||void 0===t?void 0:t.streamInfoType)===1,c=null===(n=e.classification)||void 0===n?void 0:n.string,u=e.platformCode?",".concat(e.platformCode):"",f=this._getMuxErrorSeverity(null!==(a=null===(i=e.classification)||void 0===i?void 0:i.numeric)&&void 0!==a?a:0);nc().emit(this.playerId,"error",{player_error_code:(null===(r=e.classification)||void 0===r?void 0:r.numeric)?null===(o=null===(s=e.classification)||void 0===s?void 0:s.numeric)||void 0===o?void 0:o.toString():this._getMuxErrorCode(e.errorSource,null!==(l=e.errorCode)&&void 0!==l?l:"").toString(),player_error_message:c?"".concat(c).concat(u):this._getMuxErrorMessage(e),player_error_context:"".concat(e.errorMessage+(e.stackTrace||"")),custom_1:d?"secondary_stream":"primary_stream",experiment_name:d?this._extras.fallbackStreamTagExperiment:this._extras.primaryStreamTagExperiment,video_stream_type:this._getStreamType(e.activeStreamInfo),player_error_severity:f})}_getMuxErrorCode(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return(0,V.a)(e,t,this._config.errorCodeMapping)}_getMuxErrorMessage(e){var t;return"error.internet.no.connection"===e.errorCode?"general:network::connectivity.lost":e.errorSource?"".concat(e.errorSource,"::").concat((null===(t=null==e?void 0:e.httpContext)||void 0===t?void 0:t.statusCode)||999,"::").concat((null==e?void 0:e.errorCode)==="1000999"||null===e?"unknown":null==e?void 0:e.errorCode," - ").concat((null==e?void 0:e.errorMessage)||"--"):e.errorMessage}_getMuxErrorSeverity(e){return e>=11e5&&e<12e5?"warning":"fatal"}handleFirstFrameRenderEvent(e){var t;this._applyStreamInfo(e.activeStreamInfo);let n=1===e.activeStreamInfo.streamInfoType;nc().emit(this.playerId,"playerready",{player_init_time:null!==(t=this._playerInitTime)&&void 0!==t?t:Date.now(),player_is_fullscreen:!0,player_autoplay_on:this._autoplay,player_preload_on:!1,player_width:this._playerDimensions.width,player_height:this._playerDimensions.height,custom_1:n?"secondary_stream":"primary_stream",experiment_name:n?this._extras.fallbackStreamTagExperiment:this._extras.primaryStreamTagExperiment,custom_3:this._drmEnabled,page_type:this._config.pageType})}handlePausedEvent(){this._stateData.player_is_paused=!0,nc().emit(this.playerId,this._isAdPlaying?"adpause":"pause")}handlePlaybackCompleteEvent(){nc().emit(this.playerId,"ended")}handlePlaybackSessionEndEvent(){this.destroyMuxView()}handlePlayingEvent(){this._stateData.player_is_paused&&(this._stateData.player_is_paused=!1,nc().emit(this.playerId,this._isAdPlaying?"adplay":"play"),this._isAdPlaying&&nc().emit(this.playerId,"adplaying")),this._isAdPlaying||nc().emit(this.playerId,"playing")}handleSeekEndEvent(){nc().emit(this.playerId,"seeked")}handleSeekStartEvent(){nc().emit(this.playerId,"seeking")}handlePlaybackSessionInvalidatedEvent(){this.destroyMuxView()}handlePlaybackInfoResolutionStartEvent(e){var t,n;this._playerInitTime=Date.now();let{contentType:i,extras:a,id:r,initialStreamMode:s,originalSubtitle:o,originalTitle:l,title:d,showName:c}=e.contentMetadata,{adStrategy:u,deviceCategory:f,deviceManufacturer:_,deviceModel:h,deviceName:m,disableCookies:p,environmentKey:g,osName:v,osVersion:b,connectionType:x,playerName:y,playerVersion:k,resiliencyVersion:C,userID:S,homeRegion:E}=this._config;this._resetData();let T=this._isChannel(s);this._stateData.view_session_id=e.playbackSessionId,this._stateData.player_software_name=e.mediaEngineData.name,this._stateData.player_software_version=e.mediaEngineData.version,this._viewData.video_id=r,this._viewData.video_content_type=i,this._initialStreamMode=s,void 0!==e.autoplay&&(this._autoplay=e.autoplay);let P=null==a?void 0:a.CHANNEL_NAME;if(this._viewData.video_title=null!=l?l:d,T?this._viewData.video_series=P:this._viewData.video_series=null!=o?o:c,this._isInitialized)nc().emit(this.playerId,"videochange",this._viewData);else{let i=null!==(t=e.mediaEngineData.labsConfigVersion)&&void 0!==t?t:"",a=i.endsWith(",")?i+(this._config.mediaMelonEnabled?"mmcsi":"nmmcsi"):i+(this._config.mediaMelonEnabled?",mmcsi":",nmmcsi"),r={debug:!1,disablePlayheadRebufferTracking:!0,disableCookies:p,getPlayheadTime:()=>this.getPlayheadTime(),getStateData:()=>this.getStateData(),data:{...this._viewData,env_key:g,custom_5:a,custom_2:C,custom_4:u,player_mux_plugin_name:null!==(n=this._config.pluginName)&&void 0!==n?n:"Player SDK Mux Plugin",player_mux_plugin_version:nc().VERSION,player_name:y,player_version:k,viewer_device_name:m,viewer_device_model:h,viewer_device_manufacturer:_,viewer_device_category:f,viewer_os_family:v,viewer_os_version:b,viewer_connection_type:x,viewer_user_id:S,sub_property_id:E}};nc().init(this.playerId,r),this._isInitialized=!0}this._autoplay?nc().emit(this.playerId,"play"):nc().emit(this.playerId,"viewstart")}handlePlaybackInfoResolutionEndEvent(e){if(e.playable){e.playable.extras&&(this._extras=e.playable.extras);let t=(0,W.r8)(e.playable,0);this._extras.primaryStreamTagExperiment&&(this._stateData.experiment_name=this._extras.primaryStreamTagExperiment),t&&this._applyStreamInfo(t)}e.capabilities&&(this._playerDimensions.height=e.capabilities.displayProperties.playerViewHeight,this._playerDimensions.width=e.capabilities.displayProperties.playerViewWidth)}_streamModeToVideoStreamType(e){switch(e){case k.Aw.LIVE:case k.Aw.CHANNEL:case k.Aw.START_OVER:case k.Aw.START_OVER_ON_NOW:return"live";case k.Aw.VOD:return"on-demand"}}_isChannel(e){switch(e){case k.Aw.LIVE:case k.Aw.CHANNEL:return!0;case k.Aw.START_OVER_ON_NOW:case k.Aw.START_OVER:case k.Aw.VOD:return!1}}_getDRMType(e){var t;return void 0===e?"drm-free":null!==(t=null==e?void 0:e.schema)&&void 0!==t?t:"unknown"}_getEncodingPlatform(e){var t;let n=(0,W.I9)(e);return null!==(t=null==n?void 0:n.encodingPlatform)&&void 0!==t?t:void 0}_getStreamType(e){let t;let n=this._streamModeToVideoStreamType(this._initialStreamMode);return e&&(t=this._getEncodingPlatform(e)),void 0!==t?n+"-"+t:n}_applyStreamInfo(e){var t;this._stateData.video_stream_type=this._getStreamType(e),this._stateData.view_drm_type=this._getDRMType(null===(t=null==e?void 0:e.drm)||void 0===t?void 0:t[0]),this._stateData.video_cdn=e.cdn,this._stateData.video_source_mime_type=e.mediaRepresentationType,this._stateData.video_source_url=e.url,this._stateData.custom_1=1===e.streamInfoType?"secondary_stream":"primary_stream",this._stateData.experiment_name=1===e.streamInfoType?this._extras.fallbackStreamTagExperiment:this._extras.primaryStreamTagExperiment,this._drmEnabled=void 0!==e.drm;let n=(0,W.I9)(e);void 0!==n&&(this._stateData.video_encoding_variant=n.packagingProfile)}constructor(e,t,n,i){this._isInitialized=!1,this._extras={primaryStreamTagExperiment:void 0,fallbackStreamTagExperiment:void 0},this._logger=i,this.playerId=void 0!==n?null==n?void 0:n.toString():this.generatePlayerID(),this._stateData={...nf},this._viewData={...n_},this._playerDimensions={height:0,width:0},this._drmEnabled=!1,this._isAdPlaying=!1,this._config=e,this._subscriptions=[],this._autoplay=!0,this._initialStreamMode=k.Aw.VOD,this._subscriptions.push(t.playbackState$.subscribe(e=>this.processPlaybackStateEvent(e))),this._subscriptions.push(t.playbackProgress$.subscribe(e=>this.processPlaybackProgressEvent(e))),this._subscriptions.push(t.timelineUpdate$.subscribe(e=>this.processTimelineUpdateEvent(e))),this._subscriptions.push(t.videoSizeChange$.subscribe(e=>this.processVideoSizeChangeEvent(e))),this._subscriptions.push(t.adRollEvent$.subscribe(e=>this.processAdRollEvent(e))),this._subscriptions.push(t.adEvent$.subscribe(e=>this.processAdEvent(e))),this._subscriptions.push((0,ee.a)([t.audioCodecChange$,t.videoCodecChange$]).subscribe(e=>this.processCodecChangeEvent(e))),this._subscriptions.push(t.videoStatsChange$.subscribe(e=>this.processVideoStatsChangeEvent(e))),this._subscriptions.push(t.networkRequest$.subscribe(e=>this.processNetworkRequestEvent(e))),this._subscriptions.push(t.videoRenditionChange$.subscribe(e=>this.processRenditionChangeEvent(e)))}}class nm{create(e,t,n){return this._mux=new nh(this._config,e,t,n),{name:"MuxPlugin",version:"0.0.0",destroy:()=>{var e;null===(e=this._mux)||void 0===e||e.destroy(),this._mux=void 0}}}constructor(e,t){this._mux=void 0,this._config=e}}var np=n(27069),ng=n(26095),nv=n(54951);class nb{build(e){let t={muxErrorCodeMapping:this.muxConfig.errorCodeMapping,streamTimePollingRateMs:250,resizeMode:"contain"},n=new b.bD(this.httpClient,this.pirConfig.deviceData,this.pirConfig.appMetadata,this.adSdk.getBoltAdPlaybackParamsProvider()),{isIPhoneOrIPad:i}=(0,ng._v)(),a=new eO(t,i?new nl:new tD(this.gluonConfig),n);a.setPlayerUserPreferences(this.userPreferences),a.setPluginCreators(this.getPluginCreators());let r=new tN.hi(this.getOverlays());return this.playerContainer=a.buildPlayerWithUI(e,r),this.playerContainer}getPluginCreators(){let e=[...this.adSdk.getPluginCreators(),new nm(this.muxConfig)];return this.progressReporter&&e.push(new b.R3(this.progressReporter)),e}getOverlays(){let e={elementConfigObservable:this.elementConfigObservable},t=[new tN.qv(this.backHandler,this.userPreferences,this.upNextFetcher,()=>{},e),new tN.pX(this.backHandler,!1,"#C4C4C4",[]),new tN.pe,new tN.tz,new tN.BE,new tN.YU(this.userPreferences.getCurrentUserPreference()),new tN.TS(this.userPreferences),...this.adSdk.getOverlayCreators()];return this.upNextFetcher&&t.push(new tN.kL(new nv.a,this.upNextFetcher,this.userPreferences.getCurrentUserPreference())),t}handleResize(e){var t,n;let i=null===(t=this.playerContainer)||void 0===t?void 0:t.fullscreenControls().isFullscreen(),a=this.getPlayerControlsConfig(e>440||!!i);null===(n=this.elementConfigObservable)||void 0===n||n.next(a)}getPlayerControlsConfig(e){let t={...np.FO};return t.progressBarConfig={isVisible:e},t.closedCaptionsToggleConfig={isVisible:e},t.languageOverlayToggleConfig={isVisible:e},t.skipForwardBackwardButtonsConfig={isVisible:e},t.titleMetadataTextConfig={isVisible:e},t.volumeSliderConfig={isVisible:e},t.muteToggleConfig={isVisible:!e},t}constructor(e,t,n,i,a,r=new eB.G,s,o,l){this.httpClient=e,this.adSdk=t,this.pirConfig=n,this.muxConfig=i,this.backHandler=a,this.userPreferences=r,this.progressReporter=s,this.upNextFetcher=o,this.gluonConfig=l,this.displayBackButton=!1,this.elementConfigObservable=new z.x}}},54951:function(e,t,n){"use strict";n.d(t,{Q:function(){return i},a:function(){return a}});class i{getNextContentMetadata(e){return Promise.resolve({contentMetadata:e,endType:"continuous"})}async getNextContentMetadataById(e){let t=this.playlist.findIndex(t=>t.id===e);if(t<0||t===this.playlist.length-1)return Promise.reject(Error("Reached end of playlist"));let n=this.playlist[t+1];return this.notifyVideoChanged(this.playlist[t]),Promise.resolve({contentMetadata:n,endType:"continuous"})}getNextContentMetadataList(e){return Promise.resolve({contentMetadatas:[e],endType:"continuous"})}setPlayerId(e){this.playerId=e}notifyVideoChanged(e){this.onVideoChanged&&this.onVideoChanged(e)}constructor(e,t){this.playlist=e,this.onVideoChanged=t}}class a{onUpNextThresholdReached(e){console.log("UpNextCallbackWatcher","UpNextThreshold Reached of type: "+e)}}},15754:function(e,t,n){"use strict";n.r(t),n.d(t,{PlaybackInitiator:function(){return a},Video:function(){return f}});var i,a,r=n(90991),s=n(72163),o=n(60901),l=n(66451),d=n(86808),c=n(71022);let u=()=>{};(i=a||(a={})).Auto="auto",i.UserInitiated="userInitiated";let f=(0,s.forwardRef)((e,t)=>{let{id:n,config:i,metadata:f,startPosition:_=0,className:h,autoPlay:m,sx:p,onPlaybackStarted:g=u,onPlaybackEnded:v=u}=e,[b,x]=(0,s.useState)(),y=(0,s.useRef)([]),k=(0,s.useRef)(null),C=(0,s.useRef)(i);(0,l.y)(k,e=>{var t;let n=C.current;k.current&&n.handleResize&&b&&(null===(t=n.handleResize)||void 0===t||t.call(n,e.contentBoxSize[0].inlineSize))}),(0,s.useImperativeHandle)(t,()=>b,[b]),(0,s.useEffect)(()=>{var e,t;return k.current&&(null===(e=i.handleResize)||void 0===e||e.call(i,null===(t=k.current)||void 0===t?void 0:t.offsetWidth)),()=>{var e;b&&(null===(e=y.current)||void 0===e||e.forEach(e=>e.unsubscribe()),y.current=[],v(),b.destroy())}},[b]);let S=(0,s.useCallback)(e=>{if(e){let t=i.build(e),n=t.events(),a=[];a.push(n.playbackState$.subscribe(e=>{"PlaybackInfoResolutionStartEvent"===e.playbackEventType&&g(e),"PlaybackCompleteEvent"===e.playbackEventType&&v(e)})),y.current=a,x(t);let r=null==e?void 0:e.querySelector("video");null==r||r.setAttribute("data-screen-size","".concat(null==r?void 0:r.clientWidth,":").concat(null==r?void 0:r.clientHeight)),f.initialStreamMode===d.Aw.LIVE&&(null==r||r.setAttribute("data-referring-link-badge",c.a.Live)),k.current=e}},[]);return(0,s.useEffect)(()=>{null==b||b.volumeControls().setMute(!!m),m&&(f.playbackInitiator=a.Auto),null==b||b.load(structuredClone(f),_)},[b,f]),(0,r.jsx)(o.Z,{position:"relative",id:n,ref:S,className:h,sx:p})})},67754:function(e,t,n){"use strict";n.d(t,{MT:function(){return r.DefaultPlayerConfig},aB:function(){return o},cJ:function(){return i},K8:function(){return s},Qj:function(){return l.Q},nk:function(){return a.Video}});var i,a=n(15754),r=n(23218);(i||(i={})).UserPreferences="UserPreferences";class s{async fetchPersistedPreferences(){try{let e=window.localStorage.getItem(this.key);return JSON.parse(null!=e?e:"{}")}catch(e){console.error("Error parsing JSON - 500 - LocalStoragePreferences:",e);return}}persistPreferences(e){window.localStorage.setItem(this.key,JSON.stringify(e))}constructor(e){this.key=e}}class o{async report(e){return(e.runtimeSec-e.positionSec)*1e3>this.thresholdMs?this.inMemoryStorage.set(this.baseStorageKey,e):this.inMemoryStorage.delete(this.baseStorageKey),this.reportingInterval}constructor(e,t){var n,i;this.baseStorageKey=e,this.thresholdMs=null!==(n=t.thresholdMs)&&void 0!==n?n:5e3,this.reportingInterval=null!==(i=t.reportingInterval)&&void 0!==i?i:1e3,this.inMemoryStorage=t.inMemoryStorage}}var l=n(54951)},8574:function(e,t,n){"use strict";n.d(t,{VideoThumbnail:function(){return m},VideoThumbnailOverlay:function(){return p}});var i=n(90991),a=n(72163),r=n(60901),s=n(41970),o=n(84336),l=n(94972),d=n(18865),c=n(77810),u=n(94847),f=n(69246),_=n(66066),h=n(51222);let m=e=>{let{id:t,aspectRatio:n="16/9",src:l,alt:c,overlay:u,duration:_=0,mediaWidth:h,badge:m,playable:p=!0,onClick:g,isAboveFold:v,...b}=e,x=(0,d.useStadiumTheme)(),[y,k]=(0,a.useState)(),C=new Date(1e3*_).toISOString().substring(..._<3600?[14,19]:[11,19]);return(0,i.jsxs)(r.Z,{id:t,component:"button",display:"block",position:"relative",onClick:g,width:"100%",sx:{aspectRatio:n,"&:hover":{"& svg":{fill:x.vars.palette.foreground__oncolor_light.mainChannel}},cursor:p?"pointer":"default",pointerEvents:p?"auto":"none"},...b,children:[(!l||y)&&(0,i.jsx)(f.FM,{id:"".concat(t,"/fallback_media"),aspectRatio:n,children:u}),l&&(0,i.jsx)(f.xj,{id:"".concat(t,"/image_media"),src:l,aspectRatio:n,alt:null!=c?c:"Video thumbnail",mediaWidth:h,overlay:u,onError:k,isAboveFold:v}),(!!_||m)&&(0,i.jsxs)(r.Z,{display:"flex",alignItems:"flex-start",position:"absolute",padding:x.vars.dimensions.size__sm,top:"0",left:"0",right:"0",children:[m,!!_&&(0,i.jsx)(s.Z,{id:"".concat(t,"/duration"),color:"opacity__60",size:"thin",label:(0,i.jsx)(o.Z,{variant:"bp_small__ui__metadata__medium",children:C}),"data-mui-color-scheme":"dark",sx:{height:"auto",gap:x.vars.dimensions.padding__xxs,px:x.vars.dimensions.padding__xs,pt:x.vars.dimensions.padding__xxxs,pb:x.vars.dimensions.padding__xxxxs,marginLeft:"auto","& .MuiChip-label":{px:0}}})]})]})},p=e=>{let{id:t,headline:n,headlineSx:a,playable:r=!0,titleComponent:s="span",sx:o={}}=e,f=(0,d.useStadiumTheme)();return(0,i.jsx)(_.MediaOverlay,{sx:{..."string"==typeof n&&!n.trim()&&{background:"none"},...o},children:(0,i.jsx)(u.s,{id:t,headline:n,variant:"bp_large__headings__title__medium",className:c.R.thumbnail,sx:{alignItems:"center",width:"100%",containerType:"inline-size",containerName:"video-thumbnail-headline",...a},titleProps:{color:"foreground__oncolor_light"},titleComponent:s,startAdornment:r&&(0,i.jsx)(l.Z,{id:"".concat(t,"/play_button"),"data-testid":"".concat(t,"/play_button"),variant:"quiet",component:"div","data-mui-color-scheme":"dark","aria-label":"Play Video",title:"Play",sx:{backgroundColor:f.vars.palette.opacity__60.mainChannel,fontSize:f.vars.dimensions.size__md,"@container video-thumbnail-headline (min-width: 300px)":{fontSize:f.vars.dimensions.size__xl}},children:(0,i.jsx)(h.o,{fontSize:"inherit",sx:{fill:"transparent",stroke:"white",strokeWidth:"2px",transition:f.transitions.create(["fill"],{duration:f.transitions.duration.short})}})})})})}},77810:function(e,t,n){"use strict";n.d(t,{M:function(){return i},R:function(){return a}});let i={scaleable:"media-component_scaleable"},a={title:"headline-title",thumbnail:"headline-thumbnail"}},73194:function(e,t,n){"use strict";n.d(t,{Y4:function(){return _.Y4},LZ:function(){return _.LZ},Ng:function(){return x.ArticleSlide},tp:function(){return h.t},ZD:function(){return _.ZD},Et:function(){return k.BettingCard},MV:function(){return C.BettingDisclaimer},QG:function(){return S.BettingHeader},l3:function(){return S.BettingHeaderTeam},fq:function(){return S.BettingHeaderTeamAlignment},Ll:function(){return E.BettingLink},RP:function(){return T.BettingOdds},Z8:function(){return P.BettingTeam},iL:function(){return eL.BoxScore},x7:function(){return j.BrContainer},Xc:function(){return O.BrGrid},lT:function(){return i.l},FB:function(){return _.FB},eK:function(){return eu.e},lr:function(){return u.Carousel},g$:function(){return s.ChannelHeader},Sr:function(){return q.ChannelNavBar},nQ:function(){return _.nQ},vd:function(){return f.CondensedCarousel},tG:function(){return f.CondensedCarouselLabel},uW:function(){return a.ContentCard},mm:function(){return r.ContentCardOverline},yW:function(){return b.ContentHeader},bZ:function(){return l.DatePickerHeader},Bd:function(){return d.DatePickerHeaderItem},zS:function(){return K.DefaultNavBar},MT:function(){return v.MT},Bx:function(){return ef},Lt:function(){return w.Dropdown},hP:function(){return w.DropdownItem},xF:function(){return c.xF},wI:function(){return $.EventListing},FM:function(){return c.FM},$_:function(){return A.Footer},SY:function(){return I.FooterLink},qo:function(){return M.FooterLinks},Gq:function(){return c.Gq},x2:function(){return ev.GameInfo},q4:function(){return ea.GameStart},SP:function(){return c.SP},VT:function(){return c.VT},s0:function(){return D.s},_w:function(){return N.Headlines},FZ:function(){return m.F},xj:function(){return c.xj},aB:function(){return v.aB},yH:function(){return en.Injuries},pW:function(){return _.pW},KK:function(){return eC.LeagueRankings},lm:function(){return J.Lineup},p:function(){return Y.LinkGroup},sm:function(){return o.s},eF:function(){return Q.LiveOdds},NI:function(){return ee.LiveOddsHeader},pU:function(){return c.pU},sK:function(){return c.sK},W_:function(){return W.Navigation},Xw:function(){return W.NavigationLogo},Oj:function(){return eT.Odds},to:function(){return ew.OddsActionLink},Jp:function(){return et.OddsAttribution},ko:function(){return eP.OddsOutcome},ON:function(){return eA.OddsPercentage},af:function(){return eI.OddsStatsThreeBody},eo:function(){return X.Outbrain},JA:function(){return _.JA},JM:function(){return B.PinnedContent},AU:function(){return eZ.PitchingInfo},F0:function(){return ej.PlayByPlay},vJ:function(){return _.vJ},no:function(){return ek.PlaySummary},cJ:function(){return v.cJ},K8:function(){return v.K8},vP:function(){return ei.PlayersOnIce},Z3:function(){return eB.Plays},_L:function(){return eS.PreviousMeetings},Qj:function(){return v.Qj},H4:function(){return _.H4},in:function(){return W.SHORT_NAVBAR},eD:function(){return G.ScoreSet},zp:function(){return eb.Scoreboard},mX:function(){return ex},sZ:function(){return _.sZ},ug:function(){return F.ScoresCard},iX:function(){return Z.ScoresCardFooter},up:function(){return z.ScoresCardLiveChip},Pq:function(){return z.ScoresCardLiveLabel},Ib:function(){return _.Ib},$0:function(){return ey.ScoringSummary},vV:function(){return eD.SeasonLeaders},aP:function(){return eE.SeasonPerformance},mB:function(){return y.Share},yh:function(){return eM.SlideButtonGroup},HE:function(){return R.SocialIcons},UO:function(){return eR.Standings},nk:function(){return eO.SubstitutionList},g1:function(){return eF.SummaryGroup},e1:function(){return W.TALL_NAVBAR},v0:function(){return ep},fK:function(){return eg},G4:function(){return p.TagBreadcrumbs},Tr:function(){return g.T},vf:function(){return c.vf},bA:function(){return c.bA},J9:function(){return H.TeamListing},Am:function(){return V.TeamName},Z:function(){return U.TeamScore},y$:function(){return eN.Venue},PZ:function(){return c.PZ},uC:function(){return L.VideoThumbnail},Ac:function(){return L.VideoThumbnailOverlay},_O:function(){return i._},Od:function(){return c.Od},ds:function(){return c.ds},UG:function(){return c.UG},iC:function(){return c.iC},$K:function(){return c.$K},FR:function(){return c.FR}});var i=n(30011),a=n(68287),r=n(87451),s=n(81964),o=n(82518),l=n(20707),d=n(42126),c=n(69246),u=n(6025),f=n(70980);n(57920);var _=n(93404),h=n(49338),m=n(31983),p=n(15342),g=n(80885),v=n(67754),b=n(11573),x=n(4339),y=n(32908),k=n(80530),C=n(51805),S=n(17571),E=n(58373),T=n(5801),P=n(72739),w=n(80751),A=n(75622),I=n(55696),M=n(42598),R=n(89089),D=n(94847),N=n(92581),L=n(8574),j=n(5112),O=n(61737),B=n(21765),F=n(33512),Z=n(45209),z=n(4860),H=n(32979),U=n(31679),V=n(26195),$=n(12637),G=n(45155),W=n(48831),K=n(97427),q=n(17470),Y=n(74686),X=n(66059);n(20260);var J=n(73384),Q=n(32521),ee=n(12126),et=n(11211);n(38476);var en=n(83347),ei=n(77372),ea=n(39104),er=n(90991),es=n(17613),eo=n(84336),el=n(12866),ed=n(18865),ec=n(96944),eu=n(2452);let ef=e=>{let{id:t,logoUrl:n,primaryDescription:i,secondaryDescription:a,startingPosition:r,currentPosition:s,firstDownPosition:o,direction:l,isRedzone:d,sx:c}=e,u=(0,ed.useStadiumTheme)();return(0,er.jsxs)(eu.u,{id:t,"data-testid":"drive-chart",sx:{maxWidth:"76.3rem",flexDirection:"column",gap:u.vars.dimensions.padding__md,justifyContent:"center",alignItems:"center",...c},children:[(0,er.jsxs)(es.Z,{sx:{height:"2.8rem",paddingBottom:u.vars.dimensions.padding__xs,alignItems:"flex-start",alignSelf:"stretch"},direction:"column",spacing:u.vars.dimensions.padding__sm,children:[(0,er.jsx)(eo.Z,{variant:"bp_small__headings__header__small",children:"CURRENT DRIVE"}),(0,er.jsx)(el.Z,{orientation:"horizontal",flexItem:!0})]}),(0,er.jsxs)(es.Z,{sx:{width:"100%",maxWidth:"37.3rem",padding:0,alignItems:"flex-start",alignSelf:"flex-start"},direction:"row",spacing:u.vars.dimensions.padding__md,children:[(0,er.jsx)(g.T,{id:"currentTeamLogo",src:n,size:"2.4rem",sx:{border:"2x solid ".concat(u.vars.palette.border__loud.mainChannel)},background:"transparent"}),(0,er.jsxs)(es.Z,{sx:{alignItems:"flex-start"},direction:"column",spacing:u.vars.dimensions.padding__xs,children:[(0,er.jsx)(eo.Z,{variant:"bp_small__headings__title__small",sx:{...d&&{color:"#FF0000"}},children:i}),(0,er.jsx)(eo.Z,{variant:"bp_small__ui__metadata__medium",children:a})]})]}),(0,er.jsx)(ec.Field,{sx:{width:{bp_01:"37.3rem",bp_04:"50.4rem"},height:{bp_01:"8.1rem",bp_04:"10.9rem"},flexShrink:{bp_04:0}},startingPosition:r,currentPosition:s,firstDownPosition:o,direction:l})]})};var e_=n(84668),eh=n(17813),em=n(47724);let ep=e=>{let{value:t,onChange:n,children:i,...a}=e,r=(0,ed.useStadiumTheme)();return(0,er.jsx)(e_.Z,{value:t,onChange:n,sx:{minHeight:e=>e.dimensions.size__3xl,"& .MuiTabs-indicator":{backgroundColor:r.vars.palette.foreground__primary.mainChannel,"&::after":{content:'""',borderLeft:"none"}},"& .MuiTabs-flexContainer":{gap:r.dimensions.padding__lg},"& ::after":{content:'""',borderLeft:"solid transparent"},"& .MuiTabs-scroller":{"&::after":{content:'""',borderLeft:"none"}}},...a,children:i})},eg=e=>{let{component:t="div",onClick:n,sx:i,...a}=e;return(0,er.jsx)(eh.Z,{component:t,onClick:n,sx:{textTransform:"none",padding:0,minWidth:"auto",justifyContent:"start",minHeight:e=>e.dimensions.size__3xl,color:e=>e.vars.palette.foreground__inactive.mainChannel,"&.Mui-selected":{color:e=>e.vars.palette.foreground__active.mainChannel,...em.c.bp_small__ui__label__large_strong},...em.c.bp_small__ui__label__large,...i},...a})};var ev=n(9027),eb=n(61148);let ex=e=>{let{id:t,network:n,playPeriod:i,playPeriodCondensed:a,clock:r,outs:s,inning:o,isTopInning:l=!1,variant:d,color:c,textSx:u,displayNetwork:f=!0}=e,h=(0,ed.useStadiumTheme)(),m=void 0!==o&&void 0!==s;return(0,er.jsxs)(es.Z,{gap:h.vars.dimensions.padding__xxs,display:"flex",flexDirection:"column",alignItems:"center",children:[m&&(0,er.jsxs)(es.Z,{height:"1.9rem",justifyContent:"flex-end",alignItems:"center",direction:"row",gap:h.dimensions.padding__sm,children:[(0,er.jsx)(_.pW,{phase:(0,er.jsx)(eo.Z,{variant:null!=d?d:"bp_small__ui__metadata__medium",color:null!=c?c:"foreground__primary.mainChannel",fontSize:"1.3rem",lineHeight:"1.3rem",fontWeight:"500",sx:u,children:o}),isTopInning:l,sx:{height:h.vars.dimensions.size__md,width:h.vars.dimensions.size__md,color:c}}),(0,er.jsx)(_.JA,{outs:s,stroke:c,fill:c})]}),!m&&(0,er.jsx)(eo.Z,{id:t,variant:null!=d?d:"bp_small__ui__metadata__medium",color:null!=c?c:"foreground__secondary.mainChannel",sx:u,children:[a||i,r].filter(e=>!!e).join(" | ")}),n&&f&&(0,er.jsxs)(eo.Z,{id:"id/scoreboard/status/timenetwork",variant:null!=d?d:"bp_small__ui__metadata__medium",color:null!=c?c:"foreground__secondary.mainChannel",sx:u,children:["on ",n]})]})};var ey=n(62471);n(25592);var ek=n(33658),eC=n(94948),eS=n(85182),eE=n(27623),eT=n(85572),eP=n(83492),ew=n(73600),eA=n(62669),eI=n(72846),eM=n(54035),eR=n(18618);n(15841);var eD=n(2845);n(69067);var eN=n(83427),eL=n(96871),ej=n(29514),eO=n(34132),eB=n(97548),eF=n(81708),eZ=n(28090);n(5248)},44593:function(e,t,n){"use strict";n.d(t,{Q6:function(){return l.useAnalyticsImpression},AS:function(){return h.useClipboardCopy},d9:function(){return f},tm:function(){return g.useIsMounted},nI:function(){return d.useNavigationHeight},fJ:function(){return o.usePromise},C7:function(){return m.useScrollDirection},j:function(){return p.useScrollTop},Sy:function(){return _.useShare},kB:function(){return s.useSlideNavigation},i_:function(){return r.useSrcSet},Z9:function(){return i.useTimestamp},j$:function(){return a.useTruncate}});var i=n(83982),a=n(92334),r=n(24191),s=n(56281),o=n(62802);n(23687);var l=n(47054),d=n(42145),c=n(72163),u=n(18240);let f=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,c.useMemo)(()=>(0,u.H)(e)?(0,u.f)(e,t):e,[e,t.width,t.format])};var _=n(51521),h=n(61126),m=n(39872),p=n(64627),g=n(38862);n(73698)},47054:function(e,t,n){"use strict";n.r(t),n.d(t,{useAnalyticsImpression:function(){return s}});var i=n(72163),a=n(34633);let r={threshold:.6,impressionDelay:750,once:!0};function s(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=(0,i.useRef)(new Map),o={...r,...n},l=(0,i.useCallback)((e,n)=>{let i=i=>{t(e.target,e),s.current.delete(e.target),i.once&&n.unobserve(e.target)},a=window.setTimeout(()=>i(o),o.impressionDelay);s.current.set(e.target,a)},[o.impressionDelay,o.once]),d=(e,t)=>{e.forEach(e=>{if(e.isIntersecting)l(e,t);else{let t=s.current.get(e.target);t&&(clearTimeout(t),s.current.delete(e.target))}})},c=(0,i.useRef)(null);return(0,i.useEffect)(()=>{c.current=new IntersectionObserver(d,{threshold:o.threshold})},[]),(0,a.K)(()=>((Array.isArray(e)?e:[e]).forEach(e=>{var t;(null==e?void 0:e.current)&&(null===(t=c.current)||void 0===t||t.observe(e.current))}),()=>{var e,t;null===(e=c.current)||void 0===e||e.disconnect(),null===(t=s.current)||void 0===t||t.clear()}),[o,e]),c.current}},61126:function(e,t,n){"use strict";n.r(t),n.d(t,{useClipboardCopy:function(){return r}});var i=n(72163),a=n(62802);function r(){let[e,t]=(0,i.useState)(),[n,r]=(0,i.useState)(!1),{data:s,error:o,loading:l}=(0,a.usePromise)(()=>e?navigator.clipboard.writeText(e):Promise.reject(Error("No text to copy")),[n]);return{data:s,error:o,loading:l,copy:e=>{t(e),r(e=>!e)}}}},23687:function(e,t,n){"use strict";n.r(t),n.d(t,{useElementWidth:function(){return a}});var i=n(72163);let a=e=>{let[t,n]=(0,i.useState)(0);return(0,i.useEffect)(()=>{if(!e)return;let t=new ResizeObserver(e=>{n(e[0].contentRect.width)});return t.observe(e),()=>{t.disconnect()}},[e]),t}},38862:function(e,t,n){"use strict";n.r(t),n.d(t,{useIsMounted:function(){return a}});var i=n(72163);function a(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{t(!0)},[]),e}},42145:function(e,t,n){"use strict";n.r(t),n.d(t,{useNavigationHeight:function(){return a}});var i=n(72163);let a=()=>{let[e,t]=(0,i.useState)(64);return(0,i.useEffect)(()=>{let e=getComputedStyle(document.body).getPropertyValue("--br-navbar_height");e&&t(10*parseFloat(e))}),e}},62802:function(e,t,n){"use strict";n.r(t),n.d(t,{usePromise:function(){return a}});var i=n(72163);let a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,[a,r]=(0,i.useState)(n),[s,o]=(0,i.useState)(),[l,d]=(0,i.useState)(!0);return(0,i.useEffect)(()=>{o(void 0),e&&e().then(r).catch(o).finally(()=>{d(!1)})},t),{data:a,error:s,loading:l}}},39872:function(e,t,n){"use strict";n.r(t),n.d(t,{useScrollDirection:function(){return a}});var i=n(72163);let a=e=>{let{downThreshold:t=0,upThreshold:n=1/0}=e,a=(0,i.useRef)(0),r=(0,i.useRef)("up");return(0,i.useEffect)(()=>()=>{a.current=0,r.current="up"},[]),{calculateDirection:e=>{let i=a.current;return e>i&&e>t?r.current="down":ewindow.removeEventListener("scroll",s),[]);function l(){r(e=>{var t;return{top:window.scrollY,direction:(null!==(t=null==e?void 0:e.top)&&void 0!==t?t:0)(window.addEventListener("scroll",s),l(),()=>{o()}),[s,o]),{removeListener:o,top:null!==(e=null==n?void 0:n.top)&&void 0!==e?e:0,direction:null!==(t=null==n?void 0:n.direction)&&void 0!==t?t:"down"}}},51521:function(e,t,n){"use strict";n.r(t),n.d(t,{useShare:function(){return r}});var i=n(72163),a=n(62802);function r(){let[e,t]=(0,i.useState)(),[n,r]=(0,i.useState)(!1),{data:s,error:o,loading:l}=(0,a.usePromise)(()=>e?navigator.share({url:e}):Promise.reject(Error("No url to share")),[n]);return{data:s,error:o,loading:l,share:e=>{t(e),r(e=>!e)}}}},56281:function(e,t,n){"use strict";n.r(t),n.d(t,{useSlideNavigation:function(){return a}});var i=n(72163);let a=(e,t)=>{let{startIndex:n=0,offset:a=0,beforeScroll:r,...s}=null!=t?t:{},[o,l]=(0,i.useState)({index:n,shouldScroll:!1});function d(t){let n=t.filter(e=>e.isIntersecting).sort((e,t)=>e.intersectionRatio-t.intersectionRatio).pop(),i=t.find(t=>{var n;return t.target===(null===(n=e.at(-1))||void 0===n?void 0:n.current)});if(!n&&i&&i.boundingClientRect.bottome.current===(null==n?void 0:n.target)),shouldScroll:!1})}(0,i.useEffect)(()=>{let t=new IntersectionObserver(d,{rootMargin:"-50% 0% -50% 0%"});for(let n of e)n.current&&t.observe(n.current);return o.shouldScroll&&c(o.index),()=>t.disconnect()},[e,o.index,o.shouldScroll]);let c=t=>{var n;let i=null===(n=null==e?void 0:e.at(t))||void 0===n?void 0:n.current;if(i){let e=i.getBoundingClientRect();r&&r(e.top+window.scrollY);let t=e.top+window.scrollY+("number"==typeof a?a:a());window.scroll({top:t,...s})}};return{scrollToNext:()=>{l(t=>({index:Math.min(Math.max(t.index,0)+1,e.length-1),shouldScroll:!0}))},scrollToPrevious:()=>{l(e=>({index:Math.max(e.index-1,0),shouldScroll:!0}))},scrollToSlide:c,currentSlide:o.index}}},24191:function(e,t,n){"use strict";n.r(t),n.d(t,{useSrcSet:function(){return r}});var i=n(72163),a=n(57641);function r(e){let t=(0,a.Z)();return(0,i.useMemo)(()=>{let n=t.breakpoints.keys.map(n=>{let i=e[n];return(null==i?void 0:i.width)&&(null==i?void 0:i.src)?{srcSetEntry:"".concat(i.src," ").concat(i.width,"w"),sizesEntry:"".concat(t.breakpoints.up(n)," ").concat(i.width,"px")}:null}).filter(Boolean);return{srcSet:n.map(e=>e.srcSetEntry).join(", "),sizes:n.reverse().map(e=>e.sizesEntry).join(", ")}},[t.breakpoints,...t.breakpoints.keys.flatMap(t=>{var n,i;return[null===(n=e[t])||void 0===n?void 0:n.src,null===(i=e[t])||void 0===i?void 0:i.width]})])}},73698:function(e,t,n){"use strict";n.r(t);var i=n(72163);t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#000000",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#FFFFFF",[a,r]=(0,i.useState)(t);return(0,i.useEffect)(()=>{if(!e||"string"!=typeof e){r(t);return}let i=e.replace(/^#/,"");if(!/^[0-9A-Fa-f]{3,6}$/.test(i)){r(t);return}let a=3===i.length?i.replace(/(.)/g,"$1$1"):i,s=parseInt(a.slice(0,2),16)/255;r(.2126*s+parseInt(a.slice(2,4),16)/255*.7152+parseInt(a.slice(4,6),16)/255*.0722>.5?t:n)},[e,t,n]),a}},83982:function(e,t,n){"use strict";n.r(t),n.d(t,{useTimestamp:function(){return s}});var i=n(72163),a=n(62297),r=n.n(a);let s=e=>{let[t,n]=(0,i.useState)(()=>a(e));function a(e){if(!e)return"";let t=r()(),n=t.diff(e,"seconds");if(n<60)return"".concat(Math.max(0,n),"s");let i=t.diff(e,"minutes");if(i<60)return"".concat(i,"m");let a=t.diff(e,"hours");if(a<24)return"".concat(a,"h");let s=t.diff(e,"days");return s<7?"".concat(s,"d"):s<30?"".concat(Math.floor(s/7),"w"):12>t.diff(e,"months")?"".concat(Math.round(s/30),"mo"):"".concat(t.diff(e,"years"),"y")}return(0,i.useEffect)(()=>{n(a(e))},[e]),t}},92334:function(e,t,n){"use strict";n.r(t),n.d(t,{useTruncate:function(){return a}});var i=n(72163);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,[n,a]=(0,i.useState)(()=>r(e,t));function r(e,t){return e.length>t?"".concat(e.slice(0,t),"..."):e}return(0,i.useEffect)(()=>{a(r(e,t))},[e,t]),n}},55685:function(e,t,n){"use strict";n.r(t),n.d(t,{Content3Up:function(){return x},Content5Up:function(){return y},ContentPage:function(){return p},Hero:function(){return b}});var i,a,r,s,o,l,d,c,u=n(90991),f=n(60901),_=n(61737),h=n(18865);function m(e,t){return Array(t).fill(e).join(" ")}(i=o||(o={})).Main="m",i.Sidebar="s";let p=e=>{let{children:t,sx:n,id:i,alignment:a="left"}=e,r=(0,h.useStadiumTheme)(),s="left"===a;return(0,u.jsx)(_.BrGrid,{id:i,gridTemplateAreas:{bp_01:'\n "'.concat(m(o.Main,4),'"\n "').concat(m(o.Sidebar,4),'"\n '),bp_04:s?'\n "'.concat(m(o.Main,5)," ").concat(m(o.Sidebar,3),'"\n '):'\n "'.concat(m(o.Sidebar,3)," ").concat(m(o.Main,5),'"\n '),bp_05:s?'\n "'.concat(m(o.Main,14)," ").concat(m(o.Sidebar,6),'"\n '):'\n "'.concat(m(o.Sidebar,6)," ").concat(m(o.Main,14),'"\n ')},sx:{gridTemplateColumns:{bp_03:"repeat(4, 1fr)",bp_04:"repeat(8, 1fr)",bp_05:"repeat(20, 1fr)"},padding:{bp_04:r.vars.dimensions.bp_02__layout_grid__margin},pt:{bp_01:"0rem",bp_04:r.vars.dimensions.bp_02__layout_grid__margin},...n},children:t})};p.Main=e=>{let{children:t,sx:n={}}=e;return(0,u.jsx)(f.Z,{gridArea:o.Main,display:"grid",gridTemplateColumns:"subgrid",sx:n,children:t})},p.Sidebar=e=>{let{children:t,sx:n={},top:i=0}=e;return(0,u.jsx)(f.Z,{gridArea:o.Sidebar,sx:n,children:(0,u.jsx)(f.Z,{position:"sticky",top:i,children:t})})};var g=n(72163),v=n(73194);(a=l||(l={})).Primary="p",a.Secondary1="s1",a.Secondary2="s2",a.Tertiary="t";let b=e=>{let{children:t,id:n,alignment:i,sx:a}=e,r=(0,h.useStadiumTheme)();return(0,u.jsx)(v.Xc,{id:n,sx:{[r.breakpoints.up("bp_01")]:{gridGap:"".concat(r.dimensions.padding__lg," ").concat(r.dimensions.padding__md)},[r.breakpoints.up("bp_05")]:{gridGap:"".concat(r.dimensions.padding__2xl," ").concat(r.dimensions.bp_05__layout_grid__gutter),gridTemplateRows:"auto 1fr"},...a},gridTemplateAreas:{mobile_grid:'\n "'.concat(m(l.Primary,4),'"\n "').concat(m(l.Tertiary,4),'"\n "').concat(m(l.Secondary1,4),'"\n "').concat(m(l.Secondary2,4),'"\n '),tablet_grid:'\n "'.concat(m(l.Primary,8),'"\n "').concat(m(l.Secondary1,4)," ").concat(m(l.Tertiary,4),'"\n "').concat(m(l.Secondary2,4)," ").concat(m(l.Tertiary,4),'"\n '),desktop_grid:"left"===i?'\n "'.concat(m(l.Primary,11)," ").concat(m(l.Secondary1,4)," ").concat(m(l.Tertiary,5),'"\n "').concat(m(l.Primary,11)," ").concat(m(l.Secondary2,4)," ").concat(m(l.Tertiary,5),'"\n '):'\n "'.concat(m(l.Secondary1,4)," ").concat(m(l.Primary,11)," ").concat(m(l.Tertiary,5),'"\n "').concat(m(l.Secondary2,4)," ").concat(m(l.Primary,11)," ").concat(m(l.Tertiary,5),'"\n ')},children:t})};b.Primary=e=>{let{children:t,sx:n}=e;return(0,u.jsx)(f.Z,{gridArea:l.Primary,sx:n,children:t})},b.Secondary=e=>{let{children:t}=e;return(0,u.jsx)(u.Fragment,{children:g.Children.map(t,(e,t)=>(0,u.jsx)(f.Z,{gridArea:"s".concat(t+1),children:e}))})},b.Tertiary=e=>{let{children:t}=e;return(0,u.jsx)(f.Z,{gridArea:l.Tertiary,children:t})},(r=d||(d={})).Title="t",r.Primary="p",r.Secondary1="s1",r.Secondary2="s2";let x=e=>{let{children:t,id:n,sx:i,alignment:a="left"}=e,r=(0,h.useStadiumTheme)();return(0,u.jsx)(_.BrGrid,{id:n,sx:{[r.breakpoints.up("bp_01")]:{gridGap:"".concat(r.dimensions.padding__lg," ").concat(r.dimensions.padding__md)},[r.breakpoints.up("bp_03")]:{gridGap:"".concat(r.dimensions.padding__2xl," ").concat(r.dimensions.padding__md)},[r.breakpoints.up("bp_05")]:{gridGap:"".concat(r.dimensions.padding__sm," ").concat(r.dimensions.bp_05__layout_grid__gutter),gridTemplateRows:"auto auto 1fr"},...i},gridTemplateAreas:{mobile_grid:'\n "'.concat(m(d.Title,4),'"\n "').concat(m(d.Primary,4),'"\n "').concat(m(d.Secondary1,4),'"\n "').concat(m(d.Secondary2,4),'"\n '),tablet_grid:'\n "'.concat(m(d.Title,8),'"\n "').concat(m(d.Primary,8),'"\n "').concat(m(d.Secondary1,4)," ").concat(m(d.Secondary2,4),'"\n '),desktop_grid:"left"===a?'\n "'.concat(m(d.Title,20),'"\n "').concat(m(d.Primary,14)," ").concat(m(d.Secondary1,6),'"\n "').concat(m(d.Primary,14)," ").concat(m(d.Secondary2,6),'"\n '):'\n "'.concat(m(d.Title,20),'"\n "').concat(m(d.Secondary1,6)," ").concat(m(d.Primary,14),'"\n "').concat(m(d.Secondary2,6)," ").concat(m(d.Primary,14),'"\n ')},children:t})};x.Title=e=>{let{children:t}=e;return(0,u.jsx)(f.Z,{gridArea:d.Title,children:t})},x.Primary=e=>{let{children:t,sx:n}=e;return(0,u.jsx)(f.Z,{gridArea:d.Primary,sx:n,children:t})},x.Secondary=e=>{let{children:t}=e,n=(0,h.useStadiumTheme)();return(0,u.jsx)(u.Fragment,{children:g.Children.map(t,(e,t)=>(0,u.jsx)(f.Z,{gridArea:"s".concat(t+1),pl:{bp_01:n.vars.dimensions.bp_01__layout_grid__margin,bp_02:n.vars.dimensions.bp_02__layout_grid__margin,bp_03:0===t?n.vars.dimensions.bp_03__layout_grid__margin:"0px",bp_04:0===t?n.vars.dimensions.bp_04__layout_grid__margin:"0px",bp_05:"0px"},pr:{bp_01:n.vars.dimensions.bp_01__layout_grid__margin,bp_02:n.vars.dimensions.bp_02__layout_grid__margin,bp_03:1===t?n.vars.dimensions.bp_03__layout_grid__margin:"0px",bp_04:1===t?n.vars.dimensions.bp_04__layout_grid__margin:"0px",bp_05:"0px"},children:e}))})},(s=c||(c={})).Title="t",s.Primary="p",s.Secondary1="s1",s.Secondary2="s2",s.Secondary3="s3",s.Secondary4="s4";let y=e=>{let{children:t,id:n,sx:i,alignment:a="left"}=e,r=(0,h.useStadiumTheme)();return(0,u.jsx)(_.BrGrid,{id:n,sx:{[r.breakpoints.up("bp_01")]:{gridGap:"".concat(r.dimensions.padding__lg," ").concat(r.dimensions.padding__md)},[r.breakpoints.up("bp_03")]:{gridGap:"".concat(r.dimensions.padding__2xl," ").concat(r.dimensions.padding__md)},[r.breakpoints.up("bp_05")]:{gridGap:"".concat(r.dimensions.padding__lg," ").concat(r.dimensions.bp_05__layout_grid__gutter),gridTemplateRows:"auto auto 1fr"},...i},gridTemplateAreas:{mobile_grid:'\n "'.concat(m(c.Title,4),'"\n "').concat(m(c.Primary,4),'"\n "').concat(m(c.Secondary1,4),'"\n "').concat(m(c.Secondary2,4),'"\n "').concat(m(c.Secondary3,4),'"\n "').concat(m(c.Secondary4,4),'"\n '),tablet_grid:'\n "'.concat(m(c.Title,8),'"\n "').concat(m(c.Primary,8),'"\n "').concat(m(c.Secondary1,4)," ").concat(m(c.Secondary2,4),'"\n "').concat(m(c.Secondary3,4)," ").concat(m(c.Secondary4,4),'"\n '),desktop_grid:"left"===a?'\n "'.concat(m(c.Title,20),'"\n "').concat(m(c.Primary,12)," ").concat(m(c.Secondary1,4)," ").concat(m(c.Secondary2,4),'"\n "').concat(m(c.Primary,12)," ").concat(m(c.Secondary3,4)," ").concat(m(c.Secondary4,4),'"\n '):'\n "'.concat(m(c.Title,20),'"\n "').concat(m(c.Secondary1,4)," ").concat(m(c.Secondary2,4)," ").concat(m(c.Primary,12),'"\n "').concat(m(c.Secondary3,4)," ").concat(m(c.Secondary4,4)," ").concat(m(c.Primary,12),'"\n ')},children:t})};y.Title=e=>{let{children:t}=e;return(0,u.jsx)(f.Z,{gridArea:c.Title,children:t})},y.Primary=e=>{let{children:t,sx:n}=e;return(0,u.jsx)(f.Z,{gridArea:c.Primary,sx:n,children:t})},y.Secondary=e=>{let{children:t}=e,n=(0,h.useStadiumTheme)();return(0,u.jsx)(u.Fragment,{children:g.Children.map(t,(e,t)=>(0,u.jsx)(f.Z,{gridArea:"s".concat(t+1),pl:{bp_01:n.vars.dimensions.bp_01__layout_grid__margin,bp_02:n.vars.dimensions.bp_02__layout_grid__margin,bp_03:0===t||2===t?n.vars.dimensions.bp_03__layout_grid__margin:"0px",bp_04:0===t||2===t?n.vars.dimensions.bp_04__layout_grid__margin:"0px",bp_05:"0px"},pr:{bp_01:n.vars.dimensions.bp_01__layout_grid__margin,bp_02:n.vars.dimensions.bp_02__layout_grid__margin,bp_03:1===t||3===t?n.vars.dimensions.bp_03__layout_grid__margin:"0px",bp_04:1===t||3===t?n.vars.dimensions.bp_04__layout_grid__margin:"0px",bp_05:"0px"},children:e}))})}},18865:function(e,t,n){"use strict";n.r(t),n.d(t,{globalStyles:function(){return h},stadiumTheme:function(){return f},useStadiumTheme:function(){return _}});var i=n(15553),a=n(8354),r=n(51011),s=n(46734);n(49742);let o=e=>({backgroundColor:e.vars.palette.action__surface__loud__default.mainChannel,boxShadow:"inset 0 0 0 1px ".concat(e.vars.palette.action__border__loud__default.mainChannel),color:e.vars.palette.foreground__oncolor_light.mainChannel,"&:hover":{backgroundColor:e.vars.palette.action__surface__loud__hovered.mainChannel,boxShadow:"inset 0 0 0 1px ".concat(e.vars.palette.action__border__loud__hovered.mainChannel)},"&:active":{backgroundColor:e.vars.palette.action__surface__loud__pressed.mainChannel,boxShadow:"inset 0 0 0 1px ".concat(e.vars.palette.action__border__loud__pressed.mainChannel)},"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(e.vars.palette.action__border__loud__focused.mainChannel),backgroundColor:e.vars.palette.action__surface__loud__focused.mainChannel},["&.".concat(i.Z.disabled,", &:disabled")]:{boxShadow:"inset 0 0 0 1px ".concat(e.vars.palette.action__border__loud__disabled.mainChannel),color:e.vars.palette.foreground__disabled.mainChannel,backgroundColor:e.vars.palette.action__surface__loud__disabled.mainChannel}}),l=e=>({backgroundColor:e.vars.palette.action__surface__neutral__default.mainChannel,color:e.vars.palette.foreground__inverse.mainChannel,"&:hover":{backgroundColor:e.vars.palette.action__surface__neutral__hovered.mainChannel},"&:active":{backgroundColor:e.vars.palette.action__surface__neutral__pressed.mainChannel},"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(e.vars.palette.action__border__neutral__focused.mainChannel),backgroundColor:e.vars.palette.action__surface__neutral__focused.mainChannel},["&.".concat(i.Z.disabled,", &:disabled")]:{color:e.vars.palette.foreground__disabled.mainChannel,backgroundColor:e.vars.palette.action__surface__neutral__disabled.mainChannel}}),d=e=>({backgroundColor:e.vars.palette.action__surface__quiet__default.mainChannel,color:e.vars.palette.foreground__primary.mainChannel,"&:hover":{backgroundColor:e.vars.palette.action__surface__quiet__hovered.mainChannel},"&:active":{backgroundColor:e.vars.palette.action__surface__quiet__pressed.mainChannel},"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(e.vars.palette.action__border__quiet__focused.mainChannel),backgroundColor:e.vars.palette.action__surface__quiet__focused.mainChannel},["&.".concat(i.Z.disabled,", &:disabled")]:{color:e.vars.palette.foreground__disabled.mainChannel,backgroundColor:e.vars.palette.action__surface__quiet__disabled.mainChannel}}),c=e=>({backgroundColor:e.vars.palette.action__surface__outline__default.mainChannel,boxShadow:"inset 0 0 0 2px ".concat(e.vars.palette.action__border__outline__default.mainChannel),color:e.vars.palette.foreground__primary.mainChannel,["&.".concat(i.Z.sizeSmall)]:{boxShadow:"inset 0 0 0 1px ".concat(e.vars.palette.action__border__outline__default.mainChannel)},"&:hover":{boxShadow:"inset 0 0 0 2px ".concat(e.vars.palette.action__border__outline__hovered.mainChannel),backgroundColor:e.vars.palette.action__surface__outline__hovered.mainChannel,["&.".concat(i.Z.sizeSmall)]:{boxShadow:"inset 0 0 0 1px ".concat(e.vars.palette.action__border__outline__hovered.mainChannel)}},"&:active":{boxShadow:"inset 0 0 0 2px ".concat(e.vars.palette.action__border__outline__pressed.mainChannel),["&.".concat(i.Z.sizeSmall)]:{boxShadow:"inset 0 0 0 1px ".concat(e.vars.palette.action__border__outline__pressed.mainChannel)}},"&:focus":{boxShadow:"inset 0 0 0 3px ".concat(e.vars.palette.action__border__outline__focused.mainChannel),backgroundColor:e.vars.palette.action__surface__outline__focused.mainChannel,["&.".concat(i.Z.sizeSmall)]:{boxShadow:"inset 0 0 0 1px ".concat(e.vars.palette.action__border__outline__focused.mainChannel)}},["&.".concat(i.Z.disabled,", &:disabled")]:{boxShadow:"inset 0 0 0 2px ".concat(e.vars.palette.action__border__outline__disabled.mainChannel),color:e.vars.palette.foreground__disabled.mainChannel,backgroundColor:e.vars.palette.action__surface__outline__disabled.mainChannel,["&.".concat(i.Z.sizeSmall)]:{boxShadow:"inset 0 0 0 1px ".concat(e.vars.palette.action__border__outline__disabled.mainChannel)}}}),u=e=>({backgroundColor:e.vars.palette.action__surface__ghost__default.mainChannel,color:e.vars.palette.foreground__primary.mainChannel,"&:hover":{backgroundColor:e.vars.palette.action__surface__ghost__hovered.mainChannel},"&:active":{backgroundColor:e.vars.palette.action__surface__ghost__pressed.mainChannel},"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(e.vars.palette.action__border__ghost__focused.mainChannel),backgroundColor:e.vars.palette.action__surface__ghost__focused.mainChannel},["&.".concat(i.Z.disabled,", &:disabled")]:{color:e.vars.palette.foreground__disabled,backgroundColor:e.vars.palette.action__surface__ghost__disabled.mainChannel}}),f=(0,r.Z)({cssVarPrefix:"br-",colorSchemes:{dark:{palette:s._4},light:{palette:s.R2}},breakpoints:{values:s.AV},dimensions:s.MB,typography:s.cp,transitions:{duration:{shorter:120,short:250,standard:300}},mixins:{noScroll:{scrollbarWidth:"none",msOverflowStyle:"none","&::-webkit-scrollbar":{display:"none"}},scroll:{"&::-webkit-scrollbar":{width:"0.2rem",height:"8.7rem"},"&::-webkit-scrollbar-thumb":{backgroundColor:"var(--br--palette-foreground__primary-mainChannel)",borderRadius:"var(--br--dimensions-radius__xxs)",border:"0.1rem solid transparent"},"&::-webkit-scrollbar-track-piece:start":{background:"transparent",marginTop:"1.5rem"},"&::-webkit-scrollbar-track-piece:end":{background:"transparent",marginBottom:"1.5rem"},"&::-webkit-scrollbar-corner":{background:"inherit"},"@supports (-moz-appearance:none)":{scrollbarColor:"var(--br--palette-foreground__primary-mainChannel) transparent",scrollbarWidth:"thin"}},blur:{backdropFilter:"blur(calc(var(--br--dimensions-size__lg) / 2))"},contentMaxWidth:"144rem",focusVisible:{outlineWidth:"0.1rem",outlineStyle:"solid",outlineColor:"var(--br--palette-primary-mainChannel)",outlineOffset:"-0.85rem",borderRadius:0},carouselFlex:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"var(--br--dimensions-padding__md)",n=Math.round(100/e);return"0 0 calc(".concat(e,"% - ((").concat(t," * ").concat(n-1,") / ").concat(n,"))")},gradient__poll:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"90deg";return"linear-gradient(".concat(e,", var(--br--palette-gradient__poll__gradient_start-mainChannel) 1.57%, var(--br--palette-gradient__poll__gradient_end-mainChannel) 100%)")},gradient__default:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"90deg";return"linear-gradient(".concat(e,", var(--br--palette-gradient__default__gradient_start-mainChannel) 0.15%, var(--br--palette-gradient__default__gradient_middle-mainChannel) 50.85%, var(--br--palette-gradient__default__gradient_end-mainChannel) 101.55%)")},gradient__darker:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"90deg";return"linear-gradient(".concat(e,", #000 0%, rgba(0, 0, 0, 0.80) 50.23%, rgba(0, 0, 0, 0.00) 100%)")},gradient__lighter:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"90deg";return"linear-gradient(".concat(e,", #fff 0%, rgba(255, 255, 255, 0.80) 50.23%, rgba(255, 255, 255, 0.00) 100%)")},gradient__overlay:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"90deg";return"linear-gradient(".concat(e,", rgba(0, 0, 0, 0.80) 0.15%, rgba(0, 0, 0, 0.40) 50.85%, rgba(0, 0, 0, 0.00) 100%)")},gradient__wemo__default:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"180deg";return"linear-gradient(".concat(e,", rgba(0, 0, 102, 0.05) 43.75%, rgba(0, 51, 255, 0.15) 95.9%), #060212")}},components:{MuiAppBar:{styleOverrides:{root:e=>{let{theme:t}=e;return{boxShadow:"none",position:"fixed",background:t.vars.palette.surface__alwaysdark.mainChannel}}}},MuiTypography:{defaultProps:{variant:"bp_small__body__body__large"}},MuiCard:{defaultProps:{elevation:0},styleOverrides:{root:e=>{let{theme:t}=e;return{background:t.vars.palette.surface__level_2.mainChannel,borderRadius:t.vars.dimensions.large__cards__radius,display:"flex",flexDirection:"column",gap:t.vars.dimensions.large__cards__gap,padding:t.vars.dimensions.large__cards__top_bottom}}}},MuiCardHeader:{styleOverrides:{root:{padding:0},avatar:e=>{let{theme:t}=e;return{marginRight:t.vars.dimensions.padding__xs}}}},MuiCardContent:{styleOverrides:{root:{padding:0,"&:last-child":{paddingBottom:0}}}},MuiCardActions:{styleOverrides:{root:e=>{let{theme:t}=e;return{gap:t.vars.dimensions.padding__md,padding:0}}}},MuiAvatar:{defaultProps:{variant:"rounded"},styleOverrides:{root:e=>{let{theme:t}=e;return{background:t.vars.palette.surface__level_4.mainChannel}}}},MuiListItem:{styleOverrides:{root:{padding:0,alignItems:"flex-start"}}},MuiListItemAvatar:{styleOverrides:{root:e=>{let{theme:t}=e;return{marginRight:t.vars.dimensions.size__sm}}}},MuiListItemText:{styleOverrides:{root:{margin:0}}},MuiFormControl:{styleOverrides:{root:e=>{let{theme:t}=e;return{gap:t.vars.dimensions.padding__xs}}}},MuiFormLabel:{styleOverrides:{root:e=>{let{theme:t}=e;return{...s.cp.bp_small__ui__label__medium_strong,color:t.vars.palette.foreground__secondary.mainChannel,"&.Mui-focused, &.Mui-error":{color:t.vars.palette.foreground__secondary.mainChannel}}}}},MuiInputBase:{styleOverrides:{root:e=>{let{theme:t}=e;return{...s.cp.bp_small__body__body__large,color:t.vars.palette.foreground__primary.mainChannel,backgroundColor:t.vars.palette.element__input.mainChannel,borderRadius:t.vars.dimensions.radius__xs,borderWidth:t.vars.dimensions.border__sm,borderStyle:"solid",borderColor:"transparent","&.Mui-focused":{borderColor:t.vars.palette.border__loud.mainChannel},"&.Mui-error":{borderColor:t.vars.palette.foreground__accent__error.mainChannel},".MuiFormLabel-colorSuccess ~ &":{borderColor:t.vars.palette.foreground__accent__success.mainChannel}}},input:{margin:0},inputAdornedStart:e=>{let{theme:t}=e;return{borderLeft:"2px solid ".concat(t.vars.palette.border__loud.mainChannel),paddingLeft:t.vars.dimensions.padding__sm,marginLeft:t.vars.dimensions.padding__sm}}}},MuiInput:{styleOverrides:{root:e=>{let{theme:t}=e;return{marginTop:"0 !important",padding:"".concat(t.vars.dimensions.padding__sm," ").concat(t.vars.dimensions.padding__lg),"&:after, &:before":{content:"none"}}}}},MuiFormHelperText:{styleOverrides:{root:e=>{let{theme:t}=e;return{...s.cp.bp_small__body__body__small,margin:"0",color:t.vars.palette.foreground__tertiary.mainChannel,"&.Mui-focused":{color:t.vars.palette.foreground__tertiary.mainChannel},"&.Mui-error":{color:t.vars.palette.foreground__accent__error.mainChannel},".MuiFormLabel-colorSuccess ~ &":{color:t.vars.palette.foreground__accent__success.mainChannel}}}}},MuiSvgIcon:{defaultProps:{color:"inherit"},styleOverrides:{fontSizeSmall:e=>{let{theme:t}=e;return{fontSize:t.vars.dimensions.size__md}},fontSizeLarge:e=>{let{theme:t}=e;return{fontSize:t.vars.dimensions.size__4xl}}}},MuiChip:{variants:[{props:{size:"thin"},style:e=>{let{theme:t}=e;return{padding:"".concat(t.vars.dimensions.padding__xxxs," ").concat(t.vars.dimensions.padding__xs),height:"auto"}}}],styleOverrides:{sizeSmall:e=>{let{theme:t}=e;return{minWidth:"5.6rem",borderRadius:t.vars.dimensions.small__badges__radius,padding:"".concat(t.vars.dimensions.small__badges__left_right," ").concat(t.vars.dimensions.small__badges__left_right)}},sizeMedium:e=>{let{theme:t}=e;return{borderRadius:t.vars.dimensions.medium__badges__radius,padding:"".concat(t.vars.dimensions.medium__badges__top_bottom," ").concat(t.vars.dimensions.medium__badges__left_right)}},label:e=>{let{theme:t}=e;return{fontFamily:"Proxima Nova",color:t.vars.palette.foreground__oncolor_light.mainChannel,lineHeight:1}}}},MuiBreadcrumbs:{styleOverrides:{separator:e=>{let{theme:t}=e;return{margin:"0 ".concat(t.vars.dimensions.padding__xxs)}}}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:e=>{var t;let{theme:n,ownerState:i}=e;return{borderRadius:n.vars.dimensions.large__action__radius,boxShadow:"0px ".concat(n.vars.dimensions.size__xxxs," ").concat(n.vars.dimensions.size__xxs," 0px rgba(0,0,0,0.25)"),".Mui-disabled":{backgroundColor:"loud"!==i.variant&&"".concat(null===(t=n.vars.palette["action__surface__".concat(i.variant,"__default")])||void 0===t?void 0:t.mainChannel," !important")}}},firstButton:e=>{let{theme:t}=e;return{border:"none",borderTopLeftRadius:t.vars.dimensions.large__action__radius,borderBottomLeftRadius:t.vars.dimensions.large__action__radius}},grouped:e=>{let{theme:t}=e;return{boxShadow:"none",borderLeft:"1px solid ".concat(t.vars.palette.border__default.mainChannel),minWidth:"100px"}},lastButton:e=>{let{theme:t}=e;return{borderTopRightRadius:t.vars.dimensions.large__action__radius,borderBottomRightRadius:t.vars.dimensions.large__action__radius}}}},MuiButton:{defaultProps:{variant:"loud",disableRipple:!0},styleOverrides:{root:{boxSizing:"border-box",textTransform:"none"},sizeLarge:e=>{let{theme:t}=e;return{...s.cp.bp_small__ui__label__large,borderRadius:t.vars.dimensions.large__action__radius,padding:"".concat(t.vars.dimensions.large__action__top_bottom," ").concat(t.vars.dimensions.large__action__left_right)}},sizeMedium:e=>{let{theme:t}=e;return{...s.cp.bp_small__ui__label__large,borderRadius:t.vars.dimensions.medium__action__radius,padding:"".concat(t.vars.dimensions.medium__action__top_bottom," ").concat(t.vars.dimensions.medium__action__left_right)}},sizeSmall:e=>{let{theme:t}=e;return{...s.cp.bp_small__ui__label__medium,borderRadius:t.vars.dimensions.small__action__radius,padding:"".concat(t.vars.dimensions.small__action__top_bottom," ").concat(t.vars.dimensions.small__action__left_right)}}},variants:[{props:{variant:"loud"},style:e=>{let{theme:t}=e;return o(t)}},{props:{variant:"neutral"},style:e=>{let{theme:t}=e;return l(t)}},{props:{variant:"quiet"},style:e=>{let{theme:t}=e;return d(t)}},{props:{variant:"outline"},style:e=>{let{theme:t}=e;return c(t)}},{props:{variant:"ghost"},style:e=>{let{theme:t}=e;return u(t)}}]},MuiIconButton:{defaultProps:{disableRipple:!0},styleOverrides:{sizeLarge:e=>{let{theme:t}=e;return{fontSize:t.vars.dimensions.size__xl,borderRadius:t.vars.dimensions.large__action__radius,padding:t.vars.dimensions.large__action__square}},sizeMedium:e=>{let{theme:t}=e;return{fontSize:t.vars.dimensions.size__lg,borderRadius:t.vars.dimensions.medium__action__radius,padding:t.vars.dimensions.medium__action__square}},sizeSmall:e=>{let{theme:t}=e;return{fontSize:t.vars.dimensions.size__md,borderRadius:t.vars.dimensions.small__action__radius,padding:t.vars.dimensions.small__action__square}}},variants:[{props:{variant:"loud"},style:e=>{let{theme:t}=e;return o(t)}},{props:{variant:"neutral"},style:e=>{let{theme:t}=e;return l(t)}},{props:{variant:"quiet"},style:e=>{let{theme:t}=e;return d(t)}},{props:{variant:"outline"},style:e=>{let{theme:t}=e;return c(t)}},{props:{variant:"ghost"},style:e=>{let{theme:t}=e;return u(t)}}]},MuiCardActionArea:{defaultProps:{disableRipple:!0},styleOverrides:{root:{borderRadius:0},focusHighlight:{display:"none"}}},MuiTab:{defaultProps:{disableRipple:!0}},MuiTabs:{styleOverrides:{indicator:e=>{let{theme:t}=e;return{borderTopLeftRadius:"4px",borderTopRightRadius:"4px"}}}},MuiToolbar:{styleOverrides:{root:e=>{let{theme:t}=e;return{padding:"0 ".concat(t.vars.dimensions.size__lg),minHeight:"6.4rem"}}}},MuiSkeleton:{variants:[{props:{variant:"loading"},style:e=>{let{theme:t}=e;return{borderRadius:t.vars.dimensions.radius__md,background:"linear-gradient(90deg, ".concat(t.vars.palette.gradient__skeleton_loading__gradient_start.lightChannel," 0%, ").concat(t.vars.palette.gradient__skeleton_loading__gradient_end.lightChannel," 100%)"),opacity:0,"@keyframes fade":{"0%":{bottom:"-25px",opacity:0},"50%":{bottom:"0px",opacity:1},"100%":{bottom:"0px",opacity:0}},animation:"fade 2.5s ease-in-out infinite",transition:t.transitions.create(["background"],{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.standard})}}}]}}}),_=()=>(0,a.Z)();n(38245),n(57572);let h=e=>({html:{fontSize:"62.5%",fontFamily:"Proxima Nova, sans-serif"},body:{"--br-navbar_height":e.vars.dimensions.size__4xl,[e.breakpoints.up("bp_05")]:{"--br-navbar_height":e.vars.dimensions.size__5xl}},a:{color:"inherit",textDecoration:"none"},"#onetrust-consent-sdk":{fontFamily:"sans-serif"},button:{all:"unset",cursor:"pointer",textAlign:"center",boxSizing:"border-box"}})},71022:function(e,t,n){"use strict";var i,a,r;n.d(t,{a:function(){return a}}),(r=i||(i={})).Scheduled="scheduled",r.Live="inprogress",r.Closed="closed",r.Complete="complete",r.Cancelled="cancelled",(a||(a={})).Live="Live"},18240:function(e,t,n){"use strict";n.d(t,{H:function(){return r},f:function(){return s}});let i={width:"w"},a=["cdn.bleacherreport.com","cdn.bleacherreport.net","gsp-image-cdn.nonprod.wmsports.io","gsp-image-cdn.wmsports.io","i.bleacherreport.com","img.bleacherreport.net","legacymedia.sportsplatform.io","media-dev.nonprod.sportsplatform.io","media-int.nonprod.sportsplatform.io","media-stage.nonprod.sportsplatform.io","media.bleacherreport.com","media.sportsplatform.io"],r=e=>a.some(t=>null==e?void 0:e.includes(t)),s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{if(!r(e))return e;let n=new URL(e),a=new URL(n.pathname,n.origin);return Object.entries(t).forEach(e=>{let[t,n]=e;if(void 0!==n&&t in i){let e=i[t];a.searchParams.set(e,n.toString())}}),a.toString()}catch(t){return e}}},26095:function(e,t,n){"use strict";function i(){return{isTouch:globalThis.window?window.matchMedia("(hover: none), (pointer: coarse)").matches:void 0,isIPhoneOrIPad:globalThis.window?/iPhone|iPad|iPod|iPhone Simulator|iPad Simulator|iPod simulator/.test(window.navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document:void 0,isSafari:globalThis.window?window.navigator.vendor.indexOf("Apple")>-1&&window.navigator.userAgent.indexOf("Safari")>-1&&-1===window.navigator.userAgent.indexOf("Chrome"):void 0}}function a(e){return e.replace(/]*>[\s\S]*?<\/script>|]*\/>/gi,"")}n.d(t,{kR:function(){return o},_v:function(){return i},bO:function(){return r},S_:function(){return s},W1:function(){return l},C$:function(){return a}});let r=e=>{var t;return e?e.textContent&&e.textContent.length>0?e.textContent:null!==(t=e.title)&&void 0!==t?t:"":""},s=e=>{var t;if(!e)return!1;let n=e.contentDocument||(null===(t=e.contentWindow)||void 0===t?void 0:t.document);return(null==n?void 0:n.readyState)==="complete"};function o(e,t){return n=>{t&&n instanceof HTMLElement&&Object.keys(t).forEach(e=>{n.setAttribute("data-".concat(e),"".concat(t[e]))}),"function"==typeof e?e(n):e&&(e.current=n)}}function l(e){let t={};for(let[n,i]of Object.entries(e))t[n.toLowerCase()]=i;return t}n(18240)},97718:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var i=n(84248),a=n(45090),r=n(39189),s=n(16551);class o{addEventListener(e){a.Q.addEventTypeListener(this.eventType,e)}_build(e){return{sessionUpdate:this.sessionUpdate,eventType:this.eventType,sessionOrder:(0,r.Z)(),deviceOccurredAt:Date.now(),payload:e}}capture(e){let t=this._build(e);return this.payload=t.payload,this._emit(t),{eventType:this.eventType,payload:this.payload}}_emit(e){a.Q.emitEventAsync(e).catch(()=>{})}_getErrorId(){return(0,i.b)()}constructor(){this.eventType="beam.errors.base",this.sessionUpdate=s.I.NOT_APPLICABLE}}},50517:function(e,t,n){"use strict";n.d(t,{D:function(){return s}});var i=n(45090),a=n(39189),r=n(16551);class s{_build(e){return{sessionUpdate:this.sessionUpdate,eventType:this.eventType,deviceOccurredAt:Date.now(),sessionOrder:(0,a.Z)(),payload:e}}addEventListener(e){i.Q.addEventTypeListener(this.eventType,e)}emit(e,t){let n=this._build(e);n.deviceOccurredAt=t||n.deviceOccurredAt,this._emit(n)}_emit(e){i.Q.emitEventAsync(e).catch(()=>{})}constructor(){this.eventType="beam.events.base",this.sessionUpdate=r.I.NOT_APPLICABLE}}},45090:function(e,t,n){"use strict";n.d(t,{Q:function(){return r}});var i=n(87597),a=n(16551);class r{static initialize(e){var t;let n=this.getInstance();n._contextMatchersCache.clear();let i=null===(t=e.forwarderMatchers)||void 0===t?void 0:t.filter(e=>e.includes("isdk:")).map(e=>e.replace("isdk:","")).reduce((e,t)=>e.add(t),new Set);n._contextMatchers=Array.from(null!=i?i:[])}static getInstance(){var e,t;return window.ISDK=null!==(e=window.ISDK)&&void 0!==e?e:{},window.ISDK.Emitter=null!==(t=window.ISDK.Emitter)&&void 0!==t?t:this,window.ISDK.Emitter}static addEventKindListener(e,t){let n=this.getInstance();n._emitCallbacks.set(e,n._getSetByKey(e).add(t))}static addEventWithContextListener(e){this.getInstance()._emitContextCallbacks.add(e)}static addEventListener(e){let t=this.getInstance();t._emitCallbacks.set(t._ALL_EVENTS_KEY,t._getSetByKey(t._ALL_EVENTS_KEY).add(e))}static addEventTypeListener(e,t){let n=this.getInstance();n._emitCallbacks.set(e,n._getSetByKey(e).add(t))}static async emitEventAsync(e){let t=this.getInstance(),n=await t._contextPromise.then(e=>e());i.S.isSessionExpired()||e.sessionUpdate!==a.I.EXTEND||i.S.extendSession(),t._emitToEventKindListeners(e),t._emitToEventTypeListeners(e),t._emitToEventListener(e),t._emitToEventContextListener(e,n)}static _emitEventByKey(e,t){let n=r._emitCallbacks.get(e);n&&n.forEach(e=>e(t))}static _emitToEventTypeListeners(e){this._emitEventByKey(e.eventType,e)}static _emitToEventKindListeners(e){let t=e.eventType.split(/\./)[1];this._emitEventByKey(t,e)}static _emitToEventContextListener(e,t){t&&this._emitContextCallbacks.size&&this._shouldContextualize(e)&&this._emitContextCallbacks.forEach(n=>n({...t,event:e}))}static _emitToEventListener(e){this._emitEventByKey(this._ALL_EVENTS_KEY,e)}static _getSetByKey(e){var t;return null!==(t=this._emitCallbacks.get(e))&&void 0!==t?t:new Set}static setContextProvider(e){this.getInstance()._contextPromiseResolver(e)}static _shouldContextualize(e){let{eventType:t}=e,n=this._contextMatchersCache.get(t);if(void 0!==n)return n;let i=this._contextMatchers.some(e=>this._matchesEventType(e,t)),a=this._contextMatchers.some(e=>this._rejectsEventType(e,t)),r=i&&!a;return this._contextMatchersCache.set(t,r),r}static _matchesEventType(e,t){let n=e.replace("!","");return"*"===e||(e.endsWith("*")&&(n=n.slice(0,-1)),t.startsWith(n))}static _rejectsEventType(e,t){let n=this._matchesEventType(e,t);return e.startsWith("!")&&n}}r._ALL_EVENTS_KEY="all",r._contextMatchers=[],r._contextMatchersCache=new Map,r._contextPromise=new Promise(e=>{r._contextPromiseResolver=e}),r._emitCallbacks=new Map,r._emitContextCallbacks=new Set},39189:function(e,t,n){"use strict";n.d(t,{Z:function(){return a},m:function(){return r}});let i=0;function a(){return++i}function r(){i=0}},16551:function(e,t,n){"use strict";var i,a;n.d(t,{I:function(){return i}}),(a=i||(i={})).EXTEND="EXTEND",a.CONTINUE="CONTINUE",a.NOT_APPLICABLE="NOT_APPLICABLE"},24764:function(e,t,n){"use strict";n.d(t,{W3:function(){return o}});var i=n(97718),a=n(16551);let r={BACKGROUND:"BACKGROUND"};class s extends i.G{_buildErrV1(e){var t,n,i;return{...e,classification:null!==(t=e.classification)&&void 0!==t?t:"Error",id:this._getErrorId(),scope:null!==(n=e.scope)&&void 0!==n?n:r.BACKGROUND,stackTrace:null===(i=e.stackTrace)||void 0===i?void 0:i.slice(0,3e3)}}_buildOmdV1(e){return e}_build(e){let t={...e,err:this._buildErrV1(e.err),omd:this._buildOmdV1(e.omd)};return super._build(t)}constructor(){super(...arguments),this.eventType="beam.errors.platform.runtime_1.0",this.sessionUpdate=a.I.CONTINUE}}let o=new s},87597:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var i=n(84248);class a{static getInstance(){var e;return window.SessionManager=null!==(e=window.SessionManager)&&void 0!==e?e:this,window.SessionManager}static get createdAt(){let e=this.getInstance();return e.refreshIfExpired(),e._createdAt}static _getStoredTenantValue(){var e,t,n;try{let i=null===(e=this._storage)||void 0===e?void 0:e.readSync(this._BOOTSTRAP_CONFIG_STATE_KEY);if(i)return(null===(n=null===(t=JSON.parse(i))||void 0===t?void 0:t.routing)||void 0===n?void 0:n.tenant)||"beam"}catch(e){}return"beam"}static getSessionDuration(){let e=this.getInstance();return"br"===e._getStoredTenantValue()?e._maxBRSessionDuration:"dplus"===e._getStoredTenantValue()?e._maxDPLUSSessionDuration:e._maxBEAMSessionDuration}static extendSession(){let e=this.getInstance();e._sessionExpiration=Date.now()+e.getSessionDuration(),e._saveSessionToStorage()}static get sessionId(){let e=this.getInstance();return e.refreshIfExpired(),e._sessionId}static isSessionExpired(){let e=this.getInstance();return!e._sessionId||Date.now()>=e._sessionExpiration}static _isValidStorageSession(e,t,n){let i=!!n&&"number"==typeof n&&!!e&&Date.now()e())}}a._callbacks=new Set,a._createdAt=Date.now(),a._maxBEAMSessionDuration=18e5,a._maxBRSessionDuration=3e5,a._maxDPLUSSessionDuration=18e5,a._sessionId=(0,i.b)(),a._sessionExpiration=a._createdAt+a.getSessionDuration(),a._SESSION_STATE_KEY="session",a._BOOTSTRAP_CONFIG_STATE_KEY="bootstrap-config"},24084:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});let i=new Set(["af-NA","af-ZA","agq-CM","ak-GH","am-ET","ar-AE","ar-BH","ar-DJ","ar-DZ","ar-EG","ar-EH","ar-ER","ar-IL","ar-IQ","ar-JO","ar-KM","ar-KW","ar-LB","ar-LY","ar-MA","ar-MR","ar-OM","ar-PS","ar-QA","ar-SA","ar-SD","ar-SO","ar-SS","ar-SY","ar-TD","ar-TN","ar-YE","as-IN","asa-TZ","ast-ES","az-Latn-AZ","bas-CM","be-BY","bem-ZM","bez-TZ","bg-BG","bm-ML","bn-BD","bn-IN","bo-CN","bo-IN","br-FR","brx-IN","bs-Latn-BA","ca-AD","ca-ES","ca-FR","ca-IT","ccp-BD","ccp-IN","ce-RU","ceb-PH","cgg-UG","chr-US","ckb-IQ","ckb-IR","cs-CZ","cu-RU","cy-GB","da-DK","da-GL","dav-KE","de-AT","de-BE","de-CH","de-DE","de-IT","de-LI","de-LU","dje-NE","dsb-DE","dua-CM","dyo-SN","dz-BT","ebu-KE","ee-GH","ee-TG","el-CY","el-GR","en-AE","en-AG","en-AI","en-AS","en-AT","en-AU","en-BB","en-BE","en-BI","en-BM","en-BS","en-BW","en-BZ","en-CA","en-CC","en-CH","en-CK","en-CM","en-CX","en-CY","en-DE","en-DG","en-DK","en-DM","en-ER","en-FI","en-FJ","en-FK","en-FM","en-GB","en-GD","en-GG","en-GH","en-GI","en-GM","en-GU","en-GY","en-HK","en-IE","en-IL","en-IM","en-IN","en-IO","en-JE","en-JM","en-KE","en-KI","en-KN","en-KY","en-LC","en-LR","en-LS","en-MG","en-MH","en-MO","en-MP","en-MS","en-MT","en-MU","en-MW","en-MY","en-NA","en-NF","en-NG","en-NL","en-NR","en-NU","en-NZ","en-PG","en-PH","en-PK","en-PN","en-PR","en-PW","en-RW","en-SB","en-SC","en-SD","en-SE","en-SG","en-SH","en-SI","en-SL","en-SS","en-SX","en-SZ","en-TC","en-TK","en-TO","en-TT","en-TV","en-TZ","en-UG","en-UM","en-US","en-VC","en-VG","en-VI","en-VU","en-WS","en-ZA","en-ZM","en-ZW","eo-001","es-419","es-AR","es-BO","es-BR","es-BZ","es-CL","es-CO","es-CR","es-CU","es-DO","es-EA","es-EC","es-ES","es-GQ","es-GT","es-HN","es-IC","es-MX","es-NI","es-PA","es-PE","es-PH","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","ewo-CM","fa-AF","fa-IR","ff-Latn-BF","ff-Latn-CM","ff-Latn-GH","ff-Latn-GM","ff-Latn-GN","ff-Latn-GW","ff-Latn-LR","ff-Latn-MR","ff-Latn-NE","ff-Latn-NG","ff-Latn-SL","ff-Latn-SN","fi-FI","fil-PH","fo-DK","fo-FO","fr-BE","fr-BF","fr-BI","fr-BJ","fr-BL","fr-CA","fr-CD","fr-CF","fr-CG","fr-CH","fr-CI","fr-CM","fr-DJ","fr-DZ","fr-FR","fr-GA","fr-GF","fr-GN","fr-GP","fr-GQ","fr-HT","fr-KM","fr-LU","fr-MA","fr-MC","fr-MF","fr-MG","fr-ML","fr-MQ","fr-MR","fr-MU","fr-NC","fr-NE","fr-PF","fr-PM","fr-RE","fr-RW","fr-SC","fr-SN","fr-SY","fr-TD","fr-TG","fr-TN","fr-VU","fr-WF","fr-YT","fur-IT","fy-NL","ga-GB","ga-IE","gd-GB","gl-ES","gsw-CH","gsw-FR","gsw-LI","gu-IN","guz-KE","gv-IM","ha-GH","ha-NE","ha-NG","haw-US","he-IL","hi-IN","hr-BA","hr-HR","hsb-DE","hu-HU","hy-AM","ia-001","id-ID","ig-NG","ii-CN","is-IS","it-CH","it-IT","it-SM","it-VA","ja-JP","jgo-CM","jmc-TZ","jv-ID","ka-GE","kab-DZ","kam-KE","kde-TZ","kea-CV","khq-ML","ki-KE","kk-KZ","kkj-CM","kl-GL","kln-KE","km-KH","kn-IN","ko-KP","ko-KR","kok-IN","ks-IN","ksb-TZ","ksf-CM","ksh-DE","ku-TR","kw-GB","ky-KG","lag-TZ","lb-LU","lg-UG","lkt-US","ln-AO","ln-CD","ln-CF","ln-CG","lo-LA","lrc-IQ","lrc-IR","lt-LT","lu-CD","luo-KE","luy-KE","lv-LV","mas-KE","mas-TZ","mer-KE","mfe-MU","mg-MG","mgh-MZ","mgo-CM","mi-NZ","mk-MK","ml-IN","mn-MN","mr-IN","ms-BN","ms-MY","ms-SG","mt-MT","mua-CM","my-MM","mzn-IR","naq-NA","nb-NO","nb-SJ","nd-ZW","nds-DE","nds-NL","ne-IN","ne-NP","nl-AW","nl-BE","nl-BQ","nl-CW","nl-NL","nl-SR","nl-SX","nmg-CM","nn-NO","nnh-CM","nus-SS","nyn-UG","om-ET","om-KE","or-IN","os-GE","os-RU","pa-Arab-PK","pa-Guru-IN","pl-PL","prg-001","ps-AF","ps-PK","pseudo-LOC","pseudo-LONG","pt-AO","pt-BR","pt-CH","pt-CV","pt-GQ","pt-GW","pt-LU","pt-MO","pt-MZ","pt-PT","pt-ST","pt-TL","qu-BO","qu-EC","qu-PE","rm-CH","rn-BI","ro-MD","ro-RO","rof-TZ","ru-BY","ru-KG","ru-KZ","ru-MD","ru-RU","ru-UA","rw-RW","rwk-TZ","sah-RU","saq-KE","sbp-TZ","sd-PK","se-FI","se-NO","se-SE","seh-MZ","ses-ML","sg-CF","shi-Tfng-MA","si-LK","sk-SK","sl-SI","smn-FI","sn-ZW","so-DJ","so-ET","so-KE","so-SO","sq-AL","sq-MK","sq-XK","sr-Latn-BA","sr-Latn-ME","sr-Latn-RS","sr-Latn-XK","sv-AX","sv-FI","sv-SE","sw-CD","sw-KE","sw-TZ","sw-UG","ta-IN","ta-LK","ta-MY","ta-SG","te-IN","teo-KE","teo-UG","tg-TJ","th-TH","ti-ER","ti-ET","tk-TM","to-TO","tr-CY","tr-TR","tt-RU","twq-NE","tzm-MA","ug-CN","uk-UA","ur-IN","ur-PK","uz-Arab-AF","uz-Latn-UZ","vai-Vaii-LR","vi-VN","vo-001","vun-TZ","wae-CH","wo-SN","xh-ZA","xog-UG","yav-CM","yi-001","yo-BJ","yo-NG","yue-Hans-CN","yue-Hant-HK","zgh-MA","zh-Hans-CN","zh-Hans-HK","zh-Hans-MO","zh-Hans-SG","zh-Hant-HK","zh-Hant-MO","zh-Hant-TW","zu-ZA"]);function a(){return i}},3376:function(e,t,n){"use strict";n.d(t,{b:function(){return s}});let i=new Map([["af-ZA","af"],["agq-CM","agq"],["ak-GH","ak"],["am-ET","am"],["as-IN","as"],["asa-TZ","asa"],["ast-ES","ast"],["az-Latn-AZ","az-Latn"],["bas-CM","bas"],["be-BY","be"],["bem-ZM","bem"],["bez-TZ","bez"],["bg-BG","bg"],["bm-ML","bm"],["bn-BD","bn"],["bo-CN","bo"],["br-FR","br"],["brx-IN","brx"],["bs-Latn-BA","bs-Latn"],["ca-ES","ca"],["ccp-BD","ccp"],["ce-RU","ce"],["ceb-PH","ceb"],["cgg-UG","cgg"],["chr-US","chr"],["ckb-IQ","ckb"],["cs-CZ","cs"],["cu-RU","cu"],["cy-GB","cy"],["da-DK","da"],["dav-KE","dav"],["de-DE","de"],["dje-NE","dje"],["dsb-DE","dsb"],["dua-CM","dua"],["dyo-SN","dyo"],["dz-BT","dz"],["ebu-KE","ebu"],["ee-GH","ee"],["el-GR","el"],["en-US","en"],["eo-001","eo"],["es-ES","es"],["et-EE","et"],["eu-ES","eu"],["ewo-CM","ewo"],["fa-IR","fa"],["ff-Latn-SN","ff-Latn"],["fi-FI","fi"],["fil-PH","fil"],["fo-FO","fo"],["fr-FR","fr"],["fur-IT","fur"],["fy-NL","fy"],["ga-IE","ga"],["gd-GB","gd"],["gl-ES","gl"],["gsw-CH","gsw"],["gu-IN","gu"],["guz-KE","guz"],["gv-IM","gv"],["ha-NG","ha"],["haw-US","haw"],["he-IL","he"],["hi-IN","hi"],["hr-HR","hr"],["hsb-DE","hsb"],["hu-HU","hu"],["hy-AM","hy"],["ia-001","ia"],["id-ID","id"],["ig-NG","ig"],["ii-CN","ii"],["is-IS","is"],["it-IT","it"],["ja-JP","ja"],["jgo-CM","jgo"],["jmc-TZ","jmc"],["jv-ID","jv"],["ka-GE","ka"],["kab-DZ","kab"],["kam-KE","kam"],["kde-TZ","kde"],["kea-CV","kea"],["khq-ML","khq"],["ki-KE","ki"],["kk-KZ","kk"],["kkj-CM","kkj"],["kl-GL","kl"],["kln-KE","kln"],["km-KH","km"],["kn-IN","kn"],["ko-KR","ko"],["kok-IN","kok"],["ks-IN","ks"],["ksb-TZ","ksb"],["ksf-CM","ksf"],["ksh-DE","ksh"],["ku-TR","ku"],["kw-GB","kw"],["ky-KG","ky"],["lag-TZ","lag"],["lb-LU","lb"],["lg-UG","lg"],["lkt-US","lkt"],["ln-CD","ln"],["lo-LA","lo"],["lrc-IR","lrc"],["lt-LT","lt"],["lu-CD","lu"],["luo-KE","luo"],["luy-KE","luy"],["lv-LV","lv"],["mas-KE","mas"],["mer-KE","mer"],["mfe-MU","mfe"],["mg-MG","mg"],["mgh-MZ","mgh"],["mgo-CM","mgo"],["mi-NZ","mi"],["mk-MK","mk"],["ml-IN","ml"],["mn-MN","mn"],["mr-IN","mr"],["ms-MY","ms"],["mt-MT","mt"],["mua-CM","mua"],["my-MM","my"],["mzn-IR","mzn"],["naq-NA","naq"],["nb-NO","nb"],["nd-ZW","nd"],["nds-DE","nds"],["ne-NP","ne"],["nl-NL","nl"],["nmg-CM","nmg"],["nn-NO","nn"],["nnh-CM","nnh"],["nus-SS","nus"],["nyn-UG","nyn"],["om-ET","om"],["or-IN","or"],["os-GE","os"],["pa-Arab-PK","pa-Arab"],["pa-Guru-IN","pa-Guru"],["pl-PL","pl"],["prg-001","prg"],["ps-AF","ps"],["pseudo-LOC","en-001"],["pseudo-LONG","en-150"],["pt-BR","pt"],["qu-PE","qu"],["rm-CH","rm"],["rn-BI","rn"],["ro-RO","ro"],["rof-TZ","rof"],["ru-RU","ru"],["rw-RW","rw"],["rwk-TZ","rwk"],["sah-RU","sah"],["saq-KE","saq"],["sbp-TZ","sbp"],["sd-PK","sd"],["se-NO","se"],["seh-MZ","seh"],["ses-ML","ses"],["sg-CF","sg"],["shi-Tfng-MA","shi-Tfng"],["si-LK","si"],["sk-SK","sk"],["sl-SI","sl"],["smn-FI","smn"],["sn-ZW","sn"],["so-SO","so"],["sq-AL","sq"],["sr-Latn-RS","sr-Latn"],["sv-SE","sv"],["sw-TZ","sw"],["ta-IN","ta"],["te-IN","te"],["teo-UG","teo"],["tg-TJ","tg"],["th-TH","th"],["ti-ET","ti"],["tk-TM","tk"],["to-TO","to"],["tr-TR","tr"],["tt-RU","tt"],["twq-NE","twq"],["tzm-MA","tzm"],["ug-CN","ug"],["uk-UA","uk"],["ur-PK","ur"],["uz-Arab-AF","uz-Arab"],["uz-Latn-UZ","uz-Latn"],["vai-Vaii-LR","vai-Vaii"],["vi-VN","vi"],["vo-001","vo"],["vun-TZ","vun"],["wae-CH","wae"],["wo-SN","wo"],["xh-ZA","xh"],["xog-UG","xog"],["yav-CM","yav"],["yi-001","yi"],["yo-NG","yo"],["yue-Hans-CN","yue-Hans"],["yue-Hant-HK","yue-Hant"],["zgh-MA","zgh"],["zh-Hans-CN","zh-Hans"],["zh-Hant-TW","zh-Hant"],["zu-ZA","zu"]]);var a=n(24084);let r=new Set(["af","af-NA","agq","ak","am","ar-AE","ar-BH","ar-DJ","ar-DZ","ar-EG","ar-EH","ar-ER","ar-IL","ar-IQ","ar-JO","ar-KM","ar-KW","ar-LB","ar-LY","ar-MA","ar-MR","ar-OM","ar-PS","ar-QA","ar-SA","ar-SD","ar-SO","ar-SS","ar-SY","ar-TD","ar-TN","ar-YE","as","asa","ast","az-Latn","bas","be","bem","bez","bg","bm","bn","bn-IN","bo","bo-IN","br","brx","bs-Latn","ca","ca-AD","ca-FR","ca-IT","ccp","ccp-IN","ce","ceb","cgg","chr","ckb","ckb-IR","cs","cu","cy","da","da-GL","dav","de","de-AT","de-BE","de-CH","de-IT","de-LI","de-LU","dje","dsb","dua","dyo","dz","ebu","ee","ee-TG","el","el-CY","en","en-001","en-150","en-AE","en-AG","en-AI","en-AS","en-AT","en-AU","en-BB","en-BE","en-BI","en-BM","en-BS","en-BW","en-BZ","en-CA","en-CC","en-CH","en-CK","en-CM","en-CX","en-CY","en-DE","en-DG","en-DK","en-DM","en-ER","en-FI","en-FJ","en-FK","en-FM","en-GB","en-GD","en-GG","en-GH","en-GI","en-GM","en-GU","en-GY","en-HK","en-IE","en-IL","en-IM","en-IN","en-IO","en-JE","en-JM","en-KE","en-KI","en-KN","en-KY","en-LC","en-LR","en-LS","en-MG","en-MH","en-MO","en-MP","en-MS","en-MT","en-MU","en-MW","en-MY","en-NA","en-NF","en-NG","en-NL","en-NR","en-NU","en-NZ","en-PG","en-PH","en-PK","en-PN","en-PR","en-PW","en-RW","en-SB","en-SC","en-SD","en-SE","en-SG","en-SH","en-SI","en-SL","en-SS","en-SX","en-SZ","en-TC","en-TK","en-TO","en-TT","en-TV","en-TZ","en-UG","en-UM","en-VC","en-VG","en-VI","en-VU","en-WS","en-ZA","en-ZM","en-ZW","eo","es","es-419","es-AR","es-BO","es-BR","es-BZ","es-CL","es-CO","es-CR","es-CU","es-DO","es-EA","es-EC","es-GQ","es-GT","es-HN","es-IC","es-MX","es-NI","es-PA","es-PE","es-PH","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et","eu","ewo","fa","fa-AF","ff-Latn","ff-Latn-BF","ff-Latn-CM","ff-Latn-GH","ff-Latn-GM","ff-Latn-GN","ff-Latn-GW","ff-Latn-LR","ff-Latn-MR","ff-Latn-NE","ff-Latn-NG","ff-Latn-SL","fi","fil","fo","fo-DK","fr","fr-BE","fr-BF","fr-BI","fr-BJ","fr-BL","fr-CA","fr-CD","fr-CF","fr-CG","fr-CH","fr-CI","fr-CM","fr-DJ","fr-DZ","fr-GA","fr-GF","fr-GN","fr-GP","fr-GQ","fr-HT","fr-KM","fr-LU","fr-MA","fr-MC","fr-MF","fr-MG","fr-ML","fr-MQ","fr-MR","fr-MU","fr-NC","fr-NE","fr-PF","fr-PM","fr-RE","fr-RW","fr-SC","fr-SN","fr-SY","fr-TD","fr-TG","fr-TN","fr-VU","fr-WF","fr-YT","fur","fy","ga","ga-GB","gd","gl","gsw","gsw-FR","gsw-LI","gu","guz","gv","ha","ha-GH","ha-NE","haw","he","hi","hr","hr-BA","hsb","hu","hy","ia","id","ig","ii","is","it","it-CH","it-SM","it-VA","ja","jgo","jmc","jv","ka","kab","kam","kde","kea","khq","ki","kk","kkj","kl","kln","km","kn","ko","ko-KP","kok","ks","ksb","ksf","ksh","ku","kw","ky","lag","lb","lg","lkt","ln","ln-AO","ln-CF","ln-CG","lo","lrc","lrc-IQ","lt","lu","luo","luy","lv","mas","mas-TZ","mer","mfe","mg","mgh","mgo","mi","mk","ml","mn","mr","ms","ms-BN","ms-SG","mt","mua","my","mzn","naq","nb","nb-SJ","nd","nds","nds-NL","ne","ne-IN","nl","nl-AW","nl-BE","nl-BQ","nl-CW","nl-SR","nl-SX","nmg","nn","nnh","nus","nyn","om","om-KE","or","os","os-RU","pa-Arab","pa-Guru","pl","prg","ps","ps-PK","pt","pt-AO","pt-CH","pt-CV","pt-GQ","pt-GW","pt-LU","pt-MO","pt-MZ","pt-PT","pt-ST","pt-TL","qu","qu-BO","qu-EC","rm","rn","ro","ro-MD","rof","ru","ru-BY","ru-KG","ru-KZ","ru-MD","ru-UA","rw","rwk","sah","saq","sbp","sd","se","se-FI","se-SE","seh","ses","sg","shi-Tfng","si","sk","sl","smn","sn","so","so-DJ","so-ET","so-KE","sq","sq-MK","sq-XK","sr-Latn","sr-Latn-BA","sr-Latn-ME","sr-Latn-XK","sv","sv-AX","sv-FI","sw","sw-CD","sw-KE","sw-UG","ta","ta-LK","ta-MY","ta-SG","te","teo","teo-KE","tg","th","ti","ti-ER","tk","to","tr","tr-CY","tt","twq","tzm","ug","uk","ur","ur-IN","uz-Arab","uz-Latn","vai-Vaii","vi","vo","vun","wae","wo","xh","xog","yav","yi","yo","yo-BJ","yue-Hans","yue-Hant","zgh","zh-Hans","zh-Hans-HK","zh-Hans-MO","zh-Hans-SG","zh-Hant","zh-Hant-HK","zh-Hant-MO","zu"]);function s(e){if((0,a.T)().has(e)&&r.has(e))return e;let t=i.get(e);if(!t)throw Error('The given Canonical CLDR Locale Code "'.concat(e,'" is not supported by the CLDR data set'));return t}},55245:function(e,t,n){"use strict";n.d(t,{F:function(){return a}});var i=n(24084);function a(e){return(0,i.T)().has(e)}},87916:function(e,t,n){"use strict";n.d(t,{NZ:function(){return i},s8:function(){return a}});let i="en-US",a="en-US"},46088:function(e,t,n){"use strict";function i(e,t,n){for(let n of e.reduce((e,t)=>(e.push(...function(e){let t=[e],n=e.split("-");for(;n.length>1;)n.pop(),t.push(n.join("-"));return t}(t)),e),[]))if(t.includes(n))return n;return n}n.d(t,{V:function(){return i}})},76059:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});let i=["en-US","es-US","en-CA","fr-CA","en-AS","en-GU","en-MP","en-PR","es-PR","en-UM","en-VI","es-AR","es-BO","es-BR","pt-BR","es-CL","es-CO","es-CR","es-DO","es-EC","es-GT","es-HN","es-MX","es-NI","es-PA","es-PY","es-SV","es-UY","es-VE","en-AG","en-AI","nl-AW","en-BB","en-BS","en-BZ","es-BZ","nl-CW","en-DM","en-GD","en-GY","fr-HT","en-JM","en-KN","en-KY","en-LC","en-MS","es-PE","nl-SR","en-TC","en-TT","en-VC","en-VG","ca-AD","es-EA","es-IC","es-ES","sv-AX","fo-FO","da-GL","nb-NO","en-SE","sv-SE","nb-SJ","da-DK","en-DK","en-FI","fi-FI","sv-FI","fr-FR","fr-MC","pt-PT","sq-AL","hr-BA","sr-Latn-BA","bg-BG","hr-HR","sq-XK","sr-Latn-XK","pl-PL","mk-MK","sq-MK","ro-MD","ru-MD","sr-Latn-ME","ro-RO","sr-Latn-RS","sk-SK","en-SI","sl-SI","hu-HU","cs-CZ","et-EE","is-IS","lt-LT","lv-LV","en-NL","nl-NL","tr-TR","el-GR","de-AT","en-AT","de-BE","en-BE","fr-BE","nl-BE","el-CY","en-CY","tr-CY","de-DE","en-DE","en-IE","de-IT","it-IT","de-LU","fr-LU","pt-LU","en-MT","mt-MT","en-GB","de-CH","en-CH","fr-CH","it-CH","pt-CH","de-LI","ru-UA","uk-UA","en-IL","he-IL","ka-GE","hy-AM","az-Latn-AZ","ru-KZ","ru-KG","uz-Latn-UZ","fr-GP","fr-GF","fr-RE","fr-YT","fr-MQ","fr-MF","fr-PF","fr-NC","fr-BL","fr-PM","fr-WF","en-PN","en-SH","en-BM","en-IO","en-FK","en-GI","en-SG","ms-SG","zh-Hans-SG","en-MY","ms-MY","zh-Hant-TW","th-TH","id-ID","en-HK","zh-Hans-HK","zh-Hant-HK","en-PH","es-PH","fil-PH","en-AU","en-NZ","ru-RU","pseudo-LOC","pseudo-LONG","es-419"]},71478:function(e,t,n){"use strict";var i;n.d(t,{A:function(){return i},y:function(){return a}}),(i||(i={})).DEFAULT_WITH_SYMBOL="DEFAULT_WITH_SYMBOL";let a=new Map([[i.DEFAULT_WITH_SYMBOL,{options:{style:"symbol"}}]])},85993:function(e,t,n){"use strict";var i,a;n.d(t,{MA:function(){return r},NF:function(){return s},t6:function(){return i}}),(a=i||(i={})).HOUR="HOUR",a.HOUR_MINUTE="HOUR_MINUTE",a.DAY_OF_WEEK="DAY_OF_WEEK",a.DAY_MONTH_YEAR_SHORT_WITH_FULL_YEAR="DAY_MONTH_YEAR_SHORT_WITH_FULL_YEAR",a.DAY_MONTH_WITH_TIME="DAY_MONTH_WITH_TIME",a.DAY_MONTH_YEAR_MEDIUM="DAY_MONTH_YEAR_MEDIUM",a.DAY_MONTH_YEAR_LONG="DAY_MONTH_YEAR_LONG",a.DAY_MONTH_MEDIUM="DAY_MONTH_MEDIUM",a.DAY_MONTH_LONG="DAY_MONTH_LONG",a.DAY_MONTH_YEAR_WITH_TIME="DAY_MONTH_YEAR_WITH_TIME",a.YEAR="YEAR";let r=[i.HOUR,i.HOUR_MINUTE,i.DAY_MONTH_MEDIUM,i.DAY_MONTH_LONG,i.DAY_MONTH_WITH_TIME,i.DAY_MONTH_YEAR_MEDIUM,i.DAY_MONTH_YEAR_LONG,i.DAY_OF_WEEK,i.DAY_MONTH_YEAR_WITH_TIME],s=new Map([[i.HOUR,{options:{skeleton:"j"}}],[i.HOUR_MINUTE,{options:{time:"short"}}],[i.DAY_OF_WEEK,{options:{skeleton:"EEEE"}}],[i.DAY_MONTH_YEAR_SHORT_WITH_FULL_YEAR,{options:{skeleton:"yMd"}}],[i.DAY_MONTH_WITH_TIME,{options:{skeleton:"MMMdjm"}}],[i.DAY_MONTH_YEAR_MEDIUM,{options:{date:"medium"}}],[i.DAY_MONTH_YEAR_LONG,{options:{date:"long"}}],[i.DAY_MONTH_MEDIUM,{options:{skeleton:"MMMd"}}],[i.DAY_MONTH_LONG,{options:{skeleton:"MMMMd"}}],[i.DAY_MONTH_YEAR_WITH_TIME,{options:{skeleton:"yMMMdjm"}}],[i.YEAR,{options:{skeleton:"yyyy"}}]])},71239:function(e,t,n){"use strict";var i,a;n.d(t,{q:function(){return i}}),(a=i||(i={})).DURATION="DURATION",a.RECENCY="RECENCY"},35114:function(e,t,n){"use strict";var i,a;n.d(t,{y:function(){return i},z:function(){return r}}),(a=i||(i={})).INTEGER="INTEGER",a.DECIMAL="DECIMAL",a.PERCENTAGE="PERCENTAGE",a.FRACTIONAL_PERCENTAGE="FRACTIONAL_PERCENTAGE";let r=new Map([[i.INTEGER,{options:{maximumFractionDigits:0}}],[i.DECIMAL,{options:{maximumFractionDigits:2}}],[i.PERCENTAGE,{options:{style:"percent",maximumFractionDigits:0}}],[i.FRACTIONAL_PERCENTAGE,{options:{style:"percent",maximumFractionDigits:2}}]])},90948:function(e,t,n){"use strict";var i,a;n.d(t,{B:function(){return i},c:function(){return r}}),(a=i||(i={})).DAY="DAY",a.DAY_SHORT="DAY_SHORT",a.HOUR_SHORT="HOUR_SHORT",a.MINUTE_SHORT="MINUTE_SHORT";let r=new Map([[i.DAY,{unit:"day"}],[i.DAY_SHORT,{unit:"day",options:{form:"short"}}],[i.HOUR_SHORT,{unit:"hour",options:{form:"short"}}],[i.MINUTE_SHORT,{unit:"minute",options:{form:"short"}}]])},43314:function(e,t,n){"use strict";var i,a;n.d(t,{M:function(){return r},U:function(){return i}}),(a=i||(i={})).DAY="DAY",a.DAY_SHORT="DAY_SHORT",a.DAY_NARROW="DAY_NARROW",a.HOUR="HOUR",a.HOUR_SHORT="HOUR_SHORT",a.HOUR_NARROW="HOUR_NARROW",a.MINUTE="MINUTE",a.MINUTE_SHORT="MINUTE_SHORT",a.MINUTE_NARROW="MINUTE_NARROW",a.MONTH="MONTH",a.MONTH_SHORT="MONTH_SHORT",a.MONTH_NARROW="MONTH_NARROW",a.SECOND="SECOND",a.SECOND_SHORT="SECOND_SHORT",a.SECOND_NARROW="SECOND_NARROW",a.WEEK="WEEK",a.WEEK_SHORT="WEEK_SHORT",a.WEEK_NARROW="WEEK_NARROW",a.YEAR="YEAR",a.YEAR_SHORT="YEAR_SHORT",a.YEAR_NARROW="YEAR_NARROW";let r=new Map([[i.DAY,{unit:"day"}],[i.DAY_SHORT,{unit:"day",options:{form:"short"}}],[i.DAY_NARROW,{unit:"day",options:{form:"narrow"}}],[i.HOUR,{unit:"hour"}],[i.HOUR_SHORT,{unit:"hour",options:{form:"short"}}],[i.HOUR_NARROW,{unit:"hour",options:{form:"narrow"}}],[i.MINUTE,{unit:"minute"}],[i.MINUTE_SHORT,{unit:"minute",options:{form:"short"}}],[i.MINUTE_NARROW,{unit:"minute",options:{form:"narrow"}}],[i.MONTH,{unit:"month"}],[i.MONTH_SHORT,{unit:"month",options:{form:"short"}}],[i.MONTH_NARROW,{unit:"month",options:{form:"narrow"}}],[i.SECOND,{unit:"second"}],[i.SECOND_SHORT,{unit:"second",options:{form:"short"}}],[i.SECOND_NARROW,{unit:"second",options:{form:"narrow"}}],[i.WEEK,{unit:"week"}],[i.WEEK_SHORT,{unit:"week",options:{form:"short"}}],[i.WEEK_NARROW,{unit:"week",options:{form:"narrow"}}],[i.YEAR,{unit:"year"}],[i.YEAR_SHORT,{unit:"year",options:{form:"short"}}],[i.YEAR_NARROW,{unit:"year",options:{form:"narrow"}}]])},59947:function(e,t,n){"use strict";n.d(t,{M:function(){return u}});var i=n(55245),a=n(3376),r=n(71478),s=n(85993),o=n(43314),l=n(71239),d=n(35114),c=n(90948);class u{get formatCode(){return this._formatCode}formatAsCurrency(e,t){let n=r.y.get(t);try{return this._globalizeInstance.formatCurrency(e.currencyAmount,e.currencyCode,n.options)}catch(t){if("this.currencyFormatter(...) is not a function"===t.message)throw Error("Currency ".concat(e.currencyCode," is not supported in ").concat(this._formatCode));throw t}}formatAsDate(e,t){try{let n=s.NF.get(t);return this._globalizeInstance.formatDate(e,n.options)}catch(n){throw Error('Error formatting "'.concat(e.toUTCString(),'" as "').concat(t,'" for "').concat(this._formatCode,'": ').concat(n.message," ").concat(n.stack))}}formatAsDuration(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{hourFormat:o.U.HOUR_SHORT,minuteFormat:o.U.MINUTE_SHORT};try{let i=o.M.get(n.hourFormat),a=o.M.get(n.minuteFormat);switch(t){case l.q.DURATION:let r=Math.ceil(e/60),d=Math.floor(r/60),c=r%60;if(c>0&&d>0)return"".concat(this._globalizeInstance.formatUnit(d,i.unit,i.options)," ").concat(this._globalizeInstance.formatUnit(c,a.unit,a.options));if(d>0)return this._globalizeInstance.formatUnit(d,i.unit,i.options);return this._globalizeInstance.formatUnit(c,a.unit,a.options);case l.q.RECENCY:let u=new Date(e),f=new Date,_=Math.floor((f.getTime()-u.getTime())/6e4),h=Math.floor(_/60),m=Math.floor(h/24);if(_<2)return this._globalizeInstance.formatRelativeTime(-1,a.unit,{form:"short"});if(h<1)return this._globalizeInstance.formatRelativeTime(-_,a.unit,{form:"short"});if(h<2)return this._globalizeInstance.formatRelativeTime(-1,i.unit,{form:"short"});if(m<1)return this._globalizeInstance.formatRelativeTime(-h,i.unit,{form:"short"});else if(m<2)return this._globalizeInstance.formatRelativeTime(-1,o.M.get(o.U.DAY).unit);else if(m<=3)return this._globalizeInstance.formatRelativeTime(-m,o.M.get(o.U.DAY).unit);else if(u.getUTCFullYear()===f.getUTCFullYear())return this.formatAsDate(u,s.t6.DAY_MONTH_MEDIUM);else return this.formatAsDate(u,s.t6.DAY_MONTH_YEAR_MEDIUM)}}catch(i){throw Error('Error formatting "'.concat(e,'" as "').concat(t,'" with "').concat(n,'" for "').concat(this._formatCode,'": ').concat(i.message," ").concat(i.stack))}}formatAsNumber(e,t){try{let n=d.z.get(t);return this._globalizeInstance.formatNumber(e,null==n?void 0:n.options)}catch(n){throw Error('Error formatting "'.concat(e,'" as "').concat(t,'" for "').concat(this._formatCode,'": ').concat(n.message," ").concat(n.stack))}}formatAsPhoneNumber(e,t){return"".concat(e," (").concat(t,")")}formatAsRelativeTime(e,t){try{let n=c.c.get(t);return this._globalizeInstance.formatRelativeTime(e,n.unit,n.options)}catch(n){throw Error('Error formatting "'.concat(e,'" as "').concat(t,'" for "').concat(this._formatCode,'": ').concat(n.message," ").concat(n.stack))}}formatAsUnit(e,t){try{let n=o.M.get(t);return this._globalizeInstance.formatUnit(e,n.unit,null==n?void 0:n.options)}catch(n){throw Error('Error formatting "'.concat(e,'" as "').concat(t,'" for "').concat(this._formatCode,'": ').concat(n.message," ").concat(n.stack))}}constructor(e,t){if(!(0,i.F)(e))throw Error('Expected format code "'.concat(e,"\" to be a valid 'CanonicalizedCldrLocale'"));this._formatCode=e;let n=(0,a.b)(e);this._globalizeInstance=t(n)}}},84394:function(e,t,n){"use strict";let i,a;n.d(t,{G:function(){return f}});let r=new Set(["Adlm","Afak","Aghb","Ahom","Arab","Aran","Armi","Armn","Avst","Bali","Bamu","Bass","Batk","Beng","Bhks","Blis","Bopo","Brah","Brai","Bugi","Buhd","Cakm","Cans","Cari","Cham","Cher","Chrs","Cirt","Copt","Cpmn","Cprt","Cyrl","Cyrs","Deva","Diak","Dogr","Dsrt","Dupl","Egyd","Egyh","Egyp","Elba","Elym","Ethi","Geok","Geor","Glag","Gong","Gonm","Goth","Gran","Grek","Gujr","Guru","Hanb","Hang","Hani","Hano","Hans","Hant","Hatr","Hebr","Hira","Hluw","Hmng","Hmnp","Hrkt","Hung","Inds","Ital","Jamo","Java","Jpan","Jurc","Kali","Kana","Khar","Khmr","Khoj","Kitl","Kits","Knda","Kore","Kpel","Kthi","Lana","Laoo","Latf","Latg","Latn","Leke","Lepc","Limb","Lina","Linb","Lisu","Loma","Lyci","Lydi","Mahj","Maka","Mand","Mani","Marc","Maya","Medf","Mend","Merc","Mero","Mlym","Modi","Mong","Moon","Mroo","Mtei","Mult","Mymr","Nand","Narb","Nbat","Newa","Nkdb","Nkgb","Nkoo","Nshu","Ogam","Olck","Orkh","Orya","Osge","Osma","Ougr","Palm","Pauc","Pcun","Pelm","Perm","Phag","Phli","Phlp","Phlv","Phnx","Piqd","Plrd","Prti","Psin","Ranj","Rjng","Rohg","Roro","Runr","Samr","Sara","Sarb","Saur","Sgnw","Shaw","Shrd","Shui","Sidd","Sind","Sinh","Sogd","Sogo","Sora","Soyo","Sund","Sylo","Syrc","Syre","Syrj","Syrn","Tagb","Takr","Tale","Talu","Taml","Tang","Tavt","Telu","Teng","Tfng","Tglg","Thaa","Thai","Tibt","Tirh","Tnsa","Toto","Ugar","Vaii","Visp","Vith","Wara","Wcho","Wole","Xpeo","Xsux","Yezi","Yiii","Zanb","Zinh","Zmth","Zsye","Zsym","Zxxx","Zyyy","Zzzz"]),s=new Set(["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu","pseudo"]),o=new Set(["agq","asa","ast","bas","bem","bez","brx","ccp","ceb","cgg","chr","ckb","dav","dje","dsb","dua","dyo","ebu","ewo","fil","fur","gsw","guz","haw","hsb","jgo","jmc","kab","kam","kde","kea","khq","kkj","kln","kok","ksb","ksf","ksh","lag","lkt","lrc","luo","luy","mas","mer","mfe","mgh","mgo","mua","mzn","naq","nds","nmg","nnh","nus","nyn","prg","rof","rwk","sah","saq","sbp","seh","ses","shi","smn","teo","twq","tzm","vai","vun","wae","xog","yav","yue","zgh"]),l=new Set(["AC","AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BU","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CR","CS","CU","CV","CW","CX","CY","CZ","DD","DE","DG","DJ","DK","DM","DO","DZ","EA","EC","EE","EG","EH","ER","ES","ET","EU","EZ","FI","FJ","FK","FM","FO","FR","FX","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","IC","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","NT","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","SU","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TP","TR","TT","TV","TW","TZ","UA","UG","UM","UN","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YD","YE","YT","YU","ZA","ZM","ZR","ZW","LOC","LONG"]),d=new Set(["001","002","003","005","009","011","013","014","015","017","018","019","021","029","030","034","035","039","053","054","057","061","142","143","145","150","151","154","155","202","419"]);function c(e){return(void 0===a&&(a=new Set([...l,...d])),a).has(e)}function u(e){return function(e){let t=e.split("-"),n=t[0];if(!(void 0===i&&(i=new Set([...s,...o])),i).has(n))throw Error('Unrecognized primary language subtag "'.concat(n,'" in IETF BCP 47 language tag "').concat(e,'"'));if(1===t.length)return{primaryLanguageSubtag:n};if(2===t.length){let i=t[1];if(r.has(i))return{primaryLanguageSubtag:n,scriptSubtag:i};if(c(i))return{primaryLanguageSubtag:n,regionSubtag:i};throw Error('Unrecognized script or region subtag "'.concat(i,'" in IETF BCP 47 language tag "').concat(e,'"'))}if(3===t.length){let i=t[1];if(!r.has(i))throw Error('Unrecognized script subtag "'.concat(i,'" in IETF BCP 47 language tag "').concat(e,'"'));let a=t[2];if(!c(a))throw Error('Unrecognized region subtag "'.concat(a,'" in IETF BCP 47 language tag "').concat(e,'"'));return{primaryLanguageSubtag:n,scriptSubtag:i,regionSubtag:a}}throw Error('Too many subtags (max 3) in IETF BCP 47 language tag "'.concat(e,'"'))}(e).primaryLanguageSubtag}class f{get languageCode(){return this._languageCode}get formatCode(){return this._regionBasedFormatCode}get regionBasedFormatCode(){return this._regionBasedFormatCode}get languageBasedFormatCode(){return this._languageBasedFormatCode}constructor(e,t,n,i){let a;"string"!=typeof n?i=null!=i?i:n:(a=n,i={...i,enableHybridLocaleFormatter:!0}),this._languageCode=e,this._regionBasedFormatCode=t,a=null!=a?a:u(e)===u(t)?t:e,this._languageBasedFormatCode=(null==i?void 0:i.enableHybridLocaleFormatter)?a:t}}},69184:function(e,t,n){"use strict";n.d(t,{j:function(){return m}});var i,a,r,s,o=n(71478),l=n(85993),d=n(71239),c=n(35114);(i=r||(r={})).LAND_LINE="LAND_LINE",i.MOBILE="MOBILE",i.INTERNATIONAL="INTERNATIONAL";var u=n(90948),f=n(43314);(a=s||(s={})).CURRENCY="CURRENCY",a.DATE="DATE",a.DURATION="DURATION",a.NUMBER="NUMBER",a.PHONE_NUMBER="PHONE_NUMBER",a.RELATIVE_TIME="RELATIVE_TIME",a.TEXT="TEXT",a.UNIT="UNIT";class _{static partition(e,t){let n=[],i=[];return e.forEach(e=>(t(e)?n:i).push(e)),[n,i]}static partitionByType(e,t){let n=[],i=[];return e.forEach(e=>t(e)?n.push(e):i.push(e)),[n,i]}static hasOwnProperty(e,t){return e.hasOwnProperty(t)}static isDefined(e){return void 0!==e}static isKeyOf(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}class h{get formatCode(){return this._regionBasedFormatter.formatCode}formatAsCurrency(e,t){return this._regionBasedFormatter.formatAsCurrency(e,t)}formatAsDate(e,t){return(l.MA.includes(t)?this._languageBasedFormatter:this._regionBasedFormatter).formatAsDate(e,t)}formatAsDuration(e,t){return this._regionBasedFormatter.formatAsDuration(e,t)}formatAsNumber(e,t){return this._regionBasedFormatter.formatAsNumber(e,t)}formatAsPhoneNumber(e,t){return this._regionBasedFormatter.formatAsPhoneNumber(e,t)}formatAsRelativeTime(e,t){return this._languageBasedFormatter.formatAsRelativeTime(e,t)}formatAsUnit(e,t){return this._languageBasedFormatter.formatAsUnit(e,t)}constructor(e,t){this._regionBasedFormatter=e,this._languageBasedFormatter=t}}class m{static async loadGlobalizerAsync(e,t,n){let[i,a]=await Promise.all([t(e.languageCode),this._createFormatterForContextAsync(e,n)]);return new m(e,i,a)}static async _createFormatterForContextAsync(e,t){if(e.languageBasedFormatCode===e.regionBasedFormatCode)return await t(e.regionBasedFormatCode);{let[n,i]=await Promise.all([t(e.regionBasedFormatCode),t(e.languageBasedFormatCode)]);return new h(n,i)}}get globalizationContext(){return this._globalizationContext}get translator(){return this._translator}get formatter(){return this._formatter}globalize(e){return this.translator.translate(e)}globalizeAccessible(e){return this.translator.translateAccessible(e)}globalizeWithParameters(e,t){return this._globalizeWithParametersInternal(e,t,!1)}globalizeAccessibleWithParameters(e,t){return this._globalizeWithParametersInternal(e,t,!0)}_globalizeWithParametersInternal(e,t,n){let i=this._translator.translationSourceData[e].parameters;if(void 0===i)throw Error('Message key "'.concat(e,'" does not take parameters'));if(void 0===t)throw Error('No parameters provided for message key "'.concat(e,'"'));let a={...t,...this._formatParameters(t,i)};return n?this.translator.translateAccessibleWithParameters(e,a):this.translator.translateWithParameters(e,a)}_formatParameters(e,t){let n={};if(t)for(let[i,a]of Object.entries(t)){if(!_.isKeyOf(e,i))throw Error('No value provided for parameter "'.concat(i,'"'));if(void 0!==a.format&&(n[i]=this._formatParameter(i,e[i],a.type,a.format)),void 0!==a.formatted)for(let[t,r]of Object.entries(a.formatted))n[t]=this._formatParameter(i,e[i],a.type,r)}return n}_formatParameter(e,t,n,i){switch(n){case s.CURRENCY:if(!("object"==typeof t&&null!==t&&_.hasOwnProperty(t,"currencyAmount")&&"number"==typeof t.currencyAmount&&_.hasOwnProperty(t,"currencyCode")&&"string"==typeof t.currencyCode))throw Error('Value given ("'.concat(t,'") for currency parameter "').concat(e,'" is not an ICurrencyValue object'));if(!this._isEnumValue(i,Object.values(o.A)))throw Error('Format given ("'.concat(i,'") for currency parameter "').concat(e,'" is not a CurrencyFormat'));return this._formatter.formatAsCurrency(t,i);case s.DATE:if(!(t instanceof Date))throw Error('Value given ("'.concat(t,'") for date parameter "').concat(e,'" is not a Date object'));if(!this._isEnumValue(i,Object.values(l.t6)))throw Error('Format given ("'.concat(i,'") for date parameter "').concat(e,'" is not a DateFormat'));return this._formatter.formatAsDate(t,i);case s.DURATION:if("number"!=typeof t)throw Error('Value given ("'.concat(t,'") for duration parameter "').concat(e,'" is not a number'));if(!this._isEnumValue(i,Object.values(d.q)))throw Error('Format given ("'.concat(i,'") for duration parameter "').concat(e,'" is not a DurationFormat'));return this._formatter.formatAsDuration(t,i);case s.NUMBER:if("number"!=typeof t)throw Error('Value given ("'.concat(t,'") for number parameter "').concat(e,'" is not a number'));if(!this._isEnumValue(i,Object.values(c.y)))throw Error('Format given ("'.concat(i,'") for number parameter "').concat(e,'" is not a NumberFormat'));return this._formatter.formatAsNumber(t,i);case s.PHONE_NUMBER:if("string"!=typeof t)throw Error('Value given ("'.concat(t,'") for PhoneNumber parameter "').concat(e,'" is not a string'));if(!this._isEnumValue(i,Object.values(r)))throw Error('Format given ("'.concat(i,'") for PhoneNumber parameter "').concat(e,'" is not aPhoneNumberFormat'));return this._formatter.formatAsPhoneNumber(t,i);case s.RELATIVE_TIME:if("number"!=typeof t)throw Error('Value given ("'.concat(t,'") for RelativeTime parameter "').concat(e,'" is not a number'));if(!this._isEnumValue(i,Object.values(u.B)))throw Error('Format given ("'.concat(i,'") for RelativeTime parameter "').concat(e,'" is not a RelativeTimeFormat'));return this._formatter.formatAsRelativeTime(t,i);case s.UNIT:if("number"!=typeof t)throw Error('Value given ("'.concat(t,'") for Unit parameter "').concat(e,'" is not a number'));if(!this._isEnumValue(i,Object.values(f.U)))throw Error('Format given ("'.concat(i,'") for Unit parameter ').concat(e," is not a UnitFormat"));return this._formatter.formatAsUnit(t,i);default:return""+t}}_isEnumValue(e,t){return t.includes(e)}constructor(e,t,n){this._globalizationContext=e,this._translator=t,this._formatter=n}}},27048:function(e,t,n){"use strict";function i(e){return"string"!=typeof e&&!Array.isArray(e)}n.d(t,{$:function(){return s}});var a=n(55245),r=n(3376);class s{get languageCode(){return this._languageCode}get translationSourceData(){return this._translationSourceData}translate(e){return this._translateMessageKey(e)}translateAccessible(e){return this._hasAccessibleVersion(e)?this._translateMessageKey(e+s._ACCESSIBLE_SUFFIX):this._translateMessageKey(e)}_hasAccessibleVersion(e){return void 0!==this._translationSourceData[e].accessibilityTemplate}_translateMessageKey(e){try{return this._compiledMessages.formatMessage(e)}catch(n){let t=Error('Error "'.concat(n.message,'" translating message key "').concat(e,'" into "').concat(this._languageCode,'"'));throw t.name=n.name,t.stack=n.stack,t}}translateWithParameters(e,t){try{return this._compiledMessages.formatMessage(e,t)}catch(i){let n=Error('Error "'.concat(i.message,'" translating accessible message key "').concat(e,'" into "').concat(this._languageCode,'" with parameters "').concat(JSON.stringify(t),'"'));throw n.name=i.name,n.stack=i.stack,n}}translateAccessibleWithParameters(e,t){let n=this._hasAccessibleVersion(e)?e+s._ACCESSIBLE_SUFFIX:e;try{return this._compiledMessages.formatMessage(n,t)}catch(i){let e=Error('Error "'.concat(i.message,'" translating accessible message key "').concat(n,'" into "').concat(this._languageCode,'" with parameters "').concat(JSON.stringify(t),'"'));throw e.name=i.name,e.stack=i.stack,e}}getTemplate(e){let t=this._translatedMessages[e];if(void 0===t)throw Error("Undefined message key [".concat(e,"]"));return i(t)?s._jsonCompatibleStringToString(t.template):s._jsonCompatibleStringToString(t)}getAccessibilityTemplate(e){let t=this._translatedMessages[e];if(void 0===t)throw Error("Undefined message key [".concat(e,"]"));return i(t)?s._jsonCompatibleStringToString(t.accessibilityTemplate):s._jsonCompatibleStringToString(t)}static _jsonCompatibleStringToString(e){return"string"==typeof e?e:e.join("")}constructor(e,t,n,i){if(!(0,a.F)(e))throw Error('Expected language code "'.concat(e,"\" to be a valid 'CanonicalizedCldrLocale'"));this._languageCode=e,this._translationSourceData=t,this._translatedMessages=n;let s=(0,r.b)(e);this._compiledMessages=i(s)}}s._ACCESSIBLE_SUFFIX="___ACCESSIBLE"},90575:function(e,t,n){"use strict";n.d(t,{Yi:function(){return o},bD:function(){return er},R3:function(){return ed},a:function(){return d},lm:function(){return eA},Hu:function(){return eI}});var i,a,r,s,o,l,d,c,u,f=n(29066);(i=o||(o={})).AndroidPhone="android/phone",i.AndroidTablet="android/tablet",i.Allente="allente",i.Chromecast="chromecast",i.Claro="claro",i.Comcast="comcast",i.ComcastFlex="comcastflex",i.ComcastX1="comcastx1",i.ComcastXumo="comcastxumo",i.Cox="cox",i.Desktop="desktop",i.HBBTV="hbbtv",i.IOsPhone="ios/phone",i.IOsTablet="ios/tablet",i.LG="lgtv",i.Playstation="playstation",i.Samsung="samsung",i.Sfr="sfr",i.Skyglass="skyglass",i.Skyq="skyq",i.Telenor="telenor",i.Telenet="telenet",i.VirginMedia="virginmedia",i.Vizio="viziotv",i.Xbox="xbox",i.Xclass="xclass",i.YouView="youview",i.AirtelSTB="airtelstb",i.AllenteSTB="allentestb",i.AndroidTV="androidtv",i.AstroSTB="astrostb",i.CharterSTB="charterstb",i.ClaroSTB="clarostb",i.ComcastSTB="comcaststb",i.CoxSTB="coxstb",i.EliasSTB="eliastb",i.FireTV="firetv",i.FourigSTB="fourigstb",i.FoxtelSTB="foxtelstb",i.FoxtelIQ="foxteliq",i.FoxtelHubbl="foxtelhubbl",i.JiosSTB="jiosstb",i.LGISTB="lgistb",i.Marriott="marriott",i.OrangeSTB="orangestb",i.PanasonicTV="panasonictv",i.RogersSTB="rogersstb",i.SamsungTV="samsungtv",i.SFRSTB="sfrstb",i.SwisscomSTB="swisscomstb",i.TelecomItaliaSTB="telecomitaliastb",i.TelefonicaSTB="telefonicastb",i.TelenetSTB="telenetstb",i.TelenorSTB="telenorstb",i.TeliaSTB="teliastb",i.Titan="titan",i.Tivo="tivo",i.TVSet="tvset",i.Vestel="vestel",i.VIDAA="vidaa",i.VirginO2STB="virgino2stb",i.VodafoneSTB="vodafonestb",i.Web="web",i.XclassTV="xclasstv",i.ZiggoSTB="ziggostb",i.KpnSTB="kpnstb";let _=(e,t)=>{let n,i;return e&&(e.audio&&e.audio.languages&&e.audio.languages.length>0&&(n={language:e.audio.languages[0],type:e.audio.role}),e.text&&e.text.languages&&e.text.languages.length>0&&(i={language:e.text.languages[0],type:e.text.role,enabled:e.text.enabled})),{videoQuality:"best",uiLanguage:t,audio:n,text:i}};var h=n(15589),m=n(86808);let p=e=>{let t=[];return e.audioDecoders.aac&&t.push({codec:h.dg.AAC,profiles:e.audioDecoders.aac.profiles}),e.audioDecoders.ac3&&t.push({codec:h.dg.AC3,profiles:e.audioDecoders.ac3.profiles}),e.audioDecoders.eac3&&t.push({codec:h.dg.EAC3,profiles:e.audioDecoders.eac3.profiles}),t},g=e=>{let t=[];return e.videoDecoders.h264&&t.push({codec:h.iL.H264,profiles:e.videoDecoders.h264.profiles,maxLevel:e.videoDecoders.h264.maxLevel,levelConstraints:{width:{min:0,max:e.displayProperties.playerViewWidth},height:{min:0,max:e.displayProperties.playerViewHeight},framerate:{min:0,max:60}}}),e.videoDecoders.h265&&t.push({codec:h.iL.H265,profiles:e.videoDecoders.h265.profiles,maxLevel:e.videoDecoders.h265.maxLevel,levelConstraints:{width:{min:0,max:e.displayProperties.playerViewWidth},height:{min:0,max:e.displayProperties.playerViewHeight},framerate:{min:0,max:60}}}),t},v=e=>{let t=[],n=e.displayProperties.hdrCapabilities;for(let e=0;e({audio:{decoders:p(e)},video:{decoders:g(e),hdrFormats:v(e)}}),x=e=>{let t={contentDecryptionModules:[]};return e.drmInfo.cdm.clearKey&&t.contentDecryptionModules.push({drmKeySystem:m.L1.CLEARKEY,maxSecurityLevel:void 0}),e.drmInfo.cdm.playready&&t.contentDecryptionModules.push({drmKeySystem:m.L1.PLAYREADY,...e.drmInfo.cdm.playready.level!==h.xi.UNKNOWN&&{maxSecurityLevel:e.drmInfo.cdm.playready.level}}),e.drmInfo.cdm.widevine&&t.contentDecryptionModules.push({drmKeySystem:m.L1.WIDEVINE,maxSecurityLevel:e.drmInfo.cdm.widevine.level}),e.drmInfo.cdm.fairplay&&t.contentDecryptionModules.push({drmKeySystem:m.L1.FAIRPLAY,maxSecurityLevel:"main"}),t},y=e=>{let t=["standard","wide"],n=e.displayProperties.hdrCapabilities;for(let e=0;e({memory:{allocatedMemory:0,freeAvailableMemory:Number.MAX_VALUE},network:{capabilities:{protocols:{http:{byteRangeRequests:!0}}},lastKnownStatus:{networkTransportType:"unknown"}},videoSink:{capabilities:{colorGamuts:y(e),hdrFormats:v(e)},lastKnownStatus:{height:e.displayProperties.screenHeight,width:e.displayProperties.screenWidth}}}),C=e=>({manifests:e.manifests,codecs:b(e),contentProtection:x(e),devicePlatform:k(e)}),S=e=>({height:e.displayProperties.screenHeight,width:e.displayProperties.screenWidth}),E=(e,t,n,i)=>({sdk:{name:t.playerName,version:i},mediaEngine:n,playerView:S(e)}),T=(e,t,n,i)=>({deviceId:e.deviceId,browser:{name:e.browser.name,version:e.browser.version},make:e.make,model:e.model,os:{name:e.os.name,version:e.os.version},platform:e.platform,deviceType:e.deviceType,player:E(t,e,n,i)}),P=(e,t,n,i,a,r,s,o,l)=>{var d,c,u,f;let h;let m=null===(d=e.extras)||void 0===d?void 0:d.PIR_IS_SESSION_AUTOPLAY,p=null===(c=e.extras)||void 0===c?void 0:c.PIR_IS_SESSION_AUTOPLAY_FOR_CONTINUOUS_PLAYBACK,g=null===(u=e.extras)||void 0===u?void 0:u.PIR_IS_SESSION_INITIALLY_MUTED,v="continuous"===e.playbackInitiator?p:m;(null!=g||null!=v)&&(h={autoplay:v,muted:g});let b=(null===(f=e.extras)||void 0===f?void 0:f.idType)==="programId"?e.id:void 0;return{appBundle:a.appBundle,advertisingInfo:n,consumptionType:"streaming",deviceInfo:T(i,t,s,o),...void 0!==b&&{programId:e.id},...void 0===b&&{editId:e.id},capabilities:C(t),gdpr:a.gdpr,firstPlay:a.firstPlay,playbackSessionId:r,playerInitialState:h,applicationSessionId:a.applicationSessionId,userPreferences:_(l,i.uiLanguage),features:["mlp"]}};class w{async getExtraParam(){}constructor(){this.build=(e,t,n,i)=>Promise.resolve()}}(l||(l={})).STREAM_TAG="streamTag",(a=d||(d={})).VOD="vod",a.LIVE="live",a.QUICK_VOD="quickvod",a.FULL_EVENT_REPLAY="fulleventreplay";var A=n(2537),I=n(91160),M=n(79808);let R=e=>"skip"===e||"intro"===e||"re-cap"===e||"end-credits"===e||"up-next"===e,D=e=>e===A.u.PROGRAM||e===A.u.DESCRIPTIVE||e===A.u.AMBIENT_SOUND||e===A.u.ORIGINAL,N=e=>e===I.m.CLOSED_CAPTION||e===I.m.FORCED||e===I.m.SDH||e===I.m.SUBTITLE||e===I.m.SUBTITLE_BURNED,L=e=>{let t={[I.v.WEBVTT]:void 0,[I.v.SMPTE_TT]:void 0,[I.v.CEA_608]:void 0,[I.v.CEA_708]:void 0,[I.v.NONE]:void 0};return void 0===e||e in t},j=e=>{let t=[];if(void 0===e)return[];for(let n=0;n{if(void 0!==e&&D(e.type))return{role:e.type,title:e.title,language:e.language,displayName:e.displayName,forcedTextLanguage:e.forcedTextLanguage,additionalProperties:H(e)}},B=e=>{let t=[];for(let n=0;n{if(void 0!==e&&N(e.type)&&L(e.format))return{role:e.type,language:e.language,displayName:e.displayName,format:e.format,additionalProperties:H(e)}},Z=e=>{let t=[];if(void 0!==e)for(let n=0;n{let t=[];for(let n=0;n{let{widevine:t,playready:n,fairplay:i,clearkey:a}=e,r=[];return(null==t?void 0:t.licenseUrl)&&r.push({schema:m.L1.WIDEVINE,certificateUrl:t.certificateUrl,licenseServerUrl:t.licenseUrl}),(null==i?void 0:i.licenseUrl)&&r.push({schema:m.L1.FAIRPLAY,licenseServerUrl:i.licenseUrl,certificateUrl:i.certificateUrl}),(null==n?void 0:n.licenseUrl)&&r.push({schema:m.L1.PLAYREADY,licenseServerUrl:n.licenseUrl}),(null==a?void 0:a.licenseUrl)&&r.push({schema:m.L1.CLEARKEY,licenseServerUrl:a.licenseUrl}),r},V=e=>{if(void 0===e)return;let t=U(e.schemes),n=(null==e?void 0:e.expirationDate)?new Date(e.expirationDate):void 0,i=[];for(let a of t){let{licenseServerUrl:t,certificateUrl:r,schema:s}=a;i.push({token:"",provider:m.uZ.BOLT,licenseServerUrl:t,certificateUrl:r,isMultiSession:!1,schema:s,expirationReason:e.expirationReason,expirationDate:n})}return i},$=e=>e===m.jx.DASH||e===m.jx.HLS||e===m.jx.MSS||e===m.jx.VIDEO,G=e=>$(e)?e:m.jx.VIDEO,W=e=>{switch(e.streamMode){case d.VOD:case d.QUICK_VOD:case d.FULL_EVENT_REPLAY:return m.Aw.VOD;case d.LIVE:if(e.enableDVR)return m.Aw.START_OVER;return m.Aw.CHANNEL;default:return}},K=(e,t,n,i,a,r,s,o)=>({cdn:t.provider,drm:V(e),mediaRepresentationType:G(n.format),streamInfoType:s,streamMode:W(n),timelinePayload:a,playbackSessionConfig:{features:null!=r?r:[]},url:n.url,videoPeriods:z(i),playlistId:o}),q=e=>e===d.QUICK_VOD||e===d.FULL_EVENT_REPLAY,Y=(e,t,n)=>{var i,a;for(let r of t)if(null===(i=r.reportingProperties)||void 0===i?void 0:i.length){for(let t of r.reportingProperties)if(t.name===l.STREAM_TAG&&(null===(a=t.value)||void 0===a?void 0:a.length)){e[n]=t.value;return}}},X=(e,t,n)=>{var i;let a={transportControlsEnabled:null===(i=e.enableDVR)||void 0===i||i,replayMetadataEnabled:q(e.streamMode),streamModePIR:e.streamMode,watermark:n};return Y(a,t.videos,"primaryStreamTagExperiment"),t.fallback&&Y(a,t.fallback.videos,"fallbackStreamTagExperiment"),a},J=(e,t)=>{let n=e.ssaiInfo?JSON.stringify(e.ssaiInfo):void 0,i=e.fallback.ssaiInfo?JSON.stringify(e.fallback.ssaiInfo):void 0,a=[K(e.drm,e.cdn,e.manifest,e.videos,n,e.capabilities,0,e.playlistId)];return e.fallback&&a.push(K(e.fallback.drm,e.fallback.cdn,e.fallback.manifest,e.fallback.videos,i,e.fallback.capabilities,1,e.fallback.playlistId)),{contentId:t,streamInfos:a,videoAboutToEndMs:void 0,timelinePayload:n,extras:X(e.manifest,e,e.watermark),entitledUntilDate:e.entitledUntilDate?new Date(e.entitledUntilDate):void 0,isComposite:e.isComposite}},Q=e=>{let t=new Map;for(let[n,i]of Object.entries(e))"number"!=typeof i&&t.set(n,i);let n=t.get("default");if(void 0===n)throw Error("missing required default entry");if("number"==typeof n)throw Error("default entry can't be a number");let i=e=>e>=400&&e<=499?"400":e>=500&&e<=599?"500":"",a=e=>{var a,r;return null!==(r=null!==(a=t.get(String(e)))&&void 0!==a?a:t.get(i(e)))&&void 0!==r?r:n},r=()=>{let e=t.get("timeout");return void 0===e&&(e={backoffTimeMs:0,retry_count:0}),e},s=e=>{let t=ee(e);return void 0===t?n:"timeout"===t?r():a(t)},o=e=>{let n=ee(e);if(void 0===n)return"default";if("string"==typeof n)return t.has(n)?n:"default";let a=i(n),r=String(n);return t.has(r)?r:t.has(a)?a:"default"},l=new Map;return{retries:6,retryDelay:(e,t)=>{var n;let i=o(t);return l.set(i,(null!==(n=l.get(i))&&void 0!==n?n:0)+1),s(t).backoffTimeMs},retryCondition:e=>{let t=s(e);if(t.retry_count<=0)return!1;let n=l.get(o(e));return!n||n{if(ei(e,t))return Q(e.pirConfig)},en=(e,t)=>{if(ei(e,t))return{timeout:e.pirConfig.requestTimeoutMs}};function ei(e,t){let n=e.deviceModels,i=e.modelListType;return"inclusive"===i&&n.includes(t)||"exclusive"===i&&!n.includes(t)}let ea="BoltPlaybackInfoResolver";class er{async resolve(e,t,n,i,a,r){var s,o,l,d,c,u;let _=await this._paramsProvider.getExtraParam(n,e,t),h="/any/playback/v1/playbackInfo",m=P(e,t,_,this._deviceMetadata,this._appMetadata,n,i,this._http.sessionConfig.applicationVersion,r),p=et(a,this._deviceMetadata.model),g=en(a,this._deviceMetadata.model),v=Date.now();try{null===(s=this._instrumentationMonitor)||void 0===s||s.startFlow(ea,"PlaybackInfoNetworkRequest",["PlaybackInfoResolution"]);let t=await this._http.post(h,m,g,p);if(void 0!==this._publishNetworkRequest){let e=Date.now(),n=t.request,i={requestStart:v,responseStart:e,responseEnd:e,requestUrl:h,bytesLoaded:null===(o=null==n?void 0:n.responseText)||void 0===o?void 0:o.length,responseType:f.x.COMPLETED,requestHostname:null==n?void 0:n.responseURL,requestType:f.p.VIDEO};this._publishNetworkRequest(i)}return null===(l=this._instrumentationMonitor)||void 0===l||l.completeFlow("PlaybackInfoNetworkRequest"),J(t.data,e.id)}catch(t){let e=t;if(this._http.isHttpError(t)&&(e=function(e){var t,n,i,a,r,s,o,l;let d=null!==(i=null===(n=null===(t=e.response)||void 0===t?void 0:t.config)||void 0===n?void 0:n.url)&&void 0!==i?i:"unknown",c=null!==(r=null===(a=e.response)||void 0===a?void 0:a.status)&&void 0!==r?r:0,u=null===(s=e.response)||void 0===s?void 0:s.data,f=void 0!==u?JSON.stringify(u):void 0,_=null!==(o=e.code)&&void 0!==o?o:e.name,h=e.message;if(function(e){if(void 0===e||!(void 0!==e.errors&&Array.isArray(e.errors)))return!1;if(e.errors.length>0){for(let t=0;ta||a>i)return;t=this._hasPassedCST&&this._creditStartTimeS?this._creditStartTimeS+.001:a/1e3,n=i/1e3}let i=this._contentMetadata.showId,a=this._contentMetadata.videoId,r={editId:this._contentMetadata.id,positionSec:t,runtimeSec:n,videoType:null===(e=this._contentMetadata.videoType)||void 0===e?void 0:e.toLowerCase(),playbackSessionId:this._playbackSessionId,playableStatus:this._playableStatus,creationTimeEpochMs:Date.now()};return void 0!==i||void 0!==a?{...r,programId:a,showId:i,creditsStartTimeSec:this._creditStartTimeS,mainContentDurationSec:n}:r}_reportProgress(){var e,t;let n=Date.now(),i=!1;if((void 0===this._lastReportedTime||n>this._lastReportedTime+this._reportingInterval)&&(i=!0),this._creditStartTimeS&&void 0!==this._lastSeenPlayhead&&(!this._hasPassedCST&&(null===(e=this._lastSeenPlayhead)||void 0===e?void 0:e.contentPlayheadMs)/1e3>this._creditStartTimeS?(this._hasPassedCST=!0,i=!0):(null===(t=this._lastSeenPlayhead)||void 0===t?void 0:t.contentPlayheadMs)/1e3{var n;null===(n=this._logger)||void 0===n||n.d(eo,"Reported playback marker ".concat(t.programId," at time ").concat(t.positionSec)),e>0&&(this._reportingInterval=e)}).catch(e=>{var t,n;null===(t=this._logger)||void 0===t||t.e(eo,"Encountered error reporting: ".concat(null!==(n=e.message)&&void 0!==n?n:""))})}_reset(){this._unsubscribePlaybackProgress(),this._contentMetadata=void 0,this._creditStartTimeS=void 0,this._hasPassedCST=!1,this._creditLengthS=void 0,this._lastReportedTime=void 0,this._lastSeenPlayhead=void 0,this._mainVideoPeriod=void 0,this._playbackSessionId=void 0}_updateCst(e){var t;this._mainVideoPeriod=(0,es.I9)(e);let n=(0,es.y1)(e);if(void 0!==n){let e=(null===(t=this._mainVideoPeriod)||void 0===t?void 0:t.startMs)||0;this._creditStartTimeS=(n-e)/1e3}let i=(0,es.Cd)(e);void 0!==i&&(this._creditLengthS=i/1e3)}_checkIfSeekedPastCredits(){return!!this._lastSeenPlayhead&&!!this._creditStartTimeS&&!!this._creditLengthS&&this._lastSeenPlayhead.contentPlayheadMs/1e3>this._creditStartTimeS+this._creditLengthS}_generatePlaybackCompleteMarker(){var e;if(this._contentMetadata&&this._mainVideoPeriod){let t=this._contentMetadata.showId,n=this._contentMetadata.videoId,i={editId:this._contentMetadata.id,positionSec:this._mainVideoPeriod.durationMs/1e3,runtimeSec:this._mainVideoPeriod.durationMs/1e3,videoType:null===(e=this._contentMetadata.videoType)||void 0===e?void 0:e.toLowerCase(),playbackSessionId:this._playbackSessionId,playableStatus:this._playableStatus,creationTimeEpochMs:Date.now()};return void 0!==t||void 0!==n?{...i,programId:n,showId:t,creditsStartTimeSec:this._creditStartTimeS,mainContentDurationSec:this._mainVideoPeriod.durationMs/1e3}:i}}_subscribe(){this._subscriptions.push(this._eventConsumer.playbackState$.subscribe(e=>{switch(e.playbackEventType){case"PlaybackInfoResolutionStartEvent":this._reset(),this._contentMetadata=e.contentMetadata,this._playbackSessionId=e.playbackSessionId;break;case"PlaybackInfoResolutionEndEvent":if(e.playable){let t=(0,es.r8)(e.playable,0);t&&this._updateCst(t),e.playable.extras&&(this._playableStatus=this._getPlayableStatus(e.playable.extras.streamModePIR))}break;case"FirstFrameRenderEvent":this._updateCst(e.activeStreamInfo),this._subscribePlaybackProgress();break;case"SeekEndEvent":this._checkIfSeekedPastCredits()?this._report(this._generatePlaybackCompleteMarker()):this._report();break;case"PausedEvent":case"PlaybackSessionEndEvent":case"ErrorEvent":this._report();break;case"PlaybackCompleteEvent":this._report(this._generatePlaybackCompleteMarker())}})),this._subscriptions.push(this._eventConsumer.adRollEvent$.subscribe(e=>{"AdRollStart"===e.type&&this._report()}))}_unsubscribe(){this._subscriptions.forEach(e=>e.unsubscribe()),this._subscriptions=[],this._unsubscribePlaybackProgress()}_subscribePlaybackProgress(){this._unsubscribePlaybackProgress(),this._playbackProgressSubscription=this._eventConsumer.playbackProgress$.subscribe(e=>{this._lastSeenPlayhead=e.playheadData,this._reportProgress()})}_unsubscribePlaybackProgress(){var e;null===(e=this._playbackProgressSubscription)||void 0===e||e.unsubscribe(),this._playbackProgressSubscription=void 0}constructor(e,t,n){this._subscriptions=[],this._reportingInterval=6e4,this._hasPassedCST=!1,this._playableStatus=c.VOD,this._eventConsumer=e,this._logger=t,this._progressReporter=n,this._subscribe()}}class ed{create(e,t,n){return new el(e,n,this._progressReporter)}constructor(e){this._progressReporter=e}}var ec=n(50635);n(80183),n(44115),n(2096);var eu=n(50517),ef=n(16551);class e_ extends eu.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.playback.inforesolutionstart_1.0",this.sessionUpdate=ef.I.CONTINUE}}new e_;class eh extends eu.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.playback.inforesolutionend_1.0",this.sessionUpdate=ef.I.CONTINUE}}new eh;class em extends eu.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.playback.firstframerendered_1.1",this.sessionUpdate=ef.I.EXTEND}}new em;class ep extends eu.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.playback.buffer_1.1",this.sessionUpdate=ef.I.CONTINUE}}new ep;var eg=n(97718);let ev={BUSINESS_GEO_BLOCKED:"BUSINESS_GEO_BLOCKED",BUSINESS_CONCURRENT_STREAMS_EXCEEDED:"BUSINESS_CONCURRENT_STREAMS_EXCEEDED",BUSINESS_CONCURRENT_STREAMS_CONTENT_SEGMENT_EXCEEDED:"BUSINESS_CONCURRENT_STREAMS_CONTENT_SEGMENT_EXCEEDED",BUSINESS_BLACKOUT_AREA_ACCESS_DENIED:"BUSINESS_BLACKOUT_AREA_ACCESS_DENIED",BUSINESS_REAUTHENTICATION_REQUIRED:"BUSINESS_REAUTHENTICATION_REQUIRED",BUSINESS_AFTER_PLAYABLE_WINDOW_ACCESS_DENIED:"BUSINESS_AFTER_PLAYABLE_WINDOW_ACCESS_DENIED",BUSINESS_BEFORE_PLAYABLE_WINDOW_ACCESS_DENIED:"BUSINESS_BEFORE_PLAYABLE_WINDOW_ACCESS_DENIED",BUSINESS_PARTNER_ACCESS_DENIED:"BUSINESS_PARTNER_ACCESS_DENIED",BUSINESS_AGE_RESTRICTED_ACCESS_DENIED:"BUSINESS_AGE_RESTRICTED_ACCESS_DENIED",BUSINESS_ENTITLEMENTS_PLAYBACK_DECLINED:"BUSINESS_ENTITLEMENTS_PLAYBACK_DECLINED",BUSINESS_DEVICE_LOCATION_MISSING:"BUSINESS_DEVICE_LOCATION_MISSING",TECHNICAL_NETWORK:"TECHNICAL_NETWORK",TECHNICAL_SERVICE:"TECHNICAL_SERVICE",TECHNICAL_ENGINE:"TECHNICAL_ENGINE",TECHNICAL_UNKNOWN:"TECHNICAL_UNKNOWN"},eb={RECOVERABLE:"RECOVERABLE",USER_FACING:"USER_FACING"};class ex extends eg.G{_buildContentV2(e){return e}_buildErrV2(e){var t,n,i;return{...e,classification:null!==(t=e.classification)&&void 0!==t?t:ev.TECHNICAL_UNKNOWN,id:this._getErrorId(),scope:null!==(n=e.scope)&&void 0!==n?n:eb.USER_FACING,stackTrace:null===(i=e.stackTrace)||void 0===i?void 0:i.slice(0,2e3)}}_buildOmdV2(e){return e}_buildPlaybackV2(e){return e}_build(e){let t={...e,content:this._buildContentV2(e.content),err:this._buildErrV2(e.err),playback:this._buildPlaybackV2(e.playback),omd:this._buildOmdV2(e.omd)};return super._build(t)}constructor(){super(...arguments),this.eventType="beam.errors.playback.playback_2.1",this.sessionUpdate=ef.I.CONTINUE}}new ex;class ey extends eu.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.playback.initiated_3.0",this.sessionUpdate=ef.I.EXTEND}}new ey;class ek extends eu.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.playback.statechange_1.1",this.sessionUpdate=ef.I.EXTEND}}new ek;class eC extends eu.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.playback.chapter_1.1",this.sessionUpdate=ef.I.EXTEND}}new eC;class eS extends eu.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.playback.heartbeat_1.1",this.sessionUpdate=ef.I.EXTEND}}new eS;class eE extends eu.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.playback.seek_1.1",this.sessionUpdate=ef.I.EXTEND}}new eE;class eT extends eu.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.playback.trackselected_1.0",this.sessionUpdate=ef.I.EXTEND}}new eT;class eP extends eu.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.playback.renditionchanged_1.2",this.sessionUpdate=ef.I.CONTINUE}}new eP;class ew extends eu.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.playback.forensics_1.0",this.sessionUpdate=ef.I.CONTINUE}}function eA(e){let t=ec.f;if(e&&"object"==typeof e&&"player_config_resiliency"in e&&e.player_config_resiliency&&"object"==typeof e.player_config_resiliency){let n=e.player_config_resiliency;if("config"in n&&n.config&&"object"==typeof n.config){let e=n.config;if("value"in e&&e.value&&"object"==typeof e.value){let n=e.value;"drm_license"in n&&n.drm_license&&"object"==typeof n.drm_license&&Object.assign(t.value.drm_license,n.drm_license),"engine"in n&&n.engine&&"object"==typeof n.engine&&Object.assign(t.value.engine,n.engine),"pir"in n&&n.pir&&"object"==typeof n.pir&&Object.assign(t.value.pir,n.pir),"version"in n&&n.version&&"string"==typeof n.version&&(t.value.version=n.version)}}}return t}function eI(e){let t={};if(e&&"object"==typeof e){if("player_config_mux_home_region"in e&&e.player_config_mux_home_region&&"object"==typeof e.player_config_mux_home_region){let n=e.player_config_mux_home_region;if("config"in n&&n.config&&"object"==typeof n.config){let e=n.config;"home_region"in e&&e.home_region&&"string"==typeof e.home_region&&(t.homeRegion=e.home_region)}}t.errorCodeMapping=function(e){if("player_config_error_mapping"in e&&e.player_config_error_mapping&&"object"==typeof e.player_config_error_mapping){let t=e.player_config_error_mapping;if("config"in t&&t.config&&"object"==typeof t.config&&0!==Object.keys(t.config).length){let e=t.config;if("value"in e&&e.value&&"object"==typeof e.value)return e.value}}}(e)}return t}new ew,n(24764),eb.RECOVERABLE,ev.TECHNICAL_NETWORK,eb.USER_FACING,ev.TECHNICAL_ENGINE,eb.USER_FACING,ev.TECHNICAL_SERVICE,eb.RECOVERABLE,ev.BUSINESS_GEO_BLOCKED,eb.RECOVERABLE,ev.BUSINESS_CONCURRENT_STREAMS_EXCEEDED,eb.RECOVERABLE,ev.BUSINESS_CONCURRENT_STREAMS_CONTENT_SEGMENT_EXCEEDED,eb.RECOVERABLE,ev.BUSINESS_BLACKOUT_AREA_ACCESS_DENIED,eb.RECOVERABLE,ev.BUSINESS_REAUTHENTICATION_REQUIRED,eb.RECOVERABLE,ev.BUSINESS_AFTER_PLAYABLE_WINDOW_ACCESS_DENIED,eb.RECOVERABLE,ev.BUSINESS_BEFORE_PLAYABLE_WINDOW_ACCESS_DENIED,eb.RECOVERABLE,ev.BUSINESS_ENTITLEMENTS_PLAYBACK_DECLINED,eb.RECOVERABLE,ev.BUSINESS_PARTNER_ACCESS_DENIED,eb.RECOVERABLE,ev.BUSINESS_AGE_RESTRICTED_ACCESS_DENIED,eb.RECOVERABLE,ev.BUSINESS_DEVICE_LOCATION_MISSING,n(84248),n(39693)},2537:function(e,t,n){"use strict";var i,a;n.d(t,{u:function(){return i}}),(a=i||(i={})).PROGRAM="program",a.DESCRIPTIVE="descriptive",a.ORIGINAL="original",a.AMBIENT_SOUND="ambient sound"},2096:function(e,t,n){"use strict";var i,a;n.d(t,{o:function(){return i}}),(a=i||(i={})).SDR="sdr",a.HDR10="hdr10",a.DOLBY_VISION="dolbyvision",a.UNKNOWN="unknown"},29066:function(e,t,n){"use strict";var i,a,r,s;n.d(t,{p:function(){return a},x:function(){return i}}),(r=i||(i={})).CANCELED="canceled",r.COMPLETED="completed",r.FAILED="failed",(s=a||(a={})).AUDIO="audio",s.AUDIO_INIT="audio_init",s.ENCRYPTION="encryption",s.MANIFEST="manifest",s.MEDIA="media",s.SUBTITLE="subtitle",s.VIDEO="video",s.VIDEO_INIT="video_init"},86808:function(e,t,n){"use strict";var i,a,r,s,o,l,d,c,u,f;n.d(t,{Aw:function(){return o},L1:function(){return r},jx:function(){return i},uZ:function(){return a}}),(l=i||(i={})).DASH="dash",l.HLS="hls",l.MSS="mss",l.VIDEO="video",(d=a||(a={})).VERIZON="verizon",d.CONAX="conax",d.BOLT="bolt",(c=r||(r={})).WIDEVINE="widevine",c.PLAYREADY="playready",c.FAIRPLAY="fairplay",c.CLEARKEY="clearkey",(u=s||(s={})).WISTERIA="wisteria",u.GTP="gtp",u.GPS="gps",(f=o||(o={})).LIVE="LIVE",f.START_OVER="START_OVER",f.START_OVER_ON_NOW="START_OVER_ON_NOW",f.VOD="VOD",f.CHANNEL="CHANNEL"},50635:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});let i={device_models_rule:{device_models:[],model_list_type:"exclusive"},value:{drm_license:{},engine:{network:{}},pir:{default:{backoffTimeMs:0,retry_count:0},requestTimeoutMs:2e4},version:""}}},91160:function(e,t,n){"use strict";var i,a,r,s;n.d(t,{m:function(){return i},v:function(){return a}}),(r=i||(i={})).CLOSED_CAPTION="closedcaptions",r.SUBTITLE="subtitles",r.SUBTITLE_BURNED="subtitles-burned",r.FORCED="forced",r.SDH="sdh",(s=a||(a={})).WEBVTT="webvtt",s.SMPTE_TT="smpte-tt",s.CEA_608="cea-608",s.CEA_708="cea-708",s.NONE="none"},79808:function(e,t,n){"use strict";var i;n.d(t,{M:function(){return i}}),(i||(i={})).PIR_TRACK_ADDITIONAL_PROPERTIES_TAG_KEY="PIR_TRACK_ADDITIONAL_PROPERTIES_TAG_KEY"},71516:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});let i={instrumentationEnabled:!1,maxInstrumentationDepth:0,instrumentationServiceUrl:void 0,sinkBatchTimeoutMs:5e3,sinkMaxReportsPerBatch:50,enableISDKEvents:!1,enabledSinks:{}}},24914:function(e,t,n){"use strict";var i,a;n.d(t,{c:function(){return i}}),(a=i||(i={})).START="start",a.END="end",a.LEFT="left",a.CENTER="center",a.RIGHT="right"},44115:function(e,t,n){"use strict";var i,a;n.d(t,{P:function(){return i},a:function(){return r}}),(a=i||(i={})).LoadInterruptReason="LOAD_INTERRUPTED",a.EntitlementsExpiredReason="EntitlementsExpired",a.ContentUnavailableReason="ContentUnavailable";let r=e=>"PlaybackInfoResolutionStartEvent"===e||"PlaybackInfoResolutionEndEvent"===e||"FirstFrameRenderEvent"===e||"PlayingEvent"===e||"PausedEvent"===e||"BufferingStartEvent"===e||"BufferingEndEvent"===e||"SeekStartEvent"===e||"SeekEndEvent"===e||"PlaybackSessionEndEvent"===e||"PlaybackSessionInvalidatedEvent"===e||"PlaybackCompleteEvent"===e||"ErrorEvent"===e||"PlaybackSessionInitiatedEvent"===e},39693:function(e,t,n){"use strict";n.d(t,{c:function(){return l}});var i=n(80183),a=n(68604);class r{initialize(){let{applicationName:e,applicationVersion:t,platform:n,deviceModel:a}=i.C.instance.getClientContextualData();this._applicationName=e,this._applicationVersion=t,this._platform=n,this._deviceModel=a}_createInstrumentationPayload(e){var t,n,i,a;let r=null===(t=e.playable)||void 0===t?void 0:t.streamInfos.find(t=>t.streamInfoType===e.streamInfoType);return{clientTimestamp:e.creationTimestampMs,applicationName:this._applicationName,applicationVersion:this._applicationVersion,platform:this._platform,deviceModel:this._deviceModel,component:e.component,flowIdentifier:e.flowIdentifier,flowName:e.flowName,flowUri:e.flowUri,flowState:e.flowState,flowStartTime:e.flowStartTimeMs,flowEndTime:e.flowEndTimeMs,flowDuration:e.flowDurationMs,playbackSessionId:e.playbackSessionId,contentId:null===(n=e.contentMetadata)||void 0===n?void 0:n.id,contentUrl:null==r?void 0:r.url,contentType:null==r?void 0:r.streamMode,cancellationReason:e.flowCancellationReason,errorMessage:null===(i=e.flowErrorCause)||void 0===i?void 0:i.message,errorStackTrace:null===(a=e.flowErrorCause)||void 0===a?void 0:a.stack,errorIsRecoverable:e.flowErrorIsRecoverable}}event(e){}constructor(){this._applicationName="unknown",this._applicationVersion="unknown",this._platform="unknown",this._deviceModel="unknown"}}class s extends r{initialize(){super.initialize()}flush(){this._logger.d("I13n","Instrumentation reporter sink flush called.")}instrument(e){let t=super._createInstrumentationPayload(e);this._logger.d("I13n-".concat(t.component),JSON.stringify(t))}isEnabled(){return void 0!==i.C.instance.getInstrumentationConfiguration().enabledSinks.PSDK_CONSOLE}constructor(){super(...arguments),this._logger=new a.k}}class o extends r{initialize(){super.initialize(),this._endpointUrl=i.C.instance.getInstrumentationConfiguration().instrumentationServiceUrl,this._startTimer()}_sendBatch(e){void 0!==this._endpointUrl&&(fetch(this._endpointUrl,{method:"POST",body:JSON.stringify(this._reportBuffer),headers:{"Content-type":"application/json"}}).catch(e=>{console.warn("Instrumentation data failed to fetch",e,this._reportBuffer)}),this._reportBuffer=[],e&&(clearInterval(this._batchTimer),this._startTimer()))}_startTimer(){this._batchTimer=setInterval(()=>{this._reportBuffer.length>0&&this._sendBatch(!1)},i.C.instance.getInstrumentationConfiguration().sinkBatchTimeoutMs)}flush(){this._sendBatch(!0)}instrument(e){if(void 0===this._endpointUrl)return;let t=super._createInstrumentationPayload(e);this._reportBuffer.push(t),this._reportBuffer.length>=i.C.instance.getInstrumentationConfiguration().sinkMaxReportsPerBatch&&this._sendBatch(!0)}isEnabled(){return void 0!==i.C.instance.getInstrumentationConfiguration().enabledSinks.PSDK_NETWORK}constructor(){super(...arguments),this._reportBuffer=[]}}class l{getReporterSinks(){return[new o,new s].filter(e=>e.isEnabled())}}},68604:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});class i{teardown(){}d(e,t){this._levelCapping<=0&&console.debug("".concat(e," | ").concat(t))}w(e,t,n){this._levelCapping<=1&&console.warn("".concat(e," | ").concat(t),n)}e(e,t,n){this._levelCapping<=2&&console.error("".concat(e," | ").concat(t),n)}constructor(e=0){this._levelCapping=0,this._levelCapping=e}}},15589:function(e,t,n){"use strict";var i,a,r,s,o,l,d,c,u,f;n.d(t,{YH:function(){return s},dg:function(){return a},ho:function(){return r},iL:function(){return i},xi:function(){return o}}),(l=i||(i={})).H265="h265",l.H264="h264",(d=a||(a={})).AAC="aac",d.AC3="ac3",d.EAC3="eac3",(c=r||(r={})).HDR10="HDR10",c.DOLBY_VISION="DOLBY_VISION",c.SDR="SDR",c.HLG="HLG",(u=s||(s={})).L1="l1",u.L2="l2",u.L3="l3",(f=o||(o={})).UNKNOWN="unknown",f.SL150="sl150",f.SL2000="sl2000",f.SL3000="sl3000"},80183:function(e,t,n){"use strict";n.d(t,{C:function(){return d}});var i=n(71516),a=n(73117);class r{addPlayerInstance(e){this._playerInstances.has(e.playerId)||(this._playerInstances.set(e.playerId,e),this.playerRegistration$.next({player:e,eventType:"Added"}))}removePlayerInstance(e){this._playerInstances.delete(e.playerId)&&this.playerRegistration$.next({player:e,eventType:"Removed"})}constructor(e){this.playerRegistration$=new a.x,this._playerInstances=e}}class s{getPlayerInstances(){return Array.from(this._playerInstances.values())}getPlayerInstance(e){return this._playerInstances.get(e)}getPlayerInstanceCount(){return this._playerInstances.size}get internal(){return this._playerManagerInternal}constructor(){this._playerInstances=new Map,this._playerManagerInternal=new r(this._playerInstances)}}var o=n(52803);class l{init(){d.instance.getPlayerManager().internal.playerRegistration$.subscribe(e=>{"Added"===e.eventType?this._onPlayerAdded(e.player):this._onPlayerRemoved(e.player)})}requestAudioFocus(e){var t,n;return this._playerWithAudioFocus!==e&&(this._playerWithAudioFocus&&(null===(t=d.instance.getPlayerManager().getPlayerInstance(this._playerWithAudioFocus))||void 0===t||t.volumeControls().setMute(!0)),null===(n=d.instance.getPlayerManager().getPlayerInstance(e))||void 0===n||n.volumeControls().setMute(!1),this._playerWithAudioFocus=e,!0)}releaseAudioFocus(e){var t;this._playerWithAudioFocus===e&&(null===(t=d.instance.getPlayerManager().getPlayerInstance(this._playerWithAudioFocus))||void 0===t||t.volumeControls().setMute(!0),this._playerWithAudioFocus=void 0)}getPlayerWithAudioFocus(){var e;if(this._playerWithAudioFocus)return null!==(e=d.instance.getPlayerManager().getPlayerInstance(this._playerWithAudioFocus))&&void 0!==e?e:void 0}_handleAudioStateChange(e){0===e.currentVolume?this._playerWithAudioFocus===e.playerId&&(this._playerWithAudioFocus=void 0):this._playerWithAudioFocus=e.playerId}_onPlayerAdded(e){let t=e.events().volumeChange$.subscribe(e=>{this._handleAudioStateChange(e)});this._volumeChangeSubscriptions.set(e.playerId,t)}_onPlayerRemoved(e){var t;null===(t=this._volumeChangeSubscriptions.get(e.playerId))||void 0===t||t.unsubscribe(),this._volumeChangeSubscriptions.delete(e.playerId)}constructor(){this._volumeChangeSubscriptions=new Map}}class d{static get instance(){return d._instance}initialize(e){!0!==this._initialized&&(this._initialized=!0,this._contextualData=e.clientContextualData,this._instrumentationConfiguration=e.instrumentationConfiguration,this._localizationProvider=e.localizationProvider,this._networkStatusMonitor=e.networkStatusMonitor,this._epgContentMetadataUpdater=e.epgContentMetadataUpdater,o.b.instance.initialize(e.reporterSinkProvider.getReporterSinks()),this._audioFocusManager.init())}getClientContextualData(){return this._contextualData}setInstrumentationConfiguration(e){this._instrumentationConfiguration=e}getInstrumentationConfiguration(){return this._instrumentationConfiguration}getPlayerManager(){return this._playerManager}getAudioFocusManager(){return this._audioFocusManager}getNetworkStatusMonitor(){if(this._initialized)return this._networkStatusMonitor}getLocalizationProvider(){return this._localizationProvider}getEpgContentMetadataUpdater(){return this._epgContentMetadataUpdater}constructor(){this._initialized=!1,this._contextualData={applicationName:"unknown",applicationVersion:"unknown",platform:"unknown",deviceModel:"unknown"},this._instrumentationConfiguration=i.i,this._playerManager=new s,this._audioFocusManager=new l}}d._instance=new d},47206:function(e,t,n){"use strict";var i,a;n.d(t,{w:function(){return i}}),(a=i||(i={}))[a.CLOSED=0]="CLOSED",a[a.PREPARING=1]="PREPARING",a[a.PREPARED=2]="PREPARED",a[a.PLAYING=3]="PLAYING",a[a.PAUSED=4]="PAUSED",a[a.SEEKING=5]="SEEKING",a[a.BUFFERING=6]="BUFFERING",a[a.ENDED=7]="ENDED",a[a.ERROR=8]="ERROR",a[a.UNKNOWN=9]="UNKNOWN"},81888:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});let i=(e,t,n)=>{let i=n||{};if(e&&Object.keys(i).some(t=>t===e)&&"error.internet.no.connection"!==t){let n=i[e];if(n.length){let e=n.filter(e=>e.original_code===t);return(e.length?e[0].mux_error_code:1000999).toString()}}else if("error.internet.no.connection"===t)return"9000000";return t}},52803:function(e,t,n){"use strict";n.d(t,{b:function(){return l}});var i=n(18906),a=n(19403),r=n(6856),s=n(86808);class o{updateSubscriptions(){this._subscriptions.push(this._eventConsumer.playbackState$.subscribe(e=>{var t;switch(e.playbackEventType){case"PlaybackInfoResolutionStartEvent":this._reset(),this._playbackSessionId=e.playbackSessionId,this._contentMetadata=e.contentMetadata;break;case"PlaybackInfoResolutionEndEvent":this._playable=e.playable;break;case"FirstFrameRenderEvent":{this._streamType=e.activeStreamInfo.streamInfoType;let n=e.activeStreamInfo;if(n.videoAboutToEndMs)this._contentCompletePositionMs=n.videoAboutToEndMs;else{let e;null===(t=n.videoPeriods)||void 0===t||t.forEach(t=>{"main"===t.type&&(!e||t.startMs>e.startMs)&&(e=t)}),this._contentCompletePositionMs=e?e.startMs+e.durationMs:void 0}}}this._emitEvent(e)}),this._eventConsumer.playbackProgress$.subscribe(e=>{var t;this._lastPlayheadData=e.playheadData,this._emitPlayheadUpdatedEvent(e),!((null===(t=this._contentMetadata)||void 0===t?void 0:t.initialStreamMode)!==s.Aw.VOD)&&this._playbackSessionId&&this._contentCompletePositionMs&&e.playheadData.contentPlayheadMs>=this._contentCompletePositionMs-500&&this._emitEvent({playerId:e.playerId,playbackSessionId:this._playbackSessionId,timestamp:Date.now(),playbackEventType:"PlaybackSessionEndEvent"})}),this._eventConsumer.timelineUpdate$.subscribe(e=>{this._lastKnownDurationMs=e.contentDurationMs}),this._eventConsumer.selectedAudioTrack$.subscribe(e=>{this._lastKnownAudioTrackLanguage=e.selectedAudioTrack.language,this._lastKnownAudioTrackRole=e.selectedAudioTrack.role,this._emitAudioTrackSelectedEvent(e)}),this._eventConsumer.selectedTextTrack$.subscribe(e=>{var t,n;this._lastKnownTextTrackLanguage=null===(t=e.selectedTextTrack)||void 0===t?void 0:t.language,this._lastKnownTextTrackRole=null===(n=e.selectedTextTrack)||void 0===n?void 0:n.role,this._emitTextTrackSelectedEvent(e)}),(0,i.T)(this._eventConsumer.videoCodecChange$.pipe((0,a.U)(e=>({name:"videoCodecChange",event:e}))),this._eventConsumer.videoSizeChange$.pipe((0,a.U)(e=>({name:"videoSizeChange",event:e}))),this._eventConsumer.videoFramerateChange$.pipe((0,a.U)(e=>({name:"videoFramerateChange",event:e}))),this._eventConsumer.videoBitrateChange$.pipe((0,a.U)(e=>({name:"videoBitrateChange",event:e})))).pipe((0,r.e)(300)).subscribe(e=>{if(e.length>0){let t=0;e.forEach(e=>{switch(e.event.timestamp>t&&(t=e.event.timestamp),e.name){case"videoCodecChange":this._lastKnownVideoCodec=e.event.videoCodec;break;case"videoSizeChange":this._lastKnownVideoHeight=e.event.videoHeight,this._lastKnownVideoWidth=e.event.videoWidth;break;case"videoFramerateChange":this._lastKnownVideoFramerate=e.event.videoFrameRate;break;case"videoBitrateChange":this._lastKnownVideoBitrate=e.event.videoBitrate}}),this._emitRenditionUpdatedEvent(t)}})),this._subscriptions.push(this._eventConsumer.playerError$.subscribe(e=>{this._emitEvent(e)}))}destroy(){for(let e of this._subscriptions)e.unsubscribe();this._subscriptions=[]}_emitPlayheadUpdatedEvent(e){l.instance.event({playerId:this._playerId,creationTimestampMs:e.timestamp,component:"PlayerCore",eventName:"PlayheadUpdated",payload:e.playheadData})}_emitTextTrackSelectedEvent(e){var t,n;l.instance.event({playerId:this._playerId,creationTimestampMs:e.timestamp,component:"PlayerCore",eventName:"TextTrackUpdated",payload:{...this._getPlaybackReportData(),textTrackLanguage:null===(t=e.selectedTextTrack)||void 0===t?void 0:t.language,textTrackRole:null===(n=e.selectedTextTrack)||void 0===n?void 0:n.role}})}_emitAudioTrackSelectedEvent(e){l.instance.event({playerId:this._playerId,creationTimestampMs:e.timestamp,component:"PlayerCore",eventName:"AudioTrackUpdated",payload:{...this._getPlaybackReportData(),audioTrackLanguage:e.selectedAudioTrack.language,audioTrackRole:e.selectedAudioTrack.role}})}_emitRenditionUpdatedEvent(e){l.instance.event({playerId:this._playerId,creationTimestampMs:e,component:"PlayerCore",eventName:"RenditionUpdated",payload:{...this._getPlaybackReportData()}})}_emitEvent(e){let t=e.timestamp,n=e.playbackEventType;l.instance.event({playerId:this._playerId,creationTimestampMs:t,component:"PlayerCore",eventName:n,payload:{...e,...this._getPlaybackReportData()}})}_getPlaybackReportData(){return{contentDuration:this._lastKnownDurationMs,playheadData:this._lastPlayheadData,textTrackLanguage:this._lastKnownTextTrackLanguage,textTrackRole:this._lastKnownTextTrackRole,audioTrackLanguage:this._lastKnownAudioTrackLanguage,audioTrackRole:this._lastKnownAudioTrackRole,videoCodec:this._lastKnownVideoCodec,videoHeight:this._lastKnownVideoHeight,videoWidth:this._lastKnownVideoWidth,videoFrameRate:this._lastKnownVideoFramerate,videoBitrate:this._lastKnownVideoBitrate}}_reset(){this._lastKnownDurationMs=void 0,this._lastPlayheadData=void 0,this._lastKnownTextTrackLanguage=void 0,this._lastKnownTextTrackRole=void 0,this._lastKnownAudioTrackLanguage=void 0,this._lastKnownAudioTrackRole=void 0,this._lastKnownVideoCodec=void 0,this._lastKnownVideoHeight=void 0,this._lastKnownVideoWidth=void 0,this._lastKnownVideoFramerate=void 0,this._lastKnownVideoBitrate=void 0,this._contentCompletePositionMs=void 0}constructor(e,t){this._playerId=t,this._eventConsumer=e,this._streamType=0,this._subscriptions=[],this.updateSubscriptions()}}class l{static get instance(){return l._instance}initialize(e){if(!0!==this._initialized){for(let t=0;t-1&&this._reporterSinks.splice(t,1)}instrument(e){if(!1!==this._initialized)for(let t=0;t{if(void 0!==e.videoPeriods)for(let t=0;t{var t;let n=null===(t=i(e))||void 0===t?void 0:t.annotations;if(void 0===n)return;let a=0;for(let e=0;e0)return a},r=e=>{var t;let n=null===(t=i(e))||void 0===t?void 0:t.annotations;if(void 0===n)return;let a=0,r=0;for(let e=0;e0&&r>0)return r-a},s=(e,t)=>e.streamInfos.find(e=>e.streamInfoType===t),o=(e,t)=>{let n=t.videoPeriods;if(void 0!==n)for(let t=n.length-1;t>=0;t--){let i=n[t];if(i.startMs<=e)return i}},l=(e,t,n,i)=>{var a;if(void 0===e||void 0===t)return[];let r=[],s=null!==(a=e.videoPeriods)&&void 0!==a?a:[];for(let e=0;e=t.endTime&&e===r.length-1){r.push(...n.children);break}}}}return r}},26716:function(e,t,n){"use strict";n.d(t,{$V:function(){return s},N1:function(){return r},Ro:function(){return o}});let i=e=>({hh:Math.floor(e/36e5%60),mm:Math.floor(e/6e4%60),ss:Math.floor(e/1e3%60)}),a={leadingZero:{hours:!1,minutes:!1}},r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;if(void 0===e)return{hh:"",mm:"",ss:""};let n=e=>e<10?"0"+e:e.toString(),{hh:r,mm:s,ss:o}=i(e);return r>0?{hh:t.leadingZero.hours?n(r):r.toString(),mm:n(s),ss:n(o)}:{hh:"",mm:t.leadingZero.minutes?n(s):s.toString(),ss:n(o)}},s=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.MAX_VALUE;return{seekableRangeStart:Math.max(e,n),seekableRangeEnd:Math.min(t,i)}},o=e=>{if(e)return new Date(e).valueOf()}},52728:function(e,t,n){"use strict";n.d(t,{BE:function(){return oY},YU:function(){return nt},pX:function(){return ux},LC:function(){return tx},qv:function(){return oH},pe:function(){return lY},hi:function(){return f1},tz:function(){return o0},TS:function(){return d0},kL:function(){return cx},T2:function(){return ty}}),(S=A||(A={})).WHITE="WHITE",S.BLACK="BLACK",S.RED="RED",S.GREEN="GREEN",S.BLUE="BLUE",S.YELLOW="YELLOW",S.MAGENTA="MAGENTA",S.CYAN="CYAN",(E=I||(I={}))[E.PERCENT_000=0]="PERCENT_000",E[E.PERCENT_025=.25]="PERCENT_025",E[E.PERCENT_033=.33]="PERCENT_033",E[E.PERCENT_050=.5]="PERCENT_050",E[E.PERCENT_066=.66]="PERCENT_066",E[E.PERCENT_075=.75]="PERCENT_075",E[E.PERCENT_100=1]="PERCENT_100",(T=M||(M={})).NONE="NONE",T.RAISED="RAISED",T.DEPRESSED="DEPRESSED",T.UNIFORM="UNIFORM",T.DROP_SHADOW="DROP_SHADOW",T.DEFAULT="NONE",(P=R||(R={})).EXTRA_LARGE="EXTRA_LARGE",P.LARGE="LARGE",P.MEDIUM="MEDIUM",P.SMALL="SMALL",P.TINY="TINY",(w=D||(D={})).TYPE="TYPE",w.SERIF="SERIF",w.MONOSPACED="MONOSPACED",w.SANS_SERIF="SANS_SERIF",w.CASUAL="CASUAL",w.SCRIPT="SCRIPT",w.SMALL_CAPS="SMALL_CAPS",w.DEFAULT="SANS_SERIF";var i,a,r,s,o,l,d,c,u,f,_,h,m,p,g,v,b,x,y,k,C,S,E,T,P,w,A,I,M,R,D,N,L,j,O,B,F,Z,z,H,U,V,$,G,W,K,q,Y,X,J,Q,ee,et=n(90991),en=n(27069),ei=n(24914),ea=n(72163),er=n(18366),es=n(8898);(i=N||(N={}))[i._01=0]="_01",i[i._02=440]="_02",i[i._03=600]="_03",i[i._04=800]="_04",i[i._05=1100]="_05",i[i._06=1400]="_06",i[i._07=1800]="_07";let eo=()=>"undefined"!=typeof CSS&&void 0!==CSS.supports&&"function"==typeof CSS.supports&&!0===CSS.supports("container-type","size"),el={_02:"@media (min-width: ".concat(N._02,"px)"),_03:"@media (min-width: ".concat(N._03,"px)"),_04:"@media (min-width: ".concat(N._04,"px)"),_05:"@media (min-width: ".concat(N._05,"px)"),_06:"@media (min-width: ".concat(N._06,"px)"),_07:"@media (min-width: ".concat(N._07,"px)")},ed={_02:"@container (width >= ".concat(N._02,"px)"),_03:"@container (width >= ".concat(N._03,"px)"),_04:"@container (width >= ".concat(N._04,"px)"),_05:"@container (width >= ".concat(N._05,"px)"),_06:"@container (width >= ".concat(N._06,"px)"),_07:"@container (width >= ".concat(N._07,"px)")},ec={get _02(){if(eo())return ed._02;return el._02},get _03(){if(eo())return ed._03;return el._03},get _04(){if(eo())return ed._04;return el._04},get _05(){if(eo())return ed._05;return el._05},get _06(){if(eo())return ed._06;return el._06},get _07(){if(eo())return ed._07;return el._07}},eu={background:{alt:{surface_00:"rgb(255, 255, 255)",surface_01:"rgb(221, 221, 221)",surface_01_film:"rgba(221, 221, 221, 0.95)",surface_01_glass:"rgba(221, 221, 221, 0.06)"},base:{scrim_01:"rgba(0, 0, 0, 0.7)",scrim_02:"rgba(0, 0, 0, 0.4)",surface_00:"rgb(0, 0, 0)",surface_00_smoke:"rgba(0, 0, 0, 0.8)",surface_01:"rgb(15, 15, 15)",surface_01_film:"rgba(15, 15, 15, 0.98)",surface_01_smoke:"rgba(15, 15, 15, 0.9)",surface_02:"rgb(25, 25, 25)",surface_03:"rgb(40, 40, 40)",surface_accent:"rgb(18, 18, 18)"}},button:{fill_loud:"rgb(221, 221, 221)",fill_loud_hover:"rgb(255, 255, 255)",fill_quiet:"rgba(62, 62, 62, 0.75)",fill_quiet_hover:"rgba(74, 74, 74, 0.85)",label_loud:"rgb(0, 0, 0)",outline_quiet:"rgba(0, 0, 0, 0)",outline_quiet_hover:"rgba(0, 0, 0, 0)"},fill:{action_accent:"rgb(80, 143, 195)",action_accent_dim:"rgba(36, 36, 36, 0.88)",action_accent_film:"rgba(221, 221, 221, 0.06)",action_default:"rgba(255, 255, 255, 0.2)",action_disabled_01:"rgba(255, 255, 255, 0.05)",action_disabled_02:"rgba(255, 255, 255, 0.2)",action_light:"rgba(255, 255, 255, 0.1)",action_quiet:"rgba(170, 170, 170, 0.3)",action_shade:"rgba(0, 0, 0, 0.2)",brand_dark:"rgb(3, 3, 3)",indicator_advertisement:"rgb(250, 255, 17)",indicator_background:"rgba(255, 255, 255, 0.3)",indicator_foreground:"rgb(255, 255, 255)",indicator_live:"rgb(186, 35, 108)",indicator_quiet:"rgb(65, 65, 65)",notify_error:"rgba(255, 76, 76, 0.15)",notify_message:"rgb(79, 105, 132)",skeleton:"rgba(65, 65, 65, 0.6)",skeleton_pressed:"rgba(25, 25, 25, 0.8)"},foreground:{onalt:{text_01:"rgb(0, 0, 0)",text_02:"rgba(0, 0, 0, 0.8)",text_03:"rgba(0, 0, 0, 0.7)"},onbase:{text_01:"rgb(255, 255, 255)",text_02:"rgba(255, 255, 255, 0.8)",text_03:"rgba(255, 255, 255, 0.7)",text_action_accent:"rgb(113, 184, 242)",text_action_accent_pressed:"rgb(80, 143, 195)",text_notify_error:"rgb(255, 109, 100)",text_notify_message:"rgb(255, 255, 255)"}},keyboard:{focus_alt:"rgb(0, 0, 0)",focus_base:"rgb(255, 255, 255)"},stroke:{onbase:{outline_01:"rgb(255, 255, 255)",outline_02:"rgba(255, 255, 255, 0.7)",outline_03:"rgba(255, 255, 255, 0.5)",outline_04:"rgba(255, 255, 255, 0.3)"}},transparent:"rgba(0, 0, 0, 0)"};function ef(){let e=(0,er._)(["\n background: linear-gradient(\n 0deg,\n rgba(0, 0, 0, 0.7),\n rgba(0, 0, 0, 0.237925),\n rgba(0, 0, 0, 0.11),\n rgba(0, 0, 0, 0.07)\n );\n"]);return ef=function(){return e},e}function e_(){let e=(0,er._)(["\n background: linear-gradient(\n 180deg,\n rgba(0, 0, 0, 0.5) 0.48%,\n rgba(0, 0, 0, 0.489585) 5.05%,\n rgba(0, 0, 0, 0.478015) 9.14%,\n rgba(0, 0, 0, 0.4648) 12.93%,\n rgba(0, 0, 0, 0.449452) 16.58%,\n rgba(0, 0, 0, 0.431481) 20.29%,\n rgba(0, 0, 0, 0.4104) 24.2%,\n rgba(0, 0, 0, 0.385719) 28.51%,\n rgba(0, 0, 0, 0.356948) 33.38%,\n rgba(0, 0, 0, 0.3236) 38.98%,\n rgba(0, 0, 0, 0.285185) 45.49%,\n rgba(0, 0, 0, 0.241215) 53.08%,\n rgba(0, 0, 0, 0.1912) 61.93%,\n rgba(0, 0, 0, 0.134652) 72.2%,\n rgba(0, 0, 0, 0.0710815) 84.07%,\n rgba(0, 0, 0, 0) 97.71%\n );\n"]);return e_=function(){return e},e}(0,es.iv)(ef()),(0,es.iv)(e_());let eh={universal:{_12:12,_16:16,_20:20,_24:24,_28:28,_32:32,_36:36,_40:40,_44:44,_48:48,_60:60,_80:80,_120:120,_02:2,_04:4,_08:8},margin:{bp_01:20,bp_03:24,bp_04:36,bp_05:48,bp_06:60}};function em(){let e=(0,er._)(["\n font-size: var(--font_body_lg_bp_01_font_size, 16px);\n font-weight: 400;\n line-height: var(--font_body_lg_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_body_lg_bp_05_font_size, 18px);\n line-height: var(--font_body_lg_bp_05_line_height, 135%);\n }\n "]);return em=function(){return e},e}function ep(){let e=(0,er._)(["\n font-size: var(--font_body_lg_strong_bp_01_font_size, 16px);\n font-weight: 700;\n line-height: var(--font_body_lg_strong_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_body_lg_strong_bp_05_font_size, 18px);\n line-height: var(--font_body_lg_strong_bp_05_line_height, 135%);\n }\n "]);return ep=function(){return e},e}function eg(){let e=(0,er._)(["\n font-size: var(--font_body_md_bp_01_font_size, 13px);\n font-weight: 400;\n line-height: var(--font_body_md_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_body_md_bp_05_font_size, 16px);\n line-height: var(--font_body_md_bp_05_line_height, 135%);\n }\n "]);return eg=function(){return e},e}function ev(){let e=(0,er._)(["\n font-size: var(--font_body_md_strong_bp_01_font_size, 13px);\n font-weight: 700;\n line-height: var(--font_body_md_strong_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_body_md_strong_bp_05_font_size, 16px);\n line-height: var(--font_body_md_strong_bp_05_line_height, 135%);\n }\n "]);return ev=function(){return e},e}function eb(){let e=(0,er._)(["\n font-size: var(--font_body_sm_bp_01_font_size, 11px);\n font-weight: 400;\n line-height: var(--font_body_sm_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_body_sm_bp_05_font_size, 13px);\n line-height: var(--font_body_sm_bp_05_line_height, 135%);\n }\n "]);return eb=function(){return e},e}function ex(){let e=(0,er._)(["\n font-size: var(--font_body_sm_strong_bp_01_font_size, 11px);\n font-weight: 700;\n line-height: var(--font_body_sm_strong_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_body_sm_strong_bp_05_font_size, 13px);\n line-height: var(--font_body_sm_strong_bp_05_line_height, 135%);\n }\n "]);return ex=function(){return e},e}function ey(){let e=(0,er._)(["\n font-size: var(--font_body_xl_bp_01_font_size, 18px);\n font-weight: 400;\n line-height: var(--font_body_xl_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_body_xl_bp_05_font_size, 22px);\n line-height: var(--font_body_xl_bp_05_line_height, 135%);\n }\n "]);return ey=function(){return e},e}function ek(){let e=(0,er._)(["\n font-size: var(--font_body_xl_strong_bp_01_font_size, 18px);\n font-weight: 700;\n line-height: var(--font_body_xl_strong_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_body_xl_strong_bp_05_font_size, 22px);\n line-height: var(--font_body_xl_strong_bp_05_line_height, 135%);\n }\n "]);return ek=function(){return e},e}function eC(){let e=(0,er._)(["\n font-size: var(--font_heading_lg_bp_01_font_size, 34px);\n font-weight: 700;\n line-height: var(--font_heading_lg_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_heading_lg_bp_05_font_size, 40px);\n line-height: var(--font_heading_lg_bp_05_line_height, 125%);\n }\n "]);return eC=function(){return e},e}function eS(){let e=(0,er._)(["\n font-size: var(--font_heading_md_bp_01_font_size, 27px);\n font-weight: 700;\n line-height: var(--font_heading_md_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_heading_md_bp_05_font_size, 32px);\n line-height: var(--font_heading_md_bp_05_line_height, 125%);\n }\n "]);return eS=function(){return e},e}function eE(){let e=(0,er._)(["\n font-size: var(--font_heading_sm_bp_01_font_size, 20px);\n font-weight: 700;\n line-height: var(--font_heading_sm_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_heading_sm_bp_05_font_size, 22px);\n line-height: var(--font_heading_sm_bp_05_line_height, 125%);\n }\n "]);return eE=function(){return e},e}function eT(){let e=(0,er._)(["\n font-size: var(--font_heading_xl_bp_01_font_size, 40px);\n font-weight: 700;\n line-height: var(--font_heading_xl_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_heading_xl_bp_05_font_size, 54px);\n line-height: var(--font_heading_xl_bp_05_line_height, 125%);\n }\n "]);return eT=function(){return e},e}function eP(){let e=(0,er._)(["\n font-size: var(--font_heading_xs_bp_01_font_size, 16px);\n font-weight: 700;\n line-height: var(--font_heading_xs_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_heading_xs_bp_05_font_size, 18px);\n line-height: var(--font_heading_xs_bp_05_line_height, 125%);\n }\n "]);return eP=function(){return e},e}function ew(){let e=(0,er._)(["\n font-size: var(--font_misc_badge_bp_01_font_size, 11px);\n font-weight: 700;\n line-height: var(--font_misc_badge_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_misc_badge_bp_05_font_size, 13px);\n line-height: var(--font_misc_badge_bp_05_line_height, 125%);\n }\n "]);return ew=function(){return e},e}function eA(){let e=(0,er._)(["\n font-size: var(--font_misc_badge_sm_bp_01_font_size, 10px);\n font-weight: 700;\n line-height: var(--font_misc_badge_sm_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_misc_badge_sm_bp_05_font_size, 11px);\n line-height: var(--font_misc_badge_sm_bp_05_line_height, 125%);\n }\n "]);return eA=function(){return e},e}function eI(){let e=(0,er._)(["\n font-size: var(--font_misc_caps_bp_01_font_size, 11px);\n font-weight: 400;\n line-height: var(--font_misc_caps_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_misc_caps_bp_05_font_size, 13px);\n line-height: var(--font_misc_caps_bp_05_line_height, 125%);\n }\n "]);return eI=function(){return e},e}function eM(){let e=(0,er._)(["\n font-size: var(--font_misc_caps_strong_bp_01_font_size, 11px);\n font-weight: 700;\n line-height: var(--font_misc_caps_strong_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_misc_caps_strong_bp_05_font_size, 13px);\n line-height: var(--font_misc_caps_strong_bp_05_line_height, 125%);\n }\n "]);return eM=function(){return e},e}function eR(){let e=(0,er._)(["\n font-size: var(--font_misc_code_bp_01_font_size, 12px);\n font-weight: 400;\n line-height: var(--font_misc_code_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_misc_code_bp_05_font_size, 14px);\n line-height: var(--font_misc_code_bp_05_line_height, 135%);\n }\n "]);return eR=function(){return e},e}function eD(){let e=(0,er._)(["\n font-size: var(--font_misc_label_md_bp_01_font_size, 16px);\n font-weight: 400;\n line-height: var(--font_misc_label_md_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_misc_label_md_bp_05_font_size, 16px);\n line-height: var(--font_misc_label_md_bp_05_line_height, 135%);\n }\n "]);return eD=function(){return e},e}function eN(){let e=(0,er._)(["\n font-size: var(--font_misc_label_md_strong_bp_01_font_size, 16px);\n font-weight: 700;\n line-height: var(--font_misc_label_md_strong_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_misc_label_md_strong_bp_05_font_size, 16px);\n line-height: var(--font_misc_label_md_strong_bp_05_line_height, 135%);\n }\n "]);return eN=function(){return e},e}function eL(){let e=(0,er._)(["\n font-size: var(--font_misc_label_sm_bp_01_font_size, 14px);\n font-weight: 400;\n line-height: var(--font_misc_label_sm_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_misc_label_sm_bp_05_font_size, 14px);\n line-height: var(--font_misc_label_sm_bp_05_line_height, 125%);\n }\n "]);return eL=function(){return e},e}function ej(){let e=(0,er._)(["\n font-size: var(--font_misc_label_sm_strong_bp_01_font_size, 14px);\n font-weight: 700;\n line-height: var(--font_misc_label_sm_strong_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_misc_label_sm_strong_bp_05_font_size, 14px);\n line-height: var(--font_misc_label_sm_strong_bp_05_line_height, 125%);\n }\n "]);return ej=function(){return e},e}function eO(){let e=(0,er._)(["\n font-size: var(--font_misc_metadata_lg_bp_01_font_size, 16px);\n font-weight: 400;\n line-height: var(--font_misc_metadata_lg_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_misc_metadata_lg_bp_05_font_size, 18px);\n line-height: var(--font_misc_metadata_lg_bp_05_line_height, 135%);\n }\n "]);return eO=function(){return e},e}function eB(){let e=(0,er._)(["\n font-size: var(--font_misc_metadata_lg_strong_bp_01_font_size, 16px);\n font-weight: 700;\n line-height: var(--font_misc_metadata_lg_strong_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_misc_metadata_lg_strong_bp_05_font_size, 18px);\n line-height: var(--font_misc_metadata_lg_strong_bp_05_line_height, 135%);\n }\n "]);return eB=function(){return e},e}function eF(){let e=(0,er._)(["\n font-size: var(--font_misc_metadata_md_bp_01_font_size, 11px);\n font-weight: 400;\n line-height: var(--font_misc_metadata_md_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_misc_metadata_md_bp_05_font_size, 14px);\n line-height: var(--font_misc_metadata_md_bp_05_line_height, 135%);\n }\n "]);return eF=function(){return e},e}function eZ(){let e=(0,er._)(["\n font-size: var(--font_misc_metadata_md_strong_bp_01_font_size, 11px);\n font-weight: 700;\n line-height: var(--font_misc_metadata_md_strong_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_misc_metadata_md_strong_bp_05_font_size, 14px);\n line-height: var(--font_misc_metadata_md_strong_bp_05_line_height, 135%);\n }\n "]);return eZ=function(){return e},e}function ez(){let e=(0,er._)(["\n font-size: var(--font_misc_metadata_sm_bp_01_font_size, 10px);\n font-weight: 400;\n line-height: var(--font_misc_metadata_sm_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_misc_metadata_sm_bp_05_font_size, 11px);\n line-height: var(--font_misc_metadata_sm_bp_05_line_height, 125%);\n }\n "]);return ez=function(){return e},e}function eH(){let e=(0,er._)(["\n font-size: var(--font_misc_metadata_sm_strong_bp_01_font_size, 10px);\n font-weight: 700;\n line-height: var(--font_misc_metadata_sm_strong_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_misc_metadata_sm_strong_bp_05_font_size, 11px);\n line-height: var(--font_misc_metadata_sm_strong_bp_05_line_height, 125%);\n }\n "]);return eH=function(){return e},e}function eU(){let e=(0,er._)(["\n font-size: var(--font_misc_timecode_bp_01_font_size, 14px);\n font-weight: 400;\n line-height: var(--font_misc_timecode_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_misc_timecode_bp_05_font_size, 16px);\n line-height: var(--font_misc_timecode_bp_05_line_height, 135%);\n }\n "]);return eU=function(){return e},e}function eV(){let e=(0,er._)(["\n font-size: var(--font_body_lg_bp_01_font_size, 16px);\n font-weight: 400;\n line-height: var(--font_body_lg_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_body_lg_bp_05_font_size, 18px);\n line-height: var(--font_body_lg_bp_05_line_height, 135%);\n }\n "]);return eV=function(){return e},e}function e$(){let e=(0,er._)(["\n font-size: var(--font_body_lg_strong_bp_01_font_size, 16px);\n font-weight: 700;\n line-height: var(--font_body_lg_strong_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_body_lg_strong_bp_05_font_size, 18px);\n line-height: var(--font_body_lg_strong_bp_05_line_height, 135%);\n }\n "]);return e$=function(){return e},e}function eG(){let e=(0,er._)(["\n font-size: var(--font_body_md_bp_01_font_size, 13px);\n font-weight: 400;\n line-height: var(--font_body_md_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_body_md_bp_05_font_size, 16px);\n line-height: var(--font_body_md_bp_05_line_height, 135%);\n }\n "]);return eG=function(){return e},e}function eW(){let e=(0,er._)(["\n font-size: var(--font_body_md_strong_bp_01_font_size, 13px);\n font-weight: 700;\n line-height: var(--font_body_md_strong_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_body_md_strong_bp_05_font_size, 16px);\n line-height: var(--font_body_md_strong_bp_05_line_height, 135%);\n }\n "]);return eW=function(){return e},e}function eK(){let e=(0,er._)(["\n font-size: var(--font_body_sm_bp_01_font_size, 11px);\n font-weight: 400;\n line-height: var(--font_body_sm_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_body_sm_bp_05_font_size, 13px);\n line-height: var(--font_body_sm_bp_05_line_height, 135%);\n }\n "]);return eK=function(){return e},e}function eq(){let e=(0,er._)(["\n font-size: var(--font_body_sm_strong_bp_01_font_size, 11px);\n font-weight: 700;\n line-height: var(--font_body_sm_strong_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_body_sm_strong_bp_05_font_size, 13px);\n line-height: var(--font_body_sm_strong_bp_05_line_height, 135%);\n }\n "]);return eq=function(){return e},e}function eY(){let e=(0,er._)(["\n font-size: var(--font_body_xl_bp_01_font_size, 18px);\n font-weight: 400;\n line-height: var(--font_body_xl_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_body_xl_bp_05_font_size, 22px);\n line-height: var(--font_body_xl_bp_05_line_height, 135%);\n }\n "]);return eY=function(){return e},e}function eX(){let e=(0,er._)(["\n font-size: var(--font_body_xl_strong_bp_01_font_size, 18px);\n font-weight: 700;\n line-height: var(--font_body_xl_strong_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_body_xl_strong_bp_05_font_size, 22px);\n line-height: var(--font_body_xl_strong_bp_05_line_height, 135%);\n }\n "]);return eX=function(){return e},e}function eJ(){let e=(0,er._)(["\n font-size: var(--font_heading_lg_bp_01_font_size, 34px);\n font-weight: 700;\n line-height: var(--font_heading_lg_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_heading_lg_bp_05_font_size, 40px);\n line-height: var(--font_heading_lg_bp_05_line_height, 125%);\n }\n "]);return eJ=function(){return e},e}function eQ(){let e=(0,er._)(["\n font-size: var(--font_heading_md_bp_01_font_size, 27px);\n font-weight: 700;\n line-height: var(--font_heading_md_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_heading_md_bp_05_font_size, 32px);\n line-height: var(--font_heading_md_bp_05_line_height, 125%);\n }\n "]);return eQ=function(){return e},e}function e0(){let e=(0,er._)(["\n font-size: var(--font_heading_sm_bp_01_font_size, 20px);\n font-weight: 700;\n line-height: var(--font_heading_sm_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_heading_sm_bp_05_font_size, 22px);\n line-height: var(--font_heading_sm_bp_05_line_height, 125%);\n }\n "]);return e0=function(){return e},e}function e1(){let e=(0,er._)(["\n font-size: var(--font_heading_xl_bp_01_font_size, 40px);\n font-weight: 700;\n line-height: var(--font_heading_xl_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_heading_xl_bp_05_font_size, 54px);\n line-height: var(--font_heading_xl_bp_05_line_height, 125%);\n }\n "]);return e1=function(){return e},e}function e2(){let e=(0,er._)(["\n font-size: var(--font_heading_xs_bp_01_font_size, 16px);\n font-weight: 700;\n line-height: var(--font_heading_xs_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_heading_xs_bp_05_font_size, 18px);\n line-height: var(--font_heading_xs_bp_05_line_height, 125%);\n }\n "]);return e2=function(){return e},e}function e5(){let e=(0,er._)(["\n font-size: var(--font_misc_badge_bp_01_font_size, 11px);\n font-weight: 700;\n line-height: var(--font_misc_badge_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_misc_badge_bp_05_font_size, 13px);\n line-height: var(--font_misc_badge_bp_05_line_height, 125%);\n }\n "]);return e5=function(){return e},e}function e6(){let e=(0,er._)(["\n font-size: var(--font_misc_badge_sm_bp_01_font_size, 10px);\n font-weight: 700;\n line-height: var(--font_misc_badge_sm_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_misc_badge_sm_bp_05_font_size, 11px);\n line-height: var(--font_misc_badge_sm_bp_05_line_height, 125%);\n }\n "]);return e6=function(){return e},e}function e4(){let e=(0,er._)(["\n font-size: var(--font_misc_caps_bp_01_font_size, 11px);\n font-weight: 400;\n line-height: var(--font_misc_caps_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_misc_caps_bp_05_font_size, 13px);\n line-height: var(--font_misc_caps_bp_05_line_height, 125%);\n }\n "]);return e4=function(){return e},e}function e3(){let e=(0,er._)(["\n font-size: var(--font_misc_caps_strong_bp_01_font_size, 11px);\n font-weight: 700;\n line-height: var(--font_misc_caps_strong_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_misc_caps_strong_bp_05_font_size, 13px);\n line-height: var(--font_misc_caps_strong_bp_05_line_height, 125%);\n }\n "]);return e3=function(){return e},e}function e7(){let e=(0,er._)(["\n font-size: var(--font_misc_code_bp_01_font_size, 12px);\n font-weight: 400;\n line-height: var(--font_misc_code_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_misc_code_bp_05_font_size, 14px);\n line-height: var(--font_misc_code_bp_05_line_height, 135%);\n }\n "]);return e7=function(){return e},e}function e9(){let e=(0,er._)(["\n font-size: var(--font_misc_label_md_bp_01_font_size, 16px);\n font-weight: 400;\n line-height: var(--font_misc_label_md_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_misc_label_md_bp_05_font_size, 16px);\n line-height: var(--font_misc_label_md_bp_05_line_height, 135%);\n }\n "]);return e9=function(){return e},e}function e8(){let e=(0,er._)(["\n font-size: var(--font_misc_label_md_strong_bp_01_font_size, 16px);\n font-weight: 700;\n line-height: var(--font_misc_label_md_strong_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_misc_label_md_strong_bp_05_font_size, 16px);\n line-height: var(--font_misc_label_md_strong_bp_05_line_height, 135%);\n }\n "]);return e8=function(){return e},e}function te(){let e=(0,er._)(["\n font-size: var(--font_misc_label_sm_bp_01_font_size, 14px);\n font-weight: 400;\n line-height: var(--font_misc_label_sm_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_misc_label_sm_bp_05_font_size, 14px);\n line-height: var(--font_misc_label_sm_bp_05_line_height, 125%);\n }\n "]);return te=function(){return e},e}function tt(){let e=(0,er._)(["\n font-size: var(--font_misc_label_sm_strong_bp_01_font_size, 14px);\n font-weight: 700;\n line-height: var(--font_misc_label_sm_strong_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_misc_label_sm_strong_bp_05_font_size, 14px);\n line-height: var(--font_misc_label_sm_strong_bp_05_line_height, 125%);\n }\n "]);return tt=function(){return e},e}function tn(){let e=(0,er._)(["\n font-size: var(--font_misc_metadata_lg_bp_01_font_size, 16px);\n font-weight: 400;\n line-height: var(--font_misc_metadata_lg_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_misc_metadata_lg_bp_05_font_size, 18px);\n line-height: var(--font_misc_metadata_lg_bp_05_line_height, 135%);\n }\n "]);return tn=function(){return e},e}function ti(){let e=(0,er._)(["\n font-size: var(--font_misc_metadata_lg_strong_bp_01_font_size, 16px);\n font-weight: 700;\n line-height: var(--font_misc_metadata_lg_strong_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_misc_metadata_lg_strong_bp_05_font_size, 18px);\n line-height: var(--font_misc_metadata_lg_strong_bp_05_line_height, 135%);\n }\n "]);return ti=function(){return e},e}function ta(){let e=(0,er._)(["\n font-size: var(--font_misc_metadata_md_bp_01_font_size, 11px);\n font-weight: 400;\n line-height: var(--font_misc_metadata_md_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_misc_metadata_md_bp_05_font_size, 14px);\n line-height: var(--font_misc_metadata_md_bp_05_line_height, 135%);\n }\n "]);return ta=function(){return e},e}function tr(){let e=(0,er._)(["\n font-size: var(--font_misc_metadata_md_strong_bp_01_font_size, 11px);\n font-weight: 700;\n line-height: var(--font_misc_metadata_md_strong_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_misc_metadata_md_strong_bp_05_font_size, 14px);\n line-height: var(--font_misc_metadata_md_strong_bp_05_line_height, 135%);\n }\n "]);return tr=function(){return e},e}function ts(){let e=(0,er._)(["\n font-size: var(--font_misc_metadata_sm_bp_01_font_size, 10px);\n font-weight: 400;\n line-height: var(--font_misc_metadata_sm_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_misc_metadata_sm_bp_05_font_size, 11px);\n line-height: var(--font_misc_metadata_sm_bp_05_line_height, 125%);\n }\n "]);return ts=function(){return e},e}function to(){let e=(0,er._)(["\n font-size: var(--font_misc_metadata_sm_strong_bp_01_font_size, 10px);\n font-weight: 700;\n line-height: var(--font_misc_metadata_sm_strong_bp_01_line_height, 125%);\n\n "," {\n font-size: var(--font_misc_metadata_sm_strong_bp_05_font_size, 11px);\n line-height: var(--font_misc_metadata_sm_strong_bp_05_line_height, 125%);\n }\n "]);return to=function(){return e},e}function tl(){let e=(0,er._)(["\n font-size: var(--font_misc_timecode_bp_01_font_size, 14px);\n font-weight: 400;\n line-height: var(--font_misc_timecode_bp_01_line_height, 135%);\n\n "," {\n font-size: var(--font_misc_timecode_bp_05_font_size, 16px);\n line-height: var(--font_misc_timecode_bp_05_line_height, 135%);\n }\n "]);return tl=function(){return e},e}es.zo.p(em(),ec._05),es.zo.p(ep(),ec._05),es.zo.p(eg(),ec._05),es.zo.p(ev(),ec._05),es.zo.p(eb(),ec._05),es.zo.p(ex(),ec._05),es.zo.p(ey(),ec._05),es.zo.p(ek(),ec._05),es.zo.h2(eC(),ec._05),es.zo.h2(eS(),ec._05),es.zo.h2(eE(),ec._05),es.zo.h2(eT(),ec._05),es.zo.h2(eP(),ec._05),es.zo.span(ew(),ec._05),es.zo.span(eA(),ec._05),es.zo.span(eI(),ec._05),es.zo.span(eM(),ec._05),es.zo.span(eR(),ec._05),es.zo.span(eD(),ec._05),es.zo.span(eN(),ec._05),es.zo.span(eL(),ec._05),es.zo.span(ej(),ec._05),es.zo.span(eO(),ec._05),es.zo.span(eB(),ec._05),es.zo.span(eF(),ec._05),es.zo.span(eZ(),ec._05),es.zo.span(ez(),ec._05),es.zo.span(eH(),ec._05),es.zo.span(eU(),ec._05);let td={body:{lg:(0,es.iv)(eV(),ec._05),lg_strong:(0,es.iv)(e$(),ec._05),md:(0,es.iv)(eG(),ec._05),md_strong:(0,es.iv)(eW(),ec._05),sm:(0,es.iv)(eK(),ec._05),sm_strong:(0,es.iv)(eq(),ec._05),xl:(0,es.iv)(eY(),ec._05),xl_strong:(0,es.iv)(eX(),ec._05)},heading:{lg:(0,es.iv)(eJ(),ec._05),md:(0,es.iv)(eQ(),ec._05),sm:(0,es.iv)(e0(),ec._05),xl:(0,es.iv)(e1(),ec._05),xs:(0,es.iv)(e2(),ec._05)},misc:{badge:(0,es.iv)(e5(),ec._05),badge_sm:(0,es.iv)(e6(),ec._05),caps:(0,es.iv)(e4(),ec._05),caps_strong:(0,es.iv)(e3(),ec._05),code:(0,es.iv)(e7(),ec._05),label_md:(0,es.iv)(e9(),ec._05),label_md_strong:(0,es.iv)(e8(),ec._05),label_sm:(0,es.iv)(te(),ec._05),label_sm_strong:(0,es.iv)(tt(),ec._05),metadata_lg:(0,es.iv)(tn(),ec._05),metadata_lg_strong:(0,es.iv)(ti(),ec._05),metadata_md:(0,es.iv)(ta(),ec._05),metadata_md_strong:(0,es.iv)(tr(),ec._05),metadata_sm:(0,es.iv)(ts(),ec._05),metadata_sm_strong:(0,es.iv)(to(),ec._05),timecode:(0,es.iv)(tl(),ec._05)}},tc=e=>Math.floor(e/36e5),tu=e=>Math.floor(e/6e4%60),tf=e=>Math.floor(e/1e3%60),t_=(e,t)=>{if(t<=0)return"";let n=en.Yt.instance,i=tc(e),a=tu(e),r=tf(e),s=tc(t),o=tu(t),l=tf(t);return n.localizeWithParameters("Player.Controls.TimelineAccessibilityValue",{currentHours:i,currentMinutes:a,currentSeconds:r,durationHours:s,durationMinutes:o,durationSeconds:l})},th=(e,t)=>{let n=en.Yt.instance,i=t-e,a=tc(i),r=tu(i),s=tf(i),o="";0!==a&&0!==r&&0!==s?o=n.localizeWithParameters("Player.Controls.A11y.HoursMinutesSeconds",{hours:a,minutes:r,seconds:s}):0!==a&&0===r&&0===s?o=n.localizeWithParameters("Player.Controls.A11y.HoursOnly",{hours:a}):0!==a&&0!==r&&0===s?o=n.localizeWithParameters("Player.Controls.A11y.PausedHoursMinutes",{hours:a,minutes:r}):0!==a&&0===r&&0!==s?o=n.localizeWithParameters("Player.Controls.A11y.HoursSeconds",{hours:a,seconds:s}):0===a&&0!==r&&0===s?o=n.localizeWithParameters("Player.Controls.A11y.MinutesOnly",{minutes:r}):0===a&&0!==r&&0!==s?o=n.localizeWithParameters("Player.Controls.A11y.MinutesSeconds",{minutes:r,seconds:s}):0===a&&0===r&&0!==s&&(o=n.localizeWithParameters("Player.Controls.A11y.SecondsOnly",{seconds:s})),(0,en.K3)(o)},tm="--ipd-reserve-height",tp="data-multiview-enabled",tg=(0,ea.createContext)(void 0);function tv(){let e=(0,ea.useContext)(tg);if(!e)throw Error("Design mapper context is not available");return e}var tb=n(86808);(a=L||(L={})).LIVE="Live",a.REPLAY="Replay";let tx=(0,ea.createContext)({});function ty(){let e=(0,ea.useContext)(tx);if(!e)throw Error("PlaybackInfo context is not available");return e}let tk=e=>{if(void 0===e)return"";if(null==e||!e.fontFamily)return e;{let t=e.letterSpacing?"letter-spacing: ".concat(e.letterSpacing,"px;"):"",n=e.lineHeight?"line-height: ".concat(e.lineHeight,"px;"):"",i=e.lineHeightPercentage?"line-height-percent: ".concat(e.lineHeightPercentage,"%;"):"";return"\n font-family: ".concat(e.fontFamily,";\n font-size: ").concat(e.textSize,"px;\n font-weight: ").concat(e.textWeight,";\n ").concat(t,"\n ").concat(n,"\n ").concat(i,"\n ")}},tC=e=>"\n ".concat(tk(null==e?void 0:e.default),"\n ").concat(ec._02," {\n ").concat(tk(null==e?void 0:e.breakpoint2),"\n }\n ").concat(ec._03," {\n ").concat(tk(null==e?void 0:e.breakpoint3),"\n }\n ").concat(ec._04," {\n ").concat(tk(null==e?void 0:e.breakpoint4),"\n }\n ").concat(ec._05," {\n ").concat(tk(null==e?void 0:e.breakpoint5),"\n }\n ").concat(ec._06," {\n ").concat(tk(null==e?void 0:e.breakpoint6),"\n }\n ").concat(ec._07," {\n ").concat(tk(null==e?void 0:e.breakpoint7),"\n }\n ");var tS=n(26716);let tE=e=>void 0!==e&&e!==tb.Aw.VOD,tT=e=>{if(e)return new Date(e).valueOf()},tP=e=>{var t,n,i;return tT(null!==(n=null===(t=null==e?void 0:e.extras)||void 0===t?void 0:t.PROGRAM_START_TIME_MS)&&void 0!==n?n:null===(i=null==e?void 0:e.extras)||void 0===i?void 0:i.AIRING_START_TIME_MS)},tw=e=>{var t,n,i;return tT(null!==(n=null===(t=null==e?void 0:e.extras)||void 0===t?void 0:t.PROGRAM_END_TIME_MS)&&void 0!==n?n:null===(i=null==e?void 0:e.extras)||void 0===i?void 0:i.AIRING_END_TIME_MS)},tA=e=>{let{hh:t,mm:n,ss:i}=(0,tS.N1)(e<0?0:e);return(""!==t?t+":":"")+(n+":")+i},tI=e=>function(t){("Space"===t.code||"Enter"===t.code)&&(t.preventDefault(),e())},tM=(e,t)=>function(n){let{key:i,shiftKey:a}=n,r=null==t?void 0:t.querySelectorAll("button");if(r&&"Tab"===i){let e=r[0],t=r[r.length-1];a&&document.activeElement===e?(n.preventDefault(),t.focus()):a||document.activeElement!==t||(n.preventDefault(),e.focus())}else("Space"===n.code||"Enter"===n.code)&&(n.preventDefault(),e())},tR=e=>function(t){e(),t.stopPropagation()};function tD(){let e=(0,er._)(["\n display: flex;\n flex-direction: column;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n position: absolute;\n justify-content: flex-start;\n margin-bottom: ","px;\n\n "," {\n margin-left: ","px;\n margin-right: ","px;\n margin-bottom: ","px;\n }\n "," {\n margin-left: ","px;\n margin-right: ","px;\n margin-bottom: ","px;\n }\n "," {\n margin-left: ","px;\n margin-right: ","px;\n margin-bottom: ","px;\n }\n "," {\n margin-left: ","px;\n margin-right: ","px;\n margin-bottom: ","px;\n }\n "," {\n margin-left: ","px;\n margin-right: ","px;\n margin-bottom: ","px;\n }\n"]);return tD=function(){return e},e}function tN(){let e=(0,er._)(["\n display: flex;\n flex-direction: row;\n width: 100%;\n justify-content: ",";\n"]);return tN=function(){return e},e}function tL(){let e=(0,er._)(["\n flex: 1 1 auto;\n max-width: ","%;\n"]);return tL=function(){return e},e}function tj(){let e=(0,er._)(["\n flex: 1 1 auto;\n max-height: ","px;\n"]);return tj=function(){return e},e}function tO(){let e=(0,er._)(["\n color: ",";\n text-shadow: ",";\n background-color: ",";\n font-family: ",", ",";\n\n "," {\n font-size: ","px;\n }\n "," {\n font-size: ","px;\n }\n "," {\n font-size: ","px;\n }\n "," {\n font-size: ","px;\n }\n"]);return tO=function(){return e},e}function tB(){let e=(0,er._)(["\n display: flex;\n align-self: ",";\n ","\n line-height: 1.5;\n"]);return tB=function(){return e},e}function tF(){let e=(0,er._)(["\n display: flex;\n flex-direction: column;\n padding: 15px;\n background-color: ",";\n line-height: 1.5;\n"]);return tF=function(){return e},e}let tZ=es.ZP.div(tD(),e=>e.$areControlsVisible?100:0,ec._02,2*eh.margin.bp_01,2*eh.margin.bp_01,e=>e.$areControlsVisible?eh.margin.bp_01+100:eh.margin.bp_01,ec._03,2*eh.margin.bp_03,2*eh.margin.bp_03,e=>e.$areControlsVisible?eh.margin.bp_03+100:eh.margin.bp_03,ec._04,2*eh.margin.bp_04,2*eh.margin.bp_04,e=>e.$areControlsVisible?eh.margin.bp_04+100:eh.margin.bp_04,ec._05,2*eh.margin.bp_05,2*eh.margin.bp_05,e=>e.$areControlsVisible?eh.margin.bp_05+100:eh.margin.bp_05,ec._06,2*eh.margin.bp_06,2*eh.margin.bp_06,e=>e.$areControlsVisible?eh.margin.bp_06+100:eh.margin.bp_06),tz=es.ZP.div(tN(),e=>e.$justifyContent),tH=es.ZP.div(tL(),e=>e.$maxWidthPercent),tU=es.ZP.div(tj(),e=>e.$maxHeightPx),tV=(e,t)=>(0,es.iv)(tO(),e.fontColor,e.fontEdgeType,e.backgroundColor,e.fontFamily,null==t?void 0:t.fontFamily,ec._02,20*e.fontScale,ec._03,24*e.fontScale,ec._05,34*e.fontScale,ec._06,42*e.fontScale),t$=es.ZP.div(tB(),e=>e.$alignSelf,e=>{let{$mappedCueStyles:t,$styleOverrides:n}=e;return tV(t,null==n?void 0:n.default)}),tG=es.ZP.div(tF(),e=>{let{$mappedCueStyles:t}=e;return t.windowColor});function tW(e){return{backgroundColor:tK(null==e?void 0:e.backgroundColor,null==e?void 0:e.backgroundOpacity),fontColor:tK(null==e?void 0:e.fontColor,null==e?void 0:e.fontOpacity),fontEdgeType:function(e){switch(e){case M.DEPRESSED:return"-1px -1px black";case M.DROP_SHADOW:return"1px 1px black";case M.RAISED:return"1px 1px white";case M.UNIFORM:return"-1px 1px 0px black, 1px -1px 0px black, 1px 1px 0px black, -1px -1px 0px black";default:return""}}(null==e?void 0:e.fontEdgeType),fontFamily:function(e){switch(e){case D.TYPE:return"cinecav-type-regular";case D.SERIF:return"cinecav-serif-regular";case D.MONOSPACED:return"cinecav-mono-regular";case D.SANS_SERIF:return"cinecav-sans-regular";case D.CASUAL:return"cinecav-casual-regular";case D.SCRIPT:return"cinecav-script-regular";case D.SMALL_CAPS:return"cinecav-small-caps-regular";default:return"cinecav-sans-regular"}}(null==e?void 0:e.fontStyle),fontScale:function(e){switch(e){case R.EXTRA_LARGE:return 2;case R.LARGE:return 1.5;case R.MEDIUM:return 1;case R.SMALL:return .75;case R.TINY:return .5;default:return 1}}(null==e?void 0:e.fontScale),windowColor:tK(null==e?void 0:e.windowColor,null==e?void 0:e.windowOpacity)}}function tK(e,t){let n=function(e){switch(e){case A.WHITE:return{red:255,green:255,blue:255};case A.BLACK:return{red:0,green:0,blue:0};case A.RED:return{red:255,green:0,blue:0};case A.GREEN:return{red:0,green:128,blue:0};case A.BLUE:return{red:0,green:0,blue:255};case A.YELLOW:return{red:255,green:255,blue:0};case A.MAGENTA:return{red:255,green:0,blue:255};case A.CYAN:return{red:0,green:255,blue:255};default:return{red:0,green:0,blue:0}}}(e);return"rgba(".concat(n.red,", ").concat(n.green,", ").concat(n.blue,", ").concat(null!=t?t:I.PERCENT_100,")")}function tq(e){return void 0!==e&&e>1?e/100:e}let tY=e=>{var t;let{controller:n,mappedCueStyles:i,overlayEventConsumer:a,overlayMessageReceived$:r,overlayId:s}=e,[o,l]=(0,ea.useState)(),[d,c]=(0,ea.useState)(!1),[u,f]=(0,ea.useState)(()=>i),_=(0,ea.useRef)(null);(0,ea.useEffect)(()=>{let e=[];return e.push(n.captionRenderer.activeTextCue$.subscribe(e=>{if(void 0===e){l(void 0);return}l(function(e){let t=e.length;if(0===t)return;let n=[];for(let i=0;i{e.id===(s||"playback_controls")&&c(e.visible)})),void 0!==r&&e.push(r.subscribe(async e=>{let{topic:t}=e;"cue_style_updated"===t&&f(tW(e.message))})),()=>{e.forEach(e=>e.unsubscribe())}},[n.captionRenderer,a.overlayVisibilityChanged$,s,r]);let h=null;if(void 0!==o){let e=(o.linePercent||1)*((null===(t=_.current)||void 0===t?void 0:t.offsetHeight)||0);h=(0,et.jsxs)(et.Fragment,{children:[(0,et.jsx)(tU,{$maxHeightPx:e}),(0,et.jsx)(tX,{cueGroup:o,mappedCueStyles:u})]})}return(0,et.jsx)(tZ,{$areControlsVisible:d,ref:_,children:h})},tX=e=>{var t,n;let{cueGroup:i,mappedCueStyles:a}=e;switch(i.positionAlignment){case ei.c.START:case ei.c.LEFT:return(0,et.jsxs)(tz,{$justifyContent:"flex-start",children:[(0,et.jsx)(tH,{$maxWidthPercent:(null!==(t=i.positionPercent)&&void 0!==t?t:0)*100}),(0,et.jsx)(tJ,{cueGroup:i,mappedCueStyles:a})]});case ei.c.END:case ei.c.RIGHT:let r=1-(null!==(n=i.positionPercent)&&void 0!==n?n:1);return(0,et.jsxs)(tz,{$justifyContent:"flex-end",children:[(0,et.jsx)(tJ,{cueGroup:i,mappedCueStyles:a}),(0,et.jsx)(tH,{$maxWidthPercent:100*r})]});case ei.c.CENTER:if(void 0!==i.positionPercent){if(i.positionPercent>=0&&i.positionPercent<.5){let e=1-2*i.positionPercent;return(0,et.jsxs)(tz,{$justifyContent:"flex-start",children:[(0,et.jsx)(tJ,{cueGroup:i,mappedCueStyles:a,style:{flex:1}}),(0,et.jsx)(tH,{$maxWidthPercent:100*e})]})}if(i.positionPercent>.5){let e=2*i.positionPercent-1;return(0,et.jsxs)(tz,{$justifyContent:"flex-end",children:[(0,et.jsx)(tH,{$maxWidthPercent:100*e}),(0,et.jsx)(tJ,{cueGroup:i,mappedCueStyles:a,style:{flex:1}})]})}}}return(0,et.jsx)(tz,{$justifyContent:"center",children:(0,et.jsx)(tJ,{cueGroup:i,mappedCueStyles:a})})},tJ=e=>{let{cueGroup:t,mappedCueStyles:n,style:i}=e,a=tv(),r="";switch(t.textAlignment){case ei.c.START:case ei.c.LEFT:r="start";break;case ei.c.END:case ei.c.RIGHT:r="end";break;case ei.c.CENTER:r="center"}return(0,et.jsx)(tG,{dir:"ltr",style:i,$mappedCueStyles:n,children:t.text.map((e,t)=>(0,et.jsx)(t$,{"data-testid":"cueBoxRowTextCue",$alignSelf:r,$mappedCueStyles:n,$styleOverrides:a.getSubtitlesTextStyle(),children:e},"".concat(e,":").concat(t)))})};var tQ=n(68204);let t0="\x1b[0m",t1=(e,t,n)=>{let i=e=>e.map(e=>{if("object"==typeof e)try{return JSON.stringify(e,null,2)}catch(e){return"[Circular]"}return"".concat(e)}),a="".concat("\x1b[45m","[OneUX]").concat(t0).concat(n,"[").concat(t,"]").concat(t0);return{debug:function(){for(var t=arguments.length,n=Array(t),r=0;r{if(t.has(n)){this._log(".destroy","Skipping unsubscription for key: ".concat(n));return}try{e.unsubscribe(),this._log(".destroy","Successfully unsubscribed key: ".concat(n))}catch(e){this._warn("Error while unsubscribing key: ".concat(n),e)}}),this._subscriptions=new Map([...this._subscriptions].filter(e=>{let[n]=e;return t.has(n)})),this._log(".destroy","Remaining subscriptions after cleanup: ".concat(this._subscriptions.size))}_addSubscription(e,t){var n;this._subscriptions.has(e)&&(this._log(".addSubscription","Replacing existing subscription with key: ".concat(e)),null===(n=this._subscriptions.get(e))||void 0===n||n.unsubscribe()),this._log(".addSubscription","Adding subscription with key: ".concat(e)),this._subscriptions.set(e,t)}_removeSubscription(e){let t=this._subscriptions.get(e);t&&(this._log(".removeSubscription","Unsubscribing and removing subscription with key: ".concat(e)),t.unsubscribe(),this._subscriptions.delete(e))}constructor(e){var t;this._subscriptions=new Map;let{debug:n,warning:i,error:a}=t1(e.logger,this.constructor.name,e.prefixColor),r=null!==(t=e.logLevel)&&void 0!==t?t:1;this._log=r<=0?n:()=>{},this._warn=r<=1?i:()=>{},this._err=r<=2?a:()=>{},this._log(".constructor")}}class t5 extends t2{constructor(e){super({...e,prefixColor:"\x1b[31m"})}}class t6 extends t5{_transitionToState(e){let t=this.state$.getValue();this._log("._transitionToState","Transitioning from state: ".concat(t," to state: ").concat(e)),t!==e&&this.state$.next(e)}constructor(e){super(e),this.state$=new tQ.X("HIDING"),this.activeTextCue$=new tQ.X(void 0),this._addSubscription("ActiveTextCueHandler",e.playerEvents.activeTextCues$.subscribe(e=>{this.activeTextCue$.next(e.activeTextCues)})),this._addSubscription("playbackEventHandler",e.playerEvents.playbackState$.subscribe(e=>{switch(e.playbackEventType){case"SeekStartEvent":this.activeTextCue$.next(void 0);break;case"PlaybackInfoResolutionEndEvent":this._transitionToState("SHOWING");break;case"PlaybackCompleteEvent":case"PlaybackSessionEndEvent":this._transitionToState("HIDING")}}))}}var t4=n(19403);class t3 extends t2{destroy(){super.destroy(),this._log(".destroy","destroy all adaptors - count ".concat(this.adaptors.size)),this.adaptors.forEach((e,t)=>{try{e.destroy()}catch(e){this._warn("Error while destroying ".concat(t),e)}}),this._subscriptions.clear()}constructor(e){super({...e,prefixColor:"\x1b[34m"}),this.adaptors=new Map}}class t7 extends t3{get overlayVisible$(){return this.captionRenderer.state$.pipe((0,t4.U)(e=>"SHOWING"===e))}get captionRenderer(){return this.adaptors.get("captionRenderer")}constructor(e){super(e),this.adaptors.set("captionRenderer",new t6(e))}}var t9=n(73117);class t8{destroy(){this._controller.destroy(),this._subscription.unsubscribe(),this.view=(0,et.jsx)(et.Fragment,{})}constructor(e,t,n,i,a){this.id=en.a8.id,this.policy=en.a8.overlayPolicy,this.viewType="ReactElement",this.zOrderIndex=en.a8.zOrderIndex,this.overlayMessageReceived$=new t9.x,this.interestedMessageTopics=new Set(["cue_style_updated"]);let r=tW(i);this._controller=new t7({playerEvents:e,logger:a}),this.onMessageDispatched=e=>{this.overlayMessageReceived$.next(e)},this.view=(0,et.jsx)(tY,{controller:this._controller,overlayEventConsumer:n,overlayMessageReceived$:this.overlayMessageReceived$,mappedCueStyles:r}),this._subscription=this._controller.overlayVisible$.subscribe(e=>{t.requestVisibilityChange(this.id,e)})}}let ne={backgroundColor:A.BLACK,backgroundOpacity:I.PERCENT_100,fontColor:A.WHITE,fontEdgeType:M.NONE,fontOpacity:I.PERCENT_100,fontScale:R.MEDIUM,fontStyle:D.DEFAULT,windowColor:A.WHITE,windowOpacity:I.PERCENT_000};class nt{create(e,t,n,i,a,r){var s;let o=ne;return(null===(s=this._playerUserPreferencesData)||void 0===s?void 0:s.cueStyle)!==void 0&&(o=this._playerUserPreferencesData.cueStyle),new t8(e,t,n,o,r)}constructor(e){this._playerUserPreferencesData=e}}var nn=n(80183),ni=n(52803),na=n(81658);let nr=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsxs)("g",{children:[(0,et.jsx)("path",{d:"M4 8V6h16v12h-6.5v2H21a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v3h2ZM2 20h2a2 2 0 0 0-2-2v2ZM6 20h2a6 6 0 0 0-6-6v2a4 4 0 0 1 4 4Z"}),(0,et.jsx)("path",{d:"M10 20a8 8 0 0 0-8-8v-2c5.523 0 10 4.477 10 10h-2ZM13.364 16H18V8H6a13.037 13.037 0 0 1 7.364 8Z"})]})]})}),ns=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsxs)("g",{children:[(0,et.jsx)("path",{d:"M4 8V6h16v12h-6.5v2H21a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v3h2ZM2 20h2a2 2 0 0 0-2-2v2Z"}),(0,et.jsxs)("g",{opacity:.5,children:[(0,et.jsx)("path",{d:"M6 20h2a6 6 0 0 0-6-6v2a4 4 0 0 1 4 4Z"}),(0,et.jsx)("path",{d:"M10 20a8 8 0 0 0-8-8v-2c5.523 0 10 4.477 10 10h-2Z"})]})]})]})}),no=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsxs)("g",{children:[(0,et.jsx)("path",{d:"M4 8V6h16v12h-6.5v2H21a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v3h2ZM2 20h2a2 2 0 0 0-2-2v2ZM6 20h2a6 6 0 0 0-6-6v2a4 4 0 0 1 4 4Z"}),(0,et.jsx)("path",{d:"M10 20a8 8 0 0 0-8-8v-2c5.523 0 10 4.477 10 10h-2Z"})]})]})}),nl=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.687 6.273a1 1 0 0 1 .04 1.414L9.6 19.456l-6.327-6.692a1 1 0 0 1 1.454-1.374L9.6 16.544l9.673-10.231a1 1 0 0 1 1.414-.04Z"})]})}),nd=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m5.586 12 8.707-8.707a1 1 0 1 1 1.414 1.414L8.414 12l7.293 7.293a1 1 0 0 1-1.414 1.414L5.586 12Z"})]})}),nc=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.414 12 9.707 3.293a1 1 0 1 0-1.414 1.414L15.586 12l-7.293 7.293a1 1 0 0 0 1.414 1.414L18.414 12Z"})]})}),nu=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 20 20",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{d:"M9 14H4V6.1h4.9v2H6V12h3v2ZM10.9 14h5v-2h-3V8.1h3v-2h-5V14Z"}),(0,et.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 20H0V0h20v20ZM2 18h16V2H2v16Z"})]})}),nf=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 22H2V2h20v20ZM6 16h5v-2H8v-4h3V8.1H6V16Zm7 0h4.9v-2H15v-4h2.9V8.1H13V16Z"})]})}),n_=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.707 5.293a1 1 0 0 1 0 1.414L13.414 12l5.293 5.293a1 1 0 1 1-1.414 1.414L12 13.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L10.586 12 5.293 6.707a1 1 0 0 1 1.414-1.414L12 10.586l5.293-5.293a1 1 0 0 1 1.414 0Z"})]})}),nh=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsxs)("g",{children:[(0,et.jsx)("path",{clipRule:"evenodd",d:"M12.167 3.75a8.417 8.417 0 1 0 0 16.833 8.417 8.417 0 0 0 0-16.833zM2.25 12.167c0-5.477 4.44-9.917 9.917-9.917 5.477 0 9.916 4.44 9.916 9.917 0 5.477-4.44 9.916-9.916 9.916-5.477 0-9.917-4.44-9.917-9.916z",fillRule:"evenodd"}),(0,et.jsx)("path",{clipRule:"evenodd",d:"M12.75 6.25v7.5h-1.5v-7.5z",fillRule:"evenodd"}),(0,et.jsx)("path",{d:"M12 18a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"})]})]})}),nm=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{viewBox:"0 0 25 18",xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{d:"m6.396 10.65 1.2 4.78c.09.35-.19.69-.56.69h-2.45c-.26 0-.49-.17-.55-.42l-1.38-5.05",strokeWidth:1.4,strokeMiterlimit:10}),(0,et.jsx)("path",{d:"M23.087 15.82 1.227 1.13",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),(0,et.jsx)("path",{d:"M8.482 7.01h.47l.49-.31 5.67-3.61v8.38l2 1.34V.92c0-.53-.35-.92-.73-.92-.11 0-.22.03-.33.1l-7.69 4.91h-2.87l2.98 2h.01ZM8.88 9.68H2.25V7H4.9L1.92 5h-.6C.73 5.01.25 5.61.25 6.36v3.97c0 .75.48 1.35 1.07 1.35h7.05l7.68 5.02c.11.07.22.1.33.1.38 0 .73-.39.73-.92v-.67L8.87 9.68h.01Z"})]})}),np=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{viewBox:"0 0 43 32",xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{d:"M28.875 5.826v20.086L18.19 18.933l-.946-.624H4.533v-5.07h12.691l.927-.586 10.724-6.827ZM31.277 0a1.14 1.14 0 0 0-.624.19L16.108 9.475H2.774C1.658 9.476.75 10.63.75 12.029v7.51c0 1.418.908 2.553 2.024 2.553h13.334l14.526 9.495c.208.132.416.189.624.189.72 0 1.381-.738 1.381-1.74V1.74C32.64.738 31.977 0 31.26 0h.018Z"}),(0,et.jsx)("path",{d:"M36.908 16.02h4.842M36.687 9.23l3.442-1.986M40.602 25.138l-3.442-1.986",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),(0,et.jsx)("path",{d:"m12.375 20.145 2.27 9.04c.17.662-.36 1.306-1.06 1.306H8.951c-.491 0-.926-.322-1.04-.795l-2.61-9.552",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round"}),(0,et.jsx)("path",{d:"M16.014 10.818v9.609",strokeWidth:3,strokeMiterlimit:10})]})}),ng=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{d:"M4 21a1 1 0 0 1-1-1v-5a1 1 0 1 1 2 0v4h4a1 1 0 1 1 0 2H4ZM20 21a1 1 0 0 0 1-1v-5a1 1 0 1 0-2 0v4h-4a1 1 0 1 0 0 2h5ZM21 4a1 1 0 0 0-1-1h-5a1 1 0 1 0 0 2h4v4a1 1 0 1 0 2 0V4ZM4 3a1 1 0 0 0-1 1v5a1 1 0 0 0 2 0V5h4a1 1 0 0 0 0-2H4Z"})]})}),nv=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{d:"M9 14a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0v-4H4a1 1 0 1 1 0-2h5ZM15 14a1 1 0 0 0-1 1v5a1 1 0 1 0 2 0v-4h4a1 1 0 1 0 0-2h-5ZM14 9a1 1 0 0 0 1 1h5a1 1 0 1 0 0-2h-4V4a1 1 0 1 0-2 0v5ZM9 10a1 1 0 0 0 1-1V4a1 1 0 0 0-2 0v4H4a1 1 0 0 0 0 2h5Z"})]})}),nb=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.828 17 16 19.172 18.172 17H20V6H4v11h9.828ZM16 22l-3-3H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-2l-3 3Z"}),(0,et.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 10.5H6V9h6v1.5ZM18 14H6v-1.5h12V14Z"})]})}),nx=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 10 10",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{d:"M7.477 3.85H5.59a.25.25 0 0 1-.246-.297L5.909.536C5.96.262 5.593.122 5.449.36L2.31 5.544a.25.25 0 0 0 .214.38h1.883a.25.25 0 0 1 .246.293l-.577 3.25c-.05.274.321.41.462.17l3.156-5.412a.25.25 0 0 0-.216-.376z"})]})}),ny=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 64 64",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 5a2 2 0 0 1 2 2v51a2 2 0 1 1-4 0V7a2 2 0 0 1 2-2ZM41 5a2 2 0 0 1 2 2v51a2 2 0 1 1-4 0V7a2 2 0 0 1 2-2Z"})]})}),nk=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 64 64",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{d:"M16.783 59.462a.5.5 0 0 1-.783-.413V5.952a.5.5 0 0 1 .783-.412l38.618 26.55a.5.5 0 0 1 0 .824L16.783 59.462Z"})]})}),nC=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsxs)("g",{children:[(0,et.jsx)("path",{d:"M13.576 7.329a1.017 1.017 0 1 1-2.034 0 1.017 1.017 0 0 1 2.034 0ZM12.16 9.363c.294 0 .523.083.688.249.164.165.247.38.247.643 0 .234-.055.537-.165.91l-1.21 3.842c-.054.137-.082.28-.082.429 0 .286.092.429.275.429.23 0 .504-.1.825-.3.32-.206.595-.38.824-.524l.165-.12c.037 0 .105.055.206.163.1.109.151.186.151.232-.155.166-.44.377-.852.635a8.728 8.728 0 0 1-1.319.686c-.476.194-.907.291-1.292.291-.293 0-.522-.082-.687-.248a.873.873 0 0 1-.247-.644c0-.171.064-.474.192-.909l1.127-3.585c.092-.338.138-.567.138-.687 0-.286-.092-.429-.275-.429-.11 0-.261.046-.454.138a5.218 5.218 0 0 0-.536.309 5.374 5.374 0 0 0-.384.257l-.138.103c-.036 0-.105-.055-.206-.163-.1-.109-.151-.186-.151-.232.147-.154.412-.346.797-.574a9.065 9.065 0 0 1 1.237-.627c.44-.183.815-.274 1.127-.274Z"}),(0,et.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 21.812c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10Zm8.5-10a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0Z"})]})]})}),nS=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 64 64",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{d:"M12.332 19.544A22.958 22.958 0 0 1 25.189 9.76c12.191-3.67 25.05 3.237 28.72 15.428 3.672 12.191-3.236 25.05-15.427 28.72-7.24 2.181-14.717.632-20.37-3.548a22.94 22.94 0 0 1-8.35-11.879 2.5 2.5 0 1 0-4.788 1.442A27.94 27.94 0 0 0 15.139 54.38c6.867 5.078 15.97 6.97 24.785 4.316 14.835-4.467 23.24-20.114 18.773-34.95C54.23 8.912 38.583.507 23.747 4.974a27.935 27.935 0 0 0-14.534 10.27V8.595a2.5 2.5 0 1 0-5 0v15.949h15.949a2.5 2.5 0 0 0 0-5h-7.83Z"}),(0,et.jsx)("path",{d:"M26.536 40V29.904l-2.672 2.624v-2.912l2.752-2.736h2.56V40h-2.64ZM36.279 26.64c.704 0 1.355.144 1.952.432.597.288 1.11.715 1.536 1.28.437.555.779 1.243 1.024 2.064.245.81.368 1.744.368 2.8v.416c0 1.045-.123 1.979-.368 2.8-.245.81-.587 1.499-1.024 2.064a4.348 4.348 0 0 1-1.536 1.296 4.303 4.303 0 0 1-1.952.448 4.399 4.399 0 0 1-1.936-.432 4.612 4.612 0 0 1-1.536-1.28c-.437-.565-.779-1.259-1.024-2.08-.245-.821-.368-1.76-.368-2.816V33.2c0-1.045.123-1.973.368-2.784.245-.821.587-1.51 1.024-2.064.437-.565.95-.992 1.536-1.28a4.399 4.399 0 0 1 1.936-.432Zm0 2.128c-.704 0-1.221.325-1.552.976-.32.64-.48 1.632-.48 2.976v1.456c0 1.365.16 2.368.48 3.008.33.63.848.944 1.552.944.704 0 1.221-.315 1.552-.944.341-.64.512-1.643.512-3.008V32.72c0-1.344-.17-2.336-.512-2.976-.341-.65-.859-.976-1.552-.976Z"})]})}),nE=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 64 64",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{d:"M51.668 19.544A22.958 22.958 0 0 0 38.811 9.76c-12.19-3.67-25.05 3.237-28.72 15.428-3.672 12.191 3.236 25.05 15.427 28.72 7.241 2.181 14.717.632 20.37-3.548a22.939 22.939 0 0 0 8.35-11.879 2.5 2.5 0 0 1 4.788 1.442A27.94 27.94 0 0 1 48.861 54.38c-6.867 5.078-15.97 6.97-24.785 4.316C9.241 54.23.836 38.583 5.303 23.747 9.77 8.912 25.418.507 40.253 4.974a27.935 27.935 0 0 1 14.534 10.27V8.595a2.5 2.5 0 0 1 5 0v15.949H43.838a2.5 2.5 0 0 1 0-5h7.83Z"}),(0,et.jsx)("path",{d:"M25.536 39V28.904l-2.672 2.624v-2.912l2.752-2.736h2.56V39h-2.64ZM35.28 25.64c.703 0 1.354.144 1.951.432.597.288 1.11.715 1.536 1.28.438.555.779 1.243 1.024 2.064.245.81.368 1.744.368 2.8v.416c0 1.045-.123 1.979-.368 2.8-.245.81-.586 1.499-1.024 2.064a4.347 4.347 0 0 1-1.536 1.296 4.303 4.303 0 0 1-1.952.448 4.4 4.4 0 0 1-1.936-.432 4.614 4.614 0 0 1-1.536-1.28c-.437-.565-.778-1.259-1.024-2.08-.245-.821-.368-1.76-.368-2.816V32.2c0-1.045.123-1.973.368-2.784.245-.821.587-1.51 1.024-2.064.438-.565.95-.992 1.536-1.28a4.4 4.4 0 0 1 1.936-.432Zm0 2.128c-.705 0-1.222.325-1.553.976-.32.64-.48 1.632-.48 2.976v1.456c0 1.365.16 2.368.48 3.008.33.63.848.944 1.552.944.704 0 1.221-.315 1.552-.944.341-.64.512-1.643.512-3.008V31.72c0-1.344-.17-2.336-.512-2.976-.341-.65-.859-.976-1.552-.976Z"})]})}),nT=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 17 14",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.902 11.375V2.63L6.027 7 .902 11.375Zm6.995 0V2.63L13.022 7l-5.125 4.375Z",fill:"#000"}),(0,et.jsx)("path",{d:"m.902 2.63.405-.476a.625.625 0 0 0-1.03.476h.625Zm0 8.745H.277a.625.625 0 0 0 1.03.475l-.405-.475ZM6.027 7l.405.475a.625.625 0 0 0 0-.95L6.027 7Zm1.87-4.37.405-.476a.625.625 0 0 0-1.03.476h.625Zm0 8.745h-.625a.625.625 0 0 0 1.03.475l-.405-.475ZM13.022 7l.405.475a.625.625 0 0 0 0-.95L13.022 7Zm3.25-5.435a.625.625 0 1 0-1.25 0h1.25Zm-1.25 10.875a.625.625 0 0 0 1.25 0h-1.25ZM.277 2.63v8.745h1.25V2.63H.277Zm6.155 3.894-5.125-4.37-.81.951 5.124 4.37.811-.95ZM1.307 11.85l5.125-4.375-.811-.95L.496 10.9l.811.95Zm5.965-9.22v8.745h1.25V2.63h-1.25Zm6.155 3.894-5.125-4.37-.81.951 5.124 4.37.811-.95ZM8.303 11.85l5.124-4.375-.811-.95L7.49 10.9l.812.95Zm6.719-10.285V12.44h1.25V1.565h-1.25Z",fill:"#000"})]})}),nP=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsxs)("g",{fillRule:"evenodd",clipRule:"evenodd",children:[(0,et.jsx)("path",{d:"M4 14h3.666a2.5 2.5 0 0 1 1.603.58l.731.612V8.46l-1.148.959a2.5 2.5 0 0 1-1.603.58H4v4Zm3.57-6.116A.5.5 0 0 1 7.25 8H2.5a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5h5.166a.5.5 0 0 1 .32.116l3.194 2.666a.5.5 0 0 0 .82-.384V5.252a.5.5 0 0 0-.82-.383L7.57 7.884ZM13.47 9.47a.75.75 0 0 1 1.06 0 3.577 3.577 0 0 1 0 5.06.75.75 0 1 1-1.06-1.06 2.078 2.078 0 0 0 0-2.94.75.75 0 0 1 0-1.06ZM16.512 7.512a.75.75 0 0 1 1.061 0 6.294 6.294 0 0 1 1.374 2.065c.316.773.477 1.602.472 2.44a6.41 6.41 0 0 1-.498 2.44 6.457 6.457 0 0 1-1.39 2.073.75.75 0 1 1-1.061-1.06 4.96 4.96 0 0 0 1.068-1.592 4.91 4.91 0 0 0 .381-1.87 4.843 4.843 0 0 0-.36-1.862 4.792 4.792 0 0 0-1.047-1.573.75.75 0 0 1 0-1.06Z"}),(0,et.jsx)("path",{d:"M19.47 5.47a.75.75 0 0 1 1.06 0 9.235 9.235 0 0 1 0 13.06.75.75 0 1 1-1.06-1.06 7.737 7.737 0 0 0 0-10.94.75.75 0 0 1 0-1.06Z"})]})]})}),nw=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 14h3.666a2.5 2.5 0 0 1 1.603.58l.731.612V8.46l-1.148.959a2.5 2.5 0 0 1-1.603.58H4v4Zm3.57-6.116A.5.5 0 0 1 7.25 8H2.5a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5h5.166a.5.5 0 0 1 .32.116l3.194 2.666a.5.5 0 0 0 .82-.384V5.252a.5.5 0 0 0-.82-.383L7.57 7.884ZM13.47 9.47a.75.75 0 0 1 1.06 0 3.577 3.577 0 0 1 0 5.06.75.75 0 1 1-1.06-1.06 2.078 2.078 0 0 0 0-2.94.75.75 0 0 1 0-1.06Z"})]})}),nA=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("g",{fillRule:"evenodd",clipRule:"evenodd",children:(0,et.jsx)("path",{d:"M4 14h3.666a2.5 2.5 0 0 1 1.603.58l.731.612V8.46l-1.148.959a2.5 2.5 0 0 1-1.603.58H4v4Zm3.57-6.116A.5.5 0 0 1 7.25 8H2.5a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5h5.166a.5.5 0 0 1 .32.116l3.194 2.666a.5.5 0 0 0 .82-.384V5.252a.5.5 0 0 0-.82-.383L7.57 7.884ZM13.47 9.47a.75.75 0 0 1 1.06 0 3.577 3.577 0 0 1 0 5.06.75.75 0 1 1-1.06-1.06 2.078 2.078 0 0 0 0-2.94.75.75 0 0 1 0-1.06ZM16.512 7.512a.75.75 0 0 1 1.061 0 6.294 6.294 0 0 1 1.374 2.065c.316.773.477 1.602.472 2.44a6.41 6.41 0 0 1-.498 2.44 6.457 6.457 0 0 1-1.39 2.073.75.75 0 1 1-1.061-1.06 4.96 4.96 0 0 0 1.068-1.592 4.91 4.91 0 0 0 .381-1.87 4.843 4.843 0 0 0-.36-1.862 4.792 4.792 0 0 0-1.047-1.573.75.75 0 0 1 0-1.06Z"})})]})}),nI=(0,ea.forwardRef)((e,t)=>{let{title:n,titleId:i,...a}=e;return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",stroke:"#fff",viewBox:"0 0 24 24",role:"img",ref:t,"aria-labelledby":i,...a,children:[n?(0,et.jsx)("title",{id:i,children:n}):null,(0,et.jsx)("g",{fillRule:"evenodd",clipRule:"evenodd",children:(0,et.jsx)("path",{d:"M4 14h3.666a2.5 2.5 0 0 1 1.603.58l.731.612V8.46l-1.148.959a2.5 2.5 0 0 1-1.603.58H4v4Zm3.57-6.116A.5.5 0 0 1 7.25 8H2.5a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5h5.166a.5.5 0 0 1 .32.116l3.194 2.666a.5.5 0 0 0 .82-.384V5.252a.5.5 0 0 0-.82-.383L7.57 7.884ZM21.53 8.47a.75.75 0 0 1 0 1.06L19.06 12l2.47 2.47a.75.75 0 1 1-1.06 1.06L18 13.06l-2.47 2.47a.75.75 0 1 1-1.06-1.06L16.94 12l-2.47-2.47a.75.75 0 0 1 1.06-1.06L18 10.94l2.47-2.47a.75.75 0 0 1 1.06 0Z"})})]})});function nM(){let e=(0,er._)(["\n fill: ",";\n stroke: ",";\n height: 100%;\n width: auto;\n"]);return nM=function(){return e},e}let nR=es.ZP.svg(nM(),e=>{let{$fill:t}=e;return t||eu.foreground.onbase.text_01},e=>{let{$stroke:t}=e;return t||eu.foreground.onbase.text_01}),nD=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nk,...t,$stroke:"none"})},nN=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:ny,...t})},nL=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nS,...t,$stroke:"none"})},nj=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nE,...t,$stroke:"none",$fill:t.$disabled&&"rgba(255,255,255,0.5)"})},nO=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:ng,...t,$stroke:"none"})},nB=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nv,...t,$stroke:"none"})},nF=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nP,...t,$stroke:"none"})},nZ=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nw,...t,$stroke:"none"})},nz=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nA,...t,$stroke:"none"})},nH=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nI,...t,$stroke:"none"})},nU=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nb,...t,$stroke:"none"})},nV=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:n_,...t,$stroke:"none"})},n$=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:"rtl"===t.direction?nc:nd,...t,$stroke:"none"})},nG=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nr,...t,$stroke:"none"})},nW=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:ns,...t,$stroke:"none"})},nK=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:no,...t,$stroke:"none"})},nq=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nx,...t,$stroke:"none",$fill:"currentColor"})},nY=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nf,...t,$stroke:"none"})},nX=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nu,...t,$stroke:"none"})},nJ=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:np,...t,$stroke:"none"})},nQ=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nm,...t,$stroke:"none"})},n0=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nC,...t,$stroke:"none"})},n1=e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nh,...t,$stroke:"none"})};function n2(){let e=(0,er._)(["\n transition: opacity 167ms, scale 167ms;\n transition-timing-function: cubic-bezier(0.32, 0.94, 0.6, 1);\n &:hover {\n opacity: 1;\n transform: scale(1.2);\n }\n\n &[disabled]:hover {\n opacity: 0.7;\n transform: scale(1);\n cursor: default;\n }\n\n &:active {\n transform: scale(1.1);\n }\n\n &:focus-visible {\n opacity: 1;\n transform: scale(1.2);\n border: none;\n outline: none;\n border-radius: 4px;\n box-shadow: 0 0 0 2px ",";\n }\n"]);return n2=function(){return e},e}function n5(){let e=(0,er._)(["\n height: ","px;\n width: ","px;\n padding: ","px;\n margin: ","px;\n opacity: 0.7;\n\n ","\n"]);return n5=function(){return e},e}function n6(){let e=(0,er._)(["\n height: ","px;\n width: ","px;\n margin: 0px 7px 0px 7px;\n padding: 17px;\n opacity: 0.7;\n\n ","\n"]);return n6=function(){return e},e}function n4(){let e=(0,er._)(["\n height: ","px;\n width: ","px;\n padding: 10px;\n margin: 6px 14px 0px 14px;\n opacity: 0.7;\n\n ","\n"]);return n4=function(){return e},e}function n3(){let e=(0,er._)(["\n height: ","px;\n width: ","px;\n padding: 8px;\n margin: 4px 14px 0px 14px;\n opacity: 0.7;\n\n ","\n"]);return n3=function(){return e},e}let n7=(0,es.iv)(n2(),eu.keyboard.focus_base),n9=(0,es.iv)(n5(),eh.universal._24,eh.universal._24,eh.universal._12,eh.universal._04,n7),n8=(0,es.iv)(n6(),eh.universal._40,eh.universal._40,n7),ie=(0,es.iv)(n4(),eh.universal._24,eh.universal._24,n7),it=(0,es.iv)(n3(),eh.universal._28,eh.universal._28,n7);function ii(){let e=(0,er._)(["\n all: unset;\n align-items: center;\n display: flex;\n justify-content: center;\n cursor: pointer;\n\n ","\n"]);return ii=function(){return e},e}(r=j||(j={})).SMALL="SMALL",r.CENTER_TRINITY="CENTER",r.TRINITY="TRINITY",r.TRINITY_MIDDLE="TRINITY_MIDDLE";let ia=es.zo.button(ii(),e=>{let{$size:t}=e;return t===j.SMALL?n9:t===j.CENTER_TRINITY?n8:t===j.TRINITY_MIDDLE?it:ie}),ir=e=>{let{accessibilityLabel:t,onClick:n,onKeyDown:i,testId:a}=e;return(0,et.jsx)(ia,{"aria-label":t,"data-testid":null!=a?a:"player-ux-track-dismiss-button",$size:j.SMALL,onClick:n,onKeyDown:i,children:(0,et.jsx)(nV,{})})},is=e=>{let{className:t,playerEvents:n,playerCallbacks:i,EnterFullscreenIcon:a,ExitFullscreenIcon:r,onClickedElementCallback:s=()=>{}}=e,[o,l]=(0,ea.useState)(!1),d=en.Yt.instance,c=(0,ea.useCallback)(()=>{o?(i.requestExitFullscreen(),s("exitFullscreen")):(i.requestEnterFullscreen(),s("enterFullscreen"))},[o,s,i]),u=tI(c);return(0,ea.useEffect)(()=>{let e=[];return e.push(n.fullscreenChange$.subscribe(e=>{l(e.isFullscreen)})),()=>{e.forEach(e=>{e.unsubscribe()})}},[n.fullscreenChange$]),(0,et.jsx)(ia,{className:t,$size:j.SMALL,onClick:c,onKeyDown:u,"aria-label":d.localize("Player.Controls.Focus.Fullscreen"),"data-testid":"player-ux-fullscreen-button",title:d.localize("Player.Controls.Alt.Fullscreen"),children:o?(0,et.jsx)(r,{"data-testid":"player-ux-exit-fullscreen-svg"}):(0,et.jsx)(a,{"data-testid":"player-ux-enter-fullscreen-svg"})})},io=e=>{let{onClick:t,isDisabled:n=!1}=e,i=tI(t),a=en.Yt.instance;return(0,et.jsx)(ia,{"data-testid":"player-ux-track-selector-button",$size:j.SMALL,onClick:t,onKeyDown:i,"aria-label":a.localize("Player.Controls.Focus.TrackSelector"),title:a.localize("Player.Controls.Alt.TrackSelector"),disabled:n,children:(0,et.jsx)(nU,{})})},il=e=>{let{className:t,isCentered:n,isPlaying:i,onPlayPause:a,ariaLabelOverride:r,titleOverride:s,PauseIcon:o,PlayIcon:l}=e,d=tI(a),c=en.Yt.instance,u="",f="";return u=r||(i?c.localize("Player.Controls.A11y.Pause"):c.localize("Player.Controls.A11y.Play")),f=s||(i?c.localize("Player.Controls.Alt.Pause"):c.localize("Player.Controls.Alt.Play")),(0,et.jsx)(ia,{className:t,$size:n?j.CENTER_TRINITY:j.TRINITY_MIDDLE,onClick:a,onKeyDown:d,"data-testid":"player-ux-play-pause-button","data-focusid":"playback_play","aria-label":u,title:f,children:i?(0,et.jsx)(o,{}):(0,et.jsx)(l,{})})};function id(){let e=(0,er._)(["\n box-sizing: border-box;\n border: none;\n height: ","px;\n background: ",";\n border-radius: 6px 0px 0px 6px;\n &::-webkit-slider-runnable-track {\n transform: scaleY(2);\n transition: transform ",", background-size ",";\n }\n\n &::-moz-range-track {\n transform: scaleY(2);\n transition: transform ",", background-size ",";\n }\n\n &::-ms-track {\n transform: scaleY(2);\n transition: transform ",", background-size ",";\n }\n"]);return id=function(){return e},e}function ic(){let e=(0,er._)(["\n ",";\n background-color: transparent;\n background-image: ",";\n\n background-size: var(--sx) 100%, calc(var(--liveEdge)) 100%, calc(100% - var(--sx)) 100%;\n background-position: left center, left center, right center;\n background-repeat: no-repeat;\n"]);return ic=function(){return e},e}function iu(){let e=(0,er._)(["\n height: ","px;\n background: ",";\n border-radius: 6px 0px 0px 6px;\n transition: height ",";\n"]);return iu=function(){return e},e}function i_(){let e=(0,er._)(["\n height: ","px;\n background: var(--progressFillColor);\n border-radius: 6px 0px 0px 6px;\n transition: height ",";\n"]);return i_=function(){return e},e}function ih(){let e=(0,er._)(["\n box-sizing: border-box;\n border: none;\n width: ",";\n height: ",";\n border-radius: 50%;\n background: var(--progressFillColor);\n box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.35);\n opacity: var(--thumbOpacity);\n"]);return ih=function(){return e},e}function im(){let e=(0,er._)(["\n &,\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n }\n\n &:focus {\n outline: none;\n }\n\n &:focus::-webkit-slider-thumb {\n outline: none;\n }\n\n &:focus::-moz-range-thumb {\n outline: none;\n }\n\n &:focus::-ms-thumb {\n outline: none;\n }\n\n &:focus-visible {\n outline: 2px solid ",";\n outline-offset: 5px;\n }\n\n --thumbOpacity: ",";\n --fillPct: 0;\n --liveEdge: 0%;\n --progressFillColor: ",";\n --ratio: calc(var(--fillPct) / 100);\n --sx: ",";\n\n margin: 0;\n padding: 0;\n width: 100%;\n background: transparent;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1;\n pointer-events: ",";\n\n &:hover {\n &::-moz-range-thumb {\n transform: scaleY(0.5);\n }\n\n &::-webkit-slider-thumb {\n transform: scaleY(0.5);\n }\n\n &::-ms-thumb {\n transform: scaleY(0.5);\n }\n\n transform: scaleY(2);\n }\n\n &::-webkit-slider-runnable-track {\n ",";\n }\n\n &::-moz-range-track {\n ",";\n }\n\n &::-ms-track {\n ",";\n }\n\n &::-moz-range-progress {\n ",";\n }\n\n &::-ms-fill-lower {\n ",";\n }\n\n &::-webkit-slider-thumb {\n transition: margin-top ",";\n margin-top: calc(0.5 * (","px - ","));\n ",";\n }\n\n &::-moz-range-thumb {\n ",";\n }\n\n &::-ms-thumb {\n margin-top: 0;\n ",";\n }\n\n &::-ms-tooltip {\n display: none;\n }\n\n &::-moz-focus-outer {\n border: 0;\n }\n\n @supports (-moz-appearance: none) {\n top: -",";\n }\n"]);return im=function(){return e},e}function ip(){let e=(0,er._)(["\n display: ",";\n height: ","px;\n margin-bottom: 12px;\n position: relative;\n z-index: 2;\n"]);return ip=function(){return e},e}let ig="16px",iv="rgba(0,0,0,0)",ib="rgba(255, 255, 255, 0.3)",ix="167ms cubic-bezier(0.32, 0.94, 0.6, 1)",iy="167ms cubic-bezier(0.26, 1, 0.48, 1)";(s=O||(O={}))[s.COVER=0]="COVER",s[s.LINE=1]="LINE";let ik=(0,es.iv)(id(),4,iv,ix,iy,ix,iy,ix,iy),iC=(0,es.iv)(ic(),ik,e=>{let{$liveEdgeStyle:t}=e;return t===O.LINE?"linear-gradient(var(--progressFillColor), var(--progressFillColor)),\n linear-gradient(to left, var(--progressFillColor) 3px, transparent 3px),\n linear-gradient(".concat(iv,", ").concat(iv,")"):"linear-gradient(var(--progressFillColor), var(--progressFillColor)),\n linear-gradient(".concat(ib,", ").concat(ib,"),\n linear-gradient(").concat(iv,", ").concat(iv,")")}),iS=(0,es.iv)(iu(),4,"#ffffff",ix),iE=(0,es.iv)(i_(),4,ix),iT=(0,es.iv)(ih(),ig,ig),iP=es.ZP.input(im(),eu.keyboard.focus_base,e=>{let{$isSeekDisabled:t}=e;return t?"0":"100"},e=>{let{$isLiveEdge:t}=e;return t?"rgb(217, 32, 60)":"#ffffff"},e=>{let{$isSeekDisabled:t}=e;return t?"calc(var(--ratio) * 100%)":"calc(0.5 * ".concat(ig," + var(--ratio) * (100% - ").concat(ig,"))")},e=>{let{$isSeekDisabled:t}=e;return t?"none":"auto"},iC,ik,ik,iE,iS,ix,4,ig,iT,iT,iT,"8px");iP.defaultProps={$isSeekDisabled:!1,$isLiveEdge:!1,$liveEdgeStyle:O.COVER};let iw=es.ZP.div(ip(),e=>{let{$isVisible:t}=e;return t?"flex":"none"},4);function iA(){let e=(0,er._)(["\n white-space: nowrap;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 0;\n height: 4px;\n width: 100%;\n display: flex;\n"]);return iA=function(){return e},e}iw.defaultProps={$isVisible:!0},(o=B||(B={})).begin="6px 0px 0px 6px",o.end="0px 6px 6px 0px",o.beginAndEnd="6px",o.none="0px",(l=F||(F={})).active="transparent",l.inactive="#ffffff",l.viewing="#faff11";let iI=es.ZP.div(iA()),iM=es.ZP.div(e=>{let{$borderRadius:t=B.none,$scaleFactor:n}=e;return"\n background: ".concat("#ffffff",";\n opacity: 0.31;\n height: ").concat("4px",";\n border-radius: ").concat(t,";\n transition: height 167ms cubic-bezier(0.32, 0.94, 0.6, 1);\n transform: scaleY(").concat(n,")\n")}),iR=es.ZP.div(e=>{let{$state:t,$scaleFactor:n,$width:i=12}=e;return"\n background: ".concat(t,";\n opacity: ").concat(t===F.inactive?.31:1,";\n height: ").concat("4px",";\n width: ").concat(i,"px;\n display: inline-block;\n transition: height 167ms cubic-bezier(0.32, 0.94, 0.6, 1);\n transform: scaleY(").concat(n,")\n")}),iD=e=>{let{adPartWidth:t=12,isHover:n,playerEvents:i,sliderRef:a}=e,[r,s]=(0,ea.useState)(void 0),[o,l]=(0,ea.useState)(void 0),[d,c]=(0,ea.useState)([]),[u,f]=(0,ea.useState)(!1),[_,h]=(0,ea.useState)([]),[m,p]=(0,ea.useState)(1),g=(0,ea.useRef)([]),v=(0,ea.useRef)(0),b=(e,t,n,i,a,r,s)=>{let o=t-e;if(o<=0)return"10px";let l=o/n*i;return r&&(l-=a,0===e&&(l-=10)),!s&&t>=n&&(l-=a+10),(l/i*100).toFixed(1)+"%"};(0,ea.useEffect)(()=>{p(n?2:1)},[n]),(0,ea.useEffect)(()=>{if(!window.ResizeObserver)return l(parseInt(getComputedStyle(a.current).width)),()=>{};{let e=a.current,t=new ResizeObserver(e=>{l(parseInt(getComputedStyle(a.current).width))});return e&&t.observe(e),()=>{e&&t.unobserve(e)}}},[a]);let x=(0,ea.useCallback)(()=>{let e=[],t=[],n=0,i=!1;for(let a=0;a0&&l(parseInt(getComputedStyle(a.current).width)),h(t),c(e)},[a]),y=(0,ea.useCallback)((e,t)=>{c(n=>{let i=[...n];return void 0!==i[e]&&(i[e]=t),i}),h(n=>{let i=[...n];return void 0!==i[e]&&t===F.inactive&&(i[e].seen=!0),i})},[]);return(0,ea.useEffect)(()=>{let e=[];return e.push(i.timelineUpdate$.subscribe(e=>{let t=e.timeline.children.filter(e=>"AdPod"===e.type);g.current=t,v.current=e.contentDurationMs,x()})),e.push(i.adRollEvent$.subscribe(e=>{"AdRollStart"===e.type?y(e.podIndex,F.viewing):"AdRollEnd"===e.type&&y(e.podIndex,F.inactive),f("AdRollStart"===e.type)})),()=>{e.forEach(e=>{e.unsubscribe()})}},[i.timelineUpdate$,i.adRollEvent$,x,y]),(0,ea.useEffect)(()=>{let e=[];if(0!==v.current&&void 0!==o&&g){let n=g.current.length,i=0;for(let a=0;a0,!1)}},"content_"+a)),i=g.current[a].contentStartTime,e.push((0,et.jsx)(iR,{"data-testid":"ad_"+a,$state:d[a],$scaleFactor:m,$width:t},"ad_"+a)),a===n-1&&e.push((0,et.jsx)(iM,{"data-testid":"content_"+(a+1),$borderRadius:B.end,$scaleFactor:m,style:{width:b(g.current[a].contentStartTime,v.current,v.current,o,t,!0,!0)}},"content_"+(a+1)))}s(e)},[d,t,m,o]),(0,et.jsx)(iI,{"data-ad-slots":JSON.stringify(_),"data-testid":"player-ux-scrubber-track",children:!u&&(void 0===r||0===r.length?(0,et.jsx)(iM,{"data-testid":"content_0",$borderRadius:B.beginAndEnd,$scaleFactor:m,style:{width:"100%"}},"content_0"):null==r?void 0:r.map(e=>e))})};function iN(){let e=(0,er._)(["\n width: 100%;\n object-fit: contain;\n"]);return iN=function(){return e},e}function iL(){let e=(0,er._)(["\n ","\n background-color: #191919;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 14px;\n height: 28px;\n"]);return iL=function(){return e},e}let ij=es.ZP.div(e=>{let{$isScrubberHover:t}=e;return"\n color: #ffffff;\n position: absolute;\n bottom: ".concat(eh.universal._20,"px;\n z-index: 1;\n width: ").concat(183,"px;\n transition: ").concat(t?"opacity 333ms cubic-bezier(0.32, 0.94, 0.6, 1) 333ms;":"opacity 167ms cubic-bezier(0.32, 0.94, 0.6, 1), transform 0ms 167ms;","\n opacity: ").concat(t?1:0,";\n transform: translateX(").concat(-1e3,"px);\n\n ").concat(ec._05," {\n bottom: ").concat(eh.universal._28,"px;\n width: ").concat(232,"px;\n }\n")}),iO=es.ZP.div(e=>{let{$aspectRatio:t=16/9}=e;return"\n display: flex;\n background-color: #000000;\n min-height: ".concat(183/t,"px;\n\n ").concat(ec._05," {\n min-height: ").concat(232/t,"px;\n }\n")}),iB=es.ZP.img(iN()),iF=es.ZP.div(iL(),e=>{let{$styleOverride:t}=e;return tC(t)}),iZ=e=>{let{canShow:t,contentDurationMs:n,playerCallbacks:i,scrubberPosition:a,scrubberWidth:r,playheadMs:s,dvrWindowOffset:o=0,showRelativeTime:l=!1,isPositionVisible:d,direction:c}=e,[u,f]=(0,ea.useState)(void 0),[_,h]=(0,ea.useState)(""),m=(0,ea.useRef)(null),p=(0,ea.useRef)(void 0),g=(0,ea.useRef)(void 0),[v,b]=(0,ea.useState)(void 0),[x,y]=(0,ea.useState)(void 0),k=en.Yt.instance,C=tv(),S=()=>{if(m.current){let e=getComputedStyle(m.current);return{width:parseInt(e.width,10),height:parseInt(e.height,10)}}return{width:0,height:0}},E=(0,ea.useCallback)(e=>{y(e.currentTarget.naturalWidth/e.currentTarget.naturalHeight)},[]),T=e=>{m.current&&(m.current.style.transform="translateX(".concat(e,"px)"))},P=(0,ea.useCallback)(e=>{if(p.current)g.current=e;else{let{width:t,height:n}=S();p.current=i.requestThumbnailUrl(e,n,t).then(e=>{b(e)}).catch(()=>{b(void 0)}).finally(()=>{p.current=void 0,g.current&&P(g.current),g.current=void 0})}},[i]);return(0,ea.useEffect)(()=>{if(void 0!==u){let e,t;e=l&&s?u-s:u;let{hh:n,mm:i,ss:a}=(0,tS.N1)(Math.abs(e));t=(""!==n?n+":":"")+i+":"+a,e<0&&(t="-"+t),h(k.localizeWithParameters("Player.Timestamp",{timestamp:t})),P(u+o)}else h(""),b(void 0),g.current=void 0},[u,k,P,o,l,s]),(0,ea.useEffect)(()=>{if(void 0!==a){let e=a/r*n;e<0?e=0:e>n&&(e=n),f(e>0?e:0)}else f(void 0)},[a,r,n]),(0,ea.useEffect)(()=>{if(void 0!==a){let{width:e}=S(),t=r-e,n=a-e/2;n<0?n=0:n>t&&(n=t),T(n)}else T(-1e3)},[a,r]),t?(0,et.jsxs)(ij,{"data-testid":"player-ux-trickplay-container",ref:m,$isScrubberHover:void 0!==a,children:[(0,et.jsx)(iO,{"data-testid":"trickplay-background",$aspectRatio:x,children:v&&(0,et.jsx)(iB,{"data-testid":"trickplay-image",src:v,onLoad:E})}),d&&(0,et.jsx)(iF,{$styleOverride:C.getProgressBarElementTextStyle(),"data-testid":"player-ux-trickplay-time",children:_})]}):null},iz=e=>{let[t,n]=(0,ea.useState)(!1);return(0,ea.useEffect)(()=>{let t=[];return t.push(e.adRollEvent$.subscribe(e=>{n("AdRollStart"===e.type)})),()=>{t.forEach(e=>e.unsubscribe())}},[e.adRollEvent$]),t},iH="urn:x-cast:beam",iU={BEAM_SELECT_AUDIO_TRACK:"urn:x-cast:beam_select_audio_track",BEAM_SELECT_TEXT_TRACK:"urn:x-cast:beam_select_text_track",BEAM_UPDATE_TRACK_LIST:"urn:x-cast:beam_update_track_list",BEAM_TEXT_TRACK_UPDATE:"urn:x-cast:beam_text_track_update",BEAM_AUDIO_TRACK_UPDATE:"urn:x-cast:beam_audio_track_update",BEAM_LOAD_INTERRUPT:"urn:x-cast:beam_load_interrupt",BEAM_CONTINUE_LOADING:"urn:x-cast:beam_continue_loading",BEAM_SKIP_ANNOTATION:"urn:x-cast:beam_skip_annotation",BEAM_UP_NEXT_ANNOTATION:"urn:x-cast:beam_up_next_annotation",BEAM_UP_NEXT_PLAY_NEXT_EPISODE:"urn:x-cast:beam_up_next_play_next_episode",BEAM_UP_NEXT_CANCEL:"urn:x-cast:beam_up_next_cancel"};function iV(e){if(!e||(null==e?void 0:e.size)===0)return;let t={};return e.forEach((e,n)=>{t[String(n)]=e}),t}function i$(e){var t;if(e&&(null===(t=Object.keys(e))||void 0===t?void 0:t.length)!==0)return new Map(Object.entries(e))}(d=Z||(Z={})).DISMISS_UP_NEXT="DISMISS_UP_NEXT_CTA",d.IGNORE_UP_NEXT="IGNORE_UP_NEXT_CTA",d.LOAD="LOAD",d.SELECT_AUDIO_TRACK="SELECT_AUDIO_TRACK",d.SELECT_TEXT_TRACK="SELECT_TEXT_TRACK",d.REQUEST_ACKNOWLEDGEMENT="REQUEST_ACKNOWLEDGEMENT",d.TOGGLE_UP_NEXT="TOGGLE_UP_NEXT_CTA",d.UPDATE_TRACK_LIST="UPDATE_TRACK_LIST",d.TEXT_TRACK_UPDATE="TEXT_TRACK_UPDATE",d.AUDIO_TRACK_UPDATE="AUDIO_TRACK_UPDATE",d.LOAD_INTERRUPT="LOAD_INTERRUPT",d.CONTINUE_LOADING="CONTINUE_LOADING",d.SKIP_ANNOTATION="SKIP_ANNOTATION",d.UP_NEXT_ANNOTATION="UP_NEXT_ANNOTATION",d.UP_NEXT_PLAY_NEXT_EPISODE="UP_NEXT_PLAY_NEXT_EPISODE",d.UP_NEXT_CANCEL="UP_NEXT_CANCEL",Z.UPDATE_TRACK_LIST,Z.TEXT_TRACK_UPDATE,Z.AUDIO_TRACK_UPDATE,(c=z||(z={})).AVOD="avod",c.QVOD="qvod",c.SVOD="svod",(u=H||(H={})).WHITE="WHITE",u.BLACK="BLACK",u.RED="RED",u.GREEN="GREEN",u.BLUE="BLUE",u.YELLOW="YELLOW",u.MAGENTA="MAGENTA",u.CYAN="CYAN",(f=U||(U={})).NONE="NONE",f.RAISED="RAISED",f.DEPRESSED="DEPRESSED",f.UNIFORM="UNIFORM",f.DROP_SHADOW="DROP_SHADOW",f.DEFAULT="NONE",(_=V||(V={})).EXTRA_LARGE="EXTRA_LARGE",_.LARGE="LARGE",_.MEDIUM="MEDIUM",_.SMALL="SMALL",_.TINY="TINY",(h=$||($={})).TYPE="TYPE",h.SERIF="SERIF",h.MONOSPACED="MONOSPACED",h.SANS_SERIF="SANS_SERIF",h.CASUAL="CASUAL",h.SCRIPT="SCRIPT",h.SMALL_CAPS="SMALL_CAPS",h.DEFAULT="SANS_SERIF",(m=G||(G={}))[m.PERCENT_000=0]="PERCENT_000",m[m.PERCENT_025=.25]="PERCENT_025",m[m.PERCENT_033=.33]="PERCENT_033",m[m.PERCENT_050=.5]="PERCENT_050",m[m.PERCENT_066=.66]="PERCENT_066",m[m.PERCENT_075=.75]="PERCENT_075",m[m.PERCENT_100=1]="PERCENT_100",(p=W||(W={})).VIDEO="VIDEO",p.CHANNEL="CHANNEL",(g=K||(K={})).LOAD="LOAD",g.PAUSE="PAUSE",g.QUEUE_NEXT="QUEUE_NEXT",g.RESUME="RESUME",g.SEEK="SEEK",g.SELECT_AUDIO_TRACK="SELECT_AUDIO_TRACK",g.SELECT_TEXT_TRACK="SELECT_TEXT_TRACK",g.SET_VOLUME="SET_VOLUME";var iG=n(57865),iW=n(60726),iK=n(84248),iq=n(47206);class iY{addEventListener(e,t){void 0!==this._eventToListenersMap[e]?this._eventToListenersMap[e].add(t):this._eventToListenersMap[e]=new Set([t])}removeEventListener(e,t){void 0!==this._eventToListenersMap[e]&&this._eventToListenersMap[e].delete(t)}_emitEvent(e,t){let n=this._eventToListenersMap[e];void 0!==n&&n.forEach(e=>e(t))}constructor(){this._eventToListenersMap={}}}class iX extends iY{get availableDevices(){return[]}get connectedDevice(){}get connectionState(){return"NO_DEVICES_AVAILABLE"}get isAvailable(){return!1}get isConnected(){return!1}get inAdBreak(){return!1}get mediaStatus(){return{playbackState:iq.w.CLOSED}}get playheadPosition(){}get upNextStatus(){return{isVisible:!1}}get nextProgramId(){}configure(e){}setTokenIssuer(e){}setOneTrustMetadata(){}setUserInfo(){}setUiLanguage(){}setUserConsent(){}async startSession(){return!1}async endSession(){}stopSession(){}async dismissUpNext(){}async ignoreUpNext(){}async load(e){}async pause(){}async queueNext(){}async resume(){}async seek(e){}async selectAudioTrack(e){}async selectTextTrack(e){}async setDeviceVolume(e){}async setStreamVolume(e){}async selectNextEpisode(){}setLoadInterruptCallback(e){}appendCustomData(e){}clearCustomData(){}setProfileDetails(e){}setCurrentCastSessionAlreadyVerified(e){}async _sendCustomMessage(e){}static getInstance(){return iX._instance=iX._instance||new iX}constructor(){super(...arguments),this.castEvents$=void 0}}function iJ(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n={...e};return Object.keys(n).forEach(e=>{let i=n[e];if(null===i)delete n[e];else{var a;t&&"object"==typeof(a=i)&&!Array.isArray(a)&&(n[e]=iJ(i))}}),n}class iQ{static getOptions(){return{autoJoinPolicy:iQ.autoJoinPolicy,credentialsData:iQ.credentialsData,receiverApplicationId:iQ.receiverApplicationID,resumeSavedSession:iQ.resumeSavedSession}}}iQ.autoJoinPolicy="origin_scoped",iQ.resumeSavedSession=!0,iQ.credentialsData=null,iQ.receiverApplicationID="C5B95AD4",(v=q||(q={})).CONTINUE_LOADING="CONTINUE_LOADING",v.CANCEL_LOADING="CANCEL_LOADING";class i0{static fromReceiver(e){var t,n;if(void 0!==e)return{ID:e.label,name:e.friendlyName,hasFixedVolume:e.volume.controlType===chrome.cast.VolumeControlType.FIXED,isMuted:null!==(t=e.volume.muted)&&void 0!==t?t:void 0,volume:null!==(n=e.volume.level)&&void 0!==n?n:void 0}}}class i1{static fromCastState(e){switch(e){case globalThis.cast.framework.CastState.NO_DEVICES_AVAILABLE:return"NO_DEVICES_AVAILABLE";case globalThis.cast.framework.CastState.NOT_CONNECTED:return"NOT_CONNECTED";case globalThis.cast.framework.CastState.CONNECTING:return"CONNECTING";case globalThis.cast.framework.CastState.CONNECTED:return"CONNECTED"}}}var i2=n(2537);class i5{static fromTrack(e){var t,n,i;let a=e.customData;return{displayName:null!==(t=null==a?void 0:a.displayName)&&void 0!==t?t:e.name,forcedTextLanguage:null==a?void 0:a.forcedTextLanguage,language:null!==(n=null==a?void 0:a.language)&&void 0!==n?n:e.language,role:null!==(i=null==a?void 0:a.role)&&void 0!==i?i:i2.u.PROGRAM}}}var i6=n(91160);class i4{static fromTrack(e){var t,n,i;let a=e.customData;return{displayName:null!==(t=null==a?void 0:a.displayName)&&void 0!==t?t:e.name,language:null!==(n=null==a?void 0:a.language)&&void 0!==n?n:e.language,role:null!==(i=null==a?void 0:a.role)&&void 0!==i?i:i6.m.SUBTITLE}}}class i3{static _fetchAudioTracks(e){var t,n;return null!==(n=null===(t=e.tracks)||void 0===t?void 0:t.filter(e=>e.type===globalThis.chrome.cast.media.TrackType.AUDIO).map(e=>i5.fromTrack(e)))&&void 0!==n?n:[]}static _fetchTextTracks(e){var t,n;return null!==(n=null===(t=e.tracks)||void 0===t?void 0:t.filter(e=>e.type===globalThis.chrome.cast.media.TrackType.TEXT).map(e=>i4.fromTrack(e)))&&void 0!==n?n:[]}static _fetchImage(e){let t="";return e.images&&Array.isArray(e.images)&&e.images.length>0&&(t=e.images.length>=2?e.images[1].url:e.images[0].url),t}static fromMediaSessionMediaInfo(e,t){var n,i,a,r,s;if(void 0===e)return;let o=null!==(n=e.metadata)&&void 0!==n?n:{},l=e.customData;void 0===l?void 0!==i3._previousCustomData&&t!==chrome.cast.media.PlayerState.IDLE&&(l=i3._previousCustomData):i3._previousCustomData=e.customData;let d=i3._fetchImage(o),c=i3._fetchAudioTracks(e),u=i3._fetchTextTracks(e),f=e.streamType===globalThis.chrome.cast.media.StreamType.LIVE?"LIVE":"BUFFERED",_=null!==(i=null==l?void 0:l.programId)&&void 0!==i?i:e.contentId,h=(null!==(a=o.season)&&void 0!==a?a:o.episode)!==void 0;return{assetDuration:"BUFFERED"===f?e.duration:e.metadata.sectionDuration,sectionStart:"BUFFERED"===f?0:o.sectionStartTimeInMedia,audioTracks:c,brand:null==l?void 0:l.brand,episodeNumber:o.episode,imageURLTemplate:d,nextProgramId:null==l?void 0:l.nextAssetID,seasonNumber:o.season,seriesTitle:h?o.title:o.seriesTitle||o.subtitle,skippableSections:null==l?void 0:l.skippableSections,streamType:f,textTracks:u,title:h?o.seriesTitle||o.subtitle:o.title,programId:_,vodType:null==l?void 0:l.vodType,streamMode:null==l?void 0:l.streamMode,replayMetadataEnabled:null===(r=null==l?void 0:l.playableExtras)||void 0===r?void 0:r.replayMetadataEnabled,transportControlsEnabled:null===(s=null==l?void 0:l.playableExtras)||void 0===s?void 0:s.transportControlsEnabled}}}class i7{static fromMediaSession(e){var t,n;switch(e.playerState){case globalThis.chrome.cast.media.PlayerState.IDLE:{let i=null===(t=null==e?void 0:e.media)||void 0===t?void 0:t.customData;return(null===(n=e.extendedStatus)||void 0===n?void 0:n.playerState)==="LOADING"||(null==i?void 0:i.nextProgramId)&&i.nextProgramId!==i.programId?iq.w.PREPARING:iq.w.CLOSED}case globalThis.chrome.cast.media.PlayerState.PLAYING:return iq.w.PLAYING;case globalThis.chrome.cast.media.PlayerState.PAUSED:return iq.w.PAUSED;case globalThis.chrome.cast.media.PlayerState.BUFFERING:return iq.w.BUFFERING}}}class i9{static fromMediaSession(e){var t;if(null==e)return{playbackState:iq.w.CLOSED};let n=i7.fromMediaSession(e);if(n===iq.w.CLOSED)return{playbackState:n};let i=i3.fromMediaSessionMediaInfo(e.media,e.playerState);return void 0!==i&&(i.transportControlsEnabled=i9._getTransportControls(e)),{isAdActive:i9._getIsAdActive(e),media:i,playbackState:n,liveSeekableRange:e.liveSeekableRange,selectedAudioTrack:i9._getSelectedAudioTrack(e),selectedTextTrack:i9._getSelectedTextTrack(e),volume:null!==(t=e.volume.level)&&void 0!==t?t:void 0}}static _getIsAdActive(e){var t;let n=null===(t=e.breakStatus)||void 0===t?void 0:t.breakClipId;return void 0!==n&&""!==n}static _getSelectedAudioTrack(e){var t,n;let i=null===(n=null===(t=e.media)||void 0===t?void 0:t.tracks)||void 0===n?void 0:n.find(t=>t.type===globalThis.chrome.cast.media.TrackType.AUDIO&&e.activeTrackIds.includes(t.trackId));return i&&i5.fromTrack(i)}static _getSelectedTextTrack(e){var t,n;let i=null===(n=null===(t=e.media)||void 0===t?void 0:t.tracks)||void 0===n?void 0:n.find(t=>t.type===globalThis.chrome.cast.media.TrackType.TEXT&&e.activeTrackIds.includes(t.trackId));return i&&i4.fromTrack(i)}static _getTransportControls(e){let t=chrome.cast.media.MediaCommand.SEEK;return e.supportedMediaCommands.includes(t)}}class i8{static fromErrorCode(e){switch(e){case void 0:case null:return;case chrome.cast.ErrorCode.API_NOT_INITIALIZED:return"castApiError";case chrome.cast.ErrorCode.CANCEL:return"cancelled";case chrome.cast.ErrorCode.CHANNEL_ERROR:return"channelError";case chrome.cast.ErrorCode.EXTENSION_MISSING:case chrome.cast.ErrorCode.EXTENSION_NOT_COMPATIBLE:return"castApiError";case chrome.cast.ErrorCode.INVALID_PARAMETER:return"invalidRequest";case chrome.cast.ErrorCode.LOAD_MEDIA_FAILED:return"mediaError";case chrome.cast.ErrorCode.RECEIVER_UNAVAILABLE:return"receiverError";case chrome.cast.ErrorCode.SESSION_ERROR:return"sessionError";case chrome.cast.ErrorCode.TIMEOUT:return"timeout";default:return"unknownCastError"}}}class ae{addMessageListener(e,t){this._namespaceToListenersMap.has(e)||this._namespaceToListenersMap.set(e,new Set),this._namespaceToListenersMap.get(e).add(t)}removeMessageListener(e,t){var n;null===(n=this._namespaceToListenersMap.get(e))||void 0===n||n.delete(t)}sendMessage(e,t){let n=this._sessionManager.getCurrentCastSession();n&&n.sendMessage(e,JSON.stringify(t))}registerToReceiver(){let e=this._sessionManager.getCurrentCastSession();if(e)for(let t of this._namespaceToListenersMap.keys())e.addMessageListener(t,this._onMessageReceived)}unregisterFromReceiver(){let e=this._sessionManager.getCurrentCastSession();if(e)for(let t of this._namespaceToListenersMap.keys())e.removeMessageListener(t,this._onMessageReceived)}constructor(e){this._namespaceToListenersMap=new Map,this._onMessageReceived=(e,t)=>{let n;try{n=JSON.parse(t)}catch(e){console.error("Error parsing message:",e);return}let i=this._namespaceToListenersMap.get(e);if(i)for(let t of i)t.onMessage(e,n)},this._sessionManager=e}}class at{isSenderUnificationEnabled(e){var t,n;let i=null===(t=null==e?void 0:e.flag_senderUnification)||void 0===t?void 0:t.config;return null!==(n=null==i?void 0:i.enabled)&&void 0!==n&&n}}class an{_handleSkipMessage(e){this._skipMessageSubject.next(e)}clear(){this._castCustomMessageHandler.removeMessageListener(iU.BEAM_SKIP_ANNOTATION,this._skipAnnotationListener),this._skipMessageSubject.complete()}constructor(e){this._skipMessageSubject=new tQ.X(void 0),this.observeCastSkipData=this._skipMessageSubject.asObservable().pipe((0,na.h)(e=>void 0!==e)),this._castCustomMessageHandler=e,this._skipAnnotationListener={onMessage:(e,t)=>{"SKIP_ANNOTATION"===t.type&&this._handleSkipMessage(t)}},this._castCustomMessageHandler.addMessageListener(iU.BEAM_SKIP_ANNOTATION,this._skipAnnotationListener)}}class ai{_handleUpNextMessage(e){this._upNextMessageSubject.next(e)}_handleUpNextCancel(){this._upNextCancelSubject.next()}playUpNextEpisode(){this._castCustomMessageHandler.sendMessage(iU.BEAM_UP_NEXT_PLAY_NEXT_EPISODE,{type:Z.UP_NEXT_PLAY_NEXT_EPISODE,data:void 0})}cancelUpNextEpisode(){this._castCustomMessageHandler.sendMessage(iU.BEAM_UP_NEXT_CANCEL,{type:Z.UP_NEXT_CANCEL,data:void 0})}clear(){this._castCustomMessageHandler.removeMessageListener(iU.BEAM_UP_NEXT_ANNOTATION,this._upNextListener),this._castCustomMessageHandler.removeMessageListener(iU.BEAM_UP_NEXT_CANCEL,this._upNextListener),this._upNextMessageSubject.complete(),this._upNextCancelSubject.complete()}constructor(e){this._upNextMessageSubject=new tQ.X(void 0),this._upNextCancelSubject=new tQ.X(void 0),this.observeUpNextMessage=this._upNextMessageSubject.asObservable().pipe((0,na.h)(e=>void 0!==e)),this.observeUpNextCancel=this._upNextCancelSubject.asObservable(),this._castCustomMessageHandler=e,this._upNextListener={onMessage:(e,t)=>{t.type===Z.UP_NEXT_ANNOTATION?this._handleUpNextMessage(t):t.type===Z.UP_NEXT_CANCEL&&this._handleUpNextCancel()}},this._castCustomMessageHandler.addMessageListener(iU.BEAM_UP_NEXT_ANNOTATION,this._upNextListener),this._castCustomMessageHandler.addMessageListener(iU.BEAM_UP_NEXT_CANCEL,this._upNextListener)}}class aa{setLoadInterruptCallback(e){this._callback=e}clear(){this._castCustomMessageHandler.removeMessageListener(iU.BEAM_LOAD_INTERRUPT,this._handler)}_sendContinueLoadingMessage(){this._castCustomMessageHandler.sendMessage(iU.BEAM_CONTINUE_LOADING,{type:Z.CONTINUE_LOADING,data:void 0})}constructor(e){this._castCustomMessageHandler=e,this._handler={onMessage:(e,t)=>{(async()=>{var e;try{if(t.type===Z.LOAD_INTERRUPT){if(!(null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.contentMetadata))return;let n=t.data.contentMetadata;this._callback&&await this._callback(n)===q.CONTINUE_LOADING&&this._sendContinueLoadingMessage()}}catch(e){console.error("Error handling load interrupt message:",e)}})().catch(()=>{})}},this._castCustomMessageHandler.addMessageListener(iU.BEAM_LOAD_INTERRUPT,this._handler)}}(b=Y||(Y={})).AUDIO_TRACK_TYPE="audio",b.TEXT_TRACK_TYPE="text";class ar{get tracksPublisher(){return this._tracksPublisher.asObservable()}get selectedTrackPublisher(){return this._selectedTrackPublisher.asObservable()}_publishTrackUpdates(e){switch(e.type){case"AUDIO_TRACK_UPDATE":this._updateSelectedTrack(e.audioTrack,Y.AUDIO_TRACK_TYPE);break;case"TEXT_TRACK_UPDATE":this._updateSelectedTrack(e.textTrack,Y.TEXT_TRACK_TYPE);break;case"UPDATE_TRACK_LIST":this._updateTrackList(e)}}_updateSelectedTrack(e,t){if(this._trackType===t&&e){this._selectedTrackPublisher.next(e);let t=this._tracksPublisher.getValue();t.find(t=>t.language===e.language&&t.role===e.role)||this._tracksPublisher.next([...t,e])}}_updateTrackList(e){let t=[];this._trackType===Y.TEXT_TRACK_TYPE?t=e.textTracks||[]:this._trackType===Y.AUDIO_TRACK_TYPE&&(t=e.audioTracks||[]),this._tracksPublisher.next(t)}setActiveTrack(e,t){let n;let i=this._tracksPublisher.getValue().find(n=>n.language===e&&(!t||n.role===t));i&&(this._trackType===Y.TEXT_TRACK_TYPE?n={type:"SELECT_TEXT_TRACK",data:{textTrack:i}}:this._trackType===Y.AUDIO_TRACK_TYPE&&(n={type:"SELECT_AUDIO_TRACK",data:{audioTrack:i}}),n&&this._handler.sendMessage(this._namespace,n))}clear(){this._tracksPublisher.next([]),this._selectedTrackPublisher.next(void 0),this._handler.removeMessageListener(this._namespace,{onMessage:()=>{}})}constructor(e,t){this._tracksPublisher=new tQ.X([]),this._selectedTrackPublisher=new tQ.X(void 0),this._handler=e,this._trackType=t,this._namespace=t===Y.AUDIO_TRACK_TYPE?iU.BEAM_AUDIO_TRACK_UPDATE:iU.BEAM_TEXT_TRACK_UPDATE,this._handler.addMessageListener(this._namespace,{onMessage:(e,t)=>{this._publishTrackUpdates(t)}}),this._handler.addMessageListener(iU.BEAM_UPDATE_TRACK_LIST,{onMessage:(e,t)=>{this._publishTrackUpdates(t)}})}}class as{get observeAvailableAudioTracks(){return this._trackHandler.tracksPublisher}get observeCurrentAudioTrack(){return this._trackHandler.selectedTrackPublisher}setAudioTrack(e,t){this._trackHandler.setActiveTrack(e,t)}clear(){this._trackHandler.clear()}constructor(e){this._trackHandler=new ar(e,Y.AUDIO_TRACK_TYPE)}}class ao{get observeAvailableCaptionTracks(){return this._trackHandler.tracksPublisher}get observeSelectedCaptionTrack(){return this._trackHandler.selectedTrackPublisher}setCaptionTrack(e,t){this._trackHandler.setActiveTrack(e,t)}clear(){this._trackHandler.clear()}constructor(e){this._trackHandler=new ar(e,Y.TEXT_TRACK_TYPE)}}class al extends iY{static getInstance(){if(void 0!==al._instance)return al._instance;let e=!!globalThis.chrome,t="https:"===globalThis.location.protocol,n=e&&t?new al:iX.getInstance();return al._instance=n}getPlayerController(){if(!this._playerController){let e=new globalThis.cast.framework.RemotePlayer;this._playerController=new globalThis.cast.framework.RemotePlayerController(e)}return this._playerController}get _castContext(){return globalThis.cast.framework.CastContext.getInstance()}get availableDevices(){return this._availableDevices}get connectedDevice(){return this._connectedDevice}get connectionState(){return this._connectionState}get isAvailable(){return"NO_DEVICES_AVAILABLE"!==this.connectionState}get isConnected(){return"CONNECTED"===this.connectionState}get mediaStatus(){return this._mediaStatus}get playheadPosition(){return this._playheadPosition}get upNextStatus(){return this._upNextStatus}get inAdBreak(){var e,t;return(null===(t=null===(e=this._mediaSession)||void 0===e?void 0:e.breakStatus)||void 0===t?void 0:t.breakClipId)!==void 0}get nextProgramId(){var e,t;let n=null===(t=null===(e=this._mediaSession)||void 0===e?void 0:e.media)||void 0===t?void 0:t.customData;return null==n?void 0:n.nextProgramId}configure(e){iQ.receiverApplicationID=e.receiverId,globalThis.window.__onGCastApiAvailable=t=>{if(!t)return al._instance=iX.getInstance();let n=this._castContext,i=globalThis.cast.framework.CastContextEventType;n.addEventListener(i.CAST_STATE_CHANGED,this._onCastStateChanged),n.addEventListener(i.SESSION_STATE_CHANGED,this._onSessionStateChanged),this._config=e,this.getPlayerController(),this._castContext.setOptions(iQ.getOptions()),this._isInitialized=!0}}async startSession(){let e=await this._castContext.requestSession();if(e===globalThis.chrome.cast.ErrorCode.CANCEL)return!1;if(null!=e)throw Error(e);return!0}async endSession(){await this._castContext.requestSession()}stopSession(){this._castContext.endCurrentSession(!0)}_getNamespaceForMessageType(e){switch(e){case Z.SELECT_AUDIO_TRACK:return iU.BEAM_SELECT_AUDIO_TRACK;case Z.SELECT_TEXT_TRACK:return iU.BEAM_SELECT_TEXT_TRACK;case Z.UPDATE_TRACK_LIST:return iU.BEAM_UPDATE_TRACK_LIST;case Z.TEXT_TRACK_UPDATE:return iU.BEAM_TEXT_TRACK_UPDATE;case Z.AUDIO_TRACK_UPDATE:return iU.BEAM_AUDIO_TRACK_UPDATE;case Z.LOAD_INTERRUPT:return iU.BEAM_LOAD_INTERRUPT;case Z.CONTINUE_LOADING:return iU.BEAM_CONTINUE_LOADING;case Z.SKIP_ANNOTATION:return iU.BEAM_SKIP_ANNOTATION;case Z.UP_NEXT_ANNOTATION:return iU.BEAM_UP_NEXT_ANNOTATION;case Z.UP_NEXT_PLAY_NEXT_EPISODE:return iU.BEAM_UP_NEXT_PLAY_NEXT_EPISODE;case Z.UP_NEXT_CANCEL:return iU.BEAM_UP_NEXT_CANCEL;default:return}}async _sendCustomMessage(e){let t;let n=this._castSession;if(void 0===n)return Promise.reject(Error("No cast session"));if(this._isSenderUnificationEnabled){if(!(t=this._getNamespaceForMessageType(e.type)))return Promise.reject(Error("No namespace found for message type: ".concat(e.type)))}else t=iH;let i=await n.sendMessage(t,e);if(void 0!==i)return Promise.reject(Error(i))}dismissUpNext(){return this._isSenderUnificationEnabled?(this._castUpNextHandler.cancelUpNextEpisode(),Promise.resolve()):this._sendCustomMessage({type:Z.UP_NEXT_CANCEL})}ignoreUpNext(){return this._sendCustomMessage({type:Z.IGNORE_UP_NEXT})}setTokenIssuer(e){this._tokenIssuer=e}setOneTrustMetadata(e){this._consentManagementMetadata=e}setUserConsent(e){this._userConsent=e}setUserInfo(e){this._user=e}setUiLanguage(e){this._uiLanguage=e}setCurrentCastSessionAlreadyVerified(e){this._isCurrentCastSessionAlreadyVerified=e}setProfileDetails(e){this._profileDetails=e}setLoadInterruptCallback(e){this._loadInterruptCallback=e,this._isSenderUnificationEnabled&&this._castLoadInterruptHandler.setLoadInterruptCallback(e)}appendCustomData(e){this._extraCustomData={...this._extraCustomData,...e}}clearCustomData(){this._extraCustomData={}}load(e){this._onRequestSent(K.LOAD);let t=new chrome.cast.media.MediaInfo(e.programId,"video/mp4");return this._tokenIssuer().then(n=>{if(!n||""===n)return Promise.reject(Error("Failed to fetch cast token."));e.restrictedToken=n,!e.consentManagementMetadata&&this._consentManagementMetadata&&(e.consentManagementMetadata=this._consentManagementMetadata),!e.userConsent&&this._userConsent&&(e.userConsent=this._userConsent),!e.user&&this._user&&(e.user=this._user),!e.uiLanguage&&this._uiLanguage&&(e.uiLanguage=this._uiLanguage),void 0!==this._isCurrentCastSessionAlreadyVerified&&(e.isCurrentCastSessionAlreadyVerified=this._isCurrentCastSessionAlreadyVerified),this._profileDetails&&(e.profileDetails=this._profileDetails),e={...e,...this._extraCustomData},t.customData=this._populateCustomData(e);let i=new chrome.cast.media.LoadRequest(t);if(i.currentTime=Number.isFinite(e.mainStartingPosition)?Number(e.mainStartingPosition):0,this._castSession)return this._castSession.loadMedia(i).then(()=>Promise.resolve(void 0))}).catch(iW.Z)}pause(){this._onRequestSent(K.PAUSE);let e=this._mediaSession;if(void 0===e)return Promise.reject(Error("No cast media session"));let t=new globalThis.chrome.cast.media.PauseRequest;return new Promise((n,i)=>e.pause(t,n,i))}queueNext(){this._onRequestSent(K.QUEUE_NEXT);let e=this._mediaSession;return void 0===e?Promise.reject(Error("No cast media session")):new Promise((t,n)=>e.queueNext(t,n))}resume(){this._onRequestSent(K.RESUME);let e=this._mediaSession;if(void 0===e)return Promise.reject(Error("No cast media session"));let t=new globalThis.chrome.cast.media.PlayRequest;return new Promise((n,i)=>e.play(t,n,i))}seek(e){var t,n,i,a,r;let s;this._onRequestSent(K.SEEK);let o=this._mediaSession;if(void 0===o)return Promise.reject(Error("No cast media session"));if((null===(n=null===(t=o.media)||void 0===t?void 0:t.metadata)||void 0===n?void 0:n.sectionStartTimeInMedia)!==void 0)s={...new globalThis.chrome.cast.media.SeekRequest,currentTime:e};else{let t=Math.min(Math.max(0,e),null!==(r=null===(a=null===(i=this._mediaStatus)||void 0===i?void 0:i.media)||void 0===a?void 0:a.assetDuration)&&void 0!==r?r:Number.POSITIVE_INFINITY);s={...new globalThis.chrome.cast.media.SeekRequest,currentTime:t}}let l=new Promise((e,t)=>o.seek(s,e,t));return this._playheadPosition=e,this._emitEvent(5,{assetPosition:e}),l}selectAudioTrack(e){var t;return this._onRequestSent(K.SELECT_AUDIO_TRACK),e&&(e={...e,additionalProperties:iV(null!==(t=e.additionalProperties)&&void 0!==t?t:new Map)}),this._sendCustomMessage({type:Z.SELECT_AUDIO_TRACK,audioTrack:e})}selectTextTrack(e){var t;return this._onRequestSent(K.SELECT_TEXT_TRACK),e&&(e={...e,additionalProperties:iV(null!==(t=null==e?void 0:e.additionalProperties)&&void 0!==t?t:new Map)}),this._sendCustomMessage({type:Z.SELECT_TEXT_TRACK,textTrack:e})}selectNextEpisode(){return this._sendCustomMessage({type:Z.UP_NEXT_PLAY_NEXT_EPISODE})}async setDeviceMute(e){this._onRequestSent(K.SET_VOLUME);let t=this._castSession;if(void 0===t)return Promise.reject(Error("No cast session"));let n=await t.setMute(e);if(void 0!==n)return Promise.reject(Error(n))}async setDeviceVolume(e){this._onRequestSent(K.SET_VOLUME);let t=this._castSession;if(void 0===t)return Promise.reject(Error("No cast session"));let n=await t.setVolume(Math.min(Math.max(0,e),1));if(void 0!==n)return Promise.reject(Error(n))}setStreamVolume(e){this._onRequestSent(K.SET_VOLUME);let t=this._mediaSession;if(void 0===t)return Promise.reject(Error("No cast media session"));let n=new globalThis.chrome.cast.media.VolumeRequest({level:Math.min(Math.max(0,e),1),muted:!1});return new Promise((e,i)=>t.setVolume(n,e,i))}_onAvailableDevicesChanged(e){let{availableDevices:t}=iJ(e);this._availableDevices=t,this._emitEvent(1,{availableDevices:t})}_onCastStateChanged(e){var t,n;let i=null===(t=this._castSession)||void 0===t?void 0:t.getCastDevice(),a=null===(n=this._castSession)||void 0===n?void 0:n.getSessionId(),r=this._castContext.getCastState(),s=i0.fromReceiver(i),o=i1.fromCastState(r);this._onConnectionStateChanged({connectedDevice:s,connectionState:o,sessionID:a})}_onConnectionStateChanged(e){let{connectedDevice:t,connectionState:n}=iJ(e),i="CONNECTED"===n;this._connectedDevice=t,this._connectionState=n,this._emitEvent(2,{connectedDevice:t,connectionState:n}),i||this._resetMediaStatus()}_getSkipMessageData(e){return{type:"SKIP",data:e.data}}_getUpNextMessageData(e){return{type:"UP_NEXT",data:e.data}}_onCustomMessageReceived(e,t){var n,i;if(this._isSenderUnificationEnabled){if(!Object.values(iU).includes(e))return}else if(e!==iH)return;let a=JSON.parse(t);switch(a.type){case Z.REQUEST_ACKNOWLEDGEMENT:return this._onRequestEchoed(a.requestType);case Z.TOGGLE_UP_NEXT:return this._onUpNextToggled(a);case Z.UPDATE_TRACK_LIST:return this._onUpdateTrackList(a);case Z.TEXT_TRACK_UPDATE:return this._onUpdateTextTrack(a);case Z.AUDIO_TRACK_UPDATE:return this._onUpdateAudioTrack(a);case Z.LOAD_INTERRUPT:null===(n=this._loadInterruptCallback)||void 0===n||n.call(this,null===(i=a.data)||void 0===i?void 0:i.contentMetadata).then(async e=>{e===q.CONTINUE_LOADING&&await this._sendCustomMessage({type:Z.CONTINUE_LOADING})}).catch(e=>{console.log("Cannot get the PIN",e)});break;case Z.SKIP_ANNOTATION:return this._onUpdateSkipAnnotation(a);case Z.UP_NEXT_ANNOTATION:return this._onUpdateUpNextAnnotation(a);case Z.UP_NEXT_CANCEL:return this._onUpdateUpNextCancel(a)}}_onUpdateTrackList(e){var t,n;let i=(null===(t=e.audioTracks)||void 0===t?void 0:t.map(e=>({...e,additionalProperties:i$(e.additionalProperties)})))||[],a=(null===(n=e.textTracks)||void 0===n?void 0:n.map(e=>({...e,additionalProperties:i$(e.additionalProperties)})))||[];this._emitEvent(7,{...e,audioTracks:i,textTracks:a})}_onUpdateTextTrack(e){let t=e.textTrack;t&&(t={...t,additionalProperties:i$(t.additionalProperties)}),this._emitEvent(6,{textTrack:t})}_onUpdateAudioTrack(e){if(e.audioTrack){let t={...e.audioTrack,additionalProperties:i$(e.audioTrack.additionalProperties)};this._emitEvent(0,{audioTrack:t})}}_onUpdateSkipAnnotation(e){let t=this._getSkipMessageData(e);this.castEvents$.next(t)}_onUpdateUpNextAnnotation(e){let t=this._getUpNextMessageData(e);this.castEvents$.next(t)}_onUpdateUpNextCancel(e){this._emitEvent(9,e)}_onCurrentTimeChanged(e){this._onPlayheadPositionUpdated({assetPosition:e.value})}_onMediaInfoChanged(){this._onMediaStatusUpdated(!0)}_onDeviceVolumeChanged(e){let{isMute:t,volume:n}=iJ(e),i=this._connectedDevice;this._connectedDevice=i?{...i,isMuted:t,volume:n}:void 0,this._emitEvent(3,{isMuted:t,volume:n})}_onMediaSessionStarted(e){this._unregisterMediaSession(),this._registerMediaSession(e.mediaSession);let t=e.mediaSession.media.customData;this._skippableSections=t.skippableSections||[]}_onMediaStatusUpdated(e){var t,n,i,a;let r=null!==(n=null===(t=cast.framework.CastContext.getInstance().getCurrentSession())||void 0===t?void 0:t.getMediaSession())&&void 0!==n?n:this._mediaSession,{media:s,playbackState:o,selectedAudioTrack:l,selectedTextTrack:d,volume:c,liveSeekableRange:u}=iJ(i9.fromMediaSession(r)),f={media:s,playbackState:o,selectedAudioTrack:l,selectedTextTrack:d,volume:c,liveSeekableRange:u};if(o!==iq.w.PREPARING||(this._resetPlaybackPosition(),(null==r?void 0:r.extendedStatus)||(this._isExtendedStatusValid=!1)),!this._isExtendedStatusValid&&(null==r?void 0:r.playerState)===globalThis.chrome.cast.media.PlayerState.PLAYING){this._isExtendedStatusValid=!0;let e=globalThis.cast.framework.RemotePlayerEventType;null===(i=this._playerController)||void 0===i||i.removeEventListener(e.CURRENT_TIME_CHANGED,this._onCurrentTimeChanged),null===(a=this._playerController)||void 0===a||a.removeEventListener(e.MEDIA_INFO_CHANGED,this._onMediaInfoChanged);let t=new globalThis.cast.framework.RemotePlayer,n=new globalThis.cast.framework.RemotePlayerController(t);this._playerController=n,null==n||n.addEventListener(e.CURRENT_TIME_CHANGED,this._onCurrentTimeChanged),null==n||n.addEventListener(e.MEDIA_INFO_CHANGED,this._onMediaInfoChanged)}this._mediaStatus=f,this._mediaStatus.media&&(this._mediaStatus.media.skippableSections=this._skippableSections),this._emitEvent(4,f)}_onPlayheadPositionUpdated(e){let{assetPosition:t}=iJ(e);this._playheadPosition=t,this._emitEvent(5,{assetPosition:t})}_onSessionStateChanged(e){let{session:t,sessionState:n,errorCode:i}=e,a=null==t?void 0:t.getSessionId(),r=i8.fromErrorCode(i);switch(n){case globalThis.cast.framework.SessionState.SESSION_STARTING:return this._onSessionStarting({sessionID:a});case globalThis.cast.framework.SessionState.SESSION_STARTED:return this._registerCastSession(t),this._onSessionStarted({sessionID:a});case globalThis.cast.framework.SessionState.SESSION_START_FAILED:return this._onSessionStartFailed({sessionID:a,errorType:r,rawErrorMessage:i});case globalThis.cast.framework.SessionState.SESSION_RESUMED:return this._registerCastSession(t),this._onSessionResumed({sessionID:a});case globalThis.cast.framework.SessionState.SESSION_ENDING:return this._onSessionEnding({sessionID:a});case globalThis.cast.framework.SessionState.SESSION_ENDED:return this._unregisterCastSession(),this._onSessionEnded({sessionID:a,errorType:r,rawErrorMessage:i})}}_onSessionStarting(e){this._sessionStartAttemptID=(0,iK.b)()}_onSessionStarted(e){}_onSessionStartFailed(e){}_onSessionResuming(e){}_onSessionResumed(e){}_onSessionResumeFailed(e){}_onSessionSuspended(e){}_onSessionEnding(e){}_onSessionEnded(e){this.castEvents$.next({type:"SKIP",data:{visibility:!1}}),this._onUpdateAudioTrack({type:Z.AUDIO_TRACK_UPDATE}),this._onUpdateTextTrack({type:Z.TEXT_TRACK_UPDATE}),this._onUpdateTrackList({type:Z.UPDATE_TRACK_LIST,textTracks:[],audioTracks:[]}),this._onUpNextToggled({type:Z.TOGGLE_UP_NEXT,isVisible:!1}),this.castEvents$.next({type:"UP_NEXT",data:{visibility:!1}})}_registerCastSession(e){let t=globalThis.cast.framework.SessionEventType,n=this.getPlayerController(),i=globalThis.cast.framework.RemotePlayerEventType;e.addEventListener(t.MEDIA_SESSION,this._onMediaSessionStarted),e.addEventListener(t.VOLUME_CHANGED,this._onDeviceVolumeChanged),this._isSenderUnificationEnabled?Object.values(iU).forEach(t=>{e.addMessageListener(t,this._customMessageHandler._onMessageReceived)}):e.addMessageListener(iH,this._onCustomMessageReceived),n.addEventListener(i.CURRENT_TIME_CHANGED,this._onCurrentTimeChanged),n.addEventListener(i.MEDIA_INFO_CHANGED,this._onMediaInfoChanged),this._castSession=e}_unregisterCastSession(){this._unregisterMediaSession();let e=this.getPlayerController(),t=globalThis.cast.framework.RemotePlayerEventType;e.removeEventListener(t.CURRENT_TIME_CHANGED,this._onCurrentTimeChanged),e.removeEventListener(t.MEDIA_INFO_CHANGED,this._onMediaInfoChanged);let n=this._castSession;if(void 0===n)return;let i=globalThis.cast.framework.SessionEventType;n.removeEventListener(i.MEDIA_SESSION,this._onMediaSessionStarted),this._isSenderUnificationEnabled?Object.values(iU).forEach(e=>{n.removeMessageListener(e,this._customMessageHandler._onMessageReceived)}):n.removeMessageListener(iH,this._onCustomMessageReceived),this._castSession=void 0}_registerMediaSession(e){e.addUpdateListener(this._onMediaStatusUpdated),this._mediaSession=e}_unregisterMediaSession(){let e=this._mediaSession;void 0!==e&&(e.removeUpdateListener(this._onMediaStatusUpdated),this._mediaSession=void 0)}_onUpNextToggled(e){let{buttonAccessibilityLabel:t,buttonAvailableAccessibilityLabel:n,buttonLabel:i,dismissButtonAccessibilityLabel:a,isVisible:r}=e,s={isVisible:r,buttonAccessibilityLabel:t,buttonAvailableAccessibilityLabel:n,buttonLabel:i,dismissButtonAccessibilityLabel:a};this._upNextStatus=s,this._emitEvent(8,{...s})}_onRequestEchoed(e){}_onRequestSent(e){}_populateCustomData(e){var t,n,i,a,r,s,o,l,d,c,u,f,_,h,m;return{...e,adStrategy:null===(t=this._config)||void 0===t?void 0:t.adStrategy,senderVersion:null===(n=this._config)||void 0===n?void 0:n.senderVersion,senderPlatform:null===(i=this._config)||void 0===i?void 0:i.senderPlatform,appName:null===(a=this._config)||void 0===a?void 0:a.appName,brandId:null===(r=this._config)||void 0===r?void 0:r.brandId,clientHostname:null===(s=this._config)||void 0===s?void 0:s.clientHostname,clientPlatform:null===(o=this._config)||void 0===o?void 0:o.clientPlatform,eventStreamConfig:null===(l=this._config)||void 0===l?void 0:l.eventStreamConfig,helpCenterLink:null===(d=this._config)||void 0===d?void 0:d.helpCenterLink,homeTerritory:null===(c=this._config)||void 0===c?void 0:c.homeTerritory,host:null===(u=this._config)||void 0===u?void 0:u.host,realm:null===(f=this._config)||void 0===f?void 0:f.realm,siteLookupKey:null===(_=this._config)||void 0===_?void 0:_.siteLookupKey,type:null!==(h=e.type)&&void 0!==h?h:W.VIDEO,userId:null===(m=this._config)||void 0===m?void 0:m.userId,isCurrentCastSessionAlreadyVerified:e.isCurrentCastSessionAlreadyVerified,profileDetails:e.profileDetails}}_resetMediaStatus(){let e={isVisible:!1};this._upNextStatus=e,this._emitEvent(8,e),this._resetPlaybackPosition()}_resetPlaybackPosition(){this._playheadPosition=void 0}get _isSenderUnificationEnabled(){var e;return this._featureFlagManager.isSenderUnificationEnabled(null===(e=this._config)||void 0===e?void 0:e.labsResponse)}constructor(){super(),this._availableDevices=[],this._connectedDevice=void 0,this._connectionState="NO_DEVICES_AVAILABLE",this._isInitialized=!1,this._mediaStatus={playbackState:iq.w.UNKNOWN},this._playheadPosition=void 0,this._upNextStatus={isVisible:!1},this._isExtendedStatusValid=!0,this.castEvents$=new t9.x,this._extraCustomData={},this._featureFlagManager=new at,this._tokenIssuer=()=>Promise.reject(void 0),this._onAvailableDevicesChanged=this._onAvailableDevicesChanged.bind(this),this._onConnectionStateChanged=this._onConnectionStateChanged.bind(this),this._onCustomMessageReceived=this._onCustomMessageReceived.bind(this),this._onDeviceVolumeChanged=this._onDeviceVolumeChanged.bind(this),this._onMediaStatusUpdated=this._onMediaStatusUpdated.bind(this),this._onPlayheadPositionUpdated=this._onPlayheadPositionUpdated.bind(this),this._onSessionStarting=this._onSessionStarting.bind(this),this._onSessionStarted=this._onSessionStarted.bind(this),this._onSessionStartFailed=this._onSessionStartFailed.bind(this),this._onSessionResuming=this._onSessionResuming.bind(this),this._onSessionResumed=this._onSessionResumed.bind(this),this._onSessionResumeFailed=this._onSessionResumeFailed.bind(this),this._onSessionSuspended=this._onSessionSuspended.bind(this),this._onSessionEnding=this._onSessionEnding.bind(this),this._onSessionEnded=this._onSessionEnded.bind(this),this._onCastStateChanged=this._onCastStateChanged.bind(this),this._onCurrentTimeChanged=this._onCurrentTimeChanged.bind(this),this._onMediaInfoChanged=this._onMediaInfoChanged.bind(this),this._onMediaSessionStarted=this._onMediaSessionStarted.bind(this),this._onSessionStateChanged=this._onSessionStateChanged.bind(this),this._skippableSections=[],this._customMessageHandler=new ae({getCurrentCastSession:()=>this._castSession}),this._castSkipHandler=new an(this._customMessageHandler),this._castSkipHandler.observeCastSkipData.subscribe(e=>{let t=this._getSkipMessageData(e);this.castEvents$.next(t)}),this._castUpNextHandler=new ai(this._customMessageHandler),this._castUpNextHandler.observeUpNextMessage.subscribe(e=>{let t=this._getUpNextMessageData(e);this.castEvents$.next(t)}),this._castUpNextHandler.observeUpNextCancel.subscribe(()=>{this._emitEvent(9,{type:Z.UP_NEXT_CANCEL})}),this._castLoadInterruptHandler=new aa(this._customMessageHandler),this._castLoadInterruptHandler.setLoadInterruptCallback(this._loadInterruptCallback),this._castAudioHandler=new as(this._customMessageHandler),this._castCaptionHandler=new ao(this._customMessageHandler),(0,iG.a)([this._castAudioHandler.observeAvailableAudioTracks,this._castCaptionHandler.observeAvailableCaptionTracks]).subscribe(e=>{let[t,n]=e,i=t.map(e=>({...e,role:e.role,additionalProperties:i$(e.additionalProperties)})),a=n.map(e=>({...e,role:e.role,additionalProperties:i$(e.additionalProperties)}));this._emitEvent(7,{audioTracks:i,textTracks:a})}),this._castAudioHandler.observeCurrentAudioTrack.subscribe(e=>{let t=e?{...e,role:e.role,additionalProperties:i$(e.additionalProperties)}:void 0;this._emitEvent(0,{audioTrack:t})}),this._castCaptionHandler.observeSelectedCaptionTrack.subscribe(e=>{let t=e?{...e,role:e.role,additionalProperties:i$(e.additionalProperties)}:void 0;this._emitEvent(6,{textTrack:t})})}}let ad=e=>{let{isSeeking:t,playerEvents:n,playerCallbacks:i,onClickedElementCallback:a,isSeekDisabled:r,isLiveEdge:s,onContentDurationMs:o,onContentPlayheadMs:l,onDvrWindowOffset:d,onExit:c,onMouseHover:u,onMouseMove:f,sliderRef:_,seekAction:h,scheduledStartUtc:m,scheduledEndUtc:p,isLive:g,isTest:v,useSeekableRange:b}=e,[x,y]=(0,ea.useState)(!1),[k,C]=(0,ea.useState)(!1),[S,E]=(0,ea.useState)("none"),[T,P]=(0,ea.useState)(0),[w,A]=(0,ea.useState)(0),[I,M]=(0,ea.useState)(void 0),R=(0,ea.useRef)(void 0),[D,N]=(0,ea.useState)(0),L=(0,ea.useRef)(0),j=(0,ea.useRef)(0),O=(0,ea.useRef)(0),B=(0,ea.useRef)(0),F=(0,ea.useRef)(!1),[Z,z]=(0,ea.useState)(0),H=iz(n),U=en.Yt.instance,[V,$]=(0,ea.useState)(!1),G=(0,ea.useRef)(0),{activeStreamInfo:W,contentMetadata:K}=(0,ea.useContext)(tx),q=(0,ea.useRef)(!1),Y=(0,ea.useRef)();(0,ea.useEffect)(()=>{void 0!==o&&o(T)},[T,o]),(0,ea.useEffect)(()=>{void 0!==d&&d(null!=I?I:0)},[I,d]),(0,ea.useEffect)(()=>{void 0!==o&&o(D)},[D,o]),(0,ea.useEffect)(()=>{void 0!==l&&l(w)},[w,l]);let X=()=>{B.current>0&&(N(B.current-O.current),L.current=B.current-O.current)};(0,ea.useEffect)(()=>{g&&!Y.current&&(m&&p?(N(p-m),L.current=p-m):X())},[p,m,g]),(0,ea.useEffect)(()=>{let e=[];return e.push(n.playbackProgress$.subscribe(e=>{var n;if(!t){if(Y.current&&void 0!==e.playheadData.streamPlayheadMs){let t=0;t=e.playheadData.utcPlayheadMs&&m&&p?e.playheadData.utcPlayheadMs-m:e.playheadData.streamPlayheadMs-O.current,Math.abs(j.current-t)>=1e3&&(A(t),m&&p&&e.playheadData.utcPlayheadMs?z(Math.min((Y.current.seekableRangeEnd-m)/L.current*100,100)):z(100),j.current=t)}else if(g&&void 0!==e.playheadData.streamPlayheadMs){let t=0;if(t=m&&p&&e.playheadData.utcPlayheadMs?e.playheadData.utcPlayheadMs-m:e.playheadData.streamPlayheadMs-O.current,Math.abs(j.current-t)>=1e3){if(A(t),M(e.playheadData.streamPlayheadMs-t),m&&p&&e.playheadData.utcPlayheadMs){let t=B.current-e.playheadData.streamPlayheadMs;z(Math.min(((null===(n=e.playheadData)||void 0===n?void 0:n.utcPlayheadMs)+t-m)/L.current*100,100))}else z(100);j.current=t,R.current=e.playheadData.streamPlayheadMs-t}}else if(g&&void 0===e.playheadData.streamPlayheadMs)A(-1);else{let t=e.playheadData.contentPlayheadMs;Math.abs(j.current-t)>=1e3&&(A(t),j.current=t)}}})),e.push(n.timelineUpdate$.subscribe(e=>{g?e.seekableRange&&b?m&&p?(Y.current=e.seekableRange,N(p-m),L.current=p-m):(Y.current=e.seekableRange,O.current=e.timeline.startTime,B.current=e.timeline.endTime,X()):void 0===e.timeline.startTime||void 0===e.timeline.endTime||(O.current=e.timeline.startTime,B.current=e.timeline.endTime,m&&p||X()):(P(e.contentDurationMs),L.current=e.contentDurationMs,Y.current=void 0)})),e.push(n.playbackState$.subscribe(e=>{switch(e.playbackEventType){case"PausedEvent":th(j.current,L.current),$(!1);break;case"PlayingEvent":V||(0,en.K3)(U.localize("Player.Controls.A11y.Playing")),$(!0);break;case"FirstFrameRenderEvent":q.current||E("none")}})),e.push(n.scrubAction$.subscribe(e=>{A(e.scrubbedPositionMs),j.current=e.scrubbedPositionMs})),()=>{e.forEach(e=>{e.unsubscribe()})}},[U,n.playbackProgress$,n.timelineUpdate$,n.playbackState$,n.scrubAction$,m,p,g,V,t,b]),(0,ea.useEffect)(()=>{_.current&&(_.current.style.setProperty("--thumbOpacity",r||H?"0":"100"),_.current.disabled=H,_.current.style.opacity=H?"0":"1"),c()},[H,r,c,_]),(0,ea.useEffect)(()=>{t&&"requested"===S?E("progress"):t||"progress"!==S||E("none")},[t,S]),(0,ea.useEffect)(()=>{if(_.current){let e,t;if(g&&(D||T<0)){if(isNaN(D)||isNaN(w)||D<=0||w<0)t="100";else{let e=Math.min(w/D*100,100);t=isNaN(e)?"100":e.toFixed(2)}}else t=isNaN(e=w/T*100)?"0":e.toFixed(2);_.current.style.setProperty("--fillPct",t),(null==W?void 0:W.streamMode)===void 0||(null==K?void 0:K.initialStreamMode)===void 0||r||W.streamMode===tb.Aw.VOD&&K.initialStreamMode===tb.Aw.VOD||"100"===t||_.current.style.setProperty("--liveEdge",Z+"%"),"none"!==S||k||(_.current.value=t)}},[T,w,S,k,m,p,r,D,Z,_,g,W,K]);let J=(0,ea.useCallback)(e=>{var t;if(!H){let n=L.current*(e/100);Y.current?(m?n+=m:n+=Y.current.seekableRangeStart,n=Math.max(Math.min(n,Y.current.seekableRangeEnd),Y.current.seekableRangeStart)):g&&(n+=null!==(t=R.current)&&void 0!==t?t:0,p&&m&&(nB.current&&(n=B.current))),h?h(n):i.requestSeek(n),E("requested")}},[H,g,h,p,m,i]),Q=(0,ea.useCallback)(e=>{if(_.current&&L.current>0){let t=_.current.clientWidth;void 0===e&&(e=parseFloat(_.current.value)/100*t),f(t,e);let n=e/t*L.current;_.current.ariaValueNow=(n/1e3).toFixed(2),_.current.ariaValueText=t_(n,L.current)}},[f,_]),ee=(0,ea.useCallback)(e=>{E("pending"),q.current=!0},[]),ei=(0,ea.useCallback)(e=>{if(_.current){a("scrubbed");let e=_.current.clientWidth;J(Math.max(Math.min(G.current/e*100,100),0)),q.current=!1}},[a,J,_]),er=(0,ea.useCallback)(e=>{u(!0),F.current=!0,v?G.current=e.nativeEvent.clientX:G.current=e.nativeEvent.offsetX,Q(G.current)},[v,u,Q]),es=(0,ea.useCallback)(e=>{u(!1),F.current=!1,c()},[c,u]),eo=(0,ea.useCallback)(()=>{if(_.current&&L.current>0){f(_.current.clientWidth,_.current.valueAsNumber/100*_.current.clientWidth);let e=_.current.valueAsNumber/100*L.current;_.current.ariaValueNow=(e/1e3).toFixed(2),_.current.ariaValueText=t_(e,L.current)}},[f,_]),el=(0,ea.useCallback)(e=>{E("pending"),u(!0),F.current=!0,q.current=!0,eo()},[eo,u]),ed=(0,ea.useCallback)(e=>{u(!0),F.current=!0,eo()},[eo,u]),ec=(0,ea.useCallback)(e=>{a("scrubbed"),_.current&&J(_.current.valueAsNumber),u(!1),q.current=!1,c()},[a,c,u,J,_]),eu=(0,ea.useCallback)(e=>{x&&!r&&("ArrowLeft"===e.key||"ArrowRight"===e.key?(C(!0),Q(),e.stopPropagation()):(" "===e.key||"Enter"===e.key)&&k?(J(Number(e.currentTarget.value)),C(!1),e.stopPropagation()):"Escape"===e.key&&(C(!1),Q(),e.stopPropagation()))},[x,r,k,Q,J]),ef=(0,ea.useCallback)(e=>{y(!0),Q()},[Q]),e_=(0,ea.useCallback)(e=>{y(!1),C(!1),c()},[c]);if(_.current){let e=_.current;e.ariaLive="polite",e.ariaBusy=V?"true":"false",e.ariaValueMin="0.0",e.ariaValueMax=((T||D)/1e3).toFixed(2)}return(0,et.jsx)(iP,{"aria-disabled":r,disabled:r,ref:_,type:"range",step:"0.1","data-testid":"player-ux-scrubber-position",$isSeekDisabled:r,$isLiveEdge:s,onKeyDown:eu,onMouseDown:ee,onMouseUp:ei,onMouseMove:er,onMouseLeave:es,onTouchStart:el,onTouchMove:ed,onTouchEnd:ec,onFocus:ef,onBlur:e_})},ac=e=>{let{className:t,isSeeking:n,onScrubberHover:i,playerEvents:a,playerCallbacks:r,onClickedElementCallback:s,isSeekDisabled:o,scheduledStartUtc:l,scheduledEndUtc:d,showRelativeTime:c=!1,isLive:u=!1,isTest:f,playheadPositionVisible:_,progressBarVisible:h,useSeekableRange:m}=e,[p,g]=(0,ea.useState)(!1),[v,b]=(0,ea.useState)(void 0),[x,y]=(0,ea.useState)(0),[k,C]=(0,ea.useState)(0),[S,E]=(0,ea.useState)(0),T=(0,ea.useRef)(0),P=iz(a),w=(0,ea.useRef)(null),A=(0,ea.useCallback)((e,t)=>{k&&(b(t),y(e),i&&i(!0))},[k,i]),I=(0,ea.useCallback)(()=>{b(void 0),i&&i(!1)},[i]),M=(0,ea.useCallback)(e=>{T.current=e},[]);return(0,et.jsxs)(iw,{dir:"ltr",className:t,$isVisible:h,children:[(0,et.jsx)(iZ,{canShow:!P,scrubberPosition:v,scrubberWidth:x,contentDurationMs:k,playheadMs:T.current,playerCallbacks:r,dvrWindowOffset:S,showRelativeTime:c,isPositionVisible:_}),(0,et.jsx)(ad,{isSeeking:n,isSeekDisabled:o,onClickedElementCallback:s,onContentDurationMs:C,onContentPlayheadMs:M,onDvrWindowOffset:E,onExit:I,onMouseHover:g,onMouseMove:A,playerEvents:a,playerCallbacks:r,sliderRef:w,scheduledStartUtc:l,scheduledEndUtc:d,isLive:u,isTest:f,useSeekableRange:m}),(0,et.jsx)(iD,{isHover:p,sliderRef:w,playerEvents:a})]})},au=e=>{let{className:t,isForward:n,onSkip:i,isCentered:a,SkipForwardIcon:r,SkipBackwardIcon:s,atLiveEdge:o,skipTime:l,ariaLabelOverride:d,titleOverride:c}=e,u=en.Yt.instance,f=(0,ea.useCallback)(()=>{i(n)},[n,i]),_=tI(()=>{i(n)}),h="",m="";return h=d||(n?u.localizeWithParameters("Player.Controls.A11y.SkipForward",{seconds:null!=l?l:10}):u.localizeWithParameters("Player.Controls.A11y.SkipBackward",{seconds:null!=l?l:10})),m=c||(n?u.localize("Player.Controls.Alt.JumpForward10"):u.localize("Player.Controls.Alt.JumpBack10")),(0,et.jsx)(ia,{className:t,disabled:n&&o,"aria-disabled":n&&o,"data-testid":n?"player-ux-skip-forward-button":"player-ux-skip-back-button","data-focusid":n?"playback_ff":"playback_rw",$size:a?j.CENTER_TRINITY:j.TRINITY,onClick:f,onKeyDown:_,"aria-label":h,title:m,children:n?(0,et.jsx)(r,{$disabled:o}):(0,et.jsx)(s,{})})},af=e=>{let{className:t,isForward:n,onSkip:i,isCentered:a,SkipBackwardIcon:r,SkipForwardIcon:s,ariaLabelOverride:o,titleOverride:l}=e;return(0,et.jsx)(au,{className:t,isForward:n,onSkip:i,isCentered:a,SkipBackwardIcon:r,SkipForwardIcon:s,ariaLabelOverride:o,titleOverride:l})},a_=e=>{let{className:t,isForward:n,onSkip:i,isCentered:a,SkipBackwardIcon:r,SkipForwardIcon:s,atLiveEdge:o,ariaLabelOverride:l,titleOverride:d}=e;return(0,et.jsx)(au,{className:t,isForward:n,onSkip:i,isCentered:a,SkipBackwardIcon:r,SkipForwardIcon:s,atLiveEdge:o,ariaLabelOverride:l,titleOverride:d})};function ah(){let e=(0,er._)(["\n position: relative;\n height: fit-content;\n width: fit-content;\n"]);return ah=function(){return e},e}function am(){let e=(0,er._)(["\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n"]);return am=function(){return e},e}function ap(){let e=(0,er._)(["\n padding: 0px 14px 0px;\n height: 30px;\n position: absolute;\n ","\n\n border-radius: 1000px;\n\n background: ",";\n transform: rotate(270deg);\n z-index: 2;\n\n animation: "," ",";\n\n ","\n"]);return ap=function(){return e},e}function ag(){let e=(0,er._)(["\n box-sizing: border-box;\n border: none;\n height: ","px;\n background: ",";\n border-radius: 6px;\n transition: height ",";\n"]);return ag=function(){return e},e}function av(){let e=(0,er._)(["\n ",";\n background-color: transparent;\n background-image: linear-gradient(",", ","), linear-gradient(",", ",");\n background-size: var(--sx) 100%, calc(100% - var(--sx)) 100%;\n background-position: left center, right center;\n background-repeat: no-repeat;\n"]);return av=function(){return e},e}function ab(){let e=(0,er._)(["\n height: ","px;\n background: ",";\n border-radius: 6px 0px 0px 6px;\n transition: height ",";\n"]);return ab=function(){return e},e}function ax(){let e=(0,er._)(["\n box-sizing: border-box;\n border: none;\n width: ",";\n height: ",";\n border-radius: 50%;\n background: white;\n box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.35);\n"]);return ax=function(){return e},e}function ay(){let e=(0,er._)(["\n --fillPct: 100;\n --ratio: calc(var(--fillPct) / 100);\n --sx: calc(0.5 * "," + var(--ratio) * (100% - ","));\n\n margin: 0;\n padding: 0;\n height: 30px;\n width: 104px;\n background: transparent;\n cursor: pointer\n\n &::-ms-tooltip {\n display: none;\n }\n\n &::-moz-focus-outer {\n border: 0;\n }\n\n &:focus {\n outline: none;\n }\n\n &:hover {\n &::-webkit-slider-runnable-track {\n height: ","px;\n }\n &::-webkit-slider-thumb {\n margin-top: calc(0.5 * (","px - ","));\n }\n &::-moz-range-track {\n height: ","px;\n }\n &::-ms-track {\n height: ","px;\n }\n &::-moz-range-progress {\n height: ","px;\n }\n &::-ms-fill-lower {\n height: ","px;\n }\n }\n\n /* Range input track pseudo-selectors */ \n &::-webkit-slider-runnable-track {\n ",";\n }\n\n &::-moz-range-track {\n ",";\n }\n\n &::-ms-track {\n ",";\n }\n\n /* Range input track progress area pseudo-selectors */ \n &::-moz-range-progress {\n ",";\n }\n\n &::-ms-fill-lower {\n ",";\n }\n\n /* Range input thumb pseudo-selectors */\n &,\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n }\n\n &::-webkit-slider-thumb {\n transition: margin-top ",";\n margin-top: calc(0.5 * (","px - ","));\n ",";\n }\n\n &::-moz-range-thumb {\n ",";\n }\n\n &::-ms-thumb {\n margin-top: 0;\n ",";\n }\n\n &:focus::-webkit-slider-thumb {\n outline: none;\n }\n\n &:focus::-moz-range-thumb {\n outline: none;\n }\n\n &:focus::-ms-thumb {\n outline: none;\n }\n"]);return ay=function(){return e},e}let ak="16px",aC="#ffffff50",aS="#ffffff",aE="167ms cubic-bezier(0.32, 0.94, 0.6, 1)",aT=es.ZP.div(ah()),aP=(0,es.F4)(am()),aw=es.ZP.div(ap(),e=>{let{$sliderLocation:t}=e;switch(t){case X.ABOVE:return"\n bottom: 96px;\n right: -36px;\n ";case X.BELOW:return"\n top: 96px;\n right: -36px;\n "}},eu.background.base.surface_02,aP,"500ms cubic-bezier(0.32, 0.94, 0.6, 1)",e=>{let{$showOutline:t}=e;return t&&"\n outline: none;\n border-radius: 1000px;\n box-shadow: 0 0 0 2px ".concat(eu.keyboard.focus_base,";\n ")}),aA=(0,es.iv)(ag(),4,aC,aE),aI=(0,es.iv)(av(),aA,aS,aS,aC,aC),aM=(0,es.iv)(ab(),4,aS,aE),aR=(0,es.iv)(ax(),ak,ak),aD=es.ZP.input(ay(),ak,ak,8,8,ak,8,8,8,8,aI,aA,aA,aM,aM,aE,4,ak,aR,aR,aR);(x=X||(X={}))[x.ABOVE=0]="ABOVE",x[x.BELOW=1]="BELOW";let aN=e=>{var t,n,i,a,r,s;let{playerEvents:o,playerCallbacks:l,sliderLocation:d=X.ABOVE,playerUserPreferences:c,onVolumeHover:u,onClickedElementCallback:f=()=>{},disablePrefInit:_=!1}=e,[h,m]=(0,ea.useState)(!1),[p,g]=(0,ea.useState)(!1),[v,b]=(0,ea.useState)(!1),[x,y]=(0,ea.useState)(!1),[k,C]=(0,ea.useState)(),S=(0,ea.useRef)(null!==(i=null===(n=null===(t=null==c?void 0:c.getCurrentUserPreference())||void 0===t?void 0:t.volume)||void 0===n?void 0:n.volume)&&void 0!==i?i:1),E=(0,ea.useRef)(null!==(s=null===(r=null===(a=null==c?void 0:c.getCurrentUserPreference())||void 0===a?void 0:a.volume)||void 0===r?void 0:r.restoreVolume)&&void 0!==s?s:0),T=(0,ea.useRef)(null),P=(0,ea.useRef)(!1),w=en.Yt.instance,A=(0,ea.useCallback)(()=>{m(!1)},[]),I=(0,ea.useCallback)(e=>{m(!0),null==u||u(!0)},[u]),M=(0,ea.useCallback)(e=>{null===e.currentTarget||e.currentTarget.contains(e.relatedTarget)||(m(!1),null==u||u(!1))},[u]),R=(0,ea.useCallback)(()=>{b(!0),null==u||u(!0)},[u]),D=(0,ea.useCallback)(()=>{b(!1),null==u||u(!1)},[u]),N=(0,ea.useCallback)(()=>{y(!0),null==u||u(!0)},[u]),L=(0,ea.useCallback)(()=>{var e;y(!1),null==u||u(!1),p||null===(e=T.current)||void 0===e||e.blur()},[p,u]),O=(0,ea.useCallback)(()=>{0===S.current?C((0,et.jsx)(nH,{"data-testid":"muted-volume-icon"})):S.current<.33?C((0,et.jsx)(nZ,{"data-testid":"low-volume-icon"})):S.current>=.33&&S.current<.66?C((0,et.jsx)(nz,{"data-testid":"med-volume-icon"})):C((0,et.jsx)(nF,{"data-testid":"high-volume-icon"}))},[]),B=(0,ea.useCallback)(()=>{T.current&&l.requestVolumeControl(S.current)},[l]),F=(0,ea.useCallback)(()=>{if(T.current){let e=(100*S.current).toFixed(2);T.current.style.setProperty("--fillPct",e)}O()},[O]),Z=(0,ea.useCallback)(()=>{T.current&&(0===S.current?(f("unmute"),S.current=0===E.current?1:E.current,(0,en.K3)(w.localizeWithParameters("Player.Player.VolumeButtonLabel",{volumePercent:Math.floor(100*S.current)}))):(f("mute"),S.current=0,(0,en.K3)(w.localize("Player.Player.VolumeButtonMuted"))),T.current.value=S.current.toFixed(2),B())},[w,f,B]),z=(0,ea.useCallback)(()=>{Z()},[Z]),H=tI(Z),U=(0,ea.useCallback)(e=>{S.current=parseFloat(e.target.value),B()},[B]),V=(0,ea.useCallback)(e=>{P.current=!0},[]),$=(0,ea.useCallback)(e=>{P.current=!1;let t=0===S.current?w.localize("Player.Player.VolumeButtonMuted"):w.localizeWithParameters("Player.Player.VolumeButtonLabel",{volumePercent:Math.floor(100*S.current)});(0,en.K3)(t)},[w]),G=(0,ea.useCallback)(e=>{P.current||g(!0),e.stopPropagation()},[]),W=(0,ea.useCallback)(()=>{g(!1)},[]),K=(0,ea.useCallback)(e=>{if("ArrowUp"===e.key)S.current=Math.min(1,S.current+.05),(0,en.K3)(w.localizeWithParameters("Player.Player.VolumeButtonLabel",{volumePercent:Math.floor(100*S.current)}));else if("ArrowDown"===e.key){S.current=Math.max(0,S.current-.05);let e=0===S.current?w.localize("Player.Player.VolumeButtonMuted"):w.localizeWithParameters("Player.Player.VolumeButtonLabel",{volumePercent:Math.floor(100*S.current)});(0,en.K3)(e)}e.stopPropagation(),B()},[w,B]),q=(0,ea.useCallback)(()=>{null==c||c.persistPreferences()},[c]);return(0,ea.useEffect)(()=>{let e=[];return e.push(o.volumeChange$.subscribe(e=>{S.current=e.currentVolume,e.restoreVolume&&(E.current=e.restoreVolume),F(),null==c||c.updateVolumePreference({volume:e.currentVolume,restoreVolume:e.restoreVolume})})),()=>{e.forEach(e=>e.unsubscribe())}},[o,l,F,c]),(0,ea.useEffect)(()=>{_||l.requestVolumeControl(S.current)},[_,l]),(0,ea.useEffect)(()=>{F()},[v,h,F]),(0,et.jsxs)(aT,{onMouseLeave:A,onFocus:I,onBlur:M,"data-testid":"volume-container",children:[(0,et.jsx)(ia,{$size:j.SMALL,onClick:z,onKeyDown:H,onMouseEnter:R,onMouseLeave:D,"data-testid":"player-ux-volume-button","aria-label":w.localizeWithParameters("Player.Player.VolumeButtonLabel",{volumePercent:Math.floor(100*S.current)}),children:k}),(0,et.jsx)("div",{children:(v||x||h||p)&&(0,et.jsx)(aL,{onUnmount:q,onMouseEnter:N,onMouseLeave:L,sliderLocation:d,$showOutline:p,children:(0,et.jsx)(aD,{"data-testid":"player-ux-volume-scrubber-thumb",defaultValue:S.current,ref:T,title:w.localize("Player.Controls.Alt.Volume"),onChange:U,onKeyDown:K,onMouseDown:V,onMouseUp:$,onFocus:G,onBlur:W,min:0,max:1,type:"range",step:"0.05"})})})]})},aL=e=>{let{children:t,onUnmount:n,onMouseEnter:i,onMouseLeave:a,sliderLocation:r,$showOutline:s}=e;return(0,ea.useEffect)(()=>n,[n]),(0,et.jsx)(aw,{dir:"ltr","data-testid":"volume-scrubber",onMouseEnter:i,onMouseLeave:a,$sliderLocation:r,$showOutline:s,children:t})};function aj(){let e=(0,er._)(["\n display: flex;\n flex-direction: row;\n"]);return aj=function(){return e},e}function aO(){let e=(0,er._)(["\n ","\n color: ",";\n"]);return aO=function(){return e},e}function aB(){let e=(0,er._)(["\n ","\n color: ",";\n"]);return aB=function(){return e},e}function aF(){let e=(0,er._)(["\n ","\n color: ",";\n"]);return aF=function(){return e},e}let aZ=es.ZP.div(e=>{let{$isScrubberHover:t}=e;return"\n color: #ffffff;\n display: flex;\n flex-direction: column;\n width: 100%;\n transition: ".concat(t?"opacity 250ms cubic-bezier(0.32, 0.94, 0.6, 1) 333ms;":"opacity 167ms cubic-bezier(0.32, 0.94, 0.6, 1);","\n opacity: ").concat(t?0:1,";\n")}),az=es.ZP.div(aj()),aH=es.ZP.span(aO(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_01),aU=es.ZP.span(aB(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_01),aV=es.ZP.span(aF(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_01);function a$(){let e=(0,er._)(["\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n gap: 10px;\n margin-bottom: 2px;\n"]);return a$=function(){return e},e}let aG=es.ZP.div(a$());function aW(){let e=(0,er._)(["\n padding: 4px;\n min-width: 28px;\n box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.35);\n border-radius: 2px;\n background: ",";\n color: ",";\n"]);return aW=function(){return e},e}function aK(){let e=(0,er._)(["\n height: 13px;\n display: flex;\n justify-content: center;\n align-items: center;\n"]);return aK=function(){return e},e}function aq(){let e=(0,er._)(["\n ","\n text-align: center;\n"]);return aq=function(){return e},e}function aY(){let e=(0,er._)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n"]);return aY=function(){return e},e}function aX(){let e=(0,er._)(["\n ","\n text-align: center;\n color: ",";\n"]);return aX=function(){return e},e}let aJ=es.ZP.div(aW(),e=>{let{$isActive:t}=e;return t?eu.fill.indicator_live:eu.fill.indicator_quiet},e=>{let{$isActive:t}=e;return t?eu.foreground.onbase.text_01:eu.foreground.onbase.text_02}),aQ=es.ZP.div(aK()),a0=es.ZP.span(aq(),e=>{let{$styleOverride:t}=e;return tC(t)}),a1=es.ZP.div(aY()),a2=es.ZP.span(aX(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_02),a5=e=>{let{atLiveEdge:t,channelName:n}=e,i=en.Yt.instance,a=i.localizeWithParameters("Player.AssetInfo.ChannelName",{channel:n}),r=i.localize("Player.AssetInfo.LiveBadge"),s=tv();return(0,et.jsxs)(et.Fragment,{children:[(0,et.jsx)(aJ,{"data-testid":t?"player-ux-active-live-badge":"player-ux-inactive-live-badge",$isActive:t,children:(0,et.jsxs)(aQ,{children:[(0,et.jsx)(nq,{}),(0,et.jsx)(a0,{$styleOverride:s.getStreamModeBadgeTextStyle(),children:r})]})}),a&&(0,et.jsx)(a1,{"data-testid":"player-ux-channel-title",children:(0,et.jsx)(a2,{$styleOverride:s.getChannelNameTextStyle(),children:a})})]})};function a6(){let e=(0,er._)(["\n padding: 4px;\n min-width: 28px;\n background: ",";\n box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.35);\n border-radius: 2px;\n"]);return a6=function(){return e},e}function a4(){let e=(0,er._)(["\n height: 13px;\n display: flex;\n justify-content: center;\n align-items: center;\n color: ",";\n"]);return a4=function(){return e},e}function a3(){let e=(0,er._)(["\n ","\n text-align: center;\n"]);return a3=function(){return e},e}let a7=es.ZP.div(a6(),eu.background.alt.surface_00),a9=es.ZP.div(a4(),eu.foreground.onalt.text_01),a8=es.ZP.span(a3(),e=>{let{$styleOverride:t}=e;return tC(t)}),re=()=>{let e=en.Yt.instance.localize("Player.AssetInfo.ReplayBadge"),t=tv();return(0,et.jsx)(a7,{"data-testid":"player-ux-replay-badge",children:(0,et.jsx)(a9,{children:(0,et.jsx)(a8,{$styleOverride:t.getStreamModeBadgeTextStyle(),children:e})})})},rt=e=>{let{badgeLabel:t,channelName:n,atLiveEdge:i}=e,a=(0,et.jsx)(et.Fragment,{});return t===L.LIVE?a=(0,et.jsx)(a5,{channelName:null!=n?n:"",atLiveEdge:null==i||i}):t===L.REPLAY&&(a=(0,et.jsx)(re,{})),(0,et.jsx)(aG,{children:a})};function rn(){let e=(0,er._)(["\n position: relative;\n width: fit-content;\n"]);return rn=function(){return e},e}function ri(){let e=(0,er._)(["\n font-size: 100px; // Excessively scale up font size, so that the screen reader focus outline can expand to match the visible contents.\n inset: 0;\n opacity: 0;\n overflow: hidden;\n pointer-events: none;\n position: absolute;\n text-overflow: clip;\n white-space: nowrap;\n"]);return ri=function(){return e},e}let ra=es.zo.div(rn()),rr=es.zo.p(ri()),rs=e=>{let{"aria-label":t,as:n,children:i,contentWrapper:a,...r}=e,s=null!=a?a:"div";return t?(0,et.jsxs)(ra,{as:n,...r,children:[(0,et.jsx)(rr,{children:t}),(0,et.jsx)(s,{"aria-hidden":!0,children:i})]}):(0,et.jsx)(s,{as:n,...r,children:i})},ro=e=>{var t,n;let i,a,{atLiveEdge:r,isScrubberHover:s,subtitleMetadataView:o,badgeVisible:l,subtitleVisible:d,titleVisible:c,direction:u}=e,{activeStreamInfo:f,contentMetadata:_,playableExtras:h}=(0,ea.useContext)(tx),m=tv(),{episodeNumber:p,seasonNumber:g,subtitle:v,title:b,extras:x}=null!=_?_:{},y=en.Yt.instance,k=null==x?void 0:x.CHANNEL_NAME,C=(t=null==h?void 0:h.replayMetadataEnabled,n=null==f?void 0:f.streamMode,t?L.REPLAY:n===tb.Aw.VOD||void 0===n?void 0:L.LIVE),S=[];return k&&S.push(y.localizeWithParameters("Player.AssetInfo.ChannelName",{channel:k})),c&&b&&S.push(y.localizeWithParameters("Player.AssetInfo.Title",{title:b})),d&&p&&(g?(i=y.localizeWithParameters("Player.AssetTitle.SeriesTitle",{seasonNumber:g.toString(),numberInSeason:p.toString()}),S.push(y.localizeWithParameters("Player.AssetInfo.SeasonEpisodeDetail.A11yLabel",{seasonNumber:g.toString(),episodeNumber:p}))):(i=y.localizeWithParameters("Player.AssetTitle.MiniSeries",{numberInSeries:p.toString()}),S.push(y.localizeWithParameters("Player.AssetInfo.MiniseriesDetail.A11yLabel",{episodeNumber:p})))),d&&v&&S.push(y.localizeWithParameters("Player.AssetInfo.Subtitle",{subtitle:v})),l&&C===L.LIVE?S.push(y.localize("Player.AssetInfo.LiveBadge")):l&&C===L.REPLAY&&S.push(y.localize("Player.AssetInfo.ReplayBadge")),a=o||(v||i)&&(0,et.jsxs)(az,{children:[i&&(0,et.jsxs)(aU,{$styleOverride:m.getSubtitleMetadataTextStyle(),"data-testid":"player-ux-season-episode",children:[i,"\xa0"]}),v&&(0,et.jsx)(aV,{$styleOverride:m.getSubtitleMetadataTextStyle(),"data-testid":"player-ux-asset-subtitle",children:y.localizeWithParameters("Player.AssetInfo.Subtitle",{subtitle:v})})]}),(0,et.jsx)(rs,{"aria-label":S.join(y.localize("Player.A11y.Separator")),children:(0,et.jsxs)(aZ,{"data-testid":"content-metadata",$isScrubberHover:s,children:[l&&C&&(0,et.jsx)(rt,{badgeLabel:C,channelName:k,atLiveEdge:r}),c&&b&&(0,et.jsx)(aH,{$styleOverride:m.getTitleMetadataTextStyle(),"data-testid":"player-ux-asset-title",children:y.localizeWithParameters("Player.AssetInfo.Title",{title:b})}),d&&a]})})};function rl(){let e=(0,er._)(["\n width: 100%;\n"]);return rl=function(){return e},e}let rd="#ffffff",rc="rgb(217, 32, 60)";function ru(){let e=(0,er._)(["\n ","\n margin: 0;\n"]);return ru=function(){return e},e}es.ZP.div(rl()),es.ZP.div(e=>{let{$isLiveEdge:t=!1}=e;return"\n position: absolute;\n background: transparent;\n border-radius: 6px;\n height: ".concat(4,"px;\n width: 0px;\n\n &::before {\n content: '';\n position: absolute;\n border-radius: 6px 0px 0px 6px;\n z-index: 1;\n height: 100%;\n width: 100%;\n background: ").concat(t?rc:rd,";\n }\n ")}),es.ZP.div(e=>{let{$isLiveEdge:t=!1}=e;return"\n background: ".concat(t?rc:rd,";\n width: ").concat(16,"px;\n height: ").concat(16,"px;\n border-radius: 50%;\n align-items: center;\n text-align: center;\n top: -").concat(6,"px;\n left: 100%;\n margin-left: -").concat(8,"px;\n z-index: 2;\n position: relative;\n ")});let rf=es.ZP.p(ru(),e=>{let{$styleOverride:t}=e;return tC(t)}),r_=e=>{let{playerEvents:t,contentDurationMs:n,scheduledStartUtc:i,isLiveFallback:a}=e,[r,s]=(0,ea.useState)(""),o=en.Yt.instance,l=tv();return(0,ea.useEffect)(()=>{let e=[];return e.push(t.playbackProgress$.subscribe(e=>{var t;let r="";a?(r=tA(e.playheadData.streamPlayheadMs),s(o.localizeWithParameters("Player.Timestamp",{timestamp:r}))):i&&(null===(t=e.playheadData)||void 0===t?void 0:t.utcPlayheadMs)?(r=tA(e.playheadData.utcPlayheadMs-i),s(o.localizeWithParameters("Player.Timestamp",{timestamp:r}))):n&&(r=tA(n-e.playheadData.contentPlayheadMs),s("-"+o.localizeWithParameters("Player.Timestamp",{timestamp:r})))})),()=>{e.forEach(e=>{e.unsubscribe()})}},[t.playbackProgress$,n,o,i,a]),(0,et.jsx)(rf,{dir:"ltr",$styleOverride:l.getProgressBarElementTextStyle(),"data-testid":"player-ux-scrubber-timestamp",children:r})};function rh(){let e=(0,er._)(["\n display: none;\n"]);return rh=function(){return e},e}function rm(){let e=(0,er._)(["\n display: flex;\n"]);return rm=function(){return e},e}function rp(){let e=(0,er._)(["\n ","\n"]);return rp=function(){return e},e}let rg=(0,es.iv)(rh()),rv=(0,es.iv)(rm()),rb=(0,es.ZP)(ia)(rp(),e=>{let{$display:t}=e;return"NO_DEVICES_AVAILABLE"===t?rg:rv}),rx=e=>{let t=function(){let e=al.getInstance(),[t,n]=(0,ea.useState)(e.connectionState);return(0,ea.useEffect)(()=>{let t=e=>{n(e.connectionState)};return e.addEventListener(2,t),()=>e.removeEventListener(2,t)},[e]),t}(),{activeStreamInfo:n}=(0,ea.useContext)(tx),{videoId:i,playerEvents:a,playerUserPreferences:r,isAiring:s,contentIdType:o}=e,l=(0,ea.useRef)(0),d=(0,ea.useRef)(void 0),c=(null==n?void 0:n.streamMode)!=="VOD",u=en.Yt.instance;(0,ea.useEffect)(()=>{let e=[];return e.push(a.playbackProgress$.subscribe(e=>{l.current=e.playheadData.contentPlayheadMs,d.current=e.playheadData.utcPlayheadMs})),()=>{e.forEach(e=>e.unsubscribe())}});let f=(0,ea.useCallback)(()=>{let e=al.getInstance();"NOT_CONNECTED"===t?e.startSession().then(t=>{var n,a,u,f,_;if(!0===t){let t=null==r?void 0:r.getCurrentUserPreference(),h=null===(n=null==t?void 0:t.audio)||void 0===n?void 0:n.languages[0],m=null===(a=null==t?void 0:t.audio)||void 0===a?void 0:a.role,p=(null===(u=null==t?void 0:t.text)||void 0===u?void 0:u.enabled)?null===(f=null==t?void 0:t.text)||void 0===f?void 0:f.languages[0]:void 0,g=null===(_=null==t?void 0:t.text)||void 0===_?void 0:_.role,v=null==t?void 0:t.autoPlayNext,b=(null==d?void 0:d.current)!==void 0?d.current/1e3:"LIVE_EDGE",x=c?b:l.current/1e3;return e.load({programId:i,preferredAudioLanguage:h,preferredAudioRole:m,preferredTextLanguage:p,preferredTextRole:g,mainStartingPosition:x,isBingeEnabled:v,isAiring:s,contentIdType:o,type:c?W.CHANNEL:W.VIDEO})}return Promise.resolve()}).catch(()=>{}).finally(()=>{}):e.endSession().catch(()=>{})},[t,r,i,s,o,c]),_=tI(f),h=(0,et.jsx)(nK,{});"CONNECTING"===t?h=(0,et.jsx)(nW,{}):"CONNECTED"===t&&(h=(0,et.jsx)(nG,{}));let m=u.localize("Player.Controls.Focus.NotConnected");return"CONNECTING"===t?m=u.localize("Player.Controls.Focus.Connecting"):"CONNECTED"===t&&(m=u.localize("Player.Controls.Focus.Connected")),(0,et.jsx)(rb,{$size:j.SMALL,$display:t,onClick:f,onKeyDown:_,"aria-label":m,title:u.localize("Player.Controls.Focus.Cast"),"data-testid":"player-ux-chromecast-button",children:h})},ry=e=>t=>null==e?void 0:e.sendMessage({topic:"alert_toggled",senderId:en.Tj.id,timestamp:new Date().getTime(),message:{isToggledOn:t}}),rk=e=>{let{eventAlertsOn:t,alertToggleHandler:n,onClickedElementCallback:i,messageDispatcher:a}=e,[r,s]=(0,ea.useState)(!1),o=en.Yt.instance,l=(0,ea.useCallback)(e=>ry(a)(e),[a]),d=()=>{let e=!r;s(e),null==n||n.alertsToggled(e),l(e),i(e?"event-alert-on":"event-alert-off")};(0,ea.useEffect)(()=>{s(t)},[t]),(0,ea.useEffect)(()=>{null==n||n.alertsToggled(r),l(r)},[n,r,l]);let c=tR(d),u=tI(d);return(0,et.jsx)(ia,{"data-testid":r?"player-ux-alerts-toggle-button-off":"player-ux-alerts-toggle-button-on",id:"event-alerts-toggle-button",$size:j.SMALL,onClick:c,onKeyDown:u,"aria-label":o.localize(r?"Player.Controls.Focus.EventAlertsToggleOn":"Player.Controls.Focus.EventAlertsToggleOff"),title:o.localize(r?"Player.Controls.Alt.EventAlertsOn":"Player.Controls.Alt.EventAlertsOff"),children:r?(0,et.jsx)(nJ,{}):(0,et.jsx)(nQ,{})})};function rC(){let e=(0,er._)(["\n ","\n color: ",";\n margin-bottom: ","px;\n"]);return rC=function(){return e},e}function rS(){let e=(0,er._)(["\n ","\n color: ",";\n margin-inline-start: ","px;\n display: inline;\n"]);return rS=function(){return e},e}function rE(){let e=(0,er._)(["\n display: flex;\n align-items: center;\n height: ","px;\n\n "," {\n height: ","px;\n }\n"]);return rE=function(){return e},e}function rT(){let e=(0,er._)(["\n position: absolute;\n z-index: 2;\n "," {\n bottom: ","px;\n height: 36px;\n inset-inline-end: ","px;\n }\n "," {\n inset-inline-end: ","px;\n }\n "," {\n inset-inline-end: ","px;\n }\n "," {\n bottom: ","px;\n inset-inline-end: ","px;\n height: 44px;\n }\n "," {\n inset-inline-end: ","px;\n }\n"]);return rT=function(){return e},e}function rP(){let e=(0,er._)(["\n height: 16px;\n width: 16px;\n margin: 2px;\n"]);return rP=function(){return e},e}function rw(){let e=(0,er._)(["\n ","\n margin-inline-start: 12px;\n"]);return rw=function(){return e},e}es.ZP.h2(rC(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_02,eh.universal._12),es.ZP.h2(rS(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_01,eh.universal._16),es.ZP.div(rE(),eh.universal._24,ec._05,eh.universal._28);let rA=es.ZP.div(rT(),ec._02,100+eh.universal._24+8,e=>{let{$isGoLive:t}=e;return t?0:eh.margin.bp_01},ec._03,e=>{let{$isGoLive:t}=e;return t?0:eh.margin.bp_03},ec._04,e=>{let{$isGoLive:t}=e;return t?0:eh.margin.bp_04},ec._05,100+eh.universal._36+8,e=>{let{$isGoLive:t}=e;return t?0:eh.margin.bp_05},ec._06,e=>{let{$isGoLive:t}=e;return t?0:eh.margin.bp_06}),rI=es.ZP.button(e=>{let{$animateIn:t}=e;return"\n display: flex;\n flex-direction: row;\n cursor: pointer;\n align-items: center;\n transition: opacity 300ms cubic-bezier(0 0, 0.34, 1);\n opacity: ".concat(t?1:0,";\n border-color: ").concat(eu.transparent,";\n border-radius: ").concat(4,"px;\n background-color: ").concat(eu.background.alt.surface_01,";\n color: ").concat(eu.foreground.onalt.text_01,";\n width: 100%;\n height: 100%;\n position: relative;\n &:focus-visible {\n border: none;\n outline: none;\n border-radius: 4px;\n box-shadow: 0 0 0 5px ").concat(eu.keyboard.focus_base,";\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n box-shadow: 0 0 0 2px ").concat(eu.keyboard.focus_alt,";\n border-radius: 4px;\n }\n }\n\n ").concat(ec._02," {\n padding: ").concat(eh.universal._12-6,"px ").concat(eh.universal._16,"px;\n }\n ").concat(ec._05," {\n padding: ").concat(eh.universal._12-2,"px ").concat(eh.universal._24,"px;\n }\n")}),rM=(0,es.ZP)(e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nT,...t,$stroke:"none"})})(rP()),rR=es.ZP.span(rw(),e=>{let{$styleOverride:t}=e;return tC(t)}),rD=e=>{let{controller:t,playerCallbacks:n,onClickedElementCallback:i,playerId:a}=e,[r,s]=(0,ea.useState)(),[o,l]=(0,ea.useState)(!1),[d,c]=(0,ea.useState)(!1),{skipControl:u}=t,{activeStreamInfo:f}=(0,ea.useContext)(tx),_=(0,ea.useRef)(),h=tv();(0,ea.useEffect)(()=>{var e;Array.isArray(null==f?void 0:f.videoPeriods)&&u.initialize(null!==(e=f.videoPeriods.map(e=>{let{startMs:t,durationMs:n,annotations:i}=e;return{startMs:t,durationMs:n,annotations:null!=i?i:[]}}))&&void 0!==e?e:[])},[null==f?void 0:f.videoPeriods,u]);let m=(0,ea.useCallback)((e,t)=>{ni.b.instance.event((0,en.Tk)(e,en.w7.id,a,t,_.current)),i(e)},[i,a]),p=(0,ea.useCallback)(()=>{if(r){let e=document.querySelector('[data-focusid="playback_play"]');n.requestSeek(r.endMs),u.skip(),null==e||e.focus(),m("skip",{targetText:r.label})}},[r,m,n,u]),g=tI(p);return(0,ea.useEffect)(()=>{let e=[];return e.push(u.annotation$.subscribe(e=>{s(e)})),e.push(t.overlayVisible$.subscribe(e=>{l(e),c(e),n.requestVisibilityChange(en.w7.id,e)})),()=>{e.forEach(e=>e.unsubscribe())}},[t,n,u]),(0,ea.useEffect)(()=>{(null==r?void 0:r.label)&&o&&(0,en.K3)(null==r?void 0:r.label)},[null==r?void 0:r.label,o]),(0,ea.useEffect)(()=>{let e=document.querySelector('[data-testid="volume-container"]');if(!e)return;let t=()=>{d&&l(!1)},n=()=>{d&&l(!0)};return e.addEventListener("mouseleave",n),e.addEventListener("mouseenter",t),()=>{e.removeEventListener("mouseleave",n),e.removeEventListener("mouseenter",t)}},[n,d]),(0,et.jsx)(rA,{onKeyDown:g,children:(0,et.jsxs)(rI,{"data-testid":"player-ux-skip-button",$animateIn:o,onClick:p,"aria-label":null==r?void 0:r.label,children:[(0,et.jsx)(rM,{}),(0,et.jsx)(rR,{$styleOverride:h.getSkipSectionButtonTextStyle(),children:null==r?void 0:r.label})]})})},rN=e=>{let{atLiveEdge:t,onGoLive:n,onClickedElementCallback:i}=e,a=(0,ea.useCallback)(()=>{n(),i("goToLive")},[i,n]),r=en.Yt.instance,s=tv(),o=tI(a);return t?(0,et.jsx)(et.Fragment,{}):(0,et.jsx)(rA,{$isGoLive:!0,onKeyDown:o,children:(0,et.jsxs)(rI,{"aria-label":r.localize("Player.Controls.Focus.GoLive"),"data-testid":"player-ux-go-live",$animateIn:!0,onClick:a,children:[(0,et.jsx)(rM,{}),(0,et.jsx)(rR,{$styleOverride:s.getGoLiveButtonTextStyle(),children:r.localize("Player.AssetInfo.GoLive")})]})})};var rL=n(80623);let rj="#F5F5F7",rO="transparent",rB=es.zo.g(e=>{let{className:t,mask:n}=e;return"\n class: ".concat(t,";\n width: calc(var(--quarterDiameter) * 1px);\n height: calc(var(--quarterDiameter) * 1px);\n mask: ").concat(n,";\n")}),rF=es.zo.circle(e=>{let{fill:t}=e;return"\n cx: calc(var(--quarterRadius) * 1px);\n cy: calc((var(--quarterDiameter) - var(--innerRadius)) * 1px);\n fill: ".concat(t,";\n r: calc(var(--innerRadius) * 1px);\n")}),rZ=es.zo.circle(e=>{let{fill:t}=e;return"\n cx: calc((var(--quarterDiameter) - var(--innerRadius)) * 1px);\n cy: calc(var(--quarterRadius) * 1px);\n fill: ".concat(t,";\n r: calc(var(--innerRadius) * 1px);\n")}),rz=es.zo.circle(e=>{let{stroke:t}=e;return"\n cx: calc(var(--quarterRadius) * 1px);\n cy: calc(var(--quarterRadius) * 1px);\n fill: transparent;\n r: calc((var(--quarterRadius) / 2) * 1px);\n stroke: ".concat(t,";\n stroke-width: calc(var(--quarterRadius) * 1px);\n stroke-dasharray: calc((var(--quarterRadius) * ").concat(Math.PI,"px) / 4) calc((var(--quarterRadius) * ").concat(Math.PI,"px * 3) / 4);\n")}),rH=e=>{let{stroke:t}=e;return(0,et.jsx)(rz,{stroke:t})};function rU(){let e=(0,er._)(["\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n"]);return rU=function(){return e},e}function rV(){let e=(0,er._)(["\n from {\n transform: scale(0.8);\n }\n to {\n transform: scale(1);\n }\n"]);return rV=function(){return e},e}function r$(){let e=(0,er._)(["\n 0% {\n transform: rotate(0deg);\n }\n "," {\n transform: rotate(0deg);\n }\n 50% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(270deg);\n }\n"]);return r$=function(){return e},e}function rG(){let e=(0,er._)(["\n 0% {\n transform: rotate(90deg);\n }\n "," {\n transform: rotate(360deg);\n }\n 50% {\n transform: rotate(360deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"]);return rG=function(){return e},e}function rW(){let e=(0,er._)(["\n 0% {\n transform: rotate(180deg);\n }\n "," {\n transform: rotate(360deg);\n }\n 50% {\n transform: rotate(360deg);\n }\n 100% {\n transform: rotate(540deg);\n }\n"]);return rW=function(){return e},e}function rK(){let e=(0,er._)(["\n 0% {\n transform: rotate(270deg);\n }\n "," {\n transform: rotate(360deg);\n }\n 50% {\n transform: rotate(360deg);\n }\n 100% {\n transform: rotate(450deg);\n }\n"]);return rK=function(){return e},e}function rq(){let e=(0,er._)(["\n 0% {\n transform: rotate(0deg);\n }\n "," {\n transform: rotate(270deg);\n }\n 50% {\n transform: rotate(270deg);\n }\n 100% {\n transform: rotate(270deg);\n }\n"]);return rq=function(){return e},e}function rY(){let e=(0,er._)(["\n 0% {\n transform: rotate(-150deg);\n }\n "," {\n transform: rotate(190deg);\n }\n "," {\n transform: rotate(90deg);\n }\n "," {\n transform: rotate(430deg);\n }\n "," {\n transform: rotate(330deg);\n }\n 100% {\n transform: rotate(670deg);\n }\n"]);return rY=function(){return e},e}function rX(){let e=(0,er._)(["\n --radius: 20.5;\n --stroke: 5;\n\n "," {\n --radius: 27;\n --stroke: 7;\n }\n\n --innerRadius: calc(var(--stroke) / 2);\n --quarterRadius: calc(var(--radius) + var(--stroke) / 2);\n --quarterDiameter: calc(var(--quarterRadius) * 2);\n\n animation: "," ","ms cubic-bezier(0.33, 0.21, 0.67, 0.78) 0ms\n infinite;\n position: relative;\n height: calc(var(--quarterDiameter) * 1px);\n width: calc(var(--quarterDiameter) * 1px);\n margin: 10px;\n "]);return rX=function(){return e},e}function rJ(){let e=(0,er._)(["\n ","\n"]);return rJ=function(){return e},e}function rQ(){let e=(0,er._)(["\n &.","-exit {\n opacity: 1;\n transform: scale(1);\n }\n &.","-exit-active {\n opacity: 0;\n transform: scale(1.2);\n transition: opacity ","ms ",", transform ","ms ",";\n }\n &.","-exit-done {\n opacity: 0;\n }\n "]);return rQ=function(){return e},e}function r0(){let e=(0,er._)(["\n position: absolute;\n display: flex;\n width: 100%;\n height: 100%;\n justify-content: center;\n align-items: center;\n\n ","\n"]);return r0=function(){return e},e}function r1(){let e=(0,er._)(["\n animation: "," ","ms ease-out;\n height: calc(var(--quarterDiameter) * 1px);\n width: calc(var(--quarterDiameter) * 1px);\n transform-origin: center;\n\n & ."," {\n animation: "," ","ms "," 0ms infinite;\n }\n\n & ."," {\n animation: "," ","ms "," 0ms infinite;\n }\n\n & ."," {\n animation: "," ","ms "," 0ms infinite;\n }\n\n & ."," {\n animation: "," ","ms "," 0ms infinite;\n }\n & ."," {\n animation: "," ","ms "," 0ms infinite;\n }\n "]);return r1=function(){return e},e}function r2(){let e=(0,er._)(["\n ",";\n"]);return r2=function(){return e},e}function r5(){let e=(0,er._)(["\n cx: calc(var(--quarterRadius) * 1px);\n cy: calc(var(--quarterRadius) * 1px);\n fill: black;\n r: calc(var(--radius) * 1px);\n stroke: white;\n stroke-width: var(--stroke);\n"]);return r5=function(){return e},e}function r6(){let e=(0,er._)(["\n transform-origin: center;\n"]);return r6=function(){return e},e}function r4(){let e=(0,er._)(["\n transform-origin: center;\n"]);return r4=function(){return e},e}function r3(){let e=(0,er._)(["\n align-items: center;\n display: flex;\n flex-direction: column;\n height: 100%;\n justify-content: end;\n width: 100%;\n justify-content: center;\n"]);return r3=function(){return e},e}function r7(){let e=(0,er._)(["\n animation: "," ","ms linear;\n "]);return r7=function(){return e},e}function r9(){let e=(0,er._)(["\n position: absolute;\n width: 198px;\n height: 198px;\n background: #000000;\n opacity: 0.75;\n filter: blur(75px);\n\n "," {\n width: 395px;\n height: 395px;\n }\n\n ","\n"]);return r9=function(){return e},e}let r8=(0,es.F4)(rU()),se=(0,es.F4)(rV()),st=(0,es.F4)(r$(),"49.9999%"),sn=(0,es.F4)(rG(),"49.9999%"),si=(0,es.F4)(rW(),"49.9999%"),sa=(0,es.F4)(rK(),"49.9999%"),sr=(0,es.F4)(rq(),"49.9999%"),ss=(0,es.F4)(rY(),100/3-1e-4+"%",100/3+"%",200/3-1e-4+"%",200/3+"%"),so=es.ZP.div(rJ(),e=>{let{$animationDuration:t}=e;return(0,es.iv)(rX(),ec._05,ss,t)}),sl=es.ZP.div(r0(),e=>{let{$outAnimationDuration:t,$transitionClassNames:n}=e,i="cubic-bezier(0.52, 0.16, 0.35, 0.70)";return(0,es.iv)(rQ(),n,n,t,i,t,i,n)}),sd=es.ZP.svg(r2(),e=>{let{$loaderQuarter1ClassName:t,$loaderQuarter2ClassName:n,$loaderQuarter3ClassName:i,$loaderQuarter4ClassName:a,$loaderTailClassName:r,$loopDuration:s,$scaleAnimationDuration:o}=e,l="cubic-bezier(0.34, 0.02, 0.65, 0.91)";return(0,es.iv)(r1(),se,o,t,st,s,l,n,sn,s,l,i,si,s,l,a,sa,s,l,r,sr,s,l)}),sc=es.ZP.circle(r5()),su=(0,es.ZP)(e=>{let{className:t,mask:n}=e;return(0,et.jsxs)(rB,{className:t,mask:n,children:[(0,et.jsx)(rH,{stroke:rj}),(0,et.jsx)(rF,{fill:rj}),(0,et.jsx)(rZ,{fill:rj})]})})(r6()),sf=(0,es.ZP)(e=>{let{className:t,mask:n}=e;return(0,et.jsxs)(rB,{className:t,mask:n,children:[(0,et.jsx)("defs",{children:(0,et.jsxs)("linearGradient",{id:"gradient",gradientTransform:"rotate(-30)",children:[(0,et.jsx)("stop",{offset:"0",stopColor:rj}),(0,et.jsx)("stop",{offset:"1",stopColor:rO})]})}),(0,et.jsx)(rH,{stroke:"url(#gradient)"}),(0,et.jsx)(rF,{fill:rj}),(0,et.jsx)(rZ,{fill:rO})]})})(r4()),s_=es.ZP.div(r3()),sh=es.ZP.div(r9(),ec._05,e=>{let{$fadeAnimationDuration:t}=e;return(0,es.iv)(r7(),r8,t)}),sm="loader-indicator-transition-out",sp="loader-quarter-1",sg="loader-quarter-2",sv="loader-quarter-3",sb="loader-quarter-4",sx="loader-tail",sy=e=>{let{accessibilityLabel:t,loading:n,onExitAnimationComplete:i}=e,a=(0,ea.useRef)(null);(0,ea.useEffect)(()=>{n&&t&&(0,en.K3)(t)},[t,n]);let r=(0,ea.useCallback)(()=>{i()},[i]),s=(0,et.jsx)(so,{$animationDuration:5301,"data-testid":"player-ux-loading-circle",children:(0,et.jsx)(rL.Z,{nodeRef:a,in:n,onExited:r,timeout:333,classNames:sm,children:(0,et.jsx)(sl,{$outAnimationDuration:333,$transitionClassNames:sm,ref:a,children:(0,et.jsxs)(sd,{$loaderQuarter1ClassName:sp,$loaderQuarter2ClassName:sg,$loaderQuarter3ClassName:sv,$loaderQuarter4ClassName:sb,$loaderTailClassName:sx,$loopDuration:1767,$scaleAnimationDuration:333,xmlns:"http://www.w3.org/2000/svg",children:[(0,et.jsx)("mask",{id:"myMask",children:(0,et.jsx)(sc,{})}),(0,et.jsx)(sf,{className:sx,mask:"url(#myMask)"}),(0,et.jsx)(su,{className:sp,mask:"url(#myMask)"}),(0,et.jsx)(su,{className:sg,mask:"url(#myMask)"}),(0,et.jsx)(su,{className:sv,mask:"url(#myMask)"}),(0,et.jsx)(su,{className:sb,mask:"url(#myMask)"})]})})})});return(0,et.jsxs)(s_,{children:[(0,et.jsx)(sh,{$fadeAnimationDuration:100}),s]})};function sk(){let e=(0,er._)(["\n border: ","px solid ",";\n color: ",";\n"]);return sk=function(){return e},e}function sC(){let e=(0,er._)(["\n border: ","px solid ",";\n color: ",";\n"]);return sC=function(){return e},e}function sS(){let e=(0,er._)(["\n ","\n background-color: ",";\n border-radius: ","px;\n cursor: pointer;\n flex-shrink: 0;\n min-width: 104px;\n opacity: 1;\n padding: 10px 24px 12px 24px;\n position: relative;\n margin-right: 12px;\n\n "," {\n padding-bottom: 10px;\n padding-top: 9px;\n }\n\n &:focus-visible {\n box-shadow: 0 0 0 2px ",", 0 0 0 5px ",";\n outline: none;\n }\n\n &:hover {\n background-color: ",";\n color: ",";\n }\n\n &:active {\n background-color: ",";\n color: ",";\n opacity: 0.8;\n }\n\n ","\n"]);return sS=function(){return e},e}let sE=(0,es.iv)(sk(),2,eu.transparent,eu.foreground.onbase.text_02),sT=(0,es.iv)(sC(),2,eu.stroke.onbase.outline_03,eu.foreground.onbase.text_01),sP=es.zo.button(sS(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.transparent,999,ec._05,eu.keyboard.focus_alt,eu.keyboard.focus_base,eu.background.alt.surface_00,eu.foreground.onalt.text_01,eu.background.alt.surface_00,eu.foreground.onalt.text_01,e=>{let{$selected:t}=e;return t?sT:sE}),sw=e=>{let{label:t,selected:n=!1,logger:i,dataTestId:a,id:r,messageDispatcher:s,onClickedElementCallback:o,overlayId:l,setSelectedTab:d,tabButton:c}=e,u=tv(),f=null!=t?t:null==c?void 0:c.label,_=(0,ea.useCallback)(()=>{null==i||i.d("Chip ","Button ".concat(f," clicked")),null==s||s.sendMessage({topic:"topic_discoverable_content_tab_selected",senderId:l,timestamp:new Date().getTime(),message:c}),r&&d&&d(r),o&&o("inplayer-control",f)},[f,r,i,s,o,l,d,c]),h=tI(_);return(0,et.jsx)(sP,{"data-testid":a,$styleOverride:u.getDiscoverableContentTabTextStyle(),$selected:n,onClick:_,onKeyDown:h,children:f})},sA=e=>{let{playerEvents:t,playerCallbacks:n,onClickedElementCallback:i}=e,[a,r]=(0,ea.useState)([]),[s,o]=(0,ea.useState)(!1),l=en.Yt.instance;(0,ea.useEffect)(()=>{let e=[];return e.push(t.availableTextTracks$.subscribe(e=>{r(e.availableTextTracks)}),t.selectedTextTrack$.subscribe(e=>{o(void 0!==e.selectedTextTrack)})),()=>{e.forEach(e=>{e.unsubscribe()})}},[t.availableTextTracks$,t.selectedTextTrack$]);let d=(0,ea.useCallback)(()=>{s?(n.requestTextTrackSelection(void 0),i("toggleCCOff")):(n.requestTextTrackSelection(a[0]),i("toggleCCOn"))},[a,s,i,n]),c=tR(d),u=tI(d);return a.length>0?(0,et.jsx)(ia,{"data-testid":"player-ux-caption-toggle",$size:j.SMALL,onClick:c,onKeyDown:u,"aria-label":l.localize("Player.Controls.Focus.TrackSelector"),title:l.localize("Player.Controls.Alt.TrackSelector"),children:s?(0,et.jsx)(nY,{}):(0,et.jsx)(nX,{})}):null},sI=e=>{var t,n,i;let{playerCallbacks:a,playerEvents:r,onClickedElementCallback:s=()=>{},playerUserPreferences:o}=e,l=en.Yt.instance,d=(0,ea.useRef)(null!==(i=null===(n=null===(t=null==o?void 0:o.getCurrentUserPreference())||void 0===t?void 0:t.volume)||void 0===n?void 0:n.volume)&&void 0!==i?i:1),[c,u]=(0,ea.useState)(0===d.current);(0,ea.useEffect)(()=>{let e=[];return e.push(r.volumeChange$.subscribe(e=>{d.current=e.currentVolume,u(0===e.currentVolume),null==o||o.updateVolumePreference({volume:e.currentVolume,restoreVolume:e.restoreVolume})})),()=>{e.forEach(e=>e.unsubscribe())}},[a,r,o,l]),(0,ea.useEffect)(()=>{a.requestVolumeControl(d.current)},[a]);let f=(0,ea.useCallback)(()=>{c?(s("unmute"),a.requestVolumeControl(1),(0,en.K3)(l.localizeWithParameters("Player.Player.VolumeButtonLabel",{volumePercent:100}))):(s("mute"),a.requestVolumeControl(0),(0,en.K3)(l.localize("Player.Player.VolumeButtonMuted")))},[l,c,s,a]);return(0,et.jsx)(ia,{$size:j.SMALL,onClick:f,"data-testid":"player-ux-volume-toggle","aria-label":l.localizeWithParameters("Player.Player.VolumeButtonLabel",{volumePercent:c?0:100}),children:c?(0,et.jsx)(nH,{"data-testid":"muted-volume-icon"}):(0,et.jsx)(nF,{"data-testid":"high-volume-icon"})})},sM=e=>{let{onClickedElementCallback:t,messageDispatcher:n}=e,i=en.Yt.instance,a=(0,ea.useCallback)(()=>{t("showRatingsAndAdvisories"),null==n||n.sendMessage({topic:"topic_ra_button_actioned",senderId:en.mC.id,timestamp:new Date().getTime(),message:void 0})},[n,t]);return(0,et.jsx)(ia,{"data-testid":"player-ux-show-ratings",$size:j.SMALL,onClick:a,"aria-label":i.localize("Player.Controls.Show.Ratings"),title:i.localize("Player.Controls.Show.Ratings"),children:(0,et.jsx)(n0,{})})};function sR(){let e=(0,er._)(["\n position: absolute;\n margin-inline-end: ","px;\n margin-bottom: ","px;\n inset-inline-end: 0;\n bottom: 0;\n\n height: 36px;\n width: auto;\n\n display: flex;\n flex-direction: row;\n\n opacity: 1;\n transition: opacity 0.33s, margin 0.33s;\n\n "," {\n margin-inline-end: ","px;\n margin-bottom: ","px;\n }\n\n "," {\n margin-inline-end: ","px;\n margin-bottom: ","px;\n }\n\n "," {\n margin-inline-end: ","px;\n margin-bottom: ","px;\n }\n\n "," {\n margin-inline-end: ","px;\n height: 44px;\n margin-bottom: ","px;\n }\n\n "," {\n margin-inline-end: ","px;\n margin-bottom: ","px;\n }\n"]);return sR=function(){return e},e}function sD(){let e=(0,er._)(["\n all: unset;\n width: ","px;\n height: 100%;\n padding: 10px;\n border-radius: 4px;\n box-sizing: border-box;\n\n box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.35);\n background: ",";\n z-index: 2;\n\n &:hover {\n background: rgb(110, 106, 116);\n }\n\n &:active {\n background: rgba(62, 59, 68, 0.6);\n }\n\n &:focus-visible {\n border: none;\n outline: none;\n border-radius: 4px;\n box-shadow: 0 0 0 2px ",";\n }\n\n "," {\n width: ","px;\n }\n"]);return sD=function(){return e},e}function sN(){let e=(0,er._)(["\n all: unset;\n width: hug;\n border-radius: 4px;\n box-sizing: border-box;\n margin-inline-start: 8px;\n padding: 7px 16px 7px 16px;\n\n display: flex;\n flex-direction: row;\n align-items: center;\n color: ",";\n background: ",";\n position: relative;\n z-index: 2;\n\n &:hover {\n background: ",";\n }\n\n &:active {\n background: ",";\n }\n\n &:focus-visible {\n border: none;\n outline: none;\n border-radius: 4px;\n box-shadow: 0 0 0 5px ",";\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n box-shadow: 0 0 0 2px ",";\n border-radius: 4px;\n }\n }\n\n "," {\n padding: 8px 24px 8px 24px;\n }\n"]);return sN=function(){return e},e}function sL(){let e=(0,er._)(["\n ","\n margin-inline-start: 9px;\n margin-inline-end: 4px;\n"]);return sL=function(){return e},e}function sj(){let e=(0,er._)(["\n ","\n"]);return sj=function(){return e},e}function sO(){let e=(0,er._)(["\n display: flex;\n height: 21px;\n width: 21px;\n overflow: visible;\n\n "," {\n height: 28px;\n width: 28px;\n }\n"]);return sO=function(){return e},e}function sB(){let e=(0,er._)(["\n fill: ",";\n stroke: none;\n"]);return sB=function(){return e},e}function sF(){let e=(0,er._)(["\n fill: ","\n stroke: none;\n"]);return sF=function(){return e},e}function sZ(){let e=(0,er._)(["\n height: 100%;\n width: 100%;\n"]);return sZ=function(){return e},e}function sz(){let e=(0,er._)(["\n fill: none;\n cx: -50%;\n cy: 50%;\n stroke: rgba(0, 0, 0, 0.2);\n stroke-width: 3px;\n transform: rotate(-90deg);\n"]);return sz=function(){return e},e}function sH(){let e=(0,er._)(["\n stroke: ",";\n stroke-dasharray: 100;\n stroke-dashoffset: 100;\n\n animation: dash ","s linear;\n\n animation-play-state: 'running';\n\n @keyframes dash {\n from {\n stroke-dashoffset: 100;\n }\n to {\n stroke-dashoffset: 0;\n }\n }\n"]);return sH=function(){return e},e}es.ZP.div(sR(),eh.margin.bp_01,100+eh.universal._44,ec._02,eh.margin.bp_01,100+eh.universal._36,ec._03,eh.margin.bp_03,100+eh.universal._40,ec._04,eh.margin.bp_04,100+eh.universal._40,ec._05,eh.margin.bp_05,100+eh.universal._48,ec._06,eh.margin.bp_06,100+eh.universal._48),es.ZP.button(sD(),eh.universal._36,eu.fill.skeleton,eu.keyboard.focus_base,ec._05,eh.universal._44),es.ZP.button(sN(),e=>e.$isTimerVisible?eu.foreground.onalt.text_01:eu.foreground.onbase.text_01,e=>e.$isTimerVisible?eu.background.alt.surface_01:eu.fill.skeleton,e=>e.$isTimerVisible?eu.background.alt.surface_00:eu.fill.skeleton,e=>e.$isTimerVisible?eu.background.alt.surface_01_film:eu.fill.skeleton,eu.keyboard.focus_base,eu.keyboard.focus_alt,ec._05),es.ZP.span(sL(),e=>{let{$styleOverride:t}=e;return tC(t)}),es.ZP.span(sj(),e=>{let{$styleOverride:t}=e;return tC(t)}),es.ZP.div(sO(),ec._05),(0,es.ZP)(nk)(sB(),eu.foreground.onalt.text_01),(0,es.ZP)(nk)(sF(),eu.foreground.onbase.text_01),es.ZP.svg(sZ());let sU=es.ZP.circle(sz());(0,es.ZP)(sU)(sH(),eu.foreground.onalt.text_01,e=>{let{$animationDurationSec:t}=e;return t});let sV=e=>{let{onBack:t}=e,n=en.Yt.instance,i=(0,ea.useRef)(!1);return{localizer:n,handleBack:(0,ea.useCallback)(()=>{!1===i.current&&(t("default"),i.current=!0)},[t]),backButtonKeyHandler:tI(()=>{!1===i.current&&(t("default"),i.current=!0)})}},s$=e=>{let{onBack:t,direction:n}=e,{localizer:i,handleBack:a,backButtonKeyHandler:r}=sV({onBack:t});return(0,et.jsx)(ia,{$size:j.SMALL,onClick:a,onKeyDown:r,"aria-label":i.localize("Player.Controls.Focus.Back"),title:i.localize("Player.Controls.Alt.Back"),"data-testid":"player-ux-back-button",children:(0,et.jsx)(n$,{direction:n})})};function sG(){let e=(0,er._)(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n height: auto;\n width: auto;\n"]);return sG=function(){return e},e}function sW(){let e=(0,er._)(["\n ","\n display: inline-block;\n"]);return sW=function(){return e},e}let sK=es.ZP.div(sG()),sq=es.ZP.span(sW(),td.body.md),sY=e=>{let{onBack:t,text:n,direction:i}=e,{localizer:a,handleBack:r,backButtonKeyHandler:s}=sV({onBack:t});return(0,et.jsxs)(sK,{children:[(0,et.jsx)(ia,{$size:j.SMALL,onClick:r,onKeyDown:s,"aria-label":a.localize("Player.Controls.Focus.Back"),title:a.localize("Player.Controls.Alt.Back"),"data-testid":"player-ux-back-button",children:(0,et.jsx)(n$,{direction:i})}),(0,et.jsx)(sq,{children:n})]})};function sX(){let e=(0,er._)(["\n display: flex;\n width: 100%;\n height: 100%;\n opacity: ",";\n transition: opacity ","ms cubic-bezier(0.25, 1, 0.5, 1);\n"]);return sX=function(){return e},e}let sJ=es.ZP.div(sX(),e=>{let{$isVisible:t}=e;return t?1:0},500),sQ=e=>{let{id:t,playerCallbacks:n,overlayVisible:i,overlayDisabled:a,isContentDiscoveryOverlayVisible:r,children:s}=e,[o,l]=(0,ea.useState)(!1),d=en.Yt.instance;return(0,ea.useEffect)(()=>{let e=null;if(i){if(a)return;e&&(clearTimeout(e),e=null),r||(n.requestVisibilityChange(t,!0),l(!0),(0,en.K3)(d.localize("Player.Controls.a11y.Action.ChromeVisible")))}else e=setTimeout(()=>{n.requestVisibilityChange(t,!1)},500),l(!1);return()=>{e&&clearTimeout(e)}},[t,r,d,a,i,n]),(0,et.jsx)(sJ,{$isVisible:o,children:s})};function s0(e){let{element:t}=e,n=(0,ea.useCallback)(e=>{null!==e&&e.appendChild(t)},[t]);return(0,et.jsx)("div",{ref:n})}function s1(){let e=(0,er._)(["\n margin: 0px ","px 0px;\n padding-top: 10px;\n\n "," {\n margin: 0px ","px 0px;\n padding-top: ","px;\n }\n\n "," {\n margin: 0px ","px 0px;\n }\n\n "," {\n margin: 0px ","px 0px;\n padding-top: ","px;\n }\n\n "," {\n margin: 0px ","px 0px;\n }\n"]);return s1=function(){return e},e}function s2(){let e=(0,er._)(["\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n color: #ffffff;\n\n ","\n"]);return s2=function(){return e},e}function s5(){let e=(0,er._)(["\n display: flex;\n justify-content: space-between;\n"]);return s5=function(){return e},e}function s6(){let e=(0,er._)(["\n display: flex;\n flex: 1;\n flex-direction: row;\n justify-content: flex-end;\n\n min-width: 144px;\n position: relative;\n left: 20px;\n"]);return s6=function(){return e},e}function s4(){let e=(0,er._)(["\n display: flex;\n flex-basis: 100%;\n align-items: center;\n"]);return s4=function(){return e},e}function s3(){let e=(0,er._)(["\n display: flex;\n flex-basis: 100%;\n align-self: center;\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n\n "," {\n display: none;\n }\n"]);return s3=function(){return e},e}function s7(){let e=(0,er._)(["\n display: flex;\n "," {\n display: none;\n }\n"]);return s7=function(){return e},e}function s9(){let e=(0,er._)(["\n display: none;\n "," {\n display: flex;\n flex-wrap: wrap;\n overflow: hidden;\n row-gap: 100px;\n max-height: 55px;\n }\n"]);return s9=function(){return e},e}function s8(){let e=(0,er._)(["\n display: none;\n text-align: center;\n justify-content: center;\n padding-bottom: 10px;\n\n "," {\n display: flex;\n }\n"]);return s8=function(){return e},e}function oe(){let e=(0,er._)(["\n display: flex;\n flex-direction: column;\n opacity: ",";\n transform: ",";\n transition: opacity 0.3s ease-out, transform 0.4s ease-out;\n"]);return oe=function(){return e},e}function ot(){let e=(0,er._)(["\n flex-basis: 20%;\n width: 100%;\n margin: auto;\n position: relative;\n transition: ",";\n opacity: ",";\n"]);return ot=function(){return e},e}function on(){let e=(0,er._)(["\n display: flex;\n flex-basis: 80%;\n justify-content: space-between;\n"]);return on=function(){return e},e}function oi(){let e=(0,er._)(["\n position: relative;\n display: flex;\n"]);return oi=function(){return e},e}function oa(){let e=(0,er._)(["\n margin: auto;\n display: flex;\n flex: 1;\n justify-content: flex-start;\n align-items: center;\n padding-bottom: 15px;\n"]);return oa=function(){return e},e}function or(){let e=(0,er._)(["\n display: flex;\n text-align: center;\n justify-content: center;\n padding-bottom: 10px;\n"]);return or=function(){return e},e}function os(){let e=(0,er._)(["\n display: flex;\n flex: 1;\n flex-direction: row;\n justify-content: flex-end;\n\n min-width: 144px;\n position: relative;\n left: 20px;\n min-height: 40px;\n\n "," {\n min-height: 80px;\n }\n"]);return os=function(){return e},e}function oo(){let e=(0,er._)(["\n ","\n margin-bottom: ","px;\n\n "," {\n margin-bottom: ","px;\n }\n"]);return oo=function(){return e},e}let ol=es.ZP.div(s2(),(0,es.iv)(s1(),eh.margin.bp_01,ec._03,eh.margin.bp_03,eh.universal._32,ec._04,eh.margin.bp_04,ec._05,eh.margin.bp_05,eh.universal._44,ec._06,eh.margin.bp_06)),od=es.ZP.div(s5()),oc=es.ZP.div(s6()),ou=es.ZP.div(s4()),of=es.ZP.div(s3(),ec._03),o_=es.ZP.div(s7(),ec._03),oh=es.ZP.div(s9(),ec._03),om=es.ZP.div(s8(),ec._03),op=es.ZP.div(oe(),e=>{let{$isVisible:t}=e;return t?"1":"0"},e=>{let{$isVisible:t}=e;return t?"translateY(0)":"translateY(-15px)"}),og=es.ZP.div(ot(),e=>{let{$isVolumeHover:t}=e;return t?"opacity 333ms cubic-bezier(0.26, 1, 0.48, 1);":"opacity 500ms cubic-bezier(0.32, 0.94, 0.60, 1.00);"},e=>{let{$isVolumeHover:t}=e;return t?0:1}),ov=es.ZP.div(on()),ob=es.ZP.div(oi()),ox=es.ZP.div(oa()),oy=es.ZP.div(or()),ok=es.ZP.div(os(),ec._03),oC=es.ZP.div(oo(),e=>{let{$direction:t}=e;return"rtl"!==t?"\n align-items: end;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n ":"\n align-items: start;\n display: flex;\n flex-direction: column;\n "},eh.universal._20-8,ec._05,eh.universal._28-8);var oS=e=>{let{tabsObserver:t,logger:n,messageDispatcher:i,onClickedElementCallback:a,overlayId:r}=e,[s,o]=(0,ea.useState)(),l=(0,ea.useCallback)(e=>{let t=[];return e&&(null==e?void 0:e.length)>0&&(t=e.map((e,t)=>(0,et.jsx)(sw,{logger:n,messageDispatcher:i,onClickedElementCallback:a,overlayId:r,tabButton:e,dataTestId:"chips-expanded-data-testid-".concat(t)},e.id))),t},[n,i,a,r]);return((0,ea.useEffect)(()=>{let e=t.subscribe(e=>{o(e),null==n||n.d("DiscoveryTabs","sending message with topic topic_content_tab_list_updated and message ".concat(e)),null==i||i.sendMessage({topic:"topic_content_tab_list_updated",senderId:r,timestamp:new Date().getTime(),message:e})});return()=>{null==e||e.unsubscribe()}},[n,i,r,t]),s&&s.length>0)?(0,et.jsxs)(et.Fragment,{children:[(0,et.jsx)(oh,{children:l(s)}),(0,et.jsx)(o_,{children:(0,et.jsx)(sw,{tabButton:s[0],label:"Discover",logger:n,messageDispatcher:i,dataTestId:"chips-collapsed-data-testid"},"Collapsed-ID-key")})]}):null};function oE(){let e=(0,er._)(["\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n"]);return oE=function(){return e},e}function oT(){let e=(0,er._)(["\n position: absolute;\n width: 100%;\n height: 37%;\n top: 0;\n background: linear-gradient(\n 180deg,\n rgba(0, 0, 0, 0.65) 6.25%,\n rgba(0, 0, 0, 0.6445) 12.5%,\n rgba(0, 0, 0, 0.6289) 18.75%,\n rgba(0, 0, 0, 0.6042) 25%,\n rgba(0, 0, 0, 0.5716) 31.25%,\n rgba(0, 0, 0, 0.532) 37.5%,\n rgba(0, 0, 0, 0.4867) 43.75%,\n rgba(0, 0, 0, 0.4367) 50%,\n rgba(0, 0, 0, 0.3831) 56.25%,\n rgba(0, 0, 0, 0.3271) 62.5%,\n rgba(0, 0, 0, 0.2696) 68.75%,\n rgba(0, 0, 0, 0.2119) 75%,\n rgba(0, 0, 0, 0.155) 81.25%,\n rgba(0, 0, 0, 0.0999) 87.5%,\n rgba(0, 0, 0, 0.0479) 93.75%,\n rgba(0, 0, 0, 0) 100%\n );\n"]);return oT=function(){return e},e}function oP(){let e=(0,er._)(["\n background: linear-gradient(\n 180deg,\n rgba(0, 0, 0, 0) 6.25%,\n rgba(0, 0, 0, 0) 12.5%,\n rgba(0, 0, 0, 0) 18.75%,\n rgba(0, 0, 0, 0.05) 25%,\n rgba(0, 0, 0, 0.1) 31.25%,\n rgba(0, 0, 0, 0.15) 37.5%,\n rgba(0, 0, 0, 0.25) 43.75%,\n rgba(0, 0, 0, 0.3763) 50%,\n rgba(0, 0, 0, 0.4737) 56.25%,\n rgba(0, 0, 0, 0.5679) 62.5%,\n rgba(0, 0, 0, 0.653) 68.75%,\n rgba(0, 0, 0, 0.7247) 75%,\n rgba(0, 0, 0, 0.7806) 81.25%,\n rgba(0, 0, 0, 0.8198) 87.5%,\n rgba(0, 0, 0, 0.8426) 93.75%,\n rgba(0, 0, 0, 0.85) 100%\n );\n bottom: 0;\n height: 100%;\n pointer-events: none;\n position: absolute;\n width: 100%;\n"]);return oP=function(){return e},e}let ow=es.ZP.div(oE()),oA=es.ZP.div(oT()),oI=es.ZP.div(oP()),oM=e=>{let{onPlayPause:t}=e;return(0,et.jsxs)(ow,{"data-testid":"protection_layer",onClick:t,children:[(0,et.jsx)(oA,{}),(0,et.jsx)(oI,{})]})},oR=e=>{var t,n,i,a,r,s,o,l,d,c,u,f,_,h,m,p,g,v,b,x,y,k,C,S;let{controller:E,id:T,playerEvents:P,playerCallbacks:w,backHandler:A,alertToggleHandler:I,onClickedElementCallback:M,playerControlsOverlayConfig:R,overlayEvents:D,playerUserPreferences:N,epgContentMetadataUpdater:L,logger:j,messageDispatcher:O,overlayMessageReceived$:B,disableMultiviewOverlay:F,playerId:Z,direction:z="auto"}=e,[H,U]=(0,ea.useState)(!1),[V,$]=(0,ea.useState)(en.FO),[G,W]=(0,ea.useState)(!1),K=(0,ea.useRef)(!1),[q,Y]=(0,ea.useState)(!1),[X,J]=(0,ea.useState)(!1),[Q,ee]=(0,ea.useState)(!1),ei=iz(P),[er,es]=(0,ea.useState)(!1),[eo,el]=(0,ea.useState)(!1),ed=(0,ea.useRef)(0),[ec,eu]=(0,ea.useState)(!1),ef=(0,ea.useRef)(0),e_=(0,ea.useRef)([]),[eh,em]=(0,ea.useState)(void 0),[ep,eg]=(0,ea.useState)(void 0),{activeStreamInfo:ev,contentDurationMs:eb,contentMetadata:ex,playableExtras:ey,updateContentMetadata:ek,isComposite:eC}=(0,ea.useContext)(tx),eS=en.Yt.instance,[eE,eT]=(0,ea.useState)(!1),[eP,ew]=(0,ea.useState)(!1),[eA,eI]=(0,ea.useState)(!1),[eM,eR]=(0,ea.useState)(!0),[eD,eN]=(0,ea.useState)(!1),[eL,ej]=(0,ea.useState)(!1),[eO,eB]=(0,ea.useState)(!1),[eF,eZ]=(0,ea.useState)(!1),[ez,eH]=(0,ea.useState)(!1),[eU,eV]=(0,ea.useState)(!1),[e$,eG]=(0,ea.useState)(!1),[eW,eK]=(0,ea.useState)(!1),[eq,eY]=(0,ea.useState)(!1),[eX,eJ]=(0,ea.useState)(!1),[eQ,e0]=(0,ea.useState)(!1),[e1,e2]=(0,ea.useState)(!1),[e5,e6]=(0,ea.useState)(!1),[e4,e3]=(0,ea.useState)(!1),[e7,e9]=(0,ea.useState)(!1),[e8,te]=(0,ea.useState)(!1),[tt,tn]=(0,ea.useState)(!1),[ti,ta]=(0,ea.useState)(!1),[tr,ts]=(0,ea.useState)(!1),[to,tl]=(0,ea.useState)(!1),[td,tc]=(0,ea.useState)(!1),[tu,tf]=(0,ea.useState)(!1),t_=tP(ex),[th,tm]=(0,ea.useState)(tw(ex)),tp=(0,ea.useRef)(0),tg=(0,ea.useRef)(0),tv=(0,ea.useRef)(0),ty=(0,ea.useRef)(0),tk=(0,ea.useRef)(0),tC=(0,ea.useRef)(),tS=(0,ea.useRef)(1e4),tA=(0,ea.useRef)(!1),tI=(0,ea.useRef)(!1),[tM,tR]=(0,ea.useState)(""),tD=(0,ea.useRef)(!1),tN=(0,ea.useRef)(void 0),tL=(0,ea.useCallback)((e,t)=>{let n={};"inplayer-control"===e&&(n.targetText=t),ni.b.instance.event((0,en.Tk)(e,T,Z,n,tC.current)),M(e,t)},[T,M,Z]),tj=(0,ea.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e4;tE(null==ex?void 0:ex.initialStreamMode)&&es(ed.current-tg.current<=e)},[ex]);(0,ea.useEffect)(()=>{U(F||!(null!=eC&&eC))},[eC,F]),(0,ea.useEffect)(()=>{void 0!==ex&&tm(tw(ex))},[ex]),(0,ea.useEffect)(()=>{ec&&A.goBack("default")},[A,ec]),(0,ea.useEffect)(()=>{eR(!ei)},[ei]),(0,ea.useEffect)(()=>{let e=(null==ey?void 0:ey.transportControlsEnabled)===!1;tE(null==ev?void 0:ev.streamMode)&&(ew(!e),t_&&th&&t_>=th&&(e=!0,eR(!1))),eT(e)},[null==ev?void 0:ev.streamMode,th,t_,null==ey?void 0:ey.transportControlsEnabled]),(0,ea.useEffect)(()=>{var e,t;ta((null===(e=V.languageOverlayToggleConfig)||void 0===e?void 0:e.isVisible)!==!0&&(null===(t=V.closedCaptionsToggleConfig)||void 0===t?void 0:t.isVisible)===!0)},[null===(t=V.languageOverlayToggleConfig)||void 0===t?void 0:t.isVisible,null===(n=V.closedCaptionsToggleConfig)||void 0===n?void 0:n.isVisible]),(0,ea.useEffect)(()=>{var e,t;ts((null===(e=V.volumeSliderConfig)||void 0===e?void 0:e.isVisible)!==!0&&(null===(t=V.muteToggleConfig)||void 0===t?void 0:t.isVisible)===!0)},[null===(i=V.volumeSliderConfig)||void 0===i?void 0:i.isVisible,null===(a=V.muteToggleConfig)||void 0===a?void 0:a.isVisible]),(0,ea.useEffect)(()=>{var e;eB((null===(e=V.playPauseButtonConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(r=V.playPauseButtonConfig)||void 0===r?void 0:r.isVisible]),(0,ea.useEffect)(()=>{var e;eZ((null===(e=V.skipForwardBackwardButtonsConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(s=V.skipForwardBackwardButtonsConfig)||void 0===s?void 0:s.isVisible]),(0,ea.useEffect)(()=>{var e;eH((null===(e=V.protectionLayerConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(o=V.protectionLayerConfig)||void 0===o?void 0:o.isVisible]),(0,ea.useEffect)(()=>{var e;eV((null===(e=V.backButtonConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(l=V.backButtonConfig)||void 0===l?void 0:l.isVisible]),(0,ea.useEffect)(()=>{var e;eG((null===(e=V.ratingAndAdvisoriesButtonConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(d=V.ratingAndAdvisoriesButtonConfig)||void 0===d?void 0:d.isVisible]),(0,ea.useEffect)(()=>{var e;eK((null===(e=V.alertsToggleConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(c=V.alertsToggleConfig)||void 0===c?void 0:c.isVisible]),(0,ea.useEffect)(()=>{var e;eY((null===(e=V.alertsToggleConfig)||void 0===e?void 0:e.isToggledOn)===!0)},[null===(u=V.alertsToggleConfig)||void 0===u?void 0:u.isToggledOn]),(0,ea.useEffect)(()=>{var e;eJ((null===(e=V.castButtonConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(f=V.castButtonConfig)||void 0===f?void 0:f.isVisible]),(0,ea.useEffect)(()=>{var e;e0((null===(e=V.liveEdgeButtonConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(_=V.liveEdgeButtonConfig)||void 0===_?void 0:_.isVisible]),(0,ea.useEffect)(()=>{var e;e2((null===(e=V.streamModeBadgeConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(h=V.streamModeBadgeConfig)||void 0===h?void 0:h.isVisible]),(0,ea.useEffect)(()=>{var e;e6((null===(e=V.subtitleMetadataTextConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(m=V.subtitleMetadataTextConfig)||void 0===m?void 0:m.isVisible]),(0,ea.useEffect)(()=>{var e;e3((null===(e=V.titleMetadataTextConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(p=V.titleMetadataTextConfig)||void 0===p?void 0:p.isVisible]),(0,ea.useEffect)(()=>{var e;e9((null===(e=V.durationTextConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(g=V.durationTextConfig)||void 0===g?void 0:g.isVisible]),(0,ea.useEffect)(()=>{var e;te((null===(e=null==V?void 0:V.progressBarConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(v=V.progressBarConfig)||void 0===v?void 0:v.isVisible]),(0,ea.useEffect)(()=>{var e;tn((null===(e=V.playheadPositionTextConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(b=V.playheadPositionTextConfig)||void 0===b?void 0:b.isVisible]),(0,ea.useEffect)(()=>{var e;tl((null===(e=null==V?void 0:V.volumeSliderConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(x=null==V?void 0:V.volumeSliderConfig)||void 0===x?void 0:x.isVisible]),(0,ea.useEffect)(()=>{var e;tc((null===(e=V.languageOverlayToggleConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(y=V.languageOverlayToggleConfig)||void 0===y?void 0:y.isVisible]),(0,ea.useEffect)(()=>{var e;tf((null===(e=null==V?void 0:V.fullScreenToggleConfig)||void 0===e?void 0:e.isVisible)===!0)},[null===(k=null==V?void 0:V.fullScreenToggleConfig)||void 0===k?void 0:k.isVisible]),(0,ea.useEffect)(()=>{var e;let t=[];return t.push(P.playbackState$.subscribe(e=>{switch(e.playbackEventType){case"PlaybackInfoResolutionStartEvent":tD.current||(tR(""),tN.current=void 0);break;case"PlaybackInfoResolutionEndEvent":tD.current=!1}}),E.playbackSessionId$.subscribe(e=>{tC.current=e}),E.overlayVisible$.subscribe(e=>{ej(e)}),E.isPlaying$.subscribe(e=>{W(e)}),E.isSeeking$.subscribe(e=>{e||(ed.current-tg.current>1e4?tA.current=!0:(tA.current=!1,tI.current=!1),tS.current=1e4,tj(tS.current),Y(!1)),Y(e)}),D.overlayVisibilityChanged$.subscribe(e=>{e.id===en.Wb.id&&!0===e.visible?eN(!0):e.id===T&&!0===e.visible&&eN(!1)}),E.playerControlsOverlayConfig$.subscribe(e=>{$(e)})),E.playerControls.exitTimer&&t.push(null===(e=E.playerControls.exitTimer)||void 0===e?void 0:e.state$.pipe((0,na.h)(e=>"COMPLETED"===e)).subscribe(()=>A.goBack("default"))),()=>{t.forEach(e=>{e.unsubscribe()})}},[A,E,tj,T,D.overlayVisibilityChanged$,P.playbackState$]);let tO=(0,ea.useCallback)(()=>{eD&&w.requestVisibilityChange(en.Tj.id,!1)},[eD,w]),tB=(0,ea.useCallback)(()=>{if(R.wakeupTimeThresholdMs){let e=new Date().getTime();ef.current&&e-ef.current>=R.wakeupTimeThresholdMs&&eu(!0),ef.current=e}},[ef,R.wakeupTimeThresholdMs]);(0,ea.useEffect)(()=>{ti&&w.requestVisibilityChange(en.JH.id,!1)},[w,ti]),(0,ea.useEffect)(()=>{let e=[];return void 0===t_||void 0===th||eE||e.push(P.timelineUpdate$.subscribe(e=>{void 0!==e.timeline.contentStartTime&&void 0!==e.timeline.contentEndTime&&(ty.current=e.timeline.contentStartTime,tk.current=e.timeline.contentEndTime)})),e.push(P.playbackProgress$.subscribe(e=>{tp.current=e.playheadData.contentPlayheadMs,tg.current=e.playheadData.streamPlayheadMs,tE(null==ev?void 0:ev.streamMode)&&(e.playheadData.utcPlayheadMs&&(tv.current=e.playheadData.utcPlayheadMs),!K.current&&ed.current-tg.current>1e4&&(tI.current=!0,tS.current=1e4)),tB()})),()=>{e.forEach(e=>{e.unsubscribe()})}},[tB,P.playbackProgress$,t_,w,P.timelineUpdate$,q,th,null==ev?void 0:ev.streamMode,tj,eE]);let tF=(0,ea.useCallback)(e=>{null==ek||ek(e),em(void 0),eg(void 0)},[ek]);(0,ea.useEffect)(()=>{var e,t;let n;if(((null==ex?void 0:ex.initialStreamMode)===tb.Aw.CHANNEL||(null==ev?void 0:ev.streamMode)===tb.Aw.CHANNEL)&&void 0!==t_&&void 0!==th){let i=null==ex?void 0:ex.videoId;if(!(null===(t=null===(e=e_.current)||void 0===e?void 0:e.includes)||void 0===t?void 0:t.call(e,i))){let e=null==L?void 0:L.listenForNextContentMetadataUpdatePosition(null!=ep?ep:ex);n=null==e?void 0:e.subscribe(e=>{var t,a,r,s,o,l;let d=tT(null===(t=null==e?void 0:e.extras)||void 0===t?void 0:t.AIRING_END_TIME_MS),c=!1;if((null===(a=null==e?void 0:e.extras)||void 0===a?void 0:a.AIRING_ID)&&(null===(r=null==ex?void 0:ex.extras)||void 0===r?void 0:r.AIRING_ID)&&void 0!==d&&(c=e.extras.AIRING_ID===ex.extras.AIRING_ID&&d>th),c)tm(d),eg(e),null==O||O.sendMessage({topic:"content_metadata_updated",senderId:i,timestamp:new Date().getTime(),message:e});else{if((null!==(o=null===(s=null==e?void 0:e.extras)||void 0===s?void 0:s.PROGRAM_START_TIME_MS)&&void 0!==o?o:null===(l=null==e?void 0:e.extras)||void 0===l?void 0:l.AIRING_START_TIME_MS)&&th){let t=tP(e);t&&t>th&&tm(t)}e_.current.push(i),em(e)}null==n||n.unsubscribe()})}}return()=>{null==L||L.unlistenForNextContentMetadataUpdatePosition(),null==n||n.unsubscribe()}},[ex,ev,L,t_,th,P,O,ep]),(0,ea.useEffect)(()=>{var e,t,n;let i;if(((null==ex?void 0:ex.initialStreamMode)===tb.Aw.CHANNEL||(null==ev?void 0:ev.streamMode)===tb.Aw.CHANNEL)&&(null!==(t=null===(e=null==eh?void 0:eh.extras)||void 0===e?void 0:e.PROGRAM_START_TIME_MS)&&void 0!==t?t:null===(n=null==eh?void 0:eh.extras)||void 0===n?void 0:n.AIRING_START_TIME_MS)){null==L||L.unlistenForNextContentMetadataUpdatePosition(),null==L||L.initialize(P);let e=null==L?void 0:L.listenForNextProgramStart(eh);i=null==e?void 0:e.subscribe(e=>{var t,n,i,a;(null===(t=null==e?void 0:e.extras)||void 0===t?void 0:t.AIRING_END_TIME_MS)!==(null===(n=null==ex?void 0:ex.extras)||void 0===n?void 0:n.AIRING_END_TIME_MS)||(null===(i=null==e?void 0:e.extras)||void 0===i?void 0:i.PROGRAM_END_TIME_MS)!==(null===(a=null==ex?void 0:ex.extras)||void 0===a?void 0:a.PROGRAM_END_TIME_MS)?(tF(e),tm(tw(e)),null==O||O.sendMessage({topic:"content_metadata_updated",senderId:T,timestamp:new Date().getTime(),message:e})):(tm(void 0),em(void 0),eg(void 0))})}return()=>{null==L||L.unlistenForNextProgramStart(),null==i||i.unsubscribe()}},[ex,ev,eh,L,tF,P,O,T]),(0,ea.useEffect)(()=>{let e=P.timelineUpdate$.subscribe(e=>{let t=ed.current>0?e.timeline.endTime-ed.current:ed.current;ed.current=e.timeline.endTime;let n=ed.current-tg.current;n>tS.current&&K.current&&!tI.current&&!tA.current&&(tS.current=n),tj(tS.current+t)});return()=>e.unsubscribe()},[P.timelineUpdate$,tj]);let tZ=(0,ea.useRef)();(0,ea.useEffect)(()=>{let e=P.timelineUpdate$.subscribe(e=>{e.manifestType&&("Dynamic"===tZ.current&&"Static"===e.manifestType?el(!0):tZ.current=e.manifestType)});return()=>{e.unsubscribe()}},[P.timelineUpdate$]),(0,ea.useEffect)(()=>{let e=null==B?void 0:B.subscribe(async e=>{let{topic:t}=e;switch(t){case"topic_ra_button_visibility":eI(e.message);break;case"enable_player_controls_overlay":U(!0);break;case"enable_multiview_overlay":U(!1);break;case"topic_load_content_on_back_interaction":{let t=e.message;tD.current=!0,tR(t.backButtonText),tN.current=t.contentMetadata}}});return()=>{null==e||e.unsubscribe()}},[B]);let tz=(0,ea.useCallback)(()=>{w.requestSeek("LIVE_EDGE")},[w]),tH=(0,ea.useCallback)(()=>{!0!==eO||(G?eE||(tL("pause"),w.requestPause()):(tL("play"),w.requestPlay()))},[G,eE,tL,w,eO]),tU=(0,ea.useCallback)(e=>{let t;if(e)tL("skipForward"),w.requestSkip(1e4),t=eS.localizeWithParameters("Player.Controls.A11y.SkippedForward",{seconds:10});else{tL("skipBackward");let e=1e4;t_&&th&&tv.current-e{tN.current&&(tL("exitToMultiview"),w.requestLoad(tN.current,"LIVE_EDGE"),w.requestVisibilityChange(en.Tj.id,!1),U(!1))},[w,tL]),t$=(0,ea.useCallback)(e=>{tL("exit"),(0,en.K3)(eS.localize("Player.Controls.a11y.Action.Back"),en.Po.ASSERTIVE),A.goBack(e)},[A,eS,tL]),tG=(0,ea.useCallback)(e=>{J(e)},[]),tW=(0,ea.useCallback)(e=>{ee(e)},[]),tK=(0,ea.useCallback)(()=>{tL("showCCPannel"),w.requestVisibilityChange(en.JH.id,!0)},[tL,w]),tq=null===(C=null==ex?void 0:ex.extras)||void 0===C?void 0:C.AIRING_ID,tY=(null==ex?void 0:ex.videoId)||tq||(null==ex?void 0:ex.id),tX=null===(S=null==ex?void 0:ex.extras)||void 0===S?void 0:S.idType;return(0,et.jsxs)(sQ,{id:T,playerCallbacks:w,overlayVisible:H&&eL,overlayDisabled:!H,isContentDiscoveryOverlayVisible:eD,children:[ez&&(0,et.jsx)(oM,{onPlayPause:tH}),(0,et.jsxs)(ol,{children:[(0,et.jsxs)(od,{children:[eU&&void 0===tN.current?(0,et.jsx)(s$,{direction:z,onBack:t$}):(0,et.jsx)(sY,{direction:z,onBack:tV,text:tM}),(0,et.jsxs)(oc,{children:[e$&&!ei&&eA&&(0,et.jsx)(sM,{onClickedElementCallback:tL,messageDispatcher:O}),eW&&(0,et.jsx)(rk,{alertToggleHandler:I,eventAlertsOn:eq,onClickedElementCallback:tL,messageDispatcher:O}),eX&&tY&&(0,et.jsx)(rx,{playerEvents:P,videoId:tY,playerUserPreferences:N,isAiring:!!tq,contentIdType:tX})]})]}),(0,et.jsx)(ou,{children:(0,et.jsxs)(of,{dir:"ltr",children:[eF&&!ei&&!eE&&(0,et.jsx)(af,{isForward:!1,onSkip:tU,isCentered:!0,SkipForwardIcon:nj,SkipBackwardIcon:nL}),(!eE||!G)&&eO&&(0,et.jsx)(il,{isPlaying:G,onPlayPause:tH,isCentered:!0,PlayIcon:nD,PauseIcon:nN}),eF&&!ei&&!eE&&(0,et.jsx)(a_,{isForward:!0,onSkip:tU,isCentered:!0,SkipForwardIcon:nj,SkipBackwardIcon:nL,atLiveEdge:er})]})}),(0,et.jsxs)(op,{$isVisible:!eD,"data-testid":"control_footer",onTransitionEnd:tO,children:[eQ&&eP&&!ei&&!Q&&!eo&&(0,et.jsx)(rN,{onClickedElementCallback:tL,atLiveEdge:er,onGoLive:tz}),(0,et.jsxs)(og,{$isVolumeHover:Q,children:[(0,et.jsxs)(oC,{$direction:z,children:[!ei&&(0,et.jsx)(ro,{isScrubberHover:X,atLiveEdge:!eP||er,badgeVisible:e1,subtitleVisible:e5,titleVisible:e4}),eM&&e8&&e7&&(0,et.jsx)(r_,{playerEvents:P,contentDurationMs:eb,scheduledStartUtc:t_,isLiveFallback:tE(null==ev?void 0:ev.streamMode)&&(void 0===t_||void 0===th)})]}),(0,et.jsx)(ac,{isSeeking:q,onScrubberHover:tG,playerEvents:P,playerCallbacks:w,onClickedElementCallback:tL,isSeekDisabled:eE,scheduledStartUtc:t_,scheduledEndUtc:th,isLive:tE(null==ev?void 0:ev.streamMode),showRelativeTime:(null==ev?void 0:ev.streamMode)===tb.Aw.START_OVER||(null==ev?void 0:ev.streamMode)===tb.Aw.CHANNEL,playheadPositionVisible:tt,progressBarVisible:e8,useSeekableRange:!0})]}),(0,et.jsxs)(ov,{children:[(0,et.jsx)(ox,{children:void 0!==R.discoverableContentTabsObservable&&(0,et.jsx)(ob,{children:(0,et.jsx)(oS,{tabsObserver:R.discoverableContentTabsObservable,logger:j,playerCallbacks:w,messageDispatcher:O,onClickedElementCallback:tL,overlayId:T})})}),(0,et.jsx)(oy,{children:(0,et.jsxs)(om,{dir:"ltr",children:[eF&&!ei&&!eE&&(0,et.jsx)(af,{isForward:!1,onSkip:tU,isCentered:!1,SkipForwardIcon:nj,SkipBackwardIcon:nL}),(!eE||!G)&&eO&&(0,et.jsx)(il,{isPlaying:G,onPlayPause:tH,isCentered:!1,PlayIcon:nD,PauseIcon:nN}),eF&&!ei&&!eE&&(0,et.jsx)(a_,{isForward:!0,onSkip:tU,isCentered:!1,SkipForwardIcon:nj,SkipBackwardIcon:nL,atLiveEdge:er})]})}),(0,et.jsxs)(ok,{children:[to&&(0,et.jsx)(aN,{playerEvents:P,playerCallbacks:w,playerUserPreferences:N,onVolumeHover:tW,onClickedElementCallback:tL}),tr&&(0,et.jsx)(sI,{playerCallbacks:w,playerEvents:P,playerUserPreferences:N,onClickedElementCallback:tL}),td&&(0,et.jsx)(io,{onClick:tK}),ti&&(0,et.jsx)(sA,{playerEvents:P,playerCallbacks:w,onClickedElementCallback:tL}),tu&&(0,et.jsx)(is,{playerEvents:P,playerCallbacks:w,EnterFullscreenIcon:nO,ExitFullscreenIcon:nB,onClickedElementCallback:tL})]})]})]})]})]})};var oD=n(90643),oN=n(68444),oL=n(75343),oj=n(80039),oO=n(5765);class oB extends t2{initialize(e){"RUNNING"!==this.state$.value&&(this.timeout=e,this.remainingTime=e,this._transitionToState("NOT_STARTED"))}pause(){"UNINITIALIZED"!==this.state$.value&&"RUNNING"===this.state$.value&&this._transitionToState("PAUSED")}complete(){"UNINITIALIZED"!==this.state$.value&&(this._transitionToState("COMPLETED"),this.remainingTime=this.timeout)}reset(){"UNINITIALIZED"!==this.state$.value&&(this._transitionToState("STOPPED"),this.remainingTime=this.timeout)}resume(){"UNINITIALIZED"!==this.state$.value&&"RUNNING"!==this.state$.value&&(this._transitionToState("RUNNING"),this._setupIntervalSubscription())}_transitionToState(e){let t=this.state$.getValue();this._log("._transitionToState","Transitioning from state: ".concat(t," to state: ").concat(e)),t!==e&&this.state$.next(e)}_setupIntervalSubscription(){this._addSubscription("ticker",(0,oL.F)(1e3).pipe((0,na.h)(()=>"PAUSED"!==this.state$.getValue()),(0,oj.R)(this.state$.pipe((0,na.h)(e=>["STOPPED","COMPLETED"].includes(e)))),(0,oO.b)(()=>this.remainingTime=Math.max(0,this.remainingTime-1e3))).subscribe({next:()=>{this.tick$.next(this.remainingTime),this.remainingTime<=0&&this.complete()},complete:()=>{this._removeSubscription("ticker")}}))}constructor(e){super({...e,prefixColor:"\x1b[32m"}),this.timeout=0,this.remainingTime=0,this.state$=new tQ.X("UNINITIALIZED"),this.tick$=new t9.x,(null==e?void 0:e.timeout)!==void 0&&this.initialize(e.timeout)}}class oF extends t5{_updateState(e){let t=this._state$.getValue(),n={...t,...e};this._log("._updateState","Current State: ",t,"New State: ",n),this._state$.next(n)}get isPlaying$(){return this._state$.pipe((0,t4.U)(e=>e.isPlaying),(0,oN.x)())}get playbackSessionId$(){return this._playbackSessionId$.pipe((0,oN.x)())}get isSeeking$(){return this._state$.pipe((0,t4.U)(e=>e.isSeeking),(0,oN.x)())}get exitTimer(){return this._exitTimer}get playerControlsOverlayConfig$(){return this._playerElementConfig.pipe(((0,oD.O)(en.FO),(0,oN.x)()))}constructor(e){super(e),this._playbackSessionId$=new tQ.X(void 0),this._playerElementConfig=new tQ.X(en.FO),this._state$=new tQ.X({isPlaying:!1,isSeeking:!1}),e.playerControlsOverlayConfig.onPausedTimeoutMs&&(this._exitTimer=new oB(e),this._exitTimer.initialize(e.playerControlsOverlayConfig.onPausedTimeoutMs)),e.playerControlsOverlayConfig.elementConfigObservable&&this._addSubscription("elementConfigListener",e.playerControlsOverlayConfig.elementConfigObservable.subscribe(e=>{var t;null===(t=this._playerElementConfig)||void 0===t||t.next(e)})),this._addSubscription("playbackStateChange",e.playerEvents.playbackState$.subscribe(e=>{var t,n,i,a;switch(e.playbackEventType){case"PlayingEvent":this._updateState({isPlaying:!0}),null===(t=this._exitTimer)||void 0===t||t.reset();break;case"PausedEvent":this._updateState({isPlaying:!1}),null===(n=this._exitTimer)||void 0===n||n.resume();break;case"SeekStartEvent":this._updateState({isSeeking:!0});break;case"SeekEndEvent":this._updateState({isSeeking:!1}),null===(i=this._exitTimer)||void 0===i||i.reset();break;case"PlaybackInfoResolutionEndEvent":case"FirstFrameRenderEvent":this._playbackSessionId$.next(e.playbackSessionId);break;case"PlaybackSessionEndEvent":case"PlaybackSessionInvalidatedEvent":null===(a=this._exitTimer)||void 0===a||a.reset()}}))}}class oZ extends t3{get playerControls(){return this.adaptors.get("playerControls")}get playerControlsOverlayConfig$(){return this.playerControls.playerControlsOverlayConfig$}get isPlaying$(){return this.playerControls.isPlaying$}get playbackSessionId$(){return this.playerControls.playbackSessionId$}get isSeeking$(){return this.playerControls.isSeeking$}get overlayVisible$(){return this._overlayEvents.overlayEvent$.pipe((0,oD.O)(!1),(0,t4.U)(e=>"UserInteraction"===e),(0,oN.x)())}constructor(e){super(e),this.adaptors.set("playerControls",new oF(e)),this._overlayEvents=e.overlayEvents}}class oz{destroy(){this._controller.destroy()}constructor(e,t,n,i,a,r,s,o,l,d,c,u,f,_){this.id=en.Tj.id,this.zOrderIndex=en.Tj.zOrderIndex,this.policy=en.Tj.overlayPolicy,this.viewType="ReactElement",this.interestedMessageTopics=new Set(["topic_ra_button_visibility","enable_multiview_overlay","enable_player_controls_overlay","topic_load_content_on_back_interaction"]),this._overlayMessageReceived$=new t9.x,this.onMessageDispatched=e=>{this._overlayMessageReceived$.next(e)},this._controller=new oZ({playerEvents:e,overlayEvents:r,playerControlsOverlayConfig:a,logger:c});let h=nn.C.instance.getEpgContentMetadataUpdater(),m=!0;void 0!==f&&(m=f),this.view=(0,et.jsx)(oR,{controller:this._controller,id:en.Tj.id,playerEvents:e,playerCallbacks:t,backHandler:n,alertToggleHandler:u,onClickedElementCallback:i,overlayEvents:r,playerControlsOverlayConfig:a,upNextFetcher:l,playerUserPreferences:d,logger:c,messageDispatcher:o,epgContentMetadataUpdater:h,disableMultiviewOverlay:m,overlayMessageReceived$:this._overlayMessageReceived$,playerId:s,direction:_})}}class oH{create(e,t,n,i,a,r,s){return new oz(e,t,this._backHandler,this._onClickedElementCallback,this._playerControlsOverlayConfig,n,a,i,this._upNextFetcher,this._playerUserPreferences,r,this._alertsToggleHandler,this._disableMultiviewOverlay,s)}constructor(e,t,n,i,a,r,s){this._onClickedElementCallback=i||(()=>{}),this._backHandler=e,this._alertsToggleHandler=r,this._playerUserPreferences=t,this._playerControlsOverlayConfig=void 0!==a?{...a}:en.bI,void 0===this._playerControlsOverlayConfig.nextProgramMetadataQueryOffsetMs&&(this._playerControlsOverlayConfig.nextProgramMetadataQueryOffsetMs=en.bI.nextProgramMetadataQueryOffsetMs),void 0===this._playerControlsOverlayConfig.elementConfig&&(this._playerControlsOverlayConfig.elementConfig=en.FO),void 0!==s?this._disableMultiviewOverlay=s:this._disableMultiviewOverlay=!0,this._upNextFetcher=n}}let oU={BufferingStartEvent:{isBuffering:!0},BufferingEndEvent:{isBuffering:!1},PlaybackInfoResolutionStartEvent:{isReady:!1},PlaybackInfoResolutionEndEvent:{isReady:!1},FirstFrameRenderEvent:{isReady:!0},SeekStartEvent:{isSeeking:!0},SeekEndEvent:{isSeeking:!1}};class oV extends t5{get state$(){return this._isLoading$.pipe((0,oD.O)(!1),(0,oN.x)(),(0,t4.U)(e=>e?"SHOWING":"HIDDEN"))}_updateState(e){let t=this._state$.getValue(),n={...t,...oU[e]};this._log("._updateState","Event type: ",e,"Current State: ",t,"New State: ",n),this._state$.next(n)}get _isLoading$(){return this._loadingObservable$}constructor(e){super(e),this._state$=new tQ.X({isReady:!0,isSeeking:!1,isBuffering:!1}),this._loadingObservable$=this._state$.asObservable().pipe((0,t4.U)(e=>!e.isReady||e.isSeeking||e.isBuffering),(0,oN.x)());let{playerEvents:t}=e;this._addSubscription("playbackStateChange",t.playbackState$.pipe((0,na.h)(e=>{let{playbackEventType:t}=e;return void 0!==oU[t]})).subscribe(e=>{let{playbackEventType:t}=e;this._updateState(t)}))}}class o$ extends t3{get overlayVisible$(){return this.bufferingIndicator._isLoading$.pipe((0,t4.U)(e=>e))}get bufferingIndicator(){return this.adaptors.get("bufferingIndicator")}constructor(e){super(e),this.adaptors.set("bufferingIndicator",new oV(e))}}function oG(){let e=(0,er._)(["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n pointer-events: none;\n display: flex;\n"]);return oG=function(){return e},e}let oW=es.ZP.div(oG()),oK=e=>{let{id:t,callbacks:n,controller:i}=e,[a,r]=(0,ea.useState)(!1);(0,ea.useEffect)(()=>{let e=i.overlayVisible$.subscribe(e=>{e&&n.requestVisibilityChange("buffering",!0),r(e)});return()=>e.unsubscribe()},[n,i]);let s=(0,ea.useCallback)(()=>{n.requestVisibilityChange("buffering",!1)},[n]);return(0,et.jsx)(oW,{children:(0,et.jsx)(sy,{"data-testid":t,accessibilityLabel:en.Yt.instance.localize("Player.Controls.A11y.Buffering"),loading:a,onExitAnimationComplete:s})})};class oq{destroy(){this.view=(0,et.jsx)(et.Fragment,{}),this._controller.destroy()}constructor(e,t,n){this.id=en.p5.id,this.zOrderIndex=en.p5.zOrderIndex,this.policy=en.p5.overlayPolicy,this.viewType="ReactElement",this._controller=new o$({playerEvents:e,logger:n}),this.view=(0,et.jsx)(oK,{controller:this._controller,callbacks:t,id:en.p5.id})}}class oY{create(e,t,n,i,a,r){return new oq(e,t,r)}}class oX extends t5{get _currentAnnotation$(){return this._playerEvents.playbackProgress$.pipe((0,t4.U)(e=>{let{playheadData:t}=e;return this._findCurrentAnnotation(t.contentPlayheadMs)}),(0,oN.x)())}_transitionToState(e){let t=this.state$.getValue();this._log("._transitionToState","Transitioning from state: ".concat(t," to state: ").concat(e)),t!==e&&this.state$.next(e)}_reactToAnnotationChange(){this._addSubscription("annotationChangeHandler",this._currentAnnotation$.subscribe(e=>{this.annotation$.next(e),e?(this.timer.resume(),this._transitionToState("SHOWING")):"NOT_STARTED"!==this.timer.state$.getValue()&&(this.timer.complete(),this._transitionToState("COMPLETED"),this._transitionToState("READY"))}))}_findCurrentAnnotation(e){if(0!==e)for(let t of this.annotations){let{startMs:n,endMs:i}=t;if(!(e>=Math.trunc(i))&&!(e{let{id:t}=e;return t===this._playbackControlsOverlayId}),(0,t4.U)(e=>{let{visible:t}=e;return t}))}get skipControl(){return this.adaptors.get("skipControl")}get overlayVisible$(){return(0,iG.a)([this.skipControl.annotation$.pipe((0,t4.U)(e=>void 0!==e)),this.skipControl.timer.state$.pipe((0,t4.U)(e=>"COMPLETED"===e)),this._playbackControlsVisibleChanged$.pipe((0,oD.O)(!1))]).pipe((0,t4.U)(e=>{let[t,n,i]=e;return!(!t||n&&!i)}))}constructor(e){super(e),this._playbackControlsOverlayId="playback_controls",this._overlayEvents=e.overlayEvents,e.playbackControlsOverlayId&&(this._playbackControlsOverlayId=e.playbackControlsOverlayId),this.adaptors.set("skipControl",new oX(e))}}class oQ{destroy(){this.view=(0,et.jsx)(et.Fragment,{}),this._controller.destroy()}constructor(e,t,n,i,a,r,s){this.id=en.w7.id,this.zOrderIndex=en.w7.zOrderIndex,this.policy=en.w7.overlayPolicy,this.viewType="ReactElement",this._subscriptions=[],this._controller=new oJ({playerEvents:e,overlayEvents:n,playbackControlsOverlayId:"playback_controls",logger:a}),this.view=(0,et.jsx)(rD,{controller:this._controller,playerCallbacks:t,onClickedElementCallback:i,playerId:r,direction:null!=s?s:"auto"}),this._subscriptions.push(this._controller.overlayVisible$.subscribe(e=>{t.requestVisibilityChange(en.w7.id,e)}))}}class o0{create(e,t,n,i,a,r,s){return new oQ(e,t,n,this._onClickedElementCallback,r,a,s)}constructor(e){this._onClickedElementCallback=e||(()=>{})}}var o1=n(94068);(y=J||(J={}))[y.MAIN_CONTENT_PLAYBACK_START=0]="MAIN_CONTENT_PLAYBACK_START",y[y.MIDROLL_AD_BREAK_PLAYBACK_END=1]="MIDROLL_AD_BREAK_PLAYBACK_END";class o2 extends t5{get currentDisplay$(){return this._state$.pipe((0,t4.U)(e=>void 0!==e.pointer&&this._displayQueue?this._displayQueue[e.pointer]:""),(0,oD.O)(""))}_transitionToState(e){let t=this.state$.getValue();this._log("._transitionToState","Transitioning from state: ".concat(t," to state: ").concat(e)),t!==e&&this.state$.next(e)}initialize(e,t){this.reset(),"DISABLED"!==this.state$.getValue()&&0!==t.length&&(this._displayQueue=t,this._state$.next({pointer:0,inAd:!1}),this._reactToPlaybackProgress(e),this._reactToAds(),this._reactToTimer(),this._reactToPlaybackState(),this._transitionToState("READY"))}_reactToTimer(){this._addSubscription("timerHandler",this.timer.state$.subscribe(e=>{var t,n;if("COMPLETED"===e){let e=this._state$.getValue(),i=this._displayQueue.length-1<=(null!==(t=e.pointer)&&void 0!==t?t:0),a={...e};i?(a.pointer=void 0,this._state$.next(a),this._transitionToState("COMPLETED")):(a.pointer=(null!==(n=e.pointer)&&void 0!==n?n:0)+1,this._state$.next(a),this.timer.resume())}}))}_reactToAds(){this._addSubscription("adHandler",this.playerEvents.adRollEvent$.subscribe(e=>{let t={...this._state$.getValue()};"AdRollStart"===e.type&&(t.inAd=!0,this.midrollAdBreakPlaybackEnd&&"midroll"===e.adPod.position?(t.pointer=0,this._state$.next(t),this.timer.reset(),this._transitionToState("PAUSED")):"PLAYING"===this.state$.getValue()&&(this._state$.next(t),this.timer.pause(),this._transitionToState("PAUSED"))),"AdRollEnd"===e.type&&(t.inAd=!1,"PAUSED"===this.state$.getValue()&&(this._state$.next(t),("preroll"===e.adPod.position||"midroll"===e.adPod.position)&&(this.timer.resume(),this._transitionToState("PLAYING"))))}))}_reactToPlaybackProgress(e){this._addSubscription("progressTracker",this.playerEvents.playbackProgress$.pipe((0,t4.U)(t=>t.playheadData.contentPlayheadMs>=e+this.startTimeThreshold)).subscribe(e=>{if(e&&"READY"===this.state$.getValue()){let e={...this._state$.getValue(),pointer:0};this._state$.next(e),this.timer.resume(),this._transitionToState("PLAYING")}}))}reset(){"INITIALIZING"!==this.state$.getValue()&&"DISABLED"!==this.state$.getValue()&&(this.timer.reset(),this.timer.resume(),this._state$.next({pointer:0,inAd:!1}),this._transitionToState("PLAYING"))}_internalReset(){this.destroy(),this.timer.reset(),this._transitionToState("INITIALIZING")}_reactToPlaybackState(){this._addSubscription("playbackStateListener",this.playerEvents.playbackState$.subscribe(e=>{"PlayingEvent"===e.playbackEventType?"PLAYING"===this.state$.getValue()&&this.timer.resume():"PausedEvent"===e.playbackEventType?"PLAYING"===this.state$.getValue()&&this.timer.pause():"PlaybackSessionEndEvent"===e.playbackEventType&&this._internalReset()}))}constructor(e){var t,n,i,a,r;super(e),this.startTimeThreshold=16,this.ratingsAdvisoriesTimeoutMS=7e3,this.ratingsAdvisoriesAnimationBufferMS=333,this.ratingsAdvisoriesViewingThreshold=500,this._displayQueue=[],this._state$=new tQ.X({}),this.playerEvents=e.playerEvents;let s=null!==(n=null===(t=null==e?void 0:e.visibilityTriggers)||void 0===t?void 0:t.includes(J.MAIN_CONTENT_PLAYBACK_START))&&void 0!==n&&n;this.state$=new tQ.X(s?"INITIALIZING":"DISABLED");let o=(null!==(i=null==e?void 0:e.visibilityDurationMs)&&void 0!==i?i:this.ratingsAdvisoriesTimeoutMS)-this.ratingsAdvisoriesAnimationBufferMS;this.midrollAdBreakPlaybackEnd=null!==(r=null===(a=null==e?void 0:e.visibilityTriggers)||void 0===a?void 0:a.includes(J.MIDROLL_AD_BREAK_PLAYBACK_END))&&void 0!==r&&r,this.timer=new oB(e),this.timer.initialize(o)}}class o5 extends t3{get overlayVisible$(){return this.ratingsAdvisories.state$.pipe((0,t4.U)(e=>"PLAYING"===e))}get ratingsAdvisories(){return this.adaptors.get("ratingsAdvisories")}constructor(e){super(e),this.adaptors.set("ratingsAdvisories",new o2(e))}}var o6=n(25792);function o4(){let e=(0,er._)(["\nfrom {\n top: -2vh\n}\nto {\n opacity: 1;\n top: 0vh;\n}"]);return o4=function(){return e},e}function o3(){let e=(0,er._)(["\nfrom {\n opacity: 0;\n}\nto {\n opacity: 1;\n}"]);return o3=function(){return e},e}function o7(){let e=(0,er._)(["\nfrom {\n opacity: 0;\n}\nto {\n opacity: 1;\n}"]);return o7=function(){return e},e}function o9(){let e=(0,er._)(["\nfrom {\n opacity: 1;\n top: 0vh;\n}\nto {\n opacity: 0;\n top: -2vh;\n}\n"]);return o9=function(){return e},e}function o8(){let e=(0,er._)(["\n from {\n height: 0px;\n }\n to {\n height: 57px;\n }\n"]);return o8=function(){return e},e}function le(){let e=(0,er._)(["\n from {\n height: 57px;\n }\n to {\n height: 0px;\n }\n"]);return le=function(){return e},e}function lt(){let e=(0,er._)(["\n 100% {\n opacity: 1;\n left: 0px;\n }\n"]);return lt=function(){return e},e}function ln(){let e=(0,er._)(["\n 0% {\n opacity: 1;\n left: 0px;\n }\n 100% {\n opacity: 0;\n left: 8px;\n }\n"]);return ln=function(){return e},e}function li(){let e=(0,er._)(["\n position: absolute;\n top: 0;\n display: flex;\n flex-direction: column;\n justify-content: center;\n height: 42px;\n\n "," {\n margin-left: ","px;\n margin-top: ","px;\n }\n "," {\n margin-left: ","px;\n }\n "," {\n margin-left: ","px;\n }\n "," {\n margin-left: ","px;\n margin-top: ","px;\n }\n "," {\n margin-left: ","px;\n }\n"]);return li=function(){return e},e}function la(){let e=(0,er._)(["\n opacity: 0;\n animation-fill-mode: forwards;\n position: relative;\n animation-timing-function: cubic-bezier(0, 0, 0.34, 1);\n animation-duration: 300ms;\n animation-name: ",";\n"]);return la=function(){return e},e}function lr(){let e=(0,er._)(["\n color: ",";\n"]);return lr=function(){return e},e}function ls(){let e=(0,er._)(["\n ","\n color: ",";\n"]);return ls=function(){return e},e}function lo(){let e=(0,er._)(["\n ","\n opacity: 0;\n position: relative;\n animation-fill-mode: forwards;\n animation-timing-function: cubic-bezier(0, 0, 0.34, 1);\n animation-duration: 300ms;\n animation-delay: ","ms;\n animation-name: ",";\n color: ",";\n"]);return lo=function(){return e},e}function ll(){let e=(0,er._)(["\n pointer-events: none;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: ",";\n background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 11.29%, rgba(0, 0, 0, 0) 100%);\n\n animation-timing-function: ",";\n\n animation-duration: ",";\n animation-name: ",";\n opacity: ",";\n"]);return ll=function(){return e},e}function ld(){let e=(0,er._)(["\n position: absolute;\n top: 0;\n display: flex;\n flex-direction: row;\n align-items: center;\n height: 57px;\n\n "," {\n margin-",": ","px;\n margin-top: ","px;\n }\n "," {\n margin-",": ","px;\n }\n "," {\n margin-",": ","px;\n }\n "," {\n margin-",": ","px;\n margin-top: ","px;\n }\n "," {\n margin-",": ","px;\n }\n"]);return ld=function(){return e},e}function lc(){let e=(0,er._)(["\n position: relative;\n width: 1px;\n background-color: ",";\n animation-fill-mode: both;\n animation-delay: 100ms;\n animation-duration: 300ms;\n animation-timing-function: cubic-bezier(0.66, 0, 0.34, 1);\n animation-name: ",";\n"]);return lc=function(){return e},e}function lu(){let e=(0,er._)(["\n margin-right: ","px;\n margin-left: ","px;\n"]);return lu=function(){return e},e}function lf(){let e=(0,er._)(["\n opacity: 0;\n left: ","px;\n animation-fill-mode: forwards;\n position: relative;\n animation-timing-function: ",";\n animation-duration: 300ms;\n animation-name: ",";\n animation-delay: ","ms;\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n"]);return lf=function(){return e},e}function l_(){let e=(0,er._)(["\n height: auto;\n "," {\n width: 35px;\n }\n "," {\n width: 40px;\n }\n"]);return l_=function(){return e},e}function lh(){let e=(0,er._)(["\n ","\n color: ",";\n word-wrap: break-word;\n width: 25px;\n "," {\n width: 28px;\n }\n"]);return lh=function(){return e},e}function lm(){let e=(0,er._)(["\n height: auto;\n\n "," {\n width: 35px;\n }\n "," {\n width: 40px;\n }\n"]);return lm=function(){return e},e}function lp(){let e=(0,er._)(["\n ","\n opacity: 0;\n left: ","px;\n font-weight: 400;\n font-size: 14px;\n line-height: 150%;\n position: relative;\n animation-fill-mode: forwards;\n animation-timing-function: ",";\n animation-duration: 300ms;\n animation-delay: ","ms;\n animation-name: ",";\n color: ",";\n display: flex;\n align-items: center;\n"]);return lp=function(){return e},e}function lg(){let e=(0,er._)(["\n position: absolute;\n top: 0;\n display: flex;\n flex-direction: column;\n padding-left: initial;\n padding-inline-start: 0;\n\n "," {\n margin-",": ","px;\n margin-top: ","px;\n }\n "," {\n margin-",": ","px;\n }\n "," {\n margin-",": ","px;\n }\n "," {\n margin-",": ","px;\n margin-top: ","px;\n }\n "," {\n margin-",": ","px;\n }\n"]);return lg=function(){return e},e}function lv(){let e=(0,er._)(["\n list-style: none;\n padding-bottom: 8px;\n"]);return lv=function(){return e},e}function lb(){let e=(0,er._)(["\n display: flex;\n flex-direction: row;\n align-items: center;\n height: 57px;\n"]);return lb=function(){return e},e}(k=Q||(Q={}))[k.MAIN_CONTENT_PLAYBACK_START=0]="MAIN_CONTENT_PLAYBACK_START",k[k.MIDROLL_AD_BREAK_PLAYBACK_END=1]="MIDROLL_AD_BREAK_PLAYBACK_END",k[k.PLAYER_CONTROLS_ACTION=2]="PLAYER_CONTROLS_ACTION";let lx=(0,es.F4)(o4()),ly=(0,es.F4)(o3()),lk=(0,es.F4)(o7()),lC=(0,es.F4)(o9()),lS=(0,es.F4)(o8()),lE=(0,es.F4)(le()),lT=(0,es.F4)(lt()),lP=(0,es.F4)(ln()),lw=es.ZP.div(li(),ec._02,eh.margin.bp_01+48,eh.universal._40+1,ec._03,eh.margin.bp_03+48,ec._04,eh.margin.bp_04+48,ec._05,eh.margin.bp_05+48,eh.universal._48+3,ec._06,eh.margin.bp_06+48),lA=es.ZP.div(la(),e=>e.$animateIn?lx:lC),lI=es.ZP.span(lr(),eu.foreground.onbase.text_02),lM=es.ZP.span(ls(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_01),lR=es.ZP.span(lo(),e=>{let{$styleOverride:t}=e;return tC(t)},e=>e.$animateIn?50:0,e=>e.$animateIn?lx:lC,eu.foreground.onbase.text_02),lD=es.ZP.div(ll(),e=>e.$isFallback?"258px":"300px",e=>e.$showProtection?e.$isFallback?"cubic-bezier(0.25, 1, 0.5, 1)":"cubic-bezier(0, 0, 0.34, 1)":e.$isFallback?"cubic-bezier(0.25, 1, 0.5, 1)":"cubic-bezier(0.3, 0, 0.8, 0.15)",e=>e.$isFallback?"333ms":"600ms",e=>e.$showProtection?ly:lk,e=>e.$showProtection?1:0),lN=es.ZP.div(ld(),ec._02,e=>{let{$direction:t}=e;return"rtl"===t?"right":"left"},eh.margin.bp_01+48,eh.universal._32-2,ec._03,e=>{let{$direction:t}=e;return"rtl"===t?"right":"left"},eh.margin.bp_03+48,ec._04,e=>{let{$direction:t}=e;return"rtl"===t?"right":"left"},eh.margin.bp_04+48,ec._05,e=>{let{$direction:t}=e;return"rtl"===t?"right":"left"},eh.margin.bp_05+48,eh.universal._44-2,ec._06,e=>{let{$direction:t}=e;return"rtl"===t?"right":"left"},eh.margin.bp_06+48),lL=es.ZP.div(lc(),eu.stroke.onbase.outline_03,e=>e.$animateIn?lS:lE),lj=es.ZP.div(lu(),e=>e.$marginRight,e=>e.$marginLeft),lO=es.ZP.div(lf(),e=>e.$animateIn?-8:0,e=>e.$animateIn?"cubic-bezier(0, 0, 0.34, 1)":"cubic-bezier(0.3, 0, 0.8, 0.15)",e=>e.$animateIn?lT:lP,e=>e.$animateIn?300:0),lB=es.ZP.img(l_(),ec._02,ec._05),lF=es.ZP.span(lh(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_01,ec._05),lZ=es.ZP.img(lm(),ec._02,ec._05),lz=es.ZP.span(lp(),e=>{let{$styleOverride:t}=e;return tC(t)},e=>e.$animateIn?-8:0,e=>e.$animateIn?"cubic-bezier(0, 0, 0.34, 1)":"cubic-bezier(0.3, 0, 0.8, 0.15)",e=>e.$animateIn?400:0,e=>e.$animateIn?lT:lP,eu.foreground.onbase.text_02),lH=es.ZP.ul(lg(),ec._02,e=>{let{$direction:t}=e;return"rtl"===t?"right":"left"},eh.margin.bp_01+48,eh.universal._32-2,ec._03,e=>{let{$direction:t}=e;return"rtl"===t?"right":"left"},eh.margin.bp_03+48,ec._04,e=>{let{$direction:t}=e;return"rtl"===t?"right":"left"},eh.margin.bp_04+48,ec._05,e=>{let{$direction:t}=e;return"rtl"===t?"right":"left"},eh.margin.bp_05+48,eh.universal._44-2,ec._06,e=>{let{$direction:t}=e;return"rtl"===t?"right":"left"},eh.margin.bp_06+48),lU=es.ZP.li(lv()),lV=es.ZP.div(lb());function l$(e){let{ratings:t,advisories:n,overlayVisible:i}=e,a=tv(),r=en.Yt.instance;return!0===i&&"string"==typeof t&&""!==t&&(0,en.K3)("".concat(t," ").concat(null!=n?n:"")),(0,et.jsxs)(lw,{children:[function(){if("string"==typeof t&&""!==t)return(0,et.jsxs)(lA,{$animateIn:i,children:[(0,et.jsx)(lI,{"data-testid":"player-ux-ratings-label",$styleOverride:a.getRatingsAndAdvisoriesTextStyle(),children:r.localize("Player.RatingsAndAdvisories.RatingTitle")}),(0,et.jsxs)(lM,{"data-testid":"player-ux-ratings",$styleOverride:a.getRatingsAndAdvisoriesTextStyle(),children:[" | ",r.localizeWithParameters("Player.RatingsAndAdvisories.RatingsText",{ratings:t})]})]})}(),function(){if("string"==typeof n&&""!==n)return(0,et.jsx)(lR,{"data-testid":"player-ux-advisories",$animateIn:i,$styleOverride:a.getRatingsAndAdvisoriesTextStyle(),children:r.localizeWithParameters("Player.RatingsAndAdvisories.AdvisoriesText",{advisories:n})})}()]})}function lG(e){let t=tv(),{disclosure:n,localizer:i,overlayVisible:a}=e,r=!!n.imageUrl;return(0,et.jsx)(lU,{children:(0,et.jsxs)(lV,{children:[(0,et.jsx)(lL,{$animateIn:a}),(0,et.jsx)(lj,{children:(0,et.jsx)(lO,{$animateIn:a,children:r&&(0,et.jsx)(lB,{"data-testid":"player-ux-disclosures-icon",src:n.imageUrl,alt:n.description,"aria-label":n.description},n.description)})}),(0,et.jsx)(lz,{$styleOverride:t.getRatingsAndAdvisoriesTextStyle(),"data-testid":"player-ux-disclosures-description",$animateIn:a,children:i.localizeWithParameters("Player.RatingsAndAdvisories.AdvisoriesText",{advisories:(null==n?void 0:n.description)||""})})]})})}function lW(e){let{ratings:t,descriptors:n,disclosures:i,overlayVisible:a,direction:r="auto",controller:s}=e,o=tv(),[l,d]=(0,ea.useState)(""),c=en.Yt.instance,u=null==t?void 0:t.some(e=>e.label||e.imageUrl),f=null==n?void 0:n.some(e=>e.label||e.imageUrl),_=null==i?void 0:i.some(e=>e.description||e.imageUrl);(0,ea.useEffect)(()=>{let e=s.ratingsAdvisories.currentDisplay$.subscribe(d);return()=>{e.unsubscribe()}},[s.ratingsAdvisories.currentDisplay$]);let h=null==t?void 0:t.some(e=>e.imageUrl),m=null==n?void 0:n.some(e=>e.imageUrl),p=(0,ea.useCallback)(()=>{var e;let a=[];if("PRIMARY"===l){for(let e of null!=t?t:[])a.push(e.label);for(let e of null!=n?n:[])a.push(e.label)}if("DISCLOSURES"===l)for(let t of null!=i?i:[])a.push(null!==(e=t.accessibilityMessage)&&void 0!==e?e:t.description);return a},[l,n,i,t]);return""!==l&&(0,en.K3)(p().join(c.localize("Player.A11y.Separator"))),(0,et.jsxs)(et.Fragment,{children:["PRIMARY"===l&&(0,et.jsxs)(lN,{$direction:r,children:[(u||f)&&(0,et.jsx)(lL,{$animateIn:a}),(0,et.jsx)(lj,{$marginLeft:eh.universal._12,$marginRight:m?0:eh.universal._08,children:u&&(0,et.jsx)(lO,{$animateIn:a,children:h?null==t?void 0:t.map(e=>(0,et.jsx)(lB,{src:e.imageUrl,alt:e.label,"aria-label":e.label},e.label)):(0,et.jsx)(lF,{"data-testid":"player-ux-ratings",$styleOverride:o.getRatingsAndAdvisoriesTextStyle(),children:c.localizeWithParameters("Player.RatingsAndAdvisories.RatingsText",{ratings:null==t?void 0:t.map(e=>e.label).join(c.localize("Player.A11y.Separator"))})})})}),f&&(0,et.jsx)(lz,{"data-testid":"player-ux-advisories",$animateIn:a,$styleOverride:o.getRatingsAndAdvisoriesTextStyle(),children:m?null==n?void 0:n.map(e=>(0,et.jsx)(lZ,{src:e.imageUrl,alt:e.label,"aria-label":e.label},e.label)):c.localizeWithParameters("Player.RatingsAndAdvisories.AdvisoriesText",{advisories:null==n?void 0:n.map(e=>e.label).join(c.localize("Player.A11y.Separator"))})})]}),_&&"DISCLOSURES"===l&&(0,et.jsx)(lH,{$direction:r,children:null==i?void 0:i.map(e=>(0,et.jsx)(lG,{disclosure:e,localizer:c,overlayVisible:a},e.description))})]})}let lK=e=>{var t,n,i,a,r,s;let{controller:o,overlayEvents:l,ratingsAndAdvisoriesOverlayConfig:d,logger:c,messageDispatcher:u,direction:f}=e,_=null===(t=null==d?void 0:d.visibilityTriggers)||void 0===t?void 0:t.some(e=>e===Q.PLAYER_CONTROLS_ACTION),[h,m]=(0,ea.useState)(!1),[p,g]=(0,ea.useState)(!0),[v,b]=(0,ea.useState)(void 0),[x,y]=(0,ea.useState)(),[k,C]=(0,ea.useState)(),[S,E]=(0,ea.useState)();(0,ea.useEffect)(()=>{let e=o.overlayVisible$.subscribe(m);return()=>e.unsubscribe()},[o.overlayVisible$]),(0,ea.useEffect)(()=>{let e=l.overlayVisibilityChanged$.pipe((0,na.h)(e=>e.id===en.Tj.id),(0,t4.U)(e=>!e.visible)).subscribe(g);return()=>e.unsubscribe()},[l.overlayVisibilityChanged$]);let T=en.Yt.instance,{activeStreamInfo:P,contentMetadata:w}=(0,ea.useContext)(tx),A=null===(i=null===(n=null==w?void 0:w.ratingsAdvisories)||void 0===n?void 0:n.ratings)||void 0===i?void 0:i.displayString,I=null===(r=null===(a=null==w?void 0:w.ratingsAdvisories)||void 0===a?void 0:a.advisories)||void 0===r?void 0:r.map(e=>e.name).join(T.localize("Player.A11y.Separator")),M=P?null===(s=(0,o6.I9)(P))||void 0===s?void 0:s.startMs:void 0;return(0,ea.useEffect)(()=>{async function e(){var e;let t=await (null===(e=null==d?void 0:d.ratingsAndAdvisoriesMetadataProvider)||void 0===e?void 0:e.getRatingsAndAdvisoriesMetadata(null==w?void 0:w.id));if(t){let e=[],{ratings:n,descriptors:i,disclosures:a}=t;y(n),C(i),E(a),void 0!==n&&e.push("PRIMARY"),void 0!==a&&e.push("DISCLOSURES"),void 0!==M&&"INITIALIZING"===o.ratingsAdvisories.state$.getValue()&&(o.ratingsAdvisories.initialize(M,0===e.length?["FALLBACK"]:e),b(0===e.length))}}(null==d?void 0:d.ratingsAndAdvisoriesMetadataProvider)?e().catch(e=>{null==c||c.e("Error in fetchRatingsAndAdvisoriesData ",e),void 0!==M&&"INITIALIZING"===o.ratingsAdvisories.state$.getValue()&&(o.ratingsAdvisories.initialize(M,["FALLBACK"]),b(!0))}):void 0!==M&&"INITIALIZING"===o.ratingsAdvisories.state$.getValue()&&(o.ratingsAdvisories.initialize(M,["FALLBACK"]),b(!0))},[w,o.ratingsAdvisories,c,M,d]),(0,ea.useEffect)(()=>{let e=null==x?void 0:x.some(e=>e.label||e.imageUrl),t=null==k?void 0:k.some(e=>e.label||e.imageUrl),n=null==S?void 0:S.some(e=>e.description||e.imageUrl);return _&&(e||t||n)&&(null==u||u.sendMessage({topic:"topic_ra_button_visibility",senderId:en.mC.id,timestamp:new Date().getTime(),message:!0})),()=>{null==u||u.sendMessage({topic:"topic_ra_button_visibility",senderId:en.mC.id,timestamp:new Date().getTime(),message:!1})}},[u,x,k,S,_]),(0,et.jsxs)(et.Fragment,{children:[void 0!==v&&(0,et.jsx)(lD,{$showProtection:p,$isFallback:v}),!0===v&&(0,et.jsx)(l$,{ratings:A,advisories:I,overlayVisible:h}),!1===v&&(0,et.jsx)(lW,{ratings:x,descriptors:k,disclosures:S,overlayVisible:h,controller:o,direction:f})]})};class lq{destroy(){this.view=(0,et.jsx)(et.Fragment,{}),this._controller.destroy(),this._subscriptions.forEach(e=>e.unsubscribe())}constructor(e,t,n,i,a,r,s){this.id=en.mC.id,this.zOrderIndex=en.mC.zOrderIndex,this.policy=en.mC.overlayPolicy,this.viewType="ReactElement",this.interestedMessageTopics=new Set,this._overlayMessageReceived$=new t9.x,this._subscriptions=[],this.onMessageDispatched=e=>{this._overlayMessageReceived$.next(e)},this.interestedMessageTopics.add("topic_ra_button_actioned"),this._controller=new o5({playerEvents:e,visibilityTriggers:null==i?void 0:i.visibilityTriggers,visibilityDurationMs:null==i?void 0:i.visibilityDurationMs,logger:a}),this.view=(0,et.jsx)(lK,{controller:this._controller,overlayEvents:n,ratingsAndAdvisoriesOverlayConfig:i,messageDispatcher:r,logger:a,direction:null!=s?s:"auto"}),this._subscriptions.push(this._controller.overlayVisible$.pipe((0,o1.g)(333)).subscribe(e=>{t.requestVisibilityChange(en.mC.id,e)})),this._subscriptions.push(this._overlayMessageReceived$.pipe((0,na.h)(e=>{let{topic:t}=e;return"topic_ra_button_actioned"===t}),(0,o1.g)(333)).subscribe(()=>{t.requestVisibilityChange(en.mC.id,!0),this._controller.ratingsAdvisories.reset()}))}}class lY{create(e,t,n,i,a,r,s){return new lq(e,t,n,this._overlayConfiguration,r,i,s)}constructor(e,t){var n,i;e&&(e.visibilityTriggers=null!==(n=e.visibilityTriggers)&&void 0!==n?n:[Q.MAIN_CONTENT_PLAYBACK_START],e.visibilityDurationMs=null!==(i=e.visibilityDurationMs)&&void 0!==i?i:5e3),this._overlayConfiguration=e}}function lX(){let e=(0,er._)(["\n display: flex;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n\n background: rgba(0, 0, 0, 0.7);\n ",";\n"]);return lX=function(){return e},e}function lJ(){let e=(0,er._)(["\n display: flex;\n flex: 1;\n flex-direction: column;\n flex-wrap: nowrap;\n align-items: flex-end;\n justify-content: flex-end;\n\n margin: ","px;\n "," {\n margin: ","px;\n margin: ","px;\n }\n"]);return lJ=function(){return e},e}function lQ(){let e=(0,er._)(["\n display: flex;\n flex: 0;\n justify-content: flex-end;\n width: 100%;\n\n position: relative;\n ","\n"]);return lQ=function(){return e},e}function l0(){let e=(0,er._)(["\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n min-height: 0px;\n\n width: 100%;\n "," {\n max-width: 700px;\n }\n"]);return l0=function(){return e},e}function l1(){let e=(0,er._)(["\n ","\n color: ",";\n background-color: ",";\n padding: ","px ","px;\n border-radius: ","px;\n"]);return l1=function(){return e},e}function l2(){let e=(0,er._)(["\n ","\n color: ",";\n background-color: ",";\n padding: ","px ","px;\n border-radius: ","px;\n cursor: pointer;\n"]);return l2=function(){return e},e}let l5=es.ZP.div(lX(),e=>{let{$direction:t}=e;return"rtl"===t?"\n ".concat(ec._05," {\n background: linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.2) 119.26%);\n }\n "):"\n ".concat(ec._05," {\n background: linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.2) 119.26%);\n }\n ")}),l6=es.ZP.div(lJ(),eh.margin.bp_03,ec._05,eh.margin.bp_05,2*eh.margin.bp_05),l4=es.ZP.div(lQ(),e=>{let{$direction:t}=e;return"rtl"===t?"\n right: 24px;\n ":"\n left: 24px;\n "}),l3=es.ZP.div(l0(),ec._05),l7=es.ZP.p(l1(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_notify_message,eu.fill.notify_message,eh.universal._12,eh.universal._16,4),l9=es.ZP.button(l2(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_notify_message,eu.fill.notify_message,eh.universal._12,eh.universal._16,4);var l8=n(79808);function de(){let e=(0,er._)(["\n width: 50%;\n display: flex;\n flex-direction: column;\n\n "," {\n mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);\n }\n"]);return de=function(){return e},e}function dt(){let e=(0,er._)(["\n ","\n margin: 0px;\n padding: 0px 0px ","px 0px;\n border-bottom: 1px solid ",";\n\n color: ",";\n"]);return dt=function(){return e},e}function dn(){let e=(0,er._)(["\n list-style-type: none;\n margin: ","px ","px ","px 0px;\n padding: 0px;\n overflow-y: auto;\n\n &::-webkit-scrollbar {\n width: 6px;\n }\n\n &::-webkit-scrollbar-track {\n border-radius: 12px;\n background-color: ",";\n }\n\n &::-webkit-scrollbar-thumb {\n border-radius: 12px;\n background-color: ",";\n }\n }\n"]);return dn=function(){return e},e}function di(){let e=(0,er._)(["\n margin: 2px;\n"]);return di=function(){return e},e}function da(){let e=(0,er._)(["\n all: unset;\n display: flex;\n flex-direction: row;\n align-items: center;\n width: 100%;\n padding: ","px 0px;\n cursor: pointer;\n\n &:focus-visible {\n border: none;\n outline: none;\n border-radius: 4px;\n box-shadow: 0 0 0 2px ",";\n }\n"]);return da=function(){return e},e}function dr(){let e=(0,er._)(["\n margin: 0px 6px;\n width: 18px;\n height: 18px;\n\n ",";\n"]);return dr=function(){return e},e}function ds(){let e=(0,er._)(["\n ","\n margin: 0px;\n\n color: ",";\n ",";\n"]);return ds=function(){return e},e}let dl=es.ZP.div(de(),ec._05),dd=es.ZP.span(dt(),e=>{let{$styleOverride:t}=e;return tC(t)},eh.universal._16,eu.stroke.onbase.outline_03,eu.foreground.onbase.text_01),dc=es.ZP.ul(dn(),eh.universal._16,eh.universal._12,eh.universal._16,eu.stroke.onbase.outline_03,eu.stroke.onbase.outline_01),du=es.ZP.li(di()),df=es.ZP.button(da(),eh.universal._12,eu.keyboard.focus_base),d_=(0,es.ZP)(e=>{let{...t}=e;return(0,et.jsx)(nR,{as:nl,...t,$stroke:"none"})})(dr(),e=>{let{$isSelected:t}=e;return!t&&"opacity: 0"}),dh=es.ZP.p(ds(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_01,e=>{let{$isSelected:t}=e;return t&&"font-weight: 500"});function dm(e){let t=tv(),{availableAudioTracks:n,menuContainerId:i="",selectAudioTrack:a,selectedAudioTrack:r}=e,s=en.Yt.instance;return(0,et.jsxs)(dl,{children:[(0,et.jsx)(dd,{id:"audio-tracks-heading",role:"heading","aria-level":1,"data-testid":"player-ux-audio-tracks-header",$styleOverride:t.getTrackSelectionHeadingTextStyle(),children:s.localize("Player.Mlp.AudioTitle")}),(0,et.jsx)(dc,{"aria-labelledby":"audio-tracks-heading",role:"radiogroup",children:n.map(e=>{var t,n,s,o,l;return(0,et.jsx)(du,{children:(0,et.jsx)(dp,{handleClick:a,menuContainerId:i,selected:e.language===(null==r?void 0:r.language)&&e.role===(null==r?void 0:r.role)&&(null===(s=null===(n=e.additionalProperties)||void 0===n?void 0:n.get)||void 0===s?void 0:s.call(n,l8.M.PIR_TRACK_ADDITIONAL_PROPERTIES_TAG_KEY))===(null===(l=null===(o=null==r?void 0:r.additionalProperties)||void 0===o?void 0:o.get)||void 0===l?void 0:l.call(o,l8.M.PIR_TRACK_ADDITIONAL_PROPERTIES_TAG_KEY)),track:e})},null!==(t=null==e?void 0:e.displayName)&&void 0!==t?t:"")})})]})}function dp(e){let t;let n=tv(),{handleClick:i,menuContainerId:a="",selected:r,track:s}=e,o=(0,ea.useCallback)(()=>{r||i(s)},[i,r,s]),l=(0,ea.useCallback)(e=>{o(),e.stopPropagation()},[o]),d=document.getElementById(a),c=tM(o,null!=d?d:void 0);return t=s.displayName?s.displayName:"".concat(s.language," - ").concat(s.role),(0,et.jsxs)(df,{"data-testid":"player-ux-audio-track-button",onClick:l,onKeyDown:c,"aria-label":t,"aria-checked":r,role:"radio",children:[(0,et.jsx)(d_,{$isSelected:r,"data-testid":"player-ux-audio-track-check-".concat(s.language,"-").concat(s.role)}),(0,et.jsx)(dh,{$styleOverride:n.getTrackSelectionOptionTextStyle(),$isSelected:r,children:t})]})}function dg(e){let{availableTextTracks:t,menuContainerId:n="",selectTextTrack:i,selectedTextTrack:a}=e,r=en.Yt.instance,[s,o]=(0,ea.useState)([]),l=tv();return(0,ea.useEffect)(()=>{o([void 0,...t])},[t]),(0,et.jsxs)(dl,{children:[(0,et.jsx)(dd,{id:"text-tracks-heading",role:"heading","aria-level":1,"data-testid":"player-ux-text-tracks-header",$styleOverride:l.getTrackSelectionHeadingTextStyle(),children:r.localize("Player.Mlp.SubtitleTitle")}),(0,et.jsx)(dc,{"aria-labelledby":"text-tracks-heading",role:"radiogroup",children:s.map(e=>{var t,r,s,o,d;return(0,et.jsx)(du,{children:(0,et.jsx)(dv,{handleClick:i,menuContainerId:n,selected:void 0!==e?e.language===(null==a?void 0:a.language)&&e.role===(null==a?void 0:a.role)&&(null===(s=null===(r=e.additionalProperties)||void 0===r?void 0:r.get)||void 0===s?void 0:s.call(r,l8.M.PIR_TRACK_ADDITIONAL_PROPERTIES_TAG_KEY))===(null===(d=null===(o=null==a?void 0:a.additionalProperties)||void 0===o?void 0:o.get)||void 0===d?void 0:d.call(o,l8.M.PIR_TRACK_ADDITIONAL_PROPERTIES_TAG_KEY)):e===a||(null==a?void 0:a.role)===i6.m.FORCED,track:e,styleOverride:l.getTrackSelectionHeadingTextStyle()})},null!==(t=null==e?void 0:e.displayName)&&void 0!==t?t:"Off")})})]})}function dv(e){let t,n;let i=tv(),{handleClick:a,menuContainerId:r="",selected:s,track:o}=e,l=en.Yt.instance,d=(0,ea.useCallback)(()=>{s||a(o)},[a,s,o]),c=(0,ea.useCallback)(e=>{d(),e.stopPropagation()},[d]),u=document.getElementById(r),f=tM(d,null!=u?u:void 0);return t=void 0===o?l.localize("Player.Mlp.CaptionsOff"):o.displayName?o.displayName:"".concat(o.language," - ").concat(o.role),(0,et.jsxs)(df,{"data-testid":"player-ux-text-track-button",onClick:c,onKeyDown:f,"aria-label":t,"aria-checked":s,role:"radio",children:[(0,et.jsx)(d_,{$isSelected:s,"data-testid":(n="off",void 0!==o&&(n="".concat(o.language,"-").concat(o.role)),"player-ux-text-track-check-".concat(n))}),(0,et.jsx)(dh,{$isSelected:s,$styleOverride:i.getTrackSelectionOptionTextStyle(),children:t})]})}function db(){let e=(0,er._)(["\n overflow-y: auto;\n display: flex;\n align-items: end;\n flex-direction: column;\n\n &::-webkit-scrollbar {\n width: 6px;\n }\n\n &::-webkit-scrollbar-track {\n border-radius: 12px;\n background-color: ",";\n }\n\n &::-webkit-scrollbar-thumb {\n border-radius: 12px;\n background-color: ",";\n }\n"]);return db=function(){return e},e}function dx(){let e=(0,er._)(["\n background-color: ",";\n border-radius: 6px;\n width: 50%;\n margin-bottom: 10px;\n"]);return dx=function(){return e},e}function dy(){let e=(0,er._)(["\n display: flex;\n flex-direction: column;\n padding: 30px;\n"]);return dy=function(){return e},e}function dk(){let e=(0,er._)(["\n align-self: left;\n color: ",";\n display: block;\n margin-bottom: ","px;\n text-align: left;\n"]);return dk=function(){return e},e}function dC(){let e=(0,er._)(["\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: space-between;\n"]);return dC=function(){return e},e}function dS(){let e=(0,er._)(["\n display: flex;\n flex-direction: column;\n"]);return dS=function(){return e},e}function dE(){let e=(0,er._)(["\n ",";\n color: ",";\n margin-bottom: ","px;\n"]);return dE=function(){return e},e}function dT(){let e=(0,er._)(["\n background-color: ",";\n color: ",";\n margin-bottom: 12px;\n width: 200px;\n"]);return dT=function(){return e},e}function dP(){let e=(0,er._)(["\n display: flex;\n flex-direction: row;\n width: 50%;\n"]);return dP=function(){return e},e}function dw(){let e=(0,er._)(["\n border-color: ",";\n border-radius: ","px;\n background-color: ",";\n color: ",";\n padding: 10px 24px 11px;\n width: 50%;\n &:hover {\n background-color: ",";\n }\n"]);return dw=function(){return e},e}function dA(){let e=(0,er._)(["\n border-color: ",";\n border-radius: ","px;\n background-color: ",";\n color: ",";\n padding: 10px 24px 11px;\n width: 50%;\n &:hover {\n background-color: ",";\n }\n"]);return dA=function(){return e},e}let dI=es.ZP.div(db(),eu.stroke.onbase.outline_03,eu.stroke.onbase.outline_01),dM=es.ZP.div(dx(),eu.fill.action_accent_dim),dR=es.ZP.div(dy()),dD=es.ZP.h2(dk(),eu.foreground.onbase.text_01,eh.universal._12),dN=es.ZP.div(dC()),dL=es.ZP.div(dS()),dj=es.ZP.span(dE(),td.misc.label_md_strong,eu.foreground.onbase.text_01,eh.universal._04),dO=es.ZP.select(dT(),eu.fill.action_shade,eu.background.alt.surface_00),dB=es.ZP.div(dP()),dF=es.ZP.button(dw(),eu.transparent,4,eu.button.fill_loud,eu.foreground.onalt.text_01,eu.button.fill_loud_hover),dZ=es.ZP.button(dA(),eu.transparent,4,eu.button.fill_quiet,eu.foreground.onbase.text_01,eu.button.fill_quiet_hover),dz=new Map([[D.TYPE,"Type"],[D.SERIF,"Serif"],[D.MONOSPACED,"Monospaced"],[D.SANS_SERIF,"Sans Serif"],[D.CASUAL,"Casual"],[D.SCRIPT,"Script"],[D.SMALL_CAPS,"Small Caps"]]),dH=new Map([[R.EXTRA_LARGE,"Extra Large"],[R.LARGE,"Large"],[R.MEDIUM,"Medium"],[R.SMALL,"Small"],[R.TINY,"Tiny"]]),dU=new Map([[A.WHITE,"White"],[A.BLACK,"Black"],[A.RED,"Red"],[A.GREEN,"Green"],[A.BLUE,"Blue"],[A.YELLOW,"Yellow"],[A.MAGENTA,"Magenta"],[A.CYAN,"Cyan"]]),dV=new Map([[I.PERCENT_000,"None"],[I.PERCENT_025,"25%"],[I.PERCENT_033,"33%"],[I.PERCENT_050,"50%"],[I.PERCENT_066,"66%"],[I.PERCENT_075,"75%"],[I.PERCENT_100,"100%"]]),d$=new Map([[M.NONE,"None"],[M.RAISED,"Raised"],[M.DEPRESSED,"Depressed"],[M.UNIFORM,"Uniform"],[M.DROP_SHADOW,"Drop Shadow"]]);function dG(e){switch(e){case"WHITE":return A.WHITE;case"BLACK":return A.BLACK;case"RED":return A.RED;case"GREEN":return A.GREEN;case"BLUE":return A.BLUE;case"YELLOW":return A.YELLOW;case"MAGENTA":return A.MAGENTA;case"CYAN":return A.CYAN}}function dW(e){switch(e){case"1":return I.PERCENT_100;case"0.75":return I.PERCENT_075;case"0.5":return I.PERCENT_050;case"0.33":return I.PERCENT_033;case"0.25":return I.PERCENT_025;case"0":return I.PERCENT_000}}let dK=e=>{var t,n,i,a,r,s,o,l,d;let{captionStyling:c,closeCaptionStylingMenu:u,updateCaptionStyling:f}=e,_={containerHeader:"Text",dropdowns:[{defaultValue:null!==(t=null==c?void 0:c.fontStyle)&&void 0!==t?t:D.SANS_SERIF,dropdownOptions:dz,header:"Font",id:"text-font-styling"},{defaultValue:null!==(n=null==c?void 0:c.fontScale)&&void 0!==n?n:R.MEDIUM,dropdownOptions:dH,header:"Size",id:"text-size-styling"},{defaultValue:null!==(i=null==c?void 0:c.fontColor)&&void 0!==i?i:A.WHITE,dropdownOptions:dU,header:"Color",id:"text-color-styling"},{defaultValue:null!==(a=null==c?void 0:c.fontOpacity)&&void 0!==a?a:I.PERCENT_100,dropdownOptions:dV,header:"Opacity",id:"text-opacity-styling"},{defaultValue:null!==(r=null==c?void 0:c.fontEdgeType)&&void 0!==r?r:M.NONE,dropdownOptions:d$,header:"Style",id:"text-style-styling"}]},h={containerHeader:"Background",dropdowns:[{defaultValue:null!==(s=null==c?void 0:c.backgroundColor)&&void 0!==s?s:A.BLACK,dropdownOptions:dU,header:"Color",id:"background-color-styling"},{defaultValue:null!==(o=null==c?void 0:c.backgroundOpacity)&&void 0!==o?o:I.PERCENT_100,dropdownOptions:dV,header:"Opacity",id:"background-opacity-styling"}]},m={containerHeader:"Window",dropdowns:[{defaultValue:null!==(l=null==c?void 0:c.windowColor)&&void 0!==l?l:A.BLACK,dropdownOptions:dU,header:"Color",id:"window-color-styling"},{defaultValue:null!==(d=null==c?void 0:c.windowOpacity)&&void 0!==d?d:I.PERCENT_100,dropdownOptions:dV,header:"Opacity",id:"window-opacity-styling"}]},p=(0,ea.useCallback)(()=>{document.getElementById("text-color-styling").value=A.WHITE,document.getElementById("text-style-styling").value=M.NONE,document.getElementById("text-opacity-styling").value=I.PERCENT_100.toString(),document.getElementById("text-size-styling").value=R.MEDIUM,document.getElementById("text-font-styling").value=D.SANS_SERIF,document.getElementById("background-color-styling").value=A.BLACK,document.getElementById("background-opacity-styling").value=I.PERCENT_100.toString(),document.getElementById("window-color-styling").value=A.BLACK,document.getElementById("window-opacity-styling").value=I.PERCENT_100.toString(),f({backgroundColor:A.BLACK,backgroundOpacity:I.PERCENT_100,fontColor:A.WHITE,fontEdgeType:M.NONE,fontOpacity:I.PERCENT_100,fontScale:R.MEDIUM,fontStyle:D.SANS_SERIF,windowColor:A.BLACK,windowOpacity:I.PERCENT_100})},[f]),g=tI(p),v=tI(u),b=(0,ea.useCallback)(()=>{let e=document.getElementById("text-color-styling").value,t=document.getElementById("text-style-styling").value,n=document.getElementById("text-opacity-styling").value,i=document.getElementById("text-size-styling").value,a=document.getElementById("text-font-styling").value,r=document.getElementById("background-color-styling").value,s=document.getElementById("background-opacity-styling").value,o=document.getElementById("window-color-styling").value,l=document.getElementById("window-opacity-styling").value;f({backgroundColor:dG(r),backgroundOpacity:dW(s),fontColor:dG(e),fontEdgeType:function(e){switch(e){case"NONE":return M.NONE;case"RAISED":return M.RAISED;case"DEPRESSED":return M.DEPRESSED;case"UNIFORM":return M.UNIFORM;case"DROP_SHADOW":return M.DROP_SHADOW}}(t),fontOpacity:dW(n),fontScale:function(e){switch(e){case"EXTRA_LARGE":return R.EXTRA_LARGE;case"LARGE":return R.LARGE;case"MEDIUM":return R.MEDIUM;case"SMALL":return R.SMALL;case"TINY":return R.TINY}}(i),fontStyle:function(e){switch(e){case"TYPE":return D.TYPE;case"SERIF":return D.SERIF;case"MONOSPACED":return D.MONOSPACED;case"SANS_SERIF":return D.SANS_SERIF;case"CASUAL":return D.CASUAL;case"SCRIPT":return D.SCRIPT;case"SMALL_CAPS":return D.SMALL_CAPS}}(a),windowColor:dG(o),windowOpacity:dW(l)})},[f]),x=(0,ea.useCallback)(e=>{e.stopPropagation()},[]);return(0,et.jsxs)(dI,{children:[[_,h,m].map(e=>(0,et.jsx)(dM,{children:(0,et.jsxs)(dR,{children:[(0,et.jsx)(dD,{children:e.containerHeader}),(0,et.jsx)(dN,{children:e.dropdowns.map((e,t)=>(0,et.jsxs)(dL,{children:[(0,et.jsx)(dj,{children:e.header}),(0,et.jsx)(dO,{id:e.id,defaultValue:e.defaultValue,onChange:b,onKeyDown:x,children:Array.from(e.dropdownOptions.entries()).map(e=>{let[t,n]=e;return(0,et.jsx)("option",{value:t,children:n},t)})})]},t))})]},e.containerHeader)},e.containerHeader)),(0,et.jsxs)(dB,{children:[(0,et.jsx)(dF,{onClick:u,onKeyDown:v,"data-testid":"player-ux-go-back-caption-settings",children:"Go Back"}),(0,et.jsx)(dZ,{onClick:p,onKeyDown:g,"data-testid":"player-ux-reset-caption-settings",children:"Reset to Default"})]})]})};var dq=n(36079);let dY=e=>{var t,n,i;let{controller:a,messageDispatcher:r,onClickedElementCallback:s,trackOverlayOptions:o,direction:l="auto",playerId:d}=e,[c,u]=(0,ea.useState)([]),[f,_]=(0,ea.useState)([]),[h,m]=(0,ea.useState)(),[p,g]=(0,ea.useState)(),[v,b]=(0,ea.useState)(!1),[x,y]=(0,ea.useState)(void 0),[k,C]=(0,ea.useState)("Tracks"),S=en.Yt.instance,E=(0,ea.useRef)(null),T=tv(),P=(0,ea.useCallback)((e,t,n)=>{ni.b.instance.event((0,en.Tk)(e,en.JH.id,d,n,x)),s(e,t)},[s,d,x]),w=(0,ea.useCallback)(()=>{P("hideCCPannel"),a.trackSelector.dismissOverlay(),C("Tracks")},[a,P]),A=(0,ea.useCallback)(e=>{"Escape"===e.key&&(e.preventDefault(),w())},[w]);(0,ea.useEffect)(()=>{let e=[a.trackSelector.audioTracks$.subscribe(u),a.trackSelector.textTracks$.subscribe(_),a.trackSelector.selectedAudioTrack$.subscribe(m),a.trackSelector.selectedTextTrack$.subscribe(g),a.trackSelector.playbackSessionId$.subscribe(y),a.overlayVisible$.subscribe(b)];return()=>{e.forEach(e=>e.unsubscribe())}},[a]),(0,ea.useEffect)(()=>{v?(document.querySelector("[data-testid=player-ux-track-dismiss-button]").focus(),document.addEventListener("keydown",A)):document.removeEventListener("keydown",A)},[A,v]);let I=(0,ea.useCallback)(e=>{a.trackSelector.selectTextTrack(e),e?P("textTrack",e.language,{targetId:e.language,targetText:e.displayName}):P("closedCaptionOff")},[a,P]),M=(0,ea.useCallback)(e=>{a.trackSelector.selectAudioTrack(e),P("audioTrack",e.language,{targetId:e.language,targetText:e.displayName})},[a,P]),R=tM(w,null!==(t=E.current)&&void 0!==t?t:void 0),D=(0,ea.useCallback)(e=>{var t,n;null===(t=a.trackSelector.userPreferences)||void 0===t||t.updateCueStylePreference(e),null===(n=a.trackSelector.userPreferences)||void 0===n||n.persistPreferences(),null==r||r.sendMessage({topic:"cue_style_updated",senderId:en.JH.id,timestamp:new Date().getTime(),message:e})},[a.trackSelector.userPreferences,r]),N=tI(()=>{C("CaptionStyling")}),L=(0,ea.useCallback)(e=>{C("CaptionStyling"),e.stopPropagation()},[]),j=(0,ea.useCallback)(()=>{C("Tracks")},[]),O=tR(w),B="".concat("menuContainer","_").concat(null==x?void 0:x.substring(0,5));return(0,et.jsx)(l5,{$direction:l,onClick:"Tracks"===k?w:dq.Z,children:(0,et.jsxs)(l6,{id:B,ref:E,children:[(0,et.jsx)(l4,{$direction:l,children:(0,et.jsx)(ir,{accessibilityLabel:S.localize("Player.Controls.A11y.MlpClose"),onClick:O,onKeyDown:R})}),"Tracks"===k?(0,et.jsxs)(et.Fragment,{children:[(0,et.jsxs)(l3,{children:[(0,et.jsx)(dg,{availableTextTracks:f,menuContainerId:B,selectTextTrack:I,selectedTextTrack:p}),c.length>0&&(0,et.jsx)(dm,{availableAudioTracks:c,menuContainerId:B,selectAudioTrack:M,selectedAudioTrack:h})]}),(null==o?void 0:o.displayCaptionStylings)!==void 0&&((null==o?void 0:o.displayCaptionStylings)?(0,et.jsx)(l9,{onClick:L,onKeyDown:N,$styleOverride:T.getCustomizationDisclaimerTextStyle(),children:"Caption Styling Settings"}):(0,et.jsx)(et.Fragment,{})),(null==o?void 0:o.displayCaptionStylings)===void 0&&(0,et.jsx)(l7,{$styleOverride:T.getCustomizationDisclaimerTextStyle(),children:S.localize("Player.Mlp.CaptionSettingsMessage")})]}):(0,et.jsx)(dK,{captionStyling:null===(i=null===(n=a.trackSelector.userPreferences)||void 0===n?void 0:n.getCurrentUserPreference())||void 0===i?void 0:i.cueStyle,closeCaptionStylingMenu:j,updateCaptionStyling:D})]})})};class dX extends t5{_setUpSubscription(){this._addSubscription("availableAudioTracksListener",this._playerEvents.availableAudioTracks$.subscribe(e=>{this._audioTracks.next(e.availableAudioTracks)})),this._addSubscription("selectedAudioTrackListener",this._playerEvents.selectedAudioTrack$.subscribe(e=>{this._selectedAudioTrack.next(e.selectedAudioTrack)})),this._addSubscription("availableTextTracksListener",this._playerEvents.availableTextTracks$.subscribe(e=>{this._textTracks.next(e.availableTextTracks)})),this._addSubscription("selectedTextTrackListener",this._playerEvents.selectedTextTrack$.subscribe(e=>{this._selectedTextTrack.next(e.selectedTextTrack)})),this._addSubscription("trackOverlayOpenTracker",this._overlayEvents.overlayVisibilityChanged$.subscribe(e=>{e.id===en.JH.id&&!0===e.visible&&this.state$.next("SHOWING")})),this._addSubscription("capturePlaybackSessionId",this._playerEvents.playbackState$.subscribe(e=>{"FirstFrameRenderEvent"===e.playbackEventType&&this._playbackSessionId.next(e.playbackSessionId)}))}_transitionToState(e){let t=this.state$.getValue();this._log("._transitionToState","Transitioning from state: ".concat(t," to state: ").concat(e)),t!==e&&this.state$.next(e)}selectTextTrack(e){var t;this._playerCallbacks.requestTextTrackSelection(e),null===(t=this._playerUserPreferences)||void 0===t||t.updateTextTrackPreference(e),this._selectedTextTrack.next(e)}selectAudioTrack(e){var t;this._playerCallbacks.requestAudioTrackSelection(e),null===(t=this._playerUserPreferences)||void 0===t||t.updateAudioTrackPreference(e),this._selectedAudioTrack.next(e)}dismissOverlay(){var e;null===(e=this._playerUserPreferences)||void 0===e||e.persistPreferences(),this._playerCallbacks.requestVisibilityChange(en.Tj.id,!1),this._playerCallbacks.requestVisibilityChange(en.JH.id,!1),this._transitionToState("HIDDEN")}get audioTracks$(){return this._audioTrackObservable$}get textTracks$(){return this._textTrackObservable$}get selectedAudioTrack$(){return this._selectedAudioTrackObservable$}get selectedTextTrack$(){return this._selectedTextTrackObservable$}get playbackSessionId$(){return this._playbackSessionIdObservable$}get userPreferences(){return this._playerUserPreferences}constructor(e){super(e),this.state$=new tQ.X("HIDDEN"),this._audioTracks=new tQ.X([]),this._audioTrackObservable$=this._audioTracks.asObservable(),this._textTracks=new tQ.X([]),this._textTrackObservable$=this._textTracks.asObservable(),this._selectedAudioTrack=new tQ.X(void 0),this._selectedAudioTrackObservable$=this._selectedAudioTrack.asObservable(),this._selectedTextTrack=new tQ.X(void 0),this._selectedTextTrackObservable$=this._selectedTextTrack.asObservable(),this._playbackSessionId=new tQ.X(void 0),this._playbackSessionIdObservable$=this._playbackSessionId.asObservable(),this._playerEvents=e.playerEvents,this._playerCallbacks=e.playerCallbacks,this._overlayEvents=e.overlayEvents,e.playerUserPreferences&&(this._playerUserPreferences=e.playerUserPreferences),this._setUpSubscription()}}class dJ extends t3{get overlayVisible$(){return this.trackSelector.state$.pipe((0,t4.U)(e=>"SHOWING"===e))}get trackSelector(){return this.adaptors.get("trackSelector")}constructor(e){super(e),this.adaptors.set("trackSelector",new dX(e))}}class dQ{destroy(){this._controller.destroy(),this.view=(0,et.jsx)(et.Fragment,{})}constructor(e,t,n,i,a,r,s,o,l,d){this.id=en.JH.id,this.zOrderIndex=en.JH.zOrderIndex,this.policy=en.JH.overlayPolicy,this.viewType="ReactElement",this._controller=new dJ({playerEvents:e,playerCallbacks:t,overlayEvents:n,playerUserPreferences:s,logger:o}),this.view=(0,et.jsx)(dY,{controller:this._controller,messageDispatcher:r,onClickedElementCallback:i,trackOverlayOptions:l,playerId:a,direction:d})}}class d0{create(e,t,n,i,a,r){let s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"auto";return new dQ(e,t,n,this._onClickedElementCallback,a,i,this._playerUserPreferences,r,this._overlayOptions,s)}constructor(e,t,n){this._playerUserPreferences=e,this._onClickedElementCallback=t||(()=>{}),this._overlayOptions=n}}let d1={buttonTimerDurationMs:15e3,beforeEndOfStreamOffsetMs:15e3,callbackExecutionPoint:"Credits"};function d2(){let e=(0,er._)(["\n display: flex;\n height: 21px;\n width: 21px;\n overflow: visible;\n\n "," {\n height: 28px;\n width: 28px;\n }\n"]);return d2=function(){return e},e}function d5(){let e=(0,er._)(["\n fill: ",";\n stroke: none;\n"]);return d5=function(){return e},e}function d6(){let e=(0,er._)(["\n height: 100%;\n width: 100%;\n"]);return d6=function(){return e},e}function d4(){let e=(0,er._)(["\n fill: none;\n cx: -50%;\n cy: 50%;\n stroke: rgba(0, 0, 0, 0.2);\n stroke-width: 3px;\n transform: rotate(-90deg);\n"]);return d4=function(){return e},e}function d3(){let e=(0,er._)(["\n stroke: ",";\n stroke-dasharray: 100;\n stroke-dashoffset: 100;\n\n animation: dash ","s linear;\n\n animation-play-state: ",";\n\n @keyframes dash {\n from {\n stroke-dashoffset: 100;\n }\n to {\n stroke-dashoffset: 0;\n }\n }\n"]);return d3=function(){return e},e}let d7=es.ZP.div(d2(),ec._05),d9=(0,es.ZP)(nk)(d5(),e=>e.$showTimer?"".concat(eu.foreground.onalt.text_01):"".concat(eu.foreground.onbase.text_01)),d8=es.ZP.svg(d6()),ce=es.ZP.circle(d4()),ct=(0,es.ZP)(ce)(d3(),eu.foreground.onalt.text_01,e=>{let{$animationDurationSec:t}=e;return t},e=>{let{$isPaused:t}=e;return t?"paused":"running"}),cn=e=>{let{showTimer:t,isPaused:n}=e;return(0,et.jsxs)(d7,{"data-testid":"player-ux-up-next-timer",children:[t&&(0,et.jsxs)(d8,{"data-testid":"timer-circle",children:[(0,et.jsx)(ce,{r:"40%",pathLength:0}),(0,et.jsx)(ct,{r:"40%",pathLength:100,$animationDurationSec:d1.buttonTimerDurationMs/1e3,$isPaused:n}),(0,et.jsx)(d9,{height:"auto",width:"40%",x:"33%",$showTimer:t})]}),!t&&(0,et.jsx)(d8,{"data-testid":"play-icon",children:(0,et.jsx)(d9,{height:"auto",width:"60%",x:"20%",$showTimer:t})})]})};function ci(){let e=(0,er._)(["\n position: absolute;\n margin-right: ","px;\n margin-bottom: ","px;\n ",": 0;\n bottom: 0;\n\n height: 36px;\n width: auto;\n\n display: flex;\n flex-direction: row;\n\n opacity: 0;\n transition: opacity 0.33s, margin 0.33s;\n\n "," {\n margin-",": ","px;\n margin-bottom: ","px;\n }\n\n "," {\n margin-",": ","px;\n margin-bottom: ","px;\n }\n\n "," {\n margin-",": ","px;\n margin-bottom: ","px;\n }\n\n "," {\n margin-",": ","px;\n height: 44px;\n margin-bottom: ","px;\n }\n\n "," {\n margin-",": ","px;\n margin-bottom: ","px;\n }\n\n ","\n"]);return ci=function(){return e},e}function ca(){let e=(0,er._)(["\n all: unset;\n width: ","px;\n height: 100%;\n padding: 10px;\n border-radius: 4px;\n box-sizing: border-box;\n\n box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.35);\n background: ",";\n z-index: 2;\n cursor: pointer;\n\n &:hover {\n background: rgb(110, 106, 116);\n }\n\n &:active {\n background: rgba(62, 59, 68, 0.6);\n }\n\n &:focus-visible {\n border: none;\n outline: none;\n border-radius: 4px;\n box-shadow: 0 0 0 2px ",";\n }\n\n "," {\n width: ","px;\n }\n"]);return ca=function(){return e},e}function cr(){let e=(0,er._)(["\n all: unset;\n width: hug;\n border-radius: 4px;\n box-sizing: border-box;\n ",";\n padding: 7px 16px 7px 16px;\n\n display: flex;\n flex-direction: row;\n align-items: center;\n\n cursor: pointer;\n\n background: ",";\n\n position: relative;\n z-index: 2;\n\n &:hover {\n ","\n }\n\n &:active {\n background: ",";\n }\n\n &:focus-visible {\n border: none;\n outline: none;\n border-radius: 4px;\n box-shadow: 0 0 0 5px ",";\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n box-shadow: 0 0 0 2px ",";\n border-radius: 4px;\n }\n }\n\n "," {\n padding: 8px 24px 8px 24px;\n }\n"]);return cr=function(){return e},e}function cs(){let e=(0,er._)(["\n ","\n margin-left: 9px;\n margin-right: 4px;\n ","\n"]);return cs=function(){return e},e}function co(){let e=(0,er._)(["\n ","\n ","\n"]);return co=function(){return e},e}let cl=es.ZP.div(ci(),eh.margin.bp_01,100+eh.universal._44,e=>{let{$direction:t}=e;return"rtl"===t?"left":"right"},ec._02,e=>{let{$direction:t}=e;return"rtl"===t?"left":"right"},eh.margin.bp_01,100+eh.universal._36,ec._03,e=>{let{$direction:t}=e;return"rtl"===t?"left":"right"},eh.margin.bp_03,100+eh.universal._40,ec._04,e=>{let{$direction:t}=e;return"rtl"===t?"left":"right"},eh.margin.bp_04,100+eh.universal._40,ec._05,e=>{let{$direction:t}=e;return"rtl"===t?"left":"right"},eh.margin.bp_05,100+eh.universal._48,ec._06,e=>{let{$direction:t}=e;return"rtl"===t?"left":"right"},eh.margin.bp_06,100+eh.universal._48,e=>{let{$visible:t}=e;return t&&"\n opacity: 1;\n "}),cd=es.ZP.button(ca(),eh.universal._36,eu.fill.skeleton,eu.keyboard.focus_base,ec._05,eh.universal._44),cc=es.ZP.button(cr(),e=>{let{direction:t}=e;return"rtl"===t?"margin-right: 8px;":"margin-left: 8px;"},e=>e.$isDismissed?"".concat(eu.fill.skeleton):"".concat(eu.background.alt.surface_01),e=>!e.$isDismissed&&"\n background: ".concat(eu.background.alt.surface_00,";\n "),eu.background.alt.surface_01_film,eu.keyboard.focus_base,eu.keyboard.focus_alt,ec._05),cu=es.ZP.span(cs(),e=>{let{$styleOverride:t}=e;return tC(t)},e=>e.$isDismissed&&"\n color: ".concat(eu.foreground.onbase.text_01,";\n ")),cf=es.ZP.span(co(),e=>{let{$styleOverride:t}=e;return tC(t)},e=>e.$isDismissed&&"\n color: ".concat(eu.foreground.onbase.text_01,";\n ")),c_=e=>{let{overlayEvents:t,onClickedElementCallback:n,controller:i,direction:a="auto",playerId:r}=e,[s,o]=(0,ea.useState)(!1),[l,d]=(0,ea.useState)(!1),[c,u]=(0,ea.useState)(d1.buttonTimerDurationMs),[f,_]=(0,ea.useState)("UserIdle"),[h,m]=(0,ea.useState)(!1),p=en.Yt.instance,g=tv(),v=(0,ea.useCallback)((e,t)=>{ni.b.instance.event((0,en.Tk)(e,en.GI.id,r,t,i.upNext.playbackSessionId)),n&&n("upNext")},[i.upNext.playbackSessionId,n,r]),b=(0,ea.useMemo)(()=>{if(i.upNext.upNextContentMetaData){let{seasonNumber:e,episodeNumber:t}=i.upNext.upNextContentMetaData;if(e&&t)return p.localizeWithParameters("Player.AssetInfo.SeasonEpisodeDetail",{seasonNumber:e.toString(),episodeNumber:t});if(t)return p.localizeWithParameters("Player.AssetInfo.MiniseriesDetail",{episodeNumber:t})}},[i.upNext.upNextContentMetaData,p]),x=(0,ea.useCallback)(e=>{var t;i.upNext.upNextContentMetaData&&(null==e?void 0:e.type)==="click"&&v("upNext",{targetId:i.upNext.upNextContentMetaData.id,targetText:null!==(t=i.upNext.upNextContentMetaData.originalTitle)&&void 0!==t?t:i.upNext.upNextContentMetaData.title}),i.upNext.load(!0)},[i.upNext,v]),y=(0,ea.useCallback)(()=>{i.upNext.dismissTimer()},[i.upNext]);(0,ea.useEffect)(()=>{let e=[];return e.push(t.overlayEvent$.subscribe(e=>{_(e),!1===i.upNext.autoPlay&&"UserInteraction"===e&&y()})),e.push(i.upNext.timer.tick$.subscribe(u)),e.push(i.upNext.hasDismissed$.subscribe(o)),e.push(i.upNext.timer.state$.subscribe(e=>{d("PAUSED"===e)})),()=>{e.forEach(e=>e.unsubscribe())}},[i.upNext.autoPlay,i.upNext.hasDismissed$,i.upNext.timer.state$,i.upNext.timer.tick$,t.overlayEvent$,y]),(0,ea.useEffect)(()=>{let e=document.querySelector('[data-testid="volume-container"]');if(!e)return;let t=()=>{m(!0)},n=()=>{m(!1)};return e.addEventListener("mouseleave",n),e.addEventListener("mouseenter",t),()=>{e.removeEventListener("mouseleave",n),e.removeEventListener("mouseenter",t)}},[m]);let k=tI(y),C=tI(x);return(0,ea.useEffect)(()=>{let e=document.querySelector('[data-testid="player-ux-up-next-button"]');null==e||e.focus()},[]),(0,et.jsxs)(cl,{$visible:(!1===s||"UserInteraction"===f)&&!h,"data-testid":"player-ux-up-next-container",$direction:a,children:[!s&&i.upNext.autoPlay&&(0,et.jsx)(cd,{onKeyDown:k,onClick:y,"data-testid":"player-ux-up-next-dismiss","aria-label":p.localize("Player.Controls.Focus.UpNextDismiss"),children:(0,et.jsx)(nV,{})}),(0,et.jsxs)(cc,{onKeyDown:C,onClick:x,"data-testid":"player-ux-up-next-button",direction:a,"aria-label":!s&&i.upNext.autoPlay?p.localizeWithParameters("Player.Controls.Focus.UpNextAutoPlay",{seconds:tf(c)}):p.localize("Player.Controls.Focus.UpNextAutoPlayOff"),$isDismissed:s,children:[(0,et.jsx)(cn,{showTimer:!s&&i.upNext.autoPlay,isPaused:l}),(0,et.jsx)(cu,{"data-testid":"player-ux-up-next-label",$styleOverride:g.getUpNextLabelTextStyle(),$isDismissed:s,children:p.localize("Player.AssetInfo.NextEpisodeLabel")}),(0,et.jsx)(cf,{"data-testid":"player-ux-up-next-season-episode",$styleOverride:g.getUpNextSeasonAndEpisodeTextStyle(),$isDismissed:s,children:b})]})]})},ch=e=>{let{overlayEvents:t,onClickedElementCallback:n,controller:i,direction:a,playerId:r}=e,s=(0,ea.useContext)(tx),[o,l]=(0,ea.useState)(!0),[d,c]=(0,ea.useState)(!1);return((0,ea.useEffect)(()=>{let e=[],{contentMetadata:t,contentDurationMs:n,activeStreamInfo:a}=s;if(null!=a&&null!=t){let r=(null==t?void 0:t.videoId)||(null==t?void 0:t.id);e.push(i.upNext.disabled$.subscribe(e=>l(e))),e.push(i.upNext.displayControls$.subscribe(e=>c(e))),i.upNext.initialize(r,n,a)}return()=>{e.forEach(e=>e.unsubscribe())}},[i.upNext,i.upNext.state$,s]),o)?(0,et.jsx)(et.Fragment,{}):d?(0,et.jsx)(c_,{overlayEvents:t,onClickedElementCallback:n,controller:i,playerId:r,direction:a}):(0,et.jsx)(et.Fragment,{})};var cm=n(61713);let cp=e=>void 0!==e&&e!==tb.Aw.VOD;class cg extends t5{get disabled$(){return this.state$.pipe((0,t4.U)(e=>"DISABLED"===e),(0,oN.x)())}get displayControls$(){return this.creditState$.pipe((0,t4.U)(e=>"continuous"===this._endType&&("Credits"===e||"EndOfContent"===e)))}dismissTimer(){this.timer.reset(),this.hasDismissed$.next(!0)}load(e){this._transitionToState("COMPLETED"),this._transitionToCreditState("Unknown"),this._queuedFetch$.next(!1),this.timer.reset(),this.upNextContentMetaData&&(!0===e?this.upNextContentMetaData.playbackInitiator="confirmedContinuous":this.upNextContentMetaData.playbackInitiator="continuous",this._playerCallbacks.requestLoad(this.upNextContentMetaData,0))}initialize(e,t,n){if(this._videoId===e&&"INITIALIZED"===this.state$.value){this._warn("Duplicate call of initialized videoId ".concat(e,", ignored."));return}if(this._videoId=e,void 0===t&&void 0===n.videoAboutToEndMs){this._warn("Failed to initialize: missing both contentDurationMs and activeStreamInfo.videoAboutToEndMs");return}if(cp(n.streamMode)){this._log("Stream is live, transitioning to DISABLED state"),this._transitionToState("DISABLED");return}this.destroy(["fetchQueuer"]),this._transitionToState("IDLE"),this._addSubscription("fetchInvoker",this._queuedFetch$.pipe((0,na.h)(e=>!0===e),(0,cm.q)(1)).subscribe({next:()=>{this._queuedFetch$.next(!1),this._log("Fetched next content metadata, videoId: ",e),this._upNextFetcher.getNextContentMetadataById(e).then(this._handleNextContent(t,n)).catch(()=>{this._log("Error fetching next content metadata"),this._transitionToState("DISABLED")})},complete:()=>{this.fetchQueued$.next(!1),this._removeSubscription("fetchInvoker")}}))}_handleNextContent(e,t){return this._log("_handleNextContent setup",{contentDurationMs:e,activeStreamInfo:t}),n=>{let i,a;if(this._log("_handleNextContent called",{data:n}),this.upNextContentMetaData=n.contentMetadata,this._endType=n.endType,e){let n=(0,o6.y1)(t);this._log("Credit start time calculated",{cst:n});let r=this._calculateMainVideoEndTime(e,t);this._log("Main video end time calculated",{mainVideoEndTimeMs:r});let s=this._shouldUseCreditStartTimeForUpNext(r,n,t);this._log("Decision to use credit start time for up next",{useCreditStartTimeForUpNext:s,mainVideoEndTimeMs:r,cst:n}),i=s?n:void 0,a=r}else t.videoAboutToEndMs&&(this._log("Using videoAboutToEndMs as fallback for credit start time",{videoAboutToEndMs:t.videoAboutToEndMs}),i=t.videoAboutToEndMs);this._transitionToState("INITIALIZED"),this._log("Setting up playback progress subscription",{contentEndTimeMs:a,creditStartTimeMs:i}),this._setupPlaybackProgressSubscription(a,i),this._log("Setting up playback state subscription"),this._setupPlaybackStateSubscription(),this._log("Setting up timer complete subscription"),this._setupTimerCompleteSubscription()}}_transitionToState(e){let t=this.state$.getValue();t!==e&&(this._log("._transitionToState","Transitioning from state: ".concat(t," to state: ").concat(e)),this.state$.next(e))}_transitionToCreditState(e){let t=this.creditState$.getValue();if(t!==e)switch(this._log("._transitionToCreditState","Transitioning from credit state: ".concat(t," to state: ").concat(e)),this.creditState$.next(e),this.hasDismissed$.next(!1),e){case"BeforeCredits":this._haveSignaled=!1,this.timer.reset();break;case"Credits":this._haveSignaled||"Credits"!==this._callbackExecutionPoint||(this._haveSignaled=!0,this.timer.resume(),this._upNextCallbacks.onUpNextThresholdReached(this._endType));break;case"EndOfContent":this._haveSignaled||(this._haveSignaled=!0,this.timer.resume(),this._upNextCallbacks.onUpNextThresholdReached(this._endType))}}_setupPlaybackProgressSubscription(e,t){this._addSubscription("progressTracker",this._playerEvents.playbackProgress$.subscribe(n=>{let i=n.playheadData.contentPlayheadMs,a="BeforeCredits";void 0!==e&&i>e-this._beforeEndOfStreamOffsetMs?a="EndOfContent":t&&i>t&&(a="Credits"),this._transitionToCreditState(a)}))}_calculateMainVideoEndTime(e,t){let n=e,i=(0,o6.I9)(t);return i&&(n=i.startMs+i.durationMs),n}_shouldUseCreditStartTimeForUpNext(e,t,n){let i=(0,o6.Cd)(n),a=this._buttonTimerDurationMs+this._beforeEndOfStreamOffsetMs;return void 0!==i&&i>3e4&&void 0!==t&&e-t>a}_setupPlaybackStateSubscription(){this._addSubscription("playbackStateHandler",this._playerEvents.playbackState$.subscribe(e=>{this.autoPlay&&"PlaybackCompleteEvent"===e.playbackEventType&&this.load();let t=this.timer.state$.getValue();"RUNNING"===t&&"PausedEvent"===e.playbackEventType?this.timer.pause():"PAUSED"===t&&"PlayingEvent"===e.playbackEventType&&this.timer.resume()}))}_setupTimerCompleteSubscription(){this._addSubscription("loadOnComplete",this.timer.state$.pipe((0,na.h)(e=>"COMPLETED"===e),(0,cm.q)(1)).subscribe({next:()=>{this.load()},complete:()=>this._removeSubscription("loadOnComplete")}))}constructor(e){var t,n,i;super(e),this.state$=new tQ.X("IDLE"),this.creditState$=new tQ.X("Unknown"),this.fetchQueued$=new tQ.X(!1),this.hasDismissed$=new tQ.X(!1),this._queuedFetch$=new tQ.X(!1),this._endType="unsupported",this._haveSignaled=!1,this._playerEvents=e.playerEvents,this.autoPlay=e.autoPlay,this._buttonTimerDurationMs=null!==(t=e.buttonTimerDurationMs)&&void 0!==t?t:15e3,this._beforeEndOfStreamOffsetMs=null!==(n=e.beforeEndOfStreamOffsetMs)&&void 0!==n?n:15e3,this._callbackExecutionPoint=null!==(i=e.callbackExecutionPoint)&&void 0!==i?i:"Credits",this._playerCallbacks=e.playerCallbacks,this._upNextCallbacks=e.upNextCallbacks,this._upNextFetcher=e.upNextFetcher,this.timer=new oB(e),this.autoPlay&&this.timer.initialize(this._buttonTimerDurationMs),this._addSubscription("fetchQueuer",this._playerEvents.playbackState$.pipe((0,na.h)(e=>"FirstFrameRenderEvent"===e.playbackEventType)).subscribe(e=>{this.playbackSessionId=e.playbackSessionId,this._queuedFetch$.next(!0),this._log("FirstFrameRenderEvent detected, updating playbackSessionId and queuing fetch",{playbackSessionId:e.playbackSessionId})}))}}class cv extends t3{get overlayVisible$(){return(0,iG.a)([this.upNext.state$.pipe((0,t4.U)(e=>"INITIALIZED"===e)),this.upNext.displayControls$]).pipe((0,t4.U)(e=>{let[t,n]=e;return t&&n}),(0,oN.x)())}get upNext(){return this.adaptors.get("upNext")}constructor(e){super(e),this.adaptors.set("upNext",new cg(e))}}class cb{destroy(){this.view=(0,et.jsx)(et.Fragment,{}),this._subscriptions.forEach(e=>e.unsubscribe),this._controller.destroy()}constructor(e,t,n,i,a,r,s,o,l,d="auto"){this.id=en.GI.id,this.zOrderIndex=en.GI.zOrderIndex,this.policy=en.GI.overlayPolicy,this.viewType="ReactElement",this._subscriptions=[],this._controller=new cv({playerEvents:e,playerCallbacks:t,upNextFetcher:r,upNextCallbacks:a,autoPlay:i,...d1,logger:s}),this.view=(0,et.jsx)(ch,{overlayEvents:n,onClickedElementCallback:l,controller:this._controller,playerId:o,direction:d}),this._subscriptions.push(this._controller.overlayVisible$.subscribe(e=>{t.requestVisibilityChange(this.id,e)}))}}class cx{create(e,t,n,i,a,r,s){var o;let l=(null===(o=this._playerUserPreferencesData)||void 0===o?void 0:o.autoPlayNext)===void 0||this._playerUserPreferencesData.autoPlayNext;return this._upNextFetcher.setPlayerId(a),new cb(e,t,n,l,this._upNextCallback,this._upNextFetcher,r,a,this._onClickedElementCallback,s)}constructor(e,t,n,i){this._upNextCallback=e,this._upNextFetcher=t,this._playerUserPreferencesData=n,this._onClickedElementCallback=i||(()=>{})}}var cy=n(81888);function ck(){let e=(0,er._)(["\n position: absolute;\n top: 0;\n left: 0;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n background-size: cover;\n background: ",";\n"]);return ck=function(){return e},e}function cC(){let e=(0,er._)(["\n width: 46px;\n height: 46px;\n display: none;\n\n "," {\n display: inline;\n }\n"]);return cC=function(){return e},e}function cS(){let e=(0,er._)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: 0px ","px;\n\n "," {\n display: none;\n }\n "," {\n margin: 0px ","px;\n }\n "," {\n width: 600px;\n }\n"]);return cS=function(){return e},e}function cE(){let e=(0,er._)(["\n ","\n margin-block: unset;\n margin-bottom: ","px;\n color: ",";\n text-align: center;\n\n "," {\n margin-bottom: ","px;\n }\n "," {\n margin-bottom: ","px;\n }\n"]);return cE=function(){return e},e}function cT(){let e=(0,er._)(["\n ","\n margin-block: unset;\n\n color: ",";\n text-align: center;\n white-space: pre-line;\n"]);return cT=function(){return e},e}function cP(){let e=(0,er._)(["\n ","\n color: ",";\n"]);return cP=function(){return e},e}function cw(){let e=(0,er._)(["\n border: 1px solid ",";\n border-radius: ","px;\n\n margin-block: unset;\n margin-top: ","px;\n\n flex-direction: column;\n align-items: center;\n\n "," {\n margin: ","px 0px;\n }\n "," {\n margin: ","px 0px;\n }\n"]);return cw=function(){return e},e}function cA(){let e=(0,er._)(["\n ","\n margin-block: unset;\n margin: ","px 0px;\n\n text-align: center;\n\n color: ",";\n "," {\n margin: ","px 0px;\n }\n"]);return cA=function(){return e},e}function cI(){let e=(0,er._)(["\n ","\n margin: 0.5em;\n text-align: center;\n\n color: ",";\n "," {\n margin: 1em;\n }\n"]);return cI=function(){return e},e}function cM(){let e=(0,er._)(["\n ","\n margin: 0.5em;\n text-align: center;\n\n /* Copy font styles of children so margin can resize correctly based on font-size. */\n "," {\n margin: 1em;\n }\n"]);return cM=function(){return e},e}function cR(){let e=(0,er._)(["\n ","\n margin-right: ","px;\n\n color: ",";\n"]);return cR=function(){return e},e}function cD(){let e=(0,er._)(["\n ","\n width: fit-content;\n\n text-align: center;\n\n color: ",";\n\n user-select: text;\n cursor: text;\n"]);return cD=function(){return e},e}function cN(){let e=(0,er._)(["\n ","\n width: fit-content;\n padding: 3px;\n border: 1px solid ",";\n border-radius: ","px;\n color: ",";\n text-align: center;\n user-select: text;\n cursor: text;\n"]);return cN=function(){return e},e}function cL(){let e=(0,er._)(["\n ","\n "," {\n margin-bottom: ","px;\n }\n"]);return cL=function(){return e},e}function cj(){let e=(0,er._)(["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n margin-top: ","px;\n text-align: center;\n\n "," {\n display: none;\n }\n "," {\n margin-top: ","px;\n }\n "," {\n margin-top: ","px;\n }\n"]);return cj=function(){return e},e}function cO(){let e=(0,er._)(["\n flex-direction: row;\n align-items: center;\n display: inline-block;\n width: 140px;\n padding: 6px 16px;\n border-width: 0px;\n border-radius: ","px;\n background-color: ","\n color: ",";\n cursor: pointer;\n animation-duration: 300ms;\n &:hover {\n background-color: ",";\n }\n\n "," {\n width: 152px;\n padding: 10px 24px;\n }\n"]);return cO=function(){return e},e}function cB(){let e=(0,er._)(["\n flex-direction: row;\n align-items: center;\n display: inline-block;\n width: 140px;\n padding: 6px 16px;\n border-width: 0px;\n border-radius: ","px;\n margin-left: ","px;\n margin-right: ","px;\n background-color: ",";\n color: ",";\n cursor: pointer;\n\n &:hover {\n background-color: ",";\n }\n\n "," {\n width: 152px;\n padding: 10px 24px;\n }\n"]);return cB=function(){return e},e}function cF(){let e=(0,er._)(["\n ","\n"]);return cF=function(){return e},e}let cZ=es.ZP.div(ck(),e=>{var t;return null!==(t=e.$backgroundCSSString)&&void 0!==t?t:"linear-gradient(180deg, rgba(70, 70, 63, 0.3) -7.82%, rgba(41, 47, 67, 0.3) 26.08%, rgba(18, 33, 35, 0.3) 66.71%),\nradial-gradient(48.43% 76.53% at 48.8% 14.58%, rgba(255, 255, 255, 0.13) 0%, rgba(226, 226, 226, 0) 100%), #000000;"}),cz=()=>eo()?"@container overlay-root (width < 320px)":"@media (max-width: 319px)",cH=es.ZP.div(cC(),cz()),cU=es.ZP.div(cS(),eh.margin.bp_01,cz(),ec._03,eh.margin.bp_03,ec._04),cV=es.ZP.h2(cE(),e=>{let{$styleOverride:t}=e;return tC(t)},eh.universal._04,eu.foreground.onbase.text_01,ec._02,eh.universal._12,ec._03,eh.universal._16),c$=es.ZP.p(cT(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_01),cG=es.ZP.a(cP(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_01),cW=es.ZP.div(cw(),eu.stroke.onbase.outline_01,8,eh.universal._04,ec._02,eh.universal._08,ec._03,eh.universal._12),cK=es.ZP.p(cA(),e=>{let{$styleOverride:t}=e;return tC(t)},eh.universal._08,eu.foreground.onbase.text_02,ec._02,eh.universal._12),cq=es.ZP.p(cI(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_02,ec._02),cY=es.ZP.p(cM(),e=>{let{$styleOverride:t}=e;return tC(t)},ec._02),cX=es.ZP.span(cR(),e=>{let{$styleOverride:t}=e;return tC(t)},eh.universal._08,eu.foreground.onbase.text_01),cJ=es.ZP.span(cD(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_01),cQ=es.ZP.span(cN(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.stroke.onbase.outline_03,2,eu.foreground.onbase.text_01),c0=(0,es.ZP)(cQ)(cL(),e=>{let{$styleOverride:t}=e;return tC(t)},ec._03,eh.universal._16),c1=es.ZP.div(cj(),eh.universal._08,cz(),ec._02,eh.universal._12,ec._03,eh.universal._16),c2=es.ZP.button(cO(),4,eu.background.alt.surface_01,eu.foreground.onalt.text_01,eu.background.alt.surface_00,ec._02),c5=es.ZP.button(cB(),4,eh.universal._16,eh.universal._16,eu.fill.action_default,eu.foreground.onbase.text_01,eu.button.fill_quiet_hover,ec._02),c6=es.ZP.span(cF(),e=>{let{$styleOverride:t}=e;return tC(t)}),c4=async()=>{try{return await function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Error("Promise timed out");return Promise.race([e,new Promise((e,i)=>{t>2e3&&i(Error("Please limit your ms param to ".concat(2e3,"ms max"))),setTimeout(()=>{i(n)},t)})])}(fetch("https://fly.eu.dev.media.max.com/stickyfile.txt",{method:"HEAD"}),500,Error("Request timed out")),!0}catch(e){return console.error("Error while checking internet connectivity",e),!1}},c3=new Map([["Windows NT 5.0",5],["Windows NT 5.01",5],["Windows NT 5.1",5],["Windows NT 5.2",5],["Windows NT 6.0",6],["Windows NT 6.1",7],["Windows NT 6.2",8],["Windows NT 6.3",8.1],["Windows NT 10.0",10]]),c7=e=>{var t,n,i;let a=null===(t=null==window?void 0:window.navigator)||void 0===t?void 0:t.userAgent.split(/[();\s]/),r=null==a?void 0:a.indexOf("Windows");if(r>-1){let t=a[r]+" "+a[r+1]+" "+a[r+2],s=null!==(n=c3.get(t))&&void 0!==n?n:0,o=null===(i=e.os.find(e=>"windows"===e.name))||void 0===i?void 0:i.minSupportedVersion;if(o&&s>0&&o>s)return!0}return!1},c9="inside.blackout.area",c8="concurrentstreams.contentsegment.exceeded",ue="access.denied.geoblocked",ut="1K-0015",un="error.internet.no.connection",ui="not.found",ua="error.reauthentication.required",ur="access.denied.after.playable.windows",us="access.denied.before.playable.windows",uo="access.denied.asset.not.streamable",ul="concurrentstreams.exceeded",ud=new Map([[1000001,ui],[1000002,ue],[1000004,ul],[1000005,ur],[1000006,us],[1000020,c9],[1000025,uo],[1000022,ua],[1000026,c8],[2320005,ut],[9e6,un]]);(C=ee||(ee={})).None="none",C.SessionID="sessionID",C.All="all";let uc={titleKey:"Player.Error.Entitlements.Title",subtitleKey:"Player.Error.Information.Label",canTryAgain:!1,detailsVisibility:ee.SessionID},uu={titleKey:"Player.Error.DefaultError.Title",subtitleKey:"Player.Error.DefaultError.Message",canTryAgain:!0,detailsVisibility:ee.All},uf={[ul]:()=>({titleKey:"Player.Error.StreamLimit.Title",subtitleKey:"Player.Error.StreamLimit.Subtitle",canTryAgain:!1,detailsVisibility:ee.SessionID}),[ue]:()=>({titleKey:"Player.Error.GeoRestriction.Title",subtitleKey:"Player.Error.GeoRestriction.Subtitle",canTryAgain:!1,detailsVisibility:ee.SessionID}),"1K-0005":()=>uc,"1K-0006":()=>uc,"classification.drm.error":()=>uc,[c9]:()=>({titleKey:"Player.Error.Blackout.Title",subtitleKey:"Player.Error.Blackout.Subtitle",canTryAgain:!1,detailsVisibility:ee.SessionID}),[ur]:()=>({titleKey:"Player.Error.Event.Ended.Title",canTryAgain:!1,detailsVisibility:ee.None}),[us]:()=>({titleKey:"Player.Error.EventNotStartedYet.Title",subtitleKey:"Player.Error.EventNotStartedYet.Subtitle",canTryAgain:!1,detailsVisibility:ee.None}),[ua]:()=>({titleKey:"Player.Error.ReauthenticationRequired.Title",subtitleKey:"Player.Error.ReauthenticationRequired.Subtitle",canTryAgain:!1,detailsVisibility:ee.None,dismissTextKey:"Player.Error.Continue"}),[ui]:()=>({titleKey:"Player.Error.UnableToPlay.Title",subtitleKey:"Player.Error.UnableToPlay.Subtitle",canTryAgain:!0,detailsVisibility:ee.None}),[uo]:()=>({titleKey:"Player.Error.UnableToPlay.Title",subtitleKey:"Player.Error.UnableToPlay.Subtitle",canTryAgain:!0,detailsVisibility:ee.None}),[c8]:()=>({titleKey:"Player.Error.ConcurrentStreamsExceeded.Title",subtitleKey:"Player.Error.ConcurrentStreamsExceeded.Subtitle",canTryAgain:!1,detailsVisibility:ee.None}),[un]:()=>({titleKey:"Player.Error.Internet.Connection",subtitleKey:"Player.Error.Internet.Disconnect",canTryAgain:!1,detailsVisibility:ee.None}),"1K-0033":function(){let{supportedEnvironments:e,stackTrace:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(null==t?void 0:t.includes("device_revoked")){let t={titleKey:"Player.Error.OutdatedBrowser.Title",subtitleKey:"Player.Error.OutdatedBrowser.Subtitle",canTryAgain:!1,detailsVisibility:ee.None};return e&&c7(e)&&(t={...t,titleKey:"Player.Error.OutdatedOS.Title",subtitleKey:"Player.Error.OutdatedOS.Subtitle"}),t}return uu},[ut]:()=>uu};class u_ extends t5{_transitionToState(e){let t=this.state$.getValue();this._log("._transitionToState","Transitioning from state: ".concat(t," to state: ").concat(e)),t!==e&&this.state$.next(e)}_handleErrorEvent(e,t){this.errorEvent$.next(e),this.lastPlayheadMs=t,this._transitionToState("SHOWING")}get errorMetadata$(){return this.errorEvent$.pipe((0,t4.U)(e=>{var t,n,i;if(!e)return;let a=(null===(t=e.classification)||void 0===t?void 0:t.numeric)!==void 0?ud.get(null!==(i=null===(n=e.classification)||void 0===n?void 0:n.numeric)&&void 0!==i?i:NaN):null,r=null!=a?a:e.errorCode,s=uu;return void 0!==uf[r]&&(s=uf[r]({stackTrace:e.stackTrace,supportedEnvironments:this._supportedEnvironments})),{data:this._normalizeRetryOption(e,s),playbackSessionId:e.playbackSessionId,errorCode:e.errorCode,errorSource:e.errorSource,classification:e.classification}}))}_normalizeRetryOption(e,t){var n,i,a;let r=(null!==(i=null===(n=e.activeStreamInfo)||void 0===n?void 0:n.streamMode)&&void 0!==i?i:tb.Aw.VOD)===tb.Aw.VOD?"VOD":"LIVE";return(null===(a=this._streamModesWithRetryDisabled)||void 0===a?void 0:a.includes(r))&&(t.canTryAgain=!1),t}reset(){this.errorEvent$.next(void 0),this.lastPlayheadMs=0,this._transitionToState("RETRY"),this._transitionToState("READY")}constructor(e){super(e),this.errorEvent$=new tQ.X(void 0),this.state$=new tQ.X("READY"),this.lastPlayheadMs=0,this._streamModesWithRetryDisabled=e.streamModesWithRetryDisabled,this._supportedEnvironments=e.supportedEnvironments,this._addSubscription("playheadTracker",e.playerEvents.playbackProgress$.pipe((0,t4.U)(e=>e.playheadData.contentPlayheadMs)).subscribe(e=>{this.lastPlayheadMs=e})),this._addSubscription("playerErrorHandler",e.playerEvents.playerError$.subscribe(e=>{this._handleErrorEvent(e,this.lastPlayheadMs)}))}}let uh=e=>{var t,n;let{errorCode:i,errorData:a,sessionID:r}=e,s=en.Yt.instance,o=tv();switch(a.detailsVisibility){case ee.SessionID:return(0,et.jsxs)(et.Fragment,{children:[(0,et.jsx)(cK,{$styleOverride:o.getErrorReportInstructionsTextStyle(),children:null!==(t=a.contactMessage)&&void 0!==t?t:s.localize("Player.Error.Contact")}),(0,et.jsx)(c0,{"data-testid":"player-ux-error-session-id",$styleOverride:o.getErrorSessionIdTextStyle(),children:r})]});case ee.All:return(0,et.jsxs)(cW,{children:[(0,et.jsx)(cq,{$styleOverride:o.getErrorBodyTextStyle(),children:null!==(n=a.contactMessage)&&void 0!==n?n:s.localize("Player.Error.Contact")}),(0,et.jsxs)(cY,{$styleOverride:o.getErrorBodyTextStyle(),children:[(0,et.jsx)(cX,{$styleOverride:o.getErrorSessionIdTextStyle(),children:s.localize("Player.Error.ErrorCode.Title")}),(0,et.jsx)(cJ,{$styleOverride:o.getErrorSessionIdTextStyle(),"data-testid":"player-ux-error-code",children:i})]}),(0,et.jsxs)(cY,{$styleOverride:o.getErrorBodyTextStyle(),children:[(0,et.jsx)(cX,{$styleOverride:o.getErrorSessionIdTextStyle(),children:s.localize("Player.Error.SessionId.Title")}),(0,et.jsx)(cQ,{$styleOverride:o.getErrorSessionIdTextStyle(),"data-testid":"player-ux-error-session-id",children:r})]})]});case ee.None:default:return(0,et.jsx)(et.Fragment,{})}},um=en.Yt.instance,up=e=>{var t,n;return{title:um.localize(e.titleKey),subtitle:e.subtitleKey?um.localize(e.subtitleKey):void 0,link:um.localize(null!==(t=e.linkKey)&&void 0!==t?t:"Player.Error.LinkToHelp"),linkText:um.localize(null!==(n=e.linkTextKey)&&void 0!==n?n:"Player.Error.VisitHelpCenter"),canTryAgain:e.canTryAgain,detailsVisibility:e.detailsVisibility,dismissText:e.dismissTextKey?um.localize(e.dismissTextKey):void 0}},ug=e=>{var t;let{backgroundCSS:n,backHandler:i,controller:a,muxErrorCodeMapping:r,playerCallbacks:s,preRetryInternetCheck:o,unloadOnExpiredDRMKeys:l,playerId:d}=e,[c,u]=(0,ea.useState)(null),[f,_]=(0,ea.useState)(void 0),{contentMetadata:h}=(0,ea.useContext)(tx),m=(0,ea.useRef)(h),p=(0,ea.useRef)(),g=tv(),v=(0,ea.useCallback)(e=>{ni.b.instance.event((0,en.Tk)(e,en.kM.id,d,{},p.current))},[d]);(0,ea.useEffect)(()=>{let e=a.error.errorMetadata$.subscribe(e=>{var t,n,a;if(!e){p.current=void 0;return}if(l&&((null===(t=null==e?void 0:e.classification)||void 0===t?void 0:t.numeric)===2320005||(null==e?void 0:e.errorCode)==="1K-0015")){i.goBack("default");return}p.current=e.playbackSessionId;let s=up(e.data);(0,en.K3)(s.title,en.Po.ASSERTIVE),u(s),_((null===(n=e.classification)||void 0===n?void 0:n.numeric)?e.classification.numeric.toString():(0,cy.a)(null!==(a=e.errorSource)&&void 0!==a?a:"",e.errorCode,r||void 0))});return()=>{e.unsubscribe()}},[r,a,l,i]),(0,ea.useEffect)(()=>{m.current||(m.current=h)},[h]);let b=(0,ea.useCallback)(async()=>{(!o||await c4())&&m.current&&(v("retry"),s.requestLoad(m.current,a.error.lastPlayheadMs),m.current=void 0,a.error.reset())},[a.error,v,s,o]),x=(0,ea.useCallback)(()=>{v("exit"),i.goBack("default")},[i,v]);return c?(0,et.jsxs)(cZ,{$backgroundCSSString:n,children:[(0,et.jsx)(cH,{children:(0,et.jsx)(n1,{})}),(0,et.jsxs)(cU,{children:[(0,et.jsx)(cV,{"data-testid":"player-ux-error-title",$styleOverride:g.getErrorTitleTextStyle(),children:c.title}),c.subtitle&&(0,et.jsxs)(c$,{"data-testid":"player-ux-error-subtitle",$styleOverride:g.getErrorBodyTextStyle(),children:[c.subtitle,"\xa0",(0,et.jsx)(cG,{"data-testid":"player-ux-error-link",href:c.link,$styleOverride:g.getErrorSupportUrlTextStyle(),children:c.linkText})]}),(0,et.jsx)(uh,{errorCode:f,errorData:c,sessionID:p.current})]}),(0,et.jsx)(c1,{children:c.canTryAgain?(0,et.jsxs)(et.Fragment,{children:[(0,et.jsx)(c2,{"data-testid":"player-ux-error-try-again",onClick:b,"aria-label":um.localize("Player.Error.TryPlaybackAgain"),children:(0,et.jsx)(c6,{$styleOverride:g.getErrorButtonTextStyle(),children:um.localize("Player.Error.TryAgain")})}),(0,et.jsx)(c5,{"data-testid":"player-ux-error-exit",onClick:x,"aria-label":um.localize("Player.Controls.Focus.Back"),children:(0,et.jsx)(c6,{$styleOverride:g.getErrorButtonTextStyle(),children:null!==(t=c.dismissText)&&void 0!==t?t:um.localize("Player.Error.GoBack")})})]}):(0,et.jsx)(c2,{"data-testid":"player-ux-error-exit",onClick:x,"aria-label":um.localize("Player.Controls.Focus.Back"),children:(0,et.jsx)(c6,{$styleOverride:g.getErrorBodyTextStyle(),children:um.localize("Player.Error.GoBack")})})})]}):(0,et.jsx)(et.Fragment,{})};class uv extends t3{get overlayVisible$(){return this.error.state$.pipe((0,t4.U)(e=>"SHOWING"===e))}get error(){return this.adaptors.get("error")}constructor(e){super(e),this.adaptors.set("error",new u_(e))}}class ub{destroy(){this.view=(0,et.jsx)(et.Fragment,{}),this._controller.destroy(),this._subscriptions.forEach(e=>e.unsubscribe())}constructor(e,t,n,i,a,r,s,o,l,d,c,u="auto"){this.id=en.kM.id,this.zOrderIndex=en.kM.zOrderIndex,this.policy=en.kM.overlayPolicy,this._subscriptions=[],this._firstLoad=!0,this.viewType="ReactElement",this._controller=new uv({logger:c,playerEvents:e,streamModesWithRetryDisabled:s,supportedEnvironments:l}),this.view=(0,et.jsx)(ug,{controller:this._controller,playerCallbacks:t,backgroundCSS:a,backHandler:n,preRetryInternetCheck:r,muxErrorCodeMapping:o,unloadOnExpiredDRMKeys:d,playerId:i,direction:u}),this._subscriptions.push(this._controller.overlayVisible$.subscribe(e=>{t.requestVisibilityChange(en.kM.id,e)}),e.playbackState$.subscribe(e=>{"PlaybackInfoResolutionStartEvent"===e.playbackEventType&&(this._firstLoad||this._controller.error.reset(),this._firstLoad=!1)}))}}class ux{create(e,t,n,i,a,r,s){return new ub(e,t,this._backHandler,a,this._backgroundCSS,this._preRetryInternetCheck,this._streamModesWithRetryDisabled,this._muxErrorCodeMapping,this._supportedEnvironments,this._unloadOnExpiredDRMKeys,r,s)}constructor(e,t,n,i,a,r,s){this._backHandler=e,this._backgroundCSS=n,this._preRetryInternetCheck=t,this._streamModesWithRetryDisabled=i,this._muxErrorCodeMapping=a,this._supportedEnvironments=r,this._unloadOnExpiredDRMKeys=s}}function uy(){let e=(0,er._)(["\n display: flex;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.7);\n "," {\n background: linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.2) 119.26%);\n }\n"]);return uy=function(){return e},e}function uk(){let e=(0,er._)(["\n display: flex;\n flex: 1;\n flex-direction: column;\n flex-wrap: nowrap;\n align-items: flex-end;\n justify-content: flex-end;\n margin: ","px;\n "," {\n margin: ","px;\n margin: ","px;\n }\n"]);return uk=function(){return e},e}function uC(){let e=(0,er._)(["\n display: flex;\n flex: 0;\n justify-content: flex-end;\n width: 100%;\n position: relative;\n left: 24px;\n"]);return uC=function(){return e},e}function uS(){let e=(0,er._)(["\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n min-height: 0px;\n width: 100%;\n "," {\n max-width: 700px;\n }\n"]);return uS=function(){return e},e}function uE(){let e=(0,er._)(["\n ","\n color: ",";\n background-color: ",";\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: ","px ","px;\n"]);return uE=function(){return e},e}function uT(){let e=(0,er._)(["\n ","\n margin: 0;\n"]);return uT=function(){return e},e}function uP(){let e=(0,er._)(["\n color: #ffffff;\n display: flex;\n flex-direction: column;\n width: 100%;\n"]);return uP=function(){return e},e}function uw(){let e=(0,er._)(["\n display: flex;\n flex-direction: row;\n"]);return uw=function(){return e},e}function uA(){let e=(0,er._)(["\n ","\n margin: 0;\n"]);return uA=function(){return e},e}function uI(){let e=(0,er._)(["\n ","\n margin: 0;\n"]);return uI=function(){return e},e}function uM(){let e=(0,er._)(["\n ","\n margin: 0;\n"]);return uM=function(){return e},e}function uR(){let e=(0,er._)(["\n display: ",";\n width: 100%;\n height: 100%;\n"]);return uR=function(){return e},e}function uD(){let e=(0,er._)(["\n margin: 0px ","px 0px;\n padding-top: ","px;\n\n "," {\n margin: 0px ","px 0px;\n }\n\n "," {\n margin: 0px ","px 0px;\n }\n\n "," {\n margin: 0px ","px 0px;\n padding-top: ","px;\n }\n\n "," {\n margin: 0px ","px 0px;\n }\n"]);return uD=function(){return e},e}function uN(){let e=(0,er._)(["\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n color: #ffffff;\n\n ","\n"]);return uN=function(){return e},e}function uL(){let e=(0,er._)(["\n display: flex;\n justify-content: space-between;\n"]);return uL=function(){return e},e}function uj(){let e=(0,er._)(["\n display: flex;\n flex-basis: 100%;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n position: relative;\n"]);return uj=function(){return e},e}function uO(){let e=(0,er._)(["\n background: radial-gradient(closest-side, #000000, transparent);\n opacity: 75%;\n position: absolute;\n width: 100%;\n height: 100%;\n"]);return uO=function(){return e},e}function uB(){let e=(0,er._)(["\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n flex-basis: 100%;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n"]);return uB=function(){return e},e}function uF(){let e=(0,er._)(["\n display: flex;\n flex-direction: column;\n"]);return uF=function(){return e},e}function uZ(){let e=(0,er._)(["\n flex-basis: 20%;\n width: 100%;\n margin: auto;\n position: relative;\n"]);return uZ=function(){return e},e}function uz(){let e=(0,er._)(["\n display: flex;\n flex-basis: 80%;\n justify-content: space-between;\n"]);return uz=function(){return e},e}function uH(){let e=(0,er._)(["\n margin: auto;\n display: flex;\n flex: 1;\n"]);return uH=function(){return e},e}function uU(){let e=(0,er._)(["\n display: flex;\n text-align: center;\n justify-content: center;\n min-height: 80px;\n padding-bottom: 10px;\n"]);return uU=function(){return e},e}function uV(){let e=(0,er._)(["\n display: flex;\n flex: 1;\n flex-direction: row;\n justify-content: flex-end;\n\n min-width: 144px;\n position: relative;\n inset-inline-start: 20px;\n"]);return uV=function(){return e},e}function u$(){let e=(0,er._)(["\n align-items: end;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n margin-bottom: ","px;\n\n "," {\n margin-bottom: ","px;\n }\n"]);return u$=function(){return e},e}function uG(){let e=(0,er._)(["\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n background: ",";\n background-size: cover;\n background-position: center;\n"]);return uG=function(){return e},e}function uW(){let e=(0,er._)(["\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n width: 100%;\n height: 100%;\n margin: 0;\n color: #ffffff;\n\n ","\n"]);return uW=function(){return e},e}function uK(){let e=(0,er._)(["\n margin-top: ","px;\n display: flex;\n"]);return uK=function(){return e},e}es.ZP.div(uy(),ec._05),es.ZP.div(uk(),eh.margin.bp_03,ec._05,eh.margin.bp_05,2*eh.margin.bp_05),es.ZP.div(uC()),es.ZP.div(uS(),ec._05),es.ZP.div(uE(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_notify_message,eu.fill.notify_message,eh.universal._12,eh.universal._16),es.ZP.p(uT(),e=>{let{$styleOverride:t}=e;return tC(t)}),es.ZP.div(uP()),es.ZP.div(uw()),es.ZP.h2(uA(),e=>{let{$styleOverride:t}=e;return tC(t)}),es.ZP.h2(uI(),e=>{let{$styleOverride:t}=e;return tC(t)}),es.ZP.h2(uM(),e=>{let{$styleOverride:t}=e;return tC(t)}),es.ZP.div(uR(),e=>e.$display?"none":"flex");let uq=()=>(0,es.iv)(uD(),eh.margin.bp_01,eh.universal._32,ec._03,eh.margin.bp_03,ec._04,eh.margin.bp_04,ec._05,eh.margin.bp_05,eh.universal._44,ec._06,eh.margin.bp_06);function uY(){let e=(0,er._)(["\n pointer-events: none;\n display: flex;\n flex-direction: row;\n position: absolute;\n top: 5%;\n right: 5%;\n width: 90%;\n height: 90%;\n justify-content: flex-start;\n align-items: flex-start;\n overflow: hidden;\n overflow-x: hidden;\n background-size: cover;\n background-color: rgba(0, 0, 0, 0.5);\n"]);return uY=function(){return e},e}function uX(){let e=(0,er._)(["\n pointer-events: none;\n display: flex;\n flex-direction: column;\n"]);return uX=function(){return e},e}function uJ(){let e=(0,er._)(["\n pointer-events: none;\n display: flex;\n flex-direction: column;\n background-color: rgba(188, 188, 188, 0.75);\n margin: 4px;\n padding: 2px;\n"]);return uJ=function(){return e},e}function uQ(){let e=(0,er._)(["\n pointer-events: none;\n display: flex;\n flex-direction: row;\n background-color: rgba(46, 45, 45, 0.75);\n margin: 4px;\n padding: 2px;\n"]);return uQ=function(){return e},e}function u0(){let e=(0,er._)(["\n ","\n display: flex;\n text-align: center;\n color: ",";\n"]);return u0=function(){return e},e}function u1(){let e=(0,er._)(["\n ","\n display: flex;\n text-align: center;\n color: ",";\n margin-left: 8px;\n white-space: nowrap;\n"]);return u1=function(){return e},e}function u2(){let e=(0,er._)(["\n pointer-events: auto;\n width: 100%;\n border-collapse: collapse;\n margin-top: 10px;\n overflow: hidden;\n overflow-x: auto;\n\n th,\n td {\n border: 1px solid rgba(91, 91, 91, 0.75);\n padding: 8px;\n text-align: left;\n white-space: nowrap;\n }\n\n th {\n background-color: rgba(71, 71, 71, 0.9);\n color: ",";\n }\n\n td {\n background-color: rgba(91, 91, 91, 0.75);\n color: ",";\n }\n"]);return u2=function(){return e},e}function u5(){let e=(0,er._)(["\n &:nth-child(even) {\n background-color: rgba(91, 91, 91, 0.6);\n }\n\n &:hover {\n background-color: rgba(71, 71, 71, 0.85);\n }\n"]);return u5=function(){return e},e}function u6(){let e=(0,er._)(["\n ","\n padding: 8px;\n text-align: center;\n background-color: rgba(71, 71, 71, 0.9);\n color: ",";\n"]);return u6=function(){return e},e}function u4(){let e=(0,er._)(["\n ","\n padding: 8px;\n text-align: center;\n color: ",";\n background-color: rgba(91, 91, 91, 0.75);\n min-width: 80px;\n\n &:first-child {\n width: 140px;\n }\n\n &:last-child {\n align-self: stretch;\n }\n"]);return u4=function(){return e},e}function u3(){let e=(0,er._)(["\n display: flex;\n -webkit-tap-highlight-color: transparent;\n justify-content: flex-end;\n position: absolute;\n float: right;\n height: 20px;\n padding-top: 6px;\n padding-right: 2px;\n padding-bottom: 2px;\n padding-left: 2px;\n align-items: center;\n width: 98%;\n"]);return u3=function(){return e},e}function u7(){let e=(0,er._)(["\n display: flex;\n appearance: none;\n background: none;\n border: solid;\n cursor: pointer;\n user-select: none;\n pointer-events: all;\n opacity: 0.85;\n -webkit-tap-highlight-color: transparent;\n height: 20px;\n width: 50px;\n color: ",";\n"]);return u7=function(){return e},e}es.ZP.div(uN(),uq()),es.ZP.div(uL()),es.ZP.div(uj()),es.ZP.div(uO()),es.ZP.div(uB()),es.ZP.div(uF()),es.ZP.div(uZ()),es.ZP.div(uz()),es.ZP.div(uH()),es.ZP.div(uU()),es.ZP.div(uV()),es.ZP.div(u$(),eh.universal._20-8,ec._05,eh.universal._28-8),es.ZP.div(uG(),e=>e.$backgroundCSSString?"no-repeat "+e.$backgroundCSSString:"#060212"),es.ZP.div(uW(),uq()),es.ZP.div(uK(),eh.universal._16),es.ZP.div(uY()),es.ZP.div(uX()),es.ZP.div(uJ()),es.ZP.div(uQ()),es.ZP.span(u0(),td.misc.label_sm_strong,eu.foreground.onalt.text_02),es.ZP.span(u1(),td.misc.code,eu.foreground.onalt.text_02),es.ZP.table(u2(),eu.foreground.onbase.text_01,eu.foreground.onbase.text_02),es.ZP.tr(u5()),es.ZP.th(u6(),td.misc.code,eu.foreground.onbase.text_01),es.ZP.td(u4(),td.misc.code,eu.foreground.onbase.text_02),es.ZP.div(u3()),es.ZP.button(u7(),eu.foreground.onbase.text_notify_message);class u9{initialize(){}flush(){}instrument(e){let t=this._getDebugInstrumentationDataForFlowReportData(e);this._cachedReportData.push(t),this._cachedReportData.length>u9._MAX_REPORT_DATA_TO_STORE&&this._cachedReportData.shift(),this._reportDataToRender$.next(this._cachedReportData)}event(e){}isEnabled(){return!0}_getDebugInstrumentationDataForFlowReportData(e){var t;return{key:"".concat(e.creationTimestampMs,"/").concat(e.flowName),timestamp:e.creationTimestampMs,name:e.flowName,uri:e.flowUri,status:e.flowState,parent:this._getParentName(e),duration:void 0!==e.flowDurationMs?"".concat(e.flowDurationMs):"",color:this._getReportDataColor(e),error:null===(t=e.flowErrorCause)||void 0===t?void 0:t.message}}_getParentName(e){let t=e.flowUri.split("/");return t.length>=u9._FLOW_URI_MIN_PARTS_FOR_PARENT?t[t.length-1-u9._FLOW_URI_PARTS_END_OFFSET_TO_PARENT]:u9._REPORT_DATA_NO_PARENT_NAME}_getReportDataColor(e){switch(e.flowState){case"SUCCESSFUL":return"rgba(51, 170, 71, 0.5)";case"CANCELLED":return"rgba(51, 21, 131, 0.5)";case"FAILED":return e.flowErrorIsRecoverable?"rgba(163, 92, 29, 1)":"rgba(163, 29, 29, 1)";default:return"rgba(46, 45, 45, 0.5)"}}constructor(){this._cachedReportData=[],this._reportDataToRender$=new t9.x,this.reportDataToRender$=this._reportDataToRender$.asObservable()}}function u8(){let e=(0,er._)(["\n margin: 0px ","px 0px;\n padding: ","px 0px ","px;\n\n "," {\n margin: 0px ","px 0px;\n }\n\n "," {\n margin: 0px ","px 0px;\n }\n\n "," {\n margin: 0px ","px 0px;\n padding: ","px 0px ","px;\n }\n\n "," {\n margin: 0px ","px 0px;\n }\n"]);return u8=function(){return e},e}function fe(){let e=(0,er._)(["\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n color: #ffffff;\n\n ","\n"]);return fe=function(){return e},e}function ft(){let e=(0,er._)(["\n display: flex;\n justify-content: space-between;\n"]);return ft=function(){return e},e}function fn(){let e=(0,er._)(["\n display: flex;\n position: relative;\n right: 20px;\n"]);return fn=function(){return e},e}function fi(){let e=(0,er._)(["\n display: flex;\n position: relative;\n left: 20px;\n"]);return fi=function(){return e},e}function fa(){let e=(0,er._)(["\n display: flex;\n flex-basis: 100%;\n align-items: center;\n justify-content: center;\n"]);return fa=function(){return e},e}function fr(){let e=(0,er._)(["\n display: flex;\n flex-direction: column;\n"]);return fr=function(){return e},e}function fs(){let e=(0,er._)(["\n display: flex;\n position: relative;\n margin-bottom: ","px;\n\n "," {\n margin-bottom: ","px;\n }\n"]);return fs=function(){return e},e}function fo(){let e=(0,er._)(["\n display: flex;\n flex-direction: row-reverse;\n position: relative;\n"]);return fo=function(){return e},e}u9._FLOW_URI_MIN_PARTS_FOR_PARENT=4,u9._FLOW_URI_PARTS_END_OFFSET_TO_PARENT=1,u9._MAX_REPORT_DATA_TO_STORE=100,u9._REPORT_DATA_NO_PARENT_NAME="null";let fl=(0,es.iv)(u8(),eh.margin.bp_01,eh.universal._32,eh.universal._20,ec._03,eh.margin.bp_03,ec._04,eh.margin.bp_04,ec._05,eh.margin.bp_05,eh.universal._44,eh.universal._24,ec._06,eh.margin.bp_06);function fd(){let e=(0,er._)(["\n width: 100%;\n height: 100%;\n overflow: hidden;\n position: absolute;\n top: 0;\n"]);return fd=function(){return e},e}function fc(){let e=(0,er._)(["\n display: flex;\n padding: ","px;\n justify-content: flex-end;\n\n z-index: 1;\n"]);return fc=function(){return e},e}function fu(){let e=(0,er._)(["\n justify-items: end;\n "," {\n padding-right: 20px;\n }\n "," {\n padding-right: 24px;\n }\n "," {\n padding-right: 36px;\n }\n "," {\n padding-right: 60px;\n }\n"]);return fu=function(){return e},e}function ff(){let e=(0,er._)(["\n from {\n translate: 0px 233px;\n }\n to {\n translate: 0px 0px;\n }\n"]);return ff=function(){return e},e}function f_(){let e=(0,er._)(["\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n"]);return f_=function(){return e},e}function fh(){let e=(0,er._)(["\n from {\n opacity: 1;\n translate: 0px 0px;\n }\n to {\n opacity: 0;\n translate: 0px 15px;\n }\n"]);return fh=function(){return e},e}function fm(){let e=(0,er._)(["300ms "," cubic-bezier(0, 0, 0.34, 1), 400ms "," cubic-bezier(0.66, 0, 0.34, 1)"]);return fm=function(){return e},e}function fp(){let e=(0,er._)(["300ms "," cubic-bezier(0, 0, 0.34, 0.1)"]);return fp=function(){return e},e}function fg(){let e=(0,er._)(["\n display: flex;\n bottom: 0;\n flex-direction: column;\n opacity: ",";\n position: absolute;\n animation: ",";\n width: 100%;\n left: 0;\n"]);return fg=function(){return e},e}function fv(){let e=(0,er._)(["\n justify-content: space-between;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n padding-left: 20px;\n "," {\n padding-left: 24px;\n }\n "," {\n padding-left: 36px;\n }\n "," {\n padding-left: 48px;\n }\n "," {\n padding-left: 60px;\n }\n"]);return fv=function(){return e},e}function fb(){let e=(0,er._)(["\n display: flex;\n justify-content: flex-start;\n height: 100%;\n font-size: 18px;\n font-weight: bold;\n color: ",";\n overflow: hidden;\n"]);return fb=function(){return e},e}function fx(){let e=(0,er._)(["\n display: flex;\n flex-basis: 80%;\n padding: 24px 0 40px;\n box-sizing: border-box;\n "," {\n padding-top: 12px;\n padding-bottom: 32px;\n }\n "," {\n padding-top: 20px;\n padding-bottom: 40px;\n }\n z-index: 2;\n"]);return fx=function(){return e},e}function fy(){let e=(0,er._)(["\n justify-content: flex-start;\n height: 100%;\n"]);return fy=function(){return e},e}function fk(){let e=(0,er._)(["\n display: flex;\n background-color: rgba(0, 0, 0, 0.4);\n width: 100%;\n height: 100%;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n"]);return fk=function(){return e},e}function fC(){let e=(0,er._)(["\n ","\n text-align: center;\n color: white;\n"]);return fC=function(){return e},e}es.ZP.div(fe(),fl),es.ZP.div(ft()),es.ZP.div(fn()),es.ZP.div(fi()),es.ZP.div(fa()),es.ZP.div(fr()),es.ZP.div(fs(),eh.universal._20-8,ec._05,eh.universal._28-8),es.ZP.div(fo()),es.ZP.div(fd()),es.ZP.div(fc(),eh.universal._48),es.ZP.div(fu(),ec._02,ec._03,ec._04,ec._05);let fS=(0,es.F4)(ff()),fE=(0,es.F4)(f_()),fT=(0,es.F4)(fh());function fP(){let e=(0,er._)(["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n pointer-events: none;\n display: flex;\n"]);return fP=function(){return e},e}function fw(){let e=(0,er._)(["\n color: white;\n margin: 0;\n margin-bottom: 5px;\n padding-left: 1rem;\n font-size: 2.9167vw;\n"]);return fw=function(){return e},e}function fA(){let e=(0,er._)(["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n pointer-events: none;\n width: 100%;\n height: 100%;\n text-align: center;\n align-content: center;\n"]);return fA=function(){return e},e}function fI(){let e=(0,er._)(["\n inset: 0;\n position: absolute;\n"]);return fI=function(){return e},e}function fM(){let e=(0,er._)(["\n position: absolute;\n transition: bottom 200ms cubic-bezier(0, 0, 0.34, 1);\n\n top: 88px;\n bottom: calc(var(",", 64px) + 20px);\n left: ","px;\n right: ","px;\n\n "," {\n top: 100px;\n bottom: calc(var(",", 60px) + 24px);\n left: ","px;\n right: ","px;\n }\n "," {\n bottom: calc(var(",", 56px) + 28px);\n left: ","px;\n right: ","px;\n }\n"]);return fM=function(){return e},e}function fR(){let e=(0,er._)(["\n position: relative;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n max-height: 100%;\n"]);return fR=function(){return e},e}function fD(){let e=(0,er._)(["\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n box-sizing: border-box;\n\n position: absolute;\n top: 0px;\n left: 0px;\n height: 88px;\n width: 100%;\n padding: 0px ","px;\n "," {\n height: 100px;\n }\n\n z-index: 1;\n"]);return fD=function(){return e},e}function fN(){let e=(0,er._)(["\n display: flex;\n flex: 1;\n flex-direction: row;\n justify-content: flex-end;\n\n min-width: 144px;\n position: relative;\n left: 20px;\n\n z-index: 1;\n"]);return fN=function(){return e},e}function fL(){let e=(0,er._)(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n\n position: absolute;\n left: 0px;\n bottom: 0px;\n height: 84px;\n width: 100%;\n padding: 0px ","px;\n"]);return fL=function(){return e},e}function fj(){let e=(0,er._)(["\n display: flex;\n flex-grow: 1;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n"]);return fj=function(){return e},e}function fO(){let e=(0,er._)(["\n display: flex;\n flex-shrink: 0;\n flex-direction: row;\n align-items: center;\n justify-content: flex-end;\n"]);return fO=function(){return e},e}function fB(){let e=(0,er._)(["\n border-radius: ","px;\n border: ","px solid ",";\n box-sizing: border-box;\n outline: ","px solid ",";\n position: absolute;\n visibility: visible !important;\n\n ",";\n"]);return fB=function(){return e},e}function fF(){let e=(0,er._)(["\n align-items: flex-end;\n background: linear-gradient(\n 180deg,\n rgba(0, 0, 0, 0) 13%,\n rgba(0, 0, 0, 0.05) 20%,\n rgba(0, 0, 0, 0.1) 27%,\n rgba(0, 0, 0, 0.15) 33%,\n rgba(0, 0, 0, 0.25) 40%,\n rgba(0, 0, 0, 0.38) 47%,\n rgba(0, 0, 0, 0.47) 53%,\n rgba(0, 0, 0, 0.57) 60%,\n rgba(0, 0, 0, 0.65) 67%,\n rgba(0, 0, 0, 0.72) 73%,\n rgba(0, 0, 0, 0.78) 80%,\n rgba(0, 0, 0, 0.82) 87%,\n rgba(0, 0, 0, 0.84) 93%,\n rgba(0, 0, 0, 0.85) 100%\n );\n box-sizing: border-box;\n cursor: pointer;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n opacity: 0;\n padding: 0;\n position: absolute;\n transition: opacity 100ms cubic-bezier(0, 0, 0.34, 1);\n\n ",";\n\n &:hover,\n &:focus-visible {\n border-radius: ","px;\n border: ","px solid ",";\n opacity: 1;\n outline: ","px solid ",";\n }\n"]);return fF=function(){return e},e}function fZ(){let e=(0,er._)(["\n position: absolute;\n z-index: 1;\n\n height: 100%;\n width: 100%;\n\n background: linear-gradient(\n 225deg,\n rgba(0, 0, 0, 0.5) 0%,\n rgba(0, 0, 0, 0.3) 12%,\n rgba(0, 0, 0, 0.2) 24%,\n rgba(0, 0, 0, 0) 50%\n );\n"]);return fZ=function(){return e},e}function fz(){let e=(0,er._)(["\n z-index: 2;\n\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n\n margin-left: 16px;\n margin-bottom: 12px;\n\n overflow: hidden;\n\n span {\n overflow: hidden;\n text-wrap-mode: nowrap;\n text-overflow: ellipsis;\n }\n"]);return fz=function(){return e},e}function fH(){let e=(0,er._)(["\n ","\n color: ",";\n"]);return fH=function(){return e},e}function fU(){let e=(0,er._)(["\n ","\n color: ",";\n"]);return fU=function(){return e},e}function fV(){let e=(0,er._)(["\n z-index: 2;\n\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n height: 100%;\n"]);return fV=function(){return e},e}function f$(){let e=(0,er._)(["\n box-sizing: content-box;\n\n height: ","px;\n width: ","px;\n padding: ","px;\n margin: ","px;\n"]);return f$=function(){return e},e}function fG(){let e=(0,er._)(["\n cursor: pointer;\n"]);return fG=function(){return e},e}es.ZP.div(fg(),e=>{let{$show:t}=e;return t?"1":"0"},e=>{let{$show:t}=e;return t?(0,es.iv)(fm(),fE,fS):(0,es.iv)(fp(),fT)}),es.ZP.div(fv(),ec._03,ec._04,ec._05,ec._06),es.ZP.h2(fb(),eu.foreground.onbase.text_01),es.ZP.div(fx(),ec._02,ec._05),es.ZP.div(fy()),es.ZP.div(fk()),es.ZP.p(fC(),e=>{let{$styleOverride:t}=e;return tC(t)}),es.ZP.div(fP()),es.ZP.h1(fw()),es.ZP.div(fA()),es.ZP.img(e=>{let{$aspectRatio:t}=e;return"\n width: 100%;\n height: 100%;\n aspect-ratio: ".concat(t,";\n ")}),es.ZP.div(fI()),es.ZP.div(fM(),tm,eh.margin.bp_04,eh.margin.bp_04,ec._05,tm,eh.margin.bp_05,eh.margin.bp_05,ec._06,tm,eh.margin.bp_06,eh.margin.bp_06),es.ZP.div(fR()),es.ZP.div(fD(),eh.universal._48,ec._05),es.ZP.div(fN()),es.ZP.div(fL(),eh.universal._48),es.ZP.div(fj()),es.ZP.div(fO()),es.ZP.div(fB(),4,2,eu.keyboard.focus_alt,2,eu.foreground.onbase.text_03,e=>{let{$height:t,$width:n,$top:i,$left:a}=e;return"\n height: ".concat(t,"%;\n width: ").concat(n,"%;\n top: ").concat(i,"%;\n left: ").concat(a,"%;\n ")}),es.ZP.button(fF(),e=>{let{$height:t,$width:n,$top:i,$left:a}=e;return"\n height: ".concat(t,"%;\n width: ").concat(n,"%;\n top: ").concat(i,"%;\n left: ").concat(a,"%;\n ")},4,2,eu.keyboard.focus_alt,3,eu.foreground.onbase.text_01),es.ZP.div(fZ()),es.ZP.div(fz()),es.ZP.span(fH(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_01),es.ZP.span(fU(),e=>{let{$styleOverride:t}=e;return tC(t)},eu.foreground.onbase.text_01),es.ZP.div(fV());let fW=es.ZP.div(f$(),eh.universal._24,eh.universal._24,eh.universal._12,eh.universal._04);function fK(){let e=(0,er._)(["\n container-type: size;\n background-color: rgba(0, 0, 0, 1);\n transition: background-color 200ms cubic-bezier(0, 0, 0.34, 1);\n\n &:has([","='true']) {\n background-color: rgba(0, 0, 0, 0);\n }\n\n // Styles for the video when MultiviewOverlay exists, whether enabled or not.\n &:has([","]) video {\n padding: 0;\n transition: padding 200ms cubic-bezier(0, 0, 0.34, 1);\n box-sizing: border-box;\n }\n\n // Styles for the video when MultiviewOverlay exists and is enabled.\n &:has([","='true']) video {\n padding-bottom: calc(var(",", 64px) + 20px);\n padding-left: ","px;\n padding-right: ","px;\n padding-top: 88px;\n\n "," {\n padding-bottom: calc(var(",", 60px) + 24px);\n padding-left: ","px;\n padding-right: ","px;\n padding-top: 100px;\n }\n\n "," {\n padding-bottom: calc(var(",", 56px) + 28px);\n padding-left: ","px;\n padding-right: ","px;\n }\n }\n"]);return fK=function(){return e},e}(0,es.ZP)(fW)(fG()),es.ZP.div(fK(),tp,tp,tp,tm,eh.margin.bp_04,eh.margin.bp_04,ec._05,tm,eh.margin.bp_05,eh.margin.bp_05,ec._06,tm,eh.margin.bp_06,eh.margin.bp_06);var fq=n(74622);class fY{getTitleMetadataTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:700,lineHeight:25,lineHeightPercentage:135},breakpoint4:{fontFamily:"'book', 'Handset Sans UI'",textSize:20,textWeight:700,lineHeight:25,lineHeightPercentage:125}}}getSubtitleMetadataTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:400,lineHeight:21.6,lineHeightPercentage:135},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:18,textWeight:400,lineHeight:24.3,lineHeightPercentage:135},breakpoint7:{fontFamily:"'book', 'Handset Sans UI'",textSize:18,textWeight:400,lineHeight:24.3,lineHeightPercentage:135}}}getChannelNameTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:11,textWeight:700,lineHeight:13.75,lineHeightPercentage:125},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:13,textWeight:700,lineHeight:16.25,lineHeightPercentage:125}}}getGoLiveButtonTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:700,lineHeight:21.6,lineHeightPercentage:135},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:18,textWeight:700,lineHeight:24.3,lineHeightPercentage:135}}}getStreamModeBadgeTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:11,textWeight:700,lineHeight:13.75,lineHeightPercentage:125},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:13,textWeight:700,lineHeight:16.25,lineHeightPercentage:125}}}getProgressBarElementTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:14,textWeight:400,lineHeight:18.9,lineHeightPercentage:135},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:400,lineHeight:21.6,lineHeightPercentage:135}}}getDiscoverableContentTabTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:13,textWeight:700,lineHeight:17.55,lineHeightPercentage:135},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:700,lineHeight:21.6,lineHeightPercentage:135}}}getErrorTitleTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:700,lineHeight:20,lineHeightPercentage:125},breakpoint2:{fontFamily:"'book', 'Handset Sans UI'",textSize:11,textWeight:400,lineHeight:14.85,lineHeightPercentage:135},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:32,textWeight:700,lineHeight:40,lineHeightPercentage:125}}}getErrorBodyTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:11,textWeight:400,lineHeight:14.85,lineHeightPercentage:135},breakpoint2:{fontFamily:"'book', 'Handset Sans UI'",textSize:13,textWeight:400,lineHeight:17.55,lineHeightPercentage:135},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:400,lineHeight:21.6,lineHeightPercentage:135}}}getErrorReportInstructionsTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:11,textWeight:400,lineHeight:14.85,lineHeightPercentage:135},breakpoint2:{fontFamily:"'book', 'Handset Sans UI'",textSize:13,textWeight:400,lineHeight:17.55,lineHeightPercentage:135},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:400,lineHeight:21.6,lineHeightPercentage:135}}}getErrorSessionIdTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:11,textWeight:400,lineHeight:14.85,lineHeightPercentage:135},breakpoint2:{fontFamily:"'book', 'Handset Sans UI'",textSize:13,textWeight:400,lineHeight:17.55,lineHeightPercentage:135},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:400,lineHeight:21.6,lineHeightPercentage:135}}}getErrorButtonTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:14,textWeight:700,lineHeight:17.5,lineHeightPercentage:125},breakpoint2:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:700,lineHeight:21.6,lineHeightPercentage:135}}}getErrorSupportUrlTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:11,textWeight:700,lineHeight:14.85,lineHeightPercentage:135},breakpoint2:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:700,lineHeight:21.6,lineHeightPercentage:135},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:18,textWeight:700,lineHeight:24.3,lineHeightPercentage:135}}}getUpNextLabelTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:700,lineHeight:21.6,lineHeightPercentage:135}}}getUpNextSeasonAndEpisodeTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:400,lineHeight:21.6,lineHeightPercentage:135}}}getFreeViewCountdownTextStyle(){return{default:{fontFamily:"inherit",textSize:"2.9167vw",textWeight:"inherit"}}}getDiscoverableContentErrorMessageTextStyle(){return{default:{fontFamily:"StreetLCG3",textSize:24,textWeight:500,lineHeight:36,letterSpacing:1}}}getConnectedToCastDeviceTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:11,textWeight:400,lineHeight:14.85,lineHeightPercentage:135},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textWeight:400,textSize:13,lineHeight:17.55,lineHeightPercentage:135}}}getConnectedDeviceNameTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:27,textWeight:700,lineHeight:33.75,lineHeightPercentage:125},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:32,textWeight:700,lineHeight:40,lineHeightPercentage:125}}}getCastCustomizedTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:13,textWeight:400,lineHeight:17.55,lineHeightPercentage:135},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:400,lineHeight:21.6,lineHeightPercentage:135}}}getRatingsAndAdvisoriesTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:700,lineHeight:20,lineHeightPercentage:125},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:18,textWeight:700,lineHeight:22.5,lineHeightPercentage:125}}}getDisclosuresAndDescriptorsTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:11,textWeight:400,lineHeight:14.85,lineHeightPercentage:135},breakpoint2:{fontFamily:"'book', 'Handset Sans UI'",textSize:13,textWeight:400,lineHeight:17.55,lineHeightPercentage:135},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:400,lineHeight:21.6,lineHeightPercentage:135}}}getSkipSectionButtonTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:700,lineHeight:21.6,lineHeightPercentage:135},breakpoint2:{fontFamily:"'book', 'Handset Sans UI'",textSize:14,textWeight:700,lineHeight:17.5,lineHeightPercentage:125},breakpoint4:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:700,lineHeight:21.6,lineHeightPercentage:135}}}getTrackSelectionHeadingTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:700,lineHeight:21.6,lineHeightPercentage:135},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:18,textWeight:700,lineHeight:24.3,lineHeightPercentage:135}}}getTrackSelectionOptionTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:13,textWeight:400,lineHeight:17.55,lineHeightPercentage:135},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:400,lineHeight:21.6,lineHeightPercentage:135}}}getCustomizationDisclaimerTextStyle(){return{default:{fontFamily:"'book', 'Handset Sans UI'",textSize:13,textWeight:400,lineHeight:17.55,lineHeightPercentage:135},breakpoint5:{fontFamily:"'book', 'Handset Sans UI'",textSize:16,textWeight:400,lineHeight:21.6,lineHeightPercentage:135}}}getSubtitlesTextStyle(){return{default:{fontFamily:this._fontFamily,textSize:"inherit",textWeight:"inherit"}}}constructor(e){this._fontFamily=e||""}}function fX(){let e=(0,er._)(["\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n cursor: ",";\n display: ",";\n border: none;\n outline: none;\n container-type: size;\n"]);return fX=function(){return e},e}let fJ=es.ZP.div(fX(),e=>{let{$showCursor:t}=e;return t?"default":"none"},e=>{let{$forceHideUI:t}=e;return t?"none":"block"}),fQ=e=>{let{eventConsumer:t,overlayVisibility:n,overlays:i,playerCallbacks:a,focusOverlayRootContainer:r,forceHideUI:s,initiateHideUI:o,overlayEventConsumer:l}=e,[d,c]=(0,ea.useState)(!1),[u,f]=(0,ea.useState)(!1),_=(0,ea.useRef)(0),h=(0,ea.useRef)(0),m=(0,ea.useRef)(!1),{playableExtras:p}=(0,ea.useContext)(tx),g=!(null==p?void 0:p.transportControlsEnabled),v=(0,ea.useCallback)(e=>{if(" "===e.key||"k"===e.key){if(d){if(g)return;null==a||a.requestPause()}else null==a||a.requestPlay();e.preventDefault()}else if("ArrowLeft"===e.key){if(g)return;null==a||a.requestSkip(-1e4),e.preventDefault()}else if("ArrowRight"===e.key){if(g)return;null==a||a.requestSkip(1e4),e.preventDefault()}else if("f"===e.key)null==a||a.requestEnterFullscreen(),e.preventDefault();else if("Escape"===e.key){let t=!0;for(let e of i)e.onDismiss&&n.has(e.id)&&(t=t&&e.onDismiss());t&&(null==o||o()),e.preventDefault()}else"c"===e.key||"a"===e.key?(null==a||a.requestVisibilityChange(en.JH.id,!0),e.preventDefault()):"m"===e.key?(null==a||a.requestVolumeControl(m.current?h.current:0),e.preventDefault()):"ArrowUp"===e.key?(null==a||a.requestVolumeControl(Math.min(1,_.current+.05)),e.preventDefault()):"ArrowDown"===e.key&&(null==a||a.requestVolumeControl(Math.max(0,_.current-.05)),e.preventDefault())},[i,n,d,g,a,o]),b=(0,ea.useRef)(null);return(0,ea.useEffect)(()=>{var e;let n=[],i=null==t?void 0:t.playbackState$.subscribe(e=>{"PlayingEvent"===e.playbackEventType?c(!0):"PausedEvent"===e.playbackEventType&&c(!1)}),a=null==t?void 0:t.volumeChange$.subscribe(e=>{_.current=e.currentVolume,m.current=0===e.currentVolume,e.restoreVolume&&(h.current=e.restoreVolume)});return i&&n.push(i),a&&n.push(a),l&&n.push(l.overlayEvent$.subscribe(e=>{switch(e){case"UserIdle":f(!1);break;case"UserInteraction":f(!0)}})),r&&(null===(e=b.current)||void 0===e||e.focus()),()=>{n.forEach(e=>{e.unsubscribe()})}},[null==t?void 0:t.playbackState$,null==t?void 0:t.volumeChange$,r,l]),(0,et.jsx)(fJ,{tabIndex:0,ref:b,id:"overlay-root","data-testid":"overlay-root",onKeyDown:v,$showCursor:u,$forceHideUI:s,children:i.map(e=>{let t;let i="".concat(e.id),a=n.has(e.id);if("HtmlElement"===e.viewType)t=(0,et.jsx)(s0,{element:e.view},i);else if("FC"===e.viewType){let n=e.view;t=(0,et.jsx)(n,{},i)}else t="ReactElement"===e.viewType?e.view:(0,et.jsx)("div",{});return(0,et.jsx)("div",{style:{display:"inline",visibility:a?"visible":"hidden"},"data-testid":i,children:t},i)})})};class f0 extends en.gA{updateContentMetadata(e){this._initiateHideUI();let t=Object.assign({},e);(null==e?void 0:e.extras)&&(null==t?void 0:t.extras)&&(void 0!==e.extras.AIRING_ID?(t.id=e.extras.AIRING_ID,t.extras={CHANNEL_NAME:e.extras.CHANNEL_NAME,AIRING_ID:e.extras.AIRING_ID,AIRING_START_TIME_MS:e.extras.AIRING_START_TIME_MS,AIRING_END_TIME_MS:e.extras.AIRING_END_TIME_MS}):(t.id=e.extras.PROGRAM_ID,t.extras={CHANNEL_NAME:e.extras.CHANNEL_NAME,PROGRAM_ID:e.extras.PROGRAM_ID,PROGRAM_START_TIME_MS:e.extras.PROGRAM_START_TIME_MS,PROGRAM_END_TIME_MS:e.extras.PROGRAM_END_TIME_MS})),this._currentPlaybackInfo={...this._currentPlaybackInfo,contentMetadata:t}}renderOverlays(){this._root.style.position="absolute",this._root.style.left="0",this._root.style.top="0",this._root.style.width="100%",this._root.style.height="100%";let e=function(e,t){let n;function i(){"number"==typeof n&&(window.clearTimeout(n),n=void 0)}return function(){for(var a=arguments.length,r=Array(a),s=0;s{e(...r)},t),i}}(()=>{this._initiateHideUI()},this._userIdleTimer);this._root.addEventListener("click",()=>{e(),this._emitInteraction()}),this._root.addEventListener("mousemove",()=>{e(),this._emitInteraction()}),this._root.addEventListener("touchmove",()=>{e(),this._emitInteraction()}),this._root.addEventListener("keydown",()=>{e(),this._emitInteraction()}),this._subscriptions.push(this._overlayEventBus.overlayVisibilityChanged$.subscribe(e=>{e.id===en.JH.id&&!1===e.visible&&setTimeout(()=>{this._initiateHideUI()},500),this._render()})),this._safeZoneEvent$&&this._subscriptions.push(this._safeZoneEvent$.subscribe(e=>{this._root.style.height="".concat(100-e.bottomMarginPercentage,"%")})),this._eventConsumer&&this._subscriptions.push(this._eventConsumer.playbackState$.subscribe(e=>{var t,n,i;("PlaybackInfoResolutionStartEvent"===e.playbackEventType||"PlaybackInfoResolutionEndEvent"===e.playbackEventType||"FirstFrameRenderEvent"===e.playbackEventType||"PlaybackSessionEndEvent"===e.playbackEventType)&&("PlaybackInfoResolutionStartEvent"===e.playbackEventType?(this._currentPlaybackInfo={contentMetadata:e.contentMetadata,activeStreamInfo:void 0,updateContentMetadata:this.updateContentMetadata},null===(t=this._playerOverlayCallbacks)||void 0===t||t.requestSendMessage({topic:"content_metadata_updated",senderId:en.Tj.id,timestamp:new Date().getTime(),message:e.contentMetadata})):"PlaybackInfoResolutionEndEvent"===e.playbackEventType?e.playable&&(this._currentPlaybackInfo={...this._currentPlaybackInfo,playableExtras:null!==(n=e.playable.extras)&&void 0!==n?n:{},activeStreamInfo:(0,o6.r8)(e.playable,0),isComposite:null!==(i=e.playable.isComposite)&&void 0!==i&&i}):"FirstFrameRenderEvent"===e.playbackEventType?this._currentPlaybackInfo={...this._currentPlaybackInfo,activeStreamInfo:e.activeStreamInfo}:this._currentPlaybackInfo={},this._render())}),this._eventConsumer.timelineUpdate$.subscribe(e=>{this._currentPlaybackInfo={...this._currentPlaybackInfo,contentDurationMs:e.contentDurationMs},this._render()})),this._render()}_emitInteraction(){(this._isIdle||void 0===this._isIdle)&&(this._isIdle=!1,this._overlayEventBus.overlayEvent$.next("UserInteraction"),this._render())}_getRenderElement(){return(0,et.jsx)(tg.Provider,{value:this._stylingOverrides,children:(0,et.jsx)(tx.Provider,{value:this._currentPlaybackInfo,children:(0,et.jsx)(fQ,{eventConsumer:this._eventConsumer,overlayVisibility:this._registry.getVisibleOverlays(),overlays:this._overlays,playerCallbacks:this._playerOverlayCallbacks,forceHideUI:this._forceHideUI,focusOverlayRootContainer:this._focusOverlayRootContainer,initiateHideUI:this._initiateHideUI,overlayEventConsumer:this._overlayEventBus})})})}getRoot(){return this._root}initialize(e,t,n,i,a){n.appendChild(this._root),super.initialize(e,t,n,i,a)}destroy(){var e;super.destroy(),null===(e=this._root.parentElement)||void 0===e||e.removeChild(this._root),this._subscriptions.forEach(e=>e.unsubscribe())}forceHideUI(e){super.forceHideUI(e),this._render()}constructor(e,t={languageCode:"en-US",formatCode:"en-US"},n){super(e,t,n),this._subscriptions=[],this._currentPlaybackInfo={},this._userIdleTimer=5500,this._initiateHideUI=()=>{this._isIdle=!0,this._overlayEventBus.overlayEvent$.next("UserIdle"),this._render()},this.updateContentMetadata=this.updateContentMetadata.bind(this),this._stylingOverrides=new fY("Handset Sans UI"),this._root=document.createElement("div")}}class f1 extends f0{_render(){fq.render(this._getRenderElement(),this.getRoot())}}},27069:function(e,t,n){"use strict";let i;n.d(t,{lP:function(){return b},TV:function(){return k},p5:function(){return v},a8:function(){return _},Wb:function(){return S},bI:function(){return T},FO:function(){return E},kM:function(){return p},Po:function(){return A},Yt:function(){return Y},gA:function(){return ea},bb:function(){return x},Tj:function(){return c},mC:function(){return g},w7:function(){return u},PC:function(){return y},JH:function(){return f},GI:function(){return m},Tk:function(){return d},K3:function(){return o}}),(P=A||(A={})).ASSERTIVE="assertive",P.OFF="off",P.POLITE="polite";let a="announcerElement";function r(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A.POLITE;window.clearTimeout(i);let r=null!==(t=document.getElementById(a))&&void 0!==t?t:function(){let e=document.createElement("div");return e.setAttribute("data-testid","test-announcerElement"),e.setAttribute("id",a),e.setAttribute("style","position: absolute !important;width: 1px !important;height: 1px !important; ;left: -1000px !important; padding: 0 !important;margin: -1px !important;overflow: hidden !important;clip: rect(0,0,0,0) !important;white-space: nowrap !important;border: 0 !important"),e.setAttribute("aria-live",A.POLITE),document.body.appendChild(e),e.innerHTML="",e}();r.setAttribute("aria-live",n),r.innerHTML=e,i=window.setTimeout(function(){r.innerHTML="",r.setAttribute("aria-live",A.POLITE)},1e3)}class s{setCustomAnnouncer(e){this._announcer=e}announce(e,t){this._announcer.announce(e,t)}static get instance(){return this._instance||(this._instance=new s),this._instance}constructor(){this._announcer={announce:r}}}function o(e,t){s.instance.announce(e,t)}let l=(e,t)=>({action:"click",element:e,targetId:null==t?void 0:t.targetId,targetText:null==t?void 0:t.targetText}),d=(e,t,n,i,a)=>({playerId:n,creationTimestampMs:new Date().getTime(),component:t,eventName:"interaction",playbackSessionId:a,payload:l(e,i)}),c={id:"playback_controls",zOrderIndex:10137,overlayPolicy:{canBeVisibleWith:new Set(["buffering","caption_renderer_overlay","player_debug","skip","ad","ratings_advisories","up_next","pause_ad","free_view","watermark"]),disallowedPlaybackControls:[],priority:10139}},u={id:"skip",zOrderIndex:10136,overlayPolicy:{canBeVisibleWith:new Set(["buffering","playback_controls","caption_renderer_overlay","player_debug","ratings_advisories","free_view","watermark"]),disallowedPlaybackControls:[],priority:10141}},f={id:"track_selector",zOrderIndex:10148,overlayPolicy:{canBeVisibleWith:new Set(["caption_renderer_overlay","player_debug","ratings_advisories","free_view","watermark"]),disallowedPlaybackControls:[4,5,6,7,8,10,11,12],priority:11001}},_={id:"caption_renderer_overlay",zOrderIndex:10001,overlayPolicy:{canBeVisibleWith:new Set(["player_debug","buffering","playback_controls","skip","ratings_advisories","up_next","ad","error","track_selector","pause_ad","brightline","vpaid","content_discovery","ticket_stub","free_view","watermark"]),disallowedPlaybackControls:[],priority:10995}},h={id:"player_debug",zOrderIndex:90003,overlayPolicy:{canBeVisibleWith:new Set(["caption_renderer_overlay","buffering","playback_controls","skip","ratings_advisories","up_next","ad","error","track_selector","pause_ad","brightline","vertical_controls","vpaid","free_view","watermark"]),disallowedPlaybackControls:[],priority:10994}},m={id:"up_next",zOrderIndex:10135,overlayPolicy:{canBeVisibleWith:new Set(["buffering","playback_controls","caption_renderer_overlay","player_debug","ratings_advisories","free_view","watermark"]),disallowedPlaybackControls:[],priority:10143}},p={id:"error",zOrderIndex:90002,overlayPolicy:{canBeVisibleWith:new Set(["caption_renderer_overlay","player_debug","watermark"]),disallowedPlaybackControls:[],priority:90001}},g={id:"ratings_advisories",zOrderIndex:10141,overlayPolicy:{canBeVisibleWith:new Set(["buffering","playback_controls","skip","caption_renderer_overlay","player_debug","up_next","track_selector","free_view","watermark"]),disallowedPlaybackControls:[],priority:10142}},v={id:"buffering",zOrderIndex:10139,overlayPolicy:{canBeVisibleWith:new Set(["playback_controls","vertical_controls","skip","caption_renderer_overlay","player_debug","up_next","ratings_advisories","ad","vpaid","free_view","watermark"]),disallowedPlaybackControls:[],priority:10146}},b={id:"ad",zOrderIndex:10147,overlayPolicy:{canBeVisibleWith:new Set(["buffering","caption_renderer_overlay","player_debug","playback_controls","brightline","pause_ad","vpaid","free_view","watermark"]),disallowedPlaybackControls:[6,5,7,8],priority:10145}},x={id:"pause_ad",zOrderIndex:10144,overlayPolicy:{canBeVisibleWith:new Set(["playback_controls","caption_renderer_overlay","player_debug","ad","free_view","watermark"]),disallowedPlaybackControls:[],priority:10996}},y={id:"ticket_stub",zOrderIndex:10143,overlayPolicy:{canBeVisibleWith:new Set(["playback_controls","skip","buffering","caption_renderer_overlay","track_selector","up_next","ratings_advisories","error","cast","player_debug","vertical_controls","content_discovery","free_view","watermark"]),disallowedPlaybackControls:[],priority:10144}},k={id:"brightline",zOrderIndex:10145,overlayPolicy:{canBeVisibleWith:new Set(["ad","caption_renderer_overlay","player_debug","free_view","watermark"]),disallowedPlaybackControls:[6,5,7,8],priority:10999}},C={id:"cast",zOrderIndex:9e4,overlayPolicy:{canBeVisibleWith:new Set(["free_view"]),disallowedPlaybackControls:[],priority:90002}},S={id:"content_discovery",zOrderIndex:10140,overlayPolicy:{canBeVisibleWith:new Set(["ad","ratings_advisories","buffering","playback_controls","player_debug","caption_renderer_overlay","free_view","watermark"]),disallowedPlaybackControls:[],priority:10998},interestedMessageTopics:new Set(["topic_content_tab_list_updated"])};(w=I||(I={})).TimelineMarkersButtonClick="TimelineMarkersButtonClick",w.PlayByPlayButtonClick="PlayByPlayButtonClick",w.ReportAProblemButtonClick="ReportAProblemButtonClick";let E=Object.freeze({alertsToggleConfig:{isVisible:!1,isToggledOn:!1},backButtonConfig:Object.freeze({isVisible:!0}),castButtonConfig:Object.freeze({isVisible:!0}),closedCaptionsToggleConfig:Object.freeze({isVisible:!0}),durationTextConfig:Object.freeze({isVisible:!0}),fullScreenToggleConfig:Object.freeze({isVisible:!0}),languageOverlayToggleConfig:Object.freeze({isVisible:!0}),liveEdgeButtonConfig:Object.freeze({isVisible:!0}),playheadPositionTextConfig:Object.freeze({isVisible:!0}),playPauseButtonConfig:Object.freeze({isVisible:!0}),progressBarConfig:Object.freeze({isVisible:!0}),protectionLayerConfig:Object.freeze({isVisible:!0}),ratingAndAdvisoriesButtonConfig:Object.freeze({isVisible:!0}),skipForwardBackwardButtonsConfig:Object.freeze({isVisible:!0}),streamModeBadgeConfig:Object.freeze({isVisible:!0}),subtitleMetadataTextConfig:Object.freeze({isVisible:!0}),titleMetadataTextConfig:Object.freeze({isVisible:!0}),volumeSliderConfig:Object.freeze({isVisible:!0})}),T=Object.freeze({nextProgramMetadataQueryOffsetMs:12e4,discoverableContentTabsObservable:void 0,elementConfig:E,elementConfigObservable:void 0});var P,w,A,I,M=n(80183),R=n(78177),D=n(73117);class N{getEventConsumer(){return{overlayEvent$:this.overlayEvent$.asObservable(),overlayVisibilityChanged$:this.overlayVisibilityChanged$.asObservable()}}constructor(){this.overlayEvent$=new R.t(1),this.overlayVisibilityChanged$=new D.x}}var L=n(84394),j=n(69184),O=n(46088),B=n(87916),F=n(76059),Z=n(27048),z=n(59947),H=JSON.parse('{"Player.A11y.Fast.Forwarding":{"template":"Fast Forwarding, {speed} X","notes":"Accessibility announcement when fast forwarding","parameters":{"speed":{"type":"NUMBER","notes":"Current fast forward rate"}}},"Player.A11y.FastFoward":{"template":"Fast forward","notes":" "},"Player.A11y.Live.Time.Elapsed":{"template":["{currentHours, plural, =0 {} =1 {{currentHours} hour } other {{currentHours} hours }}","{currentMinutes, plural, =0 {} =1 {{currentMinutes} minute } other {{currentMinutes} minutes }}","{currentSeconds, plural, =0 {} =1 {{currentSeconds} second } other {{currentSeconds} seconds }}","elapsed"],"notes":"Accessibility value presented to the user pauses Live asset","parameters":{"currentHours":{"type":"NUMBER","notes":"Amount of hours elapsed at current position of playback."},"currentMinutes":{"type":"NUMBER","notes":"Amount of minutes elapsed at current position of playback."},"currentSeconds":{"type":"NUMBER","notes":"Amount of seconds elapsed at current position of playback."}}},"Player.A11y.Rewind":{"template":"Rewind","notes":" "},"Player.A11y.Rewinding":{"template":"Rewinding, {speed} X","notes":"Accessibility announcement when rewinding","parameters":{"speed":{"type":"NUMBER","notes":"Current rewind rate"}}},"Player.A11y.Selected":{"template":"Selected","notes":"This label tells the user that an item is selected. It is used for screen readers."},"Player.A11y.Separator":{"template":", ","notes":"Use this between any fields that need a comma separator. This string includes a space after the comma."},"Player.A11y.Track.Navigation":{"template":"Navigate up for audio and subtitles setting","notes":"Track selector button availability accessibility announcement"},"Player.A11y.Up.Next":{"template":"Play next episode, Button, Autoplays in {seconds} seconds, Press back to cancel","parameters":{"seconds":{"type":"NUMBER","notes":"Duration before autoplaying next asset"}},"notes":" "},"Player.A11y.VOD.Time.Remaining":{"template":["{currentHours, plural, =0 {} =1 {{currentHours} hour } other {{currentHours} hours }}","{currentMinutes, plural, =0 {} =1 {{currentMinutes} minute } other {{currentMinutes} minutes }}","{currentSeconds, plural, =0 {} =1 {{currentSeconds} second } other {{currentSeconds} seconds }}","remaining"],"notes":"Accessibility value presented to the user pauses VOD asset","parameters":{"currentHours":{"type":"NUMBER","notes":"Amount of hours elapsed at current position of playback."},"currentMinutes":{"type":"NUMBER","notes":"Amount of minutes elapsed at current position of playback."},"currentSeconds":{"type":"NUMBER","notes":"Amount of seconds elapsed at current position of playback."}}},"Player.AdBadge.Accessibility.MinutesOnly":{"template":"Playing Advertisement, {currentAd} of {numberOfAds}, {minutes} minutes remaining","notes":"Accessibility label for current index of ad in ad pod and duration left in current ad","parameters":{"currentAd":{"type":"NUMBER","notes":"current position of ad within the number of ads for example 1 of 3"},"numberOfAds":{"type":"NUMBER","notes":"Total number of ads in ad break"},"minutes":{"type":"NUMBER","notes":"minutes remaining in ad"}}},"Player.AdBadge.Accessibility.MinutesSeconds":{"template":"Playing Advertisement, {currentAd} of {numberOfAds}, {minutes} minutes and {seconds} seconds remaining","notes":"Accessibility label for current index of ad in ad pod and duration left in current ad","parameters":{"currentAd":{"type":"NUMBER","notes":"current position of ad within the number of ads for example 1 of 3"},"numberOfAds":{"type":"NUMBER","notes":"Total number of ads in ad break"},"minutes":{"type":"NUMBER","notes":"minutes remaining in ad"},"seconds":{"type":"NUMBER","notes":"seconds remaining in ad"}}},"Player.AdBadge.Accessibility.SecondsOnly":{"template":"Playing Advertisement, {currentAd} of {numberOfAds}, {seconds} seconds remaining","notes":"Accessibility label for current index of ad in ad pod and duration left in current ad","parameters":{"currentAd":{"type":"NUMBER","notes":"current position of ad within the number of ads for example 1 of 3"},"numberOfAds":{"type":"NUMBER","notes":"Total number of ads in ad break"},"seconds":{"type":"NUMBER","notes":"seconds remaining in ad"}}},"Player.AdBadge.AdPosition":{"template":"{currentAd} of {numberOfAds}","notes":"Information displaying on ad badge during ad playback showing the current ad positin within the ad break","parameters":{"currentAd":{"type":"NUMBER","notes":"current position of ad within the number of ads for example 1 of 3"},"numberOfAds":{"type":"NUMBER","notes":"Total number of ads in ad break"}}},"Player.AdBadge.LearnMore":{"template":"Learn More","notes":"This link takes the user to a specific help page (based on the underlying page or dialog). It is phrased as an action, but it never appears on a button."},"Player.AdBadge.Of":{"template":"of","notes":"tts announcing number of items e.g. 1 of 32"},"Player.AdBadge.Sponsor.Title":{"template":"Sponsor","notes":"Badge that tells the user the currently-playing an sponsor advertisement."},"Player.AdBadge.Title":{"template":"Ad","notes":"Badge that tells the user the currently-playing content is an advertisement."},"Player.AssetInfo.A11y.BehindLive":{"template":"{title}, {subtitle}, {minutes} minutes and {seconds} seconds behind live","notes":"Accessibility text to speak when the Player is behind live point in live stream","parameters":{"title":{"type":"TEXT","notes":"Title of event"},"subtitle":{"type":"TEXT","notes":"Secondary title of event"},"minutes":{"type":"NUMBER","notes":"Minutes behind live point"},"seconds":{"type":"NUMBER","notes":"Seconds behind live point"}}},"Player.AssetInfo.A11y.Live":{"template":"{title}, {subtitle}, Live","notes":"Accessibility text to speak when the Player is at live point in live stream","parameters":{"title":{"type":"TEXT","notes":"Title of event"},"subtitle":{"type":"TEXT","notes":"Secondary title of event"}}},"Player.AssetInfo.ChannelName":{"template":"{channel}","notes":"The channel name text displayed next to On Now badge","parameters":{"channel":{"type":"TEXT","notes":"The channel name of the live linear asset"}}},"Player.AssetInfo.DurationHoursMinutes":{"template":"{hours} hour and {minutes} minutes","notes":"Duration of asset expressed in hours and minutes","parameters":{"hours":{"type":"NUMBER","notes":"The number of hours in the asset"},"minutes":{"type":"NUMBER","notes":"The number of minutes in the asset"}}},"Player.AssetInfo.DurationMinutesOnly":{"template":"{minutes} minutes","notes":"Duration of asset expressed in minutes","parameters":{"minutes":{"type":"NUMBER","notes":"The number of minutes in the asset"}}},"Player.AssetInfo.GoLive":{"template":"Go Live","notes":"Go Live button label"},"Player.AssetInfo.LiveBadge":{"template":"Live","notes":"(adjective) This label tells users that an event is currently in progress. It is used outside the video player, so the user is not watching the event when this label appears."},"Player.AssetInfo.MiniseriesDetail":{"template":"E{episodeNumber}","notes":"Abbreviation of the episode number for texts like S1/E3","parameters":{"episodeNumber":{"type":"NUMBER","notes":"The episode number of the episode"}}},"Player.AssetInfo.MiniseriesDetail.A11yLabel":{"template":"Episode {episodeNumber}","notes":"Episode number information for a show episode for accessability label.","parameters":{"episodeNumber":{"type":"NUMBER","notes":"The episode number."}}},"Player.AssetInfo.MiniseriesEpisodeTitle":{"template":"E{episodeNumber}: {episodeTitle}","notes":"Shows the number and title of the episode. Abbreviates episode to the first letter only (E).","parameters":{"episodeNumber":{"type":"NUMBER","notes":"The episode number of the episode"},"episodeTitle":{"type":"TEXT","notes":"The title of the episode"}}},"Player.AssetInfo.MiniseriesEpisodeTitle.A11yLabel":{"template":"Episode {episodeNumber}: {episodeTitle}","notes":"Title format for an episode in a miniseries.","parameters":{"episodeNumber":{"type":"NUMBER","notes":"The episode number of the episode"},"episodeTitle":{"type":"TEXT","notes":"The title of the episode"}}},"Player.AssetInfo.NextEpisodeLabel":{"template":"Next Episode","notes":"Next episode label"},"Player.AssetInfo.OnNowBadge":{"template":"On Now","notes":"Badge that indicates the title in the tile is currently playing on linear channel."},"Player.AssetInfo.ReplayBadge":{"template":"REPLAY","notes":"Label that tells the user that the asset is a re-airing of a previously-aired title or event."},"Player.AssetInfo.SeasonEpisodeDetail":{"template":"S{seasonNumber} E{episodeNumber}","notes":"Season and episode detail format for an episode in a series.","parameters":{"seasonNumber":{"type":"TEXT","notes":"The season number of the episode"},"episodeNumber":{"type":"NUMBER","notes":"The episode number of the episode"}}},"Player.AssetInfo.SeasonEpisodeDetail.A11yLabel":{"template":"Season {seasonNumber} Episode {episodeNumber}","notes":"Season and episode detail format for an episode in a series.","parameters":{"seasonNumber":{"type":"TEXT","notes":"The season number of the episode"},"episodeNumber":{"type":"NUMBER","notes":"The episode number of the episode"}}},"Player.AssetInfo.SeriesEpisodeTitle":{"template":"S{seasonNumber} E{episodeNumber}: {episodeTitle}","notes":"Title format for an episode in a series.","parameters":{"seasonNumber":{"type":"TEXT","notes":"The season number of the episode"},"episodeNumber":{"type":"NUMBER","notes":"The episode number of the episode"},"episodeTitle":{"type":"TEXT","notes":"The title of the episode"}}},"Player.AssetInfo.SeriesEpisodeTitle.A11yLabel":{"template":"Season {seasonNumber} Episode {episodeNumber}: {episodeTitle}","notes":"Title format for an episode in a series.","parameters":{"seasonNumber":{"type":"TEXT","notes":"The season number of the episode"},"episodeNumber":{"type":"NUMBER","notes":"The episode number of the episode"},"episodeTitle":{"type":"TEXT","notes":"The title of the episode"}}},"Player.AssetInfo.Subtitle":{"template":"{subtitle}","notes":"Subtitle for the player controls metadata for a movie","parameters":{"subtitle":{"type":"TEXT","notes":"subtitle text"}}},"Player.AssetInfo.Title":{"template":"{title}","notes":"The title of the an asset","parameters":{"title":{"type":"TEXT","notes":"title text"}}},"Player.AssetTitle.MiniSeries":{"template":"E{numberInSeries}: ","notes":"The current episode number of that asset","parameters":{"numberInSeries":{"type":"TEXT","notes":"Episode number of a miniseries"}}},"Player.AssetTitle.SeriesTitle":{"template":"S{seasonNumber} E{numberInSeason}: ","notes":"Season number and episode number displayed with asset title","parameters":{"numberInSeason":{"type":"TEXT","notes":"Episode number of current season"},"seasonNumber":{"type":"TEXT","notes":"Current season of asset"}}},"Player.Audio.Set":{"template":"Audio set to {selectedTitle}","notes":"Selected Audio track","parameters":{"selectedTitle":{"type":"TEXT","notes":"The name of the track."}}},"Player.Button.Label":{"template":"Button","notes":"String denoting an interactive element to the user."},"Player.Caption.Settings.Generic":{"template":"You can customize captions and subtitles in your Settings.","notes":"Label indicating where to adjust caption styling on web client."},"Player.Cast.Enter.Pin.Device":{"template":"Enter your Profile PIN on your device to continue.","notes":"The message to show on cast receiver when user is trying to watch a rated content and is expected to enter pin"},"Player.CloseButtonGeneric":{"template":"Close","notes":"(imperative verb) Close a window or dialog."},"Player.Controls.a11y.Action.Back":{"template":"Closing","notes":"Screen reader announcement when back button pressed"},"Player.Controls.a11y.Action.ChromeVisible":{"template":"Controls available","notes":"Screen reader announcement when chrome is visible"},"Player.Controls.A11y.Buffering":{"template":"Loading...","notes":"Status label that tells the user that the requested title is buffering in the video player. (May also be used when the app is loading.)"},"Player.Controls.A11y.FullScreen":{"template":"Video Full Screen","notes":"Accessibility text to speak when the Player is entered full screen."},"Player.Controls.A11y.HoursMinutesSeconds":{"template":"Paused, {hours} hours {minutes} minutes {seconds} seconds remaining.","notes":"Accessibility text to speak when the pause button taps in the Player.","parameters":{"hours":{"type":"NUMBER","notes":"The paused hours."},"minutes":{"type":"NUMBER","notes":"The paused minutes."},"seconds":{"type":"NUMBER","notes":"The paused seconds."}}},"Player.Controls.A11y.HoursOnly":{"template":"Paused, {hours} hours remaining.","notes":"Accessibility text to speak the hours when the pause button taps in the Player.","parameters":{"hours":{"type":"NUMBER","notes":"The paused hours."}}},"Player.Controls.A11y.HoursSeconds":{"template":"Paused, {hours} hours {seconds} seconds remaining.","notes":"Accessibility text to speak the hours and seconds when the pause button taps in the Player.","parameters":{"hours":{"type":"NUMBER","notes":"The paused hours."},"seconds":{"type":"NUMBER","notes":"The paused seconds."}}},"Player.Controls.A11y.MinutesOnly":{"template":"Paused, {minutes} minutes remaining.","notes":"Accessibility text to speak the minutes when the pause button taps in the Player.","parameters":{"minutes":{"type":"NUMBER","notes":"The paused minutes."}}},"Player.Controls.A11y.MinutesSeconds":{"template":"Paused, {minutes} minutes {seconds} seconds remaining.","notes":"Accessibility text to speak the minutes and seconds when the pause button taps in the Player.","parameters":{"minutes":{"type":"NUMBER","notes":"The paused minutes."},"seconds":{"type":"NUMBER","notes":"The paused seconds."}}},"Player.Controls.A11y.MlpClose":{"template":"Close audio and subtitles menu","notes":"Accessibility text to speak for the close button on the Mlp dialog"},"Player.Controls.A11y.Pause":{"template":"Pause","notes":"Accessibility text to speak when the pause button taps in the Player."},"Player.Controls.A11y.Paused":{"template":"Paused","notes":"A11y label announced after the user presses the Pause key"},"Player.Controls.A11y.PausedHoursMinutes":{"template":"Paused, {hours} hours {minutes} minutes remaining.","notes":"Accessibility text to speak the hours, minutes and seconds when the pause button taps in the Player.","parameters":{"hours":{"type":"NUMBER","notes":"The paused hours."},"minutes":{"type":"NUMBER","notes":"The paused minutes."}}},"Player.Controls.A11y.Play":{"template":"Play","notes":" "},"Player.Controls.A11y.Playing":{"template":"Playing","notes":"A11y label announced after the user presses the Play key"},"Player.Controls.A11y.SecondsOnly":{"template":"Paused, {seconds} seconds remaining.","notes":"Accessibility text to speak the seconds when the pause button taps in the Player.","parameters":{"seconds":{"type":"NUMBER","notes":"The paused seconds."}}},"Player.Controls.A11y.SkipBackward":{"template":"Skip back {seconds} seconds","notes":"Accessibility text to speak when the jump backward button taps in the Player.","parameters":{"seconds":{"type":"NUMBER","notes":"The number of jumped seconds."}}},"Player.Controls.A11y.SkipBackward10":{"template":"Skip back 10 seconds, button","notes":"Accessibility label read to users for identifying rewind button"},"Player.Controls.A11y.SkipForward":{"template":"Skip ahead {seconds} seconds","notes":"Accessibility text to speak when the jump forward button taps in the Player.","parameters":{"seconds":{"type":"NUMBER","notes":"The number of jumped seconds."}}},"Player.Controls.A11y.SkipForward10":{"template":"Skip ahead 10 seconds, button","notes":"Accessibility label read to users for identifying fast forward button"},"Player.Controls.A11y.SkippedBackward":{"template":"Skipped back {seconds} seconds","notes":"Accessibility text to speak when the Player skips back.","parameters":{"seconds":{"type":"NUMBER","notes":"The number of jumped seconds."}}},"Player.Controls.A11y.SkippedForward":{"template":"Skipped ahead {seconds} seconds","notes":"Accessibility text to speak when the Player skips forward.","parameters":{"seconds":{"type":"NUMBER","notes":"The number of jumped seconds."}}},"Player.Controls.Alt.Back":{"template":"Back (Esc)","notes":"Back button alt text and tooltip"},"Player.Controls.Alt.EventAlertsOff":{"template":"Event Alert: Off","notes":"Event alerts off - tooltip / alt text"},"Player.Controls.Alt.EventAlertsOn":{"template":"Event Alert: On","notes":"Event alerts on - tooltip / alt text"},"Player.Controls.Alt.Fullscreen":{"template":"Full Screen (F)","notes":"Fullscreen button alt text and tooltip"},"Player.Controls.Alt.JumpBack":{"template":"Back {seconds} (Left Arrow)","notes":"Jump back button alt text and tooltip","parameters":{"seconds":{"type":"NUMBER","notes":"The number of jumped seconds."}}},"Player.Controls.Alt.JumpBack10":{"template":"Back 10 (Left Arrow)","notes":"Jump back 10 seconds button alt text and tooltip"},"Player.Controls.Alt.JumpForward":{"template":"Forward {seconds} (Left Arrow)","notes":"Jump forward button alt text and tooltip","parameters":{"seconds":{"type":"NUMBER","notes":"The number of jumped seconds."}}},"Player.Controls.Alt.JumpForward10":{"template":"Forward 10 (Right Arrow)","notes":"Jump forward 10 seconds button alt text and tooltip"},"Player.Controls.Alt.Pause":{"template":"Pause (Space)","notes":"Pause button alt text and tooltip"},"Player.Controls.Alt.Play":{"template":"Play (Space)","notes":"Play button alt text and tooltip"},"Player.Controls.Alt.TrackSelector":{"template":"Captions (C)","notes":"Track selector button alt text and tooltip"},"Player.Controls.Alt.Volume":{"template":"Volume (Up/Down Arrows)","notes":"Volume button alt text and tooltip"},"Player.Controls.Cast.ConnectedTo":{"template":"Connected to","notes":"Cast overlay connected to label"},"Player.Controls.Focus.Back":{"template":"Exit Playback","notes":"Back button focus announcement"},"Player.Controls.Focus.Cast":{"template":"Cast","notes":"Cast button focus announcement"},"Player.Controls.Focus.Connected":{"template":"Cast, connected","notes":"Cast connected focus announcement"},"Player.Controls.Focus.Connecting":{"template":"Cast, connecting","notes":"Cast connecting focus announcement"},"Player.Controls.Focus.EventAlertsToggleOff":{"template":"Event Alerts: Off, Turn alerts on","notes":"Accessibility label read to users when event alerts off is focused"},"Player.Controls.Focus.EventAlertsToggleOn":{"template":"Event Alerts: On, Turn alerts off","notes":"Accessibility label read to users when event alerts on is focused"},"Player.Controls.Focus.Fullscreen":{"template":"Full Screen","notes":"Full Screen focus announcement"},"Player.Controls.Focus.GoLive":{"template":"Return to Live Time","notes":"Go Live button focus announcement"},"Player.Controls.Focus.NotConnected":{"template":"Cast, not connected","notes":"Cast not connected focus announcement"},"Player.Controls.Focus.TrackSelector":{"template":"Audio and Subtitle Settings","notes":"Track selector focus announcement"},"Player.Controls.Focus.UpNextAutoPlay":{"template":"Play next episode, Autoplays in {seconds} seconds","notes":"Up next button focus announcement with autoplay on","parameters":{"seconds":{"type":"NUMBER","notes":"Length of autoplay timer in seconds."}}},"Player.Controls.Focus.UpNextAutoPlayOff":{"template":"Play next episode, Autoplay is off","notes":"Up next button focus announcement with autoplay off"},"Player.Controls.Focus.UpNextDismiss":{"template":"Cancel autoplay","notes":"Up next dismiss button focus announcement"},"Player.Controls.Hide.PlayByPlay":{"template":"Hide Play by Play","notes":"Hide play by play button tooltip"},"Player.Controls.Hide.Timeline":{"template":"Hide Timeline","notes":"Hide timeline button tooltip"},"Player.Controls.Label.MoreEpisodes":{"template":"More Episodes","notes":"(imperative verb) This action takes the user to a page where they can see additional episodes in the current series."},"Player.Controls.MultiView.BackButton":{"template":"Back to Multi-View","notes":"Multiview feedbox back button text"},"Player.Controls.Show.PlayByPlay":{"template":"Show Play by Play","notes":"Show play by play button tooltip"},"Player.Controls.Show.Ratings":{"template":"Show Ratings","notes":"Show Ratings button tooltip"},"Player.Controls.Show.Timeline":{"template":"Show Timeline","notes":"Show timeline button tooltip"},"Player.Controls.Skip":{"template":"Skip","notes":"This action takes the user past a non-required step in a flow or any section of content at the front of a title (such as a recap of past episodes or an introduction."},"Player.Controls.SkipIntro":{"template":"Skip Intro","notes":"(imperative verb) This action skips the opening title sequence or other introductory information."},"Player.Controls.SkipRecap":{"template":"Skip Recap","notes":"(imperative verb) When watching a series, this action skips the recapitulation or summary of the story up to the current episode."},"Player.Controls.TimelineAccessibilityValue":{"template":["{currentHours, plural, =0 {} =1 {{currentHours} hour } other {{currentHours} hours }}","{currentMinutes, plural, =0 {} =1 {{currentMinutes} minute } other {{currentMinutes} minutes }}","{currentSeconds, plural, =0 {} =1 {{currentSeconds} second } other {{currentSeconds} seconds }}","out of ","{durationHours, plural, =0 {} =1 {{durationHours} hour } other {{durationHours} hour}}","{durationMinutes, plural, =0 {} =1 {{durationMinutes} minute } other {{durationMinutes} minutes }}","{durationSeconds, plural, =0 {} =1 {{durationSeconds} second } other {{durationSeconds} seconds}}"],"notes":"Accessibility value presented to the user when focusing the timeline","parameters":{"currentHours":{"type":"NUMBER","notes":"Amount of hours elapsed at current position of playback."},"currentMinutes":{"type":"NUMBER","notes":"Amount of minutes elapsed at current position of playback."},"currentSeconds":{"type":"NUMBER","notes":"Amount of seconds elapsed at current position of playback."},"durationHours":{"type":"NUMBER","notes":"Amount of hours in the total duration of asset."},"durationMinutes":{"type":"NUMBER","notes":"Amount of minutes in the total duration of asset."},"durationSeconds":{"type":"NUMBER","notes":"Amount of seconds in the total duration of asset."}}},"Player.Default.Error.Body.Without.Link":{"template":"Please try again. If you keep getting this error message, visit the Help Center at","notes":"Body text without help link used on most errors involving video playback."},"Player.Error.Alt.LinkText":{"template":"help.hbomax.com","notes":"Link to Max help home page. This version is just the URL with no lead-in text or formatting."},"Player.Error.Blackout.Link":{"template":"https://help.hbomax.com/blackouts","notes":"Link to max help URL for max Blacked Out error"},"Player.Error.Blackout.LinkText":{"template":"help.hbomax.com/blackouts","notes":"Help address text to be appended with error message for Blacked Out error"},"Player.Error.Blackout.Subtitle":{"template":"This event can’t be streamed in your current location due to league blackout policies. To find out where the event is being broadcast in your area, check your local listings.\\n\\nFor more information, visit:","notes":"Content is blacked in user’s location error message"},"Player.Error.Blackout.Title":{"template":"This Event Is Blacked Out in Your Location","notes":"Blacked Out in your location error title"},"Player.Error.Body.Generic.Without.Link":{"template":"Please try again. If the problem continues, visit","notes":"Body text used on most errors involving video playback without link"},"Player.Error.ConcurrentStreamsExceeded.Subtitle":{"template":"To watch this event, stop streaming it on another device and try again. You can still stream movies and series on this device.","notes":"Concurrent streams content segment exceeded error message"},"Player.Error.ConcurrentStreamsExceeded.Title":{"template":"Too Many Live Event Streams","notes":"Concurrent streams content segment exceeded error title"},"Player.Error.Contact":{"template":"If you contact us about this error, please include the following code:","notes":"This text appears above an automatically-generated session ID code, asking the user to include the information if they contact support. The code will not mean anything to the user, but it can be useful for test and debugging. (Note that the prompt is conditional. It does not ask the user to contact support.)"},"Player.Error.ContentDiscovery":{"template":"We can’t load this content right now. Try again later.","notes":"Error message displayed to user when any page content fails to load."},"Player.Error.Continue":{"template":"Continue","notes":"(imperative verb) Accept any changes on the current page and go to the next step"},"Player.Error.DefaultError.Message":{"template":"Please try again. If you keep getting this error message, \\n","notes":"Shows default playback failure error message"},"Player.Error.DefaultError.Title":{"template":"Couldn’t Play Content","notes":"Player generic error title"},"Player.Error.Device.Setup.LinkText":{"template":"help.hbomax.com/device-setup","notes":"Link to max help URL for device setup errors"},"Player.Error.Entitlements.Title":{"template":"There’s a Problem With Your Device Setup","notes":"Insufficient DRM security error title"},"Player.Error.ErrorCode.Title":{"template":"Error Code:","notes":"This label appears on some error messages in front of an automatically-generated error code. This error code is used by internal engineers, so the user does not have to do anything with it or even understand what it is."},"Player.Error.Event.Ended.Title":{"template":"This Event Has Ended","notes":"Displayed when a Live Event is no longer available"},"Player.Error.EventNotStartedYet.Subtitle":{"template":"Check back in a little bit.","notes":"Subtitle displayed when a Live Event has not started yet"},"Player.Error.EventNotStartedYet.Title":{"template":"This Event Hasn’t Started Yet","notes":"Title displayed when a Live Event has not started yet"},"Player.Error.Exit":{"template":"Exit","notes":"(imperative verb) This action closes the app or takes the user out of an ongoing operation."},"Player.Error.GeoRestriction.Subtitle":{"template":"To learn more about where you can access HBO Max,","notes":"Geo blocked error message"},"Player.Error.GeoRestriction.Title":{"template":"Not Available in Your Region Yet","notes":"This message appears when the user is outside the supported geographical regions."},"Player.Error.GoBack":{"template":"Go Back","notes":"(imperative verb) Return to the previous page or screen"},"Player.Error.HelpAddress":{"template":"visit the Help Center at help.hbomax.com/troubleshoot","notes":"Default Help address text to be appended with error message for any other errors"},"Player.Error.Information":{"template":"Please try again. If you keep getting this error message,","notes":"Default error message"},"Player.Error.Information.Label":{"template":"For more information and troubleshooting tips,","notes":"Insufficient DRM security error message"},"Player.Error.Internet.Connection":{"template":"No Internet Connection","notes":" "},"Player.Error.Internet.Disconnect":{"template":"It looks like you got disconnected. Check your internet connection and try again.","notes":"Suggestion to check error caused due to network connection lost"},"Player.Error.Label":{"template":"Error","notes":"This can be used for both generic and specific errors as a label or a title."},"Player.Error.LinkText":{"template":" visit the Help Center.","notes":"Link text to navigate to help center"},"Player.Error.LinkToHelp":{"template":"help.hbomax.com","notes":"Link to Max help home page. This version is just the URL with no lead-in text or formatting."},"Player.Error.LinkToHelp.Devices":{"template":"https: //help.hbomax.com/devices","notes":"Link to Max help devices page. This version uses https: // for absolute pathing on web."},"Player.Error.LinkToHelp.Discovery":{"template":"https://help.discoveryplus.com","notes":"Link to discovery+ help home page. This version uses https:// for absolute pathing on web."},"Player.Error.Need.Help":{"template":"Need help? Visit:","notes":"discovery+ error - need help"},"Player.Error.OutdatedBrowser.Subtitle":{"template":"It looks like you’re using an older browser. Update your browser or watch on another supported device.\\n\\nFor more information, visit the ","notes":"Error subtitle for outdated browser error"},"Player.Error.OutdatedBrowser.Title":{"template":"Can’t play content on this browser version","notes":"Error title for outdated browser error"},"Player.Error.OutdatedBrowser.VisitHelpCenter":{"template":"For more information, visit our Help Center","notes":"HTML Link to Max help devices page for outdated OS. This version uses https: // for absolute pathing on web."},"Player.Error.OutdatedOS.Subtitle":{"template":"The version of Windows you’re using is unsupported. In order to watch your favorites from this device, upgrade to a newer version of Windows, or use a different device to stream.\\n\\nFor more information, visit the ","notes":"Error subtitle for outdated OS error"},"Player.Error.OutdatedOS.Title":{"template":"Can’t play content on this version of Windows","notes":"Error title for outdated OS error"},"Player.Error.OutdatedOS.VisitHelpCenter":{"template":"For more information, visit our Help Center","notes":"HTML Link to Max help devices page for outdated OS. This version uses https: // for absolute pathing on web."},"Player.Error.ReauthenticationRequired.Subtitle":{"template":"Due to a change from your provider, we need you to sign in again.","notes":"Reauthentication error message"},"Player.Error.ReauthenticationRequired.Title":{"template":"You’ve Been Signed Out","notes":"Reauthentication error title"},"Player.Error.Reconnect":{"template":"Please reconnect to the internet and try again.","notes":"discovery+ error - reconnect"},"Player.Error.SessionId.Title":{"template":"Session ID:","notes":"Shows Session id title"},"Player.Error.SomethingWentWrong.Title":{"template":"Something Went Wrong","notes":"Title for a dialog for any unknown error condition.","createdBy":"dorothy.lindman@wbd.com"},"Player.Error.StreamLimit.Subtitle":{"template":"To play this title, stop streaming on another device and try again. For more information and troubleshooting tips,","notes":"Concurrent streams exceeded error message"},"Player.Error.StreamLimit.Subtitle.Discovery":{"template":"You have exceeded the limit for simultaneous playback streams. To watch this video, please quit one of your active streams and try again","notes":"Alternate concurrent streams exceeded error message"},"Player.Error.StreamLimit.Title":{"template":"Your Account Is Streaming on Too Many Devices","notes":"Concurrent streams exceeded error title"},"Player.Error.TraceIdMessage":{"template":"If you contact us about this error, include the following info:","notes":"A message which proceeds error code information that identifies a playback issue."},"Player.Error.Troubleshoot.LinkText":{"template":"help.hbomax.com/troubleshoot","notes":"Default troubleshoot help address text to be appended with error message for any other errors"},"Player.Error.Try.Again":{"template":"Please try again later. For additional help and trouble shooting, please visit:","notes":"discovery+ error - try again text"},"Player.Error.TryAgain":{"template":"Try Again","notes":"(imperative verb) Attempt to perform the same action or command"},"Player.Error.TryPlaybackAgain":{"template":"Try Playback Again","notes":"(imperative verb) Attempt to perform playback action or command"},"Player.Error.UnableToPlay.Subtitle":{"template":"Sorry, we couldn’t play that content right now. Please try again in a few minutes.","notes":"Subtitle displayed because PIR responded with not found or not streamable"},"Player.Error.UnableToPlay.Title":{"template":"Couldn’t Play Content","notes":"Error message indicating that the requested title or video cannot be played."},"Player.Error.VisitHelpCenter":{"template":"visit the Help Center.","notes":"Default help link text"},"Player.Focus.AdBadge":{"template":"Ad, {seconds} seconds","notes":"Ad Badge focus announcement","parameters":{"seconds":{"type":"NUMBER","notes":"Length of Ad timer in seconds"}}},"Player.Go.Back":{"template":"Back","notes":"Return to the previous page or screen. (The imperative verb *go* is implied in this context.)"},"Player.Index.Of.Total":{"template":"{index} of {totalCount}","notes":"Indicates the number or position of the selected item in a list or rail.","parameters":{"index":{"type":"NUMBER","notes":"The current index of the item."},"totalCount":{"type":"NUMBER","notes":"Total number of items."}}},"Player.Mlp.AudioTitle":{"template":"Audio","notes":"The title for the group of buttons that select Audio tracks."},"Player.Mlp.CaptionSettingsMessage":{"template":"You can customize captions and subtitles in your Settings in HBO Max","notes":"Label indicating where to adjust caption styling on web. In the web client, these settings are located in the settings menu of Max."},"Player.Mlp.CaptionsOff":{"template":"Off","notes":"The selected option is inactive"},"Player.MLP.Menu":{"template":"Audio and subtitles menu","notes":"Takes the user to a menu where they can choose audio language, turn on subtitles, and choose the language for subtitles. Formatted for screenreaders."},"Player.Mlp.SubtitleTitle":{"template":"Subtitles","notes":"While browsing content, this field displays the available subtitle languages."},"Player.Multiview.Expand.Alt.Text":{"template":"Watch Single Screen","notes":"Alt text for hovering expand button on a multiview feed"},"Player.Multiview.Feedbox.Focus.Selected":{"template":"Expand in full player, {title}, {subtitle}, playing live, {itemIndex} of {itemCount}.","notes":"a1ly label for focusing on an selected multiview feed tile.","parameters":{"title":{"type":"TEXT","notes":"Title of event"},"subtitle":{"type":"TEXT","notes":"Secondary title of event"},"itemIndex":{"type":"NUMBER","notes":"Number of the current button"},"itemCount":{"type":"NUMBER","notes":"Total number of buttons"}}},"Player.Multiview.Feedbox.Focus.Unselected":{"template":"Switch audio track to, {title}, {subtitle}, playing live, {itemIndex} of {itemCount}.","notes":"a1ly label for focusing on an unselected multiview feed tile.","parameters":{"title":{"type":"TEXT","notes":"Title of event"},"subtitle":{"type":"TEXT","notes":"Secondary title of event"},"itemIndex":{"type":"NUMBER","notes":"Number of the current button"},"itemCount":{"type":"NUMBER","notes":"Total number of buttons"}}},"Player.On.Casting.Device.Title":{"template":"On Casting Device","notes":"The label to show on cast receiver to update the user to click skip buttons on sender"},"Player.PauseAd.Accessibility":{"template":"Advertisement Pause Ad. Press any button to dismiss.","notes":"Accessibility label for pause ad when sponsor is not available"},"Player.PauseAd.Sponsor.Accessibility":{"template":"Advertisement {sponsor}. Press any button to dismiss.","notes":"Accessibility label for the sponsor of pause ad","parameters":{"sponsor":{"type":"TEXT","notes":"Name of the sponsor"}}},"Player.Play.Next.Episode.Title":{"template":"Play Next Episode","notes":"The label to show on cast receiver’s up next button during binge watch"},"Player.Player.TimeCode":{"template":"{currentPosition}/{totalDuration}","notes":"Text shown to indicate playback position.","parameters":{"currentPosition":{"type":"TEXT","notes":"Current position in playback"},"totalDuration":{"type":"TEXT","notes":"Total duration of asset"}}},"Player.Player.VolumeButtonLabel":{"template":"Volume {volumePercent}%","notes":"The label for the volume control slider.","parameters":{"volumePercent":{"type":"NUMBER","notes":"Current volume percentage rounded to nearest whole number"}}},"Player.Player.VolumeButtonMuteAudio":{"template":"Mute Audio","notes":"Volume focus announcement when volume is unmuted"},"Player.Player.VolumeButtonMuted":{"template":"Audio Muted","notes":"The muted state of a volume button"},"Player.Player.VolumeButtonUnuteAudio":{"template":"Unmute Audio","notes":"Volume focus announcement when volume is muted"},"Player.Radio.Button":{"template":"Radio button","notes":"Just the words ‘Radio button’, to be composed with Radio Button strings."},"Player.Ratings.Descriptors.D":{"template":"Suggestive dialogue","notes":"D rating descriptor"},"Player.Ratings.Descriptors.FV":{"template":"Fantasy Violence","notes":"FV ratings descriptor"},"Player.Ratings.Descriptors.L":{"template":"Coarse or crude language","notes":"L rating descriptor"},"Player.Ratings.Descriptors.S":{"template":"Sexual situations","notes":"S ratings descriptor"},"Player.Ratings.Descriptors.V":{"template":"Violence","notes":" "},"Player.Ratings.TV14":{"template":"Parents Strongly Cautioned","notes":"TV-14 asset rating"},"Player.Ratings.TVG":{"template":"General Audience","notes":"TV-G asset rating"},"Player.Ratings.TVMA":{"template":"Mature Audience Only","notes":"TV-MA asset rating"},"Player.Ratings.TVPG":{"template":"Parental Guidance Suggested","notes":"TV-PG asset rating"},"Player.Ratings.TVY":{"template":"All Children","notes":"TV-Y asset rating"},"Player.Ratings.TVY7":{"template":"Directed to Older Children","notes":"TV-Y7 asset rating"},"Player.RatingsAndAdvisories.A11y.Title":{"template":"Rated {ratingCode} {advisories}","notes":"Accessibility label for current rating and advisories displayed to screen.","parameters":{"ratingCode":{"type":"TEXT","notes":"Rating code"},"advisories":{"type":"TEXT","notes":"Advisories"}}},"Player.RatingsAndAdvisories.AdvisoriesText":{"template":"{advisories}","notes":"Current advisories","parameters":{"advisories":{"type":"TEXT","notes":"Advisories"}}},"Player.RatingsAndAdvisories.RatingsText":{"template":"{ratings}","notes":"Current ratings","parameters":{"ratings":{"type":"TEXT","notes":"Ratings code"}}},"Player.RatingsAndAdvisories.RatingTitle":{"template":"RATED","notes":"Label for the rating of the asset. This version is in all caps."},"Player.Skip.To.Live":{"template":"Skip to live, Button","notes":" "},"Player.Text.Set":{"template":"Subtitle set to {selectedTitle}","notes":"Selected text track","parameters":{"selectedTitle":{"type":"TEXT","notes":"The name of the track."}}},"Player.Timestamp":{"template":"{timestamp}","notes":"Timestamp on player screen","parameters":{"timestamp":{"type":"TEXT","notes":"Timestamp for trickplay and remaining time of asset"}}},"Player.Up.Next":{"template":"Up Next","notes":"Label for the asset that will start playing immediately after the current asset finishes. Usually, this label appears on a tile showing the asset (like the ones that appear on the home page or in search results)."},"Player.Up.Next.In":{"template":"Up Next In {timeRemaining}","notes":"Time remaining before playing next episode","parameters":{"timeRemaining":{"type":"NUMBER","notes":"Time remaining in seconds"}}},"Player.UpNext.a11y.Autoplay":{"template":"Autoplays in {seconds} seconds","notes":"Jump forward button alt text and tooltip","parameters":{"seconds":{"type":"NUMBER","notes":"Length of autoplay timer in seconds."}}}}');async function U(e,t,n){let i=await n(e,t);return new Z.$(e,H,{},i)}async function V(e){if(!F.z.includes(e))throw Error('Unsupported FormatCode "'.concat(e,'"'));let t=await n(93107)("./".concat(e,"/index"));return new z.M(e,t.default)}let $=["en-US","pseudo-LOC","pseudo-LONG","bg-BG","cs-CZ","da-DK","el-GR","en-GB","es-419","es-ES","et-EE","fi-FI","fil-PH","fr-CA","fr-FR","he-IL","hr-HR","hu-HU","id-ID","lt-LT","lv-LV","mk-MK","ms-MY","nb-NO","nl-NL","pl-PL","pt-BR","pt-PT","ro-RO","ru-RU","sk-SK","sl-SI","sr-Latn-RS","sv-SE","th-TH","tr-TR","uk-UA","zh-Hans-SG","zh-Hant-HK","zh-Hant-TW"],G=["en-US","pseudo-LOC","pseudo-LONG","bg-BG","cs-CZ","da-DK","el-GR","en-GB","es-419","es-ES","et-EE","fi-FI","fil-PH","fr-CA","fr-FR","he-IL","hr-HR","hu-HU","id-ID","lt-LT","lv-LV","mk-MK","ms-MY","nb-NO","nl-NL","pl-PL","pt-BR","pt-PT","ro-RO","ru-RU","sk-SK","sl-SI","sr-Latn-RS","sv-SE","th-TH","tr-TR","uk-UA","zh-Hans-SG","zh-Hant-HK","zh-Hant-TW"],W=async function(e,t){let i="hbomax"===t?"hbomax":"max";return"max"===i?(await n(33626)("./".concat(e,"/compiled-messages.js"))).default:(await n(81093)("./".concat(i,"/language-packs/").concat(e,"/compiled-messages.js"))).default};async function K(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"max",i=t,a=[..."hbomax"===n?G:$],r=(0,O.V)([e],Array.from(a),B.NZ);F.z.includes(t)||(i=r);let s=new L.G(r,i);return j.j.loadGlobalizerAsync(s,e=>U(e,n,W),V)}class q{localize(e,t){let{translator:n}=this._globalizer;return void 0===t?n.translate(e):n.translateWithParameters(e,t)}constructor(e){this._globalizer=e}}class Y{initialize(e){this._defaultLocalizer=e}setCustomLocalizationProvider(e){this._customLocalizer=e}localize(e){return this._localize(e)}localizeWithParameters(e,t){return this._localize(e,t)}_localize(e,t){let n;if(void 0!==this._customLocalizer&&(n=this._localizeFromProvider(this._customLocalizer,e,t)),void 0===n){if(void 0===this._defaultLocalizer)return"";n=this._localizeFromProvider(this._defaultLocalizer,e,t)}return void 0===n?e:n}_localizeFromProvider(e,t,n){let i;try{i=e.localize(t,n)}catch(e){}return i}static get instance(){return this._instance||(this._instance=new Y),this._instance}constructor(){}}class X{_updateDisabledControls(e){var t;for(let t=0;t0&&(null===(t=this._logger)||void 0===t||t.d("UI Mediator","Updated Disabled Controls: ".concat(Array.from(this._disabledControls.values()).join(","))))}clearOverlays(){this._activeOverlays=new Map}addOverlay(e){this._updateDisabledControls(e.policy.disallowedPlaybackControls),this._activeOverlays.set(e.id,e.policy.disallowedPlaybackControls)}removeOverlay(e){this._activeOverlays.delete(e.id),this._disabledControls.clear(),this._activeOverlays.forEach(e=>this._updateDisabledControls(e))}requestLoad(e,t){this._disabledControls.has(1)||this._playerControls.load(e,t)}requestPlay(){this._disabledControls.has(2)||this._playerControls.play()}requestPause(){this._disabledControls.has(3)||this._playerControls.pause()}requestStop(){this._disabledControls.has(4)||this._playerControls.stop()}requestSeek(e,t){this._disabledControls.has(!0===t?13:5)||this._playerControls.seek(e)}requestSkip(e){this._disabledControls.has(6)||this._playerControls.skip(e)}requestSkipStart(e){this._disabledControls.has(7)||this._playerControls.skipStart(e)}requestSkipStop(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._disabledControls.has(8)||this._playerControls.skipStop(e)}requestEnterFullscreen(){this._disabledControls.has(12)||this._playerControls.fullscreenControls().enterFullscreen()}requestExitFullscreen(){this._disabledControls.has(12)||this._playerControls.fullscreenControls().exitFullscreen()}requestTextTrackSelection(e){this._disabledControls.has(9)||this._playerControls.trackControls().selectTextTrack(e)}requestAudioTrackSelection(e){this._disabledControls.has(0)||this._playerControls.trackControls().selectAudioTrack(e)}requestVolumeControl(e){this._disabledControls.has(10)||this._playerControls.volumeControls().setVolume(e)}requestMute(){this._disabledControls.has(10)||this._playerControls.volumeControls().setMute(!this._playerControls.volumeControls().isMuted)}requestThumbnailUrl(e,t,n){return this._disabledControls.has(11)?Promise.resolve(void 0):this._playerControls.thumbnailControls().getThumbnailUrl(e,t,n)}constructor(e,t){this._disabledControls=new Set,this._activeOverlays=new Map,this._playerControls=e,this._logger=t}}let J="Overlay Callbacks";class Q{_getConflictingOverlays(e){var t;let n=this.overlayRegistry.visibleOverlays,i=[];for(let[t,a]of n.entries())if(t!==e.id&&a){let n=this.overlayRegistry.getOverlay(t);!n||n.policy.canBeVisibleWith.has(e.id)||e.policy.canBeVisibleWith.has(t)||i.push(n)}return i.length>0&&(null===(t=this._logger)||void 0===t||t.d(J,"".concat(e.id," has the following conflicts: ").concat(i.map(e=>e.id).join(",")))),i}_calculateVisibleOverlays(){let e=[...this.overlayRegistry.getPendingOverlays()];for(let t of this.overlayRegistry.getVisibleOverlays().keys()){let n=this.overlayRegistry.getOverlay(t);n&&e.push(n)}for(let t of(e=e.sort((e,t)=>t.policy.priority-e.policy.priority),this.mediator.clearOverlays(),e))this.isVisibilityChangeAllowed(t.id,!0)?(this.mediator.addOverlay(t),this.overlayRegistry.setOverlayVisibility(t.id,!0)):this.overlayRegistry.addPendingOverlay(t.id)}_hideOverlay(e){return this.overlayRegistry.visibleOverlays.get(e.id)?(this.overlayRegistry.setOverlayVisibility(e.id,!1),this.mediator.removeOverlay(e),this._calculateVisibleOverlays()):-1!==this.overlayRegistry.getPendingOverlays().indexOf(e)&&this.overlayRegistry.removePendingOverlay(e.id),!0}_showOverlay(e){var t;if(!this.isVisibilityChangeAllowed(e.id,!0))return this.overlayRegistry.addPendingOverlay(e.id),!1;{let n=this._getConflictingOverlays(e);if(n.length>0)for(let e of n)null===(t=this._logger)||void 0===t||t.d(J,"Evicting overlay ".concat(e.id)),this.mediator.removeOverlay(e),this.overlayRegistry.setOverlayVisibility(e.id,!1),this.overlayRegistry.addPendingOverlay(e.id);return this.mediator.addOverlay(e),this.overlayRegistry.setOverlayVisibility(e.id,!0),!0}}requestVisibilityChange(e,t){let n=this.overlayRegistry.getOverlay(e);return void 0!==n&&(t?this._showOverlay(n):this._hideOverlay(n))}isVisibilityChangeAllowed(e,t){let n=this.overlayRegistry.getOverlay(e);if(void 0===n)return!1;let i=!0,a=this._getConflictingOverlays(n);if(a.length>0){let e=n.policy.priority;for(let t of a)e0&&void 0!==arguments[0]&&arguments[0];this.mediator.requestSkipStop(e)}requestEnterFullscreen(){this.mediator.requestEnterFullscreen()}requestExitFullscreen(){this.mediator.requestExitFullscreen()}requestTextTrackSelection(e){this.mediator.requestTextTrackSelection(e)}requestAudioTrackSelection(e){this.mediator.requestAudioTrackSelection(e)}requestThumbnailUrl(e,t,n){return this.mediator.requestThumbnailUrl(e,t,n)}requestSendMessage(e){return this.messageDispatcher.sendMessage(e)}constructor(e,t,n,i){this.overlayRegistry=e,this.mediator=t,this.messageDispatcher=n,this._logger=i}}class ee{sendMessage(e){for(let t of this._registry.overlaysByZIndex()){let n=t.interestedMessageTopics;(null==n?void 0:n.has(e.topic))&&(t.onMessageDispatched?t.onMessageDispatched(e):this._logger&&this._logger.e("OverlayMessageDispatcher","Overlay ".concat(t.id," has interestedMessageTopics(").concat(t.interestedMessageTopics,") but no onMessgeDispatched function")))}}constructor(e,t){this._registry=e,this._logger=t}}let et=new Set([C.id,p.id,h.id]);class en{addOverlay(e){if(this._map.has(e.id))throw Error("Overlay with ".concat(e.id," already exists"));if(this._zIndex.has(e.zOrderIndex)){let t=this._zIndex.get(e.zOrderIndex);throw Error("Overlay ".concat(e.id," cannot be added, ").concat(t," has the same zOrderIndex"))}if(this._priority.has(e.policy.priority)){let t=this._priority.get(e.policy.priority);throw Error("Overlay ".concat(e.id," cannot be added, ").concat(t," has the same policy"))}this._logger&&!et.has(e.id)&&e.zOrderIndex>3e4&&this._logger.e("ASSERTION FAILED","\n Overlay ".concat(e.id," has a zIndex greater than ").concat(3e4,".\n This is not a crash, but might cause some visual bugs in your application.\n Please set the zIndex below ").concat(3e4," to avoid this.\n ")),this._logger&&!et.has(e.id)&&e.policy.priority>3e4&&this._logger.e("ASSERTION FAILED","\n Overlay ".concat(e.id," has a priority greater than ").concat(3e4,".\n This is not a crash, but might cause some visual bugs in your application.\n Please set the priority below ").concat(3e4," to avoid this.\n ")),this._map.set(e.id,e),this._zIndex.set(e.zOrderIndex,e.id),this._priority.set(e.policy.priority,e.id)}setLogger(e){this._logger=e}overlaysByZIndex(){return Array.from(this._map.values()).sort((e,t)=>e.zOrderIndex-t.zOrderIndex)}getOverlay(e){return this._map.get(e)}getVisibleOverlays(){return new Set(this.visibleOverlays.keys())}setOverlayVisibility(e,t){if(void 0===this.getOverlay(e))throw Error("Error setting overlay visibility to ".concat(t,", overlay with id ").concat(e," cannot be found"));t?this.visibleOverlays.set(e,t):(this.visibleOverlays.delete(e),this._pendingOverlays.delete(e)),this._visibilityChanged$.next({id:e,visible:t})}addPendingOverlay(e){this._pendingOverlays.add(e)}removePendingOverlay(e){this._pendingOverlays.delete(e)}getPendingOverlays(){let e=[];for(let t of this._pendingOverlays){let n=this.getOverlay(t);n&&e.push(n)}return e}constructor(e){this._map=new Map,this._zIndex=new Map,this._priority=new Map,this.visibleOverlays=new Map,this._pendingOverlays=new Set,this._visibilityChanged$=e}}let ei="OverlayCoordinator";class ea{initialize(e,t,n,i,a){this._logger=a,this._registry.setLogger(this._logger);let r=new X(t,a),s=new Q(this._registry,r,this._messageDispatcher,this._logger),o=this._overlayEventBus.getEventConsumer();for(let t of this._overlayCreators){let n=t.create(e,s,o,this._messageDispatcher,i,a,this._direction);this._registry.addOverlay(n)}this._overlays=this._registry.overlaysByZIndex(),this._eventConsumer=e,this._playerOverlayCallbacks=s,this._initialized=!0,this.renderOverlays()}destroy(){for(let e of this._overlays)e.destroy();this._initialized=!1}setStylingOverrides(e){this._stylingOverrides=e}focusOverlayRootContainer(e){this._focusOverlayRootContainer=e}forceHideUI(e){this._forceHideUI=e}setObservableSafeZone(e){this._safeZoneEvent$=e}setOverlayDirection(e){this._direction=e}constructor(e,t,n){this._direction="auto",K(t.languageCode,t.formatCode,n).then(e=>{var t;Y.instance.initialize(new q(e)),null===(t=this._logger)||void 0===t||t.d(ei,"Localizer initialized with language")}).catch(e=>{var t;null===(t=this._logger)||void 0===t||t.d(ei,"Localizer failed to initialize. Error: ".concat(e))});let i=M.C.instance.getLocalizationProvider();void 0!==i&&Y.instance.setCustomLocalizationProvider(i),this._initialized=!1,this._focusOverlayRootContainer=!1,this._forceHideUI=!1,this._overlayCreators=e,this._overlays=[],this._overlayEventBus=new N,this._registry=new en(this._overlayEventBus.overlayVisibilityChanged$),this._messageDispatcher=new ee(this._registry)}}},57572:function(){},38245:function(){},49742:function(){}}]);