1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="420da725-4390-4c85-8f63-1c33cfc74d75",t._sentryDebugIdIdentifier="sentry-dbid-420da725-4390-4c85-8f63-1c33cfc74d75")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8706],{257:(t,e,r)=>{"use strict";r.d(e,{BX:()=>c,Et:()=>u,TY:()=>d,UD:()=>f,YZ:()=>p,Yg:()=>g,dv:()=>m,fz:()=>h,tB:()=>l});var n=r(10180),i=r.n(n),a={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},s=["video","audio","text"],o=["Video","Audio","Text"],u=function(t){return t?t.replace(/avc1\.(\d+)\.(\d+)/i,function(t,e,r){return"avc1."+("00"+Number(e).toString(16)).slice(-2)+"00"+("00"+Number(r).toString(16)).slice(-2)}):t},l=function(t){void 0===t&&(t="");var e=t.split(","),r=[];return e.forEach(function(t){var e;t=t.trim(),s.forEach(function(n){var i=a[n].exec(t.toLowerCase());if(i&&!(i.length<=1)){e=n;var s=t.substring(0,i[1].length),o=t.replace(s,"");r.push({type:s,details:o,mediaType:n})}}),e||r.push({type:t,details:"",mediaType:"unknown"})}),r},c=function(t,e){if(!t.mediaGroups.AUDIO||!e)return null;var r=t.mediaGroups.AUDIO[e];if(!r)return null;for(var n in r){var i=r[n];if(i.default&&i.playlists)return l(i.playlists[0].attributes.CODECS)}return null},h=function(t){return void 0===t&&(t=""),a.audio.test(t.trim().toLowerCase())},f=function(t){if(t&&"string"==typeof t){var e,r=t.toLowerCase().split(",").map(function(t){return u(t.trim())}),n="video";1===r.length&&h(r[0])?n="audio":1===r.length&&(void 0===(e=r[0])&&(e=""),a.text.test(e.trim().toLowerCase()))&&(n="application");var i="mp4";return r.every(function(t){return a.mp4.test(t)})?i="mp4":r.every(function(t){return a.webm.test(t)})?i="webm":r.every(function(t){return a.ogg.test(t)}
1)&&(i="ogg"),n+"/"+i+';codecs="'+t+'"'}},d=function(t,e){return void 0===t&&(t=""),void 0===e&&(e=!1),i().MediaSource&&i().MediaSource.isTypeSupported&&i().MediaSource.isTypeSupported(f(t))||e&&i().ManagedMediaSource&&i().ManagedMediaSource.isTypeSupported&&i().ManagedMediaSource.isTypeSupported(f(t))||!1},p=function(t){return void 0===t&&(t=""),t.toLowerCase().split(",").every(function(t){t=t.trim();for(var e=0;e<o.length;e++)if(a["muxer"+o[e]].test(t))return!0;return!1})},g="mp4a.40.2",m="avc1.4d400d"},354:(t,e,r)=>{var n=r(10180),i=t.exports={WebVTT:r(26009),VTTCue:r(60968),VTTRegion:r(5857)};n.vttjs=i,n.WebVTT=i.WebVTT;var a=i.VTTCue,s=i.VTTRegion,o=n.VTTCue,u=n.VTTRegion;i.shim=function(){n.VTTCue=a,n.VTTRegion=s},i.restore=function(){n.VTTCue=o,n.VTTRegion=u},n.VTTCue||i.shim()},2483:(t,e,r)=>{"use strict";var n=r(48360).freeze;e.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=n({Aacute:"\xc1",aacute:"\xe1",Abreve:"Ä",abreve:"Ä",ac:"â¾",acd:"â¿",acE:"â¾Ì³",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"Ð",acy:"а",AElig:"\xc6",aelig:"\xe6",af:"â¡",Afr:"\uD835\uDD04",afr:"\uD835\uDD1E",Agrave:"\xc0",agrave:"\xe0",alefsym:"âµ",aleph:"âµ",Alpha:"Î",alpha:"α",Amacr:"Ä",amacr:"Ä",amalg:"⨿",AMP:"&",amp:"&",And:"â©",and:"â§",andand:"â©",andd:"â©",andslope:"â©",andv:"â©",ang:"â ",ange:"⦤",angle:"â ",angmsd:"â¡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"â¦",angmsdag:"⦮",angmsdah:"⦯",angrt:"â",angrtvb:"â¾",angrtvbd:"â¦",angsph:"â¢",angst:"\xc5",angzarr:"â¼",Aogon:"Ä",aogon:"Ä
",Aopf:"\uD835\uDD38",aopf:"\uD835\uDD52",ap:"â",apacir:"⩯",apE:"â©°",ape:"â",apid:"â",apos:"'",ApplyFunction:"â¡",approx:"â",approxeq:"â",Aring:"\xc5",aring:"\xe5",Ascr:"\uD835\uDC9C",ascr:"\uD835\uDCB6",Assign:"â",ast:"*",asymp:"â",asympeq:"â",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"â³",awint:"â¨",backcong:"â",backepsilon:"϶",backprime:"âµ",backsim:"â½",backsimeq:"â",Backslash:"â",Barv:"â«§",barvee:"â½",Barwed:"â",barwed:"â
",barwedge:"â
",bbrk:"âµ",bbrktbrk:"â¶",bcong:"â",Bcy:"Ð",bcy:"б",bdquo:"â",becaus:"âµ",Because:"âµ",because:"âµ",bemptyv:"⦰",bepsi:"϶",bernou:"â¬",Bernoullis:"â¬",Beta:"Î",beta:"β",beth:"â¶",between:"â¬",Bfr:"\uD835\uDD05",bfr:"\uD835\uDD1F",bigcap:"â",bigcirc:"â¯",bigcup:"â",bigodot:"â¨",bigoplus:"â¨",bigotimes:"â¨",bigsqcup:"â¨",bigstar:"â
",bigtriangledown:"â½",bigtriangleup:"â³",biguplus:"â¨",bigvee:"â",bigwedge:"â",bkarow:"â¤",blacklozenge:"â§«",blacksquare:"âª",blacktriangle:"â´",blacktriangledown:"â¾",blacktriangleleft:"â",blacktriangleright:"â¸",blank:"â£",blk12:"â",blk14:"â",blk34:"â",block:"â",bne:"=â¥",bnequiv:"â¡â¥",bNot:"â«",bnot:"â",Bopf:"\uD835\uDD39",bopf:"\uD835\uDD53",bot:"â¥",bottom:"â¥",bowtie:"â",boxbox:"â§",boxDL:"â",boxDl:"â",boxdL:"â",boxdl:"â",boxDR:"â",boxDr:"â",boxdR:"â",boxdr:"â",boxH:"â",boxh:"â",boxHD:"â¦",boxHd:"â¤",boxhD:"â¥",boxhd:"â¬",boxHU:"â©",boxHu:"â§",boxhU:"â¨",boxhu:"â´",boxminus:"â",boxplus:"â",boxtimes:"â ",boxUL:"â",boxUl:"â",boxuL:"â",boxul:"â",boxUR:"â",boxUr:"â",boxuR:"â",boxur:"â",boxV:"â",boxv:"â",boxVH:"â¬",boxVh:"â«",boxvH:"âª",boxvh:"â¼",boxVL:"â£",boxVl:"â¢",boxvL:"â¡",boxvl:"â¤",boxVR:"â ",boxVr:"â",boxvR:"â",boxvr:"â",bprime:"âµ",Breve:"Ë",breve:"Ë",brvbar:"\xa6",Bscr:"â¬",bscr:"\uD835\uDCB7",bsemi:"â",bsim:"â½",b
1sime:"â",bsol:"\\",bsolb:"â§
",bsolhsub:"â",bull:"â¢",bullet:"â¢",bump:"â",bumpE:"⪮",bumpe:"â",Bumpeq:"â",bumpeq:"â",Cacute:"Ä",cacute:"Ä",Cap:"â",cap:"â©",capand:"â©",capbrcup:"â©",capcap:"â©",capcup:"â©",capdot:"â©",CapitalDifferentialD:"â
",caps:"â©ï¸",caret:"â",caron:"Ë",Cayleys:"â",ccaps:"â©",Ccaron:"Ä",ccaron:"Ä",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"Ä",ccirc:"Ä",Cconint:"â°",ccups:"â©",ccupssm:"â©",Cdot:"Ä",cdot:"Ä",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"⦲",cent:"\xa2",CenterDot:"\xb7",centerdot:"\xb7",Cfr:"â",cfr:"\uD835\uDD20",CHcy:"Ч",chcy:"Ñ",check:"â",checkmark:"â",Chi:"Χ",chi:"Ï",cir:"â",circ:"Ë",circeq:"â",circlearrowleft:"âº",circlearrowright:"â»",circledast:"â",circledcirc:"â",circleddash:"â",CircleDot:"â",circledR:"\xae",circledS:"â",CircleMinus:"â",CirclePlus:"â",CircleTimes:"â",cirE:"â§",cire:"â",cirfnint:"â¨",cirmid:"⫯",cirscir:"â§",ClockwiseContourIntegral:"â²",CloseCurlyDoubleQuote:"â",CloseCurlyQuote:"â",clubs:"â£",clubsuit:"â£",Colon:"â·",colon:":",Colone:"â©´",colone:"â",coloneq:"â",comma:",",commat:"@",comp:"â",compfn:"â",complement:"â",complexes:"â",cong:"â
",congdot:"â©",Congruent:"â¡",Conint:"â¯",conint:"â®",ContourIntegral:"â®",Copf:"â",copf:"\uD835\uDD54",coprod:"â",Coproduct:"â",COPY:"\xa9",copy:"\xa9",copysr:"â",CounterClockwiseContourIntegral:"â³",crarr:"âµ",Cross:"⨯",cross:"â",Cscr:"\uD835\uDC9E",cscr:"\uD835\uDCB8",csub:"â«",csube:"â«",csup:"â«",csupe:"â«",ctdot:"â¯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"â",cuesc:"â",cularr:"â¶",cularrp:"⤽",Cup:"â",cup:"âª",cupbrcap:"â©",CupCap:"â",cupcap:"â©",cupcup:"â©",cupdot:"â",cupor:"â©
",cups:"âªï¸",curarr:"â·",curarrm:"⤼",curlyeqprec:"â",curlyeqsucc:"â",curlyvee:"â",curlywedge:"â",curren:"\xa4",curvearrowleft:"â¶",curvearrowright:"â·",cuvee:"â",cuwed:"â",cwconint:"â²",cwint:"â±",cylcty:"â",Dagger:"â¡",dagger:"â ",daleth:"â¸",Darr:"â¡",dArr:"â",darr:"â",dash:"â",Dashv:"⫤",dashv:"â£",dbkarow:"â¤",dblac:"Ë",Dcaron:"Ä",dcaron:"Ä",Dcy:"Ð",dcy:"д",DD:"â
",dd:"â
",ddagger:"â¡",ddarr:"â",DDotrahd:"â¤",ddotseq:"â©·",deg:"\xb0",Del:"â",Delta:"Î",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"\uD835\uDD07",dfr:"\uD835\uDD21",dHar:"⥥",dharl:"â",dharr:"â",DiacriticalAcute:"\xb4",DiacriticalDot:"Ë",DiacriticalDoubleAcute:"Ë",DiacriticalGrave:"`",DiacriticalTilde:"Ë",diam:"â",Diamond:"â",diamond:"â",diamondsuit:"â¦",diams:"â¦",die:"\xa8",DifferentialD:"â
",digamma:"Ï",disin:"â²",div:"\xf7",divide:"\xf7",divideontimes:"â",divonx:"â",DJcy:"Ð",djcy:"Ñ",dlcorn:"â",dlcrop:"â",dollar:"$",Dopf:"\uD835\uDD3B",dopf:"\uD835\uDD55",Dot:"\xa8",dot:"Ë",DotDot:"â",doteq:"â",doteqdot:"â",DotEqual:"â",dotminus:"â¸",dotplus:"â",dotsquare:"â¡",doublebarwedge:"â",DoubleContourIntegral:"â¯",DoubleDot:"\xa8",DoubleDownArrow:"â",DoubleLeftArrow:"â",DoubleLeftRightArrow:"â",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"â¸",DoubleLongLeftRightArrow:"âº",DoubleLongRightArrow:"â¹",DoubleRightArrow:"â",DoubleRightTee:"â¨",DoubleUpArrow:"â",DoubleUpDownArrow:"â",DoubleVerticalBar:"â¥",DownArrow:"â",Downarrow:"â",downarrow:"â",DownArrowBar:"â¤",DownArrowUpArrow:"âµ",DownBreve:"Ì",downdownarrows:"â",downharpoonleft:"â",downharpoonright:"â",DownLeftRightVector:"â¥",DownLeftTeeVector:"â¥",DownLeftVector:"â½",DownLeftVectorBar:"â¥",DownRightTeeVector:"â¥",DownRightVector:"â",DownRightVectorBar:"â¥",DownTee:"â¤",DownTeeArrow:"â§",drbkarow:"â¤",drcorn:"â",drcrop:"â",Dscr:"\uD835\uDC9F",dscr:"\uD835\uDCB9",DScy:"Ð
",dscy:"Ñ",dsol:"â§¶",Dstrok:"Ä",dstrok:"Ä",dtdot:"â±",dtri:"â¿",dtrif:"â¾",duarr:"âµ",duhar:"⥯",dwangle:"⦦",DZcy:"Ð",dzcy:"Ñ",dzigrarr:"â¿",Eacute:"\xc9",eacute:"\xe9",easter:"â©®",Ecaron:"Ä",ecaron:"Ä",ecir:"â",Ecirc:"\xca",ecirc:"\xea",ecolon:"â",Ecy:"Ð",ecy:"Ñ",eDDot:"â©·",Edot:"Ä",eDot:"â",edot:"Ä",ee:"â
",efDot:"â",Efr:"\uD835\uDD08",efr:"\uD835\uDD22",eg:"âª",Egrave:"\xc8",egrave:"\xe8",egs:"âª",egsdot:"âª",el:"âª",Element:"â",elinters:"â§",ell:"â",els:"âª",elsdot:"âª",Emacr:"Ä",emacr:"Ä",empty:"â
",emptyset:"â
",EmptySmallSquare:"â»",emptyv:"â
",EmptyVerySmallSquare:"â«",emsp:"â",emsp13:"â",emsp14:"â
",ENG:"Å",eng:"Å",ensp:"â",Eogon:"Ä",eogon:"Ä",Eopf:"\uD835\uDD3C",eopf:"\uD835\uDD56",epar:"â",eparsl:"â§£",eplus:"⩱",epsi:"ε",Epsilon:"Î",epsilon:"ε",epsiv:"ϵ",eqcirc:"â",eqcolon:"â",eqsim:"â",eqslantgtr:"âª",eqslantless:"âª",Equal:"⩵",equals:"=",EqualTilde:"â",equest:"â",Equilibrium:"â",equiv:"â¡",equivDD:"⩸",eqvparsl:"â§¥",erarr:"⥱",erDot:"â",Escr:"â°",escr:"â¯",esdot:"â",Esim:"⩳",esim:"â",Eta:"Î",eta:"η",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"â¬",excl:"!",exist:"â",Exists:"â",expectation:"â°",ExponentialE:"â
",exponentiale:"â
",fallingdotseq:"â",Fcy:"Ф",fcy:"Ñ",female:"â",ffilig:"ï¬",fflig:"ï¬",ffllig:"ï¬",Ffr:"\uD835\uDD09",ffr:"\uD835\uDD23",filig:"ï¬",FilledSmallSquare:"â¼",FilledVerySmallSquare:"âª",fjlig:"fj",flat:"â",fllig:"ï¬",fltns:"â±",fnof:"Æ",Fopf:"\uD835\uDD3D",fopf:"\uD835\uDD57",ForAll:"â",forall:"â",fork:"â",forkv:"â«",Fouriertrf:"â±",fpartint:"â¨",frac12:"\xbd",frac13:"â
",frac14:"\xbc",frac15:"â
",frac16:"â
",frac18
1:"â
",frac23:"â
",frac25:"â
",frac34:"\xbe",frac35:"â
",frac38:"â
",frac45:"â
",frac56:"â
",frac58:"â
",frac78:"â
",frasl:"â",frown:"â¢",Fscr:"â±",fscr:"\uD835\uDCBB",gacute:"ǵ",Gamma:"Î",gamma:"γ",Gammad:"Ï",gammad:"Ï",gap:"âª",Gbreve:"Ä",gbreve:"Ä",Gcedil:"Ä¢",Gcirc:"Ä",gcirc:"Ä",Gcy:"Ð",gcy:"г",Gdot:"Ä ",gdot:"Ä¡",gE:"â§",ge:"â¥",gEl:"âª",gel:"â",geq:"â¥",geqq:"â§",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"âª",gesdoto:"âª",gesdotol:"âª",gesl:"âï¸",gesles:"âª",Gfr:"\uD835\uDD0A",gfr:"\uD835\uDD24",Gg:"â",gg:"â«",ggg:"â",gimel:"â·",GJcy:"Ð",gjcy:"Ñ",gl:"â·",gla:"⪥",glE:"âª",glj:"⪤",gnap:"âª",gnapprox:"âª",gnE:"â©",gne:"âª",gneq:"âª",gneqq:"â©",gnsim:"â§",Gopf:"\uD835\uDD3E",gopf:"\uD835\uDD58",grave:"`",GreaterEqual:"â¥",GreaterEqualLess:"â",GreaterFullEqual:"â§",GreaterGreater:"⪢",GreaterLess:"â·",GreaterSlantEqual:"⩾",GreaterTilde:"â³",Gscr:"\uD835\uDCA2",gscr:"â",gsim:"â³",gsime:"âª",gsiml:"âª",Gt:"â«",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"â",gtlPar:"â¦",gtquest:"⩼",gtrapprox:"âª",gtrarr:"⥸",gtrdot:"â",gtreqless:"â",gtreqqless:"âª",gtrless:"â·",gtrsim:"â³",gvertneqq:"â©ï¸",gvnE:"â©ï¸",Hacek:"Ë",hairsp:"â",half:"\xbd",hamilt:"â",HARDcy:"Ъ",hardcy:"Ñ",hArr:"â",harr:"â",harrcir:"â¥",harrw:"â",Hat:"^",hbar:"â",Hcirc:"Ĥ",hcirc:"Ä¥",hearts:"â¥",heartsuit:"â¥",hellip:"â¦",hercon:"â¹",Hfr:"â",hfr:"\uD835\uDD25",HilbertSpace:"â",hksearow:"⤥",hkswarow:"⤦",hoarr:"â¿",homtht:"â»",hookleftarrow:"â©",hookrightarrow:"âª",Hopf:"â",hopf:"\uD835\uDD59",horbar:"â",HorizontalLine:"â",Hscr:"â",hscr:"\uD835\uDCBD",hslash:"â",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"â",HumpEqual:"â",hybull:"â",hyphen:"â",Iacute:"\xcd",iacute:"\xed",ic:"â£",Icirc:"\xce",icirc:"\xee",Icy:"Ð",icy:"и",Idot:"İ",IEcy:"Ð",iecy:"е",iexcl:"\xa1",iff:"â",Ifr:"â",ifr:"\uD835\uDD26",Igrave:"\xcc",igrave:"\xec",ii:"â
",iiiint:"â¨",iiint:"â",iinfin:"â§",iiota:"â©",IJlig:"IJ",ijlig:"ij",Im:"â",Imacr:"Ī",imacr:"Ä«",image:"â",ImaginaryI:"â
",imagline:"â",imagpart:"â",imath:"ı",imof:"â·",imped:"Ƶ",Implies:"â",in:"â",incare:"â
",infin:"â",infintie:"â§",inodot:"ı",Int:"â¬",int:"â«",intcal:"âº",integers:"â¤",Integral:"â«",intercal:"âº",Intersection:"â",intlarhk:"â¨",intprod:"⨼",InvisibleComma:"â£",InvisibleTimes:"â¢",IOcy:"Ð",iocy:"Ñ",Iogon:"Ä®",iogon:"į",Iopf:"\uD835\uDD40",iopf:"\uD835\uDD5A",Iota:"Î",iota:"ι",iprod:"⨼",iquest:"\xbf",Iscr:"â",iscr:"\uD835\uDCBE",isin:"â",isindot:"âµ",isinE:"â¹",isins:"â´",isinsv:"â³",isinv:"â",it:"â¢",Itilde:"Ĩ",itilde:"Ä©",Iukcy:"Ð",iukcy:"Ñ",Iuml:"\xcf",iuml:"\xef",Jcirc:"Ä´",jcirc:"ĵ",Jcy:"Ð",jcy:"й",Jfr:"\uD835\uDD0D",jfr:"\uD835\uDD27",jmath:"È·",Jopf:"\uD835\uDD41",jopf:"\uD835\uDD5B",Jscr:"\uD835\uDCA5",jscr:"\uD835\uDCBF",Jsercy:"Ð",jsercy:"Ñ",Jukcy:"Ð",jukcy:"Ñ",Kappa:"Î",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"Ä·",Kcy:"Ð",kcy:"к",Kfr:"\uD835\uDD0E",kfr:"\uD835\uDD28",kgreen:"ĸ",KHcy:"Ð¥",khcy:"Ñ
",KJcy:"Ð",kjcy:"Ñ",Kopf:"\uD835\uDD42",kopf:"\uD835\uDD5C",Kscr:"\uD835\uDCA6",kscr:"\uD835\uDCC0",lAarr:"â",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"â",Lambda:"Î",lambda:"λ",Lang:"âª",lang:"â¨",langd:"â¦",langle:"â¨",lap:"âª
",Laplacetrf:"â",laquo:"\xab",Larr:"â",lArr:"â",larr:"â",larrb:"â¤",larrbfs:"â¤",larrfs:"â¤",larrhk:"â©",larrlp:"â«",larrpl:"⤹",larrsim:"⥳",larrtl:"â¢",lat:"⪫",lAtail:"â¤",latail:"â¤",late:"âª",lates:"âªï¸",lBarr:"â¤",lbarr:"â¤",lbbrk:"â²",lbrace:"{",lbrack:"[",lbrke:"â¦",lbrksld:"â¦",lbrkslu:"â¦",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ä»",lcedil:"ļ",lceil:"â",lcub:"{",Lcy:"Ð",lcy:"л",ldca:"⤶",ldquo:"â",ldquor:"â",ldrdhar:"⥧",ldrushar:"â¥",ldsh:"â²",lE:"â¦",le:"â¤",LeftAngleBracket:"â¨",LeftArrow:"â",Leftarrow:"â",leftarrow:"â",LeftArrowBar:"â¤",LeftArrowRightArrow:"â",leftarrowtail:"â¢",LeftCeiling:"â",LeftDoubleBracket:"â¦",LeftDownTeeVector:"⥡",LeftDownVector:"â",LeftDownVectorBar:"â¥",LeftFloor:"â",leftharpoondown:"â½",leftharpoonup:"â¼",leftleftarrows:"â",LeftRightArrow:"â",Leftrightarrow:"â",leftrightarrow:"â",leftrightarrows:"â",leftrightharpoons:"â",leftrightsquigarrow:"â",LeftRightVector:"â¥",LeftTee:"â£",LeftTeeArrow:"â¤",LeftTeeVector:"â¥",leftthreetimes:"â",LeftTriangle:"â²",LeftTriangleBar:"â§",LeftTriangleEqual:"â´",LeftUpDownVector:"â¥",LeftUpTeeVector:"⥠",LeftUpVector:"â¿",LeftUpVectorBar:"â¥",LeftVector:"â¼",LeftVectorBar:"â¥",lEg:"âª",leg:"â",leq:"â¤",leqq:"â¦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"â©¿",lesdoto:"âª",lesdotor:"âª",lesg:"âï¸",lesges:"âª",lessapprox:"âª
",lessdot:"â
1",lesseqgtr:"â",lesseqqgtr:"âª",LessEqualGreater:"â",LessFullEqual:"â¦",LessGreater:"â¶",lessgtr:"â¶",LessLess:"⪡",lesssim:"â²",LessSlantEqual:"⩽",LessTilde:"â²",lfisht:"⥼",lfloor:"â",Lfr:"\uD835\uDD0F",lfr:"\uD835\uDD29",lg:"â¶",lgE:"âª",lHar:"⥢",lhard:"â½",lharu:"â¼",lharul:"⥪",lhblk:"â",LJcy:"Ð",ljcy:"Ñ",Ll:"â",ll:"âª",llarr:"â",llcorner:"â",Lleftarrow:"â",llhard:"⥫",lltri:"âº",Lmidot:"Ä¿",lmidot:"Å",lmoust:"â°",lmoustache:"â°",lnap:"âª",lnapprox:"âª",lnE:"â¨",lne:"âª",lneq:"âª",lneqq:"â¨",lnsim:"â¦",loang:"â¬",loarr:"â½",lobrk:"â¦",LongLeftArrow:"âµ",Longleftarrow:"â¸",longleftarrow:"âµ",LongLeftRightArrow:"â·",Longleftrightarrow:"âº",longleftrightarrow:"â·",longmapsto:"â¼",LongRightArrow:"â¶",Longrightarrow:"â¹",longrightarrow:"â¶",looparrowleft:"â«",looparrowright:"â¬",lopar:"â¦
",Lopf:"\uD835\uDD43",lopf:"\uD835\uDD5D",loplus:"â¨",lotimes:"⨴",lowast:"â",lowbar:"_",LowerLeftArrow:"â",LowerRightArrow:"â",loz:"â",lozenge:"â",lozf:"â§«",lpar:"(",lparlt:"â¦",lrarr:"â",lrcorner:"â",lrhar:"â",lrhard:"â¥",lrm:"â",lrtri:"â¿",lsaquo:"â¹",Lscr:"â",lscr:"\uD835\uDCC1",Lsh:"â°",lsh:"â°",lsim:"â²",lsime:"âª",lsimg:"âª",lsqb:"[",lsquo:"â",lsquor:"â",Lstrok:"Å",lstrok:"Å",Lt:"âª",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"â",lthree:"â",ltimes:"â",ltlarr:"⥶",ltquest:"â©»",ltri:"â",ltrie:"â´",ltrif:"â",ltrPar:"â¦",lurdshar:"â¥",luruhar:"⥦",lvertneqq:"â¨ï¸",lvnE:"â¨ï¸",macr:"\xaf",male:"â",malt:"â ",maltese:"â ",Map:"â¤
",map:"â¦",mapsto:"â¦",mapstodown:"â§",mapstoleft:"â¤",mapstoup:"â¥",marker:"â®",mcomma:"⨩",Mcy:"Ð",mcy:"м",mdash:"â",mDDot:"âº",measuredangle:"â¡",MediumSpace:"â",Mellintrf:"â³",Mfr:"\uD835\uDD10",mfr:"\uD835\uDD2A",mho:"â§",micro:"\xb5",mid:"â£",midast:"*",midcir:"â«°",middot:"\xb7",minus:"â",minusb:"â",minusd:"â¸",minusdu:"⨪",MinusPlus:"â",mlcp:"â«",mldr:"â¦",mnplus:"â",models:"â§",Mopf:"\uD835\uDD44",mopf:"\uD835\uDD5E",mp:"â",Mscr:"â³",mscr:"\uD835\uDCC2",mstpos:"â¾",Mu:"Î",mu:"μ",multimap:"â¸",mumap:"â¸",nabla:"â",Nacute:"Å",nacute:"Å",nang:"â â",nap:"â",napE:"⩰̸",napid:"â̸",napos:"Å",napprox:"â",natur:"â®",natural:"â®",naturals:"â",nbsp:"\xa0",nbump:"â̸",nbumpe:"â̸",ncap:"â©",Ncaron:"Å",ncaron:"Å",Ncedil:"Å
",ncedil:"Å",ncong:"â",ncongdot:"â©Ì¸",ncup:"â©",Ncy:"Ð",ncy:"н",ndash:"â",ne:"â ",nearhk:"⤤",neArr:"â",nearr:"â",nearrow:"â",nedot:"â̸",NegativeMediumSpace:"â",NegativeThickSpace:"â",NegativeThinSpace:"â",NegativeVeryThinSpace:"â",nequiv:"â¢",nesear:"⤨",nesim:"â̸",NestedGreaterGreater:"â«",NestedLessLess:"âª",NewLine:"\n",nexist:"â",nexists:"â",Nfr:"\uD835\uDD11",nfr:"\uD835\uDD2B",ngE:"â§Ì¸",nge:"â±",ngeq:"â±",ngeqq:"â§Ì¸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"â̸",ngsim:"âµ",nGt:"â«â",ngt:"â¯",ngtr:"â¯",nGtv:"â«Ì¸",nhArr:"â",nharr:"â®",nhpar:"⫲",ni:"â",nis:"â¼",nisd:"âº",niv:"â",NJcy:"Ð",njcy:"Ñ",nlArr:"â",nlarr:"â",nldr:"â¥",nlE:"â¦Ì¸",nle:"â°",nLeftarrow:"â",nleftarrow:"â",nLeftrightarrow:"â",nleftrightarrow:"â®",nleq:"â°",nleqq:"â¦Ì¸",nleqslant:"⩽̸",nles:"⩽̸",nless:"â®",nLl:"â̸",nlsim:"â´",nLt:"âªâ",nlt:"â®",nltri:"âª",nltrie:"â¬",nLtv:"âªÌ¸",nmid:"â¤",NoBreak:"â ",NonBreakingSpace:"\xa0",Nopf:"â",nopf:"\uD835\uDD5F",Not:"⫬",not:"\xac",NotCongruent:"â¢",NotCupCap:"â",NotDoubleVerticalBar:"â¦",NotElement:"â",NotEqual:"â ",NotEqualTilde:"â̸",NotExists:"â",NotGreater:"â¯",NotGreaterEqual:"â±",NotGreaterFullEqual:"â§Ì¸",NotGreaterGreater:"â«Ì¸",NotGreaterLess:"â¹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"âµ",NotHumpDownHump:"â̸",NotHumpEqual:"â̸",notin:"â",notindot:"âµÌ¸",notinE:"â¹Ì¸",notinva:"â",notinvb:"â·",notinvc:"â¶",NotLeftTriangle:"âª",NotLeftTriangleBar:"â§Ì¸",NotLeftTriangleEqual:"â¬",NotLess:"â®",NotLessEqual:"â°",NotLessGreater:"â¸",NotLessLess:"âªÌ¸",NotLessSlantEqual:"⩽̸",NotLessTilde:"â´",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"â",notniva:"â",notnivb:"â¾",notnivc:"â½",NotPrecedes:"â",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"â ",NotReverseElement:"â",NotRightTriangle:"â«",NotRightTriangleBar:"â§Ì¸",NotRightTriangleEqual:"â",NotSquareSubset:"â̸",NotSquareSubsetEqual:"â¢",NotSquareSuperset:"â̸",NotSquareSupersetEqual:"â£",NotSubset:"ââ",NotSubsetEqual:"â",NotSucceeds:"â",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"â¡",NotSucceedsTilde:"â¿Ì¸",NotSuperset:"ââ",NotSupersetEqual:"â",NotTilde:"â",NotTildeEqual:"â",NotTildeFullEqual:"â",NotTildeTilde:"â",NotVerticalBar:"â¤",npar:"â¦",nparallel:"â¦",nparsl:"⫽â¥",npart:"â̸",npolint:"â¨",npr:"â",nprcue:"â
1 ",npre:"⪯̸",nprec:"â",npreceq:"⪯̸",nrArr:"â",nrarr:"â",nrarrc:"⤳̸",nrarrw:"â̸",nRightarrow:"â",nrightarrow:"â",nrtri:"â«",nrtrie:"â",nsc:"â",nsccue:"â¡",nsce:"⪰̸",Nscr:"\uD835\uDCA9",nscr:"\uD835\uDCC3",nshortmid:"â¤",nshortparallel:"â¦",nsim:"â",nsime:"â",nsimeq:"â",nsmid:"â¤",nspar:"â¦",nsqsube:"â¢",nsqsupe:"â£",nsub:"â",nsubE:"â«
̸",nsube:"â",nsubset:"ââ",nsubseteq:"â",nsubseteqq:"â«
̸",nsucc:"â",nsucceq:"⪰̸",nsup:"â
",nsupE:"â«Ì¸",nsupe:"â",nsupset:"ââ",nsupseteq:"â",nsupseteqq:"â«Ì¸",ntgl:"â¹",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"â¸",ntriangleleft:"âª",ntrianglelefteq:"â¬",ntriangleright:"â«",ntrianglerighteq:"â",Nu:"Î",nu:"ν",num:"#",numero:"â",numsp:"â",nvap:"ââ",nVDash:"â¯",nVdash:"â®",nvDash:"â",nvdash:"â¬",nvge:"â¥â",nvgt:">â",nvHarr:"â¤",nvinfin:"â§",nvlArr:"â¤",nvle:"â¤â",nvlt:"<â",nvltrie:"â´â",nvrArr:"â¤",nvrtrie:"âµâ",nvsim:"â¼â",nwarhk:"⤣",nwArr:"â",nwarr:"â",nwarrow:"â",nwnear:"⤧",Oacute:"\xd3",oacute:"\xf3",oast:"â",ocir:"â",Ocirc:"\xd4",ocirc:"\xf4",Ocy:"Ð",ocy:"о",odash:"â",Odblac:"Å",odblac:"Å",odiv:"⨸",odot:"â",odsold:"⦼",OElig:"Å",oelig:"Å",ofcir:"⦿",Ofr:"\uD835\uDD12",ofr:"\uD835\uDD2C",ogon:"Ë",Ograve:"\xd2",ograve:"\xf2",ogt:"â§",ohbar:"⦵",ohm:"Ω",oint:"â®",olarr:"âº",olcir:"⦾",olcross:"⦻",oline:"â¾",olt:"â§",Omacr:"Å",omacr:"Å",Omega:"Ω",omega:"Ï",Omicron:"Î",omicron:"ο",omid:"⦶",ominus:"â",Oopf:"\uD835\uDD46",oopf:"\uD835\uDD60",opar:"⦷",OpenCurlyDoubleQuote:"â",OpenCurlyQuote:"â",operp:"⦹",oplus:"â",Or:"â©",or:"â¨",orarr:"â»",ord:"â©",order:"â´",orderof:"â´",ordf:"\xaa",ordm:"\xba",origof:"â¶",oror:"â©",orslope:"â©",orv:"â©",oS:"â",Oscr:"\uD835\uDCAA",oscr:"â´",Oslash:"\xd8",oslash:"\xf8",osol:"â",Otilde:"\xd5",otilde:"\xf5",Otimes:"⨷",otimes:"â",otimesas:"⨶",Ouml:"\xd6",ouml:"\xf6",ovbar:"â½",OverBar:"â¾",OverBrace:"â",OverBracket:"â´",OverParenthesis:"â",par:"â¥",para:"\xb6",parallel:"â¥",parsim:"⫳",parsl:"⫽",part:"â",PartialD:"â",Pcy:"Ð",pcy:"п",percnt:"%",period:".",permil:"â°",perp:"â¥",pertenk:"â±",Pfr:"\uD835\uDD13",pfr:"\uD835\uDD2D",Phi:"Φ",phi:"Ï",phiv:"Ï",phmmat:"â³",phone:"â",Pi:"Î ",pi:"Ï",pitchfork:"â",piv:"Ï",planck:"â",planckh:"â",plankv:"â",plus:"+",plusacir:"⨣",plusb:"â",pluscir:"⨢",plusdo:"â",plusdu:"⨥",pluse:"⩲",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",Poincareplane:"â",pointint:"â¨",Popf:"â",popf:"\uD835\uDD61",pound:"\xa3",Pr:"⪻",pr:"âº",prap:"⪷",prcue:"â¼",prE:"⪳",pre:"⪯",prec:"âº",precapprox:"⪷",preccurlyeq:"â¼",Precedes:"âº",PrecedesEqual:"⪯",PrecedesSlantEqual:"â¼",PrecedesTilde:"â¾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"â¨",precsim:"â¾",Prime:"â³",prime:"â²",primes:"â",prnap:"⪹",prnE:"⪵",prnsim:"â¨",prod:"â",Product:"â",profalar:"â®",profline:"â",profsurf:"â",prop:"â",Proportion:"â·",Proportional:"â",propto:"â",prsim:"â¾",prurel:"â°",Pscr:"\uD835\uDCAB",pscr:"\uD835\uDCC5",Psi:"Ψ",psi:"Ï",puncsp:"â",Qfr:"\uD835\uDD14",qfr:"\uD835\uDD2E",qint:"â¨",Qopf:"â",qopf:"\uD835\uDD62",qprime:"â",Qscr:"\uD835\uDCAC",qscr:"\uD835\uDCC6",quaternions:"â",quatint:"â¨",quest:"?",questeq:"â",QUOT:'"',quot:'"',rAarr:"â",race:"â½Ì±",Racute:"Å",racute:"Å",radic:"â",raemptyv:"⦳",Rang:"â«",rang:"â©",rangd:"â¦",range:"⦥",rangle:"â©",raquo:"\xbb",Rarr:"â ",rArr:"â",rarr:"â",rarrap:"⥵",rarrb:"â¥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"â¤",rarrhk:"âª",rarrlp:"â¬",rarrpl:"â¥
",rarrsim:"⥴",Rarrtl:"â¤",rarrtl:"â£",rarrw:"â",rAtail:"â¤",ratail:"â¤",ratio:"â¶",rationals:"â",RBarr:"â¤",rBarr:"â¤",rbarr:"â¤",rbbrk:"â³",rbrace:"}",rbrack:"]",rbrke:"â¦",rbrksld:"â¦",rbrkslu:"â¦",Rcaron:"Å",rcaron:"Å",Rcedil:"Å",rcedil:"Å",rceil:"â",rcub:"}",Rcy:"Ð ",rcy:"Ñ",rdca:"⤷",rdldhar:"⥩",rdquo:"â",rdquor:"â",rdsh:"â³",Re:"â",real:"â",realine:"â",realpart:"â",reals:"â",rect:"â",REG:"\xae",reg:"\xae",ReverseElement:"â",ReverseEquilibrium:"â",ReverseUpEquilibrium:"⥯",rf
1isht:"⥽",rfloor:"â",Rfr:"â",rfr:"\uD835\uDD2F",rHar:"⥤",rhard:"â",rharu:"â",rharul:"⥬",Rho:"Ρ",rho:"Ï",rhov:"ϱ",RightAngleBracket:"â©",RightArrow:"â",Rightarrow:"â",rightarrow:"â",RightArrowBar:"â¥",RightArrowLeftArrow:"â",rightarrowtail:"â£",RightCeiling:"â",RightDoubleBracket:"â§",RightDownTeeVector:"â¥",RightDownVector:"â",RightDownVectorBar:"â¥",RightFloor:"â",rightharpoondown:"â",rightharpoonup:"â",rightleftarrows:"â",rightleftharpoons:"â",rightrightarrows:"â",rightsquigarrow:"â",RightTee:"â¢",RightTeeArrow:"â¦",RightTeeVector:"â¥",rightthreetimes:"â",RightTriangle:"â³",RightTriangleBar:"â§",RightTriangleEqual:"âµ",RightUpDownVector:"â¥",RightUpTeeVector:"â¥",RightUpVector:"â¾",RightUpVectorBar:"â¥",RightVector:"â",RightVectorBar:"â¥",ring:"Ë",risingdotseq:"â",rlarr:"â",rlhar:"â",rlm:"â",rmoust:"â±",rmoustache:"â±",rnmid:"â«®",roang:"â",roarr:"â¾",robrk:"â§",ropar:"â¦",Ropf:"â",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"â¦",rppolint:"â¨",rrarr:"â",Rrightarrow:"â",rsaquo:"âº",Rscr:"â",rscr:"\uD835\uDCC7",Rsh:"â±",rsh:"â±",rsqb:"]",rsquo:"â",rsquor:"â",rthree:"â",rtimes:"â",rtri:"â¹",rtrie:"âµ",rtrif:"â¸",rtriltri:"â§",RuleDelayed:"â§´",ruluhar:"⥨",rx:"â",Sacute:"Å",sacute:"Å",sbquo:"â",Sc:"⪼",sc:"â»",scap:"⪸",Scaron:"Å ",scaron:"Å¡",sccue:"â½",scE:"⪴",sce:"⪰",Scedil:"Å",scedil:"Å",Scirc:"Å",scirc:"Å",scnap:"⪺",scnE:"⪶",scnsim:"â©",scpolint:"â¨",scsim:"â¿",Scy:"С",scy:"Ñ",sdot:"â
",sdotb:"â¡",sdote:"⩦",searhk:"⤥",seArr:"â",searr:"â",searrow:"â",sect:"\xa7",semi:";",seswar:"⤩",setminus:"â",setmn:"â",sext:"â¶",Sfr:"\uD835\uDD16",sfr:"\uD835\uDD30",sfrown:"â¢",sharp:"â¯",SHCHcy:"Щ",shchcy:"Ñ",SHcy:"Ш",shcy:"Ñ",ShortDownArrow:"â",ShortLeftArrow:"â",shortmid:"â£",shortparallel:"â¥",ShortRightArrow:"â",ShortUpArrow:"â",shy:"\xad",Sigma:"Σ",sigma:"Ï",sigmaf:"Ï",sigmav:"Ï",sim:"â¼",simdot:"⩪",sime:"â",simeq:"â",simg:"âª",simgE:"⪠",siml:"âª",simlE:"âª",simne:"â",simplus:"⨤",simrarr:"⥲",slarr:"â",SmallCircle:"â",smallsetminus:"â",smashp:"⨳",smeparsl:"⧤",smid:"â£",smile:"â£",smt:"⪪",smte:"⪬",smtes:"⪬ï¸",SOFTcy:"Ь",softcy:"Ñ",sol:"/",solb:"â§",solbar:"â¿",Sopf:"\uD835\uDD4A",sopf:"\uD835\uDD64",spades:"â ",spadesuit:"â ",spar:"â¥",sqcap:"â",sqcaps:"âï¸",sqcup:"â",sqcups:"âï¸",Sqrt:"â",sqsub:"â",sqsube:"â",sqsubset:"â",sqsubseteq:"â",sqsup:"â",sqsupe:"â",sqsupset:"â",sqsupseteq:"â",squ:"â¡",Square:"â¡",square:"â¡",SquareIntersection:"â",SquareSubset:"â",SquareSubsetEqual:"â",SquareSuperset:"â",SquareSupersetEqual:"â",SquareUnion:"â",squarf:"âª",squf:"âª",srarr:"â",Sscr:"\uD835\uDCAE",sscr:"\uD835\uDCC8",ssetmn:"â",ssmile:"â£",sstarf:"â",Star:"â",star:"â",starf:"â
",straightepsilon:"ϵ",straightphi:"Ï",strns:"\xaf",Sub:"â",sub:"â",subdot:"⪽",subE:"â«
",sube:"â",subedot:"â«",submult:"â«",subnE:"â«",subne:"â",subplus:"⪿",subrarr:"⥹",Subset:"â",subset:"â",subseteq:"â",subseteqq:"â«
",SubsetEqual:"â",subsetneq:"â",subsetneqq:"â«",subsim:"â«",subsub:"â«",subsup:"â«",succ:"â»",succapprox:"⪸",succcurlyeq:"â½",Succeeds:"â»",SucceedsEqual:"⪰",SucceedsSlantEqual:"â½",SucceedsTilde:"â¿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"â©",succsim:"â¿",SuchThat:"â",Sum:"â",sum:"â",sung:"âª",Sup:"â",sup:"â",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"⪾",supdsub:"â«",supE:"â«",supe:"â",supedot:"â«",Superset:"â",SupersetEqual:"â",suphsol:"â",suphsub:"â«",suplarr:"⥻",supmult:"â«",supnE:"â«",supne:"â",supplus:"â«",Supset:"â",supset:"â",supseteq:"â",supseteqq:"â«",supsetneq:"â",supsetneqq:"â«",supsim:"â«",supsub:"â«",supsup:"â«",swarhk:"⤦",swArr:"â",swarr:"â",swarrow:"â",swnwar:"⤪",szlig:"\xdf",Tab:" ",target:"â",Tau:"Τ",tau:"Ï",tbrk:"â´",Tcaron:"Ť",tcaron:"Å¥",Tcedil:"Å¢",tcedil:"Å£",Tcy:"Т",tcy:"Ñ",tdot:"â",telrec:"â",Tfr:"\uD835\uDD17",tfr:"\uD835\uDD31",there4:"â´",Therefore:"â´",therefore:"â´",Theta:"Î",theta:"θ",thetasym:"Ï",thetav:"Ï",thickapprox:"â",thicksim:"â¼",ThickS
1pace:"ââ",thinsp:"â",ThinSpace:"â",thkap:"â",thksim:"â¼",THORN:"\xde",thorn:"\xfe",Tilde:"â¼",tilde:"Ë",TildeEqual:"â",TildeFullEqual:"â
",TildeTilde:"â",times:"\xd7",timesb:"â ",timesbar:"⨱",timesd:"⨰",tint:"â",toea:"⤨",top:"â¤",topbot:"â¶",topcir:"⫱",Topf:"\uD835\uDD4B",topf:"\uD835\uDD65",topfork:"â«",tosa:"⤩",tprime:"â´",TRADE:"â¢",trade:"â¢",triangle:"âµ",triangledown:"â¿",triangleleft:"â",trianglelefteq:"â´",triangleq:"â",triangleright:"â¹",trianglerighteq:"âµ",tridot:"â¬",trie:"â",triminus:"⨺",TripleDot:"â",triplus:"⨹",trisb:"â§",tritime:"⨻",trpezium:"â¢",Tscr:"\uD835\uDCAF",tscr:"\uD835\uDCC9",TScy:"Ц",tscy:"Ñ",TSHcy:"Ð",tshcy:"Ñ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"â¬",twoheadleftarrow:"â",twoheadrightarrow:"â ",Uacute:"\xda",uacute:"\xfa",Uarr:"â",uArr:"â",uarr:"â",Uarrocir:"â¥",Ubrcy:"Ð",ubrcy:"Ñ",Ubreve:"Ŭ",ubreve:"Å",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"У",ucy:"Ñ",udarr:"â
",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"\uD835\uDD18",ufr:"\uD835\uDD32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"⥣",uharl:"â¿",uharr:"â¾",uhblk:"â",ulcorn:"â",ulcorner:"â",ulcrop:"â",ultri:"â¸",Umacr:"Ū",umacr:"Å«",uml:"\xa8",UnderBar:"_",UnderBrace:"â",UnderBracket:"âµ",UnderParenthesis:"â",Union:"â",UnionPlus:"â",Uogon:"Ų",uogon:"ų",Uopf:"\uD835\uDD4C",uopf:"\uD835\uDD66",UpArrow:"â",Uparrow:"â",uparrow:"â",UpArrowBar:"â¤",UpArrowDownArrow:"â
",UpDownArrow:"â",Updownarrow:"â",updownarrow:"â",UpEquilibrium:"⥮",upharpoonleft:"â¿",upharpoonright:"â¾",uplus:"â",UpperLeftArrow:"â",UpperRightArrow:"â",Upsi:"Ï",upsi:"Ï
",upsih:"Ï",Upsilon:"Î¥",upsilon:"Ï
",UpTee:"â¥",UpTeeArrow:"â¥",upuparrows:"â",urcorn:"â",urcorner:"â",urcrop:"â",Uring:"Å®",uring:"ů",urtri:"â¹",Uscr:"\uD835\uDCB0",uscr:"\uD835\uDCCA",utdot:"â°",Utilde:"Ũ",utilde:"Å©",utri:"âµ",utrif:"â´",uuarr:"â",Uuml:"\xdc",uuml:"\xfc",uwangle:"⦧",vangrt:"â¦",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"â
",varphi:"Ï",varpi:"Ï",varpropto:"â",vArr:"â",varr:"â",varrho:"ϱ",varsigma:"Ï",varsubsetneq:"âï¸",varsubsetneqq:"â«ï¸",varsupsetneq:"âï¸",varsupsetneqq:"â«ï¸",vartheta:"Ï",vartriangleleft:"â²",vartriangleright:"â³",Vbar:"â««",vBar:"⫨",vBarv:"â«©",Vcy:"Ð",vcy:"в",VDash:"â«",Vdash:"â©",vDash:"â¨",vdash:"â¢",Vdashl:"⫦",Vee:"â",vee:"â¨",veebar:"â»",veeeq:"â",vellip:"â®",Verbar:"â",verbar:"|",Vert:"â",vert:"|",VerticalBar:"â£",VerticalLine:"|",VerticalSeparator:"â",VerticalTilde:"â",VeryThinSpace:"â",Vfr:"\uD835\uDD19",vfr:"\uD835\uDD33",vltri:"â²",vnsub:"ââ",vnsup:"ââ",Vopf:"\uD835\uDD4D",vopf:"\uD835\uDD67",vprop:"â",vrtri:"â³",Vscr:"\uD835\uDCB1",vscr:"\uD835\uDCCB",vsubnE:"â«ï¸",vsubne:"âï¸",vsupnE:"â«ï¸",vsupne:"âï¸",Vvdash:"âª",vzigzag:"â¦",Wcirc:"Å´",wcirc:"ŵ",wedbar:"â©",Wedge:"â",wedge:"â§",wedgeq:"â",weierp:"â",Wfr:"\uD835\uDD1A",wfr:"\uD835\uDD34",Wopf:"\uD835\uDD4E",wopf:"\uD835\uDD68",wp:"â",wr:"â",wreath:"â",Wscr:"\uD835\uDCB2",wscr:"\uD835\uDCCC",xcap:"â",xcirc:"â¯",xcup:"â",xdtri:"â½",Xfr:"\uD835\uDD1B",xfr:"\uD835\uDD35",xhArr:"âº",xharr:"â·",Xi:"Î",xi:"ξ",xlArr:"â¸",xlarr:"âµ",xmap:"â¼",xnis:"â»",xodot:"â¨",Xopf:"\uD835\uDD4F",xopf:"\uD835\uDD69",xoplus:"â¨",xotime:"â¨",xrArr:"â¹",xrarr:"â¶",Xscr:"\uD835\uDCB3",xscr:"\uD835\uDCCD",xsqcup:"â¨",xuplus:"â¨",xutri:"â³",xvee:"â",xwedge:"â",Yacute:"\xdd",yacute:"\xfd",YAcy:"Я",yacy:"Ñ",Ycirc:"Ŷ",ycirc:"Å·",Ycy:"Ы",ycy:"Ñ",yen:"\xa5",Yfr:"\uD835\uDD1C",yfr:"\uD835\uDD36",YIcy:"Ð",yicy:"Ñ",Yopf:"\uD835\uDD50",yopf:"\uD835\uDD6A",Yscr:"\uD835\uDCB4",yscr:"\uD835\uDCCE",YUcy:"Ю",yucy:"Ñ",Yuml:"Ÿ",yuml:"\xff",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"Ð",zcy:"з",Zdot:"Å»",zdot:"ż",zeetrf:"â¨",ZeroWidthSpace:"â",Zeta:"Î",zeta:"ζ",Zfr:"â¨",zfr:"\uD835\uDD37",ZHcy:"Ð",zhcy:"ж",zigrarr:"â",Zopf:"â¤",zopf:"\uD835\uDD6B",Zscr:"\uD835\uDCB5",zscr:"\uD835\uDCCF",zwj:"â",zwnj:"â"}),e.entityMap=e.HTML_ENTITIES},4095:t=>{function e(){return t.exports=e=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}
1).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,e.apply(null,arguments)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},5857:t=>{var e={"":!0,up:!0};function r(t){return"number"==typeof t&&t>=0&&t<=100}t.exports=function(){var t=100,n=3,i=0,a=100,s=0,o=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!r(e))throw Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return n},set:function(t){if("number"!=typeof t)throw TypeError("Lines must be set to a number.");n=t}},regionAnchorY:{enumerable:!0,get:function(){return a},set:function(t){if(!r(t))throw Error("RegionAnchorX must be between 0 and 100.");a=t}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!r(t))throw Error("RegionAnchorY must be between 0 and 100.");i=t}},viewportAnchorY:{enumerable:!0,get:function(){return o},set:function(t){if(!r(t))throw Error("ViewportAnchorY must be between 0 and 100.");o=t}},viewportAnchorX:{enumerable:!0,get:function(){return s},set:function(t){if(!r(t))throw Error("ViewportAnchorX must be between 0 and 100.");s=t}},scroll:{enumerable:!0,get:function(){return u},set:function(t){var r="string"==typeof t&&!!e[t.toLowerCase()]&&t.toLowerCase();!1===r?console.warn("Scroll: an invalid or illegal string was specified."):u=r}}})}},6059:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(12115);let i=n.forwardRef(function(t,e){let{title:r,titleId:i,...a}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{d:"M13.5 4.06c0-1.336-1.616-2.005-2.56-1.06l-4.5 4.5H4.508c-1.141 0-2.318.664-2.66 1.905A9.76 9.76 0 0 0 1.5 12c0 .898.121 1.768.35 2.595.341 1.24 1.518 1.905 2.659 1.905h1.93l4.5 4.5c.945.945 2.561.276 2.561-1.06V4.06ZM17.78 9.22a.75.75 0 1 0-1.06 1.06L18.44 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06l1.72-1.72 1.72 1.72a.75.75 0 1 0 1.06-1.06L20.56 12l1.72-1.72a.75.75 0 1 0-1.06-1.06l-1.72 1.72-1.72-1.72Z"}))})},7718:t=>{"use strict";function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}t.exports=function(){function t(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1}var r=t.prototype;return r.getIsEnabled=function(){return this.enabled_},r.enable=function(){this.enabled_=!0},r.disable=function(){this.enabled_=!1},r.reset=function(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1},r.addInterceptor=function(t,e){this.typeToInterceptorsMap_.has(t)||this.typeToInterceptorsMap_.set(t,new Set);var r=this.typeToInterceptorsMap_.get(t);return!r.has(e)&&(r.add(e),!0)},r.removeInterceptor=function(t,e){var r=this.typeToInterceptorsMap_.get(t);return!!(r&&r.has(e))&&(r.delete(e),!0)},r.clearInterceptorsByType=function(t){return!!this.typeToInterceptorsMap_.get(t)&&(this.typeToInterceptorsMap_.delete(t),this.typeToInterceptorsMap_.set(t,new Set),!0)},r.clear=function(){return!!this.typeToInterceptorsMap_.size&&(this.typeToInterceptorsMap_=new Map,!0)},r.getForType=function(t){return this.typeToInterceptorsMap_.get(t)||new Set},r.execute=function(t,r){for(var n,i=this.getForType(t),a=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return e(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(t,r)}}(t))){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i);!(n=a()).done;){var s=n.value;try{r=s(r)}catch(t){}}return r},t}()},7776:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(12115);let i=n.forwardRef(function(t,e){let{title:r,titleId:i,...a}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
1currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M12.97 3.97a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 1 1-1.06-1.06l6.22-6.22H3a.75.75 0 0 1 0-1.5h16.19l-6.22-6.22a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))})},10180:(t,e,r)=>{t.exports="undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{}},14474:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(12115);let i=n.forwardRef(function(t,e){let{title:r,titleId:i,...a}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M12 1.5a5.25 5.25 0 0 0-5.25 5.25v3a3 3 0 0 0-3 3v6.75a3 3 0 0 0 3 3h10.5a3 3 0 0 0 3-3v-6.75a3 3 0 0 0-3-3v-3c0-2.9-2.35-5.25-5.25-5.25Zm3.75 8.25v-3a3.75 3.75 0 1 0-7.5 0v3h7.5Z",clipRule:"evenodd"}))})},15376:t=>{!function(){var e={675:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,a=u(t),s=a[0],o=a[1],l=new i((s+o)*3/4-o),c=0,h=o>0?s-4:s;for(r=0;r<h;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],l[c++]=e>>16&255,l[c++]=e>>8&255,l[c++]=255&e;return 2===o&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,l[c++]=255&e),1===o&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,l[c++]=e>>8&255,l[c++]=255&e),l},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,a=[],s=0,o=n-i;s<o;s+=16383)a.push(function(t,e,n){for(var i,a=[],s=e;s<n;s+=3)i=(t[s]<<16&0xff0000)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}(t,s,s+16383>o?o:s+16383));return 1===i?a.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===i&&a.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),a.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,o=a.length;s<o;++s)r[s]=a[s],n[a.charCodeAt(s)]=s;function u(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(t,e,r){"use strict";var n=r(675),i=r(783),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,o.prototype),e}function o(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return c(t)}return u(t,e,r)}function u(t,e,r){if("string"==typeof t){var n=t,i=e;if(("string"!=typeof i||""===i)&&(i="utf8"),!o.isEncoding(i))throw TypeError("Unknown encoding: "+i);var a=0|d(n,i),u=s(a),l=u.write(n,i);return l!==a&&(u=u.slice(0,l)),u}if(ArrayBuffer.isView(t))return h(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(R(t,ArrayBuffer)||t&&R(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(R(t,SharedArrayBuffer)||t&&R(t.buffer,SharedArrayBuffer)))return function(t,e,r){var n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),o.prototype),n}(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var c=t.valueOf&&t.valueOf();if(null!=c&&c!==t)return o.from(c,e,r);var p=function(t){if(o.isBuffer(t)){var e=0|f(t.length),r=s(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?s(0):h(t):"Buffer"===t.type&&Array.isArray(t.data)?h(t.data):void 0}(t);if(p)return p;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return o.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function l(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');
vendor: 16,517 bytes, line 1
1if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return l(t),s(t<0?0:0|f(t))}function h(t){for(var e=t.length<0?0:0|f(t.length),r=s(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}e.Buffer=o,e.SlowBuffer=function(t){return+t!=t&&(t=0),o.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,o.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),o.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}}),o.poolSize=8192,o.from=function(t,e,r){return u(t,e,r)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array),o.alloc=function(t,e,r){return(l(t),t<=0)?s(t):void 0!==e?"string"==typeof r?s(t).fill(e,r):s(t).fill(e):s(t)},o.allocUnsafe=function(t){return c(t)},o.allocUnsafeSlow=function(t){return c(t)};function f(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function d(t,e){if(o.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||R(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return S(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return I(t).length;default:if(i)return n?-1:S(t).length;e=(""+e).toLowerCase(),i=!0}}function p(t,e,r){var i,a,s,o=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=O[t[a]];return i}(this,e,r);case"utf8":case"utf-8":return y(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}(this,e,r);case"base64":return i=this,a=e,s=r,0===a&&s===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(a,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}(this,e,r);default:if(o)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),o=!0}}function g(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function m(t,e,r,n,i){var a;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(a=r*=1)!=a&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(i)return -1;else r=t.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof e&&(e=o.from(e,n)),o.isBuffer(e))return 0===e.length?-1:b(t,e,r,n,i);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return b(t,[e],r,n,i)}throw TypeError("val must be string, number or Buffer")}function b(t,e,r,n,i){var a,s=1,o=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;s=2,o/=2,u/=2,r/=2}function l(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var c=-1;for(a=r;a<o;a++)if(l(t,a)===l(e,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===u)return c*s}else -1!==c&&(a-=a-c),c=-1}else for(r+u>o&&(r=o-u),a=r;a>=0;a--){for(var h=!0,f=0;f<u;f++)if(l(t,a+f)!==l(e,f)){h=!1;break}if(h)return a}return -1}o.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==o.prototype},o.compare=function(t,e){if(R(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),R(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(t)||!o.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,i=0,a=Math.min(r,n);i<a;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:+(n<r)},o.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return o.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,n=o.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var a=t[r];if(R(a,Uint8Array)&&(a=o.from(a)),!o.isBuffer(a))throw TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},o.byteLength=d,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},o.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},o.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},o.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?y(this,0,t):p.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(t){if(!o.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===o.compare(this,t)},o.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},a&&(o.prototype[a]=o.prototype.inspect),o.prototype.compare=function(t,e,r,n,i){if(R(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var a=i-n,s=r-e,u=Math.min(a,s),l=this.slice(n,i),c=t.slice(e,r),h=0;h<u;++h)if(l[h]!==c[h]){a=l[h],s=c[h];break}return a<s?-1:+(s<a)},o.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},o.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},o.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)};function y(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a,s,o,u,l=t[i],c=null,h=l>239?4:l>223?3:l>191?2:1;if(i+h<=r)switch(h){case 1:l<128&&(c=l);break;case 2:(192&(a=t[i+1]))==128&&(u=(31&l)<<6|63&a)>127&&(c=u);break;case 3:a=t[i+1],s=t[i+2],(192&a)==128&&(192&s)==128&&(u=(15&l)<<12|(63&a)<<6|63&s)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:a=t[i+1],s=t[i+2],o=t[i+3],(192&a)==128&&(192&s)==128&&(192&o)==128&&(u=(15&l)<<18|(63&a)<<12|(63&s)<<6|63&o)>65535&&u<1114112&&(c=u)}null===c?(c=65533,h=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=h}var f=n,d=f.length;if(d<=4096)return String.fromCharCode.apply(String,f);for(var p="",g=0;g<d;)p+=String.fromCharCode.apply(String,f.slice(g,g+=4096));return p}function v(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function E(t,e,r,n,i,a){if(!o.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function T(t,e,r,n,i,a){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function D(t,e,r,n,a){return e*=1,r>>>=0,a||T(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function w(t,e,r,n,a){return e*=1,r>>>=0,a||T(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}o.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,a,s,o,u,l,c,h,f=this.length-e;if((void 0===r||r>f)&&(r=f),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var d=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=e.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var o,u=parseInt(e.substr(2*s,2),16);if((o=u)!=o)break;t[r+s]=u}return s}(this,t,e,r);case"utf8":case"utf-8":return i=e,a=r,x(S(t,this.length-i),this,i,a);case"ascii":return s=e,o=r,x(N(t),this,s,o);case"latin1":case"binary":return function(t,e,r,n){return x(N(e),t,r,n)}(this,t,e,r);case"base64":return u=e,l=r,x(I(t),this,u,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=e,h=r,x(function(t,e){for(var r,n,i=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,i.push(r%256),i.push(n);return i}(t,this.length-c),this,c,h);default:if(d)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),d=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,o.prototype),n},o.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=this[t],i=1,a=0;++a<e&&(i*=256);)n+=this[t+a]*i;return n},o.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},o.prototype.readUInt8=function(t,e){return t>>>=0,e||v(t,1,this.length),this[t]},o.prototype.readUInt16LE=function(t,e){return t>>>=0,e||v(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUInt16BE=function(t,e){return t>>>=0,e||v(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUInt32LE=function(t,e){return t>>>=0,e||v(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},o.prototype.readUInt32BE=function(t,e){return t>>>=0,e||v(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=this[t],i=1,a=0;++a<e&&(i*=256);)n+=this[t+a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},o.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=e,i=1,a=this[t+--n];n>0&&(i*=256);)a+=this[t+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*e)),a},o.prototype.readInt8=function(t,e){return(t>>>=0,e||v(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},o.prototype.readInt16LE=function(t,e){t>>>=0,e||v(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},o.prototype.readInt16BE=function(t,e){t>>>=0,e||v(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},o.prototype.readInt32LE=function(t,e){return t>>>=0,e||v(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return t>>>=0,e||v(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readFloatLE=function(t,e){return t>>>=0,e||v(t,4,this.length),i.read(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return t>>>=0,e||v(t,4,this.length),i.read(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return t>>>=0,e||v(t,8,this.length),i.read(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return t>>>=0,e||v(t,8,this.length),i.read(this,t,!1,52,8)},o.prototype.writeUIntLE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;E(this,t,e,r,i,0)}var a=1,s=0;for(this[e]=255&t;++s<r&&(a*=256);)this[e+s]=t/a&255;return e+r},o.prototype.writeUIntBE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;E(this,t,e,r,i,0)}var a=r-1,s=1;for(this[e+a]=255&t;--a>=0&&(s*=256);)this[e+a]=t/s&255;return e+r},o.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,1,255,0),this[e]=255&t,e+1},o.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},o.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},o.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},o.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},o.prototype.writeIntLE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,t,e,r,i-1,-i)}var a=0,s=1,o=0;for(this[e]=255&t;++a<r&&(s*=256);)t<0&&0===o&&0!==this[e+a-1]&&(o=1),this[e+a]=(t/s|0)-o&255;return e+r},o.prototype.writeIntBE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,t,e,r,i-1,-i)}var a=r-1,s=1,o=0;for(this[e+a]=255&t;--a>=0&&(s*=256);)t<0&&0===o&&0!==this[e+a+1]&&(o=1),this[e+a]=(t/s|0)-o&255;return e+r},o.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},o.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},o.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},o.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},o.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},o.prototype.writeFloatLE=function(t,e,r){return D(this,t,e,!0,r)},o.prototype.writeFloatBE=function(t,e,r){return D(this,t,e,!1,r)},o.prototype.writeDoubleLE=function(t,e,r){return w(this,t,e,!0,r)},o.prototype.writeDoubleBE=function(t,e,r){return w(this,t,e,!1,r)},o.prototype.copy=function(t,e,r,n){if(!o.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var a=i-1;a>=0;--a)t[a+e]=this[a+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return i},o.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!o.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var i,a=t.charCodeAt(0);("utf8"===n&&a<128||"latin1"===n)&&(t=a)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var s=o.isBuffer(t)?t:o.from(t,n),u=s.length;
1if(0===u)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=s[i%u]}return this};var A=/[^+/0-9A-Za-z-_]/g;function S(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],s=0;s<n;++s){if((r=t.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319||s+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return a}function N(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function I(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(A,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function x(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length)&&!(i>=t.length);++i)e[i+r]=t[i];return i}function R(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var O=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()},783:function(t,e){e.read=function(t,e,r,n,i){var a,s,o=8*i-n-1,u=(1<<o)-1,l=u>>1,c=-7,h=r?i-1:0,f=r?-1:1,d=t[e+h];for(h+=f,a=d&(1<<-c)-1,d>>=-c,c+=o;c>0;a=256*a+t[e+h],h+=f,c-=8);for(s=a&(1<<-c)-1,a>>=-c,c+=n;c>0;s=256*s+t[e+h],h+=f,c-=8);if(0===a)a=1-l;else{if(a===u)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),a-=l}return(d?-1:1)*s*Math.pow(2,a-n)},e.write=function(t,e,r,n,i,a){var s,o,u,l=8*a-i-1,c=(1<<l)-1,h=c>>1,f=5960464477539062e-23*(23===i),d=n?0:a-1,p=n?1:-1,g=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(o=+!!isNaN(e),s=c):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+h>=1?e+=f/u:e+=f*Math.pow(2,1-h),e*u>=2&&(s++,u/=2),s+h>=c?(o=0,s=c):s+h>=1?(o=(e*u-1)*Math.pow(2,i),s+=h):(o=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;t[r+d]=255&o,d+=p,o/=256,i-=8);for(s=s<<i|o,l+=i;l>0;t[r+d]=255&s,d+=p,s/=256,l-=8);t[r+d-p]|=128*g}}},r={};function n(t){var i=r[t];if(void 0!==i)return i.exports;var a=r[t]={exports:{}},s=!0;try{e[t](a,a.exports,n),s=!1}finally{s&&delete r[t]}return a.exports}n.ab="//",t.exports=n(72)}()},17343:(t,e,r)=>{"use strict";r.d(e,{iX:()=>d});var n=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},e.off=function(t,e){if(!this.listeners[t])return!1;var r=this.listeners[t].indexOf(e);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(r,1),r>-1},e.trigger=function(t){var e=this.listeners[t];if(e)if(2==arguments.length)for(var r=e.length,n=0;n<r;++n)e[n].call(this,arguments[1]);else for(var i=Array.prototype.slice.call(arguments,1),a=e.length,s=0;s<a;++s)e[s].apply(this,i)},e.dispose=function(){this.listeners={}},e.pipe=function(t){this.on("data",function(e){t.push(e)})},t}(),i=r(88945),a=r(93536);class s extends n{constructor(){super(),this.buffer=""}push(t){let e;for(this.buffer+=t,e=this.buffer.indexOf("\n");e>-1;e=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,e)),this.buffer=this.buffer.substring(e+1)}}let o=function(t){let e=/([0-9.]*)?@?([0-9.]*)?/.exec(t||""),r={};return e[1]&&(r.length=parseInt(e[1],10)),e[2]&&(r.offset=parseInt(e[2],10)),r},u=function(t){let e,r={};if(!t)return r;let n=t.split(RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),i=n.length;for(;i--;)""!==n[i]&&((e=/([^=]*)=(.*)/.exec(n[i]).slice(1))[0]=e[0].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^['"](.*)['"]$/g,"$1"),r[e[0]]=e[1]);return r},l=t=>{let e=t.split("x"),r={};return e[0]&&(r.width=parseInt(e[0],10)),e[1]&&(r.height=parseInt(e[1],10)),r};class c extends n{constructor(){super(),this.customParsers=[],this.tagMappers=[]}push(t){let e,r;if(0!==(t=t.trim()).length){if("#"!==t[0])return void this.trigger("data",{type:"uri",uri:t});this.tagMappers.reduce((e,r)=>{let n=r(t);return n===t?e:e.concat([n])}
1,[t]).forEach(t=>{for(let e=0;e<this.customParsers.length;e++)if(this.customParsers[e].call(this,t))return;if(0!==t.indexOf("#EXT"))return void this.trigger("data",{type:"comment",text:t.slice(1)});if(t=t.replace("\r",""),e=/^#EXTM3U/.exec(t))return void this.trigger("data",{type:"tag",tagType:"m3u"});if(e=/^#EXTINF:([0-9\.]*)?,?(.*)?$/.exec(t)){r={type:"tag",tagType:"inf"},e[1]&&(r.duration=parseFloat(e[1])),e[2]&&(r.title=e[2]),this.trigger("data",r);return}if(e=/^#EXT-X-TARGETDURATION:([0-9.]*)?/.exec(t)){r={type:"tag",tagType:"targetduration"},e[1]&&(r.duration=parseInt(e[1],10)),this.trigger("data",r);return}if(e=/^#EXT-X-VERSION:([0-9.]*)?/.exec(t)){r={type:"tag",tagType:"version"},e[1]&&(r.version=parseInt(e[1],10)),this.trigger("data",r);return}if(e=/^#EXT-X-MEDIA-SEQUENCE:(\-?[0-9.]*)?/.exec(t)){r={type:"tag",tagType:"media-sequence"},e[1]&&(r.number=parseInt(e[1],10)),this.trigger("data",r);return}if(e=/^#EXT-X-DISCONTINUITY-SEQUENCE:(\-?[0-9.]*)?/.exec(t)){r={type:"tag",tagType:"discontinuity-sequence"},e[1]&&(r.number=parseInt(e[1],10)),this.trigger("data",r);return}if(e=/^#EXT-X-PLAYLIST-TYPE:(.*)?$/.exec(t)){r={type:"tag",tagType:"playlist-type"},e[1]&&(r.playlistType=e[1]),this.trigger("data",r);return}if(e=/^#EXT-X-BYTERANGE:(.*)?$/.exec(t)){r=(0,i.A)(o(e[1]),{type:"tag",tagType:"byterange"}),this.trigger("data",r);return}if(e=/^#EXT-X-ALLOW-CACHE:(YES|NO)?/.exec(t)){r={type:"tag",tagType:"allow-cache"},e[1]&&(r.allowed=!/NO/.test(e[1])),this.trigger("data",r);return}if(e=/^#EXT-X-MAP:(.*)$/.exec(t)){if(r={type:"tag",tagType:"map"},e[1]){let t=u(e[1]);t.URI&&(r.uri=t.URI),t.BYTERANGE&&(r.byterange=o(t.BYTERANGE))}this.trigger("data",r);return}if(e=/^#EXT-X-STREAM-INF:(.*)$/.exec(t)){r={type:"tag",tagType:"stream-inf"},e[1]&&(r.attributes=u(e[1]),r.attributes.RESOLUTION&&(r.attributes.RESOLUTION=l(r.attributes.RESOLUTION)),r.attributes.BANDWIDTH&&(r.attributes.BANDWIDTH=parseInt(r.attributes.BANDWIDTH,10)),r.attributes["FRAME-RATE"]&&(r.attributes["FRAME-RATE"]=parseFloat(r.attributes["FRAME-RATE"])),r.attributes["PROGRAM-ID"]&&(r.attributes["PROGRAM-ID"]=parseInt(r.attributes["PROGRAM-ID"],10))),this.trigger("data",r);return}if(e=/^#EXT-X-MEDIA:(.*)$/.exec(t)){r={type:"tag",tagType:"media"},e[1]&&(r.attributes=u(e[1])),this.trigger("data",r);return}if(e=/^#EXT-X-ENDLIST/.exec(t))return void this.trigger("data",{type:"tag",tagType:"endlist"});if(e=/^#EXT-X-DISCONTINUITY/.exec(t))return void this.trigger("data",{type:"tag",tagType:"discontinuity"});if(e=/^#EXT-X-PROGRAM-DATE-TIME:(.*)$/.exec(t)){r={type:"tag",tagType:"program-date-time"},e[1]&&(r.dateTimeString=e[1],r.dateTimeObject=new Date(e[1])),this.trigger("data",r);return}if(e=/^#EXT-X-KEY:(.*)$/.exec(t)){r={type:"tag",tagType:"key"},e[1]&&(r.attributes=u(e[1]),r.attributes.IV&&("0x"===r.attributes.IV.substring(0,2).toLowerCase()&&(r.attributes.IV=r.attributes.IV.substring(2)),r.attributes.IV=r.attributes.IV.match(/.{8}/g),r.attributes.IV[0]=parseInt(r.attributes.IV[0],16),r.attributes.IV[1]=parseInt(r.attributes.IV[1],16),r.attributes.IV[2]=parseInt(r.attributes.IV[2],16),r.attributes.IV[3]=parseInt(r.attributes.IV[3],16),r.attributes.IV=new Uint32Array(r.attributes.IV))),this.trigger("data",r);return}if(e=/^#EXT-X-START:(.*)$/.exec(t)){r={type:"tag",tagType:"start"},e[1]&&(r.attributes=u(e[1]),r.attributes["TIME-OFFSET"]=parseFloat(r.attributes["TIME-OFFSET"]),r.attributes.PRECISE=/YES/.test(r.attributes.PRECISE)),this.trigger("data",r);return}if(e=/^#EXT-X-CUE-OUT-CONT:(.*)?$/.exec(t)){r={type:"tag",tagType:"cue-out-cont"},e[1]?r.data=e[1]:r.data="",this.trigger("data",r);return}if(e=/^#EXT-X-CUE-OUT:(.*)?$/.exec(t)){r={type:"tag",tagType:"cue-out"},e[1]?r.data=e[1]:r.data="",this.trigger("data",r);return}if(e=/^#EXT-X-CUE-IN:?(.*)?$/.exec(t)){r={type:"tag",tagType:"cue-in"},e[1]?r.data=e[1]:r.data="",this.trigger("data",r);return}if((e=/^#EXT-X-SKIP:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"skip"}).attributes=u(e[1]),r.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(r.attributes["SKIPPED-SEGMENTS"]=parseInt(r.attributes["SKIPPED-SEGMENTS"],10)),r.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(r.attributes["RECENTLY-REMOVED-DATERANGES"]=r.attributes["RECENTLY-REMOVED-DATERANGES"].split(" ")),this.trigger("data",r);return}
1if((e=/^#EXT-X-PART:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"part"}).attributes=u(e[1]),["DURATION"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseFloat(r.attributes[t]))}),["INDEPENDENT","GAP"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=/YES/.test(r.attributes[t]))}),r.attributes.hasOwnProperty("BYTERANGE")&&(r.attributes.byterange=o(r.attributes.BYTERANGE)),this.trigger("data",r);return}if((e=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"server-control"}).attributes=u(e[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseFloat(r.attributes[t]))}),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=/YES/.test(r.attributes[t]))}),this.trigger("data",r);return}if((e=/^#EXT-X-PART-INF:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"part-inf"}).attributes=u(e[1]),["PART-TARGET"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseFloat(r.attributes[t]))}),this.trigger("data",r);return}if((e=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"preload-hint"}).attributes=u(e[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach(function(t){if(r.attributes.hasOwnProperty(t)){r.attributes[t]=parseInt(r.attributes[t],10);let e="BYTERANGE-LENGTH"===t?"length":"offset";r.attributes.byterange=r.attributes.byterange||{},r.attributes.byterange[e]=r.attributes[t],delete r.attributes[t]}}),this.trigger("data",r);return}if((e=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"rendition-report"}).attributes=u(e[1]),["LAST-MSN","LAST-PART"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseInt(r.attributes[t],10))}),this.trigger("data",r);return}if((e=/^#EXT-X-DATERANGE:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"daterange"}).attributes=u(e[1]),["ID","CLASS"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=String(r.attributes[t]))}),["START-DATE","END-DATE"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=new Date(r.attributes[t]))}),["DURATION","PLANNED-DURATION"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseFloat(r.attributes[t]))}),["END-ON-NEXT"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=/YES/i.test(r.attributes[t]))}),["SCTE35-CMD"," SCTE35-OUT","SCTE35-IN"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=r.attributes[t].toString(16))});let t=/^X-([A-Z]+-)+[A-Z]+$/;for(let e in r.attributes){if(!t.test(e))continue;let n=/[0-9A-Fa-f]{6}/g.test(r.attributes[e]),i=/^\d+(\.\d+)?$/.test(r.attributes[e]);r.attributes[e]=n?r.attributes[e].toString(16):i?parseFloat(r.attributes[e]):String(r.attributes[e])}this.trigger("data",r);return}if(e=/^#EXT-X-INDEPENDENT-SEGMENTS/.exec(t))return void this.trigger("data",{type:"tag",tagType:"independent-segments"});if(e=/^#EXT-X-I-FRAMES-ONLY/.exec(t))return void this.trigger("data",{type:"tag",tagType:"i-frames-only"});if(e=/^#EXT-X-CONTENT-STEERING:(.*)$/.exec(t)){(r={type:"tag",tagType:"content-steering"}).attributes=u(e[1]),this.trigger("data",r);return}if(e=/^#EXT-X-I-FRAME-STREAM-INF:(.*)$/.exec(t)){(r={type:"tag",tagType:"i-frame-playlist"}).attributes=u(e[1]),r.attributes.URI&&(r.uri=r.attributes.URI),r.attributes.BANDWIDTH&&(r.attributes.BANDWIDTH=parseInt(r.attributes.BANDWIDTH,10)),r.attributes.RESOLUTION&&(r.attributes.RESOLUTION=l(r.attributes.RESOLUTION)),r.attributes["AVERAGE-BANDWIDTH"]&&(r.attributes["AVERAGE-BANDWIDTH"]=parseInt(r.attributes["AVERAGE-BANDWIDTH"],10)),r.attributes["FRAME-RATE"]&&(r.attributes["FRAME-RATE"]=parseFloat(r.attributes["FRAME-RATE"])),this.trigger("data",r);return}if(e=/^#EXT-X-DEFINE:(.*)$/.exec(t)){(r={type:"tag",tagType:"define"}).attributes=u(e[1]),this.trigger("data",r);return}this.trigger("data",{type:"tag",data:t.slice(4)})})}}addParser({expression:t,customType:e,dataParser:r,segment:n}){"function"!=typeof r&&(r=t=>t),this.customParsers.push(i=>{if(t.exec(i))return this.trigger("data",{type:"custom",data:r(i),customType:e,segment:n}),!0})}addTagMapper({expression:t,map:e}){this.tagMappers.push(r=>t.test(r)?e(r):r)}}let h=function(t){let e={};return Object.keys(t).forEach(function(r){e[r.toLowerCase().replace(/-(\w)/g,t=>t[1].toUpperCase())]=t[r]}),e},f=function(t){let{serverControl:e,targetDuration:r,partTargetDuration:n}=t;if(!e)return;
1let i="#EXT-X-SERVER-CONTROL",a="holdBack",s="partHoldBack",o=r&&3*r,u=n&&2*n;r&&!e.hasOwnProperty(a)&&(e[a]=o,this.trigger("info",{message:`${i} defaulting HOLD-BACK to targetDuration * 3 (${o}).`})),o&&e[a]<o&&(this.trigger("warn",{message:`${i} clamping HOLD-BACK (${e[a]}) to targetDuration * 3 (${o})`}),e[a]=o),n&&!e.hasOwnProperty(s)&&(e[s]=3*n,this.trigger("info",{message:`${i} defaulting PART-HOLD-BACK to partTargetDuration * 3 (${e[s]}).`})),n&&e[s]<u&&(this.trigger("warn",{message:`${i} clamping PART-HOLD-BACK (${e[s]}) to partTargetDuration * 2 (${u}).`}),e[s]=u)};class d extends n{constructor(t={}){let e,r;super(),this.lineStream=new s,this.parseStream=new c,this.lineStream.pipe(this.parseStream),this.mainDefinitions=t.mainDefinitions||{},this.params=new URL(t.uri,"https://a.com").searchParams,this.lastProgramDateTime=null;let n=this,o=[],u={},l=!1,d=function(){},p={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},g=0;this.manifest={allowCache:!0,discontinuityStarts:[],dateRanges:[],iFramePlaylists:[],segments:[]};let m=0,b=0,y={};this.on("end",()=>{!u.uri&&(u.parts||u.preloadHints)&&(!u.map&&e&&(u.map=e),!u.key&&r&&(u.key=r),u.timeline||"number"!=typeof g||(u.timeline=g),this.manifest.preloadSegment=u)}),this.parseStream.on("data",function(t){let s,c;if(n.manifest.definitions){for(let e in n.manifest.definitions)if(t.uri&&(t.uri=t.uri.replace(`{$${e}}`,n.manifest.definitions[e])),t.attributes)for(let r in t.attributes)"string"==typeof t.attributes[r]&&(t.attributes[r]=t.attributes[r].replace(`{$${e}}`,n.manifest.definitions[e]))}({tag(){(({version(){t.version&&(this.manifest.version=t.version)},"allow-cache"(){this.manifest.allowCache=t.allowed,"allowed"in t||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange(){let e={};"length"in t&&(u.byterange=e,e.length=t.length,"offset"in t||(t.offset=m)),"offset"in t&&(u.byterange=e,e.offset=t.offset),m=e.offset+e.length},endlist(){this.manifest.endList=!0},inf(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),t.title&&(u.title=t.title),t.duration>0&&(u.duration=t.duration),0===t.duration&&(u.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=o},key(){if(!t.attributes)return void this.trigger("warn",{message:"ignoring key declaration without attribute list"});if("NONE"===t.attributes.METHOD){r=null;return}if(!t.attributes.URI)return void this.trigger("warn",{message:"ignoring key declaration without URI"});if("com.apple.streamingkeydelivery"===t.attributes.KEYFORMAT){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:t.attributes};return}if("com.microsoft.playready"===t.attributes.KEYFORMAT){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.microsoft.playready"]={uri:t.attributes.URI};return}if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===t.attributes.KEYFORMAT)return -1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(t.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===t.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==t.attributes.URI.substring(0,23))?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):t.attributes.KEYID&&"0x"===t.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:t.attributes.KEYFORMAT,keyId:t.attributes.KEYID.substring(2)},pssh:(0,a.A)(t.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"});t.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),r={method:t.attributes.METHOD||"AES-128",uri:t.attributes.URI},void 0!==t.attributes.IV&&(r.iv=t.attributes.IV)},"media-sequence"(){if(!isFinite(t.number))return void this.trigger("warn",{message:"ignoring invalid media sequence: "+t.number});this.manifest.mediaSequence=t.number},"discontinuity-sequence"(){if(!isFinite(t.number))return void this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+t.number});this.manifest.discontinuitySequence=t.number,g=t.number},"playlist-type"(){if(!/VOD|EVENT/.test(t.playlistType))return void this.trigger("warn",{message:"ignoring unknown playlist type: "+t.playlist});this.manifest.playlistType=t.playlistType},map(){e={},t.uri&&(e.uri=t.uri),t.byterange&&(e.byterange=t.byterange),r&&(e.key=r)}
1,"stream-inf"(){if(this.manifest.playlists=o,this.manifest.mediaGroups=this.manifest.mediaGroups||p,!t.attributes)return void this.trigger("warn",{message:"ignoring empty stream-inf attributes"});u.attributes||(u.attributes={}),(0,i.A)(u.attributes,t.attributes)},media(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||p,!(t.attributes&&t.attributes.TYPE&&t.attributes["GROUP-ID"]&&t.attributes.NAME))return void this.trigger("warn",{message:"ignoring incomplete or missing media group"});let e=this.manifest.mediaGroups[t.attributes.TYPE];e[t.attributes["GROUP-ID"]]=e[t.attributes["GROUP-ID"]]||{},s=e[t.attributes["GROUP-ID"]],(c={default:/yes/i.test(t.attributes.DEFAULT)}).default?c.autoselect=!0:c.autoselect=/yes/i.test(t.attributes.AUTOSELECT),t.attributes.LANGUAGE&&(c.language=t.attributes.LANGUAGE),t.attributes.URI&&(c.uri=t.attributes.URI),t.attributes["INSTREAM-ID"]&&(c.instreamId=t.attributes["INSTREAM-ID"]),t.attributes.CHARACTERISTICS&&(c.characteristics=t.attributes.CHARACTERISTICS),t.attributes.FORCED&&(c.forced=/yes/i.test(t.attributes.FORCED)),s[t.attributes.NAME]=c},discontinuity(){g+=1,u.discontinuity=!0,this.manifest.discontinuityStarts.push(o.length)},"program-date-time"(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=t.dateTimeString,this.manifest.dateTimeObject=t.dateTimeObject),u.dateTimeString=t.dateTimeString,u.dateTimeObject=t.dateTimeObject;let{lastProgramDateTime:e}=this;this.lastProgramDateTime=new Date(t.dateTimeString).getTime(),null===e&&this.manifest.segments.reduceRight((t,e)=>(e.programDateTime=t-1e3*e.duration,e.programDateTime),this.lastProgramDateTime)},targetduration(){if(!isFinite(t.duration)||t.duration<0)return void this.trigger("warn",{message:"ignoring invalid target duration: "+t.duration});this.manifest.targetDuration=t.duration,f.call(this,this.manifest)},start(){if(!t.attributes||isNaN(t.attributes["TIME-OFFSET"]))return void this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"});this.manifest.start={timeOffset:t.attributes["TIME-OFFSET"],precise:t.attributes.PRECISE}},"cue-out"(){u.cueOut=t.data},"cue-out-cont"(){u.cueOutCont=t.data},"cue-in"(){u.cueIn=t.data},skip(){this.manifest.skip=h(t.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",t.attributes,["SKIPPED-SEGMENTS"])},part(){l=!0;let e=this.manifest.segments.length,r=h(t.attributes);u.parts=u.parts||[],u.parts.push(r),r.byterange&&(r.byterange.hasOwnProperty("offset")||(r.byterange.offset=b),b=r.byterange.offset+r.byterange.length);let n=u.parts.length-1;this.warnOnMissingAttributes_(`#EXT-X-PART #${n} for segment #${e}`,t.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((t,e)=>{t.hasOwnProperty("lastPart")||this.trigger("warn",{message:`#EXT-X-RENDITION-REPORT #${e} lacks required attribute(s): LAST-PART`})})},"server-control"(){let e=this.manifest.serverControl=h(t.attributes);e.hasOwnProperty("canBlockReload")||(e.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),f.call(this,this.manifest),e.canSkipDateranges&&!e.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint"(){let e=this.manifest.segments.length,r=h(t.attributes),n=r.type&&"PART"===r.type;u.preloadHints=u.preloadHints||[],u.preloadHints.push(r),r.byterange&&!r.byterange.hasOwnProperty("offset")&&(r.byterange.offset=n?b:0,n&&(b=r.byterange.offset+r.byterange.length));let i=u.preloadHints.length-1;if(this.warnOnMissingAttributes_(`#EXT-X-PRELOAD-HINT #${i} for segment #${e}`,t.attributes,["TYPE","URI"]),r.type)for(let t=0;t<u.preloadHints.length-1;t++){let n=u.preloadHints[t];n.type&&n.type===r.type&&this.trigger("warn",{message:`#EXT-X-PRELOAD-HINT #${i} for segment #${e} has the same TYPE ${r.type} as preload hint #${t}`})}},"rendition-report"(){let e=h(t.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(e);let r=this.manifest.renditionReports.length-1,n=["LAST-MSN","URI"];l&&n.push("LAST-PART"),this.warnOnMissingAttributes_(`#EXT-X-RENDITION-REPORT #${r}`,t.attributes,n)},"part-inf"(){this.manifest.partInf=h(t.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",t.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),f.call(this,this.manifest)},daterange(){this.manifest.dateRanges.push(h(t.attributes));let e=this.manifest.dateRanges.length-1;this.warnOnMissingAttributes_(`#EXT-X-DATERANGE #${e}`,t.attributes,["ID","START-DATE"]);let r=this.manifest.dateRanges[e];r.endDate&&r.startDate&&new Date(r.endDate)<new Date(r.startDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE END-DATE must be equal to or later than the value of the START-DATE"}),r.duration&&r.duration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE DURATION must not be negative"}),r.plannedDuration&&r.plannedDuration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE PLANNED-DURATION must not be negative"});let n=!!r.endOnNext;if(n&&!r.class&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT
1=YES attribute must have a CLASS attribute"}),n&&(r.duration||r.endDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must not contain DURATION or END-DATE attributes"}),r.duration&&r.endDate){let t=r.startDate.getTime()+1e3*r.duration;this.manifest.dateRanges[e].endDate=new Date(t)}if(y[r.id]){for(let t in y[r.id])if(r[t]&&JSON.stringify(y[r.id][t])!==JSON.stringify(r[t])){this.trigger("warn",{message:"EXT-X-DATERANGE tags with the same ID in a playlist must have the same attributes values"});break}let t=this.manifest.dateRanges.findIndex(t=>t.id===r.id);this.manifest.dateRanges[t]=(0,i.A)(this.manifest.dateRanges[t],r),y[r.id]=(0,i.A)(y[r.id],r),this.manifest.dateRanges.pop()}else y[r.id]=r},"independent-segments"(){this.manifest.independentSegments=!0},"i-frames-only"(){this.manifest.iFramesOnly=!0,this.requiredCompatibilityversion(this.manifest.version,4)},"content-steering"(){this.manifest.contentSteering=h(t.attributes),this.warnOnMissingAttributes_("#EXT-X-CONTENT-STEERING",t.attributes,["SERVER-URI"])},define(){this.manifest.definitions=this.manifest.definitions||{};let e=(t,e)=>{if(t in this.manifest.definitions)return void this.trigger("error",{message:`EXT-X-DEFINE: Duplicate name ${t}`});this.manifest.definitions[t]=e};if("QUERYPARAM"in t.attributes){if("NAME"in t.attributes||"IMPORT"in t.attributes)return void this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"});let r=this.params.get(t.attributes.QUERYPARAM);return r?void e(t.attributes.QUERYPARAM,decodeURIComponent(r)):void this.trigger("error",{message:`EXT-X-DEFINE: No query param ${t.attributes.QUERYPARAM}`})}return"NAME"in t.attributes?"IMPORT"in t.attributes?void this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"}):"VALUE"in t.attributes&&"string"==typeof t.attributes.VALUE?void e(t.attributes.NAME,t.attributes.VALUE):void this.trigger("error",{message:`EXT-X-DEFINE: No value for ${t.attributes.NAME}`}):"IMPORT"in t.attributes?this.mainDefinitions[t.attributes.IMPORT]?void e(t.attributes.IMPORT,this.mainDefinitions[t.attributes.IMPORT]):void this.trigger("error",{message:`EXT-X-DEFINE: No value ${t.attributes.IMPORT} to import, or IMPORT used on main playlist`}):void this.trigger("error",{message:"EXT-X-DEFINE: No attribute"})},"i-frame-playlist"(){this.manifest.iFramePlaylists.push({attributes:t.attributes,uri:t.uri,timeline:g}),this.warnOnMissingAttributes_("#EXT-X-I-FRAME-STREAM-INF",t.attributes,["BANDWIDTH","URI"])}})[t.tagType]||d).call(n)},uri(){u.uri=t.uri,o.push(u),!this.manifest.targetDuration||"duration"in u||(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),u.duration=this.manifest.targetDuration),r&&(u.key=r),u.timeline=g,e&&(u.map=e),b=0,null!==this.lastProgramDateTime&&(u.programDateTime=this.lastProgramDateTime,this.lastProgramDateTime+=1e3*u.duration),u={}},comment(){},custom(){t.segment?(u.custom=u.custom||{},u.custom[t.customType]=t.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[t.customType]=t.data)}})[t.type].call(n)})}requiredCompatibilityversion(t,e){(t<e||!t)&&this.trigger("warn",{message:`manifest must be at least version ${e}`})}warnOnMissingAttributes_(t,e,r){let n=[];r.forEach(function(t){e.hasOwnProperty(t)||n.push(t)}),n.length&&this.trigger("warn",{message:`${t} lacks required attribute(s): ${n.join(", ")}`})}push(t){this.lineStream.push(t)}end(){this.lineStream.push("\n"),this.manifest.dateRanges.length&&null===this.lastProgramDateTime&&this.trigger("warn",{message:"A playlist with EXT-X-DATERANGE tag must contain atleast one EXT-X-PROGRAM-DATE-TIME tag"}),this.lastProgramDateTime=null,this.trigger("end")}addParser(t){this.parseStream.addParser(t)}addTagMapper(t){this.parseStream.addTagMapper(t)}}},26009:(t,e,r)=>{var n=r(48953),i=Object.create||function(){function t(){}return function(e){if(1!=arguments.length)throw Error("Object.create shim only accepts one parameter.");return t.prototype=e,new t}}();function a(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function s(t){function e(t,e,r,n){return(0|t)*3600+(0|e)*60+(0|r)+(0|n)/1e3}var r=t.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return r?r[3]?e(r[1],r[2],r[3].replace(":",""),r[4]):r[1]>59?e(r[1],r[2],0,r[4]):e(0,r[1],r[2],r[4]):null}function o(){this.values=i(null)}function u(t,e,r,n){var i=n?t.split(n):[t];for(var a in i)if("string"==typeof i[a]){var s=i[a].split(r);2===s.length&&e(s[0].trim(),s[1].trim())}}a.prototype=i(Error.prototype),a.prototype.constructor=a,a.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},o.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,r){return r?this.has(t)?this.values[t]:e[r]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,r){for(var n=0;n<r.length;++n)if(e===r[n]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){return!!(e.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(e=parseFloat(e))>=0)&&!!(e<=100)&&(this.set(t,e),!0)}};
1var l=n.createElement&&n.createElement("textarea"),c={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},h={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},f={v:"title",lang:"lang"},d={rt:"ruby"};function p(t,e){for(var r,n=t.document.createElement("div"),i=n,a=[];null!==(r=function(){if(!e)return null;var t,r=e.match(/^([^<]*)(<[^>]*>?)?/);return t=r[1]?r[1]:r[2],e=e.substr(t.length),t}());){if("<"===r[0]){if("/"===r[1]){a.length&&a[a.length-1]===r.substr(2).replace(">","")&&(a.pop(),i=i.parentNode);continue}var o,u,p,g,m=s(r.substr(1,r.length-2));if(m){g=t.document.createProcessingInstruction("timestamp",m),i.appendChild(g);continue}var b=r.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!b||!(g=function(e,r){var n=c[e];if(!n)return null;var i=t.document.createElement(n),a=f[e];return a&&r&&(i[a]=r.trim()),i}(b[1],b[3]))||(u=i,d[(p=g).localName]&&d[p.localName]!==u.localName))continue;if(b[2]){var y=b[2].split(".");y.forEach(function(t){var e=/^bg_/.test(t),r=e?t.slice(3):t;if(h.hasOwnProperty(r)){var n=e?"background-color":"color",i=h[r];g.style[n]=i}}),g.className=y.join(" ")}a.push(b[1]),i.appendChild(g),i=g;continue}i.appendChild(t.document.createTextNode((l.innerHTML=o=r,o=l.textContent,l.textContent="",o)))}return n}var g=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function m(){}function b(t,e,r){m.call(this),this.cue=e,this.cueDiv=p(t,e.text);var n={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(n,this.cueDiv),this.div=t.document.createElement("div"),n={direction:function(t){var e=[],r="";if(!t||!t.childNodes)return"ltr";function n(t,e){for(var r=e.childNodes.length-1;r>=0;r--)t.push(e.childNodes[r])}for(n(e,t);r=function t(e){if(!e||!e.length)return null;var r=e.pop(),i=r.textContent||r.innerText;if(i){var a=i.match(/^.*(\n|\r)/);return a?(e.length=0,a[0]):i}return"ruby"===r.tagName?t(e):r.childNodes?(n(e,r),t(e)):void 0}(e);)for(var i=0;i<r.length;i++)if(function(t){for(var e=0;e<g.length;e++){var r=g[e];if(t>=r[0]&&t<=r[1])return!0}return!1}(r.charCodeAt(i)))return"rtl";return"ltr"}(this.cueDiv),writingMode:""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===e.align?"center":e.align,font:r.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(n),this.div.appendChild(this.cueDiv);var i=0;switch(e.positionAlign){case"start":case"line-left":i=e.position;break;case"center":i=e.position-e.size/2;break;case"end":case"line-right":i=e.position-e.size}""===e.vertical?this.applyStyles({left:this.formatStyle(i,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(i,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(t){this.applyStyles({top:this.formatStyle(t.top,"px"),bottom:this.formatStyle(t.bottom,"px"),left:this.formatStyle(t.left,"px"),right:this.formatStyle(t.right,"px"),height:this.formatStyle(t.height,"px"),width:this.formatStyle(t.width,"px")}
1)}}function y(t){var e,r,n,i;if(t.div){r=t.div.offsetHeight,n=t.div.offsetWidth,i=t.div.offsetTop;var a=(a=t.div.childNodes)&&(a=a[0])&&a.getClientRects&&a.getClientRects();t=t.div.getBoundingClientRect(),e=a?Math.max(a[0]&&a[0].height||0,t.height/a.length):0}this.left=t.left,this.right=t.right,this.top=t.top||i,this.height=t.height||r,this.bottom=t.bottom||i+(t.height||r),this.width=t.width||n,this.lineHeight=void 0!==e?e:t.lineHeight}function v(){}m.prototype.applyStyles=function(t,e){for(var r in e=e||this.div,t)t.hasOwnProperty(r)&&(e.style[r]=t[r])},m.prototype.formatStyle=function(t,e){return 0===t?0:t+e},b.prototype=i(m.prototype),b.prototype.constructor=b,y.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},y.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},y.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},y.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},y.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.left<t.left;case"-x":return this.right>t.right;case"+y":return this.top<t.top;case"-y":return this.bottom>t.bottom}},y.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},y.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},y.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,r=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,n=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return{left:(t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t).left,right:t.right,top:t.top||n,height:t.height||e,bottom:t.bottom||n+(t.height||e),width:t.width||r}},v.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},v.convertCueToDOMTree=function(t,e){return t&&e?p(t,e):null},v.processCues=function(t,e,r){if(!t||!e||!r)return null;for(;r.firstChild;)r.removeChild(r.firstChild);var n,i,a=t.document.createElement("div");if(a.style.position="absolute",a.style.left="0",a.style.right="0",a.style.top="0",a.style.bottom="0",a.style.margin="1.5%",r.appendChild(a),!function(t){for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return!0;return!1}(e)){for(var s=0;s<e.length;s++)a.appendChild(e[s].displayState);return}for(var o=[],u=y.getSimpleBoxPosition(a),l={font:Math.round(.05*u.height*100)/100+"px sans-serif"},c=0;c<e.length;c++)n=new b(t,i=e[c],l),a.appendChild(n.div),function(t,e,r,n){var i=new y(e),a=e.cue,s=function(t){if("number"==typeof t.line&&(t.snapToLines||t.line>=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return -1;for(var e=t.track,r=e.textTrackList,n=0,i=0;i<r.length&&r[i]!==e;i++)"showing"===r[i].mode&&n++;return -1*++n}(a),o=[];if(a.snapToLines){switch(a.vertical){case"":o=["+y","-y"],u="height";break;case"rl":o=["+x","-x"],u="width";break;case"lr":o=["-x","+x"],u="width"}var u,l=i.lineHeight,c=l*Math.round(s),h=r[u]+l,f=o[0];Math.abs(c)>h&&(c=Math.ceil(h/l)*l*(c<0?-1:1)),s<0&&(c+=""===a.vertical?r.height:r.width,o=o.reverse()),i.move(f,c)}else{var d=i.lineHeight/r.height*100;switch(a.lineAlign){case"center":s-=d/2;break;case"end":s-=d}switch(a.vertical){case"":e.applyStyles({top:e.formatStyle(s,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(s,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(s,"%")})}o=["+y","-x","+x","-y"],i=new y(e)}var p=function(t,e){for(var i,a=new y(t),s=1,o=0;o<e.length;o++){for(;t.overlapsOppositeAxis(r,e[o])||t.within(r)&&t.overlapsAny(n);)t.move(e[o]);if(t.within(r))return t;var u=t.intersectPercentage(r);s>u&&(i=new y(t),s=u),t=new y(a)}return i||a}(i,o);e.move(p.toCSSCompatValues(r))}(0,n,u,o),i.displayState=n.div,o.push(y.getSimpleBoxPosition(n))},v.Parser=function(t,e,r){r||(r=e,e={}),e||(e={}),this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=r||new TextDecoder("utf8"),this.regionList=[]},v.Parser.prototype={reportOrThrowError:function(t){if(t instanceof a)this.onparsingerror&&this.onparsingerror(t);else throw t},parse:function(t){var e=this;function r(){for(var t=e.buffer,r=0;r<t.length&&"\r"!==t[r]&&"\n"!==t[r];)++r;var n=t.substr(0,r);return"\r"===t[r]&&++r,"\n"===t[r]&&++r,e.buffer=t.substr(r),n}t&&(e.buffer+=e.decoder.decode(t,{stream:!0}));try{if("INITIAL"===e.state){if(!/\r\n|\n/.test(e.buffer))return this;var n,i=r(),l=i.match(/^WEBVTT([ \t].*)?$/);if(!l||!l[0])throw new a(a.Errors.BadSignature);e.state="HEADER"}for(var c=!1;e.buffer&&/\r\n|\n/.test(e.buffer);)switch(c?c=!1:i=r(),e.state){case"HEADER":/:/.test(i)?(n=i).match(/X-TIMESTAMP-MAP/)?u(n,function(t,r){if("X-TIMESTAMP-MAP"===t){var n;n=new o,u(r,function(t,e){switch(t){case"MPEGT":n.integer(t+"S",e);break;case"LOCA":n.set(t+"L",s(e))}},/[^\d]:/,/,/),e.ontimestampmap&&e.ontimestampmap({MPEGTS:n.get("MPEGTS"),LOCAL:n.get("LOCAL")})}},/=/):u(n,function(t,r){if("Region"===t){var n=new o;if(u(r,function(t,e){switch(t){case"id":n.set(t,e);break;case"width":n.percent(t,e);break;case"lines":n.integer(t,e);break;case"regionanchor":case"viewportanchor":var r=e.split(",");if(2!==r.length)break;var i=new o;if(i.percent("x",r[0]),i.percent("y",r[1]),!i.has("x")||!i.has("y"))break;n.set(t+"X",i.get("x")),n.set(t+"Y",i.get("y"));break;case"scroll":n.alt(t,e,["up"])}},/=/,/\s/),n.has("id")){var i=new(e.vttjs.VTTRegion||e.window.VTTRegion);i.width=n.get("width",100),i.lines=n.get("lines",3),i.regionAnchorX=n.get("regionanchorX",0),i.regionAnchorY=n.get("regionanchorY",100),i.viewportAnchorX=n.get("viewportanchorX",0),i.viewportAnchorY=n.get("viewportanchorY",100),i.scroll=n.get("scroll",""),e.onregion&&e.onregion(i),e.regi
1onList.push({id:n.get("id"),region:i})}}},/:/):i||(e.state="ID");continue;case"NOTE":i||(e.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(i)){e.state="NOTE";break}if(!i)continue;e.cue=new(e.vttjs.VTTCue||e.window.VTTCue)(0,0,"");try{e.cue.align="center"}catch(t){e.cue.align="middle"}if(e.state="CUE",-1===i.indexOf("--\x3e")){e.cue.id=i;continue}case"CUE":try{!function(t,e,r){var n=t;function i(){var e=s(t);if(null===e)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+n);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function l(){t=t.replace(/^\s+/,"")}if(l(),e.startTime=i(),l(),"--\x3e"!==t.substr(0,3))throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+n);t=t.substr(3),l(),e.endTime=i(),l();var c=t,h=new o;u(c,function(t,e){switch(t){case"region":for(var n=r.length-1;n>=0;n--)if(r[n].id===e){h.set(t,r[n].region);break}break;case"vertical":h.alt(t,e,["rl","lr"]);break;case"line":var i=e.split(","),a=i[0];h.integer(t,a),h.percent(t,a)&&h.set("snapToLines",!1),h.alt(t,a,["auto"]),2===i.length&&h.alt("lineAlign",i[1],["start","center","end"]);break;case"position":i=e.split(","),h.percent(t,i[0]),2===i.length&&h.alt("positionAlign",i[1],["start","center","end"]);break;case"size":h.percent(t,e);break;case"align":h.alt(t,e,["start","center","end","left","right"])}},/:/,/\s/),e.region=h.get("region",null),e.vertical=h.get("vertical","");try{e.line=h.get("line","auto")}catch(t){}e.lineAlign=h.get("lineAlign","start"),e.snapToLines=h.get("snapToLines",!0),e.size=h.get("size",100);try{e.align=h.get("align","center")}catch(t){e.align=h.get("align","middle")}try{e.position=h.get("position","auto")}catch(t){e.position=h.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},e.align)}e.positionAlign=h.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},e.align)}(i,e.cue,e.regionList)}catch(t){e.reportOrThrowError(t),e.cue=null,e.state="BADCUE";continue}e.state="CUETEXT";continue;case"CUETEXT":var h=-1!==i.indexOf("--\x3e");if(!i||h&&(c=!0)){e.oncue&&e.oncue(e.cue),e.cue=null,e.state="ID";continue}e.cue.text&&(e.cue.text+="\n"),e.cue.text+=i.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":i||(e.state="ID");continue}}catch(t){e.reportOrThrowError(t),"CUETEXT"===e.state&&e.cue&&e.oncue&&e.oncue(e.cue),e.cue=null,e.state="INITIAL"===e.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){try{if(this.buffer+=this.decoder.decode(),(this.cue||"HEADER"===this.state)&&(this.buffer+="\n\n",this.parse()),"INITIAL"===this.state)throw new a(a.Errors.BadSignature)}catch(t){this.reportOrThrowError(t)}return this.onflush&&this.onflush(),this}},t.exports=v},28572:t=>{t.exports=function(t){if(!t)return!1;var r=e.call(t);return"[object Function]"===r||"function"==typeof t&&"[object RegExp]"!==r||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var e=Object.prototype.toString},34779:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(12115);let i=n.forwardRef(function(t,e){let{title:r,titleId:i,...a}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M4.5 5.653c0-1.427 1.529-2.33 2.779-1.643l11.54 6.347c1.295.712 1.295 2.573 0 3.286L7.28 19.99c-1.25.687-2.779-.217-2.779-1.643V5.653Z",clipRule:"evenodd"}))})},35789:(t,e,r)=>{"use strict";r.d(e,{ne:()=>A,J2:()=>S});var n,i=r(96772);new Uint8Array([79,112,117,115,72,101,97,100]);var a=function(t){return"string"==typeof t?(0,i.Af)(t):t},s=function(t){t=(0,i.W_)(t);for(var e=[],r=0;t.length>r;){var a=t[r],s=0,o=0,u=t[++o];for(o++;128&u;)s=(127&u)<<7,u=t[o],o++;s+=127&u;for(var l=0;l<n.length;l++){var c=n[l],h=c.id,f=c.parser;if(a===h){e.push(f(t.subarray(o,o+s)));break}}r+=s+o}return e};n=[{id:3,parser:function(t){var e={tag:3,id:t[0]<<8|t[1],flags:t[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};
1if(128&e.flags&&(e.dependsOnEsId=t[e.size]<<8|t[e.size+1],e.size+=2),64&e.flags){var r=t[e.size];e.url=(0,i.Ar)(t.subarray(e.size+1,e.size+1+r)),e.size+=r}return 32&e.flags&&(e.ocrEsId=t[e.size]<<8|t[e.size+1],e.size+=2),e.descriptors=s(t.subarray(e.size))||[],e}},{id:4,parser:function(t){return{tag:4,oti:t[0],streamType:t[1],bufferSize:t[2]<<16|t[3]<<8|t[4],maxBitrate:t[5]<<24|t[6]<<16|t[7]<<8|t[8],avgBitrate:t[9]<<24|t[10]<<16|t[11]<<8|t[12],descriptors:s(t.subarray(13))}}},{id:5,parser:function(t){return{tag:5,bytes:t}}},{id:6,parser:function(t){return{tag:6,bytes:t}}}];var o=function t(e,r,n){void 0===n&&(n=!1),r=Array.isArray(s=r)?s.map(function(t){return a(t)}):[a(s)],e=(0,i.W_)(e);var s,o=[];if(!r.length)return o;for(var u=0;u<e.length;){var l=(e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3])>>>0,c=e.subarray(u+4,u+8);if(0===l)break;var h=u+l;if(h>e.length){if(n)break;h=e.length}var f=e.subarray(u+8,h);(0,i.L7)(c,r[0])&&(1===r.length?o.push(f):o.push.apply(o,t(f,r.slice(1),n))),u=h}return o},u={EBML:(0,i.W_)([26,69,223,163]),DocType:(0,i.W_)([66,130]),Segment:(0,i.W_)([24,83,128,103]),SegmentInfo:(0,i.W_)([21,73,169,102]),Tracks:(0,i.W_)([22,84,174,107]),Track:(0,i.W_)([174]),TrackNumber:(0,i.W_)([215]),DefaultDuration:(0,i.W_)([35,227,131]),TrackEntry:(0,i.W_)([174]),TrackType:(0,i.W_)([131]),FlagDefault:(0,i.W_)([136]),CodecID:(0,i.W_)([134]),CodecPrivate:(0,i.W_)([99,162]),VideoTrack:(0,i.W_)([224]),AudioTrack:(0,i.W_)([225]),Cluster:(0,i.W_)([31,67,182,117]),Timestamp:(0,i.W_)([231]),TimestampScale:(0,i.W_)([42,215,177]),BlockGroup:(0,i.W_)([160]),BlockDuration:(0,i.W_)([155]),Block:(0,i.W_)([161]),SimpleBlock:(0,i.W_)([163])},l=[128,64,32,16,8,4,2,1],c=function(t){for(var e=1,r=0;r<l.length&&!(t&l[r]);r++)e++;return e},h=function(t,e,r,n){void 0===r&&(r=!0),void 0===n&&(n=!1);var a=c(t[e]),s=t.subarray(e,e+a);return r&&(s=Array.prototype.slice.call(t,e,e+a),s[0]^=l[a-1]),{length:a,value:(0,i.Sk)(s,{signed:n}),bytes:s}},f=function t(e){return"string"==typeof e?e.match(/.{1,2}/g).map(function(e){return t(e)}):"number"==typeof e?(0,i.WG)(e):e},d=function t(e,r,n){if(n>=r.length)return r.length;var a=h(r,n,!1);if((0,i.L7)(e.bytes,a.bytes))return n;var s=h(r,n+a.length);return t(e,r,n+s.length+s.value+a.length)},p=function t(e,r){r=Array.isArray(n=r)?n.map(function(t){return f(t)}):[f(n)],e=(0,i.W_)(e);var n,a=[];if(!r.length)return a;for(var s=0;s<e.length;){var o=h(e,s,!1),u=h(e,s+o.length),l=s+o.length+u.length;127===u.value&&(u.value=d(o,e,l),u.value!==e.length&&(u.value-=l));var c=l+u.value>e.length?e.length:l+u.value,p=e.subarray(l,c);(0,i.L7)(r[0],o.bytes)&&(1===r.length?a.push(p):a=a.concat(t(p,r.slice(1)))),s+=o.length+u.length+p.length}return a},g=r(89988),m=(0,i.W_)([0,0,0,1]),b=(0,i.W_)([0,0,1]),y=(0,i.W_)([0,0,3]),v=function(t){for(var e=[],r=1;r<t.length-2;)(0,i.L7)(t.subarray(r,r+3),y)&&(e.push(r+2),r++),r++;if(0===e.length)return t;var n=t.length-e.length,a=new Uint8Array(n),s=0;for(r=0;r<n;s++,r++)s===e[0]&&(s++,e.shift()),a[r]=t[s];return a},E=function(t,e,r,n){void 0===n&&(n=1/0),t=(0,i.W_)(t),r=[].concat(r);for(var a,s=0,o=0;s<t.length&&(o<n||a);){var u=void 0;if((0,i.L7)(t.subarray(s),m)?u=4:(0,i.L7)(t.subarray(s),b)&&(u=3),!u){s++;continue}if(o++,a)return v(t.subarray(a,s));var l=void 0;"h264"===e?l=31&t[s+u]:"h265"===e&&(l=t[s+u]>>1&63),-1!==r.indexOf(l)&&(a=s+u),s+=u+("h264"===e?1:2)}return t.subarray(0,0)},T={webm:(0,i.W_)([119,101,98,109]),matroska:(0,i.W_)([109,97,116,114,111,115,107,97]),flac:(0,i.W_)([102,76,97,67]),ogg:(0,i.W_)([79,103,103,83]),ac3:(0,i.W_)([11,119]),riff:(0,i.W_)([82,73,70,70]),avi:(0,i.W_)([65,86,73]),wav:(0,i.W_)([87,65,86,69]),"3gp":(0,i.W_)([102,116,121,112,51,103]),mp4:(0,i.W_)([102,116,121,112]),fmp4:(0,i.W_)([115,116,121,112]),mov:(0,i.W_)([102,116,121,112,113,116]),moov:(0,i.W_)([109,111,111,118]),moof:(0,i.W_)([109,111,111,102]),vtt:(0,i.W_)([87,69,66,86,84,84])},D={aac:function(t){var e=(0,g.A)(t);return(0,i.L7)(t,[255,16],{offset:e,mask:[255,22]})},mp3:function(t){var e=(0,g.A)(t);return(0,i.L7)(t,[255,2],{offset:e,mask:[255,6]})},webm:function(t){var e=p(t,[u.EBML,u.DocType])[0];return(0,i.L7)(e,T.webm)},mkv:function(t){var e=p(t,[u.EBML,u.DocType])[0];return(0,i.L7)(e,T.matroska)},mp4:function(t){return!(D["3gp"](t)||D.mov(t))&&(!!((0,i.L7)(t,T.mp4,{offset:4})||(0,i.L7)(t,T.fmp4,{offset:4})||(0,i.L7)(t,T.moof,{offset:4})||(0,i.L7)(t,T.moov,{offset:4}))||void 0)},mov:function(t){return(0,i.L7)(t,T.mov,{offset:4})},"3gp":function(t){return(0,i.L7)(t,T["3gp"],{offset:4})},ac3:function(t){var e=(0,g.A)(t);return(0,i.L7)(t,T.ac3,{offset:e})},vtt:function(t){return(0,i.L7)(t,T.vtt)},ts:function(t){if(t.length<189&&t.length>=1)return 71===t[0];for(var e=0;e+188<t.length&&e<188;){if(71===t[e]&&71===t[e+188])return!0;e+=1}return!1},flac:function(t){var e=(0,g.A)(t);return(0,i.L7)(t,T.flac,{offset:e})},ogg:function(t){return(0,i.L7)(t,T.ogg)},avi:function(t){return(0,i.L7)(t,T.riff)&&(0,i.L7)(t,T.avi,{offset:8})},wav:function(t){return(0,i.L7)(t,T.riff)&&(0,i.L7)(t,T.wav,{offset:8})},h264:function(t){return E(t,"h264",7,3).length},h265:function(t){return E(t,"h265",[32,33],3).length}},w=Object.keys(D).filter(function(t){return"ts"!==t&&"h264"!==t&&"h265"!==t}).concat(["ts","h264","h265"]);
1w.forEach(function(t){var e=D[t];D[t]=function(t){return e((0,i.W_)(t))}});var A=function(t){t=(0,i.W_)(t);for(var e=0;e<w.length;e++){var r=w[e];if(D[r](t))return r}return""},S=function(t){return o(t,["moof"]).length>0}},45287:(t,e,r)=>{"use strict";r.r(e),r.d(e,{debug:()=>o,error:()=>c,fatal:()=>h,fmt:()=>i,info:()=>u,trace:()=>s,warn:()=>l});var n=r(52813);let i=function(t,...e){let r=new String(String.raw(t,...e));return r.__sentry_template_string__=t.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),r.__sentry_template_values__=e,r};function a(t,e,r,i,a){(0,n.KG)({level:t,message:e,attributes:r,severityNumber:a},i)}function s(t,e,{scope:r}={}){a("trace",t,e,r)}function o(t,e,{scope:r}={}){a("debug",t,e,r)}function u(t,e,{scope:r}={}){a("info",t,e,r)}function l(t,e,{scope:r}={}){a("warn",t,e,r)}function c(t,e,{scope:r}={}){a("error",t,e,r)}function h(t,e,{scope:r}={}){a("fatal",t,e,r)}},48360:(t,e)=>{"use strict";function r(t,e){return void 0===e&&(e=Object),e&&"function"==typeof e.freeze?e.freeze(t):t}var n=r({HTML:"text/html",isHTML:function(t){return t===n.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=r({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(t){return t===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});e.assign=function(t,e){if(null===t||"object"!=typeof t)throw TypeError("target is not an object");for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},e.find=function(t,e,r){if(void 0===r&&(r=Array.prototype),t&&"function"==typeof r.find)return r.find.call(t,e);for(var n=0;n<t.length;n++)if(Object.prototype.hasOwnProperty.call(t,n)){var i=t[n];if(e.call(void 0,i,n,t))return i}},e.freeze=r,e.MIME_TYPE=n,e.NAMESPACE=i},48953:(t,e,r)=>{var n,i=void 0!==r.g?r.g:"undefined"!=typeof window?window:{},a=r(80542);"undefined"!=typeof document?n=document:(n=i["__GLOBAL_DOCUMENT_CACHE@4"])||(n=i["__GLOBAL_DOCUMENT_CACHE@4"]=a),t.exports=n},53524:(t,e,r)=>{var n=r(48360),i=r(75396),a=r(2483),s=r(97840),o=i.DOMImplementation,u=n.NAMESPACE,l=s.ParseError,c=s.XMLReader;function h(t){return t.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function f(t){this.options=t||{locator:{}}}function d(){this.cdata=!1}function p(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}function g(t){if(t)return"\n@"+(t.systemId||"")+"#[line:"+t.lineNumber+",col:"+t.columnNumber+"]"}function m(t,e,r){return"string"==typeof t?t.substr(e,r):t.length>=e+r||e?new java.lang.String(t,e,r)+"":t}function b(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}f.prototype.parseFromString=function(t,e){var r=this.options,n=new c,i=r.domBuilder||new d,s=r.errorHandler,o=r.locator,l=r.xmlns||{},f=/\/x?html?$/.test(e),p=f?a.HTML_ENTITIES:a.XML_ENTITIES;o&&i.setDocumentLocator(o),n.errorHandler=function(t,e,r){if(!t){if(e instanceof d)return e;t=e}var n={},i=t instanceof Function;function a(e){var a=t[e];!a&&i&&(a=2==t.length?function(r){t(e,r)}:t),n[e]=a&&function(t){a("[xmldom "+e+"] "+t+g(r))}||function(){}}return r=r||{},a("warning"),a("error"),a("fatalError"),n}(s,i,o),n.domBuilder=r.domBuilder||i,f&&(l[""]=u.HTML),l.xml=l.xml||u.XML;var m=r.normalizeLineEndings||h;return t&&"string"==typeof t?n.parse(m(t),l,p):n.errorHandler.error("invalid doc source"),i.doc},d.prototype={startDocument:function(){this.doc=new o().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,r,n){var i=this.doc,a=i.createElementNS(t,r||e),s=n.length;b(this,a),this.currentElement=a,this.locator&&p(this.locator,a);for(var o=0;o<s;o++){var t=n.getURI(o),u=n.getValue(o),r=n.getQName(o),l=i.createAttributeNS(t,r);this.locator&&p(n.getLocator(o),l),l.value=l.nodeValue=u,a.setAttributeNode(l)}},endElement:function(t,e,r){var n=this.currentElement;n.tagName,this.currentElement=n.parentNode},startPrefixMapping:function(t,e){},endPrefixMapping:function(t){},processingInstruction:function(t,e){var r=this.doc.createProcessingInstruction(t,e);this.locator&&p(this.locator,r),b(this,r)},ignorableWhitespace:function(t,e,r){},characters:function(t,e,r){if(t=m.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(t);else var n=this.doc.createTextNode(t);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(t)&&this.doc.appendChild(n),this.locator&&p(this.locator,n)}},skippedEntity:function(t){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(t){(this.locator=t)&&(t.lineNumber=0)},comment:function(t,e,r){t=m.apply(this,arguments);var n=this.doc.createComment(t);this.locator&&p(this.locator,n),b(this,n)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(t,e,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var i=n.createDocumentType(t,e,r);this.locator&&p(this.locator,i),b(this,i),this.doc.doctype=i}},warning:function(t){console.warn("[xmldom warning] "+t,g(this.locator))},error:function(t){console.error("[xmldom error] "+t,g(this.locator))},fatalError:function(t){throw new l(t,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(t){d.prototype[t]=function(){return null}}),e.DOMParser=f},53975:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(12115);let i=n.forwardRef(function(t,e){let{title:r,titleId:i,...a}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
1currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M11.47 7.72a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06L12 9.31l-6.97 6.97a.75.75 0 0 1-1.06-1.06l7.5-7.5Z",clipRule:"evenodd"}))})},60968:t=>{var e={"":1,lr:1,rl:1},r={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function n(t){return"string"==typeof t&&!!r[t.toLowerCase()]&&t.toLowerCase()}function i(t,r,i){this.hasBeenReset=!1;var a="",s=!1,o=t,u=r,l=i,c=null,h="",f=!0,d="auto",p="start",g="auto",m="auto",b=100,y="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return a},set:function(t){a=""+t}},pauseOnExit:{enumerable:!0,get:function(){return s},set:function(t){s=!!t}},startTime:{enumerable:!0,get:function(){return o},set:function(t){if("number"!=typeof t)throw TypeError("Start time must be set to a number.");o=t,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return u},set:function(t){if("number"!=typeof t)throw TypeError("End time must be set to a number.");u=t,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return l},set:function(t){l=""+t,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return c},set:function(t){c=t,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return h},set:function(t){var r="string"==typeof t&&!!e[t.toLowerCase()]&&t.toLowerCase();if(!1===r)throw SyntaxError("Vertical: an invalid or illegal direction string was specified.");h=r,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return f},set:function(t){f=!!t,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return d},set:function(t){if("number"!=typeof t&&"auto"!==t)throw SyntaxError("Line: an invalid number or illegal string was specified.");d=t,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return p},set:function(t){var e=n(t);e?(p=e,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return g},set:function(t){if(t<0||t>100)throw Error("Position must be between 0 and 100.");g=t,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return m},set:function(t){var e=n(t);e?(m=e,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return b},set:function(t){if(t<0||t>100)throw Error("Size must be between 0 and 100.");b=t,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return y},set:function(t){var e=n(t);if(!e)throw SyntaxError("align: an invalid or illegal alignment string was specified.");y=e,this.hasBeenReset=!0}}}),this.displayState=void 0}i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.exports=i},64034:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(12115);let i=n.forwardRef(function(t,e){let{title:r,titleId:i,...a}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M12.53 16.28a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 0 1 1.06-1.06L12 14.69l6.97-6.97a.75.75 0 1 1 1.06 1.06l-7.5 7.5Z",clipRule:"evenodd"}))})},65406:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(12115);let i=n.forwardRef(function(t,e){let{title:r,titleId:i,...a}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M3.22 3.22a.75.75 0 0 1 1.06 0l3.97 3.97V4.5a.75.75 0 0 1 1.5 0V9a.75.75 0 0 1-.75.75H4.5a.75.75 0 0 1 0-1.5h2.69L3.22 4.28a.75.75 0 0 1 0-1.06Zm17.56 0a.75.75 0 0 1 0 1.06l-3.97 3.97h2.69a.75.75 0 0 1 0 1.5H15a.75.75 0 0 1-.75-.75V4.5a.75.75 0 0 1 1.5 0v2.69l3.97-3.97a.75.75 0 0 1 1.06 0ZM3.75 15a.75.75 0 0 1 .75-.75H9a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-2.69l-3.97 3.97a.75.75 0 0 1-1.06-1.06l3.97-3.97H4.5a.75.75 0 0 1-.75-.75Zm10.5 0a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-2.69l3.97 3.97a.75.75 0 1 1-1.06 1.06l-3.97-3.97v2.69a.75.75 0 0 1-1.5 0V15Z",clipRule:"evenodd"}))})},68321:(t,e,r)=>{"use strict";r.d(e,{default:()=>i.a});var n=r(41402),i=r.n(n)},69505:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(12115);let i=n.forwardRef(function(t,e){let{title:r,titleId:i,...a}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
1currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M15 3.75a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0V5.56l-3.97 3.97a.75.75 0 1 1-1.06-1.06l3.97-3.97h-2.69a.75.75 0 0 1-.75-.75Zm-12 0A.75.75 0 0 1 3.75 3h4.5a.75.75 0 0 1 0 1.5H5.56l3.97 3.97a.75.75 0 0 1-1.06 1.06L4.5 5.56v2.69a.75.75 0 0 1-1.5 0v-4.5Zm11.47 11.78a.75.75 0 1 1 1.06-1.06l3.97 3.97v-2.69a.75.75 0 0 1 1.5 0v4.5a.75.75 0 0 1-.75.75h-4.5a.75.75 0 0 1 0-1.5h2.69l-3.97-3.97Zm-4.94-1.06a.75.75 0 0 1 0 1.06L5.56 19.5h2.69a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75v-4.5a.75.75 0 0 1 1.5 0v2.69l3.97-3.97a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))})},69698:()=>{},70684:(t,e,r)=>{var n=r(75396);n.DOMImplementation,n.XMLSerializer,e.DOMParser=r(53524).DOMParser},70814:(t,e,r)=>{"use strict";r.d(e,{Tt:()=>E,Ze:()=>N,qg:()=>J,i6:()=>Q});var n=r(81762),i=r(10180),a=r.n(i),s=function(t,e,r){e.forEach(function(e){for(var n in t.mediaGroups[e])for(var i in t.mediaGroups[e][n])r(t.mediaGroups[e][n][i],e,n,i)})},o=r(93536),u=r(70684);let l=t=>!!t&&"object"==typeof t,c=(...t)=>t.reduce((t,e)=>("object"!=typeof e||Object.keys(e).forEach(r=>{Array.isArray(t[r])&&Array.isArray(e[r])?t[r]=t[r].concat(e[r]):l(t[r])&&l(e[r])?t[r]=c(t[r],e[r]):t[r]=e[r]}),t),{}),h=t=>Object.keys(t).map(e=>t[e]),f=t=>t.reduce((t,e)=>t.concat(e),[]),d=t=>{if(!t.length)return[];let e=[];for(let r=0;r<t.length;r++)e.push(t[r]);return e};var p={INVALID_NUMBER_OF_PERIOD:"INVALID_NUMBER_OF_PERIOD",DASH_EMPTY_MANIFEST:"DASH_EMPTY_MANIFEST",DASH_INVALID_XML:"DASH_INVALID_XML",NO_BASE_URL:"NO_BASE_URL",SEGMENT_TIME_UNSPECIFIED:"SEGMENT_TIME_UNSPECIFIED",UNSUPPORTED_UTC_TIMING_SCHEME:"UNSUPPORTED_UTC_TIMING_SCHEME"};let g=({baseUrl:t="",source:e="",range:r="",indexRange:i=""})=>{let s={uri:e,resolvedUri:(0,n.A)(t||"",e)};if(r||i){let t,e=(r||i).split("-"),n=a().BigInt?a().BigInt(e[0]):parseInt(e[0],10),o=a().BigInt?a().BigInt(e[1]):parseInt(e[1],10);n<Number.MAX_SAFE_INTEGER&&"bigint"==typeof n&&(n=Number(n)),o<Number.MAX_SAFE_INTEGER&&"bigint"==typeof o&&(o=Number(o)),"bigint"==typeof(t="bigint"==typeof o||"bigint"==typeof n?a().BigInt(o)-a().BigInt(n)+a().BigInt(1):o-n+1)&&t<Number.MAX_SAFE_INTEGER&&(t=Number(t)),s.byterange={length:t,offset:n}}return s},m=t=>(t&&"number"!=typeof t&&(t=parseInt(t,10)),isNaN(t))?null:t,b={static(t){let{duration:e,timescale:r=1,sourceDuration:n,periodDuration:i}=t,a=m(t.endNumber),s=e/r;return"number"==typeof a?{start:0,end:a}:"number"==typeof i?{start:0,end:i/s}:{start:0,end:n/s}},dynamic(t){let{NOW:e,clientOffset:r,availabilityStartTime:n,timescale:i=1,duration:a,periodStart:s=0,minimumUpdatePeriod:o=0,timeShiftBufferDepth:u=1/0}=t,l=m(t.endNumber),c=(e+r)/1e3,h=n+s,f=Math.ceil((c+o-h)*i/a),d=Math.floor((c-h-u)*i/a),p=Math.floor((c-h)*i/a);return{start:Math.max(0,d),end:"number"==typeof l?l:Math.min(f,p)}}},y=t=>{let{type:e,duration:r,timescale:n=1,periodDuration:i,sourceDuration:a}=t,{start:s,end:o}=b[e](t),u=((t,e)=>{let r=[];for(let n=t;n<e;n++)r.push(n);return r})(s,o).map(e=>{let{duration:r,timescale:n=1,periodStart:i,startNumber:a=1}=t;return{number:a+e,duration:r/n,timeline:i,time:e*r}});if("static"===e){let t=u.length-1;u[t].duration=("number"==typeof i?i:a)-r/n*t}return u},v=t=>{let{baseUrl:e,initialization:r={},sourceDuration:n,indexRange:i="",periodStart:a,presentationTime:s,number:o=0,duration:u}=t;if(!e)throw Error(p.NO_BASE_URL);let l=g({baseUrl:e,source:r.sourceURL,range:r.range}),c=g({baseUrl:e,source:e,indexRange:i});if(c.map=l,u){let e=y(t);e.length&&(c.duration=e[0].duration,c.timeline=e[0].timeline)}else n&&(c.duration=n,c.timeline=a);return c.presentationTime=s||a,c.number=o,[c]},E=(t,e,r)=>{let n,i=t.sidx.map?t.sidx.map:null,s=t.sidx.duration,o=t.timeline||0,u=t.sidx.byterange,l=u.offset+u.length,c=e.timescale,h=e.references.filter(t=>1!==t.referenceType),f=[],d=t.endList?"static":"dynamic",p=t.sidx.timeline,g=p,m=t.mediaSequence||0;n="bigint"==typeof e.firstOffset?a().BigInt(l)+e.firstOffset:l+e.firstOffset;for(let t=0;t<h.length;t++){let u,l=e.references[t],h=l.referencedSize,b=l.subsegmentDuration;u="bigint"==typeof n?n+a().BigInt(h)-a().BigInt(1):n+h-1;let y={baseUrl:r,timescale:c,timeline:o,periodStart:p,presentationTime:g,number:m,duration:b,sourceDuration:s,indexRange:`${n}-${u}`,type:d},E=v(y)[0];i&&(E.map=i),f.push(E),"bigint"==typeof n?n+=a().BigInt(h):n+=h,g+=b/c,m++}return t.segments=f,t},T=["AUDIO","SUBTITLES"],D=1/60,w=t=>{let e;return(e=({timeline:t})=>t,h(t.reduce((t,r)=>(r.forEach(r=>{t[e(r)]=r}),t),{}))).sort((t,e)=>t.timeline>e.timeline?1:-1)},A=t=>{let e=[];return s(t,T,(t,r,n,i)=>{e=e.concat(t.playlists||[])}),e},S=({playlist:t,mediaSequence:e})=>
1{t.mediaSequence=e,t.segments.forEach((e,r)=>{e.number=t.mediaSequence+r})},N=t=>t&&t.uri+"-"+(t=>{let e;return e="bigint"==typeof t.offset||"bigint"==typeof t.length?a().BigInt(t.offset)+a().BigInt(t.length)-a().BigInt(1):t.offset+t.length-1,`${t.offset}-${e}`})(t.byterange),I=t=>{let e=t.reduce(function(t,e){return t[e.attributes.baseUrl]||(t[e.attributes.baseUrl]=[]),t[e.attributes.baseUrl].push(e),t},{}),r=[];return Object.values(e).forEach(t=>{let e=h(t.reduce((t,e)=>{let r=e.attributes.id+(e.attributes.lang||"");return t[r]?(e.segments&&(e.segments[0]&&(e.segments[0].discontinuity=!0),t[r].segments.push(...e.segments)),e.attributes.contentProtection&&(t[r].attributes.contentProtection=e.attributes.contentProtection)):(t[r]=e,t[r].attributes.timelineStarts=[]),t[r].attributes.timelineStarts.push({start:e.attributes.periodStart,timeline:e.attributes.periodStart}),t},{}));r=r.concat(e)}),r.map(t=>(t.discontinuityStarts=(t.segments||[]).reduce((t,e,r)=>(e.discontinuity&&t.push(r),t),[]),t))},x=(t,e)=>{let r=N(t.sidx),n=r&&e[r]&&e[r].sidx;return n&&E(t,n,t.sidx.resolvedUri),t},R=({attributes:t,segments:e,sidx:r,discontinuityStarts:n})=>{let i={attributes:{NAME:t.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:t.width,height:t.height},CODECS:t.codecs,BANDWIDTH:t.bandwidth,"PROGRAM-ID":1},uri:"",endList:"static"===t.type,timeline:t.periodStart,resolvedUri:t.baseUrl||"",targetDuration:t.duration,discontinuityStarts:n,timelineStarts:t.timelineStarts,segments:e};return t.frameRate&&(i.attributes["FRAME-RATE"]=t.frameRate),void 0!==t.qualityRanking&&(i.attributes.SCORE=1/(t.qualityRanking+1)),t.contentProtection&&(i.contentProtection=t.contentProtection),t.serviceLocation&&(i.attributes.serviceLocation=t.serviceLocation),r&&(i.sidx=r),i},O=({attributes:t})=>"video/mp4"===t.mimeType||"video/webm"===t.mimeType||"video"===t.contentType,C=({attributes:t})=>"audio/mp4"===t.mimeType||"audio/webm"===t.mimeType||"audio"===t.contentType,M=({attributes:t})=>"text/vtt"===t.mimeType||"text"===t.contentType,L=t=>t?Object.keys(t).reduce((e,r)=>{let n=t[r];return e.concat(n.playlists)},[]):[],_=(t,e,r)=>{let{NOW:n,clientOffset:i,availabilityStartTime:a,timescale:s=1,periodStart:o=0,minimumUpdatePeriod:u=0}=t;return Math.ceil((((n+i)/1e3+u-(a+o))*s-e)/r)},U=(t,e)=>{let{type:r,minimumUpdatePeriod:n=0,media:i="",sourceDuration:a,timescale:s=1,startNumber:o=1,periodStart:u}=t,l=[],c=-1;for(let h=0;h<e.length;h++){let f,d=e[h],p=d.d,g=d.r||0,m=d.t||0;if(c<0&&(c=m),m&&m>c&&(c=m),g<0){let o=h+1;f=o===e.length?"dynamic"===r&&n>0&&i.indexOf("$Number$")>0?_(t,c,p):(a*s-c)/p:(e[o].t-c)/p}else f=g+1;let b=o+l.length+f,y=o+l.length;for(;y<b;)l.push({number:y,duration:p/s,time:c,timeline:u}),c+=p,y++}return l},P=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,B=(t,e)=>t.replace(P,(t=>(e,r,n,i)=>{if("$$"===e)return"$";if(void 0===t[r])return e;let a=""+t[r];return"RepresentationID"===r||(i=n?parseInt(i,10):1,a.length>=i)?a:`${Array(i-a.length+1).join("0")}${a}`})(e)),q=(t,e)=>{let r={RepresentationID:t.id,Bandwidth:t.bandwidth||0},{initialization:i={sourceURL:"",range:""}}
1=t,a=g({baseUrl:t.baseUrl,source:B(i.sourceURL,r),range:i.range});return((t,e)=>t.duration||e?t.duration?y(t):U(t,e):[{number:t.startNumber||1,duration:t.sourceDuration,time:0,timeline:t.periodStart}])(t,e).map(e=>{r.Number=e.number,r.Time=e.time;let i=B(t.media||"",r),s=t.timescale||1,o=t.presentationTimeOffset||0,u=t.periodStart+(e.time-o)/s;return{uri:i,timeline:e.timeline,duration:e.duration,resolvedUri:(0,n.A)(t.baseUrl||"",i),map:a,number:e.number,presentationTime:u}})},k=(t,e)=>{let r,{duration:n,segmentUrls:i=[],periodStart:a}=t;if(!n&&!e||n&&e)throw Error(p.SEGMENT_TIME_UNSPECIFIED);let s=i.map(e=>((t,e)=>{let{baseUrl:r,initialization:n={}}=t,i=g({baseUrl:r,source:n.sourceURL,range:n.range}),a=g({baseUrl:r,source:e.media,range:e.mediaRange});return a.map=i,a})(t,e));return n&&(r=y(t)),e&&(r=U(t,e)),r.map((e,r)=>{if(s[r]){let n=s[r],i=t.timescale||1,o=t.presentationTimeOffset||0;return n.timeline=e.timeline,n.duration=e.duration,n.number=e.number,n.presentationTime=a+(e.time-o)/i,n}}).filter(t=>t)},F=({attributes:t,segmentInfo:e})=>{let r,n;e.template?(n=q,r=c(t,e.template)):e.base?(n=v,r=c(t,e.base)):e.list&&(n=k,r=c(t,e.list));let i={attributes:t};if(!n)return i;let a=n(r,e.segmentTimeline);if(r.duration){let{duration:t,timescale:e=1}=r;r.duration=t/e}else a.length?r.duration=a.reduce((t,e)=>Math.max(t,Math.ceil(e.duration)),0):r.duration=0;return i.attributes=r,i.segments=a,e.base&&r.indexRange&&(i.sidx=a[0],i.segments=[]),i},z=(t,e)=>d(t.childNodes).filter(({tagName:t})=>t===e),X=t=>t.textContent.trim(),V=t=>{let e=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(t);if(!e)return 0;let[r,n,i,a,s,o]=e.slice(1);return 31536e3*parseFloat(r||0)+2592e3*parseFloat(n||0)+86400*parseFloat(i||0)+3600*parseFloat(a||0)+60*parseFloat(s||0)+parseFloat(o||0)},H={mediaPresentationDuration:t=>V(t),availabilityStartTime:t=>(t=>(/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(t)&&(t+="Z"),Date.parse(t)))(t)/1e3,minimumUpdatePeriod:t=>V(t),suggestedPresentationDelay:t=>V(t),type:t=>t,timeShiftBufferDepth:t=>V(t),start:t=>V(t),width:t=>parseInt(t,10),height:t=>parseInt(t,10),bandwidth:t=>parseInt(t,10),frameRate:t=>parseFloat(t.split("/").reduce((t,e)=>t/e)),startNumber:t=>parseInt(t,10),timescale:t=>parseInt(t,10),presentationTimeOffset:t=>parseInt(t,10),duration(t){let e=parseInt(t,10);return isNaN(e)?V(t):e},d:t=>parseInt(t,10),t:t=>parseInt(t,10),r:t=>parseInt(t,10),presentationTime:t=>parseInt(t,10),qualityRanking:t=>parseInt(t,10),qualityranking:t=>parseInt(t,10),DEFAULT:t=>t},j={qualityranking:"qualityRanking"},G=t=>t&&t.attributes?d(t.attributes).reduce((t,e)=>{let r=H[e.name]||H.DEFAULT;return t[j[e.name]||e.name]=r(e.value),t},{}):{},W={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime","urn:mpeg:dash:mp4protection:2011":"mp4protection"},$=(t,e)=>e.length?f(t.map(function(t){return e.map(function(e){let r=X(e),i=(0,n.A)(t.baseUrl,r),a=c(G(e),{baseUrl:i});return i!==r&&!a.serviceLocation&&t.serviceLocation&&(a.serviceLocation=t.serviceLocation),a})})):t,Y=t=>{let e=z(t,"SegmentTemplate")[0],r=z(t,"SegmentList")[0],n=r&&z(r,"SegmentURL").map(t=>c({tag:"SegmentURL"},G(t))),i=z(t,"SegmentBase")[0],a=r||e,s=a&&z(a,"SegmentTimeline")[0],o=r||i||e,u=o&&z(o,"Initialization")[0],l=e&&G(e);l&&u?l.initialization=u&&G(u):l&&l.initialization&&(l.initialization={sourceURL:l.initialization});let h={template:l,segmentTimeline:s&&z(s,"S").map(t=>G(t)),list:r&&c(G(r),{segmentUrls:n,initialization:G(u)}),base:i&&c(G(i),{initialization:G(u)})};return Object.keys(h).forEach(t=>{h[t]||delete h[t]}),h},K=t=>f(z(t.node,"EventStream").map(e=>{let r=G(e),n=r.schemeIdUri;return z(e,"Event").map(e=>{let i=G(e),a=i.presentationTime||0,s=r.timescale||1,o=i.duration||0,u=a/s+t.attributes.start;return{schemeIdUri:n,value:r.value,id:i.id,start:u,end:u+o/s,messageData:X(e)||i.messageData,contentEncoding:r.contentEncoding,presentationTimeOffset:r.presentationTimeOffset||0}})})),Z=t=>{let e,r;if(""===t)throw Error(p.DASH_EMPTY_MANIFEST);let n=new u.DOMParser;try{r=(e=n.parseFromString(t,"application/xml"))&&"MPD"===e.documentElement.tagName?e.documentElement:null}catch(t){}if(!r||r&&r.getElementsByTagName("parsererror").length>0)throw Error(p.DASH_INVALID_XML);return r},J=(t,e={})=>{let r=((t,e={})=>{let{manifestUri:r="",NOW:n=Date.now(),clientOffset:i=0,eventHandler:a=function(){}}=e,s=z(t,"Period");
1if(!s.length)throw Error(p.INVALID_NUMBER_OF_PERIOD);let u=z(t,"Location"),l=G(t),h=$([{baseUrl:r}],z(t,"BaseURL")),d=z(t,"ContentSteering");l.type=l.type||"static",l.sourceDuration=l.mediaPresentationDuration||0,l.NOW=n,l.clientOffset=i,u.length&&(l.locations=u.map(X));let g=[];return s.forEach((t,e)=>{let r=G(t),n=g[e-1];r.start=(({attributes:t,priorPeriodAttributes:e,mpdType:r})=>"number"==typeof t.start?t.start:e&&"number"==typeof e.start&&"number"==typeof e.duration?e.start+e.duration:e||"static"!==r?null:0)({attributes:r,priorPeriodAttributes:n?n.attributes:null,mpdType:l.type}),g.push({node:t,attributes:r})}),{locations:l.locations,contentSteeringInfo:((t,e)=>{if(t.length>1&&e({type:"warn",message:"The MPD manifest should contain no more than one ContentSteering tag"}),!t.length)return null;let r=c({serverURL:X(t[0])},G(t[0]));return r.queryBeforeStart="true"===r.queryBeforeStart,r})(d,a),representationInfo:f(g.map((t,e)=>{let r=$(h,z(t.node,"BaseURL")),n=c(l,{periodStart:t.attributes.start});"number"==typeof t.attributes.duration&&(n.periodDuration=t.attributes.duration);let i=z(t.node,"AdaptationSet"),a=Y(t.node);return f(i.map(t=>{let e,i=G(t),s=$(r,z(t,"BaseURL")),u=c(n,i,{role:G(z(t,"Role")[0])}),l=(t=>"urn:scte:dash:cc:cea-608:2015"===t.schemeIdUri?("string"!=typeof t.value?[]:t.value.split(";")).map(t=>{let e,r;return r=t,/^CC\d=/.test(t)?[e,r]=t.split("="):/^CC\d$/.test(t)&&(e=t),{channel:e,language:r}}):"urn:scte:dash:cc:cea-708:2015"===t.schemeIdUri?("string"!=typeof t.value?[]:t.value.split(";")).map(t=>{let e={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(t)){let[r,n=""]=t.split("=");e.channel=r,e.language=t,n.split(",").forEach(t=>{let[r,n]=t.split(":");"lang"===r?e.language=n:"er"===r?e.easyReader=Number(n):"war"===r?e.aspectRatio=Number(n):"3D"===r&&(e["3D"]=Number(n))})}else e.language=t;return e.channel&&(e.channel="SERVICE"+e.channel),e}):void 0)(G(z(t,"Accessibility")[0]));l&&(u=c(u,{captionServices:l}));let h=z(t,"Label")[0];h&&h.childNodes.length&&(u=c(u,{label:h.childNodes[0].nodeValue.trim()}));let d=z(t,"ContentProtection").reduce((t,e)=>{let r=G(e);r.schemeIdUri&&(r.schemeIdUri=r.schemeIdUri.toLowerCase());let n=W[r.schemeIdUri];if(n){t[n]={attributes:r};let i=z(e,"cenc:pssh")[0];if(i){let e=X(i);t[n].pssh=e&&(0,o.A)(e)}}return t},{});Object.keys(d).length&&(u=c(u,{contentProtection:d}));let p=Y(t),g=z(t,"Representation"),m=c(a,p);return f(g.map((e=u,t=>{let r=$(s,z(t,"BaseURL")),n=c(e,G(t)),i=Y(t);return r.map(t=>({segmentInfo:c(m,i),attributes:c(n,t)}))})))}))})),eventStream:f(g.map(K))}})(Z(t),e);return(({dashPlaylists:t,locations:e,contentSteering:r,sidxMapping:n={},previousManifest:i,eventStream:a})=>{var s;if(!t.length)return{};let{sourceDuration:o,type:u,suggestedPresentationDelay:l,minimumUpdatePeriod:c}=t[0].attributes,h=I(t.filter(O)).map(R),f=I(t.filter(C)),d=I(t.filter(M)),p=t.map(t=>t.attributes.captionServices).filter(Boolean),g={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:"",duration:o,playlists:((t,e={})=>{if(!Object.keys(e).length)return t;for(let r in t)t[r]=x(t[r],e);return t})(h,n)};c>=0&&(g.minimumUpdatePeriod=1e3*c),e&&(g.locations=e),r&&(g.contentSteering=r),"dynamic"===u&&(g.suggestedPresentationDelay=l),a&&a.length>0&&(g.eventStream=a);let m=0===g.playlists.length,b=f.length?((t,e={},r=!1)=>{let n,i=t.reduce((t,i)=>{let a=i.attributes.role&&i.attributes.role.value||"",s=i.attributes.lang||"",o=i.attributes.label||"main";if(s&&!i.attributes.label){let t=a?` (${a})`:"";o=`${i.attributes.lang}${t}`}t[o]||(t[o]={language:s,autoselect:!0,default:"main"===a,playlists:[],uri:""});let u=x((({attributes:t,segments:e,sidx:r,mediaSequence:n,discontinuitySequence:i,discontinuityStarts:a},s)=>{let o={attributes:{NAME:t.id,BANDWIDTH:t.bandwidth,CODECS:t.codecs,"PROGRAM-ID":1},uri:"",endList:"static"===t.type,timeline:t.periodStart,resolvedUri:t.baseUrl||"",targetDuration:t.duration,discontinuitySequence:i,discontinuityStarts:a,timelineStarts:t.timelineStarts,mediaSequence:n,segments:e};return t.contentProtection&&(o.contentProtection=t.contentProtection),t.serviceLocation&&(o.attributes.serviceLocation=t.serviceLocation),r&&(o.sidx=r),s&&(o.attributes.AUDIO="audio",o.attributes.SUBTITLES="subs"),o})(i,r),e);return t[o].playlists.push(u),void 0===n&&"main"===a&&((n=i).default=!0),t},{});if(!n){let t=Object.keys(i)[0];i[t].default=!0}return i})(f,n,m):null,y=d.length?((t,e={})=>t.reduce((t,r)=>{let n=r.attributes.label||r.attributes.lang||"text",i=r.attributes.lang||"und";return t[n]||(t[n]={language:i,default:!1,autoselect:!1,playlists:[],uri:""}),t[n].playlists.push(x((({attributes:t,segments:e,mediaSequence:r,discontinuityStarts:n,discontinuitySequence:i})=>{void 0===e&&(e=[{uri:t.baseUrl,timeline:t.periodStart,resolvedUri:t.baseUrl||"",duration:t.sourceDuration,number:0}],t.duration=t.sourceDuration);let a={NAME:t.id,BANDWIDTH:t.bandwidth,"PROGRAM-ID":1};t.codecs&&(a.CODECS=t.codecs);let s={attributes:a,uri:"",endList:"static"===t.type,timeline:t.periodStart,resolvedUri:t.baseUrl||"",targetDuration:t.duration,timelineStarts:t.timelineStarts,discontinuityStarts:n,discontinuitySequence:i,mediaSequence:r,segments:e};return t.serviceLocation&&(s.attributes.serviceLocation=t.serviceLocation),s})(r),e)),t},{}))(d,n):null,v=h.concat(L(b),L(y));return g.timelineStarts=w(v.map(({timelineStarts:t})=>t)),s=g.timelineStarts,v.forEach(t=>{t.mediaSequence=0,t.discontinuitySequence=s.findIndex(function({timeline:e}){return e===t.timeline}
1),t.segments&&t.segments.forEach((t,e)=>{t.number=e})}),b&&(g.mediaGroups.AUDIO.audio=b),y&&(g.mediaGroups.SUBTITLES.subs=y),(p.length&&(g.mediaGroups["CLOSED-CAPTIONS"].cc=p.reduce((t,e)=>(e&&e.forEach(e=>{let{channel:r,language:n}=e;t[n]={autoselect:!1,default:!1,instreamId:r,language:n},e.hasOwnProperty("aspectRatio")&&(t[n].aspectRatio=e.aspectRatio),e.hasOwnProperty("easyReader")&&(t[n].easyReader=e.easyReader),e.hasOwnProperty("3D")&&(t[n]["3D"]=e["3D"])}),t),{})),i)?(({oldManifest:t,newManifest:e})=>{let r=t.playlists.concat(A(t)),n=e.playlists.concat(A(e));return e.timelineStarts=w([t.timelineStarts,e.timelineStarts]),(({oldPlaylists:t,newPlaylists:e,timelineStarts:r})=>{e.forEach(e=>{e.discontinuitySequence=r.findIndex(function({timeline:t}){return t===e.timeline});let n=((t,e)=>{for(let r=0;r<t.length;r++)if(t[r].attributes.NAME===e)return t[r];return null})(t,e.attributes.NAME);if(!n||e.sidx)return;let i=e.segments[0],a=n.segments.findIndex(function(t){return Math.abs(t.presentationTime-i.presentationTime)<D});if(-1===a){S({playlist:e,mediaSequence:n.mediaSequence+n.segments.length}),e.segments[0].discontinuity=!0,e.discontinuityStarts.unshift(0),(!n.segments.length&&e.timeline>n.timeline||n.segments.length&&e.timeline>n.segments[n.segments.length-1].timeline)&&e.discontinuitySequence--;return}n.segments[a].discontinuity&&!i.discontinuity&&(i.discontinuity=!0,e.discontinuityStarts.unshift(0),e.discontinuitySequence--),S({playlist:e,mediaSequence:n.segments[a].number})})})({oldPlaylists:r,newPlaylists:n,timelineStarts:e.timelineStarts}),e})({oldManifest:i,newManifest:g}):g})({dashPlaylists:r.representationInfo.map(F),locations:r.locations,contentSteering:r.contentSteeringInfo,sidxMapping:e.sidxMapping,previousManifest:e.previousManifest,eventStream:r.eventStream})},Q=t=>(t=>{let e=z(t,"UTCTiming")[0];if(!e)return null;let r=G(e);switch(r.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":r.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":r.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":r.method="DIRECT",r.value=Date.parse(r.value);break;default:throw Error(p.UNSUPPORTED_UTC_TIMING_SCHEME)}return r})(Z(t))},75396:(t,e,r)=>{var n=r(48360),i=n.find,a=n.NAMESPACE;function s(t){return""!==t}function o(t,e){return t.hasOwnProperty(e)||(t[e]=!0),t}function u(t){return t?Object.keys((t?t.split(/[\t\n\f\r ]+/).filter(s):[]).reduce(o,{})):[]}function l(t,e){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}function c(t,e){var r=t.prototype;if(!(r instanceof e)){function n(){}n.prototype=e.prototype,l(r,n=new n),t.prototype=r=n}r.constructor!=t&&("function"!=typeof t&&console.error("unknown Class:"+t),r.constructor=t)}var h={},f=h.ELEMENT_NODE=1,d=h.ATTRIBUTE_NODE=2,p=h.TEXT_NODE=3,g=h.CDATA_SECTION_NODE=4,m=h.ENTITY_REFERENCE_NODE=5,b=h.ENTITY_NODE=6,y=h.PROCESSING_INSTRUCTION_NODE=7,v=h.COMMENT_NODE=8,E=h.DOCUMENT_NODE=9,T=h.DOCUMENT_TYPE_NODE=10,D=h.DOCUMENT_FRAGMENT_NODE=11,w=h.NOTATION_NODE=12,A={},S={};S[1]="Index size error",A.INDEX_SIZE_ERR=1,S[2]="DOMString size error",A.DOMSTRING_SIZE_ERR=2;var N=(S[3]="Hierarchy request error",A.HIERARCHY_REQUEST_ERR=3);S[4]="Wrong document",A.WRONG_DOCUMENT_ERR=4;var I=(S[5]="Invalid character",A.INVALID_CHARACTER_ERR=5);S[6]="No data allowed",A.NO_DATA_ALLOWED_ERR=6,S[7]="No modification allowed",A.NO_MODIFICATION_ALLOWED_ERR=7;var x=(S[8]="Not found",A.NOT_FOUND_ERR=8);S[9]="Not supported",A.NOT_SUPPORTED_ERR=9;var R=(S[10]="Attribute in use",A.INUSE_ATTRIBUTE_ERR=10),O=(S[11]="Invalid state",A.INVALID_STATE_ERR=11);function C(t,e){if(e instanceof Error)var r=e;else r=this,Error.call(this,S[t]),this.message=S[t],Error.captureStackTrace&&Error.captureStackTrace(this,C);return r.code=t,e&&(this.message=this.message+": "+e),r}function M(){}function L(t,e){this._node=t,this._refresh=e,_(this)}function _(t){var e=t._node._inc||t._node.ownerDocument._inc;if(t._inc!==e){var r=t._refresh(t._node);
1if(tv(t,"length",r.length),!t.$$length||r.length<t.$$length)for(var n=r.length;n in t;n++)Object.prototype.hasOwnProperty.call(t,n)&&delete t[n];l(r,t),t._inc=e}}function U(){}function P(t,e){for(var r=t.length;r--;)if(t[r]===e)return r}function B(t,e,r,n){if(n?e[P(e,n)]=r:e[e.length++]=r,t){r.ownerElement=t;var i,s,o,u=t.ownerDocument;u&&(n&&j(u,t,n),i=u,s=t,o=r,i&&i._inc++,o.namespaceURI===a.XMLNS&&(s._nsMap[o.prefix?o.localName:""]=o.value))}}function q(t,e,r){var n=P(e,r);if(n>=0){for(var i=e.length-1;n<i;)e[n]=e[++n];if(e.length=i,t){var a=t.ownerDocument;a&&(j(a,t,r),r.ownerElement=null)}}else throw new C(x,Error(t.tagName+"@"+r))}function k(){}function F(){}function z(t){return"<"==t&&"<"||">"==t&&">"||"&"==t&&"&"||'"'==t&&"""||"&#"+t.charCodeAt()+";"}function X(t,e){return V(t,null,{enter:function(t){return!e(t)||V.STOP}})===V.STOP}function V(t,e,r){for(var n=[{node:t,context:e,phase:V.ENTER}];n.length>0;){var i=n.pop();if(i.phase===V.ENTER){var a=r.enter(i.node,i.context);if(a===V.STOP)return V.STOP;if(n.push({node:i.node,context:a,phase:V.EXIT}),null==a)continue;for(var s=i.node.lastChild;s;)n.push({node:s,context:a,phase:V.ENTER}),s=s.previousSibling}else r.exit&&r.exit(i.node,i.context)}}function H(){this.ownerDocument=this}function j(t,e,r,n){t&&t._inc++,r.namespaceURI===a.XMLNS&&delete e._nsMap[r.prefix?r.localName:""]}function G(t,e,r){if(t&&t._inc){t._inc++;var n=e.childNodes;if(r)n[n.length++]=r;else{for(var i=e.firstChild,a=0;i;)n[a++]=i,i=i.nextSibling;n.length=a,delete n[n.length]}}}function W(t,e){var r=e.previousSibling,n=e.nextSibling;return r?r.nextSibling=n:t.firstChild=n,n?n.previousSibling=r:t.lastChild=r,e.parentNode=null,e.previousSibling=null,e.nextSibling=null,G(t.ownerDocument,t),e}function $(t){return t&&t.nodeType===F.DOCUMENT_TYPE_NODE}function Y(t){return t&&t.nodeType===F.ELEMENT_NODE}function K(t){return t&&t.nodeType===F.TEXT_NODE}function Z(t,e){var r=t.childNodes||[];if(i(r,Y)||$(e))return!1;var n=i(r,$);return!(e&&n&&r.indexOf(n)>r.indexOf(e))}function J(t,e){var r=t.childNodes||[];if(i(r,function(t){return Y(t)&&t!==e}))return!1;var n=i(r,$);return!(e&&n&&r.indexOf(n)>r.indexOf(e))}function Q(t,e,r){var n=t.childNodes||[],a=e.childNodes||[];if(e.nodeType===F.DOCUMENT_FRAGMENT_NODE){var s=a.filter(Y);if(s.length>1||i(a,K))throw new C(N,"More than one element or text in fragment");if(1===s.length&&!J(t,r))throw new C(N,"Element in fragment can not be inserted before doctype")}if(Y(e)&&!J(t,r))throw new C(N,"Only one element can be added and only after doctype");if($(e)){if(i(n,function(t){return $(t)&&t!==r}))throw new C(N,"Only one doctype is allowed");var o=i(n,Y);if(r&&n.indexOf(o)<n.indexOf(r))throw new C(N,"Doctype can only be inserted before an element")}}function tt(t,e,r,n){if(!(t&&(t.nodeType===F.DOCUMENT_NODE||t.nodeType===F.DOCUMENT_FRAGMENT_NODE||t.nodeType===F.ELEMENT_NODE)))throw new C(N,"Unexpected parent node type "+t.nodeType);if(r&&r.parentNode!==t)throw new C(x,"child not in parent");if(!(e&&(Y(e)||K(e)||$(e)||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.COMMENT_NODE||e.nodeType===F.PROCESSING_INSTRUCTION_NODE))||$(e)&&t.nodeType!==F.DOCUMENT_NODE)throw new C(N,"Unexpected node type "+e.nodeType+" for parent node type "+t.nodeType);t.nodeType===F.DOCUMENT_NODE&&(n||function(t,e,r){var n=t.childNodes||[],a=e.childNodes||[];if(e.nodeType===F.DOCUMENT_FRAGMENT_NODE){var s=a.filter(Y);if(s.length>1||i(a,K))throw new C(N,"More than one element or text in fragment");if(1===s.length&&!Z(t,r))throw new C(N,"Element in fragment can not be inserted before doctype")}if(Y(e)&&!Z(t,r))throw new C(N,"Only one element can be added and only after doctype");if($(e)){if(i(n,$))throw new C(N,"Only one doctype is allowed");var o=i(n,Y);if(r&&n.indexOf(o)<n.indexOf(r))throw new C(N,"Doctype can only be inserted before an element");if(!r&&o)throw new C(N,"Doctype can not be appended since element is present")}})(t,e,r);var a=e.parentNode;if(a&&a.removeChild(e),e.nodeType===D){var s=e.firstChild;if(null==s)return e;var o=e.lastChild}else s=o=e;var u=r?r.previousSibling:t.lastChild;s.previousSibling=u,o.nextSibling=r,u?u.nextSibling=s:t.firstChild=s,null==r?t.lastChild=o:r.previousSibling=o;do s.parentNode=t,te(s,t.ownerDocument||t);while(s!==o&&(s=s.nextSibling));return G(t.ownerDocument||t,t),e.nodeType==D&&(e.firstChild=e.last
1Child=null),e}function te(t,e){if(t.ownerDocument!==e){if(t.ownerDocument=e,t.nodeType===f&&t.attributes)for(var r=0;r<t.attributes.length;r++){var n=t.attributes.item(r);n&&(n.ownerDocument=e)}for(var i=t.firstChild;i;)te(i,e),i=i.nextSibling}}function tr(){this._nsMap={}}function tn(){}function ti(){}function ta(){}function ts(){}function to(){}function tu(){}function tl(){}function tc(){}function th(){}function tf(){}function td(){}function tp(){}function tg(t,e,r){var n=!!r&&!!r.requireWellFormed,i=[],a=9==this.nodeType&&this.documentElement||this,s=a.prefix,o=a.namespaceURI;if(o&&null==s){var s=a.lookupPrefix(o);if(null==s)var u=[{namespace:o,prefix:null}]}return ty(this,i,t,e,u,n),i.join("")}function tm(t,e,r){var n=t.prefix||"",i=t.namespaceURI;if(!i||"xml"===n&&i===a.XML||i===a.XMLNS)return!1;for(var s=r.length;s--;){var o=r[s];if(o.prefix===n)return o.namespace!==i}return!0}function tb(t,e,r){t.push(" ",e,'="',r.replace(/[<>&"\t\n\r]/g,z),'"')}function ty(t,e,r,n,i,s){i||(i=[]),V(t,{ns:i,isHTML:r},{enter:function(t,r){var i=r.ns,o=r.isHTML;if(n){if(!(t=n(t)))return null;if("string"==typeof t)return e.push(t),null}switch(t.nodeType){case f:var u,l=t.attributes,c=l.length,h=t.tagName;o=a.isHTML(t.namespaceURI)||o;var b=h;if(!o&&!t.prefix&&t.namespaceURI){for(var w=0;w<l.length;w++)if("xmlns"===l.item(w).name){u=l.item(w).value;break}if(!u)for(var A=i.length-1;A>=0;A--){var S=i[A];if(""===S.prefix&&S.namespace===t.namespaceURI){u=S.namespace;break}}if(u!==t.namespaceURI)for(var A=i.length-1;A>=0;A--){var S=i[A];if(S.namespace===t.namespaceURI){S.prefix&&(b=S.prefix+":"+h);break}}}e.push("<",b);for(var N=i.slice(),I=0;I<c;I++){var x=l.item(I);"xmlns"==x.prefix?N.push({prefix:x.localName,namespace:x.value}):"xmlns"==x.nodeName&&N.push({prefix:"",namespace:x.value})}for(var I=0;I<c;I++){var x=l.item(I);if(tm(x,o,N)){var R=x.prefix||"",M=x.namespaceURI;tb(e,R?"xmlns:"+R:"xmlns",M),N.push({prefix:R,namespace:M})}var L=n?n(x):x;L&&("string"==typeof L?e.push(L):tb(e,L.name,L.value))}if(h===b&&tm(t,o,N)){var _=t.prefix||"",M=t.namespaceURI;tb(e,_?"xmlns:"+_:"xmlns",M),N.push({prefix:_,namespace:M})}var U=t.firstChild;if(!U&&(!o||/^(?:meta|link|img|br|hr|input)$/i.test(h)))return e.push("/>"),null;if(e.push(">"),o&&/^script$/i.test(h)){for(;U;)U.data?e.push(U.data):ty(U,e,o,n,N.slice(),s),U=U.nextSibling;return e.push("</",h,">"),null}return{ns:N,isHTML:o,tag:b};case E:case D:return{ns:i.slice(),isHTML:o,tag:null};case d:return tb(e,t.name,t.value),null;case p:return e.push(t.data.replace(/[<&>]/g,z)),null;case g:if(s&&-1!==t.data.indexOf("]]>"))throw new C(O,'The CDATASection data contains "]]>"');return e.push("<![CDATA[",t.data.replace(/]]>/g,"]]]]><![CDATA[>"),"]]>"),null;case v:if(s&&-1!==t.data.indexOf("--\x3e"))throw new C(O,'The comment node data contains "--\x3e"');return e.push("\x3c!--",t.data,"--\x3e"),null;case T:if(s){if(t.publicId&&!/^("[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%']*"|'[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%'"]*')$/.test(t.publicId))throw new C(O,"DocumentType publicId is not a valid PubidLiteral");if(t.systemId&&!/^("[^"]*"|'[^']*')$/.test(t.systemId))throw new C(O,"DocumentType systemId is not a valid SystemLiteral");if(t.internalSubset&&-1!==t.internalSubset.indexOf("]>"))throw new C(O,'DocumentType internalSubset contains "]>"')}var P=t.publicId,B=t.systemId;if(e.push("<!DOCTYPE ",t.name),P)e.push(" PUBLIC ",P),B&&"."!=B&&e.push(" ",B),e.push(">");else if(B&&"."!=B)e.push(" SYSTEM ",B,">");else{var q=t.internalSubset;q&&e.push(" [",q,"]"),e.push(">")}return null;case y:if(s&&-1!==t.data.indexOf("?>"))throw new C(O,'The ProcessingInstruction data contains "?>"');return e.push("<?",t.target," ",t.data,"?>"),null;case m:return e.push("&",t.nodeName,";"),null;default:return e.push("??",t.nodeName),null}},exit:function(t,r){r&&r.tag&&e.push("</",r.tag,">")}})}function tv(t,e,r){t[e]=r}S[12]="Syntax error",A.SYNTAX_ERR=12,S[13]="Invalid modification",A.INVALID_MODIFICATION_ERR=13,S[14]="Invalid namespace",A.NAMESPACE_ERR=14,S[15]="Invalid access",A.INVALID_ACCESS_ERR=15,C.prototype=Error.prototype,l(A,C),M.prototype={length:0,item:function(t){return t>=0&&t<this.length?this[t]:null},toString:function(t,e,r){for(var n=!!r&&!!r.requireWellFormed,i=[],a=0;a<this.length;a++)ty(this[a],i,t,e,null,n);return i.join("")},filter:function(t){return Array.prototype.filter.call(this,t)},indexOf:function(t){return Array.prototype.indexOf.call(this,t)}},L.prototype.item=function(t){return _(this),this[t]||null}
vendor: 5,068 bytes, line 1
1,c(L,M),U.prototype={length:0,item:M.prototype.item,getNamedItem:function(t){for(var e=this.length;e--;){var r=this[e];if(r.nodeName==t)return r}},setNamedItem:function(t){var e=t.ownerElement;if(e&&e!=this._ownerElement)throw new C(R);var r=this.getNamedItem(t.nodeName);return B(this._ownerElement,this,t,r),r},setNamedItemNS:function(t){var e,r=t.ownerElement;if(r&&r!=this._ownerElement)throw new C(R);return e=this.getNamedItemNS(t.namespaceURI,t.localName),B(this._ownerElement,this,t,e),e},removeNamedItem:function(t){var e=this.getNamedItem(t);return q(this._ownerElement,this,e),e},removeNamedItemNS:function(t,e){var r=this.getNamedItemNS(t,e);return q(this._ownerElement,this,r),r},getNamedItemNS:function(t,e){for(var r=this.length;r--;){var n=this[r];if(n.localName==e&&n.namespaceURI==t)return n}return null}},k.prototype={hasFeature:function(t,e){return!0},createDocument:function(t,e,r){var n=new H;if(n.implementation=this,n.childNodes=new M,n.doctype=r||null,r&&n.appendChild(r),e){var i=n.createElementNS(t,e);n.appendChild(i)}return n},createDocumentType:function(t,e,r){var n=new tu;return n.name=t,n.nodeName=t,n.publicId=e||"",n.systemId=r||"",n}},F.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(t,e){return tt(this,t,e)},replaceChild:function(t,e){tt(this,t,e,Q),e&&this.removeChild(e)},removeChild:function(t){return W(this,t)},appendChild:function(t){return this.insertBefore(t,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(t){return function t(e,r,n){var i;return V(r,null,{enter:function(r,a){var s=new r.constructor;for(var o in r)if(Object.prototype.hasOwnProperty.call(r,o)){var u=r[o];"object"!=typeof u&&u!=s[o]&&(s[o]=u)}r.childNodes&&(s.childNodes=new M),s.ownerDocument=e;var l=n;switch(s.nodeType){case f:var c=r.attributes,h=s.attributes=new U,p=c.length;h._ownerElement=s;for(var g=0;g<p;g++)s.setAttributeNode(t(e,c.item(g),!0));break;case d:l=!0}return null!==a?a.appendChild(s):i=s,l?s:null}}),i}(this.ownerDocument||this,this,t)},normalize:function(){V(this,null,{enter:function(t){for(var e=t.firstChild;e;){var r=e.nextSibling;null!==r&&r.nodeType===p&&e.nodeType===p?(t.removeChild(r),e.appendData(r.data)):e=r}return!0}})},isSupported:function(t,e){return this.ownerDocument.implementation.hasFeature(t,e)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(t){for(var e=this;e;){var r=e._nsMap;if(r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===t)return n}e=e.nodeType==d?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var r=e._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,t))return r[t];e=e.nodeType==d?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},l(h,F),l(h,F.prototype),V.STOP=Symbol("walkDOM.STOP"),V.ENTER=0,V.EXIT=1,H.prototype={nodeName:"#document",nodeType:E,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==D){for(var r=t.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,e),r=n}return t}return tt(this,t,e),te(t,this),null===this.documentElement&&t.nodeType===f&&(this.documentElement=t),t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),W(this,t)},replaceChild:function(t,e){tt(this,t,e,Q),te(t,this),e&&this.removeChild(e),Y(t)&&(this.documentElement=t)},importNode:function(t,e){var r,n,i,a;return r=this,n=t,i=e,V(n,null,{enter:function(t,e){var n=t.cloneNode(!1);return n.ownerDocument=r,n.parentNode=null,null===e?a=n:e.appendChild(n),t.nodeType===d||i?n:null}}),a},getElementById:function(t){var e=null;return X(this.documentElement,function(r){if(r.nodeType==f&&r.getAttribute("id")==t)return e=r,!0}),e},getElementsByClassName:function(t){var e=u(t);return new L(this,function(r){var n=[];return e.length>0&&X(r.documentElement,function(i){if(i!==r&&i.nodeType===f){var a=i.getAttribute("class");if(a){var s=t===a;if(!s){var o=u(a);s=e.every(function(t){return o&&-1!==o.indexOf(t)})}s&&n.push(i)}}}),n})},createElement:function(t){var e=new tr;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new M,(e.attributes=new U)._ownerElement=e,e},createDocumentFragment:function(){var t=new tf;return t.ownerDocument=this,t.childNodes=new M,t},createTextNode:function(t){var e=new ta;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new ts;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){if(-1!==t.indexOf("]]>"))throw new C(I,'data contains "]]>"');var e=new to;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var r=new td;return r.ownerDocument=this,r.tagName=r.nodeName=r.target=t,r.nodeValue=r.data=e,r},createAttribute:function(t){var e=new tn;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.
1specified=!0,e},createEntityReference:function(t){var e=new th;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var r=new tr,n=e.split(":"),i=r.attributes=new U;return r.childNodes=new M,r.ownerDocument=this,r.nodeName=e,r.tagName=e,r.namespaceURI=t,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,i._ownerElement=r,r},createAttributeNS:function(t,e){var r=new tn,n=e.split(":");return r.ownerDocument=this,r.nodeName=e,r.name=e,r.namespaceURI=t,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,r}},c(H,F),tr.prototype={nodeType:f,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var r=this.ownerDocument.createAttribute(t);r.value=r.nodeValue=""+e,this.setAttributeNode(r)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===D?this.insertBefore(t,null):(t.parentNode&&t.parentNode.removeChild(t),t.parentNode=this,t.previousSibling=this.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:this.firstChild=t,this.lastChild=t,G(this.ownerDocument,this,t),te(t,this.ownerDocument||this),t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);r&&this.removeAttributeNode(r)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);return r&&r.value||""},setAttributeNS:function(t,e,r){var n=this.ownerDocument.createAttributeNS(t,e);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new L(this,function(e){var r=[];return X(e,function(n){n!==e&&n.nodeType==f&&("*"===t||n.tagName==t)&&r.push(n)}),r})},getElementsByTagNameNS:function(t,e){return new L(this,function(r){var n=[];return X(r,function(i){i!==r&&i.nodeType===f&&("*"===t||i.namespaceURI===t)&&("*"===e||i.localName==e)&&n.push(i)}),n})}},H.prototype.getElementsByTagName=tr.prototype.getElementsByTagName,H.prototype.getElementsByTagNameNS=tr.prototype.getElementsByTagNameNS,c(tr,F),tn.prototype.nodeType=d,c(tn,F),ti.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw Error(S[N])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,r){r=this.data.substring(0,t)+r+this.data.substring(t+e),this.nodeValue=this.data=r,this.length=r.length}},c(ti,F),ta.prototype={nodeName:"#text",nodeType:p,splitText:function(t){var e=this.data,r=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},c(ta,ti),ts.prototype={nodeName:"#comment",nodeType:v},c(ts,ti),to.prototype={nodeName:"#cdata-section",nodeType:g},c(to,ti),tu.prototype.nodeType=T,c(tu,F),tl.prototype.nodeType=w,c(tl,F),tc.prototype.nodeType=b,c(tc,F),th.prototype.nodeType=m,c(th,F),tf.prototype.nodeName="#document-fragment",tf.prototype.nodeType=D,c(tf,F),td.prototype.nodeType=y,c(td,F),tp.prototype.serializeToString=function(t,e,r,n){return tg.call(t,e,r,n)},F.prototype.toString=tg;try{Object.defineProperty&&(Object.defineProperty(L.prototype,"length",{get:function(){return _(this),this.$$length}}),Object.defineProperty(F.prototype,"textContent",{get:function(){if(this.nodeType===f||this.nodeType===D){var t=[];return V(this,null,{enter:function(e){return e.nodeType===f||e.nodeType===D||(e.nodeType===y||e.nodeType===v?null:void t.push(e.nodeValue))}}),t.join("")}return this.nodeValue},set:function(t){switch(this.nodeType){case f:case D:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),tv=function(t,e,r){t["$$"+e]=r})}catch(t){}
1e.DocumentType=tu,e.DOMException=C,e.DOMImplementation=k,e.Element=tr,e.Node=F,e.NodeList=M,e.walkDOM=V,e.XMLSerializer=tp},76323:(t,e,r)=>{"use strict";var n=r(10180);t.exports=function(t,e){return void 0===e&&(e=!1),function(r,i,a){if(r)return void t(r);if(i.statusCode>=400&&i.statusCode<=599){var s=a;if(e)if(n.TextDecoder){var o,u=(void 0===(o=i.headers&&i.headers["content-type"])&&(o=""),o.toLowerCase().split(";").reduce(function(t,e){var r=e.split("="),n=r[0],i=r[1];return"charset"===n.trim()?i.trim():t},"utf-8"));try{s=new TextDecoder(u).decode(a)}catch(t){}}else s=String.fromCharCode.apply(null,new Uint8Array(a));t({cause:s});return}t(null,a)}}},76926:(t,e,r)=>{var n=r(80592).getUint64;t.exports=function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength),r={version:t[0],flags:new Uint8Array(t.subarray(1,4)),references:[],referenceId:e.getUint32(4),timescale:e.getUint32(8)},i=12;0===r.version?(r.earliestPresentationTime=e.getUint32(i),r.firstOffset=e.getUint32(i+4),i+=8):(r.earliestPresentationTime=n(t.subarray(i)),r.firstOffset=n(t.subarray(i+8)),i+=16),i+=2;var a=e.getUint16(i);for(i+=2;a>0;i+=12,a--)r.references.push({referenceType:(128&t[i])>>>7,referencedSize:0x7fffffff&e.getUint32(i),subsegmentDuration:e.getUint32(i+4),startsWithSap:!!(128&t[i+8]),sapType:(112&t[i+8])>>>4,sapDeltaTime:0xfffffff&e.getUint32(i+8)});return r}},77996:t=>{"use strict";var e=function(){function t(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1}var e=t.prototype;return e.getIsEnabled=function(){return this.enabled_},e.enable=function(){this.enabled_=!0},e.disable=function(){this.enabled_=!1},e.reset=function(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1},e.getMaxAttempts=function(){return this.maxAttempts_},e.setMaxAttempts=function(t){this.maxAttempts_=t},e.getDelayFactor=function(){return this.delayFactor_},e.setDelayFactor=function(t){this.delayFactor_=t},e.getFuzzFactor=function(){return this.fuzzFactor_},e.setFuzzFactor=function(t){this.fuzzFactor_=t},e.getInitialDelay=function(){return this.initialDelay_},e.setInitialDelay=function(t){this.initialDelay_=t},e.createRetry=function(t){var e=void 0===t?{}:t,n=e.maxAttempts,i=e.delayFactor,a=e.fuzzFactor,s=e.initialDelay;return new r({maxAttempts:n||this.maxAttempts_,delayFactor:i||this.delayFactor_,fuzzFactor:a||this.fuzzFactor_,initialDelay:s||this.initialDelay_})},t}(),r=function(){function t(t){this.maxAttempts_=t.maxAttempts,this.delayFactor_=t.delayFactor,this.fuzzFactor_=t.fuzzFactor,this.currentDelay_=t.initialDelay,this.currentAttempt_=1}var e=t.prototype;return e.moveToNextAttempt=function(){this.currentAttempt_++;var t=this.currentDelay_*this.delayFactor_;this.currentDelay_=this.currentDelay_+t},e.shouldRetry=function(){return this.currentAttempt_<this.maxAttempts_},e.getCurrentDelay=function(){return this.currentDelay_},e.getCurrentMinPossibleDelay=function(){return(1-this.fuzzFactor_)*this.currentDelay_},e.getCurrentMaxPossibleDelay=function(){return(1+this.fuzzFactor_)*this.currentDelay_},e.getCurrentFuzzedDelay=function(){var t=this.getCurrentMinPossibleDelay();return t+Math.random()*(this.getCurrentMaxPossibleDelay()-t)},t}();t.exports=e},80592:t=>{t.exports={getUint64:function(t){var e,r=new DataView(t.buffer,t.byteOffset,t.byteLength);return r.getBigUint64?(e=r.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(e):e:0x100000000*r.getUint32(0)+r.getUint32(4)},MAX_UINT32:0x100000000}},81762:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(10180),i=r.n(n),a="https://example.com";let s=function(t,e){if(/^[a-z]+:/i.test(e))return e;/^data:/.test(t)&&(t=i().location&&i().location.href||"");var r=/^\/\//.test(t),n=!i().location&&!/\/\//i.test(t),s=new URL(e,t=new(i()).URL(t,i().location||a));return n?s.href.slice(a.length):r?s.href.slice(s.protocol.length):s.href}},85457:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(12115);let i=(t,e={})=>{let{width:r=1024,height:i=1024,model:a="flux",seed:s=42,nologo:o=!0,enhance:u=!1}=e;return(0,n.useMemo)(()=>{let e=new URLSearchParams({width:r,height:i,model:a,seed:s,nologo:o,enhance:u});return`https://pollinations.ai/p/${encodeURIComponent(t)}?${e.toString()}`},[t,r,i,a,s,o,u])}},88563:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(12115);let i=n.forwardRef(function(t,e){let{title:r,titleId:i,...a}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
1currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M6.75 5.25a.75.75 0 0 1 .75-.75H9a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H7.5a.75.75 0 0 1-.75-.75V5.25Zm7.5 0A.75.75 0 0 1 15 4.5h1.5a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H15a.75.75 0 0 1-.75-.75V5.25Z",clipRule:"evenodd"}))})},88633:(t,e,r)=>{"use strict";function n(t){var e=t.toString(16);return 1===e.length?"0"+e:e}function i(t){return"#"+t.map(n).join("")}function a(t,e,r){for(var n=0;n<r.length;n++)if(function(t,e,r){var n,i,a,o,u,l;switch(r.length){case 3:if(n=t,i=e,a=r,255!==n[i+3]||n[i]===a[0]&&n[i+1]===a[1]&&n[i+2]===a[2])return!0;break;case 4:if(o=t,u=e,l=r,o[u+3]&&l[3]?o[u]===l[0]&&o[u+1]===l[1]&&o[u+2]===l[2]&&o[u+3]===l[3]:o[u+3]===l[3])return!0;break;case 5:if(function(t,e,r){var n=r[0],i=r[1],a=r[2],o=r[3],u=r[4],l=t[e+3],c=s(l,o,u);return o?!!(!l&&c||s(t[e],n,u)&&s(t[e+1],i,u)&&s(t[e+2],a,u)&&c):c}(t,e,r))return!0;break;default:return!1}}(t,e,r[n]))return!0;return!1}function s(t,e,r){return t>=e-r&&t<=e+r}function o(t,e,r){for(var n={},i=r.dominantDivider||24,s=r.ignoredColor,o=r.step,u=[0,0,0,0,0],l=0;l<e;l+=o){var c=t[l],h=t[l+1],f=t[l+2],d=t[l+3];if(!(s&&a(t,l,s))){var p=Math.round(c/i)+","+Math.round(h/i)+","+Math.round(f/i);n[p]?n[p]=[n[p][0]+c*d,n[p][1]+h*d,n[p][2]+f*d,n[p][3]+d,n[p][4]+1]:n[p]=[c*d,h*d,f*d,d,1],u[4]<n[p][4]&&(u=n[p])}}var g=u[0],m=u[1],b=u[2],y=u[3],v=u[4];return y?[Math.round(g/y),Math.round(m/y),Math.round(b/y),Math.round(y/v)]:r.defaultColor}function u(t,e,r){for(var n=0,i=0,s=0,o=0,u=0,l=r.ignoredColor,c=r.step,h=0;h<e;h+=c){var f=t[h+3],d=t[h]*f,p=t[h+1]*f,g=t[h+2]*f;!(l&&a(t,h,l))&&(n+=d,i+=p,s+=g,o+=f,u++)}return o?[Math.round(n/o),Math.round(i/o),Math.round(s/o),Math.round(o/u)]:r.defaultColor}function l(t,e,r){for(var n=0,i=0,s=0,o=0,u=0,l=r.ignoredColor,c=r.step,h=0;h<e;h+=c){var f=t[h],d=t[h+1],p=t[h+2],g=t[h+3];!(l&&a(t,h,l))&&(n+=f*f*g,i+=d*d*g,s+=p*p*g,o+=g,u++)}return o?[Math.round(Math.sqrt(n/o)),Math.round(Math.sqrt(i/o)),Math.round(Math.sqrt(s/o)),Math.round(o/u)]:r.defaultColor}function c(t){return h(t,"defaultColor",[0,0,0,0])}function h(t,e,r){return void 0===t[e]?r:t[e]}function f(t){var e,r,n;return(e=t,"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement)?"canvas":(r=t,p&&r instanceof OffscreenCanvas)?"offscreencanvas":g(t)?"videoframe":(n=t,"undefined"!=typeof ImageBitmap&&n instanceof ImageBitmap)?"imagebitmap":t.src}function d(t){return"undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement}var p="undefined"!=typeof OffscreenCanvas;function g(t){return"undefined"!=typeof VideoFrame&&t instanceof VideoFrame}var m="undefined"==typeof window;function b(t){return Error("FastAverageColor: "+t)}function y(t,e){e||console.error(t)}!function(){function t(){this.canvas=null,this.ctx=null}t.prototype.getColorAsync=function(t,e){if(!t)return Promise.reject(b("call .getColorAsync() without resource"));if("string"==typeof t){if("undefined"==typeof Image)return Promise.reject(b("resource as string is not supported in this environment"));var r=new Image;r.crossOrigin=e&&e.crossOrigin||"";var n=this.bindImageEvents(r,e);return r.src=t,n}if(d(t)&&!t.complete)return this.bindImageEvents(t,e);var i=this.getColor(t,e);return i.error?Promise.reject(i.error):Promise.resolve(i)},t.prototype.getColor=function(t,e){var r,n,i,a,s,o,u,l,v=c(e=e||{});if(!t){var E=b("call .getColor() without resource");return y(E,e.silent),this.prepareResult(v,E)}var T=(r=function(t){if(d(t)){var e,r=t.naturalWidth,n=t.naturalHeight;return t.naturalWidth||-1===t.src.search(/\.svg(\?|$)/i)||(r=n=100),{width:r,height:n}}return(e=t,"undefined"!=typeof HTMLVideoElement&&e instanceof HTMLVideoElement)?{width:t.videoWidth,height:t.videoHeight}:g(t)?{width:t.codedWidth,height:t.codedHeight}:{width:t.width,height:t.height}}(t),i=h(n=e,"left",0),a=h(n,"top",0),s=h(n,"width",r.width),o=h(n,"height",r.height),u=s,l=o,"precision"===n.mode||(s>o?l=Math.round((u=100)/(s/o)):u=Math.round((l=100)/(o/s)),(u>s||l>o||u<10||l<10)&&(u=s,l=o)),{srcLeft:i,srcTop:a,srcWidth:s,srcHeight:o,destWidth:u,destHeight:l});if(!T.srcWidth||!T.srcHeight||!T.destWidth||!T.destHeight){var E=b('incorrect sizes for resource "'.concat(f(t),'"'));return y(E,e.silent),this.prepareResult(v,E)}if(!this.canvas&&(this.canvas=m?p?new OffscreenCanvas(1,1):null:document.createElement("canvas"),!this.canvas)){var E=b("OffscreenCanvas is not supported in this browser");return y(E,e.silent),this.prepareResult(v,E)}if(!this.ctx){if(this.ctx=this.canvas.getContext("2d",{willReadFrequently:!0}),!this.ctx){var E=b("Canvas Context 2D is not supported in this browser");return y(E,e.silent),this.prepareResult(v,E)}this.ctx.imageSmoothingEnabled=!1}this.canvas.width=T.destWidth,this.canvas.height=T.destHeight;try{this.ctx.clearRect(0,0,T.destWidth,T.destHeight),this.ctx.drawImage(t,T.srcLeft,T.srcTop,T.srcWidth,T.srcHeight,0,0,T.destWidth,T.destHeight);var D=this.ctx.getImageData(0,0,T.destWidth,T.destHeight).data;return this.prepareResult(this.getColorFromArray4(D,e))}catch(r){var E=b("security error (CORS) for resource ".concat(f(t),".\nDetails: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_
1image"));return y(E,e.silent),e.silent||console.error(r),this.prepareResult(v,E)}},t.prototype.getColorFromArray4=function(t,e){e=e||{};var r,n,i=t.length,a=c(e);if(i<4)return a;var s=4*(e.step||1);switch(e.algorithm||"sqrt"){case"simple":r=u;break;case"sqrt":r=l;break;case"dominant":r=o;break;default:throw b("".concat(e.algorithm," is unknown algorithm"))}return r(t,i-i%4,{defaultColor:a,ignoredColor:(n=e.ignoredColor)?Array.isArray(n[0])?n:[n]:[],step:s,dominantDivider:e.dominantDivider})},t.prototype.prepareResult=function(t,e){var r=t.slice(0,3),n=[t[0],t[1],t[2],t[3]/255],a=(299*t[0]+587*t[1]+114*t[2])/1e3<128;return{value:[t[0],t[1],t[2],t[3]],rgb:"rgb("+r.join(",")+")",rgba:"rgba("+n.join(",")+")",hex:i(r),hexa:i(t),isDark:a,isLight:!a,error:e}},t.prototype.destroy=function(){this.canvas&&(this.canvas.width=1,this.canvas.height=1,this.canvas=null),this.ctx=null},t.prototype.bindImageEvents=function(t,e){var r=this;return new Promise(function(n,i){var a=function(){t.removeEventListener("load",s),t.removeEventListener("error",o),t.removeEventListener("abort",u)},s=function(){a();var s=r.getColor(t,e);s.error?i(s.error):n(s)},o=function(){a(),i(b('Error loading image "'.concat(t.src,'"')))},u=function(){a(),i(b('Image "'.concat(t.src,'" loading aborted')))};t.addEventListener("load",s),t.addEventListener("error",o),t.addEventListener("abort",u),t.src&&t.complete&&s()})}}()},88945:(t,e,r)=>{"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(null,arguments)}r.d(e,{A:()=>n})},89988:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(96772),i=(0,n.W_)([73,68,51]),a=function(t,e){void 0===e&&(e=0);var r=(t=(0,n.W_)(t))[e+5],i=t[e+6]<<21|t[e+7]<<14|t[e+8]<<7|t[e+9];return(16&r)>>4?i+20:i+10},s=function t(e,r){return(void 0===r&&(r=0),(e=(0,n.W_)(e)).length-r<10||!(0,n.L7)(e,i,{offset:r}))?r:(r+=a(e,r),t(e,r))}},92489:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(12115);let i=n.forwardRef(function(t,e){let{title:r,titleId:i,...a}=t;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{d:"M13.5 4.06c0-1.336-1.616-2.005-2.56-1.06l-4.5 4.5H4.508c-1.141 0-2.318.664-2.66 1.905A9.76 9.76 0 0 0 1.5 12c0 .898.121 1.768.35 2.595.341 1.24 1.518 1.905 2.659 1.905h1.93l4.5 4.5c.945.945 2.561.276 2.561-1.06V4.06ZM18.584 5.106a.75.75 0 0 1 1.06 0c3.808 3.807 3.808 9.98 0 13.788a.75.75 0 0 1-1.06-1.06 8.25 8.25 0 0 0 0-11.668.75.75 0 0 1 0-1.06Z"}),n.createElement("path",{d:"M15.932 7.757a.75.75 0 0 1 1.061 0 6 6 0 0 1 0 8.486.75.75 0 0 1-1.06-1.061 4.5 4.5 0 0 0 0-6.364.75.75 0 0 1 0-1.06Z"}))})},92544:t=>{var e,r,n,i;e=function(t){return 9e4*t},r=function(t,e){return t*e},n=function(t){return t/9e4},t.exports={ONE_SECOND_IN_TS:9e4,secondsToVideoTs:e,secondsToAudioTs:r,videoTsToSeconds:n,audioTsToSeconds:i=function(t,e){return t/e},audioTsToVideoTs:function(t,r){return e(i(t,r))},videoTsToAudioTs:function(t,e){return r(n(t),e)},metadataTsToSeconds:function(t,e,r){return n(r?t:t-e)}}},93536:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(10180),i=r.n(n),a=r(15376).Buffer;function s(t){for(var e=i().atob?i().atob(t):a.from(t,"base64").toString("binary"),r=new Uint8Array(e.length),n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r}},95062:(t,e,r)=>{"use strict";r.d(e,{I:()=>a});var n=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,i=/^application\/dash\+xml/i,a=function(t){return n.test(t)?"hls":i.test(t)?"dash":"application/vnd.videojs.vhs+json"===t?"vhs-json":null}},96195:(t,e,r)=>{"use strict";let n;r.d(e,{Te:()=>S,XW:()=>N});var i=r(12115),a=r(47650);function s(t,e,r){let n,i=r.initialDeps??[],a=!0;function s(){let s=t();return s.length!==i.length||s.some((t,e)=>i[e]!==t)?(i=s,n=e(...s),(null==r?void 0:r.onChange)&&!(a&&r.skipInitialOnChange)&&r.onChange(n),a=!1,n):n}return s.updateDeps=t=>{i=t},s}function o(t,e){if(void 0!==t)return t;throw Error(`Unexpected undefined${e?`: ${e}`:""}`)}let u=()=>{if(void 0!==n)return n;if("undefined"==typeof navigator)return n=!1;if(/iP(hone|od|ad)/.test(navigator.userAgent))return n=!0;let t=navigator.maxTouchPoints;return n="MacIntel"===navigator.platform&&void 0!==t&&t>0}
1,l=t=>{let{offsetWidth:e,offsetHeight:r}=t;return{width:e,height:r}},c=t=>t,h=t=>{let e=Math.max(t.startIndex-t.overscan,0),r=Math.min(t.endIndex+t.overscan,t.count-1)-e+1,n=Array(r);for(let t=0;t<r;t++)n[t]=e+t;return n},f=(t,e)=>{let r=t.scrollElement;if(!r)return;let n=t.targetWindow;if(!n)return;let i=t=>{let{width:r,height:n}=t;e({width:Math.round(r),height:Math.round(n)})};if(i(l(r)),!n.ResizeObserver)return()=>{};let a=new n.ResizeObserver(e=>{let n=()=>{let t=e[0];if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];if(e)return void i({width:e.inlineSize,height:e.blockSize})}i(l(r))};t.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(n):n()});return a.observe(r,{box:"border-box"}),()=>{a.unobserve(r)}},d={passive:!0},p=(t,e)=>{let r=t.scrollElement;if(!r)return;let n=()=>{e({width:r.innerWidth,height:r.innerHeight})};return n(),r.addEventListener("resize",n,d),()=>{r.removeEventListener("resize",n)}},g="undefined"==typeof window||"onscrollend"in window,m=(t,e,r)=>{let n=t.scrollElement;if(!n)return;let i=t.targetWindow;if(!i)return;let a=t.options.useScrollendEvent&&g,s=0,o=a?null:((t,e,r)=>{let n;return function(...i){t.clearTimeout(n),n=t.setTimeout(()=>e.apply(this,i),r)}})(i,()=>e(s,!1),t.options.isScrollingResetDelay),u=t=>()=>{s=r(n),null==o||o(),e(s,t)},l=u(!0),c=u(!1);return n.addEventListener("scroll",l,d),a&&n.addEventListener("scrollend",c,d),()=>{n.removeEventListener("scroll",l),a&&n.removeEventListener("scrollend",c)}},b=(t,e)=>m(t,e,e=>{let{horizontal:r,isRtl:n}=t.options;return r?e.scrollLeft*(n&&-1||1):e.scrollTop}),y=(t,e)=>m(t,e,e=>t.options.horizontal?e.scrollX:e.scrollY),v=(t,e,r)=>{if(r.options.useCachedMeasurements){let e=r.indexFromElement(t),n=r.options.getItemKey(e);return r.itemSizeCache.get(n)??r.options.estimateSize(e)}if(null==e?void 0:e.borderBoxSize){let t=e.borderBoxSize[0];if(t)return Math.round(t[r.options.horizontal?"inlineSize":"blockSize"])}if(!e){let e=r.indexFromElement(t),n=r.options.getItemKey(e),i=r.itemSizeCache.get(n);if(void 0!==i)return i}return t[r.options.horizontal?"offsetWidth":"offsetHeight"]},E=(t,{adjustments:e=0,behavior:r},n)=>{var i,a;null==(a=null==(i=n.scrollElement)?void 0:i.scrollTo)||a.call(i,{[n.options.horizontal?"left":"top"]:t+e,behavior:r})};class T{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this._flatMeasurements=null,this.itemSizeCache=new Map,this.itemSizeCacheVersion=0,this.laneAssignments=new Map,this.pendingMin=null,this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.pendingScrollAnchor=null,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this._iosDeferredAdjustment=0,this._iosTouching=!1,this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._intendedScrollOffset=null,this.elementsCache=new Map,this.now=()=>{var t,e,r;return(null==(r=null==(e=null==(t=this.targetWindow)?void 0:t.performance)?void 0:e.now)?void 0:r.call(e))??Date.now()},this.observer=(()=>{let t=null,e=()=>t||(this.targetWindow&&this.targetWindow.ResizeObserver?t=new this.targetWindow.ResizeObserver(t=>{t.forEach(t=>{let e=()=>{let e=t.target,r=this.indexFromElement(e);if(!e.isConnected){for(let[t,r]of(this.observer.unobserve(e),this.elementsCache))if(r===e){this.elementsCache.delete(t);break}return}this.shouldMeasureDuringScroll(r)&&this.resizeItem(r,this.options.measureElement(e,t,this))};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(e):e()})}):null);return{disconnect:()=>{var r;null==(r=e())||r.disconnect(),t=null},observe:t=>{var r;return null==(r=e())?void 0:r.observe(t,{box:"border-box"})},unobserve:t=>{var r;return null==(r=e())?void 0:r.unobserve(t)}}})(),this.range=null,this.setOptions=t=>{var e,r;let n={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:c,rangeExtractor:h,onChange:()=>{},measureElement:v,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,anchorTo:"start",followOnAppend:!1,scrollEndThreshold:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,laneAssignmentMode:"estimate",useCachedMeasurements:!1};for(let e in t){let r=t[e];void 0!==r&&(n[e]=r)}let i=this.options,a=null,s=null,o=!1;if(void 0!==i&&i.enabled&&n.enabled&&"end"===n.anchorTo&&null!==this.scrollElement){let t=i.count,u=n.count,l=this.getMeasurements(),c=t>0?(null==(e=l[0])?void 0:e.key)??i.getItemKey(0):null,h=t>0?(null==(r=l[t-1])?void 0:r.key)??i.getItemKey(t-1):null;if(u!==t||t>0&&u>0&&(n.getItemKey(0)!==c||n.getItemKey(u-1)!==h)){o=!0;let e=t>0?this.getVirtualItemForOffset(this.getScrollOffset())??l[0]:null;
1e&&(a=[e.key,this.getScrollOffset()-e.start]);let r=!0===n.followOnAppend?"auto":n.followOnAppend||null;r&&u>t&&this.isAtEnd(i.scrollEndThreshold)&&(0===t||n.getItemKey(u-1)!==h)&&(s=r)}}this.options=n,o&&(this.pendingMin=0,this.itemSizeCacheVersion++);let u=!1,l=0;if(a&&null!==this.scrollOffset){let[t,e]=a,r=this.getMeasurements(),{count:n,getItemKey:i}=this.options,s=0;for(;s<n&&i(s)!==t;)s++;if(s<n){let t=r[s];if(t){let r=Math.max(0,t.start+e);r!==this.scrollOffset&&(l=r-this.scrollOffset,this.scrollOffset=r,u=!0)}}}(u||s)&&(this.pendingScrollAnchor=[u?a[0]:null,u?a[1]:0,s,l])},this.notify=t=>{var e,r;null==(r=(e=this.options).onChange)||r.call(e,this,t)},this.maybeNotify=s(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(t=>t()),this.unsubs=[],this.observer.disconnect(),null!=this.rafId&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this._iosDeferredAdjustment=0,this._iosTouching=!1,this._iosJustTouchEnded=!1,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var t;let e=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==e){if(this.cleanup(),!e)return void this.maybeNotify();if(this.scrollElement=e,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(t=this.scrollElement)?void 0:t.window)??null,this.elementsCache.forEach(t=>{this.observer.observe(t)}),this.unsubs.push(this.options.observeElementRect(this,t=>{this.scrollRect=t,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(t,e)=>{if(e&&null===this._intendedScrollOffset&&t===this.scrollOffset)return;null!==this._intendedScrollOffset&&1.5>Math.abs(t-this._intendedScrollOffset)&&(t=this._intendedScrollOffset),this._intendedScrollOffset=null,this.scrollAdjustments=0;let r=this.getScrollOffset();this.scrollDirection=e?r===t?this.scrollDirection:r<t?"forward":"backward":null,this.scrollOffset=t,this.isScrolling=e,this._flushIosDeferredIfReady(),this.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),"addEventListener"in this.scrollElement){let t=this.scrollElement,e=()=>{this._iosTouching=!0,this._iosJustTouchEnded=!1,null!==this._iosTouchEndTimerId&&null!=this.targetWindow&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)},r=()=>{this._iosTouching=!1,u()&&null!=this.targetWindow&&(this._iosJustTouchEnded=!0,this._iosTouchEndTimerId=this.targetWindow.setTimeout(()=>{this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._flushIosDeferredIfReady()},150))};t.addEventListener("touchstart",e,d),t.addEventListener("touchend",r,d),this.unsubs.push(()=>{t.removeEventListener("touchstart",e),t.removeEventListener("touchend",r),null!==this._iosTouchEndTimerId&&null!=this.targetWindow&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)})}this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}let r=this.pendingScrollAnchor;if(this.pendingScrollAnchor=null,r&&this.scrollElement&&this.options.enabled){let[t,e,n,i]=r;null===t||n||(u()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?0!==i&&(this._iosDeferredAdjustment+=i):this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})),n&&this.scrollToEnd({behavior:n})}},this._flushIosDeferredIfReady=()=>{if(0===this._iosDeferredAdjustment||this.isScrolling||this._iosTouching||this._iosJustTouchEnded)return;let t=this.getScrollOffset(),e=this.getMaxScrollOffset();if(t<0||t>e)return;if(this._iosDeferredAdjustment<0&&t>=e-1){this._iosDeferredAdjustment=0;return}let r=this._iosDeferredAdjustment;this._iosDeferredAdjustment=0,this._scrollToOffset(t,{adjustments:this.scrollAdjustments+=r,behavior:void 0})}
1,this.rafId=null,this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getMeasurementOptions=s(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes,this.options.laneAssignmentMode,this.options.gap],(t,e,r,n,i,a,s,o)=>(void 0!==this.prevLanes&&this.prevLanes!==a&&(this.lanesChangedFlag=!0),this.prevLanes=a,this.pendingMin=null,{count:t,paddingStart:e,scrollMargin:r,getItemKey:n,enabled:i,lanes:a,laneAssignmentMode:s,gap:o}),{key:!1}),this.getMeasurements=s(()=>[this.getMeasurementOptions(),this.itemSizeCacheVersion],({count:t,paddingStart:e,scrollMargin:r,getItemKey:n,enabled:i,lanes:a,laneAssignmentMode:s,gap:o},u)=>{let l=this.itemSizeCache;if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>t)for(let e of this.laneAssignments.keys())e>=t&&this.laneAssignments.delete(e);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMin=null),0!==this.measurementsCache.length||this.lanesSettling||(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(t=>{this.itemSizeCache.set(t.key,t.size)}));let c=this.lanesSettling?0:this.pendingMin??0;if(this.pendingMin=null,this.lanesSettling&&this.measurementsCache.length===t&&(this.lanesSettling=!1),1===a){let i,a=2*t,s=this._flatMeasurements;if(!s||s.length<a){let t=new Float64Array(a);s&&c>0&&t.set(s.subarray(0,2*c)),s=t,this._flatMeasurements=s}if(0===c)i=e+r;else{let t=c-1;i=s[2*t]+s[2*t+1]+o}for(let e=c;e<t;e++){let t=n(e),r=l.get(t),a="number"==typeof r?r:this.options.estimateSize(e);s[2*e]=i,s[2*e+1]=a,i+=a+o}let u=function(t,e,r){return new Proxy(Array(t),{get(n,i,a){if("string"==typeof i){let a=i.charCodeAt(0);if(a>=48&&a<=57){let a=+i;if(Number.isInteger(a)&&a>=0&&a<t){let t=n[a];if(!t){let i=e[2*a];t=n[a]={index:a,key:r(a),start:i,size:e[2*a+1],end:i+e[2*a+1],lane:0}}return t}}if("length"===i)return t}return Reflect.get(n,i,a)}})}(t,s,n);return this.measurementsCache=u,u}let h=this.measurementsCache.slice(0,c),f=Array(a).fill(void 0),d=new Float64Array(a),p=0;for(let t=0;t<c;t++){let e=h[t];e&&(void 0===f[e.lane]&&p++,f[e.lane]=t,d[e.lane]=e.end)}for(let i=c;i<t;i++){let t,u,c=n(i),g=this.laneAssignments.get(i),m="estimate"===s||l.has(c);if(void 0!==g&&this.options.lanes>1){let n=f[t=g],i=void 0!==n?h[n]:void 0;u=i?i.end+o:e+r}else if(p===a){let e=0,r=d[0],n=f[0];for(let t=1;t<a;t++){let i=d[t];(i<r||i===r&&f[t]<n)&&(e=t,r=i,n=f[t])}t=e,u=r+o,m&&this.laneAssignments.set(i,t)}else t=i%this.options.lanes,u=e+r,m&&this.laneAssignments.set(i,t);let b=l.get(c),y="number"==typeof b?b:this.options.estimateSize(i),v=u+y;h[i]={index:i,start:u,size:y,end:v,key:c,lane:t},void 0===f[t]&&p++,f[t]=i,d[t]=v}return this.measurementsCache=h,h},{key:!1,debug:()=>this.options.debug}),this.calculateRange=s(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(t,e,r,n)=>0===t.length||0===e?(this.range=null,null):(this.range=function(t,e,r,n,i){let a=t.length-1;if(t.length<=n)return{startIndex:0,endIndex:a};if(1===n&&null!==i){let t=function(t,e,r){let n=0;for(;n<=e;){let i=(n+e)/2|0,a=t[2*i];if(a<r)n=i+1;else{if(!(a>r))return i;e=i-1}}return n>0?n-1:0}(i,a,r),n=t,s=r+e;for(;n<a&&i[2*n]+i[2*n+1]<s;)n++;return{startIndex:t,endIndex:n}}let s=D(0,a,e=>t[e].start,r),o=s;if(1===n)for(;o<a&&t[o].end<r+e;)o++;else if(n>1){let i=Array(n).fill(0);for(;o<a&&i.some(t=>t<r+e);){let e=t[o];i[e.lane]=e.end,o++}let u=Array(n).fill(r+e);for(;s>=0&&u.some(t=>t>=r);){let e=t[s];u[e.lane]=e.start,s--}s=Math.max(0,s-s%n),o=Math.min(a,o+(n-1-o%n))}return{startIndex:s,endIndex:o}}(t,e,r,n,1===n&&null!=this._flatMeasurements?this._flatMeasurements:null),this.range),{key:!1,debug:()=>this.options.debug}
1),this.getVirtualIndexes=s(()=>{let t=null,e=null,r=this.calculateRange();return r&&(t=r.startIndex,e=r.endIndex),this.maybeNotify.updateDeps([this.isScrolling,t,e]),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,e]},(t,e,r,n,i)=>null===n||null===i?[]:t({startIndex:n,endIndex:i,overscan:e,count:r}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{let e=this.options.indexAttribute,r=t.getAttribute(e);return r?parseInt(r,10):(console.warn(`Missing attribute name '${e}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=t=>{var e;if(!this.scrollState||"smooth"!==this.scrollState.behavior)return!0;let r=this.scrollState.index??(null==(e=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))?void 0:e.index);if(void 0!==r&&this.range){let e=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),n=Math.max(0,r-e),i=Math.min(this.options.count-1,r+e);return t>=n&&t<=i}return!0},this.measureElement=t=>{if(!t)return void this.elementsCache.forEach((t,e)=>{t.isConnected||(this.observer.unobserve(t),this.elementsCache.delete(e))});let e=this.indexFromElement(t),r=this.options.getItemKey(e),n=this.elementsCache.get(r);n!==t&&(n&&this.observer.unobserve(n),this.observer.observe(t),this.elementsCache.set(r,t)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(e)&&this.resizeItem(e,this.options.measureElement(t,void 0,this))},this.resizeItem=(t,e)=>{var r,n;let i,a,s;if(t<0||t>=this.options.count)return;let o=this._flatMeasurements;if(1===this.options.lanes&&null!==o)s=this.options.getItemKey(t),a=o[2*t],i=o[2*t+1];else{let e=this.measurementsCache[t];if(!e)return;s=e.key,a=e.start,i=e.size}let u=this.itemSizeCache.get(s)??i,l=e-u;if(0!==l){let o="end"===this.options.anchorTo&&(null==(r=this.scrollState)?void 0:r.behavior)!=="smooth"&&this.getVirtualDistanceFromEnd()<=this.options.scrollEndThreshold,c=o?this.getTotalSize():0,h=this.getScrollOffset()+this.scrollAdjustments,f=this.itemSizeCache.has(s)?a+u<=h&&"backward"!==this.scrollDirection:a<h,d=(null==(n=this.scrollState)?void 0:n.behavior)!=="smooth"&&(void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(this.measurementsCache[t]??{index:t,key:s,start:a,size:i,end:a+i,lane:0},l,this):f);(null===this.pendingMin||t<this.pendingMin)&&(this.pendingMin=t),this.itemSizeCache.set(s,e),this.itemSizeCacheVersion++,o?this.applyScrollAdjustment(this.getTotalSize()-c):d&&this.applyScrollAdjustment(l),this.notify(!1)}},this.getVirtualItems=s(()=>
1[this.getVirtualIndexes(),this.getMeasurements()],(t,e)=>{let r=[];for(let n=0,i=t.length;n<i;n++){let i=e[t[n]];r.push(i)}return r},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{let e=this.getMeasurements();if(0===e.length)return;let r=this._flatMeasurements,n=1===this.options.lanes&&null!=r,i=D(0,e.length-1,n?t=>r[2*t]:t=>o(e[t]).start,t);return o(e[i])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{let t=this.scrollElement.document.documentElement;return this.options.horizontal?t.scrollWidth-this.scrollElement.innerWidth:t.scrollHeight-this.scrollElement.innerHeight}},this.getVirtualDistanceFromEnd=()=>Math.max(this.getTotalSize()-this.getSize()-this.getScrollOffset(),0),this.getDistanceFromEnd=()=>Math.max(this.getMaxScrollOffset()-this.getScrollOffset(),0),this.isAtEnd=(t=this.options.scrollEndThreshold)=>this.getDistanceFromEnd()<=t,this.getOffsetForAlignment=(t,e,r=0)=>{if(!this.scrollElement)return 0;let n=this.getSize(),i=this.getScrollOffset();return"auto"===e&&(e=t>=i+n?"end":"start"),"center"===e?t+=(r-n)/2:"end"===e&&(t-=n),Math.max(Math.min(this.getMaxScrollOffset(),t),0)},this.getOffsetForIndex=(t,e="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));let r=this.getSize(),n=this.getScrollOffset(),i=this.measurementsCache[t];if(!i)return;if("auto"===e)if(i.end>=n+r-this.options.scrollPaddingEnd)e="end";else{if(!(i.start<=n+this.options.scrollPaddingStart))return[n,e];e="start"}if("end"===e&&t===this.options.count-1)return[this.getMaxScrollOffset(),e];let a="end"===e?i.end+this.options.scrollPaddingEnd:i.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(a,e,i.size),e]},this.scrollToOffset=(t,{align:e="start",behavior:r="auto"}={})=>{this._iosDeferredAdjustment=0;let n=this.getOffsetForAlignment(t,e),i=this.now();this.scrollState={index:null,align:e,behavior:r,startedAt:i,lastTargetOffset:n,stableFrames:0},this._scrollToOffset(n,{adjustments:void 0,behavior:r}),this.scheduleScrollReconcile()},this.scrollToIndex=(t,{align:e="auto",behavior:r="auto"}={})=>{this._iosDeferredAdjustment=0,t=Math.max(0,Math.min(t,this.options.count-1));let n=this.getOffsetForIndex(t,e);if(!n)return;let[i,a]=n,s=this.now();this.scrollState={index:t,align:a,behavior:r,startedAt:s,lastTargetOffset:i,stableFrames:0},this._scrollToOffset(i,{adjustments:void 0,behavior:r}),this.scheduleScrollReconcile()},this.scrollBy=(t,{behavior:e="auto"}={})=>{let r=this.getScrollOffset()+t,n=this.now();this.scrollState={index:null,align:"start",behavior:e,startedAt:n,lastTargetOffset:r,stableFrames:0},this._scrollToOffset(r,{adjustments:void 0,behavior:e}),this.scheduleScrollReconcile()},this.scrollToEnd=({behavior:t="auto"}={})=>{if(this.options.count>0)return void this.scrollToIndex(this.options.count-1,{align:"end",behavior:t});this.scrollToOffset(Math.max(this.getTotalSize()-this.getSize(),0),{behavior:t})},this.getTotalSize=()=>{var t;let e,r=this.getMeasurements();if(0===r.length)e=this.options.paddingStart;else if(1===this.options.lanes){let n=r.length-1,i=this._flatMeasurements;e=null!=i?i[2*n]+i[2*n+1]:(null==(t=r[n])?void 0:t.end)??0}else{let t=Array(this.options.lanes).fill(null),n=r.length-1;for(;n>=0&&t.some(t=>null===t);){let e=r[n];null===t[e.lane]&&(t[e.lane]=e.end),n--}e=Math.max(...t.filter(t=>null!==t))}return Math.max(e-this.options.scrollMargin+this.options.paddingEnd,0)},this.takeSnapshot=()=>{let t=[];if(0===this.itemSizeCache.size)return t;for(let e of this.getMeasurements())e&&this.itemSizeCache.has(e.key)&&t.push({index:e.index,key:e.key,start:e.start,size:e.size,end:e.end,lane:e.lane});return t},this._scrollToOffset=(t,{adjustments:e,behavior:r})=>{this._intendedScrollOffset=t+(e??0),this.options.scrollToFn(t,{behavior:r,adjustments:e},this)},this.measure=()=>{this.pendingMin=null,this.itemSizeCache.clear(),this.laneAssignments.clear(),this.itemSizeCacheVersion++,this.notify(!1)},this.setOptions(t)}applyScrollAdjustment(t,e){0!==t&&(u()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?this._iosDeferredAdjustment+=t:(this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=t,behavior:e}),null!==this.scrollOffset&&(this.scrollOffset+=this.scrollAdjustments,this.scrollOffset<0&&(this.scrollOffset=0),this.scrollAdjustments=0)))}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}null==this.rafId&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}let t=null!=this.scrollState.index?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,e=t?t[0]:this.scrollState.lastTargetOffset,r=e!==this.scrollState.lastTargetOffset;if(!r&&1.01>Math.abs(e-this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>
1=1){this.getScrollOffset()!==e&&this._scrollToOffset(e,{adjustments:void 0,behavior:"auto"}),this.scrollState=null;return}}else if(this.scrollState.stableFrames=0,r){let t=this.getSize()||600,r=Math.abs(e-this.getScrollOffset()),n="smooth"===this.scrollState.behavior&&r>t;this.scrollState.lastTargetOffset=e,n||(this.scrollState.behavior="auto"),this._scrollToOffset(e,{adjustments:void 0,behavior:n?"smooth":"auto"})}this.scheduleScrollReconcile()}}let D=(t,e,r,n)=>{for(;t<=e;){let i=(t+e)/2|0,a=r(i);if(a<n)t=i+1;else{if(!(a>n))return i;e=i-1}}return t>0?t-1:0},w="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function A({useFlushSync:t=!0,directDomUpdates:e=!1,directDomUpdatesMode:r="transform",...n}){let s=i.useReducer(t=>t+1,0)[1],o=i.useRef({enabled:e,mode:r,container:null,lastSize:null,lastPositions:new WeakMap,prevRange:null});o.current.enabled=e,o.current.mode=r;let u=t=>{let e=o.current;if(!e.enabled||!e.container)return;let r=t.getTotalSize();if(r!==e.lastSize){e.lastSize=r;let n=t.options.horizontal?"width":"height";e.container.style[n]=`${r}px`}},l=t=>{let e=o.current;if(!e.enabled||!e.container)return;u(t);let r=!!t.options.horizontal,n="transform"===e.mode,i=r?"left":"top",a=t.options.scrollMargin;for(let s of t.getVirtualItems()){let o=s.start-a,u=t.elementsCache.get(s.key);u&&e.lastPositions.get(u)!==o&&(e.lastPositions.set(u,o),n?u.style.transform=r?`translate3d(${o}px, 0, 0)`:`translate3d(0, ${o}px, 0)`:u.style[i]=`${o}px`)}},c={...n,onChange:(e,r)=>{var i;let u=o.current,c=!0;if(u.enabled){l(e);let t=e.range,r=u.prevRange;(c=!r||r.isScrolling!==e.isScrolling||r.startIndex!==(null==t?void 0:t.startIndex)||r.endIndex!==(null==t?void 0:t.endIndex))&&(u.prevRange=t?{startIndex:t.startIndex,endIndex:t.endIndex,isScrolling:e.isScrolling}:null)}c&&(t&&r?(0,a.flushSync)(s):s()),null==(i=n.onChange)||i.call(n,e,r)}},[h]=i.useState(()=>{let t=new T(c);return Object.assign(t,{containerRef:e=>{let r=o.current;if(r.container=e,r.lastSize=null,e&&r.enabled){let n=t.getTotalSize();r.lastSize=n;let i=t.options.horizontal?"width":"height";e.style[i]=`${n}px`}}})});return h.setOptions(c),w(()=>h._didMount(),[]),w(()=>(u(h),h._willUpdate())),w(()=>{l(h)}),h}function S(t){return A({observeElementRect:f,observeElementOffset:b,scrollToFn:E,...t})}function N(t){return A({getScrollElement:()=>"undefined"!=typeof document?window:null,observeElementRect:p,observeElementOffset:y,scrollToFn:E,initialOffset:()=>"undefined"!=typeof document?window.scrollY:0,...t})}},96772:(t,e,r)=>{"use strict";r.d(e,{Af:()=>f,Ar:()=>h,Bu:()=>d,L7:()=>p,Sk:()=>l,WG:()=>c,W_:()=>s,hc:()=>a});var n=r(10180),i=r.n(n),a=function(t){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer},s=function(t){return t instanceof Uint8Array?t:(Array.isArray(t)||a(t)||t instanceof ArrayBuffer||(t="number"!=typeof t||"number"==typeof t&&t!=t?0:[t]),new Uint8Array(t&&t.buffer||t,t&&t.byteOffset||0,t&&t.byteLength||0))},o=i().BigInt||Number,u=[o("0x1"),o("0x100"),o("0x10000"),o("0x1000000"),o("0x100000000"),o("0x10000000000"),o("0x1000000000000"),o("0x100000000000000"),o("0x10000000000000000")];!function(){var t=new Uint16Array([65484]),e=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);255===e[0]||e[0]}();var l=function(t,e){var r=void 0===e?{}:e,n=r.signed,i=r.le,a=void 0!==i&&i;t=s(t);var l=a?"reduce":"reduceRight",c=(t[l]?t[l]:Array.prototype[l]).call(t,function(e,r,n){var i=a?n:Math.abs(n+1-t.length);return e+o(r)*u[i]},o(0));if(void 0!==n&&n){var h=u[t.length]/o(2)-o(1);(c=o(c))>h&&(c-=h,c-=h,c-=o(2))}return Number(c)},c=function(t,e){var r=(void 0===e?{}:e).le,n=void 0!==r&&r;("bigint"!=typeof t&&"number"!=typeof t||"number"==typeof t&&t!=t)&&(t=0);for(var i=Math.ceil((t=o(t)).toString(2).length/8),a=new Uint8Array(new ArrayBuffer(i)),s=0;s<i;s++){var l=n?s:Math.abs(s+1-a.length);a[l]=Number(t/u[s]&o(255)),t<0&&(a[l]=Math.abs(~a[l]),a[l]-=0===s?1:2)}return a},h=function(t){if(!t)return"";t=Array.prototype.slice.call(t);var e=String.fromCharCode.apply(null,s(t));try{return decodeURIComponent(escape(e))}catch(t){}return e},f=function(t,e){if("string"!=typeof t&&t&&"function"==typeof t.toString&&(t=t.toString()),"string"!=typeof t)return new Uint8Array;e||(t=unescape(encodeURIComponent(t)));
1for(var r=new Uint8Array(t.length),n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r},d=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if((e=e.filter(function(t){return t&&(t.byteLength||t.length)&&"string"!=typeof t})).length<=1)return s(e[0]);var n=new Uint8Array(e.reduce(function(t,e,r){return t+(e.byteLength||e.length)},0)),i=0;return e.forEach(function(t){t=s(t),n.set(t,i),i+=t.byteLength}),n},p=function(t,e,r){var n=void 0===r?{}:r,i=n.offset,a=void 0===i?0:i,o=n.mask,u=void 0===o?[]:o;t=s(t);var l=(e=s(e)).every?e.every:Array.prototype.every;return e.length&&t.length-a>=e.length&&l.call(e,function(e,r){return e===(u[r]?u[r]&t[a+r]:t[a+r])})}},97840:(t,e,r)=>{var n=r(48360).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),s=RegExp("^"+i.source+a.source+"*(?::"+i.source+a.source+"*)?$");function o(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,o)}function u(){}function l(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function c(t,e,r){for(var i=t.tagName,a=null,s=t.length;s--;){var o=t[s],u=o.qName,l=o.value,c=u.indexOf(":");if(c>0)var f=o.prefix=u.slice(0,c),d=u.slice(c+1),p="xmlns"===f&&d;else d=u,f=null,p="xmlns"===u&&"";o.localName=d,!1!==p&&(null==a&&(a={},h(r,r={})),r[p]=a[p]=l,o.uri=n.XMLNS,e.startPrefixMapping(p,l))}for(var s=t.length;s--;){var f=(o=t[s]).prefix;f&&("xml"===f&&(o.uri=n.XML),"xmlns"!==f&&(o.uri=r[f||""]))}var c=i.indexOf(":");c>0?(f=t.prefix=i.slice(0,c),d=t.localName=i.slice(c+1)):(f=null,d=t.localName=i);var g=t.uri=r[f||""];if(e.startElement(g,d,i,t),!t.closed)return t.currentNSMap=r,t.localNSMap=a,!0;if(e.endElement(g,d,i),a)for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&e.endPrefixMapping(f)}function h(t,e){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}function f(){this.attributeNames={}}o.prototype=Error(),o.prototype.name=o.name,u.prototype={parse:function(t,e,r){var i=this.domBuilder;i.startDocument(),h(e,e={}),function(t,e,r,i,a){function s(t){var e,n=t.slice(1,-1);return Object.hasOwnProperty.call(r,n)?r[n]:"#"===n.charAt(0)?(e=parseInt(n.substr(1).replace("x","0x")))>65535?String.fromCharCode(55296+((e-=65536)>>10),56320+(1023&e)):String.fromCharCode(e):(a.error("entity not found:"+t),t)}function u(e){if(e>v){var r=t.substring(v,e).replace(/&#?\w+;/g,s);m&&h(v),i.characters(r,0,e-v),v=e}}function h(e,r){for(;e>=p&&(r=g.exec(t));)p=(d=r.index)+r[0].length,m.lineNumber++;m.columnNumber=e-d+1}for(var d=0,p=0,g=/.*(?:\r\n?|\n)|.*$/g,m=i.locator,b=[{currentNSMap:e}],y={},v=0;;){try{var E=t.indexOf("<",v);if(E<0){if(!t.substr(v).match(/^\s*$/)){var T=i.doc,D=T.createTextNode(t.substr(v));T.appendChild(D),i.currentElement=D}return}switch(E>v&&u(E),t.charAt(E+1)){case"/":var w=t.indexOf(">",E+3),A=t.substring(E+2,w).replace(/[ \t\n\r]+$/g,""),S=b.pop();w<0?(A=t.substring(E+2).replace(/[\s<].*/,""),a.error("end tag name: "+A+" is not complete:"+S.tagName),w=E+1+A.length):A.match(/\s</)&&(A=A.replace(/[\s<].*/,""),a.error("end tag name: "+A+" maybe not complete"),w=E+1+A.length);var N=S.localNSMap,I=S.tagName==A;if(I||S.tagName&&S.tagName.toLowerCase()==A.toLowerCase()){if(i.endElement(S.uri,S.localName,A),N)for(var x in N)Object.prototype.hasOwnProperty.call(N,x)&&i.endPrefixMapping(x);I||a.fatalError("end tag name: "+A+" is not match the current start tagName:"+S.tagName)}else b.push(S);w++;break;case"?":m&&h(E),w=function(t,e,r){var n=t.indexOf("?>",e);if(n){var i=t.substring(e,n).match(/^<\?(\S*)\s*([\s\S]*?)$/);if(i)return i[0].length,r.processingInstruction(i[1],i[2]),n+2}return -1}(t,E,i);break;case"!":m&&h(E),w=function(t,e,r,n){if("-"===t.charAt(e+2)){if("-"===t.charAt(e+3)){var i=t.indexOf("--\x3e",e+4);if(i>e)return r.comment(t,e+4,i-e-4),i+3;n.error("Unclosed comment")}}else{if("CDATA["==t.substr(e+3,6)){var i=t.indexOf("]]>",e+9);return r.startCDATA(),r.characters(t,e+9,i-e-9),r.endCDATA(),i+3}var a=function(t,e){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=e,i.exec(t);r=i.exec(t);)if(n.push(r),r[1])return n}(t,e),s=a.length;if(s>1&&/!doctype/i.test(a[0][0])){var o=a[1][0],u=!1,l=!1;s>3&&(/^public$/i.test(a[2][0])?(u=a[3][0],l=s>4&&a[4][0]):/^system$/i.test(a[2][0])&&(l=a[3][0]));var c=a[s-1];return r.startDTD(o,u,l),r.endDTD(),c.index+c[0].length}}return -1}(t,E,i,a);break;default:m&&h(E);var R=new f,O=b[b.length-1].currentNSMap,w=function(t,e,r,i,a,s){function o(t,e,n){r.attributeNames.hasOwnProperty(t)&&s.fatalError("Attribute "+t+" redefined"),r.addValue(t,e.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,a),n)}for(var u,l,c=++e,h=0;;){var f=t.charAt(c);switch(f){case"=":if(1===h)u=t.slice(e,c),h=3;else if(2===h)h=3;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(3===h||1===h)if(1===h&&(s.warning('attribute value must after "="'),u=t.slice(e,c)),e=c+1,(c=t.indexOf(f,e))>
10)o(u,l=t.slice(e,c),e-1),h=5;else throw Error("attribute value no end '"+f+"' match");else if(4==h)o(u,l=t.slice(e,c),e),s.warning('attribute "'+u+'" missed start quot('+f+")!!"),e=c+1,h=5;else throw Error('attribute value must after "="');break;case"/":switch(h){case 0:r.setTagName(t.slice(e,c));case 5:case 6:case 7:h=7,r.closed=!0;case 4:case 1:break;case 2:r.closed=!0;break;default:throw Error("attribute invalid close char('/')")}break;case"":return s.error("unexpected end of input"),0==h&&r.setTagName(t.slice(e,c)),c;case">":switch(h){case 0:r.setTagName(t.slice(e,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(l=t.slice(e,c)).slice(-1)&&(r.closed=!0,l=l.slice(0,-1));case 2:2===h&&(l=u),4==h?(s.warning('attribute "'+l+'" missed quot(")!'),o(u,l,e)):(n.isHTML(i[""])&&l.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+l+'" missed value!! "'+l+'" instead!!'),o(l,l,e));break;case 3:throw Error("attribute value missed!!")}return c;case"\x80":f=" ";default:if(f<=" ")switch(h){case 0:r.setTagName(t.slice(e,c)),h=6;break;case 1:u=t.slice(e,c),h=2;break;case 4:var l=t.slice(e,c);s.warning('attribute "'+l+'" missed quot(")!!'),o(u,l,e);case 5:h=6}else switch(h){case 2:r.tagName,n.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),o(u,u,e),e=c,h=1;break;case 5:s.warning('attribute space is required"'+u+'"!!');case 6:h=1,e=c;break;case 3:h=4,e=c;break;case 7:throw Error("elements closed character '/' and '>' must be connected to")}}c++}}(t,E,R,O,s,a),C=R.length;if(!R.closed&&function(t,e,r,n){var i=n[r];return null==i&&((i=t.lastIndexOf("</"+r+">"))<e&&(i=t.lastIndexOf("</"+r)),n[r]=i),i<e}(t,w,R.tagName,y)&&(R.closed=!0,r.nbsp||a.warning("unclosed xml attribute")),m&&C){for(var M=l(m,{}),L=0;L<C;L++){var _=R[L];h(_.offset),_.locator=l(m,{})}i.locator=M,c(R,i,O)&&b.push(R),i.locator=m}else c(R,i,O)&&b.push(R);n.isHTML(R.uri)&&!R.closed?w=function(t,e,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var a=t.indexOf("</"+r+">",e),s=t.substring(e+1,a);if(/[&<]/.test(s))return/^script$/i.test(r)||(s=s.replace(/&#?\w+;/g,n)),i.characters(s,0,s.length),a}return e+1}(t,w,R.tagName,s,i):w++}}catch(t){if(t instanceof o)throw t;a.error("element parse error: "+t),w=-1}w>v?v=w:u(Math.max(E,v)+1)}}(t,e,r,i,this.errorHandler),i.endDocument()}},f.prototype={setTagName:function(t){if(!s.test(t))throw Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,r){if(!s.test(t))throw Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:r}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}},e.XMLReader=u,e.ParseError=o},97914:(t,e,r)=>{"use strict";var n=r(10180),i=r(4095),a=r(28572),s=r(7718),o=r(77996);c.httpHandler=r(76323),c.requestInterceptorsStorage=new s,c.responseInterceptorsStorage=new s,c.retryManager=new o;var u=function(t){var e={};return t&&t.trim().split("\n").forEach(function(t){var r=t.indexOf(":"),n=t.slice(0,r).trim().toLowerCase(),i=t.slice(r+1).trim();void 0===e[n]?e[n]=i:Array.isArray(e[n])?e[n].push(i):e[n]=[e[n],i]}),e};function l(t,e,r){var n=t;return a(e)?(r=e,"string"==typeof t&&(n={uri:t})):n=i({},e,{uri:t}),n.callback=r,n}function c(t,e,r){return h(e=l(t,e,r))}function h(t){if(void 0===t.callback)throw Error("callback argument missing");if(t.requestType&&c.requestInterceptorsStorage.getIsEnabled()){var e,r,n,i={uri:t.uri||t.url,headers:t.headers||{},body:t.body,metadata:t.metadata||{},retry:t.retry,timeout:t.timeout},a=c.requestInterceptorsStorage.execute(t.requestType,i);t.uri=a.uri,t.headers=a.headers,t.body=a.body,t.metadata=a.metadata,t.retry=a.retry,t.timeout=a.timeout}var s=!1,o=function(e,r,n){s||(s=!0,t.callback(e,r,n))};function l(e){if(clearTimeout(n),clearTimeout(t.retryTimeout),e instanceof Error||(e=Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,!r&&c.retryManager.getIsEnabled()&&t.retry&&t.retry.shouldRetry()){t.retryTimeout=setTimeout(function(){t.retry.moveToNextAttempt(),t.xhr=d,h(t)},t.retry.getCurrentFuzzedDelay());return}if(t.requestType&&c.responseInterceptorsStorage.getIsEnabled()){var i={headers:E.headers||{},body:E.body,responseUrl:d.responseURL,responseType:d.responseType}
1,a=c.responseInterceptorsStorage.execute(t.requestType,i);E.body=a.body,E.headers=a.headers}return o(e,E)}function f(){if(!r){clearTimeout(n),clearTimeout(t.retryTimeout);var e=t.useXDR&&void 0===d.status?200:1223===d.status?204:d.status,i=E,a=null;if(0!==e?(i={body:function(){var t=void 0;if(t=d.response?d.response:d.responseText||function(t){try{if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;if(""===t.responseType&&!e)return t.responseXML}catch(t){}return null}(d),v)try{t=JSON.parse(t)}catch(t){}return t}(),statusCode:e,method:g,headers:{},url:p,rawRequest:d},d.getAllResponseHeaders&&(i.headers=u(d.getAllResponseHeaders()))):a=Error("Internal XMLHttpRequest Error"),t.requestType&&c.responseInterceptorsStorage.getIsEnabled()){var s={headers:i.headers||{},body:i.body,responseUrl:d.responseURL,responseType:d.responseType},l=c.responseInterceptorsStorage.execute(t.requestType,s);i.body=l.body,i.headers=l.headers}return o(a,i,i.body)}}var d=t.xhr||null;d||(d=t.cors||t.useXDR?new c.XDomainRequest:new c.XMLHttpRequest);var p=d.url=t.uri||t.url,g=d.method=t.method||"GET",m=t.body||t.data,b=d.headers=t.headers||{},y=!!t.sync,v=!1,E={body:void 0,headers:{},statusCode:0,method:g,url:p,rawRequest:d};if("json"in t&&!1!==t.json&&(v=!0,b.accept||b.Accept||(b.Accept="application/json"),"GET"!==g&&"HEAD"!==g&&(b["content-type"]||b["Content-Type"]||(b["Content-Type"]="application/json"),m=JSON.stringify(!0===t.json?m:t.json))),d.onreadystatechange=function(){4!==d.readyState||c.responseInterceptorsStorage.getIsEnabled()||setTimeout(f,0)},d.onload=f,d.onerror=l,d.onprogress=function(){},d.onabort=function(){r=!0,clearTimeout(t.retryTimeout)},d.ontimeout=l,d.open(g,p,!y,t.username,t.password),y||(d.withCredentials=!!t.withCredentials),!y&&t.timeout>0&&(n=setTimeout(function(){if(!r){r=!0,d.abort("timeout");var t=Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",l(t)}},t.timeout)),d.setRequestHeader)for(e in b)b.hasOwnProperty(e)&&d.setRequestHeader(e,b[e]);else if(t.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}(t.headers))throw Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(d.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(d),d.send(m||null),d}
vendor: 373 bytes, line 1
1t.exports=c,t.exports.default=c,c.XMLHttpRequest=n.XMLHttpRequest||function(){},c.XDomainRequest="withCredentials"in new c.XMLHttpRequest?c.XMLHttpRequest:n.XDomainRequest,function(t,e){for(var r=0;r<t.length;r++)e(t[r])}(["get","put","post","patch","head","delete"],function(t){c["delete"===t?"del":t]=function(e,r,n){return(r=l(e,r,n)).method=t.toUpperCase(),h(r)}})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.