(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[56613],{21171:function(e,t,n){var a={"./bleacher-report/language-packs/bg-BG/compiled-messages.js":[9001,9001],"./bleacher-report/language-packs/cs-CZ/compiled-messages.js":[94403,94403],"./bleacher-report/language-packs/da-DK/compiled-messages.js":[20706,20706],"./bleacher-report/language-packs/de-DE/compiled-messages.js":[74673,74673],"./bleacher-report/language-packs/el-GR/compiled-messages.js":[95560,95560],"./bleacher-report/language-packs/en-GB/compiled-messages.js":[31274,31274],"./bleacher-report/language-packs/en-US/compiled-messages.js":[16678,16678],"./bleacher-report/language-packs/es-419/compiled-messages.js":[39665,39665],"./bleacher-report/language-packs/es-ES/compiled-messages.js":[78030,78030],"./bleacher-report/language-packs/et-EE/compiled-messages.js":[91522,91522],"./bleacher-report/language-packs/fi-FI/compiled-messages.js":[34414,34414],"./bleacher-report/language-packs/fil-PH/compiled-messages.js":[88323,88323],"./bleacher-report/language-packs/fr-CA/compiled-messages.js":[72049,72049],"./bleacher-report/language-packs/fr-FR/compiled-messages.js":[55675,55675],"./bleacher-report/language-packs/he-IL/compiled-messages.js":[47203,47203],"./bleacher-report/language-packs/hr-HR/compiled-messages.js":[17592,17592],"./bleacher-report/language-packs/hu-HU/compiled-messages.js":[99068,99068],"./bleacher-report/language-packs/id-ID/compiled-messages.js":[95133,95133],"./bleacher-report/language-packs/it-IT/compiled-messages.js":[79671,48368],"./bleacher-report/language-packs/lt-LT/compiled-messages.js":[97093,97093],"./bleacher-report/language-packs/lv-LV/compiled-messages.js":[83557,83557],"./bleacher-report/language-packs/mk-MK/compiled-messages.js":[47232,47232],"./bleacher-report/language-packs/ms-MY/compiled-messages.js":[38618,11528],"./bleacher-report/language-packs/nb-NO/compiled-messages.js":[55557,55557],"./bleacher-report/language-packs/nl-NL/compiled-messages.js":[13401,13401],"./bleacher-report/language-packs/pl-PL/compiled-messages.js":[52220,52220],"./bleacher-report/language-packs/pseudo-LOC/compiled-messages.js":[49026,49026],"./bleacher-report/language-packs/pseudo-LONG/compiled-messages.js":[10146,10146],"./bleacher-report/language-packs/pt-BR/compiled-messages.js":[36561,36561],"./bleacher-report/language-packs/pt-PT/compiled-messages.js":[4529,4529],"./bleacher-report/language-packs/ro-RO/compiled-messages.js":[99052,99052],"./bleacher-report/language-packs/ru-RU/compiled-messages.js":[97556,97556],"./bleacher-report/language-packs/sk-SK/compiled-messages.js":[14744,14744],"./bleacher-report/language-packs/sl-SI/compiled-messages.js":[67657,67657],"./bleacher-report/language-packs/sr-Latn-RS/compiled-messages.js":[95992,95992],"./bleacher-report/language-packs/sv-SE/compiled-messages.js":[72389,72389],"./bleacher-report/language-packs/th-TH/compiled-messages.js":[953,953],"./bleacher-report/language-packs/tr-TR/compiled-messages.js":[66540,66540],"./bleacher-report/language-packs/uk-UA/compiled-messages.js":[38588,38588],"./bleacher-report/language-packs/zh-Hans-SG/compiled-messages.js":[14269,14269],"./bleacher-report/language-packs/zh-Hant-HK/compiled-messages.js":[44677,44677],"./bleacher-report/language-packs/zh-Hant-TW/compiled-messages.js":[25291,25291],"./dplus/language-packs/bg-BG/compiled-messages.js":[20370,20370],"./dplus/language-packs/cs-CZ/compiled-messages.js":[25673,25673],"./dplus/language-packs/da-DK/compiled-messages.js":[85989,85989],"./dplus/language-packs/de-DE/compiled-messages.js":[79059,79059],"./dplus/language-packs/el-GR/compiled-messages.js":[57272,86507],"./dplus/language-packs/en-GB/compiled-messages.js":[42515,42515],"./dplus/language-packs/en-US/compiled-messages.js":[97534,97534],"./dplus/language-packs/es-419/compiled-messages.js":[86964,86964],"./dplus/language-packs/es-ES/compiled-messages.js":[62030,62030],"./dplus/language-packs/et-EE/compiled-messages.js":[1470,1470],"./dplus/language-packs/fi-FI/compiled-messages.js":[67731,55624],"./dplus/language-packs/fil-PH/compiled-messages.js":[50874,50874],"./dplus/language-packs/fr-CA/compiled-messages.js":[72571,72571],"./dplus/language-packs/fr-FR/compiled-messages.js":[24877,24877],"./dplus/language-packs/he-IL/compiled-messages.js":[58522,58522],"./dplus/language-packs/hr-HR/compiled-messages.js":[74206,74206],"./dplus/language-packs/hu-HU/compiled-messages.js":[32044,32044],"./dplus/language-packs/id-ID/compiled-messages.js":[95382,95382],"./dplus/language-packs/it-IT/compiled-messages.js":[52440,52440],"./dplus/language-packs/lt-LT/compiled-messages.js":[37621,37621],"./dplus/language-packs/lv-LV/compiled-messages.js":[47588,47588],"./dplus/language-packs/mk-MK/compiled-messages.js":[95333,95333],"./dplus/language-packs/ms-MY/compiled-messages.js":[41784,41784],"./dplus/language-packs/nb-NO/compiled-messages.js":[60093,60093],"./dplus/language-packs/nl-NL/compiled-messages.js":[77179,77179],"./dplus/language-packs/pl-PL/compiled-messages.js":[79949,79949],"./dplus/language-packs/pseudo-LOC/compiled-messages.js":[84777,84777],"./dplus/language-packs/pseudo-LONG/compiled-messages.js":[9356,9356],"./dplus/language-packs/pt-BR/compiled-messages.js":[30968,30968],"./dplus/language-packs/pt-PT/compiled-messages.js":[90329,90329],"./dplus/language-packs/ro-RO/compiled-messages.js":[63796,63796],"./dplus/language-packs/ru-RU/compiled-messages.js":[52685,65899],"./dplus/language-packs/sk-SK/compiled-messages.js":[61371,61371],"./dplus/language-packs/sl-SI/compiled-messages.js":[95567,95567],"./dplus/language-packs/sr-Latn-RS/compiled-messages.js":[86312,86312],"./dplus/language-packs/sv-SE/compiled-messages.js":[64759,64759],"./dplus/language-packs/th-TH/compiled-messages.js":[44966,44966],"./dplus/language-packs/tr-TR/compiled-messages.js":[25278,25278],"./dplus/language-packs/uk-UA/compiled-messages.js":[57897,57897],"./dplus/language-packs/zh-Hans-SG/compiled-messages.js":[96465,96465],"./dplus/language-packs/zh-Hant-HK/compiled-messages.js":[18397,18397],"./dplus/language-packs/zh-Hant-TW/compiled-messages.js":[96728,96728],"./hbomax/language-packs/bg-BG/compiled-messages.js":[60520,60520],"./hbomax/language-packs/cs-CZ/compiled-messages.js":[33769,33769],"./hbomax/language-packs/da-DK/compiled-messages.js":[53802,53802],"./hbomax/language-packs/de-DE/compiled-messages.js":[79850,79850],"./hbomax/language-packs/el-GR/compiled-messages.js":[1560,1560],"./hbomax/language-packs/en-GB/compiled-messages.js":[27718,27718],"./hbomax/language-packs/en-US/compiled-messages.js":[50890,50890],"./hbomax/language-packs/es-419/compiled-messages.js":[38495,38495],"./hbomax/language-packs/es-ES/compiled-messages.js":[61014,61014],"./hbomax/language-packs/et-EE/compiled-messages.js":[38558,38558],"./hbomax/language-packs/fi-FI/compiled-messages.js":[5921,5921],"./hbomax/language-packs/fil-PH/compiled-messages.js":[67828,67828],"./hbomax/language-packs/fr-CA/compiled-messages.js":[30042,30042],"./hbomax/language-packs/fr-FR/compiled-messages.js":[29390,29390],"./hbomax/language-packs/he-IL/compiled-messages.js":[33109,33109],"./hbomax/language-packs/hr-HR/compiled-messages.js":[43936,43936],"./hbomax/language-packs/hu-HU/compiled-messages.js":[85265,85265],"./hbomax/language-packs/id-ID/compiled-messages.js":[38710,38710],"./hbomax/language-packs/it-IT/compiled-messages.js":[35984,35984],"./hbomax/language-packs/lt-LT/compiled-messages.js":[24724,24724],"./hbomax/language-packs/lv-LV/compiled-messages.js":[55823,55823],"./hbomax/language-packs/mk-MK/compiled-messages.js":[84843,84843],"./hbomax/language-packs/ms-MY/compiled-messages.js":[88851,88851],"./hbomax/language-packs/nb-NO/compiled-messages.js":[25700,25700],"./hbomax/language-packs/nl-NL/compiled-messages.js":[63160,63160],"./hbomax/language-packs/pl-PL/compiled-messages.js":[77424,77424],"./hbomax/language-packs/pseudo-LOC/compiled-messages.js":[74887,74887],"./hbomax/language-packs/pseudo-LONG/compiled-messages.js":[20081,20081],"./hbomax/language-packs/pt-BR/compiled-messages.js":[37176,37176],"./hbomax/language-packs/pt-PT/compiled-messages.js":[66168,66168],"./hbomax/language-packs/ro-RO/compiled-messages.js":[84759,84759],"./hbomax/language-packs/ru-RU/compiled-messages.js":[71566,71566],"./hbomax/language-packs/sk-SK/compiled-messages.js":[14220,14220],"./hbomax/language-packs/sl-SI/compiled-messages.js":[90646,90646],"./hbomax/language-packs/sr-Latn-RS/compiled-messages.js":[59319,59319],"./hbomax/language-packs/sv-SE/compiled-messages.js":[84904,84904],"./hbomax/language-packs/th-TH/compiled-messages.js":[11601,11601],"./hbomax/language-packs/tr-TR/compiled-messages.js":[40384,40384],"./hbomax/language-packs/uk-UA/compiled-messages.js":[59449,59449],"./hbomax/language-packs/zh-Hans-SG/compiled-messages.js":[7043,7043],"./hbomax/language-packs/zh-Hant-HK/compiled-messages.js":[36267,36267],"./hbomax/language-packs/zh-Hant-TW/compiled-messages.js":[91093,91093],"./language-packs/bg-BG/compiled-messages.js":[26592,26592],"./language-packs/cs-CZ/compiled-messages.js":[84815,84815],"./language-packs/da-DK/compiled-messages.js":[78615,78615],"./language-packs/de-DE/compiled-messages.js":[14324,14324],"./language-packs/el-GR/compiled-messages.js":[26507,26507],"./language-packs/en-GB/compiled-messages.js":[6386,6386],"./language-packs/en-US/compiled-messages.js":[22195,22195],"./language-packs/es-419/compiled-messages.js":[40310,40310],"./language-packs/es-ES/compiled-messages.js":[9097,9097],"./language-packs/et-EE/compiled-messages.js":[30037,30037],"./language-packs/fi-FI/compiled-messages.js":[11779,11779],"./language-packs/fil-PH/compiled-messages.js":[14892,14892],"./language-packs/fr-CA/compiled-messages.js":[83823,83823],"./language-packs/fr-FR/compiled-messages.js":[7083,7083],"./language-packs/he-IL/compiled-messages.js":[22464,22464],"./language-packs/hr-HR/compiled-messages.js":[10306,10306],"./language-packs/hu-HU/compiled-messages.js":[7681,7681],"./language-packs/id-ID/compiled-messages.js":[4718,4718],"./language-packs/it-IT/compiled-messages.js":[84008,84008],"./language-packs/lt-LT/compiled-messages.js":[5113,5113],"./language-packs/lv-LV/compiled-messages.js":[76836,76836],"./language-packs/mk-MK/compiled-messages.js":[79968,79968],"./language-packs/ms-MY/compiled-messages.js":[85854,85854],"./language-packs/nb-NO/compiled-messages.js":[78,78],"./language-packs/nl-NL/compiled-messages.js":[39877,39877],"./language-packs/pl-PL/compiled-messages.js":[39726,39726],"./language-packs/pseudo-LOC/compiled-messages.js":[51135,51135],"./language-packs/pseudo-LONG/compiled-messages.js":[32928,32928],"./language-packs/pt-BR/compiled-messages.js":[95433,95433],"./language-packs/pt-PT/compiled-messages.js":[70574,70574],"./language-packs/ro-RO/compiled-messages.js":[71346,71346],"./language-packs/ru-RU/compiled-messages.js":[70120,70120],"./language-packs/sk-SK/compiled-messages.js":[57155,57155],"./language-packs/sl-SI/compiled-messages.js":[28449,28449],"./language-packs/sr-Latn-RS/compiled-messages.js":[80721,80721],"./language-packs/sv-SE/compiled-messages.js":[39185,39185],"./language-packs/th-TH/compiled-messages.js":[60927,60927],"./language-packs/tr-TR/compiled-messages.js":[5483,5483],"./language-packs/uk-UA/compiled-messages.js":[75730,75730],"./language-packs/zh-Hans-SG/compiled-messages.js":[55630,55630],"./language-packs/zh-Hant-HK/compiled-messages.js":[2756,2756],"./language-packs/zh-Hant-TW/compiled-messages.js":[63597,63597]};function r(e){if(!n.o(a,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=a[e],r=t[0];return n.e(t[1]).then(function(){return n.t(r,23)})}r.keys=function(){return Object.keys(a)},r.id=21171,e.exports=r},18810:function(e,t,n){var a={"./bleacher-report/language-packs/bg-BG/translated-messages.json":[75840,75840],"./bleacher-report/language-packs/cs-CZ/translated-messages.json":[28917,28917],"./bleacher-report/language-packs/da-DK/translated-messages.json":[35042,35042],"./bleacher-report/language-packs/de-DE/translated-messages.json":[54944,54944],"./bleacher-report/language-packs/el-GR/translated-messages.json":[74322,74322],"./bleacher-report/language-packs/en-GB/translated-messages.json":[20549,20549],"./bleacher-report/language-packs/en-US/translated-messages.json":[50920,50920],"./bleacher-report/language-packs/es-419/translated-messages.json":[77567,77065],"./bleacher-report/language-packs/es-ES/translated-messages.json":[13145,13145],"./bleacher-report/language-packs/et-EE/translated-messages.json":[66759,66759],"./bleacher-report/language-packs/fi-FI/translated-messages.json":[17600,17600],"./bleacher-report/language-packs/fil-PH/translated-messages.json":[76208,76208],"./bleacher-report/language-packs/fr-CA/translated-messages.json":[62777,62777],"./bleacher-report/language-packs/fr-FR/translated-messages.json":[14166,14166],"./bleacher-report/language-packs/he-IL/translated-messages.json":[2561,2561],"./bleacher-report/language-packs/hr-HR/translated-messages.json":[76045,76045],"./bleacher-report/language-packs/hu-HU/translated-messages.json":[96642,96642],"./bleacher-report/language-packs/id-ID/translated-messages.json":[4731,4731],"./bleacher-report/language-packs/it-IT/translated-messages.json":[75876,75876],"./bleacher-report/language-packs/lt-LT/translated-messages.json":[21537,21537],"./bleacher-report/language-packs/lv-LV/translated-messages.json":[91004,91004],"./bleacher-report/language-packs/mk-MK/translated-messages.json":[71356,71356],"./bleacher-report/language-packs/ms-MY/translated-messages.json":[22396,22396],"./bleacher-report/language-packs/nb-NO/translated-messages.json":[10261,10261],"./bleacher-report/language-packs/nl-NL/translated-messages.json":[12591,12591],"./bleacher-report/language-packs/pl-PL/translated-messages.json":[20412,20412],"./bleacher-report/language-packs/pseudo-LOC/translated-messages.json":[25082,25082],"./bleacher-report/language-packs/pseudo-LONG/translated-messages.json":[31253,31253],"./bleacher-report/language-packs/pt-BR/translated-messages.json":[91517,91517],"./bleacher-report/language-packs/pt-PT/translated-messages.json":[45717,45717],"./bleacher-report/language-packs/ro-RO/translated-messages.json":[42671,42671],"./bleacher-report/language-packs/ru-RU/translated-messages.json":[31440,31440],"./bleacher-report/language-packs/sk-SK/translated-messages.json":[77562,77562],"./bleacher-report/language-packs/sl-SI/translated-messages.json":[47305,47305],"./bleacher-report/language-packs/sr-Latn-RS/translated-messages.json":[53135,53135],"./bleacher-report/language-packs/sv-SE/translated-messages.json":[11668,11668],"./bleacher-report/language-packs/th-TH/translated-messages.json":[16014,16014],"./bleacher-report/language-packs/tr-TR/translated-messages.json":[37148,37148],"./bleacher-report/language-packs/uk-UA/translated-messages.json":[52328,52328],"./bleacher-report/language-packs/zh-Hans-SG/translated-messages.json":[39259,39259],"./bleacher-report/language-packs/zh-Hant-HK/translated-messages.json":[74364,74364],"./bleacher-report/language-packs/zh-Hant-TW/translated-messages.json":[39577,39577],"./dplus/language-packs/bg-BG/translated-messages.json":[57222,57222],"./dplus/language-packs/cs-CZ/translated-messages.json":[69340,69340],"./dplus/language-packs/da-DK/translated-messages.json":[94385,94385],"./dplus/language-packs/de-DE/translated-messages.json":[53670,53670],"./dplus/language-packs/el-GR/translated-messages.json":[83063,83063],"./dplus/language-packs/en-GB/translated-messages.json":[84317,84317],"./dplus/language-packs/en-US/translated-messages.json":[15164,15164],"./dplus/language-packs/es-419/translated-messages.json":[87853,87853],"./dplus/language-packs/es-ES/translated-messages.json":[24720,24720],"./dplus/language-packs/et-EE/translated-messages.json":[2737,2737],"./dplus/language-packs/fi-FI/translated-messages.json":[6989,6989],"./dplus/language-packs/fil-PH/translated-messages.json":[87553,87553],"./dplus/language-packs/fr-CA/translated-messages.json":[80441,80441],"./dplus/language-packs/fr-FR/translated-messages.json":[97068,97068],"./dplus/language-packs/he-IL/translated-messages.json":[10122,10122],"./dplus/language-packs/hr-HR/translated-messages.json":[56739,56739],"./dplus/language-packs/hu-HU/translated-messages.json":[73326,73326],"./dplus/language-packs/id-ID/translated-messages.json":[94857,94857],"./dplus/language-packs/it-IT/translated-messages.json":[78050,78050],"./dplus/language-packs/lt-LT/translated-messages.json":[90219,90219],"./dplus/language-packs/lv-LV/translated-messages.json":[58990,58990],"./dplus/language-packs/mk-MK/translated-messages.json":[25226,25226],"./dplus/language-packs/ms-MY/translated-messages.json":[40394,40394],"./dplus/language-packs/nb-NO/translated-messages.json":[50795,50795],"./dplus/language-packs/nl-NL/translated-messages.json":[95102,95102],"./dplus/language-packs/pl-PL/translated-messages.json":[45423,45423],"./dplus/language-packs/pseudo-LOC/translated-messages.json":[44456,44456],"./dplus/language-packs/pseudo-LONG/translated-messages.json":[14522,14522],"./dplus/language-packs/pt-BR/translated-messages.json":[90100,90100],"./dplus/language-packs/pt-PT/translated-messages.json":[67822,67822],"./dplus/language-packs/ro-RO/translated-messages.json":[23118,23118],"./dplus/language-packs/ru-RU/translated-messages.json":[36129,36129],"./dplus/language-packs/sk-SK/translated-messages.json":[84183,84183],"./dplus/language-packs/sl-SI/translated-messages.json":[28593,28593],"./dplus/language-packs/sr-Latn-RS/translated-messages.json":[28516,28516],"./dplus/language-packs/sv-SE/translated-messages.json":[26285,26285],"./dplus/language-packs/th-TH/translated-messages.json":[41650,41650],"./dplus/language-packs/tr-TR/translated-messages.json":[92064,92064],"./dplus/language-packs/uk-UA/translated-messages.json":[27363,27363],"./dplus/language-packs/zh-Hans-SG/translated-messages.json":[29617,29617],"./dplus/language-packs/zh-Hant-HK/translated-messages.json":[87193,87193],"./dplus/language-packs/zh-Hant-TW/translated-messages.json":[9392,9392],"./hbomax/language-packs/bg-BG/translated-messages.json":[71938,71938],"./hbomax/language-packs/cs-CZ/translated-messages.json":[27862,27862],"./hbomax/language-packs/da-DK/translated-messages.json":[9716,9716],"./hbomax/language-packs/de-DE/translated-messages.json":[42629,42629],"./hbomax/language-packs/el-GR/translated-messages.json":[11828,11828],"./hbomax/language-packs/en-GB/translated-messages.json":[9734,9734],"./hbomax/language-packs/en-US/translated-messages.json":[85509,85509],"./hbomax/language-packs/es-419/translated-messages.json":[78847,78847],"./hbomax/language-packs/es-ES/translated-messages.json":[16350,16350],"./hbomax/language-packs/et-EE/translated-messages.json":[14771,14771],"./hbomax/language-packs/fi-FI/translated-messages.json":[29330,29330],"./hbomax/language-packs/fil-PH/translated-messages.json":[33301,33301],"./hbomax/language-packs/fr-CA/translated-messages.json":[96831,96831],"./hbomax/language-packs/fr-FR/translated-messages.json":[97547,97547],"./hbomax/language-packs/he-IL/translated-messages.json":[63432,63432],"./hbomax/language-packs/hr-HR/translated-messages.json":[43471,43471],"./hbomax/language-packs/hu-HU/translated-messages.json":[74991,74991],"./hbomax/language-packs/id-ID/translated-messages.json":[94124,94124],"./hbomax/language-packs/it-IT/translated-messages.json":[96927,96927],"./hbomax/language-packs/lt-LT/translated-messages.json":[9754,9754],"./hbomax/language-packs/lv-LV/translated-messages.json":[25975,25975],"./hbomax/language-packs/mk-MK/translated-messages.json":[41535,41535],"./hbomax/language-packs/ms-MY/translated-messages.json":[48052,48052],"./hbomax/language-packs/nb-NO/translated-messages.json":[73011,73011],"./hbomax/language-packs/nl-NL/translated-messages.json":[54797,54797],"./hbomax/language-packs/pl-PL/translated-messages.json":[96318,28769],"./hbomax/language-packs/pseudo-LOC/translated-messages.json":[92124,92124],"./hbomax/language-packs/pseudo-LONG/translated-messages.json":[65113,65113],"./hbomax/language-packs/pt-BR/translated-messages.json":[64494,64494],"./hbomax/language-packs/pt-PT/translated-messages.json":[73096,73096],"./hbomax/language-packs/ro-RO/translated-messages.json":[49160,49160],"./hbomax/language-packs/ru-RU/translated-messages.json":[39999,39999],"./hbomax/language-packs/sk-SK/translated-messages.json":[55768,55768],"./hbomax/language-packs/sl-SI/translated-messages.json":[32611,32611],"./hbomax/language-packs/sr-Latn-RS/translated-messages.json":[70431,70431],"./hbomax/language-packs/sv-SE/translated-messages.json":[6880,6880],"./hbomax/language-packs/th-TH/translated-messages.json":[40317,40317],"./hbomax/language-packs/tr-TR/translated-messages.json":[83074,7188],"./hbomax/language-packs/uk-UA/translated-messages.json":[8407,8407],"./hbomax/language-packs/zh-Hans-SG/translated-messages.json":[5872,5872],"./hbomax/language-packs/zh-Hant-HK/translated-messages.json":[4204,4204],"./hbomax/language-packs/zh-Hant-TW/translated-messages.json":[14757,14757],"./language-packs/bg-BG/translated-messages.json":[55650,55650],"./language-packs/cs-CZ/translated-messages.json":[4262,4262],"./language-packs/da-DK/translated-messages.json":[25205,25205],"./language-packs/de-DE/translated-messages.json":[32729,32729],"./language-packs/el-GR/translated-messages.json":[19608,49219],"./language-packs/en-GB/translated-messages.json":[69387,69387],"./language-packs/en-US/translated-messages.json":[35233,35233],"./language-packs/es-419/translated-messages.json":[98583,98583],"./language-packs/es-ES/translated-messages.json":[2026,2026],"./language-packs/et-EE/translated-messages.json":[90876,90876],"./language-packs/fi-FI/translated-messages.json":[7807,7807],"./language-packs/fil-PH/translated-messages.json":[97793,97793],"./language-packs/fr-CA/translated-messages.json":[91053,91053],"./language-packs/fr-FR/translated-messages.json":[86367,86367],"./language-packs/he-IL/translated-messages.json":[31474,31474],"./language-packs/hr-HR/translated-messages.json":[32848,32848],"./language-packs/hu-HU/translated-messages.json":[60453,60453],"./language-packs/id-ID/translated-messages.json":[56992,56992],"./language-packs/it-IT/translated-messages.json":[62555,62555],"./language-packs/lt-LT/translated-messages.json":[9489,9489],"./language-packs/lv-LV/translated-messages.json":[51878,51878],"./language-packs/mk-MK/translated-messages.json":[8042,8042],"./language-packs/ms-MY/translated-messages.json":[67343,67343],"./language-packs/nb-NO/translated-messages.json":[21249,21249],"./language-packs/nl-NL/translated-messages.json":[4588,4588],"./language-packs/pl-PL/translated-messages.json":[35856,35856],"./language-packs/pseudo-LOC/translated-messages.json":[52079,52079],"./language-packs/pseudo-LONG/translated-messages.json":[80644,80644],"./language-packs/pt-BR/translated-messages.json":[59006,59006],"./language-packs/pt-PT/translated-messages.json":[90982,90982],"./language-packs/ro-RO/translated-messages.json":[98043,98043],"./language-packs/ru-RU/translated-messages.json":[1849,1849],"./language-packs/sk-SK/translated-messages.json":[89153,89153],"./language-packs/sl-SI/translated-messages.json":[58299,58299],"./language-packs/sr-Latn-RS/translated-messages.json":[70986,70986],"./language-packs/sv-SE/translated-messages.json":[42599,42599],"./language-packs/th-TH/translated-messages.json":[74518,74518],"./language-packs/tr-TR/translated-messages.json":[19213,19213],"./language-packs/uk-UA/translated-messages.json":[49248,49248],"./language-packs/zh-Hans-SG/translated-messages.json":[98214,98214],"./language-packs/zh-Hant-HK/translated-messages.json":[89631,89631],"./language-packs/zh-Hant-TW/translated-messages.json":[43312,43312]};function r(e){if(!n.o(a,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=a[e],r=t[0];return n.e(t[1]).then(function(){return n.t(r,19)})}r.keys=function(){return Object.keys(a)},r.id=18810,e.exports=r},95283:function(e,t,n){var a={"./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 r(e){if(!n.o(a,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=a[e],r=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n.t(r,23)})}r.keys=function(){return Object.keys(a)},r.id=95283,e.exports=r},93626:function(){},54718:function(e,t,n){"use strict";n.d(t,{AR:function(){return tm},D2:function(){return e7},DA:function(){return tW},Ez:function(){return tL},GZ:function(){return tA},Ii:function(){return tj},Io:function(){return tD},M_:function(){return n3},TR:function(){return tC},V3:function(){return tR},Vr:function(){return tM},Xx:function(){return nX},dp:function(){return e1},fk:function(){return n2},ri:function(){return eH},xu:function(){return eB},yR:function(){return tE},z1:function(){return n4}});var a,r,s,i,o,l,c,d,u,p,g,h,m,v,f,y,E,b,S,T,w,A,C,I,P,_,k,N,R,L,x,O,D,U,M,F,G,W,B,V,H,j,K,z,q,$,Y,X,Q,Z,J,ee,et,en,ea,er,es,ei,eo,el,ec,ed,eu,ep,eg,eh,em,ev,ef,ey,eE,eb,eS,eT,ew,eA,eC,eI,eP,e_,ek,eN,eR,eL,ex,eO,eD,eU,eM,eF,eG,eW,eB,eV,eH,ej,eK,ez,eq,e$,eY,eX,eQ,eZ,eJ,e0,e7,e1,e5,e2,e3,e4,e9,e6,e8,te,tt,tn,ta,tr,ts,ti,to,tl,tc,td,tu,tp,tg,th,tm,tv,tf,ty,tE,tb,tS,tT,tw,tA,tC,tI,tP,t_,tk,tN,tR,tL,tx,tO,tD,tU,tM,tF,tG,tW,tB,tV,tH,tj,tK,tz=n(18366),tq=n(31235);function t$(){let e=(0,tz._)(["\n fragment TagRegistry on AdsDeployedState {\n hasInViewRefresh\n hasRealTimeAdInsertion\n inViewRefreshCount\n inViewRefreshInterval\n isSingleton\n name\n targetings {\n key\n value\n }\n slots {\n adUnitPath\n name\n adSizes {\n height\n width\n }\n targetings {\n key\n value\n }\n hasInViewRefresh\n isResponsive\n isFluid\n inViewRefreshCount\n inViewRefreshInterval\n viewports {\n height\n sizes\n width\n }\n }\n}\n "]);return t$=function(){return e},e}function tY(){let e=(0,tz._)(["\n fragment ChannelAdsConfig on AdsChannelConfiguration {\n adUnitPath\n configuration {\n jsonBlob\n }\n adFuelConfiguration @client\n registry {\n ...TagRegistry\n }\n groupings {\n id\n adUnitPath\n registry {\n ...TagRegistry\n }\n }\n channelAds @client {\n adUnitPath\n adFuelConfiguration\n registry {\n ...TagRegistry\n }\n adSchema\n }\n}\n ",""]);return tY=function(){return e},e}function tX(){let e=(0,tz._)(["\n fragment ArticleTagItem on TagV2 {\n uuid\n slug\n _id\n displayName\n shortName\n type\n logo {\n alt\n url\n }\n}\n "]);return tX=function(){return e},e}function tQ(){let e=(0,tz._)(["\n fragment ArticleTag on TagV2 {\n ...ArticleTagItem\n root {\n ...ArticleTagItem\n }\n parent {\n ...ArticleTagItem\n parent {\n ...ArticleTagItem\n parent {\n ...ArticleTagItem\n }\n }\n }\n}\n ",""]);return tQ=function(){return e},e}function tZ(){let e=(0,tz._)(["\n fragment Media on ElementContent {\n html\n url\n wordCount\n image {\n alt\n url\n caption\n accreditation\n }\n media {\n _id\n title\n createdAt\n durationSeconds\n videoType\n eventId\n deliverableImage {\n url\n alt\n }\n offering {\n editId\n id\n }\n contentMetadata @client {\n id\n initialStreamMode\n title\n durationSeconds\n headline\n thumbnail\n caption\n subtitle\n heroImageUrl\n videoType\n }\n }\n}\n "]);return tZ=function(){return e},e}function tJ(){let e=(0,tz._)(["\n fragment adsConfigFields on AdsConfiguration {\n adUnitPath\n registry {\n ...TagRegistry\n }\n configuration {\n jsonBlob\n }\n adFuelConfiguration @client\n adSchema @client\n}\n ",""]);return tJ=function(){return e},e}function t0(){let e=(0,tz._)(["\n fragment ArticleBody on Article {\n displayId\n uuid\n title\n createdAt\n updatedAt\n isEvergreen\n publishedDateTime\n publishedDate @client\n trendingRank\n buzz @client\n tags {\n displayName\n }\n slug\n author {\n name\n title\n }\n image {\n url\n }\n description\n primaryTag {\n ...ArticleTag\n league @client\n navId @client\n }\n breadcrumbs @client {\n ...ArticleTagItem\n }\n title @client\n alternateDescription @client\n featuredMedia @client {\n contentType\n content {\n ...Media\n }\n }\n slides {\n id\n title\n featuredMedia {\n contentType\n content {\n ...Media\n }\n }\n elements {\n order\n contentType\n content {\n ...Media\n }\n }\n }\n adsConfig {\n ...adsConfigFields\n }\n}\n ","\n","\n","\n",""]);return t0=function(){return e},e}function t7(){let e=(0,tz._)(["\n fragment CommunityTagItem on TagV2 {\n displayName\n type\n slug\n logo {\n alt\n url\n }\n}\n "]);return t7=function(){return e},e}function t1(){let e=(0,tz._)(["\n fragment GroupingHeaderFragment on GroupingHeader {\n id\n title\n isDefault\n image {\n url\n }\n}\n "]);return t1=function(){return e},e}function t5(){let e=(0,tz._)(["\n fragment StandaloneContent on StandaloneContentModule {\n id\n contentID\n thumbnail\n title\n description\n type\n thumbnailAccreditation\n thumbnailCopyright\n href @client\n source @client\n timestamp @client\n isValid @client\n publishedDate @client\n analyticsTitle @client\n tag @client {\n logo {\n alt\n url\n }\n colorPrimary\n }\n copyright @client\n}\n "]);return t5=function(){return e},e}function t2(){let e=(0,tz._)(["\n fragment ArticleCard on Article {\n uuid\n cmsId\n slug\n createdAt\n isEvergreen\n publishedDateTime\n publishedDate @client\n analyticsContentId @client\n}\n "]);return t2=function(){return e},e}function t3(){let e=(0,tz._)(["\n fragment VideoCard on VideoV2 {\n _id\n analyticsContentId @client\n title\n createdDateTime\n durationSeconds\n videoType\n playable\n eventId\n height\n width\n videoState\n mode @client\n deliverableImage {\n url\n alt\n height\n width\n }\n offering {\n editId\n id\n }\n contentMetadata @client {\n id\n initialStreamMode\n title\n durationSeconds\n headline\n thumbnail\n caption\n subtitle\n heroImageUrl\n videoType\n }\n}\n "]);return t3=function(){return e},e}function t4(){let e=(0,tz._)(["\n fragment BrandedTweet on Tweet {\n url @client\n id\n author {\n name\n profileImageUrl\n verified\n username\n }\n data {\n createdAt\n text\n entities {\n urls {\n url\n }\n }\n }\n media {\n previewImageUrl\n type\n url\n }\n analyticsContentId @client\n}\n "]);return t4=function(){return e},e}function t9(){let e=(0,tz._)(["\n fragment StatsGamecastData on StatsGamecast {\n gamecastSlug: slug\n jsonResponse\n stats @client\n}\n "]);return t9=function(){return e},e}function t6(){let e=(0,tz._)(["\n fragment Feed on ChannelComponent {\n uuid\n headline\n subheadline\n semanticID\n semanticType\n contents(limit: $contentsLimit) @skip(if: $isPaginated) {\n id\n ... on StandaloneContentModule {\n ...StandaloneContent\n content {\n ... on Article {\n ...ArticleCard\n }\n ... on ExternalArticle {\n id\n externalUrl: url\n created\n source\n analyticsContentId @client\n }\n ... on VideoV2 {\n ...VideoCard\n }\n ... on Tweet {\n ...BrandedTweet\n referencedTweet {\n ...BrandedTweet\n }\n }\n ... on StatsGamecast {\n ...StatsGamecastData\n }\n }\n }\n ... on PackageContentModule {\n id\n title\n packageType\n contentType @client\n isValid @client\n contents {\n ... on StandaloneContentModule {\n ...StandaloneContent\n content {\n ... on Article {\n ...ArticleCard\n }\n ... on ExternalArticle {\n id\n externalUrl: url\n created\n source\n analyticsContentId @client\n }\n ... on VideoV2 {\n ...VideoCard\n }\n ... on Tweet {\n ...BrandedTweet\n referencedTweet {\n ...BrandedTweet\n }\n }\n ... on StatsGamecast {\n ...StatsGamecastData\n }\n }\n }\n }\n }\n }\n contentsConnection(paginationControl: $paginationControl) @include(if: $isPaginated) {\n totalCount\n edges {\n cursor\n node {\n id\n ... on StandaloneContentModule {\n ...StandaloneContent\n content {\n ... on Article {\n ...ArticleCard\n }\n ... on ExternalArticle {\n id\n externalUrl: url\n created\n source\n analyticsContentId @client\n }\n ... on VideoV2 {\n ...VideoCard\n }\n ... on Tweet {\n id\n analyticsContentId @client\n }\n ... on StatsGamecast {\n ...StatsGamecastData\n }\n }\n }\n ... on PackageContentModule {\n id\n title\n packageType\n contentType @client\n isValid @client\n contents {\n ... on StandaloneContentModule {\n ...StandaloneContent\n content {\n ... on Article {\n ...ArticleCard\n }\n ... on ExternalArticle {\n id\n externalUrl: url\n created\n source\n analyticsContentId @client\n }\n ... on VideoV2 {\n ...VideoCard\n }\n ... on Tweet {\n ...BrandedTweet\n referencedTweet {\n ...BrandedTweet\n }\n }\n ... on StatsGamecast {\n ...StatsGamecastData\n }\n }\n }\n }\n }\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n contentModules @client @include(if: $isPaginated) {\n ... on StandaloneContentModule {\n ...StandaloneContent\n content {\n ... on Article {\n ...ArticleCard\n }\n ... on ExternalArticle {\n id\n externalUrl: url\n created\n source\n analyticsContentId @client\n }\n ... on VideoV2 {\n ...VideoCard\n }\n ... on Tweet {\n ...BrandedTweet\n referencedTweet {\n ...BrandedTweet\n }\n }\n ... on StatsGamecast {\n ...StatsGamecastData\n }\n }\n }\n ... on PackageContentModule {\n id\n title\n packageType\n contentType @client\n isValid @client\n contents {\n ... on StandaloneContentModule {\n ...StandaloneContent\n content {\n ... on Article {\n ...ArticleCard\n }\n ... on ExternalArticle {\n id\n externalUrl: url\n created\n source\n analyticsContentId @client\n }\n ... on VideoV2 {\n ...VideoCard\n }\n ... on Tweet {\n ...BrandedTweet\n referencedTweet {\n ...BrandedTweet\n }\n }\n ... on StatsGamecast {\n ...StatsGamecastData\n }\n }\n }\n }\n }\n }\n pageInfo @client @include(if: $isPaginated) {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n}\n ","\n","\n","\n","\n",""]);return t6=function(){return e},e}function t8(){let e=(0,tz._)(["\n fragment StatsGamecastFragment on StatsGamecast {\n jsonResponse\n}\n "]);return t8=function(){return e},e}function ne(){let e=(0,tz._)(["\n fragment StandingsFragment on StatsStanding {\n name\n standingGroupings {\n title\n entries {\n title\n separator {\n color\n index\n }\n headers {\n title\n }\n teams {\n color\n number\n logo\n name\n tag {\n permalink\n }\n values {\n value\n }\n }\n keys {\n value\n color\n }\n }\n }\n}\n "]);return ne=function(){return e},e}function nt(){let e=(0,tz._)(["\n fragment BettingFragment on StatsBetting {\n id\n jsonResponse\n}\n "]);return nt=function(){return e},e}function nn(){let e=(0,tz._)(["\n fragment GamecastFeed on ChannelComponent {\n uuid\n headline\n subheadline\n semanticID\n semanticType\n statsGamecast {\n ...StatsGamecastFragment\n }\n statsStandings {\n ...StandingsFragment\n }\n contents {\n id\n ... on StandaloneContentModule {\n ...StandaloneContent\n content {\n ... on Article {\n ...ArticleCard\n }\n ... on ExternalArticle {\n id\n externalUrl: url\n created\n source\n analyticsContentId @client\n }\n ... on VideoV2 {\n ...VideoCard\n }\n ... on Tweet {\n ...BrandedTweet\n referencedTweet {\n ...BrandedTweet\n }\n }\n ...BettingFragment\n ...StatsGamecastFragment\n }\n }\n ... on PackageContentModule {\n id\n title\n packageType\n contentType @client\n isValid @client\n contents {\n ... on StandaloneContentModule {\n ...StandaloneContent\n content {\n ... on Article {\n ...ArticleCard\n }\n ... on ExternalArticle {\n id\n externalUrl: url\n created\n source\n analyticsContentId @client\n }\n ... on VideoV2 {\n ...VideoCard\n }\n ... on Tweet {\n ...BrandedTweet\n referencedTweet {\n ...BrandedTweet\n }\n }\n ...BettingFragment\n ...StatsGamecastFragment\n }\n }\n }\n }\n }\n}\n ","\n","\n","\n","\n","\n","\n",""]);return nn=function(){return e},e}function na(){let e=(0,tz._)(["\n fragment Slot on StandaloneContentModule {\n ...StandaloneContent\n content {\n ... on Article {\n ...ArticleCard\n primaryTag {\n logo {\n alt\n url\n }\n colorPrimary\n parent {\n logo {\n alt\n url\n }\n colorPrimary\n }\n }\n }\n ... on VideoV2 {\n ...VideoCard\n }\n ... on StatsGamecast {\n ...StatsGamecastData\n }\n }\n}\n ","\n","\n","\n",""]);return na=function(){return e},e}function nr(){let e=(0,tz._)(["\n fragment NavigationLink on MenuLinks {\n _id\n url\n text\n options {\n images {\n image {\n url\n alt\n }\n }\n }\n}\n "]);return nr=function(){return e},e}function ns(){let e=(0,tz._)(["\n fragment NavigationTag on TagV2 {\n uuid\n slug\n displayName\n ticketLink\n shortName\n type\n isSelected @client\n logo {\n alt\n url\n }\n}\n "]);return ns=function(){return e},e}function ni(){let e=(0,tz._)(["\n fragment MenuNavigation on Menu {\n id\n title\n links {\n ...NavigationLink\n tags {\n ...NavigationTag\n children {\n ...NavigationTag\n children {\n ...NavigationTag\n }\n }\n }\n children {\n ...NavigationLink\n tags {\n ...NavigationTag\n }\n }\n }\n navigation @client {\n id\n title\n children {\n id\n title\n children {\n id\n title\n url\n logo\n children {\n id\n title\n url\n logo\n children {\n id\n title\n url\n logo\n children {\n id\n title\n url\n logo\n }\n }\n }\n }\n }\n }\n}\n ","\n",""]);return ni=function(){return e},e}function no(){let e=(0,tz._)(["\n fragment Navigation on NavigationElement {\n name\n queryParameters {\n date\n league\n }\n}\n "]);return no=function(){return e},e}function nl(){let e=(0,tz._)(["\n fragment Period on PeriodScore {\n number\n score\n subscore\n type\n}\n "]);return nl=function(){return e},e}function nc(){let e=(0,tz._)(["\n fragment TeamCompetitor on ScoresTeamCompetitor {\n abbrev\n logo\n name\n rank\n slug\n team\n}\n "]);return nc=function(){return e},e}function nd(){let e=(0,tz._)(["\n fragment Team on ScoresGameTeam {\n colors\n name\n logo\n score\n record\n odds\n isWinner\n hasPossession\n rank\n shortName\n abbrev\n virtual\n periodScores {\n ...Period\n }\n competitors {\n ...TeamCompetitor\n }\n competitorChunks @client {\n ...TeamCompetitor\n }\n periodScoresSet @client {\n score\n subScore\n isWinner\n }\n}\n ","\n",""]);return nd=function(){return e},e}function nu(){let e=(0,tz._)(["\n fragment ScoresFragment on Scores {\n calendarNavigation {\n previous {\n ...Navigation\n }\n current {\n ...Navigation\n }\n next {\n ...Navigation\n }\n }\n leagues {\n id\n name\n current\n children {\n id\n name\n current\n href @client\n queryParameters {\n date\n league\n context\n }\n }\n queryParameters {\n date\n league\n context\n }\n }\n gameGroups {\n name\n events {\n id\n type\n name\n subName\n gameDate\n sport\n site\n status\n gamecast\n gamecastUrl @client\n gamecastInformation\n league\n gameEndDate\n odds\n nameLabels {\n text\n }\n descriptions {\n text\n }\n progress {\n network\n playPeriod\n clock\n inningPhase\n round\n venue\n }\n participants {\n headers {\n value\n }\n entries {\n number\n abbrev\n logo\n name\n isWinner\n values {\n value\n }\n }\n }\n }\n games {\n id\n name\n gameDate\n sport\n status\n gamecast\n gamecastUrl @client\n gamecastInformation\n league\n gameEndDate\n odds\n maxPeriodScores\n description @client\n finalLabel @client\n descriptions {\n text\n }\n teamOne {\n ...Team\n }\n teamTwo {\n ...Team\n }\n progress {\n network\n playPeriod\n clock\n inningPhase\n round\n venue\n }\n gameState {\n balls\n strikes\n outs\n isRedZone\n runners {\n first\n second\n third\n }\n }\n metadata {\n endDate\n location {\n city\n state\n name\n country\n }\n name\n startDate\n status\n }\n }\n }\n bettingLink {\n id\n success\n ctaText\n logo\n logoNight\n clickUrl\n disclaimerText\n disclaimerUrl\n showLinkout\n partner\n betting\n attributionText\n }\n calendar @client {\n title\n subtitle\n href\n date\n current\n key\n }\n dropdown @client {\n id\n name\n href\n current\n }\n}\n ","\n",""]);return nu=function(){return e},e}function np(){let e=(0,tz._)(["\n fragment ScoresTag on TagV2 {\n displayName\n logo {\n url\n }\n parents {\n displayName\n }\n}\n "]);return np=function(){return e},e}function ng(){let e=(0,tz._)(["\n query GetArticleRecommendations($displayId: Int!, $tenant: Tenant!, $publishedOnly: Boolean, $countryCode: String, $aspectRatio: AspectRatio, $topN: Int!, $primaryPrioritizedTag: String, $secondaryPrioritizedTags: [String!]!) {\n recommendations: getArticleByDisplayId(\n displayId: $displayId\n tenant: $tenant\n publishedOnly: $publishedOnly\n ) {\n articles: recommendedArticles {\n article {\n ...StandaloneContent\n content {\n ... on Article {\n ...ArticleCard\n title\n author {\n name\n title\n }\n slides {\n id\n title\n featuredMedia {\n contentType\n content {\n ...Media\n }\n }\n elements {\n order\n contentType\n content {\n ...Media\n }\n }\n }\n featuredMedia @client {\n contentType\n content {\n ...Media\n }\n }\n }\n }\n }\n }\n videos: recommendedVideos(countryCode: $countryCode, aspectRatio: $aspectRatio) {\n video {\n ...StandaloneContent\n content {\n ... on VideoV2 {\n ...VideoCard\n }\n }\n }\n }\n }\n bottomRailRecommendations: trendingArticles(\n topN: $topN\n primaryPrioritizedTag: $primaryPrioritizedTag\n secondaryPrioritizedTags: $secondaryPrioritizedTags\n ) {\n rank\n contentModule {\n ...StandaloneContent\n content {\n ... on Article {\n ...ArticleCard\n title\n author {\n name\n title\n }\n slides {\n id\n title\n featuredMedia {\n contentType\n content {\n ...Media\n }\n }\n elements {\n order\n contentType\n content {\n ...Media\n }\n }\n }\n featuredMedia @client {\n contentType\n content {\n ...Media\n }\n }\n }\n }\n }\n }\n}\n ","\n","\n","\n",""]);return ng=function(){return e},e}function nh(){let e=(0,tz._)(["\n query GetArticleSlug($tenant: Tenant!, $displayId: Int!) {\n article: getArticleByDisplayId(tenant: $tenant, displayId: $displayId) {\n slug\n }\n}\n "]);return nh=function(){return e},e}function nm(){let e=(0,tz._)(["\n query GetArticleStatsBetOffers($displayId: Int!, $tenant: Tenant!, $publishedOnly: Boolean, $timezone: Int) {\n article: getArticleByDisplayId(\n displayId: $displayId\n tenant: $tenant\n publishedOnly: $publishedOnly\n ) {\n statsBetOffers(timezone: $timezone) {\n jsonResponse\n parsed @client {\n description\n headerPlacements {\n displayNameAlt\n logo\n color\n }\n bettingLinkLegal {\n ctaText\n logo\n logoNight\n url\n disclaimerText\n disclaimerUrl\n }\n bettingLinkNonLegal {\n ctaText\n logo\n logoNight\n url\n disclaimerText\n disclaimerUrl\n }\n bettingLegalStates\n offers {\n type\n displayName\n displayNameShort\n displayBetType\n displayBetSubtitle\n bettingLegalStates\n highestBetPercentageString\n partner\n bettingPlacements {\n displayNameAlt\n logo\n line\n upsellString\n betPercentage\n betPercentageString\n }\n bettingLinkLegal {\n ctaText\n logo\n logoNight\n url\n disclaimerText\n disclaimerUrl\n }\n bettingLinkNonLegal {\n ctaText\n logo\n logoNight\n url\n disclaimerText\n disclaimerUrl\n }\n }\n }\n }\n }\n}\n "]);return nm=function(){return e},e}function nv(){let e=(0,tz._)(["\n query GetArticle($displayId: Int!, $tenant: Tenant!, $publishedOnly: Boolean) {\n article: getArticleByDisplayId(\n displayId: $displayId\n tenant: $tenant\n publishedOnly: $publishedOnly\n ) {\n ...ArticleBody\n }\n}\n ",""]);return nv=function(){return e},e}function nf(){let e=(0,tz._)(["\n query GetTestArticle($displayId: Int!, $tenant: Tenant!, $publishedOnly: Boolean) {\n article: getArticleByDisplayId(\n displayId: $displayId\n tenant: $tenant\n publishedOnly: $publishedOnly\n ) {\n title\n slug\n displayId\n image {\n url\n }\n }\n}\n "]);return nf=function(){return e},e}function ny(){let e=(0,tz._)(["\n query GetChannelCommunityMetadata($slug: String!, $tenant: Tenant!, $filter: String, $isPaginated: Boolean!, $contentsLimit: Int, $paginationControl: [PaginationControl]) {\n community: getChannelBySlug(slug: $slug, tenant: $tenant) {\n uuid\n type\n gameState\n title\n metatags {\n type\n key\n content\n }\n tag {\n uuid\n shortName\n eyebrow\n colorPrimary\n ...CommunityTagItem\n parents {\n uuid\n displayName\n }\n parent {\n ...CommunityTagItem\n parent {\n ...CommunityTagItem\n parent {\n ...CommunityTagItem\n }\n }\n }\n league @client\n navId @client\n team @client\n division @client\n }\n lastFeedPageInfo @client @include(if: $isPaginated) {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n groupings(filter: $filter) @include(if: $isPaginated) {\n header {\n id\n }\n components {\n ...Feed\n }\n }\n }\n}\n ","\n",""]);return ny=function(){return e},e}function nE(){let e=(0,tz._)(["\n query GetChannelCommunityContentFeed($slug: String!, $tenant: Tenant!, $filter: String, $isPaginated: Boolean!, $contentsLimit: Int, $paginationControl: [PaginationControl]) {\n communityContentFeed: getChannelBySlug(slug: $slug, tenant: $tenant) {\n uuid\n feed @client {\n ...Feed\n }\n lastFeedPageInfo @client {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n groupings(filter: $filter) {\n header {\n id\n }\n components {\n ...Feed\n }\n }\n }\n}\n ",""]);return nE=function(){return e},e}function nb(){let e=(0,tz._)(["\n query GetChannelCommunityTag($slug: String!, $tenant: Tenant!) {\n community: getChannelBySlug(slug: $slug, tenant: $tenant) {\n uuid\n title\n metatags {\n type\n key\n content\n }\n tag {\n uuid\n shortName\n eyebrow\n colorPrimary\n ...CommunityTagItem\n parent {\n ...CommunityTagItem\n parent {\n ...CommunityTagItem\n parent {\n ...CommunityTagItem\n }\n }\n }\n league @client\n navId @client\n }\n }\n}\n ",""]);return nb=function(){return e},e}function nS(){let e=(0,tz._)(["\n query GetChannelCommunity($slug: String!, $tenant: Tenant!, $filter: String, $isPaginated: Boolean!, $contentsLimit: Int, $paginationControl: [PaginationControl]) {\n community: getChannelBySlug(slug: $slug, tenant: $tenant) {\n uuid\n type\n gameState\n metatags {\n type\n key\n content\n }\n tag {\n uuid\n shortName\n eyebrow\n colorPrimary\n ...CommunityTagItem\n parents {\n uuid\n displayName\n }\n root {\n uuid\n displayName\n }\n parent {\n ...CommunityTagItem\n parent {\n ...CommunityTagItem\n parent {\n ...CommunityTagItem\n }\n }\n }\n league @client\n navId @client\n team @client\n division @client\n }\n groupings(filter: $filter) {\n header {\n ...GroupingHeaderFragment\n }\n components {\n ...Feed\n }\n }\n adsConfig {\n ...ChannelAdsConfig\n }\n channelTags @client\n secondaryTags @client\n feed @client {\n ...Feed\n }\n lastFeedPageInfo @client @include(if: $isPaginated) {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n}\n ","\n","\n","\n",""]);return nS=function(){return e},e}function nT(){let e=(0,tz._)(["\n query GetCommunityTrendingContent($topN: Int!, $countryCode: String, $aspectRatio: AspectRatio, $primaryPrioritizedTag: String, $secondaryPrioritizedTags: [String!]!) {\n trendingVideos: trendingVideos(\n topN: $topN\n countryCode: $countryCode\n aspectRatio: $aspectRatio\n primaryPrioritizedTag: $primaryPrioritizedTag\n secondaryPrioritizedTags: $secondaryPrioritizedTags\n ) {\n rank\n contentModule {\n ...StandaloneContent\n content {\n ... on VideoV2 {\n ...VideoCard\n }\n }\n }\n }\n trendingArticles: trendingArticles(\n topN: $topN\n primaryPrioritizedTag: $primaryPrioritizedTag\n secondaryPrioritizedTags: $secondaryPrioritizedTags\n ) {\n rank\n contentModule {\n ...StandaloneContent\n content {\n ... on Article {\n ...ArticleCard\n title\n author {\n name\n title\n }\n slides {\n id\n title\n featuredMedia {\n contentType\n content {\n ...Media\n }\n }\n elements {\n order\n contentType\n content {\n ...Media\n }\n }\n }\n featuredMedia @client {\n contentType\n content {\n ...Media\n }\n }\n }\n }\n }\n }\n}\n ","\n","\n","\n",""]);return nT=function(){return e},e}function nw(){let e=(0,tz._)(["\n query GetGamecastChannel($slug: String!, $tenant: Tenant!, $filter: String, $isPolling: Boolean!) {\n community: getChannelBySlug(slug: $slug, tenant: $tenant) {\n currentGrouping @client\n uuid\n type\n gameState\n metatags {\n type\n key\n content\n }\n tag {\n uuid\n shortName\n eyebrow\n colorPrimary\n ...CommunityTagItem\n parents {\n uuid\n displayName\n }\n root {\n uuid\n displayName\n }\n parent {\n ...CommunityTagItem\n parent {\n ...CommunityTagItem\n parent {\n ...CommunityTagItem\n }\n }\n }\n league @client\n navId @client\n team @client\n division @client\n }\n components {\n ...GamecastFeed\n }\n groupings(filter: $filter) {\n header {\n ...GroupingHeaderFragment\n }\n components {\n ...GamecastFeed\n }\n }\n groupingList {\n ...GroupingHeaderFragment\n }\n adsConfig @skip(if: $isPolling) {\n ...ChannelAdsConfig\n }\n channelTags @client\n secondaryTags @client\n gamecastFeed @client {\n ...GamecastFeed\n }\n gamecast @client\n }\n}\n ","\n","\n","\n",""]);return nw=function(){return e},e}function nA(){let e=(0,tz._)(["\n query GetHomePage($uri: String!, $tenant: Tenant!, $globalNavId: String!, $externalNavId: String!, $limit: Int, $contentType: [ContentModuleType]) {\n globalNav: getMenuById(tenant: $tenant, id: $globalNavId) {\n ...MenuNavigation\n }\n externalNav: getMenuById(tenant: $tenant, id: $externalNavId) {\n id\n title\n links {\n _id\n url\n text\n }\n }\n homepage: getPageByUri(uri: $uri, tenant: $tenant) {\n title\n uuid\n modules @client {\n title\n type\n uuid\n alignment\n ... on HomeHeroModule {\n primary {\n ...Slot\n }\n secondary {\n ...Slot\n }\n headlines {\n title\n content {\n ...Slot\n }\n }\n }\n ... on HomeContentModule {\n primary {\n ...Slot\n }\n secondary {\n ...Slot\n }\n }\n ... on HomeCarouselModule {\n content {\n ...Slot\n }\n }\n }\n components {\n uuid\n headline\n format\n orientation\n content {\n channelStream {\n id\n semanticID\n tagUUID\n contents(limit: $limit, contentType: $contentType) {\n ... on StandaloneContentModule {\n ...Slot\n }\n }\n }\n }\n }\n adsConfig {\n ...adsConfigFields\n }\n }\n}\n ","\n","\n",""]);return nA=function(){return e},e}function nC(){let e=(0,tz._)(["\n query GetNavigation($tenant: Tenant!, $globalNavId: String!, $externalNavId: String!, $subNavId: String, $slug: String, $isTeam: Boolean!, $teamsSlugs: [String!]!) {\n externalNav: getMenuById(tenant: $tenant, id: $externalNavId) {\n id\n title\n links {\n _id\n url\n text\n }\n }\n globalNav: getMenuById(tenant: $tenant, id: $globalNavId) {\n ...MenuNavigation\n }\n subNav: getMenuById(tenant: $tenant, id: $subNavId) {\n ...MenuNavigation\n }\n teamTag: getTagBySlugs(tenant: $tenant, slugs: $teamsSlugs) @include(if: $isTeam) {\n ...NavigationTag\n }\n}\n ","\n",""]);return nC=function(){return e},e}function nI(){let e=(0,tz._)(["\n query GetStaticPage($tenant: Tenant!, $slug: String!) {\n article: getArticleBySlug(tenant: $tenant, slug: $slug) {\n ...ArticleBody\n }\n}\n ",""]);return nI=function(){return e},e}function nP(){let e=(0,tz._)(["\n query GetCommunityScoresBySlug($slug: String!, $filter: String, $date: String, $locale: String, $timezone: Int!, $tenant: Tenant!, $context: String, $isPolling: Boolean!) {\n channel: getChannelBySlug(slug: $slug, tenant: $tenant, publishedOnly: true) {\n uuid\n type\n cmsId\n title\n headline\n tag {\n ...ScoresTag\n }\n scores @client {\n ...ScoresFragment\n }\n components {\n uuid\n semanticID\n semanticType\n statsScores(\n date: $date\n timezone: $timezone\n locale: $locale\n context: $context\n ) {\n ...ScoresFragment\n }\n }\n groupings(filter: $filter) {\n header {\n id\n title\n image {\n url\n }\n }\n components {\n uuid\n semanticID\n semanticType\n statsScores(\n date: $date\n timezone: $timezone\n locale: $locale\n context: $context\n ) {\n ...ScoresFragment\n }\n }\n }\n adsConfig @skip(if: $isPolling) {\n ...ChannelAdsConfig\n }\n channelTags @client\n }\n}\n ","\n","\n",""]);return nP=function(){return e},e}function n_(){let e=(0,tz._)(["\n query GetSitemap($tenant: Tenant!, $globalNavId: String!, $externalNavId: String!) {\n externalNav: getMenuById(tenant: $tenant, id: $externalNavId) {\n id\n title\n links {\n _id\n url\n text\n }\n }\n globalNav: getMenuById(tenant: $tenant, id: $globalNavId) {\n ...MenuNavigation\n }\n}\n ",""]);return n_=function(){return e},e}(a=e_||(e_={})).Created="CREATED",a.Deleted="DELETED",a.Updated="UPDATED",(r=ek||(ek={})).Creators="creators",r.Highlights="highlights",r.News="news",r.Viral="viral",(s=eN||(eN={})).Halftime="halftime",s.Overtime="overtime",s.Postgame="postgame",s.Pregame="pregame",(i=eR||(eR={})).Betting="betting",i.CloseGame="closeGame",i.Highlights="highlights",i.News="news",i.Sensitive="sensitive",i.TuneIn="tuneIn",i.Viral="viral",(o=eL||(eL={})).Jpg="jpg",o.Png="png",o.Video="video",(l=ex||(ex={})).Ad="AD",l.Ar="AR",l.At="AT",l.Au="AU",l.Ba="BA",l.Bb="BB",l.Be="BE",l.Bg="BG",l.Bo="BO",l.Br="BR",l.Bs="BS",l.Bz="BZ",l.Ca="CA",l.Cl="CL",l.Co="CO",l.Cr="CR",l.Cy="CY",l.Cz="CZ",l.De="DE",l.Dk="DK",l.Do="DO",l.Ec="EC",l.Ee="EE",l.Es="ES",l.Fi="FI",l.Fr="FR",l.Gb="GB",l.Gr="GR",l.Gt="GT",l.Hk="HK",l.Hn="HN",l.Hr="HR",l.Hu="HU",l.Id="ID",l.Ie="IE",l.It="IT",l.Jm="JM",l.Lt="LT",l.Lu="LU",l.Lv="LV",l.Mk="MK",l.Mx="MX",l.My="MY",l.Ni="NI",l.Nl="NL",l.No="NO",l.Nz="NZ",l.Pa="PA",l.Pe="PE",l.Ph="PH",l.Pl="PL",l.Pt="PT",l.Py="PY",l.Ro="RO",l.Rs="RS",l.Se="SE",l.Sg="SG",l.Si="SI",l.Sk="SK",l.Sv="SV",l.Th="TH",l.Tt="TT",l.Tw="TW",l.Us="US",l.Uy="UY",l.Ve="VE",(c=eO||(eO={})).Creators="creators",c.Highlights="highlights",c.News="news",c.Scores="scores",c.Viral="viral",(d=eD||(eD={})).Article="ARTICLE",d.Slideshow="SLIDESHOW",(u=eU||(eU={})).Any="Any",u.Horizontal="Horizontal",u.Vertical="Vertical",(p=eM||(eM={})).HeadToHead="head_to_head",p.NOutcomes="n_outcomes",p.ThreeWay="three_way",(g=eF||(eF={})).Private="PRIVATE",g.Public="PUBLIC",(h=eG||(eG={})).Creators="creators",h.Highlights="highlights",h.News="news",h.Viral="viral",(m=eW||(eW={})).Email="email",m.Push="push",(v=eB||(eB={})).Alerts="Alerts",v.Creator="Creator",v.Discovery="Discovery",v.Following="Following",v.FollowingAddTags="FollowingAddTags",v.GameCast="GameCast",v.Home="Home",v.Interest="Interest",v.League="League",v.Onboarding="Onboarding",v.OnboardingAddTags="OnboardingAddTags",v.PopularTeam="PopularTeam",v.Scores="Scores",v.SmallTeam="SmallTeam",v.User="User",(f=eV||(eV={})).Asc="ASC",f.Desc="DESC",(y=eH||(eH={})).Article="Article",y.ExternalArticle="ExternalArticle",y.Mixed="Mixed",y.StatsBetting="StatsBetting",y.StatsGamecast="StatsGamecast",y.Tweet="Tweet",y.UgcImagePoll="UGCImagePoll",y.UgcPost="UGCPost",y.UgcTextPoll="UGCTextPoll",y.VideoV2="VideoV2",(E=ej||(ej={})).Article="Article",E.Tweet="Tweet",E.VideoV2="VideoV2",(b=eK||(eK={})).Article="ARTICLE",b.Channel="CHANNEL",b.User="USER",b.Video="VIDEO",(S=ez||(ez={})).Bronze="Bronze",S.Gold="Gold",S.Platinum="Platinum",S.Silver="Silver",(T=eq||(eq={})).Android="ANDROID",T.Ipad="IPAD",T.Iphone="IPHONE",(w=e$||(e$={})).A2A="A2A",w.A2V="A2V",w.TrendingArticles="TrendingArticles",w.TrendingVideos="TrendingVideos",w.V2V="V2V",(A=eY||(eY={})).League="League",A.Location="Location",A.Programming="Programming",A.Suggested="Suggested",(C=eX||(eX={})).LiveGame="LiveGame",C.PostGame="PostGame",C.PreGame="PreGame",C.Standard="Standard",(I=eQ||(eQ={})).League="league",I.Series="series",I.Sport="sport",I.SportRadar="sportRadar",I.Team="team",I.Tournament="tournament",(P=eZ||(eZ={})).Date="date",P.Rating="rating",(_=eJ||(eJ={})).Manual="manual",_.Match="match",(k=e0||(e0={})).CdfhCl="CDFH_CL",k.TntspoAr="TNTSPO_AR",(N=e7||(e7={})).LiveGame="LiveGame",N.PostGame="PostGame",N.PreGame="PreGame",N.Standard="Standard",(R=e1||(e1={})).ContentCarousel="ContentCarousel",R.FiveUp="FiveUp",R.Hero="Hero",R.ThreeUp="ThreeUp",R.TrendingCarousel="TrendingCarousel",(L=e5||(e5={})).Jpg="jpg",L.Png="png",(x=e2||(e2={})).Filtered="FILTERED",x.None="NONE",x.Producer="PRODUCER",(O=e3||(e3={})).Everyone="EVERYONE",O.Members="MEMBERS",(D=e4||(e4={})).Dismissed="DISMISSED",D.Pending="PENDING",(U=e9||(e9={})).Filtered="FILTERED",U.None="NONE",(M=e6||(e6={})).Asc="ASC",M.Desc="DESC",(F=e8||(e8={})).ImagePoll="IMAGE_POLL",F.TextPoll="TEXT_POLL",(te||(te={})).CreatedAt="CREATED_AT",(G=tt||(tt={})).Future="FUTURE",G.Live="LIVE",G.Past="PAST",(W=tn||(tn={})).Active="ACTIVE",W.Expired="EXPIRED",W.NotStarted="NOT_STARTED",(B=ta||(ta={})).Alert="ALERT",B.Application="APPLICATION",B.ChatRoom="CHAT_ROOM",B.CheerMeter="CHEER_METER",B.CommentBoard="COMMENT_BOARD",B.EmojiPoll="EMOJI_POLL",B.EmojiSlider="EMOJI_SLIDER",B.ImageNumberPrediction="IMAGE_NUMBER_PREDICTION",B.ImageNumberPredictionFollowUp="IMAGE_NUMBER_PREDICTION_FOLLOW_UP",B.ImagePoll="IMAGE_POLL",B.ImagePrediction="IMAGE_PREDICTION",B.ImagePredictionFollowUp="IMAGE_PREDICTION_FOLLOW_UP",B.ImageQuiz="IMAGE_QUIZ",B.Profile="PROFILE",B.Program="PROGRAM",B.RichPost="RICH_POST",B.SocialEmbed="SOCIAL_EMBED",B.TextAsk="TEXT_ASK",B.TextPoll="TEXT_POLL",B.TextPrediction="TEXT_PREDICTION",B.TextPredictionFollowUp="TEXT_PREDICTION_FOLLOW_UP",B.TextQuiz="TEXT_QUIZ",B.TwitterSpotlight="TWITTER_SPOTLIGHT",B.VideoAlert="VIDEO_ALERT",(V=tr||(tr={})).AskReplied="ASK_REPLIED",V.PollVoted="POLL_VOTED",V.PredictionCorrect="PREDICTION_CORRECT",V.PredictionMade="PREDICTION_MADE",V.QuizAnswered="QUIZ_ANSWERED",V.QuizCorrect="QUIZ_CORRECT",(H=ts||(ts={})).Chiliz="CHILIZ",H.Ethereum="ETHEREUM",H.Hedera="HEDERA",H.Polygon="POLYGON",(j=ti||(ti={})).Fungible="FUNGIBLE",j.NonFungible="NON_FUNGIBLE",(K=to||(to={})).Claimed="CLAIMED",K.Unclaimed="UNCLAIMED",(z=tl||(tl={})).Cancelled="CANCELLED",z.Completed="COMPLETED",z.Incomplete="INCOMPLETE",(q=tc||(tc={})).Completed="COMPLETED",q.Incomplete="INCOMPLETE",($=td||(td={})).ImagePoll="IMAGE_POLL",$.TextPoll="TEXT_POLL",(Y=tu||(tu={})).ImagePoll="IMAGE_POLL",Y.RichPost="RICH_POST",Y.TextPoll="TEXT_POLL",(X=tp||(tp={})).CreatedAt="CREATED_AT",X.PublishedAt="PUBLISHED_AT",X.Recent="RECENT",X.ScheduledAt="SCHEDULED_AT",(Q=tg||(tg={})).Accepted="ACCEPTED",Q.Dismissed="DISMISSED",Q.Pending="PENDING",(Z=th||(th={})).Inflight="INFLIGHT",Z.Pending="PENDING",Z.Published="PUBLISHED",Z.Scheduled="SCHEDULED",(J=tm||(tm={})).Landscape="Landscape",J.Portrait="Portrait",(ee=tv||(tv={})).Landscape="Landscape",ee.Portrait="Portrait",(et=tf||(tf={})).Programmed="PROGRAMMED",et.Scheduled="SCHEDULED",et.Unprogrammed="UNPROGRAMMED",(en=ty||(ty={})).Down="Down",en.NoChange="NoChange",en.Up="Up",(ea=tE||(tE={})).AdHoc="AdHoc",ea.CreatorShows="CreatorShows",ea.FromTheFans="FromTheFans",ea.Highlights="Highlights",ea.HomeLandscape="HomeLandscape",ea.HomePortrait="HomePortrait",ea.TopHeadlines="TopHeadlines",ea.TrendingBets="TrendingBets",ea.TrendingVideos="TrendingVideos",ea.WhatsBuzzing="WhatsBuzzing",(tb||(tb={})).TennisSet="TennisSet",(er=tS||(tS={})).Gamecast="Gamecast",er.Highlight="Highlight",er.InternalArticle="InternalArticle",er.LiveVideo="LiveVideo",er.Video="Video",(es=tT||(tT={})).Caesars="Caesars",es.Consensus="Consensus",es.DraftKings="DraftKings",es.FanDuel="FanDuel",es.None="None",es.SportRadar="SportRadar",es.Unknown="Unknown",(ei=tw||(tw={})).Title="TITLE",ei.Username="USERNAME",ei.Xauthor="XAUTHOR",ei.Xpost="XPOST",(eo=tA||(tA={})).Ads="Ads",eo.AlertActivitiesFeed="AlertActivitiesFeed",eo.AlertFollowingFeed="AlertFollowingFeed",eo.Chat="Chat",eo.ContentChannelFeed="ContentChannelFeed",eo.ContentCommunityFeed="ContentCommunityFeed",eo.ContentFullGameHighlights="ContentFullGameHighlights",eo.ContentHighlights="ContentHighlights",eo.ContentHomeCommunityCollections="ContentHomeCommunityCollections",eo.ContentHomeHeadlines="ContentHomeHeadlines",eo.ContentHomeLandscape="ContentHomeLandscape",eo.ContentHomePortraitCollection="ContentHomePortraitCollection",eo.ContentPremiumVideo="ContentPremiumVideo",eo.ContentShortGameHighlights="ContentShortGameHighlights",eo.ContentSocialFeed="ContentSocialFeed",eo.ContentTopHeadlines="ContentTopHeadlines",eo.ContentTrendingBets="ContentTrendingBets",eo.ContentTrendingVideos="ContentTrendingVideos",eo.ContentWhatsBuzzing="ContentWhatsBuzzing",eo.Dummy="Dummy",eo.ExternalLink="ExternalLink",eo.Header="Header",eo.LiveAndUpcoming="LiveAndUpcoming",eo.LiveNow="LiveNow",eo.LiveUpcoming="LiveUpcoming",eo.RecCreatorsInYourCommunities="RecCreatorsInYourCommunities",eo.RecForYou="RecForYou",eo.RecMostFollowedLeagues="RecMostFollowedLeagues",eo.RecMostFollowedTeams="RecMostFollowedTeams",eo.RecRelatedCommunities="RecRelatedCommunities",eo.RecTopCreators="RecTopCreators",eo.RecTopInterests="RecTopInterests",eo.RecYouMightLike="RecYouMightLike",eo.SearchBar="SearchBar",eo.StatsBaseball="StatsBaseball",eo.StatsBetting="StatsBetting",eo.StatsDrawNoBet="StatsDrawNoBet",eo.StatsDriveChart="StatsDriveChart",eo.StatsGameInfo="StatsGameInfo",eo.StatsGameStats="StatsGameStats",eo.StatsGamecast="StatsGamecast",eo.StatsHeadToHead="StatsHeadToHead",eo.StatsHockeyGameState="StatsHockeyGameState",eo.StatsInjuryReport="StatsInjuryReport",eo.StatsLeagueRankings="StatsLeagueRankings",eo.StatsLineScore="StatsLineScore",eo.StatsLineup="StatsLineup",eo.StatsLiveOdds="StatsLiveOdds",eo.StatsMatchTimeline="StatsMatchTimeline",eo.StatsMoneyline="StatsMoneyline",eo.StatsOdds="StatsOdds",eo.StatsPitchingInfo="StatsPitchingInfo",eo.StatsPlayPreview="StatsPlayPreview",eo.StatsPlaySummary="StatsPlaySummary",eo.StatsPlayerProp="StatsPlayerProp",eo.StatsPlayerStats="StatsPlayerStats",eo.StatsPlayersOnIce="StatsPlayersOnIce",eo.StatsPlays="StatsPlays",eo.StatsPodium="StatsPodium",eo.StatsPodiumEntry="StatsPodiumEntry",eo.StatsPreviousMeetings="StatsPreviousMeetings",eo.StatsRaceInfo="StatsRaceInfo",eo.StatsSchedule="StatsSchedule",eo.StatsScoreboard="StatsScoreboard",eo.StatsScorecard="StatsScorecard",eo.StatsScores="StatsScores",eo.StatsScoresStrip="StatsScoresStrip",eo.StatsScoringPlays="StatsScoringPlays",eo.StatsSeasonLeaders="StatsSeasonLeaders",eo.StatsSeasonPerformance="StatsSeasonPerformance",eo.StatsSpread="StatsSpread",eo.StatsStandings="StatsStandings",eo.StatsSubstitutions="StatsSubstitutions",eo.StatsTeamComparison="StatsTeamComparison",eo.StatsThreeWayMoneyline="StatsThreeWayMoneyline",eo.StatsTotalPoints="StatsTotalPoints",eo.StatsVenue="StatsVenue",eo.TagFollowing="TagFollowing",eo.TagOnboarding="TagOnboarding",eo.TagRecommended="TagRecommended",eo.TagSearch="TagSearch",eo.TrendingClips="TrendingClips",eo.UgcComments="UgcComments",eo.UgcFeed="UgcFeed",eo.UgcFromTheFans="UgcFromTheFans",eo.UgcPosts="UgcPosts",eo.UserHeader="UserHeader",(el=tC||(tC={})).AdsData="AdsData",el.AlertData="AlertData",el.ContentModuleData="ContentModuleData",el.Default="Default",el.RecommendationData="RecommendationData",el.SocialData="SocialData",el.StatsData="StatsData",el.StatsPlaceholder="StatsPlaceholder",el.TagData="TagData",el.UserData="UserData",(ec=tI||(tI={})).Id="id",ec.Season="season",ec.SeriesName="series_name",ec.StartDate="start_date",(ed=tP||(tP={})).Asc="asc",ed.Desc="desc",(eu=t_||(t_={})).Ascending="Ascending",eu.Descending="Descending",(ep=tk||(tk={})).Complete="Complete",ep.InProgress="InProgress",ep.Scheduled="Scheduled",(eg=tN||(tN={})).Complete="Complete",eg.InProgress="InProgress",eg.Scheduled="Scheduled",eg.Unknow="Unknow",(eh=tR||(tR={})).Formula1="Formula1",eh.GLeague="GLeague",eh.Golf="Golf",eh.Mlb="MLB",eh.Nascar="NASCAR",eh.Nba="NBA",eh.Ncaabb="NCAABB",eh.Ncaabbw="NCAABBW",eh.Ncaaf="NCAAF",eh.Nfl="NFL",eh.Nhl="NHL",eh.OlympicBasketball="OlympicBasketball",eh.Olympics="Olympics",eh.Other="Other",eh.Soccer="Soccer",eh.Tennis="Tennis",eh.Unknown="Unknown",eh.Wnba="WNBA",(em=tL||(tL={})).Baseball="Baseball",em.Basketball="Basketball",em.Football="Football",em.Golf="Golf",em.Hockey="Hockey",em.Motorsports="Motorsports",em.Other="Other",em.Soccer="Soccer",em.Tennis="Tennis",(ev=tx||(tx={})).Abandoned="Abandoned",ev.Cancelled="Cancelled",ev.Closed="Closed",ev.Complete="Complete",ev.Created="Created",ev.Delayed="Delayed",ev.FDelay="FDelay",ev.FlexSchedule="FlexSchedule",ev.Halftime="Halftime",ev.IfNecessary="IfNecessary",ev.InProgress="InProgress",ev.Interrupted="Interrupted",ev.Maintenance="Maintenance",ev.ODelay="ODelay",ev.Postponed="Postponed",ev.Reopened="Reopened",ev.Scheduled="Scheduled",ev.Suspended="Suspended",ev.TimeTbd="TimeTBD",ev.Unnecessary="Unnecessary",ev.WDelay="WDelay",(ef=tO||(tO={})).Aggregated="Aggregated",ef.Archived="Archived",ef.Blog="Blog",ef.CampaignHub="CampaignHub",ef.Chain="Chain",ef.City="City",ef.Conference="Conference",ef.Division="Division",ef.Editorial="Editorial",ef.Event="Event",ef.ExternalContributor="ExternalContributor",ef.GridHub="GridHub",ef.Grouping="Grouping",ef.LeadWriter="LeadWriter",ef.League="League",ef.Location="Location",ef.Moment="Moment",ef.National="National",ef.Person="Person",ef.Sport="Sport",ef.State="State",ef.Tag="Tag",ef.Talent="Talent",ef.Team="Team",ef.Topic="Topic",ef.Venue="Venue",ef.Video="Video",(ey=tD||(tD={})).Conference="Conference",ey.Creator="Creator",ey.Division="Division",ey.Editor="Editor",ey.Editorial="Editorial",ey.Event="Event",ey.GameCast="GameCast",ey.Interest="Interest",ey.League="League",ey.Page="Page",ey.Person="Person",ey.Player="Player",ey.Sport="Sport",ey.Team="Team",(eE=tU||(tU={})).SeriesTaxonomy="seriesTaxonomy",eE.ShowTaxonomy="showTaxonomy",(eb=tM||(tM={})).AewGame="aewGame",eb.BleacherReport="bleacherReport",eb.EstadioArgentina="estadioArgentina",eb.EstadioBrazil="estadioBrazil",eb.EstadioChile="estadioChile",eb.Ncaa="ncaa",(eS=tF||(tF={})).BleacherReport="bleacherReport",eS.EstadioArgentina="estadioArgentina",eS.EstadioChile="estadioChile",eS.HboMaxBrazil="hboMaxBrazil",eS.HboMaxMexico="hboMaxMexico",(tG||(tG={})).Usa="USA",(eT=tW||(tW={})).AnimatedGif="ANIMATED_GIF",eT.Photo="PHOTO",eT.Video="VIDEO",(ew=tB||(tB={})).Original="ORIGINAL",ew.Quoted="QUOTED",ew.RepliedTo="REPLIED_TO",ew.Retweeted="RETWEETED",(eA=tV||(tV={})).ContentTypeAdvertisement="CONTENT_TYPE_ADVERTISEMENT",eA.ContentTypeClip="CONTENT_TYPE_CLIP",eA.ContentTypeFullEventReplay="CONTENT_TYPE_FULL_EVENT_REPLAY",eA.ContentTypeLive="CONTENT_TYPE_LIVE",eA.ContentTypeQuickvod="CONTENT_TYPE_QUICKVOD",eA.ContentTypeStartOver="CONTENT_TYPE_START_OVER",eA.ContentTypeUnspecified="CONTENT_TYPE_UNSPECIFIED",eA.ContentTypeVod="CONTENT_TYPE_VOD",(eC=tH||(tH={})).Clip="CLIP",eC.FullLength="FULL_LENGTH",(eI=tj||(tj={})).Ended="ENDED",eI.Live="LIVE",eI.Upcoming="UPCOMING",eI.Vod="VOD",(eP=tK||(tK={})).VideoTypeClip="VIDEO_TYPE_CLIP",eP.VideoTypeEpisode="VIDEO_TYPE_EPISODE",eP.VideoTypeLive="VIDEO_TYPE_LIVE",eP.VideoTypeMovie="VIDEO_TYPE_MOVIE",eP.VideoTypePromo="VIDEO_TYPE_PROMO",eP.VideoTypeStandalone="VIDEO_TYPE_STANDALONE",eP.VideoTypeStandaloneEvent="VIDEO_TYPE_STANDALONE_EVENT",eP.VideoTypeTrailer="VIDEO_TYPE_TRAILER",eP.VideoTypeUnspecified="VIDEO_TYPE_UNSPECIFIED";let nk=(0,tq.Ps)(t$()),nN=(0,tq.Ps)(tY(),nk),nR=(0,tq.Ps)(tX()),nL=(0,tq.Ps)(tQ(),nR),nx=(0,tq.Ps)(tZ()),nO=(0,tq.Ps)(tJ(),nk),nD=(0,tq.Ps)(t0(),nL,nR,nx,nO),nU=(0,tq.Ps)(t7()),nM=(0,tq.Ps)(t1()),nF=(0,tq.Ps)(t5()),nG=(0,tq.Ps)(t2()),nW=(0,tq.Ps)(t3()),nB=(0,tq.Ps)(t4()),nV=(0,tq.Ps)(t9()),nH=(0,tq.Ps)(t6(),nF,nG,nW,nB,nV),nj=(0,tq.Ps)(t8()),nK=(0,tq.Ps)(ne()),nz=(0,tq.Ps)(nt()),nq=(0,tq.Ps)(nn(),nj,nK,nF,nG,nW,nB,nz),n$=(0,tq.Ps)(na(),nF,nG,nW,nV),nY=(0,tq.Ps)(nr()),nX=(0,tq.Ps)(ns()),nQ=(0,tq.Ps)(ni(),nY,nX),nZ=(0,tq.Ps)(no()),nJ=(0,tq.Ps)(nl()),n0=(0,tq.Ps)(nc()),n7=(0,tq.Ps)(nd(),nJ,n0),n1=(0,tq.Ps)(nu(),nZ,n7),n5=(0,tq.Ps)(np());(0,tq.Ps)(ng(),nF,nG,nx,nW),(0,tq.Ps)(nh());let n2=(0,tq.Ps)(nm());(0,tq.Ps)(nv(),nD),(0,tq.Ps)(nf()),(0,tq.Ps)(ny(),nU,nH),(0,tq.Ps)(nE(),nH),(0,tq.Ps)(nb(),nU),(0,tq.Ps)(nS(),nU,nM,nH,nN),(0,tq.Ps)(nT(),nF,nW,nG,nx);let n3=(0,tq.Ps)(nw(),nU,nq,nM,nN);(0,tq.Ps)(nA(),nQ,n$,nO),(0,tq.Ps)(nC(),nQ,nX),(0,tq.Ps)(nI(),nD);let n4=(0,tq.Ps)(nP(),n5,n1,nN);(0,tq.Ps)(n_(),nQ)},32223:function(e,t,n){"use strict";n.d(t,{xN:function(){return y},zG:function(){return A},f_:function(){return b},jl:function(){return C},p7:function(){return P},Kh:function(){return _},AL:function(){return T},fj:function(){return S},qm:function(){return w},om:function(){return I},y7:function(){return E}});var a=n(90991),r=n(72163),s=n(72357),i=n(31012),o=n(77674),l=n(40214),c=n(75725),d=n(62350),u=n(96511),p=n(83208),g=n(71991),h=n(81170);let m=e=>new Promise(t=>setTimeout(t,e)),v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],[n,a]=(0,r.useState)(),[s,i]=(0,r.useState)();return(0,r.useEffect)(()=>{let t;return async function(){let n=0;for(;n<5;)try{t=await m(2e3*n);let r=await e();a(r);break}catch(e){++n>=5&&i(e)}}(),()=>clearTimeout(t)},t),{data:n,error:s,loading:!n&&!s}},f=r.createContext({}),y=e=>{let{configs:t,children:s,...g}=e,{data:m,error:y}=v(w,[t]),E=(0,r.useRef)(),b=(0,r.useRef)(),[,S]=(0,i.Cg)();(0,h.t)(()=>{if(y)return u.kg.error({service:p.AppServices.SdkProvider,error:y,message:y.message,status_code:500}),(0,c.OZ)(y,!0),!0},[y]);let T=(0,r.useMemo)(()=>{if(t)return E.current||(E.current=new l.o(t),b.current=(0,o.bootstrapSyncSdks)(E.current)),b.current},[t]);async function w(){if(!t)return;let e={...g,onAdTechEvent:d.p$},a=await Promise.resolve().then(n.bind(n,77674));return await a.bootstrapClientSdks(t,e,E.current)}return(0,r.useEffect)(()=>{T&&(S(T.userConsentSDK.getConsent()),u.kg.debug({service:p.AppServices.SdkProvider,name:l.P.Consent,message:"onConsentUpdate emitted"}))},[T]),(0,a.jsx)(f.Provider,{value:{...b.current&&{...b.current},...m&&{...m}},children:s})},E=()=>(0,r.useContext)(f),b=()=>{let{httpClient:e}=E();return e},S=()=>{let{giSdk:e}=E();return e},T=()=>{let{giSdk:e}=E();return(0,s.fJ$)(()=>{var t;return null!==(t=null==e?void 0:e.user.getUserId())&&void 0!==t?t:Promise.resolve(void 0)},[e])},w=()=>{let{iSdk:e}=E();return e},A=()=>{let{adSdk:e}=E();return e},C=()=>{let{token:e}=E();return e},I=()=>{let{labsSdk:e}=E();return e},P=()=>{let{bootstrap:e}=E();return e},_=()=>{var e,t,n;let a="sports-federated",s=P(),i=null==s?void 0:null===(t=s.apiGroups)||void 0===t?void 0:null===(e=t[a])||void 0===e?void 0:e.baseUrl,o=null==s?void 0:null===(n=s.routing)||void 0===n?void 0:n.sportsEnv,l=(0,r.useMemo)(()=>{var e,t;let n=null==s?void 0:null===(e=s.endpoints)||void 0===e?void 0:e.find(e=>e.apiGroup===a);return null!==(t=null==n?void 0:n.path)&&void 0!==t?t:""},[null==s?void 0:s.endpoints]);return i?(0,g.h)(i+l,{sportsEnv:o}):void 0}},92148:function(e,t,n){"use strict";n.d(t,{BP:function(){return p},Gg:function(){return o},ZI:function(){return i},kP:function(){return s}});var a=n(54718),r=n(87188);let s="main-v2",i="auxiliary-menu-v2",o="Tickets",l={displayName:"BR",slug:"/",logo:{url:r.q0,__typename:"Image",alt:"BR"}},c={displayName:a.V3.Nfl,slug:"nfl",logo:{url:"https://gsp-image-cdn.wmsports.io/cms/prod/bleacher-report/2025-02/nfl_shield.png",__typename:"Image",alt:"NFL"}},d={displayName:a.V3.Mlb,slug:"mlb",logo:{url:"https://gsp-image-cdn.wmsports.io/cms/prod/bleacher-report/2025-02/mlb_crest.png",__typename:"Image",alt:"MLB"}},u={displayName:a.V3.Nba,slug:"nba",logo:{url:"https://gsp-image-cdn.wmsports.io/cms/prod/bleacher-report/styles/media_library/nba.png",__typename:"Image",alt:"NBA"}},p={Football:c,"BNT MISC":l,"Cooper Kupp":c,"Deebo Samuel":c,"Garrett Wilson":c,"Myles Garrett":c,"Sam Darnold":c,"Super Bowl":c,Basketball:u,"Kobe Bryant":u,"Kevin Durant":u,"Jimmy Butler":u,Baseball:d,"Pete Alonso":d,"Dylan Cease":d,Hockey:{displayName:a.V3.Nhl,slug:"nhl",logo:{url:"https://gsp-image-cdn.wmsports.io/cms/prod/bleacher-report/styles/media_library/nhl.png",__typename:"Image",alt:"NHL"}},"Professional Wrestling":{displayName:"WWE",slug:"wwe",logo:{url:"https://gsp-image-cdn.wmsports.io/cms/prod/bleacher-report/styles/media_library/high_school_wrestling.png",__typename:"Image",alt:"WWE"}},Soccer:{displayName:"World Football",slug:"world-football",logo:{url:"https://gsp-image-cdn.wmsports.io/cms/prod/bleacher-report/styles/media_library/world_football.png",__typename:"Image",alt:"World Football"}},NCAA:{displayName:"College Basketball",slug:"college-basketball",logo:{url:"https://gsp-image-cdn.wmsports.io/cms/prod/bleacher-report/2025-02/ncaam.png",__typename:"Image",alt:"College Basketball"}},SBS:l,"Breaking News":l,"All Sports":l}},77674:function(e,t,n){"use strict";n.r(t),n.d(t,{bootstrapClientSdks:function(){return A},bootstrapSyncSdks:function(){return C},bootstrapUserConsent:function(){return P}});var a,r,s=n(67786),i=n(44827),o=n(90357);let l="x-wbd-ace",c=[i.G,o.t,"/login","/logout","/users/registration/registerAndLogin"];function d(e){let t=e!==s.M.PRD?"".concat(e,"-"):"";return"".concat(t).concat("anonymousConsentElections")}var u=n(90046),p=n(86160),g=n(5179),h=n(62393),m=n(75725),v=n(41804),f=n(96511),y=n(83208),E=n(5966),b=n(40214);let S=()=>{};(a=r||(r={})).ONE_TRUST_LOADED="oneTrustLoaded",a.ONE_TRUST_FAILED="oneTrustFailed",a.USER_CONSENT_NOT_CHANGED="userConsentNotChanged";let T={},w=(e,t)=>{T[e]||(T[e]=t),document.addEventListener(e,t)},A=async(e,t,n)=>{let{analyticsEventListener:a=S,onAdTechEvent:r=S,onConsentUpdate:s=S}=t;try{return await _(e,{analyticsEventListener:a,onAdTechEvent:r,onConsentUpdate:s},n)}catch(e){for(let[t,n]of(f.kg.error({service:y.AppServices.SdkProvider,message:"Something went wrong while bootstrapping client SDKs",status_code:500,error:e}),Object.entries(T)))document.removeEventListener(t,n),delete T[t];throw e}},C=e=>(e.initBolt(),P(e),e.initAdFuel(),{httpClient:e.getCache(b.P.Bolt),adSdk:e.getCache(b.P.AdFuel),userConsentSDK:e.getCache(b.P.Consent)}),I=e=>{var t,n,a;return null!==(a=null===(n=e.sessionState.getPayload(u.M.Consents))||void 0===n?void 0:null===(t=n.privacyString)||void 0===t?void 0:t.iabTcfEu)&&void 0!==a?a:""},P=e=>{var t,n,a,r;let s=e.getCache(b.P.Bolt),i=(0,v.M)([v.P.BOLT_ENV]);(null===(t=globalThis)||void 0===t?void 0:t.OTExternalConsent)&&f.kg.info({service:y.AppServices.UCL,message:"Start UCL with OTExternalConsent"});let o=e.initUserConsent();e.initDataLayer(),w("userConsentNotChanged",()=>{var e;return null===(e=window)||void 0===e?void 0:e.hasOneTrustLoaded.then(async()=>{await o.updateNcisConsents("privacyPreference",{tcfString:I(s)})}).catch(e=>{(0,m.CI)({classification:p.IU.FETCH_FAILED,error:e})})}),n=s.interceptors,a=i.BOLT_ENV,r=new E.mM,n.response.use(async e=>{var t;if(r&&l in e.headers){let n=null!==(t=e.headers[l])&&void 0!==t?t:"";r.writeSync(d(a),n)}return e}),n.request.use(async e=>{if(r&&c.some(t=>e.url.includes(t))){let t=r.readSync(d(a));if(t)return{...e,headers:{...e.headers,[l]:t}}}return e}),s.refreshManager.onRefresh(async(e,t)=>{var n,a;(null==t?void 0:null===(n=t.consents)||void 0===n?void 0:n.reconsent)==="refresh"&&(null===(a=window)||void 0===a||a.hasOneTrustLoaded.then(async()=>{await o.updateNcisConsents("refresh",{tcfString:I(s)})}).catch(e=>{(0,m.CI)({classification:p.IU.FETCH_FAILED,error:e})}))})},_=async(e,t,n)=>{var a;let{analyticsEventListener:r=S,onAdTechEvent:s=S,onConsentUpdate:i=S}=t,o=await n.initInstrumentation(r),l=n.getCache(b.P.Bolt),c=n.getCache(b.P.Consent),d=n.getCache(b.P.AdFuel),u=await n.initAuth().catch(k),g=await n.initBootstrap();null===(a=window)||void 0===a||a.hasOneTrustLoaded.then(async()=>{await c.updateNcisConsents("privacyPreference",{tcfString:I(l)})}).catch(e=>{(0,m.CI)({classification:p.IU.FETCH_FAILED,error:e})});let[h,v,E]=await Promise.all([n.initGlobalIdentity(),n.initLabs(),n.initAdTech(s)]);return await n.updateInstrumentationConfig(),n.initPlayerGlobalScope(),f.kg.debug({service:y.AppServices.SdkProvider,message:"bootstrapClientSdks completed successfully"}),{httpClient:l,giSdk:h,iSdk:o,adTechSdk:E,adSdk:d,token:u,labsSdk:v,bootstrap:g,...e}};function k(e){var t,n,a,r,s;throw f.kg.error({service:y.AppServices.SdkProvider,message:"Something went wrong while retrieving the auth token",error:e,status_code:null!==(r=e.status)&&void 0!==r?r:500}),(0,m.wc)({message:"bolt-http : ".concat(e.message),stackTrace:null!==(s=null===(a=e.response)||void 0===a?void 0:null===(n=a.data)||void 0===n?void 0:null===(t=n.errors)||void 0===t?void 0:t.map(e=>"code: ".concat(e.code,", id: ").concat(e.id)).join(","))&&void 0!==s?s:"",component:e.code,classification:g.NU.TOKEN_DATA,scope:h.H4.BACKGROUND}),e}},40214:function(e,t,n){"use strict";n.d(t,{P:function(){return s},o:function(){return ey}});var a,r,s,i=n(90779),o=n(10561),l=n(99502),c=n(35398),d=n(58100);let u=async(e,t)=>{let n=d.e.instance,a="/labs/api/v1/sessions/feature-flags/decisions";return e.context?(await n.post(a,e,t)).data:(await n.get(a,{...t,params:{...e}})).data};var p=n(44827),g=n(19957);let h=e=>{let{clientId:t,applicationId:n,applicationVersion:a,deviceId:r,deviceInfo:s}=e,{manufacturer:i,model:o,operatingSystem:l,operatingSystemVersion:c}=s,d=t?"".concat(encodeURIComponent(r),"/").concat(encodeURIComponent(t)):encodeURIComponent(r);return"".concat(n,"/").concat(a," (").concat(i,"/").concat(o,"; ").concat(l,"/").concat(c,"; ").concat(d,")")},m=function(e){let t=e.deviceInfo.operatingSystemVersion.replace(":","")||"UNKNOWN";return"".concat(e.platform,":").concat(t,":").concat(e.applicationId,":").concat(e.applicationVersion)},v=e=>{let{asyncRails:t,brandId:n,realm:a}=e,r=["realm=".concat(a),"bid=".concat(n)];return t&&r.push("features=ar"),r.join(",")},f=e=>{let{sessionConfig:t}=e;return{resolve:async e=>{let{headers:n}=e;return e.headers={"Content-Type":"application/json",...n,"x-disco-client":m(t),"x-disco-params":v(t),"x-wbd-time-zone":function(){if("undefined"!=typeof Intl&&"function"==typeof Intl.DateTimeFormat&&"function"==typeof Intl.DateTimeFormat().resolvedOptions&&Intl.DateTimeFormat().resolvedOptions().timeZone)return Intl.DateTimeFormat().resolvedOptions().timeZone;let e=new Date().getTimezoneOffset(),t=Math.abs(e),n=String(Math.floor(t/60)).padStart(2,"0"),a=String(t%60).padStart(2,"0");return"".concat(e<=0?"+":"-").concat(n,":").concat(a)}(),...t.deviceId&&{"x-device-info":h(t)}},e}}};var y=JSON.parse('{"id":2053477438,"endpoints":[{"path":"/events","apiGroup":"telegraph"},{"path":"/dcp-svc-go","apiGroup":"events"},{"path":"/markers","apiGroup":"playback-markers"},{"path":"/","apiGroup":"bolt"}],"apiGroups":{"bolt":{"baseUrl":"https://default.any-any.{env}.{domain}"},"telegraph":{"baseUrl":"https://telegraph.{env}.{domain}"},"events":{"baseUrl":"https://events.{env}.{domain}"},"playback-markers":{"baseUrl":"https://busy.{env}.{domain}"}},"routing":{"env":"prd","domain":"api.discomax.com"}}'),E=n(60726),b=n(39348),S=n(67786),T=n(67443),w=n.n(T);function A(e){var t;return(function(e){let t=2166136261;for(let n=0;n{let t=e.replace(/{|}/g,"");return t in this._config.routing?this._config.routing[t]:e})}resolveRequestUrl(e){for(let t of("/"!==e.charAt(0)&&(e="/".concat(e)),this._config.endpoints))if(e.startsWith(t.path)){let n=this._config.apiGroups[t.apiGroup].baseUrl,a=this._replaceRouteKeys(n);return"".concat(a).concat(e)}return e}setBootstrapProvider(e){this._bootstrapProvider=e}hasBootstrapProvider(){return!!this._bootstrapProvider}constructor(e,t,n){this._fingerprint="",this._onConfigChangeEvent=new b.F,this._default=e,this._config=this._default,this._fingerprint=A(this._config),this._storageKeyPrefix=n&&n!==S.M.PRD?"".concat(n.toLowerCase(),"-"):"",this._persistentStorage=t}}var P=n(59793),_=n.n(P),k=n(59387);function N(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0;return a&&(n["axios-retry"]=a),e(t,n)}}function R(e){return function(t,n){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;return r&&(a["axios-retry"]=r),e(t,n=n||{},a)}}let L=e=>_().isAxiosError(e),x=e=>_().isAxiosError(e)&&e.code===P.AxiosError.ETIMEDOUT,O=e=>({name:"AXIOS",createHttpInstance:function(){var t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0,r=_().create({...e,...n,...n.baseUrl?{baseURL:n.baseUrl}:{},transitional:{clarifyTimeoutError:!0}});return(t=r.interceptors.request).forEach=e=>{[...t.handlers].reverse().forEach(t=>{null!==t&&e(t)})},(0,k.ZP)(r,{...a,shouldResetTimeout:!0}),{interceptors:{get request(){return r.interceptors.request},get response(){return r.interceptors.response}},get:N(r.get),put:R(r.put),post:R(r.post),patch:R(r.patch),delete:N(r.delete),options:N(r.options),head:N(r.head)}},isHttpError:L,isHttpTimeoutError:x}),D=e=>"gpc=".concat(e.globalPrivacyControl?"1":"0"),U=e=>async t=>{var n,a,r;let s=t.isAnonymous?void 0:await (null===(a=null===(n=e.authorization)||void 0===n?void 0:n.authTokenProvider)||void 0===a?void 0:a.getTokenAsync());return{...t,headers:{...t.headers,...s&&{Authorization:"Bearer ".concat(s)},...e.deviceConsents&&{"x-wbd-device-consent":D(e.deviceConsents)},...(null===(r=e.devicePreferredLanguages)||void 0===r?void 0:r.length)&&{"x-wbd-preferred-language":e.devicePreferredLanguages.join(",")}}}};var M=n(90046),F=n(33735);function G(e,t){return Array.isArray(e)&&Array.isArray(t)?[...new Set([...e,...t])]:"object"==typeof e&&e&&"object"==typeof t&&t?{...e,...t}:t}class W{async _applyRefreshLock(e,t){var n;if(this._refreshLock||!e.includes(F.tK.BOOTSTRAP))return;let a=null===(n=this._bootstrapConfig)||void 0===n?void 0:n.refreshBootstrap(t),r=function(e){let t,n;let a=new Promise(e=>{n=e,t=setTimeout(()=>{e()},5e3)});return a.cancel=()=>{t&&"number"==typeof t&&clearTimeout(t),n()},a}(0);return this._refreshLock=Promise.race([a,r]).catch(()=>void 0).finally(()=>{this._refreshLock=void 0,r.cancel()}),this._refreshLock}configureInterceptors(e){e.response.use(this._responseInterceptor.bind(this))}onRefresh(e){return this._onRefreshEvent.addListener(e)}async checkRefreshLock(e){var t;(null==e?void 0:e.bypassBootstrapRefreshLock)||await (null===(t=this._refreshLock)||void 0===t?void 0:t.catch(()=>void 0))}onError(e){this._errorSubscribers.addListener(e)}constructor(e,t){var n=this;for(let a of(this._onRefreshEvent=new b.F,this._errorSubscribers=new b.F,this._onRefreshEventFireDebounced=function(e,t,n){let a=[],r=function(e,t){let n;function a(){n&&"number"==typeof n&&(clearTimeout(n),n=void 0)}return function(){for(var r=arguments.length,s=Array(r),i=0;i{e(...s)},t),a}}(function(){for(var t=arguments.length,n=Array(t),r=0;rn(a[t],e)));return()=>(a=[],i())}}(function(){for(var e=arguments.length,t=Array(e),a=0;a{n._errorSubscribers.fire(e).catch(E.Z)})},100,G),this._responseInterceptor=async e=>{let t=e.headers["x-wbd-refresh"],n=(0,F.nj)(t);return n.length>0&&(await this._applyRefreshLock(n,e),this._onRefreshEventFireDebounced(n,{})),e},this._bootstrapConfig=e,this._sessionState=t,[...Object.values(M.M),...Object.values(M.P)]))this._sessionState.onSessionPayloadChange(a,e=>{let t={[a]:e};this._onRefreshEventFireDebounced([],t)})}}class B{constructor(e){var t;this.environment=S.M.PRD,this.globalDomain="api.discomax.com",this.uatEnabled=!1,this.asyncRails=!0,this.devicePreferredLanguages=[],void 0!==e.environment&&Object.values(S.M).includes(e.environment)&&(this.environment=e.environment),this.brandId=e.brandId,this.realm=e.realm,this.clientId=e.clientId,this.applicationId=e.applicationId,this.applicationVersion=e.applicationVersion,this.deviceConsents=e.deviceConsents,this.deviceId=e.deviceId,this.homeTerritoryHint=e.homeTerritoryHint,this.siteLookupKey=e.siteLookupKey,this.deviceInfo=e.deviceInfo,this.authorization=null!==(t=e.authorization)&&void 0!==t?t:{},this.platform=e.platform,void 0!==e.uatEnabled&&(this.uatEnabled=e.uatEnabled),void 0!==e.asyncRails&&(this.asyncRails=e.asyncRails),void 0!==e.globalDomain&&(this.globalDomain=e.globalDomain),void 0!==e.devicePreferredLanguages&&(this.devicePreferredLanguages=e.devicePreferredLanguages)}}class V{async _triggerOnSessionPayloadChangeEvents(e){let t=e=>Object.values(M.P).includes(e);for(let n of e.filter(e=>Object.values(M.M).includes(e)||t(e))){let e=t(n)?this._getEncodedPayload(n):this.getPayload(n);await this._onSessionPayloadChangeEvent[n].fire(e)}}configureInterceptors(e){e.request.use(this._requestInterceptor),e.response.use(this._responseInterceptor)}getHeader(){return this._sessionStateHeader}setHeader(e){if(e){let t=this._sessionStateHeaderToPayloadValues(e),n=this._deltaMergePayloadValues(this._payloadValues,t),a=this._getMutatedSessionPayloadKeys(this._payloadValues,n);this._payloadValues=n;let r=this._payloadValuesToSessionStateHeader(this._payloadValues);this._sessionStateHeader=r,this._triggerOnSessionPayloadChangeEvents(a).catch(e=>{this._errorSubscribers.fire(e).catch(()=>{})})}}_getMutatedSessionPayloadKeys(e,t){return Object.keys(t).filter(n=>!(e&&n in e&&t[n]===e[n]))}_getEncodedPayload(e){return this._payloadValues?this._payloadValues[e]:void 0}getPayload(e){let t=this._getEncodedPayload(e);if(t)return this._decodePayload(t)}onSessionPayloadChange(e,t){return this._onSessionPayloadChangeEvent[e].addListener(t)}_sessionStateHeaderToPayloadValues(e){let t=e.split(";"),n={};return t.forEach(e=>{if(e&&e.length){let[t,a]=e.split(":");n[t]=a}}),n}_deltaMergePayloadValues(e,t){let n=Object.assign({},e);for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e)){let a=t[e];a?n[e]=a:delete n[e]}return n}_payloadValuesToSessionStateHeader(e){let t="";if(e)for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t+="".concat(n,":").concat(e[n],";"));return t}_decodePayload(e){try{let t=atob(e.split(".")[1]);return JSON.parse(t)}catch(n){let t=Error("Invalid encoding for session-state header with payload: ".concat(e));this._errorSubscribers.fire(t).catch(()=>{});return}}onError(e){return this._errorSubscribers.addListener(e)}constructor(){this._onSessionPayloadChangeEvent={[M.M.Consents]:new b.F,[M.M.Experience]:new b.F,[M.M.Localization]:new b.F,[M.P.Overrides]:new b.F},this._errorSubscribers=new b.F,this._responseInterceptor=async e=>{let t=e.headers["x-wbd-session-state"];return t&&this.setHeader(t),e},this._requestInterceptor=async e=>{let t=this.getHeader();return t&&e.headers&&(e.headers["x-wbd-session-state"]=t),e}}}let H=e=>e instanceof URLSearchParams?e.toString():function(e,t){if("object"==typeof e&&null!==e){let n=new Set,a=null!=t?t:{};return void 0===a.encode&&(a.encode=!0),function e(t,n,a,r){n.add(t);let s=Object.prototype.hasOwnProperty,{encode:i}=a,o=[];for(let l in t){let c;if(!s.call(t,l))continue;let d=t[l],u=i?encodeURIComponent(l):l,p=r?"".concat(r,"[").concat(u,"]"):u;if(void 0!==d&&"function"!=typeof d){if("object"==typeof d&&null!==d){if(n.has(d))continue;if(Array.isArray(d)){let e=[];d.forEach(t=>{if(void 0!==t&&"function"!=typeof t){let n=i?encodeURIComponent(String(t)):String(t);e.push(n)}}),c="".concat(p,"=").concat(e.join(","))}else c=e(d,n,a,p)}else{let e=i?encodeURIComponent(String(d)):String(d);c="".concat(p,"=").concat(e)}c&&o.push(c)}}return o.join("&")}(e,n,a)}return""}(e,{encode:!1});function j(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=(arguments.length>1&&arguments[1],arguments.length>2&&void 0!==arguments[2]?arguments[2]:100),n=Math.pow(2,e)*t;return n+.2*n*Math.random()}class K{get moduleName(){return this._module.name}static create(e,t,n){return new K({sessionConfig:e,requestConfig:t,storage:n,httpModule:O()})}_buildRequestConfig(e){var t,n,a;let{url:r,config:s}=e,i=null!==(n=null===(t=this.bootstrapConfig)||void 0===t?void 0:t.resolveRequestUrl(r))&&void 0!==n?n:r,o=null===(a=this.bootstrapConfig)||void 0===a?void 0:a.getFingerprint();return[i,{...s,bootstrapConfigFingerprint:o,originalRequestUrl:r}]}async get(e,t,n){await this.refreshManager.checkRefreshLock(t);let[a,r]=this._buildRequestConfig({url:e,config:t});return this._httpInstance.get(a,r,n)}async post(e,t,n,a){await this.refreshManager.checkRefreshLock(n);let[r,s]=this._buildRequestConfig({url:e,config:n});return this._httpInstance.post(r,t,s,a)}async patch(e,t,n,a){await this.refreshManager.checkRefreshLock(n);let[r,s]=this._buildRequestConfig({url:e,config:n});return this._httpInstance.patch(r,t,s,a)}async delete(e,t,n){await this.refreshManager.checkRefreshLock(t);let[a,r]=this._buildRequestConfig({url:e,config:t});return this._httpInstance.delete(a,r,n)}async put(e,t,n,a){await this.refreshManager.checkRefreshLock(n);let[r,s]=this._buildRequestConfig({url:e,config:n});return this._httpInstance.put(r,t,s,a)}async options(e,t,n){await this.refreshManager.checkRefreshLock(t);let[a,r]=this._buildRequestConfig({url:e,config:t});return this._httpInstance.options(a,r,n)}async head(e,t,n){await this.refreshManager.checkRefreshLock(t);let[a,r]=this._buildRequestConfig({url:e,config:t});return this._httpInstance.head(a,r,n)}isHttpError(e){return this._module.isHttpError(e)}isHttpTimeoutError(e){return this._module.isHttpTimeoutError(e)}constructor(e){var t,n,a,r,s;this._module=e.httpModule,this.sessionConfig=new B(e.sessionConfig),this.sessionState=new V;let i={paramsSerializer:H,withCredentials:(null===(t=e.requestConfig)||void 0===t?void 0:t.withCredentials)||!1,timeout:2e4,...e.requestConfig};this._httpInstance=this._module.createHttpInstance(i,{retries:2,retryCondition:e=>this._module.isHttpTimeoutError(e),retryDelay:j}),this.interceptors=this._httpInstance.interceptors;let o=(n=this.sessionConfig.environment,a=this.sessionConfig.globalDomain,{...y,routing:(r=y.routing,s={env:n,domain:a},{...r,...s})});if((null==i?void 0:i.baseUrl)===void 0){let t=e.storage;this.bootstrapConfig=new I(o,t,this.sessionConfig.environment)}this.refreshManager=new W(this.bootstrapConfig,this.sessionState),(function(e){let t=f(e);return{name:"headers",init:e=>{e.request.use(t.resolve,t.reject,t.options)},expose:void 0}})({sessionConfig:this.sessionConfig}).init(this.interceptors),this.interceptors.request.use(U(e.sessionConfig),void 0,{priority:g.W.AUTHORIZATION}),this.sessionState.configureInterceptors(this.interceptors),this.refreshManager.configureInterceptors(this.interceptors)}}var z=n(72357),q=n(85917),$=n(87597),Y=n(33343),X=n(80183),Q=n(41804),Z=n(96511),J=n(83208),ee=n(87188),et=new WeakMap;class en{setPermutiveSchema(e){var t,n;let a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return null!==(n=window)&&void 0!==n&&null!==(t=n.AdFuelUtils)&&void 0!==t&&!!t.setPermutiveSchema&&(window.AdFuelUtils.setPermutiveSchema(ee.sG,e,a),!0)}configure(e,t){let{ADFUEL:n}=e;n.COLLAPSE_EMPTY_DIVS=!1,this.registry=t,this.config=e}getFwSyncUserId(){var e,t,n,a;return null!==(a=new URLSearchParams(null!==(n=null===(t=globalThis)||void 0===t?void 0:null===(e=t.AdFuelUtils)||void 0===e?void 0:e.getUMTOCookies())&&void 0!==n?n:"").get("_fw_vcid2"))&&void 0!==a?a:""}verify(){var e,t;return!!Object.keys(null!==(e=this.registry)&&void 0!==e?e:{}).length&&!!Object.keys(null!==(t=this.config)&&void 0!==t?t:{}).length||(Z.kg.warn({service:J.AppServices.AdFuel,message:"AdSdk registry is empty or config was not provided",status_code:500,error:{}}),!1)}requestAds(){var e,t,n;let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.verify())return;let{slotMap:r,...s}=a,i=null===(e=s.exclude)||void 0===e?void 0:e.length,o=i?this._filterExcludedAds(r,s.exclude):r;null===(n=globalThis)||void 0===n||null===(t=n.AdFuel)||void 0===t||t.queueMetadata({registry:this.registry,config:this.config},{...s,slotMap:o,...i&&{slots:Object.keys(o).map(e=>e)}})}setPageTargeting(e){Object.keys(e).forEach(t=>{var n,a;null===(a=globalThis)||void 0===a||null===(n=a.AdFuel)||void 0===n||n.addPageLevelTarget(t,"".concat(e[t]))})}setSignalData(e){var t,n,a;null===(a=globalThis)||void 0===a||null===(n=a.AdFuelUtils)||void 0===n||null===(t=n.setSignalData)||void 0===t||t.call(n,{keywords:e})}removePageTargeting(e){for(let a of e){var t,n;null===(n=globalThis)||void 0===n||null===(t=n.AdFuel)||void 0===t||t.removePageLevelTarget(a)}}destroySlots(e){var t,n;null===(n=globalThis)||void 0===n||null===(t=n.AdFuel)||void 0===t||t.destroySlots(e)}queueSlot(e){var t,n;if(!this.verify())return;let{ADFUEL:a}=this.config;null===(n=globalThis)||void 0===n||null===(t=n.AdFuel)||void 0===t||t.queueMetadata({registry:this.registry,config:{ADFUEL:{...a,slots:[e]}}})}auctionAds(e,t,n){var a;let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.configure(e,t),this.setPageTargeting(n),this.setSignalData(null!==(a=null==n?void 0:n.tags)&&void 0!==a?a:""),this.requestAds(r)}_filterExcludedAds(e,t){return Object.keys(e).reduce((n,a)=>{let r;let s=e[a];if(Array.isArray(s)){let e=s.filter(e=>!t.includes(e));r=e.length?e:void 0}else t.includes(s)||(r=s);return r&&(n[a]=r),n},{})}reset(){this.registry=void 0,this.config=void 0}requestAd(e,t){var n,a;this.verify()&&(null===(a=globalThis)||void 0===a||null===(n=a.AdFuel)||void 0===n||n.queueMetadata({registry:this.registry,config:this.config},{slotMap:{[e]:t},slots:[e]}))}refreshAd(e){var t,n;this.verify()&&(null===(n=globalThis)||void 0===n||null===(t=n.AdFuel)||void 0===t||t.refresh(e))}constructor(){(0,o._)(this,et,{writable:!0,value:void 0}),this.registry={},this.config={},(0,l._)(this,et,(0,Q.M)([Q.P.ADFUEL_AIS_SCRIPT,Q.P.ADFUEL_LIB_SCRIPT]))}}var ea=n(90357);n(28969);let er=async(e,t)=>{var n,a;let{privacyString:r,consents:s,vendors:i,actionType:o,consentExperienceAlias:l}=e;if(0===s.length&&!r)return;let c=null!==(n=null==s?void 0:s.map(e=>({type:"consent",attributes:{consentOptions:e.consentOptions},relationships:{term:{data:{id:e.termId,type:"term"}}}})))&&void 0!==n?n:[],u=r?{type:r.type,attributes:{value:r.value}}:void 0,p=null!==(a=null==i?void 0:i.map(e=>({type:"vendor",id:e.id,attributes:{enabled:e.enabled}})))&&void 0!==a?a:[];return await d.e.instance.post("legal/v2/recordConsents",{data:{type:"privacy",attributes:{actionType:o,consentExperienceAlias:l,privacyString:u,consents:c,vendors:p}}},t)};var es=n(45208);class ei{getConsent(){return this.userConsent}constructor(){var e,t,n,a,r,s,i,o,l,c,d,u;this.userConsent={},this.updateNcisConsents=async(e,t)=>{var n,a,r;let s=(await (0,ea.q)(e)).consentBehaviours.map(e=>({consentOptions:e.consentOptions.map(e=>{var t,n,a,r,s,i,o,l,c,d,u,p,g,h,m,v,f,y,E,b,S,T,w,A,C,I,P;let _={alias:e.alias},k=!!e.approved;switch(e.alias){case"sell-share-data-consent":_.approved=null===(a=globalThis)||void 0===a?void 0:null===(n=a.WBD)||void 0===n?void 0:null===(t=n.UserConsent)||void 0===t?void 0:t.inUserConsentState(["vendor"]);break;case"performance-functional-consent":_.approved=null===(i=globalThis)||void 0===i?void 0:null===(s=i.WBD)||void 0===s?void 0:null===(r=s.UserConsent)||void 0===r?void 0:r.inUserConsentState(["vendor-perf-func"]);break;case"targeting-consent":_.approved=null===(c=globalThis)||void 0===c?void 0:null===(l=c.WBD)||void 0===l?void 0:null===(o=l.UserConsent)||void 0===o?void 0:o.inUserConsentState(["3p-targeting"]);break;case"ftc":_.approved=null===(p=globalThis)||void 0===p?void 0:null===(u=p.WBD)||void 0===u?void 0:null===(d=u.UserConsent)||void 0===d?void 0:d.inUserConsentState(["1p-targeting"]);break;case"sai":_.approved=null===(m=globalThis)||void 0===m?void 0:null===(h=m.WBD)||void 0===h?void 0:null===(g=h.UserConsent)||void 0===g?void 0:g.inUserConsentState(["functional","performance","3p-targeting","1p-targeting","vendor-perf-func"]);break;case"lda":_.approved=null===(y=globalThis)||void 0===y?void 0:null===(f=y.WBD)||void 0===f?void 0:null===(v=f.UserConsent)||void 0===v?void 0:v.inUserConsentState(["1p-targeting"]);break;case"cpa":_.approved=null===(S=globalThis)||void 0===S?void 0:null===(b=S.WBD)||void 0===b?void 0:null===(E=b.UserConsent)||void 0===E?void 0:E.inUserConsentState(["3p-targeting"]);break;case"upa":_.approved=null===(A=globalThis)||void 0===A?void 0:null===(w=A.WBD)||void 0===w?void 0:null===(T=w.UserConsent)||void 0===T?void 0:T.inUserConsentState(["3p-targeting"]);break;case"map":_.approved=null===(P=globalThis)||void 0===P?void 0:null===(I=P.WBD)||void 0===I?void 0:null===(C=I.UserConsent)||void 0===C?void 0:C.inUserConsentState(["functional","performance","vendor-perf-func"]);break;default:_.approved=k}return _.approved="boolean"==typeof _.approved?_.approved:k,_}),termId:e.term.id})),i=(null===(r=globalThis)||void 0===r?void 0:null===(a=r.WBD)||void 0===a?void 0:null===(n=a.UserConsent)||void 0===n?void 0:n.getTcfAPIstring())||(null==t?void 0:t.tcfString)||"",o={consents:s,consentExperienceAlias:e,actionType:"save",...i&&{privacyString:{type:"TCF",value:i}}};await er(o)},this.userConsent[es.RV.Advertisement]=null===(n=globalThis)||void 0===n?void 0:null===(t=n.WBD)||void 0===t?void 0:null===(e=t.UserConsent)||void 0===e?void 0:e.inUserConsentState(Object.values(es.yC)),this.userConsent[es.RV.Performance]=!0,this.userConsent[es.RV.Personalization]=null===(s=globalThis)||void 0===s?void 0:null===(r=s.WBD)||void 0===r?void 0:null===(a=r.UserConsent)||void 0===a?void 0:a.inUserConsentState(Object.values(es.Ll)),this.userConsent[es.RV.StrictlyNeeded]=null===(l=globalThis)||void 0===l?void 0:null===(o=l.WBD)||void 0===o?void 0:null===(i=o.UserConsent)||void 0===i?void 0:i.inUserConsentState(Object.values(es.Up)),this.userConsent[es.RV.Vendor]=null===(u=globalThis)||void 0===u?void 0:null===(d=u.WBD)||void 0===d?void 0:null===(c=d.UserConsent)||void 0===c?void 0:c.inUserConsentState(Object.values(es.Ak))}}globalThis.window&&(window.turner_metadata={trackAction:[]}),globalThis.utag_data=new Proxy({},{set(e,t,n){var a,r,s;return Reflect.set(e,t,n),null===(s=window)||void 0===s||null===(r=s.turner_metadata)||void 0===r||r.trackAction.push({type:"pageview",data:null===(a=globalThis)||void 0===a?void 0:a.utag_data}),!0}});let eo=null===(r=globalThis)||void 0===r?void 0:r.utag_data;var el=n(65216),ec=n(54718),ed=n(92148),eu=n(89725);let ep={community:{inFeedAds:{initialIndex:1,step:3}},article:{inFeedAds:{wordCount:[100,200]}},slideShow:{inFeedAds:{initialIndex:0,step:1}},home:{inFeedAds:{initialIndex:0,step:2}},scores:{inFeedAds:{initialIndex:1,step:3}},gamecast:{inFeedAds:{default:{initialIndex:2,step:3},preview:{initialIndex:2,step:3},live:{initialIndex:2,step:3},recap:{initialIndex:2,step:3},odds:{initialIndex:2,step:3},boxscore:{initialIndex:2,step:3},plays:{initialIndex:1,step:2},plays_baseball:{initialIndex:1,step:3},stats:{initialIndex:1,step:2},lineup:{initialIndex:1,step:2},standings:{initialIndex:1,step:2,distribution:{0:eu.LK.AdBnrAtf05,1:eu.LK.AdBnrAtf01}},table:{initialIndex:1,step:1}}}},eg={nfl:ec.V3.Nfl,nba:ec.V3.Nba,wnba:ec.V3.Wnba,mlb:ec.V3.Mlb,nhl:ec.V3.Nhl,"college-football":ec.V3.Ncaaf,"world-football":ec.V3.Soccer,"scores-tab":ec.V3.Unknown,"womens-college-basketball":ec.V3.Ncaabbw,"college-basketball":ec.V3.Ncaabb,tennis:ec.V3.Tennis,nascar:ec.V3.Nascar},eh={HOMEPAGE_CAMPAIGN_ENABLED:{type:"dynamic",on:!0},NAVIGATION_CAMPAIGN_ENABLED:{type:"dynamic",on:!0},TESTING_FLAG_DISABLED:{type:"dynamic",on:!1},TESTING_FLAG_ENABLED:{type:"dynamic",on:!0},LEAGUES_SLUGS:{type:"dynamic",on:!0,config:eg},CHANNEL_ALLOWED_TYPES:{type:"dynamic",on:!0,config:{interest:ec.xu.Interest,league:ec.xu.League,popularTeam:ec.xu.PopularTeam,smallTeam:ec.xu.SmallTeam}},player_config_mux:{type:"dynamic",on:!0},BLEACHER_REPORT_WEB_CONFIGS:{type:"dynamic",on:!0,config:{CHANNEL_FEED_CONTENTS_FIRST:25,HIDE_ARTICLE_VIDEO_RECOMMENDATIONS:!0,MUX_ENVIRONMENT_KEY:"out053a3bejgh7t0phqa0csou",APOLLO_ABORT_SIGNAL_TIMEOUT:1e4,AD_DISTRIBUTION:ep,CHANNEL_FEED_CONTENTS_LIMIT:150,GAMECAST_LIVE_INTERVAL:1e4,GAMECAST_INTERVAL:3e4,GAMECAST_EXCLUDED_SPORTS:[ec.Ez.Motorsports].map(e=>e.toLowerCase())}},config_isdk:{type:"dynamic",on:!0},PLAYER_DEFAULT_GLUON_CONFIG:{type:"dynamic",on:!0},player_config_default_network_status_monitor:{type:"dynamic",on:!0,config:{value:{networkStatusCheckCount:50,networkStatusCheckIntervalMs:5e3,networkStatusCheckTimeoutMs:5e3,networkStatusCheckTotalTimeoutMs:1e4}}},ARTICLE_TAG_MATCHING:{type:"dynamic",on:!0,config:ed.BP},GAMECAST_ENABLED:{type:"dynamic",on:!0}};(a=s||(s={})).Bolt="bolt",a.AuthToken="authToken",a.Consent="userConsent",a.Datalayer="datalayer",a.Instrumentation="Instrumentation",a.GlobalIdentity="globalIdentity",a.AdFuel="AdFuel",a.Labs="Labs",a.AdTech="AdTech",a.Bootstrap="Bootstrap",a.PlayerGlobalScope="PlayerGlobalScope";var em=new WeakMap,ev=new WeakMap,ef=new WeakMap;class ey{initBolt(){if(this._log("bolt","Init started"),this._isSDKInitialized("bolt")){let e=this.getCache("bolt");return this._registerBoltClient(e),e}let e=(0,i._)(this,em).getBoltConfig(),t=K.create(e,{withCredentials:!1});return this._setCache("bolt",t),this._registerBoltClient(t),this._log("bolt","Successfully initialized"),t}initUserConsent(){if(this._log("userConsent","Init Started"),this._isSDKInitialized("userConsent"))return this.getCache("userConsent");let e=new ei;return this._setCache("userConsent",e),this._log("userConsent","Successfully initialized"),e}initDataLayer(){if(this._log("datalayer","Init Started"),this._isSDKInitialized("datalayer"))return this.getCache("datalayer");for(let[e,t]of Object.entries(this._getRequiredSdk("userConsent","datalayer").getConsent()))eo[e]=t;this._setCache("datalayer",!0),this._log("datalayer","Successfully initialized")}initPlayerGlobalScope(){if(this._log("PlayerGlobalScope","Init Started"),this._isSDKInitialized("PlayerGlobalScope")){this._log("PlayerGlobalScope","Skip PlayerGlobalScope step, already called");return}let e=this._getRequiredSdk("Labs","PlayerGlobalScope");X.C.instance.initialize((0,i._)(this,em).getPlayerGlobalScopeContext(e)),this._log("PlayerGlobalScope","PlayerGlobalScope Successfully initialized"),this._setCache("PlayerGlobalScope",!0)}async updateInstrumentationConfig(){this._log("Instrumentation","Configuration Started");let e=this._getRequiredSdk("bolt","Instrumentation"),t=this._getRequiredSdk("Labs","Instrumentation");el.Gr.updateConfiguration((0,i._)(this,em).getInstrumentationConfig(e,t)),this._log("Instrumentation","Configuration Successfully updated")}async initInstrumentation(e){return(this._log("Instrumentation","Init Started"),this._isSDKInitialized("Instrumentation"))?this.getCache("Instrumentation"):(el.Gr.initialize({},(0,i._)(this,em).getInstrumentationContext()),window.addEventListener("pagehide",e=>{!1===e.persisted&&el.Gr.flushEventQueue()}),this._log("Instrumentation","pagehide eventListener added","debug"),$.S.setStorage(new c.e),this._log("Instrumentation","Initialized iSDK session manager storage mechanism","debug"),(0,el.$9)(e),this._log("Instrumentation","eventsListener and errorsListener added","debug"),this._setCache("Instrumentation",el.Gr),this._log("Instrumentation","Successfully initialized"),el.Gr)}async initGlobalIdentity(){if(this._log("globalIdentity","Init Started"),this._isSDKInitialized("globalIdentity"))return this.getCache("globalIdentity");let e=this._getRequiredSdk("bolt","globalIdentity"),t=q.uq.getInstance((0,i._)(this,em).getGiConfig(e));return await t.init(),await t.setLocale("en-us"),this._setCache("globalIdentity",t),this._log("globalIdentity","Successfully initialized"),t}initAdFuel(){if(this._log("AdFuel","Init Started"),this._isSDKInitialized("AdFuel"))return this.getCache("AdFuel");let e=new en;return this._setCache("AdFuel",e),this._log("AdFuel","Successfully initialized"),e}async initLabs(){if(this._log("Labs","Init Started"),this._isSDKInitialized("Labs"))return this.getCache("Labs");let e=this._getRequiredSdk("bolt","Labs"),t=await Y.U2.create({boltHttp:e,projectId:(0,i._)(this,ef).LABS_PROJECT_ID,localDecisions:eh});return this._setCache("Labs",t),this._log("Labs","Successfully initialized"),t}async initAdTech(e){var t,a,r;this._log("AdTech","Init Started");let s=(await Promise.all([n.e(50642),n.e(57647)]).then(n.bind(n,57647))).AdTechSDK,o=await u({projectId:(0,i._)(this,ef).LABS_PROJECT_ID}).catch(e=>(Z.kg.warn({service:J.AppServices.SdkFactory,message:"unable to retrieve LABS flags",error:e}),{})),l=(null===(r=globalThis)||void 0===r?void 0:null===(a=r.WM)||void 0===a?void 0:null===(t=a.PSM)||void 0===t?void 0:t.getWMUKID())||"",c=this._getRequiredSdk("AdFuel","AdTech").getFwSyncUserId(),{isIPhoneOrIPad:d,isSafari:p}=(0,z._vC)(),g=d||p?"SAFARI_BROWSER":"GLUON_BROWSER",h=this._getRequiredSdk("Instrumentation","AdTech"),m=(0,i._)(this,em).getAdTechSessionConfig({sessionId:h.sessionId}),v=new s((0,i._)(this,em).getAdTechConfig({prismUkid:l,remoteConfig:o,fwSyncUserId:c}),m,t=>{Z.kg.debug({service:J.AppServices.AdTech,name:t.name,params:JSON.stringify(t)}),e(t,{playerName:g})});return await v.initialize(),this._setCache("AdTech",v),this._log("AdTech","Successfully initialized"),v}async initAuth(){var e,t;if(this._isSDKInitialized("authToken"))return this._log("authToken","Skip authToken step, token already cached"),(0,i._)(this,ev).get("authToken");let n=(0,i._)(this,em).getBoltConfig(),a=await (null===(t=n.authorization)||void 0===t?void 0:null===(e=t.authTokenProvider)||void 0===e?void 0:e.getTokenAsync());return this._log("authToken","token retrieved successfully"),this._setCache("authToken",a),a}async initBootstrap(){if(this._isSDKInitialized("Bootstrap"))return this._log("Bootstrap","Skip Bootstrap step, already called"),(0,i._)(this,ev).get("Bootstrap");let e=await (0,p.r)();return this._log("Bootstrap","Bolt Bootstrap Successfully initialized"),this._setCache("Bootstrap",e),e}_registerBoltClient(e){(0,d.J)(e),this._log("bolt","Registered boltClient successfully","debug")}_getRequiredSdk(e,t){this._log(t,"looked for required SDK ".concat(e),"debug");let n=this.getCache(e);if(!n){let n="Unable to retrieve required SDK from cache in step ".concat(t,", ").concat(e," SDK is not initialized");throw Z.kg.error({service:J.AppServices.SdkFactory,message:n,name:"_getRequiredSdk",error:Error(n),status_code:500}),Error(n)}return n}_isSDKInitialized(e){return(0,i._)(this,ev).has(e)&&this._log(e,"Already Initialized","debug"),(0,i._)(this,ev).has(e)}_setCache(e,t){(0,i._)(this,ev).set(e,t),this._log(e,"".concat(e," Successfully cached"),"debug")}getCache(e){return this._log(e,"getCache, in cache? ".concat((0,i._)(this,ev).has(e)),"debug"),(0,i._)(this,ev).get(e)}_log(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info";null===Z.kg||void 0===Z.kg||null===(t=Z.kg[a])||void 0===t||t.call(Z.kg,{service:J.AppServices.SdkFactory,name:e,message:n})}constructor(e){(0,o._)(this,em,{writable:!0,value:void 0}),(0,o._)(this,ev,{writable:!0,value:void 0}),(0,o._)(this,ef,{writable:!0,value:void 0}),(0,l._)(this,em,e),(0,l._)(this,ev,new Map),(0,l._)(this,ef,(0,Q.M)([Q.P.BOLT_ENV,Q.P.ONE_TRUST_DOMAIN_SCRIPT,Q.P.ONE_TRUST_SCRIPT_URL,Q.P.PRISM_COOKIE_DOMAIN,Q.P.LABS_PROJECT_ID]))}}},75725:function(e,t,n){"use strict";function a(e,t){if(e instanceof Error)return{message:e.message,stackTrace:e.stack||"",...t};if("string"==typeof e)return{message:e,...t};try{return{message:JSON.stringify(e,function(){let e=new WeakSet;return(t,n)=>{if("object"==typeof n&&null!==n){if(e.has(n))return;e.add(n)}return n}}()),...t}}catch(e){return{message:"Non-serializable error",...t}}}n.d(t,{R_:function(){return f},CI:function(){return y},OZ:function(){return m},wc:function(){return E},P:function(){return v}});var r=n(97718),s=n(16551);let i={DEPENDENCY_FAILURE:"DEPENDENCY_FAILURE",UNKNOWN:"UNKNOWN"},o={USER_FACING:"USER_FACING",RECOVERABLE:"RECOVERABLE"},l={INITIALIZING:"INITIALIZING"};class c extends r.G{_buildErrV1(e){var t,n,a;return{...e,classification:null!==(t=e.classification)&&void 0!==t?t:i.UNKNOWN,id:this._getErrorId(),scope:null!==(n=e.scope)&&void 0!==n?n:o.USER_FACING,stackTrace:null===(a=e.stackTrace)||void 0===a?void 0:a.slice(0,3e3)}}_buildOmdV1(e){return e}_build(e){var t;let n={...e,err:this._buildErrV1(e.err),launchState:null!==(t=e.launchState)&&void 0!==t?t:l.INITIALIZING,omd:this._buildOmdV1(e.omd)};return super._build(n)}constructor(){super(...arguments),this.eventType="beam.errors.ui.launch_1.0",this.sessionUpdate=s.I.CONTINUE}}let d=new c;var u=n(28934),p=n(62393),g=n(86160),h=n(5179);let m=function(e){var t,n;let r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=a(e,{classification:i.DEPENDENCY_FAILURE,scope:r?o.RECOVERABLE:o.USER_FACING}),l=d.capture({err:s});return null==l?void 0:null===(n=l.payload)||void 0===n?void 0:null===(t=n.err)||void 0===t?void 0:t.id},v=e=>{u.mB.capture({err:a(e,{scope:u.ap.RECOVERABLE})})},f=e=>{var t,n;let{classification:r,message:s,pageId:i,scope:o,viewName:l}=e;p.gs.capture({err:a(s,{classification:null!=r?r:p.ge.INITIALIZATION,scope:null!=o?o:p.H4.RECOVERABLE}),page:{id:i,uri:null===(n=globalThis.window)||void 0===n?void 0:null===(t=n.location)||void 0===t?void 0:t.href},view:{name:l}})},y=e=>{let{classification:t,consentIds:n,error:r}=e,s=a(r,{classification:t,scope:g.Yy.BACKGROUND});g.XM.capture({consent:{ids:n},err:s})},E=e=>{let{classification:t,message:n,id:r,scope:s,stackTrace:i,component:o}=e;h.x1.capture({err:a(n,{id:r,stackTrace:i,component:o,classification:null!=t?t:h.NU.TOKEN_DATA,scope:null!=s?s:p.H4.RECOVERABLE})})}},62350:function(e,t,n){"use strict";n.d(t,{mN:function(){return s},p$:function(){return S}});let a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=e.replace(/[A-Z]/g,e=>"_".concat(e.toLowerCase()));return t?n.toUpperCase():n};var r,s,i=n(50517),o=n(16551);class l extends i.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.legacy.ad_1.0",this.sessionUpdate=o.I.EXTEND}}let c=new l;class d extends i.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.legacy.adbreak_1.0",this.sessionUpdate=o.I.EXTEND}}let u=new d;class p extends i.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.legacy.playback_1.0",this.sessionUpdate=o.I.EXTEND}}let g=new p;class h extends i.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.legacy.beacon_1.0",this.sessionUpdate=o.I.EXTEND}}let m=new h;class v extends i.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.legacy.chapter_1.1",this.sessionUpdate=o.I.EXTEND}}let f=new v;(r=s||(s={})).AD="ad",r.AD_BREAK="adBreak",r.PLAYBACK="playback",r.VIDEO_PLAYER="videoPlayer",r.BEACON="beacon",r.CHAPTER="chapter";let y=["action","adIndex","breakType","content","contentPosition","playbackId","playbackType","streamPosition","castType","isPaused","streamTimer","playerName","streamProviderSessionId","adId","assetId","breakIndex","duration"];function E(e){return document.querySelector('[data-analytics-content-id="'.concat(e,'"]'))}let b={ad:{keys:[...y,"adUnitId","campaignId","creativeName","thirdPartyCreativeId"],omitKeys:["action","castType"],enums:{action:{START:"START",PROGRESS:"PROGRESS",PAUSE_START:"PAUSE_START",PAUSE_STOP:"PAUSE_STOP",SEEK_START:"SEEK_START",SEEK_STOP:"SEEK_STOP",BUFFER_START:"BUFFER_START",BUFFER_STOP:"BUFFER_STOP",RESUME:"RESUME",SKIP:"SKIP",COMPLETE:"COMPLETE",STOP:"STOP"},castType:{CHROMECAST:"CHROMECAST",AIRPLAY:"AIRPLAY"}},emitter:c},adBreak:{keys:[...y,"numAds","transBreakType"],omitKeys:["action","playbackType","castType"],enums:{action:{START:"START",COMPLETE:"COMPLETE"},playbackType:{AUTO:"AUTO",CONTINUOUS:"CONTINUOUS",USER_INITIATED:"USER_INITIATED",CONFIRMED_CONTINUOUS:"CONFIRMED_CONTINUOUS",END_CARD:"END_CARD"},castType:{CHROMECAST:"CHROMECAST",AIRPLAY:"AIRPLAY"}},emitter:u},playback:{keys:[...y,"streamType","videoId","audioDecoderName","audioLanguage","audioType","audioTypeBestCapability","captionLanguage","closedCaption","downloadId","forcedNarrative","personalized","plannedAds","playerMode","playerSize","referringLinkBadge","screenSize","streamAudioCodec","streamDynamicRange","streamQuality","streamVideoCodec","subtitle","videoDecoderName","videoSize","videoStartTime"],omitKeys:["action","streamType","playerMode","castType","streamAudioCodec","streamVideoCodec"],enums:{action:{STREAM_START:"STREAM_START",START:"START",PROGRESS:"PROGRESS",PAUSE_START:"PAUSE_START",PAUSE_STOP:"PAUSE_STOP",SEEK_START:"SEEK_START",SEEK_STOP:"SEEK_STOP",BUFFER_START:"BUFFER_START",BUFFER_STOP:"BUFFER_STOP",RESUME:"RESUME",COMPLETE:"COMPLETE",STOP:"STOP",STREAM_COMPLETE:"STREAM_COMPLETE"},streamType:{VOD:"VOD",CHANNEL:"CHANNEL",LIVE:"LIVE",LIVE_VOD:"LIVE_VOD",QUICK_VOD:"QUICK_VOD",LIVE_LINEAR:"LIVE_LINEAR",FULL_EVENT:"FULL_EVENT"},castType:{CHROMECAST:"CHROMECAST",AIRPLAY:"AIRPLAY"},playerMode:{FULLSCREEN:"FULLSCREEN",DEFAULT:"DEFAULT",PIP:"PIP",EMBEDDED:"EMBEDDED"},streamAudioCodec:{AAC:"AAC",EAC3:"EAC3"},streamVideoCodec:{H264:"H264",H265:"H265",AV1:"AV1",VP9:"VP9",VVC:"VVC",LCEVC:"LCEVC"}},emitter:g},beacon:{keys:[...y,"destination","creativeId"],omitKeys:["action"],enums:{action:{IMPRESSION_SENT:"IMPRESSION_SENT",IMPRESSION_ACKNOWLEDGED:"IMPRESSION_ACKNOWLEDGED",FIRSTQUARTILE_SENT:"FIRSTQUARTILE_SENT",FIRSTQUARTILE_ACKNOWLEDGED:"FIRSTQUARTILE_ACKNOWLEDGED",MIDPOINT_SENT:"MIDPOINT_SENT",MIDPOINT_ACKNOWLEDGED:"MIDPOINT_ACKNOWLEDGED",THIRDQUARTILE_SENT:"THIRDQUARTILE_SENT",THIRDQUARTILE_ACKNOWLEDGED:"THIRDQUARTILE_ACKNOWLEDGED",COMPLETE_SENT:"COMPLETE_SENT",COMPLETE_ACKNOWLEDGED:"COMPLETE_ACKNOWLEDGED",CLICK_SENT:"CLICK_SENT",CLICK_ACKNOWLEDGED:"CLICK_ACKNOWLEDGED",SLOTIMPRESSION_SENT:"SLOTIMPRESSION_SENT",SLOTIMPRESSION_ACKNOWLEDGED:"SLOTIMPRESSION_ACKNOWLEDGED",SLOTCOMPLETE_SENT:"SLOTCOMPLETE_SENT",SLOTCOMPLETE_ACKNOWLEDGED:"SLOTCOMPLETE_ACKNOWLEDGED",VIDEOVIEW_SENT:"VIDEOVIEW_SENT",VIDEOVIEW_ACKNOWLEDGED:"VIDEOVIEW_ACKNOWLEDGED"}},emitter:m},chapter:{keys:[...y,"chapterDuration","chapterIndex","chapterPosition","chapterType","numChapters","snapprId"],omitKeys:["action","playbackType","chapterPosition"],enums:{action:{CHAPTER_START:"CHAPTER_START",CHAPTER_COMPLETE:"CHAPTER_COMPLETE",CHAPTER_SKIP:"CHAPTER_SKIP"},playbackType:{AUTO:"AUTO",CONTINUOUS:"CONTINUOUS",USER_INITIATED:"USER_INITIATED",CONFIRMED_CONTINUOUS:"CONFIRMED_CONTINUOUS",END_CARD:"END_CARD"},chapterPosition:{STANDALONE:"STANDALONE",PREROLL:"PREROLL",MIDROLL:"MIDROLL",POSTROLL:"POSTROLL"}},emitter:f},videoPlayer:{keys:[],omitKeys:[],enums:{},emitter:{emit:()=>null}}};function S(e){var t,n,r,s;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{name:o}=e,l=b[o];if(!l)return;let c=function e(t,n){return n.forEach(n=>{let r=n.split("."),s=r.shift();s&&t[s]&&(r.length>0?t[s]=e(t[s],[r.join(".")]):t[s]=a(t[s]))}),t}(e.payload,["action","castType","playbackType","playerMode","streamType","content.streamType"]);c.playerName&&(c.playerName=null!==(t=i.playerName)&&void 0!==t?t:"GLUON_BROWSER");let d={...c,...function(e,t){var n,a;let r=(null!==(n=null==t?void 0:t.action)&&void 0!==n?n:"").toLowerCase(),s=(null!==(a=null==t?void 0:t.type)&&void 0!==a?a:"").toLowerCase(),i=r;return r&&s&&r!==s&&!r.includes(s)&&(i="".concat(s,"_").concat(r)),!r||s||r.includes(e)||"chapter"!==e||(i="".concat(e,"_").concat(r)),{action:i.toUpperCase()}}(o,c)},u={};switch(o){case"playback":{let e=null===(n=E(d.videoId))||void 0===n?void 0:n.querySelector("video");u={referringLinkBadge:null==e?void 0:null===(r=e.dataset)||void 0===r?void 0:r.referringLinkBadge,screenSize:null==e?void 0:null===(s=e.dataset)||void 0===s?void 0:s.screenSize};break}case"videoPlayer":{let t=new CustomEvent("videoPlayer",{detail:{element:E(d.videoId),overrides:e.payload}});window.dispatchEvent(t)}}let p=function(e,t,n,a){let r=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.reduce((t,a)=>(a in e&&!n.includes(a)&&(t[a]=e[a]),t),{})}(e,t,n),s=Object.entries(a).reduce((t,n)=>{let[a,r]=n;return e[a]&&e[a]in r&&(t[a]=e[a]),t},{});return{...r,...s}}({...d,...u},l.keys,l.omitKeys,l.enums);l.emitter.emit(p)}},87188:function(e,t,n){"use strict";n.d(t,{q0:function(){return l},sG:function(){return o}});let a={width:"w",height:"h"},r=["legacymedia.sportsplatform.io","gsp-image-cdn.wmsports.io","gsp-image-cdn.nonprod.wmsports.io","media.sportsplatform.io","media-stage.nonprod.sportsplatform.io"],s=e=>r.some(t=>e.hostname===t);var i=n(41804);(0,i.M)([i.P.BR_HOST]);let o="Bleacher Report",l="https://gsp-image-cdn.wmsports.io/cms/prod/bleacher-report/2025-02/national.png";!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{let n=new URL(e);if(!s(n))return e;Object.entries(t).forEach(e=>{let[t,r]=e;if(void 0!==r&&t in a){let e=a[t];n.searchParams.set(e,r.toString())}}),n.toString()}catch(t){return e}}("https://publish-bleacher-report-gsp-cms.wmsports.io/sites/bleacher-report/files/styles/media_library/todays_newsletter.png",{height:60,width:80})},71991:function(e,t,n){"use strict";n.d(t,{h:function(){return a},q:function(){return s}});let a=(e,t)=>e.replace(/{([^{}]+)\}/g,function(e,n){return t[n]}),r=/((watch\?)|(embed\/)|(youtu\.be\/))\??(v=)?([^?\s#&/]*)/,s=e=>{let t=e.match(r);if(!t||t.length<7)return e;let n=t[t.length-1];return"https://www.youtube.com/embed/".concat(n)}},81170:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});var a=n(72163);function r(e,t){let[n,r]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(n)return;let t=e();return t&&r(!0),"function"==typeof t?t:void 0},[...t])}},93667:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});let a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.hostname;return e.indexOf("localhost")>-1?"localhost":e.split(".").every(e=>Number.isInteger(+e))?void 0:e.split(".").slice(-2).join(".")}},52322:function(e,t,n){"use strict";n.d(t,{B:function(){return s}});class a{getItem(e){return this._storage[e]}setItem(e,t){this._storage[e]=t}removeItem(e){delete this._storage[e]}clear(){this._storage={}}constructor(){this._storage={}}}class r{readAsync(e){return Promise.resolve(this.readSync(e))}readSync(e){let t=this._storage.getItem(e);return t?String(t):void 0}writeAsync(e,t,n){try{return this.writeSync(e,t,n),Promise.resolve()}catch(e){return Promise.reject(e)}}writeSync(e,t,n){let a=!0===n&&this._storage.getItem(e)||"";this._storage.setItem(e,a+t)}removeAsync(e){return Promise.resolve(this.removeSync(e))}removeSync(e){return this._storage.removeItem(e)}clearAsync(){return Promise.resolve(this._storage.clear())}constructor(){this._storage=new a}}class s extends r{_isStorageAccessible(e){try{let t="uCgI2raDsb",n=this._getStorageObject(e);return n.setItem(t,"55"),n.removeItem(t),!0}catch(e){return!1}}_getStorageObject(e){return 0===e?this._browserStorageProvider.sessionStorage:this._browserStorageProvider.localStorage}constructor(e,t){super(),this._browserStorageProvider=t||window,this._isStorageAccessible(e)&&(this._storage=this._getStorageObject(e))}}},35398:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});let a=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a={[e]:t,...n};document.cookie=Object.keys(a).map(e=>"".concat(e,"=").concat(a[e])).join("; ")},r=e=>{let t=document.cookie.split(";").find(t=>0===t.trim().indexOf("".concat(e,"=")));return t&&t.replace("".concat(e,"="),"").trim()};var s=n(93667);class i{writeSync(e,t,n){let r=n?this.readSync(e):"";a(e,"".concat(r+t),this._writeOptions)}writeAsync(e,t,n){try{return this.writeSync(e,t,n),Promise.resolve()}catch(e){return Promise.reject(e)}}readSync(e){return r(e)||""}readAsync(e){return Promise.resolve(this.readSync(e))}removeAsync(e){try{return this.removeSync(e),Promise.resolve()}catch(e){return Promise.reject(e)}}removeSync(e){a(e,"",{...this._writeOptions,[this._MAX_AGE_KEY]:"".concat(-1*Number(this._maxAge))})}clearAsync(){throw Error("Method not implemented.")}constructor(e){if(this._MAX_AGE_KEY="Max-Age",this._maxAge=31536e3,this._path="/",this._domain=(0,s.g)()||window.location.hostname,e){let{maxAge:t,path:n,domain:a}=e;this._maxAge=t,this._path=n,this._domain=a}this._writeOptions={[this._MAX_AGE_KEY]:String(this._maxAge),path:this._path,domain:this._domain}}}},44827:function(e,t,n){"use strict";n.d(t,{G:function(){return s},r:function(){return i}});var a=n(27922),r=n(58100);let s="/session-context/headwaiter/v1/bootstrap",i=async function(e){var t,n;let{multiverseTransportPayload:i,updateBootstrapConfig:o=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=r.e.instance,c={...i&&{"x-wbd-transport":i}};try{let n=await l.post(s,{},{headers:c,bypassBootstrapRefreshLock:!0,signal:null==e?void 0:e.signal});return o&&(null===(t=l.bootstrapConfig)||void 0===t||t.update(n.data)),n.data}catch(t){if(function(e){var t,n;if(!(0,a.D)(e))return!1;let r=null===(n=null===(t=e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.errors;return Array.isArray(r)&&r.some(e=>"invalid.token"===e.code)}(t))throw t;let e=null===(n=l.bootstrapConfig)||void 0===n?void 0:n.restore();if(e)return e;throw t}}},90357:function(e,t,n){"use strict";function a(e){return"object"==typeof e&&null!==e}function r(e,t){if(!a(t)||t.__resolved)return t;Object.defineProperty(t,"__resolved",{value:!0,enumerable:!1});let{attributes:n,relationships:s}=t;if(a(n))for(let e in n)"type"===e?t.typeAttribute=n.type:t[e]=n[e];if(s){let n;Object.keys(s).forEach(a=>{var i;let o=s[a].data;if(Array.isArray(o)){let n=[];o.forEach(t=>{var a;let s=null===(a=e[t.type])||void 0===a?void 0:a[t.id];s&&n.push(r(e,s))}),t[a]=n}else{let s=null===(i=e[o.type])||void 0===i?void 0:i[o.id];s?(t[a]=r(e,s),n=t[a]):t[a]||(o.attributes?t[a]={...o}:t[a]={__missingRelationship:!0,...o})}}),void 0===t.target&&n&&Object.defineProperty(t,"target",{value:n,enumerable:!1}),Object.defineProperty(t,"relationships",{enumerable:!1})}return t.meta||(t.meta={}),t}n.d(t,{t:function(){return o},q:function(){return l}});class s{get data(){let{_store:e,_data:t}=this;return Array.isArray(t)?t.map(t=>r(e,t)):r(e,t)}find(e,t){var n;return r(this._store,null===(n=this._store[e])||void 0===n?void 0:n[t])}findAll(e){return Object.values(this._store[e]||[]).map(e=>r(this._store,e))}constructor(e){this._store=function(e){let t={},n=e=>{var n,a,r;t[n=e.type]||(t[n]={}),(a=t[e.type])[r=e.id]||(a[r]=e)};return e.included&&e.included.forEach(n),Array.isArray(e.data)?e.data.forEach(n):n(e.data),t}(e),this._data=e.data}}var i=n(58100);let o="/legal/v2/consentExperience",l=async(e,t,n)=>{let a=(await i.e.instance.get(o,{params:{alias:e,decorators:t?t.join(","):["articleBodyRichText.plainText"]},signal:null==n?void 0:n.signal})).data;return new s(a).find("consentExperience",a.data.id)}},58100:function(e,t,n){"use strict";n.d(t,{J:function(){return r},e:function(){return a}});class a{static get instance(){if(!this._http)throw Error("ensure to call 'registerHttpClient' before making bolt-dataservice requests");return this._http}static initialize(e){this._http=e}}function r(e){a.initialize(e)}},27922:function(e,t,n){"use strict";n.d(t,{D:function(){return a}});let a=e=>e instanceof Error&&"NetworkError"===e.name||"object"==typeof e&&!0===e.isAxiosError},33735:function(e,t,n){"use strict";var a,r;function s(e){return Object.values(a).includes(e)}function i(e){return(null!=e?e:"").split(/,\s*/).filter(s)}n.d(t,{nj:function(){return i},tK:function(){return a}}),(r=a||(a={})).UX="ux",r.BOOTSTRAP="bootstrap",r.CONSENTS="consents"},67786:function(e,t,n){"use strict";var a,r;n.d(t,{M:function(){return a}}),(r=a||(a={})).PRD="prd",r.STG="stg",r.INT="int",r.DEV="dev"},90046:function(e,t,n){"use strict";var a,r,s;n.d(t,{M:function(){return a},P:function(){return r}}),(s=a||(a={})).Consents="consents",s.Experience="experience",s.Localization="localization",(r||(r={})).Overrides="overrides"},29387:function(e,t,n){"use strict";var a,r,s,i,o,l,c,d,u,p,g,h,m,v,f,y,E,b,S,T;n.d(t,{y$:function(){return s},ib:function(){return i},NU:function(){return r},$G:function(){return p},Lf:function(){return c},km:function(){return d},UA:function(){return u}}),(g=a||(a={})).CODE="CODE",g.EMAIL="EMAIL",g.MOBILE="MOBILE",g.MVPD="MVPD",g.OAUTH="OAUTH",g.OTP="OTP",g.RECEIPT="RECEIPT",g.RETAIN_AUTH="RETAIN_AUTH",g.SOCIAL_LOGIN="SOCIAL_LOGIN",g.SSO="SSO",g.WIFI="WIFI",(h=r||(r={})).Account="identity_account",h.AccountLookup="identity_lookup",h.Arkose="identity_arkose",h.Click="click",h.Consents="identity_consents",h.Form="form",h.LabsDecisionAccessed="labs_decision_accessed",h.Navigation="navigation_browse",h.Registration="identity_registration",h.SignIn="identity_signin",(m=s||(s={})).AUTH_PROVIDER_ADD="AUTH_PROVIDER_ADD",m.AUTOPLAY_UPDATE="AUTOPLAY_UPDATE",m.AVATAR_UPDATE="AVATAR_UPDATE",m.EMAIL_UPDATE="EMAIL_UPDATE",m.PASSWORD_UPDATE="PASSWORD_UPDATE",m.PHONE_UPDATE="PHONE_UPDATE",m.PROFILE_CREATE="PROFILE_CREATE",m.PROFILE_DELETE="PROFILE_DELETE",m.PROFILE_UPDATE="PROFILE_UPDATE",m.SHARED_CREDENTIALS_ACCEPT="SHARED_CREDENTIALS_ACCEPT",m.SHARED_CREDENTIALS_REJECT="SHARED_CREDENTIALS_REJECT",m.SHARED_CREDENTIALS_START="SHARED_CREDENTIALS_START",m.USERNAME_UPDATE="USERNAME_UPDATE",(v=i||(i={})).CHALLENGE_COMPLETE="CHALLENGE_COMPLETE",v.CHALLENGE_FAILED="CHALLENGE_FAILED",v.CHALLENGE_HIDE="CHALLENGE_HIDE",v.CHALLENGE_LOADED="CHALLENGE_LOADED",v.CHALLENGE_READY="CHALLENGE_READY",v.CHALLENGE_SHOW="CHALLENGE_SHOW",v.CHALLENGE_SHOWN="CHALLENGE_SHOWN",v.CHALLENGE_SUPPRESSED="CHALLENGE_SUPPRESSED",(f=o||(o={})).ABANDON="ABANDON",f.INITIATE="INITIATE",f.SUBMIT="SUBMIT",(y=l||(l={})).FEATURE="FEATURE",y.EXPERIMENT="EXPERIMENT",(E=c||(c={})).LOOKUP_START="LOOKUP_START",E.LOOKUP_COMPLETE="LOOKUP_COMPLETE",(b=d||(d={})).DEVICE_LINK_COMPLETE="DEVICE_LINK_COMPLETE",b.DEVICE_LINK_START="DEVICE_LINK_START",b.MVPD_LINK="MVPD_LINK",b.REGISTRATION_COMPLETE="REGISTRATION_COMPLETE",b.REGISTRATION_START="REGISTRATION_START",b.SOCIAL_LOGIN_LINK="SOCIAL_LOGIN_LINK",b.SSO_LINK="SSO_LINK",(S=u||(u={})).AFFILIATE_DIRECT="AFFILIATE_DIRECT",S.AFFILIATE_SELECT="AFFILIATE_SELECT",S.DEVICE_LINK_COMPLETE="DEVICE_LINK_COMPLETE",S.DEVICE_LINK_START="DEVICE_LINK_START",S.LOGIN_COMPLETE="LOGIN_COMPLETE",S.LOGIN_START="LOGIN_START",S.LOGOUT="LOGOUT",S.LOGOUT_EVERYWHERE="LOGOUT_EVERYWHERE",S.PASSWORD_FORGOT="PASSWORD_FORGOT",(T=p||(p={})).Account="account",T.AccountLookup="identityLookup",T.Consent="consent",T.FeatureFlags="featureFlags",T.IdentityArkose="identityArkose",T.Localization="localization",T.Otp="identityOtp",T.PlatformConfiguration="platformConfiguration",T.PlatformRuntime="platformRuntime",T.PlatformVendor="platformVendor",T.Registration="registration",T.SignIn="signin",T.Token="identityToken",T.UiComponent="uicomponent",T.UiErrorPrompt="uiErrorPrompt",T.UiRoute="uiRoute"},85917:function(e,t,n){"use strict";let a,r;n.d(t,{W_:function(){return aE},pz:function(){return w},EI:function(){return E},vG:function(){return nU},SO:function(){return nF},rx:function(){return _},wW:function(){return tK},Gy:function(){return S},FU:function(){return a6},dm:function(){return C},tG:function(){return aU},uq:function(){return sh},Qn:function(){return K},je:function(){return a9},F5:function(){return a8},Jo:function(){return aN},if:function(){return P},tI:function(){return aL},h8:function(){return sm},Qe:function(){return I},xT:function(){return re},Lh:function(){return rR}});var s,i,o,l,c,d,u,p,g,h,m,v,f,y,E,b,S,T,w,A,C,I,P,_,k=n(18683),N=n(19957),R=n(2498);let L=()=>(0,R.Z)(),x="unknown-error",O="An unknown error has occurred",D=/([{}])/,U=(e,t)=>{var n;let a=e.split(D),r="";for(let e=0;e{var t,n;return!!(null===(n=null===(t=e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.errors)};function F(e){return null!=e&&"function"==typeof e.toString?e.toString():""}let G=e=>{var t,n,a,r,s,i,o;let{response:l}=e,c=null===(n=null===(t=null==l?void 0:l.data)||void 0===t?void 0:t.errors)||void 0===n?void 0:n[0],d=F(null==c?void 0:c.id),u=F((null===(a=null==c?void 0:c.meta)||void 0===a?void 0:a.reasonCode)||(null==c?void 0:c.code))||x,p=F(e.message)||O,g=F((null==c?void 0:c.status)||e.status);return{traceId:d,code:u,message:p,status:g,requestUrl:F(null===(r=null==l?void 0:l.config)||void 0===r?void 0:r.url),traceState:F(null===(i=null===(s=null==l?void 0:l.config)||void 0===s?void 0:s.headers)||void 0===i?void 0:i.tracestate),differentMarket:"false"===F(null===(o=null==c?void 0:c.meta)||void 0===o?void 0:o.sameSubdivision)}},W=e=>e instanceof Error&&["Network Error","Failed to fetch","ECONNABORTED","BAD_NETWORK","ENOTFOUND","ETIMEDOUT"].some(t=>e.message.includes(t)),B=e=>e instanceof Error&&"object"==typeof e&&e.isAxiosError,V=e=>B(e)&&W(e),H=e=>{var t,n,a;let r=F(null==e?void 0:e.code)||x;return{code:r,message:F(null==e?void 0:e.message)||"unknown-network-error",requestUrl:F(null===(t=null==e?void 0:e.config)||void 0===t?void 0:t.originalRequestUrl),traceState:F(null===(a=null===(n=null==e?void 0:e.config)||void 0===n?void 0:n.headers)||void 0===a?void 0:a.tracestate)}},j=e=>({code:F(e.code)||x,message:F(e.message)||F(e)||O});class K extends Error{static formatMessage(e,t){return e&&t?U(e,t):e||O}static promote(e){if(e instanceof this)return e;if(M(e)){let{traceId:t,code:n,message:a,status:r,requestUrl:s,traceState:i,differentMarket:o}=G(e);return new this(n,{message:a,errorContext:{traceId:t,status:r,requestUrl:s,traceState:i,differentMarket:o?"true":""}})}if(V(e)){let{code:t,message:n,requestUrl:a,traceState:r}=H(e);return new this(t,{message:n,errorContext:{requestUrl:a,traceState:r},usesDefaultApiErrorMessage:!0})}let{code:t,message:n}=j(e);return new this(t,{message:n})}buildInstrumentationMessage(e){var t;return e||[null===(t=this.errorContext)||void 0===t?void 0:t.status,this.code,this.message].filter(Boolean).join(" - ")}buildAugmentedStackTrace(){var e,t,n,a;let r={URL:null===(e=this.errorContext)||void 0===e?void 0:e.requestUrl,TraceId:null===(t=this.errorContext)||void 0===t?void 0:t.traceId,TraceState:null===(n=this.errorContext)||void 0===n?void 0:n.traceState};return null!==(a=[...Object.keys(r).reduce((e,t)=>{var n;return[...e,r[t]?"".concat(t,"=").concat(null!==(n=r[t])&&void 0!==n?n:""):""]},[]),this.stack].filter(Boolean).join("\n"))&&void 0!==a?a:"No stack available"}asInstrumentationErrorPayload(e){let{classification:t,eventSchemaCategory:n,scope:a,message:r,...s}=e;return{...s,eventSchemaCategory:n,classification:t,omd:{component:"beam-gi-web"},err:{message:this.buildInstrumentationMessage(r),scope:this.scopeOverride||a,stackTrace:this.buildAugmentedStackTrace()}}}constructor(e,t={}){let{errorContext:n,message:a=O,scopeOverride:r,usesDefaultApiErrorMessage:s=!1,doNotLogUiPromptError:i=!1}=t;super(K.formatMessage(a,n)),this.usesDefaultApiErrorMessage=!1,this.doNotLogUiPromptError=!1,this.code=e,this.id=L(),this.name="GiWebSdkError",this.errorContext=n,this.scopeOverride=r,this.usesDefaultApiErrorMessage=s,this.doNotLogUiPromptError=i}}(s=f||(f={})).ArkoseAlreadyRunning="arkose-is-already-running",s.ArkoseChallengeFailed="arkose-challenge-failed",s.ArkoseChallengeInitFailed="arkose-challenge-init-failed",s.ArkoseChallengeReadyTimeout="arkose-challenge-ready-timeout",s.ArkoseDataExchangeFailed="arkose-data-exchange-failed",s.ArkoseInternalError="arkose-internal-error",s.ArkoseLoadingTimeout="arkose-loading-timeout",s.ConsentExperienceError="consent-experience-error",s.EmptyInternalConfiguration="empty-internal-configuration",s.IdpActivateProvider="idp-activate-provider",s.IdpOAuthError="idp-oauth-error",s.InvalidTeleponePolicyData="invalid-telephone-policy-data",s.MalformedResponsePayload="malformed-response-payload",s.MissingGiSdkClientIdentifier="missing-gi-sdk-client-identifier",s.MissingGiSdkConfig="missing-gi-sdk-config",s.MissingHttpClient="missing-http-client",s.MissingSdkInstance="no-singleton-instance",s.MissingToken="no-token-in-response",s.NoAttributesInResponse="no-attributes-in-response",s.PartnerLookupError="partner-lookup-error",s.RegisterAndActivateFailed="register-and-activate-failed",s.RegisterAndActivateAccountCollision="register-and-activate-account-collision",s.UnknownSigningKey="unknown-signing-key";let z={[f.ArkoseAlreadyRunning]:"Arkose is already running",[f.ArkoseChallengeFailed]:"The user failed to complete the Arkose challenge",[f.ArkoseChallengeInitFailed]:"The Arkose client script failed to load",[f.ArkoseChallengeReadyTimeout]:"Arkose challenge failed to be shown/suppressed within the timeout",[f.ArkoseDataExchangeFailed]:"The Arkose Data Exchange API failed",[f.ArkoseInternalError]:"An internal error occurred while running the Arkose challenge",[f.ArkoseLoadingTimeout]:"Arkose failed to load within the timeout",[f.ConsentExperienceError]:"Something went wrong fetching consentExperience that apply to the service",[f.EmptyInternalConfiguration]:"Internal configuration used by the SDK is empty",[f.IdpActivateProvider]:"IDP Activate provider failed",[f.IdpOAuthError]:"IDP OAuth initiate failed",[f.InvalidTeleponePolicyData]:"Invalid telephone policy data",[f.MalformedResponsePayload]:'Malformed API response: {attribute}=="{value}" {description}',[f.MissingGiSdkClientIdentifier]:"Could not initialize the SDK, missing sdkClientIdentifier",[f.MissingGiSdkConfig]:"GI SDK must be initialized to use this feature",[f.MissingHttpClient]:"Could not initialize the SDK, missing httpClient",[f.MissingSdkInstance]:"Missing SDK instance",[f.MissingToken]:"No token in response",[f.NoAttributesInResponse]:"No attributes in response",[f.PartnerLookupError]:"Failed to fetch the partner account metadata from GAuth",[f.RegisterAndActivateFailed]:"Failed to register and activate the user",[f.RegisterAndActivateAccountCollision]:"Account collision during register and activate",[f.UnknownSigningKey]:"The provided signing key was not recognized"};class q extends K{constructor(){let e=f.MissingSdkInstance;super(e,{message:z[e]})}}class $ extends K{constructor(e,t){let n=f.UnknownSigningKey;super(n,{message:z[n]}),this.keyName=e,this.keyServiceGroup=t}}let Y=e=>async function(t){var n,a,r,s,i;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",l=await e();if(!l)throw new q;let c=l.getConfig();return c||(await l.fetchConfig(),c=l.getConfig({strict:!0})),(null===(r=null===(a=null===(n=null==c?void 0:c.segmentedHmac)||void 0===n?void 0:n.config)||void 0===a?void 0:a[t])||void 0===r?void 0:r[o])||(null===(i=null===(s=null==c?void 0:c.hmacKeys)||void 0===s?void 0:s.config)||void 0===i?void 0:i[t])||void 0};var X=n(60968),Q=n.n(X),Z=n(40936),J=n.n(Z);let ee=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e instanceof URLSearchParams?e.toString():new URLSearchParams(Object.entries(e)).toString()},et=e=>{let{originalRequestUrl:t,url:n}=e;return t||new URL(n,"https://fakebaseurl.example.com").pathname},en=e=>(e.paramsSerializer||ee)(e.params),ea=(e,t,n)=>{let{method:a="get"}=e,r=en(e),s=et(e);return{timestamp:n,method:a.toUpperCase(),relativePath:r?"".concat(s,"?").concat(r):s,body:"string"==typeof t?t:JSON.stringify(t)}},er=e=>{let{method:t,timestamp:n,relativePath:a,body:r}=e;return"".concat(n,":").concat(t,":").concat(a,":").concat(null!=r?r:"")},es=e=>{let{keyId:t,timestamp:n,signature:a}=e;return"".concat(t,":").concat(n,":").concat(a)},ei=e=>{let t=[];return Array.isArray(e.transformRequest)?t=e.transformRequest:e.transformRequest&&(t=[e.transformRequest]),t},eo=async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default",a=await t(e,n);if(!a)throw new $(e,n);if("value"in a){let{id:e,value:t}=a;return{keyId:e,clientKey:atob(t)}}{let{id:e,key:t}=a;return{keyId:e,clientKey:atob(t)}}},el=[{pattern:RegExp("^/gauth/broker/authorize$"),hmacKeyGroup:"gauthBroker"},{pattern:RegExp("^/idp/users/accountLookup$")},{pattern:RegExp("^/idp/register$")},{pattern:RegExp("^/login$")},{pattern:RegExp("^/users/registration/registerAndLogin$")},{pattern:RegExp("^/users/registration/resetPassword$")},{pattern:RegExp("^/partner-registration/mvpds/([^/]+)/subscriptions$")}],ec=e=>{let t=et(e),n=el.find(e=>e.pattern.test(t));return{shouldSign:!!n,hmacKeyGroup:null==n?void 0:n.hmacKeyGroup}},ed=(e,t)=>J()(t,e).toString(Q()),eu=(e,t,n,a)=>(r,s)=>{let i=String(Math.floor(a()/1e3)),o=ed(n,er(ea(e,r,i))),l=es({timestamp:i,keyId:t,signature:o});return s["x-disco-client-id"]=l,r},ep=function(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return async r=>{let{shouldSign:s,hmacKeyGroup:i}=ec(r);if(!s)return r;let{keyId:o,clientKey:l}=await eo(e,t,i),c=eu(r,o,l,await n());if(!a)return c(r.data,r.headers),r;{let e=ei(r);return{...r,transformRequest:[...e,c]}}}},eg=e=>async()=>{let t=await e();if(!t)throw new q;return()=>t.getNetworkTime()},eh=(e,t,n)=>ep(e,Y(t),eg(t),n);var em=n(3439);function ev(e){e.style.border="0",e.style.height="0",e.style.left="-100",e.style.margin="0",e.style.position="absolute",e.style.visibility="hidden",e.style.width="0",e.style.zIndex="unset",e.tabIndex=-1}function ef(e){let{parentElement:t}=e;t&&t.removeChild(e)}function ey(e){e.style.height="100%",e.style.left="0",e.style.position="fixed",e.style.top="0",e.style.visibility="unset",e.style.width="100%",e.style.zIndex="2147483647",e.tabIndex=0}let eE=e=>{let{siteKey:t,apiDomain:n,styleTheme:a="",challengeLanguage:r="",exchangeData:s,lockFocusToModal:i=!1}=e;return'\n \n \n \n Authentication\n \n \n \n \n \n \n ')};class eb{load(e){this.hide(),this.setIframeContent(e),document.body.appendChild(this.iframe)}hide(){ev(this.iframe)}show(){ey(this.iframe)}destroy(){ef(this.iframe)}setIframeContent(e){let t=eE(e);e.injectIframeContent?e.injectIframeContent(this.iframe,t):this.iframe.srcdoc=t}constructor(e){this.iframe=e}}class eS{load(){var e;null===(e=this.iframe.contentWindow)||void 0===e||e.postMessage("CHALLENGE_RESUME","*")}hide(){ev(this.iframe)}show(){ey(this.iframe)}destroy(){ef(this.iframe)}constructor(e){this.iframe=e}}let eT=["allow-scripts","allow-same-origin","allow-forms"],ew=e=>{let{challengeLanguage:t,styleTheme:n,siteKey:a}=e;return["arkose-iframe",a,t,n].filter(Boolean).join("-")},eA=()=>{},eC=e=>{try{return JSON.parse(e)}catch(e){return null}},eI=e=>{let{onChallengeComplete:t,onChallengeError:n,onChallengeFailed:a,onChallengeHide:r,onChallengeReady:s,onChallengeShow:i,onChallengeShown:o,onChallengeSuppressed:l,onChallengeWarning:c,onScriptError:d}=e;return e=>{var u,p,g;let h=eC(e.data);switch(null==h?void 0:h.eventId){case"challenge-completed":null==t||t(null===(u=h.payload)||void 0===u?void 0:u.sessionToken);break;case"challenge-error":null==n||n(null===(p=h.payload)||void 0===p?void 0:p.error);break;case"challenge-failed":null==a||a();break;case"challenge-hide":null==r||r();break;case"challenge-suppress":null==l||l();break;case"challenge-ready":null==s||s();break;case"challenge-shown":null==o||o();break;case"challenge-show":null==i||i();break;case"internal-script-error":null==d||d();break;case"challenge-warning":null==c||c(null===(g=h.payload)||void 0===g?void 0:g.warning)}}};class eP{push(e){let t=eI(e);window.addEventListener("message",t),this.eventListeners.push(t)}flush(){this.eventListeners.forEach(e=>{window.removeEventListener("message",e)})}constructor(){this.eventListeners=[]}}class e_ extends K{constructor(){let e=f.ArkoseLoadingTimeout;super(e,{message:z[e]})}}class ek extends K{constructor(){let e=f.ArkoseChallengeReadyTimeout;super(e,{message:z[e]})}}class eN extends K{constructor(){let e=f.ArkoseChallengeInitFailed;super(e,{message:z[e]})}}class eR extends K{constructor(){let e=f.ArkoseChallengeFailed;super(e,{message:z[e]})}}class eL extends K{constructor(e){let t=f.ArkoseInternalError;super(t,{message:e?String(e):z[t]})}}class ex{async getToken(){return new Promise((e,t)=>{this.resolver=e,this.rejecter=t,this.setupEventListeners(),this.challenge.load(this.configuration)}).finally(()=>{this.teardown()})}setupEventListeners(){this.setupTimeouts(),this.setupCallbacks(),this.setupOnSuccess(),this.registerOnErrorHandlers(),this.setupOnVisibilityChanges()}teardown(){this.challenge.destroy(),this.eventListenerManager.flush(),this.clearTimeouts()}setupOnSuccess(){this.eventListenerManager.push({onChallengeComplete:e=>{this.resolver(e)}})}setupOnVisibilityChanges(){this.eventListenerManager.push({onChallengeShown:()=>{this.configuration.styleIframeHidden||this.challenge.show()},onChallengeHide:()=>{this.challenge.hide(),this.eventListenerManager.flush()}})}registerOnErrorHandlers(){this.eventListenerManager.push({onChallengeFailed:()=>{this.rejecter(new eR)},onChallengeError:e=>{this.rejecter(new eL(e))},onScriptError:()=>{this.rejecter(new eN)}})}setupTimeouts(){this.challenge instanceof eS||(this.setupChallengeLoadingTimeout(),this.setupChallengeShownOrSuppressedTimeout())}setupChallengeLoadingTimeout(){let{loadingTimeout:e=3e4}=this.configuration;this.loadingTimeoutId=window.setTimeout(()=>{this.rejecter(new e_)},e),this.eventListenerManager.push({onChallengeReady:()=>{window.clearTimeout(this.loadingTimeoutId)}})}setupChallengeShownOrSuppressedTimeout(){let{challengeReadyTimeout:e=3e4}=this.configuration;this.eventListenerManager.push({onChallengeShow:()=>{this.shownOrSuppressedTimeoutId=window.setTimeout(()=>{this.rejecter(new ek)},e)},onChallengeShown:()=>{window.clearTimeout(this.shownOrSuppressedTimeoutId)},onChallengeSuppressed:()=>{window.clearTimeout(this.shownOrSuppressedTimeoutId)}})}clearTimeouts(){window.clearTimeout(this.loadingTimeoutId),window.clearTimeout(this.shownOrSuppressedTimeoutId)}setupCallbacks(){let{onChallengeComplete:e,onChallengeError:t,onChallengeFailed:n,onChallengeHide:a,onChallengeReady:r,onChallengeShow:s,onChallengeShown:i,onChallengeSuppressed:o,onChallengeWarning:l,onScriptError:c}=this.configuration;this.eventListenerManager.push({onChallengeComplete:e,onChallengeError:t,onChallengeFailed:n,onChallengeHide:a,onChallengeReady:r,onChallengeShow:s,onChallengeShown:i,onChallengeSuppressed:o,onChallengeWarning:l,onScriptError:c})}constructor(e,t,n=new eP){this.challenge=e,this.configuration=t,this.eventListenerManager=n,this.resolver=eA,this.rejecter=eA}}class eO{getCachedValue(){return this.storedValue}async fetchCachedValue(){let e,{forceRefresh:t=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.cachedPromise&&t;this.cachedPromise?e=this.cachedPromise:(e=function(e){let t,n,a;let r=!1,s=e=>{r||(t=e,e.then(a=>{e===t&&(n(a),r=!0)},n=>{e===t&&(a(n),r=!0)}))},i=new Promise((e,t)=>{n=e,a=t});return s(e),i.refresh=s,i.isPending=()=>!r,i}(this.makeRequest()),this.cachedPromise=e),n&&e.refresh(this.makeRequest());let a=await e;e===this.cachedPromise&&(this.cachedPromise=void 0,this.storedValue=a)}constructor({makeRequest:e}){this.storedValue=void 0,this.makeRequest=e}}let eD=()=>function(e){return K.promote(e)},eU=(e,t,n,a)=>"function"==typeof e?async function(){for(var r=arguments.length,s=Array(r),i=0;ie[0])}catch(a){let e=Reflect.apply(t,this,[a]);if(n)try{await Reflect.apply(n,this,[e])}finally{eA()}throw e}finally{a&&await Reflect.apply(a,this,[])}}:e,eM=(e,t,n,a)=>"function"==typeof e?function(){for(var r=arguments.length,s=Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};return function(a,r,s){let i=eD();return{...s,value:(e?eU:eM)(s.value,i,t,n)}}},eG=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return eF({...e,async:!0})};class eW extends K{constructor(e,t,n){let a=f.MalformedResponsePayload;super(a,{message:z[a],errorContext:{attribute:e,value:String(t),description:n}})}}(i=y||(y={})).Paying="PAYING",i.NonPaying="NON_PAYING",i.VIP="VIP",i.IAP="IAP",i.PARTNER="PARTNER";class eB extends K{constructor(){let e=f.MissingToken;super(e,{message:z[e]})}}class eV extends K{constructor(){let e=f.NoAttributesInResponse;super(e,{message:z[e]})}}class eH extends K{constructor(e){let t=f.IdpOAuthError;super(t,{message:e||z[t]})}}class ej extends K{constructor(e,t){super(f.PartnerLookupError,{errorContext:{serviceErrorCode:e},message:t||z[f.PartnerLookupError]})}}(o=E||(E={})).EMAIL_OTP="EMAIL_OTP",o.PHONE_OTP="PHONE_OTP",o.USERNAME_PASSWORD="USERNAME_PASSWORD",(l=b||(b={})).EMAIL_OTP="EMAIL_OTP",l.PHONE_OTP="PHONE_OTP",l.USERNAME_PASSWORD="USERNAME_PASSWORD",(c=S||(S={})).addPhonenumber="addPhonenumber",c.addProvider="addProvider",c.addUsernamePassword="addUsernamePassword",c.createPin="createPin",c.deletePin="deletePin",c.getPin="getPin",c.graduateProfile="graduateProfile",c.iamTravelingUpdate="iamTravelingUpdate",c.kidsExit="kidsExit",c.primaryLocationUpdate="primaryLocationUpdate",c.updatePhonenumber="updatePhonenumber",c.updatePin="updatePin",(d=T||(T={})).VALID="VALID",d.INVALID="INVALID";class eK{async fetchToken(e){var t,n;let{multiverseTransportPayload:a}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{sessionConfig:r}=this.client.httpClient,{realm:s,deviceId:i}=r,o={...a&&{"x-wbd-transport":a}},l=null===(t=(await this.client.httpClient.get("/token",{params:{realm:s,deviceId:i},headers:this.client.getHttpHeaders(o),signal:null==e?void 0:e.signal,bypassBootstrapRefreshLock:!0})).data)||void 0===t?void 0:t.data,c=null===(n=null==l?void 0:l.attributes)||void 0===n?void 0:n.token;if(!c)throw new eB;await this.client.setAuthToken(c)}async getRestrictedToken(e){var t,n;let{sessionConfig:a}=this.client.httpClient,{realm:r,deviceId:s}=a,i=null===(t=(await this.client.httpClient.get("/restrictedToken",{params:{realm:r,deviceId:s},headers:this.client.getHttpHeaders(),signal:null==e?void 0:e.signal})).data)||void 0===t?void 0:t.data,o=null===(n=null==i?void 0:i.attributes)||void 0===n?void 0:n.token;if(!o)throw new eB;return o}async login(e,t){var n;let a={headers:this.client.getHttpHeaders({...(null==t?void 0:t.siteKey)?{"x-disco-arkose-sitekey":t.siteKey}:{},...(null==t?void 0:t.token)?{"x-disco-arkose-token":t.token}:{}})},r=null===(n=(await this.client.httpClient.post("/login",e,a)).data)||void 0===n?void 0:n.data,s=null==r?void 0:r.attributes,i=null==s?void 0:s.token;if(!i)throw new eB;return await this.client.setAuthToken(i),s}async sendOtp(e){let t={headers:this.client.getHttpHeaders()};await this.client.httpClient.post("/authentication/sendOTP",e,t)}async linkDeviceInitiate(e){var t;let n=null===(t=(await this.client.httpClient.post("/authentication/linkDevice/initiate",e)).data)||void 0===t?void 0:t.data,a=null==n?void 0:n.attributes;if(!a)throw new eV;return a}async fetchIdpAuthCode(e){var t,n;let a=await this.client.httpClient.get("/idp/oauth/me/initiate",{params:{...e},headers:this.client.getHttpHeaders()}),r=null==a?void 0:a.data;if(!r)throw new eH;if("error"in r||"errors"in r){let e;let r=null==a?void 0:a.data;if(r&&((null==r?void 0:r.error)?e=r.error:(null===(t=null==r?void 0:r.errors)||void 0===t?void 0:t.length)&&(e=null===(n=r.errors[0])||void 0===n?void 0:n.code)),e)throw new eH(e);throw new eH}return r.code}async partnerLookup(e){if(this._partnerLookupCache=void 0,"mock:success"===e)return this._partnerLookupCache={isNewSubscription:!1,userToken:"mock:token"},this._partnerLookupCache;throw new ej("gauth-partner-lookup-error","details of the error response from the API request.")}async accountLookup(e,t){var n,a,r;let s={headers:this.client.getHttpHeaders({...(null==t?void 0:t.siteKey)?{"x-disco-arkose-sitekey":t.siteKey}:{},...(null==t?void 0:t.token)?{"x-disco-arkose-token":t.token}:{}})};try{let t=await this.client.httpClient.post("/idp/users/accountLookup",{username:e},s),r=null!==(a=null===(n=t.data)||void 0===n?void 0:n.tenants)&&void 0!==a?a:[],i=r.map(e=>{var n;return[e,null===(n=t.data)||void 0===n?void 0:n.auth_flows[e]]}).reduce((e,t)=>{let[n,a]=t;return{...e,[n]:Array.isArray(a)?a:[]}},{});return{accountFound:!0,tenants:r,authFlows:i}}catch(t){let{response:e}=t;if((null!==(r=e.data.errors)&&void 0!==r?r:[]).some(e=>"not.found"===String(e.code)))return{accountFound:!1};throw t}}async getUserInfo(){let e=await this.client.httpClient.get("/idp/users/userinfo",{headers:this.client.getHttpHeaders()});return null==e?void 0:e.data}getUserDetails(){return{firstName:"mock first name",lastName:"mock last name",email:"mock_email@wbd.com"}}async fetchElevatedAccessStatus(e){let t=await this.client.httpClient.post("/idp/authup/status",{alias:e},{headers:this.client.getHttpHeaders()}),{status:n}=t.data;switch(n){case T.VALID:{let{expiration:a}=t.data;if(!a)throw new eW("expiration",a,"required value is missing");return{alias:e,status:n,sessionIsElevated:!0,expiration:a}}case T.INVALID:{let{allowedMethods:a}=t.data;if(!a)throw new eW("allowedMethods",a,"required value is missing");return{alias:e,status:n,sessionIsElevated:!1,allowedMethods:a}}default:throw new eW("alias",e,"unexpected value, should be VALID or INVALID")}}async requestElevatedAccess(e){await this.client.httpClient.post("/idp/authup/verify",{credentials:e},{headers:this.client.getHttpHeaders()})}async loginAndCheckSubscription(e,t){var n,a,r;let s;let i=await this.client.Authentication.login({credentials:{provider:"EMAIL_OTP",destination:t,oneTimePassword:e}}),o=await this.client.Monetization.getActiveSubscriptions();if(o.length>0){let e=o.find(e=>{let{attributes:t}=e;return(null==t?void 0:t.type)===y.PARTNER||(null==t?void 0:t.type)===y.IAP});s=null!==(a=null===(n=null==e?void 0:e.attributes)||void 0===n?void 0:n.type)&&void 0!==a?a:null===(r=o[0].attributes)||void 0===r?void 0:r.type}return{userToken:i.token,activeSubscription:s,partnerName:"mock partner name"}}constructor(e){this.client=e,this._partnerLookupCache=void 0}}let ez=e=>new URLSearchParams(Object.fromEntries(Object.entries(e).filter(e=>{let[t,n]=e;return null!==n&&""!==n&&void 0!==n}).map(e=>{let[t,n]=e;return[t,String(n)]})));class eq extends K{constructor(){let e=f.ConsentExperienceError;super(e,{message:z[e]})}}let e$=e=>t=>{let{data:n}=e[t.key];return{...t,attributes:n}},eY=e=>(t,n)=>{let{key:a,text:r,entityRanges:s}=n;return""===r?t:[...t,{key:a,text:r,entities:s.map(e$(e))}]},eX=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.reduce(eY(t),[])},eQ=e=>{if(!e)return;let{attributes:{richTextContent:t,a11yTextContent:n,richTextHtml:a,plainText:r}}=e;return{richTextContent:eX(null==t?void 0:t.blocks,null==t?void 0:t.entityMap),...n&&{a11yTextContent:n},...a&&{richTextHtml:a},...r&&{plainText:r}}},eZ=e=>(!Array.isArray(e)||0!==e.length)&&!!e,eJ=(e,t)=>{let n=Array.isArray(e)?e:[e],a=n[0].type,r=n.map(e=>e.id);return t.filter(e=>r.includes(e.id)&&e.type===a)},e0=(e,t)=>t.find(t=>t.id===(null==e?void 0:e.id)&&t.type===(null==e?void 0:e.type)),e7=(e,t)=>{var n,a,r;let s=eQ(e0(null===(n=e.header)||void 0===n?void 0:n.data,t)),i=eQ(e0(null===(a=e.section1)||void 0===a?void 0:a.data,t)),o=eQ(e0(null===(r=e.section2)||void 0===r?void 0:r.data,t));return{...s&&{header:s},...i&&{section1:i},...o&&{section2:o}}},e1=(e,t)=>{let{consentBehaviours:{data:n}={}}=e;if(eZ(n))return eJ(n,t).map(e=>{let{relationships:n,...a}=e,r=e7(n,t);return{...a,...r,relationships:{term:n.term}}})},e5=(e,t)=>{let{vendorBehaviours:{data:n}={}}=e;if(eZ(n))return eJ(n,t)},e2=(e,t)=>{let{actions:{data:n}={}}=e;if(eZ(n))return eJ(n,t).map(e=>{let{relationships:n,...a}=e,r=eQ(e0(n.label.data,t));return{...a,...r&&{label:r}}})},e3=(e,t)=>{let n=e7(e,t),a=e1(e,t),r=e5(e,t),s=e2(e,t);return{...n,...a&&{consentBehaviours:a},...r&&{vendorBehaviours:r},...s&&{actions:s}}},e4=e=>{let{data:{relationships:t,...n},included:a}=e,r=e3(t,a);return{...n,...r}};class e9{async fetchConsentExperience(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"createAccount",t=arguments.length>1?arguments[1]:void 0;try{let n=ez({alias:e,isMock:(null==t?void 0:t.isMock)||void 0}),a=await this.client.httpClient.get("legal/v2/consentExperience",{params:n}),r=null==a?void 0:a.data;return e4(r)}catch(e){throw new eq}}constructor(e){this.client=e}}var e6=n(93667);let e8=async()=>{var e;let{default:t}=await n.e(66205).then(n.t.bind(n,66205,23));return null!==(e=new t().getDevice().type)&&void 0!==e?e:"desktop"},te={br:{dev:"58bee0d1-a49b-440e-8e1f-0793aea1360b",int:"4dd09ea9-4396-48f8-8568-f65e55125e7d",stg:"92c2602c-f79b-4489-b02a-18466c4de7e9",prd:"c8650c80-1487-4f2c-bb04-d6d526ac737b"},beam:{dev:"6606d33b-54ca-45b4-b9b6-39f1d8724cd4",int:"70446554-c357-491f-8e07-2bb0dd2e163a",stg:"44b3145d-3fa5-42dd-9b51-f0f143cb4a3d",prd:"67e7aa0f-b186-4b85-9cb0-86d40a23636c"},max:{dev:"6606d33b-54ca-45b4-b9b6-39f1d8724cd4",int:"70446554-c357-491f-8e07-2bb0dd2e163a",stg:"44b3145d-3fa5-42dd-9b51-f0f143cb4a3d",prd:"67e7aa0f-b186-4b85-9cb0-86d40a23636c"},hbomax:{dev:"6606d33b-54ca-45b4-b9b6-39f1d8724cd4",int:"70446554-c357-491f-8e07-2bb0dd2e163a",stg:"44b3145d-3fa5-42dd-9b51-f0f143cb4a3d",prd:"67e7aa0f-b186-4b85-9cb0-86d40a23636c"},dplus:{dev:"5c6821d1-7b16-4a39-9a21-b4f6bd5597da",int:"4a556b45-4759-4779-a2a3-ca20ce48f794",stg:"f6d33f3e-ec62-4ced-b9db-78bef881f50f",prd:"7e52f0d0-d8b5-4eda-983b-597e4e2102a2"},cnn2:{dev:"27e987a9-6cc3-4722-a89a-b5387d284baf",int:"a7a5288b-4ff1-454f-8543-7c605d1e9429",stg:"a849e827-fc6a-4400-bf24-b1ac4002bfc7",prd:"b97edee7-025c-45d8-a5c3-0af242ab683c"}};class tt extends K{constructor(){let e=f.EmptyInternalConfiguration;super(e,{message:z[e]})}}class tn{async fetchDecisions(){let{environment:e,applicationId:t}=this.client.httpClient.sessionConfig,n=await this.client.httpClient.post("/labs/api/v1/sessions/feature-flags/decisions",{context:{deviceType:await e8(),domain:(0,e6.g)()||""},projectId:te[t][e]},{headers:this.client.getHttpHeaders()});if(this.client.updateNetworkTimeOffset(n.headers),0===Object.keys(null==n?void 0:n.data).length)throw new tt;return null==n?void 0:n.data}constructor(e){this.client=e}}class ta{async getActiveSubscriptions(){let e=await this.getSubscriptions(),t=["ACTIVE","PRE_ACTIVE","CANCELED"];return e.map(e=>{var t;return{subscription:e,status:null===(t=null==e?void 0:e.attributes)||void 0===t?void 0:t.status}}).filter(e=>{let{subscription:t}=e;return!!t}).filter(e=>{let{status:t}=e;return!!t}).filter(e=>{let{status:n}=e;return t.includes(n)}).map(e=>{let{subscription:t}=e;return t})}async getSubscriptions(){var e;let t=ez({include:"paymentMethod,pricePlan,nextPaymentPricePlan,partnerDetails"});return null!==(e=(await this.client.httpClient.get("/monetization/subscriptions",{params:t,headers:this.client.getHttpHeaders()})).data.data)&&void 0!==e?e:[]}constructor(e){this.client=e}}class tr{async fetchSessionOverrides(){return(await this.client.httpClient.get("/session-context/developer-overrides/session")).data}async setSessionOverrides(){let{country:e,flavor:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{country:"",flavor:""},n="overrid3";e.length>0&&t.length>0&&(n="overrid3 flv:".concat(t," co:").concat(e)),await this.client.httpClient.post("/session-context/developer-overrides/session",{overrides:n})}async getTransportPayload(){return(await this.client.httpClient.post("/session-context/developer-overrides/transport",void 0)).headers["x-wbd-transport"]}constructor(e){this.client=e}}class ts extends K{constructor(){let e=f.InvalidTeleponePolicyData;super(e,{message:z[e]})}}let ti=e=>({name:e.attributes.name,regionCode:e.attributes.regionCode,callingCode:e.attributes.callingCode,isDefault:!!e.attributes.defaultPolicy,validator:e.attributes.validator?new RegExp(e.attributes.validator):void 0});class to{async getKnownTelephoneCallingCodes(){var e;let t=await this.client.httpClient.get("/policy/phone/v1"),n=null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.data;if(!Array.isArray(n))throw new ts;return n.map(ti)}constructor(e){this.client=e}}class tl extends K{constructor(e,t){let n=f.RegisterAndActivateFailed;super(n,{message:t||z[n],errorContext:{message:String(t),code:String(e)}})}}class tc extends K{constructor(e,t){let n=f.RegisterAndActivateAccountCollision;super(n,{message:t||z[n],errorContext:{message:String(t),code:String(e)}})}}class td extends K{static promote(e){if(e instanceof td)return e;let{message:t,code:n}=j(e);return new td(n,t)}constructor(e,t){let n=f.IdpActivateProvider;super(n,{message:t||z[n],errorContext:{message:String(t),code:String(e)}})}}class tu extends K{constructor(){let e=f.MissingGiSdkConfig;super(e,{message:z[e]})}}class tp extends K{constructor(){let e=f.MissingHttpClient;super(e,{message:z[e]})}}class tg extends K{constructor(){let e=f.MissingGiSdkClientIdentifier;super(e,{message:z[e]})}}class th extends K{static promote(e){if(e instanceof th)return e;let{message:t}=j(e);return new th(t)}constructor(e){let t=f.ArkoseDataExchangeFailed;super(t,{message:e||z[t],usesDefaultApiErrorMessage:!0})}}class tm{async registerAndLogin(e,t){var n;let a={headers:this.client.getHttpHeaders({...(null==t?void 0:t.siteKey)?{"x-disco-arkose-sitekey":t.siteKey}:{},...(null==t?void 0:t.token)?{"x-disco-arkose-token":t.token}:{}})},r=null===(n=(await this.client.httpClient.post("/users/registration/registerAndLogin",e,a)).data)||void 0===n?void 0:n.data,s=null==r?void 0:r.attributes,i=null==s?void 0:s.token;if(!i)throw new eB;return await this.client.setAuthToken(i),i}async registerAndActivate(e,t){let n;if((null==e?void 0:e.lastName)==="mock:success")n={userToken:"mock:userToken"};else if((null==e?void 0:e.lastName)==="mock:collision")throw new tc;else if((null==e?void 0:e.lastName)==="mock:error")throw new tl;return n}async activateProvider(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mock:success";return"mock:success"===e?Promise.resolve():"mock:error"===e?Promise.reject({code:"some-error-code-we-get-from-the-API-call",message:"details of the error we get from the API call."}):void 0}async registerWithProvider(e,t){var n;let a=this.client.getHttpHeaders({...(null==t?void 0:t.siteKey)?{"x-disco-arkose-sitekey":t.siteKey}:{},...(null==t?void 0:t.token)?{"x-disco-arkose-token":t.token}:{}}),r="USERNAME_PASSWORD"===e.credentials.provider?{headers:a}:{},s=null===(n=(await this.client.httpClient.post("/idp/register",e,r)).data)||void 0===n?void 0:n.data,i=null==s?void 0:s.attributes,o=null==i?void 0:i.token;if(!o)throw new eB;return await this.client.setAuthToken(o),o}constructor(e){this.client=e}}class tv{async postArkoseDataExchange(e,t){var n;let a=await this.client.httpClient.post("/users/arkose/data",{data:{type:"arkoseDataExchange",attributes:e}},{signal:null==t?void 0:t.signal,headers:this.client.getHttpHeaders()});this.client.updateNetworkTimeOffset(a.headers);let r=null===(n=a.data)||void 0===n?void 0:n.data;return null==r?void 0:r.attributes}constructor(e){this.client=e}}class tf{getHttpHeaders(e){return{"x-gisdk":"clientId=".concat(this.giSdkClientIdentifier),...e}}async setAuthToken(e){var t,n;let{sessionConfig:a}=this.httpClient;a.authorization.authTokenProvider&&(await (null===(t=a.authorization.authTokenProvider)||void 0===t?void 0:t.clearTokenAsync()),await (null===(n=a.authorization.authTokenProvider)||void 0===n?void 0:n.setTokenAsync(e)))}updateNetworkTimeOffset(){for(var e,t=arguments.length,n=Array(t),a=0;ae.readAsync(tS),tw=async(e,t)=>{try{await e.writeAsync(tS,t)}catch(e){}},tA=async e=>{var t;for(let n of e)try{let e=(null!==(t=await tT(n))&&void 0!==t?t:"").trim();if(""!==e)return e}catch(e){}},tC=async(e,t)=>{let n=t.map(t=>tw(t,e));await Promise.allSettled(n)},tI=async()=>{var e;let t=[new tE.e,new tb.B(1)],n=null!==(e=await tA(t))&&void 0!==e?e:L();return await tC(n,t),n},tP=e=>{if(!e)return e;try{return JSON.parse(JSON.stringify(e))}catch(t){return e}};(u=w||(w={})).AccountLookup="accountLookupForm",u.CreateAccount="createAccountForm",u.Login="loginForm",u.Payment="payment",u.ResetPassword="resetPasswordForm",u.PartnerCreateAccountForm="partnerCreateAccountForm";let t_=/^(?!.*(.)\1{4,}).{10,128}$/;class tk{static getInstance(e){if(!tk.instance){if(!e)return;tk.instance=new tk(e)}return tk.instance}static async getDeviceId(){return tI()}async fetchToken(e){let{multiverseTransportPayload:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};await this.sonicClient.Authentication.fetchToken(e,{multiverseTransportPayload:t})}async getRestrictedToken(e){return await this.sonicClient.Authentication.getRestrictedToken(e)}async linkDeviceInitiate(e){return await this.sonicClient.Authentication.linkDeviceInitiate(e)}async login(e,t,n){let a=t&&n;return await this.sonicClient.Authentication.login({credentials:e},a?{token:t,siteKey:n}:void 0)}async sendOtp(e){return this.sonicClient.Authentication.sendOtp(e)}async registerAndActivate(e,t){return await this.sonicClient.Registration.registerAndActivate(e,t)}async activateProvider(e){try{return await this.sonicClient.Registration.activateProvider(e)}catch(e){throw td.promote(e)}}async registerAndLogin(e,t){return await this.sonicClient.Registration.registerAndLogin(e,t)}async registerWithProvider(e,t){return await this.sonicClient.Registration.registerWithProvider(e,t)}async accountLookup(e,t){return this.sonicClient.Authentication.accountLookup(e,t)}async partnerLookup(e){return this.sonicClient.Authentication.partnerLookup(e)}async loginAndCheckSubscription(e,t){return this.sonicClient.Authentication.loginAndCheckSubscription(e,t)}async fetchIdpAuthCode(e){var t,n,a,r,s,i;return await this.sonicClient.Authentication.fetchIdpAuthCode({client_id:null===(a=null===(n=null===(t=this.getConfig())||void 0===t?void 0:t.oauthAddOn)||void 0===n?void 0:n.config)||void 0===a?void 0:a.clientId,redirect_uri:null===(i=null===(s=null===(r=this.getConfig())||void 0===r?void 0:r.oauthAddOn)||void 0===s?void 0:s.config)||void 0===i?void 0:i.redirectUri,response_mode:"query",response_type:"no-redirect code",state:"",...e&&{scope:e}})}async idpAuthCode(e){var t,n;return await this.sonicClient.Authentication.fetchIdpAuthCode({client_id:e.clientId,redirect_uri:e.redirectUri,response_type:e.responseType,response_mode:null!==(t=e.responseMode)&&void 0!==t?t:"",state:null!==(n=e.state)&&void 0!==n?n:"",...e.scope&&{scope:e.scope}})}async getUserInfo(){return await this.sonicClient.Authentication.getUserInfo()}getUserDetails(){return this.sonicClient.Authentication.getUserDetails()}async fetchConfig(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.configManager.fetchCachedValue(e)}getConfig(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.configManager.getCachedValue();if(e.strict&&!t)throw new tu;return tP(t)}async getArkoseKeyByFlowName(e){var t,n,a;return this.getConfig()||await this.fetchConfig(),null===(a=null===(n=null===(t=this.getConfig())||void 0===t?void 0:t.arkoseSiteKeys)||void 0===n?void 0:n.config)||void 0===a?void 0:a[e]}async getArkoseApiDomain(){var e,t,n;return this.getConfig()||await this.fetchConfig(),null===(n=null===(t=null===(e=this.getConfig())||void 0===e?void 0:e.arkoseApiDomain)||void 0===t?void 0:t.config)||void 0===n?void 0:n.apiDomain}isArkoseDisabled(){var e,t,n;return(null===(n=null===(t=null===(e=this.getConfig())||void 0===e?void 0:e.failOpen)||void 0===t?void 0:t.config)||void 0===n?void 0:n.disableArkose)||!1}async postArkoseDataExchange(e,t){try{return await this.sonicClient.Users.postArkoseDataExchange(e,t)}catch(e){throw th.promote(e)}}async getArkoseHeaders(e,t){var n;if(this.getConfig()||await this.fetchConfig(),this.isArkoseDisabled())return{};let{styleTheme:a}=t,r=ty[e],s=await this.postArkoseDataExchange({styleTheme:a,relativePath:r}),i=await this.getArkoseKeyByFlowName(e),o=await this.getArkoseApiDomain(),l=new ex(function(e){let t=document.getElementById(e);return t?new eS(t):new eb(function(e){let t=document.createElement("iframe");return t.id=e,t.sandbox=eT.join(" "),t}(e))}(ew(n={...t,exchangeData:s,siteKey:i,apiDomain:o})),n);return{siteKey:i,token:await l.getToken()}}static isValidPassword(e){return!!t_.test(e)}getClientIdentifier(){return this.applicationSettings.giSdkClientIdentifier}getHttpClient(){return this.applicationSettings.httpClient}verifyApplicationSettings(){if(!this.applicationSettings.httpClient)throw new tp;if(!this.applicationSettings.giSdkClientIdentifier)throw new tg}setNetworkTimeOffset(e){let t;if("number"==typeof e)t=e;else{let n=Date.parse(e.date);Number.isNaN(n)||(t=-1*(Date.now()-n))}void 0!==t&&(this.networkTimeOffset=t)}getNetworkTime(){return Date.now()+(this.networkTimeOffset||0)}async getSessionOverrides(){return await this.sonicClient.Multiverse.fetchSessionOverrides()}async generateSessionOverrides(e){await this.sonicClient.Multiverse.setSessionOverrides(e)}async fetchConsentExperience(e,t){return this.sonicClient.Consent.fetchConsentExperience(e,t)}getTransportPayload(){return this.isMultiverseActive()?this.transportPayloadManager.getCachedValue():void 0}async fetchTransportPayload(){let{forceRefresh:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.isMultiverseActive()?this.transportPayloadManager.fetchCachedValue({forceRefresh:e}).then(()=>this.getTransportPayload()):void 0}isMultiverseActive(){var e,t,n,a;let{isMultiverseActive:r}=null!==(a=null===(n=null===(t=null===(e=this.applicationSettings.httpClient.bootstrapConfig)||void 0===e?void 0:e.get())||void 0===t?void 0:t.session)||void 0===n?void 0:n.multiverse)&&void 0!==a?a:{};return!!r}getMultiverseCountry(){var e,t,n,a;let{geolocation:r}=null!==(a=null===(n=null===(t=null===(e=this.applicationSettings.httpClient.bootstrapConfig)||void 0===e?void 0:e.get())||void 0===t?void 0:t.session)||void 0===n?void 0:n.multiverse)&&void 0!==a?a:{};return r}getKnownTelephoneCallingCodes(){return this.sonicClient.Policy.getKnownTelephoneCallingCodes()}fetchElevatedAccessStatus(e){return this.sonicClient.Authentication.fetchElevatedAccessStatus(e)}async requestElevatedAccess(e){await this.sonicClient.Authentication.requestElevatedAccess(e)}constructor(e){this.networkTimeOffset=0,this.applicationSettings=e,this.sonicClient=new tf(this.applicationSettings.httpClient,this.applicationSettings.giSdkClientIdentifier,this.setNetworkTimeOffset.bind(this)),this.verifyApplicationSettings(),this.configManager=new eO({makeRequest:()=>this.sonicClient.Labs.fetchDecisions()}),this.transportPayloadManager=new eO({makeRequest:()=>this.sonicClient.Multiverse.getTransportPayload()})}}(0,em.gn)([eG()],tk.prototype,"fetchToken",null),(0,em.gn)([eG()],tk.prototype,"getRestrictedToken",null),(0,em.gn)([eG()],tk.prototype,"linkDeviceInitiate",null),(0,em.gn)([eG()],tk.prototype,"login",null),(0,em.gn)([eG()],tk.prototype,"sendOtp",null),(0,em.gn)([eG()],tk.prototype,"partnerLookup",null),(0,em.gn)([eG()],tk.prototype,"loginAndCheckSubscription",null),(0,em.gn)([eG()],tk.prototype,"fetchConfig",null),(0,em.gn)([eF()],tk.prototype,"getConfig",null),(0,em.gn)([eF()],tk.prototype,"getArkoseKeyByFlowName",null),(0,em.gn)([eF()],tk.prototype,"getArkoseApiDomain",null),(0,em.gn)([eF()],tk.prototype,"isArkoseDisabled",null),(0,em.gn)([eG()],tk.prototype,"postArkoseDataExchange",null),(0,em.gn)([eG()],tk.prototype,"getArkoseHeaders",null),(0,em.gn)([eG()],tk.prototype,"getSessionOverrides",null),(0,em.gn)([eG()],tk.prototype,"generateSessionOverrides",null),(0,em.gn)([eG()],tk.prototype,"fetchConsentExperience",null),(0,em.gn)([eF()],tk.prototype,"getTransportPayload",null),(0,em.gn)([eG()],tk.prototype,"fetchTransportPayload",null),(0,em.gn)([eF()],tk.prototype,"isMultiverseActive",null),(0,em.gn)([eF()],tk.prototype,"getMultiverseCountry",null),(0,em.gn)([eG()],tk.prototype,"getKnownTelephoneCallingCodes",null),(0,em.gn)([eG()],tk.prototype,"fetchElevatedAccessStatus",null),(0,em.gn)([eG()],tk.prototype,"requestElevatedAccess",null);class tN{constructor(e){this.created=new Date,this.detail=e}}class tR extends tN{}class tL extends tN{}class tx extends tN{}class tO extends tN{}class tD extends tN{}let tU={SdkError:tx,SdkState:tR,AnalyticsEvent:tL,InstrumentationEvent:tO,InstrumentationBehavior:tD};class tM{addSubscription(e){this.subscriptions.set(e.id,e)}removeSubscription(e){this.subscriptions.delete(e.id)}getSubscriptionById(e){return this.subscriptions.get(e)}getSubscriptions(){return[...this.subscriptions.values()]}constructor(){this.subscriptions=new Map}}let tF=()=>(0,R.Z)();class tG{cancel(){this.publisher.cancelSubscription(this)}constructor(e,t,n){this.publisher=e,this.channel=t,this.handler=n,this.id=tF()}}(p=A||(A={})).ArkoseScriptError="arkose-script-error",p.ArkoseUserChallengeCancelled="arkose-user-challenge-cancelled",p.ArkoseUserChallengeError="arkose-user-challenge-error",p.ArkoseUserChallengeFailed="arkose-user-challenge-failed",p.ArkoseUserChallengeWarning="arkose-user-challenge-warning",p.ConfigDataMissingError="config-data-missing-error",p.GAuthRedirectError="gauth-redirect-error",p.InvalidLanguageCode="invalid-language-code",p.InvalidSdkSettings="invalid-sdk-settings",p.LocalizationFailFormattingTranslationKey="localization-fail-formatting-translation-key",p.LocalizationFailLoadingFormats="localization-fail-loading-formats",p.LocalizationFailLoadingTranslationKey="localization-fail-loading-translation-key",p.LocalizationFailLoadingTranslations="localization-fail-loading-translations",p.NoGAuthTokenInResponse="no-gauth-token-in-response",p.NoLocaleProvided="no-locale-provided",p.NoTargetUrlResponse="no-target-url-in-response",p.NoTokenInResponse="no-token-in-response",p.PollingAuthorizedTimeout="polling-authorized-timeout",p.PublisherInvalidChannel="publisher-invalid-channel",p.RequestThrottlingError="request-throttling-error",p.SdkNotInitialized="sdk-not-initialized",p.SwitchProductError="switch-product-error",p.UnknownExternalLink="unknown-external-link",p.UserNotLoggedIn="user-not-logged-in";let tW={[A.ArkoseScriptError]:"Arkose script could not be loaded",[A.ArkoseUserChallengeCancelled]:"User closed the Arkose challenge",[A.ArkoseUserChallengeError]:"An internal Arkose error occurred.",[A.ArkoseUserChallengeFailed]:"User failed to complete the Arkose challenge",[A.ArkoseUserChallengeWarning]:"An internal Arkose warning occurred.",[A.ConfigDataMissingError]:"ConfigError: Attempted to fetch a non-existent feature flag: {flagName}",[A.GAuthRedirectError]:"GAuth error during partner redirect",[A.InvalidLanguageCode]:"Invalid language code selected",[A.InvalidSdkSettings]:"InitializationError: Could not initialize the SDK, missing required settings: {missingRequiredKeys}",[A.LocalizationFailFormattingTranslationKey]:"Failed to format a translation.",[A.LocalizationFailLoadingFormats]:"LocalizationError: Failed to load formats.",[A.LocalizationFailLoadingTranslationKey]:"LocalizationError: Failed to load translation key: {missingTranslationKey}.",[A.LocalizationFailLoadingTranslations]:"LocalizationError: Failed to load translations.",[A.NoGAuthTokenInResponse]:"No GAuth token in response",[A.NoLocaleProvided]:"LocalizationError: Please provide locale",[A.NoTargetUrlResponse]:"No target url in response",[A.NoTokenInResponse]:"No token in response",[A.PollingAuthorizedTimeout]:"Polling timeout limit reached",[A.PublisherInvalidChannel]:"InternalError|Publisher: Cannot subscribe to invalid channel {channelId}",[A.RequestThrottlingError]:"Request throttling error: {reason} - {request} - injecting {delay}ms delay",[A.SdkNotInitialized]:"InitializationError: The SDK has not been initialized",[A.SwitchProductError]:"Failed to switch product SKUs.",[A.UnknownExternalLink]:"ConfigError: Found an unknown external link in a translation key: {externalLinkName} for link text: {linkText}",[A.UserNotLoggedIn]:"User is not logged in"};class tB extends K{constructor(e){let t=A.PublisherInvalidChannel;super(t,{message:tW[t],errorContext:{channelId:e}}),this.channelId=e}}class tV{getChannelRegistry(e){let{createMissing:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.registryByChannel.get(e);return!n&&t&&(n=new this.RegistryFactory,this.registryByChannel.set(e,n)),n}deleteChannelDebouncer(e){this.debouncerByChannel.delete(e)}getDebouncer(e){let t=this.debouncerByChannel.get(e);return t||(t=tV.debounceChannel(this,e),this.debouncerByChannel.set(e,t)),t}findSubscription(e){let t="string"==typeof e?e:e.id,[n,...a]=[...this.registryByChannel.values()].map(e=>e.getSubscriptionById(t)).filter(Boolean);return(null==a?void 0:a.length)>0&&console.error("Subscription registered in multiple channels",t),n}subscribe(e,t){if(!tV.isValidChannel(e))throw new tB(e);let n=new tG(this,e,t);return this.getChannelRegistry(e,{createMissing:!0}).addSubscription(n),n}cancelSubscription(e){let t=this.findSubscription(e);if(!t)return;let n=this.getChannelRegistry(t.channel);null==n||n.removeSubscription(t)}sendMessage(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=new tU[e](t),{debounce:r=0,...s}=n;return this.getDebouncer(e)(r,a,s)}async immediatelyEmitMessages(e,t){var n,a;let{waitForDelivery:r=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=(null!==(a=null===(n=this.getChannelRegistry(e))||void 0===n?void 0:n.getSubscriptions())&&void 0!==a?a:[]).map(e=>new Promise(n=>{e.handler(...t),n(void 0)}));return r?Promise.all(s).then(()=>void 0):Promise.resolve()}static isValidChannel(e){return!!tU[e]}static debounceChannel(e,t){let n,a;let r=[],s=new Promise(e=>{a=e}),i={};return function(o,l){let{waitForDelivery:c=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return clearTimeout(n),r=[...r,l],i.waitForDelivery||(i.waitForDelivery=c),n=setTimeout(()=>{e.deleteChannelDebouncer(t),a(e.immediatelyEmitMessages(t,r,i))},o),s}}constructor(){this.RegistryFactory=tM,this.registryByChannel=new Map,this.debouncerByChannel=new Map}}let tH=["httpClient","sdkClientIdentifier"],tj={MAX:"max",HBOMAX:"hbomax",BLEACHER_REPORT:"bleacher-report",DPLUS:"dplus",CNN:"cnn"};Object.values(tj);let tK=tj.MAX;class tz extends K{constructor(e){let t=A.InvalidSdkSettings;super(t,{message:tW[t],errorContext:{missingRequiredKeys:e.join(", ")}})}}class tq extends K{constructor(){let e=A.NoLocaleProvided;super(e,{message:tW[e]})}}class t$ extends K{constructor(){let e=A.UserNotLoggedIn;super(e,{message:tW[e]})}}class tY extends K{constructor(){let e=A.NoTokenInResponse;super(e,{message:tW[e]})}}class tX{get(){return this.appExperienceService.get()}set(e){this.appExperienceService.set(e)}constructor(e){this.appExperienceService=e}}class tQ{get(){return this.appExperience}set(e){this.appExperience=e}constructor(){}}function tZ(e){let t,n;let a=new Promise(a=>{n=a,t=setTimeout(()=>{a()},e)});return a.cancel=()=>{t&&clearTimeout(t),n()},a}n(9315);class tJ extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"REQUEST_THROTTLING",eventSchemaCategory:"platformRuntime",scope:"BACKGROUND",message:this.message})}constructor(e,t,n){let a=A.RequestThrottlingError;super(a,{message:tW[a],errorContext:{reason:e,request:t,delay:n.toString()}})}}let t0=(e,t)=>{let n=Date.now();return void 0===e||n-(e+t)>0},t7={creationDate:Symbol("creationDate"),consecutiveFetchErrors:Symbol("consecutiveFetchErrors"),expiresAfterMs:Symbol("expiresAfterMs"),lazyDataProvider:Symbol("lazyDataProvider"),stateItemValue:Symbol("stateItemValue"),pendingRequest:Symbol("pendingRequest")},t1=e=>{let{instance:t,key:n}=e;Reflect.defineMetadata(t7.creationDate,new Date().getTime(),t,n)},t5=e=>{var t;let{instance:n,key:a}=e;return null!==(t=Reflect.getMetadata(t7.creationDate,n,a))&&void 0!==t?t:0},t2=e=>{let{prototype:t,key:n,value:a}=e;Reflect.defineMetadata(t7.expiresAfterMs,a,t,n)},t3=e=>{let{instance:t,key:n}=e;return Reflect.getMetadata(t7.stateItemValue,t,n)},t4=e=>{let{instance:t,key:n,value:a}=e;Reflect.defineMetadata(t7.stateItemValue,a,t,n)},t9=e=>{let{instance:t,key:n}=e,a=t5({instance:t,key:n}),r=Reflect.getMetadata(t7.expiresAfterMs,t,n);return void 0!==r&&t0(a,r)},t6=e=>{var t;let{instance:n,key:a}=e;return null!==(t=Reflect.getMetadata(t7.consecutiveFetchErrors,n,a))&&void 0!==t?t:0},t8=e=>{let{instance:t,key:n}=e,a=t6({instance:t,key:n});Reflect.defineMetadata(t7.consecutiveFetchErrors,a+1,t,n)},ne=e=>{let{instance:t,key:n}=e;Reflect.defineMetadata(t7.consecutiveFetchErrors,0,t,n)},nt=e=>{let{instance:t,key:n}=e;return Reflect.getMetadata(t7.pendingRequest,t,n)},nn=e=>{let{instance:t,key:n,promise:a}=e;Reflect.defineMetadata(t7.pendingRequest,a,t,n)},na=e=>{let{instance:t,key:n}=e;nn({instance:t,key:n,promise:void 0})},nr=e=>{let{prototype:t,instance:n,key:a}=e;return Reflect.getMetadata(t7.lazyDataProvider,null!=n?n:t,a)},ns=e=>{let{prototype:t,key:n,provider:a}=e;Reflect.defineMetadata(t7.lazyDataProvider,a,t,n)},ni=e=>{let{instance:t,key:n}=e,a=t6({instance:t,key:n});if(a<=2)return 0;let r=a-2;return r<=0?0:Math.floor(1e3*Math.min(1.4**r,30))},no=(e,t)=>function(e){t1({instance:this,key:t}),t3({instance:this,key:t})!==e&&(t4({instance:this,key:t,value:e}),this.notifier.sendSdkStateEvent())},nl=(e,t)=>function(){var n,a;let r=null!==(a=null===(n=Object.getOwnPropertyDescriptor(e,t))||void 0===n?void 0:n.set)&&void 0!==a?a:e=>{this[t]=e},s=nr({instance:this,key:t});if(!s)return t9({instance:this,key:t})&&r.call(this,void 0),Promise.resolve(t3({instance:this,key:t}));let i=nt({instance:this,key:t});if(i)return i;let o=t3({instance:this,key:t});if(o&&!t9({instance:this,key:t}))return Promise.resolve(o);let l=ni({instance:this,key:t});l>5e3&&this.notifier.sendInstrumentationEvent(new tJ("consecutive-errors",t.toString(),l).toErrorPayload());let c=(l?tZ(l):Promise.resolve()).then(()=>s.call(this)).then(e=>(r.call(this,e),ne({instance:this,key:t}),e)).catch(e=>{throw t8({instance:this,key:t}),e}).finally(()=>{na({instance:this,key:t})});return nn({instance:this,key:t,promise:c}),c},nc=function(){let{expiresAfterMs:e,lazyDataProvider:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(n,a){ns({prototype:n,key:a,provider:t}),t2({prototype:n,key:a,value:e});let r=nl(n,a),s=no(n,a);Object.defineProperty(n,a,{get:r,set:s})}},nd=function(){let{expiresAfterMs:e=Number.MAX_VALUE,serializedKey:t,singleUse:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(a,r){let s;Object.defineProperty(a,r,{get:function(){var a;if(t){let r;let s=null!==(a=this.storage.read(...t))&&void 0!==a?a:"{}";try{r=JSON.parse(s)}catch(e){return}if(t0(r.creationDate,e)){this.storage.remove(...t);return}let{value:i}=r;return n&&this.storage.remove(...t),i}if(n)throw Error("The singleUse flag should only be set when serializedKey is also set");return s},set:function(e){s=e,t?void 0===e?this.storage.remove(...t):this.storage.write(JSON.stringify({value:e,creationDate:Date.now()}),...t):Reflect.defineMetadata("creationDate",new Date().getTime(),a,r),this.notifier.sendSdkStateEvent()}})}};class nu{getFieldProperties(e){let t=t3({instance:this,key:e}),n=nt({instance:this,key:e}),a=t9({instance:this,key:e}),r=ni({instance:this,key:e})>0;return{currentValue:t,pendingRequest:n,created:t5({instance:this,key:e}),isExpired:a,isThrottled:r}}constructor(e,t,n,a,r,s){this.policy=e,this.notifier=t,this.storage=n,this.entitlementsApi=a,this.registrationApi=r,this.usersApi=s}}(0,k.gn)([nc({expiresAfterMs:5e3,lazyDataProvider:async function(){return this.entitlementsApi.fetchEntitlementsSummaryMe()}})],nu.prototype,"entitlements",void 0),(0,k.gn)([nc({lazyDataProvider:async function(){return this.usersApi.fetchUserInfo()}})],nu.prototype,"userInfo",void 0),(0,k.gn)([nc({lazyDataProvider:async function(){return this.usersApi.fetchUsersMe()}})],nu.prototype,"usersMe",void 0),(0,k.gn)([nc({lazyDataProvider:async function(){return this.registrationApi.hasPasswordSet()}})],nu.prototype,"hasPasswordSet",void 0),(0,k.gn)([nd({serializedKey:["partner","id","current"],expiresAfterMs:6e5})],nu.prototype,"currentPartnerId",void 0),(0,k.gn)([nd({serializedKey:["partner","name","error"],singleUse:!0})],nu.prototype,"partnerNameForError",void 0),(0,k.gn)([nd()],nu.prototype,"partnerGAuthTokenData",void 0),(0,k.gn)([nd({serializedKey:["partner","in","register","flow"]})],nu.prototype,"partnerInRegisterFlow",void 0),(0,k.gn)([nd({serializedKey:["partner","using","direct","link"]})],nu.prototype,"partnerUsingDirectLink",void 0),(0,k.gn)([nd({serializedKey:["device-linking","code"],expiresAfterMs:6e5})],nu.prototype,"linkDeviceCode",void 0),(0,k.gn)([nd({serializedKey:["profile","transfer","token","code"],singleUse:!0})],nu.prototype,"profileTransferToken",void 0),(0,k.gn)([nd({serializedKey:["partner","aggregator","form","values"],singleUse:!0,expiresAfterMs:3e5})],nu.prototype,"partnerAggregatorFormValues",void 0),(0,k.gn)([nd({serializedKey:["partner","aggregator","picker","values"]})],nu.prototype,"partnerAggregatorPickerValues",void 0),(0,k.gn)([nd({serializedKey:["partner","aggregator","direct","link","values"]})],nu.prototype,"partnerAggregatorDirectLinkValues",void 0),(0,k.gn)([nd({serializedKey:["arkose","flow","isdk","error"],singleUse:!0})],nu.prototype,"arkoseFlowForInstrumentation",void 0),(0,k.gn)([nd({serializedKey:["application","state"]})],nu.prototype,"applicationState",void 0),(0,k.gn)([nc({lazyDataProvider:async function(){return this.policy.getKnownTelephoneCallingCodes()}})],nu.prototype,"knownTelephoneCallingCodes",void 0),(0,k.gn)([nd({serializedKey:["account","lookup","provided","value"],expiresAfterMs:6e5})],nu.prototype,"accountLookupProvidedValue",void 0),(0,k.gn)([nd({serializedKey:["account","lookup","login","method"],singleUse:!0})],nu.prototype,"accountLookupLoginMethod",void 0);let np=e=>"function"==typeof(null==e?void 0:e.then),ng=(e,t)=>{t.forEach(t=>{e[t]=void 0})},nh=(e,t,n)=>function(){let a;for(var r=arguments.length,s=Array(r),i=0;i(ng(o,t),e),e=>{throw l&&ng(o,t),e}):ng(o,t),a},nm=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{clearOnError:!1};return function(n,a,r){return{...r,value:nh(r.value,e,t)}}},nv=["usersMe","userInfo","hasPasswordSet"],nf=["hasPasswordSet"],ny=["usersMe","userInfo","hasPasswordSet"];class nE{stateProvider(){return this.state}getAffiliateId(){return this.partnerState.getCurrentPartnerId()||this.brandId}async loginCommon(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{loginMethod:"EMAIL"},{token:n,siteKey:a,loginMethod:r}=t;await this.coreSdk.login(e,n,a),await this.behaviorService.loginComplete({authMethod:r,authProvider:this.getAffiliateId()})}constructor(e,t,n,a,r,s){this.behaviorService=e,this.brandId=t,this.coreSdk=n,this.notifier=a,this.partnerState=r,this.state=s}}(0,k.gn)([nm(ny)],nE.prototype,"loginCommon",null);var nb=n(29387);class nS{labelBehaviorPayload(e){return{eventSchemaCategory:this.schema,omd:{component:"beam-gi-web"},...e}}constructor(e){this.schema=e}}class nT extends nS{toInstrumentationPayload(){let e={action:this.action,...this.details};return this.labelBehaviorPayload({account:e})}constructor(e,t={}){super(nb.NU.Account),this.action=e,this.details=t}}class nw extends nT{constructor(e={}){super(nb.y$.AUTH_PROVIDER_ADD,e)}}class nA extends nT{constructor(e={}){super(nb.y$.EMAIL_UPDATE,e)}}class nC extends nT{constructor(e={}){super(nb.y$.PASSWORD_UPDATE,e)}}class nI extends nT{constructor(e={}){super(nb.y$.PHONE_UPDATE,e)}}class nP extends nT{constructor(e={}){super(nb.y$.USERNAME_UPDATE,e)}}class n_ extends nS{toInstrumentationPayload(){return this.labelBehaviorPayload({arkose:{action:this.action,flowName:this.flowName}})}constructor(e,t){super(nb.NU.Arkose),this.action=e,this.flowName=t}}class nk extends n_{constructor(){super(nb.ib.CHALLENGE_COMPLETE)}}class nN extends n_{constructor(){super(nb.ib.CHALLENGE_FAILED)}}class nR extends n_{constructor(){super(nb.ib.CHALLENGE_HIDE)}}class nL extends n_{constructor(){super(nb.ib.CHALLENGE_READY)}}class nx extends n_{constructor(){super(nb.ib.CHALLENGE_SHOW)}}class nO extends n_{constructor(){super(nb.ib.CHALLENGE_SHOWN)}}class nD extends n_{constructor(){super(nb.ib.CHALLENGE_SUPPRESSED)}}class nU extends nS{toInstrumentationPayload(){return this.labelBehaviorPayload(this.details)}constructor(e){super(nb.NU.Click),this.details=e}}class nM extends nS{toInstrumentationPayload(){let e=this.details.consentDetails.map(e=>{let{categoryId:t,consented:n}=e;return{categoryId:t,hasConsented:n}});return this.labelBehaviorPayload({consents:e})}constructor(e){super(nb.NU.Consents),this.details=e}}(g=C||(C={})).ADD_EMAIL_AND_PASSWORD="addEmailAndPassword",g.ACCOUNT_LOOKUP="accountLookup",g.ADD_PHONE_NUMBER="addPhoneNumber",g.CHANGE_PASSWORD="changePassword",g.CHANGE_PHONE_NUMBER="changePhoneNumber",g.CREATE_PASSWORD="createPassword",g.DEVICE_ACTIVATION="deviceActivation",g.DEVICE_CONNECT="deviceConnect",g.MANAGE_DEVICES="manageDevices",g.MULTIVERSE="multiverse",g.OAUTH_CONFIRM="oauthConfirm",g.OAUTH_ERROR="oauthError",g.ONE_TIME_PASSCODE_ADD_PHONE="oneTimePasscodeAddPhone",g.ONE_TIME_PASSCODE_AUTH_UP="oneTimePasscodeAuthUp",g.ONE_TIME_PASSCODE_LOGIN="oneTimePasscodeLogin",g.ONE_TIME_PASSCODE_PARTNER="oneTimePasscodePartner",g.ONE_TIME_PASSCODE_UPDATE_PHONE="oneTimePasscodeUpdatePhone",g.PARTNER_PICKER="partnerPicker",g.PARTNER_REGISTER_ACCOUNT_FOUND_ERROR="partnerRegisterAccountFoundError",g.PARTNER_REGISTER_ERROR="partnerRegisterError",g.PARTNER_SYNC_ERROR="partnerSyncError",g.PASSWORD_AUTH_UP="passwordAuthUp",g.REGISTRATION="registration",g.RESET_PASSWORD="resetPassword",g.SET_NEW_PASSWORD="setNewPassword",g.SIGN_IN="signIn",g.SIGN_IN_LOOKUP="signInLookup",g.UPDATE_EMAIL="updateEmail",g.UPDATE_NAME="updateName";class nF extends nS{decorateWithUri(e){var t;let{type:n}=e,a={[C.ADD_EMAIL_AND_PASSWORD]:"/users/registration/addProvider",[C.ACCOUNT_LOOKUP]:"/idp/users/accountLookup",[C.ADD_PHONE_NUMBER]:"/idp/users/checkConflict",[C.CHANGE_PASSWORD]:"/users/registration/changePassword",[C.CHANGE_PHONE_NUMBER]:"/idp/users/checkConflict",[C.CREATE_PASSWORD]:"/users/registration/changePassword",[C.DEVICE_ACTIVATION]:"/authentication/linkDevice/validate",[C.MULTIVERSE]:"/session-context/developer-overrides/session",[C.OAUTH_CONFIRM]:"/idp/oauth/me/initiate",[C.ONE_TIME_PASSCODE_ADD_PHONE]:"/users/registration/addProvider",[C.ONE_TIME_PASSCODE_AUTH_UP]:"/idp/authup/verify",[C.ONE_TIME_PASSCODE_LOGIN]:"/login",[C.ONE_TIME_PASSCODE_PARTNER]:"/login",[C.ONE_TIME_PASSCODE_UPDATE_PHONE]:"/idp/authentication/changePhoneNumber",[C.PASSWORD_AUTH_UP]:"/idp/authup/verify",[C.REGISTRATION]:"/users/registration/registerAndLogin",[C.RESET_PASSWORD]:"/users/registration/resetPassword",[C.SET_NEW_PASSWORD]:"/users/registration/changePassword",[C.SIGN_IN]:"/login",[C.SIGN_IN_LOOKUP]:"/idp/users/accountLookup",[C.UPDATE_EMAIL]:"/users/registration/changeUsername",[C.UPDATE_NAME]:"/users/me"};return{...e,uri:null!==(t=a[n])&&void 0!==t?t:""}}toInstrumentationPayload(){return this.labelBehaviorPayload({form:{action:this.action,...this.decorateWithUri(this.details)}})}constructor(e,t){super(nb.NU.Form),this.action=e,this.details=t}}class nG extends nS{toInstrumentationPayload(){return this.labelBehaviorPayload({identity:{action:this.action,authMethod:this.details.authMethod}})}constructor(e,t){super(nb.NU.AccountLookup),this.action=e,this.details=t}}class nW extends nG{constructor(e){super(nb.Lf.LOOKUP_COMPLETE,e)}}class nB extends nG{constructor(e={}){super(nb.Lf.LOOKUP_START,e)}}class nV extends nS{toInstrumentationPayload(){return this.labelBehaviorPayload({flagId:this.flagId,variantId:this.variantId,source:this.source})}constructor({flagId:e,variantId:t,source:n}){super(nb.NU.LabsDecisionAccessed),this.flagId=e,this.variantId=t,this.source=n}}class nH extends nS{toInstrumentationPayload(){return this.labelBehaviorPayload(this.details)}constructor(e){super(nb.NU.Navigation),this.details=e}}class nj extends nH{constructor(e,t){super({referrer:{pageUri:e,...t?{pageName:t}:{}}})}}class nK extends nS{toInstrumentationPayload(){return this.labelBehaviorPayload({registration:{action:this.action,...this.details,authMethod:this.details.authMethod}})}constructor(e,t={}){super(nb.NU.Registration),this.action=e,this.details=t}}class nz extends nK{constructor(e={}){super(nb.km.REGISTRATION_COMPLETE,e)}}class nq extends nK{constructor(e={}){super(nb.km.REGISTRATION_START,e)}}class n$ extends nS{toInstrumentationPayload(){return this.labelBehaviorPayload({signin:{action:this.action,...this.details,authMethod:this.details.authMethod}})}constructor(e,t={}){super(nb.NU.SignIn),this.action=e,this.details=t}}class nY extends n${constructor(e={}){super(nb.UA.AFFILIATE_DIRECT,e)}}class nX extends n${constructor(e={}){super(nb.UA.AFFILIATE_SELECT,e)}}class nQ extends n${constructor(e={}){super(nb.UA.DEVICE_LINK_COMPLETE,e)}}class nZ extends n${constructor(e={}){super(nb.UA.DEVICE_LINK_START,e)}}class nJ extends n${constructor(e={}){super(nb.UA.LOGIN_COMPLETE,e)}}class n0 extends n${constructor(e={}){super(nb.UA.LOGIN_START,e)}}class n7 extends n${constructor(e={}){super(nb.UA.LOGOUT,e)}}class n1 extends n${constructor(e={}){super(nb.UA.LOGOUT_EVERYWHERE,e)}}class n5 extends n${constructor(e={}){super(nb.UA.PASSWORD_FORGOT,e)}}class n2{async affiliateDirect(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};await this.notifier.sendAnalyticsEvent({action:"affiliateDirect",type:"authentication",affiliateId:e.authProvider}),await this.notifier.sendInstrumentationBehavior(new nY(e))}async affiliateSelect(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};await this.notifier.sendAnalyticsEvent({action:"affiliateSelect",type:"authentication",affiliateId:e.authProvider}),await this.notifier.sendInstrumentationBehavior(new nX(e))}async authProviderAdd(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};await this.notifier.sendInstrumentationBehavior(new nw(e))}async challengeComplete(e){e&&await this.notifier.sendAnalyticsEvent({type:"authentication",action:"challengePassed"}),await this.notifier.sendInstrumentationBehavior(new nk)}async challengeFailed(){await this.notifier.sendAnalyticsEvent({type:"authentication",action:"challengeFailed"}),await this.notifier.sendInstrumentationBehavior(new nN)}async challengeHide(){await this.notifier.sendInstrumentationBehavior(new nR)}async challengeShow(){await this.notifier.sendInstrumentationBehavior(new nx)}async challengeShown(){await this.notifier.sendAnalyticsEvent({type:"authentication",action:"challenge"}),await this.notifier.sendInstrumentationBehavior(new nO)}async challengeReady(){await this.notifier.sendInstrumentationBehavior(new nL)}async challengeSuppressed(){await this.notifier.sendInstrumentationBehavior(new nD)}async deviceLinkComplete(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};await this.notifier.sendInstrumentationBehavior(new nQ(e))}async deviceLinkStart(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};await this.notifier.sendInstrumentationBehavior(new nZ(e))}async emailUpdate(){await this.notifier.sendAnalyticsEvent({type:"account",action:"update",category:"email"}),await this.notifier.sendInstrumentationBehavior(new nA)}async loginStart(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="EMAIL"===e.authMethod?"DTC":e.authMethod;await this.notifier.sendAnalyticsEvent({action:"loginStart",type:"authentication",loginMethod:t,affiliateId:e.authProvider}),await this.notifier.sendInstrumentationBehavior(new n0(e))}async loginComplete(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="EMAIL"===e.authMethod?"DTC":e.authMethod;await this.notifier.sendAnalyticsEvent({type:"authentication",action:"login",loginMethod:t,affiliateId:e.authProvider}),await this.notifier.sendInstrumentationBehavior(new nJ(e))}async logout(){await this.notifier.sendAnalyticsEvent({type:"authentication",action:"logout"}),await this.notifier.sendInstrumentationBehavior(new n7)}async logoutEverywhere(){await this.notifier.sendAnalyticsEvent({type:"authentication",action:"logout"}),await this.notifier.sendInstrumentationBehavior(new n1)}async lookupComplete(e){await this.notifier.sendInstrumentationBehavior(new nW(e))}async lookupStart(e){await this.notifier.sendInstrumentationBehavior(new nB(e))}async passwordForgot(){await this.notifier.sendAnalyticsEvent({type:"authentication",action:"forgotPassword"}),await this.notifier.sendInstrumentationBehavior(new n5)}async passwordUpdate(){await this.notifier.sendAnalyticsEvent({type:"account",action:"update",category:"password"}),await this.notifier.sendInstrumentationBehavior(new nC)}async phoneUpdate(){await this.notifier.sendInstrumentationBehavior(new nI)}async registrationComplete(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};await this.notifier.sendInstrumentationBehavior(new nz(e))}async registrationStart(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};await this.notifier.sendInstrumentationBehavior(new nq(e))}async usernameUpdate(){await this.notifier.sendInstrumentationBehavior(new nP)}async setConsents(e){await this.notifier.sendInstrumentationBehavior(new nM(e)),await this.notifier.sendAnalyticsEvent({type:"consents",action:"set",consentDetails:e.consentDetails})}constructor(e){this.notifier=e}}class n3{stateProvider(){return this.state}async isActive(){let e=await this.state.entitlements;return null==e?void 0:e.data.attributes.hasActiveAcquiredCapabilities}async isLapsed(){let e=await this.state.entitlements;return!(null==e?void 0:e.data.attributes.hasActiveAcquiredCapabilities)&&(null==e?void 0:e.data.attributes.hasExpiredAcquiredCapabilities)}async isAbandoned(){let e=await this.state.entitlements;return!(null==e?void 0:e.data.attributes.hasActiveAcquiredCapabilities)&&!(null==e?void 0:e.data.attributes.hasExpiredAcquiredCapabilities)}constructor(e){this.state=e}}class n4 extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({account:{authMethod:this.authMethod},classification:"AUTH_PROVIDER_ADD_FAILED",eventSchemaCategory:nb.$G.Account,scope:"RECOVERABLE"})}constructor(e,t){super(e.code,e),this.authMethod=t}}class n9 extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"AUTHUP_STATUS_FETCH_FAILED",eventSchemaCategory:nb.$G.Account,scope:"USER_FACING"})}constructor(e){super(e.code,e)}}class n6 extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"AUTHUP_VERIFY_FAILED",eventSchemaCategory:nb.$G.Account,scope:"USER_FACING"})}constructor(e){super(e.code,e)}}class n8 extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"EMAIL_UPDATE_FAILED",eventSchemaCategory:nb.$G.Account,scope:"RECOVERABLE"})}constructor(e){super(e.code,e)}}class ae extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:nb.$G.Account,classification:"PASSWORD_CREATE_FAILED",scope:"RECOVERABLE"})}constructor(e){super(e.code,e)}}class at extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:nb.$G.Account,classification:"PASSWORD_SET_FAILED",scope:"RECOVERABLE"})}constructor(e){super(e.code,e)}}class an extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:nb.$G.Account,classification:"PASSWORD_UPDATE_FAILED",scope:"RECOVERABLE"})}constructor(e){super(e.code,e)}}class aa extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"USERNAME_UPDATE_FAILED",eventSchemaCategory:nb.$G.Account,scope:"RECOVERABLE"})}constructor(e){super(e.code,e)}}class ar extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"PHONE_UPDATE_FAILED",eventSchemaCategory:nb.$G.Account,scope:"RECOVERABLE"})}constructor(e){super(e.code,e)}}class as extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"PROFILE_GET_FAILED",eventSchemaCategory:nb.$G.Account,scope:"RECOVERABLE"})}constructor(e){super(e.code,e)}}class ai extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"PHONE_POLICY_FETCH_FAILED",eventSchemaCategory:nb.$G.Account,scope:"RECOVERABLE"})}constructor(e){super(e.code,e)}}class ao extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:nb.$G.Account,classification:"DELETE_TOKEN_FAILED",scope:"RECOVERABLE"})}constructor(e){super(e.code,e)}}class al extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:nb.$G.Account,classification:"TOKEN_FETCH_FAILED",scope:"RECOVERABLE"})}constructor(e){super(e.code,e)}}class ac extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"USERINFO_GET_FAILED",eventSchemaCategory:nb.$G.Account,scope:"USER_FACING"})}constructor(e){super(e.code,e)}}class ad extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"USERS_GET_FAILED",eventSchemaCategory:nb.$G.Account,scope:"USER_FACING"})}constructor(e){super(e.code,e)}}class au extends eq{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"FETCH_FAILED",eventSchemaCategory:"consent",scope:"USER_FACING",consent:{ids:[this.consentAlias]}})}static promote(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e instanceof this?e:new this(e,t)}constructor(e,t=""){super(),this.consentAlias=t}}class ap extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"INIT_FAILED",scope:"USER_FACING",eventSchemaCategory:"featureFlags",message:this.code})}constructor(e){super(e.code,e)}}class ag extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:"identityArkose",classification:"USER_CHALLENGE_CANCELLED",scope:"RECOVERABLE",arkose:{flowName:this.flowName}})}constructor(e){let t=A.ArkoseUserChallengeCancelled;super(t,{message:tW[t]}),this.flowName=e}}class ah extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:"identityArkose",classification:"USER_CHALLENGE_ERROR",scope:"USER_FACING",arkose:{flowName:this.flowName}})}constructor(e){let t=A.ArkoseUserChallengeError;super(t,{message:tW[t]}),this.flowName=e}}class am extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:"identityArkose",classification:"USER_CHALLENGE_FAILED",scope:"RECOVERABLE",arkose:{flowName:this.flowName}})}constructor(e){let t=A.ArkoseUserChallengeFailed;super(t,{message:tW[t]}),this.flowName=e}}class av extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:"identityArkose",classification:"USER_CHALLENGE_WARNING",scope:"RECOVERABLE",arkose:{flowName:this.flowName}})}constructor(e){let t=A.ArkoseUserChallengeWarning;super(t,{message:tW[t]}),this.flowName=e}}class af extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:"identityArkose",classification:"SCRIPT_ERROR",scope:"USER_FACING",arkose:{flowName:this.flowName}})}constructor(e){let t=A.ArkoseScriptError;super(t,{message:tW[t]}),this.flowName=e}}class ay extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:"identityArkose",scope:"USER_FACING",classification:this.classification,arkose:{flowName:this.flowName}})}constructor(e,t,n){super(e.code,e),this.classification=t,this.flowName=n}}class aE extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"LOOKUP_FAILED",scope:"USER_FACING",eventSchemaCategory:nb.$G.AccountLookup})}isAccountNotFound(){return"not.found"===this.code}constructor(e){super(e.code,e),this.isAccountNotFound()&&(this.doNotLogUiPromptError=!0)}}class ab extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"OTP_SEND_FAILED",eventSchemaCategory:nb.$G.Otp,scope:"USER_FACING",otp:{flowName:this.flowName}})}constructor(e,t){super(e.code,e),this.flowName=t}}class aS extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"TOKEN_DATA",eventSchemaCategory:nb.$G.Token,scope:"USER_FACING"})}constructor(e){super(e.code,e)}}class aT extends K{constructor(){let e=A.LocalizationFailFormattingTranslationKey;super(e,{message:tW[e]})}}class aw extends K{constructor(e){let t=A.LocalizationFailLoadingFormats,{message:n}=K.promote(e);super(t,{message:null!=n?n:tW[t]})}}class aA extends K{toErrorPayload(){let{translationKey:e,parameterValues:t={}}=this.missingTranslation;return super.asInstrumentationErrorPayload({classification:"KEY_NOT_TRANSLATED",eventSchemaCategory:"localization",scope:"RECOVERABLE",translation:{key:e,parameters:Object.keys(t).join(", ")}})}constructor(e,t){let n=A.LocalizationFailLoadingTranslationKey,{message:a}=K.promote(e);super(n,{message:null!=a?a:tW[n],errorContext:{missingTranslationKey:t.translationKey}}),this.missingTranslation=t}}class aC extends K{constructor(e){let{message:t}=K.promote(e),n=A.LocalizationFailLoadingTranslations;super(n,{message:null!=t?t:tW[n]})}}class aI extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"DATA_MISSING",eventSchemaCategory:"featureFlags",scope:"USER_FACING",message:this.message})}constructor(e,t="unknown"){let n=A.UnknownExternalLink;super(n,{message:tW[n],errorContext:{externalLinkName:e,linkText:t}}),this.externalLinkName=e,this.linkText=t}}class aP extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:this.classification,scope:"USER_FACING",message:this.instrumentationMessage,eventSchemaCategory:"localization"})}constructor(e){var t,n;super(e.code,e),this.instrumentationMessage="",e instanceof aC?(this.classification="MISSING_LANGUAGE_PACK",this.instrumentationMessage=null!==(t=e.message)&&void 0!==t?t:tW[A.LocalizationFailLoadingTranslations]):e instanceof aw&&(this.classification="MISSING_FORMAT_PACK",this.instrumentationMessage=null!==(n=e.message)&&void 0!==n?n:tW[A.LocalizationFailLoadingFormats])}}class a_ extends K{toAnalyticsPayload(){return{type:"error",action:"userFacing",code:this.code,errorType:"cat-apiError",message:this.message}}constructor(e){super(e.code,e)}}class ak extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:"registration",classification:"PROVIDER_RESPONSE_INVALID",scope:"RECOVERABLE"})}constructor(e){super(e.code,e)}}class aN extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:"registration",classification:"PARTNER_REGISTER_FETCH_FAILED",scope:"RECOVERABLE",registration:{authMethod:"MVPD",authProvider:this.partnerId}})}isOutOfFootprint(){return"geoblock"===this.code}constructor(e,t){super(e.code,e),this.partnerId=t}}class aR extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:"registration",classification:"PARTNER_REGISTER_SUBMIT_FAILED",scope:"RECOVERABLE",registration:{authMethod:"MVPD",authProvider:this.partnerId}})}constructor(e,t){super(e.code,e),this.partnerId=t}}class aL extends K{toErrorPayload(){let e=this.partnerId?{registration:{authMethod:"MVPD",authProvider:this.partnerId}}:{registration:{authMethod:this.authMethod}};return super.asInstrumentationErrorPayload({classification:"REGISTRATION_FAILED",scope:"RECOVERABLE",eventSchemaCategory:"registration",...e})}isAccountCollision(){return"invalid.payload"===this.code}isUserFoundInDifferentMarket(){var e;return!!(null===(e=this.errorContext)||void 0===e?void 0:e.differentMarket)}constructor(e,t,n="EMAIL"){super(e.code,e),this.partnerId=t,this.authMethod=n}}class ax extends K{shouldSuppressUiPromptError(){switch(!0){case this.isInvalidPassword():case this.isUserGeoBlocked():case this.isInvalidOtpCode():case this.isExceededMaxFailedOtpAttempts():case this.isPasswordNeedsReset():case this.isInvalidUsername():case this.isOtpCodeNotFound():return!0;default:return!1}}isEmailSigninMethod(){return"EMAIL"===this.signinMethod}isOtpMobileSigninMethod(){return"OTP"===this.signinMethod||"MOBILE"===this.signinMethod}toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"ACCOUNT_RESTRICTED",scope:"RECOVERABLE",eventSchemaCategory:"signin",signin:{authMethod:this.signinMethod}})}isUserGeoBlocked(){return"access.denied.geoblocked"===this.code}isInvalidOtpCode(){return this.isOtpMobileSigninMethod()&&"invalid.otp.code"===this.code}isOtpCodeNotFound(){return this.isOtpMobileSigninMethod()&&"invalid.otp.not.found"===this.code}isExceededMaxFailedOtpAttempts(){return this.isOtpMobileSigninMethod()&&"invalid.otp.max.failed.attempts"===this.code}isInvalidPassword(){return this.isEmailSigninMethod()&&"unauthorized"===this.code}isInvalidUsername(){return this.isEmailSigninMethod()&&"unauthorized.username.unknown"===this.code}isPasswordNeedsReset(){return this.isEmailSigninMethod()&&"password.needs.reset"===this.code}toAnalyticsPayload(){return{type:"authentication",action:"loginFailure",loginMethod:this.signinMethod,...this.partnerName&&{affiliateId:this.partnerName}}}constructor(e,t,n){super(e.code,e),this.signinMethod=t,this.partnerName=n,this.shouldSuppressUiPromptError()&&(this.doNotLogUiPromptError=!0)}}class aO extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"CODE_INVALID",eventSchemaCategory:"signin",scope:"RECOVERABLE",signin:{authMethod:"CODE"}})}constructor(e){super(e.code,e)}}class aD extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"DEVICE_LINK_FAILED",scope:"RECOVERABLE",eventSchemaCategory:"signin",signin:{authMethod:"CODE",authProvider:this.partnerId}})}constructor(e,t){super(e.code,e),this.partnerId=t}}class aU extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"REDIRECTION_ERROR",eventSchemaCategory:"signin",scope:"RECOVERABLE",message:this.errorMessageFromGauth,signin:{authMethod:"MVPD",authProvider:this.partnerId,redirectionErrorCode:this.errorCodeFromGauth}})}constructor(e,t,n){let a=A.GAuthRedirectError;super(a,{message:tW[a]}),this.partnerId=e,this.errorMessageFromGauth=t,this.errorCodeFromGauth=n}}class aM extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:"signin",classification:"IDP_OAUTH_INITIATE_FAILED",scope:"USER_FACING",signin:{authMethod:"MOBILE"}})}constructor(e){super(e.code,e)}}class aF extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"LOGIN_FAILED",scope:"BACKGROUND",eventSchemaCategory:"signin",signin:{authMethod:"RETAIN_AUTH"}})}toAnalyticsPayload(){return{type:"authentication",action:"loginFailure",loginMethod:"RETAIN_AUTH"}}constructor(e){super(e.code,e)}}class aG extends K{toErrorPayload(){let e=!!this.partnerId,t=e?{authMethod:"MVPD",authProvider:this.partnerId}:{authMethod:"EMAIL"};return super.asInstrumentationErrorPayload({classification:e?"LOGOUT_MVPD_FAILED":"LOGOUT_FAILED",scope:"BACKGROUND",eventSchemaCategory:"signin",signin:t})}constructor(e,t){super(e.code,e),this.partnerId=t}}class aW extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"LOGOUT_EVERYWHERE_FAILED",eventSchemaCategory:"signin",scope:"BACKGROUND",signin:{authMethod:"EMAIL"}})}constructor(e){super(e.code,e)}}class aB extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:"signin",classification:"GAUTH_AUTHORIZE_FAILED",scope:"RECOVERABLE",signin:{authMethod:"MVPD",authProvider:this.partnerId}})}constructor(e,t){super(e.code,e),this.partnerId=t}}class aV extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:"signin",classification:"GAUTH_TOKEN_INVALID",scope:"USER_FACING",signin:{authMethod:"MVPD"}})}constructor(e){super(e.code,e)}}class aH extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:"signin",classification:"IDP_TOKEN_FAILED",scope:"BACKGROUND",signin:{authMethod:"MVPD"}})}constructor(e){super(e.code,e)}}class aj extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:"signin",classification:"GAUTH_FETCH_PARTNERS_FAILED",scope:"USER_FACING",signin:{authMethod:"MVPD"}})}constructor(e){super(e.code,e)}}class aK extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"PASSWORD_REQUEST_RESET_FAILED",eventSchemaCategory:"signin",scope:"RECOVERABLE",signin:{authMethod:"EMAIL"}})}constructor(e){super(e.code,e)}}class az extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({eventSchemaCategory:"signin",classification:"IDP_TOKEN_FAILED",scope:"BACKGROUND",signin:{authMethod:"RETAIN_AUTH"}})}constructor(e){super(e.code,e)}}let aq=()=>!0,a$=e=>function(t,n,a){let r=a.value;async function s(){for(var t,n,a,s=arguments.length,i=Array(s),o=0;oe[0])}catch(i){let r=K.promote(i),s=Reflect.apply(e.withPayloadFrom,this,[r]);throw(null===(t=e.instrumentWhen)||void 0===t?void 0:t.call(e,r))&&this.notifier.sendInstrumentationEvent(s.toErrorPayload()),(null===(n=e.analyticsWhen)||void 0===n?void 0:n.call(e,r))&&this.notifier.sendAnalyticsEvent(s.toAnalyticsPayload()),(null===(a=e.errorWhen)||void 0===a?void 0:a.call(e,r))&&this.notifier.sendErrorEvent(r),s}return r}return{...a,value:s}};class aY{getConfig(){return this.coreSdk.getConfig()}async fetchConfig(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return await this.coreSdk.fetchConfig(e),this.coreSdk.getConfig()}constructor(e,t){this.coreSdk=e,this.notifier=t}}(0,k.gn)([eF()],aY.prototype,"getConfig",null),(0,k.gn)([a$({withPayloadFrom:e=>new ap(e),instrumentWhen:aq})],aY.prototype,"fetchConfig",null);class aX{get core(){return this.instance}constructor(e){this.sessionContext=e,this.loadHeadlessSdk=async e=>{if(!this.instance){let{headlessBuilder:t}=await Promise.all([n.e(13686),n.e(7268),n.e(50115),n.e(6280)]).then(n.bind(n,6280));this.instance=t(this.sessionContext,e)}return this.instance}}}class aQ{getMpvdDeepLinkUrl(e){let t=e.toLowerCase();if(t in this.environment.getConfig().partner.config.deepLink){let e=this.partnerState.getGAuthToken(),n=new URL(this.environment.getConfig().partner.config.deepLink[t]);return n.searchParams.set("affiliateId",this.partnerState.getPartnerName()),e&&n.searchParams.set("tk",e),n.toString()}}getTveDeepLinkUrl(e){var t;let n=null==e?void 0:e.toLowerCase(),{tveDeepLink:a}=null!==(t=this.environment.getConfig().partner.config)&&void 0!==t?t:{};if(a&&n in a)return new URL(a[n]).toString()}constructor(e,t){this.environment=e,this.partnerState=t}}class aZ{async sendAnalyticsEvent(e){await this.publisher.sendMessage("AnalyticsEvent",e,{waitForDelivery:!1,debounce:200})}async sendErrorEvent(e){return this.publisher.sendMessage("SdkError",e,{waitForDelivery:!1,debounce:100})}async sendInstrumentationEvent(e){await this.publisher.sendMessage("InstrumentationEvent",e,{waitForDelivery:!1,debounce:200})}async sendSdkStateEvent(){await this.publisher.sendMessage("SdkState",{sdkInstance:this.sdkInstanceProvider()},{waitForDelivery:!1,debounce:100})}async sendInstrumentationBehavior(e){await this.publisher.sendMessage("InstrumentationBehavior",e.toInstrumentationPayload(),{waitForDelivery:!1,debounce:0})}constructor(e,t){this.publisher=e,this.sdkInstanceProvider=t}}(0,k.gn)([eG()],aZ.prototype,"sendAnalyticsEvent",null),(0,k.gn)([eG()],aZ.prototype,"sendErrorEvent",null),(0,k.gn)([eG()],aZ.prototype,"sendInstrumentationEvent",null),(0,k.gn)([eG()],aZ.prototype,"sendSdkStateEvent",null),(0,k.gn)([eG()],aZ.prototype,"sendInstrumentationBehavior",null);class aJ{getCurrentPartnerId(){return this.state.currentPartnerId}getGAuthToken(){var e,t;return null!==(t=null===(e=this.getGAuthTokenData())||void 0===e?void 0:e.token)&&void 0!==t?t:""}getGAuthTokenData(){return this.state.partnerGAuthTokenData}getPartnerName(){var e,t,n;return null!==(n=null===(t=null===(e=this.getGAuthTokenData())||void 0===e?void 0:e.partner)||void 0===t?void 0:t.name)&&void 0!==n?n:""}getPartnerAggregatorDirectLinkValues(){var e;let{partnerId:t="",tenant:n=""}=null!==(e=this.state.partnerAggregatorDirectLinkValues)&&void 0!==e?e:{};return{partnerId:t,tenant:n}}getPartnerAggregatorFormValues(){return this.state.partnerAggregatorFormValues}getPartnerAggregatorPickerValues(){var e;let{partnerId:t="",redirectUri:n="",state:a=""}=null!==(e=this.state.partnerAggregatorPickerValues)&&void 0!==e?e:{};return{partnerId:t,redirectUri:n,state:a}}getPartnerNameForError(){return this.state.partnerNameForError}isPartnerInRegisterFlow(){return this.state.partnerInRegisterFlow}isPartnerUsingDirectLink(){return this.state.partnerUsingDirectLink}setCurrentPartnerId(e){this.state.currentPartnerId=e}setGAuthTokenData(e){this.state.partnerGAuthTokenData=e}setPartnerAggregatorDirectLinkValues(e){this.state.partnerAggregatorDirectLinkValues={...e}}setPartnerAggregatorFormValues(e){this.state.partnerAggregatorFormValues=e}setPartnerAggregatorPickerValues(e){this.state.partnerAggregatorPickerValues={...e}}setPartnerInRegisterFlow(e){this.state.partnerInRegisterFlow=e}setPartnerNameForError(e){this.state.partnerNameForError=e}setPartnerUsingDirectLink(e){this.state.partnerUsingDirectLink=e}constructor(e){this.state=e}}class a0{getKnownTelephoneCallingCodes(){return this.coreSdk.getKnownTelephoneCallingCodes()}constructor(e){this.coreSdk=e}}let a7=e=>e.then(()=>void 0);class a1 extends K{constructor(){let e=A.SdkNotInitialized;super(e,{message:tW[e]})}}let a5=/USERNAME_PASSWORD/i,a2=/PHONE_OTP/i;class a3{stateProvider(){return this.state}getDataAttributes(e){var t;return null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.attributes}computeLoggedInStatus(e){let{isExpired:t=!1,defaultValue:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t)return n;let a=null==e?void 0:e.anonymous;return void 0===a?n:!1===a}computeMigrationStatus(e){let{isExpired:t=!1,applyDefaultValue:n=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a={migrated:!1,welcomed:!1};if(t)return n?a:void 0;let r=this.computeLoggedInStatus(e,{isExpired:t});if(void 0===r)return n?a:void 0;switch(r?null==e?void 0:e.migrationStatus:void 0){case"MIGRATED":return{migrated:!0,welcomed:!1};case"MIGRATED_WELCOMED":return{migrated:!0,welcomed:!0};default:return a}}async getUsersMeAttributes(){let e=await this.state.usersMe;return this.getDataAttributes(e)}async getClientTranslationLanguageTags(){var e;let t=await this.getUsersMeAttributes();return null!==(e=null==t?void 0:t.clientTranslationLanguageTags)&&void 0!==e?e:[]}async getCurrentLocationTerritory(){let e=await this.getUsersMeAttributes();return(null==e?void 0:e.currentLocationTerritory)||""}async getFirstName(){let e=await this.getUsersMeAttributes();return(null==e?void 0:e.firstName)||""}async getLastName(){let e=await this.getUsersMeAttributes();return(null==e?void 0:e.lastName)||""}async getMigrationStatus(){let e=await this.getUsersMeAttributes();return this.computeMigrationStatus(e,{applyDefaultValue:!0})}getMigrationStatusSync(){let{currentValue:e,pendingRequest:t,isExpired:n}=this.state.getFieldProperties("usersMe"),a=this.getDataAttributes(e);return{currentValue:this.computeMigrationStatus(a,{isExpired:n}),pendingRequest:t?a7(t):void 0}}async getRawUserMeResponse(){let{forceRefresh:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e&&this.clearCachedUsersMe(),this.state.usersMe}clearCachedUsersMe(){this.state.usersMe=void 0}clearCachedUserInfo(){this.state.userInfo=void 0}async getMigratedFromTenant(){let e=await this.getUsersMeAttributes();return(null==e?void 0:e.migratedFromTenant)||void 0}async getPhoneNumber(){let e=((await this.state.userInfo).providers||[]).find(e=>a2.test(e.type));return null==e?void 0:e.providerId}async getSelectedProfileId(){let e=await this.getUsersMeAttributes();return(null==e?void 0:e.selectedProfileId)||void 0}async getUserId(){var e;let t=await this.state.usersMe;return null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.id}async getUserInfo(){return await this.state.userInfo}async getUsername(){var e,t;if(!await this.isLoggedIn())return"";let n=await this.getUserInfo(),a=null===(e=null==n?void 0:n.providers)||void 0===e?void 0:e.find(e=>{let{type:t}=e;return a5.test(t)});return null!==(t=null==a?void 0:a.providerId)&&void 0!==t?t:""}async getSubscriptions(){var e,t;let{filterByStatus:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=null!==(t=null===(e=await this.monetizationApi.fetchSubscriptions())||void 0===e?void 0:e.data)&&void 0!==t?t:[],r=e=>{let{subscription:t}=e;return t},s=a.map(e=>{var t;return{subscription:e,status:null===(t=null==e?void 0:e.attributes)||void 0===t?void 0:t.status}}).filter(e=>{let{subscription:t}=e;return!!t});return n?s.filter(e=>{let{status:t}=e;return!!t}).filter(e=>{let{status:t}=e;return n.includes(t)}).map(r):s.map(r)}async hasPassword(){return!!await this.isLoggedIn()&&!!await this.state.hasPasswordSet}hasPasswordSync(){let e=this.state.getFieldProperties("usersMe"),t=this.computeLoggedInStatus(this.getDataAttributes(e.currentValue),e);if(void 0===t)return{currentValue:void 0,pendingRequest:void 0};if(!1===t)return{currentValue:!1,pendingRequest:void 0};let{currentValue:n,pendingRequest:a,isExpired:r}=this.state.getFieldProperties("hasPasswordSet");return{currentValue:r?void 0:n,pendingRequest:a?a7(a):void 0}}async isLoggedIn(){let e=await this.getUsersMeAttributes();return this.computeLoggedInStatus(e,{defaultValue:!1})}isLoggedInSync(){let{isExpired:e,pendingRequest:t,currentValue:n}=this.state.getFieldProperties("usersMe"),a=this.getDataAttributes(n),r=this.computeLoggedInStatus(a);return{currentValue:e?void 0:r,pendingRequest:t?a7(t):void 0}}async changePhoneNumber(e){await this.usersApi.changePhoneNumber(e)}async addAuthenticationProvider(e){await this.registrationApi.addAuthenticationProvider(e)}async patchUsersMeData(e){let t=await this.getUserId();if(!t)throw new a1;await this.usersApi.patchUsersMe(t,e)}constructor(e,t,n,a){this.monetizationApi=e,this.state=t,this.usersApi=n,this.registrationApi=a}}(0,k.gn)([eG()],a3.prototype,"getMigratedFromTenant",null),(0,k.gn)([eG()],a3.prototype,"getPhoneNumber",null),(0,k.gn)([eG()],a3.prototype,"getSelectedProfileId",null),(0,k.gn)([nm(["userInfo"])],a3.prototype,"changePhoneNumber",null),(0,k.gn)([nm(["usersMe","userInfo","hasPasswordSet"])],a3.prototype,"addAuthenticationProvider",null),(0,k.gn)([nm(["usersMe"]),eG()],a3.prototype,"patchUsersMeData",null);let a4="0-9\\-.\\/()\\s",a9=/[^0-9]/g,a6=new RegExp("^\\+?[".concat(a4,"]+$")),a8=RegExp("[^".concat(a4,"]"),"g"),re=e=>a6.test(e),rt=[{fieldName:"email"},{fieldName:"emailConfirmation"},{fieldName:"password"},{fieldName:"firstName"},{fieldName:"lastName"}],rn=[{fieldName:"phone"},{fieldName:"firstName"},{fieldName:"lastName"}];class ra{stateProvider(){return this.state}getLoginAuthProviders(){return this.coreSdk.getConfig().login.config.providers}getRegistrationAuthProviders(){return this.coreSdk.getConfig().registration.config.providers}isIdFirstEnabledForLogin(){return this.coreSdk.getConfig().login.config.enableIdFirst}isIdFirstEnabledForRegistration(){return this.coreSdk.getConfig().registration.config.enableIdFirst}getRegistrationFieldsForEmail(){return this.coreSdk.getConfig().registration.config.registerEmail||rt}getRegistrationFieldsForPhone(){return this.coreSdk.getConfig().registration.config.registerPhone||rn}showOtpOverForgotPassword(){return this.coreSdk.getConfig().login.config.showOtpOverForgotPassword}async trackAccountLookupStart(e){await this.behaviorService.lookupStart({authMethod:e})}async trackLoginStart(e){await this.behaviorService.loginStart({authMethod:e,authProvider:this.authService.getAffiliateId()})}async trackRegistrationStart(e){let t=this.partnerState.getCurrentPartnerId();await this.behaviorService.registrationStart({authMethod:t?"MVPD":e,authProvider:t})}async getRestrictedToken(e){return this.coreSdk.getRestrictedToken(e)}async getToken(){let{multiverseTransportPayload:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};await this.coreSdk.fetchToken({},{multiverseTransportPayload:e})}async loginWithLegacyToken(e,t){await this.authService.loginCommon(e,{...t,loginMethod:"RETAIN_AUTH"})}async loginWithOAuth(e,t){await this.authService.loginCommon(e,{...t,loginMethod:"OAUTH"})}async loginWithOtp(e,t){await this.authService.loginCommon(e,{...t,loginMethod:"OTP"})}async loginWithUsername(e,t){await this.authService.loginCommon(e,{...t,loginMethod:"EMAIL"})}async loginWithPhoneOtp(e,t){await this.authService.loginCommon(e,{...t,loginMethod:"MOBILE"})}async logout(){var e,t,n;if((null===(n=null===(t=null===(e=await this.state.usersMe)||void 0===e?void 0:e.data)||void 0===t?void 0:t.attributes)||void 0===n?void 0:n.anonymous)!==!1)throw new t$;await this.authenticationApi.logout(),await this.behaviorService.logout()}async logoutEverywhere(){var e,t,n;if((null===(n=null===(t=null===(e=await this.state.usersMe)||void 0===e?void 0:e.data)||void 0===t?void 0:t.attributes)||void 0===n?void 0:n.anonymous)!==!1)throw new t$;await this.authenticationApi.logoutEverywhere(),await this.behaviorService.logoutEverywhere()}async registerAndLogin(e,t){let n=this.partnerState.getCurrentPartnerId(),{inviteToken:a,profileTransferToken:r,...s}=e;await this.coreSdk.registerAndLogin({...s,...a&&{inviteToken:a},...r&&{profileTransferToken:r}},t),await this.behaviorService.registrationComplete({authMethod:n?"MVPD":"EMAIL",authProvider:n}),await this.sendRegistrationAnalyticsEvent(e.password)}async registerWithUsername(e,t){let{firstName:n,lastName:a,username:r,password:s}=e;await this.coreSdk.registerWithProvider({credentials:{provider:"USERNAME_PASSWORD",username:r,password:s},firstName:n,lastName:a},t),await this.sendRegistrationAnalyticsEvent(e.password)}async registerWithPhone(e,t){let n=this.partnerState.getCurrentPartnerId(),{firstName:a,lastName:r,destination:s,oneTimePassword:i}=e;await this.coreSdk.registerWithProvider({credentials:{provider:"PHONE_OTP",destination:s,oneTimePassword:i},firstName:a,lastName:r},t),await this.behaviorService.registrationComplete({authMethod:n?"MVPD":"MOBILE",authProvider:n}),await this.sendRegistrationAnalyticsEvent("")}async sendOtp(e){return this.authenticationApi.sendOtp(e)}async retainAuthIdpToken(e){let t="OAUTH";await this.behaviorService.loginStart({authMethod:t}),await this.authenticationApi.fetchIdpAccessToken({client_id:this.coreSdk.getConfig().oauthAddOn.config.clientId,code:e,redirect_uri:this.coreSdk.getConfig().oauthAddOn.config.redirectUri}),await this.behaviorService.loginComplete({authMethod:t})}async accountLookup(e,t){let n=re(e)?"MOBILE":"EMAIL",a=this.coreSdk.accountLookup(e,{...t});return await this.behaviorService.lookupComplete({authMethod:n}),a}async doesPhoneAlreadyExist(e){let{value:t,arkose:n}=e;return this.coreSdk.accountLookup(t,{...n})}getProfileTransferToken(){return this.state.profileTransferToken||""}clearAccountLookupProvidedValue(){this.state.accountLookupProvidedValue=void 0}getAccountLookupProvidedValue(){var e;return null!==(e=this.state.accountLookupProvidedValue)&&void 0!==e?e:{value:""}}getAccountLookupProvidedValueJoined(){var e;let t=this.getAccountLookupProvidedValue();return"".concat(null!==(e=t.countryCode)&&void 0!==e?e:"").concat(t.value)}setAccountLookupProvidedValue(e){this.state.accountLookupProvidedValue=e}getAccountLookupLoginMethod(){return this.state.accountLookupLoginMethod}setAccountLookupLoginMethod(e){this.state.accountLookupLoginMethod=e}async sendRegistrationAnalyticsEvent(e){await this.notifier.sendAnalyticsEvent({type:"account",action:"register",category:"account",...this.partnerState.getPartnerName()&&{affiliateId:this.authService.getAffiliateId(),createdMvpdPassword:!!e}})}async fetchElevatedAccessStatus(e){return this.coreSdk.fetchElevatedAccessStatus(e)}async requestElevatedAccess(e){return this.coreSdk.requestElevatedAccess(e)}constructor(e,t,n,a,r,s,i){this.authService=e,this.behaviorService=t,this.coreSdk=n,this.notifier=a,this.partnerState=r,this.authenticationApi=s,this.state=i}}(0,k.gn)([eF()],ra.prototype,"getLoginAuthProviders",null),(0,k.gn)([eF()],ra.prototype,"getRegistrationAuthProviders",null),(0,k.gn)([eF()],ra.prototype,"isIdFirstEnabledForLogin",null),(0,k.gn)([eF()],ra.prototype,"isIdFirstEnabledForRegistration",null),(0,k.gn)([eF()],ra.prototype,"getRegistrationFieldsForEmail",null),(0,k.gn)([eF()],ra.prototype,"getRegistrationFieldsForPhone",null),(0,k.gn)([eF()],ra.prototype,"showOtpOverForgotPassword",null),(0,k.gn)([eF()],ra.prototype,"trackAccountLookupStart",null),(0,k.gn)([eF()],ra.prototype,"trackLoginStart",null),(0,k.gn)([eF()],ra.prototype,"trackRegistrationStart",null),(0,k.gn)([eG()],ra.prototype,"getRestrictedToken",null),(0,k.gn)([a$({withPayloadFrom:e=>new aS(e),instrumentWhen:aq})],ra.prototype,"getToken",null),(0,k.gn)([a$({withPayloadFrom:e=>new aF(e),instrumentWhen:aq,analyticsWhen:aq})],ra.prototype,"loginWithLegacyToken",null),(0,k.gn)([a$({withPayloadFrom:e=>new ax(e,"OAUTH"),instrumentWhen:aq,analyticsWhen:aq})],ra.prototype,"loginWithOAuth",null),(0,k.gn)([a$({withPayloadFrom:e=>new ax(e,"OTP"),analyticsWhen:aq,instrumentWhen:aq})],ra.prototype,"loginWithOtp",null),(0,k.gn)([a$({withPayloadFrom:e=>new ax(e,"EMAIL"),instrumentWhen:aq,analyticsWhen:aq})],ra.prototype,"loginWithUsername",null),(0,k.gn)([a$({withPayloadFrom:e=>new ax(e,"MOBILE"),analyticsWhen:aq,instrumentWhen:aq})],ra.prototype,"loginWithPhoneOtp",null),(0,k.gn)([nm(nv),a$({withPayloadFrom(e){return new aG(e,this.partnerState.getCurrentPartnerId())},instrumentWhen:aq})],ra.prototype,"logout",null),(0,k.gn)([nm(nv),a$({withPayloadFrom:e=>new aW(e),instrumentWhen:aq})],ra.prototype,"logoutEverywhere",null),(0,k.gn)([nm(ny),a$({withPayloadFrom(e){return new aL(e,this.partnerState.getCurrentPartnerId())},instrumentWhen:aq})],ra.prototype,"registerAndLogin",null),(0,k.gn)([nm(ny),a$({withPayloadFrom(e){return new aL(e,this.partnerState.getCurrentPartnerId())},instrumentWhen:aq})],ra.prototype,"registerWithUsername",null),(0,k.gn)([nm(ny),a$({withPayloadFrom(e){return new aL(e,this.partnerState.getCurrentPartnerId(),"MOBILE")},instrumentWhen:aq})],ra.prototype,"registerWithPhone",null),(0,k.gn)([a$({withPayloadFrom:e=>new ab(e),instrumentWhen:aq})],ra.prototype,"sendOtp",null),(0,k.gn)([nm(ny),a$({withPayloadFrom:e=>new az(e),instrumentWhen:aq})],ra.prototype,"retainAuthIdpToken",null),(0,k.gn)([a$({withPayloadFrom:e=>new aE(e),instrumentWhen:e=>"not.found"!==e.code})],ra.prototype,"accountLookup",null),(0,k.gn)([a$({withPayloadFrom:e=>new aE(e),instrumentWhen:e=>"not.found"!==e.code})],ra.prototype,"doesPhoneAlreadyExist",null),(0,k.gn)([eF()],ra.prototype,"getProfileTransferToken",null),(0,k.gn)([eF()],ra.prototype,"clearAccountLookupProvidedValue",null),(0,k.gn)([eF()],ra.prototype,"getAccountLookupProvidedValue",null),(0,k.gn)([eF()],ra.prototype,"getAccountLookupProvidedValueJoined",null),(0,k.gn)([eF()],ra.prototype,"setAccountLookupProvidedValue",null),(0,k.gn)([eF()],ra.prototype,"getAccountLookupLoginMethod",null),(0,k.gn)([eF()],ra.prototype,"setAccountLookupLoginMethod",null),(0,k.gn)([a$({withPayloadFrom:e=>new n9(e),instrumentWhen:aq})],ra.prototype,"fetchElevatedAccessStatus",null),(0,k.gn)([a$({withPayloadFrom:e=>new n6(e),instrumentWhen:aq})],ra.prototype,"requestElevatedAccess",null);class rr{async consentToTerms(e){let{autoConsents:t,clientConsents:n,clientVendors:a,consentExperienceAlias:r,consents:s,manualConsents:i,privacyString:o,vendors:l}=e,c=Array.isArray(t)?t:Object.keys(t),d=await this.consentsApi.consentToTermsV2(s,c,i,n,l,a,o,r);await this.sendConsentAnalyticEvents(d)}async sendConsentAnalyticEvents(e){let t=rr.mapAnalyticsConsentDetails(e);await this.behaviorService.setConsents({consentDetails:t})}static mapAnalyticsConsentDetails(e){return e.reduce((e,t)=>[...e,...t.consentOptions.map(e=>{let{alias:t,approved:n}=e;return{categoryId:t,consented:n}})],[])}async fetchConsentExperience(e,t){return this.coreSdk.fetchConsentExperience(e,t)}constructor(e,t,n,a){this.behaviorService=e,this.coreSdk=t,this.notifier=n,this.consentsApi=a}}(0,k.gn)([a$({withPayloadFrom:e=>au.promote(e,"createAccount"),instrumentWhen:e=>e instanceof eq})],rr.prototype,"fetchConsentExperience",null);class rs{stateProvider(){return this.state}async fetchMeTokens(){return await this.usersApi.fetchUsersMeTokens()}async fetchMeTokensWithProfile(){let e=await this.usersApi.fetchUsersMeTokens(),t=await this.fetchProfilesMap();return e.map(e=>{let n=t.get(e.profileId);return{...e,profile:n}})}async fetchProfilesMap(){return new Map((await this.usersApi.getProfiles().catch(()=>[])).map(e=>[e.id,e]))}async deleteUsersMeToken(e){await this.usersApi.deleteUsersMeToken(e)}async requestLinkDevice(e){return this.coreSdk.linkDeviceInitiate(e)}async completeLinkDevice(){let e=this.getValidatedLinkDeviceCode();if(e){let t=this.partnerState.getCurrentPartnerId();await this.authenticationApi.connectDevice(e),await this.behaviorService.deviceLinkComplete({authMethod:t?"MVPD":"CODE",authProvider:t})}return!!e}async validateLinkDeviceCode(e){let t=this.partnerState.getCurrentPartnerId();await this.behaviorService.deviceLinkStart({authMethod:t?"MVPD":"CODE",authProvider:t});let n=await this.authenticationApi.validateLinkDeviceCode(e);this.state.linkDeviceCode=e,this.state.profileTransferToken=null==n?void 0:n.profileTransferToken}getValidatedLinkDeviceCode(){return this.state.linkDeviceCode||""}getProfileTransferToken(){return this.state.profileTransferToken||""}constructor(e,t,n,a,r,s,i){this.behaviorService=e,this.coreSdk=t,this.notifier=n,this.partnerState=a,this.authenticationApi=r,this.usersApi=s,this.state=i}}(0,k.gn)([a$({withPayloadFrom:e=>new al(e),instrumentWhen:aq})],rs.prototype,"fetchMeTokens",null),(0,k.gn)([a$({withPayloadFrom:e=>new al(e),instrumentWhen:aq})],rs.prototype,"fetchMeTokensWithProfile",null),(0,k.gn)([a$({withPayloadFrom:e=>new ao(e),instrumentWhen:aq})],rs.prototype,"deleteUsersMeToken",null),(0,k.gn)([eG()],rs.prototype,"requestLinkDevice",null),(0,k.gn)([nm(["linkDeviceCode"],{clearOnError:!0}),a$({withPayloadFrom(e){return new aD(e,this.partnerState.getCurrentPartnerId())},instrumentWhen:aq})],rs.prototype,"completeLinkDevice",null),(0,k.gn)([a$({withPayloadFrom:e=>new aO(e),instrumentWhen:aq})],rs.prototype,"validateLinkDeviceCode",null),(0,k.gn)([eF()],rs.prototype,"getValidatedLinkDeviceCode",null),(0,k.gn)([eF()],rs.prototype,"getProfileTransferToken",null);var ri=n(65216);let ro=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);class rl{async fetchInternalConfig(){return this.environment.fetchConfig()}getAllPartnerOAuthNames(){return this.environment.getConfig().partner.config.oauthName}getTenantId(){return this.environment.getConfig().brand.config.tenantId}getApplicationId(){return this.sessionContext.getApplicationId()}getBootstrapConfig(){return this.sessionContext.getCurrentBootstrapConfig()}fetchBootstrap(){return this.sessionContext.fetchBootstrap()}async getSubscriptions(){let e=await this.monetizationApi.fetchSubscriptions();return await this.notifier.sendSdkStateEvent(),e}getFeatureFlag(e){var t,n,a;return null!==(a=null===(n=null===(t=this.environment.getConfig())||void 0===t?void 0:t["feature-".concat(e)])||void 0===n?void 0:n.on)&&void 0!==a&&a}getLinkFromKey(e){var t;let{links:{config:n}}=this.environment.getConfig();return ro(n,e)||null===(t=this.notifier)||void 0===t||t.sendInstrumentationEvent(new aI(e).toErrorPayload()),n[e]||"#"}getExperimentData(e){let{flagId:t="",variantId:n="",source:a=""}=this.environment.getConfig()[e]||{};return{flagId:t,variantId:n,source:a}}trackBrowse(e){ri.Gr.updatePageApplicationState({type:e.pageType,name:e.pageName}),this.notifier.sendInstrumentationBehavior(new nj(e.referrerPageUri,e.referrerPageName))}async trackLabsDecisionAccessed(e){let t=this.getExperimentData(e);if("EXPERIMENT"===t.source){let e=new nV(t);this.notifier.sendInstrumentationBehavior(e)}}async fetchIdpAuthCode(e){return await this.coreSdk.fetchIdpAuthCode(null==e?void 0:e.scope)}resolveUrl(e){return this.sessionContext.resolveBoltUrl(e)}async formatPhoneNumber(e){let t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{parsePhoneNumberWithError:r}=await n.e(35819).then(n.bind(n,35819));if(!r)return e;try{t=r(e).formatInternational()}catch(n){if(a.laxValidation)t=e;else throw n}return t}async getHeadlessSdk(e){return this.headless.loadHeadlessSdk(e)}constructor(e,t,n,a,r,s){this.coreSdk=e,this.environment=t,this.monetizationApi=n,this.notifier=a,this.sessionContext=r,this.headless=s}}(0,k.gn)([eF()],rl.prototype,"getAllPartnerOAuthNames",null),(0,k.gn)([eF()],rl.prototype,"getTenantId",null),(0,k.gn)([eF()],rl.prototype,"getBootstrapConfig",null),(0,k.gn)([eG()],rl.prototype,"getSubscriptions",null),(0,k.gn)([eF()],rl.prototype,"getFeatureFlag",null),(0,k.gn)([eF()],rl.prototype,"getLinkFromKey",null),(0,k.gn)([eF()],rl.prototype,"getExperimentData",null),(0,k.gn)([eF()],rl.prototype,"trackBrowse",null),(0,k.gn)([eF()],rl.prototype,"trackLabsDecisionAccessed",null),(0,k.gn)([eG()],rl.prototype,"formatPhoneNumber",null),(0,k.gn)([eG()],rl.prototype,"getHeadlessSdk",null);var rc=n(84394),rd=n(69184),ru=n(27048),rp=n(59947),rg=n(46088),rh=n(87916),rm=n(76059),rv=n(47117),rf=JSON.parse('{"giWeb.accountLookup.continueButton.text":{"template":"Continue","notes":"(imperative verb) Accept any changes on the current page and go to the next step"},"giWeb.accountLookup.description.text":{"template":"Enter your email address to get started. If you’re already an HBO Max subscriber, enter the email associated with that account.","notes":"description for purchase flow account lookup"},"giWeb.accountLookup.description.text.partner":{"template":"Enter your email address to continue. If you have an HBO Max account, use that email address.","notes":"Descriptive text for the account lookup screen accepting only email."},"giWeb.accountLookup.emailInput.label":{"template":"Email Address","notes":"Label for the input field Email Address"},"giWeb.accountLookup.heading.text":{"template":"Get Started","notes":"Title of the page that tells unauthenticated users to create an account or sign in to an existing account."},"giWeb.accountLookup.heading.text.partner":{"template":"You’ve got HBO Max through {partnerName}! Let’s set you up. ","notes":"Title text for the account lookup screen accepting only email.","parameters":{"partnerName":{"type":"TEXT","notes":"The name of the partner the user accesses a client with."}}},"giWeb.accountLookup.helpLink.text":{"template":"Questions? Visit our Help Center","notes":"Account Lookup Component: help text at bottom of the form"},"giWeb.accountLookupCombined.accountFound.message":{"template":"Try a different email address or mobile number, or try signing in.","notes":"Error message displayed in account lookup when an existing email/phone is provided"},"giWeb.accountLookupCombined.description.text":{"template":"Enter your email address or mobile number to get started. If you’re already an HBO Max subscriber, enter the email or mobile number associated with that account.","notes":"Descriptive text for the account lookup screen accepting both email/mobile numbers."},"giWeb.accountLookupCombined.description.text.partner":{"template":"Enter your email address or mobile number to continue.","notes":"Description text for the account lookup screen accepting both email/mobile numbers."},"giWeb.accountLookupCombined.description2.text":{"template":"If you’re already an HBO Max subscriber, enter the information you use to sign in.","notes":"Account Lookup page, descriptive text that appears below the title, paragraph 2"},"giWeb.accountLookupCombined.heading.text":{"template":"Get Started","notes":"Title of the page that tells unauthenticated users to create an account or sign in to an existing account."},"giWeb.accountLookupCombined.heading.text.partner":{"template":"You’ve got HBO Max through {partnerName}! Let’s set you up. ","notes":"Title text for the account lookup screen accepting only email.","parameters":{"partnerName":{"type":"TEXT","notes":"The name of the partner the user accesses a client with."}}},"giWeb.accountLookupCombined.loginButton.text":{"template":"Sign In","notes":"(imperative verb) Enter your credentials and access the service. Also used as the page title for the sign-in page."},"giWeb.accountLookupCombined.submitButton.text":{"template":"Continue","notes":"(imperative verb) Accept any changes on the current page and go to the next step"},"giWeb.addEmailAndPassword.cancelButton.text":{"template":"Cancel","notes":"(imperative verb) Stop a process or request"},"giWeb.addEmailAndPassword.error.api.breached.password":{"template":"Unable to verify your password. Please create a different one.","notes":"Change password screen entering breaching password for new password."},"giWeb.addEmailAndPassword.error.api.conflict":{"template":"Please use a different email address.","notes":"Error message displayed when the user wants to use an email already registered."},"giWeb.addEmailAndPassword.error.api.forbidden.authup.required":{"template":"Please return to settings and add your email and password again.","notes":"Error message when used needs to revalidate authup status when attempting to add email and password."},"giWeb.addEmailAndPassword.heading.text":{"template":"Add Email Address and Password","notes":" "},"giWeb.addEmailAndPassword.submitButton.text":{"template":"Save","notes":"This action saves any changes on the current screen. It usually closes the screen, also."},"giWeb.brandName":{"template":"HBO Max","notes":"text to display app’s name"},"giWeb.compromisedPassword.submitButton.text":{"template":"Continue","notes":"(imperative verb) Accept any changes on the current page and go to the next step"},"giWeb.compromisedPassword.subtitle.text":{"template":"To continue streaming, please update your password.","notes":"When a users password appears on a compromised password list, this message tells them that they need to change their password."},"giWeb.compromisedPassword.title.text":{"template":"Update Your Password","notes":"The title of the modal prompted when the user tries to login with a compromised password that needs to be updated."},"giWeb.createAccount.email.description.text":{"template":"You’ll use your email to sign in to HBO Max.","notes":"Descriptive text used in create account when providing an email"},"giWeb.createAccount.email.partnerDescription.text":{"template":"Connected to your {partnerName} account. You’ll use your email address to sign in to HBO Max.","notes":"Descriptive text used in create account when providing an email in a partner flow","parameters":{"partnerName":{"type":"TEXT","notes":"The partner name of the given user."}}},"giWeb.createAccount.error.api.invalid.payload":{"template":"Check your email address or try signing in with the email you entered below.","notes":"Create account form: error message when user provides an email that already exists in system"},"giWeb.createAccount.error.api.username.found.different.market":{"template":"That email address can’t be used. Try a different email or visit the Help Center.","notes":"This message displays when the user tries to create an account with an email that is already connected to an existing account in a different market."},"giWeb.createAccount.error.phone.exists":{"template":"Check your mobile number or try signing in with the mobile number you entered below.","notes":"Create account form: error message when user provides a mobile number that already exists in system"},"giWeb.createAccount.heading.text":{"template":"Create Your Account","notes":"Title of the page where new users create an account. Note that accounts are not the same as subscriptions or profiles (see the Usage Dictionary)."},"giWeb.createAccount.phone.description.text":{"template":"You’ll use your mobile number to sign in to HBO Max.","notes":"Descriptive text used in create account when providing a mobile number"},"giWeb.createAccount.phone.partnerDescription.text":{"template":"Connected to your {partnerName} account. You’ll use your mobile number to sign in to HBO Max.","notes":"Descriptive text used in create account when providing a mobile number in a partner flow","parameters":{"partnerName":{"type":"TEXT","notes":"The partner name of the given user."}}},"giWeb.createAccount.submitButton.text":{"template":"Create Account","notes":"(imperative verb) Save user information on the page and build a Max account using this information."},"giWeb.createAccount.switch.email.description.text":{"template":"Or, create an account with your email address.","notes":"Descriptive text used in create account to switch to email screen"},"giWeb.createAccount.switch.phone.description.text":{"template":"Or, create an account with your mobile number.","notes":"Descriptive text used in create account to switch to phone screen"},"giWeb.createPassword.description.text":{"template":"You’ll use this password to sign in to your HBO Max account.","notes":"Body text that provides additional context about how the password is used."},"giWeb.createPassword.heading.text":{"template":"Create Your Password","notes":"Create Password component: heading that sits above the form."},"giWeb.createPassword.password.label":{"template":"Password","notes":"Field label for password input."},"giWeb.createPassword.password.optional.text":{"template":"optional","notes":"Create Password component: optional label for the new password input."},"giWeb.createPassword.skipButton.text":{"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."},"giWeb.createPassword.submitButton.text":{"template":"Create Password","notes":" "},"giWeb.deviceConnect.error.description.text":{"template":"Something went wrong. Please try again.","notes":"General error that appears when an API call fails. This text is the standard text for any on-page fallback message."},"giWeb.deviceConnect.error.heading.text":{"template":"Error!","notes":"Device Connect Component: Heading text for error message screen when user linking fails."},"giWeb.deviceConnect.helpLink":{"template":"Need help? Visit our Help Center","notes":"Device Connect Component: Help link/support external link for error message screen when user linking fails. URL destination for Help Center is help.max.com"},"giWeb.deviceLinking.activationCodeInput.label":{"template":"TV Code","notes":"Device Linking Component: label for the OTP input field."},"giWeb.deviceLinking.description.text":{"template":"Enter the code that appears on your TV.","notes":"Device Linking Component: Description displayed above the OTP form and below the title."},"giWeb.deviceLinking.error.api.code.expired":{"template":"This code has expired. Get a new code on your TV.","notes":"Device Linking Component: API Error response displayed when OTP code has expired. API error noted here: https://docs.disco-api.com/apidocs/#device-linking"},"giWeb.deviceLinking.error.api.invalid.code":{"template":"The code you entered doesn’t match, please try again by generating another code from your TV","notes":"Device Linking Component: API Error response displayed when OTP code does not match with the one provided. API error noted here: https://docs.disco-api.com/apidocs/#device-linking"},"giWeb.deviceLinking.forms.validation.error.activationCode.length":{"template":"The activation code must be at least {minLength} characters.","parameters":{"minLength":{"type":"TEXT","notes":"Value provided to minimum length input validation."}},"notes":"Device Linking Component: Inline Error response displayed below the OTP input field when OTP code is not completely filled out."},"giWeb.deviceLinking.heading.text":{"template":"Enter Code","notes":"Device Linking Component: Heading displayed above the OTP form."},"giWeb.deviceLinking.helpLink.text":{"template":"Need help signing in?","notes":"External Link: Sign In support link that appears below the Sign In and Connect your Provider sections, for desktop. Final target for link should be help.max.com/signin"},"giWeb.deviceLinking.submitButton.text":{"template":"Next","notes":"This action takes the user to the next step in a multi-step flow. (The full text in a sentence would be *Go to the next screen/step.*"},"giWeb.enterPassword.cancelButton.text":{"template":"Cancel","notes":"(imperative verb) Stop a process or request"},"giWeb.enterPassword.continueButton.text":{"template":"Next","notes":"This action takes the user to the next step in a multi-step flow. (The full text in a sentence would be *Go to the next screen/step.*"},"giWeb.enterPassword.description.text":{"template":"Enter the account password to continue.","notes":"When a user attempts an action that changes critical account information, we prompt them to enter their password first. *To continue* could refer to an action like changing their email address, changing a profile pin, updating payment information, etc."},"giWeb.enterPassword.forgotPasswordLink.text":{"template":"Forgot Password?","notes":"This prompt takes the user to the Reset Password flow. This version is just the prompt text as an active link. The URL is not shown."},"giWeb.enterPassword.forms.validation.error.password.required":{"template":"That password doesn’t look right.","notes":" "},"giWeb.enterPassword.heading.text":{"template":"Enter Password","notes":" "},"giWeb.flowErrorScreen.error.description.text":{"template":"Something went wrong. Please try again.","notes":"General error that appears when an API call fails. This text is the standard text for any on-page fallback message."},"giWeb.flowErrorScreen.error.heading.text":{"template":"Something went wrong","notes":"Error title displayed for get payment-providers failed."},"giWeb.forgotPassword.cancel.text":{"template":"Cancel","notes":"(imperative verb) Stop a process or request"},"giWeb.forgotPassword.description.text":{"template":"Enter the email address you use for HBO Max, and we’ll send you a password reset link. ","notes":"Forgot Password Form Component: Description displayed above the form and below the title."},"giWeb.forgotPassword.emailInput.label":{"template":"Email Address","notes":"Label for the input field Email Address"},"giWeb.forgotPassword.error.api.exceeded.request.limit":{"template":"You have requested too many password reset links. Please try again in a few minutes.","notes":"Error message when user reaches max attempts for password reset in a time frame"},"giWeb.forgotPassword.heading.text":{"template":"Reset your password","notes":"Forgot Password Form Component: title that sits above the form."},"giWeb.forgotPassword.submitButton.text":{"template":"Submit","notes":"(imperative verb) Send a completed form to service."},"giWeb.forgotPasswordConfirmation.heading.text":{"template":"Check Your Inbox","notes":"This message tells the user that we have sent them a functional email (that contains instructions or links that allow them to continue the process)."},"giWeb.forgotPasswordConfirmation.helpCenter.label":{"template":"Can’t Reset Password?","notes":" "},"giWeb.forgotPasswordConfirmation.instructions.text1":{"template":"We sent you an email with a password reset link.","notes":"When the user requests a password reset, this message tells them to check for the reset email. (Email in this context refers to the actual email message.)"},"giWeb.forgotPasswordConfirmation.instructions.text2":{"template":"If you don’t receive it soon, see Can’t Reset Password?","notes":"Forgot Password Confirmation: second paragraph to display after user has submitted forgot password form. Anchor text to direct user to help.max.com/cant-resetpassword"},"giWeb.forgotPasswordConfirmation.okButton.text":{"template":"OK","notes":"Acknowledges and closes a dialog or message."},"giWeb.general.close.ariaLabel":{"template":"Close","notes":"(imperative verb) Close a window or dialog."},"giWeb.general.error.api.access.denied.geoblocked":{"template":"We’re sorry. This request is not allowed from this location.","notes":"General API Error: May appear on multiple screens, typically with login or playback endpoints when a user makes a call in a region they’re not registered from. Can also be a result of using a VPN to spoof territories. API error noted here: https://docs.disco-api.com/apidocs/#login"},"giWeb.general.error.api.arkose.invalid.token":{"template":"Something went wrong. Please try again.","notes":"General error that appears when an API call fails. This text is the standard text for any on-page fallback message."},"giWeb.general.error.api.arkose.required":{"template":"Something went wrong. Please try again.","notes":"General error that appears when an API call fails. This text is the standard text for any on-page fallback message."},"giWeb.general.error.api.breached.password":{"template":"Unable to verify your password. Please create a different one.","notes":"Change password screen entering breaching password for new password."},"giWeb.general.error.api.code.expired":{"template":"This code has expired. Get a new code on your TV.","notes":"Device Linking Component: API Error response displayed when OTP code has expired. API error noted here: https://docs.disco-api.com/apidocs/#device-linking"},"giWeb.general.error.api.complexity.not.met":{"template":"Must be between 10 and 128 characters with no more than 4 repeating characters in a row.","notes":"This error message appears under any create password or change password field. It is used for several error scenarios."},"giWeb.general.error.api.conflict.3":{"template":"Something went wrong, please try again later","notes":"General API Error: Appears on Login or Create Account when a user enters in a phone number that is already being used by another account. API error noted here: https://docs.disco-api.com/apidocs/#change-otp-phone-number"},"giWeb.general.error.api.default":{"template":"Something went wrong. Please try again.","notes":"General error that appears when an API call fails. This text is the standard text for any on-page fallback message."},"giWeb.general.error.api.exceeded.request.limit":{"template":"Something went wrong. Please try again.","notes":"General error that appears when an API call fails. This text is the standard text for any on-page fallback message."},"giWeb.general.error.api.hmac.required":{"template":"Something went wrong. Please try again.","notes":"General error that appears when an API call fails. This text is the standard text for any on-page fallback message."},"giWeb.general.error.api.invalid.code":{"template":"The code you entered doesn’t match, please try again by generating another code from your TV","notes":"Device Linking Component: API Error response displayed when OTP code does not match with the one provided. API error noted here: https://docs.disco-api.com/apidocs/#device-linking"},"giWeb.general.error.api.invalid.otp":{"template":"Invalid code. Please try again or request a new code.","notes":"General API Error: Can be returned from any OTP service endpoint. Displayed when OTP code does not match with the one provided OR it has expired. API error noted here: https://docs.disco-api.com/apidocs/#add-validated-phone-number"},"giWeb.general.error.api.invalid.parameter":{"template":"That doesn’t look right. Check your information and try again.","notes":"This error appears on the sign in screen when the user enters invalid information into a sign-in field."},"giWeb.general.error.api.invalid.payload":{"template":"Something went wrong, please try again later","notes":"General API Error: Can be returned from almost any service endpoint. Displayed when the payload sent by the client is missing a required value. One example would be the client not sending the email or password as part of the login call, or missing the profileID to update when making a profile call. API error noted here: https://docs.disco-api.com/apidocs/#login"},"giWeb.general.error.api.invalid.token":{"template":"That doesn’t look right. Check your information and try again.","notes":"This error appears on the sign in screen when the user enters invalid information into a sign-in field."},"giWeb.general.error.api.not.found":{"template":"Something went wrong. Please try again.","notes":"General error that appears when an API call fails. This text is the standard text for any on-page fallback message."},"giWeb.general.error.api.password.needs.reset":{"template":"Your password does not meet our security standards. To protect your account, please select \\"Reset Password\\" and create a new password.","notes":"General API Error: Presented on login when a user must update their password to meet security requirements. This could result from us changing our password complexity or a user migrating from a legacy service with an old password. API error noted here: https://docs.disco-api.com/apidocs/#password-complexity"},"giWeb.general.error.api.readonly.route":{"template":"Something went wrong. Please try again.","notes":"General error that appears when an API call fails. This text is the standard text for any on-page fallback message."},"giWeb.general.error.api.server.error":{"template":"Something went wrong. Please try again.","notes":"General error that appears when an API call fails. This text is the standard text for any on-page fallback message."},"giWeb.general.error.api.unauthorized":{"template":"That email address or password doesn’t look right.","notes":"This message is used for both email and password errors."},"giWeb.general.error.api.unauthorized.account.locked":{"template":"Something went wrong. Please try again.","notes":"General error that appears when an API call fails. This text is the standard text for any on-page fallback message."},"giWeb.general.error.api.username.exists":{"template":"Check your email address and password or try signing in.","notes":"This message displays when the user tries to create an account with an email that is already connected to an existing account."},"giWeb.general.error.general":{"template":"Something went wrong. Please try again.","notes":"General error that appears when an API call fails. This text is the standard text for any on-page fallback message."},"giWeb.general.error.heading.text":{"template":"Something Went Wrong","notes":"Title for a dialog for any unknown error condition.","createdBy":"dorothy.lindman@wbd.com"},"giWeb.general.error.retryButton.text":{"template":"Try Again","notes":"(imperative verb) Attempt to perform the same action or command"},"giWeb.general.forms.codeInput.clearButton.ariaLabel":{"template":"Clear Code","notes":"Shared Form Element: Aria label applied to the clear button on one-time passcode inputs."},"giWeb.general.forms.confirmEmailInput.clearButton.ariaLabel":{"template":"Clear Email Confirmation","notes":"Shared Form Element: Aria label applied to the clear button on confirmation email inputs."},"giWeb.general.forms.confirmEmailInput.label":{"template":"Confirm Email Address","notes":"Create Account/Register Username Component: Label for email confirmation input."},"giWeb.general.forms.emailInput.clearButton.ariaLabel":{"template":"Clear Email","notes":"Shared Form Element: Aria label applied to the clear button on email inputs."},"giWeb.general.forms.emailInput.label":{"template":"Email Address","notes":"Label for the input field Email Address"},"giWeb.general.forms.emailInput.suggestion.confirmButton.text":{"template":"Yes","notes":" "},"giWeb.general.forms.emailInput.suggestion.text":{"template":"Did you mean {suggestedEmail}?","parameters":{"suggestedEmail":{"type":"TEXT","notes":"The auto-corrected suggestion provided by email validator."}},"notes":"Appears when the user enters a misspelling of a common email domains, e.g., if the user types in david@gmali.com, this message will suggest david@gmail.com."},"giWeb.general.forms.emailInput.suggestion.text.ariaLabel":{"template":"Did you mean {suggestedEmail}?","parameters":{"suggestedEmail":{"type":"TEXT","notes":"The auto-corrected suggestion provided by email validator."}},"notes":"Appears when the user enters a misspelling of a common email domains, e.g., if the user types in david@gmali.com, this message will suggest david@gmail.com."},"giWeb.general.forms.error.signInButton.text":{"template":"Sign In","notes":"(imperative verb) Enter your credentials and access the service. Also used as the page title for the sign-in page."},"giWeb.general.forms.fieldLegend.text":{"template":"* Indicates a required field.","notes":"A note that explains that required fields are marked with an asterisk"},"giWeb.general.forms.firstNameInput.clearButton.ariaLabel":{"template":"Clear First Name","notes":"Shared Form Element: Aria label applied to the clear button on first name inputs."},"giWeb.general.forms.firstNameInput.label":{"template":"First Name","notes":"Label for the user’s first name or personal name"},"giWeb.general.forms.lastNameInput.clearButton.ariaLabel":{"template":"Clear Last Name","notes":"Shared Form Element: Aria label applied to the clear button on last name inputs."},"giWeb.general.forms.lastNameInput.label":{"template":"Last Name","notes":"Field label for the user’s last name or family name"},"giWeb.general.forms.otpInput.error.goBackButton.text":{"template":"Go Back","notes":"(imperative verb) Return to the previous page or screen"},"giWeb.general.forms.passwordInput.hidePassword.ariaLabel":{"template":"Hide password","notes":"Shared Form Element: Aria label applied to the hide(mask) password button on password inputs."},"giWeb.general.forms.passwordInput.hidePassword.text":{"template":"Hide","notes":"Selecting this option hides the contents of the password field."},"giWeb.general.forms.passwordInput.hint":{"template":"Password must be at least 10 characters with no more than 4 repeating characters in a row.","notes":"This hint appears below the Password field when a user is creating or changing their password. If the user enters an invalid password, then this string is replaced with the Password Breaks Rules field error."},"giWeb.general.forms.passwordInput.label":{"template":"Password","notes":"Field label for password input."},"giWeb.general.forms.passwordInput.optional":{"template":"(optional)","notes":"Indicates that an input field is optional."},"giWeb.general.forms.passwordInput.showPassword.ariaLabel":{"template":"Show password","notes":"Shared Form Element: Aria label applied to the show(unmask) password button on password inputs."},"giWeb.general.forms.passwordInput.showPassword.text":{"template":"Show","notes":"Selecting this option reveals contents hidden in the password field to users."},"giWeb.general.forms.phoneEmailInput.label":{"template":"Email Address or Mobile Number","notes":"Generic label for the field where the user enters their phone number or email address."},"giWeb.general.forms.phoneInput.clearButton.ariaLabel":{"template":"Clear Phone Number","notes":"Shared Form Element: Aria label applied to the clear button on phone number inputs."},"giWeb.general.forms.phoneInput.hint":{"template":"We’ll send a one-time code to verify your number.","notes":"Text beneath a mobile number form field input"},"giWeb.general.forms.phoneInput.label":{"template":"Mobile Number","notes":"Label for the user’s mobile number"},"giWeb.general.forms.searchInput.clearButton.ariaLabel":{"template":"Clear Search","notes":"Shared Form Element: Aria label applied to the clear button on search inputs."},"giWeb.general.forms.submitButton.loading.ariaLabel":{"template":"Form submitted. Your request is pending","notes":"Shared Form Element: Aria label applied to all submit buttons when they are in a loading/pending state."},"giWeb.general.forms.validation.error.a11y":{"template":"Error: {errorMessage}","notes":"A11y input error text used when user introduce any value in the input and the values are not correct akka doesn’t pass the validation","parameters":{"errorMessage":{"type":"TEXT","notes":"Input validation error message"}}},"giWeb.general.forms.validation.error.currentPassword.unmatch":{"template":"Your new password must be different than your current password.","notes":"Error message displayed when a user attempts to change their password to their existing password."},"giWeb.general.forms.validation.error.email.confirmation.required":{"template":"Please confirm your email address.","notes":"Field error telling the user that they must enter an email address confirmation. This error appears when the user leaves the field empty."},"giWeb.general.forms.validation.error.email.format":{"template":"Try using the format yourname@email.com","notes":"Field error telling the user the correct format for their email address."},"giWeb.general.forms.validation.error.email.match":{"template":"Email addresses don’t match.","notes":"Message shown when the user confirms their email address and the values are different."},"giWeb.general.forms.validation.error.email.required":{"template":"Please enter your email address.","notes":"Field error telling the user that they must enter an email address. This error appears when the user leaves the field empty."},"giWeb.general.forms.validation.error.firstName.format":{"template":"You can use up to 40 characters, including letters, spaces, commas, periods, apostrophes, and hyphens.","notes":"When the user enters either their first or last name, this error appears when the name entered is too long (more than 40 characters) or contains unsupported characters. (The list of characters in the message are the *allowed* characters.)"},"giWeb.general.forms.validation.error.firstName.required":{"template":"Please enter your first name.","notes":"Field error telling the user that they must enter a first name. This error appears when the user leaves the field empty. This version is used for screen readers."},"giWeb.general.forms.validation.error.lastName.format":{"template":"You can use up to 40 characters, including letters, spaces, commas, periods, apostrophes, and hyphens.","notes":"When the user enters either their first or last name, this error appears when the name entered is too long (more than 40 characters) or contains unsupported characters. (The list of characters in the message are the *allowed* characters.)"},"giWeb.general.forms.validation.error.lastName.required":{"template":"Please enter your last name.","notes":"Field error telling the user that they must enter a last name. This error appears when the user leaves the field empty."},"giWeb.general.forms.validation.error.newPassword.match":{"template":"Passwords don’t match.","notes":" "},"giWeb.general.forms.validation.error.oneTimePasscode.required":{"template":"Enter the one-time code to continue.","notes":"Field error telling the user that they must enter a one-time code. This error appears when the user leaves the field empty."},"giWeb.general.forms.validation.error.password.complexity":{"template":"Password must be at least 10 characters with no more than 4 repeating characters in a row.","notes":"This hint appears below the Password field when a user is creating or changing their password. If the user enters an invalid password, then this string is replaced with the Password Breaks Rules field error."},"giWeb.general.forms.validation.error.password.length":{"template":"Must be between 10 and 128 characters with no more than 4 repeating characters in a row.","notes":"This error message appears under any create password or change password field. It is used for several error scenarios."},"giWeb.general.forms.validation.error.phone.required":{"template":"Please check your number and try again.","notes":"Error subtitle that appears under the mobile number fields for the mobile number"},"giWeb.general.forms.validation.error.required":{"template":"Required","notes":"Shared Form Element: Inline error response when generic input is empty. Appears below given input field."},"giWeb.general.links.helpCentre":{"template":"Help Centre","notes":"External Link: Links to the support center. Might not be necessary, still waiting finalized external links."},"giWeb.general.links.helpCentreFromPartner":{"template":"Not sure which one to choose?","notes":"External Link: Links to the support center from partner screens. Might not be necessary, still waiting finalized external links."},"giWeb.general.links.privacyPolicy":{"template":"Privacy Policy","notes":"Title of the legal document defining how the service uses personal information from users. Used in multiple places. Always refer to the translation glossary for this term."},"giWeb.general.links.visitorAgreement":{"template":"Visitor Agreement","notes":"External Link: Links to visitors agreement. Might not be necessary, still waiting finalized external links."},"giWeb.general.notification.error.ariaLabel":{"template":"Error","notes":"This can be used for both generic and specific errors as a label or a title."},"giWeb.general.opensNewWindow.text":{"template":"Opens in new window","notes":"External Link: Applies this value to the aria-describedby property on all links that have the target=_blank attribute."},"giWeb.loginUsername.description.text":{"template":"Enter your HBO Max account email address and password.","notes":"Instructions for signing in (used as the button subtitle on the default userwall)."},"giWeb.loginUsername.emailInput.label":{"template":"Email Address","notes":"Label for the input field Email Address"},"giWeb.loginUsername.findYourProviderButton.text":{"template":"Find Your Provider","notes":"CTA on the Login page that directs the user to the Partner Picker page. This only appears in non-priority regions when the Partner Picker Tiles are not present on the login screen."},"giWeb.loginUsername.forgotPasswordLink.text":{"template":"Forgot Password?","notes":"This prompt takes the user to the Reset Password flow. This version is just the prompt text as an active link. The URL is not shown."},"giWeb.loginUsername.heading.text":{"template":"Sign In","notes":"(imperative verb) Enter your credentials and access the service. Also used as the page title for the sign-in page."},"giWeb.loginUsername.loginButton.text":{"template":"Sign In","notes":"(imperative verb) Enter your credentials and access the service. Also used as the page title for the sign-in page."},"giWeb.loginUsername.passwordInput.label":{"template":"Password","notes":"Field label for password input."},"giWeb.loginUsernameAndMvpd.aggregatorPartnerPickerLink.text":{"template":"Create an HBO Max account by connecting your TV, mobile, or internet provider.","notes":"The text under login that takes user to the partner picker page for EMEA partners"},"giWeb.loginUsernameAndMvpd.heading.text":{"template":"Get Started","notes":"Title of the page that tells unauthenticated users to create an account or sign in to an existing account."},"giWeb.loginUsernameAndMvpd.helpLink.text":{"template":"Need help signing in?","notes":"External Link: Sign In support link that appears below the Sign In and Connect your Provider sections, for desktop. Final target for link should be help.max.com/signin"},"giWeb.loginUsernameAndMvpd.partnerPicker.description.text":{"template":"Select your internet, mobile, or TV provider below to connect your subscription.","notes":"Login with Username or Provider Component: This description overrides the partner picker default description on the login page."},"giWeb.loginUsernameAndMvpd.partnerPicker.heading.text":{"template":"Connect Your Provider","notes":"(imperative verb) Starts the process for linking the users Max account to a partner account. (Removed apostrophe from notes to avoid issues)"},"giWeb.loginUsernameAndMvpd.partnerPickerLink.text":{"template":"Do you get HBO Max through an internet, mobile, or TV provider?","notes":"The descriptive text under on the Connect Your Provider button on the userwall. Phrased as a question."},"giWeb.manageDevices.error.api.not.found":{"template":"Unable to sign out of {deviceName}. Please try again.","parameters":{"deviceName":{"type":"TEXT","notes":"The name of the device that was unable to be signed out of."}},"notes":"Manage Devices Component: Error notification text that appears when a user attempts to sign out of their current device and the request fails."},"giWeb.manageDevices.heading.text":{"template":"Manage Devices","notes":"(imperative verb) This action takes the user to a page where they can see all the devices signed in to their account and remove them. Also used as the page title for the following screen."},"giWeb.manageDevices.lostOrStolen.description.text":{"template":"Lost or stolen device? To protect your account, change your password before signing out. Learn More","notes":"Note at the top of the Manage Devices page advising the user what to do if one of their devices has been lost or stolen device. (The expanded form of the question is *[Do you have a] Lost or stolen device?*). URL should be help.max.com/security-tips"},"giWeb.manageDevices.otherDevices.heading.text":{"template":"Other Devices ({deviceCount})","notes":"Manage Devices Component: Heading text displayed above the devices list.","parameters":{"deviceCount":{"type":"NUMBER","notes":"Number of devices that are currently signed in to the account, excluding the current device."}}},"giWeb.manageDevices.otherDevices.removeButton.ariaLabel":{"template":"Remove","notes":"(imperative verb) This action removes an item from a list or group. It is a non-destructive action and does not impact the item itself. (For destructive actions, use Delete)."},"giWeb.manageDevices.otherDevices.signOut.ariaLabel":{"template":"Sign out of {device}, {deviceIndex} of {deviceCount}, Last used: {date}, {location}","parameters":{"device":{"type":"TEXT","notes":"Device name"},"deviceIndex":{"type":"TEXT","notes":"Device index"},"deviceCount":{"type":"TEXT","notes":"Amount of devices"},"date":{"type":"TEXT","notes":"Date last used"},"location":{"type":"TEXT","notes":"Location of device"}},"notes":"Accessibility label for sign out of device button"},"giWeb.manageDevices.signOutButton.text":{"template":"Sign Out of All Devices","notes":"Manage Devices Component: Sign out of all devices CTA text."},"giWeb.manageDevices.thisDevice.heading.text":{"template":"This Device","notes":"Label that indicates the current device. This label is usually used on the Device Management page."},"giWeb.oauthConfirmPage.cta.continue":{"template":"Continue","notes":"(imperative verb) Accept any changes on the current page and go to the next step"},"giWeb.oauthConfirmPage.cta.signout":{"template":"Sign Out","notes":"This action signs the user out of their account (but does not close the app). The user will have re-enter their account credentials."},"giWeb.oauthConfirmPage.description":{"template":"Select “Continue” to sign in to {partnerName} with your HBO Max account.","notes":"OAuth confirm/already logged in page: Description text that appears if a user is already logged in when authenicating via OAuth","parameters":{"partnerName":{"type":"TEXT","notes":"The name of the partner that is authenticating using our OAuth flow."}}},"giWeb.oauthConfirmPage.heading":{"template":"Hi, {userFirstName}!","notes":"Greet the user on OAUTH page","parameters":{"userFirstName":{"type":"TEXT","notes":"The first name of the logged user"}}},"giWeb.oauthErrorPage.error.entitlementNotFound":{"template":"It looks like your account doesn’t have access to HBO Max. If you think this is a mistake, please contact the Help Center.","notes":"Error message displayed for lack of entitlement on the oauth error page for using Max as a third party login."},"giWeb.oauthErrorPage.error.general":{"template":"Something went wrong. Please try signing in to {oAuthPartner} with your HBO Max account.","notes":"Error message displayed for generic errors on the oauth error page for using Max as a third party login.","parameters":{"oAuthPartner":{"type":"TEXT","notes":"Name of the partner trying to use oAuth"}}},"giWeb.oauthErrorPage.heading":{"template":"Something Went Wrong","notes":"Title for a dialog for any unknown error condition.","createdBy":"dorothy.lindman@wbd.com"},"giWeb.oneTimePasscode.error.api.conflict":{"template":"Please use a different mobile number.","notes":"Update Phone Number Component: Error message displayed when the user wants to use a phone number already registered."},"giWeb.oneTimePasscode.error.api.exceeded.request.limit":{"template":"Exceeded limit for requesting one-time password. Please try again later.","notes":"Request Limit Exceeded API Error specific to send OTP: Appears on screens that display the One Time Code input and occurs when a user makes too many requests in a short period of time."},"giWeb.oneTimePasscode.error.api.forbidden.authup.required":{"template":"Please return to settings and add your mobile number again.","notes":"Error message when used needs to revalidate authup status when attempting to update phone number."},"giWeb.oneTimePasscode.error.api.invalid.otp":{"template":"We couldn’t send a code. Please select \\"Get New Code\\" to try again.","notes":"Error message displayed when there’s a backend issue sending a code to the client"},"giWeb.oneTimePasscode.error.api.invalid.otp.code":{"template":"The codes don’t match. Please try again.","notes":"Unauthorized error when one time passcode doesn’t match"},"giWeb.oneTimePasscode.error.api.invalid.otp.destination":{"template":"Something went wrong. Please try again.","notes":"General error that appears when an API call fails. This text is the standard text for any on-page fallback message."},"giWeb.oneTimePasscode.error.api.invalid.otp.giid":{"template":"Something went wrong. Please try again.","notes":"General error that appears when an API call fails. This text is the standard text for any on-page fallback message."},"giWeb.oneTimePasscode.error.api.invalid.otp.max.failed.attempts":{"template":"You’ve entered the wrong code too many times. Select \\"Get New Code\\" and try again.","notes":"Error message displayed when the user enters wrong code too many times"},"giWeb.oneTimePasscode.error.api.invalid.otp.not.found":{"template":"This code has expired. Please select \\"Get New Code\\" to try again.","notes":"Error message displayed when the user enters an expired code"},"giWeb.oneTimePasscode.error.api.invalid.payload":{"template":"We couldn’t send a code. Please select \\"Get New Code\\" to try again.","notes":"Error message displayed when there’s a backend issue sending a code to the client"},"giWeb.oneTimePasscode.error.api.too.many.requests":{"template":"Something went wrong. Please try again later.","notes":" "},"giWeb.oneTimePasscode.error.api.unauthorized":{"template":"That email address or mobile number doesn’t look right.","notes":"Error message that shows if user inputs an email or phone number that does not have an existing account"},"giWeb.oneTimePasscodeAuthUp.error.api.unauthorized":{"template":"The codes don’t match. Please try again.","notes":"Unauthorized error when one time passcode doesn’t match"},"giWeb.oneTimePasscodeEmail.description.text":{"template":"Verify your email address using the one-time code we sent to {emailAddress}","notes":"Descriptor below the One Time Code title notifying the user we sent a code to their email.","parameters":{"emailAddress":{"type":"TEXT","notes":"Value provided for users email address."}}},"giWeb.oneTimePasscodeEmail.heading.text":{"template":"Check Your Email","notes":"Title text in email OTP screen for sign in"},"giWeb.oneTimePasscodeForm.codeSent.text":{"template":"Code Sent.","notes":"OTP Form Component: Confirmation message displayed after the user requests a new one-time code."},"giWeb.oneTimePasscodeForm.editButton.text":{"template":"Edit","notes":"(imperative verb) This action unlocks one or more settings so the user can make changes."},"giWeb.oneTimePasscodeForm.getNewCode.text":{"template":"Didn’t receive the code? Get New Code","notes":"Text signalling to the user to request a new one-time code"},"giWeb.oneTimePasscodeForm.getNewCodeButton.text":{"template":"Get New Code","notes":"(imperative verb) This action expires any current link code and gives the user a new one."},"giWeb.oneTimePasscodeForm.getNewCodeCountdown.text":{"template":"Code Sent You can get a new code in {countdown} seconds.","parameters":{"countdown":{"type":"TEXT","notes":"Remaining seconds before a new one-time code can be requested."}},"notes":"OTP Form Component: Countdown message with the remaining seconds before a new one-time code can be requested."},"giWeb.oneTimePasscodeForm.helpCenter.text":{"template":"Need help? Visit our Help Center","notes":"Device Connect Component: Help link/support external link for error message screen when user linking fails. URL destination for Help Center is help.max.com"},"giWeb.oneTimePasscodeForm.input.label.text":{"template":"One-Time Code","notes":"Label for the field where the user enters a temporary or one-time passcode."},"giWeb.oneTimePasscodeForm.modal.description.text":{"template":"You can only request 5 new codes every hour. Try re-entering the last code we sent you.","notes":"User has requested too many one-time-passcodes in a short period of time. This message appears as a dialog to inform the user that they have exceeded the limit."},"giWeb.oneTimePasscodeForm.modal.heading.text":{"template":"Too Many New Code Requests","notes":"Title of the message that tells the user that they have exceeded the limit for requesting new codes."},"giWeb.oneTimePasscodeForm.modal.okButton.text":{"template":"Try Again","notes":"(imperative verb) Attempt to perform the same action or command"},"giWeb.oneTimePasscodeForm.sendingCode.description":{"template":"Sending Code...","notes":"One Time Passcode Component: Description message showed when user clicks to request a new code and the form is waiting for the network request to complete. OTP component appears prior to edit username/name/password screens."},"giWeb.oneTimePasscodeForm.submitButton.text":{"template":"Submit","notes":"(imperative verb) Send a completed form to service."},"giWeb.oneTimePasscodeForm.usePasswordInstead.text":{"template":"Use Password Instead","notes":"Text for button that brings user to password sign in screen"},"giWeb.oneTimePasscodePhone.description.text":{"template":"Verify your mobile number using the one-time code we sent to {phoneNumber}","notes":"Descriptor below the One Time Code title notifying the user we sent a code to their phone.","parameters":{"phoneNumber":{"type":"TEXT","notes":"Value provided for users phone number."}}},"giWeb.oneTimePasscodePhone.heading.text":{"template":"Check Your Messages","notes":"Title text in phone OTP screen for sign in"},"giWeb.oneTimePasscodeUsername.description.text":{"template":"Verify it’s you by entering the one-time code we sent to: {username}","notes":"Descriptor below the One Time Code title notifying the user we sent a code to their username.","parameters":{"username":{"type":"TEXT","notes":"Value provided for users username(email or phone)."}}},"giWeb.partnerAccountFound.createNewAccountButton.text":{"template":"Create New Account","notes":"Partner Account Found Component: CTA button to take user to account creation."},"giWeb.partnerAccountFound.heading.text":{"template":"Account Found","notes":"Partner Account Found Component: Heading that appears above description/body text."},"giWeb.partnerAccountFound.linkAccountDescription.text":{"template":"If you want to use this email to sign in to HBO Max and connect your {partner} subscription, please verify your email address.","notes":"Partner Account Found Component: (2)Second of three description body/text entities.","parameters":{"partner":{"type":"TEXT","notes":"The partner name of the given user."}}},"giWeb.partnerAccountFound.usesExistingEmail.text":{"template":"We found an existing HBO Max account that may already use this email address.","notes":"Partner Account Found Component: (1)First of three description body/text entities."},"giWeb.partnerAccountFound.verifyEmailAddressButton.text":{"template":"Verify Email Address","notes":"This action triggers a flow that sends the user an email with a passcode for them to enter. This version should be used in most cases."},"giWeb.partnerAccountFound.verifyEmailDescription.text":{"template":"If you don’t want to use this email to sign in to HBO Max, you can create a new account using a different email address.","notes":"Partner Account Found Component: (3)Third of three description body/text entities."},"giWeb.partnerConnectAccount.cancelButton.text":{"template":"Cancel","notes":"(imperative verb) Stop a process or request"},"giWeb.partnerConnectAccount.confirmButton.text":{"template":"Confirm","notes":"(imperative verb) Approve a previously-requested action."},"giWeb.partnerConnectAccount.description.directSubscription.text1":{"template":"You’re about to connect your HBO Max account to a subscription billed through {partner}.","notes":"Partner Connect Your Account Component: One of two possible description texts that appear. This is for direct to consumer users. First Paragraph.","parameters":{"partner":{"type":"TEXT","notes":"The partner name of the given user."}}},"giWeb.partnerConnectAccount.description.directSubscription.text2":{"template":"Please note that this change will cancel your direct subscription and you will no longer be billed directly by HBO Max.","notes":"Partner Connect Your Account Component: One of two possible description texts that appear. This is for direct to consumer users. Second Paragraph."},"giWeb.partnerConnectAccount.description.emeaSubscription.text":{"template":"Any free trials, benefits, promotional offers, discounts, or add-ons that you may currently benefit from will not apply to your new plan and will immediately end.","notes":"Partner Connect Your Account Component: Third paragraph. This is legal disclaimer text specific to the EMEA region."},"giWeb.partnerConnectAccount.description.partnerSubscription.text1":{"template":"Your account is already connected to a subscription billed through another provider. If you start another subscription through {partner} you could be billed twice.","parameters":{"partner":{"type":"TEXT","notes":"The attempted new partner name of the given user."}},"notes":"Partner Connect Your Account Component: One of two possible description texts that appear. This is for in-app purchase users. First Paragraph."},"giWeb.partnerConnectAccount.description.partnerSubscription.text2":{"template":"If you don’t want to start another subscription, select “Cancel.”","notes":"Partner Connect Your Account Component: One of two possible description texts that appear. This is for in-app purchase users. Second Paragraph."},"giWeb.partnerConnectAccount.heading.directSubscription.text":{"template":"Ready to Connect Your Account","notes":"Partner Connect Your Account Component: One of two possible heading texts that appear. This is for direct to consumer users."},"giWeb.partnerConnectAccount.heading.partnerSubscription.text":{"template":"Are You Sure?","notes":"Partner Connect Your Account Component: One of two possible heading texts that appear. This is for in-app purchase users."},"giWeb.partnerConnectAccount.helpLink.text":{"template":"Need help? Visit our Help Center","notes":"Partner Connect Your Account Component: Support Link at the bottom of the form."},"giWeb.partnerPicker.button.ariaLabel":{"template":"{name}, {index} of {totalCount}","parameters":{"name":{"type":"TEXT","notes":"element’s name, e.g. the partner’s name"},"index":{"type":"NUMBER","notes":"position of the button out of total buttons"},"totalCount":{"type":"NUMBER","notes":"total number of buttons"}},"notes":"Partner picker button label"},"giWeb.partnerPicker.clearButton.feedback":{"template":"Search for your provider cleared","notes":"Partner Picker Component: Screen reader feedback when the search provider input is cleared."},"giWeb.partnerPicker.clearButton.label":{"template":"Clear Search for your provider","notes":"Partner Picker Component: Aria label applied to the clear button on search provider input"},"giWeb.partnerPicker.description.text":{"template":"Who do you subscribe through?","notes":"Partner Picker Component: Description text appearing below the heading."},"giWeb.partnerPicker.heading.text":{"template":"Connect Your Provider","notes":"(imperative verb) Starts the process for linking the users Max account to a partner account. (Removed apostrophe from notes to avoid issues)"},"giWeb.partnerPicker.listView.providerNotListed.text":{"template":"Don’t see your provider?","notes":"Partner Picker Component: Help external link text appears below the provider tile group and above search."},"giWeb.partnerPicker.search.feedback":{"template":["{resultCount, plural,"," =0 { Sorry, we couldn’t find what you were looking for. Try a new search. } "," =1 { One result found for \'{searchTerm}\' } "," other { {resultCount} results found for \'{searchTerm}\' }","}"],"parameters":{"resultCount":{"type":"NUMBER","notes":"Number of search results returned."},"searchTerm":{"type":"TEXT","notes":"Text provided by user to search for."}},"notes":"Partner Picker Component: Screen reader feedback when results were found"},"giWeb.partnerPicker.search.placeholder.text":{"template":"Search for your provider","notes":"Partner Picker Component: Placeholder text for the search provider input field."},"giWeb.partnerPicker.viewAllName.text":{"template":"View All","notes":"Partner Picker Component: View All provider tile that links to the full list of providers. This appears on the abbreviated version of the partner picker."},"giWeb.partnerRegister.cancelButton.text":{"template":"Cancel","notes":"(imperative verb) Stop a process or request"},"giWeb.partnerRegister.description.text":{"template":"Follow the instructions to connect your provider. Then, you’ll create an HBO Max account.","notes":"Partner Register (Aggregator) Component: Description displayed above the form and below the title."},"giWeb.partnerRegister.error.invalid.text":{"template":"That doesn’t look right. Please try again.","notes":"Doesn’t match validation pattern"},"giWeb.partnerRegister.error.required.text":{"template":"This field is required.","notes":"Required, Text Input, Empty"},"giWeb.partnerRegister.heading.text":{"template":"Connect Your {partnerName} Account","parameters":{"partnerName":{"type":"TEXT","notes":"The name of the partner."}},"notes":"Partner Register (Aggregator) Component: Heading displayed above the form."},"giWeb.partnerRegister.submitButton.text":{"template":"Submit","notes":"(imperative verb) Send a completed form to service."},"giWeb.partnerRegisterAccountFoundErrorPage.cta.button":{"template":"Sign In to HBO Max","notes":"Title for mobile only onboarding screen"},"giWeb.partnerRegisterAccountFoundErrorPage.description.text":{"template":"Oops - it seems that you already registered an HBO Max account with your provider. Please sign in with your HBO Max email and password.","notes":"Error message displayed for an existing account error on the partner register page for EMEA partners."},"giWeb.partnerRegisterAccountFoundErrorPage.heading.text":{"template":"Provider Account Already Registered","notes":"Page title of page displayed for an existing account error on the partner register page for EMEA partners."},"giWeb.partnerRegisterErrorPage.cta.button":{"template":"Go Back","notes":"(imperative verb) Return to the previous page or screen"},"giWeb.partnerRegisterErrorPage.cta.button.2":{"template":"Go to HBO Max","notes":"CTA button for returning to the home page on the partner register page error for EMEA partners."},"giWeb.partnerRegisterErrorPage.description.text":{"template":"It looks like your account info isn’t quite right, or you don’t have access to HBO Max through this provider. Please review your account info, or contact your provider for more information.","notes":"Error message displayed for incorrect data entered on the partner register page for EMEA partners."},"giWeb.partnerRegisterErrorPage.heading.text":{"template":"Please Check Your Account Info","notes":"Page title of page displayed for incorrect data entered on the partner register page for EMEA partners."},"giWeb.partnerRegisterErrorPage.helpLink.text":{"template":"Need help?","notes":"This is the lead in text used for the help home page. This is the lead-in text only."},"giWeb.partnerSyncError.chooseAnotherProviderButton.text":{"template":"Choose Another Provider","notes":"(imperative verb) Sends user to the Provider Picker Screen"},"giWeb.partnerSyncError.description1.country":{"template":"It looks like you don’t have access to HBO Max in this region.","notes":"Partner Sync Error Component: first of the two body text/descriptions for provider country error."},"giWeb.partnerSyncError.description1.entitlement":{"template":"It looks like you don’t have access to HBO Max through this provider.","notes":"Partner Sync Error Component: first of the two body text/descriptions for entitlement error."},"giWeb.partnerSyncError.description1.existingAccount":{"template":"That provider account is already connected to another HBO Max account.","notes":"Partner Sync Error Component: existing connected provider account error description for the first of two body text/descriptions."},"giWeb.partnerSyncError.description1.fallback1":{"template":"There was a problem connecting to your {partner} account. Please wait a few minutes, and then try again.","parameters":{"partner":{"type":"TEXT","notes":"The provider of the given user."}},"notes":"Partner Sync Error Component: first of the two body text/descriptions with partner param."},"giWeb.partnerSyncError.description1.fallback2":{"template":"There was a problem connecting to your provider account. Please wait a few minutes, and then try again.","notes":"Partner Sync Error Component: fallback error description for the first of two body text/descriptions."},"giWeb.partnerSyncError.description1.retry":{"template":"Please retry connecting with your provider.","notes":"Partner Sync Error Component: the first of two body text/descriptions for retry-able error."},"giWeb.partnerSyncError.description1.subscription":{"template":"It looks like your account doesn’t have access to HBO Max. If you think this is a mistake, please check with your provider.","notes":"Partner Sync Error Component: first of the two body text/descriptions for subscription error."},"giWeb.partnerSyncError.description1.tvcode":{"template":"Go back to your TV and select \\"Get New Codes\\" then try scanning the QR code again.","notes":"Partner Sync Error Component: first of the two body text/descriptions for TV/QR code error."},"giWeb.partnerSyncError.description2.country":{"template":"If you think this is a mistake, please contact your provider directly.","notes":"Partner Sync Error Component: second of the two body text/descriptions for provider country error."},"giWeb.partnerSyncError.description2.entitlement":{"template":"If you think this is a mistake, please contact your provider directly. You can also try connecting through another provider.","notes":"Partner Sync Error Component: second of the two body text/descriptions for entitlement error."},"giWeb.partnerSyncError.description2.fallback":{"template":"If the problem continues, contact us for help.","notes":"Partner Sync Error Component: second of the two body text/descriptions. URL should be help.max.com"},"giWeb.partnerSyncError.heading.entitlement":{"template":"Can’t Verify Subscription","notes":"Partner Sync Error Component: Heading text for entitlement error on sync error page."},"giWeb.partnerSyncError.heading.existingAccount":{"template":"Provider Account Already In Use","notes":"Partner Sync Error Component: Heading text for existing connected provider account error on sync error page."},"giWeb.partnerSyncError.heading.fallback":{"template":"Something Went Wrong","notes":"Title for a dialog for any unknown error condition.","createdBy":"dorothy.lindman@wbd.com"},"giWeb.partnerSyncError.heading.provider":{"template":"Couldn’t Connect Your Provider","notes":"Partner Sync Error Component: Heading text for connect provider error on sync error page."},"giWeb.partnerSyncError.heading.subscription":{"template":"Can’t Verify Your Subscription","notes":"Partner Sync Error Component: Heading text for subscription error on sync error page."},"giWeb.partnerSyncError.retryButton.text":{"template":"Try Again","notes":"(imperative verb) Attempt to perform the same action or command"},"giWeb.partnerSyncError.signOutButton.text":{"template":"Sign Out","notes":"This action signs the user out of their account (but does not close the app). The user will have re-enter their account credentials."},"giWeb.registerUsername.description.text":{"template":"You’ll use this to watch on your favorite devices.","notes":"When the user creates a Max account, this text tells them to use the same username and password on any device used to access Max."},"giWeb.registerUsername.emailConfirmationInput.label":{"template":"Confirm Email Address","notes":"Create Account/Register Username Component: Label for email confirmation input."},"giWeb.registerUsername.emailInput.label":{"template":"Email Address","notes":"Label for the input field Email Address"},"giWeb.registerUsername.error.api.invalid.payload":{"template":"Check your email address and password or try signing in.","notes":"This message displays when the user tries to create an account with an email that is already connected to an existing account."},"giWeb.registerUsername.error.api.username.found.different.market":{"template":"That email address can’t be used. Try a different email or visit the Help Center.","notes":"This message displays when the user tries to create an account with an email that is already connected to an existing account in a different market."},"giWeb.registerUsername.error.description.text":{"template":"Please try creating your account again in a few minutes or go to help.hbomax.com","notes":"Error description on registration when create account form UI is blocked. URL should be help.max.com"},"giWeb.registerUsername.error.retryButton.text":{"template":"Try Again","notes":"(imperative verb) Attempt to perform the same action or command"},"giWeb.registerUsername.firstNameInput.label":{"template":"First Name","notes":"Label for the user’s first name or personal name"},"giWeb.registerUsername.heading.text":{"template":"Create Your Account","notes":"Title of the page where new users create an account. Note that accounts are not the same as subscriptions or profiles (see the Usage Dictionary)."},"giWeb.registerUsername.lastNameInput.label":{"template":"Last Name","notes":"Field label for the user’s last name or family name"},"giWeb.registerUsername.partnerDescription.text":{"template":"Connected to your {partnerName} account. You’ll use this to watch on your favorite devices.","parameters":{"partnerName":{"type":"TEXT","notes":"The name of the connected partner."}},"notes":"Create Account/Register Username Component: Description that appears below heading for user’s creating a Partner/MVPD subscription."},"giWeb.registerUsername.passwordInput.label":{"template":"Password","notes":"Field label for password input."},"giWeb.registerUsername.passwordInput.optional":{"template":"(optional)","notes":"Indicates that an input field is optional."},"giWeb.registerUsername.submitButton.text":{"template":"Create Account","notes":"(imperative verb) Save user information on the page and build a Max account using this information."},"giWeb.registerUsernameAccountSharing.error.api.invalid.payload":{"template":"That email address is already associated with an HBO Max account. Please use a different email address.","notes":"This message displays when the user is in the Account Sharing flow, and tries to create an account with an email that is already connected to an existing account."},"giWeb.registerUsernameCTV.error.api.invalid.payload":{"template":"Make sure your email address and password are correct, or return to your TV and try signing in.","notes":"This message displays when the user is in the CTV Sign Up flow, and tries to create an account with an email that is already connected to an existing account."},"giWeb.secondScreenSuccess.description1.text":{"template":"You’re signed in and ready to start streaming.","notes":"Second Screen Success Component: 1 of 2 lines of description text."},"giWeb.secondScreenSuccess.description2.text":{"template":"Your TV will automatically refresh.","notes":"Second Screen Success Component: 2 of 2 lines of description text."},"giWeb.secondScreenSuccess.heading.text":{"template":"All Done!","notes":"Second Screen Success Component: Heading text appearing at the top of the page."},"giWeb.setNewPassword.error.api.invalid.payload":{"template":"Your reset link expired. Get a New Link","notes":"Change password screen entering invalid password for current password."},"giWeb.setNewPassword.heading.text":{"template":"Create New Password","notes":"Set New Password Component: Heading that appears above set new password form."},"giWeb.setNewPassword.passwordInput.label":{"template":"New Password","notes":"Update Password Component: Label for new password input field"},"giWeb.setNewPassword.submitButton.text":{"template":"Save","notes":"This action saves any changes on the current screen. It usually closes the screen, also."},"giWeb.setNewPasswordConfirmation.description.text":{"template":"Your password has been updated. Please sign in to start streaming.","notes":"Set New Password Confirmation Component: Description text that appears below heading."},"giWeb.setNewPasswordConfirmation.heading.text":{"template":"Password Changed","notes":"Set New Password Confirmation Component: Heading that appears above confirmation message."},"giWeb.setNewPasswordConfirmation.submitButton.text":{"template":"Return to Sign In","notes":"Set New Password Confirmation Component: Submit button CTA text."},"giWeb.signInEmailLookup.accountNotFound.message":{"template":"That email address doesn’t exist. Try creating an account or use a different email address.","notes":"Error message that shows if user inputs an email that does not have an existing account"},"giWeb.signInLookup.accountNotFound.message":{"template":"That email address or mobile number doesn’t look right.","notes":"Error message that shows if user inputs an email or phone number that does not have an existing account"},"giWeb.signInLookup.continueButton.text":{"template":"Continue","notes":"(imperative verb) Accept any changes on the current page and go to the next step"},"giWeb.signInLookup.emailOnly.fieldLegend.text":{"template":"Enter your email address to continue.","notes":"Account Lookup Component: body text that sits below the page title."},"giWeb.signInLookup.fieldLegend.text":{"template":"Enter your email address or mobile number to sign in.","notes":"Legend text for the Sign In Lookup page."},"giWeb.signInLookup.forgotPasswordLink.text":{"template":"Forgot Password?","notes":"This prompt takes the user to the Reset Password flow. This version is just the prompt text as an active link. The URL is not shown."},"giWeb.signInLookup.heading.text":{"template":"Sign In","notes":"(imperative verb) Enter your credentials and access the service. Also used as the page title for the sign-in page."},"giWeb.signInLookup.helpSigningIn.text":{"template":"Need help signing in?","notes":"External Link: Sign In support link that appears below the Sign In and Connect your Provider sections, for desktop. Final target for link should be help.max.com/signin"},"giWeb.signInLookup.helpSigningInEmailFirst.text":{"template":"Need help signing in?","notes":"External Link: Sign In support link that appears below the Sign In and Connect your Provider sections, for desktop. This has a different help center link than the default Sign In screen. Final target for link should be help.max.com/sign-in"},"giWeb.signInLookup.phoneEmailInput.label":{"template":"Email Address or Mobile Number","notes":"Generic label for the field where the user enters their phone number or email address."},"giWeb.signInPassword.description.text":{"template":"Enter your password to start streaming.","notes":"This instruction appears on different Sign In pages."},"giWeb.signInPassword.forgotPasswordLink.text":{"template":"Forgot Password?","notes":"This prompt takes the user to the Reset Password flow. This version is just the prompt text as an active link. The URL is not shown."},"giWeb.signInPassword.heading.text":{"template":"Sign In","notes":"(imperative verb) Enter your credentials and access the service. Also used as the page title for the sign-in page."},"giWeb.signInPassword.helpSigningIn.text":{"template":"Need help signing in?","notes":"External Link: Sign In support link that appears below the Sign In and Connect your Provider sections, for desktop. Final target for link should be help.max.com/signin"},"giWeb.signInPassword.providerSignIn.description.text":{"template":"If you get HBO Max through mobile, internet, or TV provider, create an HBO Max account.","notes":"Sign In Password: Provider Sign In CTA description text."},"giWeb.signInPassword.providerSignIn.heading.text":{"template":"Don’t have an HBO Max account yet?","notes":"Sign In Password: Provider Sign In CTA heading text."},"giWeb.signInPassword.signInWithOtp.text":{"template":"To sign in without a password, get a code instead.","notes":"Sign In Password: Sign In Using OTP CTA heading text."},"giWeb.signInPassword.submitButton.text":{"template":"Sign In","notes":"(imperative verb) Enter your credentials and access the service. Also used as the page title for the sign-in page."},"giWeb.signupSecondScreenSuccess.description1.text":{"template":"You’re one step closer to watching your favorite shows and movies!","notes":"Signup Second Screen Success Component: 1 of 2 lines of description text."},"giWeb.signupSecondScreenSuccess.description2.text":{"template":"Continue on your TV once it refreshes.","notes":"Signup Second Screen Success Component: 2 of 2 lines of description text."},"giWeb.signupSecondScreenSuccess.heading.text":{"template":"Account Created","notes":"Signup Second Screen Success Component: Heading text appearing at the top of the page."},"giWeb.tveSuccess.heading.text":{"template":"Congratulations!","notes":"TVE Success Component: Subheader"},"giWeb.tveSuccess.subheading.text":{"template":"You can now watch events with","notes":"TVE Success Component: Header"},"giWeb.tveSuccess.submitButton.text":{"template":"Done","notes":"Completes the current operation or ends the session. (Grammatically, the complete sentence is *[I am] done.*"},"giWeb.updateEmailConfirmation.heading.text":{"template":"Verify Email Address","notes":"This action triggers a flow that sends the user an email with a passcode for them to enter. This version should be used in most cases."},"giWeb.updateEmailConfirmation.instruction":{"template":"We sent an email to {username}.","parameters":{"username":{"type":"TEXT","notes":"The email/username that the user attempted to update their username of in the previous screen."}},"notes":"Update Username/Email Confirmation Component: (1)First of two Description texts. Dialog message that appears after user attempts to update their username/email"},"giWeb.updateEmailConfirmation.submitButton.text":{"template":"OK","notes":"Acknowledges and closes a dialog or message."},"giWeb.updateEmailConfirmation.supportText":{"template":"Please follow the instructions to update your account today.","notes":"Update Username/Email Confirmation Component: (2)Second of two Description texts. Dialog message that appears after user attempts to update their username/email"},"giWeb.updateName.cancelButton.text":{"template":"Cancel","notes":"(imperative verb) Stop a process or request"},"giWeb.updateName.currentName.label":{"template":"Current Name:","notes":"Update Name Component: Label that sits above users current full name value."},"giWeb.updateName.firstNameInput.label":{"template":"New First Name","notes":"Update Name Component: Label that sits above the edit first name text input."},"giWeb.updateName.heading.text":{"template":"Change Your Name","notes":"Update Name Component: Heading text on change your name form."},"giWeb.updateName.lastNameInput.label":{"template":"New Last Name","notes":"Update Name Component: Label that sits above the edit last name text input."},"giWeb.updateName.oneTimePasscode.description.text":{"template":"We sent a one-time code to the email address associated with your HBO Max account. Enter the code to verify your email address.","notes":"Description text that appears on the One Time Passcode screen."},"giWeb.updateName.oneTimePasscode.heading.text":{"template":"Verify Email","notes":"This action triggers a flow that sends the user an email with a passcode for them to enter. Here, *Email* means *email address*. This version should only be used when the number of characters is severely restricted."},"giWeb.updateName.submitButton.text":{"template":"Save","notes":"This action saves any changes on the current screen. It usually closes the screen, also."},"giWeb.updatePassword.cancelButton.text":{"template":"Cancel","notes":"(imperative verb) Stop a process or request"},"giWeb.updatePassword.currentPasswordInput.label":{"template":"Current Password","notes":"On the change password form, the label for the field where users enter their current password."},"giWeb.updatePassword.error.api.invalid.password":{"template":"Unable to verify your password. Please create a different one.","notes":"Change password screen entering breaching password for new password."},"giWeb.updatePassword.error.api.invalid.payload":{"template":"We couldn’t update your password. Please re-enter your information and try again.","notes":"Change password screen entering invalid password for current password."},"giWeb.updatePassword.heading":{"template":"Change Your Password","notes":"Update Password Component: Heading text that appears above update password form."},"giWeb.updatePassword.newPasswordInput.label":{"template":"New Password","notes":"Update Password Component: Label for new password input field"},"giWeb.updatePassword.oneTimePassword.description":{"template":"We sent a one-time code to the email address associated with your HBO Max account. Enter the code to verify your email address.","notes":"Description text that appears on the One Time Passcode screen."},"giWeb.updatePassword.oneTimePassword.heading":{"template":"Verify Email","notes":"This action triggers a flow that sends the user an email with a passcode for them to enter. Here, *Email* means *email address*. This version should only be used when the number of characters is severely restricted."},"giWeb.updatePassword.submitButton.create.text":{"template":"Save","notes":"This action saves any changes on the current screen. It usually closes the screen, also."},"giWeb.updatePassword.submitButton.text":{"template":"Save","notes":"This action saves any changes on the current screen. It usually closes the screen, also."},"giWeb.updatePhoneNumber.cancelButton.text":{"template":"Cancel","notes":"(imperative verb) Stop a process or request"},"giWeb.updatePhoneNumber.create.heading.text":{"template":"Add Mobile Number","notes":"Label for the input field Add Mobile Number for unathed user."},"giWeb.updatePhoneNumber.currentPhoneNumber.label":{"template":"Current Mobile Number","notes":"Input Label for the users current phone number."},"giWeb.updatePhoneNumber.edit.heading.text":{"template":"Change Mobile Number","notes":"Update Phone Number Component: Heading text that appears above the edit phone number form."},"giWeb.updatePhoneNumber.error.api.conflict":{"template":"Please use a different mobile number.","notes":"Update Phone Number Component: Error message displayed when the user wants to use a phone number already registered."},"giWeb.updatePhoneNumber.error.description.text":{"template":"Please try adding your phone number again in a few minutes or go to help.hbomax.com","notes":"Error description on add phone settings when add phone form UI is blocked. URL should be help.hbomax.com"},"giWeb.updatePhoneNumber.error.retryButton.text":{"template":"Try Again","notes":"(imperative verb) Attempt to perform the same action or command"},"giWeb.updatePhoneNumber.phoneNumberInput.label":{"template":"Mobile Number","notes":"Label for the user’s mobile number"},"giWeb.updatePhoneNumber.submitButton.text":{"template":"Verify Mobile Number","notes":"Create/Update Phone Number Component: CTA to submit the create and update phone number forms."},"giWeb.updateUsername.cancelButton.text":{"template":"Cancel","notes":"(imperative verb) Stop a process or request"},"giWeb.updateUsername.currentUsername.label":{"template":"Current Email Address","notes":"Label for the current address used by the account."},"giWeb.updateUsername.emailInput.label":{"template":"New Email Address","notes":"Label for the input field for the new email address."},"giWeb.updateUsername.forms.validation.error.username.format":{"template":"Try using the format yourname@email.com","notes":"Field error telling the user the correct format for their email address."},"giWeb.updateUsername.heading.text":{"template":"Change Your Email","notes":"The title of the form where the user can change their email address. (Note that this string uses Email instead of Email Address. Only use this version when space is too tight for the complete string Change Your Email Address.)"},"giWeb.updateUsername.oneTimePasscode.description":{"template":"We sent a one-time code to the email address associated with your HBO Max account. Enter the code to verify your email address.","notes":"Description text that appears on the One Time Passcode screen."},"giWeb.updateUsername.oneTimePasscode.heading":{"template":"Verify Email","notes":"This action triggers a flow that sends the user an email with a passcode for them to enter. Here, *Email* means *email address*. This version should only be used when the number of characters is severely restricted."},"giWeb.updateUsername.submitButton.text":{"template":"Save","notes":"This action saves any changes on the current screen. It usually closes the screen, also."},"giWeb.userNotFound.email.description.text.1":{"template":"We couldn’t find an HBO Max account for the email address:","notes":"User Not Found Component: Description text that appears above the email address."},"giWeb.userNotFound.email.description.text.2":{"template":"Make sure the email you entered is correct, then try signing in again.","notes":"User Not Found Component: Description text that appears for and before the try again link."},"giWeb.userNotFound.email.heading.text":{"template":"Check Your Email Address","notes":"User Not Found Component: Heading 1 text that appears above the email information and try again link."},"giWeb.userNotFound.heading.text":{"template":"Can’t Sign In","notes":" "},"giWeb.userNotFound.helpLink.text":{"template":"Need help? Visit the help center","notes":"User Not Found Component: Help link/support external link for screen when user can’t sign in. URL destination for Help Center is help.max.com/sign-in"},"giWeb.userNotFound.partnerPicker.description.text":{"template":"If you get HBO Max through a mobile, internet, or TV provider, sign in with your provider and set up your HBO Max account.","notes":"User Not Found Component: Description text that appears before the partner tiles/links."},"giWeb.userNotFound.partnerPicker.heading.text":{"template":"Set Up Your HBO Max Account","notes":"User Not Found Component: Heading 2 text that appears above partner picker form."},"giWeb.userNotFound.separator.text":{"template":"OR","notes":"User Not Found Component: Text that appears between the 2 options for user not found."}}');let ry=["en-US","pseudo-LOC","pseudo-LONG","bg-BG","cs-CZ","da-DK","de-DE","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","it-IT","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"],rE=e=>e.appExperience&&e.appExperience!==e.defaultAppExperience?"".concat(e.appExperience,"/"):"",rb=(e,t)=>n(18810)("./".concat(rE(t),"language-packs/").concat(e,"/translated-messages.json")).then(e=>null==e?void 0:e.default),rS=(e,t)=>{let a="codegen/resources/".concat(rE(t),"language-packs/").concat(e,"/compiled-messages.js");return Object.keys(n.c).forEach(e=>{e.includes(a)&&delete n.c[e]}),n(21171)("./".concat(rE(t),"language-packs/").concat(e,"/compiled-messages.js")).then(e=>null==e?void 0:e.default)},rT=e=>n(95283)("./".concat(e,"/index")).then(e=>null==e?void 0:e.default).catch(()=>({})),rw=e=>Object.keys(e).join("|"),rA=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=rw(null!=t?t:{}),a=RegExp('(?[^<]*)'),"g"),r=RegExp('(?[^<]*)<\\/a>',"g"),s=e.replace(a,">$>"),i=[...s.matchAll(r)].filter(e=>{var t;return null===(t=e.groups)||void 0===t?void 0:t.linkId}).map(e=>e.groups.linkId);return{stringWithLinks:s.replace(r,"$"),missingLinks:i}};class rC{async initialize(e){let t=[...ry],n=(0,rg.V)([e],t,rh.NZ),a=this.appExperienceService.get(),r=e;rm.z.includes(r)||(r=rh.s8);let s=new rc.G(n,r),i=await rd.j.loadGlobalizerAsync(s,e=>rC.loadTranslatorAsync(e,a,tK),rC.loadFormatterAsync);this.globalizer=i,this.locale=n}static async loadTranslatorAsync(e,t,n){try{let a;let r={appExperience:t,defaultAppExperience:n};try{a=await rb(e,r)}catch(t){e=rh.NZ,a=await rb(e,r)}let s=await rS(e,r);return new ru.$(e,rf,a,s)}catch(e){throw new aC(e)}}static async loadFormatterAsync(e){try{let t=await rT(e);return new rp.M(e,t)}catch(e){throw new aw(e)}}useKeyOverride(e){var t,n;let a=(null===(n=null===(t=this.environment.getConfig())||void 0===t?void 0:t.stringOverrides)||void 0===n?void 0:n.config)||{};return e in a?a[e]:e}formatMessage(e,t,n){var a;try{let{stringWithLinks:a,missingLinks:r=[]}=rA(e,n);return r.length>0&&r.forEach(t=>{var n,a;null===(n=this.notifier)||void 0===n||n.sendInstrumentationEvent(new aI(t,e).toErrorPayload()),null===(a=this.notifier)||void 0===a||a.sendErrorEvent(new aI(t,e))}),new rv.ZP(a,this.locale).format(t)}catch(n){let t=new aT;return null===(a=this.notifier)||void 0===a||a.sendErrorEvent(t),e}}getLocalizedString(e,t){var n,a;let r=this.useKeyOverride(e);try{return t?this.globalizer.globalizeWithParameters(r,t):this.globalizer.globalize(r)}catch(s){let e=new aA(s,{translationKey:r,parameterValues:t});return null===(n=this.notifier)||void 0===n||n.sendErrorEvent(e),null===(a=this.notifier)||void 0===a||a.sendInstrumentationEvent(e.toErrorPayload()),""}}localize(e,t,n){if(!this.globalizer)return e;let a=this.getLocalizedString(e,t),r=this.getLinks();return n?this.formatMessage(a,n,r):a}localizeString(e,t){return this.globalizer?this.getLocalizedString(e,t):e}getLinks(){return this.environment.getConfig().links.config}constructor(e,t,n){this.environment=e,this.appExperienceService=t,this.notifier=n}}(0,k.gn)([eF()],rC.prototype,"localize",null),(0,k.gn)([eF()],rC.prototype,"localizeString",null),(0,k.gn)([eF()],rC.prototype,"getLinks",null);let rI={stringOnly:!1};function rP(e,t,n,a,r){return e(t,n,a,r)}function r_(e,t,n,a,r){return Object.fromEntries(Object.entries(t).map(t=>{let[s,i]=t;return[s,e(i,n,a,r)]}))}function rk(e,t,n,a,r){return t.map(t=>e(t,n,a,r))}function rN(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{stringOnly:!1};return(n,a,r,s)=>{let i=rP;return Array.isArray(n)?i=rk:"object"==typeof n&&(i=r_),i(e,n,a,{...rI,...t,...r||{}},s)}}function rR(e){let t=e=>e;return Object.assign(rN(null!=e?e:t),{stringOnly:rN(null!=e?e:t)})}class rL{getTranslator(e,t){let{linkGenerator:n,tagGenerator:a}=e;return function(e,t){let{namespace:n,tagGenerator:a,linkGenerator:r}=t,s=["b","em","i","li","span","strong","ul","unknown-link"].reduce((e,t)=>({...e,[t]:a(t)}),{}),i=(t,a,i,o)=>{var l;let c=(t,n)=>e.localizeString(t,n),d=n?"".concat(n,".").concat(t):t;if(null==i?void 0:i.stringOnly)return e.localizeString(d,a);let u=Object.entries(null!==(l=e.getLinks())&&void 0!==l?l:{}).reduce((e,t)=>{let[n,a]=t;return{...e,["a-".concat(n)]:r(a,c)}},{});return e.localize(d,a,{...s,...u,...o})},o=rN(i),l=rN(i,{stringOnly:!0});return o.stringOnly=l,o}(this.localizationProvider,{namespace:t,linkGenerator:n,tagGenerator:a})}async setLocale(e){if(!e)throw new tq;await this.localizationProvider.initialize(e),this.locale=this.localizationProvider.locale,await this.notifier.sendSdkStateEvent()}constructor(e,t){this.localizationProvider=e,this.notifier=t}}(0,k.gn)([eF()],rL.prototype,"getTranslator",null),(0,k.gn)([a$({withPayloadFrom:e=>new aP(e),instrumentWhen:e=>e instanceof aC||e instanceof aw,errorWhen:aq})],rL.prototype,"setLocale",null);class rx{async getSessionOverrides(){return this.coreSdk.getSessionOverrides()}async generateSessionOverrides(e){await this.coreSdk.generateSessionOverrides(e)}getTransportPayload(){return this.coreSdk.getTransportPayload()}async fetchTransportPayload(){return await this.coreSdk.fetchTransportPayload(),this.coreSdk.getTransportPayload()}isMultiverseActive(){return this.coreSdk.isMultiverseActive()}getActiveCountry(){return this.coreSdk.getMultiverseCountry()}constructor(e){this.coreSdk=e}}(0,k.gn)([eG()],rx.prototype,"getSessionOverrides",null),(0,k.gn)([eG()],rx.prototype,"generateSessionOverrides",null),(0,k.gn)([eF()],rx.prototype,"getTransportPayload",null),(0,k.gn)([eF()],rx.prototype,"isMultiverseActive",null),(0,k.gn)([eF()],rx.prototype,"getActiveCountry",null);class rO{async sendErrorEvent(e){return this.notifier.sendErrorEvent(e)}async sendAnalyticsEvent(e){await this.notifier.sendAnalyticsEvent(e)}async sendInstrumentationEvent(e){await this.notifier.sendInstrumentationEvent(e)}async sendInstrumentationBehavior(e){await this.notifier.sendInstrumentationBehavior(e)}onSdkStateChange(e){return this.publisher.subscribe("SdkState",e)}cancelSubscription(e){this.publisher.cancelSubscription(e)}constructor(e,t){this.notifier=e,this.publisher=t}}(0,k.gn)([eG()],rO.prototype,"sendErrorEvent",null),(0,k.gn)([eG()],rO.prototype,"sendAnalyticsEvent",null),(0,k.gn)([eG()],rO.prototype,"sendInstrumentationEvent",null),(0,k.gn)([eG()],rO.prototype,"sendInstrumentationBehavior",null),(0,k.gn)([eF()],rO.prototype,"onSdkStateChange",null),(0,k.gn)([eF()],rO.prototype,"cancelSubscription",null);class rD{async analyze(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{gauthToken:a}=e;return(null===(t=a.partner)||void 0===t?void 0:t.integration_type)==="authorization_only"?{kind:"authorization-only"}:a.user?await this.analyzeExistingUser(e,n):await this.analyzeNewUser()}async analyzeExistingUser(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{gauthToken:n}=e,{inAppSchema:a}=t;if(a)return{kind:"user-already-exists-mobile",deepLinkUrl:this.mobileService.getMpvdDeepLinkUrl(a)};if(this.partnerState.isPartnerInRegisterFlow())return{kind:"user-already-exists-in-partner-register"};if(await this.isGAuthTokenUserLoggedIn(n))return{kind:"user-already-exists-current-user-logged-in"};if(this.partnerState.isPartnerUsingDirectLink())return{kind:"user-already-exists-not-logged-in"};try{await this.loginWithGAuth(n)}catch(t){let e=K.promote(t);return{kind:"api-error",accountAlreadyInUse:"invalid.token"===e.code,error:e}}return{kind:"user-already-exists"}}async analyzeNewUser(){return await this.isCurrentUserLoggedIn()?{kind:"user-d2c-moving-to-partner"}:{kind:"new-user"}}async isCurrentUserLoggedIn(){return await this.userService.isLoggedIn()}async isGAuthTokenUserLoggedIn(e){var t;let n=await this.userService.getUserId();return await this.isCurrentUserLoggedIn()&&n===(null===(t=e.user)||void 0===t?void 0:t.id)}async loginWithGAuth(e){let{token:t}=e;await this.authService.loginCommon({provider:"gauth",gauthToken:t},{loginMethod:"MVPD"})}constructor(e,t,n,a,r){this.authService=e,this.mobileService=t,this.notifier=n,this.partnerState=a,this.userService=r}}(0,k.gn)([a$({withPayloadFrom(e){return new ax(e,"MVPD",this.partnerState.getPartnerName())},instrumentWhen:aq,analyticsWhen:aq})],rD.prototype,"loginWithGAuth",null);let rU=()=>void 0;class rM{async authorize(){let e=this.partnerState.getGAuthToken();return await this.registrationApi.addAuthenticationProvider({provider:"gauth",gauthToken:e}),await this.gauthApi.pollAuthorized(e,this.environment.getConfig().gauthPolling.config)}async autoSignInAuthCode(){var e,t;let n=null!==(t=null===(e=this.environment.getConfig().partner.config.autoSignIn)||void 0===e?void 0:e.sam1ClientId)&&void 0!==t?t:"";return await this.coreSdk.idpAuthCode({clientId:n,redirectUri:"giwebsdk://not-used",responseType:"code no-redirect",scope:"default"})}async fetchAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.setUsingDirectLink(!!e.forceSam1),(await this.gauthApi.fetchPartners({high_priority_only:e.highPriorityOnly})||[]).map(e=>{var t,n,a,r,s;return{dataTestid:e.dataTestid,displayPriority:null!==(t=e.display_priority)&&void 0!==t?t:0,id:e.id,name:e.name,url:{help:null!==(n=e.help_url)&&void 0!==n?n:"",home:null!==(a=e.home_url)&&void 0!==a?a:"",logo:null!==(r=e.logo_url)&&void 0!==r?r:"",transparentLogo:null!==(s=e.transparent_logo_url)&&void 0!==s?s:""}}})}async fetchAuthorization(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.partnerState.setCurrentPartnerId(e.partnerId),this.partnerState.setPartnerInRegisterFlow(!1),await this.behaviorService.affiliateSelect({authProvider:e.partnerId}).catch(rU),await this.gauthApi.fetchAuthorization({...e,activationCode:t.activationCode},t.arkoseHeaders)}async fetchGAuthToken(e,t){this.isUsingDirectLink()&&this.behaviorService.affiliateDirect({authProvider:t}).catch(rU);let n=await this.gauthApi.fetchToken(e);return this.partnerState.setGAuthTokenData(n),n}async fetchIdpToken(e){await this.authenticationApi.fetchIdpAccessToken({client_id:this.environment.getConfig().oauth.config.clientId,code:e,redirect_uri:this.environment.getConfig().partner.config.idpUrl})}async switchProduct(e,t){let n=this.partnerState.getGAuthToken();await this.gauthApi.switchProducts(n,e,t)}async linkDeviceInitiate(e){return await this.gauthApi.linkDeviceInitiate(null==e?void 0:e.partnerId)}getDeepLinkUrl(e){return this.mobileService.getMpvdDeepLinkUrl(e)}getTveDeepLinkUrl(e){return this.mobileService.getTveDeepLinkUrl(e)}getExternalLink(e){let t=this.environment.getConfig().partner.config.externalLinks[e];return null!=t?t:void 0}getName(){return this.partnerState.getPartnerName()}getOAuthName(e){var t;return null!==(t=this.environment.getConfig().partner.config.oauthName[e])&&void 0!==t?t:""}getBBBPartnerIds(){var e;return null!==(e=this.environment.getConfig().partner.config.bbbPartnerIds)&&void 0!==e?e:[]}isBBBPartner(e){return this.getBBBPartnerIds().includes(e)}hasGAuthToken(){return!!this.partnerState.getGAuthToken()}isUsingDirectLink(){return this.partnerState.isPartnerUsingDirectLink()}readAndDiscardPartnerName(){return this.partnerState.getPartnerNameForError()}readPartnerId(){return this.partnerState.getCurrentPartnerId()}setGAuthTokenData(e){this.partnerState.setGAuthTokenData(e)}setUsingDirectLink(e){this.partnerState.setPartnerUsingDirectLink(e)}constructor(e,t,n,a,r,s,i,o,l){this.authenticationApi=e,this.behaviorService=t,this.coreSdk=n,this.environment=a,this.gauthApi=r,this.mobileService=s,this.notifier=i,this.partnerState=o,this.registrationApi=l}}(0,k.gn)([a$({withPayloadFrom:e=>new ak(e),instrumentWhen:aq})],rM.prototype,"authorize",null),(0,k.gn)([a$({withPayloadFrom:e=>new aM(e),instrumentWhen:aq})],rM.prototype,"autoSignInAuthCode",null),(0,k.gn)([a$({withPayloadFrom:e=>new aj(e),instrumentWhen:aq})],rM.prototype,"fetchAll",null),(0,k.gn)([a$({withPayloadFrom(e){return new aB(e,this.readPartnerId())},instrumentWhen:aq})],rM.prototype,"fetchAuthorization",null),(0,k.gn)([a$({withPayloadFrom:e=>new aV(e),instrumentWhen:aq})],rM.prototype,"fetchGAuthToken",null),(0,k.gn)([a$({withPayloadFrom:e=>new aH(e),instrumentWhen:aq})],rM.prototype,"fetchIdpToken",null),(0,k.gn)([a$({withPayloadFrom:e=>new a_(e),errorWhen:aq})],rM.prototype,"switchProduct",null),(0,k.gn)([eG()],rM.prototype,"linkDeviceInitiate",null),(0,k.gn)([eF()],rM.prototype,"getDeepLinkUrl",null),(0,k.gn)([eF()],rM.prototype,"getTveDeepLinkUrl",null),(0,k.gn)([eF()],rM.prototype,"getExternalLink",null),(0,k.gn)([eF()],rM.prototype,"getOAuthName",null),(0,k.gn)([eF()],rM.prototype,"getBBBPartnerIds",null),(0,k.gn)([eF()],rM.prototype,"isBBBPartner",null),(0,k.gn)([eF()],rM.prototype,"hasGAuthToken",null);class rF{isInPartnerRegisterFlow(){return this.partnerState.isPartnerInRegisterFlow()}async fetchRegistration(e){var t;this.partnerState.setPartnerInRegisterFlow(!0),this.partnerState.setCurrentPartnerId(e.partnerId);let n=await this.aggregatorApi.fetchRegistration(e.partnerId),[a,r]=n.mvpd.identifiers,[s,i]=null!==(t=this.partnerState.getPartnerAggregatorFormValues())&&void 0!==t?t:[];return{...n,mvpd:{...n.mvpd,identifiers:[a?{...a,initialValue:null!=s?s:""}:a,r?{...r,initialValue:null!=i?i:""}:r].filter(Boolean)}}}async submitRegistration(e,t,n){var a;return this.partnerState.setPartnerAggregatorFormValues([t.identifier,null!==(a=t.secondaryIdentifier)&&void 0!==a?a:""]),await this.aggregatorApi.submitRegistration(e.partnerId,t,n)}async autoSubmitRegistration(e,t,n){this.partnerState.setPartnerUsingDirectLink(!0);let a=await this.aggregatorApi.submitRegistration(e.partnerId,t,n);return await this.behaviorService.affiliateDirect({authProvider:e.partnerId}),a}savePartnerAggregatorFormValues(e){var t,n;this.partnerState.setPartnerAggregatorFormValues([null!==(t=e.identifier)&&void 0!==t?t:"",null!==(n=e.secondaryIdentifier)&&void 0!==n?n:""])}getDirectLinkParams(){return this.partnerState.getPartnerAggregatorDirectLinkValues()}saveDirectLinkParams(e){this.partnerState.setPartnerAggregatorDirectLinkValues(e)}getPickerParams(){return this.partnerState.getPartnerAggregatorPickerValues()}savePickerParams(e){this.partnerState.setPartnerAggregatorPickerValues(e)}constructor(e,t,n,a){this.aggregatorApi=e,this.behaviorService=t,this.notifier=n,this.partnerState=a}}(0,k.gn)([a$({withPayloadFrom(e){return new aN(e,this.partnerState.getCurrentPartnerId())},instrumentWhen:aq})],rF.prototype,"fetchRegistration",null),(0,k.gn)([a$({withPayloadFrom(e){return new aR(e,this.partnerState.getCurrentPartnerId())},instrumentWhen:aq})],rF.prototype,"submitRegistration",null),(0,k.gn)([a$({withPayloadFrom(e){return new aR(e,this.partnerState.getCurrentPartnerId())},instrumentWhen:aq})],rF.prototype,"autoSubmitRegistration",null);class rG{async getKnownTelephoneCallingCodes(){return this.state.knownTelephoneCallingCodes}constructor(e,t){this.notifier=e,this.state=t}}(0,k.gn)([a$({withPayloadFrom:e=>new ai(e),instrumentWhen:aq})],rG.prototype,"getKnownTelephoneCallingCodes",null);let rW=e=>{let{flowName:t,configuration:n,sendInstrumentationError:a,behaviorService:r}=e,s=!1;return{onChallengeComplete:async()=>{var e;null===(e=null==n?void 0:n.onChallengeComplete)||void 0===e||e.call(n),await r.challengeComplete(s)},onChallengeFailed:async()=>{var e;null===(e=null==n?void 0:n.onChallengeFailed)||void 0===e||e.call(n);let s=new am(t);await a(s.toErrorPayload()),await r.challengeFailed()},onChallengeError:async()=>{var e;null===(e=null==n?void 0:n.onChallengeError)||void 0===e||e.call(n);let r=new ah(t);await a(r.toErrorPayload())},onChallengeHide:async()=>{var e;null===(e=null==n?void 0:n.onChallengeHide)||void 0===e||e.call(n);let s=new ag(t);await a(s.toErrorPayload()),await r.challengeHide()},onChallengeReady:async()=>{var e;null===(e=null==n?void 0:n.onChallengeReady)||void 0===e||e.call(n),await r.challengeReady()},onChallengeShow:async()=>{var e;null===(e=null==n?void 0:n.onChallengeShow)||void 0===e||e.call(n),await r.challengeShow()},onChallengeShown:async()=>{var e;null===(e=null==n?void 0:n.onChallengeShown)||void 0===e||e.call(n),s=!0,await r.challengeShown()},onChallengeSuppressed:async()=>{var e;null===(e=null==n?void 0:n.onChallengeSuppressed)||void 0===e||e.call(n),await r.challengeSuppressed()},onChallengeWarning:async()=>{var e;null===(e=null==n?void 0:n.onChallengeWarning)||void 0===e||e.call(n);let r=new av(t);await a(r.toErrorPayload())},onScriptError:async()=>{var e;null===(e=null==n?void 0:n.onScriptError)||void 0===e||e.call(n);let r=new af(t);await a(r.toErrorPayload())}}};class rB{stateProvider(){return this.state}async postArkoseDataExchange(e){return this.coreSdk.postArkoseDataExchange(e)}async getArkoseHeaders(e,t){let n=rW({configuration:t,behaviorService:this.behaviorService,sendInstrumentationError:e=>this.notifier.sendInstrumentationEvent(e),flowName:e});return this.state.arkoseFlowForInstrumentation=e,this.coreSdk.getArkoseHeaders(e,{...t,...n})}constructor(e,t,n,a){this.coreSdk=e,this.notifier=t,this.state=n,this.behaviorService=a}}(0,k.gn)([eG()],rB.prototype,"postArkoseDataExchange",null),(0,k.gn)([a$({withPayloadFrom(e){let t="arkose-data-exchange-failed"===e.code?"DATA_EXCHANGE_FAILED":"INIT_FAILED";return new ay(e,t,this.state.arkoseFlowForInstrumentation)},instrumentWhen:e=>!["arkose-challenge-failed","arkose-challenge-init-failed","arkose-internal-error"].includes(e.code)})],rB.prototype,"getArkoseHeaders",null);let rV=e=>"string"==typeof(null==e?void 0:e.error);class rH{async sendOtp(e){return await this.client.makeRequest({url:"/authentication/sendOTP",method:"POST",data:e}),e.destination}async logout(){var e;let t=null===(e=(await this.client.makeRequest({url:"/logout",method:"POST",data:void 0,clearToken:!0})).attributes)||void 0===e?void 0:e.token;if(!t)throw new tY;await this.client.setAuthToken(t)}async logoutEverywhere(){var e;let t=null===(e=(await this.client.makeRequest({url:"/logoutEverywhere",method:"POST",data:void 0,clearToken:!0})).attributes)||void 0===e?void 0:e.token;if(!t)throw new tY;await this.client.setAuthToken(t)}async connectDevice(e){await this.client.makeRequest({url:"/authentication/linkDevice/connect",method:"POST",data:{linkingCode:e}})}async validateLinkDeviceCode(e){return(await this.client.makeRequest({url:"/authentication/linkDevice/validate",method:"POST",data:{linkingCode:e}})).data}async fetchIdpAccessToken(e){let t=await this.client.makeRequest({url:"/idp/oauth/v1/token",method:"POST",data:{...e,grant_type:"authorization_code_access_only"}});if(rV(t.data))throw new K(t.data.error);let n=t.data.access_token;if(!n)throw new tY;await this.client.setAuthToken(n)}constructor(e){this.client=e}}class rj extends K{toErrorPayload(){return super.asInstrumentationErrorPayload({classification:"UPDATE_FAILED",eventSchemaCategory:"consent",scope:"USER_FACING",consent:{ids:this.consentOptionIds}})}static promote(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e instanceof this?e:new this(e,t)}constructor(e,t=[]){super(e.code,e),this.consentOptionIds=t}}let rK=e=>{var t,n,a;return null!==(a=null===(n=null===(t=e.attributes)||void 0===t?void 0:t.consentOptions)||void 0===n?void 0:n.map(e=>null==e?void 0:e.alias))&&void 0!==a?a:[]},rz=(e,t,n)=>e.some(e=>ro(t,e.alias)||n.includes(e.alias)||"boolean"==typeof e.approved),rq=e=>{let{consent:t,autoConsents:n,manualConsents:a}=e;return rz(t.attributes.consentOptions,a,n)},r$=(e,t,n,a)=>null==n?void 0:n.map(n=>{var r,s;let i=t[n.alias],o=e.includes(n.alias),l=null===(r=null==a?void 0:a.find(e=>e.alias===n.alias))||void 0===r?void 0:r.value;return{...n,approved:null!==(s=null!=l?l:i)&&void 0!==s?s:o}}),rY=e=>{let{consent:t,autoConsents:n,manualConsents:a,clientConsents:r}=e,s=t.attributes.consentOptions,i=t.relationships;return{type:"consent",attributes:{consentDate:new Date().toISOString(),consentOptions:r$(n,a,s,r)},relationships:i}},rX=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.map(e=>{let n=e.attributes.vendorOptions[0],a=n.attributes.enabled,r=t.includes(n.id)?!a:a;return{...n,attributes:{enabled:r}}})};class rQ{async recordConsentsV2(e){try{await this.client.makeRequest({url:"/legal/v2/recordConsents",method:"POST",data:{data:e}})}catch(t){throw new rj(t,e.attributes.consents.flatMap(rK))}}async consentToTermsV2(e,t,n,a,r,s,i){let o,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"createAccount",c=e.map(e=>({consent:e,autoConsents:t,manualConsents:n,clientConsents:a})).filter(rq).map(rY);if(null==i?void 0:i.tcf){let e=c.filter(e=>{var t,n;let a=null!==(n=null===(t=e.attributes.consentOptions)||void 0===t?void 0:t[0].alias)&&void 0!==n?n:"";return!i.ignoreList.includes(a)});await this.recordConsentsV2({type:"privacy",attributes:{actionType:"SAVE",consentExperienceAlias:l,consents:e,privacyString:{attributes:{value:i.tcf},type:"TCF"},vendors:[]}}),o=[...e.map(e=>e.attributes),{consentDate:new Date().toISOString(),consentOptions:[{alias:"TCF",approved:!0}]}]}else{let e=rX(r,s);await this.recordConsentsV2({type:"privacy",attributes:{actionType:"SAVE",consentExperienceAlias:l,consents:c,vendors:e}}),o=c.map(e=>e.attributes)}return o}constructor(e,t){this.client=e,this.notifier=t}}(0,k.gn)([a$({withPayloadFrom:e=>rj.promote(e),instrumentWhen:aq})],rQ.prototype,"recordConsentsV2",null);class rZ{async fetchEntitlementsSummaryMe(){return(await this.client.makeRequest({url:"/entitlements/userEntitlementsSummary/me",method:"GET"})).data}constructor(e){this.client=e}}let rJ=e=>new URLSearchParams(Object.fromEntries(Object.entries(e).filter(e=>{let[t,n]=e;return null!==n&&""!==n&&void 0!==n}).map(e=>{let[t,n]=e;return[t,String(n)]}))),r0=e=>{var t;return Array.isArray(null==e?void 0:e.errors)&&!!(null===(t=null==e?void 0:e.errors)||void 0===t?void 0:t.length)},r7=e=>{var t;return!!(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.attributes)},r1=e=>{var t;return(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.type)==="token"};class r5{get id(){var e,t;if(r7(this.data))return null===(t=null===(e=this.data)||void 0===e?void 0:e.data)||void 0===t?void 0:t.id}get type(){var e,t;if(r7(this.data))return null===(t=null===(e=this.data)||void 0===e?void 0:e.data)||void 0===t?void 0:t.type}get attributes(){if(r7(this.data))return this.data.data.attributes}static fromException(e){var t;return new this(e.response,null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data,e)}static fromResponse(e){return new this(e,e.data)}isError(){return r0(this.data)}isInvalidTokenError(){var e;return!!((null===(e=this.response)||void 0===e?void 0:e.status)===400&&r0(this.data))&&!!this.data.errors.find(e=>(null==e?void 0:e.code)==="invalid.token")}isServerError(){var e;return(null===(e=this.response)||void 0===e?void 0:e.status)>=500}isTokenResponse(){return r1(this.data)}getError(){return this.isError()?this.data.errors[0]:null}constructor(e,t,n){this.response=e,this.data=t,this.exception=n}}var r2=n(90046);let r3=function(e,t){var n;let{onRefresh:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=async()=>{if(a)return;let t=tZ(5e3),n=e.fetchTransportPayload({forceRefresh:!0});n.then(()=>null==r?void 0:r()).catch(eA),a=Promise.race([n,t]).catch(eA).finally(()=>{a=void 0,t.cancel()}),await a},i=async(e,t)=>{r2.P.Overrides in t&&await s()};null===(n=t.bootstrapConfig)||void 0===n||n.onConfigChange(s),t.refreshManager.onRefresh(i)},r4=function(e,t){var n;let{onRefresh:a}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=async()=>{if(r)return r;let t=tZ(5e3),n=e.fetchConfig();return n.then(()=>null==a?void 0:a()).catch(eA),r=Promise.race([n,t]).catch(eA).finally(()=>{r=void 0,t.cancel()})};null===(n=t.bootstrapConfig)||void 0===n||n.onConfigChange(s)};class r9{getCurrentBootstrapConfig(){var e,t,n;return{fingerprint:null!==(t=null===(e=this.client.httpClient.bootstrapConfig)||void 0===e?void 0:e.getFingerprint())&&void 0!==t?t:"",config:null===(n=this.client.httpClient.bootstrapConfig)||void 0===n?void 0:n.get()}}async fetchBootstrap(){let e=await this.client.makeRequest({method:"POST",url:"session-context/headwaiter/v1/bootstrap",data:void 0,bypassBootstrapRefreshLock:!0});if(!e.data)throw new K("bootstrap-failure",{message:"No bootstrap config in response"});return e.data}resolveBoltUrl(e){var t,n;return null!==(n=null===(t=this.client.httpClient.bootstrapConfig)||void 0===t?void 0:t.resolveRequestUrl(e))&&void 0!==n?n:e}installSessionContextListeners(){let e=async()=>{await this.notifier.sendSdkStateEvent()};r3(this.coreSdk,this.client.httpClient,{onRefresh:e}),r4(this.coreSdk,this.client.httpClient,{onRefresh:e})}getApplicationId(){return this.client.httpClient.sessionConfig.applicationId}getHttpClient(){return this.client.httpClient}getClientIdentifier(){return this.client.clientIdentifier}constructor(e,t,n){this.client=e,this.coreSdk=t,this.notifier=n}}(0,k.gn)([eG()],r9.prototype,"fetchBootstrap",null);class r6 extends K{constructor(e){super(e,{message:e,scopeOverride:"USER_FACING"})}}class r8{async setAuthToken(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.httpClient.sessionConfig.authorization.authTokenProvider&&(t.clearToken&&await this.httpClient.sessionConfig.authorization.authTokenProvider.clearTokenAsync(),await this.httpClient.sessionConfig.authorization.authTokenProvider.setTokenAsync(e))}getXGiSdk(){return"clientId=".concat(this.clientIdentifier)}getHttpRequestConfig(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{headers:{"x-gisdk":this.getXGiSdk(),...t.arkoseToken?{"x-disco-arkose-token":t.arkoseToken}:{},...t.arkoseSiteKey?{"x-disco-arkose-sitekey":t.arkoseSiteKey}:{},...null!==(e=t.headers)&&void 0!==e?e:{}},params:t.params,...t.bypassBootstrapRefreshLock?{bypassBootstrapRefreshLock:t.bypassBootstrapRefreshLock}:{}}}async get(e,t){return await this.httpClient.get(e,this.getHttpRequestConfig(t))}async delete(e,t){return await this.httpClient.delete(e,this.getHttpRequestConfig(t))}async patch(e,t,n){return await this.httpClient.patch(e,t,this.getHttpRequestConfig(n))}async post(e,t,n){return await this.httpClient.post(e,t,this.getHttpRequestConfig(n))}async put(e,t,n){return await this.httpClient.put(e,t,this.getHttpRequestConfig(n))}async dispatchRequest(e){let t,{data:n,method:a,options:r,url:s}=e;switch(a.toUpperCase()){case"DELETE":t=await this.delete(s,r);break;case"PATCH":t=await this.patch(s,n,r);break;case"POST":t=await this.post(s,n,r);break;case"PUT":t=await this.put(s,n,r);break;default:t=await this.get(s,r)}return r5.fromResponse(t)}async makeRequest(e,t){var n;let a;let{url:r,data:s,method:i,params:o,bypassBootstrapRefreshLock:l,clearToken:c,headers:d}=e,{siteKey:u,token:p}=null!=t?t:{},g={arkoseSiteKey:u,arkoseToken:p,bypassBootstrapRefreshLock:l,headers:d,params:o};try{a=await this.dispatchRequest({url:r,options:g,method:i,data:s})}catch(e){a=r5.fromException(e)}if(a.isInvalidTokenError()&&(await this.getToken(),a=await this.dispatchRequest({url:r,options:g,method:i,data:s})),a.isServerError())throw new r6("Server error: ".concat(a.response.status));if(a.isError()){let{response:e}=a;throw K.promote({response:e})}if(a.exception)throw a.exception;if(a.isTokenResponse()){let e=null===(n=a.attributes)||void 0===n?void 0:n.token;e&&await this.setAuthToken(e,{clearToken:c})}return a}constructor(e,t,n,a){this.httpClient=e,this.clientIdentifier=t,this.getToken=n,this.stateProvider=a}}class se{async fetchSubscriptions(){let e=rJ({include:"paymentMethod,pricePlan,nextPaymentPricePlan,partnerDetails"}),t=await this.client.httpClient.get("/monetization/subscriptions".toString(),{params:e,withCredentials:!0});return r5.fromResponse(t).data}constructor(e){this.client=e}}(h=I||(I={})).Paying="PAYING",h.NonPaying="NON_PAYING",h.VIP="VIP",h.IAP="IAP",h.PARTNER="PARTNER";class st{async fetchRegistration(e){return(await this.client.makeRequest({method:"GET",url:"/partner-registration/mvpds/".concat(e)})).data}async submitRegistration(e,t,n){return(await this.client.makeRequest({method:"POST",url:"/partner-registration/mvpds/".concat(e,"/subscriptions"),data:t},n)).data}constructor(e){this.client=e}}class sn extends K{constructor(){let e=A.PollingAuthorizedTimeout;super(e,{message:tW[e]})}}class sa extends K{constructor(){let e=A.NoTargetUrlResponse;super(e,{message:tW[e],usesDefaultApiErrorMessage:!0})}}class sr extends K{constructor(){let e=A.NoGAuthTokenInResponse;super(e,{message:tW[e],usesDefaultApiErrorMessage:!0})}}class ss extends K{constructor(e){var t;let n=A.SwitchProductError;super(n,{errorContext:{status:null!==(t=null==e?void 0:e.toString())&&void 0!==t?t:"unknown"},message:tW[n],usesDefaultApiErrorMessage:!0}),this.status=e}}class si{async fetchPartners(e){let t=rJ(e);return(await this.client.makeRequest({url:"/gauth/broker/partners",method:"GET",params:t})).data}async fetchToken(e){let t=rJ({code:e}),{partner:n,token:a,user:r}=(await this.client.makeRequest({url:"/gauth/broker/token",method:"GET",params:t})).data;if(!a)throw new sr;return{partner:n,token:a,user:r}}async fetchAuthorization(e,t){let n=rJ({partner_id:e.partnerId,redirect_url:e.redirectUrl,activation_code:e.activationCode,no_redirect:1}),a=(await this.client.makeRequest({url:"/gauth/broker/authorize",method:"GET",params:n},t)).data.target_url;if(!a)throw new sa;return a}async pollAuthorized(e,t){let n=await this.getAuthorizedStatus(e),{maxRetryCount:a,retryInterval:r}=t;for(let t=1;t<=a;t+=1){if(n.authorized)return n;await new Promise(e=>{setTimeout(e,r)}),n=await this.getAuthorizedStatus(e)}throw new sn}async getAuthorizedStatus(e){let{response:t,data:n}=await this.client.makeRequest({url:"/gauth/broker/authorized",method:"GET",headers:{"WBD-Gauth-Authorization":"Bearer ".concat(e)}});return{authorized:200===t.status,subscriptionIds:null==n?void 0:n.subscription_ids}}async switchProducts(e,t,n){let{response:a}=await this.client.makeRequest({url:"/gauth/broker/switchProducts",method:"POST",headers:{"WBD-Gauth-Authorization":"Bearer ".concat(e)},data:{subscriptions_to_terminate:t.map(e=>({subscription_id:e})),subscriptions_to_create:n.map(e=>({product_code:e}))}});if(200!==a.status)throw new ss(a.status)}async linkDeviceInitiate(e){return(await this.client.makeRequest({url:"/gauth/broker/linkDevice/initiate",method:"POST",data:{partner_id:e}})).data}constructor(e){this.client=e}}(0,k.gn)([eG()],si.prototype,"pollAuthorized",null);class so{async fetchPreferences(){return(await this.client.makeRequest({url:"/user-prefs/api/1/preferences/",method:"GET"})).data.preferences}async putPreferences(e,t){await this.client.makeRequest({url:"/user-prefs/api/1/preferences/",method:"PUT",data:{preferences:[{collection:e,selections:t}]}})}async postPreferences(e,t){await this.client.makeRequest({url:"/user-prefs/api/1/preferences/",method:"POST",data:{preferences:[{collection:e,selections:t}]}})}constructor(e){this.client=e}}class sl{async addAuthenticationProvider(e){await this.client.httpClient.post("/users/registration/addProvider".toString(),{credentials:e},{withCredentials:!0})}async hasPasswordSet(){let{data:e}=await this.client.makeRequest({url:"/users/registration/hasPasswordSet",method:"GET"});return e.hasPasswordSet}stateProvider(){return this.client.stateProvider()}constructor(e){this.client=e}}class sc{async fetchUserInfo(){let{gi_id:e,sub:t,auth_providers_list:n}=await this.coreSdk.getUserInfo();return{id:e,userId:t,providers:(n||[]).map(e=>{let{provider:t,verification_status:n,provider_id:a}=e;return{type:t,verifiedStatus:n,providerId:a}})}}async fetchUsersMe(){return(await this.client.makeRequest({url:"/users/me",method:"GET"})).data}async fetchUsersMeTokens(){let{data:e}=(await this.client.makeRequest({url:"/users/me/tokens",method:"GET"})).data,t=this.client.httpClient.sessionConfig.deviceId;return e.map(e=>({tokenId:e.id,...e.attributes,forCurrentDevice:t===e.attributes.deviceId}))}async deleteUsersMeToken(e){await this.client.makeRequest({url:"/users/me/tokens/".concat(e),method:"DELETE"})}async patchUsersMe(e,t){await this.client.makeRequest({url:"/users/me",method:"PATCH",data:{data:{id:e,attributes:t,type:"user"}}})}async resetPassword(e,t){await this.client.makeRequest({url:"/users/registration/resetPassword",method:"POST",data:{username:e}},t)}async changePassword(e){let{type:t,...n}=e;await this.client.makeRequest({url:"/users/registration/changePassword",method:"POST",data:n})}async changeUsername(e){let t={...e};await this.client.makeRequest({url:"/users/registration/changeUsername",method:"POST",data:t})}async changePhoneNumber(e){let t={...e};await this.client.makeRequest({url:"/idp/authentication/changePhoneNumber",method:"POST",data:t})}async checkPhoneNumber(e){try{return await this.client.makeRequest({url:"/idp/users/checkConflict",method:"POST",data:{phonenumber:e}}),{hasConflict:!1}}catch(e){if((null==e?void 0:e.code)==="conflict")return{hasConflict:!0};throw e}}async getProfiles(){let{data:e}=await this.client.makeRequest({url:"/users/me/profiles",method:"GET"});return function(e){let t=new Map(e.included.map(e=>[e.id,e]));return e.data.map(e=>{var n,a,r,s,i,o,l,c;let d=t.get(null!==(s=null===(r=null===(a=null===(n=e.relationships)||void 0===n?void 0:n.avatar)||void 0===a?void 0:a.data)||void 0===r?void 0:r.id)&&void 0!==s?s:""),u=t.get(null!==(c=null===(l=null===(o=null===(i=null==d?void 0:d.relationships)||void 0===i?void 0:i.avatarImage)||void 0===o?void 0:o.data)||void 0===l?void 0:l.id)&&void 0!==c?c:"");return{...e,avatar:d,avatarImage:u}})}(e)}constructor(e,t,n){this.coreSdk=e,this.client=t,this.notifier=n}}(0,k.gn)([a$({withPayloadFrom:e=>new ac(e),instrumentWhen:aq})],sc.prototype,"fetchUserInfo",null),(0,k.gn)([a$({withPayloadFrom:e=>new ad(e),instrumentWhen:aq})],sc.prototype,"fetchUsersMe",null),(0,k.gn)([a$({withPayloadFrom:e=>new as(e),instrumentWhen:aq})],sc.prototype,"getProfiles",null),(m=P||(P={})).Android="ANDROID",m.Ios="IOS",m.Playstation="PLAYSTATION",m.Web="WEB",m.Xbox="XBOX";class sd{stateProvider(){return this.state}async changePassword(e,t){await this.usersApi.changePassword({type:"updatePassword",currentPassword:e,password:t}),await this.behaviorService.passwordUpdate()}async changePersonalName(e){let{firstName:t,lastName:n}=e;await this.userService.patchUsersMeData({firstName:t,lastName:n}),await this.behaviorService.usernameUpdate()}async completePasswordReset(e,t){await this.usersApi.changePassword({type:"changePassword",password:e,passwordResetToken:t}),await this.behaviorService.passwordUpdate()}async completeUsernameChange(e){await this.usersApi.changeUsername({emailValidationCode:e}),await this.behaviorService.emailUpdate(),this.userService.clearCachedUserInfo(),await this.state.userInfo}async changePhoneNumber(e){await this.userService.changePhoneNumber(e),await this.behaviorService.phoneUpdate()}async addAuthenticationProvider(e){await this.userService.addAuthenticationProvider(e),await this.behaviorService.authProviderAdd({authMethod:"OTP"})}async createPassword(e){await this.usersApi.changePassword({type:"setPassword",password:e}),await this.behaviorService.passwordUpdate()}async getClientTranslationLanguageTags(){return this.userService.getClientTranslationLanguageTags()}async getCurrentLocationTerritory(){return this.userService.getCurrentLocationTerritory()}async getFirstName(){return this.userService.getFirstName()}async getFullName(){return[await this.userService.getFirstName(),await this.userService.getLastName()].filter(Boolean).join(" ")}async getLastName(){return this.userService.getLastName()}async getMigratedFromTenant(){return this.userService.getMigratedFromTenant()}getMigrationStatus(){return this.userService.getMigrationStatus()}getMigrationStatusSync(){return this.userService.getMigrationStatusSync()}async getPhoneNumber(){if(await this.isLoggedIn())return this.userService.getPhoneNumber()}async getSelectedProfileId(){return this.userService.getSelectedProfileId()}async getUserId(){return this.userService.getUserId()}async getUserInfo(){return this.userService.getUserInfo()}async getUsername(){return this.userService.getUsername()}async hasPassword(){return this.userService.hasPassword()}hasPasswordSync(){return this.userService.hasPasswordSync()}async isAbandoned(){return!!await this.userService.isLoggedIn()&&this.entitlements.isAbandoned()}async getCurrentActiveSubscription(){var e,t;let n=await this.userService.getSubscriptions({filterByStatus:["ACTIVE","PRE_ACTIVE","CANCELED"]});if(0===n.length)return;let a=n.find(e=>{let{attributes:t}=e;return(null==t?void 0:t.type)===I.PARTNER||(null==t?void 0:t.type)===I.IAP});return null!==(t=null!==(e=null==a?void 0:a.attributes)&&void 0!==e?e:n[0].attributes)&&void 0!==t?t:{}}async isActive(){return!!await this.userService.isLoggedIn()&&this.entitlements.isActive()}async isLapsed(){return!!await this.userService.isLoggedIn()&&this.entitlements.isLapsed()}async isLoggedIn(){return this.userService.isLoggedIn()}isLoggedInSync(){return this.userService.isLoggedInSync()}async getRawUserMeResponse(){let{forceRefresh:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.userService.getRawUserMeResponse({forceRefresh:e})}async requestPasswordReset(e){let{arkoseToken:t,arkoseSiteKey:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t&&n;await this.usersApi.resetPassword(e,a?{token:t,siteKey:n}:void 0),await this.behaviorService.passwordForgot()}async requestUsernameChange(e){await this.usersApi.changeUsername({username:e})}async setMigratedWelcomed(){return this.userService.patchUsersMeData({migrationStatus:"MIGRATED_WELCOMED"})}async fetchPreferences(){return this.preferencesApi.fetchPreferences()}async postPreferences(e,t){await this.preferencesApi.postPreferences(e,t)}async putPreferences(e,t){await this.preferencesApi.putPreferences(e,t)}async isPhoneNumberInUse(e){let{hasConflict:t}=await this.usersApi.checkPhoneNumber(e);return t}async addPhoneNumber(e){let{destination:t,oneTimePassword:n}=e;await this.userService.addAuthenticationProvider({provider:"PHONE_OTP",destination:t,oneTimePassword:n}),await this.behaviorService.authProviderAdd({authMethod:"MOBILE"})}constructor(e,t,n,a,r,s,i){this.behaviorService=e,this.entitlements=t,this.notifier=n,this.preferencesApi=a,this.state=r,this.usersApi=s,this.userService=i,this.sync={isLoggedIn:this.isLoggedInSync.bind(this),getMigrationStatus:this.getMigrationStatusSync.bind(this),hasPassword:this.hasPasswordSync.bind(this)}}}(0,k.gn)([nm(nf),a$({withPayloadFrom:e=>new an(e),instrumentWhen:aq})],sd.prototype,"changePassword",null),(0,k.gn)([a$({withPayloadFrom:e=>new aa(e),instrumentWhen:aq})],sd.prototype,"changePersonalName",null),(0,k.gn)([nm(nf),a$({withPayloadFrom:e=>new at(e),instrumentWhen:aq})],sd.prototype,"completePasswordReset",null),(0,k.gn)([a$({withPayloadFrom:e=>new n8(e),instrumentWhen:aq})],sd.prototype,"completeUsernameChange",null),(0,k.gn)([a$({withPayloadFrom:e=>new ar(e),instrumentWhen:aq})],sd.prototype,"changePhoneNumber",null),(0,k.gn)([a$({withPayloadFrom:e=>new n4(e,"OTP"),instrumentWhen:aq})],sd.prototype,"addAuthenticationProvider",null),(0,k.gn)([nm(nf),a$({withPayloadFrom:e=>new ae(e),instrumentWhen:aq})],sd.prototype,"createPassword",null),(0,k.gn)([eG()],sd.prototype,"getClientTranslationLanguageTags",null),(0,k.gn)([eG()],sd.prototype,"getCurrentLocationTerritory",null),(0,k.gn)([eG()],sd.prototype,"getFirstName",null),(0,k.gn)([eG()],sd.prototype,"getLastName",null),(0,k.gn)([eG()],sd.prototype,"getMigratedFromTenant",null),(0,k.gn)([eG()],sd.prototype,"getMigrationStatus",null),(0,k.gn)([eG()],sd.prototype,"getPhoneNumber",null),(0,k.gn)([eG()],sd.prototype,"getSelectedProfileId",null),(0,k.gn)([eG()],sd.prototype,"getUserId",null),(0,k.gn)([eG()],sd.prototype,"getUserInfo",null),(0,k.gn)([eG()],sd.prototype,"getUsername",null),(0,k.gn)([eG()],sd.prototype,"hasPassword",null),(0,k.gn)([eG()],sd.prototype,"isAbandoned",null),(0,k.gn)([eG()],sd.prototype,"getCurrentActiveSubscription",null),(0,k.gn)([eG()],sd.prototype,"isActive",null),(0,k.gn)([eG()],sd.prototype,"isLapsed",null),(0,k.gn)([eG()],sd.prototype,"isLoggedIn",null),(0,k.gn)([eG()],sd.prototype,"getRawUserMeResponse",null),(0,k.gn)([a$({withPayloadFrom:e=>new aK(e),instrumentWhen:aq})],sd.prototype,"requestPasswordReset",null),(0,k.gn)([a$({withPayloadFrom:e=>new n8(e),instrumentWhen:aq})],sd.prototype,"requestUsernameChange",null),(0,k.gn)([eG()],sd.prototype,"setMigratedWelcomed",null),(0,k.gn)([eG()],sd.prototype,"fetchPreferences",null),(0,k.gn)([eG()],sd.prototype,"postPreferences",null),(0,k.gn)([eG()],sd.prototype,"putPreferences",null),(0,k.gn)([eG()],sd.prototype,"isPhoneNumberInUse",null),(0,k.gn)([a$({withPayloadFrom:e=>new n4(e,"MOBILE"),instrumentWhen:aq})],sd.prototype,"addPhoneNumber",null);let su=e=>{let{aggregatorApi:t,appExperienceService:n,authApi:a,authService:r,behaviorService:s,consentApi:i,core:o,entitlements:l,environment:c,gauthApi:d,headless:u,localizationProvider:p,mobileService:g,monetizationApi:h,notifierService:m,partnerState:v,preferencesApi:f,publisher:y,registrationApi:E,sessionContext:b,state:S,userService:T,usersApi:w}=e;return{appExperience:new tX(n),auth:new ra(r,s,o,m,v,a,S),consent:new rr(s,o,m,i),device:new rs(s,o,m,v,a,w,S),gauthTokenAnalyzer:new rD(r,g,m,v,T),internal:new rl(o,c,h,m,b,u),localization:new rL(p,m),multiverse:new rx(o),notify:new rO(m,y),partner:new rM(a,s,o,c,d,g,m,v,E),partnerAggregator:new rF(t,s,m,v),policy:new rG(m,S),security:new rB(o,m,S,s),user:new sd(s,l,m,f,S,w,T)}};class sp{static global(){return new sp}static withBrand(e){return new sp(e)}generateKey(){for(var e=arguments.length,t=Array(e),n=0;n1?t-1:0),a=1;a1?t-1:0),a=1;a{let{publisher:t,httpClient:n,brandId:a,giSdkClientIdentifier:r,tokenProvider:s,stateProvider:i,sdkProvider:o}=e,l=new tk({httpClient:n,giSdkClientIdentifier:r}),c=new r8(n,r,s,i),d=new aZ(t,o),u=new tQ,p=sp.withBrand(a),g=new n2(d),h=new aY(l,d),m=new a0(l),v=new st(c),f=new rH(c),y=new rQ(c,d),E=new rZ(c),b=new si(c),S=new se(c),T=new so(c),w=new sl(c),A=new r9(c,l,d),C=new sc(l,c,d),I=new aX(A),P=new nu(m,d,p,E,w,C),_=new n3(P),k=new aJ(P),N=new a3(S,P,C,w),R=new nE(g,a,l,d,k,P),L=new rC(h,u,d),x=new aQ(h,k);return{aggregatorApi:v,appExperienceService:u,authApi:f,authService:R,behaviorService:g,brandId:a,consentApi:y,core:l,entitlements:_,environment:h,gauthApi:b,headless:I,localizationProvider:L,mobileService:x,monetizationApi:S,notifierService:d,partnerState:k,policyService:m,preferencesApi:T,publisher:t,registrationApi:w,sessionContext:A,sonic:c,state:P,storage:p,userService:N,usersApi:C}};class sh{updateClientApplicationState(e){let{screenName:t,screenUri:n}=e;this.state.applicationState={screenName:t,screenUri:n}}registerEventHandlers(){var e;let{onAnalyticsEvent:t,onInstrumentationEvent:n,onInstrumentationBehavior:a}=null!==(e=this.applicationSettings.handlers)&&void 0!==e?e:{};t&&this.publisher.subscribe("AnalyticsEvent",t),n&&this.publisher.subscribe("InstrumentationEvent",n),a&&this.publisher.subscribe("InstrumentationBehavior",a)}enableRequestSignatures(){let e=eh("web",()=>this.GiWebCoreSdk,"AXIOS"===this.applicationSettings.httpClient.moduleName);this.applicationSettings.httpClient.interceptors.request.use(e,void 0,{priority:N.W.TRANSFORMATION})}verifyApplicationSettings(){let e=tH.reduce((e,t)=>void 0===this.applicationSettings[t]||null===this.applicationSettings[t]?[...e,t]:e,[]);if(e.length>0)throw new tz(e)}isUiBlockingConsentsErrorDisabled(){return this.environment.getConfig().failOpen.config.disableUiBlockingConsentsError||!1}static isValidPassword(e){return tk.isValidPassword(e)}static getInstance(){for(var e=arguments.length,t=Array(e),n=0;nthis.state,tokenProvider:()=>this.auth.getToken(),sdkProvider:()=>this});this.GiWebCoreSdk=t.core,this.environment=t.environment,this.state=t.state;let n=su(t);this.appExperience=n.appExperience,this.auth=n.auth,this.consent=n.consent,this.device=n.device,this.gauthTokenAnalyzer=n.gauthTokenAnalyzer,this.internal=n.internal,this.localization=n.localization,this.multiverse=n.multiverse,this.notify=n.notify,this.partner=n.partner,this.partnerAggregator=n.partnerAggregator,this.policy=n.policy,this.security=n.security,this.user=n.user,t.sessionContext.installSessionContextListeners(),this.registerEventHandlers(),this.enableRequestSignatures()}}sh.getDeviceId=tk.getDeviceId,(0,k.gn)([eF()],sh.prototype,"isUiBlockingConsentsErrorDisabled",null),(0,k.gn)([eG()],sh.prototype,"init",null),(0,k.gn)([eF()],sh.prototype,"isUiReady",null),(0,k.gn)([eF()],sh.prototype,"isInitialized",null),(0,k.gn)([eF()],sh.prototype,"getLocale",null),(0,k.gn)([eF()],sh.prototype,"setAppExperience",null),(0,k.gn)([eF()],sh.prototype,"getAppExperience",null),(0,k.gn)([eF()],sh,"getInstance",null);let sm={AddEmailPassword:{Start:"Start",AddEmailAndPassword:"account-edit-email-and-password"},AuthUp:{Start:"Start",EnterPassword:"password-validation",Otp:"otp-validate-auth-up"},CreateAccount:{Start:"Start",AccountLookup:"account-lookup",AccountLookupEmail:"account-lookup-email",Email:"account-create-email",Phone:"account-create-phone",PhoneOtp:"otp-validate-account-create",PartnerOtp:"otp-validate-sign-in-partner",CreatePassword:"password-create",PartnerAccountFound:"partner-account-found"},EditPhone:{Start:"Start",AuthUpEditPhone:"AuthUpEditPhone",AuthUpAddPhone:"AuthUpAddPhone",EditPhone:"account-edit-phone",AddPhone:"account-add-phone",EditOtp:"otp-validate-edit-phone",AddOtp:"otp-validate-add-phone"},ForgotPassword:{MakeResetRequest:"forgot-password",ConfirmRequestSent:"forgot-password-confirmation"},PartnerAuthorize:{Subscription:"partner-subscription",Authorize:"partner-authorize",ConnectAccount:"partner-connect-account",Error:"partner-sync-error"},PartnerRegister:{Start:"Start",Register:"partner-register",RegisterError:"partner-register-error"},PartnerToken:{Token:"partner-sync",AccountFound:"partner-account-found",RegisterError:"partner-register-error",Error:"partner-sync-error"},SetPassword:{SetNewPassword:"set-new-password",Confirm:"password-saved"},SignIn:{Start:"Start",UiDriver:"UiDriver",EnterEmail:"sign-in-lookup-email",EnterEmailOrPhone:"sign-in-lookup",EnterPassword:"password-validation",EnterOtp:"otp-validate-sign-in",CreatePassword:"password-create",UserNotFound:"user-not-found"}};(v=_||(_={})).AddEmail="addEmail",v.AddPhone="addPhone",v.CreateAccountEmail="createAccount",v.CreateAccountPhone="createAccountOnlyPhone";var sv=n(50517),sf=n(16551);class sy extends sv.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.identity.lookup_3.0",this.sessionUpdate=sf.I.EXTEND}}let sE=new sy;class sb extends sv.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.identity.account_3.5",this.sessionUpdate=sf.I.EXTEND}}let sS=new sb;class sT extends sv.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.identity.arkose_3.0",this.sessionUpdate=sf.I.EXTEND}}let sw=new sT;class sA extends sv.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.interaction.click_4.4",this.sessionUpdate=sf.I.EXTEND}}let sC=new sA;class sI extends sv.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.identity.consents_1.0",this.sessionUpdate=sf.I.EXTEND}}let sP=new sI;class s_ extends sv.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.interaction.form_1.1",this.sessionUpdate=sf.I.EXTEND}}let sk=new s_;class sN extends sv.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.labs.decisionaccessed_1.2",this.sessionUpdate=sf.I.CONTINUE}}let sR=new sN;var sL=n(93838);class sx extends sv.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.identity.registration_3.1",this.sessionUpdate=sf.I.EXTEND}}let sO=new sx;class sD extends sv.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.identity.signin_3.0",this.sessionUpdate=sf.I.EXTEND}}let sU=new sD,sM=e=>{let{eventSchemaCategory:t,...n}=e;return{...n}},sF=(e,t)=>({emitter:e,propsBuilder:t});nb.NU.AccountLookup,sF(sE,sM),nb.NU.Account,sF(sS,sM),nb.NU.Arkose,sF(sw,sM),nb.NU.Click,sF(sC,sM),nb.NU.Consents,sF(sP,sM),nb.NU.Form,sF(sk,sM),nb.NU.LabsDecisionAccessed,sF(sR,sM),nb.NU.Navigation,sF(sL.cP,sM),nb.NU.Registration,sF(sO,sM),nb.NU.SignIn,sF(sU,sM);var sG=n(97718);let sW={USER_FACING:"USER_FACING"};class sB extends sG.G{_buildAccountDetailsV1(e){return e}_buildErrV1(e){var t,n;return{...e,id:this._getErrorId(),scope:null!==(t=e.scope)&&void 0!==t?t:sW.USER_FACING,stackTrace:null===(n=e.stackTrace)||void 0===n?void 0:n.slice(0,2e3)}}_buildOmdV1(e){return e}_build(e){let t={...e,err:this._buildErrV1(e.err),account:this._buildAccountDetailsV1(e.account),omd:this._buildOmdV1(e.omd)};return super._build(t)}constructor(){super(...arguments),this.eventType="beam.errors.identity.account_1.4",this.sessionUpdate=sf.I.CONTINUE}}let sV=new sB,sH={USER_FACING:"USER_FACING"};class sj extends sG.G{_buildErrV1(e){var t,n;return{...e,id:this._getErrorId(),scope:null!==(t=e.scope)&&void 0!==t?t:sH.USER_FACING,stackTrace:null===(n=e.stackTrace)||void 0===n?void 0:n.slice(0,2e3)}}_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.identity.lookup_1.0",this.sessionUpdate=sf.I.CONTINUE}}let sK=new sj;var sz=n(86160);let sq={USER_FACING:"USER_FACING"};class s$ extends sG.G{_buildErrV1(e){var t,n;return{...e,id:this._getErrorId(),scope:null!==(t=e.scope)&&void 0!==t?t:sq.USER_FACING,stackTrace:null===(n=e.stackTrace)||void 0===n?void 0:n.slice(0,2e3)}}_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.identity.featureflags_1.0",this.sessionUpdate=sf.I.CONTINUE}}let sY=new s$,sX={USER_FACING:"USER_FACING"};class sQ extends sG.G{_buildErrV1(e){var t,n;return{...e,id:this._getErrorId(),scope:null!==(t=e.scope)&&void 0!==t?t:sX.USER_FACING,stackTrace:null===(n=e.stackTrace)||void 0===n?void 0:n.slice(0,2e3)}}_buildOmdV1(e){return e}_buildArkoseDetailsV1(e){return e}_build(e){let t={...e,err:this._buildErrV1(e.err),arkose:this._buildArkoseDetailsV1(e.arkose),omd:this._buildOmdV1(e.omd)};return super._build(t)}constructor(){super(...arguments),this.eventType="beam.errors.identity.arkose_1.3",this.sessionUpdate=sf.I.CONTINUE}}let sZ=new sQ;class sJ extends sG.G{_buildErrV1(e){var t,n;return{...e,id:this._getErrorId(),scope:null!==(t=e.scope)&&void 0!==t?t:"USER_FACING",stackTrace:null===(n=e.stackTrace)||void 0===n?void 0:n.slice(0,3e3)}}_buildOmdV1(e){return e}_buildTranslationV1(e){return e}_build(e){let t={...e,err:this._buildErrV1(e.err),omd:this._buildOmdV1(e.omd),translation:this._buildTranslationV1(e.translation)};return super._build(t)}constructor(){super(...arguments),this.eventType="beam.errors.ui.localization_1.0",this.sessionUpdate=sf.I.CONTINUE}}let s0=new sJ,s7={USER_FACING:"USER_FACING"};class s1 extends sG.G{_buildErrV1(e){var t,n;return{...e,id:this._getErrorId(),scope:null!==(t=e.scope)&&void 0!==t?t:s7.USER_FACING,stackTrace:null===(n=e.stackTrace)||void 0===n?void 0:n.slice(0,2e3)}}_buildOmdV1(e){return e}_buildOtpDetailsV1(e){return e}_build(e){let t={...e,err:this._buildErrV1(e.err),omd:this._buildOmdV1(e.omd),otp:this._buildOtpDetailsV1(e.otp)};return super._build(t)}constructor(){super(...arguments),this.eventType="beam.errors.identity.otp_1.0",this.sessionUpdate=sf.I.CONTINUE}}let s5=new s1,s2={BACKGROUND:"BACKGROUND"};class s3 extends sG.G{_buildErrV2(e){var t,n;return{...e,id:this._getErrorId(),scope:null!==(t=e.scope)&&void 0!==t?t:s2.BACKGROUND,stackTrace:null===(n=e.stackTrace)||void 0===n?void 0:n.slice(0,3e3)}}_buildOmdV2(e){return e}_build(e){let t={...e,err:this._buildErrV2(e.err),omd:this._buildOmdV2(e.omd)};return super._build(t)}constructor(){super(...arguments),this.eventType="beam.errors.platform.configuration_2.0",this.sessionUpdate=sf.I.CONTINUE}}let s4=new s3;var s9=n(24764),s6=n(28934);let s8={USER_FACING:"USER_FACING"};class ie extends sG.G{_buildErrV3(e){var t,n;return{...e,id:this._getErrorId(),scope:null!==(t=e.scope)&&void 0!==t?t:s8.USER_FACING,stackTrace:null===(n=e.stackTrace)||void 0===n?void 0:n.slice(0,3e3)}}_buildRegistrationDetailsV3(e){return e}_buildOmdV3(e){return e}_build(e){let t={...e,err:this._buildErrV3(e.err),omd:this._buildOmdV3(e.omd),registration:this._buildRegistrationDetailsV3(e.registration)};return super._build(t)}constructor(){super(...arguments),this.eventType="beam.errors.identity.registration_3.5",this.sessionUpdate=sf.I.CONTINUE}}let it=new ie,ia={USER_FACING:"USER_FACING"};class ir extends sG.G{_buildErrV2(e){var t,n;return{...e,id:this._getErrorId(),scope:null!==(t=e.scope)&&void 0!==t?t:ia.USER_FACING,stackTrace:null===(n=e.stackTrace)||void 0===n?void 0:n.slice(0,3e3)}}_buildOmdV2(e){return e}_buildSignInDetailsV2(e){return e}_build(e){let t={...e,err:this._buildErrV2(e.err),signin:this._buildSignInDetailsV2(e.signin),omd:this._buildOmdV2(e.omd)};return super._build(t)}constructor(){super(...arguments),this.eventType="beam.errors.identity.signin_2.2",this.sessionUpdate=sf.I.CONTINUE}}let is=new ir;var ii=n(5179);let io={USER_FACING:"USER_FACING"};class il extends sG.G{_buildErrV2(e){var t,n;return{...e,id:this._getErrorId(),scope:null!==(t=e.scope)&&void 0!==t?t:io.USER_FACING,stackTrace:null===(n=e.stackTrace)||void 0===n?void 0:n.slice(0,3e3)}}_buildOmdV2(e){return e}_buildPageV2(e){return e}_buildViewV2(e){return e}_build(e){let t={...e,err:this._buildErrV2(e.err),view:this._buildViewV2(e.view),omd:this._buildOmdV2(e.omd),page:this._buildPageV2(e.page)};return super._build(t)}constructor(){super(...arguments),this.eventType="beam.errors.ui.component_2.1",this.sessionUpdate=sf.I.CONTINUE}}let ic=new il,id={USER_FACING:"USER_FACING"};class iu extends sG.G{_buildErrV1(e){var t,n;return{...e,id:this._getErrorId(),scope:null!==(t=e.scope)&&void 0!==t?t:id.USER_FACING,stackTrace:null===(n=e.stackTrace)||void 0===n?void 0:n.slice(0,2e3)}}_buildOmdV1(e){return e}_buildPlaybackV1(e){return e}_buildRequestV1(e){return e}_buildUiV1(e){return e}_build(e){let t={...e,err:this._buildErrV1(e.err),ui:this._buildUiV1(e.ui),omd:this._buildOmdV1(e.omd),playback:this._buildPlaybackV1(e.playback),request:this._buildRequestV1(e.request)};return super._build(t)}constructor(){super(...arguments),this.eventType="beam.errors.ui.errorprompt_1.0",this.sessionUpdate=sf.I.CONTINUE}}let ip=new iu,ig={USER_FACING:"USER_FACING"};class ih extends sG.G{_buildErrV1(e){var t,n;return{...e,id:this._getErrorId(),scope:null!==(t=e.scope)&&void 0!==t?t:ig.USER_FACING,stackTrace:null===(n=e.stackTrace)||void 0===n?void 0:n.slice(0,3e3)}}_buildOmdV1(e){return e}_buildPageV1(e){return e}_buildReferrerV1(e){return e}_buildViewV1(e){return e}_build(e){let t={...e,err:this._buildErrV1(e.err),referrer:this._buildReferrerV1(e.referrer),view:this._buildViewV1(e.view),omd:this._buildOmdV1(e.omd),page:this._buildPageV1(e.page)};return super._build(t)}constructor(){super(...arguments),this.eventType="beam.errors.ui.route_1.1",this.sessionUpdate=sf.I.CONTINUE}}let im=new ih,iv=(e,t)=>({emitter:e,propsBuilder:t});nb.$G.Account,iv(sV,e=>{let{classification:t,err:n,omd:a}=e;return{err:{classification:t,...n},omd:a}}),nb.$G.AccountLookup,iv(sK,e=>{let{classification:t,err:n,omd:a}=e;return{err:{classification:t,...n},omd:a}}),nb.$G.Consent,iv(sz.XM,e=>{let{consent:t,classification:n,err:a,omd:r}=e;return{consent:t,err:{classification:n,...a},omd:r}}),nb.$G.FeatureFlags,iv(sY,e=>{let{classification:t,err:n,omd:a}=e;return{err:{classification:t,...n},omd:a}}),nb.$G.IdentityArkose,iv(sZ,e=>{let{classification:t,err:n,omd:a,arkose:r}=e;return{arkose:r,err:{classification:t,...n},omd:a}}),nb.$G.Localization,iv(s0,e=>{let{classification:t,translation:n,err:a,omd:r}=e;return{err:{classification:t,...a},omd:r,translation:n}}),nb.$G.Otp,iv(s5,e=>{let{classification:t,err:n,omd:a}=e;return{err:{classification:t,...n},omd:a}}),nb.$G.PlatformConfiguration,iv(s4,e=>{let{classification:t,err:n,eventSchemaCategory:a,...r}=e;return{...r,err:{classification:t,...n}}}),nb.$G.PlatformRuntime,iv(s9.W3,e=>{let{classification:t,err:n,eventSchemaCategory:a,...r}=e;return{...r,err:{classification:t,...n}}}),nb.$G.PlatformVendor,iv(s6.mB,e=>{let{classification:t,err:n,omd:a}=e;return{err:{classification:t,...n},omd:a}}),nb.$G.Registration,iv(it,e=>{let{classification:t,err:n,eventSchemaCategory:a,...r}=e;return{...r,err:{classification:t,...n}}}),nb.$G.SignIn,iv(is,e=>{let{classification:t,err:n,eventSchemaCategory:a,signin:r,...s}=e;return{...s,err:{classification:t,...n},signin:r}}),nb.$G.Token,iv(ii.x1,e=>{let{classification:t,err:n,omd:a}=e;return{err:{classification:t,...n},omd:a}}),nb.$G.UiComponent,iv(ic,e=>{let{classification:t,view:n,err:a,omd:r}=e;return{err:{classification:t,...a},view:n,omd:r}}),nb.$G.UiErrorPrompt,iv(ip,e=>{let{classification:t,ui:n,err:a,omd:r}=e;return{err:{classification:t,...a},ui:n,omd:r}}),nb.$G.UiRoute,iv(im,e=>{let{classification:t,err:n,view:a,page:r,referrer:s,omd:i}=e;return{err:{classification:t,...n},view:a,page:r,referrer:s,omd:i}})},23523:function(e,t,n){"use strict";n.d(t,{AU:function(){return a},kT:function(){return r}});let a={WIFI:"WIFI",WIRED:"WIRED",CELLULAR:"CELLULAR",DISCONNECTED:"DISCONNECTED",UNSPECIFIED:"UNSPECIFIED"};class r{constructor(e){var t,n,a;this.contextType="beam.context.global_6.0",this.application={...e.application,omd:{...e.application.omd},symbolication:{...e.application.symbolication}},this.applicationState={...e.applicationState,device:{...e.applicationState.device,limitAdTracking:null!==(t=e.applicationState.device.limitAdTracking)&&void 0!==t&&t},network:{...e.applicationState.network},screen:{...e.applicationState.screen},a11y:{...e.applicationState.a11y},page:{...e.applicationState.page}},this.device={...e.device,browser:{...null===(n=e.device)||void 0===n?void 0:n.browser}},this.tenant={...e.tenant,user:{...null===(a=e.tenant)||void 0===a?void 0:a.user}}}}},86160:function(e,t,n){"use strict";n.d(t,{IU:function(){return s},XM:function(){return l},Yy:function(){return i}});var a=n(97718),r=n(16551);let s={FETCH_FAILED:"FETCH_FAILED",UPDATE_FAILED:"UPDATE_FAILED"},i={USER_FACING:"USER_FACING",BACKGROUND:"BACKGROUND",RECOVERABLE:"RECOVERABLE"};class o extends a.G{_buildConsentDetailsV1(e){return e}_buildErrV1(e){var t,n;return{...e,id:this._getErrorId(),scope:null!==(t=e.scope)&&void 0!==t?t:i.USER_FACING,stackTrace:null===(n=e.stackTrace)||void 0===n?void 0:n.slice(0,2e3)}}_buildOmdV1(e){return e}_build(e){let t={...e,err:this._buildErrV1(e.err),consent:this._buildConsentDetailsV1(e.consent),omd:this._buildOmdV1(e.omd)};return super._build(t)}constructor(){super(...arguments),this.eventType="beam.errors.identity.consent_1.3",this.sessionUpdate=r.I.CONTINUE}}let l=new o},5179:function(e,t,n){"use strict";n.d(t,{NU:function(){return s},x1:function(){return l}});var a=n(97718),r=n(16551);let s={TOKEN_STORE:"TOKEN_STORE",TOKEN_DATA:"TOKEN_DATA",TOKEN_DELETION:"TOKEN_DELETION"},i={BACKGROUND:"BACKGROUND"};class o extends a.G{_buildErrV1(e){var t,n;return{...e,id:this._getErrorId(),scope:null!==(t=e.scope)&&void 0!==t?t:i.BACKGROUND,stackTrace:null===(n=e.stackTrace)||void 0===n?void 0:n.slice(0,2e3)}}_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.identity.token_1.0",this.sessionUpdate=r.I.CONTINUE}}let l=new o},28934:function(e,t,n){"use strict";n.d(t,{ap:function(){return s},mB:function(){return o}});var a=n(97718),r=n(16551);let s={RECOVERABLE:"RECOVERABLE",USER_FACING:"USER_FACING"};class i extends a.G{_buildErrV1(e){var t,n,a;return{...e,classification:null!==(t=e.classification)&&void 0!==t?t:"Error",id:this._getErrorId(),scope:null!==(n=e.scope)&&void 0!==n?n:s.RECOVERABLE,stackTrace:null===(a=e.stackTrace)||void 0===a?void 0:a.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.vendor_1.0",this.sessionUpdate=r.I.CONTINUE}}let o=new i},62393:function(e,t,n){"use strict";n.d(t,{H4:function(){return i},ge:function(){return s},gs:function(){return l}});var a=n(97718),r=n(16551);let s={INITIALIZATION:"INITIALIZATION",PAINT:"PAINT",UPDATE:"UPDATE",INACTIVE:"INACTIVE",RESUME:"RESUME",TEARDOWN:"TEARDOWN"},i={USER_FACING:"USER_FACING",RECOVERABLE:"RECOVERABLE",BACKGROUND:"BACKGROUND"};class o extends a.G{_buildErrV1(e){var t,n;return{...e,id:this._getErrorId(),scope:null!==(t=e.scope)&&void 0!==t?t:i.USER_FACING,stackTrace:null===(n=e.stackTrace)||void 0===n?void 0:n.slice(0,3e3)}}_buildOmdV1(e){return e}_buildPageV1(e){return e}_buildViewV1(e){return e}_build(e){let t={...e,err:this._buildErrV1(e.err),page:this._buildPageV1(e.page),view:this._buildViewV1(e.view),omd:this._buildOmdV1(e.omd)};return super._build(t)}constructor(){super(...arguments),this.eventType="beam.errors.ui.component_1.0",this.sessionUpdate=r.I.CONTINUE}}let l=new o},19719:function(e,t,n){"use strict";n.d(t,{M:function(){return i}});var a=n(50517),r=n(16551);class s extends a.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.navigation.browse_2.0",this.sessionUpdate=r.I.EXTEND}}let i=new s},93838:function(e,t,n){"use strict";n.d(t,{cP:function(){return i}});var a=n(50517),r=n(16551);class s extends a.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.navigation.browse_3.2",this.sessionUpdate=r.I.EXTEND}}let i=new s},55214:function(e,t,n){"use strict";n.d(t,{_T:function(){return s},tH:function(){return o}});var a=n(50517),r=n(16551);let s={BOOT_START:"BOOT_START",BOOT_END:"BOOT_END",PAGE_ROUTE_CHANGED:"PAGE_ROUTE_CHANGED",SPLASH_SCREEN_REMOVED:"SPLASH_SCREEN_REMOVED",PAGE_DATA_LOAD_START:"PAGE_DATA_LOAD_START",PAGE_DATA_LOAD_END:"PAGE_DATA_LOAD_END"};class i extends a.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.performance.mark_1.0",this.sessionUpdate=r.I.CONTINUE}}let o=new i},17164:function(e,t,n){"use strict";n.d(t,{Fq:function(){return i},Md:function(){return c},V_:function(){return o},h7:function(){return s}});var a=n(50517),r=n(16551);let s={BOOT_START:"BOOT_START",BOOT_END:"BOOT_END",PAGE_ROUTE_CHANGED:"PAGE_ROUTE_CHANGED",SPLASH_SCREEN_REMOVED:"SPLASH_SCREEN_REMOVED",PAGE_DATA_LOAD_START:"PAGE_DATA_LOAD_START",PAGE_DATA_LOAD_END:"PAGE_DATA_LOAD_END"},i={BOOT_START:"BOOT_START",BOOT_END:"BOOT_END",PAGE_ROUTE_CHANGED:"PAGE_ROUTE_CHANGED",SPLASH_SCREEN_REMOVED:"SPLASH_SCREEN_REMOVED",PAGE_DATA_LOAD_START:"PAGE_DATA_LOAD_START",PAGE_DATA_LOAD_END:"PAGE_DATA_LOAD_END"},o={BOOT:"BOOT",PAGE_DATA_LOAD:"PAGE_DATA_LOAD",FIRST_CONTENTFUL_PAINT:"FIRST_CONTENTFUL_PAINT",LARGEST_CONTENTFUL_PAINT:"LARGEST_CONTENTFUL_PAINT",TIME_TO_INTERACTIVE:"TIME_TO_INTERACTIVE",FIRST_INPUT_DELAY:"FIRST_INPUT_DELAY"};class l extends a.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.performance.measure_1.0",this.sessionUpdate=r.I.CONTINUE}}let c=new l},65216:function(e,t,n){"use strict";n.d(t,{Gr:function(){return es},aw:function(){return eo},FJ:function(){return el},$9:function(){return ec}});var a=n(87597),r=n(45090);class s{constructor(e={}){this.emitOnly=s.defaults.emitOnly,this.flushInterval=s.defaults.flushInterval,this.flushThrottleFactor=s.defaults.flushThrottleFactor,this.forwarders=s.defaults.forwarders,this.forwarderMatchers=s.defaults.forwarderMatchers,this.heartbeatInterval=s.defaults.heartbeatInterval,this.minDisableInterval=s.defaults.minDisableInterval,this.telegraphUri=s.defaults.telegraphUri,this.httpClientRetryPolicy=s.defaults.httpClientRetryPolicy,this.maxEventBatchSize=s.defaults.maxEventBatchSize,this.maxRetries=s.defaults.maxRetries,this.isTestMode=s.defaults.isTestMode,this.traceFlags=s.defaults.traceFlags,Object.assign(this,s.defaults,e),e.forwarders&&0===e.forwarders.length&&(this.forwarders=s.defaults.forwarders);let t=this.forwarders.filter(e=>"off"===e.status).flatMap(e=>e.matchers.map(e=>"!".concat(e))),n=this.forwarders.filter(e=>"isdk_only"===e.status||"dual_emit"===e.status).flatMap(e=>e.matchers.map(e=>"".concat(e)));this.forwarderMatchers=n.concat(t)}}s.defaults={emitOnly:!1,flushInterval:2e3,flushThrottleFactor:2,forwarders:[{matchers:["isdk:*"],status:"isdk_only"}],forwarderMatchers:["isdk:*"],heartbeatInterval:3e4,httpClientRetryPolicy:{retries:0},isTestMode:!1,minDisableInterval:30,maxEventBatchSize:10,maxRetries:5,telegraphUri:"/events",traceFlags:"00"};class i{static getInstance(){var e,t;return window.ISDK=null!==(e=window.ISDK)&&void 0!==e?e:{},window.ISDK.EventQueue=null!==(t=window.ISDK.EventQueue)&&void 0!==t?t:this,window.ISDK.EventQueue}static initialize(e){let t=this.getInstance();t._maxBatchSize=e.maxEventBatchSize,e.eventStorage&&(t._persistentStorage=e.eventStorage,t._storage=t._getIStorageEventQueue())}static enqueueEvent(e){let t=this.getInstance();t._storage.length>=t._maxQueueSize&&t._popTopEvents(),t._storage.push(e),t._persistentStorage&&t._persistentStorage.writeSync("ISDKEventQueue",JSON.stringify(t._storage))}static insertToFront(e){let t=this.getInstance();t._storage.unshift(...e),t._persistentStorage&&t._persistentStorage.writeSync("ISDKEventQueue",JSON.stringify(t._storage))}static _popTopEvents(){let e=0;this._storage.length>=this._maxQueueSize&&(e=this._storage.length-this._maxQueueSize),this._storage.splice(0,e+1)}static size(){return this.getInstance()._storage.length}static clearQueue(){let e=this.getInstance();e._storage=[],e._persistentStorage&&e._persistentStorage.removeSync("ISDKEventQueue")}static getEventBatch(){let e=this.getInstance(),t=e._storage.splice(0,e._maxBatchSize);return e._persistentStorage&&e._persistentStorage.writeSync("ISDKEventQueue",JSON.stringify(e._storage)),t}static _getIStorageEventQueue(){let e=this._persistentStorage.readSync("ISDKEventQueue");try{return e?JSON.parse(e):[]}catch(e){return[]}}}i._maxBatchSize=10,i._storage=[],i._maxQueueSize=2e3;let o="event";var l=n(97718),c=n(16551);let d={EVENT_QUEUE:"EVENT_QUEUE"},u={BACKGROUND:"BACKGROUND"};class p extends l.G{_buildErrV1(e){var t,n;return{...e,id:this._getErrorId(),scope:null!==(t=e.scope)&&void 0!==t?t:u.BACKGROUND,stackTrace:null===(n=e.stackTrace)||void 0===n?void 0:n.slice(0,3e3)}}_buildOmdV1(e){return e}_buildQueueDataV1(e){return e}_build(e){let t={...e,err:this._buildErrV1(e.err),omd:this._buildOmdV1(e.omd),queue:this._buildQueueDataV1(e.queue)};return super._build(t)}constructor(){super(...arguments),this.eventType="beam.errors.instrumentation.runtime_1.0",this.sessionUpdate=c.I.CONTINUE}}let g=new p;var h=n(70319),m=n.n(h);class v{static getInstance(){var e,t;return window.ISDK=null!==(e=window.ISDK)&&void 0!==e?e:{},window.ISDK.EventTransmitter=null!==(t=window.ISDK.EventTransmitter)&&void 0!==t?t:this,window.ISDK.EventTransmitter}static initialize(e){let t=this.getInstance();t._httpClient=e.httpClient,t._telegraphUri=e.telegraphUri,t._retryConfig=e.httpClientRetryPolicy,t._isTestMode=e.isTestMode}static async transmitBatch(e){let t=this.getInstance();if(!t._httpClient||!t._telegraphUri||!t._retryConfig)throw Error("you must initialize EventTransmitter before placing requests");let n=Date.now(),a={headers:{"x-sent-at":"".concat(n),...t._isTestMode&&{"x-wbd-origin-group":"TEST"}}};return await t._httpClient.post(t._telegraphUri,e,a,t._retryConfig)}}class f{static getInstance(){var e,t;return window.ISDK=null!==(e=window.ISDK)&&void 0!==e?e:{},window.ISDK.EventBatcher=null!==(t=window.ISDK.EventBatcher)&&void 0!==t?t:this,window.ISDK.EventBatcher}static async batchAsync(e){let t=this.getInstance(),n=t._createEventBatch(e),a=t._serializeEventData(n);return await v.transmitBatch(a)}static _createEventBatch(e){let t={sharedProperties:{},events:[]},n=[],a=0;return e.forEach(e=>{let r=[];Object.keys(e).forEach(s=>{if(s!==o){let i=!1;for(let t=0;te[o].eventType))]}};e._instrumentationRuntimeErrorV1.capture(a),t=[]}else await e._throttleIfFailedRequest(n,t);return}e._currentAttempts=0,i.size()>0&&e._scheduleFlusher(e._minimumFlushInterval)}}static _scheduleFlusher(e){this._clearFlushTimer(),this._flushTimer=setTimeout(async()=>{try{this._clearFlushTimer(),!this._isOnline||(await this.flushEventQueue(),this._flushTimer||this._disableTimer||this._scheduleFlusher())}catch(e){}},null!=e?e:this._flushInterval)}static _shouldFlushQueuedEvents(){return i.size()>0&&this._isOnline}static _clearFlushTimer(){this._flushTimer&&(clearTimeout(this._flushTimer),this._flushTimer=void 0)}static async _throttleIfFailedRequest(e,t){this._currentAttempts++,i.insertToFront(t),this._currentAttempts<=this._maxRetries?this._scheduleFlusher(this._flushInterval*Math.pow(this._flushThrottleFactor,this._currentAttempts)):this._disableTransmission()}static _disableTransmission(){this._clearFlushTimer(),this._disableCallback(!0),this._disableTimer=setTimeout(()=>{this._disableTimer=void 0,this._currentAttempts=0,this._scheduleFlusher(),this._disableCallback(!1)},6e4*this._minDisableInterval)}}y._STATUS_CODE_BAD_REQUEST=400,y._flushInterval=2e3,y._minimumFlushInterval=300,y._minDisableInterval=30,y._flushTimer=void 0,y._disableTimer=void 0,y._isOnline=!0,y._currentAttempts=0,y._maxRetries=5,y._flushThrottleFactor=2,y._instrumentationRuntimeErrorV1=g;var E=n(23523),b=n(39189);class S{static getInstance(){var e,t;return window.ISDK=null!==(e=window.ISDK)&&void 0!==e?e:{},window.ISDK.GlobalContextManager=null!==(t=window.ISDK.GlobalContextManager)&&void 0!==t?t:this,window.ISDK.GlobalContextManager}static initialize(e){let t=this.getInstance();e&&(t._globalContext=new E.kT(e),t._globalContextPromiseResolver(),t._isInitialized||(a.S.refreshIfExpired(),a.S.onSessionCreated(()=>{t._clearTrackingCode()}),a.S.onSessionCreated(()=>{(0,b.m)()}),t._isInitialized=!0))}static updateGlobalContext(e){this.getInstance().initialize(e)}static getGlobalContextAsync(){let e=this.getInstance();return e._globalContextPromise.then(()=>({...e._globalContext,applicationState:{...e._globalContext.applicationState,sessionId:a.S.sessionId}}))}static _consoleError(){console.error(S._NOT_INITIALIZED_ERROR)}static _clearTrackingCode(){S._globalContext&&S._globalContext.applicationState.hasOwnProperty("trackingCode")&&delete this._globalContext.applicationState.trackingCode}static updateApplicationState(e){let t=this.getInstance();if(!t._globalContext)return t._consoleError();Object.assign(t._globalContext.applicationState,e)}static updatePageApplicationState(e){let t=this.getInstance();return t._globalContext?t.updateApplicationState({...t._globalContext.applicationState,page:e}):t._consoleError()}static getCurrentPage(){var e,t;let n=null===(t=null===(e=this._globalContext)||void 0===e?void 0:e.applicationState)||void 0===t?void 0:t.page;if(n&&(void 0!==n.id||void 0!==n.uri))return n}static updateScreenApplicationState(e){let t=this.getInstance();return t._globalContext?t.updateApplicationState({...t._globalContext.applicationState,screen:e}):t._consoleError()}static updateA11yApplicationState(e){let t=this.getInstance();return t._globalContext?t.updateApplicationState({...t._globalContext.applicationState,a11y:e}):t._consoleError()}static updateDeviceApplicationState(e){let t=this.getInstance();return t._globalContext?t.updateApplicationState({...t._globalContext.applicationState,device:e}):t._consoleError()}static updateNetworkApplicationState(e){let t=this.getInstance();return t._globalContext?t.updateApplicationState({...t._globalContext.applicationState,network:e}):t._consoleError()}static updateTrackingCodeApplicationState(e){let t=this.getInstance();return t._globalContext?t.updateApplicationState({...t._globalContext.applicationState,trackingCode:e}):t._consoleError()}static updateApplication(e){let t=this.getInstance();if(!t._globalContext)return t._consoleError();t._globalContext={...t._globalContext,application:e}}static updateDevice(e){let t=this.getInstance();if(!t._globalContext)return t._consoleError();t._globalContext={...t._globalContext,device:e}}static updateTenant(e){let t=this.getInstance();if(!t._globalContext)return t._consoleError();t._globalContext={...t._globalContext,tenant:e}}}S._NOT_INITIALIZED_ERROR="GlobalContextManager is not initialized or updated with a context",S._globalContextPromise=new Promise(e=>{S._globalContextPromiseResolver=e}),S._isInitialized=!1;var T=n(50517);class w extends T.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.application.heartbeat_1.0",this.sessionUpdate=c.I.CONTINUE}}let A=new w;class C{_delaySchedule(e){clearTimeout(this._delayedTimer),this._delayedTimer=setTimeout(this._schedule.bind(this),e)}disable(){clearInterval(this._intervalTimer),this._intervalTimer=void 0}_emit(){a.S.isSessionExpired()||this._v1.emit({})}enable(){this._intervalTimer||(this._emit(),this._schedule())}get heartbeatInterval(){var e;return null!==(e=this._heartbeatInterval)&&void 0!==e?e:C._defaultHeartbeatInterval}set heartbeatInterval(e){let t=this._heartbeatInterval,n=Math.max(null!=e?e:0,C._defaultHeartbeatInterval);if(t!==n){if(this._heartbeatInterval=n,null===t){this._schedule();return}this._delaySchedule(Math.max(n-t,0))}}_schedule(){this._intervalTimer=setInterval(this._emit.bind(this),this.heartbeatInterval)}constructor(e){this._heartbeatInterval=null,this._v1=A,this.heartbeatInterval=e,this._emit()}}C._defaultHeartbeatInterval=3e4;class I{static initialize(e){this.getInstance().heartbeatInstance=new C(e.heartbeatInterval)}static getInstance(){var e,t;return window.ISDK=null!==(e=window.ISDK)&&void 0!==e?e:{},window.ISDK.HeartbeatMonitor=null!==(t=window.ISDK.HeartbeatMonitor)&&void 0!==t?t:this,window.ISDK.HeartbeatMonitor}static update(e){this.getInstance().heartbeatInstance.heartbeatInterval=e.heartbeatInterval}}I.Heartbeat=new class{enable(){return I.heartbeatInstance.enable()}disable(){return I.heartbeatInstance.disable()}};var P=n(55214);class _{static getInstance(){var e,t;return window.ISDK=null!==(e=window.ISDK)&&void 0!==e?e:{},window.ISDK.MarkManager=null!==(t=window.ISDK.MarkManager)&&void 0!==t?t:this,window.ISDK.MarkManager}static createMark(e,t){if(e.name){let n=this.getInstance(),a=null!=t?t:Date.now();n._storedMarks.set(e.name,{...e,deviceOccuredAt:a}),n._v1.emit(e,a)}}static getMark(e){return this.getInstance()._storedMarks.get(e)}}_._storedMarks=new Map,_._v1=P.tH;var k=n(17164);class N{static getInstance(){var e,t;return window.ISDK=null!==(e=window.ISDK)&&void 0!==e?e:{},window.ISDK.MeasureManager=null!==(t=window.ISDK.MeasureManager)&&void 0!==t?t:this,window.ISDK.MeasureManager}static createMeasure(e,t,n){let a=Date.now(),r=N.getInstance(),[s,i]=[t,n].map(e=>e?r._markManager.getMark(e):void 0);if(!s)return;let{deviceOccuredAt:o,...l}=s,{deviceOccuredAt:c,...d}=null!=i?i:{deviceOccuredAt:a};r._v1.emit({deviceEndedAt:c,deviceStartedAt:o,duration:c-o,name:e,startMark:l,endMark:i?d:void 0})}}N._v1=k.Md,N._markManager=_;class R{static initialize(){let e=this.getInstance();e.markInstance.getInstance(),e.measureInstance.getInstance()}static getInstance(){var e,t;return window.ISDK=null!==(e=window.ISDK)&&void 0!==e?e:{},window.ISDK.PerformanceManager=null!==(t=window.ISDK.PerformanceManager)&&void 0!==t?t:this,window.ISDK.PerformanceManager}}function L(e){return Array.from({length:e}).map(()=>"0123456789abcdef".charAt(Math.floor(16*Math.random()))).join("")}R.Mark=new class{createMark(e,t){return _.createMark(e,t)}},R.Measure=new class{createMeasure(e,t,n){return N.createMeasure(e,t,n)}},R.markInstance=_,R.measureInstance=N;var x=n(27922),O=n(19957);let D={CLIENT_TIMEOUT:"CLIENT_TIMEOUT",CONNECTION_LOST:"CONNECTION_LOST",CANCELLED:"CANCELLED",OTHER:"OTHER"};class U extends l.G{_buildErrV1(e){var t;return{...e,scope:null!==(t=e.scope)&&void 0!==t?t:"BACKGROUND"}}_buildOmdV1(e){return e}_buildRequestV1(e){return e}_buildErrorCodesV1(e){return e}_buildResponseV1(e){return e}_buildClientFailureV1(e){return e}_build(e){let t={...e,err:this._buildErrV1(e.err),request:this._buildRequestV1(e.request),response:this._buildResponseV1(e.response),clientFailure:this._buildClientFailureV1(e.clientFailure),omd:this._buildOmdV1(e.omd)};return super._build(t)}constructor(){super(...arguments),this.eventType="beam.errors.service.http_1.1",this.sessionUpdate=c.I.CONTINUE}}let M=new U;class F extends T.D{_build(e){return super._build({...e})}constructor(){super(...arguments),this.eventType="beam.events.request.measure_1.0",this.sessionUpdate=c.I.CONTINUE}}let G=new F;class W{static initialize(e,t,n){let a=this.getInstance();a._telegraphUri=e,a._traceFlags=t,n&&a._initialize(n)}static getInstance(){var e,t;return window.ISDK=null!==(e=window.ISDK)&&void 0!==e?e:{},window.ISDK.NetworkMonitor=null!==(t=window.ISDK.NetworkMonitor)&&void 0!==t?t:this,window.ISDK.NetworkMonitor}static createMeasure(e){let t=this.getInstance();e.request.url.includes(t._telegraphUri)||t._measureV1.emit(e)}static update(e,t,n){let a=this.getInstance();if(e&&(a._telegraphUri=e),t&&(a._traceFlags=t),n){if(a._httpClient){let{request:e,response:t}=a._httpClient.interceptors;e.eject(a._onRequestInterceptorId),t.eject(a._onResponseInterceptorId)}a._initialize(n)}}static async _catchResponse(e){var t;let n=e.code&&(null===(t=this._httpClient)||void 0===t?void 0:t.isHttpError(e))?e:e.response;if(!this._isCancelledRequest(n)){let e=this._generatePayload(n),t=this._getClientReason(n);this.createMeasure(e),this._createServiceHttpError(e,t)}return Promise.reject(e)}static _createServiceHttpError(e,t){let{request:n,response:a}=e,{method:r,retryCount:s,traceId:i,url:o}=n,{statusCode:l,errorCodes:c}=a;this._errorV1.capture({err:{},request:{method:r,retryCount:s,traceId:i,url:o},response:{errorCodes:c,statusCode:void 0!==t?void 0:l},clientFailure:{reason:t}})}static _generatePayload(e){var t,n;let{config:a}=e,r=null!==(n=null===(t=a["axios-retry"])||void 0===t?void 0:t.retryCount)&&void 0!==n?n:0,s=a.requestId,i=a.requestStartTime,o=a.requestPage,l=Date.now(),c=a.method.toUpperCase(),d=this._getErrorCode(e);return{duration:l-i,page:o,request:{retryCount:r,deviceSentAt:i,method:c,traceId:s,url:a.url},response:{...d&&d.length?{errorCodes:d}:{},deviceReceivedAt:l,statusCode:this._getStatus(e)}}}static _getErrorCode(e){var t;if(!(0,x.D)(e))return;let n=[];return e.code&&(n=[{id:e.code,code:e.code}]),"response"in e&&e.response.data&&(n=(n=null!==(t=e.response.data.errors)&&void 0!==t?t:n).map(e=>{let{id:t,code:n}=e;return{id:t,code:n}})),n}static _getPage(){var e;let t=null===(e=location.hash)||void 0===e?void 0:e.replace("#",""),n=location.pathname;return{uri:t||n}}static _generateTraceParent(){let e=L(32),t=L(16);return"00-".concat(e,"-").concat(t,"-").concat(this._traceFlags)}static _generateTraceState(){return"wbd=session:".concat(a.S.sessionId)}static _getStatus(e){var t;let{config:n}=e;if(n&&(null===(t=n.signal)||void 0===t?void 0:t.aborted))return this._STATUS_CODE_CANCELLED;if(!(0,x.D)(e))return e.status;let{response:a,code:r}=e;if(a&&a.status)return a.status;switch(r){case"ERR_CANCELED":return this._STATUS_CODE_CANCELLED;case"ERR_NETWORK":return this._STATUS_CODE_CLIENT_CLOSED_CONNECTION;case"ETIMEDOUT":return this._STATUS_CODE_TIMEOUT;default:return this._STATUS_CODE_UNKNOWN_ERROR}}static _getClientReason(e){var t;let{config:n}=e;if(n&&(null===(t=n.signal)||void 0===t?void 0:t.aborted)||!(0,x.D)(e))return;let{response:a}=e;if(a&&a.status)return;let{code:r}=e;switch(r){case"ETIMEDOUT":return D.CLIENT_TIMEOUT;case"ERR_NETWORK":return D.CONNECTION_LOST;case"ERR_CANCELED":return D.CANCELLED;default:return D.OTHER}}static _initialize(e){this._httpClient=e;let{request:t,response:n}=this._httpClient.interceptors;this._onRequestInterceptorId=t.use(this._onRequest.bind(this),void 0,{priority:O.W.TELEMETRY}),this._onResponseInterceptorId=n.use(this._onResponse.bind(this),this._catchResponse.bind(this),{priority:O.W.TELEMETRY})}static _isCancelledRequest(e){return this._getStatus(e)===this._STATUS_CODE_CANCELLED}static async _onRequest(e){let t=this._generateTraceParent();return e.requestId=t,e.requestPage=this._getPage(),e.requestStartTime=Date.now(),e.headers={...e.headers,traceparent:t,tracestate:this._generateTraceState()},e}static async _onResponse(e){let t=this._generatePayload(e);return this.createMeasure(t),e}}W._onRequestInterceptorId=0,W._onResponseInterceptorId=0,W._STATUS_CODE_CANCELLED=499,W._STATUS_CODE_CLIENT_CLOSED_CONNECTION=460,W._STATUS_CODE_TIMEOUT=408,W._STATUS_CODE_UNKNOWN_ERROR=999,W._measureV1=G,W._errorV1=M;class B{static initialize(e){this.getInstance().measureInstance.initialize(e.telegraphUri,e.traceFlags,e.httpClient)}static getInstance(){var e,t;return window.ISDK=null!==(e=window.ISDK)&&void 0!==e?e:{},window.ISDK.RequestMonitor=null!==(t=window.ISDK.RequestMonitor)&&void 0!==t?t:this,window.ISDK.RequestMonitor}static update(e){this.getInstance().measureInstance.update(e.telegraphUri,e.traceFlags,e.httpClient)}}B.Measure=new class{createMeasure(e){return W.createMeasure(e)}},B.measureInstance=W;class V{static getInstance(){var e,t;return window.ISDK=null!==(e=window.ISDK)&&void 0!==e?e:{},window.ISDK.Coordinater=null!==(t=window.ISDK.Coordinater)&&void 0!==t?t:this,window.ISDK.Coordinater}static initialize(e,t){let n=this.getInstance(),a=new s(e);n._instrumentationConfig=a,r.Q.setContextProvider(S.getGlobalContextAsync.bind(S)),S.initialize(t),r.Q.initialize(a),a.emitOnly||(r.Q.addEventWithContextListener(i.enqueueEvent.bind(i)),y.onQueueDisableChanged(n.setDisableState),I.initialize(a),B.initialize(a),i.initialize(a),y.initialize(a),v.initialize(a),R.initialize())}static updateConfiguration(e){let t=this.getInstance(),n=new s({...t._instrumentationConfig,...e});t._instrumentationConfig=n,r.Q.initialize(n),n.emitOnly||(I.update(n),B.update(n),i.initialize(n),y.initialize(n),v.initialize(n))}static setDisableState(e){let t=this.getInstance();e?t._disable():t._enable()}static _enable(){I.Heartbeat.enable()}static _disable(){I.Heartbeat.disable()}}var H=n(19719),j=n(93838);function K(e){return void 0!==e.screenURI}class z{static browse(e,t){let n=S.getCurrentPage();S.updatePageApplicationState(e);let a=K(t)?t.referringPage:t.referrer;if(a||n){var r,s;if(K(t)){let{screenURI:e,contentId:s,screenId:i,screenName:o}=t,l=null!=a?a:{referringScreenURI:null!==(r=null==n?void 0:n.uri)&&void 0!==r?r:"",referringScreenId:null==n?void 0:n.id,referringScreenName:null==n?void 0:n.name};H.M.emit({screenURI:e,contentId:s,screenId:i,screenName:o,referringPage:l})}else{let{content:e}=t,r=null!=a?a:{pageUri:null!==(s=null==n?void 0:n.uri)&&void 0!==s?s:"",pageId:null==n?void 0:n.id,pageName:null==n?void 0:n.name};j.cP.emit({content:e,referrer:r})}}}}let{initialize:q,updateConfiguration:$}=V,{updateApplication:Y,updateApplicationState:X,updatePageApplicationState:Q,updateScreenApplicationState:Z,updateA11yApplicationState:J,updateDeviceApplicationState:ee,updateNetworkApplicationState:et,updateTrackingCodeApplicationState:en,updateDevice:ea,updateGlobalContext:er}=S,es={sessionId:a.S.sessionId,initialize:q.bind(V),updateApplication:Y.bind(S),updateApplicationState:X.bind(S),updatePageApplicationState:Q.bind(S),updateScreenApplicationState:Z.bind(S),updateA11yApplicationState:J.bind(S),updateDeviceApplicationState:ee.bind(S),updateNetworkApplicationState:et.bind(S),updateTrackingCodeApplicationState:en.bind(S),updateConfiguration:$.bind(V),updateDevice:ea.bind(S),updateGlobalContext:er.bind(S),flushEventQueue:y.flushEventQueue.bind(y),browse:z.browse.bind(z)},{Heartbeat:ei}=I,{Mark:eo}=R,{Measure:el}=R;r.Q.addEventKindListener.bind(r.Q,"events"),r.Q.addEventKindListener.bind(r.Q,"errors"),r.Q.addEventListener.bind(r.Q);let ec=r.Q.addEventWithContextListener.bind(r.Q)},33343:function(e,t,n){"use strict";function a(e){let t={};return e.getLabsDecisionKeys().forEach(n=>{"string"==typeof n&&Object.defineProperty(t,n,{get(){let t=e.getLabsDecision(n);return{on:t.isEnabled(),config:t.getConfig()}},enumerable:!0})}),t}n.d(t,{U2:function(){return g},Nn:function(){return a}});var r,s,i,o,l=n(39348),c=n(33735);(r=i||(i={})).DYNAMIC="dynamic",r.STATIC="static",(s=o||(o={})).DecisionAccessed="decision_accessed",s.RequestError="request_error";let d="/labs/api/v1/sessions/feature-flags/decisions";async function u(e){let{boltHttp:t,projectId:n,requestOptions:a}=e;return((null==a?void 0:a.context)?await t.post(d,{projectId:n,...a}):await t.get(d,{params:{projectId:n,...a}})).data}class p{async _fetchCache(){let{_boltHttp:e,_projectId:t,_requestOptions:n}=this,a=await u({boltHttp:e,projectId:t,requestOptions:n}).catch(e=>{if(this._requestErrorEvent)return this._requestErrorEvent.fire(e);throw e});a&&(this._cache.clear(),Object.keys(a).forEach(e=>{this._cache.set(e,a[e])}))}get(e){return this._cache.get(e)}async initialize(e){let{boltHttp:t,projectId:n,requestOptions:a}=e;this._boltHttp=t,this._projectId=n,this._requestOptions=a,await this._fetchCache(),this._boltHttp.refreshManager.onRefresh(this._handleRefreshSignals)}keys(){return new Set(this._cache.keys())}setRequestErrorEvent(e){this._requestErrorEvent=e}constructor(){this._cache=new Map,this._handleRefreshSignals=async e=>{(e.includes(c.tK.BOOTSTRAP)||e.includes(c.tK.UX))&&await this._fetchCache()}}}class g{_fireEvent(e,t){this._events[e].fire(t).catch(()=>{})}_getResponseKeys(e){return new Set([...Object.keys(e),...this._cache.keys()])}_sanitizeLocalDecisionType(e){return e.type===i.DYNAMIC?i.DYNAMIC:i.STATIC}static async create(e){let t=new p;return await t.initialize(e),new g(t,e)}getLabsDecision(e){let{on:t,config:n,flagId:a,source:r,variantId:s,seedId:l}=function(e){var t,n,a;let{labsDecision:r,localDecision:s}=e;return(null==s?void 0:s.type)===i.STATIC?s:{...s,...r,config:null!==(t=null==r?void 0:r.config)&&void 0!==t?t:null==s?void 0:s.config,on:null!==(a=null!==(n=null==r?void 0:r.on)&&void 0!==n?n:null==s?void 0:s.on)&&void 0!==a&&a}}({labsDecision:this._cache.get(e),localDecision:this._localDecisions[e]});return a&&r&&s&&this._fireEvent(o.DecisionAccessed,{projectId:this._projectId,payload:{flagId:a,source:r,variantId:s,seedId:l}}),{getConfig:function(e){return e?n&&e.isValid(n)?n:e.validConfig:n},isEnabled:()=>t}}getLabsDecisionKeys(){return this._decisionKeys}setLocalDecision(e,t){this._localDecisions[e]&&t&&(t.type=this._sanitizeLocalDecisionType(t),this._localDecisions[e]=t)}subscribe(e,t){return this._events[e].addListener(t)}constructor(e,{localDecisions:t={},projectId:n}){Object.keys(t).forEach(e=>{let n=t[e];n&&(n.type=this._sanitizeLocalDecisionType(n))}),this._events={[o.DecisionAccessed]:new l.F,[o.RequestError]:new l.F},e.setRequestErrorEvent(this._events[o.RequestError]),this._cache=e,this._decisionKeys=this._getResponseKeys(t),this._localDecisions=t,this._projectId=n}}},39348:function(e,t,n){"use strict";n.d(t,{F:function(){return r}});class a extends Error{constructor(e,t){super("".concat(e," Error messages: [").concat(t.map(e=>'"'.concat(e.message,'"')).join(", "),"]")),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,a):this.stack=Error().stack,this.name="CompositeError",this.wrappedErrors=t}}class r{addListener(e){return this._listeners.push(e),()=>{let t=this._listeners.indexOf(e);t>=0&&this._listeners.splice(t,1)}}async fire(){for(var e=arguments.length,t=Array(e),n=0;nawait e(...t)),r=await Promise.allSettled(a);this._handleErrors(r)}_handleErrors(e){let t=[];for(let n of e)if("rejected"===n.status){let e=n.reason;t.push(e instanceof Error?e:Error(String(e)))}if(t.length>0){if(1===t.length)throw t[0];throw new a("".concat(t.length," event listeners threw errors."),t)}}constructor(){this._listeners=[]}}},19957:function(e,t,n){"use strict";var a,r;n.d(t,{W:function(){return a}}),(r=a||(a={}))[r.LOWEST=100]="LOWEST",r[r.TELEMETRY=200]="TELEMETRY",r[r.AUTHORIZATION=300]="AUTHORIZATION",r[r.RETRY=400]="RETRY",r[r.TRANSFORMATION=500]="TRANSFORMATION",r[r.HIGHEST=600]="HIGHEST";class s{static getPriority(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this._priorityRanges.find(t=>t.min>=e||t.max